skysight-inc/HackerNews huggingface dataset:
I think it's analogous to how Google search works in relation with SEO. Right now you have to divine what it's happening when you app is removed from search results.

Worst is Google Play developer support won't even tell you why it did happen so you can only do blind changes and hope for the best.
Otherizing - great terminology. It is important to remember that all of history's "monsters" were human beings. Calling them monsters is pretending that it couldn't happen in your own culture. It could, and vigilance is required.
Well, the practical answer that all languages I know of have separate lexical and grammatical structure. It's just easier to write if you separate them. Though it's baroque, even bash has clear lexical structure.

In my code, the lexer is the foundation and doing a lot of useful work. It's a map from the 13 modes to a list of regexes, which is a lot of logic that is kept out of the parser.

https://github.com/oilshell/oil/blob/master/osh/lex.py

The parser just calls lexer.Read(lex_mode), which hides the complexity of all these regexes.

(The lexer might look weird, but I wrote it in a style to port to C, and in particular using re2c. This is an awesome tool which I've mentioned in my blog a couple times, but not written about yet. It combines regular expressions and turns them into a bunch of gotos in C.

http://www.oilshell.org/cross-ref.html?tag=re2c#re2c
)

-----------

For a more theoretical answer: I've had this discussion before, and I would claim that lexing and parsing should be separate because they differ in both computational power and running time.

Lexing is fast but not that powerful -- you are structuring the input stream with (at most) regular expressions. It can be done in linear time, without backtracking. On the other hand, parsing is slow but more powerful, e.g. CFGs or PEGs can recognize more than regular expressions, but they require backtracking/memoization/lookahead/etc.

In other words, why not do the easy work with the fast algorithm, and then do the harder work with the more complicated, expensive algorithm -- on a shorter input?

I came to the conclusion several years ago that PEGs only combined lexing and parsing for reasons of academic presentation and proof. I don't think it actually helps you in practice.

Hope that answered the question! I think my shell lexer is somewhat interesting so I plan to blog about it. Honestly re2c was almost the thing that inspired me to write the shell -- it would have been intractable otherwise.
There's a lot of complaining about Castro here (and elsewhere) specifically because he was a communist. But if you think about it, the capitalist West has really dropped the ball on this. Most of these communist movements - in Vietnam, Cuba etc - were originally national liberation movements. And the reason why they appeared was because the respective countries were colonies, and their people were painfully (in many cases, literally so) aware of that fact.

Now, suppose you're a leader of such a movement. What's going to be your ideology, beyond just national self-determination?

Well, on one hand, you look at the guys that are currently busy denying you that, and you notice that they generally tend to be capitalist countries. If you listen to what their ideologues have to say, they notice they aren't actually saying much about your plight at all - it's all about some abstract stuff like free markets.

On the other hand, you have those communists, who constantly talk about imperialism and colonialism, and how it sucks for those on the receiving end. And you know it's true, from your own experience. And those guys haven't ever made you their colony, and aren't demanding that you become one. Basically, their talk on that subject is entirely in your favor. Well, why wouldn't you believe that they're right on all those other things, as well?

There are actually several examples of leaders that weren't initially particularly left-wing becoming more so solely because they were fighting against some Western country occupying them, other Western countries were just pretending nothing's happening (at best; at worst, they were actively helping the occupier, as in e.g. Indochina), while the Soviets were ready and willing to supply food, arms, and everything else you need to fight. Of course, it came with ideological strings attached, but beggars can't be choosers.

Castro, for example, was not a communist when he first started to participate in violent resistance. He was anti-American, and specifically anti-American involvement in the countries in the region, which then consisted of backing dictators like Batista and Trujillo. It was sometime after he started down that road that he became to radicalize along Marxist lines, especially after several bitter setbacks (that also made it clear that fighting against US requires a powerful ally to succeed).
It'll take some time to get to that point. Is the proposed driving mode a good stop-gap? I think it could well be.
I'm hoping someone can explain this:

You don’t need profits to ‘reinvest’, to finance the expansion of your company’s workforce or output, as the recent history of Apple and most other corporations has amply demonstrated.

How do you reinvest without profits, and what is the Apple example? Apple makes a profit, and reinvests... confusing. Is he suggesting a loan, perhaps?
My first job in London in the 90s was £3/hr. But tell me more about this "minimum wage" - £7.50/hr isn't it?
Never heard of /usr/etc and /usr/var ...
Man, I'm so tired of the whole self-driving meme

It's years off in most of the world, while more and more sophisticated infotaiment screens that can distract the drivers are ALREADY on the market
Cool, I'd be curious to see it! I actually wanted to bootstrap a shell in Lisp, inspired by the es shell [1] and so forth, but I decided against it after some experimentation.

[1] https://wryun.github.io/es-shell/
Fidel != Hitler

https://en.wikipedia.org/wiki/Godwin's_law
> It also ended up a lot better than non-intervention in Syria.

It ended marginally better because NATO's intervention decisively tipped the scales against Gaddafi's regime.

The Syrian civil war has been in a stalemate for years, and only recently has Assad's regime been making inroads due to Russia's decisive and no-holds-barred military intervention.
H265 – part II: Considerations on quality and “state-of-the-art”
I've come to see the Cuban revolution as something different than the sole work of Castro etc. wether you regard their work as accomplishment or atrocity. Also Socialism, Communism, Marxism are just the packaging. The core of the whole movement back then was the wast income inequality combined with US-foreign-affair meddling with Cuban domestic affairs, perfectly illustrated by mafia movies depicting Cuba as the playground for America's filthiest politicians and Nouveau riche.

It was a US-caused political niche that was eagerly filled by the most opportunistic/capable people available.
I found this video [1] quite enlightening about the nature of power and how to hold onto it.

[1] https://m.youtube.com/watch?v=rStL7niR7gs
Africa too is more peaceful than it has been pretty much since the start of the colonial era. There are a few individual wars going on, but Africa is huge, and much of the massive economic boom of large parts of Africa over the last couple of decades has been down to wars ending or slowing down.
I thought you could already do this? I use Stripe in the UK, and can accept multiple currencies. I can also set up multiple bank accounts for deposits in each of those currencies (although I do not at the moment). I suppose this varies by country?
> Jacobsen thinks that this water may help explain why Earth is the only planet we know to have plate tectonics. “Water mixes with ocean crust and gets subducted at convergent plate boundaries,” he says. “Introducing water into the mantle promotes melting and weakens rock, likely helping out the motions of plates like grease.”

I am completely befuddled by plate tectonics. In particular, every drawing I've seen of the plates shows the surface of the Earth as kind of like a jigsaw puzzle, with the pieces being the various plates, and everyplace being part of some plate.

I don't see how there can be any significant relative motion of the plates. For instance, take this plate diagram, found on Wikipedia: https://en.wikipedia.org/wiki/Plate_tectonics#/media/File:Pl...

That looks like it should be pretty much locked up. For anything to move, something else would have to give way, and for that to move, something else would have to give way, and so on, and you'd end up at most just being able to make the whole assembly move as a unit.

For there to be significant movement, it would seem that the plates would need to be changing shape in addition to moving. Is that something they do that is simply left out of the popular science explanations?
Is the issue really with how people interface with applications, or rather that interacting with applications takes focus away from the road?

A person can be looking at the road with their eyes but not focusing on it (being prepared to respond) at the same time.
I don't think it's a good stop-gap for me. I wan't to be able to use my own gps app (OSMand), not retarded Google Maps that has less features than bottomfeeeder gps unit you buy at wallmart

But I can concede that people are sure as fuck going to use facebook on those screens if there was a way to do so -.-
With all due respect, that's a crazy exaggeration. There is nowhere in America where the entire neighborhood has no electricity, no running water, no sewage, and no paved roads. Such places are common in Africa and India.

