skysight-inc/HackerNews huggingface dataset:
Lies, damned lies, and statistics!

What a perfect example. :-)
> Anybody who shoots a deer without having a pretty good idea of the rack size before pulling the trigger is hunting badly.

I don't think very many people would disagree with you on this point. However, I believe the point is that there are, in fact, many bad hunters, regardless of where they may be sitting.

I'm reminded of this instance where a hunter shot a horse, upon which a 12 year old girl sat, mistaking it for a deer. Searching google for "hunter shoots horse" reveals approx 25 million results, for what it's worth.

https://www.brainerddispatch.com/sports/89-year-old-hunter-g...
I never mentioned anything about whether cancel culture is real or not.

All I wanted to know is, what was it you were posting that prompted others to go to such extremes of contacting your employer?
Please explain how you get a high latency on fiber that doesn't involve bufferbloat or doing something purposefully wrong. Where are these rural delays coming from?

Especially because an extra 200 miles of fiber only increases round trip time by 3 milliseconds. How far are signals going before they get routed in the right direction?
Very abstract-algebra-y (loci being probably some generalization of a metric space).

...Why don't we just import he rest of algebra here :)
interesting! only 18 bytes! all compressed instructions! i'd thought of doing that (in general it can be a very tricky transformation for a compiler to make safely, since it requires the loop reduction to be commutative, which of course it is in this case) but had come to the conclusion that it wouldn't help. incorrectly, it seems

in this case it's doing a tricky thing: because it's done the strength-reduction on the pointer arithmetic, it's free to do whatever it wants with the loop counter—not just eliminate it, but also, say, reverse it. that means it doesn't have to care about the loop reduction being commutative or not

https://godbolt.org/z/M14rdfzq3 has the trailing semicolon removed, for the convenience of hypothetical other readers of this thread

here's my untested, hopefully uncorrupted reformatting of it:

.globl sumarray
sumarray: li a2, 0 # total := 0
beqz a1, 1f # skip loop if array empty
2: lw a3, (a0) # load *a
addw a2, a2, a3 # add it to total
addi a1, a1, -1 # decrement n-i (previously initialized to n)
addi a0, a0, 4 # a++
bnez a1, 2b # repeat loop unless n-i == 0
1: mv a0, a2 # move total into return value slot
ret

that's 9 instructions, 5 inside the loop, but the only output from one instruction used as an input to another is the output of the lw; plausibly a sufficiently superscalar implementation of risc-v could run an iteration of the loop per cycle? kind of funny instruction scheduling, though, with those two dependent instructions being right next to each other, which would stall a naïve pipeline. macro-op fusion won't help in this case, you really need superscalar

this is an instruction shorter than my version because it doesn't need the slli or the extra instruction to compute the loop end, though it does need the extra addi in the loop. because it's only using beqz and bnez, its branches can all be compressed. i think the main thing i wasn't appreciating was how much space i was wasting on the array end computation, because that's the kind of thing that never matters

the 'pulp' core (now core-v) got a significant speedup on dsp loops by adding special zero-overhead looping registers, so you don't have to waste cycles on decrementing and testing loop counters (on your two inner levels of looping, anyway); part of their claim was that in-order scalar execution took more time per instruction but less picojoules, so if you're limited by energy consumption rather than transistor budgets or nonparallelizable algorithms, you're better off with more, slower in-order cores. from https://docs.openhwgroup.org/projects/cv32e40p-user-manual/e... i think that would make the loop look like this:

.balign 4 # must be 4-byte aligned
.option norvc # no compressed insns!
cv.setup 0, 1f, a1 # loop starts on next insn
lw a3, (a0) # load *a
addw a2, a2, a3 # add it to total
addi a0, a0, 4 # a++

but for larger loops the loop setup can take three instructions

this is also the kind of thing that the vector extensions ought to help with, of course!
> Tinting Sprites

Kids these days have forgotten all about palettized sprites! Where do ya think the term “palette swap” comes from? ;)

http://www.effectgames.com/demos/canvascycle/

