skysight-inc/HackerNews huggingface dataset:
Shameless plug for my 6502 JS emulator / assembler in an Observable notebook, which takes the opcode, converts into pseudo assembly and then uses a switch statement on the mnemonic. I expected it would be horribly slow but maybe this switch on the (50 something instructions) is OK?

https://observablehq.com/@tech30k/6502

Written as a convenient way to try to explore the ISA and hoping to try the same approach with other early ISAs soon (6800 in progress).

(Please be kind with the code. I'm not a JS programmer - its my first JS beyond a handful of lines - and there are lots of issues!)
And the so-called good players have body counts that would make Ted Bundy blush.
...because people have been convinced that prices are going up. If it weren't for that, nobody would have been paying these prices (i.e. speculating). It's self fulfilling until it breaks. Let's see where we are a couple of years from now.
There's plenty of STM32 of any flavor in China. Alibaba is a good source. There may be fakes though, but reputable resellers (pay attention to reviews and tenure) normally sell genuine chips.
The disconnect between cost of production and price willing to pay for masks and toilet paper brought some of this into sharp focus for me. We're still playing around the edges of almost survivalist levels of concern for things which are not really that hard to source, but somehow have become scarce. And, simultaneously, the lack of cohesion between (almost warring) states means we realize price alone is a poor basis of planning for strategic supply chains: Having every hospital in the USA depend on two factories in China for masks in a pandemic, was no more or less silly than having every computer in the world depend on TSMC in Taiwan and Thai hard drive factories, or Samsung for screens.

We depend on two or three mainly chinese sources of rare earths because the "price" of rare earth mining didn't justify the investment to exploit the other sources we know exist. It will take years to build around this.

In the end, we directed labour to try and solve some of this. (masks) The only people who can be directed these days are either prisoners, or troops. Nobody much likes depending on either to solve labour problems.
How to bridge the intention-behaviour gap
STM32s are actually very nice things to debug by the standards of the embedded scene.

At least 1 set of stm32 cube tools will be always working.

It's not uncommon for microcontroller vendors to not to provide any tooling at all, and just say "Use JTAG" without any further explanations.

And then JTAG may, or may not work. Or only work on some decade old 3rd party IDE + 3rd party USB (or even RS232...) JTAG debugger + pre sp2 win xp version combo.
> In the 1980s the term "hacker" was possibly conflated with "cracker" by stupids in the media,

I think it's not necessarily due to stupidity that media outlets eschewed the term "cracker."
Aren't there ads in the task bar and start menu?
It makes a lot of sense in that lift grows linearly with area, and exponentially with speed.
Is SRE Just Ops with a New Name?
The Collapse of Anime’s Traditional Immersion, and the Attemps to Build It Anew
If you are asking why, you are not acquainted well enough with the russian mentality with (dis)respect to the west. Unless somebody rubs the scale of atrocity their ancestors commited into the following generations, they will feel like they got away with it, and perceive the west as soft and weak. Much in the same vein as Russia brazenly buying weapon tech and luxury items and electronics from the west, its rich and powerful spending holidays in and sending their kids to study in EU and US. All the while being a part of the global autocracy club and annexing its neighbors. Oh, and MH17 as a bonus, if you need a reminder.
I was going to post to say you must have quite a low opinion of the human race to suggest we maximize our destructive capabilities because we have no choice and can't do anything about it, but on reflection the opposite is true. At least if we have no choice in the matter and it's just "who we are" we can carry on without worrying about it too much.

Believing we could be peaceful but we choose not to be is far worse.
> I just have to point out that part of the reason we're having this argument is the dual treadmill of title inflation and bad practices insisting they're best practices.

Yeah, that's a really good point.

> SRE will not be the title for much longer, and DevOps was a bad title from the beginning and a flash in the pan but it was the title from 2010-2015.

I hope the terms become better defined, not less, though. What do you think the next title will be.
That is a complex question.

One thing I will mention that if you want your house to appreciated in value, look for land that can be rezoned, split, and so on, or is likely to change zone in the future, and in a demand trending up location.

I regret not pushing harder for use to live in less-than-ideal house that would have been in a great location. It was a small house, decent land, next door to 5-storey buildings. Get permission for a 5-storey and that would be retirement.
Still not quite as cool as a Lightning, though.
Option to transfer playlists to Fitbit watches will be removed
Not exactly the same, but emissions dropped pretty dramatically after the 2008 crash.
What do you mean about echoic recall? Do you mean 60% of sampled individuals can't remember sounds that they hear, or imaginging them? That sounds unbelievable to me: people can remember songs and voices. If you ask someone to imagine Donald Trump's voice saying "I like dealing with the Ferengi--they are sharp traders", they can probably do it, even without Trump having to ever actually have said that.
Thank you for putting it so well.
Blue Lug Bike Shop https://m.youtube.com/c/bluelugbikeshop
Not one mention of Tidal. A shame, since its artist-owned. No disagree with the central thesis, but this is not a problem only Spotify exists in.

Destroy the joint in A&R is a way off. Naievely, I thought that in the 1970s the independent labels were going to kill EMI and Sony. Fat chance!

Every muso I know makes more on merch than on sound sold. They own the merch rights better than the sound rights. Says a lot about the value inherent in digital music these days.

I'm pretty sure everyone in the streaming business is ripping somebody off. It could be the customer, or the artist, or the intermediary, nobody's hands are clean at this point. Tidal is not exactly a level playing field either. Do all fans eschew pirated MP3s?

Rich artist vs Poor Artist is still dog-eat-dog.
I suggest you listen to the recent AI podcast episode with Martin Rees, he has some interesting different thoughts on the subject:
https://podcruncher.co/play/4Ivc
Yes, slightly - RFC 9110 ("HTTP Semantics") calls them "header fields" and "trailer fields," and it calls "headers" and "trailers" colloquialisms. In a nod to gRPC-style usage, the section on trailer fields even says, "Trailer fields can be useful for supplying...post-processing status information."

https://www.rfc-editor.org/rfc/rfc9110.html#header.fields

https://www.rfc-editor.org/rfc/rfc9110.html#trailer.fields
not obvious at all. An ejected pilot over enemy territory, ok, but an ejected pilot over his home territory, seems like still a combatant to me.
It says page not found
The hate festival I witnessed myself in Scotland was no dry political walk as you're trying to disingeneously paint it - it was a manifestitation of absolute anti-Irish hate by a bunch of far-right types singing songs about killing people based on their ethnicity.

I've no interest in learning why these people think it's OK to express their deeply offensive views on the streets of a Scottish city, or indeed any other street or city.
That's not what I mean.

There is no point in a company paying someone 1x for 8 hours of work and another 3x for 16 hours of oncall when they can just hire 3 engineers and work 8 hour shifts. That way they only pay 3x (instead of 4x) AND have the engineers do engineering work 24 hours (instead of 8 hours + 16 hours of oncall).
That might be a case of seeing it from the outside though. They are interacting with other people - the internet is only the conduit. It can be very negative to hang out with the wrong people whether it's physically or otherwise.

It's also possible that we're letting advertising algorithms push us around but one is not free from advertising in the unvirtual world either. There's a continual mental attack from every source that tells us we don't have "good enough" lives and must buy something or other to make them better.
- Brick Experiment Channel - https://www.youtube.com/c/BrickExperimentChannel

- Andreas Kling (serenityOS) - https://www.youtube.com/c/AndreasKling

- Computerphile - https://www.youtube.com/user/Computerphile

- The 8-Bit Guy - https://www.youtube.com/c/The8BitGuy
Ask HN: Best books to build up entrepreneurial mindset?
When you grow up in a working class family building a business does not come naturally.

You don’t see it everyday, you don’t feel it from the inside. You don’t form subconscious knowledge of how it is done.

Then great books and educational resources are to the rescue!

Could you please name your personal top 3 of such a resources that not just pump you with emotions (most films are out of the table) and not just throw microeconomic formulas and theories at you,

But the ones showing you the truthful picture of inside-outs of a small to large businesses, with specific details and meaningful cases to learn from?
The point is that the bank has no way to perform this body cavity search itself. If Experian didn't exist, it would have to use other means of assessing risk, like all the banks in countries that don't have an Experian do.
I worked in a lab where we invented basically the same scheme in about the same time. I still have a box full of those little grey plastic RJ-45 to DB-9/15/25 M and F adapters.

The cable plant improvement was good - we could punch down CAT-3 (later CAT-5) into keystone jacks and patch panels without regard for whether it was RS-232 or RS-422/485. The big advantage is that you only have one type of wiring and that it's flexible as to whether it was 10Base-T (later 100) or serial.

I used a different pinout that worked well for us:

1. almost all of our systems were 3-wire (no hardware handshake, just RX/TX/GND). In a few cases we needed extra signals and then used the other two pairs.

2. we treated each RS-232 as a pair of GND/signal. Put Rx/GND on 1/2. Tx/GND on 3/6. this provided a little better "shielding" because the ground wire was twisted around the signal wire vs. having TX/RX twisted with each other.

2a. In RS-422/485, used the same pairs but RX+/RX- on 1/2 and TX+/TX- on 3/6 with a chassis ground on one other pin.

3. By using 1/2 and 3/6 it made standard Ethernet cables "straight-through" and made Ethernet cross-over cables into null modems. I wired terminal servers and workstation adapters "backward" (not unlike Ethernet switches vs. hosts or DCE/DTE). This made for very few crossovers required.

This kept our wiring neat and very flexible. You can color code Ethernet vs. serial. The biggest disadvantage was the shitty stamped tin pins in the cheap adapters.
So insert "employment negotiations" and "prospective employer". The principal is the same.
It's not on their Web site, but the label on the device itself (visible here: https://www.youtube.com/watch?v=iCHvgkPXGMk&t=175s) says it's rated for either 50 or 60 Hz.
> book

This is one of those things where you actually have to Do It instead of Read Theory.
To be fair, it's also true that Firefox doesn't expose trailers to the fetch API. To the Chrome and gRPC team's credit, the public Chrome issue actually contains a somewhat substantive back-and-forth; the corresponding Firefox issue has virtually no discussion.

https://bugzilla.mozilla.org/show_bug.cgi?id=1339096
It was just made private, I guess. Only the Go WebAssembly project is still public: https://github.com/trealla-prolog/trealla-go
2 men carrying a ladder.

https://www.youtube.com/watch?v=NiEMcjSQOzg
Mean, median, or mode—still just a measure of central tendency and falls short of the shape. Go one better and show the geometry of the distribution.
It is an excellent method for destroying a society.
Wood dust is inflammable.

Power tools have motors and motors make sparks.

That’s the most important reason for dust collection.
Obligatory Godot shout out which unlike Unity had has "native" 2D support and is a pleasure to work in.
There was a national campaign against tobacco. Moreover, no one is accidentally buying cigarettes like they’re buying carbon. It’s not like cigarettes were added to every product in unknown quantities and the public managed to avoid purchasing them. Similarly, people can’t simply opt out of carbon—it’s not like people were previously waltzing up to the counter and asking for some carbon, and now they’re not doing it any more. If that’s your “personal responsibility” example, it’s pretty desperate.
The flip side of this is that as long as your code is valgrind clean, you can get very easy-to-debug code, because C is easy to reason about. While you can certainly do better if very careful, I would prefer to work with C and valgrind than, e.g. most C++ code.
As a senior dev having worked with REST and GraphQL API's at scale, I'm afraid I must disagree.

I feel most people's negative opinions on GraphQL are mainly due to their own lack of familiarity and expertise on the subject. They simply don't want to RTFM.

When used properly and competently, the DX buffs far outweigh a traditional REST API.
Maybe we should flip the model around. Only allow selling proven carbon credits. That is proven in some reasonable timeframe 50 or 100 years.
The phone has become a vital bodily organ... it is unthinkable in the modern day to separate a student from their devices.

I think (hope!) this is just the pendulum swinging from "my kids should be my friend, so I won't support things they don't like even if it's against their best interest" back towards "I should parent my kids effectively, even if they they're upset with me for a few years". I feel like a lot of parenting and educational issues these days are attributed to parents who are overly permissive / lack a spine, for lack of a better phrase.

I feel like we had a reasonable compromise when I was at school - you carried your phone on your person and could use it during breaks, but if you were caught using it instead of paying attention in class it would get confiscated for the day (and detention etc. issued as appropriate for repeat offenders).
Neuroscientists have not been kind to "The Master and His Emissary.
2013 was a different time, and JS engines have come a long way since then. I really hope they’ve made this better than it was.

Have they? Do the 128 case limit and signed integer literals constraints still exist?
Wow, you accuse Wolfram of abusing people while calling me an idiot. Ad hominem insults and attacks on a sincere comment don’t add to your credibility. Did you just create this anonymous login to call people names online?

I just gave him as an example of a top programmer who has an academic math background.

Wolfram’s credentials are easy to find. I don’t suppose you get named as a Fellow in the American Mathematical Society if you aren’t something of a credible mathematician. The guy invented and wrote Mathematica for f’s sake.
Surely it would be Microsoft's job to scan incoming mail for virus links, as opposed to just blocking the whole domain? (And all of this is rather an aside, since it appears likely that this is caused by something wholly unrelated to malware.)
I'm always interested in early life. Where are they from, what were his parents like, what did he do as a kid, what got him into computers.
Error: Server Error

The server encountered an error and could not complete your request.

Please try again in 30 seconds.
Extreme drought: Dried-up Italian river reveals unexploded WWII bomb
RSS for syndication, ActivityPub for sync between instances. Is ActivityPub used for news syndication as well?
That's exactly what the company should have done in the first place. The 1.5x is to disincentivize that. A lot of industries (mostly unionized tbf) have it.
I suppose you could compare the Starfighter to the Gee-Bee as they are the same concept, but the Gee-Bee always looked like something out of a pulp magazine rather than a mean mo-fo.

https://en.wikipedia.org/wiki/Granville_Gee_Bee_Model_R_Supe...

The P-38 is cool, too :-)
AFFiNE: Notion Alternative Open Source Knowledge Base
My mom just bought a battery operated lawn mower, weed whacker, and leaf blower kit. She loves how portable, quiet, and easy to use they are. She’s 70 years old so portable and easy to use are more important to her than power.

