skysight-inc/HackerNews huggingface dataset:
Inertia and prisoner’s dilemma. If an entire field decided unanimously that all existing editorial boards of for-profit journals will resign and form a corresponding Free<OldJournal> overnight and somehow with an inherited impact factor, then everyone except the leeches in for-profit publishing wins. But that’s an impossible ask. Right now, even when an entire editorial board resigns and starts over, the new journal needs to build reputation from scratch, and anyone submitting work (that qualifies for leading journals) to the blank slate instead of leading journals is committing career self-sabotage in a cutthroat environment. (And the publisher can hire a new board to keep the name going, the number of people willing to sit on the board for prestige is proportional to the journal’s prestige.) That leaves tenured folks who don’t need to worry about climbing the ladder, but they tend to have younger coauthors too. That really leaves tenured profs flying solo or collaborating with each other, and who’s fed up enough to do something about it even though they probably won’t have the network effect for a long time, if ever. It’s no coincidence that I linked to a Fields medalist (mathematician).

The next best thing without legislation is publishing preprints to open platforms while leaving the money sucking journals intact. Which has indeed happened in every field I’m familiar with, no idea what’s holding up the others, it’s not like any academic is living on royalties from papers. Inertia perhaps, and negotiation power?

And legislation may actually make a difference here, but hey, politicians don’t typically mess with big money.
Show HN: A Tool to Plan and Optimize Your Solar Power for Energy Independence
Hi HN,

I built PVBenchmark to help people understand how much solar power they can generate at their location and how their system compares to others. If you're looking to reduce reliance on the grid, plan a backup power setup, or just check whether your solar array is performing as expected, this might be useful.

The site provides location-based forecasts based on panel orientation, tilt, and capacity, so you can get an idea of what to expect before installing a system. If you already have solar, you can compare your actual output with similar setups from other users to spot inefficiencies or confirm you're getting what you should. The goal is to move beyond generic estimates and provide real-world data from people actually generating their own power.

It started out as a small project for Germany but now supports global forecasts and comparisons. Curious to hear what you think—what would make this more useful?
PEP 751 is defining a new lockfile standard for the ecosystem, and tools including uv look committed to collaborating on the design and implementing whatever results. From what I've been able to tell of the surrounding discussion, the standard is intended to address this use case - rather, to be powerful enough that tools can express the necessary per-architecture locking.

The point of the PEP 723 comment style in the OP is that it's human-writable with relatively little thought. Cases like yours are always going to require actually doing the package resolution ahead of time, which isn't feasible by hand. So a separate lock file is necessary if you want resolved dependencies.

If you use this kind of inline script metadata and just specify the Python dependency version, the resolution process is deferred. So you won't have the same kind of control as the script author, but instead the user's tooling can automatically do what's needed for the user's machine. There's inherently a trade-off there.
Yeah, I don't want my build tool to manage my Python, and I don't want my tool that installs Pythons to manage my builds.

In JVM land I used Sdkman to manage JVMs, and I used Maven or Gradle to manage builds.

I don't want them both tied to one tool, because that's inflexible.
Regarding the 'sudo' issue: Doing a benchmark by just running an example executable is not really recommended because there's a ton of reasons why you might get differing performance.

It's probably better to set up an actual benchmark using a crate like Criterion instead [0].

[0] https://github.com/bheisler/criterion.rs
Symbols for Zero
LGTM, ship it
To me the implication is that the culture at this company won't allow this team to master Go either, and in a few years there will be a post describing how they moved from Go to another language.

Many people like to write about how Golang is so simple, but the drawback of that simplicity is that many features of other languages are either covered by additional dependencies or by inflating code size. It's just as possible for Go projects to devolve into big balls of mud as for any other language.
It will work - you can see it well with a Chain of Thought (CoT) model: it will keep asking itself: "am I hallucinating? let's double check" and then will self-reject thoughts if it can't find a proper grounding. In fact, this is the best part of CoT model, that you can see where it goes off rails and can add a message to fix it in the prompt.

For example, there is this common challenge, "count how many r letters in strawberry", and you can see the issue is not counting, but that model does not know if "rr" should be treated as single "r" because it is not sure if you are counting r "letters" or r "sounds" and when you sound out the word, there is a single "r" sound where it is spelled with double "r". so if you tell the model, double "r" stands for 2 letters, it will get it right.
Because Rust isn't Python.

Feel like that's super-obvious but yet here we are.
Maybe you can find a way to crash vim using that addon. That would close the editor.
In my experience, if you write Java like you'd write to, you'd probably get similar performance. Maybe AOT performs a bit better, maybe it doesn't because it disables live optimizations.

Java doesn't lend itself well to writing Go style code, though. You quickly end up writing very "Java" Java code. That has some advantages (code deduplication, less boilerplate) but also downsides (allocation overhead, performance impacts).

