skysight-inc/HackerNews huggingface dataset:
I think you saving for the future rather than immediately consuming 100% or more of the value you produce is laudable and starting your descendants, if any, with the fruits of your under-consumption is therefore fine.

You could spend it all in your lifetime; you’re just choosing not to.
Yes, rather than "some", I would say that the first dose provides the majority of protection, and the second is a booster, upping the effectiveness from the 70s to the 90s. If you are short vaccine, it makes a lot of sense to give out only a single dose to more people than both doses to a smaller group of people and then circle back when more is produced. The only question is whether it makes sense to circle back if the time elapsed is long, and this study is evidence that it does.
Thanks for checking the library and for the heads up! I'll be correcting that asap :)
Markdown and sometimes org-mode.
For illustrations, draw.io [1] and Excalidraw [2].

[1]: https://app.diagrams.net/

[2]: https://excalidraw.com/
One man's garbage is another man's treasure. I absolutely relish these niches, have a bit of a Sovietphilia
Google’s crawler, or rather the component that processes pages, is much more advanced now. I’ve read it has no problem handling complex SPAs where only a “shell” page is initially returned and no information is available until JS runs. They probably have a modified chromium and maybe employ OCR to digest some content since there are now a gazillion ways to display a page and its content, aside from canvas.
I suspect that "The world will know less about what is happening in Gaza because of what happened today." was the entire point of the attack...
As I've been saying for years, if my information were stored in these filing cabinets then it'd be a damn side more secure than if it were stored electronically. And if any leakage were to occur then it'd result in a smaller because physical access has very practical limits.
Web developers, no prior mobile experience, we launched a RN app just fine with minimal outside assistance. It did take some problem solving / trial and error at times dealing with, e.g. cocoapods issues though, yes.
Gluten is not a carcinogen
you can always report the tweet and get it removed. It shouldn't take long if it says what you think it says
A life sentence for participating in a cold-blooded murder spree is something I imagine most members of society would see as just.
Every posting on this has been flagged. JIDF lives on
Jitx (YC S18) is hiring to automate circuit board design
Is there any evidence supporting this hypothesis?
I agree. The syntax is the main reason I don't use it.
Refining types so they encode all desired constraints before use. This is explained in the linked article: Parse, don’t validate [0].

It helps reduce the risk of using invalid inputs by representing constraints over the value as part of the type.

For example: a common problem in web development security is that query parameters aren't properly validated which can lead to denial of service attacks. As a trivial example of this, consider a web server which paginates some data using "offset" and "limit" by passing those parameters directly to a database query; an attacker could set "limit" to some incredibly high value and cause the server to crash. If you're just doing validation on your inputs it's possible that some usage could end up being overlooked.

[0] https://lexi-lambda.github.io/blog/2019/11/05/parse-don-t-va...
> I don't find that I write Rust much differently from C++

Same here, though I do find myself deviating sometimes. Specifically there are cases in C++ where I could write code that makes less copies or handles data more efficiently but I don't because the approach would be more error prone. In rust these more risky approaches simply result in having more compiler errors instead of crashes or other runtime bugs.
> How does this make sense?

It doesn't need to make sense, Ferguson is just trying to defend other members of his team.
What's the main use case of Nim, would you say? Is it good for personal project/automation, for desktop or web apps? Etc.
Iterating over an object keys, an array or a map?
Cox is the only option in my location. Supposedly I can log into any of their hotspots. I have never been able to get this to work. Ever.
This is using Gemini as the primary protocol, in case anyone missed it: https://midnight.pub/manual
How to Hack Your Way into a Vaccine
Any thoughts oh lucidchart : https://www.lucidchart.com/
Did you seriously just use Urban Dictionary to bolster a political argument?
I got an extra but, you have to pick up in Seattle.
Weight-Loss Advice That Is Based on Research
One of these — global shared mutable state - is almost always horrible bad practice and leads to unwieldy code that is hard to test or compose with other code. It’s also a major culprit in bugs that arise when shared objects are used in multithreaded programs. I practice the rule that shared variables are always const and use e.g. const_cast if they need to be lazily initialized. I also make sure to make any lazy initialization thread safe.