I just mention this because what might not seem like an option for you can work fine for other people. She loves not having to pull start a gas mower or deal with the noise and smell of it.
If you can use Cortex-M0+ (so not likely for this project, BLDC where you want floating point), maybe think about RP2040 (Raspberry Pi Pico chip)? More than 100K of them in stock at Digikey, only $1 each... But they come in only one package type, and use external flash (an advantage, IMHO).

I've recently started looking at them. The SDK is nice except that they chose to use CMake. I designed it out:

https://github.com/nklabs/libnklabs-pico
Looks great, but unfortunately the server was busy and couldn't try my images right away
For a short term, you can use it to reduce government debts? Reducing it to the pre-covid level is going to take several decades, so let's not worry about where the money goes.
Bus Pirate and the later Tigard are both excellent, https://embeddedsecurity.io/hacker-tools

Glasgow is delayed until later this year, https://www.crowdsupply.com/1bitsquared/glasgow
>It seems that the ADCs on the STM32G4 do not like to be turned on in rapid succession, and if they do, bad things can happen like having the prescaler flipped to a different value without it showing in the corresponding register.

This sounds very, VERY much like an incorrectly configured clock where some of the peripherals would end up with a clock frequency slightly above what they were designed for. Will work 99% of the time and will give you hell for the remaining 1%. Much more likely than stumbling upon an undiscovered errata in a fairly popular device family with 10+ years of history.

