skysight-inc/HackerNews huggingface dataset:
> Did it never occur to the framers that a popular corrupt president could completely end-run around the judicial branch by pardoning everybody on their speed dial?

The framers believed without individual virtue it didn't matter what kind of system(s) you put in place as they would be by-passed. James Madison:

> I have observed, that gentlemen suppose, that the general legislature will do every mischief they possibly can, and that they will omit to do every thing good which they are authorised to do. If this were a reasonable supposition, their objections would be good. I consider it reasonable to conclude, that they will as readily do their duty, as deviate from it: Nor do I go on the grounds mentioned by gentlemen on the other side--that we are to place unlimited confidence in them, and expect nothing but the most exalted integrity and sublime virtue. But I go on this great republican principle, that the people will have virtue and intelligence to select men of virtue and wisdom. Is there no virtue among us? If there be not, we are in a wretched situation. No theoretical checks--no form of government can render us secure. To suppose that any form of government will secure liberty or happiness without any virtue in the people, is a chimerical idea. If there be sufficient virtue and intelligence in the community, it will be exercised in the selection of these men. So that we do not depend on their virtue, or put confidence in our rulers, but in the people who are to choose them.

* 20 June 1788; Papers 11:163. https://press-pubs.uchicago.edu/founders/documents/v1ch13s36...

Key line:

> Is there no virtue among us? If there be not, we are in a wretched situation. No theoretical checks--no form of government can render us secure.
The last time ULID was mentioned in a thread it got some flack for its "weird" generator local monotonicity property.

But it's actually pretty useful, when you're building database indices, because it reduces the amount of entropy that your index has, and is therefore a big help for succinct data structures, which occupy space proportional to the information theoretic lower bound up to a log factor.
This can make the difference between a multi mb and multi gb index.

Obscure feature, big gain.
By this logic, languages are never "stable" until after they die
Castlevania III Password Algorithm
As someone working on real time streaming, I find this both interesting and impressive, but I also cannot shake the feeling that WebRTC will be too slow for most games.

At least in my experience, WebRTC even when using UDP was a lot slower than custom protocols, mostly because it responds badly to packet loss.

If I use plain UDP in c++, I can layer on forward error correction like Solomon Reed and just ignore lost packets up to a percentage. That, alongside with low level control of the transmission timings seems to be the difference between 60ms peak latency with WebRTC and 5-8ms in C++. Or noticeable input lag @60fps vs. exactly one frame.
Bad government or single party rule? I’m astonished the media does not write more about California’s near-absolute, Democrat party control over its government. I don’t care which state you live in, or party you support, single party rule is never a good thing.
I use modules to import serverless deployments as "data" blocks.
Chromium supports hardware acceleration on Linux. Some GPU drivers are buggy and have been blocklisted to prevent frequent crashes and rendering errors. The most common is Nouveau. https://bugs.chromium.org/p/chromium/issues/detail?id=876523...
Customer Docs – Building SaaS #85 · Matt Layman
That doesn't solve the problem at all.

Licensing under GPLv2+ only allows one's code to be used in all GPL projects, not other copyleft licences, but that's not the full problem: it does not allow one to use code of anything other than GPLv2+. At this point one can't use GPLv2 or GPLv3 code any more, only GPLv2+ code.

Furthermore, licencing under GPLv+ puts blind faith into the F.S.F.; it irrevocably licenses one's code under a licence that doesn't exist yet.

When GPLv4 is eventually released, the software is now released under it, and GPLv4 might contain provisions one doesn't agree with, but one can't revoke it now.

IT's absolutely not a solution.
Do you think reducing the size of the government, meaning the offices, bureaucrats, and some of the regulations, might help?
Any recommendation for personal photo gallery backed by S3 compatible API?
Where efficiency doesn't matter because they don't need to be processed quickly and cpu cycles and memory are free.
I have one and I’m in London. My understanding is these new rules actually free things up significantly for drones in that weight class. Previously, you couldn’t fly over ‘congested’ areas, near people, buildings, etc. So it was very difficult to fly fully legal around London. The new rules remove those restrictions.

All they require in exchange is registration for £9/year. The sub 250g drones don’t require you to do the online certification or get a flyer ID.

London still has a bunch of special security zones you can’t fly in, so you won’t be getting any nice shots of Canary Wharf, but it does open things up a lot. I’m concerned that the police won’t be up to date with the new regulations though, and apparently they can just seize your equipment and make it very painful to get back.
Regarding nightly:

https://blog.rust-lang.org/2020/12/16/rust-survey-2020.html

> the number of users who are relying on a nightly compiler at least part of the time continues to drop - down to 28% compared with last year’s 30.5% with only 8.7% of respondents saying they use nightly exclusively. When asked why people are using nightly the largest reason was to use the Rocket web framework which has announced it will work on the stable version of Rust in its next release. The next largest reason for nightly was const generics, but with a minimal version of const generics reaching stable, we should see less of a reliance on nightly for this feature.

TL;DR: unless you're doing certain specific things, stable Rust should work well for you.

Regarding rustup vs apt, you can absolutely install via apt if you want to. Depending on what version you get, you may or may not be far enough behind the rest of the world for it to be a pain. Which version you'll get depends on the specifics of the distro.
The UK has already left the EU and absolutely none of the doomsday scenarios warned by the remainders has come true
That's my fear for UBI.
IANAL, but in the US at least there isn't any obligation to stop or report any crime you witnessed[1]. As for the other people in the company that used his credentials to access the competitors site, it's possible to prosecute them, but you'll have to prove intent. That might be tricky to prove because the defense can argue that they didn't intend to hack the site, because they thought Zaidi was properly authorized to use the site.

[1] There are some exceptions, eg. if you're a teacher and you learn about child abuse
I found that here:

https://mathstodon.xyz/web/statuses/105473745576874402

I've been unable so far to find the original source ... working on it.

OK, now found this:

https://www.thisiscolossal.com/2020/11/andrew-mccarthy-iss/
Friendly ML on the Web
the unwrap_or_else makes a lot more sense, because I could just use the ? operator, but if I don't want to panic, then I'll use unwrap_or_else. I am not by any means an advanced Rust programmer and in fact learning from your book, so I didn't mean to offend anyone. My initial impression of the match syntax for return values was that I didn't like it. Sorry.
Exactly this. Yes, accessibility is very important, but as of right now, it takes non-zero effort to implement correctly. So you must balance that with other priorities depending on the goals of the project.
When COVID forced us to work from home, I initially resisted installing Slack on my computer. I don't like Electron, and I'd set up my machine such that installing Electron apps was technically difficult anyway.

IMO, the UX was horrible. I tried to keep Slack as a pinned Firefox tab, but it was far too easy to accidentally move over to a different website, at which point I stopped getting notifications. I also felt like I had to constantly keep my web browser open—I can't say why that's substantially different than having to keep a Slack application open, but for some reason, the separate dock icon helps me to mentally compartmentalize.

When I finally switched to a standalone Slack app, it felt much nicer.
rustup is still the recommended way to install.

Rust has a 6 week release cadence, and while the language has settled down significantly over the last 1-2 years, there are still a lot of new features arriving that library maintainers are eager to use. Combined with performance improvements, you will almost always want to use a recent compiler.

Relatively slow moving package repositories are not a great fit for that reason. Rustup also handles installing support for various architectures - which are often not packaged well - and fast-moving tools like rust-analyzer.

The nightly situation has gotten much, much better though. Almost non of the popular crates still require nightly, and staying on stable is just fine for most projects.
Users with accessibility needs deserve to be able to use software as much as any of the rest of us do, and we should pride ourselves in making time to address their needs. Try reading your comment from the perspective of someone who is unable to use this software because of the choices you've made. Someday, perhaps sooner than you think, you might find yourself in their shoes.

In this case, mwcampbell refers to a specific problem which is entirely avoidable and endemic of a flagrant disregard for the needs of accessibility - it would have been EASIER to make it accessible in Matt's example.
Why are Stradivarius violins held in such high regard?

The presence of natural resources is not the same as having the craftmanship able to best utilize them.

And when scarcity of resources are not a problem, craftsmanship becomes even more important to people.
one-time pads
I think the entire paper was intended as satire, even though the math applied is serious.

Another joke: “Among the authors who have not pointed this out are…”
Firsts in 2020 (or, A little dose of good news for C++) – Herb Sutter
Happy New Year, HN!
Here's to a better 2021...
Ah debugging is very simple, just call `writeStacktrace()` (I assume you can guess what it does) It's great!
The California HSR project is dead, in case you didn't know. It ran over budget nearly 3 times the initial projected cost estimates, and ultimately is going between Merced and Bakersfield instead of the original SF to LA (less than 200 miles of track) - two cities practically no person commutes between.

