skysight-inc/HackerNews huggingface dataset:
I'm actually doing something quite similar in my, in progress, unicode conversion routines.

For utf8 validation there is a clever algorithm that uses three 4-bit look-ups to detect utf8 errors: https://github.com/simdutf/simdutf/blob/master/src/icelake/i...

Aside on LMUL, if you haven't encountered it yet: rvv allows you to group vector registers when configuring the vector configuration with vsetvl such that vector instruction operate on multiple vector registers at once. That is, with LMUL=1 you have v0,v1...v31. With LMUL=2 you effectively have v0,v2,...v30, where each vector register is twice as large. with LMUL=4 v0,v4,...v28, with LMUL=8 v0,v8,...v24.

In my code, I happen to read the data with LMUL=2. The trivial implementation would just call vrgather.vv with LMUL=2, but since we only need a lookup table with 128 bits, LMUL=1 would be enough to store the lookup table (V requires a minimum VLEN of 128 bits).

So instead I do six LMUL=1 vrgather.vv's instead of three LMUL=2 vrgather.vv's because there is no lane crossing required and this will run faster in hardware: (see [0] for a relevant mico benchmark)

# codegen for equivalent of that function
vsetvli a1, zero, e16, m2, ta, ma
vsrl.vi v16, v10, 4
vsrl.vi v12, v12, 4
vsetvli zero, a0, e8, m2, ta, ma
vand.vi v16, v16, 15
vand.vi v10, v10, 15
vand.vi v12, v12, 15
vsetvli a1, zero, e8, m1, ta, ma
vrgather.vv v18, v8, v16
vrgather.vv v19, v8, v17
vrgather.vv v16, v9, v10
vrgather.vv v17, v9, v11
vrgather.vv v8, v14, v12
vrgather.vv v9, v14, v13
vsetvli zero, a0, e8, m2, ta, ma
vand.vv v10, v18, v16
vand.vv v8, v10, v8

This works for every VLEN greater than 128 bits, but an implementation with larger VLENs do have to do a theoretically more complex operation.

I don't think this will be much of a problem in practice though, as I predict most implementations with a smaller VLEN (128,256,512 bits) will have a fast LMUL=1 vrgather.vv.
Implementations with very long VLENs (e.g. 4096 bits, like ara) could have a special fast path optimizations for smaller lookup ranges, although it remains to be seen what the hardware ecosystem will converge to.

I'm still contemplating whether or not to add a non vrgather version and runtime dispatch based on large VLENs or quick performance measurements. In my case this would require almost >30 instructions when done trivially. Your example would require about about 8 eq + 8 and vs 4 shuffle + 4 eq, that isn't that bad.

vrgather.vv is probably the most decisive instruction when it comes to scaling to larger vector lengths.

[0] https://camel-cdr.github.io/rvv-bench-results/canmv_k230/byt...

PS: I just looked over my optimized strlen implementation and realized it had a bug. That's fixed now, and the hot path didn't change, just the setup didn't work correctly.
Welcome to the exciting journey of utilizing the all-new ultra-powerful Multi-Modal Gemini model from Google!

This guide is tailored for everyday Python developers who aspire to leverage the power of advanced neural networks in their projects.

We’ll start with the basics and gradually delve into more complex aspects, ensuring a warm and educational experience.
You are talking about the company that wrote logs to the fully read-write filesystem of their infotainment system and killed the EMMC from raw flash cycles within as few as 2 years. Recalled 10 years later.
Hello AI enthusiasts, today we’re going to delve into the world of Transformers, specifically focusing on the Feedforward operation. This operation is a core part of the Transformer architecture, which has provided us models like GPT3, GPT4, LLAMA, and Gemini from Google!

Before we dive in, I’d like to introduce you to Zeta, an all-new AI framework that’s designed to make your life as an AI engineer much easier.
Probability density functions, presumably.
Oh, partial differential equations?

For the document files, I love PDF Studio: https://www.qoppa.com/pdfstudio/
I think it's a prejudicial point of view, no? pre-judging someone based on their race and socioeconomic status.
The major problem here is hidden costs.

