Better HN
topnewbestaskshowjobs
Log inSign up

ungerik

348 karma · joined Oct 5, 2007 (19y ago) · 103 submissions

My mission in life is to build systems and infrastructure for millions of people and to help expand humankind into space.

As son of a commercial pilot involved in aviation since childhood. Attained glider and motor-glider license as teenager. Avid builder of RC model planes. Professional software engineer with over 15 years of experience. Largest project in aerospace was the 3D graphics engine for mission planing and the cockpit map display of the Eurofighter Typhoon jet.

@ungerik http://erikunger.com

Submissions

comment 3mo ago · link · parent

uuid.UUID is implemented as [16]byte, like most other UUID implementations out there.

If you want to keep your package implementation agnostic, use [16]byte as argument type; that's assignment-compatible with any other type that is such an array underneath:

For an example, see the UUID logging of golog: https://pkg.go.dev/github.com/domonda/golog#Message.UUID

comment 3mo ago · link · parent

That's why we called ours uu.ID

https://pkg.go.dev/github.com/domonda/go-types@v0.0.0-202607...

comment 1y ago · link · parent

So only they can give direct legal and medical advice, which is still illegal in most countries. It's not a promoted service yet, but everyone is using it to ask such questions.

comment 1y ago · link · parent

Those images look exactly like what you get from every OCR tool out there if you use the XY information.

comment 1y ago · link · parent

Rendering fails after first start and trying to resize the window on Mac. Hardly release quality.

comment 2y ago · link · parent

Because PDF is a minefield and PDFtk does not solve all problems on all platforms. You'll learn that if you try to process millions of PDFs in the wild that may or may not comply with any of the numerous specs.

comment 3y ago · link · parent

var names []string

comment 3y ago · link · parent

Because we can ;-)

comment 3y ago · link · parent

Old guy here: funny how manipulating bits is worth a HN post nowadays :-D

comment 3y ago · link · parent

Unrelated: is VARCHAR(255) still a thing?

comment 3y ago · link · parent

There also seems to be a scam industry forming to take advantage of those quick moves plus remote work. If one such scam employee makes it to the first salary, it already more than paid for the few hours spent on interviews and communicating excuses why he doesn't get anything done. Also interviews and pretending to work can be spread out to specialists within a team.

Now do the math for multiple interviews per working day for someone who is decent in interviewing...

We had the same guy show up to scam interviews under different names twice! LOL

comment 4y ago · link · parent

Awesome hardware and I will get one. But interesting that with the slight price increase there has been zero progress in performance per $ since 2 years. Shows how far ahead the M1 was.

comment 4y ago · link · parent

Awesome, time to build!

14.

Iceberg Research Report on Lilium EVTOL(iceberg-research.com ↗)

2 points · by ungerik · 4y ago · discuss

comment 4y ago · link · parent

You are asking the wrong questions. Care about your product and customers, not about founder beauty contests!

comment 4y ago · link · parent

Surprise of 2022: you get to the top of HN by telling the world about HTTP Basic Auth

...I am getting old ;-)

17.

Quasi Solid-State Lithium Sulfur Aviation Batteries with 450Wh/Kg(futureflight.aero ↗)

1 points · by ungerik · 5y ago · discuss

comment 6y ago · link · parent

If you can, choose a big black hole. The smaller ones spagettify you faster.

comment 6y ago · link · parent

I think it was within the last 2 years when I searched for domains on Namecheap. They were shown as registered and I was offered to buy them for a premium price. When I searched on another other provider, it was shown as available and I bought it there. Will never use Namecheap again.

comment 6y ago · link · parent

Also love those Chinese e-commerce websites that use automated translations based on location for every text on their website, even on product names...

comment 6y ago · link · parent

Those are the simple things to worry about, it can even get more complicated in the real world. So complicated that writing our own parser was the only way to go.

So what are some of the more advanced challenges:

* Banking systems that treat CSV export just as some kind of line based dump file with no regard of consistent formatting. If the banking backend was updated, the format might change within a file from one line to the next

* Some misconfigured data dumping pipeline parses CSV the wrong way from another system and emits it in escaped form again in a different format. For instance putting a complete line escaped into a single field. Your parser has to detect that there is a CSV embedded within a CSV.

* Dumping Pipeline treats \r\n as all kinds of silly lines and re-embedding those lines with quotes around them to look like real data

* Inventing completely new specs of what CSV could mean

* Use mainframe character-sets from the last millennium

comment 6y ago · link · parent

Ever, like ever ever? Or ever since we measured?

comment 6y ago · link · parent

I wanted a little bit more from FS department, so I rolled my own: https://github.com/ungerik/go-fs

comment 6y ago · link · parent

This is why Google developed Go. Python like productivity with C++ like performance...

comment 7y ago · link · parent

Horrible read. Still don't know what the problem is.

26.

The young centre of the Earth (2016)(arxiv.org ↗)

121 points · by ungerik · 7y ago · 71 comments

comment 7y ago · link · parent

You can't be that smart, if you don't figure out how to bridge the "communication range". Showing that IQ is a much too narrow measurement of puzzle solving ability, not related to being smart in real world situations.

comment 7y ago · link · parent

True, but when have you heard a test pilot criticising his employer while still having an active career?

29.

Ask HN: When has big $$$ before product-market-fit ever worked out?

47 points · by ungerik · 8y ago · 25 comments

comment 8y ago · link · parent

Why worry about the long term, when you can get rich in the short term? After you are rich, long term is someone else’s problem.
1234