skysight-inc/HackerNews huggingface dataset:
Good article, 1 comment, still.

> slugging through the depths of hell where only a footnote from Raymond Chen himself will save you

The behavior is well documented: https://docs.microsoft.com/en-us/cpp/build/x64-calling-conve...

the caller must allocate memory for the return value and pass a pointer to it as the first argument. The remaining arguments are then shifted one argument to the right. The same pointer must be returned by the callee in RAX
I think recently I've been fiddling around with my monitor when my real issue is the angle of my arms and posture due to my chair, even if it manifests as being tense and unable to focus on the monitor.
Linux has bad battery duration compared to Windows. What can I do?
No. The M1 MacBooks are excellent price/performance, and more importantly, they are pretty cheap for what they are.

You cannot ask for a good ARM laptop, and then when people suggest a M1 MacBook which costs under $1000, and can often be found on sale for even less suddenly say “It’s expensive and poor people cannot afford it”.

It doesn’t matter.
I vehemently disagree with this. Gmail is an excellent example of worst-in-the-business spam filtering today. Literally everyone else is better at it now. Google is getting worse at things that were originally their core competency.
At this scale, I'm concerned about latency due to the speed of light travel time.
And if you build from inside IntelliJ, I think it already does essentially the same thing (unless you tell it not to) by importing the Maven project into its internal build system and using a compiler daemon: https://www.jetbrains.com/help/idea/delegate-build-and-run-a...
I definitely agree with that take when talking about running two 4k monitors at full resolution, but it doesn’t address the size at all. The more reasonable approach would be to use two ~38-42” monitors.
>The orchestration in Pet Sounds though follows the McCartney/Martin "Yesterday" by the Beatles

Yesterday's orchestration is just acoustic guitar + string quartet
> I prefer the more in depth book “The Shame Machine” by Cathy O’Neil that I bought last week (book was just published).

About half of the article is dedicated to "The Shame Machine" and O'Neil so I don't think it's an either-or. The article is contrasting her thoughts with those of others.
Hey, no need to lump Sgt. Pepper’s into this conversation!
It's context-dependent isn't it? The same joke can be harmless fun in one context, and a cruel jab in another, eh?

"Do unto others..." isn't a compressed file that expands into generic rules for every situation. (If life was simple enough to be covered by a set of generic rules we wouldn't have evolved these huge calorie-guzzling brains on the ends of our spines, eh?)
My main issue with Firejail is that it still uses a SUID binary, compared to bwrap which has supported rootless operation for a while now. If you have to use SUID I think it's no better than using the same functionality in Docker or systemd, which are probably already on your system if you're a developer. Though I would love to hear if anyone has any other use cases where firejail really shines compared to the other similar tools to manage namespaces and seccomp.

It might eventually be possible to relax this restriction and get rid of the SUID but I expect they would have to really clean up the kernel API, and that takes priority over fixing the userspace sandbox.
What of the rumors about AWS keys being leaked through slack channels that the support account had access to?

That was plastered all over the HN and reddit threads a few days ago, no mention of it from Okta yet. Did that turn out to be bogus?
Right, that's when it's used properly.

I am suggesting that an AI can easily invent plausible-sounding scenarios by which the government lawyers (falsely) explain that you actually did a crime, and parallel construction can be used to explain how "they" found out about it.
> Just using up exactly the bandwidth TCP refuses to use

There's not much good to say about ppl that "use up the space others refuse to use" at the queue in a store, thou.

i.e. our network links are generally not designed to be used at full capacity b/c queueing is hard and buying faster/more gear is easy.
I’m going to need to read through this a few times to give my thoughts on the opinions but I have to say:

Thank you for providing code examples of both what not and what to do. So many of these architectural principle articles just stay floaty and academic instead of having practical examples.
"Don't recommend channel" is very effective for me to ignore creators I just don't care about or content I'm at moment not interested in.
10 years isn’t even a stretch. My Mid-2015 15” MBP is still going strong. It’s had 2 battery replacements (which is fairly reasonable considering it’s been 7 years), but I still use it from time to time.
> You and I haven't said anything controversial.