There are very few cases when a global mutable is good. Usually these arise in things like embedded or kernel code that by definition is only run as a single instance or if you need something like a global random number generator or global singleton access to something by definition unique.

Even in the latter cases it makes me itch a little.
You are leaking much more information IRL than you realize.
LocalGovern: Interest Form for better access to local gov'ts
Neat. I wrote a tool that shows interactive examples of how you can actually do the calculations for multiplications with Fourier transforms:

https://blog.robertelder.org/fast-multiplication-using-fouri...

The trick is really just about realizing that you can re-write a number like 1234 as a polynomial like 1 * 10^3 + 2 * 10^2 + 3 * 10^1 + 4 * 10^0.
Cox started giving the modem away. I pay $65/month and it came with a router that I don’t have to send back. It works fine. It’s not a “panorama gateway” tho.

I’m not sharing your reservations on security or sharing your personal bandwidth. But I do share your concern over cox handling security. Ha.

Are you aware of project like Althea or Helium. Or libreMesh if you want to weed out the blockchain aspect.

Anyway, I was surprised how those stack seems ready to “disrupt the last mile delivery of bandwidth/broadband.” (Sorry for the use of “disrupt” )
I want to write small review regarding replies on this link. I am working as an mobile engineer for more than 8 years now. I have worked on native iOS, Android, Xamarin, Unity, Titanium, Flutter and React Native. Long story short I have never been happier since I switched to React Native and Expo made everything so much better. I am not comparing it to native but I can compare it to Flutter.

First of all Flutter has major performance problems on iOS.
Using native views (MapBox, ArcGIS) inside Flutter app has subpar performance.
Flutter has weird styling compared to anything I have ever worked with.
Styling in Flutter is very unintuitive (ex: Global theme for button width).
You can’t OTA update Flutter code.
Weird scroll behaviour.
I can go on and on but personally I would never use Flutter ever

Most comments under the link:

React Native bad because Flutter good.

React Native bad because native good.

React Native bad because Y is good.
I’d view “buying competitors” as a sign of “competing”.

Otherwise, in the Middle Ages, “European kingdoms don’t fight wars, they just conquer one another”
Nationalism is rife in this discussion. I don’t particularly welcome that on HN, but I _do_ welcome it in the general discourse of this new space race.

It’s my opinion that the first space race served as a proxy for an even more expensive arms race, and a way to channel unavoidable nationalism/idealism into good for all humankind.