Could also be flakey power (check your decoupling capacitors) or an outright b0rked chip/board.
Yeah, but first you have to get off the ground and gain some altitude! Jet engines don't really start developing power until they're moving forward fast (forcing more oxygen into the intake).

My dad said flying a jet out of Denver was always a challenge because the jet would just lumber along refusing to develop power. (Denver is at high altitude.) He'd always start the takeoff roll with the tail hanging over the edge of the runway start.
Here's a similar case from 2020: https://stackoverflow.com/a/59570825

With a link to the V8 line of code defining the 128 limit: https://github.com/v8/v8/blob/596d0ce7b7a3900c529025aaa77e5f...
This book has been used in quite a few coding interview circa 2012 when I started interviewing for my first job. That kind of ruined the joy of cracking hacky coding problem of the book. Sigh
In this case (with IMDb resume fraud), I don’t even see that it’s illegal. Probably in violation of some EULA but probably not fraud until and if they get an actual job based on that fake resume.

(I am not a lawyer and this is not legal advice.)
(a ? b : c) means (if a then b else c). The line is a nested if-else construct:

if l is static string (?)
then src = l->val_str
else if l is a string buffer
then src = l->val_strb_cstr + l->strb_off
else src = l->val_chr
Thanks for the tip! Will check that out. Worth taking the risk.
This doesn't match what I see in the gRPC spec. It says every message must be length-prefixed.

