skysight-inc/HackerNews huggingface dataset:
Don’t agree with this take. I’m sure Meta would be fine with other vendors taking over the low-end, if that meant there was a vibrant platform they controlled (ie the OS). They will lead with flagship models to push the boundaries of what the OS/tech can do.

Why would they want to sell at/below cost forever? The reason they do this now is to make the platform viable.

The only reason they are focusing on cheaper devices now is to build the platform and try to get more users, to in turn get more data on what the killer usecases will be.

Think of this as a play like Android. Google doesn’t care what goes on in the commodified end of the spectrum, as long as there is one. Google does ship flagship phones (in competition with eg Samsung) and that is fine.
The reason is the same: $.

There is one difference. Economic migrants are typically a net positive to the local economy while “DiGiTaL nOmAdS” tend to fuck things like rent and food prices up where they go.
Starseige: Tribes and Counter-Strike: Sometimes a short thing while the character is coasting through the air.

Tribes in particular also had a voice-tree, and while it was shorter than prose it still encouraged a certain degree of touch-typing.

For example, typing VSAF (mnemonically [start][self][attack][flag]) led to text and prerecorded audio for "I will attack the enemy flag." Little of it survives now beyond references like VGZ for "Shazbot!"
Insofar as the pull quotes that don't have plausible deniability are по-русски, I'm pretty sure the author knew what he was doing. (aiming at deliberate* impopularity: широко известный в узких кругах?)

That said, https://github.com/lolita-lang/lolita/blob/master/docs/desig... is impressive, and I guess, as it's open source, someone could always Bowdlerise the project for HN?

Don't NAND, don't NAND so
Don't NAND so close to me

* keep in mind my poor track record: I originally thought the religious conceit of TempleOS might have been a similar ploy.
This attitude is part of the problem. Another part of the problem is having no idea which things actually end up costing performance and how much.

It is why many language ecosystems suffered from performance issues for a really long time even if completely unwarranted.

Is changing ifs to switch or vice versa, as outlined in the post above, a waste of time? Yes, unless you are writing some encoding algorithm or a parser, it will not matter. The compiler will lower trivial statements to the same codegen and it will not impact the resulting performance anyway even if there was difference given a problem the code was solving.

However, there are things that do cost like interface spam, abusing lambdas writing needlessly complex wokflow-style patterns (which are also less readable and worse in 8 out of 10 instances), not caching objects that always have the same value, etc.

These kinds of issues, for example, plagued .NET ecosystem until more recent culture shift where it started to be cool once again to focus on performance. It wasn't being helped by the notion of "well-structured code" being just idiotic "clean architecture" and "GoF patterns" style dogma applied to smallest applications and simplest of business domains.

