skysight-inc/HackerNews huggingface dataset:
Yes- of interest:

China's Big Tech companies taught Asia to pay by scanning QR codes, but made a mess along the way

https://www.theregister.com/2024/06/17/asia_qr_code_obsessio...
Looks like there is both an ARM and x86 version according to the docs. Probably need two different binaries, but you still get cross-OS for each architecture.
One of the many reasons. The biggest reason the last place I worked at that did manufacturing was that there were import tariffs on components but not assemblies so they just built the assemblies in China.
> (...) Apple engineer “accidently” turning on lethal fluorine gas. Similarly, another incident, the TEOS leak, was root caused to an Apple engineer accidently installing the gas for a tool “backwards.” Further, less than two weeks following the April 30 2021 phosphine leak, Apple’s manifests included sixty pounds of “vacuum filters contaminated with glass dust,” implying there may have also been a phosphine explosion.

What the absolute @#$% is this??? Would I be wrong in assuming this should've made national news but was probably kept low thanks to Apple's deep pockets/connections?
I mean generally, not in this particular case. People who don't make money are often not eligible for e.g. student licenses, nor can they reasonably pay big money for commercial licenses. The hobbyist is a forgotten segment (but I'd argue it's an important one, as the person who is a hobbyist on the weekends might be influencing purchases during the weeks). Most big-box 90's software has this flaw (AutoCad, Photoshop, etc.).
> It wasn't that long ago that we considered the brain and a computer to also be quite similar

Many people in tech still think this. It will take a while to dislodge the idea that if you squint enough, cells, brains, etc. are all basically computers, because it flatters the egos of computer programmers.

There are genuine connections between specific biological systems and certain ideas in computer science, but most of the casual analogies you hear from tech people only serve to inflate their own perceived authority ("I know a lot about computers, and cells/brains are like computers, so here is my take about cells/brains...")
> why would anyone pay more money to get an inferior Pizza?

For the same reason that Starbucks exists in Italy, or Portugal, it is way more expensive, provides worse quality, and yet it managed to succeed.
I assume you meant "none" of the traditional incentives.

I know some very rich people, and I've thought about this myself.

My conclusion is that we ALL need ongoing challenges in life. For most people, working to pay the rent is enough of a challenge.

But those who face no financial obstacles need to "create" new challenges. Having lots of kids is one way. Or having an experience (space, or bottom of ocean), or a handbag, that none of your friends has.
Memory safety isn't a defining feature of rust in any way and with very very simple rules in C++ (no raw loops and not raw pointer access) you can actually just get rid of memory issues in C++.

There are also pretty easy solutions to indexing issues (reading past the end of a array for instance) which you can use at compile time or just by enabling a compiler flag to have that at least hard crash instead of memory corruption. That takes a lot of RCE vulns to simply DOS vulns which is a significant increase in "security".

Memory safety isn't the reason to use Rust. That's already available in well written C++, and many other languages. Doing it easily with a large group of people I would say is an argument for using rust. But then you need to argue why not swift or java or kotlin or golang a or any of the crop of languages coming out that also offers easy to code memory safety.
Works for sure:

$ file ./bin/python
./bin/python: DOS/MBR boot sector; partition 1 : ID=0x7f, active, start-CHS
(0x0,0,1), end-CHS (0x3ff,255,63), startsector 0, 4294967295 sectors

$ ./bin/python
Python 3.11.4 (heads/pypack1:6eea485, Jan 24 2024, 10:14:24) [GCC 11.2.0] on
linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.processor()
'arm'
A long-term contributor to LuaJIT (@corsix) added Arm64EC support and introduced the franken ABI at FOSDEM 2024, with a very entertaining talk: https://fosdem.org/2024/schedule/event/fosdem-2024-1762-arm6...
AI -> Machine learning -> Deep Learning -> LLM's - LMM's

new math for knowledge based systems <- ANN <- ML <- KRR <- LMM's
> 3. TCP is stream based, which I don't think has ever been what I want. You have to reimplement your own protocol on top of TCP anyway to introduce message frames

