HNHacker News
TopNewBestAskShowJobs

hackernudes

805 karma · joined May 15, 2017

submissionscomments
hackernudes··on Requiem for a Solar Plant
Quick summary: Author had money "from crypto" and wanted to create a solar power plant in Texas. After dealing with challenging mineral rights and health issues, interconnect fees to the power company were too expensive to make the project worth it.
hackernudes··on The curious case of shell commands, or how "this bug is required by POSIX" (2021)
I think this is a topic that every Linux user eventually stumbles into. It is indeed quite frustrating.

I found the article hard to follow, but maybe because I was already familiar with the problem and was just skimming. Skip to "Some experiments..." for the actual useful examples.

I disagree with the conclusion, though. I think there should just be more obvious ways to escape the input so one can keep their sanity with nested 'sh -c' invocation. Maybe '${var@Q}' and print '%q' are enough (can't believe I didn't know those existed!)

hackernudes··on Programming on 34 Keys (2022)
I didn't see any way to type function keys (f1, etc...). I see some of the allure of minimalist keyboards but when I imagine myself using it it seems painful.
hackernudes··on I used o3 to find a remote zeroday in the Linux SMB implementation
"SMB Direct" is RDMA based and ksmbd supports it. Samba does not. Disclaimer: I have not used it but was looking it up just yesterday.
hackernudes··on Starlink User Terminal Teardown
> Drawing on existing research [3], our preliminary analysis of these programs and configurations suggests that the network stack architecture is somewhat similar to DPDK [4], mainly relying on a user-space C++ program to bypass the kernel for handling network packets.

The way it usually works is that the initial packets are handled in software but once the endpoints are established it flows through hardware. Sometimes certain patterns are always handled in software. The software could be a patched kernel or a XDP style kernel bypass.

Source: worked peripherally on an Intel Puma cable modem router/gateway that used DPDK or something like it. So I'm not 100% sure, but it is an educated guess.

hackernudes··on Connomore64: Cycle exact emulation of the C64 using parallel microcontrollers
I use https://zxtune.bitbucket.io/ on Windows and Linux. It's cross platform for Mac too and I imagine it works.
hackernudes··on Trying (and failing) to hack the Wall of Sheep (2022)
Ok this took me a minute to parse.

Someone at DEFCON captured the wireless data from a mouse/keyboard dongle. The dongle was connected to a computer that belonged to the organizers, possibly managing the Wall of Sheep. They were able to capture and/or simulate input from/to the dongle.

Nice.

hackernudes··on I Fought the IRS for Over $12K and won
You pay the difference plus interest! But yes 100% agree. That's how I learned you need to pay estimated taxes ;-)
hackernudes··on Erlang's not about lightweight processes and message passing (2023)
It's funny reading your response because I think you skipped the second half of the comment! Your rebuttals to the rebuttals are pretty similar.
hackernudes··on Nvidia adds native Python support to CUDA
Pretty sure you want it to do it the first way in all cases (not just with GPUs)!
hackernudes··on Declarative Web Push
I just want to say I appreciate your rant. Maybe this declarative web push API signals they are spending some developer time improving the "Add to Home Screen" experience overall.

I hope the whole industry pushes to prefer websites-as-apps. So many services have both native apps and websites and one or the other is broken or limited for no good reason other than it's hard to develop two things instead of one.

hackernudes··on Declarative Web Push
Let's see if I can figure this out...

"Declarative Web Push" is a web browser javascript API to subscribe to events from an HTTP server. It is similar to the "Web Push" API but changed to be better for mobile devices in a few ways.

Both the old Web Push and this new Declarative Web Push APIs use "the same Apple Push Notification service that powers native push on all Apple devices". I don't know if that means an Apple server actually listens for the notification from the HTTP server or if the device itself maintains the connection to the server.

It seems that for iOS this API only works on websites that are pinned to the home screen (i.e. not a notification from a site open in safari as a browser). These pinned websites work more like apps.