It fell out of favor because OG Xbox was bad at it and Photoshop doesn’t support it. But, modern hardware can totally handle palette swaps make in AESprite.
Zed Kills VSCode [video]
Nice to know there is a trail to relevant citations. I missed the BitNet paper and need to catch up.

Btw TrueNorth project evolved into "NorthPole" chip by the same group, and was recently in the press. From afar NorthPole looks like an interesting design point and leverages on-chip memory (SRAM)--so it's targeting speed and efficiency at the expense of memory density (so perhaps like Groq in some respects). Tbh I haven't followed the field closely after leaving the group.
Geometric Algebra in Three Dimensions
To elaborate:

In the USA at least, to use the name "ice cream", there needs to be a certain density of cream. If the product isn't dense enough, you need to use another name, like "frozen dessert."

The products called frozen dessert are whipped up to contain lots of air. There's several advantages to this for the manufacturer: You can fill the same size container with less material, so you can cut costs. You can also list fewer calories for the same size serving.
SEC Investigating Whether OpenAI Investors Were Misled
Do people really, seriously want to live forever? I'm in my 40's and I've had almost enough of being around all you other Eh holes already. Another 40-50 years of dealing with you is already approaching too much to handle...

I kid, I kid, but seriously? why are these recent generations so obsessed with not dying? I'll be pleasantly surprised if I live forever but I'm focused on dying well eventually (that means leaving well rounded, non f'd up children to push for positive change after I'm gone and hopefully perpetuate the cycle, standing up to the obviously wrong BS when people spout it (marxist and otherwise), and trying to find and invest my excess wealth in things that push the production possibility frontier out rather than things that I can talk the government into allowing monopoly abuse and rent seeking profits forever on (the non excess wealth is invested in these monopoly abusers though, that's just sound retirement planning).
So write everything in assembly then?
Of all places, I did not expect to see a Rhythm Heaven reference on HN. :D Brings back memories
Rent-Stabilized Apartments Remain Off the Market
I thought that was what the article would be about. All those freezers are pumping out heat 24/7. I could see climate control being a huge issue for these facilities.
> The HTML for this example looks roughly like this:

<style> .special { accent-color: papayawhip } </style>
<input type=checkbox switch checked>
<input type=checkbox switch checked class=special>

I immediately don't trust these docs nor the implementation due to the almost invalid HTML examples. Attributes with spaces require quotes around the value. Opinions that extend beyond the standards, but even to the examples is why the web is so ugly.

The way this parses is that switch and checked are attributes with no value. That is technically correct but ambiguous to humans. Unsupported browsers will just ignore the switch attribute, but adding custom attributes this way is bound to cause weird bugs if using frameworks that don't prefix the names of their custom attributes. I believe certain doctypes or serving the HTML with another content type (XML) will throw an error for not having the quotes.
> This involves a lot of bureaucracy and paperwork.

And depending on the state, you may need a board of directors. Which is a huge pain for really small projects. Like say one or two developers.
I want Heroku experience without paying Heroku price, so Render and Fly.io were an option.

But when I evaluated them, Render didn't support loading my own docker image, so it's incompatible with my build process and CI/CD.

The book is a living document, and I always try to find easier/cheaper/faster/better ways of doing things, so I'll definitely check Render again!
I've read a lot of wild shit before but I've never come across a claim that Down Syndrome is caused by vaccines. Care to share the source of this information?
Castor and Pollux, if I recall correctly.
https://archive.ph/2024.02.29-043027/https://www.wsj.com/tec...
AI Warfare Becomes Real for US Military with Project Maven
Could you please stop posting flamewar comments? We had to ask you this just recently.

Please especially avoid tit-for-tat spats like this one. They're not what this site is for, and destroys what it is for.

https://news.ycombinator.com/newsguidelines.html
Could you please not post flamewar comments?

Please especially avoid tit-for-tat spats like this one. They're not what this site is for, and destroys what it is for.

https://news.ycombinator.com/newsguidelines.html
There are also religions that require you to rest every 7th day. Having those two leap days would be anathema to them.
There was a typo that was melting my brain until I confirmed that this was not some alternate plotting library.

"Here is every single colormap that matlibplot supports,..."
I feel like it's obvious that it would be measuring local-ish latency. That's not reductive, it's separation of issues. If someone wants to communicate across the world, their total latency should be a consistent number added to the local-ish number.
err, my point is, are you calculating the rent you'd pay renting an equivalent place? Cause you need to do that, and account for inflation as well.
LLMs in 1.58 Bits – How do you have less than a bit?
Meta plans launch of new AI language model Llama 3 in July
Nope, all audio was straight from the camera, no gain adjustment or muting. Something odd happened with the diaphragm in the mic I think.
Mozilla has had like 6 or more "branches" (we call them ports) already going so if one more makes sense, it's not a big deal.
There's an interesting mental model I've been toying with. At what point do LLMs just become circuit-shaped NNs with stochastic gradient descent backing them?

E.G. are we just determining the best program by rearranging 1s and 0s?
The entire civilization comes to the belief that life is futile? Seems absurd.
I don't think there is anything conceptually new in this work, other than it is applied to LLMs.

But in fairness, getting these techniques to work at scale is no small feat. In my experience quantization aware training at these low bit depths was always finicky and required a very careful hand. I'd be interested to know if it has become easier to do, now that there are so many more parameters in LLMs.

In any case full kudos to the authors and I'm glad to see people continuing this work.
Environmental risks of car tyre microplastics and other road pollution runoff
> Gemini said it was “pleased to announce that we have finally reached a settlement in principle with Genesis and other creditors in the Genesis Bankruptcy that will, if approved by the Bankruptcy Court, result in all Earn users receiving 100% of their digital assets back in kind.”

The in kind bit is interesting. What are the odds that these assets have dropped in value over the period they've been in limbo?
The first look-up table effect that really impressed me was to use them for making a textured tunnel.

You have a look-up table such that for each pixel on the screen, you know its angle and distance from the center of the screen. With this you can pick which texel to put at each pixel location.

It looks as if you are moving in a tunnel with 3D geometry, but it's so cheap you can even do it on pico: https://www.lexaloffle.com/bbs/?pid=63818

At first I thought the game Stardust must have used this effect, but reading up on it just now they actually just play a repeating 6 frame animation for the background! https://codetapper.com/amiga/sprite-tricks/stardust/
That's interesting. You should consider yourself lucky to have met Wolfram employees, as they are obviously vastly outnumbered by users of Mathematica.

I have not met any developers for either of these products but I know that SymPy has a huge list of contributors for a project of its size. See: https://github.com/sympy/sympy/blob/master/AUTHORS

You may not be hearing about SymPy users because SymPy is not a monolithic product. It is a library. If you know mathematicians big into using Python, they are probably aware of SymPy as it is the main attraction when it comes to symbolic computation in Python. They wouldn't necessarily spit out a bunch of libraries in the same breath as "I use Python."
I made an account many years ago and spent a few hours creating my profile which is really all I did. I didn't tell anyone about it, I didn't do anything public like following or posting, I didn't look anyone up while being logged in, I simply filled it with CV info and that's it. I don't recall if that's a thing or false memory but I think I had even kept my profile private at that point because it wasn't finished. The next day I logged in from my workplace and once I got home I noticed I had been locked out because of "suspicious logins" and that I "shared my credentials with others which isn't allowed". I don't remember how I contacted them but I believe there was a support form which didn't require login - so I did and explained the situation, that my account wasn't even 48h old, that I had logged in exactly twice from only two different ISPs from the same country and that I obviously hadn't shared my credentials with a third party (why would I?!) and that this was silly and ridiculous and that I asked my account to be unlocked. Didn't take long to get a reply which didn't state anything else but that I would require to send them a copy of my ID (passport) via mail. Noped the fuck out of that and never looked back. I can't but think the whole website is a scam.
pinky swear
This (location data collection) is why Apple bought Dark Sky imo https://i.imgur.com/M7ywdfo.jpg
Update: seems like it was already ~2 months out of sync when Caesar went to Gaul, so this is basically incorrect?
The company that created the well-known cryptocurrency Shiba Inu, SHIB, revealed today its most recent innovation: the incorporation of Fully Homomorphic Encryption (FHE) into its ecosystem. With this development, $SHIB holders may now enjoy unmatched privacy, making the SHIB community one of the first in the Web3 sphere to benefit from full on-chain data protection.

Participants may protect their transactional and personal data from the growing risk of data breaches by using SHIB’s new privacy layer, which is enabled by $TREAT.
> Attributes with spaces require quotes around the value.

It's meant to be read/parsed as `type="checkbox"`, `switch="true"`, `checked="true"`, `class="special"`. They're different attributes, not a long `type` attribute without quotes.
iirc that too is against their TOS, you may only have one account.
He's just fast enough to stay away.
> watching a movie together with friends, have them type their comments on their phones and display them on my TV, in a lower third

This is what twitch streamers do all day using OBS and twitch chat. Hang out with their followers and watch/react to YouTube videos and read chat comments.
Richard Lewis, Acerbic Comedian and Character Actor, Dies at 76
> why is Alt (a key not on the Mac keyboard; do you mean Option?) germane?

It is a literal (as in both printed on the key and referenced in the OS/docs) key on a Mac keyboard with, you're just confused by the fact it also has another name.

> A lot of things don't know you rebound your keys, there can be weird clashes, etc

Like what? If you just move 4 keys all the things will know, that's a system-wide rebinding. And what clashes do you mean? You've only provided a single example Ctrl-C example, which turns out to be easy to resolve in either the same way it's resolved in Windows. Or in a better way

But also, if you recognize there are many clashes that need to be resolved via rebinding, then this "rebinding 4 keys is more work than rebinding 3." doesn't make sense, guess that's why you're confused again. Alt is germane precisely because rebinding 4 keys isn't enough since default keybinds work differently with these modifiers.

1. On a Mac Cmd key is already used by the OS for most of control functions, so it's easy to rebind the few terminal Ctrl keys to Cmd without moving those 4 keys around, and resolve only those direct clashes

2. But on a PC Alt is used for some common operations, so if you move Ctrl to the more convenient thumb location, you'll have to deal with moving some of those keybinds, so resolve clashes that potentially touch more apps/keybinds than just terminal keybinds
Not mentioned in the article but the retirement could be health-related--either him or a near relative. The numbers don't justify a quick CEO switch.
My favorite is April in Polish, kwiecień, which means something like “month of flowers.”
https://archive.today/kUszw

https://en.wikipedia.org/wiki/Richard_Lewis_(comedian)
Threatening a multi billion dollar company by making an emulator that contains zero infringing code? Give me a break. Nintendo needs to be squashed in court and brought back down to earth.
Why is Google's UX crummy. Why are defaults bad? This isn't by accident. This is to bend people towards the Google-benefiting options and against their own self interest. This is called "dark patterns" and it's a bad thing, an evil thing.
Is the consensus that this was purely greed-driven? In a number of recent stories and quotes from politicians it’s been kind of hard to square up their proclamations of greed and yet no mentions of mandated minimum wage increases or inarguably higher wholesale meat, produce, and transport costs, for example. Perhaps C:all of the above?
Maybe 17000mph was a bit sloppy of a title on my part. It was a weird orbit, with the burns we were doing.
Does this mean the card is toast after 15 minutes of writes?
No it's not silly. A Lamborghini might be a better performing vehicle that could solve problems I didn't even know I had, but if I don't have the money for it and/or a Ford Pinto covers 99% of the cases I need, the Pinto is better.

I'm not arguing that SymPy is going to beat Mathematica on benchmarks. But if both of them meet your needs, and you like having money and/or control of the code, SymPy wins.
Emulation is legal in the US. Nintendo deserves to have their games pirated over this anti consumer overreach.
Fascinating, I wouldn’t have expected that!
naw, 4% is fine, i'm half joking

i'm pretty much a raw beginner with orbital dynamics but my vague idea was that you'd have to ellipticize the orbit by hundreds of kilometers to change the orbital speed by more than a fraction of a percent, and that would be expensive enough that you'd only do it if you had a really good reason

but the only satellites i've ever troubleshot had only extremely limited maneuverability (though i'm not totally sure how much more than that i can say)
Rotating Detonation Engine of some kind? I've had a bit of a thrust-crush on that configuration since I heard they were working on the fluid dynamics to make them work. Pulse Detonation Engines are cool and all, but no one wants a kilometer of tailpipe hanging off the ass end of their vehicle.

That fluid problem really is the Achille's heel of RDE, because it requires such a clean airflow in the thing, in order to synchronize the blast waves. The longest burns to date, so far as I know, have been with LOX.
Resend founder here.

After a full investigation, we identified the responses from inbox providers like Gmail indicating that your sending domain was rate-limited.

We shared the responses and next steps to improve deliverability in your support ticket.
Ask HN: Do we need two different stacks for managing object and embeddings?
I came across the concept of Deeplake. Curious to know from experts here, will managing embedding and data lake converge in future?
Gonna pitch this guy a startup that fixes this.
Especially when a lot of the "lack of loss" is due to the speculatory appreciation of cryptos as a whole, not due to anything on SBF's behalf. If crypto had crashed, they could equally be looking at almost nothing.
Render supports loading your own Docker image now: https://docs.render.com/deploy-an-image
Hi guys, my law firm Seton & Associates originally assisted in establishing this 501c3 fiscal sponsor Open Collective Foundation many years ago. I have been a law practitioner in the space of advising charitable structures for 25 years. We know the ins & outs of the world of fiscal sponsorship. In addition, I am the CEO, Founder & Chairman of the Edward Charles Foundation which is a 501c3 fiscal sponsor. We are registered in all 41 jurisdictions requiring such registration and also are audited each year by an independent CPA Firm. We can help. We also have relationships with many fiscal sponsors to refer you if we are not the right fit. Feel free to email at kseton@sblservices.com and I will respond promptly.
For further context on this story which is not really given as this is a local news outlet a lot (maybe 50%+ ?) of all fuel stations in NZ are completely unmanned. You authenticate your card or phone at a terminal, select the pump and then that pump is unlocked and you fill up. There are no attendants to assist you or accept payment.
And not to mention, a large part of SBF's claims of being able to make people whole is in large part because of this appreciation, not because of any "non-predatory" behavior on his part.
It's not just initial installation. I have not pursued a license lately but these kinds of products cost money for every running instance. Institutions often have license servers on premises that allow a fixed number of people to use the stuff at once. If you use a SDK to build a program with it, that's got a separate license. If you need it for a real product, we are generally talking like thousands of dollars per developer per year in perpetuity, plus god knows whatever you use for SaaS. You might have to negotiate a price for your use case.
IIRC, Hamming's book "Digital Filters" (1989) has a section on FFTs with only the sign of the coefficient being used. It performed surprisingly well.
https://archive.is/YorQm
Not sure how a polyfill would be able to replicate the native OS style without needing to be updated regularly in sync with OS releases. If the native OS style uses effects not supported by CSS the illusion will break.

If that's the way it's going to be implemented why not just use a CSS class from a UI framework instead of a janky non-standard attribute with a desirable name that's bound to cause bugs in naive code?
How well can AI imitate an early modern doctor?
they literally make it up in volume or they wouldn't be doing it. no one's running any charities here.
Ahhh, that makes more sense, thank you.
https://web.archive.org/web/20240229043933/https://www.theat...
That would involve force and most likely some harm, state sanctioned or not.

I'll bet most would have been completely unaware that viewing a weather app led to being arrested.
Consider using tar files for this. Lots of tooling (versioning, hashing, storage) around this already, and docker layers comes to mind.
Exactly what I was thinking, it's an interesting idea.
I’m aware that it is a thing, but it still makes no sense to me, in the framework of fairness. It sounds like it is still a game, just a single-player one, the player is handicapping themself not out of a sense of fairness but in the interest of keeping it fun.

It seems really inhumane, to be honest. However we gussy it up, any rules of sportsmanship that get in the way of a good quick clean kill are just animal cruelty with extra steps.

Lots of traditions, in retrospect, don’t look so great—dogfighting, bullfighting. Times change.