I'm always curious where frame proponents are going to buffer in-progress frames. OS? I have huge memory concerns. Also take note you want to drop in-order requirement and it means multiple in-progress frames. It's a very nice DoS vector.
All publicly traded companies with a fiduciary responsibility to their shareholders will always externalize any cost they can. The problem is bigger than Apple.
Wow: Import tariffs on components and not on assemblies sounds like corruption to me. No policy maker can be this incompetent
Certain design tools type sites like Canva or Pitch allow you to upload fonts and obviously control the content. They are frequently used by phishers to make official looking phishing pages on a trusted source, leading to a cat and mouse game where the companies try to catch phishing like indicators in the content and flag them up for human review or block immediately.

In that case being able to show arbitrary other text would definitely be a hindrance because the scanning software typically looks at the data stored in the database. However I think you don't need a Turing machine to exploit this — you could have a single ligature in a well crafted font produce a full paragraph of text.

Perhaps there's an alternative vector where someone's premade font on a site that doesn't allow font uploading can be exploited to make arbitrary calculations given certain character strings. Maybe bitcoin mining, if you could find a way to phone home with the result
> Practical B-trees often use fairly large values of k (e.g., 100) and therefore offer tight bounds -- in addition to being more cache-friendly than binary search trees.

That is true on-disk, where you would not use BSTs anyway. In-memory, mid to high single digit values are practical. For instance iirc Rust’s btree (map and set) uses something like k=6.
Apple doubling down on the evil. No wonder the stock is up.
A Rich Neighbor Named Xerox
The author of this has been on a crusade against Apple for years, stemming from an incident that was probably hypochondria. They've outright lied about multiple incidents (see https://twitter.com/shantinix/status/1433297575914971136), and I would very strongly doubt any new claims made. For example, a spot check of one of the claims has them currently saying "Still, Gjovik’s limited testing returned results showing a number of the chemicals in use by Apple at ARIA including Acetone, Acetonitrile, Acetaldehyde, Benzene, 1,2-Dichloroethane, Ethanol, Ethylbenzene, Hexane, Isopropanol, Isopropyl toluene, Methylene Chloride, Toluene, and Xylene."