Airlines, for example, are rife with "junk fees". My favoritre is "fuel surchages". That shouldn't be a thing. The service is just more expensive to provide and thus you need to charge more. Then there are checked baggage fees, choosing seat fees, wifi fees, etc.

Tipping is externalizing labor costs while underpaying staff. If you're at a restaurant that food and service simply costs more than the ticket price. You can say "you don't have to tip" but in a lot of cases that's not really true. More to the point, if you object to tipping, you're not hurting the owners. You're hurting the employees. Personally, I have a problem with that.

If you really object to tipping, the correct choice is not to partake in whatever that service is. Don't go to that restaurant. If you do go and cheap out on a tip to someone who is otherwise earning $7/hour, I'm sorry but you're just a POS.

Now some states mandate a (more) livable minimum wage (eg $15/hour). You can reasonably argue that tipping shouldn't be necessary but I guarantee you that you may well get yelled at for not leaving a tip. And I have a problem with that.

Oh, another favorite "junk fee": Uber introduced a "safety" fee. They simply pocketed it and did nothing [1].

I really object to the tip screens on touchscreen checkouts. These are even worse because typically the staff doesn't get any of it. Ask them. They'll tell you. It's just a pure money grab. You should never leave a tip like that. If you want to tip staff, give them cash.

There needs to be more government regulation on hidden fees and that includes tipping. We need to force employers to pay a minimum wage. If that means your business is no longer viable, then that's a "you" problem. Businesses that rely on exploitation and paying substandard wages should go out of business.

[1]: https://www.businessinsider.com/uber-safe-rides-fee-500-mill...
No, expecting someone to pay you when you do not clearly tell them how much they owe you is a jerk move.

Simultaneously, laws that allow employers to pay different minimum wages and required extra effort from the employee to get the full minimum wage are also jerk moves.
https://www.youtube.com/watch?v=6rPDA7dMOT4
This is why nobody likes American car brands. The brands that make them cut corners and things like this happen. Teslas are the only American-made cars that are somewhat high-quality.
So where does NK get their internet access from, China? NK being that useful ”thorn in the side” whilst giving deniability.
They know so well that there was a report yesterday showing how tesla’s a low quality vehicle. Behind the dacia.
I think I'd seen your product before on HN. It looks nice but like the others say, I'm in Europe so it's a no go for now. Will keep an eye on it though for when you decide to expand!
It's more accurately called Tree of Hell that Will Not Die. Toxic sap, spreads wildly, re-sprouts from any root fragments more than about 1cm long.
404, apparently.
> The USA spends more GDP on healthcare than any country on earth and the insurance companies are immensely profitable.

Yes, from the recent report of 2020 [1]:

The health insurance industry continued its tremendous growth trend as it experienced a significant increase in net earnings to $31 billion and an increase in the profit margin to 3.8% in 2020 compared to net earnings of $22 billion and a profit margin of 3% in 2019.

These humongous profit margins of 3.8% can no longer... Wait, what? Three point frickin eight percent? That's what passes for "immensely profitable", really? Maybe there's some other place we should look for greedy capitalists that stole our money than in 3.8% profit margins?

[1] https://content.naic.org/sites/default/files/inline-files/20...
The question is whether you can expect this format to stay stable and reproducible across git versions. Remember the fallout from git 2.38 when the output of 'git archive' changed. Although for this backup use case it would just mean the next backup with a new format would make a full copy once.
Bing

> Ten elephants, even if two of them are legless, would still have a total of *forty legs*. Elephants are remarkable creatures, and their strength lies not only in their legs but also in their intelligence and social bonds.

---

Me: Can you tell me how you arrived to that?

---

Certainly! Let's break it down step by step:

1. We start with *ten elephants*.
2. Two of these elephants are *legless*, which means they have *zero legs each*.
3. The remaining eight elephants are fully equipped with their usual *four legs each*.

Now let's calculate the total number of legs:

