skysight-inc/HackerNews huggingface dataset:
I've been using TS with RxJS for the last 4 months and I think JS is totally fine. What bothers me the most is JS abuse. Why everything has to be a SPA and thus have to be recreated in JS. E.g. history API. And wtf we need RxJS at all? Other than that management has decided to go with the most strict rules for TS, so I'm spending countless hours fixing silly type errors that don't add anything to the product. I've worked with huge JS codebases a couple of times and we were fine without it. TS is overhyped in my opinion. Let's make more use of the server instead of doing everything on the client.
The cold actually reduces range considerably and increases charging times. I’ve even heard reports of being unable to charge a Tesla through a standard 120VAC outlet if the weather is below freezing.
Semantics to Screen Readers
The best code is code you don't have to write, because someone else has already written it. I've decided that number of libraries is the most important feature of a language, which is of course strongly correlated with popularity. Javascript is king in this regard.
Why can't Mexico perform the basic state function of protecting its citizens from organized violence?

Because the cartels have made so much money from drugs that they threaten Mexican sovereignty in a lot of regions. The cartels literally operate their own private armies capable of waging war against any government forces that try to police their regions.

This is all due to the fact that the US economy is so big, its appetite for drugs so insatiable, and its arms industry so powerful that the Mexican government can't keep up.
Warren Buffett and Charlie Munger FAQ
List of Jupyter Notebooks by Peter Norvig
So the JVM run-time is installed and used by average people, so the defaults should be set for this people that install Java to run a desktop app IMO, the developers that want extra performance should read the manual and configure things.
The Psychiatrist Who Believed People Could Tell the Future
If you've ever tried to do fancy animations in C++ using QSceneView, it's obvious why they created QML. It is painful to manually maintain all the relationships and transient states needed for an interactive animated UI. QML makes that simple and easy.

My only real problem with QML is that things can get really hairy really fast. QML does a great job of abstracting over it, but the complexity is all still there underneath. When something goes wrong, you end up debugging a tangeled mess of implicit behaviours, many of which were probably unintentional and unnoticed by anyone (including the original author that created them).
Mexico actually has one of the lower homicide rates in Latin America (17th in LA, 20th worldwide). Proximity to the US isn't correlated with a high homicide rate.

https://en.wikipedia.org/wiki/List_of_countries_by_intention...
> There is no flip side to that where fear of something else would counteract that.

This is so obviously untrue that I find it difficult to believe it would take you long to come up with counterexamples yourself if you tried.
Show HN: Front End as a Service: Mason and Airtable
Most (all?) website and app builders suck. They either try to give you templates for everything you might want, or they try to take designs and generate code that your engineers would never want to use. There's never been a builder good enough that a serious engineering team would use in production.

Mason isn't an app builder. We're a frontend as a service platform that cares as much about delivering your production frontend layer as we do helping you build faster in the first place. Use Mason to build discrete, functional software features that look and function just like custom code.

We're building the platform we want to build software with. We think in terms of components, and we let you build that way. Build functioning forms, connect to live data over your APIs, integrate with any tool the exposes a REST API, and generally stop reinventing solved wheels.

Build functional components one-by-one that live in your codebase alongside the rest of your highly custom code.

To commemorate our recent launch, here's a quick and dirty tutorial of how you can spin up a simple set of components to tie into an Airtable backend and build a full featured applicant tracking system.

Ignore the lack of polish in the demos ;) we're working on it

https://showcase.trymason.com/airtable/applicant-tracker

PS - this is just a really simple first tutorial. Most of Mason is built using Mason. You can go as technically light or as technically deep as you want; just like in custom code.
The machine I learnt to program on as a child.

