Thanks indeed I misunderstood the problem
Thanks indeed I misunderstood the problem
I misunderstood the problem. I thought the thieve came on bike to steal something. I did not get that the bike itself was what got stolen.
I do not get why it would work in that case. I assume the scenario is someone with a bike coming, doing theft, then leaving with the same bike.
Therefore there will be a period without bike, then a period with bike, then a period without bike again.
Let’s assume there is no bike on the particular moment viewed. How do you know whether it occured before or after the theft? If you make the wrong decision, you get stuck on an endless binary search… Unless you take note at each timestamp where you made the decision, draw a tree of timestamps, and go back the tree if your search is fruitless but that’s much more complicated than what this post says.
On the world’s roads last year, there were over 20 million electric vehicles and 1.3 million commercial EVs such as buses, delivery vans, and trucks.
But these numbers of four or more wheel vehicles are wholly eclipsed by two- and three-wheelers. There were over 280 million electric mopeds, scooters, motorcycles, and three-wheelers on the road last year
There are about 20x more e-bikes than electric cars. Of course its going to demand more oil.
The real question is what is best in terms of oil demand between electric cars and e-bikes
Agreed that some people can find it easier with explicit names - however some people find it easier with short meaningless names as it makes them focus on the abstraction rather than the naming. There is no right or wrong here. It all depends on the reader.
A specialized architecture will always be better than a general purpose processor no matter how advanced the tech gets.
So you will always need a GPU as a GPU is quite literally a Graphical Programming Unit, that is a specialised architecture for Graphical computations
A friend of mine got asked if she had a boyfriend. She asked back “why that question”. It was to know whether she would be likely to get pregnant and miss work.
What a horrifying mentality some companies have
Hot take: Git is hard for people who do not know how to read a documentation.
The Git book is very easy to read and only takes a couple of hours to read the most significant chapters. That’s how I learnt it myself.
Git is meant for developers, i.e. people who are supposed to be good at looking up online how stuff works.
When I first got daily access to internet (back in 2009), I got curious about how programs are built. Like, if I wanted to make my own application, what should I do?
I googled something along that direction and it linked me to a famous french website for learning programming (site du zéro) where I learnt C language.
After the course I made a 2D Snake game with SDL2. How naive was I to think I could write it in one go without testing anything in between! I scrapped the 1st attempt because it was a disaster and randomly inserting/removing *
was not helping.
I started again from scratch, testing in smaller steps, and I really liked it. After a couple of weeks I had my Snake game working! I was so proud of it that I showed it to my mom. I do not have the source files anymore but I still have the binary somewhere
Afterwards I sticked with it and continued programming - I was back in school without much access to internet so I programmed on my TI-83+ instead. Eventually I pursued computer science studies then a PhD… It got me hooked real good.
Do you happen to know where those json files are located? I have been looking for those
I love that software. It’s so simple - no need for much clicking you can do a lot with just the keyboard.
I love particularly how there is no bloatness. Creating a new task is as simple as pressing ctrl+a (or shift+a), typing the name and pressing enter. Creating a subtask is just pressing ‘a’ on the task and type the name.
There is jira integration so I can import my jira tickets and make my own local subdivision in smaller tasks that do not need to be thoroughly described or shared. The status of the jira tickets can be updated from the app directly
There is a pomodoro plugin that works well minor some bugs (don’t ever choose “close” when prompted to skip the break or go back to work)
Wonder what did I do last week for writing a summary? Just look at the history in the app
I really love it and can only recommend it for personal planning
This is such a basic functionality. It does not deserve advertisements, it should have been there from the start.
and it’s not locked behind a paywall
Are we supposed to cheer?
The Christian Bible’s Matthew 24 had a prophecy that is about to become historical-fact, in the coming decade.
Here’s a decent version of it:
https://www.biblegateway.com/passage/?search=matt+24&version=AMPC
That bit around verses 15-20 is the pertinent area.
Simply wait 1 decade, and see: if Israel still exists, as a country, in 2033, I’ll eat a hat.
The nice thing about prophecies is that they can never be proven to be false. Indeed, one would have to examine the future to prove it wrong. Which is either impossible or unrealistic.
Me too I can make a ton of prophecies and claim they will be eventually right. I will never be wrong.
Let’s see. Let me prophesize that:
However, you can be sure that in 2033 I will come back in this thread and have you eat a hat. Marking the date and the link in my calendar. If lemmy is still alive, that is
They are not making them more efficient. They are studying how to make them more efficient. It’s a really big difference because I am not yet ready to place my life in the hands of a CNN-based AI
I doubt Elon Musk does programming
Well Ruby does exactly that though. The methods have good documentation so it’s easy to find what something does. There is no magic in the language that makes it do something else than what you wrote.
I love Ruby since I got introduced to it. The syntax is great and you can do many things in a simple manner.
Before that, Python was my go-to language for scripting but now I cannot stand the syntax anymore. I dislike the lack of braces and forced indent.
Oh, it most definitely is scummy. It’s no news that Tinder does not care about people well-beings. Actually, they want you to get stuck to the platform as long as you can; if everyone was finding their partner after a week their platform would not be profitable anymore.
On Tinder it would not be in the same context that what you experienced. In OKCupid it’s part of the rules that you can send messages without a match. So people are OK (I guess) with it. On Tinder it’s going to come as unexpected and unwelcome. You will start with a disadvantage. Unless the woman is only interested in money (if you can spend $500/month on an app then you are probably among the wealthier half of the population).
I feel like all the points you raise could be replied by : if you do not like it, no one is forcing you into doing it.
It is my understanding that people do this for fun - to take the occasion to get into a new language and/or exercise their problem resolution skills.
Personally, although I love coding (it is a passion), after a whole day of coding I do not feel the energy to partake in a coding event. And during holidays I am busy doing other stuff. So I do not participate in the Advent of Code. But I am still glad that the event exists for people who enjoy it and have the time for it