skysight-inc/HackerNews huggingface dataset:
> Servlets are not in standard library (and it's not even library, it's a specification). Standard Java has HTTPURLConnection which is sometimes used and com.sun.net.httpserver which is not used by anyone. Spring is not in standard library either.

You're arguing against a strawman. These things are not in the standard library, but the ecosystem builds around them, and there are published JSRs that define the interfaces for foundational libraries (including both servlets and DI - of which Spring is just one of many compatible implementations).

No-one's arguing that Rust should have a web framework in the language standard library (I hope). But there should be one or more established options that the rest of the ecosystem knows about and interoperates with.
Strange. I'd expect less traffic from novelty type e-com sites ...
I saw Apple II, however I also don't understand from the article, what's the author work with? No even brief project description, no code, no usage context... Maybe the article is just a beginning of some bigger story. Everything is too unclear.
Would be nice to hear comments from the author.
Generational garbage collection doesn't help much with a language with value types, stack allocation, and decent escape analysis.

“It isn't that the generational hypothesis isn't true for Go, it's just that the young objects live and die young on the stack. The result is that generational collection is much less effective than you might find in other managed runtime languages” https://twitter.com/davecheney/status/1019430967054819328

Go's GC improvements are revealed in P99.9 latencies of servers over time, not just in the raw numbers of how long it's stopping the world.
There are many hypotheses floating around.

(a) China created this virus and released that as a bioweapon.

(b) Wuhan lab does research on bat viruses, trying to find a vaccine for HIV using modified coronaviruses. Somehow, this virus got accidentally leaked out of that lab.

(c) Wuhan wet markets, virus jumping from bats to pangolins to humans

(d) CIA created it in order to bring back the manufacturing to USA: https://cryptome.org/2020/02/CIA-biovirus-2019.pdf

Which hypothesis is better? Which hypothesis can explain more facts than others? Which hypothesis has more evidence?

I am not a virologist. Hypotheses (a) and (d) depend on political facts, along with evidence from virology. (b) and (c) just depend on evidence from virology. So, either of them is possible at the moment.
Windows seems to respond to almost any input to display the password box.
"Hand-picked Typography"

lol

As opposed to, ya know, computer-picked typography? what is this?
For example: The tokenisers in the HuggingFace libraries are now written in Rust.
> I carefully selected 4 monospaced programming fonts that fit perfectly with Dracula PRO.

What does that mean? Is he just bundling some free fonts, or did he actually license some commercial fonts?

Rather fishy that it’s so vague on details.
Regarding learning materials, I do agree about the quality of the Rust book, but I will say that if you're the type to learn from a project, especially if said project is a game or GUI Application, life will be easier and learning materials better in C++.

I also think 2 and 3 are ... overstated.
As an outsider, I honestly feel that there's a strong difference in opinions between Dan and Sebastian. One doesn't need to reason too hard about the purity thing: Dan himself admits hooks were criticized (accurately) for being impure.

On the other end of the discussion, the claim about impurity preventing prioritization is very weird, because simply going async will shuffle the rest of your rendering further out in the microtask queue, giving the opportunity for event handlers to fire half way through a vdom render pass, effectively prioritizing user input.
So I am not the only one with questions regarding its use case? I cant seem to conjure any.
I remember seeing a graph (from Paul I think):

graph1: linear + exponential s curve

When you zoom out the first graph, the exponential part starts looking linear

graph2: linear + slightly less linear + exponential

Oh wait, it is an exponential curve right? D'oh
"They have the concept of "minus", which is just another way of adding with a negative."

You have chosen to generalize it into the anstract concept of negative numbers. That doesn't mean that negative numbers are a fundamental truth about nature to be discovered.

Think about it like functional programming. Is that discovering some natural law of computing? Or is it inventing a new way to express computation? Of course it must be the latter, because you can compute anything without the use of functions.
Are you absolutely sure you are across all the flaws in my character and decision making process after my 2 short comments? You've got practically no idea at all how I approach planning and you're already telling me a bunch about myself that I never said.

> "Oh but I'm smarter" but your belief...

Case in point.

The article says Nate Silver had Trump's chances at a little worse than 1 in 3. The average person is going to sit through 17 presidential elections.

I don't have to be very clever to say that Trump winning is totally consistent with the model; and anyone who was caught by surprise has failed to understand probability. 29% is not saying no chance of victory and it isn't really that surprising. It isn't even a forecast of defeat if you think about it. It is evidence that a defeat was likely, but a modeled probability is not a forecast - it is evidence used in forecasting.

I'm really claiming that most people will hear "10% chance of disaster!" then after it didn't pan out 9 times they'll start talking about the boy who cried wolf or stopped clocks when the disaster strikes the 10th time. I have a massive advantage over them, because that is exactly the wrong attitude towards probabilities.
UX designers are appealing to their customer, who wants to see something which is very pretty on the big screen they use to present their work. They get paid for wow during the presentation, not for anything else.