Will always have a soft spot for them.
How exactly did your mind change?
https://en.m.wikipedia.org/wiki/Falcon_9
If you have a better source feel free to update the page.
However I think that it will be much more costly a travel of more than 50M km rather than less that 50K.
Ongoing reddit thread: https://www.reddit.com/r/teslamotors/comments/awzd94/model_y...
Page Protection Layer in A12 CPUs
$26,950 with incentives and gas savings - https://3.tesla.com/model3/design
I'm not seeing any counterexamples in your comment either.
Is this really a book’s worth of content?
That doesn't follow, even if he meant what he said entirely literally.[1]

An analogy: many recipes have one or two ingredients that contribute most of the flavour -- but you can't optimize a chocolate cake for tastiness by forgetting about the cake and guzzling a bowlful of cocoa and sugar.

More concretely, balance is very important in most people's lives. And even if family life isn't the kind of thing that necessarily 'wears thin' the way some activities do, who's to say he would have been the same kind of father or husband without all those other sides of his life? Maybe his adventurous spirit is part of what attracted his wife to him, and maybe he would have found it harder to be a good father if he hadn't also been fulfilled in other ways.

[1] I don't think the only alternatives are 'literally true' or 'crowd-pleasing bullshit'. He may have meant it sincerely but not quite literally, i.e. he may genuinely value his family above all else, and see them as the greatest contributor to his enjoyment of life, even if they aren't literally more exciting than jumping out of an aeroplane.
Why doesn’t the third party publish the data themselves then?
You're clearly looking to veer this into a traditional debate along traditional lines. I don't think you'll find anyone in sociology who believes that any civic problems are monocausal. People who make these kinds of arguments are usually trying to ensure that, on a list of correlation coefficients, your favored cause is not considered highly correlative or "the sole problem," in your words. Inevitably, your next argument will be whataboutism for various other correlations you'd prefer we all look at.

Actually, you'll find that the correlation coefficient between gun availability and homicides/suicides involving a firearm are quite high across countries (0.7 - 0.9) [1,2].