In terms of Java vs C#, I don't think you'll notice too many new issues. If you opt into using heavy frameworks like Spring Boot to solve annoying problems for you, you'll see RAM usage increase massively, but it'll also take care of a lot of annoying grunt work for you. Startup times overall are pretty similar. The biggest downside in my experience is the lack of nullable types (@Nullable annotations are a poor substitute) and some syntax improvements that are new to Java but have been part of stable C# for many years.

As long as you stick with small libraries and avoid writing too much ObjectInjectorFactoryProducerResolver style code, performance of the JVM is fine.

All of that goes as long as you're able to use modern toolkits. If you're stuck in the world of Enterprise Java with Oracle Java 8, you'll notice old Java's shortcomings a lot more.
Major Chinese tech companies often collaborate with government entities, potentially compromising user privacy. Given China's regulatory environment, where authorities can access data held by domestic firms, users worldwide should exercise caution when engaging with platforms from such backgrounds.
I think this extends beyond lead. Americans love tests, and Europeans are more like the person that is scared of going to the doctor because who knows what they will find.
Renault makes EV fire suppression tech open to all manufacturers
My Boox is pretty crap. My use case is Libby for library books and the display refreshing and other things make it almost unusable. Feels super cheap, unsupported.
ChatGPT: generate complex SQL migration
> Get a used mini-pc, install Linux on it

As someone who tried that route I'd strongly recommend against it for anyone who isn't core HN audience or just loves tinkering. You're much better off with an Apple TV or an Nvidia Shield unless you really want the "beefy gaming media center".

I walked the mini-PC/RPi road and they came up short every time even for me, let alone the rest of the family. Even when I put in place the perfectly optimized initial setup I was still left with a bad compromise of performance, power consumption, noise, boot time, ergonomics, and the constant trickle of things breaking down or needing tweaking because of some update.

When trying to watch a movie with the family the last thing I want is to troubleshoot random issues.
Another discussion: https://news.ycombinator.com/item?id=43098705
Joe has found the One True God, Joe must proselytise, the true God demands it.
Certain HP LaserJet Printers – Potential RCE and Elevation of Privilege
The actual effect of outsourcing on tech jobs
bluetooth is a ghetto of a protocol. sad though, as the use case is well so damn useful.

https://news.ycombinator.com/item?id=22904442
What happens if you put a Boeing 737 MAX airframe into this simulator?
The Futility of the NLRB
TortoiseSVN (+Winmerge as diff tool) still is my go-to for non-programmers.
If the person groks the windows explorer, TortoiseSVN just makes everything better and nothing worse. Log/History, Blame, Add, Update, ..: everything of importance is in the context menu. Also the trunk/stable model is more intuitive then "everybody has a branch and then there are merges, and merges of merges....".

Did show it to lawyer and he got it in an hour.
I still use TortoiseSVN. I have run my own 1-man software company for the last 20 years and don't see any advantage in switching to Git or similar.
Indeed, I often think if I were transported to the past I would use rivers and dams to make logic gates.
Behold the power of marketing. "Vegan leather" is just... plastic.

On the other hand, I don't think I've seen cloth seats advertised by any car manufacturer as "plant-based" or similar, yet.
This isn't stopping people from sharing discord media links though. It just means that others who did not share the link and cannot do anything about that will see broken images/etc. in the future.
I can't make any sense of your comment; it seems like it has missing words, circular logic, and fundamental misconceptions, but it's not really coherent enough to tell.
Anything more complex might be a little too complex really. The Wizards, Warriors and You books were kind of a happy medium between them, since they could be played without the need for dice, character sheets/scrap paper, and writing utensils, but they still let you choose things like characters and equipment at the start which would impact the story.
I guess it's faster with sudo because the regular account has some resource limits, or something? Didn't mention which system is being used (Linux? macOS? Something else?) but I can't repro on my Linux system, where performance is identical:

% cargo run --release
[..]
Parsing speed: 103761177.00 Bytes/s
Parsing speed: 103.76 MB/s
Parsing speed: 0.10 GB/s

% doas cargo run --release
[..]
Parsing speed: 105401032.21 Bytes/s
Parsing speed: 105.40 MB/s
Parsing speed: 0.11 GB/
Why did they do that? Why not have smaller venvs for separate projects?