A friend of mine hired a UX designer for her startup and the entire main page will soon look like a beautiful poster. But it is utterly horrendous on mobile, which is where 60% of the traffic is.

Not to mention that it is now littered with images that are going to make page load times horrible.

¯\_(ツ)_/¯
Those are accounting tricks
Haven't read it through in detail, but what would be cool is an AI layer that suggests an image automatically. A bit far fetched I agree. Good work!
The fruit walls article a perennial favorite on HN.[0] (Pun intended.)

[0] https://hn.algolia.com/?q=fruit+walls
People invented the electric chair because people discovered that high-voltage electricity can kill people. You might invent a particular axiom because it has an interesting mathematical consequence (e.g. the axiom of choice was invented to allow Hilbert's basis theorem to be proven), but what you invented was the axiom, not the consequence.
Wait, they don't actually have engines that they can buy that would fit their specs? That seems like a serious issue. There's no way they could fund the design of an engine.
I mean, is it really Monte Carlo? He's iteratively trying to optimize a function which makes this more like SGD, no?
Nice! I’d imagine this is a much nicer experience than dialyzer.

If the author is reading is it possible to type message passing / processes? I couldn’t see this in the docs but i may have missed it
No amount of govt money will ever cause inflation again. The tools for govt intervention (the Fed rate, quantitative easing through the purchase of Tbills,etc) may have been effective in the time when the world was simpler (Remember 'It's a Wonderful Life' with James Stewart?). But loans from banks do not drive the economy any more. In fact many businesses look to VCs, and angels. Loans are for chumps. So what DO these tools do? Where does the money go? It goes to places that will generate the highest ROI - other financial opportunities and investments removed from the real world. In fact, I would interpret that skyrocketing stock market as evidence of too much money chasing too few equities. There may be 'inflation' of equities prices, bond prices, REIT prices, etc. But unless the money gets into the hands of the people who need a house or need a job or need food, it won't help the economy. Adam Smith's laws and the 'invisible hand' of the market assumes a continuous distribution of currency transacted by rational agents with equal access. Instead the world is quantized and now a large fraction of the population are below the threshold where these interventions are meaningful.
Unrelated question for the AI experts here:
What's the potential for AutoML solving problems with just X and Y.
I understand that you'd need to search a large subspace but at what stage is it currently and can it solve problems as complex as the one here?
The cynical answer is because what else can you write when your GUI story and your graphics story are meh

(but then again who cares when you can just piggyback off Electron)
Hi Steve, I spotted a typo: "By are the most common" should be "far" instead of "are".

BTW the (3d!) pie charts are far less clear or informative than the nice simple bar charts, which could be used for everything here.
Because mapping out the geographic locations of those who were infected could hurt the economy of the blighted areas even further.
Exactly. The playbook is cynical and vile, but very effective. You first starve the government, then when government inevitably fails at its job, you point to that failure as a reason to starve it even further, on the basis that the private sector can obviously handle things better.
That wouldn't happen to be Desire2Learn would it? I'm ashamed that they are Canadian.
I agree with engineers doing a better job. Especially over inepexerienced UX professionals who want to try the latest fad. Ultimately users don't care - they want it to work consistently and be intuitive.
Do I need to buy this just to find out which fonts they're recommending?
You’re right, I probably didn’t (and don’t) understand. I thought that the problem you’re trying to solve is that you wanted to find a particular string that changed over time (past commits). So let’s say I wanted to look for isPizzaDelivered; Could I not do a git log |grep “isPizzaDelivered”? to find all occurrences of that string among all of the previous commits? I read your blog post thoroughly and maybe I’m just not getting it. Perhaps I need to try out the commands myself to see what the output would be so I can get a full picture of what you’re explaining.
I teach Rust and C to college sophomores and juniors. By far the things they have the hardest time with in C are manual memory management, when to free variables, how to debug segfaults (usually called by incorrectly freeing memory), and how to correctly link code. We spend so much time on this I can't tell you.

With Rust none of these things are issues and we get to actually spend time solving problems in the language instead of just understanding the language. Yes, C is as simpler language, but it's got no safety rails, and when you're a beginner at systems programming it's nice to have a friendly compiler who can help you pinpoint errors rather than to be shown "SEGMENTATION FAULT" and feel like you're on your own.
Eight Reasons to End the Lockdowns as Soon as Possible
Trying to reduce hallucination in NLG systems. The idea is straightforward enough. Whatever is a parameter of the sentence: tone, nouns, verbs, actions, adjectives need to be the input parameters.

Everything else glues together the inputs to form gramatically correct sentences.
Hungrymark: Bookmark Everything on Your Toolbar
How do I discover content without paying? If I have to subscribe to watch then it seems I won’t be spending time browsing around watching content like YouTube. Can the creator choose to publish free videos?

IMO YouTube has massive audience and watch time because it’s free to watch.
This is a good idea actually. Now, I just need to be in the room before they draw stuff...
A major issue, not just with the current pandemic, but all major network news programs, is they are not news, they are entertainment editorials. However, they don’t present themselves as such, and present information as if absolute and unbiased.

If there were journalistic standards and not just first to print clickbait, there would have to be nearly as many corrections and retractions as there are news stories.

The constitution guarantees freedom to publish, but it would be really nice into have some legal standard for accurate reporting of current events in good faith.
This is one of the rarer specific Apple II models (happens to also be the fastest and the last released). They’re maybe $300+ or so in good shape. The more common Apple IIe goes for significantly less. I bought one for $50 4 or 5 years ago.
Exactly this. Just Fed/Treasury crediting $1B to every billionaire in the states won't help the economy; it just helps this rich to chase after financial assets (stocks), real estate (mega mansions), arts/paintings (picasso, van gough, etc), mega yachts, names on buildings, etc.
Stanford anti-body Covid-19 study of Santa Clara County [pdf]
The sad truth is that most patients cannot communicate their symptoms clearly and a computer will fail them. More importantly, the nonverbal communication, the compassion, and the reassurance from personal interaction are what drives the demand for personal service. Just look at the number of negative reviews on health grades. Many people are so unhappy with the way they were treated, even though the actual care they receive in this country is good- access to CT scans, antibiotics, home nursing, hospital service, etc..
As someone who's not a skier, the descriptions are a bit confusing. I read through most of the page thinking this was a service where I could pick any place and you would make a map of it (which would be really cool actually, although I have no idea what would be involved in doing that), and then when I got to the bottom, there were suddenly options for a bunch of places I've never really heard of.

If you're marketing only to skiers, I would make that more clear from the beginning (like, put a picture of someone skiing at the top). Alternatively, I would actually consider buying one of these even though I've never been to these places just because they look cool, but in that case I'd want more information about why you chose these places and what makes them interesting in particular.

(and the maps do look really nice! Actually, this is making me wonder if you could integrate with Strava or something and overlay the details of your trip on top of the map, but I'm not really the target market for that, so I don't know if that would work well or not).
>it’s highly possible to make a living as an illustrator without learning how to draw in the classical sense.

I've been feeling for a while that this is the case for most democratized media - the bar has been lowered across the board, and now average Joe potentially has access to an audience with little to no vetting.

And I think this has drastic consequences for society. When our most popular media are chosen by majority they are effectively a "lowest common denominator", and when such media begins to dominate our attention (say, everyone's watching vloggers on YouTube), we as a society are less able to recognize merit, not just in arts, but in corporate and political contexts, too. Instead all judgements become determined by charisma and we spiral into idiocracy.

This isn't about snobbery. It's about refinement of technique, of work as art, which is the clear and apparent difference between these bland magazine covers and classical art. Talent is not a replacement for knowledge and practice.
Oh gosh. Taking one second to think about it, _of course_ (a) and (b) are separate photographs -- that is the entire point of that diagram. Somehow my brain farted right over that when making my previous comment.

Thank you, not only for setting me straight, but also for doing so as kindly as you did.
It is really astonishing how many 6/7 figure pieces of software are designed this way.
Show HN: A color scheme generator for uncommon colors
Btw, I used the hn@ycombinator.com email to bring this to your attention, but it would be nice if there were a way to do that from HN itself (maybe a simple web form that sent an email to that address when submitted?).
I agree that not chasing wealth will prevent some problems that people who do chase wealth have. I merely disagree that it will prevent this problem. There are plenty of people who are not chasing wealth and are not crazy busy but have similar problems as he does.
Lubuntu is no longer on LXDE, having switched to LXQT on version 19.04. LXQT is pretty good from my perspective, minimal but intuitive.
Now I want to make a backboard that always misses unless you know the right amount of spin to put on the ball.
I haven't seen N95 prices that cheap here in weeks. Anything I see is mostly around 30RMB right now (like a 3Q with NIOSH certification). KN95s are still lower.

We've talked with multiple vendors who simply can't get non-woven material stock at all and are having to turn away orders.
Sure, but one guy with a tractor in a field has a lot of advantages over that.
Throwaway, because I work for a bank doing PPP. First off, I want to say I feel for anyone struggling - I know from my exposure a lot of loans didn't get in. We had random people from all over the bank working nights and weekends trying to get these loans into the SBA. The news didn't do justice how much of a disaster this program was with the SBA. For example during training, the SBA app crashed 11 times while trying to enter one application - and this was after hours. We spent days on the phone trying to get someone to get us access to the SBA's API - no one could help us. In the end, a lot of loans didn't end up getting into the system.

Second off, we're already tooling up for the second round of SBA to get more loans through the system by eliminating a lot of manual processing. So have some hope and contact your reps and senators - we're already getting ready to get loans through once they open up the program again.
Important study to do, but feel like I have to assert that in principle, ML is not as useful for diagnosis as it is for aggregating longitudnal data because the consequences of a false positive/negative in the individual diagnosis are life threatening, and even if it catches something doctors don't, it just means a doctor has to look at them.

However, across a population, nobody is being harmed by the ML analysis, and it can pick out patterns a person could not at speed and at scale. Spending research to get your individual diagnostic ROC curve a few percent higher is a waste of time if the consequences of it being wrong are greater than the time savings it provides.

It's fine for veterinary medicine, and maybe prisoners and keeping people with hidden symptoms out of crowded places, but for regular people, using ML has got a host of ethical problems that aren't being dealt with at the policy level. You can use rules engines (literally, DROOLS) instead of non-deterministic ML schemes to do diagnoses and prescriptions.

Have said before, ML is only useful for problems with asymmetric upside, and it is worse than bad for ones with asymmetric downside.
Windows 10 with Windows Hello does face recognition logon without any need to swipe or press key combinations. On a touchscreen, it responds to a swipe upwards. On a machine with a keyboard it responds to apparently any mouse click or keypress.

Presumably Gnome copypasted it from Windows, because otherwise where did that idea come from into multiple distinct projects simultaneously? Windows has always had ctrl+alt+del to logon, Ubuntu hasn't had a precedent of having to do something to get to the logon prompt, IIRC.
Hi Alex! Channels can set a full-length public intro video, displayed on their homepage. Each video also has the option of a free preview at the beginning, or can be made completely public.

We're not seeing this as a replacement (yet!), just another option for content creators to monetize. Some sell merch, but that requires dealing with physical products and areas they're not familiar. Infstream allows them to easily charge for behind-the-scenes/directors cut/mini series.

We're not expecting users to browse in the same way as YouTube initially, rather come to a specific channel directly from that creators social media.
On second thought, I was wrong.

Believing in fairy tale magical solutions without caring to understand the complexity of underlying problem, is a quintessential human characteristic. So I correct myself, believing in socialism is very natural.
Wow, just realized the movie Explorers has that model of computer!
A related article from last year: https://notamonadtutorial.com/an-interview-with-the-creator-...

via https://news.ycombinator.com/item?id=19547418 (but no comments there)
Citation needed. It seems pretty common-sense that retail would be lower-margin than digital services.
Personally, I really like the top menu. It prevents apps from trying to style their own version of it, and it's always in the same place. Developers know that users always look there, so almost no apps skip making it. Was always the worst to me on Windows/Linux when programs would make their own crappy versions of a top menu that were all inconsistent and bad.

I use a mix of 27-inch 4k monitors and a 21:9 34" monitor, with many things open all over the screen, and have never felt it's too far away. You might try increasing your mouse speed a bit (you'll get used to it pretty quickly). If you can get from the bottom right to top left corner without picking up your mouse, you're probably at a good speed.
Suppose I’m building an application in Rust that processes a lot of data, one of the steps in processing that data I maybe want to run through a Python tool like SpaCy or Flair.

How would I go about doing that? I could put the Python code behind a little http API and call it that way, but that’s a bunch of overhead and extra stuff to maintain just to analyse some text. If I embed said Python tools in my Rust code then I can call those tools with significantly less overhead and complexity.
> The Elixir/Phoenix stack seems to be a great combo for web developers.

It's a great combo for more than that. I'm building a vm orchestrator on top of it and couldn't be happier (does everything from DHCP serving to virtualization library binding and resource matching). I do happen to have Phoenix in there, but it's for an entirely optional operator dashboard.
They only account for 10% of the national population though.
I can confirm this--Rust's data visualization and plotting libraries are still pretty early stage. You can generally do 2D bar charts and scatter plots pretty well, but once you start jumping into more complex representations or three dimensions, you start running into some serious barriers.
Thanks!

I didn't write this post, but I'll pass it along.
I expected the same. Colleague of mine runs a local SaaS to give restaurants an online presence, including online ordering. This week orders went up 60%...because people got their $1200.

Americans don't know how to budget and will buy stuff just because they feel like it.

Edit: I did buy a pricey swing set for my 2 toddlers. But I wanted to buy one last year was denied. This lockdown convinced my wife otherwise.
I am also happy you both mentioned this, because I've never heard anyone say this before! Good to know!