skysight-inc/HackerNews huggingface dataset:
There is also an epidemic of farmed fish being passed off as wild fish, especially at restaurants. There are many videos that cover fraud in the seafood industry, because it is very hard to verify what you're eating or how it was sourced without a lab.
Being able to write complex, reliable, and reasonably performant SQL queries should help land you a job more easily than say a thorough understanding of React. Despite all the SQL co-pilot AI out there, writing good SQL won't stop being an in demand skill.
Thats interesting to learn.

Here, train tickets need to list every passenger along with their age and gender. This also enables you to cancel for just one person on the ticket without affecting the rest.

The ticketing system basically assumes no network connectivity. Ticket inspectors usually only ask you for your name and match it to their records. And only ask for and id in rare situations (you absolutely need to have yout id with you irrespective of infrequently you actually need to show it).
Does this support starting a webdav server over an ssh tunnel to remote server? It looks like it from the readme, will attempt asap.

Ok, checked it out, dufs is a cool tool. Definitely replaces python -m http.server. This is a new standard rightalong side ripgrep.

Cargo is the package manager that pip wanted to be. We should just use cargo anyway. Why have distros when you have Cargo? Why have homebrew when you have Cargo?

Dufs support of webdav is nascent.

I kid, but only a little bit.
lol readline I'm looking at you.
I think this is a fine opinion, we like tools that do exactly how much we want them to. But I'd suggest setting up python (and virtual envs) was actually a big headache for a lot of newer users, and some of the old ones (me that is).

I also don't see why leaning into python being a wrapper around rust/cpp/c is a bad thing. Each language has its own niche and packaging/bootstrapping is more of a systems level language problem.
Why not rent servers from hetzner or ovh for a lot less and setup a CDN of their own? Or is it difficult to do that?
Many schools, especially private schools, ban phones.

Perhaps what's newsworthy is that Eton is a boarding school so might have extended this ban on smartphones to all hours...
Speed for one thing.
Rye also manages your python version by downloading a version and with a less finicky setup the pipenvs/pipenv virtualenv shell scripts(which take longer and are less reliable because they compile python from source instead of downloading it).

As someone who has had to deal with his teams python setup. Installing poetry and pipenv and compiling Python automatically on every users machine is a lot more finicky in practice. Plus poetry wasn't just much slower sometimes locking took many minutes to finish appearing to lock up.

There's also rye install/rye tool install works like pipx, install tools in a silo-ed virtualenv with a run file in the rye dir you've already added to $PATH (it also has parameters to pass in extra parameters such as installing db packages for slaacodegen, and optionally exposing their executables on your path). It bundles other tools from astral ie ruff which is the new hotness for python linting /auto formatting/import sorting that's also fast/written in rust.

I feel with rye/uv/ruff astral is finally making progress towards a fast useful all in one python package Manager/tool like cargo. And they keep on adding a lot of useful features, for example ruff is slowly working towards implementing both flake8 and pylint and other lints.
Yeah, Chinese fishing fleets are a serious problem. Any solution would have to address them to make a difference.
That is a powerful address, indeed. Good thing to know even in 1841 people saw what copyright would become today: an intolerable monopoly granted by the government, functionally infinite.

Seriously, this text is so great. I read the entire thing. It's nearly two hundred years old and contains everything one needs to know about copyright in 2024. Thank you for posting it.
What feature do you need that isn't in the open source version?

Why not fork it and implement that feature, and then use that?

If you don't want to deal with a company trying to extract profit from you, use the open source version. That's the way to ensure your own freedom.
> Friends of Mozilla certainly control Rust

Like who?

Anyway, it would be a good thing anyway because "friends of Mozilla" are likely some of the most dedicated FOSS people working in software.

> it is not outside the realm of possibility for Rust to switch to an awful license

It is absolutely outside the realm of possibility. It is as impossible as Python or any other major language doing it. Millions of lines of Rust are in production at for-profit and non-profit orgs, as well as in FOSS projects.