Overall, the project was a massive failure, and a political party that's in the minority isn't the reason.
I haven't needed nightly much this year, except for an unstable platform (avr) not supported in stable. It has gotten much better and I feel there are very few reasons you might use nightly. Since often the packaged versions of the toolchain in distros are out of date and many crates take advantage of the newest features, I'd heavily recommend it.
(It's six weeks not three months)
I used to agree, but then I tried all the alternatives. And as others have mentioned, it's as good as one configures it to fit the team needs.
I thought it was going to be an article about a tool, not a tool itself. I figured it out, but would've appreciated a "This only works with JS" note.
Your post reminds me of when I studied abroad and some European exchange students asked me if I rode a horse to school and if the Indians were still around when they found out I was from Texas.
Growth Cycle Theory & The Future of Everything
My parents still remember when this happened! For me it was losing Magnolia Cafe at the Lake
Which Asian countries had the most effective policies. What made them effective? Genuinely curious.
> 'm still figuring my way around rust so obviously some noob questions follow: -> what's with the move/copy mess ? I know why they are needed but it seem to be in the face with all the explicit '&' all over the place in any reasonably sized code. Why not hide it a bit by letting the implicit copy to happen to simpler structures ? (at compile time).

So there's a lot to unpack here, but implicit copies do happen - if it's a copy-able data structure. Strings are huge, so no implicit copy. As far as `&` being too much to identify references vs not, i'm not sure how it could be made any shorter to identify a reference. You're already, commonly, hiding the lifetime associated with that, so it's really `&'a str`, but Rust lets you drop the `'a` most of the time.

Considerable effort has been put into easing the language and lowering syntax. What's left is essentials imo. I _want_ to see when something is a reference. I _want_ to know generic types. etcetc.

> -> Why no love for inheritance? :) - it makes certain patterns easier to implement

I can't speak much here. I've been using Go and Rust for so long i've forgotten what classical inheritance is actually useful for haha. The Go/Rust pattern of Structs, shared behavior, etc cover all use cases for me. i don't find myself missing something, fwiw, but i can't speak to which is "best".

> -> Why no love for global/static variables ? I know they are prone to be misused but some patterns like singleton really need a lot of shortcuts to implement. And there will always be some cases where you want to keep variables with static and global scope

You can have global variables fwiw. Granted, i use `lazy_static` which simplifies it a bit, but there's nothing i'm aware of which prevents this pattern. I've typically just used it in tests though. Globals are the devils candy ;)
The accessibility mode in the firefox debugger is a good start.
FBI documents shared with local investigators become public records in MA
Thank you. -- Henry Posner / B&H Photo-Video
When they zig, you zag.

With everyone focusing on how bad California is, I think it may be a great time to move there.
AI Driven Tax Policies
Ah man a history lesson involving AOE netcode. This is the best - will take a look, thanks again!