But, in 2021 (at https://sfbayview.com/2021/03/i-thought-i-was-dying-my-apart...), "I wanted to get some formal data in the brief time before I moved out, so I hired an industrial hygienist to sample the indoor air and some of the topsoil. Despite the $1,555 I had to pay for it, the results were inconclusive."
I believe the whole project, and the talk of stores in particular, is humour. At least that's how I read it. I appreciate not everyone has the same sense of humour so that may have passed you by.
> In early 2015, Apple started stealth semiconductor fabrication activities in a facility located at 3250 Scott Boulevard in Santa Clara California, less than two hundred feet from thousands of homes. The factory intentionally vented its exhaust of solvent vapors and toxic gases straight from the roof and into the ambient outdoor air, with little or no abatement. The factory was only one story while the apartments were four stories tall, nearly ensuring the factory exhaust entered the apartment windows and 'fresh air intake' vents.

> Gjovik lived at these apartments in 2020 and found herself in the emergency room within one week, disabled by symptoms of solvent and gas exposure. Later in 2020, Gjovik conducted air testing and bio-monitoring which found the presence of Apple's factory exhaust inside her home, and inside her body.

Source: https://www.ashleygjovik.com/3250scott.html

Furthermore, we're talking about a company that willingly sources materials from effective slave labor in the Congo and other areas, while gaslighting their customer base about their commitment to inclusivity. There is no defending Apple here. These decisions are made by multiple people who should all be in prison.
Update: some of those that I labeled as Mifare Classic are actually Mifare Plus, it's just that the app I'm using didn't distinguish them ¯\_(ツ)_/¯
More details: https://mastodon.social/@ashleygjovik/112668309100333232
It's merely coincidental that the US supplies them with weapons, stations tripwire forces nearby, maintains diplomatic relations and strategically coordinates with Taiwan.

I'm not sure what the State Department has to say about it, but looking at the facts it must not be a very good reason.
This is the original reason for having /bin vs /sbin

The sbin directories are supposed to contain "system" (or superuser) commands, and regular users should NOT have those directories in their PATH.

This has been broken for a long time on every distribution I've looked at though.
I like how Apple got the city HazMat to tip them off to the EPA inspectors, personally. Is that a new “best practice?” I am taking notes.
I have never come across a Buddhist source saying that some people are inherently more advantaged than others.

But I did come across some interviews of great Tantric gurus, and they all say that some people are more in inherent advantage over others in terms of spiritual progress.
Oh, flash cards. I’ve never used them but memory is a muscle and it must be exercised. There has to be something more fun, though.
It's not corruption. It's naive legislation written by idiots and complex HS code manipulation.
What if the maintainer is assumed to be an LLM?
A "Carmack Complete" system as I've started calling them.
The first episode of my new blog series is live! This series dives into frame pointers and their critical role in building a CPU profiler.

This episode will explore the fundamentals of a program's execution environment. By the end, you'll understand how frame pointers become essential for stack walking, a key technique in profiling.

The second episode will tackle the practical side by diving into coding a simple sampling-based profiler with the Linux kernel assistance.
Sure, just don't call it a "whoops-a-daisy" when we're talking about severe poisoning of potentially hundreds of people.
Have the cats figured out that the skinny one gets more food?
There should be more strict zoning laws. You can't have industrial processes happening anywhere near homes like these. I thought California was strict on zoning?
The SIMD part will be emulated as normal, as far as I understand. So you can ship a first version with all-emulated code, and then incrementally port hotspots to native code, while letting the emulator handle the non-critical parts.

At least in theory, we'll see how it actually pans out in practice.
Have you heard about « Climate change »?
This would close down whole departments and wouldn't solve the problem of the wrong ranking system by citation.
A more important step towards truth would be to rank research based on accuracy of predictions and independent experiment reproductions.
wait/waitid/waitpid/wait3/wait4

dup/dup2/dup3

creat/open/openat/openat2

cough
Biden’s revisions

https://www.whitehouse.gov/briefing-room/statements-releases...
Is "jhana" a separate word or just a alternate spelling (if I may, an incorrect one) for "dhyana" which means mental focus / meditation?

(I am referring to the Sanskrit word which is also the root for many indian language words that mean the same -- dhyaan in Hindi, or dhyaanam in Telugu)
ParaLLM: 1300 Tok/S on a MacBook
I share your skepticism, but the EMH doesn't mean stocks would never move in price.

After all, if it's election day, my analysis says FooCorp is worth $50 under a Biden administration and $100 under a Trump administration, and the candidates are neck-and-neck, that means the shares are worth $75. But tomorrow the shares will have either gained or lost $25.
> Ironically I see with your last point regarding golang that we are very different people ans thats fine. For me I would much rather lean back towards C if I can guarantee safety than the more abstract and high level rust. Honestly I am extremely intrigued by zig but until it's stable I'm not going near it.
>
> We want different things from languages and that is fine.

I just wanted to tell you that I agree. A lot of what makes people like or dislike a language seems to be down to aesthetics in its nobler meaning.

> The time I did, was recursively accessing different parts of a pretty central struct but the borrow checker concidered the entire struct a borrowed object.

Ah OK. It helps to model a borrow of a struct as a capability. If your struct is made of multiple "capabilities" that can be borrowed separately, then you better express that with a function that borrows the struct and return "view objects" representing the capabilities.

For instance, if you can `foo` and `bar` your struct at the same time, you can have a method:

`fn as_cap(&mut self) -> (Foo<'_>, Bar<'_>) { todo!() }`

and have the `Foo` borrow the fields you need to `foo()` from `self`, and `Bar` borrow the fields you need to `bar()` from `self`.

Then you simply can call `Foo.foo()` and `Bar.bar()`.
I find it surprising that apparently she's suing Apple not only for dumping toxic chemicals into the air directly next to her apartment, but also for an unrelated case of Apple's security videotaping the women's toilet rooms.

That chemical court case seems very strong to me, with multiple indipendent parties having measured the gas in the air. (Edit: and multiple government agencies reporting chemical accidents at Apple) So it doesn't seem like she's trigger happy to sue, which would imply that there might also be merit in her other case.

Good thing Apple never had "don't be evil" as their slogan ;)
I'm not in the US. There are other countries with this problem :)
> unlimited-length

