skysight-inc/HackerNews huggingface dataset:
> Then, while there is still some residual burning sensation remaining, the flush of endorphins gives this blissful, albeit a bit drunk, state (“Live is beautiful, I love you all, awesome…”).

Or, as they say in German, "es ist schön, wenn der Schmerz nachlässt" (it's great when the pain goes away). Then again, you also wouldn't intentionally hit your finger with a hammer to experience this feeling - so my approach to spicy food is "know your limit": I enjoy it in moderate amounts, but keep away from the kind of spicyness where after a few bites you feel like your mouth is on fire and you can't taste the food anymore...
Won't somebody please think of the children??
Only to be deeply confused when ifconfig is missing...
Previous: https://news.ycombinator.com/item?id=33419317 (7 days ago)
it's fascinating how nobody learned from history. Banks and bankers have been heavily regulated as you said, "over centuries".

Still today, we get lured by the same businesses (because all these lenders were just banks/financial operators) but without any of the safety nets we have in place when we work with "old school" banks.
Also for tagging your dives. Your watch would know where you descended/ascended.

It’s great for when you’re in the middle of nowhere on a liveaboard and you forget the names of the dive sites. My Suunto watch uses the phone’s GPS for the same purpose.
“Apple introduces X” in a PR statement implies that Apple is the product owner. Which it’s not.

“Introducing Oceanic+ for Apple Watch Ultra” is a better title as it removes the conventional idea of product ownership.

Whether or not Apple is directly involved in development is different, as they often have many different partners to showcase new product functionality, and none of those would be suited to “Apple Introduces X” titles either.
I just tested "<ol></ol>" in VoiceOver on Mac and nothing gets read. Different screen readers are notoriously inconsistent though.

> I wish there were a best practices doc + a matching linter for accessibility things like this.

This sounds like it was meant to be a fun tweak/joke for screen readers but it's accessible without.

So it's not practical to automate a lot of accessibility checks like this one because it depends on context and there's subjectivity to it, similar to visual design and text readability. The best way to get more of a feel for this is to try a popular screen reader for your OS, do the tutorial, and try it on the page yourself.
UH... didn't Intel actually stop including AVX 512 in their newest (alder lake) processors? This seems unlikely. ie, https://www.tomshardware.com/news/intel-nukes-alder-lake-avx...

>"Although AVX-512 was not fuse-disabled on certain early Alder Lake desktop products, Intel plans to fuse off AVX-512 on Alder Lake products going forward." -Intel Spokesperson to Tom's Hardware.
Scuba diving is a fundamentally dangerous and expensive hobby. I don't know if this will make a big dent in the cost of a dive. FWIW a snorkel and a pair of fins are pretty cheap. For ~$50 you can have a lot of fun swimming around exploring coastal ecosystems without needing to stress about signals, equipment, safety stops, or any of that stuff. This is a lot closer to democratizing diving than anything else.
From over a decade ago, I really enjoyed this clay animation on C pointers: https://www.youtube.com/watch?v=5VnDaHBi8dM , http://cslibrary.stanford.edu/104/
Unfortunately the very properties that make plastics sit around in landfills - their resistance to being broken down by the environment or living organisms - are exactly the properties you want for packaging. You either find good methods of recycling or disposing good packaging material, or you change your behavior so that you're utilizing less packaging material. Anything that could be replaced by a dissolvable film probably doesn't need to be there in the first place.
80% of the CO2 is in the operation and servicing.

https://www.iea.org/data-and-statistics/charts/comparative-l...
Apple's Extreme Dependence on China Can No Longer Be Ignored
I think what one has been forced to do is find sources/propaganda like RT or Al Jazeera, BBC, Xinhua, Times of India and then distrust things where they have a dog in the fight and then triangulate where they don't have a dog in the fight.
There are some serious copyright implications if the initial design of anything is going to be done by an "AI". Because copyright cannot be granted in AI work, any subsequent work based upon the AI's original creation will have to be scoped out from its relation to the original work, not leaving much for copyright to protect. This is a business concern for any business that relies on copyright to ensure their materials are not copied (pretty much all businesses).
Taking VC money and spreading it to the winds is the opposite of destruction of value, it's making that money actually useful if it lands in the hands of normal people.

Bless the cryptocurrency community, involuntary Robin Hoods that sucker in both users and VC to redistribute it all when it inevitably fails
> I based my comment on the description in the article.

I see, indeed the author did not explain entirely what was going on in the optimizer. Though he's correct that overflow is what causes the UB.

> I do not understand why the compiler would divide inside the 'if'...

Why not? A division is expensive, it makes sense to do it only if the result is used. Anyway the problem is not (just) the division, because you would still have problems if the compiler removes the comparison with 0 and also decides to use a signed division -219803776/65535.

Interestingly, there is also a chance that the compiler uses a double-precision intermediate result for the multiplication, using the x86 instructions IMUL and IDIV, because 65535>511 i.e. the final result is always smaller than the input (assuming infinite precision for intermediate results). In that case the compiler "fixes" the overflow entirely for you, but it can only do so exactly because the overflow is undefined behavior.

That does sometimes happen, and with macro expansion the similar "x = a * 10 / 100 -> x = a / 10" optimization also happens, but nobody complains because it fixes bugs in their code... ;)
Why crypto v dollars or another existing currency?
As a curious FE developer with no C experience, this was very interesting. Thanks for writing the article!
From Feb 13, 2021
https://archive.ph/o9bDU
The Class Where Future Bosses Learn How to Deliver Bad News
It's not all or nothing. If you have an interface that would be easier to do with UIKit, simply use UIKit.
After more than a decade without writing any C code, I'm currently reading "C Programming: A modern Approach" by K. N. King (http://www.knking.com/books/c2/) and I found it very good. I think it's a better modern alternative to the K&R.
> How do we get the DOM? The browser knows how to create it from an HTTP request consisting of a URL, some headers, and some HTML.

