skysight-inc/HackerNews huggingface dataset:
I tossed together a simple function using enumerate https://godbolt.org/z/PKsEdKvKK

You get the same exact asm as the manual loop.

Of course, the idiom recognition seems to kick in, in both cases, as there's no actual loop here. I tossed in a +sum, which makes that fail, so you get some loops, check it out:

https://godbolt.org/z/1ddf5ded7

They are one instruction different in length, which is kind of amusing to me. Some small differences.
Made the classic blunder of commenting before finishing reading the study.

>A landmark paper studying the effects of listening to Mozart K.448 in individuals with epilepsy demonstrated a reduction in interictal epileptiform discharges (IEDs), that were not observed during listening to a control old time Pop Piano tune.

Mozart wasn't chosen arbitrarily.
But Water is not plentiful; the U.S. 2nd largest reservoir is at its lowest level.

And Soil (at least top soil) is not abundant.

Even currently used land is decreased with the warn in Ukraine.
Which you're also being a little coy about for some reason.
I imagine it's a problem of creep as well.

In 40 years, we've added a touch over 3 billion people to the planet. That's nearly double the population in under one lifetime. Everyone alive then and born within the next 24 years of 1983 are all old enough to own and operate a motor vehicle today.

Roughly 2/3 of the population is 16+. Just assuming that holds throughout history (and it probably doesn't, but for argument's sake let's pretend), there were about 3 billion potential vehicles then and 5 billion now. (Using 4.5b and 7.5b for the population counts for easier math. The real totals are a bit over).

We've nearly doubled the number of potential cars on the road.

But we didn't do that overnight. We did that over 40 years. And every 5 years or so, it may seem reasonable to make a few more adjustments for car infrastructure. Until we're here, today. And it's not until we look back that we see how much we've given over to car infrastructure at the expense of everything else.
Volkswagen briefly refused to track car with abducted child inside until paid
Doesn't this just feed your info straight into some company's database?
As an end user who has requested subscription licenses from my employer, this is also my experience.

They are very very reluctant to purchase subscriptions, even if it's year to year cancel any time.
Any potential security issues with giving GPT-3 access to all your emails?
Perhaps but I have no idea how any scheduler can possibly figure out if a workload is frequency or cache sensitive. The current strategy seems to be "if game, use cache, else use frequency" and it sorta works OK-ish? Although then there's games that aren't detected right (like Factorio) and it's then a terrible result.

But if you look at single threaded results with it set to "prefer cache" it's not really that much slower. Yes you'd have a flagship with lower single-threaded Cinebench results, but I mean that also happens with pretty much every HEDT platform and nobody bats an eye at that. The results are still a significant step beyond the 5000 series single core results.
Title needs (2022).
Yes it is a fact for most people when you run the numbers all inclusive (not just car payments but insurance, gas, tolls, tickets, repairs, parking, oil changes, etc) they just don't pencil out. In fact Uber and Lyft knew this and part of their "success" was in leveraging sunk cost fallacy that car owners want to "make extra money" with an underwater asset whose depreciation from making said "extra money" is not included in the calculation of most drivers.
Data structure has traps like - it has the same properties so it seems like something to DRY up. But if we add context that one of these is used on exchange of data with DB and the other on exchange data with frontend. Now we want these to to desync because there are valid reasons for that but at the start of project it seems that these have the same properties but again these are used in different contexts.
The closest you'll get to that European-style city in the US is Boston. It's very walkable, high density public transport, and quite a bit of charm in my opinion. Also cars are clearly an after-thought in Boston proper.
Is there other rationale behind this `for` and `while` syntax?
Why not:

for x in elms {}

for x in elms, i in 0.. {}

In my view, this seems simpler to read and understand.
In particular, the iteration variable is close to the iterated structure.
In the Zig proposal you have to think about the position of the iterated structure and the position of the iteration variable.

for (elms, 0..) |x, i| {}
^^^ ^
Ok it is in second position

I still don't get why `||`. Is this a lambda?
Can I write something like:

fn func(x: i8, i: i8) void {}
for (elms, 0..) func

In the same vein I do not understand the rationale behind the `while` syntax. Why `:`?

while (condition) : (i += 1) {
Good point. Never ran into anything problematic myself, but we are fairly rural so construction is usually houses with occasional apartments. But definitely be wary of other stuff that may be in with the wood.

As for pressure treated wood, it is pretty obvious what has been treated and what has not, at least in my experience. Not sure if it's the process, or if they intentionally dye it, but treated wood has a strong green tint, though could probably have other colors too depending on the treatment method. But fresh untreated pine has a pretty obvious color.
So the best you could do in a few years is implement the OpenAI API to summarise a bunch of text or did I read that wrong?
If you have any good ideas about how to implement Tetris in a practical way, you can make a good impact here. This is the only work that I know that tried to implement these: https://arxiv.org/pdf/1503.04169.pdf (and excitingly published at GRADES workshop at SIGMOD, which I co-chaired twice and is very dear to my heart). But I talked to the authors and they all agree that despite the tone of the paper, they found them quite difficult to implement in a performant way.

So here's the problem. The core algorithmic step of "beyond wcojs" are "geometric resolutions". The core idea is to work with gaps in the space. So for example suppose we are joining two relations R(A), S(A) which is an intersection and suppose A is an integer domain. Suppose further than R's maximum A value is 100, and S's minimum value is 101. Then there is a gap of (100, \infty) in R's space and another graph (-\infty, 101) in S's space. If you "resolve/join" these gaps, you get a gap of (-\infty, \infty), which tells you in one operation that the join's output is empty.

On this simple query, this seems to work fine but if you have general relations (let alone non-integer data types) doing such geometric "resolutions" and finding efficient indices to index those "gaps" becomes quite challenging. But any good idea here will push the field!
I tried it out, but instantly realized the 'free' version is go restrictive it's useless.
I get many startups want to make sure the free version isn't too good, but here the free version is unusable.

Also, $9/mo for a frontend for gmail is just way too much. $108/y ??? If you're going to pay that much, surely you'd just get off gmail entirely. Why pay that much but still give up all your privacy...
While you can use things like VMs with an old (insecure) OS, pretty much all of your software will stop running on your day-to-day hardware/OS at some point.
And not having to own a car and live in an expensive neighborhood might actually make it reasonably affordable.
This is important to major metro areas in the USA, but I'm struggling to determine who watches this kind of video apart from those already convinced?

The way this is presented is a bit tone deaf and stuck in the mid 2010s. No practical examples are ever given for the replacement of aging infrastructure or reuse of still perfectly good infrastructure. Costs are never broken down either nor are timelines given.
> You don't have in interest in punishing the MAGA crowd? You're claiming that they are supporters of the SS.

Ahh, more mischaracterization… no, I have no interest in punishing them, as they’ve not actually been members of die Einsatzgruppen, or a modern equivalent that acted on their racist “ideology”. Now, do they disgust me? Yes… because they’re exactly the kind of people that, given the right circumstances and their predilection for authoritarianism and populist rhetorical xenophobia, would both form and join and materially support an American version of the Schutzstaffel, without hesitation, and THEN I would both desire and act to punish them.

Would I support someone attacking and killing them because they are (primarily) white? No… nor because they are (primarily) afflicted by a debilitating mental illness… I’d oppose (and punish) anyone that attacked and killed them along those lines.

The fact that no one is doing so, coupled with the fact that the ideas that they admire and support routinely inspire people who DO go out and commit mass murders —- and have historically inspired practically speaking all genocides — leaves me feeling that I will likely never need to punish anyone for attacking them on actual “reverse” racism-inspired grounds, while I am quite certain we’ll need to deal with hundreds of “forward” racism-inspired murders by the end of the year.
all it has is jquery3 + bootstrap4, still amazing.
Snopes labels it "Unproven":

https://www.snopes.com/fact-check/julian-assange-drone-strik...
This is such a strange response as I was in no way debating or countering your original comment. Quite the opposite really as I agree with most of what you said. If I encounter you again I'll make it known next time.
One region failing (especially us-east-1) is common, but it's very rare to see an AWS global outage.
You’re basically asking me to prove to you that I can’t fly.

I will say it like this: it is highly improbable that I can fly. I cannot come up with a way to prove it to you. There is some sort of epistemic miscalculation going on if you operate under the assumption that I might be able to fly.
Why don't the people who care about their view simply build a taller tower?
Robust or not, it's a little more nuanced than a file hash that goes out the window because a single pixel changed, as implied by GP.
You might want to take a look at biking again. Most people think "oh no, I live in a suburb it will be impossible", but once you really give it a shot you might be surprised at how many places you can reach on a bike.

A 5 mile bike commute sounds like it will be impossible, but it only took me about a month to acclimate to it and I'm hardy a fitness nut. Now I only drive when the weather is particularly nasty or there is too much ice on the ground. Also, the selection of affordable e-Bikes has absolutely exploded over the past couple of years and they can seriously open up opportunities if you're willing to try. Just because people say that American suburbs require a car doesn't make it true.
Well, one major player on shaping the streets was the emerging car industry itself. Not the only factor of course but nevertheless a very interesting story [0] to tell from that perspective where pedestrians not obeying the new strict rules began to be called jaywalkers.

[0]https://m.youtube.com/watch?v=oOttvpjJvAo
Does any city have a well functioning design review process or are they all captured by incumbents to slow down development?
Very productive people can get more done and therefore climb the ladder, earn higher bonuses, etc. without eating into their personal time in the way that their less productive colleagues might have to.
I still don't follow. You don't have to control for each confounding variable if you select your pool at random, like they did here.
Many of the inputs are reduced; You use the natural gas to make energy for LEDs to decrease your time to market by increasing sun. By circulating the water you save 80% of it.
I've known a couple of possessed Fords.

I think antique car restoration and modernization is going to be a great business to be in for the next 20yr or so. At least the demons in older cars can be propitiated with minor rituals like a fetish hung on the mirror or the occasional blood sacrifice.

This shit is going to lead to hilarious scenes of cars flocking places because of a node.js bug.

edit: i forsee "car leashes"; probably something in the nature of a parking boot so make sure the car stays immobile or becomes nonviable. And there's always the trick of jackstands and hiding the wheels at night.
LA was designed with a lot of roads to simplify commute.
Coming from one of european capitals I can tell you that commute there is much-much-much worse than in LA.

> capital of road rage

Not according to videos I saw on social media. Most of such videos come from Texas.
Some questions on neutrons, in general, that is, not in an extreme gravity well. I know they are a pain to study, being neutral your normal tools, electromagnetic fields, don't do much to them so they are hard to wrangle, mostly you hear about hot neutrons, that is ones with sizable kinetic energy, but the idea here is cold neutrons.

Is there any way to generate/accumulate/study cold neutrons? I assume they don't like to stick together. For example, the polyethylene brick shielding use on many fusors, it it accumulating free neutrons?
If I had to guess, the unwillingness to find new music is probably strongly correlated with increased isolation as one ages (from meeting tons of new people as a kid because you didn't know better, to entrenching deeper into your cliques throughout middle and high school, to meeting tons of new people again in college, to re-entrenching into your clique as a working adult with no time to make friends, to re-entrenching into your family as kids and the commute from your suburban, car-centric neighborhood to your urban, car-centric business district and back consume your entire life).

There's probably a factor of listening to music from the "good times" as an escape from the monotony and dregs of daily life consume most of people's days too. I remember TV, music and events from the 90s and 00s, but nostalgia does nothing for me.

As for me, the "good times" of high school were terrible for me, I lived in NYC basically on my own during college, and I'm 35 with no kids, so I haven't stopped discovering new music (or myself)!

In fact, between Last.fm (still up and running!), Bandcamp, Apple Music, Spotfy, and automatically-generated New Music Mixes, the amount of new music that's out there is almost overwhelming!
The Worlds of Italo Calvino
This is no different than people in HOAs who try to block solar on the rooftops of their neighbors, or those blocking utility scale solar in their community on land they don’t own, out of aesthetics or their feelings. You can’t negotiate with them, you can only persevere (and hopefully you’re resourced to do so).
I dont know why Shortwave is pivoting to current AI craze. I have been using it for a while and it's amazing. Only qualm I have with it, and it's the reason I stopped using it for sometime, that when you mark an email 'done' it does not translate to that email marked as 'read' in Gmail.

Before I realized this I was under the impression that my emails are being marked as read too.

Otherwise, shortwave strength is that it's keyboard driven. You can read, delete, label emails all via keyboard.
I think most men will agree that good sex is good sex no matter the looks of their partners. I think most men will also agree that having sex with a model with halitosis is less enjoyable than sex with an average-looking woman without such problems. I guess most women think the same if the tables are turned? There are many sayings related to the fact that as long as a women possesses the requisite parts, knows how to use them and wants to have sex she is just fine as a sexual partner for most men.
Interesting how your higher education experience is different from mine. I went to ITMO (in St Petersburg) after graduating from school in 2010. The bachelor's/master's thing was new then and not all universities adopted it yet, our year was the last when they still did "specialists". My tuition was paid by the government. I passed university's own challenge thing to bypass the standard requirement of a rather high "unified government exam" (ЕГЭ) result.

I already knew enough programming from building Flash apps and poking around with J2ME during high school and I got really bored, really fast, with all the kindergarten-level exercises and all the relentless bureaucracy. C programming professor insisted that assignments had to follow a strict template and be turned in as printed pages, for example. We had C, C++, and a bit of C#. The cryptography professor had us write crypto algorithms IN MATLAB OF ALL THINGS. There were also several course projects where you could choose your own stack, but again, they were uninteresting for me at my level. The databases (SQL only) and networking classes were the only ones where I actually learned something substantially new. Operating systems and Linux administration classes were also kinda useful because they helped me tie my understanding of these things together into a bigger picture.

We did surprisingly little real programming. Philosophy almost got me expelled because that professor was a young girl that didn't allow anyone to even try to cheat and wanted you to retell books. That's it. No thinking required, read a book and store it in your head. I had to lie to multiple people to take the long-overdue exam with another professor that didn't care about students cheating.

That was a recurring theme. There wasn't much interesting stuff, most was this "memory training". Memorize, regurgitate, get your passing grade, forget. This gave me unending trouble. There was even a system (ЦДО) where you would pass tests like these. I have a collection of most asinine questions somewhere. The same system was where our grades were stored. It also had internal mail. You could put HTML into messages. They tried to filter it, but I did manage to find a way to sneak an XSS in there, whoops. A stored XSS that you can send to anyone else who has access to this system! It involved some base64 trickery with <object> iirc. Never reported it.

You could really tell this was a very Soviet curriculum they sprinkled with some occasional modern stuff.

I got my real job at VKontakte as an Android developer at the beginning of my 2nd year. This is where I got most of my real programming experience. But either way, I'm officially an "information systems engineer".
We use OpenAI's GPT-3 API to generate summaries. We have explicitly opted out of OpenAI's default behavior of using their APIs to train their models [1].

Our summarization feature is entirely opt-in. So if you're concerned about sharing your emails with OpenAI, you can choose not to use the feature. You can also read our Privacy Policy [2] and Terms of Service [3] to see how your data is used.

[1] https://help.openai.com/en/articles/5722486-how-your-data-is...
[2] https://www.shortwave.com/policies/privacy-policy/
[3] https://www.shortwave.com/policies/terms-of-service/
Most "monk fruit" sweetener I've seen actually has erythritol as the main ingredient, which just a small amount of monk fruit. Presumably this is to get away with calling it "monk fruit sweetener" which appeals to the idea that it's somehow a more "natural" product.
It made more sense to me watching historic footage of when freeway expansion was happening in the US in the 50s and 60s.

Congestion was very low. If you're one of a small number of cars, where you never see traffic jams, there's always an empty parking space waiting for you, then it all looks quite pleasant. In other words, it was a luxury that couldn't scale to higher densities.

And if you think like an anthropologist you see this same dynamic popping up in neighboring contexts. Why do we have houses with grassy yards? Because this echos the estates of aristocrats in centuries past, where only the wealthy could afford to have land maintained as purely aesthetic gardens rather than some practical agricultural purpose. Suburbia essentially offered everyone the chance to live like a royal of days past. Except because it doesn't scale, that offer ended up being a trap many places.

Thinking of it like this, as status symbols that didn't scale, lots of things like the trend towards McMansions makes more straightforward sense.

And to be clear, I'm not some sort of density zealot. I just think the options should be more diverse, rather than the current system in the US which prioritizes cars at the cost of everyone else, even in contexts where it clearly simply does not work.
Honestly working with them in a column oriented way makes a lot of sense. I wonder though if that should just be handled at the struct level? i.e. ask for row vs column layout.
> if in the future the price of electricity becomes almost free

I think about this sometimes. If you could eventually throw a fusion reactor somewhere and build some crazy huge vertical farms around it, regulate their temperature with geothermal energy, maybe even produce your own nitrogen since the energy is so cheap and you're going to use a heap of the stuff, etc... You could probably make it cheaper, faster, and more efficient in the long term than regular farming. Outputs could be so fast, reliable, and high quality that over say, 25 years you'd never skip a beat due to environmental conditions (barring serious disasters), your automation investments would pay off like crazy, and your outputs would scale so much better than traditional farms that you'd outsell them significantly.

But that's an insane requirement. At this point it's like saying "Imagine if we had magic, and we could use it to make a business that's physically impossible at the moment". Cool, but... Why?
They say specifically that this is actually a point in favor of the association. The reason being that men and women deal with stress in diametrically opposed ways (they cite two other studies) and that being infected increases the stress response behaviors in both sexes.
The real question is how you would like to live in one of the rowhouses there, compared to what you can get in America.
I would have thought New York City would also qualify.
SpaceX unveils “V2 Mini” Starlink satellites with quadruple the capacity
Anyone even remotely familiar with Nixon or Kissinger won't be surprised.

"If the right people had been in charge of Nixon’s funeral, his casket would have been launched into one of those open-sewage canals that empty into the ocean just south of Los Angeles. He was a swine of a man and a jabbering dupe of a president. Nixon was so crooked that he needed servants to help him screw his pants on every morning"
The US govts primary concern is not figma shareholders. It's US citizens as it should be.

The harm to citizens outweighs the benefit to shareholders by too much in this case to allow it.
Can’t you dissolve the contract at any time? In that case you’re effectively renting them the copyright.
If it's not too many cups of coffee each day, and just a smidge on your oatmeal, then could you use regular sugar?
Have you tried running barefoot or with "Barefoot" sandals? It will quickly teach you the correct way to run without your heels touching the ground, which removes the impact stress from the knee. I have very much liked using them, albeit I haven't run on a treadmill.
I completely agree with you on the madness of not including the upper limit. However, I don't see how the phrase "one to five" would not include five. "Rate this film on a scale of one to five" does not mean four is the highest rating.

It translates to "increment from one, stopping before you get to five". Ridiculous.
> “In an ‘accident,’ he’d routed all of the company’s internet traffic through his own PC, rather than the dedicated hardware in the server room—a set-up ideal for snooping.” But Marsalek, a talented hacker, couldn’t be fired; […]

Interesting. I had not heard this nugget before.
Perhaps (s)he's concerned about political backlash (via down-voting) on HN?