HNHacker News
TopNewBestAskShowJobs

bArray

7,479 karma · joined March 14, 2016

Why jump in one pond when you can dip your foot in many?
submissionscomments
bArray··on Accenture to 'exit' staff that cannot be retrained for age of AI
> Looks like this is just an empty excuse to justify their margins at the expense of people:

All tech companies are doing layoffs [1], Accenture are just trying to sell it as a good thing.

> They’re citing internal data to prop-up this AI narrative, too, and claim - like everyone else doing layoffs - that headcount is expected to grow in the coming year.

As everybody who has tested this stuff knows, the AI does not lead to massive gains in productivity. They may regret getting rid of safety critical engineers, or testing engineers.

[1] https://www.trueup.io/layoffs

bArray··on Yt-dlp: Upcoming new requirements for YouTube downloads
My concern is either that QuickJS is something like 100x slower, or that even when using Deno, the download experience will be insanely slow.

In my mind, an acceptable time for users might be 30 seconds (somewhat similar to watching an ad). If QuickJS is taking >20 minutes, then it is some 40x slower? Seems very high?

> QuickJIT (a fork of QuickJS that uses TCC for JIT) might yield better results, but still slower than Deno.

Interesting, not come across it before. Running C code seems like an insane workaround from a security perspective.

bArray··on Yt-dlp: Upcoming new requirements for YouTube downloads
Personally I am looking to get away from Youtube and looking towards some form of PeerTube/peer-based platform.
bArray··on Yt-dlp: Upcoming new requirements for YouTube downloads
Ronsor [1] and reply by seproDev:

> Why can't we embed a lightweight interpreter such as QuickJS?

> @Ronsor #14404 (comment)

The linked comment [2]:

> @dirkf This solution was tested with QuickJS which yielded execution times of >20 minutes per video

How on earth can it be that terrible compared to Deno?

[1] https://github.com/yt-dlp/yt-dlp/issues/14404#issuecomment-3...

[2] https://github.com/yt-dlp/yt-dlp/issues/14404#issuecomment-3...

bArray··on A vibrator helped me debug a motorcycle brake light system
> So I needed a cheat code. Enter: a repurposed vibrator, No joke. I hooked it up to mimic the kind of high-frequency engine vibes you'd get ripping down a motorway. It wasn’t pretty, but it worked. I could test tweaks right from my test bench.

Those massage guns could be quite useful too. When finding a problem in the field, replicating it on the lab bench is always ideal.

> The current solution: The jitter helped, but it wasn’t bulletproof. Then I realized something deeper, the sensor has its own built-in sample rate, 400 times per second. If I read it too quickly, I might just be grabbing the same number twice. No new data. And if that repeat looks like a sustained deceleration, the light fires.

It should be a de-bounce based on time, not based on an arbitrary sampling rate. So you are looking for an average value threshold over a sliding window based in time.

Better yet:

1. On start-up it should be able to indicate an error via blink codes. You should for example be able to detect if an LED has burned out, there is moisture detected, that a brake signal was not detected over a X minute runtime, the temperature is outside safe limits, or the circuit draws current outside of the expected limits.

2. Use an IMU to detect de-acceleration events encase there is a break in the signal. It's obviously not ideal, but far better than nothing. Gravity is ~9.81m/s, and a braking force would be detected perpendicular to this. Again, you would use the error code on start-up to indicate that there is an issue.

3. Consider the use of an internal battery encase there is an issue with the supply voltage to the brake light. A bad power or ground could cause continuous resets, and failure to detect a signal.

bArray··on That Secret Service SIM farm story is bogus
If the objective is to knock out cell towers, just jam them. It's clearly a SIM farm for middle-man communications. It just happened to be close to where the UN were.
bArray··on Teardown of Apple 40W dynamic power adapter with 60W max
Really nice, and in the future those cells could be upcycled or repaired. The design is also quite dense.

To be clear, I have designed high-density electronics myself which were repairable - it's tough but doable.

bArray··on Teardown of Apple 40W dynamic power adapter with 60W max
Amazing tear down and such compact design, but it's such a shame that these devices are glued together. Every time you see a glued device, just think "future e-waste".
bArray··on Git: Introduce Rust and announce it will become mandatory in the build system
I know that it is a "slippery slope" argument, but in the future, it will become more difficult to contribute without knowing Rust. That's the entire point of introducing it.
bArray··on Git: Introduce Rust and announce it will become mandatory in the build system
I did check this out. The shell, perl and python are likely for scripting and not used during runtime. TCL is likely some form of dynamic scripting.

