HNHacker News
TopNewBestAskShowJobs

kanbankaren

182 karma · joined April 3, 2024

submissionscomments
kanbankaren··on I replaced Spotify with a homemade FM radio station
Yep. It is mostly nostalgia as there isn't anything better than an AI curating a million songs based on our like/dislikes, but on a macro level, we are at the mercy of people who tune these algorithms.

Are we being 'nudged' to like certain genres or musicians because they are being promoted? Of course, this could happen with a DJ or traditional FM station too, but with centralized AI, you impart that 'nudging' on literally millions of people.

kanbankaren··on I replaced Spotify with a homemade FM radio station
You don't even need a Raspberry PI.

You can simplify it even further. List of things you need.

1. Smartphone or DAP.

2. Car Bluetooth FM Transmitter (~$20)

3. USB to 12 V car adapter(~$10)

4. Existing FM radio.

You can set this up in 5 minutes. Connect the smartphone/DAP using BT or AUX cable. Select a free FM channel and you are ready to go.

Also, in the photos, the FM antenna is fully extended which is unnecessary as these FM transmitters put out plenty of RF power.

P.S. On AliExpress, you can buy both for < $15 while on Amazon it is around $30.

P.P.S. Just the USB FM transmitter is only $5 on AE. For the cost of a cup of Coffee!

kanbankaren··on LLMs are eroding my software engineering career and I don't know what to do
> There are many ways to interpret regulation,

Then the rules should enumerate all the ways. From your posts, you come across as if programmers don't know what they are doing which is insulting to those who work in mission critical industries like aviation where a programmer could be criminally charged if he/she didn't implement the specs STRICTLY.

kanbankaren··on Do transformers need three projections? Systematic study of QKV variants
It confused me too.

A n-tuple notation would have been more readable and mathematically accurate like (Q=K, V), (Q, K=V), and (Q=K=V).

kanbankaren··on I'm Getting into Mesh Networks (Meshtastic, MeshCore, and Reticulum)
> They would probably need some robust, non-problematic kit that could work in any environment.

Nothing is more robust than ham radio at 144/420 MHz. Even first responders use frequencies adjacent to this and has the same RF propagation characteristics.

For S&R teams, you could apply for LMR license. It is valid for 10 years.

kanbankaren··on I'm Getting into Mesh Networks (Meshtastic, MeshCore, and Reticulum)
For emergency comms(remember, emergency services provided by the state don't monitor the ham bands, so can't call them), a $20 ham radio would work or just carry FRS radios.

FCC does allow use of a ham radio in a real emergency without a license.

kanbankaren··on The Emacsification of Software
Surprised that Monaspace hasn't been mentioned below.

https://monaspace.githubnext.com/

kanbankaren··on BYOMesh – New LoRa mesh radio offers 100x the bandwidth
> would propagate about the same right?

No. Free space loss increases with frequency.

FSP loss for 915 MHz at 10 kms is ~ -111.67 dB while for 2.4 GHz is -120 dB.

That is a 9 dB loss which is significant. It could mean the difference between a copy or just plain static though the LoRa is supposed to be copyable down to -140 dBm.

The max tx power is around 150 mW (21.76 dBm), so at 10 kms, the RSSI is 21.76-120 = -98.24 dBm which is above the -140 dBm limit.

This calculation is assuming there is no loss due to vegetation or humidity or other barriers.

kanbankaren··on Good Sleep, Good Learning (2012)
There is some new scientific finding that in deep sleep, fluids from the brain drain out and if that flushing doesn't happen, it might lead to Alzheimer's disease.

You should at least monitor your deep sleep using a smartwatch. Less than 1.5 hours and I would be worried.

kanbankaren··on Good Sleep, Good Learning (2012)
0 regrets now doesn't mean 0 regrets decades later.
kanbankaren··on Improving my focus by giving up my big monitor
My eyes are 30" to 36" away from the monitor. The original reason for getting a big monitor was the idea that looking at something that far relaxes the ciliary muscles in the eye. I don't have to turn my neck at this distance and I don't get any headaches even if I stare at it for 10+ hours/day though my original point still stands which is I end up using only the center of the monitor.
kanbankaren··on Improving my focus by giving up my big monitor
That is very big. You would end up getting neck pain as you have to physically move your head to look at extremities of the screen.

I use a 32" monitor and I find that I use only the center of the screen. I would downsize if not for vertical real estate.

kanbankaren··on Axios compromised on NPM – Malicious versions drop remote access trojan
I think firejail is a much more flexible security sandbox than bwrap. It also comes with pre-defined profiles
kanbankaren··on We rewrote JSONata with AI in a day, saved $500k/year
ASN.1 and its on the wire format BER and DER have been available for close to 30+ years and it is running on billions of devices(cryptography, SSL, etc) and other critical infrastructures.

but, it is very boring stable, which means I can't tell the world about my wartime stories and write a blog about it.

kanbankaren··on Students Are Being Treated Like Guinea Pigs: Inside an AI-Powered Private School
I have. Around 20 non-fiction and technical books in about 15 years and I agree with this Joe guy.

AI is going to disrupt the whole academia and it is infinitely better than a book or a teacher.

The student could move at his/her own pace and can ask questions if stuck which no book or teacher could deliver.

