skysight-inc/HackerNews huggingface dataset:
Assembly language isn’t, but assemblers usually are. If you want a (cross-)assembler for 32-bit x86, you can build GNU as or Nasm on any reasonable platform with a C implementation, because, ultimately, bytes are bytes, and you can write

void emitd(struct buf *buf, int opcode, uint_least32_t address);

or however it looks inside your assembler without caring what sizeof(int) is (assuming CHAR_BIT is 8). By comparison, in Forth that will be

emitd ( buf op adr -- ) ( 32-bit host )
emitd ( buf op ahi alo -- ) ( 16-bit host )

depending on the bitness of where your assembler runs, even if the machine it assembles for is exactly the same in both cases. You cannot hide the platform difference behind a typedef for uint_least32_t or whatnot, unless you’re willing to drastically reshape the entirety of Forth from inside (which it does allow).
-c:s mov_text is unnecessary and in fact might be fucking things up
What does the additional .09% of purity get you - if the xenon or nitrous is mixed with air at inhalation time anyway? For example, divers and pilots use ABO oxygen which is only 99.5% pure.

https://www.aopa.org/news-and-media/all-news/2023/december/p...
Dates of French nuclear submarine patrols revealed by careless crew members
>Japan and South Korea are going to rapidly develop nuclear weapons programs.

Japan would need to amend their constitution for that, and that is simply not happening. They have failed to amend their constitution for much more mundane objectives, let alone nukes.
Nobody is asking the most interesting question: why.

Why is the option to use the AirPods in “normal” mode being removed? Is Apple hit with some lawsuit or something?
> American companies will never go below whatever the Chinese widget costs

Why not? If there are 3 American companies with similar costs, would all of them just say “well, the price is the price?” Or would there eventually be one who realizes they can take more market share from the Chinese companies by undercutting them?
Mine are too small for any of this yet but I gave it some thought and here's what I have:

-Social media etc. are a means of avoiding one's emotions. Your job as a parent is to help your children process those so that they don't crave such distractions as much.

-Education is key. This is a huge topic, but one of the first things I taught my preschooler is that people do all kinds of things only because they want money. That is equally true in meatspace, as e.g. this enclosed playground we occasionally go to is dotted with shelves with toys that are, of course, not free, so if you want one you have to pay. I lost count how many things I explained with a short "they do it only because it brings them more money".

-It so happens that the worst brainrot is at the same time data-intensive, so data allowance is something I'm planning on introducing once the time comes. I sort of had this in my youth when my data plan was a whopping 1GB per month, so I had to be deliberate in my choice of entertainment.

As a final, optimistic note, it appears that generation alfa picked up on the fact that we, the parents, either try to distract them with screens or look at screens instead of paying attention to them. They don't like that one bit and my prediction is that their attitude towards this will be very much like my generation's towards our parents having the TV on at all times.
Another thing is how to help them learn self control in the face of the massively sophisticated research into how to get them hooked into SM. Allen Carr's book, Smart Phone Dumb Phone, seems pretty insightful and helps the reader understand the root psychological principles behind tech addiction

Perhaps that would be a helpful resource? Another Allen Carr book, Easy Way to Quit Smoking, has a reputation of helping smokers lose their cravings for cigarrettes after undersanding the falasies behind their cravings

Learning those principles at formative ages would probably go a long way
I'm planning to do something similar, but using addressable RGB LEDs (like WS2811, also known as neopixel).

They are simple to work with. Each LED has 4 connections: GND, +5V, DATA IN and DATA OUT. Each LED grabs the first 24 bits of the data stream (8 bits for Red, Green and Blue) and sends the rest on DATA OUT for the next LED.
Did you say "depression"? Billionaires with assets and money love fire sales! What better way to get even further ahead! Expect a recession or depression. Those coming in don't care about the majority that gave them the only thing they needed (a vote) and only needed it once to further their gains and wealth.
I've adopted the idea that a blog post is archived when it's published; I don't want to tinker with it again. Old pages may have an old style, but that's OK, it's an archive. Copy/paste works great for this.