What's a 'project'? If you count every throw away data processing script and one off exploratory Jupyter notebook, that can easily be 100 projects. Certainly before uv, having one huge venv or conda environment with 'everything' installed made it much faster and easier to get that sort of work done.
I have experienced too much degradation of both leather and plastic material over the last twenty to thirty years to know what's what, leather needs feeding and oiling to retain its properties, and plastic deteriorates in numerous ways from stickiness to brittleness. Leather that outlasts the car seems stupid, my friend and I have a complete set of Saab 9000 Aero seats that we salvaged from my car about 15 years ago, still waiting for either of us to turn them into useful seating for the home.
I'm not sure that's true. uvloop, built on libuv, is a pretty popular alternative event loop for async Python, much faster than the built-in. It certainly confused me at first to see a tool called "uv" that had nothing to do with that, because I'd been using libuv with Python for years before it came out.
Your choice is corporations, government, or billionaires. One of those is going to be the "men with machines" that has use for the rest of us.
Java doesn't really enable monkey-patching in the style of Javascript, Perl etc. AFAIK, or am I missing something? That you can create anonymous subclasses during runtime is different to e.g. editing methods of existing objects/classes during runtime.
The largest democracy in the world is India, not the United States of America. The former is an (imperfect) democracy, the latter a representative republic. Neither of the two are 'going down in a coup', the latter just happened to have had an election where the majority of voters decided that the previous periods of "democratic" party rule did not lead to better outcomes for them or for things they cared about. They gave their vote to a group of people - not just a person but a group - who clearly outlined what their plans were should they win the elections. Which they did, and - lo and behold - they actually fulfilled many of the promises they made.

People voted for a group of people who promised to radically reduce the size of the federal state, a promise they seem to be intent on keeping.

They voted for a group of people who promised they'd open up the books on "all the malversations and shady dealings" by previous governments. They have started to fulfil their promise, it remains to be seen how much they can and will dig up.

Calling a government which went to the polls with a set of promises which they, after winning the elections, seem to fulfil is not a coup. It is the political process finally working as intended even if you do not like the outcome. Assuming that you would prefer a "democratic" candidate to win the next time it is time for you and the party you support to align yourselves with the zeitgeist and realise you do not get to shape the future exactly the way you please. That, you see, is also what the word democracy means, it is the people - not you and whatever party you happen to support, if any - who get to decide what to aim for. Though imperfect and often messy this remains the best system of government in times of peace. In times of crisis - war, famine, pestilence, natural catastrophes - it can be more effective to limit the influence of the people but as soon as the crisis is dealt with the 'dictator' (from the Roman Republic, a 'temporary magistrate with extraordinary powers, nominated by one of two consuls on the recommendation of the Senate and confirmed by the popular assembly, only t be used in times of crisis') is supposed to step down [1].

[1] this may be one of the reasons for constantly pushing different crises onto the public
Put a frontend wrapper around it that shows the questions one-by-one.
Try building a structure around the fusion source: https://en.wikipedia.org/wiki/Dyson_sphere
Density over some wide area is the wrong metric here. An entire state is absurdly large (in most cases). Two dense endpoints can be separated by quite a distance and still be worth connecting.
The Constitution does not say that at all.

The Constitution gives Congress a great deal of oversight over how the executive branch is run. The President is supposed to execute the laws that Congress passes, spend the money that Congress appropriates in the way that Congress says it should be spent, etc. The President can't even appoint his own officials without the Senate's approval.

Beyond the Constitution, there is a long tradition of independent agencies running according to certain laws and principles that are laid out to them. The President is not supposed to directly order the people at these agencies what to do. Think the Department of Justice: you don't want the President ordering prosecutions. You want those decisions to be impartial. Trump just crossed a massive red line in dropping the prosecution of Eric Adams, and he did so purely in order to gain political leverage over Adams. Now, the NY mayor has to do what Trump says, or else Trump can order the DOJ to start prosecuting him again.

Trump has now openly declared on social media that he does not have to even follow the law, because he's "saving the country." He's trying to establish an elective dictatorship. Americans vote every 4 years, and whoever wins runs the entire government however they want, regardless of what the courts or Congress say.
Those two also seem like diseases you get left with after you've been raising life expectancy for decades by avoiding death from other diseases, which is a more positive framing.

But people and societies can probably still make better choices in regard to the current priority diseases.
You do not have to be in direct sunlight to be in a place with that's sun lit.

Say I'm on my porch with a bright sun lit background, but not in the sun myself. I'd love to work there, but I cannot read my screen.
Yeah, everyone is saying this article is great, but it's akin to "then draw rest of the owl". It's very detailed in planning, and then for execution just "paste prompt into claude". What prompt?
My handy real-world analogy for XOR is the light over a staircase in a home. There's a switch at the bottom, and another switch at the top, and both control the same light. Initially, they're both in the off position. You set the bottom switch, and the light turns on. You climb the stairs, set the top switch, and the light turns off although both switches are now in the "on" position. As long as one switch is in the "on" position and one switch in the "off" position, the light is on; otherwise, it's off.
Have been using ZFS for the past thirteen years and all my workflows including backup are based on it. It just works.
As my wife, a healthcare provider, likes to say, “motion is lotion!” The body really doesn’t like being in the same static position for long periods, no matter your posture. Breaks & stretches are way more important!
Anything that makes it easier to make a script that I wrote run on a colleagues machine without having to give them a 45 minute crash course of the current state of python environment setup and package management is a huge win in my book.
Funny, I am exactly the opposite of you and find your post absolutely alien.
Allow me to explain this absurd thing on my head (made by 3D printer, not Apple)
I have never been able to rid myself of my earlier career instincts that people who spend time debating the pros and cons of languages are not really builders. I am a computer engineer, I have very little respect for coding languages since ultimately they always come down to the same fundamental computing mechanisms: processors and memory.

