skysight-inc/HackerNews huggingface dataset:
Could you please tell me what you entered?

As for prefixes and typos, in our case, the FST is used for both matching a prefix and spelling correction of the prefix.

The first character is treated specially; the chance of getting the first character wrong is very low(according to our findings) so only completions/corrections that score very high get to be matched.
Thanks for the comment, I might steal your "subset of C99 which compiles both in C and C++ mode on GCC, clang and MSVC" quote and put it in the article if that's ok ;)
g++ 4.4 came out before the C++11 standard was released. So I’m not sure how it’s a counterexample. C++11 was a standard under active development and so obviously you can expect changes; its status at that time was comparable to rust nightly.
Chana motors changed their name to Changan in Brazil as Chana is slang for women's private parts.
> I don't understand why the Rust community has made that choice, since it essentially makes old versions of the compiler useless

I mention the reason in my prior comment: to allow people to continually upgrade their compiler version without needing to change any code. Rust doesn't have a stable ABI, so all crates in a Rust project ultimately need to be built with the same compiler (and furthermore, crates must always be able to interoperate regardless of which edition they're on). That means that every new version of the compiler needs to support every old edition, because the alternative is to have users stuck on old versions of not just the compiler but also on old versions of dependencies that have since begun using features only supported by newer compilers. In Rust's case avoiding such a fundamental fracture in the community was more important, since, after all, there's still nothing stopping anyone from voluntarily sticking with an older version of the compiler if they're willing to deliberately endure such a situation.

> (And has a number of other disadvantages too, like constant cognitive load having to re-learn the language every 6 weeks).

This is quite hyperbolic. Rust introduces no more features than any other language, it simply rolls them out on a more fine-grained schedule. Furthermore, Rust hardly requires re-learning every six weeks; a "feature" introduced by a new version is often nothing more than a new convenience method in the standard library. The fact that we have established that Rust goes out of its way even to keep "old" code compiling and compatible with the rest of the ecosystem should demonstrate how little it demands that users re-learn anything.
During the press, the stage actor was hitting the tesla truck with the sledge hammer lighter(wind up bigger for show to make it seem harder).

He was also hitting the standard truck door or on a angle with edge of sledge hammer.

Where as he hit the tesla truck flat on with lower force...

.

Understand the single body design from a manufacturing and structure standpoint.

But vehicles get in accidents, get bumps.
Now what's the cost of replacing the whole body due to damage vs a fender on a standard vehicle.

And what if my truck load damaged the bed, now gotta get a new body?

Are the just going to weld me back together?
You're conflating brutalism and soulless/inhuman/ugly concrete-heavy design; this is a common misunderstanding.

