HNHacker News
TopNewBestAskShowJobs

gabrielhidasy

202 karma · joined October 9, 2020

submissionscomments
gabrielhidasy··on Does Visual Studio rot the mind? (2005)
Travel [long distance], relatively safely, in [short time].

LA to NY is a long roadtrip, but you can do it in 2-3 days with a few friends to rotate drivers. Walking that is a months long journey with a very real risk of death if you don't have a support vehicle.

gabrielhidasy··on Tailscale is pretty useful
Counterpoint: CGNAT
gabrielhidasy··on A liar who always lies says "All my hats are green."
There is, it's the "Vacuous Truth", generally any affirmation about elements of the empty set is true. It's very useful as it allows you to convert any statement "All elements of x are Y" in "No element in x is Not Y".
gabrielhidasy··on Trump wins presidency for second time
A few very religious people, but I don't think any of those had traction to get that into law in the US recently.
gabrielhidasy··on It's Time to Stop Taking Sam Altman at His Word
Hopefully we get a nuclear reactor or three
gabrielhidasy··on MacBook Air, M2 Chip, 8GB RAM: Nothing is open, but half the memory is gone
There's never a 'point' buying Apple regardless of light/heavy use. You buy Apple if you think it's the best OS/hardware combo, you don't if you prefer otherwise.

Even light use will benefit from long battery life, nice screens, and quality construction, and a low cost windows machine will not have that. You can get a good windows machine with comparable hardware, but then it's not low cost anymore.

gabrielhidasy··on Clang vs. Clang
Where suffer means "not be lazy, implement the assembly for your primitives in a lib, optimize it as best as you can without compromising security, do not let the compiler 'improve' it"
gabrielhidasy··on How I got my laser eye injury
Cameras are cheap, eyes are expensive.

Ok, the Vision pro cameras are probably very expensive (mostly because I doubt you can just switch them with new ones). Maybe put a bag over it and a Pi camera on the outside? Can you live-stream to a Vision Pro?

gabrielhidasy··on Misconceptions about loops in C
While the formal concept of applying a function that calls itself may be more familiar to someone trained in classic mathematics, everyone is somewhat familiar with while loops, from basic life things like 'while hungry, eat' or 'salt to taste -> while (not_salty_enough()): add_salt()'
gabrielhidasy··on Lithium-free sodium batteries exit the lab and enter US production
I imagine the idea they were proposing is ~most energy being locally generated, 48v should be fine from solar panels to batteries.

But I can't see that working on denser cities, or factories, or less sunny climates.

gabrielhidasy··on Lithium-free sodium batteries exit the lab and enter US production
Want the experience of a lightbulb from 100 years ago right now? Buy a 220v lamp and use it in a 110v circuit. It will be much dimmer, a lot more orange/yellow, and last for decades.
gabrielhidasy··on The Snapdragon 855's iGPU
Move some (but not all) memory on package? NUMA is not easy but it's an option.
gabrielhidasy··on The Snapdragon 855's iGPU
Didn't really fail, GeForce Now is still available and working well. Stadia was abandoned by Google but worked really well for the ones that had good internet and lived close enough to the data-centers.

The bad part is needing to live close to a big, expensive, GPU-heavy data-center, but if mobile GPU's are getting that good, maybe in the near future we could have single servers or small racks serving a few dozen to a few hundred players, that would be much easier to co-locate, grow as needed, and improve latency.

gabrielhidasy··on You can't just assume UTF-8
Are there Japanese characters missing in UTF-8? They should be added ASAP.

I know there's a weird Chinese/Japanese encoding problem where characters that kind-of look alike have the same character id, and the font file is responsible for disambiguation (terrible for multi-language content and we should really add more characters to create versions for each, but still the best we have).

gabrielhidasy··on Cheyenne Super Computer Auction
r/homelab will have a field-day getting those nodes up, some people will want just one for practicality, some people will want at least a couple and a IB switch just for the novelty of it.
gabrielhidasy··on -2000 Lines of Code (2007)
I know at least a few many-hundred-billion dollar companies that fit that description...
gabrielhidasy··on -2000 Lines of Code (2007)
Not even that, I'm not a civil engineer, but it looks pretty hard to add a ton of concrete without really helping a skyscraper, but I could add a few thousand lines of code without improving a system one bit, and even more lines to make the system slower, more complex, and still not add any functionality.

