skysight-inc/HackerNews huggingface dataset:
The (default) hash for Rust's HashMap and HashSet is a SipHash. People shouldn't call this a "cryptographic hash" or a "crypto hash" - that's misleading as it would lead you to think of algorithms like the SHA-2 family - but this is literally a cryptographic algorithm just one with very specific properties suitable for this task.

Such algorithms are crucial to avoid being subject to a Denial of Service attack which is, in fact, a security problem. Of course under the C++ "blame the programmer" philosophy you don't deserve protection from Denial of Service unless you knew you needed that and figured out how to ask for it properly.

Just as with the sort functions this is about safe defaults, not about constraining people who know what they're doing. Dropping in FNV instead of SipHash, or even using the identity function as a "hash", is not difficult if you are sure that's what you need.
I should have written "one can't" rather than "you can't". Sorry that I implied something personal.
Pretending PreagerU is anything but blatant propaganda is silly.
Box made a video in collaboration with The Pudding about this: https://youtu.be/S1m-KgEpoow
It is no different and it's the same old power law which the rewards and success diminishes as more creators and users are doing the same thing on the platform.

It's not about the one trick pony hit's that exist on a single platform which the article is focused on, it is indeed the continuation afterwards which a creator's following will still exist beyond TikTok or wherever their debut hit originated from.

Inevitably, The corporations, media and the existing larger influencers from other platforms will join in and ruin the platform, just like they did with the rest of the others. The over glorified algorithm has already been gamed by them to increase engagement, ads, etc such that smaller and late creators have depleting chances of being recognised.

Nothing has changed.
*foretold
Is Yellowstone National Pork bad for your cholesterol?
Assuming that 25 kg of grain/soy is needed to make 1kg of meat (just picked a number from a poster here), are you really sure that 25 kg of grain/soy is better nutritionally than 1 kg meat ?
I'm looking forward to this, despite moving from Gitlab to self hosted Gitea as my primary repository host, I was still using gitlab's registry for containers
I lost time to reading this article and question whether the author benefited from writing it, so I hope some of y'all got something out of it.
There are legal search engines which just about every lawyer should have access to. Resorting to google or wikipedia seems like a weird intersection of being comfortable with technology but unaware of any of the standard options.
Current nuclear technology isn't sufficient either. A world powered by nuclear burner reactors runs out of uranium very quickly. Breeder reactors or seawater uranium extraction would be needed, and neither of these are "existing" in the sense you're using for storage.
The biggest problem are bacteria in my opinion. Even if you clean it all the time (which you won't because it's pain in the ass) and you have high end one with filters and anti bacteria mechanisms - it can still be pretty bad (and becomes expensive so you can buy different type).

Its like if you were drinking that stale water thats been there mingling with all the bacteria all day.

My close friend (oterwise perfectly healthy and fit) got really nasty breathing issues along with infection and fever. He couldn't get rid of it for weeks thinking it's COVID related. Turns out it was his high end humidifier he has for plants. Once he turned it off it was gone in a day never to come back. He swapped for some evaporator one and never had single issue.

Turns out you can find many articles about this if you search for it. Some countries are even thinking about banning them.
I'm actually trying out Nix on a fresh Mac install since this week, but I'm not yet sure if I enjoy it. When things work it feels pretty great, documentation feels lacking though so when I want to do something I haven't done yet I generally try to find examples of something similar. I do think I'm beginning to understand the language better that reading the source nix files almost become the docs for me.

The main problem I have is when I try to install a package that fails to install, usually it has to compile. Like today I tried watchexec on my M1, doesn't work. Luckily I can just download a binary watchexec build to get around it but it would be nice to know how to get it working. Worked with homebrew. (but homebrew has it's own problems)

The other thing is that I like the idea of using nix-shell for projects, but I hoped they would be more isolated than they appear to be. It's possible for example to have files in a user directory which will be accessible to all projects and package versions I'm using. It hasn't become a problem yet in my testing so far though.