You’re the one who said anything could be controversial:

> where if it happens that something you said, no matter how innocuous, snowballs for whatever reason, you're screwed

I like how you “ [...] “ out the words racist/sexist and proceeded to list exactly those kind of cases.

> [1] … Bushnell holding company meetings in a hot tub and attempting to coax a female employee to join him

All he lost was an award. He’s still a successful millionaire.

> [2] “I really did not mean to offend anyone and I really do regret the comment and how it made Adria feel. She had every right to report me to staff, and I defend her position”

[3] There’s way too much wrong with Damore’s actions, notwithstanding his actual memo. Do you really think it’s acceptable for someone to circulate such a misinformed screed in a company setting?

Plus, all of these people got jobs after the criticism died down. Like literally everyone else who’s ever been “cancelled”.
There is no point to free speech unless it protects speech that offends.
Thank you for the kind words! I'm happy you like it.
If anyone missed it, the last paragraph is of interest in its own right.
Unclear from the article is whether or not they will continue to support LTS versions.

If they are eliminating stable releases from their open source offerings as RH did with Fedora, a similar exodus will occur to a new platform. I sure as heck would not use a rolling release for any of my daily work, and sure as heck not on a server.

Presently, Ubuntu LTS is the only distribution that I use for my professional embedded development work. I have used said LTS releases since 2004. The ongoing push to use snap and the recent introduction of a snap-only Firefox in Jammy already has made me expect that this sort of last straw is coming soon.

Canonical, your recent choices are disappointing and disillusioning your users. I suspect you no longer care about your community and are chasing profits, following in the footsteps of RH.

HN, where would you migrate?
I suspect that the best contender will not emerge until Ubuntu pulls this trigger, but I now am ready to explore my options.
This is what I've concluded as well. I'll stick with Rails and JS until further notice. Thanks for the write up!
Harping on about it makes it worse. - This is action against your self-interest.

Alignment has to be self-motivated.
Culture and memes are the software side of evolution? What is the hardware side?
Life is a game of reward optimizations, and much of what humanity does seems to be attempting to "game" the rules; get ahead at all costs, ignore the affect on the long-term survival of the species. The clippy thought experiment asks the question: "Can we change our own reward?"

The actions you point out (environmental destruction, short-sighted carbon policies) optimize very clearly for an individualistic reward; it's in the best economical interest of a few to chop down forest / continue to burn coal / take your pick. And just as clippy can't seem to stop building paperclips while the world burns, we can't seem to stop optimizing for money/sex/domination while our future darkens.

But if you shift the reward function -- and it's not that huge of a shift -- from "win at life" to "long term survival of the species as a whole", these actions are very clearly unproductive.

So how do we change the reward score calculation?
for many people (esp as you get older) the longer focal distance will be easier on the eyes.
With a Stolen Fragment Restored, 17th-Century Tapestry Is Made Whole
Running CP/M on the Raspberry Pi Pico
Happily using this for Zoom, I don't trust their security.
> in Barbarian language for the German audience here

I assume this is supposed to say "Bavarian"?
I don't know which writers you mean but "wireheading" is a common trope and it's explicitly mentioned in the story.

[1] https://www.lesswrong.com/posts/aMXhaj6zZBgbTrfqA/a-definiti...
I use a combination of

(1) breakpoint debugging, finding the connection between program start and various features

(2) Doxygen to generate a dependency graph

(3) create json performance profiles, manually instrumenting functions, and navigate traces using Google Chrome about://tracing or similar tools.

(4) trace and look at the data input and output, using a hex editor or over the network using wireshark
Farscape has an episode where wormhole time travel happens.

