skysight-inc/HackerNews huggingface dataset:
Cuba’s overall quality of life is impressive considering it is a small poor country with few natural resources (e.g. most of the forests were cleared by European slaver plantation owners) which was in the 1950s a quasi-feudal society with a one-crop economy, lacking infrastructure, and weak institutions, and has been battered by decades of economic attack by its obvious large trading partner.

Compared to every country in Latin America where US allies had control from the mid-20th century onward, the Cuban people have done very well. They have cheap housing, a cheap and effective healthcare system, cheap transportation, cheap and effective education, etc. Most importantly, they haven’t been subjected to decades of widespread terror by fascist autocrats or bloody civil war, the way many Latin American countries were. In a counterfactual world where Batista was left in charge 60 years ago, it’s hard to imagine the Cuban people would be doing as well as they are.

If US foreign policy in the immediate aftermath of the Cuban Revolution had not been so overtly hostile, and if US policymakers for decades afterward had not been so paranoid and short-sighted, it is quite possible that the Cuban political system would have turned out significantly differently. US attempted invasion, attempted assassinations, crippling embargoes, constant threats, etc. forced the Cuban government into a very defensive posture (both internally and externally), just for self preservation.

I’m not a big fan of the political leadership of Cuba, or the lack of political rights there, but objectively it is a pretty okay place to live (being poor in Cuba is probably better than being poor in the USA). The GP’s characterization as “hell” is likely colored by decades of US (and Cuban-American) propaganda bordering on outright lies.
I'm moving to China in a week for graduate school and have been asking myself many of these questions :)

In past trips to China, VPN services--specially Express VPN--allowed me to easily bypass the Great Firewall. That unlocks Twitter, FB, Google services, etc.

That being said, many services don't have a great experience in China. For example, Google Maps doesn't offer public transit or driving instructions. In these cases, using the chinese-based app (Du Maps) is just far better.
> The US is still accepting a very large number of refugees relative to the rest of the world.

Your number only includes resettled refugees, i.e. it doesn’t include asylum seekers who came to the country by their own means. That number would look completely different.

While it’s great that the USA still accepts tens of thousands of resettled refugees, the number per capita is low: only 102 per 1 million residents. There would be room for much more. These resettled people are all thoroughly vetted, and they’ve waited for years in camps in the worst areas of the world. Canada takes in seven times more.
You're absolutely right. The graph could have been clearer, but I should have double-checked my assumptions and that $.30 per resident figure should have been a red flag. I apologize for that basic error.

Looking into this more, it sounds like, while there probably is a perverse incentive because more tickets equals a significant increase in revenue, the biggest problem is the punitive fines for minor non-traffic offenses that tend to compound for poorer residents: https://www.motherjones.com/crime-justice/2018/02/how-does-c.... Note the headline is a little misleading, they seem to mean "non-moving violations".
> And in the United States, major stock-market indexes fell more than 1 percent before recovering slightly.

Ugh, the article wants to do actual journalism but then it spews out bullshit cruft like this.
Show HN is for the author of a project. How do you know he/she is the author of this thing?
I don't think it'll happen. If you're from New York or Canada or Europe etc, the advice is "Come to SV for the incubator, start an American company, and run it from back home in the long run if you don't/can't move here."

That doesn't work so well for China because of capital controls and because the Chinese business environment is so hostile to foreign companies.
I wonder if per-capita is a misleading measure here. Clearly density (i.e. people or vehicles per sq. mi ) is more predictive of your accident rates.
Dissecting a Shader Quine
The root comment didn't reference that or anything else.

The problem with bringing such links into arguments like this is that no one does so for reasons of intellectual interest. For example, in this case, people aren't actually interested in the plight of the Uighurs. Rather, it's convenient ammunition for justifying pre-existing political and national feelings. Such a move is not part of thoughtful conversation at all; it's just ideology and tribal loyalty, which explains why the discussions are so utterly repetitive—and therefore off topic for HN.
> An even bigger issue I have is the huge reliance on mocking which leads to completely brittle tests and code that can withstand no change without all hell breaking lose.