Reading other comments I decided I will also play with running things in a VM with NixOS. Maybe I'll end up with a mix of local Nix for some basic stuff and then a development VM.
This guy puts a LOT of effort in marketing. Much more than the typical software engineer is willing to do. Twitter, substack, blog, youtube, SEO content, ads, he does it all.

Of course you'll be successful if you spend years marketing yourself and learning all the tricks of the trade. What most engineers want, though, is to do well online while spending most hours on interesting software projects and putting in a minimal marketing effort. I'm happy for the guy, but I'm pretty sure most people here wouldn't be happy if we had to do his job.
> Wikipedia is a fine entry into any topic

It isn't, that's the point of the study - not all court decisions are on wikipedia and those that are, are getting cited more. Judges, Lawyers, Clerks have access to the original decisions and court transcripts in electronic form going back decades and longer. If they're relying on whats on wikipedia - they're either doing poor research or are too lazy to write their own summations.
Why should there be an equal number of male and female Lego figures?
-- never cared about woodwork till discovering Blacktail Studio on youtube - now all I want to do is make tables - highly recommend - especially if you give zero f's about woodworking --

https://www.youtube.com/c/BlacktailStudio/videos
I never know what to think about these posts. As I've mentioned in other comments or posts around similar topics, I've had a successful eBook and still do. But when I'm asked for advice, I'm not really sure what to say. It just feels like dumb luck sometimes, honestly.
> It's so much a solved problem that no country other than France has a permanent solution

I think it's reasonable to acknowledge the difference between "we have a solution that has been implemented in the real world" and "the solution we have has been implemented everywhere it's needed". Yes, not every country who needs proper waste management has implemented it, but I don't think that means we haven't solved the problem of what to do with waste.

Also while France has La Hague, the Netherlands also has COVRA :)

> Meanwhile it will cost hundreds of billions if not trillions to get it done for the existing waste alone

Yes, we will have to face the consequences of past choices, but I don't think that should preclude us from pushing for more modern implementations.
>most people have never even tried to stop eating meat for just a month.

Few people (so you are correct) have done it for decades and learned it the hard way:

https://www.beyondveg.com/

Vegans are IMHO are a deluded lot, while idealism is admirable it does not square up with reality.
Should be called someplaintextsports :D
LexisNexis, which does other things now but started in the legal space, offers a huge collection of legal opinions with a fairly good search and linking capabilities. Most clerks and law professionals would have access to it.

I think the benefit of Wikipedia is not access to materials so much as it is the succinct summarization of the legal opinions. Perhaps now NLP could help with this, but it's a very complicated problem to provide a summary of the important bits from a 100+ page legal document.
Is this the same as distributed acoustic sensing using fiber optics cables? If so, the leading company in the world right now is these guys if anyone is interested: https://terra15.com.au/
I really like Nix's configuration language too. It seems to hit some sweet spot where it manages to be simple, expressive, versatile, and maintainable, all at the same time. So I find it sad when I see people almost instinctively dunk on the language. I wonder if recent efforts around documentation can improve things.
> Even if two choices are equal, one might bring you more luck.

> If two gyms are equidistant from your house and you’re single and looking to meet someone, perhaps it would be wiser to join the gym that is next to a cafe or a grocery store.

If two gyms have nearly equal luck distributed across different categories, one might have more opportunity potential. If both gyms are next to a cafe or grocery store, perhaps it would be wiser to join the gym whose reviews and other online commentary, according to a semantic analysis, suggest people encounter new experiences there.
CS109a: Introduction to Data Science – Resources
Interesting to read some of the hype around 0xide, it seems like its just some software ontop of a blade system?
Just show it to a handful of people, if they liked it show it to more. Keep looping this and good videos go viral, and bad videos don't.
In all of the TikTok praise threads we've had here, this is the first time I can remember ever seeing anybody mention what I personally believe is a killer distinguishing feature. TikTok's algo guarantees that every video will appear on at least N FYPs. Then if it performs well in that ad hoc 'test group' it will be show to a wider group, and so on.
Calling some piece of code a "contract" is where the problem starts, because they cannot legally be contracts. These programs are just software like all other software with bugs and vulnerabilities and human actors who may or may not do legal, ethical things.

