skysight-inc/HackerNews huggingface dataset:
I'd be interested in a bit more detail on the technical migration strategy. Did they just cut over to a version of the project built in Rust? (I.e. vN is Python+C/C++, vN+1 is Rust?) Or something more gradual?

How did they verify that the new code was conformant with the old app's behavior/logic?

> To make matters worse, we would discover issues only after deploying (or in production!) due to Python’s run time nature.

I don't want to infer too much, but this makes it sound like perhaps they didn't have a very robust set of E2E/Acceptance tests, which would make a full-cutover migration scary to me. If you're finding Python bugs only after deploy, how can you find the inevitable rewritten-Rust-code incompatibilities before deploying/production?

I've been digging into Rust/Python interop recently using https://github.com/PyO3/pyo3 and maturin, and this points to an interesting migration strategy; PyO3 makes it quite easy to write a Python module in Rust, or even call back and forth between them, so you could gradually move code from Python to Rust. A migration path to full-Rust might be:

1. Incrementally replace all your fast-path C/C++ code with Rust, still having Python call these compiled modules. End-state: You now have a Python/Rust project instead of Python/C/C++.

2. Gradually grow the surface area of your Rust packages, moving logic from Python into Rust. Your existing Python tests can still run, and your existing entrypoints are the same Python.

3. At some point, you presumably need to cut over the entrypoint layer (the API?) to use pure Rust, instead of Python. This should be a much less scary migration since both versions are calling into the same underlying Rust library code. Depending on your architecture, if you have an API Gateway you can split your service backends to migrate one endpoint at a time to the new Rust API service, while keeping the old Python API service around to fail back to. (They are using k8s so you can do this with your Ingress for example).

I'm interested in others' experiences with Rust/Python interop, are there any rough edges worth knowing about?
Inflation is decreasing pretty rapidly. I doubt this is going to change that trend in light of the rate increases.
To be fair it is almost entirely stellar light
Once Netflix had a competitor and shows were forced to pick their streaming service it was only a matter of time before Cable 2 Electric Boogaloo happened. And now that markets are saturated and people are stretched thin by the last two years, we'll start seeing the nastier tricks like bringing back ad tiers, and maybe punitive and labyrinthine cancelation policies will be next.
It does indeed go to a bank's balance sheet, and it also eliminates a monthly source of income expenditure from a household.

If the interest amount is more than 0%, it may give more income over the course of the loan term for the person with debt than it wipes out at the bank.

The money someone was spending on the loan and interest may very well go to any number of consumer goods, investments, or other items, though.
I'm real bullish on electrification of everything, but the necessary service upgrades for me to get a level 2 charger on my property would cost on the order of $5-10k.

Edit: typo corrected, I said level 3 previously
> The police could easily track these people down if they were willing to put any energy into it.

That's a bit of a myopic view - in many of these cities, the DA will refuse to prosecute someone for thefts like this, so it does no good to arrest someone. Police in many cities are underfunded and understaffed, and if they're getting no support from the DA they have to prioritize.
Isn't your first conclusion only true if every point in the country is close and equi-distant to a port and all ports get the same goods? In practice, you still truck multiple tonnage. In your example, the port is in LA and say, manufacturing plant in Michigan and I am in Atlanta.. it is still less carbon-emitting to truck from Michigan to Atlanta than ship from Shenzen to LA and then truck from LA to Atlanta..
Sure. Here are a few examples of "let's make X as hard as possible so someone can never navigate it without a lawyer:"

1) Divorce.
2) Purchase/sale of land.
3) Adoption.

Notice what's not on my list: civil forfeiture, immigration, corporate mergers. There are certain classes of things which are complicated because e.g. the government wants them to be difficult (immigration), and certain other things which are inherently complicated, but which are made more efficient by cooperation. But there is a third class of thing which should be simple and is not. Transfer of land is complicated because lawyers have a financial interest in making it complicated. Divorce is a little different: you often have two people trying to ruin each other and lawyers enabling that by using procedure and trickery to try to engineer an unfair outcome in favor of a client.