Perhaps when efficiency is needed I can understand. But most of the time seeking efficiency is yet another non-builder priority. I have always found efficiency comes from good thought, not good tooling.
Show HN: Jupyter Package Manager – Manage Python Packages Directly in JupyterLab
Hi HN,

Jupyter Package Manager simplifies managing Python packages directly within your notebooks without the need to leave your coding environment.

Key Features:

- List Packages: Quickly view all packages installed for the currently open notebook.

- Filter Packages: Easily search and filter through packages by name.

- Install New Packages: Install any package you need directly from the notebook interface.

- Remove Packages: Effortlessly remove packages that are no longer needed.

- Dark Theme: Enjoy a comfortable dark mode.

The extension leverages pip under the hood, making it a seamless addition to your JupyterLab workflow.

This package is a JupyterLab extension - just install it with pip to get started. By default, it will be available in MLJAR Studio, a desktop app for notebooks that I'm working on.

I hope that Jupyter Package Manager will be a great help for beginners and for people learning Python.

I'd love to hear your feedback or any suggestions for improvement. Thanks for taking a look!
Don't want to pay any money to Vereinigtes Reich von Amerika.
Really, dolphin is best? Using Dolphin on Nobara right now, and the pinned items in the left pane are not there in the systems "file open" dialog, the dialog does not even have breadcrumbs(!!). Or am I holding it wrong?
> “Over my skis” ~ in over my head.

Is that correct? Never heard the expression before, but as a skier if you're over your skis you're in control of them, while if you're backseated the skis will control you.
This doesn't give me any clue how it would really feel like to switch a big webapp/enterprise webapp from Java to Go.

How is the handling of database and entities? How is the security model and support for api endpoints?

etc.

I have had very little issue with java startup time. Hot code replacement exists for decades
But those two are often closely related...
It's fine for things like this where you want to get a rough performance indication to see on what order of magnitude things are at (~1MB/s vs. ~10 vs. ~50 vs. ~100). A few percent error margin is fine for that.

Tools like that are to eliminate noise and variation, which is an entirely different issue. According to the article, "sudo" is about 70% faster. That has nothing to do with the benchmarking method.
Maven does it.

It's what I most miss about it.

Package com.foo.Something pins a dependency on crap.bollocks.SomethingElse v1.1.0?

But I want to use crap.bollocks.SomethingElse v1.1.5? And I know that they're compatible?

Then I can configure a dependency exclusion.

I really really miss this feature in every non-JVM build tool.

It's another one of those things that the JVM ecosystem did right that everyone else forgot to copy.

(The other massive one being packages having verifiable namespaces. Can't really typosquat Guava because it's namespace is com.google and they can prove it)
It's only unhealthy when the (1) the sun is out (no clouds), (2) the "shadows are short" (sun over 45° angle), (2) there's no (semi-)cover, and (3) you are in there already over ~15min for that day (this is different per skin type and tan-level).

Below that it's very healthy.
It might make cheat creators life a little bit easier, but not by much. Security through obscurity is not a great practice in the first place, I think the benefits of allowing modders to make new games based on TF2 are much much greater than the potential damage from cheaters having to do less reverse engineering.
It was once termed "pleather" by unkind folk.
Id be happy with just "leather from particularly joyful animals" or whatever
And fun fact, without govt subsidirles, a nuclear power plant isn't economically feasible, which is why Elon isn't just building such a plant next to the data center.
Absolutely, but that doesn't seem to be most companies I see
Problem solved then?

We should give the folks at model.energy the next peace prize for their effort.
Show HN: Two Player Wordle on Mobile App
Practically speaking, I'd be more upset if we continued to kill animals and just threw their skin out rather than using it. If you're going to kill something, you really should to the best of your ability use every part of that animal. That's both reasonable and moral.

As far as I am aware, the leather industry doesn't really drive the farming of animals but instead exists purely as a secondary byproduct processing market.
It's very location dependent. All of the chargers owned by my local Council are currently 63p. Average nationwide is 53p. https://www.zap-map.com/ev-stats/charging-price-index

However you look at it, it's a heck of a lot more than charging at home. Intelligent Octopus Go is currently charging 7p per kWh overnight.