https://www.facebook.com/126979a/posts/10101269399749522
Indeed, the most powerful agents do not have any correction signals to fear from above. They can rather impose rules on the system themselves. One can only avoid such dynamics by empathy (which is a very weak guarantee) or by making the government being controlled by the people and stronger than the most powerful players (which is democracy).
> but comparing Cuba before Castro and after Castro wouldn't be fair. Pre-Castro there was a lot of foreign investment, post-Castro there was an embargo.

Seems to be a direct consequence of Fidel Castro's political initiatives. I'm sure we can agree that Castro's regime has at least some responsibilities in this outcome.

> You can argue whether that's something that can be blamed on him, but if we were to give him the benefit of the doubt I wouldn't call that a fair comparison.

That assumption is rather disingenuous. There's a clear before/after period in Cuba. I'm sure you agree that Fidel Castro is the direct responsible for this revolution. If he is responsible for this change, what exactly leads you to believe that he holds no responsibility in any negative consequence that arose naturally from his direct political actions and planning?
Butchering priests in the name of revolution? Nope. Sorry. Can't appreciate the 'humanity' of someone that clearly doesn't deserve to be called such. Suggesting Castro deserves acknowledgement of his humanity is like suggesting Hitler was a sensitive art student.
Well, being a lurker in /r/golang for about 8 months now has shown me that the official team was always looking for a way to clear out the reddit community. They have a strict moral police and do some weird shit.

https://www.reddit.com/r/golang/comments/59nk46/stalking_peo...
Current Teslas [1] along with the Nissan Leaf and Chevy Bolt all have single gear transmissions with a ratio of about 8 to 1. It is true that these are very simple transmissions that never need to shift, which should reduce complexity.

1. Very early Tesla Roadsters had 2 speed transmissions.
My car's sensor will trigger on a semi-decent sized watermelon. Drives me fucking insane - it's a Volvo so it really explodes when it triggers when going fast...

It's like somebody just fired a missile at you -.-
I really enjoyed listening to: 2. The Subtle Art of Not Giving a F*ck: A Counterintuitive Approach to Living a Good Life
Zero to Godwin in two posts.
Proposal to Delete /r/golang
Castro was Hitler without the industrial base.

http://www.therealcuba.com/?page_id=55

Essentially he was a pre-revenue Hiltler.
However in this case it's appropriate. We are talking violent, oppressive world leaders. I would offer that Godwin doesn't apply here.
AMD seems to have lost their way back when they merged with ATI and integrated their GPUs into the processors. I remember that in a restructuring they switched from hand-optimizing hotspots in the CPUs to a more abstract approach using design software that worked well in GPUs.

After that decision they fell behind in performance and efficiency. I don't know if that was the root cause but it stayed in my memory as one pivotal point.