I think we also have to be honest about what the project here is too, it's not to have both C and Rust together, but to replace all C with Rust. In which case, it probably makes sense to just clone to repo and work on a fork like they did with SSH.

bArray··on Git: Introduce Rust and announce it will become mandatory in the build system
Maybe I'm just old and moany, and I need to step aside for bigger and better things such as Rust.

But.

Now rather than needing to understand just C to work on Git/kernel, you now need to also know Rust. The toolchain complexity is increasing, and the mix of these languages increases the barrier to entry.

I'm highly invested into Git, having learned the tooling and having a significant number of projects constructed within it. I've written my own Git clients and have built a web server around Git repositories. I don't want to lose the hack-ability of Git.

bArray··on Git: Introduce Rust and announce it will become mandatory in the build system
In theory you should be able to use TCC to build git currently [1] [2]. If you have a lightweight system or you're building something experimental, it's a lot easier to get TCC up and running over GCC. I note that it supports arm, arm64, i386, riscv64 and x86_64.

[1] https://bellard.org/tcc/

[2] https://github.com/TinyCC/tinycc

bArray··on Court lets NSF keep swinging axe at $1B in research grants
> If my wife suggested that we need to manage our budget by curbing just my spending on the occasional Steam sale, instead of figuring out a way to downsize our two SUVs, I would consider her a huge piece of shit.

You might have a need for two SUVs, and those are investments that you likely have already made massive losses on. Making new investments on the other hand that are not strictly necessary, does not seem wise.

But ignoring that, the investment into reducing illegal immigration is like investing into an expensive tape to plug holes in the water storage. The tape costs far more than the lost water, but the real investment is preventing the damage from water to the surrounding area, the lost water over time, etc. The investment into ICE will likely be realised over several years.

Alternatively, the research that is being cut is largely not intended to increase economic output. If anything, the results will be used to justify opposition to growth measures.

bArray··on Court lets NSF keep swinging axe at $1B in research grants
Capital is typically invested itself into growth. Smart people are not holding billions in cash because inflation would quickly erode it.

You want to growth-hack your economy so that the best investment opportunity is the people themselves, then you see serious growth.

bArray··on Court lets NSF keep swinging axe at $1B in research grants
You're right, but making savings is a process of a thousand cuts.
bArray··on Court lets NSF keep swinging axe at $1B in research grants
Newsflash: China is conducting a ethnic genocide against the Uyghur Muslims [1], where they are held in concentration camps and likely harvest their organs.

If that's what population investment looks like, count me out.

[1] https://www.bbc.co.uk/news/world-asia-china-22278037

bArray··on Ask HN: Does anyone else notice YouTube causing 100% CPU usage and stattering?
I have noticed Google sites showing what looks like some form of memory leak. Typically it's only Microsoft websites doing this.
bArray··on YouTube addresses lower view counts which seem to be caused by ad blockers
Yeah exactly, sometimes I just give up entirely. If it's a podcast I might persist, otherwise it's just not worth it.

The compromise for Google would be to limit ad-blocker users to a reduced quality version to save on bandwidth...

After using Peertube, it would make a lot of sense if pretty much all media assets went the way of decentralisation. It lowers bandwidth, reduces server overhead and increases availability.

bArray··on Rereading books
> I also re-read things for the mental approach it may instill for a period of time while and after reading it, to enjoy it (like you said), or to see how the perspective fits to my new mental models a few years later.

I feel my mental model actively changing. I read something last night (a great book on genetic programming) that I could feel actively unwinding an undeserved bias of a previous self and opening a new path for creativity.

Sadly, I suspect many actually do not make any real progress in developing their mental models. Some, after many years, I have the same conversations with about fundamentally the same subjects.

> I'm curious what books others go back to over time.

For me, George Orwell's 1984 & Animal Farm, various short classic stories, etc. If our learning processes are somewhat a support vector machine, I try to reinforce the ideas that originally drastically changed my internal model.

It's not always books and media either. I listened to Mao's Great Famine [1] over several days - and it's harrowing. I like to revisit foods that remind me of childhood (flashes of memory from being younger than 2), like orange & mango juice, and strawberry & banana smoothie.

[1] https://en.wikipedia.org/wiki/Mao%27s_Great_Famine

bArray··on Rereading books
> Completely agree, but I also think there's value in re-watching within a short period of time. I find you retain enough memory from the previous viewing to be able to see subtle details and connect things that you maybe wouldn't have been able to in a first viewing.

