Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Comment Re: Street parking does not signifcantly affect bu (Score 1) 144

Banning cars in the city will have the same effect. And even better: the air quality improves rapidly. Which will reduce long term deaths.

It is brain dead argumentations like yours that make life hard for everyone. You call people who create bike lanes 'misery pushers'. But look into the mirror when you want to see one.

Comment Re:Not actually safer you say? Huh, imagine that. (Score 1) 85

I am interested in reasonable talk. I am not interested in pretending a string of vacuous comments is anything else in order to coddle a fragile fool who thinks "cafe babe" and "dead food" are profanity.

You are kidding, right? Every single comment you made was the complete opposite of "reasonable talk". And in this one you still go down and call me a "fragile fool". Where exactly is the "reasonable talk"?

There were many possibilities for engaging in "reasonable talk". Initially I made the point of showing the origin of the 0xcafebabe. Which in itself is quite interesting. I also pointed out that I deem Wokeness as a dangerous thing. Also something on can have a reasonable talk about. I said that I don't like to use hexwords and abstain from profanity in code. Since I like code to be clean. Again, something one can have a reasonable talk about.

But all you do is attacking me. No, you are far far away from being interested in a reasonable talk. Since you've avoid every chance of it.

Again, there is nothing to be gained from that.

Comment Re:Not actually safer you say? Huh, imagine that. (Score 1) 85

That is something a stupid parent would tell a stupid child. It's too bad that you don't understand why it is entirely wrong.

Since you are in no way interested in a reasonable talk about the real issue at hand I refrain from this discussion, as there is nothing to be gained.

Comment Re:Not actually safer you say? Huh, imagine that. (Score 1) 85

The commit is actually rather dumb. Using monotonic sequences like 0x12345678 has a higher rate of false matches. For example, 0x12345678 has the same difference between successive bytes (0x22 = 34 decimal), so it is more likely to occur by coincidence. Three of the bytes are also normal printing characters.

If you cannot imagine yourself using hex that spells words, well, that shows a failure of imagination and limited thinking on your part rather than the original code being bad.

While the first part of your explanation is a good start for a discussion, I don't get why you feel the need to end it with an ad hominem attack. Which immediately disgraces the validity of your initial argument and kills every possibility of a useful discussion.

I don't imagine myself using hexwords not because I lack imagination but because I am very reluctant to use profanity in code. It is like trying to read a good technical documentation that constantly uses smear words or tries to drive a political agenda.

For the possibility of mixing 0x12345678 with 0x13245678, that is always a possibility. In the mentioned commit the useful thing is to extract the 0x12345678 into a const which can then be used inside the test instead of writing the hex value multiple times. 0xcafebabe is equally easy to mix with 0xcafababe when you have to write it multiple times. Therefore dry is your friend here, extract it into a const and reuse it. Then the question which value you use becomes irrelelvant.

Comment Re:Not actually safer you say? Huh, imagine that. (Score 1) 85

Typical Rust proponent, aggressive, hostile, ad hominem attacks. Maybe Rust would be safer if their programmers weren't making it woke. https://github.com/rust-lang/r...

The commit you mentioned is actually a good one. I tried imagining me using 0xcafebabe as a hex string, but this somehow doesn't work. Why would I ever use hex-words in code? And regardless of its origin it is a good thing to remove such stuff from a codebase since it has no point in being there in the first place.

