HNHacker News
TopNewBestAskShowJobs

asgeirn

116 karma · joined October 29, 2011

[ my public key: https://keybase.io/asgeirn; my proof: https://keybase.io/asgeirn/sigs/WfQGwihtrSWPARiCD5gHb9NTLg_svD0JRm2Peu8KTXU ]
submissionscomments
asgeirn··on GPT-Synopsys: Frontier Intelligence to Revolutionize Chip Design
Prompt injection in hardware! What could possibly go wrong?
asgeirn··on Version control second coming
TLDR for those who gave up reading:

The distributed repos and "commit-then-push" metaphor might be due for a replacement since we're always online anyways and repos grow larger and larger. Perhaps using VFS where all files are always instantly available with copy-on-write semantics.

There are several players working on systems that work on thousands of commits per second scale, some based on Git and others not.

asgeirn··on Git hosting that never leaves Europe
Love to hear more about the Git implementation. In using S3, are you going the walgit route or more like git-remote-s3?
asgeirn··on Build a Stratum 1 PTP Grandmaster on a Budget
Would be interesting to see how much a PTP-aware switch would impact the jitter, and whether 802.1AS is possible.
asgeirn··on The only scalable delete in Postgres is DROP TABLE
Also ALTER TABLE DROP PARTITION
asgeirn··on Encrypted Spaces: An architecture for collaborative applications
Truly loved it. Hated that Microsoft killed it.
asgeirn··on Tailscale state file encryption no longer enabled by default
From what I can deduce from the release notes and the linked documentation, it can still be enabled?

And it relates to Windows and Linux only, and using the TPM.

My guess is that unreliable TPMs made it risky to have this enabled by default.

asgeirn··on Zram Performance Analysis
Inside the pods it makes no sense, but I do enable it on some memory-constrained worker nodes. Note that the kubelet by default refuses to start if the machine has any swap at all.
asgeirn··on MinIO stops distributing free Docker images
Getting it from source is as easy as `go install github.com/minio/minio@latest` if you have a recent Go.

In addition your favorite Linux distribution probably has it as from-source builds already.

For a container image you could try making one from Alpine or Wolfi.

asgeirn··on Implementation of a RingBuffer in Java with optional FIFO like semantics
I wrote this guy a few years back. It's lock free for both consumers and producers. Blocking variants are also available, but with significantly poorer performance.

https://github.com/asgeirn/circular-buffer

asgeirn··on EU NGI TALER will bring private and secure online payments to the Eurozone
Ah, DigiCash! I was really optimistic on this concept in my student days - one local bank even had a PoC with digital cash.
asgeirn··on EU NGI TALER will bring private and secure online payments to the Eurozone
This is exactly how the physical representation of money works as well.

The central bank controls how many bills are in circulation, and the central bank regularly expires old bills and coins.

asgeirn··on EU NGI TALER will bring private and secure online payments to the Eurozone
Yeah, I know of one example where idea was actually created and pitched to media outlets.

They did not like the idea. They very much more like the idea of owning the customer and keeping the customer paying subscriptions.

I also know of a media outlet which incentivizes customer to go from credit card payment to automated bank transfers, since credit cards expire every x years but the bank transfer goes on forever.

asgeirn··on A new Copilot key to kick off the year of AI-powered Windows PCs
Wow. Betcha keyboards with the Official Copilot key®™© will cost plenty of extra.
asgeirn··on IBM, Red Hat and Free Software: An old maddog’s view
When you're paying for RHEL you're not paying for the software that you are installing. All of that can be downloaded.

You are paying for:

- A reproducible target. You know EXACTLY what code you are running. If you manage more than three installations this is the only way you can diagnose and fix whatever issues your installation has.

- Support. The very few times I used RHEL support I always got timely and thorough assistance. Even when chasing a hardware bug or issues with third party device drivers.

- Backwards and FORWARDS compatibility. Red Hat systematically backports kernel bug fixes and support for new hardware to old kernels. We ran 2.6 kernels on Intel hardware released long after the 2.6 series were EOL.

- Device drivers. No, not for your five dollar mouse, but for hardware that costs the same as a small SUV.

If you're avoiding RHEL due to cost, have a look at their SKU list and talk to your local sales org, they have a wide range of options.

(Not affiliated with Red Hat or IBM, but RHCE since 2004)

asgeirn··on Try the last internet Kermit server
In https://www.kermitproject.org/newsn5.html I found this lovely quote:

> "Kermit will send data over a communication channel that is only slightly better than a pair of tin cans connected with a wet string")

