HNHacker News
TopNewBestAskShowJobs

raminf

228 karma · joined January 13, 2010

Ex-AWS, Ex-Panasonic. Working on a web/mobile gaming platform using on-device AI/ML. SF Bay Area. Can be reached via email at {my HN username} <at> gmail.com
submissionscomments
raminf··on Porting Python to a $3 smartwatch [video]
The amount of effort put into all the porting and reverse-engineering is impressive. Especially, getting the toolchain working. That's usually where most of the hair-pulling comes in.

For those wanting to hack their own tracker, for slightly more money ($5), you can get one with a Nordic nrf52832 which has lots more documentation and support, including Micropython:

- https://forum.micropython.org/viewtopic.php?t=6498

- https://github.com/fanoush/ds-d6

raminf··on Gio UI – Cross-platform GUI for Go
For mobile, this looks promising: https://skip.tools

Transpiles SwiftUI over to Kotlin/JetPack Compose. Native all the way down. Haven't used it in production, but the demos work and are native after going through XCode and Android Studio.

raminf··on VMware Fusion Pro: Now available free for personal use
Started as a Fusion user, then Parallels on the Mac. Then back to Fusion. Each Windows or MacOS update would break something.

Toggled back and forth maybe 5-6 times. Finally settled on Parallels and stopped upgrading Fusion. Haven't had problems since.

Glad it's free now, but that sometimes means the company is going to stop investing in it.

raminf··on Raspberry Pi CM5 seen in the wild
Went down the voice assistant rabbit-hole with Home Assistant. To integrate with an LLM, you will need a separate processor (or connect to the cloud service).

Wondering if CM5 will offer enough of a boost to allow on-device LLM processing on a Home Assistant Yellow.

Guessing the answer is no, but it might be worth trying.

raminf··on U.S. sues Apple, accusing it of maintaining an iPhone monopoly
"Super Apps" raise two technical issues:

1. Allowing such apps to handle their own payment processing across multiple applications. This means Apple doesn't get to force everyone through the in-app purchasing funnel and collect a transaction fee. There could be an exception made that the fee is waived for purchasing physical goods and services through the super-app. This shouldn't be a hard change. The big fight will be over selling digital content and what is a fair percentage.

2. Allow users to install binary plugins or extensions into a single app without going through an AppStore review. Apple does not currently allow this unless the plugins or extensions are web-based and can run inside the webkit sandbox.

They'll have a strong argument that forcing them to allow running arbitrary, unreviewed code will open up big security holes.

raminf··on British Post Office Scandal
FWIW, just started a digital subscription ro PrivateEye via PocketMags. It's essentially a PDF of the magazine inside a basic reader (i.e. lots of zooming and scrolling). In the U.S. it runs $6/month.
raminf··on Seven great but notoriously hard-to-finish books
I would add:

- Gravity's Rainbow (which I did enjoy, but so many people raged against)

- Infinite Jest

- Finnegan's Wake

- War and Peace

- Divine Comedy

- Remembrance of Things Past

Didn't feel the same way about Catch-22. Really solid humor mixed with absolute tragedy.

raminf··on VW is putting buttons back in cars
Have a 2023 ID.4. There are three things I do most frequently:

- Connect my phone via CarPlay (as only user).

- Adjust AC depending on outside temperature and passengers.

- Plug car in at home to charge after midnight (cheaper rates).

In all three cases, the car forgets previous settings, requires multiple taps (up to 5-6 at a time), or makes it hard to find the screen to make the adjustment.

My last car ran fine for 20+ years. This is the third VW I've ever driven; the first two were a long time ago. I intentionally leased this one since I figured EV technology would evolve, so best to hold off before purchasing outright.

Unless they figure out how to make those features be 0-touch (or even 1-touch) operations, this will be the last VW for me. The EV part works fine, but I grit my teeth every time I get in or out of the car.

raminf··on datetime.utcnow() is now deprecated
One of the unusual things Swift did during its transition to a real programming language was to promise that there would be breaking changes.

This way, everyone knew what to expect. Customers, co-workers, contractors, and management knew where things stood.

If every programming language and API/ABI did this from the get-go, there would be so much less angst and hair-pulling each time some old, bad design was deprecated.

raminf··on Roman coins discovered in the waters of Sardinia
The trouble is finding a "reputable" dealer and a trustable path of provenance. I've been looking around for a set of specific coins from the 6th Century. They show up in searches but range from $20-$500. You can't tell if you're getting the real thing or a knock-off. Few have an escrow mechanism so you don't know if you're throwing your money into the void.

So many of the websites raised red flags that I just stopped looking.

raminf··on Recent adventures in performance optimization with Rust
Comparing highly optimized code (including total algorithm rewrite and relying on unsafe and SIMD operations) without doing the same on the other side is a pointless exercise.