Even if they did it, Rust would be immediately forked and continue as it was before under a different name.

> Whether or not it is usable is a temporary technical issue.

I disagree. It is a long-term technical issue, because every viable browser engine so far has had many millions of person-hours put into it. Ladybird isn't close and likely never will be.
Maybe but that is cultural and influenced by marketing, public awareness campaigns, and access to quality prepared meals. Certainly in just the past 5 years I went from a meat heavy diet to a meat-free diet with a lot of consumption of soybeans (tempeh, tofu, soymilk, and cooked soybeans).

We could encourage others to do the same with, as I said above, marketing, public awareness campaigns, and encouragement for meat-free restaurants. Not everyone would shift, but in aggregate we could change demand patterns and people would still be happy. I know I would much rather eat tempeh now than any kind of meat product.
I think the author could've used "Publish to web" instead of preview mode, for a more accessible article view with better font rendering and keyboard control (though it changes image size and breaks right-aligned text).
I know someone who was in a PhD program for 10 years in Europe, without graduating. After year 6, it got very difficult for the university to legally employ him, and after year 9, it was simply impossible and he lived on his savings, but was still allowed to use his old office.
Yes. The government has failed enough times. Big Tech needs less interference. Let the big bucks make the big decisions.

/s
It is the same security abstraction where you don’t allow support for network socket in process ID 1.

(Looking at you, systemd.)

You don’t allow access to the bootloader from any kernel, thereby afford a relative security in starting 2nd stage (kernels). One abstraction is that TPM, et. al., can lockstep assurances on each stage. At a minimum, you have a bootloader, in case of SNAFU/FOOBAR.

Bricking (or worse, malicious kernel) seems more a possibility with upcoming Redhat design.
> I always get severely downvoted on social medias

Why? Yours is not a fanatical take. You’re just explaining how we can contribute in a more positive way by putting the planet before our taste buds.
Would be pretty nice if they just caught less fish if they don't really need them all.
I've had a ton of issues with pyenv and using pyenv/pyenv-virtualenv/poetry that were fixed by moving to rye
Great work. I've switched to using Rye now as I used to have to occasionally setup a new computer to work on a project and it was always a complete pain (pyenv+venv+pip).

Now its:

* Install Rye,

* Pull from Github,

* Type rye sync
Instagram Signup Validations
After each field is filled out, it sends a request with the full form body.
Unsurprisingly, I keep getting an error by the end of filling out each field, with 'too many attempts' and cannot proceed.

Is this a bug or some odd validation that is hard to pass?
There are web based GUIs for systemd (and sysv init too).

But the main reason you don’t see GUIs for those services is because Desktop distros tend to abstract away systemd so you don’t even need to manage it, let alone have a GUI to do so.

Like with Windows, the average user wouldn’t be manually managing what services to start and stop.

And that’s the real crux of things. A lot of the stuff that people say you need a CLI for in Linux are operations that the average user wouldn’t know nor want to do on Windows even with a GUI. They just run a browser and if the machine goes slow they ask someone technical (friend or shop) to fix. I know this because I used to be that friend.

So I really don’t think the CLI is what holds back Linux. It’s just the economics was never there while Microsoft dominated the desktop world. And these days most people use phones and tablets as their general purpose device, so in a way Linux did eventually win anyway.
Really? In Asia Tofu and Tempeh is well established in the cuisine so ...
At the end it's a matter of getting used to new tastes.
RustyBuzz is quite limited when compared with HarfBuzz. The Rust fonts scene also seems to lack the necessary momentum to drive things through.
I’m not sure whether it’s because the Rust community is mostly interested in webtech or whether Rust itself makes it hard to solve such complex problems. But I don’t see the sands shifting in less than 10 years to come.
I never had particular issues with Linux or Windows, but I have to say that I was surprised at how bad my MacBook looks when connected to an external 1080p monitor. I know Apple wants you to buy one of their fancy high resolution monitors or whatever, but it was so odd that one with a 1920x1080 resolution would look so bad. Even toggling the hi-dpi setting in BetterDisplay didn't help much.

