skysight-inc/HackerNews huggingface dataset:
iiinteresting! i can't see how to get machine code listings on godbolt, but on my own machine (with 12.2.0) the -Os sumarray is 30 bytes, sumarray_opt is 22. with -O3 sumarray shrinks to 28 bytes but its loop is indeed only 4 instructions long, and sumarray_opt is 26 bytes (with the same inner loop with slightly different register assignments). so at least that one is smaller. and it's probably true that the 22-byte sumarray_opt with its 5-instruction loop is slower on most machines than the 26-byte version—but the 26-byte version would have been both smaller and faster than what -Os emitted for sumarray originally

with -Os (please forgive objdump's unreadable disassembly and incorrect mnemonics):

00000000000007e8 <sumarray>:
7e8: 872a mv a4,a0
7ea: 4781 li a5,0
7ec: 4501 li a0,0
7ee: 0007869b sext.w a3,a5
7f2: 00d59363 bne a1,a3,7f8 <sumarray+0x10>
7f6: 8082 ret
7f8: 00279693 sll a3,a5,0x2
7fc: 96ba add a3,a3,a4
7fe: 4294 lw a3,0(a3)
800: 0785 add a5,a5,1
802: 9d35 addw a0,a0,a3
804: b7ed j 7ee <sumarray+0x6>

0000000000000806 <sumarray_opt>:
806: 058a sll a1,a1,0x2
808: 87aa mv a5,a0
80a: 95aa add a1,a1,a0
80c: 4501 li a0,0
80e: 00b79363 bne a5,a1,814 <sumarray_opt+0xe>
812: 8082 ret
814: 4398 lw a4,0(a5)
816: 0791 add a5,a5,4
818: 9d39 addw a0,a0,a4
81a: bfd5 j 80e <sumarray_opt+0x8>

with -O3:

00000000000007f0 <sumarray>:
7f0: cd81 beqz a1,808 <sumarray+0x18>
7f2: 058a sll a1,a1,0x2
7f4: 87aa mv a5,a0
7f6: 00b506b3 add a3,a0,a1
7fa: 4501 li a0,0
7fc: 4398 lw a4,0(a5)
7fe: 0791 add a5,a5,4
800: 9d39 addw a0,a0,a4
802: fef69de3 bne a3,a5,7fc <sumarray+0xc>
806: 8082 ret
808: 4501 li a0,0
80a: 8082 ret

000000000000080c <sumarray_opt>:
80c: 058a sll a1,a1,0x2
80e: 87aa mv a5,a0
810: 95aa add a1,a1,a0
812: 4501 li a0,0
814: 00b78863 beq a5,a1,824 <sumarray_opt+0x18>
818: 4398 lw a4,0(a5)
81a: 0791 add a5,a5,4
81c: 9d39 addw a0,a0,a4
81e: fef59de3 bne a1,a5,818 <sumarray_opt+0xc>
822: 8082 ret
824: 8082 ret

still, aside from risc-v's unnecessarily pedagogical syntax, what's wrong with this?

.globl sumarray
sumarray: mv a2, a0 # compensate for abi design blunder: first argument (array base address) in return value register
slli a1, a1, 2 # convert array size to byte count
li a0, 0 # initialize return value to 0
add a1, a1, a2 # compute array end
beq a1, a2, 1f # skip loop if empty
2: lw a3, (a2) # load array item from memory
add a0, a0, a3 # add to total
addi a2, a2, 4 # increment array pointer
bne a1, a2, 2b # continue loop unless done
1: ret

except for the snarky comments, isn't this the code you'd expect from the compiler (without zba)? i wouldn't describe it as thoroughly tested, but it does seem to work. as i count it, it's 24 bytes and so smaller than anything except the original sumarray_opt, and it contains the same 4-instruction loop as the -O3 versions. i guess it's the -O3 sumarray_opt without the useless extra ret instruction, which is presumably some kind of minor bug
One trit but that's not a word anyone knows.
Is the argument that the ethics of pursuing knowledge to benefit the collective may outweigh the ethics of violating individual privacy?
> The $10 billion loss asserted in the PSR is "illusory" because the "victims are poised to recover—were always poised to recover—a hundred cents on the dollar" in bankruptcy proceedings, SBF's filing said

Can someone explain how this would be? Didn't they loose billions of dollars through Alameda?
I don't remember where I read this but I think the Romans got their calendar from Mesopotamia and it was based on a configuration of the sky from a few thousand years BCE. That configuration drifted so that's why we ended up here. I think the original January (or whatever it was called) was the start of spring.
And that’s generally an awful failure of justice.
If Wordpress sites can be scraped directly, what additional benefit would there be to get the data through Automattic?
Almost always. Though you can use them in a lossless compression system, too, with a few tricks.
My employer still had the balls to pay IBM after the Phoenix snafu to come in and tell us how we could become more efficient and guess what? It was basically word for word what the frontline employees had been screaming for for YEARS that management ignored. And guess what? They ignore the consulting report and did nothing anyways. #MunicipalLife
Building a pyramid is impressive.

Moving planets out of existing orbit is another level. I can only imagine this is possible for a race who can plan multi million year projects and thus you can probably use rockets to do small
gravitational slingshots each day and rely on some compounding effect.
Egypt sells coastal city to UAE for $35B
Show HN: Mask Browser, fast web browser with extensions support and GPT4 AI chat
It's very unlikely for life to arise under those conditions. To get life, you need to build a lot of random polymers in a short amount of time (relative to the age of the planet) and the only known way that can happen is in a liquid or a gas so you have diffusion working for you. But after that, to get technology, you need solids.

The good news is that you don't need to have the life arise under the same conditions that the technology exists. It's possible that the planet is inhabited by self-replicating tungsten-based technology that was created by life that arose somewhere completely different.

But the bad news is that we are much less likely to find the aliens than we are to find the descendants of the self-replicating robots they built millions of years ago. And the fact that we haven't found the robots makes it very likely that the aliens don't exist.
Very few people make minimum wage.

A single digit percentage of Americans.

Keep on making excuses.

If everyone who didn't make minimum wage spent more consciously instead of just gulping down cheap Chinese goods like a hungry hungry hippo eats marbles and shopped locally economies of scale would make higher quality products available to everyone.

I don't participate in races to the bottom.
> And it's unsuited for many roles because it has eschewed reverse compatibility. Sure, you can write an operating system in Rust, but you'll have to re-write it (and possibly introduce new bugs) in five years or so.

That's okay. Most rust devs get an erection at the idea of rewriting a massive codebase. For them the required rewrite every 5 years is a feature, not a bug.
I was happy to use it for the last three years or so, but recently, I have no idea why, it randomly refuses to load pages. Happens every single day. There seems to be some DNS fuckery going on behind the scenes and Firefox often just seems to think that I am offline. Other browsers always load the pages with no issues, so it is not a network issue. I had disabled all settings that had anything to with DNS, but that didn't solve the problem, so I went back to Chrome.
I can't speak for anyone else, but I want to put my personal viewpoint forward.

If I answer something on a forum, or otherwise share my work online. Usually the social contract is: this is work someone did, in a context, with attribution. Attribution and link to the context is implied. If it's a toy example or teaches a pattern like how to use an interface it's usually implied that the example is too obvious to someone who is skilled in that art (using the interface) and is thus of insufficient novelty to qualify for copyright coverage. However the utility of that work as educational material, and promotional material for the creator, is worthy of the social contract of social credit / attribution.

After thinking it over, I'm leaning towards this stance. Does the entity understand the work enough to make an assessment of the following: 1) Are they proficient in the art (skill) at hand? 2) Do they rate the results as sufficiently unique to qualify for copyright rather than obvious to a skilled practicer in that field? 3) Are they an entity which is legally allowed to claim copyright? - If all three are yes, then MAYBE they can claim copyright for the results. As far as the forums and places with the examples; they should remain in the context they were created. Usually publicly accessible examples open to all without charge.
Intel's five nodes in four years plan is extremely agressive and ambitious. They are trying to pull off something that I believe is not feasible. Lots of moving parts in parallel.

I worked in a Fab for a year and the complexity is mind blowing. I don't see how they can execute to build those nodes and get the yields under control in such a short timeframe.

Best of luck to them.
> We humans have very stereotypical design methodologies and they have their advantages, but sometimes just letting algorithms rip can result in much better things than we could ever hope to design with the same resources.

Yes. Though here the interesting point is not so much that these structures exist, but that 'stupid' back-propagation is smart enough to find them.

You can't find busy beavers like that.
Financial crimes destroy lives as well. I think there is a double standard here where people want to go easy on highly educated people who destroy lives with computers. Violent criminals on the other hand are seen as monsters beyond redemption.

I'm in favor of a criminal justice system that is less about retribution and more about rehabilitation. But SBF isn't anywhere near the top of the list of people who got unfairly harsh punishments, not even if he gets that 100 year sentence. In a different -- and better -- criminal justice system SBF wouldn't have to spend the rest of his life behind bars. But in the current system he should, or it would be yet another exception for a rich and highly connected guy, which is also a type of injustice.
How would manufacturing a hollow triangular prism, or a cube, be accomplished more cheaply than assembling planar components? When people discuss the possibility of 3D semiconductor fabrication, they're usually talking about additive manufacturing of multiple layers of transistors atop a single silicon wafer substrate. That's only going to be economical if most of the volume deposited is used for transistors rather than needing to be removed later. Large hollow shapes would be difficult and wasteful to manufacture that way; transistors aren't as easy to 3d-print as plastic filament.
Yeah I remember reading about it's relation to LLVM issues etc. I also think there was another (languishing) fork of the entire zig repo which had some support for Xtensa which I couldn't find at the time, but I found it.

https://github.com/ominitay/zig/tree/xtensa

Edit: I see you are the same kassane from the GitHub thread. Thank you for your efforts on Xtensa support! Would be great to have it out-of-the-box at some point.
Right, not to mention that in many countries including EU countries, we already have laws that protect AI trainers. Google TDM exemptions. This isn't really an issue IMO; public data can already legally be used to train AI regardless of what platforms are doing with it.
Sure. This assertion is due to “lies” SBF is a liar and a conman.
There are an extremely small number of car enthusiasts that are in it because they like working with their hands to make performance mods to try stuff. The rest is all about status. I know this because I used to be solidly in the car world back in the early 2000s , my friend from college had an Integra Type R that he raced in the Honda Challenge that we both tracked and worked on, and I got to experience pretty much all of car culture first hand.

People who are into modifications for power to roll race on the street do it solidly just to show off how much money they can spend.

People who drive "hard" on the street really arent even close to performance capabilities of their car. Give me most any ~250 hp sedan, no matter which wheel drive, Ill redo the suspension and stick on good tires, and I can keep up with any 911 on twisty roads. The culture in this regard is pretty evident because I will be seen as a poser if I do this.

As for the track, there is a separate subculture that happens at the track. Sure there is a minority out there to just have fun in their regular cars, most everybody including them are oogling the expensive track toys, and nobody is paying attention to actual driving skill of the people. At one point and time, a husband and his wife pulled up with a mobile home towing a garage with 2 Ferrari Challenge cars, with the entire setup costing more than I have ever made in my entire life even now 10 years later, and of course they were not any faster around the track, but they were the stars of that day.

Racing series are also literally about who can spend the most money, until you cross the bridge of being good enough to run sponsors. Not even on the car parts either, for example, we would camp at the track, while other people would pull up in their trailer homes and get a much better night sleep with AC, which gives a huge advantage come racing.
I would guess that having 2 zeros is not that useful for NNs, but in general with 2 bits we could encode 4 states, so are there 4 possible states that would be useful to encode? Sure, but would this be better than encoding 3 states? That's the entire question imo. I would guess that 3 states are probably better, because negative/neutral/positive seems the minimal signal that we need these weights to provide.
Huh? Did you flunk freshman physics?

E=K+U=GmM/2r−GmM/r=−GmME/r. We can see that the total energy is negative, with the same magnitude as the kinetic energy. For circular orbits, the magnitude of the kinetic energy is exactly one-half the magnitude of the potential energy.

Do the calculation over.
Multipliers for eg 8 bit or 4 bit floating point values should also be pretty cheap? (I assume multipliers have a cost that grows quadratically with the number of bits?)
Google searches on filetype functionality restored
Slight tangent: in physics a quantum leap is the smallest possible change.
Rich Donors Have Caused More Harm Than Good to India's Education
ARC is actually pretty important, especially now that eARC is a thing. It finally decouples your receiver's HDMI capability requirements from your TV.
I like it quite a bit.
Yes many furs I know are very anti AI art etc, including overreacting to how "bad" it looks, though if I hadn't told em it was AI generated I don't think they'd have the same reaction.

Ironic, since so many furs are in tech, but we all have artist friends I suppose. People just forget that portrait painters were put out of business by photographers, and traditional artists were put out of business by digital artists. And so the cycle and the luddism repeats.
Output → Compile to binary object.

Appears I was testing on a version with the int counter replaced with size_t (namely, https://godbolt.org/z/sTW64EEYv vs https://godbolt.org/z/zKqjTa5fz). Regardless, indeed, your sumarray_opt one is shorter still, and with less instructions in the loop. Though beating compilers by an instruction or two is nothing particularly new, being possible often even on x86.
You can also re-use a lot of the infrastructure. Eg you can re-use your training data.
HP misses first-quarter revenue estimates on sluggish demand in PC market
This is a short sighted and ignorant piece. The combined business will be 2% of the size of Amazon, 10% of the size of Walmart, and nearly 10% of the size of Costco. They will control ~10% of grocery sales, half that of Walmart. Roughly a quarter of the stores in areas with high overlap are being divested.

If the FTC cared about competition they would go after someone like Amazon/Facebook with nearly 40% market share, Google/Nvidia with over 90%, or even Apple with nearly 90% of market share among teenagers.

Lina Khan's incompetence has been a big boon for lawyers and merger arb strategies, without actually improving the competitive landscape or the world.
>Cars have thousands of moving parts (even EV's)

Take a car with 4 motors, 1 per wheel (which is the best arrangement). The total list of moving parts.

- wheels
- suspension linkage
- driveshafts
- brakes
- pedals
- windows
- wipers
- coolant pump
- washer fluid pump
- seats
- frunk/trunk

Thats the list of moving parts. Dunno where you got 1000 moving parts from. Most each one of those has reliable manufacturers that have figured out how to build them correctly.
Had the hard landing occurred on a carrier, how would the gentle, flared landing be accomplished? Try to reach an airport on land, ditch the plane in the water, maybe catch the plane with the net on the deck? Our just do a normal carrier landing and hope for the best?
Sorry, you had spent some ink saying I was being conspiratorial rather than brief.

Here again, you say:

> The discussion here is whether republican government officials can compel me to speak because I own or operate a company (corporation or not), or because I volunteer to moderate a subreddit, or because I am an operator of an IRC channel, or otherwise operate some sort of online service on which people can post to each other.

But the 5th circuit points out, correctly in my opinion, that circumstantially conveying the message of a user in an open platform with privileges regarding liability is not compelled speech:

> The Fifth Circuit noted in its decision that the First Amendment protects the “‘right to refrain from speaking,’” and publishers cannot be compelled to publish specific articles or viewpoints. Yet the Fifth Circuit did not recognize “editorial discretion”—the right of private organizations to control the dissemination of third-party content—as an independent right. Instead, the Fifth Circuit explained that such discretion arises only where a law compels or restricts the speech of the private party itself—whereas the Texas law concerns not platforms’ own speech, but how platforms treat users' speech.

These platforms benefit from section 230, they can abandon that, accept responsibility as publishers, and do whatever they want outside some other asinine law controlling free expression.

...

I'm struck by how your stance seems to perfectly reflect a belief in guilt by association or representation since you're suggesting that it is as if the message was your own were you to moderate the forum, etc. and disagreeable content was outside your power to prevent.

I think it's a shame that there are so many angry and easily influenced people out there but the root causes aren't the mean words on the internets from other actual humans, as sad as that may also be.
Show HN: Serverless utilities that range from PNG rotation to UUID generation
Hey HN! Wanted to share my privacy-first serverless browser-based utilities (everything runs locally in your browser, there's no backend) that I developed to support my volunteer work with Wikimedia projects and/or for fun. Unlike other sites you might find on Google that offer similar functionality, my tools are legitimately free, open source, respectful of your privacy, and free from ads. Enjoy! :)
On MacOS, i don’t like the look and feel of Firefox. I stay on Safari because it looks native and it has a design that fits better with MacOS.
In a no_std Rust environment, there is no allocator. There is no heap. So an allocator is needed to use things like Vectors or Strings.

This is very common in embedded contexts, where you can take nothing for granted.
The connection machine was a hyper network on Von Neumann machines, far too lumpy.
> Also, none of the planets are in the habitable zone, so it's unlikely there's life on them.

Why would somebody want to live on the arms of a clock??
Perhaps the existence of atypical "weaker" children promotes compassion in the culture ultimately leading to better outcomes for the culture as a whole.
More fallout from Kathleen Kennedy's missteps with the franchise?
Average emissions there are 5x the average emissions of France.
Winklevoss Twins' Startup Gemini Will Pay Burned Customers $1B
Thanks for the headsup @BolexNOLA. Penguincoder here (of Beehaw) and we are tracking on this outreach. We definitely want to go with another well known and trustworthy fiscal host. Not sure that a Rails UX matters in this context but certainly nicer than some other banking front-ends...
Small binary size (and thus a simpler implementation) are the min things you want for wasm and embedded targets. For wasm this is because its being sent over the network, for embedded because the device may have low amounts of available ram and storage.

It's also the case that such targets often can't take advantage of the advanced features (like multithreading optimisations) that "full fat" allocator provide.
Intel 4 and 20A are clearly transitional processes that lack a full suite of transistor libraries and are thus unsuitable for many kinds of chips/chiplets. The lack of interest in Intel 3 may simply be that it sucks, and isn't worth taping out a chip on if 18A is as soon and as good as Intel promises.
Does anyone know what the HDMI forum want to achieve by locking down the spec like this? I can't remember any reasons given back when they decided to restrict publication of future spec updates.
I agree with your distinction between AI and AGI. Hasn't ML failed to produce AGI, but been wildly successful in producing AI?
Looks like there are some products available (e.g. [1] [2]) for computer forensics purposes.

There are also dedicated "power only" devices (usb condom) but last time I looked these only supported the basic 5v 0.5A and not USB PD or other fast charging standards, so they're of limited utility.

[1] https://wiebetech.com/products/usb-3-1-writeblocker/

[2] https://security.opentext.com/tableau/hardware/details/t8u
Sure.

The main point of interest here is that for a very long time the gulf stream alone has been the accepted common wisdom for a warm Europe.

It's interesting that there's other credible factors, particularly with talk of potential gulf stream collapse.
The great vowel shift is complicit in the divergence of the pronunciation and spelling in English, not the loan words.

Loaned or not, the «bite», «meet», «meat», «serene», «mate», «out», «boot», «boat», «stone», «day», «they», «boy», «law», «knew», «dew», «know» were pronounced differently before and after the great vowel shift.

The GVS was a gradual process that encompassed several centuries and – in some dialects of English in Britain – the remnants of the pre-GVS pronunciation have persisted into today.
I was thinking of this exact video, crazy to think that the principle is gaining momentum
I think your instinct is well founded but at odds with the massive tech industry pushing the other way. This is the classic imbalance between offense and defense: for something like a building’s location, the defender has to do the right thing every time. You put out that order and most people follow it but over time someone’s going to make a mistake - they’ll forget their LTE AppleWatch counts as a phone, their spouse or kid will leave their phone in the car and Facebook will helpfully share that location belongs to people who like military pages, their cell provider helpfully links their vehicle’s integrated cellular device with the other devices on the account when selling data, etc. It feels like the solution might need to start with a significant data protection law making some of that data collection impossible and all of it requiring notification so someone could at least have the chance to know where they’d be breaking policy.
Anthrophic share sale sounds like it can cover it at those original prices https://www.reuters.com/technology/crypto-exchange-ftx-sell-...
Needs to be independently verified. Lot of fake medicines in India.
"A person is smart. People are dumb, panicky dangerous animals and you know it." - Kay, Men In Black
It is true that HDMI 2.1 requires more logic, but one of the annoying parts of the earlier HDMI versions is that a sink needs a PLL that covers a large, continuous frequency range. DP and HDMI FRL only need to support a few fixed frequencies, which is much easier for analog designers to design for.
Did you read the article? It says they were buried with jewelry, in a location where they usually cremated people. That suggests they were revered in some way.