skysight-inc/HackerNews huggingface dataset:
> great code evaluating features (sending expressions to the REPL and such)

It’s definitely not as advanced as Elpy, but it’s worth noting that the built-in Python-mode also has basic support for this: C-c C-p to start an interpreter (can be reconfigured to run IPython), C-c C-e to send one statement to the interpreter, and C-c C-c to send the entire file to the interpreter.

If you install code-cells.el you can get another keybinding to send one “code cell” (delimited by “# %%” comments like VSCode does) to the interpreter. There’s also the “comint-mime” package that enables Matplotlib support in the interpreter so you can see inline plots.

An alternative to all this, is the emacs-jupyter package which integrates a Jupyter kernel as the Python REPL in Emacs.

> not yet added ruff

This was pretty plug-and-play for me if you’re interested:
https://github.com/erickgnavar/flymake-ruff
how can you extract $99 worth of value out of an IDE that would not be a loss for not using another free option? I expect to extract thousands of dollars worth of an IDE, at least, monthly.
All posts like these, and all comments here up till now just don’t mention the Real Solution: Allow ads, forbid user targeted ads.

If a site can not exist based on that instead of the current ads ‘needing 1337 partners’, tough luck.

Also: maybe if targetting isnt allowed anymore, the value of the normal ads might increase a bit.
I suspect it would work for me as I rarely dip below 50%. My current phone doesn't support it though.
It's mostly in medicine and psychology.

In topics where there is less reliance on relatively small numbers of cases (as is typical for medicine), there is also less reliance on marginal, but statistically "significant", findings.

So areas such as biochemistry, chemistry, even some animal studies, are less susceptible to over-interpretation or massaging of data.
My understanding is that period instruments from the Baroque go out of tune very easily. When I've seen the Messiah performed with Baroque-style orchestra, I recall them retuning a number of times during the performance.
Ahhh the classic 'CP' FUD.
This is after trying to enter, I can't retroactively opt out of the profiling and fingerprinting their captcha does for example.
Ubisoft's Call of Duty-Like FPS Is 'Not Dying' and 'Doing Well,' Says Producer
Php has nothing like this?

In [1]: "... WHERE " + " AND ".join(str(i) for i in range(4))

Out[1]: '... WHERE 0 AND 1 AND 2 AND 3'

Very strange.
There was another execution in South Carolina on Friday despite new evidence of innocence

https://amp.theguardian.com/us-news/2024/sep/20/south-caroli...
The US is very behind on a lot of areas financially, but their gdp is bigger than all of Europe combined

https://tradingeconomics.com/country-list/gdp?continent=euro...
That may be a plus for code editing, for example pgup/pgdown moving the cursor instead of just the view...
Minor alien-encounter film trivia: That Bill Clinton speech is what Robert Zemeckis ripped off to create a news footage facsimile of a more dramatic discovery in Contact.
I have similar experience to yours. I would prefer them not to be on it but it has network effect, as their friends are all on it too.
I'm against the death penalty - I do believe there's times it makes sense, and I certainly believe there's crimes worthy of it. But I don't trust the state to make this determination with 100% accuracy - and anything less than 100% means we have to make the choice between not giving the death penalty to those who do deserve it, or executing those who don't deserve it.

It's not unusual to hear stories of people being found innocent after decades in prison - and every single time it hammers home to me that they could have been pardoning a grave.
Keep in mind that a lot of these "software fixes" are just perverse caricatures of NASA-esque "coding around broken hardware" exercises wherein they change something so that an imminent failure is staved off until after the warranty period. The article mentions this with regard to battery fires but they kind of downplay how prevalent this is (probably because there's no good stats).
I don't know about this specific case but Deutsche Telekom has a history of highly shady behavior when it comes to peering (or lack thereof). Things like intentionally running ports at public exchanges below capacity so they're always congested and then attempting to bully content providers into paying outrageous sums for peering (even though that traffic is already paid for by their customers, so really they're just trying to double dip. Peering is usually a mutually beneficial affair with no exchange of money).

For a very long time, there were substantial issues with getting traffic from Hetzner to Deutsche Telekom for similar reasons. At the time, when you rented a server at Hetzner you could actually pay extra to get 'premium' routing to Deutsche Telekom though Core Backbone (AS33891), which did make the ransom payments (unlike Hetzner itself).

They were also hard at work undermining net neutrality for a while by zero-rating some companies on their mobile network until they were stopped by courts.

I'm not sure what's going on in this specific case, but I'm not inclined to give them the benefit of the doubt.
> You are editing text. If you rely on a paid product to do so then prepare to be a laughingstock when the license changes in a way you disagree with.

Jesus, laughingstock for whom? A couple of online nerds without life that have nothing better in life than laugh at someone who spent 99$? Go outside, touch some grass. Unless you get off of this behavior - in this case remove yourself from the internet, there’s too much toxic behavior already.
Ironically, searching for "Website Advertising Preferences" returns 0 results.
Thanks for the link, seems like a major flaw to combine hourly pricing with a setup fee. :')
I really wanted to like this editor, but it chugs while working with 10,000+ file projects. It also seems to index all the files each time the project is relaunched.

Sublime runs flawlessly working with this same codebase...
You do a great job explaining these concepts, better than most. I have appreciated all of your replies in this post. Do you have a blog or podcast or teach somewhere? I would tune in.
When they use sound effects in news reports, they're called "nat pops."

They're often used to make reporters sound like they're somewhere they're not. They can be very convincing.
China test launches intercontinental ballistic missile for first time in decades
C++ programmer's guide to undefined behavior: part 6 of 11
Check out https://www.1x.tech/androids/neo

Their plan is to put droids in real homes and remote control them to create the kinds of training data that can’t be faked in a lab.

They explain how that works here

https://youtu.be/2ccPTpDq05A
As someone with knowledge of JS, my favored static site generator is SvelteKit. I feel like for me, Jekyll and such things no longer offer a simplification.
.NET Native AOT Performance
This article compares .NET and Native AOT performance. It uses the following sources of information:

* The official ASP.NET benchmarks.

* Benchmarks based on the BenchmarkDotNet library.

* Benchmarks based on the hyperfine tool.

Short summary: Native AOT apps start faster and consume less memory. However, regular managed code is faster in long-running applications.
I'd actually prefer a plain text list of these quotes - it's a great list of quotes, but the images mean they are hard to search or skim quickly.
The size allows for these kinds of cartels.

The size of the us also allows PR organizations (paid for by these cartels) to influence both voters and law makers all the time.

It’s called “lobbying.”
The ghost claim is interesting. I'd have thought most people would be honest about NOT believing in them.
Literally the Missouri Supreme Court decision and US Supreme Court decision that supports it.
Maybe also browser dependent? Constantly janky on Firefox/Windows/8840HS laptop; janky on Chrome while loading new locations but then mostly very smooth.
I haven't read anything about the Supreme Court's decision, but did they dissent on the grounds that they believed he was innocent, or that capital punishment shouldn't be allowed (and not comment on his guilt)?
> However I'd like ask the HN community here to share some examples of really simple blogs?

My static site generator is quite simple (650 lines of JS including the http server, almost half of which are the header and footer templates), it uses markdown-it (and some plugins) to convert Markdown to HTML, Katex to convert Latex to HTML and Highlight.js for syntax highlighting. The generated pages are static, only JS is to change light/dark mode and open all "hints" when printing. And right now I'm adding RSS/Atom support.

https://codeberg.org/Release-Candidate/pages/src/branch/sour...
https://codeberg.org/Release-Candidate/pages/src/branch/sour...
Why not make it a mask for the suicide. I never understood why they made it a full body capsule.
Actually rechecking the terms of the GPU server, it states:

> Cancellation period: 30 days to the end of the month

To me that indicates it's not possible to order the server for only a few hours.
This article is a while bunch if strawman arguments if you ask me. Author's main point seems to be that state machines _can't_ know how they got to their current state and event driven systems will _always_ know how they arrived at their current state.

But that's just nonsense. There is absolutely nothing intrinsic preventing a state machine knowing how it arrived at a state, in fact if you use an AWS state machine with lambda step functions you can look up any past execution of a state machine and see all the steps it took to arrive where it did.

Furthermore, there's nothing intrinsic about event pipelines that makes them know all the actions taken up arrive somewhere. Not only that, but it's extremely common problem in large event architectures that teams and actions are so distributed you don't actually know who all your consumers are.
September 2024 Progress Update on Microsoft's Secure Future Initiative (SFI)
Hey, it seems that we helped! B^>
That’s all great and wonderful, but I shouldn’t have to pay to rent a device that really only benefits the ISP. I would rather have a slick ONU SFP+ module in my router, than yet another plastic block on my telecom panel I need to find space and power for. “This makes our network easier to manage” AND “we make extra money doing this” is double-dipping.
Master Hard Conversations Calmly
You assume that the laws are flawless. They are not. It is hard to un-kill a person if you realize a law was bogus.

The first law I would introduce would be that the death sentance only applies to people who demanded it publically before.
Is there anything good you can run locally, if all you have is a M2 Mac?
I know this will be an unpopular opinion, but I was a chrome user for well over a decade. I spent the last year or so trying to switch to Firefox (and did) because google implemented something similar to this in chrome.

I used it for a year and then I switched back to chrome about 3mo ago because the writing was on the wall that Mozilla was going down the same route, just more slowly and a few years behind. I don’t see a reason to use Firefox if it’s going to have the same “features” that I just have disable in chrome, when chrome is still more performant.

It’s really unfortunate that every alternative to chrome is either measurably slower or just a fork of chrome.
>> A classic for starting is the NES sound chip (Ricoh 2A03). It only has 5 channels and is very straightforward to use.

Such a simple chip and yet it was capable of producing amazing music in the right hands. Tim Follin created some legendary game soundtracks with that chip:

https://www.youtube.com/watch?v=DzTDAgG4EXk

https://www.youtube.com/watch?v=4_gObHt1uZA

https://www.youtube.com/watch?v=ZQlLl2j5THQ
UltraAV says Kaspersky users were moved over for their own good
My Play with Microsoft Copilot for Image Analysis
That's the second time I read this comment and I still don't believe it: it's listed as a "dedicated root server" (usually billed by the month) with no mention of typical cloud offers.

Could you please clarify?
IME, Plugshare is of variable value. Good in Germany; terrible in Mallorca, for example.
If premiums are too high, employers will switch the insurance company they offer employees.
I use these in my AI video generation project.

I am also making a tool which will have all movies so we can pick the clips out of it using AI prompt then automatically make content like this:

https://youtube.com/shorts/I5Ao5u4WZFw?si=NUbcfVwyhIiyfvPz

I am halfway there already.
Thats an opinion. It could easily be argued the other way around. Murders during burglary has a higher chance of have happened accidentally than other kind of murders. Stealing is more likely to happen because of poverty than psychopathy.
Its kinda a useless exercise making up arguments uninformed by reality.
From what I read, he theorized that internal competition was the only way to incentivize efficiency rather than being propped up by the rest of the company. Essentially, made each division compete for funding, which naturally lead to undermining and backstabbing— for example, the retail division started undercutting Kenmore with other brands— and eventually it all collapsed.
"machine learning revealed that success actually increased up to about 750 comments, then leveled off."

It's easy to predict which projects are successful after the fact, but user comments is a feature which increments over the duration of a campaign, so you'd want to use a point in time count instead, which leads me to believe that this is not a skilled ML project.
If it were up to me it would be in the constitution that everyone has the right to euthanasia and suicide with no conditions. At first i thought it seems like a completely unrelated issue to the death penalty. After thinking about it more maybe you have a point. Society will likely never get over the taboo of enabling suicide so i suppose it can be seen as a lesser moral evil to kill someone rather than subject them to life imprisonment under suicide watch. Interesting moral questions
Show HN: Hello Hotwire
I have a hard time believing that Redis local was beat by SQLite local unless the workload was poorly fit for Redis structures, or the integration code wasn't well written.

But always happy to see a discovery of a better solution. I agree removing the network is a win.
OpenStreetMap gives you static data. But when charging, you almost always need dynamic data (current station availability, availability forecast, charging prices...) even in the most basic use cases.

And to get dynamic data you can't just fetch it from one operator. My employer's charging network (Digital Charging Solutions) has about 1450 technical charge point operators (those are the brands you see on the stations). Even just looking at the commercial charge point operators (those are less) you'd have to connect to hundreds.

Ok, there are also roaming platforms that interconnect everything. But they exist to connect, so they are never going to give you this valuable data for free. And you'd still have to implement about a dozen API connections to get reliable status data for only Europe...

Edit: AMA about charging stuff :) I don't handle the data connections etc but I know a bit
'Post genomic era' reveals nothing less than a new biology
In such a world (which is, by any means likely ever to be available, impossible), we’d still run against the issue that the state has the authority to kill people. This world would also have to be free of political corruption, and be so politically stable that what constitutes a crime worthy of the death penalty could never change.
Or a strange idea of how things are or how they should be:

> In my experience, men don’t do group claps. We tend to shy away from on-tempo towel twirls. The weight room doesn’t break out in Woo!s when one of the fellas tries his best on the bench press. We march through the gym alone, AirPods blasting, not because the Knocked Loose song makes us stronger, but because we think our independence does. Raised in the oppressive swirl of the patriarchy, we’ve learned to disconnect, to close off, to ride alone.

Like, has this dude been on any sports team? Look at a baseball team or adult softball team and tell me men aren't cheering each other on.

Has he ever gone to a serious weight lifting gym? The "meatheads" are absolutely cheering each other on, spotting each other.

He has taken his own insecurities and hang ups, and, instead of looking inward, says it must be the fault of the patriarchy.
I liked the film overall, but the talking heads style narration was tedious. It was a strange film as I loved parts, hated parts.

I get why they do the narration that way, but man I do not care about the folks narrating their experience back on earth when we could be watching the folks on / near Europa. It has an unintentional self important vibe about the "I was on my way into the office when something happened." whole thing.
If I could fly by flapping my arms, I wouldn't need airplanes.
SQLite for distribution is neat. FWIW - this is at least partially inspired by your datasette project which we may still try and do something with later on the reporting and data exploration side of things.
> The prosecutor who wanted to pardon him was not the original prosecutor, but a recent progressive elected one

It's beyond stupid to elect people who are in charge of upholding laws and prosecute crimes. They have to campaign, make their views known, and to get elected, show views which of course aren't necessarily related to what their job should be about.

Get professionals that are as impartial as possible. They will still have biases, but they won't have to advertise them and be beholden to them in order to get reelection.
If you're wondering if the Missouri governor Mike Parson sparingly uses his clemency and pardon power, you'd be mistaken [1]:

> Parson, a former sheriff, has now granted clemency to more than 760 people since 2020 — more than any Missouri governor since the 1940s

including those who waved guns at BLM protestors [2] and the son of the KC Chiefs coach who caused grave bodiy injuries to someone in a DUI.

Available data shows a pretty clear trend [3]:

> An analysis of available demographic data conducted by the Missouri News Network indicates that almost 90% of those who have been granted clemency by the governor are white.

If you're wondering where the US Supreme Court stands on this, consider this quote from then-Justice Antonin Scalia [4]:

> [t]his court has never held that the Constitution forbids the execution of a convicted defendant who has had a full and fair trial but is later able to convince a habeas court that he is ‘actually’ innocent.

Also, consider this racial bias demonstrated in the exoneration for those sentence to death [5]:

> Since 1973, at least 189 people wrongly convicted and sentenced to death have been exonerated. 100 of the death row exonerees are Black.

Lastly, even if you want to ignore the immorality of the death setnence, look at it from the lens of cost [6]. Death penalty cases are substantially more expensive to litigate and death row inmates are substantially more expensive to incarcerate. A life-without-parole would be substantially cheaper.

Also, you can release someone from prison wrongly convicted. You cannot bring them back to life and there are multiple cases of people who were executed and later exonerated. Williams is sadly added to that list.

[1]: https://apnews.com/article/kansas-city-chiefs-britt-reid-com...

[2]: https://www.npr.org/2021/08/03/1024446351/missouris-governor...

[3]: https://www.columbiamissourian.com/news/state_news/governors...

[4]: https://deathpenaltyinfo.org/stories/associate-justice-anton...

[5]: https://www.naacpldf.org/our-thinking/death-row-usa/

[6]: https://www.amnestyusa.org/issues/death-penalty/death-penalt...
> If the foundational assumptions are wrong or impossible to challenge, time t can extend indefinitely.

This is an important point, but fortunately nature has provided us with a solution. Namely that teenagers are defiant and look for ways to distance themselves from their elders.

This is Planck's principle that science advances one funeral at a time [0]

> A new scientific truth does not triumph by convincing its opponents and making them see the light, but rather because its opponents eventually die and a new generation grows up that is familiar with it ...

> An important scientific innovation rarely makes its way by gradually winning over and converting its opponents: it rarely happens that Saul becomes Paul. What does happen is that its opponents gradually die out, and that the growing generation is familiarized with the ideas from the beginning: another instance of the fact that the future lies with the youth.
— Max Planck, Scientific autobiography, 1950, p. 33, 97

The biggest impediments have historically been multi-generational organizations whose power requires limiting access to science. Famously the centralized church in the time of Galileo. More recently the cigarette and oil industries. Things like big personalities and legislative priorities tend to have much shorter time scale and usually allow for science to ratchet forward generationally. Big personalities die, legislators turn over every few years in the best case or in a few generations in the worst case.

[0] https://en.wikipedia.org/wiki/Planck%27s_principle
What’s the point of this analogy? We can’t know 100% so it doesn’t matter.
I have no idea what GP was trying to say with his "it's mostly European users" comment, but as a European who does worry about climate change, I don't think that climate change denialism is somehow less extreme in the US than in Europe.
If murder is illegal, then it makes no difference if the state does it as punishment for committing murder. You’ve still sanctioned a murder, admittedly of a murderer. A civilised country accepts this simple logic and doesn’t sanction murder under any circumstances.
When it comes to writing APIs I feel strongly that you should be incredibly strict.

1 != ‘1’

true != 1

true != ‘true’

undefined != false

undefined != null

etc

“Flexibility” in your API just means you are signing up for a maintenance burden for the lifetime of your API. You will also run into problems because you have to draw the line somewhere and people will be frustrated/confused since your API is “flexible” but not as flexible as they want. Better to draw the line at complete strictness IMHO. I dislike even optional fields and prefer null to be passed instead except special cases (like when null has a meaning, example: search endpoint where you pass the fields you want to search on and a field can have a null value).

I want people to be explicit about what they are doing/fetching when using an API I have written/maintained. It also encourages less sloppy clients
I am struggling a bit to find information about BIMI that isn't some marketing crap. But from what I can tell most major email providers (except Microsoft for some reason) are on board.

But are other providers adding this checkmark? I am curious why they seem to have chosen the same style as Twitter given the complete lack of trust that has eroded with that, so if others are going to use this checkmark was this an agreed to style or did Google just choose this?

I guess I can kinda see the value of this, especially since I could see telling my parents that unless it has this checkmark don't trust it for anything serious. But that only works if this is something that they all agreed to do across the board regardless of what platform you are using to read your email.
> “The family defines closure as Marcellus being allowed to live,” the petition stated. “Marcellus’ execution is not necessary.”

Imagine we lived in that world.