skysight-inc/HackerNews huggingface dataset:
has anyone benchmarked qoa to see roughly how many instructions per sample it needs? all i see here is that it's more than adpcm and less than mp3, but those differ by orders of magnitude

like, can you reasonably qoa-compress real-time 16ksps audio on a 16 megahertz atmega328?

hmm, https://phoboslab.org/log/2023/04/qoa-specification has some benchmark results, let's see... seems like he encoded 9807 seconds of 44.1ksps stereo in 25.8 seconds and decoded it in 3.00 seconds on an i7-6700k running singlethreaded. what does that imply for other machines?

it seems to be integer code (because reproducibility between the predictor in encoding and decoding is important, and a significant part of it is 16-bit. https://ark.intel.com/content/www/xl/es/ark/products/88195/i... says it's a 4.2 gigahertz skylake. agner says skylake can do 4–6 ipc (well, μops/cycle) https://www.agner.org/optimize/blog/read.php?i=628, coincidentally testing on an i7-6700k himself, but let's assume it's 3 ipc, because it's usually hard to reach even that level of ilp in useful code

so that's about 380 μops per sample if i'm doing my math right; that might be on the order of 400 32-bit integer instructions per sample on an in-order processor. if (handwaving wildly now!) that's 600 8-bit instructions, the atmega328 should be able to encode somewhere in the range of 16–32 kilosamples per second

so, quite plausibly

for decoding the same math gives 43 μops per sample rather than 380

i'm very interested to hear anyone else's benchmarks or calculations
The model assumes the non-working adult is able to provide child care.
You get JSON types with postgres. If you aren't sharing data between tables then json is fine
California’s WUI code is a decent start.

Rather unintuitively, the first thing to do isn’t to worry about combustible exterior materials — it’s to worry about vents and anything else that lets embers in.
This would be immediately obvious in a cursory analysis of performance. On-device transcription is not only computationally infeasible, it would also require model capabilities far beyond what is currently SOTA.

Google had (and has afaik) significant challenges implementing multiple wake-word detection for precisely this reason.

Transcribing a couple of words accurately on-device without a major performance penalty (so that it can be running in the background always) is just _barely_ coming out now.
This massively underestimates the cost of housing, at least in my locality.
It seems there is nothing good that came out of crypto so far. Carbon emissions, waste of money on the mining facilities, GPUs wasted, production capacity for silicon wasted.

And what is a result so far? Financial scams, crypto extortion schemes, bot nets, black market and drug market currency, exchange failures. A lot of negatives and literally nothing on the positive side.

And now this dystopian Worldcoin scheme.
Yes smoker telling me that smoking is bad is hypocritical virtue signaling. Rich people telling me to walk so they can hop on their private jet and fly away is hypocritical virtue signaling.

No amount of mental gymnastics you are trying to present here will change it.
An automobile is basically a requirement to not starve anywhere outside the core of maybe 5 American cities with acceptable public transit. It's the same as having a pair of shoes.
Depends on how you take it. I worked for the government during the Bush administration, but not in the administrative staff itself. It's just a shitty and unnecessary jab that rubs me entirely the wrong way.
Optimization Techniques for GPU Programming [pdf]
You only need to generate a single patentable refinement once every twenty years. In a lot of places, this is a horrible pace relative to the organic rate of progress. Compare the progress made since the main patents for FDM 3D printing expired compared to the progress made while it was still under patent.
Iris photo is completely unconfirmed outside of "Twitter likes her." She said she would make a video over a week ago and never did. Additionally, due to the fleck being confined to a tube, it would not fall afoul of any proofs about ordinary ferromagnetic levitation being impossible.
> Or did I just miss this rationale?

Nope, you're spot on: better refactoring and increased correctness are the biggest motivators for type systems to exist... I don't even know what the author means by suggesting that a strong type system avoids code duplication (as someone who has used type systems for decades)!! Can someone illuminate?
What does that mean in reality? Pretty sure Chrome Web Store extensions are reviewed, but since they're all minified and obfuscated garbage, I wonder how easily malicious code could slip through. I'm surprised there hasn't been a mass cookie stealing attack yet.
Other than 1 or 2 individuals from previous jobs I've never in my life felt social fulfillment from colleagues. Even those 2 people I haven't spoken to in a long, long time and in fact only remembered they existed because I'm writing this post.

As far as social situations go, colleagues rank somewhere near the bus driver I greet every morning in terms of how much fulfillment they give me.
* high variance in teacher quality (we had such a bad French teacher that after 9 years of lessons, I knew less than those who had 4 years at a public school)

* long hours

* since the school didn't believe in failing students, everybody was kept in class, and the teachers had to do lots of repetitions to accommodate unmotivated students who remembered nothing from the past two years of classes. Very boring and demotivating for others.
Verizon baffles me with purchases like this. They have bought a lot of random companies like this and Yahoo with no real purpose, while effectively letting T-Mobile take the decisive lead on 5G. What were they thinking?
Sadly, separating humans into different species would further delineate the "other". Opening up the asinine argument of genetic superiority, the "others" as a less evolved species, and just reignite eugenics.
What new and big in this release? Like most in technology I kinda hate the platform but manage several instances for friends, families, organizations...
It gave me a P2200 GPU. lol.
> The state even collects the tithe! Separation of state and church...

It's a collection service to simplify processes that costs the religious or philosophical organizations who participate (not all do) about 3% of their revenue.

Also, a couple of Jewish organizations participate (full list at https://de.wikipedia.org/wiki/Kirchensteuer_(Deutschland)#Ki...)
I'm surprised Amazon didn't come up with that idea a long time ago.
FWIW, and since a few of you probably use it… I own the JSON Formatter extension [0], which I created and open-sourced 12 years ago and have maintained [1] ever since, with 2 million users today. And I solemnly swear that I will never add any code that sends any data anywhere, nor let it fall into the hands of anyone else who would.

I’ve been emailed several tempting cash offers from shady people who presumably want to steal everyone’s data or worse. I sometimes wish I had never put my name on it so I could just take the money without harming my reputation, but I did, so I’m stuck with being honourable. On the plus side I will always be able to say that I never sold out.

[0] https://chrome.google.com/webstore/detail/json-formatter/bcj...

[1] low effort tbh
I'd actually argue there's a benefit to those who need to work at the job site in having the others stay home: a commute in a crowded bus / subway where you can't breathe or spending 2 hours on a gridlocked highway is an absolute PITA for everybody concerned.

So if I can jockey my keyboard while sitting in my chair at home instead of taking the subway to do it while sitting in my employer's, that's a tiny bit more space for the guy who actually needs to go somewhere and work in person.
This really happens at theme parks now? What the hell?!

[edit] The last time I was at Universal Studios, I was 17. A couple friends and I spent a few hours running around the park in camouflage at around 1am, stoned out of our minds, before being caught and escorted out. They let us go with a warning. Can you imagine what they'd do now?? The 90s were awesome.
I don’t disagree with you but the fact remains: they aren’t doing it.
They will just rename everything and operate under a new shell company. Then everything will be back to the status quo.
I'm not seeing how the GP's idea could be used by bad guys to block access to services - it'd be something you could add to your firewall, if you don't use this service, to prevent it's use in gaining persistence.

If the bad guys can modify your firewall config, you already have a problem.
Until they stop locking people out of their accounts without explanation there is zero reason for anyone to be interested in this.
That's exactly where I'm coming from here. The original evidence that had people cautiously optimistic has been thoroughly dismantled. It's not showing any unusual or inexplicable signs of superconductivity: no anomalously high diamagnetism, no anomalously low resistivity or IV curves, no heat capacity differences, it lacks a theoretical model, and all anomalous measurements can be completely explained in terms of known or predicted properties of its constituent materials. I don't even need to bring up the lack of credibility of most of the members of the lab, HT Kim's crackpot tendencies, or the fact that Qcentre misrepresented its affiliations for it to be clear that there's nothing to the original paper.

Yet people are arguing "it might still be a superconductor! Just an exotic type that no one can replicate and also doesn't look like a superconductor in any measurements!" Okay, so could any number of other compounds, many of which are far more promising than this one (e.g. some USOs have shown actual definite diamagnetism). Why should we care about this one?
I used BlueJenes briefly on a paid account, it was better implemented than Zoom.
The issue I ran into was people didn't want to install the BlueJeans client because they already had Zoom.
It's pretty common for devs who are inexperienced with cryptography to succumb to the temptation to roll their own, especially if they start studying cryptography algorithms.

It's always a mistake, though. This is something I had to cover with younger devs quite a bit back when I worked for a company that made heavy use of cryptography.
> First off, I see $38,817 not $18k. Where did you get that?

https://livingwage.mit.edu/metros/42660

> Typical Expenses
>
> 1 Adult
>
> Housing
>
> $18,388

I'm talking about just the housing, it looks like the number you're talking about is total expenses.

> Second, this is for the whole Seattle/Tacoma area. This isn’t living in central Seattle.

Okay that makes more sense. You can definitely get studios for $1.5k with utilities in e.g. Renton or Kent.
You've put in some good, hard work there, congrats.

I'm thinking I'd have to have some very fine scrolling skills, and sit exactly still to keep my eyes constantly on one small vertical area of the page. And I'd rather dart and exercise my eyeballs than my scrolling finger :)
Looking at a map, there are zero credible roads that are presently safe that go from the unburned area North of Lahaina to anywhere else.
> There are other problems that make Haskell hard to work with.

What are the biggest or most important ones in your opinion?
Biohacking Devotees Spend Hundreds of Thousands–Even Millions–Enhancing Homes
> Dynamic languages, on the other hand, suffer from these drawbacks to a lesser extent, but they lack compile-time checks.

I.e. "The two or three popular dynamic programing languages I know don't have any compile-time checks".

Even my modest dialect (utterly not focused on type at all) Lisp can do a thing or two:

1> (compile-toplevel '(let (x) (cons a)))
** expr-1:1: warning: unbound variable a
** expr-1:1: warning: cons: too few arguments: needs 2, given 1
** expr-1:1: warning: let: variable x unused
#<sys:vm-desc: 8da2ac0>
2> (compile-toplevel '(awk ((let (x y) (rng x y)) (prn))))
** expr-2:1: warning: rng: form x
is moved out of the apparent scope
and thus cannot refer to variables (x)
** expr-2:1: warning: rng: form y
is moved out of the apparent scope
and thus cannot refer to variables (y)
** expr-2:1: warning: unbound variable x
** expr-2:1: warning: unbound variable y
** expr-2:1: warning: let: variable y unused
** expr-2:1: warning: let: variable x unused
#<sys:vm-desc: 8e6f3c0>
3> (compile-toplevel 'foo.bar)
** expr-3:1: warning: qref: bar isn't the name of a struct slot
** expr-3:1: warning: unbound variable foo
#<sys:vm-desc: 8e8dc80>

Common Lisp implementations like SBCL have sophisticated type inference.

Dynamic programs can do things wrong in ways that are statically obvious.
I couldn't believe it myself.
The matching syntax looks really good to me:

// Java 21
if (obj instanceof Point(int x, int y)) {
System.out.println(x+y);
}

// Older Java
if (obj instanceof Point p) {
int x = p.x();
int y = p.y();
System.out.println(x+y);
}
Um, good? Facebook and Twitter should never have been allowed to become the default for this, anyway.

These services should have an always up web page. With an RSS feed. So anybody can connect to it and shove the warnings out however they want.
Thank you for the kind words. I actually publish hoverzoom+ to Firefox and Edge as well (links are in the repo's readme) so you can use it there too.
https://archive.ph/zcEDr
Data probably comes from the Bureau of Labor Statistics: https://www.bls.gov/oes/current/oes_stru.htm#11-0000
Its worth noting that from what I can tell - A model well trained in most languages would be able to learn the niche ones much more easily.

The vocab size of llama2 is 32,000. I guess I personally don't think that there's enough difference in programming languages to actually save any meaningful number of tokens considering the magnitude of the current vocab.
Ask HN: Cheapest hardware to run Llama 2 70B
Was wondering if I was to buy cheapest hardware (eg PC) to run for personal use at reasonable speed llama 2 70b what would that hardware be? Any experience or recommendations?
> A pack of two 113g Beyond Burger plant-based patties costs £4.30, or £19.03 per kg, at Tesco, while a pack of four 113.5g Finest beef steak burgers is priced at £4, or £8.81 per kg, at the retailer.

The less tasty, less satisfying, less nutritious, fake version costs more than twice the price of the real thing. That's a tough bubble to keep inflated.
A large proportion of living expenses are housing, so this calculation is sensitive to the housing component. The housing component is estimated as the U.S. HUD's "Fair Market Rent", which is defined as the 40th percentile rent. I believe this overestimates a living wage. It's more like a living-like-the-40th-percentile wage.
An even more cynical possibility is that it isn't even about the biometric data. If you treat that part as a distraction, the rest of it looks exactly like a typical cryptocurrency "airdrop" pump-and-dump scheme -- give away a bunch of your tokens to build hype and set a (bogus) price target, then start selling the tokens for liquid currency.
OK, but how does that account for the fact that the atmosphere thins?

I'm not a physicist but it seems to me that given entropy and the thinning of the atmosphere as elevation increases that clouds would not a) not appear to float in place and b) only move in one direction.

Low clouds would appear to float in place but high clouds would move quickly away from the spin of the earth.
As sibling commenter pointed out, typing "Seattle" doesn't yield results for Seattle, but rather the whole Seattle/Tacoma metro area, which includes several places that you can get a $1500 studio plus utilities in.
True, it hasn’t stopped hobbyists from using x264, ffmpeg or VLC in the past but that would probably prevent companies in some markets to use this audio format.
I think it's more of a compliance test than anything else. They already have all the facial recog data they would need, or could easily source it.
Yeah no interaction I’ve ever had with an AI has ever come close to passing the Turing test for me.
I first started noticing that apparently lots of people had begun to find it cool some five or eight years ago... So, given how incredibly hip and well-connected and "with it" I am, presumably at least some five (or perhaps ten) years before that.

So ca 2010, maybe just a little earlier?
Well, they do give you a lump sum every 3 years to buy whatever laptop you want with.

Personally, I was fine with this: I had a laptop I was already doing open source work with, no reason for me to change (I did open source work with my same laptop, as usual, and got paid for it).

Of all the things I could criticize my ex employer about, this isn't one of them frankly. Could they give a lump sum at hiring? Yeah maybe. Could the frequency be increased? Sure...

They made up for that kind of stuff by a lot by flying you around the world a few times a year for a week or more, in my book.
Who's a die-hard Mozilla fan?

People who love Ubuntu, tend to love Ubuntu.

A very long hiring process pretty much ensures the only ones still waiting around are the ones who really want to work at Canonical.
Childcare would be the biggest difference here. I assume the other parent is taking care of the kids which reduces wages needed to cover that expense.
The order page says "pre-order your pibox", but later says in-stock, and next-day shipping.

Very tempting looking product!
Supreme Court: Apple may continue blocking third-party payment service links
That's still going to be late and over-budget.
Missouri warns that health info was stolen in IBM MOVEit data breach
What size cash offers? Not that I want some of it, but then I do think there could be an industry re-scamming these people and want to know how much we're talking about.
Say what you want about him, but George is one of the few people I know that can actually go a mile wide and a mile deep into any field they choose. And he does most of his digging live on stream, so he makes an easy punching bag. Do I think he'll successfully raise a $400M round on a $2B valuation? No, something else will distract him before that - but I'm going to enjoy watching him (and pulling for him) regardless.
In a lot of places in the US a teenager without a car might as well be nailed to the floor.

If both parents are working, they can't do after-school activities or extracurriculars. Some can make it work by catching rides, but it's remarkably difficult.

I know this is insane, but that's the world we've got.
I learned most of this the hard way as a SRE. How systems behave at and over their limits is far more important than how they behave under them. A system that is 'forgiving' (aka resilient) is worth its weight in gold. Otherwise you get into downward spirals with systems that can't recover unless they are rebooted. Great read!
For those in the ecosystem these days - is there a compelling reason to choose Java over Kotlin? I am under the impression that Kotlin is a better Java without any sacrifices. Is this true?
The point is, it never became cool.

It was a good tool, and it still is. There is no marketing, no fluff, no buzz world.

It gets the job done.

That's what's good about it.
One killer feature from Firebase is anonymous authentication https://firebase.google.com/docs/auth/web/anonymous-auth

This allows for a frictionless onboarding process for startups.

Are there plans for Supabase to support that?
Biometrics / fingerprinting at Universal Studios: https://www.universalstudioshollywood.com/web/en/us/faqs/bio...
The job was part of rewrite from the obscure language to C#. So I guess some, but mostly I just need to be able to read it.
Typically renting has no bearing on refusing mail delivered. It's your current domicile. If they are coming into your property to deliver the mail, you could post no trespassing and call the cops on them.

Courts spend time on all manner of things, so in fact they would spend 8 minutes on it.
Both were late, and I wouldn't say that Falcon was built expressly for humans. It spent a decade proving itself before it flew with people. That's not a _new_ launch vehicle.
Short answer: apt, yum, etc have aspects of tight integration with the distribution that make it a little more difficult (not impossible) to be a "sidecar" package manager like homebrew.

Does "brew install elixir@1.14" work for you? Homebrew has its problems, one of them is something like calling out versions doesn't always work. I use brew for packages where I generally only want the latest versions, but for finer control of multiple versions, I usually hand those packages over to asdf.

And for apt,yum etc, if you want bleeding edge releases, it's usually more lag, or repackaging work than the "sidecar" package managers.
Arc Vault SCIFs: Sensitive Compartmented Information Facility
ok - but raku has a reinvention of Numeric that is less esoteric, and more practical ... what you mention is that an Int isa Rat isa Real isa Complex isa Numeric ... and thus in Scheme or Lisp, then the Number Tower class model is one of subsetting features as you go down to an Int which is counter to the reality in your computer than an Int is just a 64-bit register

in raku, for example, an Int is not an isa (grand)child of Complex (and so doesn't carry that overload) ... but yes it is a Real

so raku separates Real from Complex and Int from Rat and you can go eg. my $x = 1 ~~ Rat; #False and this is aligned with literals - 1 vs 1.1

and then you play nice if things overflow

see https://docs.raku.org/assets/typegraphs/Numeric.svg
> MariaSQL

MariaDB.
I don't think most people go vegan for the cost. Most likely a vegan is going to simply eat less beyond burgers rather than switch back to meat.
To be honest, I would love to get an EV, but unless you have access to charging at work or another reasonable location, having an EV effectively requires you to own your own home, and the home needs a garage. Outside of that, you _might_ be able to get away with a L1 charger, and then topping off at a L3 charger after sustained drives, but even then you'd need a mechanism to secure the charger. I know many chargers now lock into the car for safety, but I don't know if that applies to anything other than L3 chargers, and that would only secure car to charger, and not charger to outlet.

I own my house, but I don't have a garage, and I don't have enough land to construct one. I could potentially hire an electrician to run a new circuit out to the pole where I have a lamp that is next to my driveway, but there's no feasible way for me to get anything other than L1 charging out there safely, which would get me very little range.

However, if you have a townhouse or an apartment, or even if you rent your home, with rare exception of your complex either having chargers or potentially having a deck for you to park in where you might get lucky in negotiating a charger, you're straight out of luck.

I'm casually planning the next car purchase in the next year or so. At this point, unless I expect there's a move in the cards that could put me into a house with a garage where installing an L2 charger is feasible, or the amount of range that I need + accessibility of chargers is so ubiquitous that I will be able to reasonably charge the car when I need range, I'm probably looking at a range-extender style hybrid for the next car.
That hive is too small to matter. Kind of like I don't really concern myself with all of the wildlife in Australia that would like to eat me. It doesn't affect me in the least day to day.

Amazon was once a small business. It's possible to grow that hive but the vast majority get exterminated.
Metal FlashAttention: Accelerating Image Generation in the Apple Ecosystem
Because they have limited access to the Internet? That’s just silly.
Personally I just like Impossible meat better.
Android phones that are 8 major versions out of date because the OEM won't support them probably don't have that feature.
! Amazing. I had seen so many strong Haskell teams that Rust seemed like the play, for the same reasoning.

I'm glad it worked out for both of us.