News for hackers. Stuff that matters.

ungerik

Re:Go 1.27 on Thursday August 20, 2026 @08:41AM (#49373843)
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

Re:Go 1.27 on Thursday August 20, 2026 @08:34AM (#49373755)
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.
Re:Replace OCR with Vision Language Models on Thursday February 27, 2025 @09:08AM (#43194507)
Those images look exactly like what you get from every OCR tool out there if you use the XY information.
Re:Gimp 3.0 RC3 Released on Monday February 10, 2025 @12:03PM (#43002494)
Rendering fails after first start and trying to resize the window on Mac. Hardly release quality.
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.
var names []string
Re:Introducing TypeChat from Microsoft on Friday July 21, 2023 @04:10AM (#36811312)
Because we can ;-)
Re:Bit Hacking with Golang on Tuesday June 20, 2023 @03:03AM (#36400641)
Old guy here: funny how manipulating bits is worth a HN post nowadays :-D
Re:Postgres: The Graph Database You Didn't Know You Had on Saturday April 01, 2023 @05:11AM (#35398629)
Unrelated: is VARCHAR(255) still a thing?
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

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.
Awesome, time to build!
You are asking the wrong questions. Care about your product and customers, not about founder beauty contests!
Re:Using HTTP Basic Auth in 2022 on Sunday January 02, 2022 @07:51AM (#29768329)
Surprise of 2022: you get to the top of HN by telling the world about HTTP Basic Auth

...I am getting old ;-)

Re:Black Hole Visualization in Unreal Engine on Wednesday October 14, 2020 @05:56AM (#24774904)
If you can, choose a big black hole. The smaller ones spagettify you faster.
Re:Tell HN: Never search for domains on Godaddy.com on Friday September 18, 2020 @04:28AM (#24514323)
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.
Also love those Chinese e-commerce websites that use automated translations based on location for every text on their website, even on product names...
Re:So you want to write your own CSV code (2014) on Sunday May 17, 2020 @10:09AM (#23212098)
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

Ever, like ever ever? Or ever since we measured?
Re:I Want Off Mr. Golang's Wild Ride on Friday February 28, 2020 @04:42PM (#22446682)
I wanted a little bit more from FS department, so I rolled my own: https://github.com/ungerik/go-fs
This is why Google developed Go. Python like productivity with C++ like performance...
Horrible read. Still don't know what the problem is.
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.
Re:F-35: What The Pilots Say on Thursday March 28, 2019 @10:01AM (#19512237)
True, but when have you heard a test pilot criticising his employer while still having an active career?

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

While it's always usefull to be great at fund raising, it seems not always wise to raise big $$$ before achieving product-market-fit. When such a startup fails, it always makes for great headlines and 20/20 hindsight commentary.What are good examples of where it did work out great? And what can we learn from it?

( Read More... | 25 comments | 47 points | on HN )
Re:Airware is shutting down after raising $118M on Saturday September 15, 2018 @08:44AM (#17994074)
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.

Older »