In the .NET world, at least, I highly recommend the AutoFixture library. It's mainly meant for generating test data, but combined with your preferred mocking library it can auto generate mocks on the fly. For example, imagine that you're testing a class with 5 dependencies, but only one is relevant to the current test. AutoFixture will generate all the mock objects automatically for you, then let you capture the one you care about to set up its behavior for your test.
At the same time the USA was imposing its embargo on Cuba, it was propping up right-wing dictatorships in Latin America.

They funded rebels and coups to overthrow democratically elected governments on the whims of fruit companies. They supported Pinochet in Chile while he was throwing people out of helicopters. In practically every Latin American country the USA was systematically involved in brutal repression of the leftists and anything vaguely pro-Soviet [1], without any regard to human rights or democracy.

The USA also did almost nothing in response to the atrocities of the Duvaliers in Haiti, despite being orders of magnitude worse than Castro.

To say that the USA embargoes Cuba due to human rights concerns is completely and utterly laughable. The USA didn't give a toss about human rights in Cuba under Batista, who was incidentally another brutal dictator propped up by the USA.

The USA has never cared about human rights and freedoms in its neighbours.

[1] https://en.wikipedia.org/wiki/Operation_Condor
Amazing curated list. I am always on the lookout to join new Telegram groups. Thank you :)
Take the bundle of spaghetti of spaghetti in one hand, place it vertically in the pot with boiling water, push down on the bundle from the top with your other hand. As the bottom part heats up and moistens the spaghetti will become immediately pliable and start going down and spreading out (in an appealingly geometric fashion), within a matter of seconds. You could cook 10" spaghetti, whole, in a 5" diameter pot with no problems.
Great for people without kids. Unfortunately due to the untrusting and inadequate public transit network (read: no more meaningful bussing) in the US, I'll be ferrying my kids daily for another decade+, requiring a car that seats > 2.
You've been using HN exclusively for political argument about China since you created this account. That's not a legit use of the site, as the guidelines explain: https://news.ycombinator.com/newsguidelines.html. HN is a place for curiosity-driven discussion on a wide range of things, not prosecuting a political or national agenda.

Edit: it looks like you've been creating tons of accounts just to argue about China. That's clearly abusive, so we've banned this one. Please don't create accounts to break the site guidelines with.
Is there an equivalent for iOS?
You don't need input to realize that the government oppression of millions of individuals is wrong.
The about page lists a "Dogancan Ozturan" as the primary author and this post was submitted by a user named: dogancan

I think we're in the clear here.
I would like to believe this, so let's kick it about. I hypothesize that you just get to move state around: that having a pile of perfectly functional code means that you then have to setup/inject a lot of stateful stuff in order to actually test anything, and the complexity of the code/testcode system is conserved. Is there a good way to test this? Is the whole system easier or harder to understand if the stateful bits are isolated?
The answer might be obvious, but I'm not a hardware guy: couldn't they use a FPGA to do the compilation itself, or at least the bin-packing part? Is there a way to code a general SAT-solver in FPGA?
Microsoft Cortana Flaw Could Allow Browsing on Locked Systems
Lol « participating for costs » is a staple of American healthcare and it’s 10x more expensive than not participating for cost literally every other country :-).

And then you get the usual people not going to the doctor when they’re sick (staple of american life) and infecting everyone.
> The US has historically accepted more refugees than every other country in the world put together

This sounds like the case for, not the case against. Yes, we have this proud tradition and it's yet another thing that makes the US exceptional.

From 'The New Colossus' (1883):

"Give me your tired, your poor, Your huddled masses yearning to breathe free, The wretched refuse of your teeming shore. Send these, the homeless, tempest-tost to me,
I lift my lamp beside the golden door!"