Maybe it is ADHD speaking, but I find it very boring if it is too predictable. If I'm bored, very little goes in anyway.

> And also, you can just drop the analytic brain and immediately rewatch something because you find it to be a beautiful film moment-to-moment.

There are some things I rewatched shortly after because it was beautiful. I like to also re-read George Orwell's 1984 annually so that I can figure out what my UK government plan for me next.

bArray··on Want to piss off your IT department? Are the links not malicious looking enough?
No need, my IT already do this by running the MimeCast email filter [1]. Links to non-whitelist sites are expressed in the format:

    https://url.uk.m.mimecastprotect.com/s/<random_string>?domain=<domain_name>
Maybe I can tell the link is from Google, but not what is likely to be in the URL. It's a complete surprise as to whether I will be looking at a web page or downloading something.

[1] https://www.mimecast.com/

bArray··on Show HN: Asxiv.org – Ask ArXiv papers questions through chat
It's a nice project, but the LLM itself seems to struggle with actually comprehending the subjects. It can point me very well to parts of the paper, but it could not explain parts of the equations based on other knowledge outside of the paper.
bArray··on Rereading books
Re-reading a book is a lot like re-watching a film for me, I don't want to do it immediately, but there is value in doing it some years later where the details become less certain. I'm actively aware that even during tasks such as talking, my brain condenses and throws away most information. The import thing really is to develop and capture the right abstractions.

There are a few books I have gone back and read simply for enjoyment, for example Hitch Hiker's Guide to the galaxy was a pleasure to read. Some more dense materials that I know I will gain a lot from, I find it difficult to muster the motivation to re-read.

bArray··on YouTube addresses lower view counts which seem to be caused by ad blockers
For quite a few people, they would have had to manually pull in an updated ad-blocker change. This would be the case if they run the source release, or have disabled updates.
bArray··on YouTube addresses lower view counts which seem to be caused by ad blockers
The people using ad-blockers were not watching ads, so it would not make a difference to revenue streams. If anything, profit would go up because Youtube server capacity is not being used as much by ad-block users.
bArray··on YouTube addresses lower view counts which seem to be caused by ad blockers
There is middle-ground: anti- ad-blocker changes cause a large number of ad-blockers to fail entirely.

It would make sense too, Youtube wouldn't care to make their videos viewable to a large number of ad-blockers, and ad-revenue would be near steady because ad-blockers were not generating any ad revenue.

bArray··on YouTube addresses lower view counts which seem to be caused by ad blockers
Counter-argument: Youtube's aggressive anti-ads campaign resulted in failed loads, videos that appear stuck, etc. The more techy people would have updated, but others were left with the choice of a buggy experience or dreadfully long ads. Maybe people just got fed up with Youtube.
bArray··on Ben and Jerry's co-founder quits, accusing Unilever of silencing social mission
> The Ben & Jerry’s co-founder Jerry Greenfield has stepped away from the ice-cream brand after nearly 50 years, claiming it has lost its independence and accusing its parent company, Unilever, of having “silenced” its social mission.

There is a social mission, and then there is outright political bias. Having a social mission could be climate change, responsible sourcing, charity, etc. But the headline image is a Ben & Jerry's tub with a picture of a political candidate on it.

> Greenfield’s resignation is the latest development in a bitter dispute since Unilever backtracked on an agreement allowing Ben & Jerry’s to not sell ice-cream in occupied Palestinian territories, which had been heavily criticised in Israel.

> Last year, Ben & Jerry’s launched a legal action against Unilever, accusing it of threatening to dismantle the board and sue directors over their public statements in support of Palestinians in Gaza.

At some point you have to ask what ice cream has got to do with Israel and Gaza, no matter where you stand on the issue.

Given the political winds, I think Unilever are acting to protect the brand and their investment, and the co-founders become somewhat increasingly more political.

bArray··on Nicu's test website made with SVG (2007)
What are you using to produce the graphs?

I wrote a small graphing library for mine [1], but it has limitations.

[1] https://coffeespace.org.uk/projects/sound-source-delta.html

bArray··on UK toughens Online Safety Act with ban on self-harm content
Well, we only need to look a "democratic" dictatorships to see how the government helps to prevent you from voting from the wrong person.

And why stop at voting? The government could also be responsible for preventing 'harmful' thoughts. Police in the UK are regularly deployed for "non-crime hate incidents", so that they can tell people that they haven't committed a crime, but they will make a note of it in a secret database that affects your employability.

← PreviousPage 9 of 34Next →