It's like showing how much faster you can get your handcrafted assembly code to run vs a bash script.

raminf··on Ask HN: Which non-fiction books had the biggest impact on you?
- Gödel, Escher, Bach (https://en.m.wikipedia.org/wiki/Gödel,_Escher,_Bach)

- Empty Planet: The Shock of Global Population Decline.

raminf··on Apple plans to update iPhones in-store without opening the boxes
https://invisqi.com/blogs/all-about-qi/wireless-charging-at-...

Regular Magsafe can start charging at 40-50mm. Power has to go through a lot of packaging layers. If they make an extra-strong in-store charger cradle to boost that distance, it would be possible to reach the phone, and trigger a power-up session without opening the box.

The power detection chip can take very little energy so everything else (other than maybe power-button-press detector) is in super-dormant mode.

On power bootup, the phones can connect to Apple store wifi (preset in wifi defaults), then use key exchange to authorize wifi. Then they can use mDNS/DNS-SD to scan for an update service running on the store network. If found, they can do a key exchange, then download the update, validate, and install.

The whole time, the custom cradle could also be topping up the phones so when the user opens their box, it's charged and they're happy.

Just a guess. Very clever, if true. Also, eminently doable.

raminf··on HTTP/2 zero-day vulnerability results in record-breaking DDoS attacks
https://aws.amazon.com/blogs/security/how-aws-protects-custo...

https://www.nginx.com/blog/http-2-rapid-reset-attack-impacti...

raminf··on Chuck Feeney has died
Life goals. RIP Mr. Feeney.
raminf··on EMPShield investing $1.9B with CHIPS support to build factory in Kansas
"The project came together shortly after the Creating Helpful Incentives to Produce Semiconductors (CHIPS) Act was signed into law last August."

"Was signed." Nice use of the passive voice, there.

The tech sounds a bit dodgy, though. Could well end up in Wisconsin/Foxconn territory.

Let's hope they're legit. It's good to diversify local manufacturing and rural Kansas could use the jobs.

raminf··on Ask HN: Does your microwave interfere with Bluetooth? Mine does
The 2.4GHz spectrum is shared between Bluetooth and WiFi 802.11b/g. A few years ago, I was doing some work using an Ubertooth-One scanner (https://greatscottgadgets.com/ubertoothone/). It was showing the traffic on different channels.

My wife stuck a burrito to warm up in the microwave a room away (30-40 ft). This was with a brand-name model, so presumably properly shielded, etc.

Nope. The entire spectrum just went white with noise on all channels.

Once the microwave cycle ended, it still took a good 15-30 seconds before the airwaves calmed down and went back to normal traffic.

raminf··on $700 a Month for a Bed-Sized “Pod” in Downtown SF? Techies Are Renting Them
In dotcom days, I used to work in SF with a developer from Australia. He liked to stay in youth hostels in SoMa. They were cheap and offered easy commute to downtown. He got to hang out and socialize with traveling expats and save a ton of money.

It was inconvenient by conventional standards (had to vacate and rotate rooms every few days) but he enjoyed the lifestyle. In the winter time, he went up to Tahoe and became a ski instructor while still freelancing tech projects.

With all the extra money he sent home, he ended up buying a house there while in his 20s. I lost touch but heard through mutual friends he was doing well.

You can sniff at pod housing, but when you're young, footloose, and chasing a dream, it's a pretty good deal.

raminf··on The Rise and Fall of ESPN’s Leverage
With the dropoff of local networks and cable-cutters,the sports leagues are going to start direct-streaming the games themselves and capture advertiser and viewer revenue directly. MLB.tv is a primary example. They already have the technology and the brand reach.

All they have to do is add color commentary (post-game shows, direct interviews with players and coaches) and the value of local TV sports networks and intermediaries like ESPN will drop off to zero.

Only thing ESPN will have going for it is cross-sports content, like SportsCenter. Not sure that's enough to keep them going.

Once the cable and local network deals expire, the league streamers would be smart to do away with local blackouts, and then there would be no reason for fans to just buy the league streaming service directly.

raminf··on California Forever
More from the SF Chronicle: https://www.sfchronicle.com/bayarea/article/flannery-renderi...

Read somewhere the land acquired was 2x the size of the City of San Francisco.

raminf··on Intent to approve PEP 703: making the GIL optional
Remember the transition of text to Unicode? 32 to 64-bit? Intel to ARM? Y2K?

No-GIL is a much smaller shift. It can follow the same transition path without radically breaking things. And if some things do break, there would be a well-defined way to handle those cases.

We all somehow survived those. Glad to see forward motion on this. It will open up a lot more terrain that has been marked off as untenable.

One of the things about early Swift that they got right was building breaking changes into the promise. Everyone knew where they stood and adjusted just fine. Sometimes I wish Python would take the same path.

raminf··on LinkedIn adopts protocol buffers and reduces latency up to 60%
What happens if you need to dynamically discover a service and invoke it? Or does it only work if both ends are known and you can push out change to both end of the wire?

Also, wouldn't something like MessagePack, ION, RION, or CBOR give you payload compression over JSON?

raminf··on How to Do Great Work
I agree with almost everything said here, especially the value of curiosity and experimentation.

A few thoughts:

- Every project is at its most exciting right in the beginning when it's new, and toward the end where the end is in sight. The trick is staying engaged and interested in the long, flat middle where progress comes in small dribs and there are frequent setbacks.

- Another point I wish the essay made is that many projects reach a point at which it is best to reveal it to others. That is one of the most scary parts, of exposing oneself to criticism and doubt. It's what petrifies so many people from even starting. But if you embrace it not as the end, but as part of the process and a natural part of the evolution of the idea, it can itself be turned into a motivator. It's your first milestone. You WANT to get to that point, as a checkpoint. Seek out the feedback, adjust, and press on.

- In fact, more should be said about the emotional part of doing projects. The love (or lust), the fear, the frustration, the doubt, and yes, the joy. All those human emotions are part of doing any work. We can run away from it and try to avoid it, or realize it comes with the territory.

- Another thing that comes with experience and age is knowing what to say NO to, and avoid getting pulled away into the tributaries. It's easy to get distracted by side quests and to engage in bike-shedding. In fact, sometimes it's necessary for one's mental health. But it is best to keep an eye on the main goal that got us excited about the idea in the first place. Knowing when the break is over and it is time to get back to main path is a trick that seems to only come with age.

- Lastly, there is great value in brevity (this is not a critique of PG's excellent essay :-) Imagine meeting a friend and they ask what you are working on. You tell them a long, complicated story, and their eyes glaze over. Next person, you learn to shorten it. Same result. You iterate. Soon, you've boiled it down to a short sentence you can rattle off without thinking. That's the nugget of the idea. The through-line. It's the blurb on the back of the book, the opening line of the website, and the executive summary of the grant application or pitch deck. At some point, all works need to be explained to someone else, before they become Great Works.

raminf··on EV startups from Lucid to Rivian see demand fade, supply chain issues linger
Went to a Kia dealer in San Jose to look at the 2023 EV6 in early February. It was getting great reviews in magazines like Car and Driver. Sales guy said they had only two of that configuration on the lot. Wouldn't let us sit in them or take them out for a test drive. Absolutely nuts.

Walked away and went down the street. Every other dealer was more than happy to go on test drives, even when they had low inventory.

raminf··on News from WWDC22: WebKit Features in Safari 16 Beta
Still no support for Web Bluetooth in Webkit: https://caniuse.com/web-bluetooth

Only major browser not to support it. If they enable it and put hooks for BLE event callbacks, we would no longer need a custom app per-device.

Also, if BLE support was there, you could provision your WiFi-connected device without having to go do the whole AP-mode dance: push button on device, toggle WiFi on your phone, set it up on WiFi, etc. It's a big usability blocker for consumer devices. That whole sequence could be automated by visiting a URL on your phone or desktop.

They've announced they won't support it, ostensibly because of fingerprinting and privacy concerns. But that could be tackled the same way they've blocked all the other fingerprinting methods (fuzzing, threat of blocking, etc.)

Also: WebXR please.

raminf··on ESP32-C6, a Wi-Fi 6 and Bluetooth 5 (LE) SoC
Realtek RTL8720DN and RTL8721DM claim 5GHz wifi as well as 2.4GHz and BLE 5. Finding a decent dev-board for them is not easy. Seeedstudio's Wio Terminal is one of the few.

The ESP32 ecosystem, though, is much larger.

raminf··on Raspberry Pi Pico and RP2040 Microcontroller
One alternative with both 2.4/5GHz wifi+BLE is the RTL8720DN. More here: https://www.cnx-software.com/2020/01/17/realtek-rtl8720dn-du...

Until recently, the only devkit you could find was the Seeedstudio Wio Terminal. Just came across a devboard on AliExpress for < $6. Looks interesting.

raminf··on D3js Tree of Wittgenstein's Tractatus
Great idea, but it would work much better as an educational tool if the text was also presented, with text highlighted to show the conceptual connections.
raminf··on Twitter Will Allow Employees to Work at Home Forever
One of the interesting side-effects of everyone working from home has been that group videoconference meetings have been more equitable, instead of those in a physical meeting room vs. those calling in.
raminf··on Private Equity Wants in on the Bailout? Spare Me
You do get to write-off your gambling losses, though.

Not sure why, but there it is: https://turbotax.intuit.com/tax-tips/jobs-and-career/can-you...

← PreviousPage 2 of 3Next →