Brutalism when done thoughtfully and well is beautiful, uplifting, and provides a sense of calm and space. The Simon Fraser U campus is a good example: https://modernistarchitecture.blogspot.com/2015/12/a-brutali...
The curious case of Croatian wikipedia
That's from 2007, so, has that been true? I'd certainly expect that to be both true and unremarkable these days.
Ah, sorry about that. Late night commenting is never advisable. I was taking this number from here (https://www.statedatalab.org/state_data_and_comparisons/city...) and is actually meant to be the debt rather than a budget deficit. Looking into the source more it seems like it may not be the best (link: https://www.sourcewatch.org/index.php/Truth_in_Accounting).

From the voter information pamphlet (link: https://voterguide.sfelections.org/en/overview-san-francisco...) it appears that official figures for the city's debt is in the $2.29B range, not including "the San Francisco Community College District, San Francisco Unified School District, and Bay Area Rapid Transit District (BART)."

I revise my above statement to "[San Francisco] is full of extraordinarily wealthy people paying enormous rents to live under a dysfunctional government with a city debt of at least $2.29B."

In any case, even if San Francisco had zero debt, it would still be a dysfunctional government. One need only walk through the Mission to see that.
I was looking for the Linux download link.
> in Latin countries

If you mean “in Spanish-speaking countries”, alright. In Portuguese “nova” just means “new”, just as French's “nouveau” or Italian's “nuova”.
Why is this not a thing? It solves the pumped water issue of protecting against evaporation and solves the flow battery problem of chemicals. There are a lot of mountains and seems like a great thing to install where mines have removed the tops of mountains and left flat areas.
Also, unfortunate associations with little green men and the probes they purportedly... well, you know.
I remember that in the TV series “Dead Like Me” the main (dead) character’s mother vehemently abhors the word. It was the first time I had ever encountered aversion to it and I marked it down as deliberate “quirkiness-injection” by the scriptwriters.

When I later discovered that the aversion was widespread (much like my inexplicable hatred of parsley) did I realise it was an actual phenomenon. I always put it down to the connotation of female sexual arousal.
It has not been mine. IME gcc can do slightly better than clang, sometimes, but it's generally a wash.
They both attended Montessori schools. [0][1][2][3][4][5][6]

The person who mentioned waldorf must have been confused. While they’re both small private schools, they are two very different approaches to education.

[0] Wiki Brin: https://en.wikipedia.org/wiki/Sergey_Brin

[1] Post Article: https://www.washingtonpost.com/local/education/montessori-lo...

[2] ABC Interview: https://www.youtube.com/watch?v=0C_DQxpX-Kw

[3] Wiki Page: https://en.wikipedia.org/wiki/Larry_Page

[4] Guardian Article: https://www.theguardian.com/sustainable-business/2014/jul/23...

[5] BI Article: https://www.businessinsider.com/tech-innovators-who-went-to-...

[6] Forbes Article: https://www.businessinsider.com/tech-innovators-who-went-to-...
This is a really good book.

Aside from being a good tutorial for beginners, what makes it unique is the scope of what the reader is expected to learn to produce: small scripts that will greatly benefit them in their daily life. It demonstrated the power of computing, gives the reader agency and it is entirely possible to cover enough to be actually useful within one book.

I've believed for a while that scripting should be the emphasis for most primary and secondary education computing courses, and companies should even invest in training witha wider remit than they currently do. There's been many times when knowing some VBA or a small amount of Python would have saved hours or even days worth of effort in repetitive tasks.
The go runtime moves stacks between threads?

Oof that’s horrible, any pointers to the logic behind it? I’m curious the rationale.
Yeah, and that is the actual self-fulfilling prophecy. You make what you actually are afraid of happen by behaving in a way that causes the quality issues to appear.
> Personally I would still be willing to wear a suit like that if the pay was good enough.

That seems like an unlikely premise, and thus a meaningless statement. It's not physical coercion like you imagined, but take a look at how amazon logistics workers get managed by their wearables. Then look at how they describe the job.

I'm gonna go out on a limb here and say this would always be used on people who can't fight back, because they're in some sort of disadvantage (usually economic) and so they would never be paid well enough.
We’ve known how to combat this for a while: http://theconversation.com/copper-is-great-at-killing-superb...

Copper on the surface of hospital furniture should help a lot.
Ask HN: Good game tutorials for kids programming
I have tried to teach my 10yr old to learn programming for past few months with scratch and basic html stuff. He is not much interested in scratch and picked up html/css and showing interest to develop simple games with it.

Seeking ideas from fellow hners for below topics.

How to engage kids for constant interest in the programming? How did you get past of the stage of loosing interest now and then to kids?
What can I teach him for basic gaming tutorials with html/css?
Python Countdown
>"socialism" is no longer the dreaded name for failed economic policies of the past

The only reason it ever was "the dreaded name for failed economic policies" is because of political lies conflating Communist Autocracy (USSR, China) with Social Democracy (basically all of Western Civilization) during the Cold War. Socialism has been, is, and will continue to be incredibly popular in America where the word is quite possible hated more than anywhere else.

From The New Deal in the 30s (not many people would want to get rid of Social Security or interstate highways for example) to Wall Street and auto industry bailouts to today's oil and farm subsidies, socialism is incredibly popular among both the right and the left wing of US politics.

Without the spectre of Soviet Russia and mutually assured destruction hanging over America's head, the boogeyman of "socialism = Stalin" is a lot harder to maintain.
That's funny because I was actually talking about your field! (whose math is borrowed from one of the subfields of physics) I haven't so far met even a single chemist or material scientist who actually knows what they're running, even when they have access to the millons of lines of code they're using. And I don't blame them (or call them "mediocre" as you do), because they only have 24 hours in a day and only one life!

I met only one computational physicist so far doing DFT who used to write his own code back in 70s, but he admits he has no idea what VASP and others are doing nowadays.

If you're claiming that you actually know how VASP or Quantum Espresso (or any other similar significant piece of software) works in depth and you can tweak/replace any part as you like (which I'd find very very hard to believe, millions of work hours go into the development of those), you'd nevertheless be the exception in chemistry not the norm.

The most common high-level tools theoretical physicists like me use (such as Mathematica) don't give access to source code, on the other hand, so we can't make Mathematica not use MKL and not suck on AMD.
There is no one-size-fits-all approach.

LLVM IR has async/await and coroutines, but most real-world VMs and language static compilers cannot depend on such intrinsics because of their memory and execution models. For example, Pony's ORCA has unique memory barrier and execution models that wouldn't work with this approach, although it uses LLVM for compilation down to metal. This is why LLVM is a loose framework and collection of tools split into "middleware" passes, rather than a single monolith.

PS: According to its paper, ORCA is supposedly one of the fastest GCs for most use-cases. It beat Zulu's C4, Erlang BEAM and another one in a deathmatch. It's too bad it can't be extracted as a separate project or integrated into OpenJDK or LLVM without lots of work. Of course, no GC is better (I'm staring at you, Rust. :).