But (assuming what I say is true) what is the functional difference between real estate and divorce? I argue there is none. A system which is deliberately engineered to be user-hostile is functionally identical to one where "cruft" accumulates and nobody is motivated to remove it.

Also realize that there is a cycle of lawyers deliberately making a legal procedure or practice so complicated that someone needs to stop them because they are creating an obstacle to the good functioning of society. See e.g.

1) Service of process
2) Civil discovery reform
3) UCC adoption
It is pretty inaccurate in my experience. When I was house hunting, I learned to simply put each address in the ISP website.

Even now, I put my zip code in, and it says 940Mbps fiber available, with an asterisk that says it may not be available everywhere. Except I know in my zip code, 95% of the houses do not have fiber, only the developments built in the last decade or so.

And as a shortcut, any neighborhood with buried utilities developed between 1980 to ~2010 will likely not have fiber.
https://linux.die.net/man/3/localtime:

tm_mday: The day of the month, in the range 1 to 31.
tm_mon: The number of months since January, in the range 0 to 11.

I wonder where C got it? It goes back to at least 1973's V4: https://github.com/dspinellis/unix-history-repo/commit/92779...
There's another angle here too...and that is whether the people who are having loans forgiven even received X number of dollars in value from their college experience. A LOT of these students did not, which is why students that got swindled into scam "universities" are top of the list for forgiveness.
Not 100% sure about what you're suggesting, but wouldn't it be easier to pass your functions to your table/sub-query?

And that's exactly what you're able to do in most of the modern data warehouse services such as Snowflake. Inferences can be contained within internal/external user defined functions.

This is very reminiscent of made the big-data/map-reduce movement so notable, sending your query to the data instead of moving your data to the query. Sending your model to the data, instead of sending the data to the model.
We had hundreds and hundreds of bikes at my previous job. It was amazing. You could just hop on and go anywhere. Nearly all disappeared. As it turns out, the scruffy looking guy I saw, riding one bike and steering another with his free hand, wasn't collecting and returning them in the whee hours of the morning.

The new bikes had GPS attached, but they limited the numbers, due the theft. Those slowly disappeared, too. Last I saw, there were just a few bikes at each bike rack, compared to maybe 50 at each.
$300 billion / 144.3 million taxpayers = about $2,080 per taxpayer. When I did the math in another comment, I was under the impression that was the per-year cost. If it's over 10 years, that means it's only $208 per taxpayer per year. The cost of public tuition near me is about $2,000/year, the average yearly tuition in the US is $8,000/year. So basically: this cost to the individual is nothing compared to the cost of tuition to the individual that created the debt.

As for it being used elsewhere, sure, it could be used elsewhere... but it's not. It's currently money that's just sitting around being debt accumulating interest for banks and the DoE. So it may as well be used to help people out.
> I see no problem, but apparently some people are hung up on such minor details. I can't fathom why.

Americans and their alcohol laws…
If they're totally open about it, who cares? Whoever interviews will know what they're getting into and can negotiate accordingly. If they find some workaholic who's happy to put in 100 hour weeks in exchange for a healthy chunk of the company, what's the issue?
>I guess one of those rules could be: Don't travel overseas to participate in a war against the US government.

So how is this different from rules forced by ISIS?
In seattle I'm staring to see a lot more adult Fietsers than I'm historically used to seeing. E-Bikes have really opened up the audience for more casual cyclers (at least in the spring and summer months).
I have an incentive to minimize the number of streaming services I have, because the more I have the more time I spend flipping between them looking for who has what I want to watch. Example: The family sat down to watch a specific movie this weekend, and after trying 4 services I decided to buy it on one of them, clicked purchase exactly when my wife announced she had found it on 5th service I didn't know we had.
Piracy has always been better and cheaper, but it (thankfully) isn't how the vast majority of people consume content.
It’s a condition to run, not a condition to stop
I know of so many websites that break spectacularly when you do that...
Nvidia Grace CPU Detailed: 72 Arm v9.0 Cores, 117 MB L3 Cache, 68 PCIe Gen 5
I'm honestly curious as to why you would need anything more than a Level 2 charger at home.
The same applies to counting in other bases too. For instance, in 1-indexed counting grids for kids, the last column always feels out of place.

