skysight-inc/HackerNews huggingface dataset:
Yes and no. Brave detractors trot out the same false canards again and again, but Brave fans are fundamentally ok with them doing business.

The trouble with Mozilla/Firefox is that their ostensible supporters want the org to live on donations and are hostile to useful value adds like Pocket.
How safe is Zig?
It's a weird phrasing, but I agree on the compiler topic, maybe for other reasons: an important project like Linux should not really on a single compiler. I think it is good to have the ability to use either GCC or LLVM to build the kernel. That ensures that you don't accidentally rely on a compiler bug, no lock-in, ... .

For C and C++ code you want to be able to build with different compilers.

I think that also makes sense for Rust, the language and the compiler should be two separate things and there should be multiple compiler suppliers.

Are there arguments why this would be less relevant for Rust than C?
I think what I saw was also a New Yorker article, but it's probably been well-circulated.
You're thinking in terms of the present, but I'm saying it's the future. At present it doesn't make sense, because nobody has yet made a database which does version control on very big datasets with a lot of throughput. But when somebody does make it, it will be completely obvious that this was something we always needed.

It's all just software. There is essentially no limit to what we can make software do as long as the hardware supports it. And there's no hardware limit I know of that says version-controlled databases can't work. We just need to figure out how they will work, and then make 'em (or try to make 'em and in the process figure it out).

> And it's not like you wouldn't need migrations with a versioned schema, as otherwise a rollback would mean data loss.

When you roll back a code change, you don't lose code, as it's still in history. If you need to revert but keep some code, you branch the code, copy the needed code into some other part of the app, revert the old change, merge everything. If on merge there is a conflict (let's presume losing data is a conflict), it can prompt you to issue a set of commands to resolve the conflict before merge. You could do all of that in a branch, test it, merge into prod, and on merge it could perform the same operations. The database does all the heavy lifting and the user just uses a console the way they use Git today.

It's probably going to be required to lock the version of software and the version of the database together, such that both are changed/reverted at the same time. But because this is version control, we could actually serve multiple versions of the same database at the same time. You could have the database present two different versions of itself with the same data COW-overlayed for each version, and two different versions of an application. You could then blue/green deploy both the application and database, each modifying only its version. If you need to revert, you can diff and merge changes from one version to another.
While I love Rust, I think you're spot on with your concerns (apart from the questionmark operator – it's just delicious pragmatic convenience).

The culture of exploding dependency trees is a recipe for disaster, especially when combined with the prevailing attitude of "use the latest version or bust".
> However it represents something that I don't like, which is trading language surface complexity and readability for programmer convenience.

In this case it's a welcomed convenience. Have you used `thiserror` and `anyhow` crates ? They may alter your judgement on that point.
I am an energetic person. I really find it very hard to fall asleep. But once i do, i really go into deep sleep, 7 to 8 hours of deep sleep.
Also i am in my thirties. And i am still very fit and athletic body shape.
Ppl are always surprised to know know that i am 30+
I only eat healthy food. Because i am very selective when it come to food and i don’t feel hungry much.
My brother used to be in a great shape. But past 30 he become overweight.

Sleep is good but what you eat and how much you eat is the key
Ive found if I sleep less I eat more and I feel like garbage so I eat more junk food. I need my sleep.
They did make it up; their cited case law says nothing of the sort.
You’re missing the point: Copilot depends on being exempt from copyright restrictions, so that the license, any license, is irrelevant. Simplified, copyright law says “the creator/rights-holder owns the thing and you can’t do anything with it unless they let you (grant you license), or one of these general conditions holds”, and Copilot is not using your code under rights-holder permission, but under the general condition of “fair use”.

If the fair use doctrine fails and the license is relevant, there’s still nothing special about GPL, because almost all licenses would be being violated in some way (most commonly starting with attribution requirements). In this situation, Copilot will certainly be discontinued immediately.
> Presumably I am now using an AI model which learns and suggests based on the context of my project.

The "allow code from public repositories" doesn't do what you think it does. All it does is add an extra filtering step to avoid producing code found in it's training set verbatim. The model you are using was still trained on those repositories, it's not limited to your project.
That's begging the question; the only reason phones aren't general-purpose computers is because Google and Apple tend to block out anything that would let the user actually use the computer as more than a toy.
Also makes sense if you think about it; little opportunity for sleeping was likely an indicator of external stressors during our evolution, so up-regulatibg energy intake during those times seems reasonable.
Drew, that is a great post.

I have two comments and a question.

First, my comment is that GitHub claims the right to use any public code on the Internet, not just GitHub. This means that they claim the right to mine code on Sourcehut, or in my case, on my personal Gitea instance. I'm not sure your suggestion 1 covers that. I think it should.

Second, users could fork code from Sourcehut onto GitHub, and then even if GitHub only uses code on GitHub, they could then use that code. This is, of course, a consequence of using DVCS's and can't be worked around. Your first suggestion should also address this, in my opinion, by allowing original authors to opt-out.

Third, my question: you've surely seen the licenses I have been developing against Copilot ([1]) since you've emailed me about them. Do you think the way I've approached the anti-Copilot clause is still free and open? For reference, this is the clause in all of my licenses:

> In this license, the phrase “this software” includes the source code licensed under this license. It also includes the output of any execution of any algorithm that uses all or part of this software as all or part of its input, but only if the output itself is software.

(The rest of the license then says it applies to "this software.")

[1]: https://yzena.com/licenses/
I welcome biking. Sadly, the bike lane added to my home street is never used for biking.
My limited understanding is that rust provides significant advantages in terms of memory safety[1], that should reduce the chance of errors and bugs, whilst c++11 does not provide these same advantages.

[1] Comparison of memory safety of c vs Zig vs Rust (from elsewhere in the comments): https://www.scattered-thoughts.net/writing/how-safe-is-zig/
> If you were to write all those ideas and idioms down and pass them to someone who had not seen the Linux source code, who then used it to reimplement similar functionality, neither of you would probably be guilty of copyright infringement. (there are still patents of course). https://en.m.wikipedia.org/wiki/Clean_room_design

This response doesn't relate to the example provided by CameronNemo, as it's a different scenario.

At any rate, there is no clean room because copilot has "seen" the literal source. It is not comparable to clean room implementation in any fashion.
How to Organize Your Note-Taking System with I.A.R.P
Pretty cool. The biggest thing I think is missing from many popular diagramming tools is the ability to easily diff the architecture across changes. Although that can already be done with graphviz source files.

However, these days I prefer to just have diagrams generated from the source code itself, like:

- https://github.com/cycloidio/inframap

- https://graphviz.org/Gallery/directed/bazel.html

In order to make a compelling use case out of having to maintain a parallel definition like this, I think it needs to be able to contribute to analysis like formal verification or, despite them stating that it's not a goal, being able to create the described architecture. Or even generate something like a terraform plan. Otherwise it falls victim to the same problem as any other method of creating diagrams, that of them falling out of sync with the system.

They are a long way there already by providing a way to use a programming language backed by a large ecosystem of other tools that can be used to work with e.g. terraform, like python/go.
Bitwarden (rust version) self-hosted
You’d probably need to do this with an AC-DC-AC transformer to also get the circuit converted to the 50hz cycle European power systems use, but it’d just be a waste because of the power losses involved (not to mention the expense of the transformers). Also, a typical 15A circuit in a home will handle ~1.8kw of sustained load, so as long as you can dedicate a circuit to such a rig, you’d be fine.
You're right in your criticism of the study. Luckily the Netherlands has already proven that for bike infrastructure, if you build it they will come.
All of this stuff is "basic" and if you aren't doing what emptyfile said, you should absolutely expect your sleep quality to be horrible. The other items on the list are:

• Consistent sleep / wake up schedule

• No meals at least 3 hours before bed

• Same story with sugar as caffeine

• Proper temperature in room

• If you want consistency, sleep in a consistent posture and don't move

• Turn off any electronics 30 mins before bed

• Limit alcohol and other substances like User23 said

Sleep is one of those things that has "obvious" solutions and is one of the easiest things to fix in life assuming no underlying medical problems.

The ONLY other thing "this simple" is exercise and rote memorization.
I'm a bit like this with restaurants. I know it's a super-tough business with high turnover already, but places I like have seemed especially prone to failure. Three in one location in my home town. At least three in Seattle (which residents will be pleased to know I no longer visit). Almost eerie.

When it comes to consumer products, I've just come to accept that my favorite beers or sodas or cheeses or candies will only be available for a short while, but I don't think that's anything to do with the harbinger phenomenon. I'm just a bit more willing than most to step away from my already-favorite brands and try something new, which means trying lots of things that have an inherently higher chance of not gaining traction in the market.
Rust is more fun to program in than C. I was a pure C guy before I learned Rust.
You probably have a few such sockets around. Not the UK or eu form factor but 240v at least. Look at how your dryer or AC plugs into the wall and you'll see something different to the usual plugs.
The Luddites: Lets add large unreachable lines of trash code to our open repos. (And on random days, dress up as road road signs and walk around near roads.)
I've not experienced this. I know it used to be very significant, but on my latest (and biggest) project that I've been working on for ~a year, I haven't run into any nightly-only packages that I couldn't easily do without.
Fair use is quite narrowly defined though. This doesn’t look like fair use to me, especially when its been shown that copilot does, at least sometimes, spit out code that is completely unchanged from the source material, without advising the user of any license requirements (most permissive licenses require at least attribution).

The SCO vs IBM lawsuit was over only a few lines of code, after all.

I cant use a derivative of Mickey Mouse in my product, even if I change his colour and give him a hat, even if these changes were made by an AI. Why would it be different for code? I cab only use Mickey Mouse as fair use if its done for a specific barrow set of proposes (satire, news reporting etc).
And being stuck forever with a language that was invented over 50 years ago doesn't seem like a good idea either. If we want to take full advantage of the last half-century of PL research, we should just abandon Linux at some point and go with a completely new codebase instead? (Actually, that sounds kinda good to me, but I get why that may not be the best decision.)
This being on the front page seems to contradict your argument.
This where one can download it: https://www.7-zip.org/download.html

They provide a statically linked version (7zzs) that works on things like Alpine Linux.
Thats pretty cool!

To say this though, I prefer the file extensions bit, e.g. `.client.ts` and `.server.ts` over directives. Directives aren't super discoverable at a glance, and I think will lend themselves to a lot more headache in terms of engineering practice.

I realize its better for compilers probably, but it hinders DX for large applications IMO.
IANAL, but my understanding is that this is not clear-cut. Clean room implementations aren't strictly required by law, but the legal standard is how similar the new work is to the copyrighted work. If an employee reads open source code and then writes substantially similar code, as copilot sometimes does, that could be found to be infringement by a court.

For this reason, I've worked at places that forbid employees even reading open-source code. If we were having difficulty with an open-soruce component to the point where we needed to look at the code, we'd hire a contractor, explain the problem, and then they'd explain a solution, and all the communications would go through a company lawyer.
> - Both async/await and the question mark operator feel like rushed implementations, neither seem like the best long term solutions for Rust and are not in line with the otherwise solid foundation of the language.

I'd disagree with both of these. They may not be to your style but that doesn't make them rushed. Both features had long debates around their adoption.

> - Open source code examples sometimes use an array of external dependencies that are unrelated to a given project and feel arbitrary. This reminds me of the JS ecosystem.

That is irrelevant to this project. You should read the rust kernel docs to see why.

> - Some projects pride themselves to not use "unsafe" code, including linking with battle tested C code, which seems like an arbitrary restriction that sounds better than it actually is. There is even an open source maintainer that got mobbed out from his own project because he used "unsafe" in places that others didn't agree with.

Also irrelevant. This may be a criticism of Rust but it in no way affects how rust may be adopted into linux.

> - Rust is fashionable. Putting "Rust" next to a HN title immediately gets clicks and upvotes. SO surveys and similar report high interest in the language. This is not an inherently bad thing, quite the opposite. But as a secondary effect it might detract from objective, technical decision making.

Linus is famous for doing fashionable things and forgoing technical decision making.
If you care enough about this, read the contest rules.

You have two options:

1. Contact the person at the bottom of this page and ask:

https://newsroom.chipotle.com/2021-06-22-Chipotle-Launches-R...

2. Alternatively, perform step #12 in this document to see who won:

https://racetorewards.com/?overlay=rules
Lessons from 20 Years of Software Security Failures Relevant to AGI Alignment
I think we should move to mRNA technology for most of our vaccines.
If the virus escapes antibody response (Original Antigenic Sin?), how is the vaccine still preventing severe infection and hospitalisation?

It also says most prior infections were also vaccinated. It would be interesting to see if the unvaccinated with previous infection are also as susceptible. If not, this would be a good candidate for OAS, which was raised quite a bit by the 'conspiracy nuts' early on in the vaccine rollout.
Yeah, I wonder if we can get these threads merged.
It will be tough, but I think Linux will manage to keep limping along even without you.
The 10-armed, 325M-year-old octopus fossil named for President Joe Biden
How do we know it hasn't?

Has anyone tried taking source from leaked copies of old MS code and tried to get copilot to reproduce it?
There's no law that says Yandex must operate in Russia.
Famines cause revolutions, for sure. Famines don't cause wars (except for revolutionary wars).

Otherwise the famines in Ukraine (30s), China (50s and 60s), Africa (80s), etc. might have caused wars, but they did not.

And it's been a while since we've seen famines even cause revolutions. Famously, of course, the French Revolution. Governments are very powerful now and can put down revolts before they gain steam. The Arab Spring revolts had external support. The wars in Libya and Syria were not caused by famine but by external powers getting involved in internal power struggles.

But if you insist, famines cause revolutions -> revolutions often fail -> failed revolutions often lead to wider war. Although the main example of this is... the French Revolution, 233 years ago. None of WWI, WWII, the Franco-Prussian war, the U.S. Civil War, the Crimean war, the Triple Alliance War, the Cold War, the Vietnam war, the Korean war, the Iraq wars, the wars in Afghanistan, the Ukraine war, etc., were caused by famine. Not one! That's going back to the 1850s (Crimean war). That's a list of rather salient wars. Got any counter-examples?
Teens were already starkly dropping in picking up smoking. JUUL ended up having the opposite effect and wiping out decades worth of reductions.
>Poor? Go build a startup. Etc.

Well this is definitely not pg advice. For instance he makes very sure to categorize that it takes a certain mentality to be a founder and being a founder definitely isn't for everyone. On top of that he doesn't even recommend everyone join a startup -- he cites the likes of Microsoft as being a better option for certain people.
I wasn’t familiar with those names, so I looked them up. Neither is a climate scientist. According to Wikipedia, “ Shellenberger's positions have been called "bad science" and "inaccurate" by environmental scientists and academics.” Lomborg’s book was found to be “scientifically dishonest through misrepresentation of scientific facts.”

I'll let you have the last word.
Someone just rediscovered MVC, the Model-View-Controller architecture.
Apparently the producers are saying there will be female orcs too: https://www.ign.com/articles/rings-of-power-female-orcs

It really seems like the show runners are focused on the story here. /s
There's almost no weather you can't bike in, just requires decent clothing and studs like parent mentions. In Calgary Alberta one year I commuted 50 km across the city each way with ebike for an entire year. With decent snow clearing, studded tires there was probably only ten days I didn't want to or couldn't take my bike.
This is not an equivalent rephrasing. Although I make some pragmatic compromises every now and then, I think the GNU mission is important, and historically Linux has been an important part of the GNU system. GCC's copyleft license is a big ideological advantage for me, and, although I like the option of using LLVM, I think being forced to use LLVM is a step backwards.
Running a shared local DNS cache and unclear docs mistaken as a bug
I'm a keen biker and I just don't ride in the winter, especially in places like Minnesota. When you mix the snow, ice and darkness together, it's just too much. Summer is better because of the late light, but I can only go to casual, fun events. If I'm supposed to be dry and presentable, a bike doesn't work in the summer.
"For Basecamp, we take a somewhat different path. We are on record about our feelings about sharding. We prefer to use hardware to scale our databases as long as we can, in order to defer the complexity that is involved in partitioning them as long as possible — with any luck, indefinitely."

— Mark Imbriaco, 37Signals

These quotes are from 2009 and 2010, and yet here most of us are in 2022, having learned the lesson the hard way over the last decade that there is no refuting this simple logic. I'll add my own truism: All else being equal, designing and maintaining simpler systems will always cost less than complex ones.

quote references:

https://signalvnoise.com/posts/2479-nuts-bolts-database-serv...
http://37signals.com/svn/posts/1509-mr-moore-gets-to-punt-on...
I haven't looked at the article but that does seem to follow tautologically from the submitted title ("Sleeping longer can help lose weight if you are sleeping less than 6.5h/day").
I don't think Post will ever get rid of Grape Nuts, it has been this eternal staple of store shelves that my parents would bring out as some sort of breakfast cereal boogieman if I misbehaved. Lord knows who's actually buying the stuff besides you, but someone is.
Yes Deno Deploy is for HTTP (just like CF Workers) but my point is that Deno is more of a generalist runtime compared to Workers and has a much broader appeal than just Deno Deploy.

Here's an example. Deno is like any other backend runtime and has regular DB clients. CF Workers do not. If you want to use Workers with PG, the CF docs point you to Supabase which provides REST over PG using PostgREST.

https://developers.cloudflare.com/workers/tutorials/postgres...
Most small engines are Bing frontends, yes.
Hyperfiddle/Photon, a new web stack with compiler managed client/server datasync
Microsoft bought github and then did its copilot thing without asking. Asking about copilot is to miss the microsoft elephant in the room. This is MS doing its thing all over again.
So buy a $6000 carbon bike! /s

Salt sucks. It's better in my area (suburbs outside DC) since they switched to brining roads in advance of storms instead of dumping salt mix afterwards. And we have a horrible freeze/thaw cycle - below freezing overnight, low-30s daytime, so we get slick "black ice" if nothing is put down.
No progress since the last time you asked?

"Ask HN: Where Are the Easy Jobs?" https://news.ycombinator.com/item?id=28854348 by giantg2 | 8 months ago | 22 points | 39 comments

Also see "Ask HN: What tech job would let me get away with the least real work possible?"

https://news.ycombinator.com/item?id=26721951 by lmueongoqx | on April 7, 2021 | 2022 points | 1115 comments

and possibly "Ask HN: Where can we find the unsexy jobs?"

https://news.ycombinator.com/item?id=31001537 by throw1138 | 72 days ago | 247 points | 220 comments
Hey Alexa,

Read off this script in my neighbor's voice so we can convince this bank clerk on the phone to move their funds to another account.
I get "git for data" by putting iceberg snapshot files _in_ git. That's it. It's literally git for data.
The Case of the Missing $46M
One minute, Josh Jones had a fortune. The next, it was gone. Three months later, the FBI had a suspect: a ­­reclusive Fortnite-playing hacker kid from the GTA. The untold story of a historic crypto heist