kanbankaren··on Vitamin D and Omega-3 have a larger effect on depression than antidepressants
> I feel completely empty and find no joy in things.

Maybe the idea that we should find joy and feel full is wrong?

We are on a random planet circling a random star in an unfathomable Universe.

STOP looking for meaning and you are liberated. The quest for meaning by itself might be exhausting and makes you feel depressed.

kanbankaren··on BU-808: How to Prolong Lithium-based Batteries (2023)
AFAIK, they charge only to 4.0 V. I think the batteries on satellites are also charged only to 4.0 V
kanbankaren··on Second Win11 emergency out of band update to address disastrous Patch Tuesday
> I've been on Fedora now

I hope you are using KDE Plasma instead of the default GNOME which is going the Microsoft way.

If you are not on KDE, I strongly recommend it.

Source: daily driving Linux for 25+ years.

kanbankaren··on Linux from Scratch
As someone who has been using Linux as a daily driver for 25+ years and also used linuxfromscratch.org for building some packages, I would say, don't waste you time building from scratch. There is very little utility unless you are maintaining some arcane system professionally.

Stick to RPM based systems as dnf supports transactions. The ability to look at history of package installation and rollback to a known state solves most admin issues.

kanbankaren··on Understanding ZFS Scrubs and Data Integrity
Still 53% of the useful life of a HDD for just scrubbing is excessive.

You don't lose tracks in 3 months. If you don't read the tracks for a year and if the HDD is operated in high temperatures, then the controller might struggle to read them.

The very act of scrubbing generates heat, so we should use it sparingly.

kanbankaren··on Understanding ZFS Scrubs and Data Integrity
Once a month might be too high because HDDs are rated at ~ 180 TB workload/year. Remember, the workload/year limit includes read & writes and doesn't vary much by capacity, so a 10 TB HDD scrubbed monthly consumes 67% of the workload, let alone any other usage.

Scrubbing every quarter is usually sufficient without putting high wear on the HDD.

kanbankaren··on A decentralized peer-to-peer messaging application that operates over Bluetooth
> With the same antenna size, the path loss is exactly the same.

What do you mean? The size of the dipole or monopole antenna is dependent on the wavelength, so obviously the 2.4 GHz is just a few centimeters and not the same size as a VHF antenna.

> After all, where else should the radiated energy go?

Well, most of RF energy is wasted. There are software that can plot the radiation pattern, but even without knowing the exact pattern, very little RF energy is received at the target.

kanbankaren··on A decentralized peer-to-peer messaging application that operates over Bluetooth
> Through building materials, foliage etc, but not in free space/line-of-sight.

Yeah. Even in free space. For example, attenuation at 1 km for 144 MHz (ham VHF band) is about -76 dB while for 2.4 GHz, it is about -100 dB. That 24 dB drop could mean, the signal is below the noise floor of your receiver unless you increase the RF power output which means more battery drain.

For example, BT audio gets cut just moving to the next room despite the RF power of BT transmitters being ~ 5mW( 7 dBm ) and at 10m, the attenuation is -60 dB(just free space loss which is ideal condition), so 53 dBm (7-60) at the receiver is usually sufficient, yet they struggle.

kanbankaren··on A decentralized peer-to-peer messaging application that operates over Bluetooth
It is not as easy as you think.

RF attenuation is proportional to frequency and at 2.4 GHz, it is very high. Also, the distance over which one could communicate depends on antenna height, so if both parties are at ground level, it is not feasible over a few hundred meters unless both are in wide open space.

Source: ham operator who has played with long distance device to device communication without using a repeater.

kanbankaren··on C++ std::move doesn't move anything: A deep dive into Value Categories
> But I can’t understand why a language’s choice to impose complex rules like C++ move constructor hell is an inevitable outcome of irreducible complexity in systems programming.

Programmer here for 30 years in C/C++. It is true that C++ has become a more complex language after rvalue references were introduced, but you have to understand the rationale behind C++: a language suitable for large scale systems programming with *ZERO OVERHEAD*.

The language complexity especially rvalue references was to reduce overhead. Pre-C++-11, there were many code patterns that involved constructing temporaries and destroying them immediately.

C is not suitable as a large scale programming language. Just look at the number of defects in the Linux kernel and their attempt at extending the language through custom compiler attributes to overcome the limitations of C.

kanbankaren··on Lua 5.5
yeah. I hate typing `local` for every variable. I would prefer they introduce some syntactic sugar like `let`(to mean local variable) and `const`(to mean local and constant).
kanbankaren··on Lua 5.5
> I didn't know about Lua when I started it

How did you miss Lua? It has been available for decades and good SE practice is to evaluate alternatives before commiting to any techonology.

kanbankaren··on Is it a bubble?
4K was never advanced software. Even in the 90s, a typical Enterprise sofware was several 100 KLOC. A decade later, it had grown to a few million LOC while system software are also similar size.
kanbankaren··on I wasted years of my life in crypto
Over the past year,

Bitcoin lost 10.8%

Gold gained 60.0%

kanbankaren··on I wasted years of my life in crypto
It has proven neither to be a store of value nor medium of exchange though it is being used extensively for criminal activities.
← PreviousPage 2 of 5Next →