skysight-inc/HackerNews huggingface dataset:
Not sure what the parent means by it, but here is lines of code data generated using David A. Wheeler's 'SLOCCount'.

SLOC Directory SLOC-by-Language (Sorted)
36270 top_dir ansic=35504,sh=460,perl=306
28825 win32 ansic=28716,asm=109
9692 tests ansic=8806,asm=858,sh=28
2395 lib ansic=2252,asm=143
158 include ansic=158
140 examples ansic=140

Totals grouped by language (dominant language first):
ansic: 75576 (97.54%)
asm: 1110 (1.43%)
sh: 488 (0.63%)
perl: 306 (0.39%)

As far as I can tell, the top-level directory is the actual compiler itself. 35k lines is pretty small for a real C compiler that can bootstrap GCC (the versions that were still written in pure C).
Idk, a power company that can not safely power people year round does not make any sense to me. Obviously they want to shift that liability here but I would argue if you can't supply power year round then you have no business turning a profit and as others have said here if it wasn't for the fires they caused they were set to turn a profit. Perhaps that profit came at the expense of proper equipment maintenance? So no a business selling an essential service that makes its shareholders profits makes absolutely no sense when they had money they could of used to fix some of the lines.
There's a vast difference, namely a geographical one. Blizzard compromising the freedom of a non-Chinese resident because of something he did in a non-Chinese platform.

Apple is compromising the freedom of Chinese residents in China.

While I don't really support Apple's action it's easy to see why the first issue should be Blizzard's blame while the second issue is China's blame.
The Computer as a Communication Device
They start the first paragraph saying "The TOP earning writer here makes X ..." then "The TOP content creator there makes Y ..." The second paragraph says "This is INDICATIVE of ..." How does the logical fallacy here not occur to them? That they use a MAXIMUM to describe a distribution in the way that a person who is not completely out of touch with reality would use a median or mean. Silicon Valley megalomania par excellence.
An exposition on why Quake 'failed'
I hear this on the Internet all the time but in middle school everyone was nice to me and I was nice to everyone. There was some banter and we sometimes accidentally injured each other because we're clumsy and sometimes we fought, but 'cruel'? I don't recall anyone being cruel.

In fact, I remember seeing this right after I finished high school too. The Internet was always "Kids are so cruel to each other" and now I wonder to myself if this isn't just the culture you guys have built where you live.

Of course we had uniforms and nearly everyone came in on public buses unless they were rich or lived close to the rich kids.
I don't understand why you make patently false claims when Google is right there.

- The GPS program started in 1973 and the first satellite was launched in 1978 and was became fully operational in 1995. Prior to that, what global system for location identification existed?

- Speech recognition didn't work effectively 15 years let along in 1969. Dragon didn't even exist until 1982. In 1962, the state of the art in speech recognition was the ability to recognize a vocabulary of 16 words if they were clearly spoken. And in 1969 Bell Labs shut down speech recognition efforts: "It is not easy to see a practical, economically sound application for speech recognition with [current] capability"[1]

- "which effectively ended infectious disease as a public health problem". This is such an unbelievably uninformed thing to say. Infectious disease continues to be a major public health problem (ask literally anyone in public health if we have "ended infectious disease as a public health problem").

- What space stations existed in 1969? Salyut 1 launched in 1971

- ARPANET in 1969 was absolutely not "instant global communication"

Your 'good old days' glasses are ridiculous.

[1] https://pdfs.semanticscholar.org/0155/01c4d26a92993332ada795...
It may be trivial, but it can be equally trivial for a manufacturer to to use misleading fonts or units to cause sufficient confusion to increase sales by a small margin. Every label under every product I see has the price per kg preventing such deception.
On top of all of that you had to compete with Sun Microsystems selling a fully boxed set of Solaris 2.5.1 for the i86pc for $50 USD. There was just no way to compete with them.
SCA explained
Tutorial on CoQ, a proof assistant

https://news.ycombinator.com/item?id=21185624
On the one hand it sounds great to let parents participate in their children's academic education, but in reality such participation is a hard requirement for success.

