News for hackers. Stuff that matters.

wcrossbow

Re:The AirPods Effect on Friday June 19, 2026 @06:36AM (#48597017)
Sorry but no! On my corner of the world it's not allowed but more importantly it's dangerous. When riding your bike you must have all your senses fully engaged. First day I got on my new ride my dad gave me a piece of biker wisdom: You are the weakest and smallest vehicle () on the road, watch out and drive like nobody can see you or cares about you.

() Bicycles and other light vehicles excluded

Re:A web-based RDP client built with Go WebAssembly and grdp on Saturday April 25, 2026 @08:53AM (#47901101)
Im not a big fan of Windows but copy pasting a file across 3 nested RDP sessions feels magical every time
Re:How to Get Better at Guitar on Wednesday April 08, 2026 @06:44AM (#47688283)
I would assume it's grating for anybody to hear their mother tongue butchered. More so when both sides know they could just switch English and have an adult conversation instead of struggling to buy a loaf of broad and a bottle of water. I always feel the urge to switch and have to remind myself that the other person is making a big effort on their side and that should be appreciated and respected.

P.S. My mother tongue is Spanish and it's many accents are anything but standardized.

If it’s good enough it’s good enough, but just like there are many more options than going full blown LLM or just use a regex there are more options than transpile a massive Python stack to TS or give up.
Re:Lemonade Autonomous Car Insurance (With Tesla FSD Discount) on Saturday January 31, 2026 @05:28AM (#46835301)
Kids will randomly run into the road. They might run behind a ball or a dog so that it doesn’t end up on the other side or runned over or are simply too excited to remember your stern road safety talk.

The first thing I was taught when I picked up a car was: if you see a ball on the road you stop immediately. This valuable lesson has saved one kid (and my sanity) with me on the wheel.

Re:Akin's Laws of Spacecraft Design [pdf] on Wednesday December 31, 2025 @07:58AM (#46443718)
The last and most important slide is missing.

"Ignore all the advise above and do the right thing Subtext: This will take multiple lifetimes to accomplish"

This is particularly important considering that some of the advice is at odds with each other and engineering is an unending juggling of tradeoffs. It's also by far the hardest to achieve both technically and socially but worth striving for.

Re:Making tiny 0.1cc two stroke engine from scratch on Saturday December 06, 2025 @03:59AM (#46171789)
That’s true! Sorry for not mentioning that.
Re:Making tiny 0.1cc two stroke engine from scratch on Saturday December 06, 2025 @03:07AM (#46171536)
This is great. If you enjoyed it you should check https://www.youtube.com/watch?v=8IEGmD_aV3w . Next to that it’s child’s play. That’s a whole trasatlantic’s engine room from scratch.
Re: on Wednesday November 19, 2025 @02:05AM (#45976647)
They might have been using the fast multipole expansion method
Re:A terminal command that tells you if your USB-C cable is bad on Wednesday October 08, 2025 @04:09AM (#45513406)
I'm not a go developer and this kind of thing is far from area of expertise. Do you mind giving some examples?

As far as I can tell skimming the code, and as I said, without knowledge of Go or the domain, the "shape" of the code isn't bad. If I got any vibes (:))from it, it was lack of error handling and over reliance on exactly matching strings. Generally speaking, it looks quite fragile.

FWIW I don't think the conclusion is wrong. With limited knowledge he managed to build a useful program for himself to solve a problem he had. Without AI tools that wouldn't have happened.

Re:Alterego: Thought to Text on Tuesday September 09, 2025 @03:10AM (#45178537)
This is the stuff nightmares are made of. We already live in a you have nothing to hide society. Now imagine one where mega corps and the government have access to every thought you have. No worries, you got nothing to hide right? What would that do to our thought process and how we articulate our inner selfs? What do we allow ourselves to even think? At some point it will not even matter because we will have trained ourselves to suppress any deviant thought. I'd rather not keep on going because the ramifications of this technology make me truly sick in the stomach.
Re:I'm Switching to Python and Actually Liking It on Wednesday July 16, 2025 @11:54AM (#44583674)
Even better is to try to fetch all the env variables and then report on all of the missing ones.
I read this and of course couldn't believe it. Isn't 14.7B enough to be considered extremely rich these days[1]? In the the Forbes real-time billionaires list is quite easy to find _many_ such examples.

[1] https://www.forbes.com/profile/sarath-ratanavadi/?list=rtb/

Re:Moon on Tuesday December 17, 2024 @02:38PM (#42444489)
At my current employer, Kuva Space, I'm among other things responsible for the commisioning and in orbit calibration of the payload. The Moon is a major calibration target for us, and between waxing and waining crescents I spent a lot of time analyzing Moon shots to perform radiometric calibration and camera parameter optimizations. The Moon doesn't know about weekends and images are not always downlinked at the most convenient times so that makes my life a bit more hectic.
Re:Moon on Tuesday December 17, 2024 @12:48PM (#42443443)
The Moon also plays currently a very special role in my life and my work days are dictated to a large extent by the current Moon phase :)

It's not discussed in the article but we have detailed models (ROLO[0] and LIME[1]) for how much light is reflected from the Moon and can be captured by a telescope. Like this one can radiometrically calibrate a telescope, that is, find a mapping between the digital numbers coming out from the sensor and actual radiance values.

[0] https://www.usgs.gov/media/files/rolo-lunar-model-and-databa... [1] https://acp.copernicus.org/articles/24/3649/2024/

Re:A visual proof that a^2 – b^2 = (a + b)(a – b) on Sunday December 15, 2024 @02:20PM (#42425341)
This is not what I meant. What is being proved is: a^2-b^2 - (a+b)(a-b) = 0. If you swap a and b you end up with a sign switch on the lhs which is inconsequential.
Re:A visual proof that a^2 – b^2 = (a + b)(a – b) on Sunday December 15, 2024 @09:32AM (#42423582)
Just rename a to b and b to a.
Re:Unexpected Keyboard on Friday December 13, 2024 @10:45AM (#42409566)
That's a gross underestimation. At current world population levels that comes out to be 8000 people. The QMK github repo alone has over 18k stars and almost 40k forks. So yeah very popular!
Re:Unexpected Keyboard on Friday December 13, 2024 @05:39AM (#42407482)
> is that you can swipe left and right on the space bar to quickly and accurately scroll left and right in a text field. I find this about as fast as tapping at a position in a text field, but much more accurate

I recently learned about a hidden iphone feature. If you hold the spacebar for about halve a second you can move freely the cursor around any text field.

Re:Unexpected Keyboard on Friday December 13, 2024 @05:35AM (#42407464)
You can flash your own firmware which you can inspect. QMK and ZMK are two very popular options.
Re:The Deceptively Asymmetric Unit Sphere on Saturday November 23, 2024 @01:59AM (#42219581)
Great example of a corporate blog! My immediate reaction is I want to work in this team.
Re:SQL style guide by Simon Holywell on Friday November 15, 2024 @03:05AM (#42144824)
Editors can highlight SQL queries embedded as strings. Neovim can do it, and I'm pretty confident it's not going to be alone in that respect.

edit: Not the editor I use but thought it might be helpful. Here is an extension, which I haven't tested, to do this in VSCode: https://marketplace.visualstudio.com/items?itemName=iuyoy.hi...

Re:Venvstacks: Virtual Environment Stacks for Python on Monday November 04, 2024 @06:16AM (#42040511)
Here is one piece of knowledge earned the hard way. Do not use the official python GDAL bindings (`pip install GDAL`) unless you really must. Go with rasterio and don't look back.
Re:Visual Studio Code is designed to fracture on Monday September 30, 2024 @08:44AM (#41696509)
Famous guitarists mostly only play specific expensive brands because they are endorsed by them. Any professional musician can make the cheapest of instruments sound really good. Maybe a note is missed here or there and the sound is not as good as it could be but it will still be way way better than an average player.

Here is Satriani playing on a terribly setup guitar [1] His only comment at the end? Oh, that was a little painful.

[1] https://www.youtube.com/watch?v=_KZjVZLsU6s&t=20s

Re:Why has nuclear power been a flop? (2021) on Wednesday August 21, 2024 @05:39AM (#41308476)
A guardian or a gordian knot [0]?

[0]: https://en.wikipedia.org/wiki/Gordian_Knot

Re:Using Rust to corrode insane Python run-times on Friday July 26, 2024 @08:48AM (#41078180)
I was taken by surprise too by the false dichotomy presented:

> 1. Try breaking the data into chunks, and then using multi-processing (ugly in Python) to leverage a more powerful cloud virtual machine, sticking with matplotlib

> 2. Write a very small native custom library to do the math we want, using threads

There are a many more ways you could try to go about this, off the top of my head: numba, pypy (or other alternative python), jax/torch/tensorflow, multiprocessing, joblib.

Re:Using Rust to corrode insane Python run-times on Friday July 26, 2024 @08:44AM (#41078147)
Here is a much better blog post on the topic of optimizing geometrical operations with Rust. If I remember correctly some of the commenters of the HN thread even delivered better "pure" Python versions than the optimized Rust proposed by really leveraging Numpy.

- https://ohadravid.github.io/posts/2023-03-rusty-python/

- https://news.ycombinator.com/item?id=35367520

Re:Numeronymize on Monday July 08, 2024 @05:02AM (#40903807)
Today I learned something new, but I found it very ironic that after looking up a11y, the first example, discovered it meant accessibility.

edit: I do realize that I might be missing the joke entirely

Re:Ask HN: How to pivot to a Machine Learning engineer? on Wednesday June 26, 2024 @08:13AM (#40799063)
> Math makes everything easier

This can't be overstated enough. Understanding the math behind what you are doing has the capacity to turn mind boggling hard problems trivial.

Older »