(it is also the reason why picking slow languages in general is a really bad idea - everything costs more and you have way less leeway for no productivity win - Ruby and Python, and JS with Node.js are less productive to write in than C#/F#, Kotlin/Java or Go(under some conditions))
This was interesting and new to me, but as other commenters indicate, part of the problem is that we're trying to find the bad thing rather than trying to verify it is the good thing

There's a related concept of "failing open vs failing closed" (fail open: fire exit, fail closed: ranch gate)

In Jurassic park (amazing book/film to understand system failures), when the power goes out, the fence is functionally an open gate

In this case, we shouldn't assume that we can enumerate all possible bad strings (even with a regex)
Compared to what though? Every SoC having its own entire OS implementation derived from some closed source origin that way back when started from some MIT licensed base. It probably wouldn't even have a bcachefs to every try on it.
I love this one and use it all the time, especially using the special case when your command can take multiple filename arguments and they come last. xargs will glom as many as it can into a single command before overflowing the max command line size, which can be faster than starting many processes. Grep is the best example:

find . -name something | xargs grep -C5 search_string

(added the -C5 for context lines)
To increase competition, reduce waste, and reduce prices to consumers.
Apparently we do if having a restaurant industry is desirable. We've already established raising wages to something that might attract less desperate applicants is a non-starter. Now if you were to say pivot the conversation to the H1-B system that fills more desirable jobs...
> And if you look at anything LLM right now, all the research happening, its not opensource doing the research.

I assume you mean open weight rather than open source, but: https://ai.meta.com/research/
People who are professionals in international relations, monetary policy, administering a country and other areas that these statements relate to.
Yes, I'm well aware of the definition of a macro in C and C++. Macros are simpler than templates. You can expand them with a compiler flag.
C# has both switch expressions like this and also break statements are not optional in traditional switch statements so it actually solves both problems. You can't get too clever with switch statements in C#.

However most languages have pretty permissive switch statements just like C.
Don't waste your time recycling plastic
I wouldn't be surprised if Reddit becomes just as predatory as Facebook or Instagram.
> It just occurred to me that it may be because I have my phone ringer set to silent. That is indeed what caused it, which is not great as I don't want notifications to be making noise.

I'm pretty sure that's the way it should be, isn't it? Whenever I want something/anything/everything to not make noise on my phone, I set it to silent. It's been that way since the very first iphone I ever owned (I think it was the 4).
I think both, but increased usage + new addictions were specifically cited by the legislation[1] and government officials. The uptick in prevalence of homeless people in the suburban and urban areas is startling though.

1. https://olis.oregonlegislature.gov/liz/2024R1/Measures/Overv...
Mark Rober: Vortex Cannon vs. Drone Ft. Anduril and Palantir [video]
That would be just another projection. Most likely a perspective or orthographic projection.
Out of curiosity, could you cite a few of those paradigms? I wholeheartedly agree, by the way.
Free AI component generator for fast prototyping
Isn't North Korea working on something like cartoon animation, a good thing?
I haven't looked at the code, but if you have multiple leaves, even marking all of them as final won't help if the call is through a base class.
Not mentioned: learning from demonstration. This is the approach we are taking at https://github.com/OpenAdaptAI/OpenAdapt.
Heh. I wrote up my comment, and then thought "hey, I bet that's what that 'Parse don't validate' article meant, the one I never quite got around to reading." So I pulled it up — great article! — but then didn't post the link because it uses the type system to record the results of the parse. Whereas here, you'd probably parse from a string into another string.

But philosophically I agree, that's exactly the relevant advice.
The intro paragraph is confusing.

> Reddit closed out its first day on the market up almost 50%, but has since come crashing back down to earth at 30%.

So the price was up 50% from the IPO, and now it's only up 30%? That hardly seems like crashing back to Earth, which would be "up 0% from the IPO", if I understand the metaphor correctly.

> Despite the drop, Reddit is beginning to rethink how it functions now as a public company.

Why "Despite" instead of "Because of"? If the price continued to rise, I would think that would make the owners want to continue doing whatever they were doing, at least for a while longer.
If I grab your head and pull back you would be looking at the ceiling. If I pushed your head forwards you would be looking at the floor. This is how mice should work. Touch devices screwed that up and are heresy.
We clearly live in different jusridictions if someone can go into a store, shoplift, in plain view of private security, and not get detained by them where you are.
The numbers aren't all that much more palatable at 24,000 man-years, assuming $1M average TC.

That's equivalent to the amount of labor it took to build some of the minor Egyptian pyramids.
2038.

* 86 billion neurons in a brain [1]

* 400 transistors to simulate a synapse [2]

That's 34 trillion, 400 billion transistors to simulate a human brain.

As of 2024, the GB200 Grace Blackwell GPU has 208 billion MOSFETs[3]. In 2023, AMD's MI300A CPU had 146 billion transistors[3]. In 2021, the Versal VP1802 FPGA had 92 billion transistors[3]. Intel projects 1 trillion by 2030; TSMC suggests 200 billion by 2030.

We'll likely have real-time brain analogs by 2064.

(Aside, these are the dates I've used in my hard sci-fi novel. See my profile for details.)

[1]: https://pubmed.ncbi.nlm.nih.gov/19226510/

[2]: https://historyofinformation.com/detail.php?id=3901

[3]: https://en.wikipedia.org/wiki/Transistor_count
I mean nobody really believes there aren’t already countless side channels in existing hardware, right? No reason to give up performance for nothing.
Yes, as I wrote, it is only true for one float value.

SIMD/MIMD will benefit of working on smaller width. This is not only true because they do more work per clock but because memory is slow. Super slow compared to the cpu. Optimization is alot about cache misses optimization.

(But remember that the cache line is 64 bytes, so reading a single value smaller than that will take the same time. So it does not matter in theory when comparing one f32 against one f64)
But then they get paid. We don't want them get paid.
Bring back EIEIO, like on Old Macs, but perhaps with a slightly expanded definition of what constitutes I/O:

Enforce In-order Execution of I/O (EIEIO) is an assembly language
instruction used on the PowerPC central processing unit (CPU) which
prevents one memory or input/output (I/O) operation from starting until
the previous memory or I/O operation completed. This instruction is needed ]
as I/O controllers on the system bus require that accesses follow a
particular order, while the CPU reorders accesses to optimize memory
bandwidth usage.
I really want to keep playing. Well done! That was a lot of fun.
Maybe, but what if it’s basically slave labor and the money goes to the regime?
I wish other Common Lisp implementations, particularly Clozure CL, documented their internals as well as SBCL does. Apple Silicon support has been a long-standing feature request, but nobody can really work on it besides rme himeself due to the sheer amount of "institutional knowledge" (and time!) it takes to understand CCL's compiler backend then add support for a brand new architecture. SBCL, on the other hand, was able to provide support fairly quick, possibly due to more maintainers, but I also think a big role that played in it was the fact lots of corners of the implementation are documented and it's fairly easily to get a hold of people actively working on the compiler (doug, stassats, et al)
It depends on who is defining "good"
This is hardly about AI, basically just a libertarian diatribe on how the government can't do anything right.
Most of the cost of an L3 miss comes after the miss itself, for most architectures I've seen.

E.g., on Skylake an L3 hit is 80 cycles (~20ns) whereas a RAM access is 80 cycles plus 50 nanos (~70 nanos). See https://www.7-cpu.com/cpu/Skylake_X.html
and to clarify- the "they" who gets paid is probably not the person doing the animating
Hm, the text file link in there is broken (both because the link itself is incorrectly formatted and because the file it was supposed to is gone anyway), but the Wayback Machine has it at https://web.archive.org/web/20160323001023/https://tmk.com/f...
I absolutely love the way you are engaging with this problem, and really appreciate how you’re trying to make discourse about the fundamental issue rather than the knee-jerk ‘murica “unrationale”.

Personally I support the authoritarian measure against TikTok from a “general” standpoint since I firmly believe the nature of warfare lately has shifted to a more cultural front and thus is a matter of national security; Everything about this would be perfect if not for the glaring issue that is clear favoritism, and not addressing the root problem.

Social media and its corresponding ad-tech at large is a publicly available propaganda engine that can be wielded by the highest state backed bidder via direct ads, or the highest spending intelligence actor via artificial accounts and discourse.

LLM tech has only exacerbated this threat and in a perfect world this legislation would be the first of many steps to curtail the threat before it undermines the country any further.

Now that I’ve said my controversial bits I would love to hear what your thoughts on the matter(s) are!
No explanation for the drop from 2005 to 2006?
There are lots songs for which it is fully legal to listen to without paying for. Many people release songs for people to listen to for free!

This is especially true within the rhythm game community, for which many fans simply like to make rhythm songs and for people to play them.

That is absolutely a valid usecase that should be allowed.
Who is doing the development currently?
I think part of the problem is this weird insistence that VR means having to physically move arms around etc. For most games, the visual experience of VR can vastly improve immersion, but control schemes nearly universally suck. Simulators work so much better largely because they don't fall into the same trap - if you're playing a flight sim, say, you're still probably using the same stick/throttle/pedals as you would without the headset. For space sims, I find that headset + mouse combo works amazingly well (End Space is a good showcase of what can be done there). And so on.

But for some reason there's practically no uptake on any of this outside of sims. I would love to see a first-person shooter that is fully VR enabled while still allowing me to use WASD + mouse. In fact, I already kinda sorta do that by using 2D theater mode with games like Insurgency: Sandstorm, but that doesn't give you the actually useful VR stuff like the ability to turn your head to look around etc. If somebody were to make an FPS that did all that, they'd have my money in a heartbeat.
I love your concept! Now try to enhance HDD's mountings because typical HDD datasheet does not allow even mounting HDD on 3 of 4 screws, what you have here is plenty of vibrations obviously.
The thing with `inline` as an optimisation is that it's not about optimising by inlining directly. It's a promise about how you intend to use the function.

It's not just "you can have multiple definitions of the same function" but rather a promise that the function doesn't need to be address/pointer equivalent between translation units. This is arguably more important than inlining directly because it means the compiler can fully deduce how the function may be used without any LTO or other cross translation unit optimisation techniques.

Of course you could still technically expose a pointer to the function outside a TU but doing so would be obvious to the compiler and it can fall back to generating a strictly conformant version of the function. Otherwise however it can potentially deduce that some branches in said function are unreachable and eliminate them or otherwise specialise the code for the specific use cases in that TU. So it potentially opens up alternative optimisations even if there's still a function call and it's not inlined directly.
iPhone X for me. Bought in mid-2018, got a new battery in late 2022. I'll probably keep it for another year or two.

The reasons I'll eventually upgrade are:

1. I would like a better camera. iPhone X was before iPhone cameras had good low light performance.

2. The older I get the more I could use a larger screen.

3. It cannot run the latest iOS. There's not much I directly need the latest iOS for. I think there are some passkey things that don't work on mine, but it does have some passkey support, which is mostly good enough currently.

4. I cannot upgrade my Series 4 Apple watch to the latest WatchOS. The latest WatchOS requires iOS 17+. And new watches ship with the latest WatchOS so a phone upgrade will be necessary if I ever want a new watch.

I expect that the next time I get an iPhone its camera will be good enough that "better camera" will never again be a reason for me to update. I think they have reached the point where the cameras are better than any camera I will personally ever need.
Well, there is this: https://www.norvig.com/java-lisp.html
There's SimulaVR.
https://simulavr.com/
Incredible to see the same faces in that photo as in the excellent documentary: https://www.itsquieterfilm.com/

Voyager might make it to 2027.
A significant part of it is that what engineers believe was effectively true at one time. They simply haven't revisited those beliefs or verified their relevance in a long time. It isn't a terrible heuristic for life in general to assume that what worked ten years ago will work today. The rate at which the equilibriums shift due to changes in hardware and software environments when designing for system performance is so rapid that you need to make a continuous habit of checking that your understanding of how the world works maps to reality.

I've solved a lot of arguments with godbolt and simple performance tests. Some topics are recurring themes among software engineers e.g.:

- compilers are almost always better at micro-optimizations than you are

- disk I/O is almost never a bottleneck in competent designs

- brute-force sequential scans are often optimal algorithms

- memory is best treated as a block device

- vectorization can offer large performance gains

- etc...

No one is immune to this. I am sometimes surprised at the extent to which assumptions are no longer true when I revisit optimization work I did 10+ years ago.

Most performance these days is architectural, so getting the initial design right often has a bigger impact than micro-optimizations and localized Big-O tweaks. You can always go back and tweak algorithms or codegen later but architecture is permanent.
Since "const" makes things read-only, being const correct makes sure that you don't do funny things with the data you shouldn't mutate, which in turn eliminates tons of data bugs out of the gate.

So, it's an opt-in security feature first, and a compiler hint second.
Yeah the majority of the $$$ probably goes to we know who.
Anyone care to do a direct comparison with Ocaml? It seems that the types are featured more prominently here. I always thought that type inference was a strength of Ocaml. Maybe that is unpopular now?
> Indeed, we declared war on America and Britain out of our sincere desire to ensure Japan's self-preservation and the stabilization of East Asia, it being far from our thought either to infringe upon the sovereignty of other nations or to embark upon territorial aggrandizement.

That is a flat-out lie, and no amount of "the context was different" can make it anything other than a flat-out lie. Some of the other parts were bad, but that bit was absolutely egregious.

So no, I don't think it's "shallow nitpicking over phrasing". Hirohito was either in total denial about what the war actually was, or he was lying through his teeth.
Limited says you. I'll pick on your example of VR. Tell a blind person that Everquest is a limited form of VR. You've just bought into "progress". These other experiences likely still haven't been beaten when strictly speaking about real depth as opposed to the superficial.
C# has switch statements which are C/C++ style switches and switch expressions which are like Rust's match except no control flow statements inside:

var len = slice switch
{
null => 0,
"Hello" or "World" => 1,
['@', ..var tags] => tags.Length,
['{', ..var body, '}'] => body.Length,
_ => slice.Length,
};

(it supports a lot more patterns but that wouldn't fit)
What makes it "self-aware"? That was the main reason I clicked on the link but I didn't see that explained.
"Mixed" versus "augmented" reality have no real meaning, which is why there is confusion about which of the two modalities you're referring to.

My question is why avoid the terms overlay, superposition, display and even vision? Why instead purport to have altered reality?

Traditionally in aviation and the military they said "heads up display", because they can't afford to be obtuse. The display allows the pilot literally to keep their head up, instead of pointed down at their instruments. And I'm sure there was no truck for anyone who would have called it mixed or augmented reality.
How Wireless Charging Works and Why It's Terrible
Very impressive feature set, which aligns with many of my own interests too (symbolic execution, partial evaluation, etc.). If nothing else, it's the first explanation of "finally tagless" that clicked for me!

I agree with others that the name is needlessly off-putting.
Generally, how far downstream does the US State Department expect companies to vet vendors for sanctions violation? Due diligence this many layers deep is expensive, especially if hostile (investigative work to proactively discover dishonest sourcing reports.) I would think it would vary by industry--e.g. animation is obviously less stringent than medical devices so would have fewer reporting and certification structures already set up. Does anyone have experience dealing with this?
> for mainstream software development.

LISP feels like both an "assembly language" and a "higher level language" at the same time. It's excellent for solving unusual problems, but it carries a lot of baggage when aiming for "usual" problems.
Show HN: AG1 for Your Teeth
Is toothpaste the best way to keep your teeth healthy and clean? We don't think so.

My fiance and I became obsessed with oral health and could never find the right products.

So we experimented with a bunch of options and ultimately created an oral spray with probiotics and a remineralization formula. It has been a game changer for us.

It has become a full replacement for traditional toothpaste.

If you're interested, here's a great deep dive on oral health: https://www.youtube.com/watch?v=zVCaYyUWWSw
Oh, I read them as saying that the experience of hardship was materially inaccurate and just a psychological fiction fed by social media and perpetually measuring against others.

I still read it that way on a second look, but maybe I'm reading it wrong.
If you're measuring a compiler you need to post the flags and version used. Otherwise the entire experiment is in the noise.
Community, MeowMeowBeanz?
If you consider it a development kit (albeit a very expensive one) it makes more sense.

Just like the first iPhone wasn't practical for everyone, this will require a few more generations.

(Although I suspect it's never going to be useful for me, with my weird prescription.)
"Quietly"? No, Reddit users have been screaming about the new layout. More ads, more irrelevant stuff. Much of Reddit seems to be a link farm for Twitter.

Big decline in traffic on technical subjects. I follow mostly subjects related to graphics, such as Vulkan, Rust gamedev, etc., and those subreddits have become very quiet.
> VR headsets don't do much but sit on shelfs (sic)

Quest has 6+ million monthly active users. Steam 2-3 million. Sony doesn't publish numbers but a good guess is 3-4 million active players.

If you allow for some overlap, that's roughly ten million monthly users, and in sales VR is already more successful than a lot of computer platforms of the past.
Man, I wish this blog had an RSS feed.