Woke in itself is a far greater danger than people tend to realize. Take a look at the Stallmann-report and what and who caused it, it is directly linked to the people behind the covenant code of conduct and the idea to replace the GPL with an ethical source license (https://ethicalsource.dev/licenses/), where you are only allowed to use the code as long as you comply with their ethical standards. How very very dangerous.

But this commit? It is debatable if there is a wokeness reasoning behind. At least using 9xcafebabe was not the brightest of ideas behind it.

For the historical reason behind 0xcafebabe I found two interesting sources:
- https://stackoverflow.com/ques...
- https://www.artima.com/insidej...

Nice readings!

Comment My first language and my door into my current life (Score 2) 77

It must have been around 1986, when I was around 15 years or so, that I learned Basic on my Commodore C64. I had gotten it as a birthday present from my parents and it was amazing.

Initially it had no storage drive since the VC1541 was kind of expensive. So I learned to write programs on it with the help of the manual. Only a few games to distract me. Just writing these programs and learning to organize my code was something I could do for hours and hours.

Needless to say that unbeknownst to me I am like many other programmers, autistic. But this was something that took me around 30 more years to figure out and get diagnosed.

When I started with Basic I learned to organize my code into blocks, defined by their line numbers range. Very often I reorganized the line numbers to be exactly and neatly 10 apart, blocks being exactly 1000 apart. Fiddling in a new line between e.g. 70 and 80 meant to either add a new line 71 to the code or reorganizing the subsequent line numbers. And since it felt unorganized and messy to have a line number like 71 between the well organized 70 and 80 I rather spent my time reorganizing the subsequent line numbers than having messy code⦠as I said, autistic.

Line numbers were not just line numbers, they were what held the code together. They were an integral part of the code and code was unthinkable without line numbers. My sister who is 3 years older than me told my that at the bank where she was in her professional training the people were programming without line numbers! Unthinkable and impossible! Code floating around in the nether without being attached to whatever the line numbers anchored the code to, that wouldnât work. She was just stupid⦠:-)

When I finished my program, usually an address management program to store peoples adresses in memory, I had no means of saving the program. So I left the computer running for a couple of days and enjoyed my program. And then turned it of knowing that I could rewrite it as often as I wanted to. And I rewrote it a couple of timesâ¦

Later my older brother built (like in soldering) a datasette from scratch so that I could store my code on audio tapes. What an improvement! I still can recall the sound it made when storing the program.

Nice trip down the memory lane! Basic tought me everything I needed to become the freelancer I am today. I still learn new languages in the way I learned my first.

Comment Re:Numbers are made up bullshit (Score 1) 373

That is not really true. 90% of the world wide soy bean production goes into animal food. In the US it is about 70% (https://www.plantgardener.com/how-much-soy-grown-animal-feed/). Hughe deforestations take place just to keep up with the amount of animal production we make.
Worldwide about 33% of agricultural land goes into animal farming. In the EU it is about 60%. And only about 12% of the calories we put into animals we get back as meat.
So yes, reducing your intake of meat reduces the damage we perform on the planet. All in all, reducing the amounts of proteins, cheap carbohydrates and fats are all in all a pretty healthy thing both for yourself and for the planet.
I think this is a pretty decent summary of how we currently use our land: https://ourworldindata.org/lan...

Comment Re:Junk Science (Score 1) 373

This is almost right, but only almost. It is not about the fat. There is only one thing in meet that you currently won't find in other foods, which is the vitamin b12. Your liver stores the amount required for about 3 years. But the only source of food containing it is meet and animal based products, like dairy. So eating real cheese from time to time or drinking mild is sufficent. There exist pills for that, but I'd be careful with them since overdosing b12 can lead to lung tumors in males, afaik.
So eat some cheese, drink some milk from time to time and your'e fine. But it is definitely not about fat.

Comment Re:Junk Science (Score 1) 373

How do you come to the conclusion that you would replace meat with carbohydrates? Meat is mostly protein and fat. To replace that you'd have to use another protein and fat source. Carbohydrates? Not so much.
And the reality is more like that for eating meat you eat lots of cheap carbohydrates. Like when you eat your burger, guess what the bun is made of.

I think most vegetarians have a pretty good grasp at how to eat healthy and how to avoid cheap carbs. You show a pretty distorted view of reality.

Comment Re:inverted totalitarianism (Score 1) 74

What a really really nice and thoughtful reply to this. I really love this kind of comment. As a citicen of the EU I always had high regards for the ideas and promises of the EU. But in recent months, issues like chatcontrol and the likes are beginning to nag at me. And the fact that the EU council is in no way a democratically elected council but rather an appointed one doesn't make it any better. And the parliament has not enough power (and maybe not enough will) to stand up against such things.
So yes, your question is a truly insightful and funny one and sadly all to true.
To anyone with mod points: Mod parent up!

Slashdot Top Deals

Don't steal; thou'lt never thus compete successfully in business. Cheat. -- Ambrose Bierce

Working...