I would already call this bit into question. At least originally, the "document" was only the HTML part. The task of HTTP was to shuffle the document around, not itself be part of the document.

In practice today, most documents have a HTTP request attached to it, but you can still see the issues if you try to load HTML from a file or from cache. What is the corresponding HTTP request for that?

I sort of can see the appeal of styling by URL, but that too seems in danger if opening a huge can of worms. Suddenly, you can't test styles locally anymore, because the domain name now influences the selectors. Also, if you move domains and forget to update your styles, suddenly your site will be broken.

> Setting aside the open-ended possibilities people might dream up with non-standard X- headers

What possibilities would that enable that couldn't also be done using data-* attributes?

> imagine being able declare some styles based on the presence of a cookie

Ok, that might be a useful idea after all.
True, but the problem is that that is today better done on vector hardware like a GPU or other ML hardware. The world has sort of diverged int to two camps: vectorizable problems that can be massivly paralleleized (graphics, simulation, ML) and for that we use GPUs, and then everything else is CPU. What i think linus is saying is that there are few reasons to use AVX-512 on a CPU, when the is a GPU much better siuted for those kinds of problems.

You could say that the intersecting area in the ven diagram of "Has to run on CPU" and "Can use vector instructions" is small.
In the legal sense, a 'Ponzi Scheme' has a specific meaning. In conversation, the definition is a bit looser. Sorta like how expressive has a different definition when you say 'that is an expressive programming language' and 'that is an expressive face'.

Crypto, as a whole, is about early adopters trying to convince newcomers that crypto has value. If the early adopters can't convince anyone that crypto has value, it's just a bunch of math and wasted electricity.

Early adopters try to convince laymen to 'invest' in crypto (i.e. buy crypto from the early adopters). Then the second generation crypto adopters have to find new marks to buy their crypto. Ad infinitum, until someone is left holding the bag. Then you sprinkle in some jpgs that people purchase despite anyone being able to right click and save it, rug pulls, and overall idiocy that happens when you give people billions of dollars without checking to see if they're observing basic organizational principles (i.e. are they running payroll out of a Slack room?).