http://releases.llvm.org/8.0.0/docs/Coroutines.html
The client usually wants a solution. What exactly it is you decide as the expert.
Could you tell me how you came to the conclusion that it doesn't take major resources to design and make the hardware? Magic Leap took $2 billion. Occulus, $3 billion.

I do agree that there's enough revenue in novelty that content can keep happening. 3D books are still coming out this year, more than 150 years after the initial wave of hype: https://www.amazon.com/Queen-3-D-Bohemian-Rhapsody-2019/dp/1...

But I don't think there's enough evidence to demonstrate that any of those VR uses you suggest will be sustainable businesses after this wave of hype fails. Sure, people will tinker, and I think that's great.

But the most I expect to be happening 10 years from now in VR hardware is the Cardboard-style "let's put a phone on your face" thing. With perhaps a side of "VR as amusement park ride", like today: https://www.msichicago.org/explore/whats-here/tours-and-expe...

And if that's all you're expecting, that's fine by me. My issue with VR is the enormous wave of hype around it.
My understanding is that system calls can currently only be made from -w+x regions; attempting otherwise results in the process being killed.

The idea is to extend this protection to only allow system calls from expected address ranges, so that a successful exploit can't simply make raw calls but instead has to track down an existing authorized one (and thus contend with ASLR). To that end, the new call-once syscall msyscall(2) is added. The linker uses it to register libc.so with the kernel after randomly mapping it into the current process.
JVM GC development has seen an upswing in the last few years, one of the most interesting new GCs are ZGC that show impressive numbers, delivers less than 10 ms pause times for any heap size, often than 1 ms for many applications, while having impressive throughput numbers. Another interesting adoption to the containerized world we live in is that GCs recently started to frequently return memory to the OS when not being used.

