HNHacker News
TopNewBestAskShowJobs

lathiat

4,395 karma · joined November 23, 2015

e9d97d2d4a137fcf296c2fb30e80f4e5aa0af50b8197ac37a429e5fe35cf3611
submissionscomments
lathiat··on Mold 2.0
Apple has a new parallel linker which may or may not be of interest : https://twitter.com/davidecci/status/1665835119331135488
lathiat··on I stopped buying new laptops (2020)
Have you got the automatic adjustment off? The night time thing hadn't bothered me.

https://support.apple.com/en-au/guide/mac-help/mchlp2265/mac

lathiat··on What Is Vsock and Why Use It with Unikernels?
Related: https://twitter.com/cperciva/status/1659059445685420032/phot...

Progress on speeding up the FreeBSD boot over the years:

FreeBSD 11.1-RELEASE on EC2: 28208 ms. FreeBSD 13.1-RELEASE on EC2: 9698 ms. FreeBSD 14.0-CURRENT on Firecracker: 620 ms.

lathiat··on I stopped buying new laptops (2020)
Watch your backlight level, which auto adjusts to the room light level.

"When comparing battery life, remember that screen brightness makes a huge difference!

On an M1 MacBook Air sitting idle on the KDE desktop, you will get around 7 hours of runtime at 100% brightness, and 23 hours of runtime at the minimum (not zero) brightness.

Even keyboard brightness matters! Those numbers are with the keyboard backlight turned off. If you turn it on at max, even with the screen left at minimum, your runtime goes from 23 hours down to just 14 hours.

So please don't ask us what battery lifetime to expect while doing a certain task and expect a single answer!"

https://social.treehouse.systems/@AsahiLinux/110548137464042...

lathiat··on You Suck at Excel (2015) [video]
R is another area worth looking at.
lathiat··on A $182B Chip Maker: AMD's Labs – Full Documentary [video]
Gamers Nexus also has many other tours and an entire playlist with 31 videos: https://www.youtube.com/playlist?list=PLsuVSmND84QuVMZuk2HGU...

If you enjoyed this, you may also enjoy the Intel Equivalent

Linus Tech Tips - I Can Die Now. - Intel Fab Tour!: https://www.youtube.com/watch?v=2ehSCWoaOqQ

Linus Tech Tips - Checking on my Investment in Person - Framework Laptop Factory Tour: https://www.youtube.com/watch?v=7nXVJBGowmY

lathiat··on Find a YouTube video based on closed captions keyword search?
https://incaptions.com/
lathiat··on Show HN: LineSelect, shell utility to interactively select lines in a pipeline
I always find myself needing a tool to interactively let me select which columns of an output to print. Basically I'm interactively writing something like 'awk {print $5, $10}' or whatever but I'm not sure which columns I need.

Anyone know anything like that? Ideally after running it'd somehow output which columns they were to use later.

lathiat··on macOS command-line tools you might not know about
The requirements are here: https://support.apple.com/en-au/HT209455

Turning off Bluetooth or wifi may be one of the more common reasons it doesn’t work. Some people never do that, but others do.

lathiat··on I Built Linux from Scratch
Yep me as well sometime in that era. It was very interesting and informative. I'd never use it for an everyday system obviously but was a good excercise. And I did this on my real machine before VMs were really a thing :-)
lathiat··on Arduino Uno R4 WiFi
Back in 2010 when I was into Arduino I made a GPS/GSM Car Tracker with my Arduino Mega (ATMega 1280, an 8-Bit 16MHz MCU).

I did that by speaking AT serial to a Telit GM862-GPS module. I can’t find the actual CPU spec now but it contained a much more powerful CPU, I recall it being ARM but can’t find evidence of that now :) it also had a python interpreter.

Same energy.

https://www.sparkfun.com/products/retired/7917

lathiat··on Rocky Linux Expresses Confidence Despite Red Hat's Announcement
They did something similar with the Kernel in 2011. It's not an entirely new strategy.

