skysight-inc/HackerNews huggingface dataset:
> If only they didn't put the power button on the bottom.

Question for HN: How would you redesign the power button, assuming you work at Apple and the final design should align with Apple's design ethos?
I never like automatic opt ins and I wish they were banned.
Also have a 12yr old in NYC and I would never let them ride the subway alone, nor do they have any desire to.

I think perception and experience (direct or indirect) makes a bigger difference than just "where do you live". Some people might be scared by the media, sure, but we have both been personally assaulted several times on the train, and many more times simply freaked out and scared by weird people, and we know lots of others who have had similar experiences or worse, so based on that, no I don't think it's an irrational fear for everyone.
Sounds like the extra cost is paying to support a sustainable business model.
We started routing emails from our shared inbox to our API with a bunch of regex to look up who the email belongs to.
I just read a reddit post somewhere about someone putting a voice ai button on their shopify page and it boosted their sales. Sometimes people have simple questions that they would like answered but can't find on a website.
I don't think so? It is too late for me to actually do the math on this but if you take the degenerate case where the tile size is literally 1 element then you will do as many loads as arithmetic operations. Thus I would consider any sort of fixed tiling (which you would be resigned to due to your caches being of limited size) requiring O(n^3) loads?
When did I say having more RAM increased memory bandwidth? Are you having a separate conversation with yourself right now? I feel like you might have misinterpreted what I originally said and just ran with it.
tank youth for the bone apple tea!
Let Them Fail or the Art of Delegating
Just wanted to share my experience learning to delegate properly instead of doing their job for them.
The problem is there are phones that can make and receive normal VoLTE calls, but when and only when you make an emergency call, it drops down to 3G, since it doesn't know how to signal emergency QoS on the network for VoLTE calls.

There are no incoming emergency calls.
I am told the numbers above require the core to have a matrix multiply unit (such as SME)
Yes, the word "value" in the phrase "we value your privacy" is working overtime.
The Daily Mail is a trash tabloid and not a reputable source of anything.
Swiss medicine is not socialized, it's private.
Safe Search Biscuit Record with Vladimir Prelovac from Kagi [Podcast]
Frankly I'm on Team Fish Bucket.

I am not totally convinced--well, not at all convinced, really-- that the OOP revolution made programming code better, simpler, easier to follow, than procedural code.

I suppose the argument ended up being a philosophical discussion about where State was held in a running program (hard to tell in procedural code, perhaps, and easier to tell in OOP), but after 20+ years of Java I wonder if baby hadnt disappeared down the plughole with the bathwater.
Being dependent as a fall-back seems like that's the right solution: Provide your own index, but vector in the default if you don't get it right.

That way users get tailored search without losing scale.
It doesn't work fine for Korean and Chinese either, we just accept it begrudgingly.

Check out the Noto Sans CJK fonts repo[1], as of now it has five variations: Japanese, Korean, Simplified Chinese, Traditional Chinese, Hong Kong. There wouldn't be a need for so many variations if Unicode works perfectly.

But Unicode is already infinitely better than what existed before, so as I said above, we just kind of accept it begrudgingly.

[1] https://github.com/notofonts/noto-cjk
Any parallels to sedentary human beings are strictly coincidental.
Wild speculation based on very little understanding of WASI/WASM:

Perhaps "--dir .::/" means treat the host directory "." as the guest directory "/"?
Here’s what I understand from your comment, correct me if I’m wrong. You’re saying there is a runtime cost associated with a mutex/rwlock owning the data. And secondly, you think it isn’t possible to implement this pattern in other areas that need locking.

I don’t think either of those is true. Encoding the ownership in the type system makes things clearer, imposes a compile-time cost but not run-time cost. Also, there isn’t any magic in the stdlib implementation of Mutex and Rwlock other than implementing it natively for every OS. This means that it is possible to implement the pattern for the examples you gave.
> stuck with a column with a timestamp and another column with a timezone.

I've been tinkering with a weird hack for this issue which might help or at least offer some inspiration.

