Better HN
topnewbestaskshowjobs
Log inSign up

asgeirn

119 karma · joined Oct 29, 2011 (15y ago) · 38 submissions

[ my public key: https://keybase.io/asgeirn; my proof: https://keybase.io/asgeirn/sigs/WfQGwihtrSWPARiCD5gHb9NTLg_svD0JRm2Peu8KTXU ]
Submissions

comment 1w ago · link · parent

Not really. Premature optimizations have their own set of problems. It's generally better to keep the design simple and tackle optimization if performance becomes an issue.

I've been using atuin for years without noticing this, so it has definitely not been a significant problem.

comment 4w ago · link · parent

Specifically, if you're serving it as a "Model as a Service" business you need a license. Other uses do not.

comment 1mo ago · link · parent

Prompt injection in hardware! What could possibly go wrong?

comment 2mo ago · link · parent

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.

comment 2mo ago · link · parent

Love to hear more about the Git implementation. In using S3, are you going the walgit route or more like git-remote-s3?

comment 3mo ago · link · parent

Would be interesting to see how much a PTP-aware switch would impact the jitter, and whether 802.1AS is possible.

comment 5mo ago · link · parent

Also ALTER TABLE DROP PARTITION

comment 5mo ago · link · parent

Truly loved it. Hated that Microsoft killed it.

comment 10mo ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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

comment 2y ago · link · parent

Ah, DigiCash! I was really optimistic on this concept in my student days - one local bank even had a PoC with digital cash.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

Wow. Betcha keyboards with the Official Copilot key®™© will cost plenty of extra.

comment 3y ago · link · parent

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)

comment 3y ago · link · parent

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")

comment 3y ago · link · parent

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.

comment 4y ago · link · parent

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..

comment 4y ago · link · parent

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.

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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.

comment 8y ago · link · parent

Plots. Pulling performance numbers from log files, simple statistics, curve fitting and moving averages.

Even from JSON or XML.

comment 8y ago · link · parent

Love the tomato analogy - exactly why you need to convert energy, even with the efficiency loss.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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.

comment 9y ago · link · parent

Is it actually possible to have a comfortable life in the US of A without a family lawyer?

comment 9y ago · link · parent

Awesome. Hidden in the preferences is also the possibility to remove pictures completely!
12