- *Legs from the legless elephants*: 2 elephants × 0 legs/elephant = *0 legs*
- *Legs from the eight elephants*: 8 elephants × 4 legs/elephant = *32 legs*

Adding these together:

Total legs = 0 legs (from legless elephants) + 32 legs (from eight elephants) = *40 legs*

So, even with two legless elephants, the group of ten elephants would still have a grand total of *forty legs*.
The original Doom had third-party audio playback routines, so the source came with a rewritten sound server: https://github.com/id-Software/DOOM/tree/master/sndserv

The bad news: this code only compiles and runs on linux. We couldn't
release the dos code because of a copyrighted sound library we used
(wow, was that a mistake -- I write my own sound code now), and I
honestly don't even know what happened to the port that microsoft did
to windows.
>Tesla
>High quality

Pick one.
US has a big net flow of immigration to replace lost population.

Surplus of houses is quite unlikely.
Even the small Mixtral model gets this one right.
This seems like it's only going to get worse many games need online services to function at all. Super Mario Maker as mentioned in the post is one of them, but there are countless others on 3DS and PC that won't function properly.

Ideally it would be possible to archive the games (like ROMs or what the Internet Archive does for websites and files) and also the server / database so that the games could be playable in the future, but I doubt that Nintendo or any larger publisher would do that.

I wonder if there's a solution for this in the short term or if these games and their data would be lost forever.
Article 287 is in the Penal Code, not in the Constitution. The constitution is the top dog in the legal hierarchy. The Penal Code is pretty high up there and trumps thinks like local laws.

Some laws are written in such a way that, eventually, when put to the test and being presented to the Supreme Court, which judges matters of constitutionality, they may indeed be declared void for being unconstitutional. That has never happened for article 287 of the penal code, although it may one day. You'd need an actual case to make that claim, though.

There are no "superiors", except for the constitution.

The law as written doesn't take into account whether the Supreme Court judges are corrupt or politically appointed/influenced. The law spells out what "ought to be", not what "is".
Indeed. Also the default editor for ELKS (Linux for PC/XT and ATs).
Omg yes. My coworkers often specify parameters (the results of what we would have called "regression" or "fitting" but what is now called "machine learning") to like 14 decimal places when we only know them to 20%. It would have yielded a failing grade in my high school chemistry class.

They are like "Chesterton's digits" when they appear unexplained in parameter files. Do we really know this number or is it just a wild-assed guess?
Oh yeah I didn't actually write this down in the manual: if you expect `(A | B)`, then both A and B implicitly convert to that type.
It's written in Go though, so quite a bit less portability.
I think many people would disagree that Tesla are high-quality, even “somewhat”.
An Audi doesn’t need a software update to replace a light from my experience.

Also, my experience with Audi and BMW are that community tools exists to let you flash modules and change settings all on your own. Try that on a Tesla.

Tesla is way ahead on software imo, but I don’t want my car to be like modern smartphones where they’re dependent on the manufacturer to maintain and keep working.
If L2 is unstable, how can you orbit around it? Is it a point of attraction? If so, how is it not stable?
Nano has a surprising amount of features. I actually use it as my main text editor, and I rarely find myself lacking anything I could possibly want. Off the top of my head, it has the ability to run 3rd party code, a file browser, autoindenting, linting, macros, and a rudimentary autocomplete. A lot of it's reputation for being weak comes from bad defaults, which can be quickly fixed by ricing your nanorc file.
Why not just customize $CDPATH
No. They are not like us. Fundamentally not like us.

If you ask them to reason, then their text-prediction works differently, because it now predicts text containing reasons. They do not actually reason.

I know it is hard to believe, because the results are (usually) so impressive, but this is nothing but text-prediction.
1. It's not going to lower prices - prices will just go up to compensate for higher wages

2. You can't force a market to act in a certain way, you can't make everyone stops tipping.

It's a problem which exists only in your head, decide how much to standard-tip in advance and then just use that amount to think about how expensive a place is.
If people treat you badly for it (either bad service or reputation among peers) raise it and shop in cheaper places.