[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1485564/pdf/cma...

[2]
https://journals.lww.com/jtrauma/Abstract/2000/12000/Firearm...
Searching a little (it's easy because it's unique) and then automatically translating 2014 article titled:

"How to set up a safe and easy to remember password"

reveals:

http://www.netqna.com/2014/05/do-not-set-up-weak-password.ht...

"4. Using Chinese input method:

For example, the phonetic input method of the four" (I guess in Chinese, op. acqq) "words "My Password" is the combination of "ji32k7au4a83"."

Sure, safe. Just for you and everybody who read that. No problem at all.

And some user of some gaming(?) site used it for his username:

https://web.poe.garena.tw/account/view-profile/ji32k7au4a83
Yes, that's the kind of thing I'd reach Ocaml for.
This conveniently ignores that in many ways, the U.S. is actively supplying guns to South America. And child comments ignore CIA effects on the drug trade.

Choose your program, "Fast and the Furious", "Iran Contra", activity in Chile and Panama, the early 90s.
Check out the UEMS here. It makes running your own weather model a lot easier

Http://Strc.comet.ucar.edu/index.html
Right. But any of that future price movement that was predictable based on the known attributes of the CEO at the time will be priced into the initial move. If it were not, then you would have a profitable trading strategy that say, went long Harvard CEOs and short Princeton CEOs (strictly a hypothetical example).
> The $35k price rag is still the biggest hurdle. Once they hit the $25k mark and can produce a decent volume of them, it will finally hit the point of no return.

Apparently 35k is already the average car price in the US, so the model 3 is already a mass-market car. The gas and other operating savings are also significant to further bring that value down so I think we're already comfortably past the point of no return. It's all ramp up from now on. If I was in the shoes of a traditional car maker I'd be very worried. Tesla may still fail but EVs will take over soon either way.
> There are also other reasons. You can't learn about the possibility of life on other planets in Antartica, and seek to answer one of the greatest questions of all time: "are we alone?". You can't closely study another planet in Antartica. You can't be a brave new explorer seeing incredible places for the very first time in Antartica. There are far less new scientific and engineering challenges in Antartica whose solutions will greatly benefit everyone here on Earth. And so on.

That's an argument against research on Antarctica, but that's the one thing humans do there.
Without Saying a Word, Israeli Troops Beat Up a Blind Man in His Bed
It only counts as a redundancy site if the colony could survive without Earth. What's the minimum Martian colony size that's self sufficient? Self sufficient doesn't just mean the ability to create sufficient food, water, air, shelter, sewage, etc but the ability to recreate all of the necessary machinery starting only from your initial supplies and undeveloped Martian natural resources.

So many of the industrial processes that we've developed assume a huge interconnected network of supplies. To make Mars self sufficient you'd have to reinvent a huge chunk of the modern industrial system while also trying to keep your small population of colonists from dying. It's a monumental challenge with today's technology.
I thought exactly the same!
Any theory on why PN junctions emit even harmonics and natural nonlinear junctions emit odd harmonics?
The border between Vancouver and Washington is literally a ditch.
I don’t believe that strict “session types” are a good fit for Rust: it’s shoehorning a concept, simultaneously specialised (it’s for channels) and generalised (as in “left” and “right”), into Rust in a way that works, but is not as pleasant as can be achieved with little effort. (There’s not much actual code in session-types/src/lib.rs—most of it is interfaces and macros because it made life hard for itself by being too generic.)

The underlying concept in Rust is basically a type-level enum (state machine), encoding the variant (state) as a phantom type in a generic parameter; that, you can express without the full baggage of what is called session types, and with greater freedom.

The situation is similar to the Either enum with its Left and Right variants: it was in the standard library well before Rust 1.0 because it was easy, but it was eventually abandoned in favour of good semantics: most users should use Result, and the rest should write their own two-variant enums. Similarly, if you encode your state machine in Rust types yourself, you end up with clearer and more obvious code.

The main thing this library does is get you the specific channel behaviour; that may be useful in some situations, but you can implement the underlying concept atop regular channels without much difficulty, and it gives you considerably more freedom in the API.

Here’s a small macro library that I wrote a few years ago, with an example that demonstrates this general concept: https://github.com/chris-morgan/phantom-enum

I find myself wishing more and more often that Rust enum variants could be used as types, and that type refinement could work like in TypeScript.

(I do realise that what I’m advocating is targeting a potentially different and broader sector to session-types, but I maintain my position: doing it from scratch yourself is fairly straightforward, normally easy and more powerful.)

You can achieve all of this with different types instead of one type with a phantom enum type parameter, too; see the insanitybit article linked elsewhere in these comments. The primary benefit of the phantom enum type parameter approach is when you have methods that apply in multiple, or all, states, so that you don’t need to duplicate them. Sometimes you want extra data in particular states; you can achieve that in the type parameter approach by making the enum not phantom, and rather a struct with extra data, or you can achieve that by just using distinct types. Which is most appropriate varies case by case.
People with Chronic Illnesses Share How They Get Through Their Worst Days
>that's more polluted than Chinese air.

What city is this? The US doesn't have a single city in the top 500. China makes up about half of the list.

https://en.wikipedia.org/wiki/List_of_most-polluted_cities_b...
Aside from the expertise represented in the HN crowd, I think another key factor is the self-reinforcing culture Y Combinator managed to build here. The guidelines aren't just some random document, they actually describe the spirit of the place - and the community strongly enforces them. This means that uncivil or contentles comments are unusually rare, which drastically improves the quality of the discussion.

Of course, the system isn't perfect (and regularly leads to the semi-justified claim that outlying opinions aren't welcome here), but on the whole it works very well.
We do have a problem in that for the non-suicide firearms violence that does occur in Canada a great amount of the weapons involved were smuggled in from the USA and are restricted or prohibited in Canada.
Close, but much more important than the number of libraries is the number of high quality libraries for all purposes you could ever need.

In this regard, JavaScript is far from good. There's huge amounts of package instability, a lot of mucking with node_modules, a lot of useless breakage.

