Better HN
topnewbestaskshowjobs
Log inSign up

roelschroeven

1,801 karma · joined Jan 17, 2019 (7y ago) · 688 submissions

[ my public key: https://keybase.io/roelschroeven; my proof: https://keybase.io/roelschroeven/sigs/Nz0IX54-mcSFTECmlPQdnSc7uQmAIDijnfOugQ4B5xk ]
Submissions

comment 1w ago · link · parent

I think the point is that yes, of course telescopes are important to astronomers, but they're not the essence, they're not what the study is about. They are the tools of the study, not the object of the study.

The same can be said about computers and computer science. I don't think I fully agree with that, but it's interesting to think about.

comment 1w ago · link · parent

I'm pretty sure its a quote from Dijkstra.

comment 1w ago · link · parent

That would be problematic irrespective of him having an affair with her though. The real story then should be the circumvention of the export ban and the coercion of US officials, not the affair itself.

comment 2w ago · link · parent

When you call brk() from a user program you use the lib wrapper, and that does indeed return 0 on success and -1 on failure. But the actual Linux system call, which I presume is what musl calls, returns the current break on failure instead of -1.

See the NOTES section in man brk(2):

> C library/kernel differences

> The return value described above for brk() is the behavior provided by the glibc wrapper function for the Linux brk() system call. (On most other implementations, the return value from brk() is the same; this return value was also specified in SUSv2.) However, the actual Linux system call returns the new program break on success. On failure, the system call returns the current break. The glibc wrapper function does some work (i.e., checks whether the new break is less than addr) to provide the 0 and -1 return values described above.

comment 3w ago · link · parent

IIRC at that point they knew they had problems with the cables, and plans were being thought up on how best to deal with that, but they didn't expect things to fall apart so abruptly. The drone was there to inspect the cables, not to film the collapse.

comment 1mo ago · link · parent

To name just a few:

In Belgium alone 665 people died in June's extreme heatwave that would otherwise still be alive. This is not even just old people. Other European countries have similar numbers.

Europe's inland waterways have extremely low water levels because of climate change related drought. Mainly the Rhine, which is a very important transport route. Ships can't load as much, meaning goods can be delivered at a slower pace. This causes enormous economic damage.

Not only droughts are a problem, but floods as well. In the past few years we've already seen large scale floods necessitating people to flee their homes

comment 1mo ago · link · parent

You don't need an orm or some wrangling library to avoid sql injections. You just have to use parameterized queries. That's a bit cumbersome when using the bare C SQLite API, but in Python it's very easy.

comment 2mo ago · link · parent

In all the decades before Greta Thunberg, all the scientists who warned the world about climate change were largely ignored. Almost nothing happened to fight climate change. Greta has been in the spotlights for less than a decade. And yet it's all her fault? That is completely preposterous.

> Simple. Stayed out of news. Stayed in school and finished education instead of taking a gap year.

Billions and billions of people did exactly that, and nothing happened.

> The ones who should have been given coverage by media should have been the actual scientists working on this crisis. They would have been taken seriously.

When would they have been taken seriously? They have been warning the world since at least the 1980's. How long do we have to wait?

> Think about the last sentence I said for a bit and you'll realize you have been played.

My opinion on climate change has not changed by the appearance of Greta Thunberg. It looks like you're the one who lets Greta's opinion and actions influence yours. Why do you let someone you seem dislike so much have that much power over you?

comment 2mo ago · link · parent

This is a take I often see recently, and it such a weird one. Greta Thunberg and her "crazed lunatics" have caused massive damage? By that do you mean that in a world without them, there would be much more efforts to fight climate change?

That is demonstrably false. Greta Thunberg only became famous in 2018. The world before 2018 was that world without "crazed lunatics", and things weren't any better than. Greta Thunberg got frustrated precisely because after all this time practically nothing was being done.

Also, exactly why do you call Greta a crazed lunatic? What has she done to deserve such a negative designation? What could she have done that in your eyes would have made a positive impact?

Also also, lots and lots of scientists have been telling the world about climate change, just as scientists did regarding ozone. It's just that the media or politicians or the industry or whoever decided their reports were inconvenient and they got largely ignored.

comment 2mo ago · link · parent

I'm in the same boat as kmoser. I don't like narrow text lines either.

In my experience, books are mostly OK, as long as they don't split up the text in columns. Magazines and newspapers often do have columns that are much narrower than I would like.

comment 2mo ago · link · parent

Surely between the browser window too wide (where the text lines are too long) and the browser window too narrow (where side bars are hidden) there exists a width that is exactly to your liking.

comment 2mo ago · link · parent

Chances are that ambient are doesn't provide enough cooling. Maybe you can open only window, or all windows on the same side of your home, meaning there's no draft. Maybe you're in an urban environment, with a micro climate even hotter than outside the city. Maybe both. Heat will enter from sunlight and from people inside, and will exit only very slowly.

There's a world of difference between a house in the countryside, with maybe even some trees providing shade, and an apartment in a densely populated area with very low opportunities for thermal control.

comment 2mo ago · link · parent

A couple of years ago that would have been correct, but circumstances have changed.

We've had a series of heat waves this summer, and temperatures have gotten very high inside. Much depends on the location of course, and the type of building, and stuff like that, but the fact is that in Belgium alone thousands of people have died because of the heat. Thousands of people that would still be with us if they would have had adequate cooling.

When it's close to 40 °C in your home, a ceiling fan is not going to make a meaningful difference.

And we need to keep in mind that summers are in all likelihood going to get hotter and hotter.

comment 3mo ago · link · parent

"The book targets Python 3.15 and later"

That's a bit weird, Python 3.15 isn't even fully released yet.

comment 3mo ago · link · parent

> P.S. The stack overflow question for splitting commits discusses the old and cumbersome approach. The 20th answer discusses the right approach but has a meagre 2 upvotes as of today, compared to 2656 for the older top answer with the cumbersome approach.

It now has 5 upvotes. A long way to go to 2656 but at least it's going in the right direction.

comment 4mo ago · link · parent

It is illegal, but compliance is not enforced to the degree that it should. Companies get away with a lot of GDPR infractions, unfortunately.

comment 4mo ago · link · parent

Kinda looks like a low-quality executive summary of a longer text. I agree, it's garbage.

comment 4mo ago · link · parent

Much like https://ciechanow.ski/

comment 4mo ago · link · parent

Both far-right and far-left are bad, and often in many ways actually quite close to each other.

comment 5mo ago · link · parent

How? Looks like a bog standard corporate website to me, and it would surprise me if they would let their highly skilled programmers spend time on creating the website.

comment 5mo ago · link · parent

60% efficiency? How do these power plants manage to circumvent the limit set by Carnot efficiency?

comment 5mo ago · link · parent

The only basis they have is the low chance of enforcement. It is absolutely contrary not only to the spirit but also the letter of the law.

comment 5mo ago · link · parent

> and rarely if ever on a train or a plane

I experience motion sickness more easily on planes than on trains or buses. Boats are a problem too, in heavy seas.

In a large plane with no or very light turbulence the motion sickness doesn't brake through, it's only an uneasy feeling. In heavier turbulence, or in things like a small Cessna or a sailplane it gets worse. I haven't had to vomit in these situations since I was a little kid, but I do feel bad from nausea.

comment 5mo ago · link · parent

And once you have created such a straight line, you can fold the paper again such that the first crease lines up on both sides of the new crease, and then you have a right angle.

comment 5mo ago · link · parent

In addition to sibling replies, function keys are very useful in debuggers (to step in/over, set breakpoints, ...). And lots of other things that don't immediately come to mind.

I'm old enough to remember WordPerfect on DOS, with a paper template to put over the function keys on your keyboard as a little cheat sheet for all their functions.

comment 5mo ago · link · parent

It's poorly worded. There aren't three motors per axle, there are three motors total: one on the front axle and two on the rear axle.

comment 5mo ago · link · parent

> I don't know how to write an email without it making the spacing between paragraphs/lines larger than I would like. (I.e. double-spacing)

The Compose window by default uses Paragraph style. Change it to Text instead, that works like you want. You can change the default in the settings. Still not ideal because in some cases after certain types of formatting it still reverts to Paragraph style.

comment 6mo ago · link · parent

Aha, that's what I missed. That explains it all. Thanks.

comment 6mo ago · link · parent

I probably should have said Toyota-like hybrid system, to include manufacturers that either licensed Toyota's system or developed something similar themselves.

comment 6mo ago · link · parent

What surprised me in the video is that Alec was telling how his engine can charge his battery while in the car wash. I had a 2016 Auris which I had to put it in neutral in the car wash, and in neutral the engine couldn't charge the battery. That was never a problem, I never had an empty battery in the car wash or even came close to it, but it does seem different from Alec's experience (unless I misunderstood).
12345
23