If you want to read more about these new GCs, this is a great post:
https://blog.plan99.net/modern-garbage-collection-part-2-1c8...
First it doesn't depend on Musk's good will at all. It depends on companies making profit by selling space launches. Second "the near-entire future of astronomical observation" is a gross exaggeration, the satellites only add a bit of inconvenience, which is a much smaller issue, than existing issues like light pollution from the cities. The benefits of starlink, and the slight inconvenience for astronomers are simply not comparable.
Fair point. I regret the error, and appreciate the correction.
Discussed here: https://news.ycombinator.com/item?id=21708328
A shader-based software renderer written from scratch in C89
The worry now is that we’re moving from climate denial to climate fascism (climate change is happening so we need to concentrate the suffering on the undesirables).
I believe that the woman may have made those statements.

I don't believe that a judge would have let her remain part of the jury pool after having made those statements. That's the type of activity that results in a judge being forcibly retired.
To me, it first started out as a key sharing and identity verification service.

That was quite useful to me.

Then they pivoted to a chat app. I had no need for yet another chat app.

Then lately this messy cryptocurrency integration which so far just seems shady.

I am not sure Keybase provides to me any value anymore.
Sure. cmputer gets corrected, not omputer.

Just to provide some additional information, our library Keyvi(https://github.com/KeyviDev/Keyvi) has a very fast implementation of an FST based spell correct.
This is actually addressed -- votes can be made on a computer where ballot options are ordered then printed on a receipt in the same ballot format but with randomized order.
ntdll is pretty close to stable. Technically not stable, but high-profile projects like chrome depend on it, so it's not likely to change at this point.
I’m on the other side; having gotten deeper into languages like c# and java; I think those technologies are vastly over used, and great languages like Python and Typescript are under used.
Yeah, true, that may happen. Ideally you get a combined payment by hours with a bonus for performance. That is often a bit complex or tricky though.

You mitigate the risk of getting paid not enough in case the hours spiral out of control while still getting paid a lot when you outperform expectations.
From the keybase update:

> As a bonus, their profile pic will get covered in Poo.

This is in reference to accounts that have been blocked.

If more people see this than the person who blocked it’ll be ripe for abuse.

This seems entirely unprofessional and a bit childish. Says something about the culture at keybase.
You can click the lightbulb to get a hint. The way I solved it was with a Mutex.
This answers a long-standing question I have had in the back of my mind: Why aren't oral vaccines more common?

I imagine it takes a more aggresive formulation to be effective orally, whereas injection is a straight shot into the fray of the immune system's war on pathongens. These more active forms seem to raise the risk of mutation to active virulence.
Getting Carried Away
> Is it not possible that this mechanism by which the most popular product is the most attractive one (to prospective employees and employers in our example; in another example it might be people wanting to make phone calls) -- thereby making that product even more popular -- could create what grandparent referred to as a "natural monopoly" even in a completely unregulated market?

You must realize that you're describing a free product, right? The way people organize around free things is totally different to something they pay for.

People are incentivized to not pay for bad service when better options exist. And the worse the service or the higher the price, the higher the incentive. Entrepreneurs are incentivized to enter a market under those conditions. The more opportunity they see, the more likely they are to enter the market.

The only way to prevent competition is to provide such good service that there's no room for competition (which I can't see a problem with), or to raise the barrier to entry with state policies.

> You might reply that Microsoft could not have achieved its monopoly without the enforcement of copyright laws by governments. Well, consider an alternative reality in which there is no copyright law, but Windows is distributed only with new PCs and runs inside a cryptographically-secure enclave.

I don't think what you're describing would stop anything, but it sure would make using a computer more onerous and likely push away a lot of customers.

> In other words, there are purely technical ways to achieve the same business goal that was in actuality achieved by copyright law.

There just aren't the same tools available to firms when software can be freely modified and redistributed.
The embedded video showing a Smalltalk inspector being used to examine Python objects - that put a big smile on my face.
Yeah, that sounds amazing. Do you think there should be zero alternative firms

Now imagine a picture of a city with 10 sets of power lines, gas lines, and water lines. Each having to ask for right away to dig up streets and right of way...