0-indexed decimal grid:

0 1 2 3 4 5 6 7 8 9
10 11 12 13 14 15 16 17 18 19
20 21 22 23 24 25 26 27 28 29
30 31 32 33 34 35 36 37 38 39
40 41 42 43 44 45 46 47 48 49
50 51 52 53 54 55 56 57 58 59
60 61 62 63 64 65 66 67 68 69
70 71 72 73 74 75 76 77 78 79
80 81 82 83 84 85 86 87 88 89
90 91 92 93 94 95 96 97 98 99

1-indexed decimal grid:

1 2 3 4 5 6 7 8 9 10
11 12 13 14 15 16 17 18 19 20
21 22 23 24 25 26 27 28 29 30
31 32 33 34 35 36 37 38 39 40
41 42 43 44 45 46 47 48 49 50
51 52 53 54 55 56 57 58 59 60
61 62 63 64 65 66 67 68 69 70
71 72 73 74 75 76 77 78 79 80
81 82 83 84 85 86 87 88 89 90
91 92 93 94 95 96 97 98 99 100
https://medium.com/codex/dream-studio-stable-diffusions-ai-a... in case you want to know what this is w/o creating an account.
Green Man gets the Red Light (2013)
Imagine your car payment is $600/month. The govt pays off your car, you have an extra $600 per month in the bank to spend on other things or to save.
> I see a lot of cynicism around renewable energy and electric cars and I frankly don't get it

So far, we have never globally replaced fossil fuels with renewable energy, only supplemented their usage (meaning you can't point to a single drop of oil that is designated to never be extracted due to the creation of renewables).

The energy required to build an electric car is massive and results in a lot of CO2 production and takes a fairly long time to balance out.

Here's the really important part: despite lots of progress in electric cars and more importantly tremendous (seriously very impressive) growth in renewables CO2 in the atmosphere is not only not decreasing, it is accelerating.

Ultimately massive renewables infrastructure projects and large scale adoption of electric vehicles are capitalist friendly ways of deluding yourself into thinking you're making change while actively making things much worse.

The only surefire way to slow climate change is degrowth but this is literally a forbidden topic. Most of the comments mentioning this on HN or anywhere else on the web are immediately downvoted into oblivion. Even though we know for a fact that economic contraction leads to decreased fossil fuel consumption and have no evidence that on a system level increased renewables reduces CO2.

And it's not just that capitalists don't like it, but nobody really wants to seriously consider degrowth. But here's the rub: climate change will bring massive degrowth either way, and in a much worse way.

The cynicism is because the optimism around renewables allows people to pretend the problem isn't getting worse, and silences any discussion about hard but real solutions.

It doesn't matter much either way, we've chosen violence and are going to play this out the hard way. If you want to pretend it's otherwise, I've given up on bothering to convince other people awhile ago. Have fun in your fantasy and let me know when the rate of atmospheric CO2 starts to even stop accelerating (forget actually dropping).
By the end of the century robots will be doing most of the work anyway

1) What if they don't? 2) The end of the century is 78 years away, somebody's going need to turn you on your side every few hours when you're in that old folks home - what happens if there aren't enough people to do those jobs?
It's off by two years. People often round 48 to 50. I don't mind TFA rounding 48 to 50; you seem to, so don't read it if you don't want to.
It‘s an unsigned int, so past 0 it overflows back to the maximum
Because despite your assumptions, there are many reasons someone might be in debt beyond "not knowing how to handle financial responsibility", especially when it comes to student loans. Why do you think financial numbers are a good metric for whether someone "deserves" to survive without excessive struggle/pain?

Don't buy into the contrapositive of the American Dream; the Dream isn't true, and so neither is its contrapositive.
> My questions becomes, why would anyone pay this much?

The simple answer is that "anyone" is really broad! More specifically and to state the obvious, not everyone is you! There are a _lot_ of people who watch far more than you do. If you watch two 1-hour episodes per day, then it becomes $1.50 per hour is a pretty great deal in terms of entertainment. (Compare that to $25+ for a movie at a movie theatre, or $60 for a Broadway show, or $20 for an hour at your local rock climbing gym.)