It's similar to the foot-gun of "eagerly convert straight to UTC" except you can easily recalculate it later whenever you feel like it. Meanwhile, you get to keep the same performance benefits from all-UTC sorting and diffing.

The trick involves two additional columns along with time_zone and time_stamp, like:

-- Column that exist as a kind of trigger/info
time_recomputed_on TIMESTAMP WITHOUT TIME ZONE NOT NULL DEFAULT now(),

-- You might be able to do this with special triggers too
-- This coalesce() is a hack so that the above column changing causes re-generation
estimated_utc TIMESTAMP GENERATED ALWAYS AS (COALESCE(timezone('UTC', timezone(time_zone, time_stamp)), time_recomputed_on)) STORED

PostgreSQL will recalculate estimated_utc whenever any of the other referenced columns change, including the useless dependency on time_recomputed_on. So you can force a recalc with:

UPDATE table_name SET time_recomputed_on = now() WHERE time_recomputed_on < X;

Note that if you want time_recomputed_on to be more truthful, it should probably get updated if/when either time_zone or stamp are changed. Otherwise it might show the value as staler than it really is.

https://www.postgresql.org/docs/current/ddl-generated-column...
The only segnificant difference is that with stock buybacks, they have a bit more control over how and when it happens.

Investors have turned dividends into a religion. They must come every quarter like clockwork and never decrease; otherwise, it seems like there's a five-alarm fire and the place is on the brink of bankruptcy. It is irrational but reality.
Presenterm: Create presentations in Markdown format and run from your terminal
Is there a popular project which puts systemd and multiple processes in a container? I've seen only single process containers so far.
Is the "based on the IBM 5170 AT PC" bit because he started with a 5170 design and updated to 286 piecemeal instead of cloning a 286 design directly?
General statement ..but what ur saying sounds potentially racist and or xenophobic. Spirit is used by all walks of life and cultures all acting the same as the passengers on every other American airline. Chill, respectful and just getting to their destination like everyone else.

I'm upper middle class and love taking friends / partners on trips. Always used Soirut without any shame as I do not believe much of what I see on social media tho before I flew Soorut all that negative crap pushed most likely by their competition had me worried about my first flight with them. After it made me realize oh all that crap on the Internet..a lot of it is made up trash like many things u see online and in the media. Don't trash something til u tired it and with Spirit anyone expecting the same service as on u get in pricey airlines isn't using their brain to define what an ultra low cost carrier is.
But what if I don't want to search Reddit, stack overflow, and blogs from the early 2000s and all the content you just threw away as irrelevant actually contains information I am looking for. There is an entire working generation that never heard a modem sound and has never even made a consideration for making sure their content is accessible in plaintext.

I'm sure all the LLM providers are already considering this, but there's so much important information that is locked away in videos and pictures that isn't even obvious from a transcript or description.
They have, and it scales orders of magnitude better with LLMs.
In the intent department, I have had more troubles with AbstractClassFactorySingletonDispatcher type Java code, add to that dependency injection magic/madness.

I'd rather maintain Perl any day than 30 classes of Java code just to build a string.
"Space exploration pays significant dividends in the long run, therefore it's inefficient to spend money on anything other than that."
It’s getting fixed soon - https://github.com/rust-lang/rust/issues/124085
ChatGPT is also frequently incorrect. It becomes obvious in some cases, particularly in areas you are an expert in.

Reminds me of a PG essay about a "Dunning-Kruger pass". [0]