And that, in turn, disadvantages students with working parents, or with parents that don't have the skill or experience to guide them to higher achievement.

It may sound awful to trust "the state" to handle education independently, but the alternatives are usually worse.
I looked through old news stories. I found this (April 2016):

https://www.sacbee.com/news/california/fires/article74496267...

> Cal Fire blames PG&E for Butte Fire, will seek $90 million

> A Cal Fire investigation has found Pacific Gas and Electric Co. responsible for the 2015 Butte Fire, one of the most destructive wildfires in state history.

Also found this (July 2016):

> Pacific Gas & Electric Company has signed a multi-million dollar contract...to remove about 160,000 dead trees that were cut down to protect power lines on private property in 10 Central California counties.

https://www.sierrastar.com/news/local/article90649657.html

There wasn't tons of outrage--op-eds saying this is a disaster waiting to happen--and they probably saw "most destructive wildfires in state history" and $90M and decided it was manageable. They were also probably still focusing on preventing the next San Bruno pipeline explosion and less worried about wildfires. It's too easy to look back with a hindsight bias and say "of course they should have done more."
I believe relying on machine learning is doomed to fail because I don't think it can feasibly offer the robust safety guarantees required.

I honestly don't expect go-anywhere L5 in the next decade at least, and I definitely expect an engineered approach to hit L4 first.
This is so much better than CTRL+R that I've bound the key combo (CTRL+R/F) to this. `history | grep` suffices in those rare cases where I need the original CTRL+R behaviour.

I tried binding the arrow keys first, but it turns out I sometimes give up in the middle of writing a command in favor of reusing one from recent history, for which I need the original arrow bindings.
Last time I looked it up, law enforcement would treat white women the most lenient, followed by black women. White men are treated a bit worse than black women and of course, black men were treated harsher than the other groups.
Some areas of the UK have them. (State schools in those areas anyway.) I believe as a deliberately modelled-on-America experiment some time ago that stuck in those locales but didn't expand.
That doesn’t sound right. The EU doesn’t have jurisdiction in non-EU countries.
As a counterpoint, I grew up with McGruff the Crime Dog, which is still used today:

https://en.wikipedia.org/wiki/McGruff_the_Crime_Dog

Also worth noting that K9 Units are heavily utilized by police

https://www.police.gov.hk/ppp_en/11_useful_info/pdu/index.ht...

There is a historical precedent of that association.
There are a number of people livestreaming all the protests, including setups where you can watch multiple streams on a page. One of the streamers is a hero who rolls up to protests in a wheelchair.

There's also lots and lots of long-form protest footage available, but you need a Chinese speaker to help you Google your way to it.
I see it as a difference where people want to join, or are forced to join. Nobody wants to be part of a immoral power, because the immoral stuff will happen to you too. People want a just and fair system.

I split it like this: do you have people at the borders to keep people out, or keep people in. If you have to use force to keep your own citizens and regions in, well good luck to you.

On the other hand, if you have to refuse people and regions to join you, you're in a very good position.

That's why you can only keep using force and supression for so long, and history has shown that we evolve to more fair, moral systems.
And after all that, editing (simply rotating) the photo in different applications has different results. Some change only the Orientation tag, others change the actual data, some seem to change both so it's still incorrect when opened in other viewers; and then there's the embedded thumbnail (but that is rarely used), so the result is a mess.

I'm interested in your PhotoStructure application, just subscribed to the beta!
The Basics of Neural networks and it's principles
That problem could probably be solved using an FPGA (or even simpler tech)
Not sure why this has been downvoted. It's an interesting way of looking at the issue. You don't have to agree with what China does.
An observable consequence of such dependencies is the degree to which income and academic achievement are "inherited", in the sense that kids with richer or better educated parents have more than a leg up.
It's worse than that in some cases. I used to work for a big 4 consulting firm and they had some horror stories about border device searches.

The company policy for travel outside the EU was simple... Your own laptop would go into a server room and become a remote desktop host, you'd be given a blank laptop. When you got to your destination safely you'd call up IT who'd tell you where to download the VPN software and provide you login details. If asked why you laptop was blank by border agents you were instructed to give them a copy of the company IT policy.