Mingle it all together and you get a house of cards that's remarkably similar to a Ponzi scheme, yet doesn't exactly fit the bill. Sort of like how MLMs are legally distinct from Ponzi schemes for... reasons, I guess.

Saying that crypto shouldn't be considered a Ponzi scheme is a bit pedantic when the outcome is the same (i.e. the last person is always holding the bag, so you have to keep trying to convince someone to buy into your idea).
I predict a riot.
Show HN: Building a Kubernetes Dashboard in Notion
A few years back I did something called 'master the mainframe' where they provided a TSO login for you on an instance running in one of their labs. They also provided you with a bunch of fun exercises to learn more about the system.

I think this is the equivalent - https://ibmzxplore.influitive.com/users/sign_in
That would work for a while but if you ever needed to set it up on a new Wifi network you would be screwed, as the app is required for initial setup.
I haven't touched a mainframe in over a decade(and i was only ever doing user administration on one) but from my experience with hpux and other legacy platforms a big part of the reason is that the actual information about the core platform lives in old hardcopy textbooks and paywalled vendor documentation, and because a lot of those platforms are "feature frozen" the old textbooks are still valid enough.

And on the application side you are typically dealing with databases and Runtimes(Java mostly) that also exist on Linux and have an large Linux centric community where any legacy programmers and admins kind of drown in the masses.

There is a whole bunch of companies out there with large COBOL and ALGOL code-bases but but as the problem here is less about generic mainframe skills and more about knowing how to work large COBOL or ALGOL projects.
> the private property owner retains title even as the land’s assessed value plummets to zero.

I was told by my accountant friends that land couldn't be depreciated.
I work in this field of research, and right now, there are many people trying to reach the ultimate goal of "anyone can take their existing code, and my tool will run it on an FPGA and will be 100x faster / 100x more efficient". I don't know if this is the right goal to reach or the best way to get there, but many players are highly interested (academic and industry).

