[-] [email protected] 3 points 7 months ago* (last edited 7 months ago)

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

[-] [email protected] 1 points 7 months ago

Thanks indeed I misunderstood the problem

[-] [email protected] 1 points 7 months ago

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.

[-] [email protected] -1 points 7 months ago

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.

[-] [email protected] 5 points 7 months ago

For a first time don't try to get the strongest character possible. It's a time sink to do that. Usually the main campaign of games are beatable even if you screw up something. The worst that can happen is you backtracking a bit and spending time to level up before doing the next quest.

When you played the game once and got used to the mechanics you can make a 2nd char and plan it more deeply ahead if you wish. You know what mechanics you like so the prospect of finding what to invest in what is worth etc.. becomes more streamlined. But you don't have to. You can just be happy to have finished the game and call it a day.

That's what I did for Diablo 4. After the main campaign I did not feel like venturing more into the game or making another character so I started playing another game. If you really want to 100% a game it does require a ton of time and planning but you don't have to

[-] [email protected] 3 points 7 months ago

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

[-] [email protected] 1 points 7 months ago

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.

[-] [email protected] 4 points 8 months ago

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

[-] [email protected] 10 points 8 months ago

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

[-] [email protected] 24 points 8 months ago* (last edited 8 months ago)

Why getting married at all though? It's not required for a relationship to prosper. People can live very happily together without getting married

[-] [email protected] 2 points 8 months ago* (last edited 8 months ago)

Étant donné cette différence de croyance, est ce que tu sais si les Francs Maçons du GO sont acceptés parmi les autres branches déistes ?

13
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]

Cross-posting this here as I saw some misconceptions about Rust language

I think that blog describes well the pros of using a strongly-typed language like Rust is. You may fight the compiler and get slower build times but you get less bugs because of the restrictions the language imposes you.

The biggest con of Rust is that it requires learning to be used, even for someone who has already programmed before. It's not like Python or Ruby where you can just dive in a code base and learn on the go. You really need to read the Rust book (or skim through it) to get through the notions. So it has a higher entry level, with all the misunderstandings that come with it.

13
submitted 9 months ago* (last edited 9 months ago) by [email protected] to c/[email protected]

Et je suis content que notre héros national soit compréhensif à ce sujet. Ça fait plusieurs mois que, à cause de l'inflation, je n'ai pas utilisé de dentifrice. Mon haleine commence à sentir.

J'ai hâte que des lois passent pour baisser le prix du dentifrice. Il en va de ma santé.

PS : je ne peux que louer les actes anti-violence de notre héros

54
submitted 9 months ago by [email protected] to c/[email protected]

Hello there,

I am an experienced programmer. I can do C/C++/Rust/assembly/Ruby/Perl/Python/ etc.. The language itself is not a barrier.

The barrier to me is that I have never coded a single web or android application. I guess it must be surprising but I am more of a low-level programmer in my job (I develop a compiler backend) and I never really had the opportunity or idea to work on an app.

What would be a good starting point for making an android application?

A quick search got me this: https://google-developer-training.github.io/android-developer-fundamentals-course-concepts-v2/unit-1-get-started/lesson-1-build-your-first-app/1-1-c-your-first-android-app/1-1-c-your-first-android-app.html

Would it be a good starting point?

Side note: my app will not have to interact with any service. If I were to code it as a command-line program, it would not take me more than a day or two. The actual app would involve (for now) no more than a text field, a button, some logic attached to it - the hard part for me being to choose a framework to build it, "upload it" to my phone and use it.

37
submitted 11 months ago by [email protected] to c/[email protected]

I used to be a lurker of r/C_programming where people would ask questions and get answers. It mostly consisted of students wanting to get a human answer to their problem.

I liked chiming in there and answering from time to time. Although you always had that one student who ordered to do the homework for them, there were some nice and helpful interactions in that subreddit.

Would people be interested in a community focused around helping each others in programming? Or would this very community do the job already?

view more: next ›

potterman28wxcv

joined 11 months ago