How does time travel get presented in that game? Searching got me unrelated results.
The All-American Dairy Bar Still Thrives in Arkansas
The USPS offers spam as a service, those senders pay rates lower than you can get as someone sending grandma a birthday card.
You don't get the market Nintendo is catering at all. I have bought 3 Switches because the games are fun and they have age appropriate content. I will probably buy another two more Switches by the end of the year, but not a single PS5 or Xbox One *.
I use a 65" monitor at about 12 feet away for comms, and a 27" monitor close up for code. I'm looking forward to football stadium sized monitors in VR.
Team GB women cycling stars face losing their Olympics places to a man
nailed it.

communication links are generally a shared resource (common good) and the experience will degrade for everyone if individual transfers/users aren't backing down voluntarily.
> Unclear from the article is whether or not they will continue to support LTS versions.

Rolling Rhino Remix is totally unrelated to Canonical and the Ubuntu maintainers.
Your mileage may vary, but for me it's crucial—I can't use a language in production that doesn't have null safety. I want the compiler to force me to consider edge cases, and in many languages the biggest edge case of all is "that value you thought was there isn't actually there".
Resources matter: you can craft few better services, but if you do not have Alphabet resources your better service can't compete.

For instance how can you offer a better maps for PND if you can't elicit traffic data from the density and speed of android smartphones that are around of 80% of phones traveling around the world?

To defy Alphabet you do not need a better Google, you need a different kind of solution, for instance instead of competing in modern web crap to lock down users and surveil them you can propose classic desktop computing with decentralized tools. Try looking for instance at Jami, Retroshare, ZeroNet, you can integrate them in a suite and say "hey, instead of depending on Zoom, Meet or Teams, proprietary services with limits that might change, surveil, etc use this system, there is no SPOF, no service behind".

Some have tried something, for instance DeltaChat seems to be a WA clone, but it's actually a MUA, in that case it doesn't took off much because most people simply do not care, you have to know your public. Starting from CS and humanities courses [1] to attracts students and plant the seed of something new, being prepared to face years before a success simply because no empire born quickly and when some are against you it's even more complex.

The old adage: people have the power, but they do not know how to use it it's unfortunately very true, you can only bend people, use them, to elicit a slice of power :-)

[1] most CS students haven't enough skills to comprehend the world, they just explore few aspects ignoring the rest and that's why dictatorships like STEM, because they help to generate "ancient Greek's 'useless idiots' to be employed" instead of Citizens (disclaimer: I am an engineer, I learnt than personally in years)
That bicycle is result of the aforementioned human intelligence and cooperation.
Seems to be a leak from someone who worked on it back then, not an official release. Still cool nonetheless
I Wrote an Emacs Color Theme
Man discovers that his wife is the best Tetris player (2007)
If it interacts with its environment, it evolves. Environment and genetic evolution are in constant interaction. This is a definition of karma.
PageRank is a neat algorithm that recursively weights incoming links based on their own incoming links. So a link from HN has more weight than from a small blog. And how does it know that HN should have more weight? Well, because there are many important sites pointing back to HN. And how does it know that those sites are important? And so on...

But AFAIK Google no longer uses PageRank, or at least not the same version as we know it.
I’m curious, you admit that “generally use inner joins” is a leaky abstraction, because there are corner cases where left joins are needed.

Why not just use the non-leaky abstraction “always use left joins” and then an entire class of errors and discussions can be avoided?

Increasingly as I get older, I see the job of architect as “have conversations for the last time” so that devs can focus their “conversation quota” on the things that can’t be avoided, thus moving faster.
I think 99.9% of users would hate to have to configure their search results.
Wouldn't all musicians who are good enough to work for a professional orchestra be able to play all of these difficult pieces without making any mistakes? Being able to play difficult pieces without making a mistake is the objective definition of perfection. Yet among the people who can all play difficult pieces perfectly, not all of them can work for the New York Philharmonic or more high prestige group. What differentiates one player who plays perfectly from another player who also plays perfectly?

There must be something else beyond 'not making mistakes'; that thing is subjective, not objective. It's pretty clear if someone hits the wrong note, but who gets to judge that a particular musician held a specific note for 10 milliseconds too long? Or who is to say that some notes were given 'too much emphasis'?