The United States and China cannot avoid competition, as Thucydides would assert. A space race is a blessing in this context - I hope it heats up.
I feel for you :(
I've waited decades for this. Game on!
https://thebulletin.org/2021/05/the-origin-of-covid-did-peop...

The most likely origin of this virus at this point, was an accidental lab leak due to a quirk in regulations where BSL 2 was the category approved for normal coronaviruses, and BSL 3 was reserved for the natural strains that already infected humans like SARS 1 and MERS.

Unfortunately nobody in the lab bothered to question whether they should be using BSL 3 gear when they were breeding bat born Corona viruses with humanized mice.

That's the most likely explanation:
This doesn't happen too frequently because normally somebody has the brains to ask themselves if the virus they are creating requires a greater level of protective gear than what the rules call for.

For anyone that questions this comment and thinks that I'm some lunatic pushing conspiracy theories feel free to look at the NIH grant that funded this research and noticed the specific phrase of humanized mice.

https://reporter.nih.gov/search/xQW6UJmWfUuOV01ntGvLwQ/proje...

Bear in mind that in the early 2000s it only took 4 months to find the intermediate host between bats and humans. For mers it took 9 months to identify camels as the intermediate host.

Despite having orders of magnitude more funding nobody has found an intermediate animal host for covid-19. Common sense tells you there was an intermediate host and it was the humanized mice in the laboratory.
I’m surprised that list doesn’t include a movie UFO.
https://m.imdb.com/title/tt6290798/

Even though the plot is rather simplistic, it has a few interesting physical concepts embedded in a clever way.
That's not a solution if you end up with Javascript in the end.
(Also Dash is absolutely terrible, horrible documentation, horrible code.)
Agile Scrum is not working (2020)
That's outstanding. They avoided the loss! If there was ever a better example of cutting the nose in order to spite the face, I never saw it.

If we've automated ourselves out of the capability to operate for a few days with paper and pen, when the alternative is a nationwide crisis where untold million humans were impacted by resource shortfalls...

How many pennies did we save by shutting down the pipeline, and did we successfully externalize the costs of the worst of the effects of the hack... if so then job well done! LOL

Never change, Colonial Pipeline! Never change a thing.
The blog post [0] of the researcher - which this article is based on

[0] https://positive.security/blog/send-my
Hypocrites at Apple Who Fired 'Chaos Monkeys' Author
draw.io/diagrams.net has a mermaid plugin

https://github.com/nopeslide/drawio_mermaid_plugin
I’m simply pointing out that justified concerns over the safety of those who opposed to whoever held power in Russia did not end with the 1930s, as was suggested by your original post. They are, of course, with us now.

A concern over Solzhenitsyn's movements being constrained is even harder to paint as alarmist than concerns over his physical safety.
Ask HN: What to use for adding scripting/plugin support to apps/games?
Obviously there are wide range of selections for different purposes, what do you use?
> team of 2-4

It seems you'd have loads of other hurdles to get over before intl-data becomes the thing that would block your growth.

My 4 person team solves with country specific domains and hosting.

Before that we had to figure out how to be profitable and "default alive" which was orders of magnitude harder than data silos.
Python and Go are also the main languages I've been using for the last decade. Noticing all the hype around Rust recently is prompting me to learn a new language. The last time I learnt a language from scratch was Go around 2010.

Go was fascinating to learn, precisely because it looked like C, but it wasn't. Another aspect that makes me love Go is its minimalism and concurrency features.

I also used to enjoy C++ and Java quite a lot for larger projects, so tell me, can I expect Rust to somehow remind me a bit of Go in comparison to C++ and Java? In other words, a simpler, more concise and more enjoyable to use version of C++ for instance?
Hi all - I support all Retail engineering at Coinbase and was one of the folks who helped shepherd this change through from inception to rollout.

I'm happy to answer any questions that folks have - just thread here, and I'll either answer or pull in our team to give more detail.
I don't have a list of what we could and should do. If I had to guess I think my top priority would be energy generation. It is clear that anything we might do will require lots more energy than we generate today.

True global leadership would find ways to communicate understanding of what we are facing and seek to unite humanity behind the common goal of survival. Imagine if people got the same sense of survival that this pandemic created around the globe.

Coming generations are clearly in for some challenges. We are not going to fix anything in the next 50 to 100 years. This is tough. Humanity does not do well with the idea of making decisions or sacrificing for the benefit of those who might come two or three generations after us. Imagine the world making changes that will be absolutely meaningless to us and likely several generations after us.

It's hard to imagine humanity uniting behind such objectives. This is where my analysis results in a shrug. I truly don't have an idea of how we go from the current insanity between deniers and those who are pushing the idea that we can fix this a thousand times faster than if we left the planet, and the concept of "We can't fix it. Let's unite to ensure future generations can survive it". No clue.
and the HN discussion, making this a dupe: https://news.ycombinator.com/item?id=27130355
Anyone who plans to spend more than an hour using matplotlib should study this page: https://matplotlib.org/stable/tutorials/introductory/lifecyc...

I wanted to draw something I thought would be simple using matplotlib or seaborn. The components were themselves pretty standard:

1. A combo chart (two y variables: one as a line, one as vertical bars).

2. A facet grid (multiple charts with the same axis definition, with each chart representing a slice of the data).

#1 is easy in Excel

#2 is easy in Matplotlib

So I thought the combination of the two would be easy in Matplotlib. At first, it wasn't easy.

It turns out that, if you try and learn matplotlib by googling examples as and when you need them, you may not build a good mental model of how matplotlib charts work. So you hit a wall when you try to do something for which there's no good example online.

But if you read the documentation (particularly the page linked above), things get much easier and the frustration melts away.
I know a few freelancers that specialized in Flutter the last year.

But I wasn't convinced either.
This comparison makes no sense. Mexicans in juarez are not blocked to go ANYWHERE, BY the us.

Someone born in gaza the past 30 years or more is literally blocked BY ISRAEL to go anywhere else in the world.

With no hope, literally anyone would start rebelling and building rockets.
https://web.archive.org/web/20210515151920/https://turriate....
Yep, it can be done with Pin and unsafe only, AFAIK. In theory, Rust can be extended to have relative references, but it's much simpler to use arrays and indexes and ranges instead.

With Pin:

use std::pin::Pin;
use std::marker::PhantomPinned;

#[derive(Debug)]
struct Input<'a>{
words: Vec<&'a str>,
phrase: Box<str>,
_marker: PhantomPinned,
}