I have found that Python and Ruby are much better in this regard. The libraries serve way more purposes, they're stable and work well, and I can count on library improvements being incremental and easy to digest
> On Reddit or in the PetaPixel article?

On reddit, which is where he's been angry about his photos being called fake or unnatural.

> Is it? There’s nothing in the subreddit’s rules about that. In fact its rules specifically state: “Panoramas, Image Stacks, Composites, and images edited via Photoshop or similar software are allowed”.

Yes, but there are finer rules about different things. Super long-exposing the sky in 1 photo and a lake in another for a night shot looks cool, but is not a landscape photo for earthporn, since it usues techniques to make the actual landscape darker and it could be moderated away usign the 'silhouettes' rule, but they seldom are. They shouldn't be there at all (as stated in the extended FAQ but in sky/space/water/whateverporn instead).

The picture I linked above needs to be a 'natural landscape', but isn't a landscape at all, and probably has never looked like that to anyone seeing it, ever.
I agree that the discrepancy raises questions that need to be answered, but they are not the ones you suggest.

Asking if women fund (found?) "as attractive startups as men" is essentially implying that the reason female cofounded startups get proportionally 1/8 as much funding is that women's ideas are not as good as men's. Anyone who wants to raise that question has an affirmative burden to prove it's the case.

Do women seek as much funding as men? Honestly, do you really think women are asking for 1/8 as much funding as men? The theory I've seen is that men are funded for potential, but women are founded based on performance. And, doing more with less is a lot harder than doing more with more.

What is the success rate of female cofounded startups? According to Business Insider[0], 52 tech companies IPO'ed in 2018. By the percentage of funding, you would expect 1 on average. Since funding is a key component of success in the early days (and, getting past the early days is essential to getting to IPO), I would argue it's entirely plausible that capital constraints are the reason for lack of success.