I'm sure that there is consensus among the elite musicians about all these subjective judgments, but it doesn't change the fact that it's subjective... The audience might not care at all either way or they might even disagree with the elite musicians' consensus... Who is right in this case? Isn't the customer always right? What does it mean to have a 'trained ear'? Can't the ear be over-trained or mis-trained.

If you teach someone how to do something the wrong way (e.g. inefficiently) and they learn how to do it the wrong way perfectly, isn't it still the wrong way?
Anyone looking to get a job in the Jewelry Industry (be it Mining, Retail or Production) please visit trymintly.com . We guarantee 48 hr Interview timeline for qualified, matched professionals. Please share your thoughts.
I haven't tried it, but my understanding from reading the experiences that it is about content not the creators.

Twitter, Youtube, Instagram, Facebook all about creators and social "connections" or follows to these. So you get the good with all the ugly and horrible. Want insights, art or jokes. Get the horrible political opinions and signalling too... And then see all the fights.
Any alien with the ability to physically reach earth either via FTL or other dimensions, etc. is going to harvest our planet/solar-system for resources, they aren't going to give a damn about us.

Not unlike maybe Star Trek Discovery latest season but on a lesser scale/tech.

I never understand people over-evaluating our interest to something else exponentially more advanced. We wouldn't be like farm animals for labor, their tech/machines would be exponentially more efficient.

This is also why I think UFO believers are not rational. Why would they even care, we'd be annoying at best.
I use a 40” screen about 80 cm away, and it’s almost the perfect size. I think it would be even better with a curve, because text right on a corner (like a terminal prompt) is a bit of a stretch.
ShareX has “capture this part of the screen” as still or video. Was that one of the ones you tried?
You got me curious, so I looked it up:

Transports

To date all known Wayland implementations work over a
Unix domain socket. This is used for one reason in
particular: file descriptor messages. Unix sockets are
the most practical transport capable of transferring file
descriptors between processes, and this is necessary for
large data transfers (keymaps, pixel buffers, and
clipboard contents being the main use-cases). In theory,
a different transport (e.g. TCP) is possible, but someone
would have to figure out an alternative way of
transferring bulk data.

So, that is why I hear about needing X11 compat for remote connections; wayland connections are still sockets (not e.g. shared mem), but they require the ability to pass file descriptors through the socket, which can only be done with Unix sockets. (and those file descriptors provide access to shared mem)

I don't see any details about how this interacts with OpenGL, like whether indirect rendering is possible or if applications would need /dev mounted.
> God Only Knows is by far my favorite track on the album, but “often praised as one of the greatest songs ever written”? Hmm.

* what key is it in, and how can you tell?

* did you hear the grand reunion of themes at the end, or the counterpoint in the interlude (fucking counterpoint in pop music!)?

* how can you even tell that you've arrived at the chorus the first time? Isn't the music supposed to change for the chorus?

* just noticed this one: when the melody starts the 3rd verse, the strings are still busy playing through an accompanimental phrase that started in the previous chorus. So accompaniment, main melody and sectional divisions are tapered

* just sing the goddamned melody out loud. Listen how it outlines and suggests it own chordal accompaniment, while at the same time it has a clear, catchy melodic shape and goal. Also take note of the range-- it's actually difficult to sing because of some of the melodic leaps required

In short, this is a melody and setting on par with the theme from Tchaikovsky's Romeo and Juliet, or an aria by Bellini.

Edit: since author mentioned Coltrane-- it's worth noting that the first 10 minutes of Love Supreme is Coltrane doing Beethovenian motivic variations over a groove. Beethovenian motivic variations are so prominent even today because they are a surefire way to create musical coherence. E.g., even if Coltrane had a bad night you've still got a hundred chances to hear transpositions, elongations, juxtapositions, and forward development of that little motive over the groove. There's built-in redudancy there.