Which is all well and good border agents demand you go through the above process and log in to the VPN and then remote in to your own laptop. It happened on multiple occasions in several countries and in most cases the employee was deported after refusing to comply.
New pass in the HIMALAYAS remains motorable for only 2 months in a year
This isn't free market. PG&E is a gun backed government monopoly. If the free market was in play this wouldn't be an issue.
Or maybe the odds of your cat being in two places at once is miniscule and is less and less likely the more lasagna he or she eats.
I don't get the benefit of Activation Lock, a thief will find it out only AFTER your phone was stolen, I doubt they will give it back to you.

It's the same as with GPS / Position Car Alarms- it's great for your insurance company, but in most cases I don't want to get my car back damaged or in pieces
Anyone know where to hook up technical writing gigs? We dont have stripe in my country so I cant get payouts on medium. I used to write for an Elasticsearch blog. Would love to get paid for technical articles. I got a whole portfolio and plenty of passion.
That's what you get for a game where king white hat tries to capture king black hat by keeping him in check.
Xfsbgdxfg
https://qiita.com/ronaldo-tv/items/5111f1b9df3478c4e0bb

https://qiita.com/ronaldo-tv/items/cdc13674aee519da6554

https://qiita.com/ronaldo-tv/items/c265091cb4da3d614624

https://qiita.com/ronaldo-tv/items/5f5bf7a1770a9bd658bf

https://qiita.com/ronaldo-tv/items/799cc7bc7e27470bfadf

https://qiita.com/ronaldo-tv/items/dc69b95fce2f97075594

https://qiita.com/ronaldo-tv/items/f1938c3373cef0f45209

https://qiita.com/ronaldo-tv/items/04470d709f9399d818ee

https://qiita.com/ronaldo-tv/items/7fa0407595df4ebd6a52

https://qiita.com/ronaldo-tv/items/c3cbcdccb28f40be14cd

https://qiita.com/ronaldo-tv/items/8f85edbeee4af2559319

https://qiita.com/ronaldo-tv/items/5cbc7fdbf1e1058f2b80

https://qiita.com/ronaldo-tv/items/bf3aeed30a776be647cf

https://qiita.com/ronaldo-tv/items/fcb6efc48beff393e651

https://qiita.com/ronaldo-tv/items/14f034537926ddf3939e

https://qiita.com/ronaldo-tv/items/a5cc0ae5910cb46f0b79

https://qiita.com/ronaldo-tv/items/c3ff65acb07fc418432f

https://qiita.com/ronaldo-tv/items/6aec38d1b884020c21c1
You broke the site guidelines by posting this. Would you please review https://news.ycombinator.com/newsguidelines.html and stick to the rules when posting here?

Here are various explanations if you want to read some:

https://news.ycombinator.com/item?id=21200971

https://news.ycombinator.com/item?id=21201077

https://news.ycombinator.com/item?id=21199884

https://news.ycombinator.com/item?id=21195089

https://news.ycombinator.com/item?id=21195898

Previous comments on this at:

https://hn.algolia.com/?sort=byDate&dateRange=all&type=comme...

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
That's basically using your own phone as a burner phone.

You could probably stick a few innocuous photos and messages on it and claim you'd just upgraded or something.
I don't speak Russian, but assuming GP does: Maybe it's a pun? Both meanings convey propaganda about him.
I’m someone that only vaguely knows Typescript and doesn’t know Elm at all, so please forgive me if these seem obvious but would you mind expanding on some of your points?

In what way is the Typescript tooling better? i.e. what can you do with it you can’t do with Elm’s tooling?

Also I’m intrigued by the claim of “easier server side rendering” is it difficult to run Elm code on top of node.js?
So does it extend 100 miles from airports?
NBA spectators show support for HK protesters
From my personal experience, it's hard because of all the hormones.
You know, we, working at Google, are people, right? We have moral and ethical standards just like everyone else. Many (but not all) of us also aren't locked in to Google and can find employment elsewhere easily but choose not to.