The proper experiment to run here would be to compare companies with a female cofounder to companies with all male founding teams at similar levels of funding. Since startups fail at such high rates (I've seen numbers that range from 60-90%, with the numbers on the low end defining failure as "returning less than 1x"), this would be a very difficult experiment to run given the 5:1 ratio of female cofounded to all male cofounded companies.

[0]: https://markets.businessinsider.com/news/stocks/initial-publ...
I thought the MySQL binlog was the history and mysqlbinlog the tool to help with the undo.
@mockingbirdy, do you have an email contact ? Would be curious to learn more about your experiences in this area.
Why would you assume that of the longest undefended border on Earth?
Hands-on Machine Learning with Scikit-Learn and TensorFlow [1] is more ML focused, but highly recommended. Out of the three books (Python for Data Analysis and Python Data Science Handbook) I learned the most from this one by far.

[1] https://github.com/ageron/handson-ml
I wonder if it is a proxy for sufficient education essentially (even a high school educated populace who can read the paper and instruction manuals can generate more wealth via factory work than subsidence farmers) vs simple hierarchy of needs where their main concerns are survival as opposed to any ideals like liberty or equality.

Quality education isn't a pancaea for demagoguery but it certainly helps. I believe that educated middle and lower end of upper class have been involved with revolutions frequently for better or worse outcomes.
arrrgs comment is on topic and he makes a valid point about the way privacy-related topics are discussed in Germany.

Your comment on the other hand is (passive) aggressive in tone, unwarranted and out of place in this community.
Why Should We Listen to Scientists?
Huawei CFO suing Canada, its border agency and the RCMP
This is why I do not feel any guilt in acquiring a DRM-free copy of media I purchased digitally (not talking about subscription-based lease like Spotify, etc).

If I bought a eBook or any kind of media without an expiration date, I want to be in full control. I will buy first from DRM-free stores like Bandcamp or GOG.
$25 according to this article:
https://www.techdirt.com/articles/20180813/18321840422/priso...
Nippy – Super Fasttt VDom Alternative for HTML Templating with JavaScript
https://github.com/shlerer/Nippy/blob/master/nippy.js

Start contribute.
> and even if you have your package file and lock file locked to exact versions. (i.e. 2.0.0 exact, not ^2.0.0)

Wait what? Are you sure about that part? That's a violation of npm's semver constraints https://semver.npmjs.com

(I agree with you that "npm ci" should be the default behavior, and "npm install" should be called something different, like update-and-install)
Sure, feel free to read 'communication protocol' where I say state machine.
Self-delusion is a helluva drug.
I've always strongly disliked Python. Every time I used it, it felt like I was banging my head on a wall all the time. The ongoing quagmire that is Python 2 v. Python 3 certainly didn't help.

My current job is with a company that primarily uses Python, and I still strongly dislike it even after using it for a lot more things. I'm very much a proponent of using the right tool for the job, and Python is almost never it.

Almost.

One of my solo projects was to write a desktop client to unify a couple different warehouse systems. I experimented with quite a few different languages and toolkits in the hopes of finding something that'd satisfy all my conditions:

- Support for an embedded WebKit widget (one of the systems being integrated was entirely web-based)

- Portable (I needed to support Windows clients, but didn't want to use Windows as my dev environment, so the app would need to support Linux; plus, I wanted to extend the possibility of replacing the Windows machines with Linux at some point in the future)

- Support for Windows' winspool API (I needed to send raw ZPL data to label printers; in Linux this is easy to do by wrapping the lpr command, but with Windows this entails either winspool or a bunch of special filename hackery)

- Preferably no C++ or Java, since I dislike those languages quite a bit, too (and statically-typed languages like that didn't feel like the right fit for the amount of JSON mangling I needed to do)

Ultimately, I ended up settling on Python 3 + Qt5, since it was the only stack that actually checked all those boxes, and consequently that stack is in my "right tool for the job" list (when "job" equals "graphical desktop application with the need to embed a browser view"). I'm still on the hunt for something better (and for cases where I don't need an embedded browser, Tcl/Tk is still that "something better"), but it does the job well enough for now.
I tried speedy icecream and got some interesting names. I just chose that at random. Most of it was bad but there were some good ones.
More computational power is definitely better but that's not the whole story. For example the initial conditions of the model are really important.
I know nothing about Qt beyond the most basic description but I’m interested in exploring it as an alternative to Electron. I see lots of debate in the comments here but limited context to help me understand what is being debated. Is this book for me? What background should I, a total beginner, be aware of before I dive in?
IIRC "Writing" an HTTP server is close to a one-liner in Python anyway.
Those are external costs to customers, not internal SpaceX costs I believe. Super different because the profit margin is hidden there.
Canada definitely does not have more guns per capita. USA is the highest in the world. https://en.wikipedia.org/wiki/Estimated_number_of_civilian_g...
A colony on Mars would have higher and more advanced needs to support and protect human life.

This is mostly false and slightly true. The level of technology needed to imperfectly supply the bulk of life support needs isn't that high. Pressurized, radiation shielded homes could be built by making bricks, building structures out of masonry arches, sealing them with an airtight liner, then burying them. The chemistry for extracting breathing gasses and plastics feed-stocks out of the atmosphere dates from the industrial revolution and 20th century. Mars is much more likely to be dependent on Earth for products like microprocessors for far longer than environmental needs.

Completely balancing and stabilizing artificial ecosystems to be 100% self sustaining and recycling might take many decades. However, the elements and materials needed are all available as inputs from sources outside of the Earth.
> If American guns are the problem, why aren't the gun homicide rates higher in the United States than Mexico?

Guns don't kill people, a corrupt political and judicial system held at bay by a massive influx of cash and illegal smuggling from gigantic narco trafficing empires at war with each other over the right to make the most money off the US Drug War kills people.

Once the US has the same problems, then gun homicides will be higher here. (however, we are #1 in gun homicides among developed western nations, so we're on our way!)