Salvadoran refugees are nothing if not "tempest-tost." And it's likely that the gang warfare over running their country is due in no small part to our countless interventions into central American politics.
A citizen of any country would be well advised to first and foremost guard their self-interest. One might argue that accepting immigrants is against the self-interest of the native born/legal resident majority. Speaking as a refugee from what you consider to be Hell (USSR).
Helium Grant
>A lot of americans don't approve of many things the government does but we don't call them a dictatorship oppressing the people.

Because the government doesn't block you from saying those things. It's concerning to me that you don't appear to know what the definition of 'oppression' or 'dictatorship' is.

>One easy example being mega projects, here in the west we seem to wax poetic constantly about returning to the good old days where a nation could undertake mega-projects and yet china just keeps doing them faster than we can keep track.

When you throw enough suffering and death at a project, you can build quickly. Nobody with a brain is suggesting we do projects the same way we did the hoover dam that resulted in silicosis.
Ouch, you are right. So the only strategy would be to switch to lexical compilation blockwise, while fixing the remaining dynamic extent vars.
Historically its been mostly hardcoded waypoints with simple state machines.
Has anyone ever experienced getting cancelled for this reason? I know quite a few people that likely use more than 750 minutes on conference calls most months. And I have never heard of anyone having a problem.

Also, that's an annoying caveat to "unlimited". Unlimited, except ... limited.
>How does people coming to the United States, speaking a different language, eating different food, and holding different beliefs affect your life in any way?

Eventually it becomes South Miami where there are parts where workers don't speak English. Kind of sucks when you try to order from a butcher shop and have to point at the meat and then the grinder.

>>I haven't seen anyone seriously calling for an outright ban of all refugees, so that seems like a bit of a strawman.

>I think this is dishonest. Many people are calling for an outright ban on refugees.

Yea it's impossible to really argue this. Some do yes. Many just want increased vetting.

Language is all I really care about. I don't understand how you can mesh with a society at all if you can't even speak to them. Eat and do whatever the hell you want, at the very least know English though.
Coverage up to X does not mean people will use X. 7200$ is a shit ton of money in India.
It has taken off, to a degree:

1) In some cities CHP + district heating is used for heating in the winter, and the same (or parallel) piping is used for cooling in the summer. Eg https://www.euroheat.org/knowledge-centre/case-studies/helsi... & http://www.districtenergy.com/technologies/district-cooling/