On the hardware side, FPGAs are both a blessing and a curse. They are complicated. Building medium-large designs using existing tooling always takes on the order of hours. EDA tools are hard (open-source tools like VPR help but don't solve all the problems), but some more traditional software engineering investment in these tools could lead to huge improvements. One solution to avoid long compile times is making semi-generic "overlays" designs which are built once and moving the application configuration to runtime with some flexibility and performance tradeoffs (ex. OverGen). There is also some work in compartmentalizing the code into HW compilations units for better parallel compilation by existing tools (ex., RapidStream). You can also try to innovate the hardware itself (ex. monolithic 3D FPGA, CGRA, ...), which I think has the most potential for novel advancements in performance.

On the software side, LLVMIR and MLIR are the tools of choice, with examples such as high-level synthesis tools and also deep-learning compilers. High-level synthesis has huge potential, but most implementations limit themselves to subsets of C++ with pragma hacks for hardware optimization directives. You can stack tools on top of HLS that transpile high-level languages to HLS and then compile the HLS (ex. PyLog), and these tools can integrate directly into specific ML frameworks (ex. ML4HLS). In my work, I have gotten pretty good a building simple one-off Python-based end-to-end transpilers for subsets of deep learning architectures and can prototype FPGA demos within a week of work. Ultimately, these approaches are becoming outdated and not sustainable in the long run, leading to the exploration of more generic approaches. Ideally, I am interested in people trying to build new HLS tools (ex. XLS) or making first-class support for FPGA backends in an MLIR flow.
John Negroponte wasn't a founder of the OLPC project. His only involvement IIRC was in helping Nick negotiate the Intel partnership for OLPC.
Having basic experience in any assembly language makes pointers far more clear.

"Addressing modes," where a register and some constant are used to calculate the source or target of a memory operation, make the equivalence of a[b]==*(a+b) much more obvious.

I also wonder about the author's claims that a char is almost always 8 bits. The first SMP machine that ran Research UNIX was a 36-bit UNIVAC. I think it was ASCII, but the OS2200/EXEC8 SMP matured in 1964, so this was an old architecture at the time of the port.

"Any configuration supplied by Sperry, including multiprocessor ones, can run the UNIX system."

https://www.bell-labs.com/usr/dmr/www/otherports/newp.pdf
It's human instinct to survive time will tell if this new thing is comparable to a real dedicated diving computer. Diving is dangerous.
>And at the bottom of it all, one of the first dominos to tumble, was a company called 3 Arrows Capital, which promised to generate revenue by buying crypto-dickbutt NFTS... and then went on the run. I'm not even kidding.

They lost borrowed funds in a ponzi scheme called Luna. I get that you wanted to poke at nfts, but the last remark may make someone think this is how it actually went down.
832 pages is not a "better alternative."
> But both the backup regulator and dice computer is on your companion. You don’t dive with two yourself.

You're entirely welcome to have backups. I dive with 2 lights, and if the Apple Watch didn't require a subscription I'd gladly buy it to also dive with 2 computers. My divemaster had a second bottle with its own independent octopus for cave diving.

Anything you can afford to double (both financially and in terms of practicality/weight/encumbrance), by all means, go ahead and do it. Triple it if makes sense.
As far as I know only interest you can earn on Coinbase is from staking coins - and Coinbase actually takes a portion of that profit for themselves.

I remember looking at all of these now defunct businesses wondering just how they could have such high interest rates on your coins. In what should be a surprise to no one it was too good to be true.
> […] and 30-40% cheaper with performance loss incurred for the workloads I am interested in.

Should read: «… with no performance loss incurred for the workloads I am interested in». A typo crept in.
ehh, Bostonians literally ignore traffic signals and routinely cross when the car has a green light then start swearing when they almost get hit
I think that's what "if you aren't into parsing (but not using) JSON" is supposed to be referencing.

And, "It's not only some JSON parsing library, you'll find it in other libraries too. I suspect the most use it gets in many situations is - drum roll - implementing memmove/strchr/strcmp style things. And in absolutely zero of those cases will it have been done by the compiler auto-vectorizing it."
See also:

"Hello World on z/OS" (2018)
https://medium.com/the-technical-archaeologist/hello-world-o...

Hn discussion:

https://news.ycombinator.com/item?id=17642846

I seem to recall IBM launched z/os in the cloud as partly a production service, and partly an education/hobby resource a while back - but I'm not sure if that's what's now:

https://www.ibm.com/cloud/pricing

I think it came with access to db2 as well?

Ed: I was probably thinking of IBM LinuxOne:

https://developer.ibm.com/articles/get-started-with-ibm-linu...
I’m not sure I’d say pure JS is easier to contribute to. Having type information around your codebase makes it much easier to know what comes from where, even if you haven’t traced the source of the variable all the way to the start.

Like, you are theoretically correct, but practically the extra complexity of using Typescript over Javascript is running ‘npm install typescript’ after installing node. You certainly have less build tooling without tsc, but the benefit there is tiny.

There’s some mild reasons to go for pure JS, and a lot of absolutely gigantic reasons to go for Typescript (in my opinion).
> just HN, a small part of the bigger picture.

Yep, totally, very small picture.

Personal experience, though, I was laid off in August 2022, first time in my 18+ year career. I found something else, but recently, many friends and ex-coworkers also were laid off from twitter, meta, and other techs.

Hence I finally had time on my hands to code this up while waiting on interviews and such.
You're awfully ungrateful to the "porno morons" that are often first movers on innovative new tech where more traditional business models (being generous with that definition here) play it safe with cowardice
Ding ding ding! Crypto isn’t cool to majority, nor do most want to (or need to) care about it. People want to spend money and if crypto makes that happen so be it. Society had been sending money for awhile without crypto and the edge cases crypto addressed are just that, edge cases.

I’m intrigued by crypto but merely because I’m a nerd. I don’t care about crypto when it comes to my day to day life.
Which cracks first, your mind or the toilet bowl?
I remember just as the pandemic was kicking off someone at work tried to convince me that they were all going to get rich on a pornography based token (pornies or spermies or something like that. Whatever it was it was the murkiest sounding thing ever.) I haven’t looked it up to see how that worked out in the end, but my guess is he’s still waiting for his riches.
The biggest "adult in the room" by far, whom was pushing for regulation, turned out to be another scammer that was simply trying to regulate away his competitors and enshrine his own fraudulent crypto scheme as the only sanctioned one.

The crypto community's truest Scotsman proved to be just as terrible as everyone outside perceives the crypto space to be. Benefit of the doubt simply can't be given for what "reasonable crypto people" say at this point.
If you grew up poor a few decades ago, you probably saw your parents begin every journey praying the car would start. Because loads of vehicle faults manifest as failing to start - flat battery, spark plug problems, cold weather, no fuel.

Starting the engine is a stressful experience if you're used to vehicles where sometimes the engine won't start. Especially if you're at the front of a queue of traffic.
Honestly, I'm speaking from personal experience with both drugs. When you're talking about overdose on dextromethorphan I think you're mischaracterizing. The LD50 of dextromethorpan is 150mg/kg in mice. A dissociative/psychedelic dose of dextromethorpan is 300-500mg in an average adult. A typical cough medicine is 15-30mg per dose, and a bottle usually has no more than 250mg or 300mg. Nobody is "accidentally" hitting a toxic dose. Overdosing really means: getting somewhat similar effects to ketamine -- along with a nasty dose of dizziness and nausea. To have an extremely serious reaction to dextromethorphan that is drastic, you'd have to consume multiple bottles of cough syrup.

On other hand I've been in, and had friends in, so-called "k-holes" because of doses of ketamine that were too high and the experience was ... awful. Imagine thinking you're dead, but you're still conscious.

Both are NMDA antagonists. Both provide emotional and physical dissociation. They are in the a similar class of experiences.

Psychotherapeutic doses of ketamine are not one-time. At least not from the reading I've been doing. They have been found to be more effective done over several sessions. I honestly worry about the potential for bladder damage because it has not been studied well and also this kind of treatment is something we're looking into for a loved one
Bitcoiners have been saying this whole time not to keep your crypto with a 3rd party and this is exactly why. Satoshis original message about Bitcoin mentions explicitly you don't need any trusted third party. A whole lot of people think they can make money outsmarting the original concepts of Bitcoin and they get scammed in new ways each cycle.

https://nakamotoinstitute.org/trusted-third-parties/
Batch processing extracts the data at a specific time and then applies transformations on it. The differences in schemas of incoming data sources during processing aren’t that significant and can be resolved in a data pipeline. Batch data pipeline travels between various data teams and collaboration becomes difficult. The tools available for batch processing are hard to learn and deployment is difficult as well.

In contrast stream processing systems have more than one data source each having its own schema different from others and its own requirements. Data is transformed and analyzed for each source in parallel.There are multiple target systems that request data simultaneously and it’s hard to troubleshoot if something goes wrong.

However, by resolving the challenges associated with stream processing an efficient data pipeline can be designed. One of the platforms that provides low-code solutions for stream processing is Memphis.dev. Memphis.dev is the only low-code real-time data processing platform that offers a full ecosystem for in-app streaming use cases using a produce-consume paradigm that supports modern in-app streaming pipelines and async communication by removing frictions of management, cost, resources, language barriers, and time for data-oriented teams, in contrast to other message brokers and queues that require extensive coding and time.

It provides support for maintaining and defining schemas, collecting data from multiple sources and taking actions based on events. It integrates with a variety of other third party tools as well. Memphis.dev gives stream processing an advantage over batch processing.ה
if anything collapse of Luna, FTX and BlockFI showed that regulations are not urgent or really needed. Regulations in finance are needed when collapse threaten real economy or regular people (similar to contagion from housing market or Bear Stearns in 2008 financial crisis). With FTX collapsing with zero repercussion on broader economy, why regulate it? If people want to play casino, let them play casino.

Right now crypto is a closed ecosystem with no practical use cases beyond gambling or ponzi. Crypto failed as anti-inflation hedge. If real businesses or people start using crypto for something useful then regulations will be needed but this time is not now.