It would be interesting to read an insider story on how that decision played out in the meantime.
I've been to Havanna 4 times. The electricity always worked. The room we had at somebodys home had windows but they are not needed anyway. Its so hot there, all you need is some iron in front. Since 2013 at least some had internet and this year there were lots of people at the public wifi hot spots. Yes cuba is not rich and laks many goods but in all my time there in literally all parts of the country I saw nobody suffering on the basics. Absolutemly everbody has enough food, a rooftop, free basic healthcare and money for alcohol and basic pleasures.
It's not comperable to high european standards but I think it could be easily worse there.
Did I mention its secure there? There are no insecure areas to go or bad people to talk to.
The cost per sq ft is higher. You often hit aquifers. Less light. More difficult egress in an emergency. (Just giving some reasons why building down isn't done more, but it is happening.)
Ursula Haverbeck is a nazi who denies the Holocaust and publicly lies about it. She was found guilty of incitement to hatred.

That is not a violation of freedom of speech. Lies are not covered by freedom of speech in Germany, they're not covered by freedom of speech in other countries either, even the US. In fact in most countries certain types of lies are illegal and fall under laws against fraud, libel or any number of things. Germany simply also covers incitement of hatred.

Additionally the first article of the German constitution and one of its fundamental principles is that human dignity shall be inviolable and that the state has a duty to respect and protect it. In my opinion ensuring the dignity of the vicitims of the holocaust is protected requires making sure that the state fights those that would deny the holocaust.
> No laws that would have an affect on free speech or assembly have been passed recently or are under discussion formally or informally.

Masking on a demonstration has recently been turned from an Ordnungswidrigkeit ("contravention" according to Wikipedia) to a felony in multiple states. The aim behind this is to be able to prove via video who is responsible in case violence erupts - yet the biggest perpetrators and provocateurs, the police, don't have individual name/number tags, and more often than not they wear masks.

Oh, and it's illegal to bring any kind of arms to demonstrations, most often it's even forbidden to bring glass beer bottles (and violating this can be prosecuted as a felony).

Sometimes I feel that our governments have intentionally disarmed us - mostly after a couple nasty amok runs at schools, but I believe this is rather an excuse. The real issue at hand is that in case the AfD with their fascist world view ever comes to power (hell, they already got 25% in Saxony), the population won't have anything to fight them with.
This stuff didn't happen after he came to power -- he came to power because of his atrocities.
This really gets my goat. Just having my number is one problem. Handing out willy-nilly to anyone who asks for it is unethical. Unfortunately, no one seems to really care in India. Everyone wants the comfort of knowing who is calling them. Blocking telemarketers seems to be high on the priority list.

This is frustrating for someone who is developing an address book app. I cannot believe that people keep asking us to provide 'truecaller' functionality! I even have a one-star review on the app store because I don't hand out numbers like these apps do. I have seen some other apps gradually given in and add this functionality because of user pressure.

In short, the apps are probably doing it because they are afraid of losing users and hence money.
This isn't entirely true. All counties in Wisconsin may use paper ballots as the main form of voting, but there are two different methods of accessible voting offered: direct-recording electronic machines, and machines that print paper ballots. See http://elections.wi.gov/sites/default/files/page/179/voting_... (Of course, since only a small percentage of voters use these machines...)
Sicp isn't in there because it's almost a common noun on this forum by now. People don't link to the amazon page for it, just like they don't link to the bible :)

Example: your comment.
The whole reason people think it's fraud is because the media led people to think that Hillary couldn't possibly lose. When she lost, people started looking for an explanation.
> Licensure is a key feature so you prohibit people from making fake therapeutic claims or quackery.

Here in Canada, diary farmers need to be licensed to sell dairy products, as do poultry producers (chicken, turkey, eggs, etc.)

Not because anyone is worried about someone selling fake milk or trying to claim ducks are chicken (quackery, get it?). If they were, they'd be equally worried about farmers producing other kinds of food, whom we do not require licensing from. Rather, the story behind it is much simpler: The government at one point found it important to disallow competition to give the people operating in these markets an advantage to help them remain viable, for similar reasons as to why the US has provided farm subsidies over the years.

Anyway, the point being that regulation does not necessarily legitimize a profession. It may simply be an indictor of what interests lobbied hard enough to get economic protection.
You're arguing that some aspects of Hitler's National Socialism don't match Fidel Castro's Marxism-Leninism, while purposely ignoring all similarities, common to any totalitarian and repressive regime.

Castro's long list of political executions are well documented. We may agree that Nazi death camps have a scale of their own, but this is no reason to turn a blind eye to the oppressive and persecutory nature of Fidel Castro's regime.
Actually it has. What is "hate speech" otherwise. And Nazi symbols are also illegal.
Leaf blowers – the Devil's Hairdryer
I've been getting Photos sharing albums spam. Someone sends me requests to accept a shared album and the title of the album is in chinese. Happened twice already.
Everyone who works, works mainly for the money. If there was no salary they wouldn't work there.

You could prove your point and offer your employer to work without your salary / equity. Would you?
I guess it's pretty much black and white for most of us if for life's duration we're forced to do what someone tells us to do. If permitted, we could do a few polls and discover whether such sanctions are regarded by those affected as 'consensus reality'.