I don't disagree with your overall premise -- it's expensive! -- but it's not _not_ worth it for a lot of people, including myself.
Then the delta of both bounds (N – 1) wouldn’t equal the length of the range (N). The inclusive-exclusive convention is used in order for `end = start + length` to hold.
You think this forgiveness helps those who need help the most? Seriously? How many poor people this helps instead of helping those middle class kids who spend $100 every other day to party? I know because I live in an expensive city and see these people on my circle.
To be fair, I think this is mainly aimed at developers (and ETH ecosystem developers specifically).

While I don't disagree that there's a "vocabulary" problem (e.g. "dank-sharding"), in a perfect world, a normie would largely just interact with an application without needing to know any of this.
Every language you can think of, and many you can't, are in use somewhere at every large company. That is no distinction at all. So, no bet.

If it gets into the Linux kernel in any capacity, obviously it will still be in there as long as anybody still uses whatever it does. That, also, is no distinction at all. So, no bet.

I am not expressing opinions. I am expressing observations, and expectations that seem to follow. If you have other observations that bear on the question, bring them.
Nats start at 0, end of discussion - it's only logical to index by the naturals.
The old version was to carpet/fire/nuclear bomb entire cities. Is that better?
lol, I did the same thing - and with Red Alert.

I think I really just wanted/needed was a pleasant building experience like simcity, but with a little action and a definite end within a finite amount of time. When it got too easy I would add more (computer) opponents.
There is nothing obviously prurient about rescue breaths. More often than not, the rescuer will get a mouth full of blood, mucus and vomit for their trouble. There is nothing lascivious or sexual about it.
The example of yellow tracking dots in printers has already been mentioned. Our governments had zero problems mandating the use of that specific technology. Same with kill switches in cars so that police can remotely disable your vehicle.
I had a media PC from 2006-2012 and then a Plex server until 2020. I really got sick of dealing with it. I pay for convenience.
CSS Unit vb: Things all mighty Chrome lacks support of, but FF&Safari don't
I'm not sure why this isn't upvoted beyond anything here. For them to even admit they've killed people based on metadata means they could kill you for your uncle's friend's mom being a terrorist.
> A drone strike feels like a pretty active situation no?

Following that logic, drone striking you in your house is an active situation. No constitution needed.

No, I obviously meant that you're allowed to kill as LEO _in response_ to an active situation.

> For example, let's say you had credible information indicating someone was going to bomb and elementary school, and you saw them running down your street towards one such school. Would you shoot?

> What if, same situation, but you saw them riding a bike or driving a car toward the school? What if you had no idea where they were, but someone told you they'd be in a certain location before the attack and you could only get a drone to the location in time?

The real world is not the TV show 24. The purpose of the constitution is to constrain such actions even if extrajudicially drone striking every person with a modicum of 'credible evidence' against them would be easier or might lead to less tragedies.

Additionally, you're ignoring that there was no active situation Al-Waki was accused of participating in. Just political speech the government didn't approve of.
Flattering.

Unfortunately my search engine is far away, both in terms of functionality and hardware capacity from being able to deal with that. Maybe some day, who knows, but not yet. Even if I'm destined to make the Linux of search engines, we're metaphorically living in 1992 or so.