You can't change the world, change yourself.
Also none of the Civs after 1 were developed by Sid Meier. Not to take anything away from him. I enjoyed the Memoir as well.
In mentality, I guess. If I was pressed to give a definition right now, I'd say a company stops being a startup when they have self-sustaining revenue without continual outside investments and subsidies propping them up. That hasn't been the case for Tesla the entire 20 years of the company's existence.

Also, valuation is effectively meaningless. That valuation has nearly zero correlation to Tesla's actual value.
Pondering this discussion, it appears to be an artifact of an open access coroutine. There is no dropping, blocking or locking.
N'ah. Big auto execs are really that incompetent, they don't need to go out if their way to intentionally fuck up something.

They should dogfood their own products more often instead of being chauffered in Porsches or Aston Martins (I imagine).
dev here, Not currently but its a planned feature
I was taught about significant digits in Junior High School science classes. (in a public school in US, late 1960s.) Answers were marked wrong if they had too many digits that weren't significant. Is this no longer taught in school?
I was so excited about Matter at first, but now it seems like nobody really cares.

WiFi has gotten way more reliable, and devices with open local APIs are more common now. Bluetooth is even starting to be used occasionally. YoLink's LoRa based hardware is still better than anything else even slightly affordable, even though it's still totally a closed cloud based platform.
Yes, this happened to me, although it took 10 years. Free replacement, and the car still worked fine.
The difference is that it's deterministic. If you avoid allocation in C/C++/Zig/Rust then you know nothing is going to slow you down, and at worst you have a couple of allocations that won't cause a big spike.

With GC you can try to avoid allocations, but you might miss a couple and get occasional frame stutters anyway every now and then. Also avoiding allocation is a whole lot harder in languages that use a GC for everything than languages that provide an alternative.

The real solution for games is explicit control over GC runs - tell it not to GC under any circumstances until the frame is finished rendering, then it can GC until the next frame starts. I assume Unity does this for example. Still, games are only one application where you don't want big pauses - one that happens to have convenient regular times when you probably aren't doing anything.
Isn’t hue on zigbee, so you can use any other app to control the equipment?
I haven't seen it since 2015.
> Teslas are the only American-made cars that are somewhat high-quality.

As the owner of one, this is absolutely not the case.

But I don't even think this is the biggest problem. It wouldn't matter so much if they'd just fix them when they break, but they don't. They go out of their way, and do everything possible to avoid fixing them, to the point of being rude. I hate it.
"Inverse probability" is just what statistical inference was called before frequentist ideas were introduced. It was in the second half of the last century when the "Bayesian" label was introduced - amusingly in opposition to the much newer "classical" methods.
GPT-4 nailed using Python [1]

Bard would likely reach a date in the past.

https://chat.openai.com/share/750a0bb0-7a80-4523-be5e-ebd7c3...
> You all realize that tipped wage is $2.35/hr, which isn't usually enough paid consistently either.

That isn’t true in all states, in California, Oregon, and Washington (and MT, NV, MN, AK) they make at least minimum wage, tips are always on top of that, no tip credits are allowed.
No, thanks. Server wages would have to be adjusted first, unless you want to screw those servers.

Please hold while I tip my waiter extra for serving me and my family on Christmas.

I'm sure there's some other cultural practice that you can crusade against, maybe in your own country?

(I do not tip in other countries like Japan as I respect their customs and wages are factored for no tip)
On Ubuntu, the command `notify-send` is provided by libnotify:

$ dpkg-query -S "$(which notify-send)"
libnotify-bin: /usr/bin/notify-send

The README for https://github.com/nowrep/notify-desktop says “It's basically clone of notify-send from libnotify” so I assume that would also work, but I don’t know your system.
I don't think ADA guidelines prevent installing stairs with ramps, and egress requirements may require stairs with elevators.
When we use it to solve real problems, make some real progress on climate change, then it will be something else from hype and it will be the year of AI.