They stopped publishing the git tree or separate patches for the RHEL kernel and only published the tarball with no version control. At the time, Oracle started a project to reverse engineer it back into a set of unique patchsets called "RedPatch". Was kindof wild.

Not sure how long it lasted. It doesn't seem live now, though.

https://www.theregister.com/2011/03/04/red_hat_twarts_oracle...

https://www.theregister.com/2012/11/12/oracle_launches_redpa...

lathiat··on Impact of RHEL Changes to AlmaLinux
They did something similar with the Kernel in 2011. They stopped publishing the git tree for the RHEL kernel and only published the tarball with no version control. At the time, Oracle started a project to reverse engineer it back into a set of unique patchsets. Was kindof wild.

Not sure how long it lasted. It doesn't seem live now, though.

https://www.theregister.com/2011/03/04/red_hat_twarts_oracle...

https://www.theregister.com/2012/11/12/oracle_launches_redpa...

lathiat··on Apple Vision Pro – Potential hardware issues
MKBHD: "Apple's Forbidden Words" https://www.youtube.com/watch?v=kvN5_GXlg2Y

A good look at the topic, it's nothing new for them. They specifically love to both avoid marketing terms for some things and to give their own specific branding terms to others (think "Retina" instead of High Res, "ProMotion" instead of 120Hz, etc).

lathiat··on Are Gas Stoves Causing Asthma?
I'd have to go hunt down the numbers again but the studies were claiming something like 12% of Asthma was potentially gas cooking triggered, but it could be 3% if more of them used better ventilation. It was also super common here in Australia growing up in the 90s to have gas stoves installed under the old wood stove Chimney with no active exhaust fan. That's much less common in my city now since we've built a large portion of the total housing stock since then, but it would make sense for kids in the 80s & 90s to have been maybe more affected by this than now. It's also super common in brand new 90s builds just to have a fan in the roof at roof height, the same as you'd have in a bathroom. Only in the 2000s have the rangehoods right above the stove become the standard. Not sure how effective those roof fans would be in practice against these kinds of pollutants.

However, on those new builds that all have rangehoods, here in Australia they are all so loud. Increasingly our building regulations require them ducted and usually out the roof. They cannot deal with the static pressure and sit at 65-70dB and even when they are working, people don't want to use them. That's on the lowest fan speed.

Without any ducting or being ducted out a wall only 30cm or so, they are still kindof noisy but not mind bendingly so. At my brand new house, and those of many others I've asked (it's not just a bad install here) you get a real sense of relief when you turn it off. It's wild.

What upsets me the most about this, is that there are plenty of much quieter solutions that aren't even really that expensive to make. The problem seems to be a combination of having the fan right behind the filter at head height (easier/cheaper packaging) instead of remote in the ductwork, the style of fan commonly used not being great with static pressure and the noise rating not requiring any testing against static pressure even though our building regulations now require that in most cases. On top of that, all the "cheaper" brands just don't seem to care.

There is also engineering that I see other companies do to flatten out the sound curve so the noise is emitted on different frequencies. I don't see any of that kind of design in these products. You see that in MacBook Pro fans and I think my favourite demo was the Zipline drones where they made the drone fans almost inaudible compared to what you normally get on drones with the same technique.. you can see that in practice in Mark Rober's video: https://www.youtube.com/watch?v=DOWDNBu9DkU

We have the same problem with bathroom exhaust fans. The major brands all the builders used, you just don't want them on. Similar noise levels though (possibly due to the lack of fine grease filter) slightly different frequency profile. For exhaust fans you can buy much, much quieter models for almost no more money. The Clipsal CEF40 nearly every builder here uses is, at retail, $110-130. The Fanco Luna Pro 200 is about $85.

The same is not true of rangehoods though, most of the entry level brands (Westinghouse, Electrolux, Technika, etc) all seem stupidly loud, and only the real high end brands (e.g. Miele) market and sell quieter models. I've yet to track down a solution in that regard.. b