The following isn't about Google as such: Thing with a disgruntled criminal employee is that they don't usually come in bunches and don't collude because they can't easily identify each other. Which means they can't generally commit such acts and then also corrupt a whole 'nother department to cover it up.
Any advice for dealing with co-workers that are too attached to their code?
The rules only changed in the 17/18 tax year. Also most prominent non doms have never previously been UK domiciled (eg the Goldsmith family have inherits non dom status for generations) or currently live and are tax resident abroad.
Reframe the conversation by calling it a "passion" economy, then conveniently avoid mentioning what a representative "passionario" will earn.

It obviously occured to them, but they can't "monetize individuality" if you actually let people know there's no money in it for most.
I think what you don't get is that in a state the size of California, ancient and faulty equipments is part of the course. Not everything can be sparkling new w/o incurring massive costs. Also, even then California regulations will fault PG&E for any fire they may have caused despite them taking all possible precautions (including replacing old equipments).

California burning down has been occurring for centuries - PG&E or not. Now what is happening is that real people are suffering because of no electricity since PG&E is doing the most logical thing it should have done even 2 yrs back.
I sure hope not.

I work for a financial institution and our phones are locked down hard, including pair locking. This is done as a requirement from the FSA as a result of having access to confidential data on the phone. None of the data is stored on the phone, or even cached there, but it's still pair locked.

I regularly bring my phone through US customs, and i've yet to have any problems. Granted, i travel from a visa waiver country, and am a white male, so my experience is probably not typical.

My personal phone gets backed up and wiped before travelling, and is usually just running a selection of "basic apps" - phone, messages, and a few utilities.

Once i arrive at the hotel i restore it from the real backup, and repeat before leaving again. 10-15 years ago this was the procedure i would follow when traveling to China or Russia, but modern times has expanded this to include the U.S.A. and GB.

If it's just a short trip (1-2 days) i just bring my company phone though.
land of the so-called free.
I think the OPs point was that the demographics of HN users are mostly US citizens.
I’m relatively familiar with the geography, but why oh why, in an article with this headline and subject, is there not, before anything else, a map indicating the UK and the Isle of Man?
or you could go out and Vote!
That is to be expected with a government supported monopoly. Buckle up.
It's really not a matter of ideology, it's a matter of law. They either comply with Chinese law, or they risk their employees being arrested for breaking the law, or they stop doing business in China.

I think they would argue that, given that all phones are subject to state surveillance, iPhone users in China are no worse off than if they were using another phone. Also since iPhones are generally a lot more secure than other phones against non-state attacks, they are actually better off than they would otherwise be.

That's a tough call. I have family in China, since my wife is Chinese, and they have iPhones. Would they be better off if Apple pulled out of Chine or worse off?

Well, they chose iPhones and they are more secure so isn't it up to them? They wouldn't thank me if I took their iPhones away. On the other hand, if Apple pulled out of China on privacy grounds, it would be massive news. It would not be something the Chinese government could ignore, and might conceivably raise awareness of pervasive state surveillance in China.

But people in China are already very much aware of pervasive state surveillance. They even have a social credit system based on watching everything they do. Chinese state control of public narratives is so total, I actually doubt it would make any difference.
It has pawn in it.
It might've been better to respond with the fact that you had only just received that laptop from the company, which was the truth.
In Germany it's worse. We don't have a distinct middle school as such, but we have three parallel tiers after four years of elementary school. One is only until grade 9, one until grade 10, the third is up to 13 years.

I'm leaving out a lot of details here, but basically students have to choose one track after elementary school. And upgrading is hard, especially because the lower tracks are "optimized for slower learners". Side-Note: As you might have guessed, the track selection has become more and more based on ethnicity.

Studies have shown that such a tracked system is worse in every imaginable way. But it is extremely attractive to conservative academics.
UK and tax havens have a long history. It is pretty sad and tells a lot about the quality of information in UK that most British people do not know about ATAD: Anti Tax Avoidance Directive, a EU attempt to crack down on tax havens, which will come in effect on 1st of Jan 2020.

Thanks to Brexit, UK will secure its tax havens, to the benefit of very few and to the detriment of many...