Here's a quick picture from a few days ago: https://imgur.com/a/GLohlj1
from the article

* OpenAI has not elaborated about the reason for its sudden decision. ChatGPT is already blocked in China by the government’s firewall, but until this week developers could use virtual private networks to access OpenAI’s tools in order to fine-tune their own generative AI applications and benchmark their own research. Now the block is coming from the US side.*

If chatgtp is blocked anyway, there little advantage to allow researchers access but bekng able to monetize.
Toward an Open-Solution Society: How the field of social innovation has evolved (2013)
I can't do full vegan either, but that's ok, we don't need western people to eat 0 meat, just less.

Veganism in the form of religion that thou must not deviate from is entirely counterproductive, IMO
Ask HN: OS X keyboard right click workaround?
One of the things I miss the most about Windows is the ability to right click where my active focus is, using only the keyboard. Would usually use this to quickly get a file's path when I'm using the gui. Any idea how to do this on mac? Tried many things including Karabiner to no avail, I suspect this is not possible :\
As someone with a large project that depends on the standard readline that was a major hiccup when moving to rye. Luckily there's a gnureadline package.
We are humans. We are the smartest and most capable things on the planet. As far as we know we're the smartest and most capable things in the universe. That capability affords us a lot of privileges, including a much more comfortable life than we would otherwise have. I believe it also comes with some responsibilities, not particularly onerous ones, but just to do our best to leave the world in a not-worse state than we found it.
The closest thing left is the monthly Electronics Flea Market (https://www.electronicsfleamarket.com/). The next one is this weekend (July 14).

It doesn't have the volume or the variety that HSC did, but there's still a variety of stuff there. It's free except for the $3 parking, and it's easily worth that for all the interesting things you stumble across.

It has struggled to find a venue for a few years, bouncing from De Anza College to the Sunnyvale Fry's parking lot, to skipping a couple years due to covid, to the Sunnyvale Library parking lot (cancelled after once due to neighbors complaining), and now maybe settling in to West Valley College. Hopefully it will stick around.
> when should the persistent quit?

There is a book that addresses this question: Quit by Annie Duke
OpenAI coded digital product automated delivery platform
My employer does some kind of credit system so we get cash credits for future trips which we can use for nicer hotels next time. Something like that. I don't fly often/ever. I should clarify the credit is the difference of the expected price vs what we paid. So if flight is normally 300 and we pay 200 we get 100 towards future travel. And then there are upper limits to what we can expense and the credits offset that.
If I want to dip a toe in and run Rye and pyenv side-by-side on the same machine (not for the same project obviously)... is that going to be a footgun? I'm assuming... yes, since the shims from both are going to conflict?

Update: looks like this might be supported, from the FAQ...

Can I use Rye Alongside Other Python Installations?

Rye given it's experimental nature does not want to disrupt already existing Python workflows. As such using it alongside other Python installations is intentionally supported. Even if the Rye shims come first on the PATH, Rye will automatically resolve to a different Python installation on the search path when invoked in a folder that contains a non Rye managed project.

As such the answer is a clear yes!
Well an obvious issue is that you have to do that!

Also I think a big issue is the inconsistency between platforms. For example the official Python installed doesn't include python3.exe (frankly because the devs are idiots), but the one from the Microsoft app store does!

If you stay on one platform you wouldn't see those issues.
Yes, it’s all about culture and influence. As more and more people switch to a vegetarian/vegan diet, they keep coming up with more dishes and preparations. Innovation is bound to happen where there’s an influx of interest.
> So if a study is counter intuitive to "common sense," it's the study that's wrong?

Possibly, yes. But "common sense" is a very weak way of describing things here, because common sense is usually used to describe intuition, not knowledge. We are talking here about knowledge - men and women are different mentally, this isn't something unknown, or something requiring a study.

> since they're talking about structural and functional neurological differences

Given that there are obvious mental differences, and that most people don't believe in duality, that would imply there have to be neurological differences, if your study didn't find them, your study is faulty. Either that, or it's evidence for dualism.
Interesting. Thanks for sharing your perspective. After reading Inner Engineering, I have a different understanding of the fundamental ideas Sadhguru has about responsibility. He comes from a place of ultimate and full responsibility of every single individual for everything that they do and don’t do to contribute to the wellbeing of all. Maybe you would enjoy the first few chapters where he develops this concept. Would be happy to hear what you think about it in context of those chapters!
> Hamburger? Maybe eat some pulled pork. Pulled pork? You can replace it with lamb.

I don't understand this. Is this based on CO2? Because I feel worse about pigs being killed, they are smarter than cows, and so subject to even more psychological horror in the factory farm. And lamb is horrible because a lamb is just a baby sheep. Sheep naturally live something like 8 years, but a lamb is a sheep that was killed at less than one year old.

Seriously, vegetables, soy beans, and lentils are suuuper tasty.
The work I do is all in the single-to-low-double-digit microsecond range to give you an idea of timing constraints. I'm peripheral to HFT as a field though.

> First, split the load in to simple asset-specific data streams with a front-end FPGA for raw speed. Resist the temptation to actually execute here as the friction is too high for iteration, people, supply chain, etc.

This is largely incorrect, or more generously out-of-date, and it influences everything downstream of your explanation. Think of FPGAs as far more flexible GPUs and you're in the right arena. Input parsing and filtering are the obvious applications, but this is by no means the end state.

A wide variety of sanity checks and monitoring features are pushed to the FPGAs, fixed calculation tasks, and output generation. It is possible for the entire stack for some (or most, or all) transactions to be implemented at the FPGA layer. For such transactions the time magnitudes are mid-to-high triple digit nanoseconds. The stacks I've seen with my own two eyeballs talked to supervision algorithms over PCIe (which themselves must be not-slow, but not in the same realm as <10us work), but otherwise nothing crazy fancy. This is well covered in the older academic work on the subject [1], which is why I'm fairly certain its long out of date by now.

HRT has some public information on the pipeline they use for testing and verifying trading components implemented in HDL.[2] With the modern tooling, namely Verilator, development isn't significantly different than modern software development. If anything, SystemVerilog components are much easier to unit test than typical C++ code.

Beyond that it gets way too firm-specific to really comment on anything, and I'm certainly not the one to comment. There's maybe three dozen HFT firms in the entire United States? It's not a huge field with widely acknowledged industry norms.

[1]: https://ieeexplore.ieee.org/document/6299067

[2]: https://www.hudsonrivertrading.com/hrtbeat/verify-custom-har...
Recently, a post about the limits of box plots went through HN. It praised violin plots as better alternatives[0]. Are those supported in Swift Charts?

[0]: https://en.m.wikipedia.org/wiki/Violin_plot
Check out Usermaven.com.
Making your own OS or language is hard, if you care about both performance and correctness.

But HFT people do a lot of OS-level hacking, squeezing the last bits of performance from the kernel where the kernel is needed, and/or running parts of the kernel stack (like networking) in userspace, avoiding context switches. CPU core pinning, offloading of everything possible to the network cards, etc, goes without saying.
Because of very basic human nature: we don't like to be told something we do is "wrong", and nobody likes the idea of eating a steak with some sense of guilt.
This is so lazy. How many tons of wild fish are farmed each year? How many tons of fish does this feed produce?

This is very much word salad:

“ In the report, Feedback calculated that the Norwegian salmon farming industry’s "feed footprint" is equivalent to 2.5 percent of global marine fisheries catch. The report also estimated that Norway’s annual output of farmed salmon is 27 percent lower than the volume of wild fish required to produce the fish oil used in Norwegian farmed salmon feed. The Norwegian industry’s plan to more than triple farmed salmon production to 5 million metric tons by 2050 would create demand for over three times as much wild-caught fish compared to 2020”
United 757 plane loses tire during takeoff at Los Angeles International Airport
Yes, however unlike Poetry et al, this one is actually good!
Given that you guys are in charge of both uv and rye, why keep two alive at the same time? Why not just kill rye now to avoid fragmentation, and confusion that comes with the burden of having to choose between the two?
Sorry, I ment https://remult.dev/
They failed too quickly to be useful. Additionally they ran on banks of cheap car batteries that were too expensive to replace because there were so many of them, and while the manufacturer could get cheap ones, as a consumer you couldn't.

They were a toy basically, and an utter waste of government money.
I use it with vscode and I've not had any problems. vscode just sees the environment. Rye puts things in standard places (PEP places) and uses common tools under the hood, so I think that it should generally just work with an editor that understands python environments.
> Let the big bucks make the big decisions.

Not at all what I was suggesting. Not even close.
It broke me... every time I'm about to start something... I end up playing Factorio, or watching YouTube, or here... anything but actually taking a risk.
The weird thing about salmon (and other fish farms) is that the fish they produce aren't necessarily more tasty than the fish they consume. I live in Denmark, we have some really delicious small fish but they are hard to sell, so they are generally used to feed fish farms instead. With the soybeans mentioned earlier I at least get why it's fed to livestock that are then fed to people. I'm not going to say it's the right thing to do but at least there is a difference between soy and pork. With fish it's literally taking one delicious fish and putting it into another (objectively less delicious) fish.

So weird.
The Race to Seal Helium HDDs (2021)
Show HN: Don't spend a fortune on Text to Speech, instead use this
That could explain it if prices were high in general (i.e. also for industry).

https://de.statista.com/statistik/daten/studie/152973/umfrag... shows that 2014-2021 over six cents per kWh were going to the renewable energy subsidy scheme, and this is directly attributable, not some kind of hand-waving. I believe this was more than the wholesale cost of the electricity (without grid fees and taxes) in many of these years, and I think you also have to add another 19% of VAT on top of that.

In 2022 the subsidy started to be paid from taxes instead, and it was lower because market-based electricity prices went up (reducing the amount of subsidy necessary to reach the guaranteed prices).
Looking back it felt like being in one of those chimpanzee documentaries
Maven allows you to parse the project definition and understand its build definition without running arbitrary code, and you can configure it to only run signed code with a whitelist of keys.
This seems like a good place to shove everyone's favorite Janet Malcolm quote:

>Every journalist who is not too stupid or full of himself to notice what is going on knows that what he does is morally indefensible. He is a kind of confidence man, preying on people's vanity, ignorance, or loneliness, gaining their trust and betraying them without remorse.

From her book The Journalist and The Murderer
The most incredible wonderland for anyone doing electronics. You could spend days digging in there and always find something new and bizzare. Best part was that the building was practically a Faraday cage and there was no cell reception to help you identify what you were looking at.

I bought an old ADF there (cheap avionics), great vacuum florescent displays, tubes, reels of SMD parts I still have, PIC microcontrollers for unreasonably good prices, and bags and bags of other old parts. The back wall of the office area was entirely lined with Halicrafters S-38 longwave radios.
> Im not saying they are the same, and stated as much above.

> I am saying their relation to the government is the same.

Then I don't have anything to object. But I suspect that the above points were clear in your comments. I don't think anybody here would object to the idea that physical property law and IP law have the same legal standing. What people object to are the principles of the IP law.

EDIT: Following up with more analysis of the parent's comments... Indeed the following was clearly stated [0]:

> Of course I agree that there are some differences, but they are the same with respect to the sated role of government.

The following example to clarify the above statement muddies the water, though:

> Physical theft deprives the owner of physical property (where this right is respected by law. IP theft deprives the owner of intellectual property ( where this right is respected by law).

Physical property theft deprives the owner absolutely. Whether IP “theft” deprives owner of anything is questionable, even in the legal sense. Regardless, government is “right” to pursue enforcing both laws, because they are laws after all.

[0] https://news.ycombinator.com/item?id=40911265