On the other hand, if you're going to write a pithy melody with a clear rhyming scheme like "God Only Knows," you'd better have every rhythmic and melodic proportion mapped out exactly as you want it. Melodic prowess is more like solving some kind of musical sudoko-- if you don't get it right then the entire audience will hear how it doesn't add up properly.
Concatenate all the source code files into a single file, with pathnames inserted between files.

Then use Vim to read the concatenation and (regexp) search.
Yep, it didn't take long for Bitcoiners to arrive at this idea. Here's Andrew Poelstra arguing in 2015 that PoW should approach the thermodynamic limit: https://download.wpsoftware.net/bitcoin/asic-faq.pdf
having morals in today's business world (or world in general) really seems to be a burden more than a benefit.
Fuck yes. TurboLaser. It sounds like what a teenager would name the "ultimate game console" he is going to create and has colored-pencil sketches of in a notebook. I wish more production hardware had awesome names like this.
How to use EXPLAIN PLAN.

As a contractor, I was once asked to improve the performance of a query that had a main table with many millions of rows. EXPLAIN PLAN revealed that the query planner was making some bad choices, despite the table statistics being up-to-date. I bullied[0] the optimiser into making some better choices, and got a 100x performance improvement. For large databases, the query plan can make the difference between a query taking a second and taking an hour.

Unfortunately the format of query-plan output from EXPLAIN PLAN is unstandardised and vendor-dependent.

[0] "bullied": This was Oracle; you could use "hints" to force the optimiser to change it's behaviour. If you don't have hints, then sometimes transforming a JOIN query into a query using an inner SELECT will expand the optimiser's consciousness. It all gets a bit voodoo, if the optimiser is stubborn and you don't have hints.
> What kind of things (books, magazines, forums, etc) helped you to become so knowledgeable and/or engaged in these world/cultural issues?

Curiosity in general.

My local library system has a limit on the maximum number of holds you can have at any given time (100), and every since the the pandemic started I've continually been at that limit.

I read a book, and it has references/footnotes, which leads to more books. Or while I'm look at one book I look at other books on the same topic, e.g., reading about WW2 in general:

* https://en.wikipedia.org/wiki/The_Second_World_War_(book)

I end up reading book specifically on Stalingrad, the taking of Berlin, and D-Day, Operation Market Garden, Operation Chowhound:

* https://en.wikipedia.org/wiki/Stalingrad_(Beevor_book)

* https://en.wikipedia.org/wiki/Berlin:_The_Downfall_1945

* https://en.wikipedia.org/wiki/The_Longest_Day_(book)

* https://en.wikipedia.org/wiki/A_Bridge_Too_Far_(book)

* https://en.wikipedia.org/wiki/Operations_Manna_and_Chowhound

On legal history:

* https://press.uchicago.edu/ucp/books/book/chicago/M/bo562094...

* https://yalebooks.yale.edu/book/9780300116007/origins-reason...

* https://utpress.utexas.edu/books/perlman-ancient-greek-law-i...

All of the above books are available at my local library system (I'm in a major city) so I don't have to spend any money or take up space in my domicile.

Repeat going down the rabbit hole for the topics of science, philosophy, history (ancient, Middle Ages, Renaissance, Enlightenment), etc.
Huh it's funny. When you put it that way is sounds like all those same arguments people have been making against crypto - except the fallout from the "rot" phase of crypto will have very significant real world consequences.

It's as if people who have been on the internet since those days can easily see what's coming.
What’s the value added in this over RayLib? Is it just building GLFW from source to dodge the dependency issues? Granted, that’s a lot bigger deal than I’m making it seem.
Who would fund you if you said you wanted to be a competitor?

A competitor would need to avoid being bought by one of the tech oligarchs. That's pretty hard to avoid.

If by some fluke, you find a breakout opportunity, you would need to somehow avoid getting crushed like Parler. The tech oligarchs will use any excuse to crush any competition.

That episode basically shows that to compete you would basically need to build your own internet first, and also your own banking system.