I wrote to the "wirecutter" of Australia, Choice, to ask that they include static pressure testing in their rangehood and exhaust fan testing - sadly so far only got the typical feedback recorded and have yet to see anything come of that.

In the mean time I purchased a flow hood and using the iPhone NIOSH app am on a mission to document the actual flow, installation situation (length and height of ducting, etc) and the noise level in practice and see if I can find some patterns and make some recommendations to people.

Small pet peeve... I'd love to find some people to find out similar in other countries. Not sure if we just have poor standards, terrible manufacturers here, or what.

Now, all of this aside, you should absolutely be using a rangehood when cooking anything anyway. Cooking produces lots of cruft you're better off sucking out. But it seems not too well argued to be much worse to cook with Gas without a rangehood and factors like this seem to impact people not using them. Those arguing against this research etc mostly seem to go down the path of using ventilation makes it OK.

lathiat··on MrBeast has become a viral sensation for his acts of altruism
$54m was just a forbes estimate and that was 2 years ago in 2021. He reached 50M subscribers sometime in 2021, 100M subscribers in July 2022, in June 2023 he has 163M. Then if you look at video views, he was doing about 500M/month all of 2021-2022 but in only 2023 he is doing 1000M baseline with spikes to 1500M-1800M for some of the big hitters. See: https://socialblade.com/youtube/user/mrbeast6000 Also: https://www.forbes.com/sites/chloesorvino/2022/11/30/could-m...

That's just his main channel, he has many other large channels (Beast Gaming, Beast Reacts) plus the other social platforms (TikTok, etc).

Then in the last 2 years he launched Beast Burger and Feastables (mostly chocolate bars currently). There are some public numbers about $10m revenue on feastables in the first few months and over $100m of revenue on beast burger orders sometime last year.

He spends a lot, talks about it a lot, $2-4 million per video on each main channel video. He has also talked a lot about re-investing everything back into the channel to grow and grow. Which seems evident by the growth rate if nothing else.

That's just snippets of info and I'm not remotely experienced enough in any of these spaces to make any attempt at a real number but between the increased views, feastables and beast burger I don't see how it's any less than 100s of millions of revenue at this point. My main point, though, is that he has grown a lot from 2021-2023 where that $54m number came from :)

But having said that.. he was still very popular and long on the front page of YouTube back in 2021 perhaps with those much more modest numbers.

Something like this is worth a watch. While I'm sure there is plenty he doesn't talk about, he talks about a lot publicly including money spent, strategies, statistics, etc: https://www.youtube.com/watch?v=WGrk7Mzm4uo

lathiat··on Add $4 WiFi Logging to IKEA’s $12 Air Quality Sensor (Wemos and Vindriktning)
Most of the $60 ones aren’t really measuring CO2. The usual giveaway is if the sensor also measures VOC or TVOC most are estimating the CO2 based on that. Which has only a vague correlation sometimes and not remotely close to useful.

You need a device that specifically quotes having an “NDIR” sensor and most are $100+

lathiat··on Add $4 WiFi Logging to IKEA’s $12 Air Quality Sensor (Wemos and Vindriktning)
You can also use them with HomeKit, whatever androids is called and with home assistant. All local.
lathiat··on Add $4 WiFi Logging to IKEA’s $12 Air Quality Sensor (Wemos and Vindriktning)
While these projects are cool it’s worth noting IKEA since released a Matter capable version in the last year. It is 3 times the cost though (US $50 it seems). Still quite cheap on the whole I think.
lathiat··on Supply Chain Risk from Gigabyte App Center Backdoor
I agree. They could and IMHO should have given a disclosure window since there was no evidence of active exploitation.

However it wouldn’t be that difficult to actually execute this attack.

It’s not that difficult to spoof the DNS server or even DHCP responses on public wifi networks (or local LANs). Yes you can setup enterprise networks to detect or block that but plenty of people aren’t on enterprise networks: https://charlesreid1.com/wiki/Ettercap