Pretending that software is a contract gets us into all kinds of trouble. All of the crypto scams out there were possible because people believed that the software behind them constituted some kind of "contract" that would guarantee a return on investment or the stability of their funds, which no software can do.
No, it doesn't. You can look up historical Fed rates and "massive recessions," and check this yourself.
>most people have never even tried to stop eating meat for just a month.

There are few admitting people who have done it for decades and learned it the hard way:

https://www.beyondveg.com/

Vegan are IMHO are a deluded lot, while idealism is admirable it contends with reality.
I can confirm that a major impediment to learning Clojure is understanding where Java is and isn't broken.
When cities treated cars as dangerous intruders
I feel like seeing the ruby open-source-developing community shrink a bit, and formerly community-supported libraries starting to become more abandoned or have more trouble staying maintained, is giving me a different perspective on "if the language just gets popular enough this will take care of itself."

But also just seeing in general more people trying to make money with open source. I think the way open source "naturally" gets produced for free is not what it was 15+ years ago.

> Do you have a bunch of examples here

I don't recall any off the top of my head, because of course it's nothing I use, working in ruby. Most of the ones you mention have been around with ruby SDK's for over 10 years already, had them released when ruby was still at the top. And certainly an SDK is still more likely to be available in ruby than elixir or clojure. Let me see if I can find a few examples remembering the sorts of things I was seeing... OK some examples that don't have vendor-supplied ruby SDK but do for other languages:

* vimeo: https://developer.vimeo.com/api/libraries

* slack: https://api.slack.com/tools

* dropbox: https://www.dropbox.com/developers/documentation

In some cases there are third-party open source libraries available, often with limited coverage and/or kind of abandoned. Vimeo is the only one I really dug into, the third-party open source "sdks" did not seem to meet my needs or do much.
Equality vs. Equity
yes, everyone in these communities does this to some degree:

typescript, coffeescript, scala, kotlin, etc...
When you are building a SaaS product that only runs on your servers, you can use whatever you want.

But when you are building an OSS product, there are a couple of more things to consider: those who will run it, and those who will contribute to it.

For instance, I love the idea of Nextcloud, but I would neither run it, nor contribute to it as long, as it is written in PHP.

Currently, there are 161 comments on Hacker News with the words "Nextcloud" and "slow" in them:

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

The same applies to Gitlab, which is written in Ruby and runs on Ruby on Rails under the hood.

Currently, there are 1,656 comments on Hacker News with the words "Gitlab" and "slow" in them:

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

Had they made the right technological choices from beginning, there would be no need for articles such as "Why We’re Sticking with Ruby on Rails at GitLab" in 2022:

https://news.ycombinator.com/item?id=31684529

With the CEO of the Gitlab admitting in the comments:

> Performance is indeed worse. We're moving the 20% of the app consuming 80% of the compute to Go.
Wish I had space to do something like this, here in the UK houses are tiny compared to most of the developed world, and having some kind of garage is basically a luxury
Yes. The users. TikTok is unique (afaik) in that every new video is shown to a sample group of real users, and its performance evaluated. If it does well in that group, it's shown to a larger group. If it continues to do well, it's shown to a still larger group, etc.
> The central server helps webcash wallets detect double-spending and ensure the integrity of the monetary supply according to the supply schedule.

How would it work if the central server eventually goes down? Would the payments be in a pending state until it goes back up?
The included hyperlink to the product discussed did not work. I suspect it was something like this:

https://www.lowes.com/pd/Hitachi-3-8-in-Plug-Cutter/3056069
(discontinued)