The only reason I use a blog engine now (Hugo) is for RSS. I kept messing up or forgetting manual RSS edits.
Daily News Sentiment Timeline
I've made a prototype on lovable.dev for solving my own problem of monitoring news and rumors while trading. It's hooked to a bunch of different AIs and global news sources to determine market bullishness for the news in the past day. It works real time, and users can register, like and comment on the news pieces.

By evaluating the bullishness of news and rumors, it provides you with a clear, aggregated score, so you can make informed decisions before the rest.

What do you think of it? Would you use it? How would you improve it?

My ideas for new features (please suggest new ones, or if they're good or bad):

- entity analysis: keep track of entities (stocks, organisations, crypto projects, countries etc) mentioned in global news by date and display their frequency

- user generated / opinionated bullishness: create a table of stocks, commodities and crypto to vote for bullishness

- assets table: Display all risk assets and their prices alongside bullishness in news (coinmarketcap style)

- rumor vendors: add capabilities for registered users to add new private rumors, give them subscription plans to sell their rumors (for alpha trading groups to sell their news from our platform)

Please let me know if this is a good tool for you and more functionalities you'd like to see here
MAD precludes total wars of national survival ala WW2. It does not at all preclude the sorts of cabinet wars that were fought between the European powers for centuries before Napoleon.
Because LIDAR specifically gives you the range or distance to each object. While in theory this should be possible with multiple cameras and stereoscopic vision/analysis, it obviously is not as simple in practice as it seems in theory. The additional depth info is also critical in identifying objects.

For example, several drivers of Tesla vehicles have been beheaded when a semi-truck turned/crossed in front of them and the car on autopilot evidently identified the white side of the trailer as sky and drove right under it, removing the roof and the occupant's heads. LIDAR would have identified a large flat object at range decreasing at the approximate speed of the vehicle, and presumably the self-driving system would have taken different action.
Someone who works as a game programmer. I've been paid about that much working alongside visa holders.
You can do that, but now you have a runtime dependency on your analytics system, right? This can be reasonable for a one-off experimentation system but it's not likely you'll be able to do all of your experimentation this way.
Excellent suggestions. I'd add

5. Teach them impulse control and practice delayed gratification.
I actually tried a it a lot when I was young, and it never worked even on a downward slope. Maybe I was too weak back then, but again, the point is that a full bicycle doesn't have the same behavior as a standalone wheel, which is very easy to roll, and pretty much stands on its own until its speed is really really low.
, sorry to laugh but I’ve worked a lot of fintech and this is so painfully on point. I’ve also experienced the nirvana of a mature gitops system - getting there is really painful though (IMO)

the funny thing is, the fintech company in the example you gave likely sees nothing wrong with this. I’ve seen cases where the release cycle is once a month or longer, similar team sizes, and they don’t think they have an issue and would probably laugh at you or look at you weird if you mentioned ci/cd.
The interesting thing about testing values (like testing whether a number is even) is that at the assembly level, the CPU sets flags when the arithmetic happens, rather than needing a separate "compare" instruction.

gcc likes to use `and edi,1` (logical AND between 32-bit edi register and 1). Meanwhile, clang uses `test dil,1` which is similar, except the result isn't stored back in the register, which isn't relevant in my test case (it could be relevant if you want to return an integer value based on the results of the test).

After the logical AND happens, the CPU's ZF (zero) flag is set if the result is zero, and cleared if the result is not zero. You'd then use `jne` (jump if not equal) or maybe `cmovne` (conditional move - move register if not equal). Note again that there is no explicit comparison instruction. If you don't use O3, the compiler does produce an explicit `cmp` instruction, but it's redundant.

Now, the question is: Which is more efficient, gcc's `and edi,1` or clang's `test dil,1`? The `dil` register was added for x64; it's the same register as `edi` but only the lower 8 bits. I figured `dil` would be more efficient for this reason, because the `1` operand is implied to be 8 bits and not 32 bits. However, `and edi,1` encodes to 3 bytes while `test dil,1` encodes to 4 bytes. I guess the `and` instruction lets you specify the bit size of the operand regardless of the register size.

There is one more option, which neither compiler used: `shr edi,1` will perform a right shift on EDI, which sets the CF (carry) flag if a 1 is shifted out. That instruction only encodes to 2 bytes, so size-wise it's the most efficient.

The right-shift option fascinates me, because I don't think there's really a C representation of "get the bit that was right-shifted out". Both gcc and clang compile `(i >> 1) << 1 == i` the same as `i & 1 == 0` and `i % 2 == 0`.

Which of the above is most efficient on CPU cycles? Who knows, there are too many layers of abstraction nowadays to have a definitive answer without benchmarking for a specific use case.

I code a lot of Motorola 68000 assembly. On m68k, shifting right by 1 and performing a logical AND both take 8 CPU cycles. But the right-shift is 2 bytes smaller, because it doesn't need an extra 16 bits for the operand. That makes a difference on Amiga, because (other than size) the DMA might be shared with other chips, so you're saving yourself a memory read that could stall the CPU while it's waiting its turn. Therefore, at least on m68k, shifting right is the fastest way to test if a value is even.
I can understand your POV perhaps surprisingly well, as my father was secular growing up and then chose to join Protestantism in college (against his parents wishes). I wonder if at the end of the day it's just teenagers wanting to rebel. My dad's parents were secular, so he became Christian, and I became secular again. I can definitely relate to not enjoying support groups where the suffering is "valorized" to a certain extent. I think I was mostly reacting to the sentiment of superiority in general, but that is also an interesting case because it is pretty clear that families like that tend to have better outcomes overall (at least in monetary terms). My POV is that WASP culture in general breeds these perspectives, and also reinforces them because of the monetary and social inertia.
If done uniformly, sure, because the money would end up flowing to the government in the end. The problem is that it’s not done uniformly; it’s just making some booking site CEO richer.
Draft Sewage Sludge Risk Assessment
Question for all you people who have used Firefox before 2022: how did you deal with its poor spell checking?

I used it for a few years, but sometime around the end of 2021 I switched to Chrome because I got tired of the Firefox spell checker marking correctly spelled words as incorrectly spelled.

Here's a list of words I reported in 2020 and 2021 on the open issue they keep in their bug tracker for this problem:

ad hominem, algorithmically, all-nighter, another's, auditable, automata, backlight, ballistically, blacksmithing, bubonic, cantina, chewable, coaxially, commenter, conferenced, counterintuitive, dominator, epicycle, ethicist, exonerations, ferrite, fineable, hatchling, impaction, implementer, implementor, inductor, initializer, intercellular, irrevocability, licensor, lifecycle, manticore, massless, measurer, meerkats, micropayments, mischaracterization, misclassification, misclassified, mistyped, mosquitos, partygoers, passthrough, per se, phosphine, plough, pre-programmed, preprogrammed, programmability, prosecutable, recertification, responder, retransmission, rotator, seatbelt, sensationalistic, shapeshifting, solvability, spectrogram, splitter, subparagraphs, subtractive, surveil, survivorship, synchronizer, tradable, tradeoffs, transactional, trichotomy, tunable, underspecified, untraceably, untyped, verifiability, verifier, webmail

It was kind of puzzling because Firefox actually uses the same open source spell check engine that Google, Apple, LibreOffice, and many others use, and all those others had no trouble with any of the words that Firefox got wrong. This suggests that it might just be a dictionary problem and Firefox could simply grab the dictionary that say LibreOffice uses.

I mentioned that on one of my comments in the bug tracker and a developer said they were going to look into it but I don't know if anything ever came from that. All the words I reported now work but I don't know if they just added those to their dictionary or switched to a better dictionary.

Maybe I'll try doing my HN commenting from Firefox for a while and see if is fixed.
Why don't you start Mastodon from the place on the timeline you previously got off? I do that, and I scroll up to see newer posts instead of scrolling down to see older posts.
I never really got to enjoy those days. The path I'd typically take through Montana had a speed limit: 90 was about as fast as I could go and still get good enough MPG to make it to the next gas station...
You can disassemble and replace mouse switches quite easily and very cheaply if you already own a soldering iron and some basic tools - mouse switch failure is the typical reason for misclick double click problem
> and your kids are angry at you because now you are the bad guy.

Kids have been angry at their parents for parenting decisions since time immemorial. I don't think it's actually a big deal.
Apple in final stages of verifying TSMC's “Made in USA” chips
TV is vastly different, it’s tailored to demographics of watchers and at the time the understanding of psychology when it comes to marketing and retention was substantially less developed than it is now.
If that were a winning argument there would be a lot less fleecing happening. In reality there may be only one ISP, one airline with flights to where you need to go, two major smartphone OSes, three wireless carriers, one grocery store nearby, etc.

Vendor lockin is also a thing. Even if AWS is more expensive, the cost to move elsewhere can be prohibitively high.
The parent comment was not written by the same author.
Hate to be that guy, but which LLM was doing the generation? GPT-4 Turbo / Claude 3.x have not really let me down in generating ffmpeg commands - especially for basic requests - with most of their failures resulting from domain-specific vagaries that an expert would need to weigh in on m
Nvidia backs MetAI, a Taiwanese startup that creates AI-powered digital twins
He understands that truly no publicity is bad publicity anymore
Usually sensors stop working. I had a Kensington slimblade whose tracking light just stopped turning on, for example. No amount of cleaning will bring it back.
I keep hearing about a skills gap in the US for fabs, what skills or jobs are actually suffering from this? people with masters in nanotech, compeng, EE?

Perhaps there is a skill gap because nobody actually knows there is a demand? I have no idea what to recommend to people who are trying to choose a college degree.

With my industry in infosec, at least there are certifications one can take, even proper masters degrees these days. In my experience, there is no skills gap in cybersec, despite what CEO's and linkedin-types' sentiment. They just don't want to pay market price for skilled talent. "skills gap" has meant "we need more talent so we can pay less", there is no actual shortage of people who can do the jobs adequately.

Is it different for chip fabrication? and if so, how can regular people work/study to obtain these skills? If I, having read HN for years and reading about the fab process have no clue, how can regular people who don't visit HN?

If you all can help me answer this, I'll try to recruit a few people into pursuing the right career to help meet this demand.
Do you have your own cat?
Just like all other code. There will be user-respecting open source code and tools, and there's user-disrespecting profitable closed code that makes too many decisions for you.
I doubt there would be any meaningful resistance, TBH.
My theory, from the post: "All of this is likely tied to a relatively new feature called Loud Sound Reduction that only works if AirPods are in an active “Noise Control” mode. So Apple perhaps recently decided that everyone needed this feature enabled, and that’s why they made all these annoying changes to Noise Control? I can only speculate."

And yes, as JamesonNetworks suggested, the cynical side of me thinks Apple execs knew that this would negatively impact a subset of users' batteries and were at least OK with that (despite environmental/shortened-product-lifecycle implications)
The west is the strongest it’s ever been in its entire history.

O, no someone claims things are failing. Look people have been saying that for thousands of years it doesn’t actually mean it’s true.
I think your explanation about large numbers of motivated students pursuing lucrative Non-STEM degrees is incomplete without mentioning the cost of an undergraduate and graduate STEM education in the USA.

The most critical shortages of STEM graduates are in roles requiring advanced degrees. Your median undergraduate education (~$40k) and median graduate education (~$60k) saddles students with approximately $100k in unforgivable student debt! Never mind the years lost that one could otherwise be working. So it’s no wonder students are motivated by the ROI of their degrees, it’s why I chose Computer Engineering over Electrical Engineering.

These are expensive STEM degrees which students on visas are all too willing to pay for a chance at a residency and a pathway to citizenship. So no wonder the majority of undergraduate and graduate STEM students are foreign born in the US. The ROI is not worth it for the debt. We don’t have enough need based scholarships available to finance the STEM graduates this country claims it needs.
spidermen_pointing.gif
About LLMs and Energy
> Fetishizing the "nation of immigrants" narrative at the expensive of the native-born Americans who actually built most of this country's prosperity is, at best, ahistorical.

Most of those native-born Americans were the children or grandchildren of immigrants.
Off hand guess: reduce apparent battery life in order to nudge people to upgrading, thinking their batteries are going
Then can you merge all the clips starting when motion starts and see hundreds of planes fly across at once?
*capitalism
Sounds like you’ve got the technical chops down. No better time than the present to work on the hard part which is soft skills. People skills, networking, effective communication and so forth.

Also a good time to establish physical health habits. Better shape/good cardio/good diet = more energy.
No they're not. You clearly don't work at Meta or haven't. My team is all H1Bs, not a single one from the two countries you're referring to.

Also those two countries make up half the world population so if you're truly hiring global talent they should make up half that group
I don't maintain a blog so my opinion may not count for much, but I feel like if what you are trying to do doesn't fit neatly into an SSG's existing templates/themes, it may in fact be easier just to use pandoc and some simple tooling around it. Certainly when I looked into a few SSGs for the purpose of making a simple personal website (without a blog) I found I would spend more time trying to bend them to my will than just writing what I want in markdown and running pandoc on it.
I am not sold that this is a real thing in China in the first place. The main citation I can find is for the U.S. fake story about Xianjiang that is debunked on cursory inspection.
Yea "hd" doesn't work here.

Users can make google accounts with corporate domains but without gsuite hosting attached. The same concern applies to just @gmail.com addys. Google has gotten big on nuking inactive accounts now, what stops similar openings where a person's inactive account gets recreated by an attacker and waltz his way into SSO systems? There's some corporate systems (usually benefits) that allow personal emails attached to the same account as work emails for example.

I imagine the fact the author is writing that Google reopened the bug and is issuing a bounty means there are Google engineers more than aware of the issue rather than trying to argue what Google does and does not intend.
> nobody cares about the "insurrection" nonsense.

False. I care.
I understand that it is mostly regulated at the state level. I'm not sure about other states, but The Computer Science Standards for California Public Schools (Kindergarten through Grade Twelve) also tend to be followed by private schools. So they can claim their programs meet state requirements.

This brings computers into the classroom, and once they’re available, it is a slippery slope. It is easier for teachers to have students use semi-gamified "educational" apps rather than engage themselves.

Example for K-2 - https://www.cde.ca.gov/be/st/ss/documents/csstandards.pdf:

K-2.CS.1 Select and operate computing devices that perform a variety of tasks accurately and quickly based on user needs and preferences.

K-2.CS.2 Explain the functions of common hardware and software components of computing systems.

K-2.CS.3 Describe basic hardware and software problems using accurate terminology.

K-2.NI.4 Model and describe how people connect to other people, places, information and ideas through a network.

...

K–2 K-2.AP.12 Create programs with sequences of commands and simple loops, to express ideas or address a problem

K-2.IC.20 Describe approaches and rationales for keeping login information private, and for logging off of devices appropriately
This is not our concern? The US is safe.
I disagree, on the very same page it says:

> On topic: things people can run on their computers or hold in their hands. For hardware, you can post a video or detailed article. For books, a sample chapter is ok.

While it's posted on a blog, I would say it meets the criteria for having the video and write-up showing off the cool thing that has been built.

I think what that page is saying about blog posts is that you shouldn't post a Show HN as a 'look at this blog post I made about [some random topic]', as in when it's the blog post itself that you're showing off. It's not saying you can't post any blog post as a Show HN.
I don't know if it's related to the size of the setup, but (quick calculation...) I have 8 zones, seven with individual speakers and one of them is a Beam+Symfonisk Frame+sub surround thing.

We're on starlink, which is great but adds some latency to some stuff, and the new app has been terrible - barely loads, claims to start playing but nothing happens, volume adjustments take random amounts of time or may be ignore, all sorts.

But also when not using the app (just watching tv) the surround system is still pretty perfect.