It’s also easy to stand up wireless SSIDs of common public networks (eg “Apple Store”) and have devices preferentially connect to you if it happens to be earlier in the wifi network order list.

You can also steal all of a machines traffic by plugging a USB network adapter in: https://github.com/samyk/poisontap

Working SSL would prevent all of that auto running a downloaded executable by such a boot chain.

lathiat··on Rust has been forked to the Crab Language
EFF has some good writing on the subject: https://www.eff.org/deeplinks/2013/11/trademark-law-does-not...
lathiat··on Phishing domains tanked after Meta sued Freenom
Yes! My freeservers site from the same era (2000, when I was 15 ) is also somehow still alive. I don’t have the password though. So I cannot fix the error haunting me for all time that I listed Generations as a TV series of Star Trek rather than a movie.

http://stvoyager.iwarp.com/

I’d love to know how/why they’ve managed to keep all of those alive so long. I am very appreciative but equally surprised.

lathiat··on Infecting SSH Public Keys with Backdoors
Related: https://youtu.be/4kfDBNzStbs
lathiat··on Ask HN: What are some good resources for learning about low level disk/file IO?
Worth a watch: https://youtu.be/LMe7hf2G1po
lathiat··on JJ: JSON Stream Editor
The limiting speed factor of jq for me is, by far, figuring out how to write the expression I need to parse a fairly small amount of data. I do a bunch of support analysis and often writing a one-liner to put into a shell script to extract some bit of JSON to re-use later in the script. Often this is going to be used only once by me or a customer to run some task.

Followed closely by figuring out the path to the area of data I'm interested in. "gron" has been a real time saver there - it converts the json into single lines of key/value - so you can use grep and find the full path for any string.

Switching to a GUI to browse the JSON that would let you copy the path to the current value would probably also help there, but, I'm usually in the terminal doing a bunch of different tasks looking through all manor of command outputs, logs, etc :)

Relatedly my primary use of ChatGPT has been asking it to write jq queries for me, it's not too bad at getting close. It's biggest blindness seems to be string values with a dash, which you have to write as ["key-name"].

lathiat··on Tracing Python
There are many different tools, but when I want to quickly understand what the code was doing I have been reaching for pysnooper: https://pypi.org/project/PySnooper/

Has a pretty nice and importantly colored output by default, which I find much easier to follow. In many cases snooping one specific function has done the job. It has an easy to use decorator to decorate any function without having to otherwise intercept the main python invocation or set something up at the start. Good for libraries etc.

pysnooper has mostly been enough for me but the "snoop" mentioned in the article seems to be a superset and more. Will have to give it a go next time.

Outside of this if I want to understand performance or more roughly what code paths are executing (and not a per-statement trace) then austin and py-spy are both amazing.. convert to flamescope and drop into flamescope.app.

lathiat··on Google open-sources Rust crate audits
At least sometimes: https://cloud.google.com/assured-open-source-software

Only 1000 packages but certainly seems they do that for a subset.

lathiat··on Linux tool to show progress for cp, mv, dd
I use the pv “Pipe Viewer” tool to do the same. You can either put it in the middle of a pipe, or pass it a PID using -p http://www.ivarch.com/programs/pv.shtml

It works by reading /proc/PID/fdinfo/*

lathiat··on Visa and Mastercard agree to lower average credit card interchange fee below 1%
That is largely not the case at all. In fact charging such is explicitly legal but also regulated: https://www.accc.gov.au/consumers/pricing/card-surcharges

The exception to that is American Express directly issued cards and American Express merchant contracts have had such terms at least in the past. Not sure if they still do.

lathiat··on Visa and Mastercard agree to lower average credit card interchange fee below 1%
The excessive fees have been illegal for a few years now. They can only charge the actual cost incurred. Worth a lodging a complaint about them: https://www.accc.gov.au/consumers/pricing/card-surcharges
← PreviousPage 10 of 34Next →