asgeirn··on InfluxDB Cloud shuts down in Belgium; some weren't notified before data deletion
Former Belgium user here. Checked my inbox, no emails from Influx since June 2022.

Then again, I was only using the free tier, so I guess I got what I paid for.

asgeirn··on Glibc is still not Y2038 compliant by default
From https://docs.ntpsec.org/latest/warp.html:

  > The NTP protocol will synchronize correctly, regardless of era, as long as the system clock is set initially within 68 years (a half-era) of the correct time
Which means 2036 will appear to work just fine, as 1970 is only 66 years away. Now jump forward to 2038, and this would not be the case..
asgeirn··on Ask HN: Is it me or are we entering an ARM era?
Hardly.

- Both Playstation 5 and Xbox Series X use x86 processors.

- MacBook market share is around 10%, so the majority of new laptops are still x86.

- The majority of cloud compute instances are also x86.

asgeirn··on Ask HN: What’s Your Backups System?
Primarily cloud storage.

But also Windows 10 backup pointing to a VMDK on the C: drive for recovering from blunders.

Oh, and tarsnap for the really important stuff.

asgeirn··on Ask HN: What is your experience with smartwatches? Is it worth it?
I've got a Pebble color that still works thanks to rebble.io.

For me it's got the best balance between features and simplicity.

Any more features and the battery (life or size) would be worse.

Sleep and step tracking is average, notifications are just right.

I'm hoping a reasonable replacement surfaces before it dies, and am still sad Fitbit destroyed this product, and won't be considering any of their products for that reason.

asgeirn··on Jenkins Is Getting Old
Our setup runs Jenkins master and slaves as Kubernetes pods, with plugins limited to only the very few required to get GitHub integration and slaves working.

Jobs are configured by adding an entire GitHub organization. All repositories with corresponding branches, pull requests and tags are automatically discovered and built based on the existence of a Jenkinsfile.

Everything is built by slaves using Docker, either with Dockerfile or using builder images.

Job history and artifacts are purged after a few weeks, since everything of importance is deployed to Bintray or Docker repositories.

By keeping Jenkins constrained in this fashion, we have no performance issues.

asgeirn··on Ask HN: What do you use MS Excel for?
Plots. Pulling performance numbers from log files, simple statistics, curve fitting and moving averages.

Even from JSON or XML.

asgeirn··on A viable pathway for hydrogen as fuel
Love the tomato analogy - exactly why you need to convert energy, even with the efficiency loss.
asgeirn··on A viable pathway for hydrogen as fuel
Most counterarguments related to Hydrogen refer to the poor efficiency of converting (electric) energy to Hydrogen and back.

True, directly using that electric energy from wind or solar is definitely the best option.

However, that is not always possible, since there is no place to consume, transport or store that electric energy.

Furthermore, scrapping all ICE vehicles for BEVs is most likely the end goal. But replacing the worldwide fleet of vehicles will take decades.

HyTech seems to be on to something for these two scenarios.

If for instance you can capture some of the excess solar and wind energy in a metal hydride for some hours, weeks, or even months, you will on a larger scale reduce the load of the electric grid.

And if some of that Hydrogen can be burnt instead of Diesel, the car or truck in your driveway is both cleaner and less dependant on fossil fuels.

asgeirn··on Ask HN: Your development environment on Windows 10?
VSCode for most of the editing work, jumping to Sublime for very large files and IntelliJ for Java work.

Git for Windows, and SourceTree for all serious Git work except interactive rebase.

For building, testing and packaging, Docker. This way I don't need to spend lots of time maintaining runtimes for all languages and environments. If things go weird I just factory reset the Docker installation.

I used to do choco and a lot of tools maintenance, but that is all history with Docker in the mix.

asgeirn··on How Bank of America Gave Away My Money
Is it actually possible to have a comfortable life in the US of A without a family lawyer?
asgeirn··on Introducing Twitter Lite
Awesome. Hidden in the preferences is also the possibility to remove pictures completely!
asgeirn··on Norway: 37% of new vehicles sold in January were electric
EVs are currently more expensive than fossil counterparts, but that is projected to change in time as economies of scale start influencing the manufacturing costs.

Service and operational costs are already lower on EVs than fossils, and that is unlikely to change significantly.

For example, with current gasoline and electricity costs in Norway, powering an EV costs 10% of what a fossil cost per kilometer.

So incentives might be necessary right now, but not for much longer.

asgeirn··on Flat Pack Chainless Bicycle from IKEA
Grace makes an e-bike with this combination:

http://www.grace-bikes.com/en/bikes/mx2urban/

Page 1 of 2Next →