2) In single building systems, ground source heat pumps are sometimes used for both heating and cooling. (https://en.wikipedia.org/wiki/Ground_source_heat_pump)
I would even go so far as to say that "community" has come to mean "group of people who have some common characteristic". No actual interaction or bonds between any of them is required. The word loses meaning as the actual human connections involved are removed.
That's if your area only consists of apartments. What about shops? What about schools and required athletic facilities? What about playgrounds and parks? What of hospitals and clinics, or police stations and jails, or fire stations? And can all these workers get to work using the available infrastructure?

Until 1961, New York had a zoning code that was concerned with exactly none of those things, and planning for services and basic infrastructure was haphazard at best. While the current zoning code is overly restrictive, it at least prevents growth in places that would not have the services required to handle it. (It also prevents the growth in a lot of other places as well, but that's beside the point.)
Wondeful! We need something like this. I hope it takes root.
Not quite true. You can serialize a closure. Emacs lisp does so in a pretty interesting way: a closure is just `(closure ((a . 1) (b . 2)) (lambda (x) (+ x a b)))`.

The point is, if you can serialize closures, I think you can serialize continuations.
> I don't run untrusted code (yes, that includes JavaScript)

It's great that you are so security minded, but do you honestly think every single layperson using a computer ought to never run any untrusted code again, not even javascript? You don't think that that philosophy would set back the state of personal computing a bit?
That's just the way the Federal Reserve works. As long as they are around, they will loan money at interest rates that they set. Potentially they could get out of the money business and we could go back to using precious metals for money, but I don't know how you get there from here.
I don't get why these questions are posed as "problem-lists"; the questions don't seem related (or perhaps by coincidence through the answers). Is it that if we answer these questions, the entire field is "solved" somehow?
watching his videos are eye opening, amazes me what can be done with modern technology and experience.

googling aside, are there resources on how to start with carbon fiber?
I am not sure if this is related but I also worked for a company that had this business model and they were desperately trying to change their business model because the money that came in from these calls was decreasing and would eventually stop coming in. It could be that they stop making enough more.

It could also be that they were bought by a different company that had this business model (something that my old company did all the time.)
One big caveat with enums in postgres is that adding values can't be done in a transaction https://www.postgresql.org/docs/9.4/static/sql-altertype.htm...

It's modifying a type rather than values as it would be if we added a table, or schema if we added a column.
I know how you feel- It's always rewarding when you worked on something but never finished it- you knew it was a good idea when doing it-- then years later someone else does something very similar. No anger from it, not like they stole your idea- it just validates that your original idea was so good that it was just a matter of time until someone else did it. Makes me feel all warm and fuzzy.
Isn't this sort of culture poisoning to be expected when a flourishing university CS department invites the creation of a center for entrepreneurship? Have you seen this sort of arrangement work out before when you invite 'VC' personalities into academia? Maybe it is rare to find non-asshole VCs.

It's incongruent to see these two figures share the same podium. (See it while you can: https://www.cmu.edu/swartz-center-for-entrepreneurship/about... )
ISRO opens its door for people
Vidmate Music
to live in China, one could get by with little to no mandarin; but to do business in China, mandarin is a must.
UK Heatwave Reveals Lost Archaeological Sites
(Shameless plug:)

For automatic unlocking at unattended reboots of LUKS-locked remote servers, see Mandos: https://www.recompile.se/mandos
Except Musk was in Vegas at Defcon, he had nothing to do with her.
Do Free Bitcoin Faucets Really Pay Off?
How's that work? Are you unlocking, say, a rootfs on boot or something entirely different? I'm curious about the use case and the method.
6 Key Factors to Keep in Mind Before Deploying Chatbot for Business – IQVIS Inc
> Eventually it becomes South Miami where there are parts where workers don't speak English. Kind of sucks when you try to order from a butcher shop and have to point at the meat and then the grinder.

Yeah, that would be kinda annoying.

Leaving innocent people to die in a totalitarian hellhole ought to demand a slightly higher bar than "kinda annoying."
Don't dismiss a whole, useful movement simply because some adherents are assholes.
An example of this is say, cigarette advertising, if you were doing this for a job, you'd sure as hell not want to be ripped off by the company, if you're going to sell your soul to the devil, he'd better be paying you fairly.
A lot of the maths in insurance seems improbable.
Since pirates have most likely broken widevine (to the best of my knowledge - I don't have direct confirmation of this), this was also my first thought. I wonder if they've used something like this. As far as I know, it would constitute a complete break of the Widevine DRM model.
As someone who came to the US as a refugee, the differences are far more nuanced than the food you eat or the language you speak. An insular community may legitimately feel threatened by the influx of outsiders. I've witnessed first-hand industries that have been rendered inaccessible to native-born folks through immigration (construction trades). I consider myself lucky to have had the chance to move across continents, but I also think that it's completely natural and rational to keep the door of your home shut to strangers.
Thanks for the link! Unfortunately I don't understand what it's saying the issue is... would you have a simple example to illustrate? It's been years since I did Scheme, I've never actually needed to use call/cc in a program, and I'm not advanced enough in Scheme to have seen shift/reset (as with call/c, their documentation is not quite clear). :\
Or ‘better’ fix an IP to your device MAC in your dhcp settings.
Unsurprisingly, if you start treating a personal relationship like a legal agreement, you'll probably suffer the situation just as badly as if you treat a legal agreement like a personal relationship. They're entirely different creatures. There's no "relationship 101" that covers them both.
> I've not heard of any hospital taking a person's house to pay a medical bill.

Nor I. That might actually be an improvement. What we have instead is people dying because they couldn't afford lifesaving treatment in the first place, and banks taking other people's houses for no reason at all.
You would think if this was costing the big carriers too much, they could just offer their own free conference call number.

They could even spam users with a text message about their own service after someone makes an expensive call to one of the free conference call numbers.
I've seen MySQL do a lot of fairly dumb stuff with temp tables and order by. I've seen a lot of cases where just moving sorting to the frontend took a 3 second query down to 10ms and sorting on the frontend wasn't just a few ms too either. There were too many sorts available in the UI to add matching indexes in the db.

If I can move CPU to the frontend from the db, that's a win, because scaling database servers is harder than frontends.
There are continuation based server-side web frameworks that will serialize & restore the continuation from storage between web requests. Eg Seaside. Rhino can also serialize continuations, there might be a web framework for it too.

For frontend, there are some nontrivial transformations needed to compile continuation based code for a JS target. You can't use the native stack, etc. (Same for WebAssembly I gather, judging from the recent Go/WebAssembly implementation discussion)
Great interview.
I agree about context being sticky...but I can't imagine those tapes not to have leaked in this age of information.
YC needs a suit who will let them convince the PRC that they should be allowed to have a slice of the Chinese economy. They could not have chosen a better person.
General requirements to build and run KIKAPP – Tekraze
Sparc, Tilera and Parallela are unfortunately gone. I had high hopes into the latter two, esp. since Grid CPU's are perfect for machine learning. Much better than GPU's.
Isn't this pretty much a no-go for any large public software project, given that microcode updates often depend on the OEMs, which are notoriously bad about supporting devices older than about a year?
Circuit Diagram of IR Sensor Using 555 Timer
Since E=mc^2 -> m=E/c^2.

For a moving object you could then m=(Er+Ek)/c^2, which creates the impression that the mass is variable (as the term Ek is zero when at rest and increasing with velocity), giving rise to the terms 'rest mass' and 'relativistic mass' respectively for the rest energy and total energy equations.

This interpretation is somewhat outdated but the terminology rest mass maintains its legacy. One could refer to it as the `(proper |invariant |intrinsic )?mass` instead.

The variable mass issue is then 'solved' by 'refactoring' the equation to use momentum where mass is coupled with velocity, over which the complexity of the lorentz factor is engulfed.
Wow, this is just insane. On television CNN is stating that this created a 'mild campaign issue'. Given how potentially far-reaching the consequences are, I would expect a huge outcry - at least in Georgia anyway. Is this news fresh off the press?
Unrelated thought, but I couldn't help but think that it would be nice if we could hold government officials, like...well...the president of the United States, to the same standards.
The biggest problem for our team has been getting people to discuss more.

On befriending everyone and getting drunk one day, i asked them why don't you talk more at work?

They said, it's due to bad previous experience where they opened up and got attacked. Now, they only plan to speak when absolutely necessary otherwise, just solve the tickets assigned to me and i go home.
Whenever I manage to find time to hack on it:
https://github.com/SanderSpies/ocaml/tree/wasm-backend.

It compiles to wasm object files and links files with LLVM's LLD. My current challenge is ensuring that the stdlib correctly translates to wasm. The C parts are not translated yet - which means: no gc, no exceptions, no tail calls.
We get it. You're saying the same thing over and over. You do presumably realize that, being 70, they have no way of pushing a button and suddenly being 35 to pass your apparently magical test of significance to their actions. Given that as smart as they are they can't invent an age reducing time machine but they did encounter what they consider to be serious issues at the institution where they worked in their 70's and did not encounter similar serious issues where they worked in their 30's, what exactly would you have them do that passes your personal threshold of significance test for their actions?