None of these match (have the 4 cutting teeth and the center), they either have two teeth with the center or 4 teeth without.

https://www.woodcraft.com/categories/plug-cutters

Wonder how these other ones hold up to hand drilling.
I have tested it few months ago and really liked it! I was also impressed by the fast pace of itterations and new features added constantly. It powerful and fast. We decided to add it to our catalog of managed softwares on Elest.io

If you want to try Tooljet quickly you can deploy a fully managed instance of Tooljet in 3 minutes on Elest.io here:

https://elest.io/open-source/tooljet

Disclaimer: I'm the founder of Elest.io, @Navaneeth I have contacted you over linkedin to discuss about our revenue sharing program with OSS authors.
It is much more difficult to build a dam than a water-filled hole.
It is a little absurd that I could have to repurchase each game on each console / platform.

I’d be willing to pay a game developer a premium for a universal license that works on all platforms. Steam, Switch, Stadia, etc for example.

I bet they’d make more revenue this way than from the people who just rebuy the game multiple times.
To offer my perspective on it. For the startup I am currently building Caido, we decided to go bootstrap. We started working on the project early 2021 and full time since the beginning of 2022.

We put around 15k in the business as of now and we are still only two working on it. It is realy hard and we have other contracts to pay the bills. I would say I worked around 60h / week for the past 6 months without any vacation.

That being said I still prefer that to VC and the closer we get to commercial launch, the better I feel about that decision as we are somewhat of a niche product and when I look back at me of 6 months ago I was way too green to be put in charge of 1.5M$ and I expect I will say the same in 6 months (feels like years passed).

Now that I got a couple punches in the face and dealt with actually building a business (paperwork, accounting, lawyer, goverment stuff, people issues, etc) in a "safe" environment I feel I would better prepared to build a rocketship.
Nix as a home brew replacement without using homemanger/nix Darwin is not a great sell to me imo.

Using flakes and using it for project dependencies though is amazing and quite easy to use imo.

We decided to use it at my job for a new project and it's been pretty amazing https://link.medium.com/DwIGVmRZ6rb
Because submodules absolutely suck, and if you have the option of merging the two repos, they're 1000x more terrible. This terribleness increases nearly linearly with the number of active project participants. Why? Because they completely violate Git's operating model, which is to track content, not pointers to content. This is the fundamental problem, regardless of project dynamics, Kubernetes, whatever. In fact, that they make "git commit", one of the most fundamental operations you can perform, significantly riskier, because you can easily introduce submodule pointer changes from your dirty working copy. And people do this all the time. One of the most common cases is committing a submodule "update" while accidentally in a dirty working tree, so when you push the commit pointer simply doesn't exist anywhere. They also fail immediately once you try to `git merge` (or less commonly, git cherry-pick), because their merge conflicts, by definition, cannot be resolved automatically. Because they are pointers, not content. But git works on content.

So just to be clear, two of the most fundamental day-to-day operations you can perform are turned into massive liabilities from this feature, ones that are likely to either break your build and/or just make your life harder. As someone who had to maintain stable and development branches of a project, cherry pick between the two, cut releases, etc, submodules are simply hell, because they make an already difficult job worse. This is a good sign that they are a liability. In a past life we actually had so many people push invalid submodule updates over time that we eventually wrote a git hook on our server to reject all commits with submodule updates that didn't exist in the corresponding repository, and that were not specifically tagged in the commit message as updating a submodule (through a magic set of keywords.) The fact we even had to do this is its own pain.

I have maintained projects that have long-standing histories with dozens of submodules. And every single time we eliminated one of those submodules (often by merging into the parent repository, or simply dropping the dependency entirely), we all breathed a sigh of relief, and our lives all got significantly better from that point forward.