fn test<'a>(s: String) -> Pin<Box<Input <'a>>> {
let bs = s.into_boxed_str();

let mut input = Box::pin( Input {
phrase: bs,
words: Vec::new(),
_marker: PhantomPinned,
});

unsafe {
let phrase: *const Box<str> = &input.as_ref().phrase;
let words = phrase.as_ref().unwrap().split_whitespace().collect();
input.as_mut().get_unchecked_mut().words = words;
}

input
}

fn main() {
let s="foo bar baz".to_string();
dbg!(test(s));

}
Quite right, thanks for pointing it out.
It depends on what is being returned and how the result is used. In my inexpert experience cat $(find -name <some file with spaces in the name>) will fail.
I don’t know if meets the condition of “users really love,” but don’t Google Docs have the capability of functioning as an offline PWA?
For a mentally capable adult, perhaps. We have plenty of research to show that the brains of juveniles are wired differently. That doesn't mean no punishment, but it means that a life sentence is excessive and rehabilitation should be tried.
Possibly, but it's not the sort of competition which leads to more choice and better outcomes for consumers.
Rocket Lab’s 20th Electron launch ends in failure with the loss of its payload
I would be impressed if they take the initiative and do it.
It turns out that even if you accept "Python is great and JavaScript sucks" that "Python compiled to JavaScript" ends up even worse than JavaScript.
And I'm sure I'll be downvoted to oblivion for even bring it up. But the evidence, as you've explained, has increasingly been mounting. I was all in on calling people Sinophobic for even suggesting this in the first few months. But there's simply no other plausible explanation at this point. And Beijing has been completely unresponsive in even denying it.
We did consider Flutter, but (1) we already had a very strong javascript talent base that we wanted to leverage; (2) at the time when we made the decision, Flutter was still relatively early in its lifecycle.

That said, we've spent a lot of time talking with teams using Flutter and we think it's awesome!
I had a Vostok movement watch. It lost 10 minutes every day.

Hard to recommend such a watch honestly.
> I think there is something in people's mind that lets them justify this as follows:

> "If you question the popular wisdom here, when you have a group saying A, and you say B, you must be a troll out to provoke people."

The HN moderation team holds to this "principle" and has thereby essentially developed a community around it. That is, this isn't a bug, it's a feature.
Miniatur Wunderland
> Gaza not allowed to have any military to defend themselves?

They are absolutely allowed to have a military I think. Edit: At least for all intents and purposes they do have one when they can coordinate large rocket attacks and do have numerous anti tank teams.

They are however not using it to defend thenselves but to poke "pointed sticks" into their neighbor in the hope that te neighbor will do something that the media will make a story of.

And, since it is military the neighbor is also allowed to bomb it when they are fed up with having shot rockets at their civilians.

Edit2:

> Isreal free to inflict as much collateral damage as they want upon anyone, but anyone else following the same rules is a terrorist?

If Israeli military was hiding among civilians and Hamas precision strikes hurt civilians despite Hamas calling them up an hour in advance I wouldn't blame Hamas either.

That is some of the difference.
Ask HN: How do you figure out TSLA, dogecoin Bitcoin would go up in value
How does one develop a knack to identify winners? Please share your personal stories/references.
"Harvest of Shame", Edward R. Murrow, 1960. Originally aired the day after Thanksgiving in the US. https://www.youtube.com/watch?v=yJTVF_dya7E
This is an excellent summary of our approach - thanks for writing it up :)
He basically lets the Trump administration off the hook but blames public health bureaucracy of California - typical of what I've come to expect from Niall Ferguson, a partisan hack at this point.
There is a whole small internet build on Gemini.