https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2....

Disclaimer: I don't know much about gRPC.
It's more likely to stall at the lower speeds and then fall out of the sky.
I'll set an alarm for 100 million years to start worrying about planning for this.
> Income is not GDP. A US citizen buying a Chinese good does not contribute to US GDP.

It does, just not very much.

GDP is value added. So contribution of anything done in an economy is (selling price - sum of buying prices of components and services needed to make the thing). So if you buy stuff abroad for 80 USD and import it for 20 USD and sell it in US for 105 USD - you increased American GDP by 5 USD.
In addition to the fantastic ccc.de talk, I suggest this one related to the 1202 alarm: https://youtu.be/B1J2RMorJXM

Great talk and overall super presenter IMHO.
Ask HN: 'Restorative' trips for the fall?
I'm pretty burnt out. I'm looking for some trips that might help me get back to myself. I've tried to plan some larger trips but I don't have the energy, so I figure I should focus on something more restorative than anything else.

Has anyone been in a similar situation? Where did you go / what did you do? I've got at least two weeks of PTO saved for Sept - Oct, for what it's worth.
I enjoy the speedrun videos, often cheating related, from Karl Jobst:

https://www.youtube.com/c/karljobst

He exposed some issues recently relating to game-cart grading, and has recurring videos about the faked Donkey Kong records from Billy Mitchell.