Would be funny though because it's both developed on a Debian workstation and hosted on a Debian server.
In University? French. The official language of the country is French and I've been learning French since I was in school. I've failed it though by missing the exams due to work (couldn't make it in time).
Same goes for piano, violin, whatever. For example, see [1]

Edit, added this:

[1] https://www.benningviolins.com/albert-einstein-and-the-violi...
If it'd been 1971 and TFA still said "50 years later", would you have responded that "1971 is more than 50 years ago"?
> Users have conclusively voted for it to be this way. We know it's this way and we're still buying iPhones instead of Android.

That's like saying that every voter in a democracy approves of every policy implemented by the politician they voted for (especially if they re-elect that politician). The world is not as simple as that, and I think the general term for this erroneous line of thinking is "the fallacy of division".

https://en.wikipedia.org/wiki/Fallacy_of_division
It’s not exactly the same thing because of interest. Give someone $10k in cash and they can choose to buy the toys and not pay down their existing debt, so they’ll still be paying $500 a year in interest (assuming a 5% rate).

But if you give the $10k to the lender instead, the person now has $500 more to spend every year in addition to having increased their net worth by $10k.
As if better diesel generator placement alone would have substantially prevented the Fukushima Daiichi nuclear disaster...
fyi the inflation reduction act will cut a good chunk of that for you (assuming you're in the US)

> The Alternative Fuel Refueling Property Credit expired at the end of 2021, but the Inflation Reduction Act gave it life again by extending its application through 2032. For homeowners, the credit is worth 30% of the costs of "qualified alternative fuel vehicle refueling property" installed in the home, up to $1,000.
Do people learn languages from official documentation? Throughout my career I've spent thousands of dollars on books from O'Reilly, Wrox, Apress, and others to learn every iteration of the Microsoft web stack (from 1997 to present) as well as JavaScript. With JS the books tend to be out of date before they are published so it's typically more useful to follow a blog or YouTube series to get up to speed on things like React or Vue or (whatever is new now... I'm out of the loop on this). I think the only official documentation I've ever used was for libraries (React, Flutter) and not the languages themselves.

Regarding books: if I would have realized 20 years ago that I could have gotten most of those books from the public library I could have saved a lot of money. Lots of public libraries offer access to eBook services like O'Reilly's Safari books online... but the wealth of info on YouTube right now is staggering. You could go from zero to near PhD level CompSci just on the videos and material being published by major universities.
It’s not. It was nice on architectures were cache didn’t matter much and were subtracting and comparing to zero was just one instruction (looking at you old core ARM)
I really can’t fathom your way of thinking. Evil, I don’t know what else to say other than this word. Evil.
Ethereum's 'Merge' Is a Big Deal for Crypto–and the Planet
Digging around a bit I must say I am very impressed by all the data-viz stuff the antv group makes. Would really like to be able to try out their GraphInsight tool (https://github.com/antvis/GraphInsight/blob/master/README.en...) but it seems to Chinese only for the moment
> SELECT come first makes sense to me because it's the only part of the statement that's required.

Only *IN SQL*.

You don't need it on the relational model, heck, no even in any other paradigm:

1

That is!. (aka: SELECT 1)

So this:

SELECT * FROM foo

is because SQL is made weird. More correctly, this should be only:

foo

Also, SELECT is not required all the time, you wanna do:

foo WHERE .id = 1
foo ORDER BY .id
foo ORDER BY .id WHERE .id = 1 //Note this is not valid in SQL, but because SQL is wrong!

But you probably think this as weird, because SQL in his peculiar implementation, that is, ok for one-off, ad-hoc query, and in THAT case, having the list of fields first is not that bad.

But now, when you see it this way, you note how MUCH nicer and simpler it could have been, because then each "fragment" of a SQL query could become *composable*.

But not on SQL, where the only "composition" is string concatenation, that is bad as you get.
It loops while the condition is true. When an underflow happens, it stops being true.
Everyone in USA knows that every child is responsible for choosing good parents.
California has something like this passed recently:

https://calmatters.org/environment/2022/06/california-recycl...

In the EU:

https://packagingeurope.com/news/how-the-soft-drinks-industr...
You’re not obliged to pull everything in one request. You can issue several requests.
Netflix said they were going to crackdown on password sharing. But it hadn’t happen yet. L
Ooh, i see. I wasn't aware that they under/overflow at 0 when they're unsigned. Thanks for broadening my horizon!
I assume folks who write optimised Rust have some experiences writing optimised C/C++... which means the domain is a bit narrow, usually microcontroller stuff, computer vision, OS kernel, etc.

On the other side, I agree perhaps we don't have to (re)write anything in Rust.
I just found a dashboard for the ERCOT interconnect queue. It looks like the previous person understated the amount in the queue if anything.

https://app.powerbi.com/view?r=eyJrIjoiYjM0YjNjZWQtM2U3ZS00Z...

Page 4 shows nearly 200 GW just for solar and wind, and a total of 275 GW.