I host a site for free with a random French at “unbon.cafe”, I sent him a ssh key and now I can push file in folder; that it. I have a Gemini site up and running.

The whole thing is manual , Simple and quaint.
That's what I think as well.
What I really want to see is proof though and then the answer to the burning question: so if due to negligence these guys caused immeasurable losses...who's paying for that? I can't believe that the answer to that will be nobody. This was not an act of God (I think that's the legal term for non-manmade catastrophes where it doesn't make sense to ask for reparations).

And I don't only refer to the initial mistake but also the subsequent ones by both China state and the Western states neglecting WHO etc.
I would do it again.

Mobile is generally shit, but RN made it bareable.

But, yes, much bigger overhead with all the native stuff. I'd recommend everyone to use web tech whenever possible.
Thanks for bringing this up! I was always curious and decided to research it. The graphic at the top of this Phys article describes the origins of all elements on the periodic table. It claims that only a small number of elements were remnants of neutron stars, however. https://phys.org/news/2020-09-elements-neutron-stars-contrib...

>Half of all the elements that are heavier than iron—such as thorium and uranium—were thought to be made when neutron stars, the superdense remains of burnt-out suns, crashed into one another. Long theorized, neutron star collisions were not confirmed until 2017. Now, however, fresh analysis by Karakas and fellow astronomers Chiaki Kobayashi and Maria Lugaro reveals that the role of neutron stars may have been considerably overestimated—and that another stellar process altogether is responsible for making most of the heavy elements.
Dunno about "really love" anymore, but gmail?
> I’ll never use a proprietary tool that doesn’t have declarative syntax

Can you provide an example of what you're referring to?
I've been looking for a solid Typescript implementation of "parse don't validate" that performs runtime parsing using semantics attached to the defined Typescript types themselves. In other words, much like attrs for Python, I want to be able to define a low/no-boilerplate type, and then register parsers for those types that will work recursively to parse my data, resulting in the specified Typescript type.

Has anyone seen or written something like this?
Do not confuse the political environment with the media interpretation of public policies.

Read something other than The Guardian or BBC.

Thanks.
I write PHP for a living and every time I look at the JS world, I feel like they're exactly where PHP was 15 years ago, except with 20 times the amount of incomprehensible tooling.
Pretty good chance that she didn't vanish but was killed, vanishing is a trick that is becoming exceedingly hard.
10 years ago JavaScript was an ugly language, with its clunky prototypal inheritance and so on. Modern JavaScript is a beautiful language, however, especially when enhanced with static typing as in TypeScript. So much so, that Stanford has replaced Java with JavaScript for its introductory programming course [1].

[1] https://web.stanford.edu/class/cs106j/handouts/01-GeneralInf...
WWII was 80 years ago. So yes, when when we compare current mortality due to violenve with past, we don't count WWII as "current".
I think they mean trivial compared to processing raw ore. The general assumption is that you are seeing the normal delay effects or inertia of the economy. Capital is already invested in mining and ore processing. Recycling needs to appear economically worthwhile for a long enough period for investors to grow interested and take the plunge in this new direction.
The "free internet with no mobile data plan" seems a stretch, unless you consider the speed ok.

> Bräunlein reported that he could send at about 20 bits/second and receive at about 25 bits/second, but that his hidden data “messages” took anywhere from a minute to an hour to arrive.
It would be really nice if they let "Robert F. Smallwood, whose consulting firm delivered an 89-page report in January 2018 after a six-month audit" do the audit again.

It doesn't really matter how much money the company throws at a problem if they don't fix it.
We are doing this already and plan to increase the investment over time. Stay tuned!
Israeli military accused of using media to trick Hamas
Thoughts on (Premature) Optimization
Dark diagrams make for terrible documentation IMO.
Show HN: RiteRaft - Build a raft service with only 160 lines Rust code