When searching for ideas, look in areas where you have some expertise. If you're a database expert, don't build a chat app for teenagers (unless you're also a teenager). Maybe it's a good idea, but you can't trust your judgment about that, so ignore it. There have to be other ideas that involve databases, and whose quality you can judge. Do you find it hard to come up with good ideas involving databases? That's because your expertise raises your standards. Your ideas about chat apps are just as bad, but you're giving yourself a Dunning-Kruger pass in that domain.

[0] https://paulgraham.com/startupideas.html

To some extent we have already developed some filtering against Reddit et al to protect our bayesian priors, but many who lack those filters could suffer greatly from encountering the internet.
To go even further, podman supports actual sidecars (one or many forming a pod) and even supports actual Kubernetes deployment manifests without needing a kube-apiserver.
I would be curious to know exactly _why_ you think my argument is wrong, especially when I have proposed a decent mechanism relating to population density: cheap semirural airports and short flights. Frankfurt-Hahn or Paris Beauvais or Girona or Weeze have millions of people living right next door and are dirt cheap (multiple orders of magnitude cheaper than US airports.) Meanwhile, there are far more small rural airports in the US than in Europe, by approximately a factor of three [0] [1], but not enough people live by them to make regular flights efficient. For a great example of this, look at the Essential Air Service and how many taxpayer dollars the US spends to serve the many rural communities that would otherwise have no flights at all.

[0] https://www.indexmundi.com/united_states/airports_with_paved...

[1] https://www.indexmundi.com/european_union/airports_with_pave...
To new startups and existing business entrepreneurs, having the groundbreaking technology to fully satisfy your business needs is mandatory. With the superior quality competency of MERN Stack development, your application can surely skyrocket in today’s market. Hit the link to get a closer view of MERN Stack and finalize it for your project!
I really hope llvm releases a full c23 compiler without reliance of Visual Studio with both c/c++ standard libraries.
We're not allowed to talk about Israel.
Solid-State Battery
Where exactly did I compare VW to Tesla?
It's comparing apples to oranges. If you want to compare computers, compare a macbook with an old i5 to your laptop with an old i5. Comparing an M4 to an old i5 is just silly. Of course it's going to be faster.
You can also use a mutex that doesn't own data in Rust if you need to.
The M chips will never be as efficient under Linux as macOS. Outside of immulation, Apple wants you stuck in their ecosystem. A Thinkpad is going to end up being just as efficient (or more) under Linux and a little cheaper solely because of predictable hardware.
Every time I see a suggestion like this, I wonder what kind of projects people work on that only require a few columns.

In my experience every non-trivial project would need several dozen columns in core tables, all which could be NULL while the user works on the record during the day.

In our current project we'd have to do several hundred joins to get a single main-table record.

I also wonder why people have such an aversion for NULL. Crappy tools?
Don't see any reason why it wouldn't work. I suspect you don't even need a microwave in most places.
Please elaborate on what you found racist or xenophobic in my comment.
> The Beelink (and other mini-PC brands) offer comparable performance.

[0] has the new (base!) M4 at 3859 (single) and 14837 (multi) whilst [1] has the Ultra 5 125H 4500 at ~2200 (single) and ~11500 (multi). "comparable" is doing a lot of heavy lifting in your sentence.

[0] https://arstechnica.com/apple/2024/11/review-the-fastest-of-...

[1] https://browser.geekbench.com/search?q=Ultra+5+125H
It could work either way. It would be better to phrase it as "outside of turbo mode it operated as a 4mhz 8086, with turbo it operated faster (usually the CPU's actual rated speed)".
Plus, have fun convincing the authorities that you, a middle-aged man, are a high-class escort.
You can solve anything with enough scripts, but that in no way invalidates his point that the abstraction level seems a bit off.

I'm not sure that his solution is really an improvement, however, because then you have to bake in the semantics for a fixed set of product types, and when that list gets extended, you have to bake-in a new one.
Ok well that isn't an example of something rare. It's a public document by a very large and public company that intended that document to be visible.
This phenomenon has its own Wikipedia page:

https://en.m.wikipedia.org/wiki/And_you_are_lynching_Negroes
It is an abstraction.
Great tool and excellent design . I’ve always wanted something like this.
Barrels of ink have been used to debunk various flavors of Social Darwinism by better thinkers and writers than I.

I wouldn't commit a kid who struggles with math in 3rd grade to a life in the trades. I suppose HN has an over-represention of former gifted student commenters- but being intelligent doesn't make one better than others, or better suited for greater expectations, more deserving of resources, or more likely to succeed. Intelligence is just one aspect out of the many you can measure a human by - resilience, resourcefulness, grit, propensity to self-destruction, proneness to addictions, self-delusion, confidence, being an insufferable dick, laziness, are among the things I've seen people exhibit to their own detriment (or success) - regardless of what their baseline intelligence was. Society does better when it nurtures all the positives, and not just putting all eggs in the "very intelligent" basket.

The smartest students I knew are doing very mundane jobs that can be (and are) done by far less smarter folk - the one in academia is trying to leave. I'm less smart, but I pay more on taxes than most of them - one exception is the executive at a dating app. She's probably a genius as she never had to study at all: but that's not exactly a role that moves society forward, is it?

Edit: oh, and Elon Musk was a B student.
That might have been true in the 19th century. (Although Bach, infamously, uses some pretty advanced harmony that stands up very well against modern harmony).

I think you're spot on with learned cultural expectation though. As a musician, you have to learn how to hear quartal harmony and polychord harmony. The sounds and the logic of how things fit together are different from triadic harmonic theory. As an audience, though, I think you're probably so used to quartal harmony and (to a slightly lesser extent) polychord harmony that I don't think you'd find it at all unusual to hear a chord without a third in it.

That particular chunk of harmonic theory was added near the end of the 19th century by composers like Debussy, and subsequently became completely embedded in hollywood movie music, so you are completely culturally used to it. You probably wouldn't even notice that what you're listening to has no 3rd. 19th century audiences weren't so comfortable about it.

The only real problem is that classical music theory gets quite broken when it comes to quartal and polychordal music. No accident, because compositional techniques involving quartal and polychordal music were deliberately designed to get away from classical music theory.
Its strange that people are saying the same about maintaining code bases written using AI assistance.

Im guessing its going to be a generational thing now. A whole older generation of programmers will just find themselves out of place in what is like a normal work set up for the current generation.
I've cobbled together some scripts around docker compose that largely solves these problems for me (https://github.com/mnahkies/shoe-string-server)

It basically looks for a custom external hostname property which is used to generate the haproxy configuration and issue SSL certs.

For ports I personally prefer to just use a consistent container port as much as possible (eg: 80) - I'm sticking a reverse proxy in front of everything anyway so no need for unique ports bound to the host that I won't remember.

Data I basically just bind mount into a structure that I can easily backup from the host. I've also managed to do some major postgres upgrades without any issue (https://github.com/mnahkies/shoe-string-server/blob/master/d...)

I wouldn't call this approach production grade - I'm very much in the use managed Kubernetes/SQL camp there, but it's been working great for my personal needs
> in my experience drug addicts are not very good at hiding it when they lose control

Not sure if it's relevant, but psychedelics (mushrooms) broke a college friend after minimal recreational use. Like, maybe twice, with zero past history of any other controlled substance.

His delusions were similar to what you described. In hindsight, I wasn't qualified to handle his deeply troubled mind.

You did the right thing contacting family and seeking professional help.

If he harms himself, it's not your fault.
Old drives on eBay are somehow usually in great condition and barely used in my experience.
There is a linux for apple silicon called ashani linux.
IMO taking off Thanksgiving Friday is a red herring. Everyone takes that day off, so anyone still in isn't expected to do much. I'll be "working" from home that day.
Anybody know what model architectures they used?

The motion detection might be a convolutional network or an svm. The mixer model perhaps a classic neural network.
This is one of the best apps I've ever used, and I'm excited to see it's only getting better!
To properly compete with Google search you have to:

1. Create your own index/crawl and true search engine on top of it, rather than delegating that back to bing or Google. In doing so, solve or address all the related problems like SEO/spam, and cover the “long tail” (expensive part)

2. Monetize it somehow to afford all of the personnel/hardware/software costs. Probably with your own version of Google’s ad products.

3. Solve user acquisition. Note that Google’s user acquisition process involves multiB/yr contracts with Apple and huge deals with other vendors who control the “top of funnel” like Mozilla Firefox, and that this is the sole purpose of chrome/android/chromebook/etc who you’ll never be able to make a deal with. You will probably at the very minimum need to implement your own platform (device, OS, browser alone probably won’t cut it).

4. Solve the bootstrap problem of getting enough users for people to care about letting you index their site, without initially being able to index a lot of sites, because you are not important enough.

5. Somehow pull all of this off in plain site of Google (this would take many years to build both technically and in terms of users) without them being able to properly fend you off

6. Somehow pull all of this off in spite of the web/web search seeming like it’s going to die off or fade into irrelevance

OR you can dedicate a decade of your life to something more likely to succeed.
It boggles my mind that a news sources job is to “convert” people. Wow…
> And the system I bought includes 10 Gigabit Ethernet and 32 GB of RAM

I thought it was pretty clear from "the system I bought" that he was not talking about the base model. And I think $100 for 10 GbE is surprisingly reasonable for an upgrade from Apple. For comparison, 10 GbE Thunderbolt adapters typically cost about $200 - and while 10 GbE PCIe cards can be bought for less, they tend to be much less power efficient and generate a surprising amount of heat.

I actually think it's very commendable that Apple even gives the option to upgrade to 10 GbE on a mass market desktop. I was recently looking to buy a non-Apple Mini PC, and while 2.5 GbE is very common now, 10 GbE is still relatively rare. The options I found were to go with a Minisforum MS-01, which is considerably more expensive than the base M4 Mac Mini w/10 GbE upgrade, or to order something slightly sketchy from Aliexpress. So as soon as Apple announced the new M4 Mac Mini, I went with that instead.
> Microwaves output no power during the zero crossing of the AC line
Why is this? Do microwaves by design modulate their 2.4gHz on top of 50/60Hz?
Someone should let Linus know that git prefers this workflow. Someone should also let the maintainers of git itself know as well. Both happily employ a merge-based workflow.

What’s actually the case is that your workflow seems best with squash merging. There are a lot of project and teams where this is not the case.
> Instead of a detailed prompt, we ask ChatGPT to diagram a source repository we upload (it could not analyze the link directly). In theory, all the information needed to diagram the system thoroughly is in the repo.

AI noob here. Are there any AIs that can now do this ? Directly access a repo online, answer questions about it, diagram it, maybe whip up some test cases for it ?
Yeah. Horrendous Japanese English has to do with what I'd describe the "software" approach. Japanese English textbooks is written like a programmer's manual that grant readers a means to generate or analyze English scripts in certain punctual grammatical ways. IIUC, most other Asian nations including SK don't take this approach at all, and their English proficiency is massively higher.

I'm not sure if any other countries than Japan do that, but I smell something similar might be going on in public education in rural China; it's a somewhat usable alternative where immersive training is not available.
Wait until you find out about 'docker-compose' vs 'docker compose'!
That concept of "strange consistency" reminds me of my experience writing Clojure, for some reason.
I was at SXSW in ~2009. Got a free ticket to the interactive track. Was my first conference, and I was mostly disappointed that it just seemed to be a way for adults with salaries to get paid to go on a trip and party.

I do remember stumbling into the middle of a fascinating session on interface design for cars though, explaining the importance of having something tactile that driver can understand without taking their focus off the road. Nuts to see how the industry eschewed that wisdom in the decades to come.
Of course, when thinking of actual trees, it would resemble a right-side up tree.
From what I gathered the 5170 was[1] a 286 design?

In any case, from the description:

Luckily I found an Ebay auction which offered an IBM 5170 mainboard for a very reasonable price.

I proceeded to draft modern KiCad schematics for the 5170 and subsequently modified the IBM designs to suit this project as much as possible.

[1]: https://en.wikipedia.org/wiki/IBM_Personal_Computer_AT
The rust compiler (or the rust-analyzer) directs developers to use mutexes or other guards, even in single-threaded code when the use case wouldn't strictly require it. Where we would get undefined behavior in C, we get deadlocks in rust. This forces developers to handle these cases, but this can be quite painful to implement, especially in embedded or no_std environments.
> does not distinguish directories from files (e.g. Tcl)

Tcl has the built-in functions [file exists], [file isdirectory] and [file isfile] to serve your existence-checking needs.