As you can tell, this experience has made me very prepared to fight against submodules everywhere I might see or encounter them. But trust me: it's for your sake, not mine; 'cause there ain't a chance in hell anyone is adding any to my repositories.
Modern psychiatry doesn't have a very good definition of normal. A behavior is considered a mental illness when chronic fixation and/or financial distress is involved. That's broad enough to account for plenty of "normal" behaviors.
> One negative side-effect of the same SSID policy is you might not be able to share your WiFi password by simply putting your devices close to each other.

It seems that my experience is vastly different from yours, although I've encountered a bonkers router that separates 2.4Ghz and 5Ghz into different subnets or isolates them in such a way that only other 2.4Ghz/5Ghz devices see them so I'm not dismissing your experience completely.
Nix shell isn't supposed to provide file system isolation. It is a package manager after all, so what it does best is give a consistent dev environment with isolated dependencies. At that point if the program access mutable state and you want to prevent it (to a reasonable degree), you should use Docker or do it through the command line (like making $HOME point to somewhere else).
Check out its manual to discover all of the configuration options you can set.

https://daiderd.com/nix-darwin/manual/index.html#sec-options
Related: You can have a functioning and _secure_ decentralised blockchainless cryptocurrency through local quantum computation _without_ quantum communication:
https://iohk.io/en/research/library/papers/one-shot-signatur...

(excerpt)

> We show that one-shot signatures have numerous applications for hybrid quantum/classical cryptographic tasks, where all communication is required to be classical, but local quantum operations are allowed. Applications include one-time signature tokens, quantum money with classical communication, decentralized blockchain-less cryptocurrency, signature schemes with unclonable secret keys, non-interactive certifiable min-entropy, and more. We thus position one-shot signatures as a powerful new building block for novel quantum cryptographic protocols.
I wish you had a blog detailing your journey! Perhaps I missed it - but would love to learn more about what got you into the project and how you kept going!
Fair. The only reason to split it up is to make it easier to do things like putting the read-only bits on a read-only filesystem, backing up all the config in one go, etc.
Amazed we haven't seen more DALL-E / Midjourney on HN. Probably the most astonishing new tech I've used since booting up a computer in the 90s.

Just generating images is barely doing the tools justice though - you can create entire mini movies with it, like SALT (a 70s sci-fi adventure happening on Twitter): https://twitter.com/SALT_VERSE/status/1536799731774537733

DALL-E's inpainting feature is incredibly powerful to generate very large scenes:
https://twitter.com/fabianstelzer/status/1545752145273802752

Hard to believe that we're only beginning to scratch the surface here...
Yeah... https://support.google.com/googlenest/answer/11257354?hl=en

I understand that it's already insecure but seriously?
(Essentially using a standard strategy for multi-armed bandit.)
One way to do it is to use your shell functions (or aliases) for example for bash:

function rm() {
if [[ "$@" =~ "-rf" && "${RISKY}" != "1" ]]; then
echo "Confirm by running RISKY=1 rm $@"
else
command rm "$@"
fi
}

This goes into ~/.bashrc and I have a lot of commands customized to save time (for example git [1] or docker)

[1]: https://gist.github.com/huksley/ef70da85f8dc0c9ca6f8ec4f37c3...
The system mostly relies on the central server staying online. Technically, though, users make payments by copy/pasting webcash to each other, which can still happen even if the server is offline. When the server is offline they won't be able to check for double spending and they won't be able to tell the server to refresh any secrets.
> Veggie fast food is a great idea, would draw crowds, but it simply does not exist.

You should find a decent selection of ready-to-eat vegetarian fast and frozen foods in any Indian grocery store. Most significant American towns, even out in the sticks, have at least one Indian store these days.
I would recommend a metal solar casio watch like the AL-180MVV-1.

It's small and light and doesn't get in the way when I'm working at my desk; I usually want to remove watches when I type. I generally don't feel like it is jutting out like my larger G-Shock, which I'm usually more aware of at any given time. It's a bit nerdy looking whilst also tidy, meaning you can wear it with nice clothes, and it's solar, so you don't need to worry about batteries. It's also not so expensive that if you destroy it you'll feel bad.