Perhaps not entrepreneurial, but still interesting.
https://www.youtube.com/watch?v=CkGMJBqZawA
This was posted earlier, first by the author, and then by someone else. It was a long time ago so I thought it may be worth a look again. [1][2]

I like the way the post ends.

> My conclusion is that if I want more points there's no point trying to game Hacker News. It doesn't really matter when I submit a story or write a comment. It's content that's king. That's good news for Hacker News because it indicates that what matters there is content and not game playing.

[1] https://news.ycombinator.com/item?id=4865303

[2] https://news.ycombinator.com/item?id=10552122
Can you point me to a widely used Makefile that uses Guile in GNU make? AFAIK it's not available on most distros, so people don't use it. It's an optional extension
This exact issue helped kill Washington state’s twice proposed carbon tax initiative.
Don’t Overcategorise Incidents
Yes, the protobuf format makes the end ambiguous, meaning the end needs to be indicated by the protocol containing the protobuf.

But it looks to me like the gRPC spec says that everything must be prefixed by a length at the gRPC layer. So then it doesn't matter that protobuf doesn't internally indicate the end, since the gRPC transport will indicate the end.

https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2....

Disclaimer: I don't know much about gRPC.
They've been in a roll nerfing stuff like this ever since MS bought them. See "load more comments" ajax links when there are more than 10 comments in a PR review, or "load diff" when a file has changed more than a few lines. All of these degrade the ability to actually look at changes and review them, which is kind of the whole point of pull requests. But alas, the enterprise must enterprise.
Great use of a Shiny visualization here - wonderful way to communicate these results
Interesting thanks. Is there a good reason for a relatively low fixed limit like this?
I don't think it's sufficient to say we enjoy music because we evolved to hear animal noises. This lazy hand-waving explanation can hardly be called a hypothesis. Hitting something with a stick and making sounds with your voice is something a cave man could do. We're talking about something so old that it likely evolved and developed with us as a species. Birdsong developed through sexual selection. That's not too far from what we see in our species, to be honest.
How to make C much easier and more powerful (C preprocessor)
Compete by building another compiler? Sounds very sane.