'Evil' has religious overtones but it's not a bad word to sum up such a situation.
The police in Germany falls under the authority of the states and not the federal government. Some of them, like Berlin, do require individual number tags.

Additionally you have a constitutional right to fight a government that violates the constitution by any means once legal avenues are exhausted.
If by marginally we mean a difference of half million dead and three million seeking refuge, I beg to disagree.

And yes Syria is an intangible mess now, probably the same would have been in Lybia if it was left to own civil war for 5 more years.
> Since real instruction sets have to be practical for production use, I imagine it would be harder to get the same effect.

I'm not so sure. Have you ever hand-optimised asm? I recall spending hours if not days trying to reduce the instruction count by 1 or 2 instructions in a tight DSP loop (Motorola 56k). It always seems like an interesting puzzle to me.
Didn't realize it. Thanks for the insight.
yeah because fuck privacy amiright guys? /s
> People are healthier and living longer than ever.

Nope. There are frightening reports stating that today's children will die sooner than their parents and earn less than their grand parents. (Europe, ilygt)
This is patently false. If you turn off your WiFi, 4G, Bluetooth and NFC, and only use your phone for calls and SMS, a smartphone can easily last a week. More than a dumbphone with the same features.
I suppose I didn't pick the best examples. Though Mandela was a critic of the US in later years regarding Iraq / Israel, and Hitler's sentiment on America seems to be complex: a combination of not taking america too seriously and not desiring conflict too early.

But I don't think that changes my original point, which is that all dictators can be seen as serving their people, depending on how you define "their people".
To be fair, there are over 250 million registered passenger vehicles in the US[1], and it's not like all the brake dust and exhaust fumes are safely captured and thoughtfully recycled.

And the food in this railway market looks to me[2] to be entirely whole food (fresh vegetables, fish, craps, etc), so these people are probably eating better than US folk.

Not the mention that the obesity rate of in the US is about twice (33%[3]) that of Thialand (17.1%[4]).

I guess I just don't understand how US people feel they can pontificate about how "this wouldn't happen here", and yet you can't even workout basic universal healthcare and your education system a business that seems to set out to financially cripple people from the outset.

1. https://en.wikipedia.org/wiki/Passenger_vehicles_in_the_Unit...

2. https://www.youtube.com/watch?v=BHMMBhZjoKc

3. https://www.niddk.nih.gov/health-information/health-statisti...

4. https://www.ncbi.nlm.nih.gov/pubmed/22526130
> a highschool graduate can no longer support a family at a lifelong factory job.

It's worth keeping in mind that this was only ever true for a large number of people in a very short window in history, basically a few decades in the middle of the 20th century. Before that, you had (essentially subsistence) farming, craftsmen (neither of which could be done without substantial apprenticeship, ie education) or sweatshop factory working (which did not allow for the kind of middle class supporting a family you have in mind).
"Soviet propagandists during the cold war were trained in a tactic that their western interlocutors nicknamed “whataboutism”. Any criticism of the Soviet Union (Afghanistan, martial law in Poland, imprisonment of dissidents, censorship) was met with a “What about...” (apartheid South Africa, jailed trade-unionists, the Contras in Nicaragua, and so forth)." - http://www.economist.com/node/10598774
I'd posit that Trump making noise about the election being rigged beforehand also contributed to this perception.
Sounds like you believed the US propaganda over the Cuban propaganda.
Its not only Facebook its Google, Twitter, CNN & rest of the crooked organisation globally. It's sad that people use services that plainly say to you: We hide, suppress, delete your account and collect whole lot information from you and your family for NSA or anybody who pay enough. Then we decide what is fake news and what real. Note sametime that we have tons of automations that create fake news and big customers pay to us give false news. Also we create shady deals with Rappers like Kanye and we doublecross them later for sure.

After all we are in your side and you are very important for us.

Facebook, Google & Twitter ?
- No thanks!