Is there something similar like this on Android? Either for pinned apps or from the browser? In other words, is there a reliable and efficient way to get notifications to an android phone without having to sign up for any service?

hackernudes··on Ask HN: can Wireless-CarPlay dongles steal your data?
I wondered about this exact scenario with my Android auto dongle.

I never could get the upgrade to work when connected to my phone. I did get it to work connecting my PC to the dongle (which acts as a wifi access point). My PC then loaded the firmware in a desktop browser window as I was connected to Ethernet and the dongle at the same time. I may have had to set some up routes manually.

They absolutely should not get Internet access through the phone. I really hope it doesn't work that way! I searched quite a bit but could not find a definitive answer.

Edit: I read the other replies and it makes sense. The browser on your phone can make a request over wifi and over cellular, so really the browser would do the fetching over the internet, not the device.

hackernudes··on Tracing the thoughts of a large language model
This exchange looks like the output of a so-called "reasoning model". Maybe it is a joke or maybe it is an actual response from an LLM.
hackernudes··on Blender releases their Oscar winning version tool
I was also confused. The HN title is weird. As I hovered over the description deciding whether to waste my precious seconds RTFA I had dreams of some sort of version control for 3d assets, but no.
hackernudes··on Occupry your next lease to negotiate a better deal
UPL = Unauthorized Practice of Law
hackernudes··on I-cant-believe-its-not-webusb: Hacking around lack of WebUSB support in Firefox
Quick summary.

Firefox does not support talking to arbitrary USB devices (whereas Chrome has WebUSB to do that). However, Firefox does support talking to U2F security keys over USB.

This project programmed a microcontroller to pretend to be a U2F security key. The goal was to talk to the microcontroller over USB through Firefox.

