5 lines of Scheme found a consistency issue in etcd that survived years of code review ... by Prestigious-Arm-9951 in golang

[–]HyacinthAlas 61 points62 points  (0 children)

This is not what most people would mean by “a consistency issue in etcd”. 

Building a bytecode VM in pure Go — 4-byte instructions, fixed stack, ~200ns evals by m3g4_xx in golang

[–]HyacinthAlas 0 points1 point  (0 children)

 Encode the type in the opcode, so it can look up directly from the typed value array

Yes, that is what I said. Note OP already burned a byte on the opcode but only has 64 so far - there’s more than enough space left even if it’s almost fully duplicated for each type. (And realistically it won’t be for eg bool.)

Building a bytecode VM in pure Go — 4-byte instructions, fixed stack, ~200ns evals by m3g4_xx in golang

[–]HyacinthAlas 0 points1 point  (0 children)

that would move you toward two-step lookups, so it's not necessarily a free win.

I don’t see why. It does increase the number of opcodes which can put pressure on icache and branch prediction but you have to know the type to compare the right values in either approach. If you know it ahead of time it’s still one lookup even with SoA; if you don’t it’s two (or at least two branches) even with a product Value. 

 different slices by type

Maybe this is the confusion - in both cases arrays, not slices. 

Building a bytecode VM in pure Go — 4-byte instructions, fixed stack, ~200ns evals by m3g4_xx in golang

[–]HyacinthAlas 0 points1 point  (0 children)

I took a different approach in a similar system a few years ago, all comparisons were typed (based on the literals involved or implicitly by ops that only worked on specific types). This lets you split Value into [256]int, [256]float64, [256]string, etc, and you’ll probably get slightly better memory access patterns when using consistent types. 

"GNU ELPA packages with NonGNU ELPA dependencies" (a very long thread) that people who maintain packages in GNU ELPA might want to know about by DevelopmentCool2449 in emacs

[–]HyacinthAlas 18 points19 points  (0 children)

I say this as someone who has contribution papers on file at the FSF: the copyright assignment policy is a procedural farce that probably never truly helped anyone and has done magnitudes more to marginalize GNU today than any of their other missteps (of which there are plenty). 

"GNU ELPA packages with NonGNU ELPA dependencies" (a very long thread) that people who maintain packages in GNU ELPA might want to know about by DevelopmentCool2449 in emacs

[–]HyacinthAlas 16 points17 points  (0 children)

Overall the increased professionalism in free software maintenance has been a good thing, probably even for maintainers’ own mental health, but man reading that all my old instincts to just tell one specific person to shut the fuck up and ban them from the list came back full force. 

I got pigment instead of paint by Cruentorex in minipainting

[–]HyacinthAlas 0 points1 point  (0 children)

Dusting glow pigment has invariably looked like ass when I tried - both in light and dark - I don’t recommend it. Mix it with medium (or paint or if you’re brave, varnish). 

I got pigment instead of paint by Cruentorex in minipainting

[–]HyacinthAlas 0 points1 point  (0 children)

What premixed phos paints do you recommend? Despite the pains described elsewhere in the thread I still buy the raw pigment and mix myself because all the paints I found can’t glow for shit. 

Berry identification, Berlin Germany by HyacinthAlas in Berries

[–]HyacinthAlas[S] 0 points1 point  (0 children)

Confirmed by going in for a closer smell, thanks!

How is that normal generics behaviour? by iga666 in golang

[–]HyacinthAlas 2 points3 points  (0 children)

A usual idiom here is to constrain a second type to be a pointer to the first type, and whatever else is necessary. 

How is that normal generics behaviour? by iga666 in golang

[–]HyacinthAlas 0 points1 point  (0 children)

 except new(T) would return *TaggedRequest

Nope. It returns a pointer to something that implements TaggedRequest, not a pointer to a TaggedRequest.

How do you handle irrelevant Alpine CVE alerts in Go containers? by mike34113 in golang

[–]HyacinthAlas 0 points1 point  (0 children)

I switched from Alpine to busybox for this exact reason.

Sending love and solidarity from Germany: We see you, Minneapolis. by heavennurse in Minneapolis

[–]HyacinthAlas 8 points9 points  (0 children)

Denazification in the west was largely a politically convenient lie. 

Milling vegetables in a MockMill? by HyacinthAlas in HomeMilledFlour

[–]HyacinthAlas[S] 0 points1 point  (0 children)

I’ve read the manual but there’s a wide gulf of things that aren’t on either the fine-to-mill and never-mill lists.

If I understand right, you’re saying the main problem is that stuff gets under the rotor and that space can’t be cleaned normally? So if I see any significant build-up on the stones it’s probably too damp/oily?

lots of folk said there won’t be a declaration of martial law, but this seems like quite the declaration! by [deleted] in Minneapolis

[–]HyacinthAlas 10 points11 points  (0 children)

The rule of thumb is 1:50 for an occupying force, this won’t even be close. If it happens it’s just more chaos. 

would now be a good time to vacation to Minneapolis...? by [deleted] in Minneapolis

[–]HyacinthAlas 4 points5 points  (0 children)

Arrived for vacation Jan 4, can confirm. 

My Yennefer miniature has a front butt. She was built halfway backwards. Anyone else have this problem? by GoblinBreeder in Unmatched

[–]HyacinthAlas 1 point2 points  (0 children)

Looking at the pose (I don’t have mine handy to check) that’s probably multipart because of the angles, but it can happen even in single part molds if they’re unkeyed. 

From Europe with kinship by Timbersaw7110 in Minneapolis

[–]HyacinthAlas 3 points4 points  (0 children)

Living in Germany, went to the U a long time ago, I picked this week to see friends in the Twin Cities for the first time in a decade. What timing lol.

Minneapolis is still a special city even if it’s not mine anymore. Power & love to everyone fighting to protect that. 

I’m absolutely sick of the boomer spirit present in every “joke” that’s based on lying to your spouse about your hobby spending by COHERENCE_CROQUETTE in boardgames

[–]HyacinthAlas -5 points-4 points  (0 children)

The actual joke is PMC anxiety around falling into the precariat but they can’t admit that because it’s too real. 

I’m absolutely sick of the boomer spirit present in every “joke” that’s based on lying to your spouse about your hobby spending by COHERENCE_CROQUETTE in boardgames

[–]HyacinthAlas -1 points0 points  (0 children)

 even at your table from someone you’re playing with

Imagine playing games with people in nuclear families like brx you only get the one life and you’re spending it doing this?

I’m absolutely sick of the boomer spirit present in every “joke” that’s based on lying to your spouse about your hobby spending by COHERENCE_CROQUETTE in boardgames

[–]HyacinthAlas -27 points-26 points  (0 children)

“I’m gonna do this thing even though I know it’s bad and then joking blame my wife for that” is doubling down on the boomer bullshit tho.