HNHacker News
TopNewBestAskShowJobs

wcrossbow

355 karma · joined March 5, 2018

submissionscomments
wcrossbow··on The AirPods Effect
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

wcrossbow··on A web-based RDP client built with Go WebAssembly and grdp
Im not a big fan of Windows but copy pasting a file across 3 nested RDP sessions feels magical every time
wcrossbow··on How to get better at guitar
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.

wcrossbow··on Claude Code's source code has been leaked via a map file in their NPM registry
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.
wcrossbow··on Self Driving Car Insurance
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.

wcrossbow··on Akin's Laws of Spacecraft Design (2011) [pdf]
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.

wcrossbow··on Making tiny 0.1cc two stroke engine from scratch
That’s true! Sorry for not mentioning that.
wcrossbow··on Making tiny 0.1cc two stroke engine from scratch
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.
wcrossbow··on Show HN: Browser-based interactive 3D Three-Body problem simulator
They might have been using the fast multipole expansion method
wcrossbow··on A macOS terminal command that tells you if your USB-C cable is bad
I'm not a go developer and this kind of thing is far from my 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.

wcrossbow··on Alterego: Thought to Text
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.
wcrossbow··on I'm switching to Python and actually liking it
Even better is to try to fetch all the env variables and then report on all of the missing ones.
wcrossbow··on Show HN: Hatchet v1 – A task orchestration platform built on Postgres
Another good one is pgqueuer https://github.com/janbjorge/pgqueuer
wcrossbow··on Revenge of the GPT Wrappers: Defensibility in a world of commoditized AI models
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/

wcrossbow··on Moon
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.
wcrossbow··on Moon
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/

wcrossbow··on A visual proof that a^2 – b^2 = (a + b)(a – b)
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.
wcrossbow··on A visual proof that a^2 – b^2 = (a + b)(a – b)
Just rename a to b and b to a.
wcrossbow··on Unexpected Keyboard
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!
wcrossbow··on Unexpected Keyboard
> 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.

wcrossbow··on Unexpected Keyboard
You can flash your own firmware which you can inspect. QMK and ZMK are two very popular options.
wcrossbow··on The Deceptively Asymmetric Unit Sphere
Great example of a corporate blog! My immediate reaction is I want to work in this team.
wcrossbow··on SQL style guide by Simon Holywell
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...

wcrossbow··on Venvstacks: Virtual Environment Stacks for Python
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.
wcrossbow··on Visual Studio Code is designed to fracture (2022)
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

wcrossbow··on Why has nuclear power been a flop? (2021)
A guardian or a gordian knot [0]?

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

wcrossbow··on Using Rust to corrode insane Python run-times (2021)
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.

wcrossbow··on Using Rust to corrode insane Python run-times (2021)
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

wcrossbow··on Numeronymize
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

wcrossbow··on Ask HN: How to pivot to a Machine Learning engineer?
> 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.

Page 1 of 3Next →