Where to keep in-progress frame data? I case of TCP it's an app and buffer for only a single frame or app even could make "stream processing" for in-progress frame.
Fair enough. I went through qr code of my previous metro ticket to see what info they encode. It is non standard so there were
- some hashes
- type of ticket, in my case single use,
- time of issue,
- valid upto time, approx 10hrs, approx journey time was only 30 min
- ticket id
- I could not directly see source/destination address, but it is my hunch that atleast the destination address is encoded

Now this one time ticket needs to generated before entering the metro station and the qr code is scanned at * both entry and exit*.

I think the entire system works on daily rotating ticket id validated using unique hashes where a ticket validity period is tracked. I think this should be enough to ensure non-reuse of same ticket.

The caveat is, I have always only bough one time ticket which is the only mode allowed in qr. For daily traveller's, they need to buy token/card which is NFC based.
Your slander doesn't mesh with the EPA report.
HP's first Copilot+ PC smashes MacBook Air battery life
Spaced repetition, through flash cards or another tool, is pretty much the gold standard in terms of optimizing your memory. It really doesn't get much better than that. Flash cards aren't super exciting, but realistically even 15-20 minutes a day is enough to learn and remember a ton of stuff.
This is solid advice. Don't desire anything from the process of meditation. Just do it. Some worldly benefits will arise, and you shouldn’t chase them either.
I wouldn't listen to a knowledge based podcast without an LLM at the ready and that makes it a rather different experience to the other kinds of podcasts available. I suspect the hosts will start to get wind of this and just glance a lot of surfaces and let the audience branch out as they want.

Entertainment could just become a prompt example dive off point for the user to remix to their liking.
Motorcycles are absolutely the worst. Even when they drive as slow as possible, to make less noise, they're still noisier than some cars. This is insane. And what's frustrating is that this is considered a feature, not a bug. I don't know how we can get out of that particular culture. I'm not sure electric motorcycles would help at all.
My "slander" is a quote from the author.
How would complaining about this be received in China? I guess you have very few rights.
Hey it's just a discarded rocket first stage with hypergolic propellant, no need to worry if it falls on a population center.
I recognized her name when this story dropped. She’s been on an Apple vendetta for some time.
Yeah but when you come to halting problems on that level of complexity multi-hierarchical-emergent phenomena occur aperiodically and chaotically that is to say in the frequency domain the aperiodicity is fractal like, discreet and mappable.
> Occupying Taiwan only burn bridges with the West. Other than China asserting themselves, what is the point?

China wants to control the sea near its coast. If they imagine a future world power that wants to oppress them, they could see that as a problem.

Controlling the sea is also a very profitable thing.

Finally, to the Chinese, controlling the sea near their coast only seems fair.

None of that would be enough to push most world powers to war, but China remembers the Opium Wars and WW2. China is deeply affected by their "100 years of humiliation."

The problem is: If China gets what it wants, it could have the power to absorb Taiwan, S. Korea, Japan, Indonesia, Malaysia, The Philippines, Australia, and many more countries. It is very tempting after invading Taiwan to reuse the same military for further expansion.
I don't know either side, but between a non-profit who calls for a11y testing of their product and then replies "patches welcome" to a report of a critical bug, and a dude who's complaining about said bug I feel like the non-profit is being a jerk.
This is also what I wonder. So far the EPA has found a few faults, but with only one self reported case of humans affected among thousands of potential victims this whole story could still tip towards either "this is bad but all too common" and "this is a gigantic scandal of obscene proportions." The latter one makes for a better news story and twitter threads, but that also doesn't make every suspicion in there true by default.
The jury's still out on that one.