They use the Javascript Credentials APIs (https://developer.mozilla.org/en-US/docs/Web/API/Credential_...) and some cleverness to send data to and receive responses from the microcontroller.

hackernudes··on Gene-edited non-browning banana could cut food waste
Anecdote: I always keep my grapes on the vine unrinsed and they last more than a week.
hackernudes··on Tether and Circle are battling to win the US stablecoin market
Quick summary: Tether (USDT) and Circle (USDC) are battling to win the US dollar stablecoin market.
hackernudes··on Turning a Bluetooth device into an Apple AirTag without root privileges
Here is my quick summary:

Apple devices listen for BLE advertisements of a certain form to indicate a "Find My" network lost device.

The lost device advertisements mainly contain the public key part of a key pair.

The public key does not fit in the in payload of the advertisements, so it is stuffed into the address field. Edit: Only 46 bits of the full 224 bit public key is stored in the address field.

In general anyone can make a "lost device" advertisement as demonstrated by OpenHayStack[1]. The requirement is the address field needs to be fully controllable.

BLE advertisements have a header that indicates what kind of address is present (specified by 3 bits: Public, NRPA, RPA, Random Static). The lost device advertisements are supposed to be "Random Static", but the researchers found that Apple "Find My" listeners ("finders") will accept advertisements for any address type.

They use this fact to generate the private key part of a public key that matches an existing host adapter BLE address. The host adapter BLE address cannot generally be changed unless user has root/superuser privileges. This step is computationally expensive. However, private keys can be precomputed (rainbow tables) because a large chunk of the address is a manufacturer code (OUI).

[1] https://github.com/seemoo-lab/openhaystack

hackernudes··on El Salvador abandons Bitcoin as legal tender
Thanks for clarifying!

Although I don't think I agree. Wouldn't a currency shortage be another way to say deflation? If your economy is producing more value than your currency represents, then your currency is more valuable.

I have also heard people say deflationary currencies inevitably lead to a catastrophic spiral where liquidity dries up because no one wants to spend (or loan) today what can be more valuable tomorrow. There's even a page on the Bitcoin wiki about it that has been there since 2010.

Also, a quick google brings me to the "Price revolution" page on Wikipedia (https://en.wikipedia.org/wiki/Price_revolution) where it says: "Generally it is thought that this high inflation was caused by the large influx of gold and silver from the Spanish treasure fleet from the New World; including Mexico, Peru, Bolivia and the rest of the Spanish Empire."

In the end... I don't really know. I appreciate you sharing your thoughts.

hackernudes··on El Salvador abandons Bitcoin as legal tender
So the modern version of traversing the world for silver would be energy used to mine? Like hypothetically the US building tons of nuclear power plants to "win" at mining? Of course that wouldn't add to the supply of bitcoin (harder than silver), so I'm not convinced your analogy stands. I don't know much about 16th century history, so I'm not trying to be too snarky.

You might think about the long game where no more bitcoin is issued and only transaction fees are awarded to the miners. How much energy will bitcoin consume then? There will be an equilibrium somewhere between energy prices and transaction fees.

I'm not even saying we should abolish fiat currency, or that the USD has to be fully backed by a hard asset. Individuals will hold whatever asset/currency/whatever they think will be the best choice for them.

hackernudes··on El Salvador abandons Bitcoin as legal tender
Because they need toilet paper today.
hackernudes··on El Salvador abandons Bitcoin as legal tender
El Salvador doesn't have a fiat currency. They are dollarized since 2001.
hackernudes··on El Salvador Abandons Bitcoin as Legal Tender After Failed Experiment
Do you mean Chivo wallet? It will probably shut down. Strike is still operating (in many countries including the US and El Salvador) and has a physical office in El Salvador.
hackernudes··on Avoid ISP Routers (2024)
My current residential price is $65/mo for 500mbps/20mbps. Business is $120/mo for 500mbps/200mbps ($105 for first 24 months). I wouldn't mind getting a bit more sweet sweet upload. Maybe I will!

There is also "gigabit pro"/"gigabit x10" where they run fiber to your house. That is $350/month for symmetric 10gbps. Lots of limitations on availability and a big install fee, though. Gotta get the other half on board with that ;-)

hackernudes··on Avoid ISP Routers (2024)
My experience in the Bay Area - if you rent the gateway from Comcast ($25/mo) then you have no data cap. If you use your own modem and want to remove the data cap it costs $30/mo, more than renting the gateway. The data cap is 1.2TB per month in my area.

I think that is what the commenter meant: "...unless I pay a whole bunch of extra fees or accept a stupidly low monthly data cap"

(edit: I initially thought it was $15/mo for the gateway + no data cap but just checked and it is $25/mo. They are called "Xfinity Gateway" vs "xFi Complete").

hackernudes··on Hard numbers in the Wayland vs. X11 input latency discussion
Doesn't really work like that in Wayland.

If an application framebuffer is full screen and in a compatible pixel format the compositor can do "direct scan out" where the compositor sends the framebuffer directly to the crtc instead of compositing first. I know that wlroots supports that. I'm not sure how much performance it saves to be honest.

And I'll second that most commercial games do go through XWayland, though it depends on what games you like!

hackernudes··on Ask HN: Predictions for 2025?
Today I learned chat.com redirects to chatgpt.com
hackernudes··on After twelve years of writing about Bitcoin, here's how my thinking has changed
On the other hand there are people who are productive but kept their savings in USD and lost value.

I agree Bitcoin is not a productive asset. However, is there an obviously better way to bootstrap a new form of decentralized money?

The author of the article classifies Bitcoin as an "early bird game" which is defined as a zero sum game where early players win at the expense of later players (and for every winner there is a loser). I don't really understand it. Is it possible for a deflationary currency to keep going up in purchasing power forever? I feel like it is. The productivity of our species as a whole is not like a zero sum game (at least not until some absurd physical limits).

There are so many interesting questions about how Bitcoin and other cryptocurrencies can work in the future! I am definitely more of a zealot at the moment!

← PreviousPage 4 of 9Next →