Also well played on starjack, very impressive
https://support.microsoft.com/en-us/office/overview-of-sprea...
Because they sell hardware and commodize its complement. Having a good Dev experience is part of that, be that a good story for mac-only software (swift/xcode -- ymmv if this is better than other technologies, but that's the intent) or having your posix software mostly just work.
Chatbot Conversational Surveys
>For them, Austin is having your cake and eating it too. You get loudly decry everything the state government does while silently enjoying the tax and business environment.

Give them a decade and they'll forget they actually enjoy the environment and light the cake on fire by putting their money where their mouth is, act like nobody could have foreseen the resulting tragedy and move on to do it again somewhere else.
Something similar but also totally different is https://makepad.nl/ - a graphics programming IDE in Rust, for Rust, targeting the browser.

It's a totally different use case but there's some similarities, somehow, anyway.

Unlike this app, its actually all WASM and the author frequently tweets about how he feels more productive building a web UI in Rust than he would HTML+CSS+JS. And you can say what you want, the thing is damn snappy.
Ironic the URL.
You should fix this attitude, becuase it's making your applications worse. The browser is the best at doing the things it does, and any control that you implement yourself is going to be worse. If the browser can do something for you, you ought to let it do that for you. If you insist on writing your own controls, its behavior will differ from how the browser's own UI works in subtle ways, repeated indefinitely for each combination of OS and browser and user input paradigm. People who rely on muscle memory to use these features, people who perhaps cannot percieve whatever UI hints you come up with to teach your custom control, or people whose needs you have forgotten about, will all struggle to use your UI. And for what? It looks prettier? No thanks.
> Yet cities don't build houses

It seems like no small coincidence that all the restrictive construction/environmental policies date to the 1960s and 1970s. This is in the state that once passed a State Constitution amendment to undo a fair housing act:

https://en.wikipedia.org/wiki/1964_California_Proposition_14

http://www.radicalcartography.net/index.html?bayarea
But muh ableist design preferences....
For most it seems "missing easy user interface" meaning there is an interface. And what they're wanting to do is part of a complex system therefore it's easy to understand why an easy interface isn't there, it's not a simple thing in the first place.
Agile teams wish their leaders knew these 5 truths
Raw materials. Not every system will have convenient lumps of rock and metals spinning in orbit around the star. Among those that do, the presence of an asteroid belt may make those systems relatively rich since there is more material on the surface, easily accessible.
Yeah, that's a good example. My Golf R only had 2 option packages to choose from. Can't get a sunroof. Can't get a spare tire, even though it fits. (order the parts at retail from Europe at a HUGE retail markup, install them yourself). Something like 5 color choices. No wheel options. Can't get the great cloth seats available in Europe.
Well we could bury it. Is that so different from taking it out of the air and putting it directly in an old oil well?

Not sure what the recycling story is with carbon fiber. I suppose we could make extremely durable goods but that may not be desirable until we pull enough carbon out of the air.

These were just quick examples though. There’s bound to be a lot of uses for carbon, it’s abundant for a reason.

The point is we can leverage our consumer nature to incentivize markets that help solve climate change. We can literally consume our way out of this mess.
For approximations based on multiplying numerical estimates, the overall standard deviation (or error) of the final result is proportional to the square root of the number of estimates. So yes more adjustments will increase the error, but probably not as badly as one might think.
I googled around for the Navy psychological screen and found http://annex.ipacweb.org/library/conf/03/bing.pdf

.25 correlation between test outcome and and attrition. I wonder if they're doing better nowadays.
Amazing article, completely puts into words what I have thought about for a long time too.

That said, shamelessness has been a strategy for far longer than he gives it credit for. Julius Caesar did some astonishing things after cowing the senate during his first Consulate, like granting himself a bunch of provinces and armies, getting a huge amount of legislation passed.. and of course, he gave himself three Triumphs after the Civil War, the 3rd one being for victory against other Romans!

People who seem uncaring about others' social concerns, combined with great luck and skill, have always been able to ascend to meaningful leadership/cultish positions.
A13 Trunk Road to the Sea by
Billy Bragg is another one.
The Intel vtune profiler [0] bolts on linux's perf subsystem and offers a very nice way of assessing if the cpu is stalled on memory (or cache) or os spending its time computing. I guess is a nice GUI on (nowadays) standard Linux tracing interfaces, but I really did not dig enough.

If you are after deep profiling, you should definitely give it a try. My recollection is totally positive.

[0] https://software.intel.com/content/www/us/en/develop/tools/o...
It would've taken about the same amount of time to find and link a non-paywalled article, and been much more useful.
https://www.usatoday.com/story/news/nation/2020/12/31/wiscon...
Interesting! If you can still reproduce this would you mind filing a bug at http://crbug.com/new, and pasting the contents of your about:gpu page as a comment?
Most likely the machine learning features are what cause that.
I am interested in this idea of "refactoring" software into Lisp. Do you have any resources on this?
Shapes of the same color are added to a single shape, shapes of different colors are extracted from each other. Lines (of any colors) can (but don't have to) split shapes. A simple rectangular selection with mouse can add a bezier point to a shape, simple aligning of the bezier point with its curve will erase it. If you know how to use the editor is is super efficient.
Isn’t the MSRP for those vaccine doses something north of $10k each? In addition to being a really dumb thing to do, it also sounds like a potentially ruinous amount of financial damage if the hospital tries to recover the funds.

I couldn’t read due to the paywall but really wonder what would be going through someone’s head to do that... it’s one thing to not want a vaccine (personally I’d rather wait a bit), but another to actively sabotage one of the biggest medical initiatives in our lifetime.
>someone has to pay to keep machines running and urbit's game theory is the only tractable one.

Do they? Why?

What physical law requires this?
Ah, right, thanks. I knew something about those 3 months bugged me.
I think it's reasonable to recognize genetic replication as being a defining feature of life on earth as we know it today, without ruling out discovery or invention of other possibilities in the future.

If you brought me a blob of something and ask me whether it contained "life," I'd analyze it for DNA or RNA. In the absence of those things I'd look for a preponderance of chirally selected molecules.