LoC is about as good a measure of a system quality as weight is for an aircraft project.

gabrielhidasy··on GoFetch: New side-channel attack using data memory-dependent prefetchers
Many modern architectures have crypto extensions, usually to accelerate a few common algorithms, maybe it would be good to add a few crypto-primitives instructions to allow new algorithms?
gabrielhidasy··on Unconventional Uses of FPGAs
Probably compared to micro controllers that are getting fast enough to do a lot of what used to take custom hardware or FPGAs
gabrielhidasy··on Considerations for a long-running Raspberry Pi
For one device it works well, but when you get a bunch, I find it simpler to use one Pi (actually now a Lenovo m920q, it could be a Pi, I just needed a bit more power for other stuff) with the tunnels and make it talk to all the iot stuff. Has a few advantages: - Updating the more security sensitive parts is a lot easier (only one machine can talk to the internet). - Lets me use ultra-low-power 1-coincell a year stuff. - Integrates everything in a single point so coordinating stuff is very easy (like, single action to close the blinds, turn on projector and set AC a bit cooler).
gabrielhidasy··on Considerations for a long-running Raspberry Pi
Actually the installation guide for arch asks you to use `genfstab -U /mnt >> /mnt/etc/fstab` which basically copies over whatever was mounted at the live environment (taking off the /mnt), I'm pretty sure tmpfs for /tmp was there by default last time I installed.
gabrielhidasy··on Free and Open Source Alternative to Airdrop
It's literally click in the share icon and choose "Share over QR".

The device then will do the "run a server with the file, create the QR Code for access, display it". Your mum has no need to learn how to run it, just how she doesn't need to know anything about how airdrop works to use it.

gabrielhidasy··on What's that touchscreen in my room?
Is it really a problem? An ESP8266 (which is not the most efficient thing, but is very cheap) uses about 0.5W while transmitting, much less most of the time.

For reference, I have some smart outlets that I measured using a while ago, pulling about 0.05W on average from the wall, or 36Wh a month. That's about as much energy as making 500ml of coffee or charging a phone 2-3x.

gabrielhidasy··on Volkswagen, Porsche, and Audi say they will use Tesla's EV charging plug
And two phases give you 2x the power for the same copper.
gabrielhidasy··on Volkswagen, Porsche, and Audi say they will use Tesla's EV charging plug
NACS supports either one or two phases for AC charging which would be used in most home chargers. A really high power charger would use DC with the AC/DC conversion happening before (and that could be from a three-phase source)
gabrielhidasy··on My cat water fountain comes with a spicy USB power adapter
So you had a glorious 2kW work light for a few minutes.
gabrielhidasy··on EmacsConf Live Now
I use it, mostly for C++, a bit for Python, a ton of configuration languages.

There are dozens of us in the company, but only me in my team. The most popular editor around is VSCode.

There's not a lot of extra friction to use Emacs, the build system is well integrated, the debugger just works, the VCS is weird but the mercurial bridge is pretty good, and I always preferred using it in the CLI anyway.

gabrielhidasy··on Show HN: A note-keeping system on top of Fossil SCM
Not OP, but Fossil is a bit more than just a VCS, it has built-in wiki, bug-tracker and a bunch of other stuff. And it keeps everything in a single file so it's pretty easy to copy around out-of VCS flows. This app uses the built-in webserver to show the notes and the JSON api.
gabrielhidasy··on Android 14 adds support for using your smartphone as a webcam
Lithium batteries degrade faster when very full or very empty. Samsung lets you limit to 85%.
gabrielhidasy··on Chromebooks will get 10 years of automatic updates
Is WiFi failure something that happens? I've never seen one. I did upgrade a few cards (in one to go from B to G, in other from N to AC), and I replaced a few broadcom cards with intel ones to get better Linux support, but I don't think I ever saw a broken card.
← PreviousPage 2 of 4Next →