Personally, I don't think the GUI's yet been invented which can reliably wrangle LLMs to those ends.
This is in line of when I worked in a semiconductor lab in suburban UK in the 90s. We had a couple of local residents report problems immediately even though we hadn't even started fabrication at that point. They eventually sent out a press release saying that we had moved manufacturing to Scotland. The complaints stopped instantly. The lab was running until at least 2017 with no complaints and regular inspections from local authorities.

YMMV but some people are crazy. The EPA is however not. But what the EPA say and what the woman claims are disparate.

Edit: to be clear I'd expect the EPA to install independently maintained monitoring equipment which is not subject to the bias of Apple or the reporter. Then collect more data!
Thanks. I didn't really promote this outside #commonlisp on IRC and Hacker News (linked by dang earlier).
I worked with about a dozen or so for a few years and from what I saw they are nothing but one layer of horror built upon another. The incentives are so misaligned that the distinction between "scam" and "incompetence" is virtually meaningless. There is absolutely zero sense of financial reality or proportion present anywhere. If your organization spends $500,000 to rescue one dog but gets a lot of media coverage and banks a ton of photos and video to use in future fundraising efforts, this is a win. If next year you spend $10 million on marketing and development events and are able to raise $10,600,0000 for your efforts, that's also a win.

One especially crazy example of this thinking is the constant internal fundraising efforts. Most of the organizations I worked with were constantly doing internal fundraising, e.g. collecting donation from the same employees they were paying. These efforts would consume absolutely enormous amounts of on the clock employee time on frankly quite childish activities (think accountants doing arts and crafts with markers and construction paper) to raise a pittance in donations from their own employees. Most of the organizations did this once per month. In some cases this consumed an entire workday for a large proportion of employees for an average donation of $5-$15 dollars.
> You are confusing the TBD Devastator with the TBF/TBM Avenger.

You are correct. I apologize.

The TBD Devastator was a disaster compared to the ready-to-use Fairey Swordfish. FDR and Nimitz screwed the pooch on that one.
There was an interesting article recently about research in bioelectricity, on how each cell is equipped with the same mechanisms of data transfer and storage as a neuron is. Definitely big if true, the implications of that are crazy:

https://www.bitsofwonder.co/p/a-revolution-in-biology
I want to do this, but it will cost me bandwidth and CPU cycles. What is the most efficient way to pollute these nasty AI profiteers?
You haven't shown the lie you claim exists. Those could be references to completely different tests. (Or not, but from the limited information we can't say either way)
Or third world countries in general. As sexy as made in home country sounds, modern day manufacturing is truly deadly.

Look at the chemical exposure Samsung treats their workers to. It happened in south Korea, but that's an other country, so it didn't matter. But it also happened in Canada, now it's news.
> Maybe our machine was in need of some oiling or adjustment. The Model 33 was designed as a light-duty machine, unlike the more rugged Models 28 and 35.

Yes. The spec for the Model 33 says that it is rated for one year of continuous operation without lubrication, three years with lubrication.

The models 14, 15, 28, and 35 were designed for a much longer life. I have some Model 14 machines coming up on a century and still working. But there is a price to be paid in maintenance and lubrication. Those machines are totally repairable - you can take them completely apart and put them back together. I've overhauled five of the older machines.
There are over 600 oiling points, and you need both oil and two different greases. Nobody would tolerate an office machine today that required such maintenance.

Think about that when you look at iFixit scores.
I don’t know. As a shareholder it sounds like the dumbest move ever. In what universe would it make sense to have a fab so close to an appartment building and vent toxic gas. It’s a PR disaster waiting to happen. Whatever savings you make by avoiding regulation you pay back in fines and reputation damages.

What is it they saved here? Could they not fab this in a less populated area and just follow a few more regulations. We’re not talking about a company with razor thin margins. They spent outrageous amounts of money building the spaceship HQ.

I genuinely want to understand if this is stupidity or if there’s really a profit incentive that makes “fiduciary” sense.