See https://www.taxjustice.net/2019/01/23/brexit-and-the-future-... for some more info.

[Edit: corrected the date]
I must be missing something about compiler design, but why does it seem to have an interpreter at the and of main?
Please tag the 3.3.6 release on GitHub. Downstream packagers may rely on it to upgrade.
I'm not 100% sure if it's in the default configuration or if it's something I turned on, but my zsh has the same 'search up/down based on the beginning of the line' style behavior.
The external consultant developers are incentivized to keep essential knowledge to themselves, in order to get new contracts later. The supplier's IT consultants (Bekk) don't share essential knowledge with the customer's developers (Vy).
Also the prefrontal cortex is not yet developed enough to keep the hormones in check.
Apple has simply said it will pursue user privacy and security to the limits of what the law will allow. That is all.
> For the time being, IOM companies have GB VAT numbers, and a banking system that integrates seamlessly with the UK one, as well as a postal system (quick, which country is 15 Hope Street, Douglas, IM1 1AQ, British Islands?). This makes the sales process to UK and EU companies painless.

I bet that's been used for VAT fraud with EU companies.
Fairly sure the cost per MWh calculation for solar that is less that fossil fuels don't include batteries.
Fluid ounces, you mean. 128. Not a fan of base 2, I take it.
How to Get Investors to Engage with Your Emails
When I want to buy cherry tomatoes in German REWE, usually half the varieties have their unit price listed in €/100g, while the rest is in €/1kg. While metric does make converting in your head easy, I bet this still throws off a lot of the non-mathematical people and is done very much intentionally.
As an open-source maintainer, helpful error/debug messages is the key to reduce the number of GitHub issues, mails and all the other way people will track you down to ask for your help.

Ultimately spending an hour writing helpful errors can save you hundred of hours in support.

Of course you can just ignore everybody asking for help, but then if people aren't going to be able to use your project why make it open-source in the first place?
An Attempt at Correcting Bias in Tech Goes Wrong
In most US school systems, middle school marks a transition from students having one teacher and classroom for most of the day to having multiple (6 to 8) different teachers and classrooms during the day. So that is potentially a 5X multiplier on the number of different social interactions that each student will have to deal with each day. On top of that they have to learn each teacher's style and expectations in order to do well.

I used to think the difficulty was due to the onset of adolescence but I think if you forced most working adults through such a transition for a year they would not fare well. This is why most people hate service jobs.
Yup, Moonwalking with Einstein explains this phenomenon well. I know I'll never forget 'Sex On Hard Concrete Always Hurts The Orgasmic Areas', which my Maths teacher passed on ~30 years ago.
We use machine-learning models to extract location, tags, links and entities from job descriptions. Also, we are working on an Email/App notification feature where you can subscribe to a specific location, tag or keyword and get notified as soon as there is a new job available on the market.
>natural language generation, stock prediction, playing games with multiple agents, even content recommendation

I'm not familiar with the games, but from what I've seen with all the other things listed, that's not a technology that I'm anywhere near ready to trust my life with.
This one is fantastic: https://github.com/michaelforney/cproc
Understanding Linux Scheduling Behavior with SchedViz
They are running JavaScript as server code, not just serving JS files for a client.
Apple is not your friend
Was that controlled? That is, did they measure only illegitimate detainments? Because I'm sure crime rates vary by demographic.
All banks I had an account at required verification for any payment order, including the direct debit. Some time ago (before widespread internet banking), you could issue an order that would be verified just against the details you mention _plus your signature_.

I hope it's not possible anymore. At least my current bank lets you authorize direct debit in internet banking app. Anything you do in person requires either logging-in to the internet banking account at the branch or presenting an ID.
that or train models to be rotationally invariant.
Hkmap.live is available on the google play store. You can also sideload whatever app you want.

So not "the same" as google.
Visualizing Rust Compilation
> all exponential trends are s-curves

What does this mean for the stock market? And debt? Or really, what does an economy look like when it's done growing, but stable?
Ah, you're right. The uncertainty surrounding a hard fork can be a rational reason for a price jump after a successful fork.