That's a ridiculous assertion and doesn't apply to any other good. There may be more options for the affluent, but that's not the same thing.

It’s not an “assertion” it already happens with internet and cable. No one is going out of their way to offer gigabit internet to rural America.

Before, the government forced utility companies to offer service everywhere for phone lines, electricity, and to a lesser extent water.

And why should they? People should be living efficiently in cities anyways where they're more productive and have less carbon footprint.

Right, who needs silly stuff like farms....
You have to know about persistent data structures
> The article is literally about even SpaceX admitting that there is a huge problem.

The article is about spacex admitting that there is some inconvenience, and using maximally cautious wording to not attract angry social media mobs.
It's likely that Qualcomm, Samsung, and HiSilicon will have essentially the same performance because they will use the same cores on the same or similar processes.
>Those two dots, often mistaken for an umlaut

Hmm maybe it's because it looks exactly like an umlaut and is often placed exactly where an umlaut would be placed?
I'm like you (and also looking for a job) and I think companies are scared to hire someone that can do everyones work better. But as its very tempting to dip into evey jar I appreciate that the others are there so that I can concentrate on what Im most productive at.
Yes. I am 100% in sympathy with the people who are concerned about unwanted messages and team adds, but the nuclear option at the bottom of the post seems to cover it:

> `[ ] Only let someone message me or add me to a team if...`

The only thing I can think of that would be better than this would be to enable this by default.
Not sure why are you correlating unrelated reasoning with MS deal with US Military.

You seem to suggest that MS is poor at Cloud game, which is not exactly true. They are cost effective compared to AWS and catching up.

Maybe military wanted to save money. May be this is all about a better deal after all.
What’s the advantage of lightweight threading features? I thought your position (based on comments elsewhere) was that kernel threads are roughly as fast as it gets? What am I misunderstanding?
How to cope with having fleshy human brain
When was the last time you went to Sourceforge? How do you access it?

It isn't ad filled here. They went through a bad patch when owned by the previous owner, who was trying to figure out how to monetize it, and made bad choices in how ads were presented. These days, ads normally get presented during the period when you are actually downloading something hosted on Sourceforge. (And I visit using Firefox with uBlock Origin enabled. It works fine.)

And bear in mind that the practical definition of "free" these days is "Someone else pays for it." Just who is that someone else and where does the money come from? Offerings like Sourceforge are expensive to operate and maintain, with full time salaried employees doing it. The money in their paychecks comes from somewhere. The usual source of the money is advertising.

Yes, GitHub is still free, but GitHub is now owned by Microsoft, and there are folks who object to that. (I am not one of them.)

Would you be willing to pay for a "no ads" version of Sourceforge or similar service?
Personal attacks will get you banned here. Would you mind reviewing the rules and sticking to them on HN?

https://news.ycombinator.com/newsguidelines.html
In general, I would agree, but you are one OS upgrade from failure (see Mac OS Catalina). I would imagine some testing will surface that the company needs to act.
As I understand it, shallow trenching was a way to try to get around incumbent lock-in. They were trying to bypass the barriers that were raised by regulatory capture.
One thing I dislike in Java is the string comparison.

If you write str1 == str2, it compiles but probably does not do what you want (object identity vs string comparison).

(edit: to clarify, this does not mean Java is not a good language overall, every language has its own set of shortcomings and as someone points out in the replies, this behavior is consistent with everything else in the language)
The not-so-secret trick to cutting solo car commutes: Charge parking by the day
Pffft, it barely has anything on the more imposing among Soviet buildings—mostly municipal ones. In fact, the irregularity of structure below the two top floors provide some diversion for the eye.

When I look at brutalism abstracted from its surroundings and signs of everyday life, it really hits me how it resembles Quake maps. I.e. it embraces variety of structure just as much as uniformity of the looks: https://www.format.com/magazine/galleries/design/lego-sculpt...