When you as an individual use it to sort PDFs or something it’s really hype.
Bluetooth as well.
Their point is, we’ve been here before.
Sounds like the kind of planned obsolescence that Apple has been [sued for in the past](https://www.theverge.com/2020/3/2/21161271/apple-settlement-...).
It's not cowardice to seek happiness.
Never mind. The parent comment was subjective and of little value.
As an Englishman, I tip at restaurants as it is the only feedback I am able to leave with respect to the quality of the food/service. When the waiter asks "how's the food?" I am of course obliged to always say "very good, thankyou".
I don’t know how realistic it is, but it is a common tv/movie show trope to slip the host/hostess some cash to get seated quicker or a better seat.
Cool project. Does anyone know if they make those LCD screens in a higher definition? I've tried googling but I tend to find consumer electronics instead of electronic components.
Linear types are more powerful than affine in terms of implementing code that cannot go wrong as enforced by the type system. State machines reified in application code.

Affine is fine if there's a catch all operation available for when the value drops out of scope which the compiler inserts. You can call deallocate or similar when an exception comes through the call stack.

If the final operation is some function that returns something significant, takes extra arguments, interacts with the rest of the program in some sort of must-happen sense, then calling a destructor implicitly doesn't cover it.

There's some interesting ideas around associating handlers with functions to deal with exceptions passing through but I think I've only seen that in one language. The simple/easy approach is to accept that exceptions and linear types are inconsistent.
Is anyone doing this kind of research on SD cards?

I'm more interested in reads than exhausting the write cycles. I wonder what the "half-life" of each bit/byte is: years? centuries? And how much better are DVDs, fx.

I've never had a Blu-Ray fail on me, for what it's worth.
Interesting. This is in concordance with my own thoughts.

The ideal space-filling "core" of a rete mirabile recuperator is (I argue) a checkerboard, with black and white squares flowing in the opposite direction.† This makes all adjacent channels opposite polarity (unlike a honeycomb) for maximum heat transfer, and also reduces internal drag and manufacturing complexity (unlike triangles). Mass manufacturing can be done via extrusion, or by gluing together 90° corrugated sheets. If the core consumes 80% of the total system volume this reduces 3D printing cost.

Trees typically branch 1-to-3, which is probably optimal because evolution. For an 54x54 grid that means 1458 endpoints, or 6.6 branchings. That's one 2-to-1 branching (common on the first "trunk" branch of a tree) followed by six 3-to-1 branchings, for seven total branchings. This is a typical value for a real biological tree, so we're probably moving in the right direction re:biomimicry.

In real biological trees the fluid flow slows as the branches get smaller, so it's probably good to emulate that.

† arguably a honeycomb shell-and-tube is more efficient geometrically, but it's non-symmetric and (more important) the manufacturing and rigidity/robustness is questionable
It's especially hilarious because their official reason for their shitty infotaiment system was "safety".
I dunno, it’s just from noblesse oblige. If you don’t want to be generous to the people feeding you, then don’t tip.
There's also the types that fold like a book with a second screen on the outside. So when folded, it's like a thick normal phone, but when unfolded it's like a small tablet. I've never quite understand the appeal of the flip-style foldable, seems like the only advantage is taking up less space in your pocket.
> You may still have N crossings: user process -> uK -> fileserver -> uK [-> generic Disk driver -> uK] -> specific device driver -> ... and concurrently some thread/process scheduling has to happen as there may be many such things in flight at the same time.

Done right, a design such as mine should cut those crossings in half: user process -> fileserver [-> generic Disk driver] -> specific device driver -> ...

IMO, seL4 hasn't taken over for a few reasons, but the biggest is that it has a poor API.
Everybody knows elephants have 8 legs and humans 6 fingers. And if I ask you for $100 and you give me $50, we are even.
Yeah I’m sure what’s missing in mathematics is miles of parentheses
The mustang mach-e is infinitely higher build quality than anything Tesla makes. From body panel alignment to interior squeaks and rattles.
GPT-3.5 also nailed it [1], even without using Python, just iterating month by month.

https://chat.openai.com/share/aa0c0011-0e91-4d9c-9c5b-5901e2...