skysight-inc/HackerNews huggingface dataset:
Do you think the US plays by free trade?

Intellectual property rights/copyright laws, both linchpins of US policy, are the very definition of government intervention.

The US aerospace and manufacturing industry is overwhelmingly subsidized by the military complex, a lot of it done under the auspices of "national security". For the US to complain about Airbus or Bombardier is simply incredible.

US agriculture is outrageously subsidized. I'll go into a specific example in a moment, but the notion that that the US is trying to play fair is simply incredible.

The US loses at the US-created WTO time and time again (see: Canadian softwood) and simply ignores the rulings.

"but when your "allies" have had non reciprocal tariffs"

I don't know what example you're thinking of, but let's consider the case of Canada (a country that the US has a trade surplus with). Canada has supply management for dairy to ensure a supply that matches demand to ensure food security. To protect this, Canada applies a high tariff for imports above the quota.

"So unfair to US farmers!" yells Trump.

Only here's the problem with his ignorant, easily swayed vision.

Canada exports less dairy to the US than vice versa. Like, 1/2 as much. The whole point of supply management is that it doesn't generate an excess, and for that small industry the exports and imports are generally only for very specialized things.

US dairy, in contrast, is hugely subsidized. To the tune of 74% of US dairy income comes, directly and indirectly, from the US government (0% in Canada comes from the government). Hence US farmers grossly overproduce and then look to dump it elsewhere, destroying production elsewhere. Just as US corn production is essentially a government enterprise, flooding the world with corn by-products and HFCSs.

Who is the villain here? Trump can rattle off some scary number to his clueless fans (I'd steer clear of the pejoratives, but given that Trump is a lifetime grifter and con man, whose virtually every statement is an outrageous lie, it is incredible that someone can be called his fan), but Canada has nothing at all, whatsoever, to do with those poor American farmers. It certainly isn't Canadian milk on American shelves causing their ills, because Canadian milk isn't on their shelves.

Nor did China cause the US poor to live in such dire straights. This is just the latest example of the US becoming more and more polarized, while convincing the poorest that it's always some external reason why they live in destitution in the richest nation on Earth.
An army of self driving cars doesn’t get you the density of a train when space is already at a premium, which is the case in many urban centers. Even the source acknowledges this; they just downplay how many centers it’s true for.

It’s an interesting case of doublethink to suggest that the programs are unwelcome but also lead to gentrification. Apparently a lot of people do like transit :)
They are massive donors to the GOP
Self-driving cars may help with traffic, but not with pollution or environmental issues. New mass transit projects should try to take advantage of newer tech, but self driving vehicles and mass transit solve different problems, so I see no reason not to pursue both.
Educational App Development: Important Features and Useful Tips
Kind of an odd error message.

"
Looks like you are offline

You'll need to check back here once you have restored your connection. Thanks for your patience.
"

But you're clearly online if you can see the error message....
> Portuguese actually edges out Spanish in terms of European languages in South America

We're not in South America, though. In the context of this article, we're talking about a town in the USA with a large number of immigrants from Latin America as a whole, most of whom are Hispanic and comparatively few of whom are Brazilian.
Why not be political about none of it? Is making a word more politically correct really going to have any significant change other than a few high fives at a liberal arts college?
That is a matter of scale more than anything else in my opinion. Countries natrually diversify when there are resources to exploit/nurture and even on a small scale they are decidedly not homogeneous. Even when restricted to 13 colonies scale the US would never remain agrarian. The north lacks cash crops and had too much in other resources natrual, labor, and educational to make industrialization nearly inevitable. Even if a fanatical regieme took extreme measures against it they would wind up knocked over by a world that passed them by and wants what they are sitting on.

Not to mention the chicken and egg problems - are they dysfunctional because of monoindustry or monoindustry because they are dysfunctional? Dysfunction leads to monoindustry since the base cannot be lost to war - see conflict minerals. Everyone wisely stays away and refuses to trade with smash and grab warlords and despots out of self preservation alone - owners wisely do not want to legitimise that sort of capital seizing for the same reason one doesn't try to work for a non survival desperation cannibal. They did it before and will probably do it again to you when convenient.

Causation and correlation with such messy subjects that I can see your point even if I disagree with the cause.
Yeah, I'd definitely be interested in seeing something like that.
Is there a metric where they’re not worse at what you’re suggesting than trains?
As much as I want self driving technology to help ease the pains of public transit in major cities, I have a feeling were quite a bit further from that than we are being told.

Public transit also helps out those who cannot afford alternative forms on transit. I don't see self-driving tech replacing transportation for low-income people, unless we move away from personal vehicle ownership.
When you're all talking about separate accounts - Are you talking separate login accounts or separate accounts as in the top left on your dashboard switch between these accounts
How to Make Your Own Media Server Using a Media Server
From my experience* yes, it is worth it. But not in "total number of waking hours lived", but in performance in those waking hours - every hour cut from my optimal 8-8.5h sleep reduces my awareness / perf at work / social skills by 10% or more.

* I worked both in menial jobs and as a programmer, both with periods of short & long sleep.

EDIT: I can of course force myself to perform at higher level even with shorter sleep, but that very often leads to need for even longer sleep or health issues.
Making Electronics in the US Just Got 25% More Expensive
Ask HN: How can I work on simpler things, closer to the machine?
Recently I've felt overwhelmed by the sheer complexity of the software
stack most of us use.

I've been programming professionally for almost 30 years. I started
out as a kid on a Heathkit 8-bit computer and now work for a research
organization doing Python, JavaScript (w/ TypeScript), and I build
single-page web apps using React as well as backend data processing
apps in Python using NumPy, Pandas, etc. I've always kept up because
I've always been curious about how things work and I enjoy what I do.

But I have an ever-growing feeling that 'the whole thing' is just too
complex and has too many security holes. Yesterday I found that
the Slack app on my Linux machine was using 670MB of memory. And
Chrome with two tabs open, one on Office 365 and the other on JIRA,
was taking 850MB. Keeping an eye on CVEs and other security and
privacy related issues is enough to make me realize how fragile the
whole thing is.

I know there is amazing engineering in most of the tools we use, I
don't want to diminish that. But maybe we've "dug too deep, too fast?"
I miss the days of being able to read K&R from cover-to-cover and
being able to understand what my programs are doing.

So my question: what career paths exist for someone who wants to
"get back to their roots?" I.e., what might I do to work in an area of
software that is simpler, closer to the machine, and one which isn't
built on so many layers of abstraction? Or is this mere nostalgia?
What are you saying? That because perfect security is impossible, we should give up and do nothing?

It's possible a sysadmin with low-level access can exploit that and a variety of zero-day exploits and escalations of privilege in the layers above to systematically compromise the boot images, steal or falsify credentials and signing keys, and circumvent the safeguards and alarm systems which should be in place to prevent malicious modifications of the source code and the compiled binaries, while hiding his actions from his co-workers, sure whatever.

And if that's what happened to Tesla, wow, sucks to be them, that's amazing.

But if there are no safeguards, no review process, no alarm bells to go off and any damn person can submit malicious code effortlessly and they were basically working off the honor system... I'm going to blame the victim a little bit.
That is a common meme among right-wing politicians who try to profit from private cars factories; but here in Europe it doesn't fly with the general public, who know better.

Public transport is demonstrably the most cost-efficient method for the daily commute of hundred of thousands people in a city, provided the city itself and transport routes are designed accordingly (which arguably is the main problem in the US). For those sporadic free range transportation needs such as vacations and weekend escapades, car rental and taxi services should typically be enough for for all those who normally have enough travelling by public transport.
I think your analogy how but you have what's the container so and what's the cargo shop mixed. Self driving cars will allow us to increase car densities and certainly lot road deaths but they will never be as efficient in transporting large numbers of people. It's just a matter of space. You can fit just so many more people in the space. This tweet's gif shows this pretty well https://twitter.com/adamjcs/status/529431691534667777?s=21. It's a bandwidth problem.
It's unbelievable, sometimes maddening, but a great number of people still falls for it.
The end to a French cheese tradition?
This wouldn't really be possible with a modern browser, luckily, since they don't let users bypass the warning for sites with HSTS.
Indeed they are.

Beginning with the simple workflow:

1. Get many burner phones for cash.

2. Get many prepaid credit card for cash.

3. Sign up for many self-driving car services.

4. Targeted denial of service.

(I'm avoiding the very-slow-cruise-missile scenario because nobody wants to think about it.)
Thanks. I appreciate you taking the time to write an in depth answer.

Any tips on how to blog? Or be better at it?

I'm always doing things with my gf but never think to write about it, or think that id have some unique perspective or opinion to offer. How do I find my voice? How do I get better at writing? Before I even start? Meaning I know the common wisdom of just do it and you'll get better but I have this anxiety of even starting at all because of being seen as less than, or try-hard, or w/e. The idea of being watched as I perform scares me, the thought of failing publically. Maybe its a certain type of bravery that I lack? Idk

Any advice appreciated. In terms of getting better at writing, and handling the anxiety of critique and etc.

Thank you!
Those pictures where they show car, bus, and bicycle density side by side really drive this point home:

http://www.3fidi.com/wp-content/uploads/2012/11/60_people_bi...

http://www.citymetric.com/sites/default/files/images/car%20b...
And rail mass transit is even denser!
This may seem unrelated but I watched "The Disaster Artist" for the first time last night. It made me cringe, not for Wiseau but by reminding me of all the times I've been a Wiseau in my life as I disconnected from reality caught up in some fantasy of how I was going to make the world love me by something I was going to do. Reality can be a brutal place for the ego, but at least it's real.

"I'm going to make my own Bluetooth smart-lock. It's gonna be amaaaazing. Oh hai Mark."
Aside from the density issue which others mention, self driving cars are un-proven technology. I get that a lot of smart people are working on them, but it's one thing to test a fleet of even a few hundred cars, but another entirely to have cities with thousands or hundreds of thousands of self driving cars. This is going to take longer to roll out and have the kinks sorted than you think.
When Everquest came out I watched the gaming group I used to play Warcraft and other games with turn into depressing addicts basically overnight. I’ve never played an mmorpg just because of how terrible that was to watch.
TESLONDA: The Tesla/Honda Powered by Raspberry Pi
> self-driving trains

Should have had these for a while now.
An interesting scenario would if I use one of your logos for my project. Is that logo still available to be used by others? Potentially, more than one project could be using the same logo.
The article paints their motivation as naked self-serving hypocrisy:

> One of the mainstay companies of Koch Industries, the Kochs’ conglomerate, is a major producer of gasoline and asphalt, and also makes seatbelts, tires and other automotive parts. Even as Americans for Prosperity opposes public investment in transit, it supports spending tax money on highways and roads.
Watch_Dogs as well
"If they want to have a nation in 20 years they likely will not stop playing the US agenda"

What a strange claim. How are they going to lose their nation? The EU has a GDP 20x Russia's (not to mention having nuclear armed nations). Canada alone has a GDP 2x Russia. Any of these countries can fend off any imaginary assault, most of which are instigated by the US.

The largest market...wait, do you think the US is going to close its doors? Well say goodbye to Google, Amazon, Apple, Microsoft...well just go through every US company. GM sells more cars in China than they do in the US.

It's a very, very different world. US pull just isn't as strong as the post war world when the US was mighty and everyone else was rebuilding.
Cisco to acquire location-services company July Systems
Thanks! Someone suggested I also create the same with Go, I'm going to give it a bash in the coming days.
> but that a single global volume bar is almost certainly what you want most of the time

Only true if volume is perfectly normalized. Otherwise you want to be able to quickly control volume per application or some context without affecting other applications, so when you switch to them you don't have to do it again. Browsers are examples of how bad it can be, with overly loud unnormalized instagram videos and no volume controls and in contrast somewhat normalized youtube volume with controls.
If autonomous vehicles arrive in the form that most people imagine, there will be a surge of traffic like you've never seen. Make something cheaper/easier and you get more of it. Furthermore, unless cities actually ban cars driving around without a passenger (which seems entirely possible), you'll have vast numbers of cars circling the block or heading out to the suburbs to park which their owners do their thing.
Agree on the limits of post-hoc reasoning.

In my limited experience, these kids may reacting positively not due to anything specific about chess or the program, rather to the fact that people seem to care about their development and options. Plus the fact they are being put through a non-antagonistic and less dangerous program than juvie.

I also think it's a great idea.
They're far enough away that it doesn't make sense to put off purchasing normal buses (which could probably be retrofitted with self-driving tech anyway). And certainly that doesn't obviate the value of things like planning and beginning to carry people on routes; setting up stops (signs or shelters); and setting up bus lanes.

And rail transit is a whole other beast. Do you know how much higher a volume of people can be carried by a subway than by even the most efficient bus route running buses bumper-to-bumper (let alone private vehicles)? (The unwillingness of politicians to acknowledge this is one of the reasons the L train shutdown in Brooklyn next year is going to be such a shit show.)
This almost reads like a mad lib of every surface level, trope-like critique of publicly funded initiatives without actually saying anything at all of substance.

Government may be inefficient at times but so far they've been the most consistent purveyor of public mass transportation. It may not be great but I think in the larger picture the general public is probably well satisfied with transit that is consistent if you polled riders.
We are. In London the DLR is the most obvious driverless network, but various parts of the Tube have been essentially driverless since the 1980s (initially on the Victoria Line, then on the Central after its resignalling, and on the Jubilee extension).
Kind of where I was nudging in my comment, though I realize I probably should have been more verbose than just pointing to COBOL.

I worked an internship about 4 years ago in a state government IT role, they were using JSP and Websphere just as Java 8 was being released.

With that said- I don't think Java is dying any time soon, it's too good at articulating business logic for us to just toss it by the wayside. I'm thinking more along the lines of "hot Java framework from 5 years ago". If Spring starts to head towards legacy status, I'd expect that to become the hot "legacy job".
Well

> One of the mainstay companies of Koch Industries, the Kochs’ conglomerate, is a major producer of gasoline and asphalt, and also makes seatbelts, tires and other automotive parts. Even as Americans for Prosperity opposes public investment in transit, it supports spending tax money on highways and roads.

Also: stuff requires upkeep, consider the current state of the woefully unfunded NYC subway. You can’t just build it and expect it to stay in perfect condition forever.
When FBI agents point assault rifles at your head, you will find yourself talking to them in spite of that advice.

Happened to my wife.
Thanks for the reply :-)
The cost of a blue line ticket in Chicago — a line running from downtown out to O’Hare and out west past city limits - is $2.50. If you take it every day, a monthly pass is... $120 or so? That’ll take you anywhere: buses & trains.

Do you have an example of where this a) exists b) isn’t government-run, c) cheaper?
Where is the need to spend 5.2 billion on public transit ? A few electric buses with point to point connections will do. Start small and expand as needed. Just one high density suburb <-> Downtown connection is sufficient to start with. Electric buses are so good, they have instant torque - so there is none of the lag that plague traditional diesel buses, they are fast, quiet and since it's point to point, your range anxiety is practically eliminated. A dedicated bus lane or the HOV lane and a stop every 1/2 ecits should cut it.

Sure it's not as fast as a dedicated subway or the Shinkansen but at a fraction of the cost, you are bringing in people to start using public transit.
Isn't freedom about letting people make their choices? Not going for public transit because people are "probably not going to choose it" sounds specious.
> We also have the term Hispanic to refer to folks from Latin America

Not quite. Brazil is in Latin America, but Brazilians are not Hispanic.
Cost and flexibility. Buses are cheaper and more responsive to changing traffic patterns than trains. They are not as nice though.

If for instance people in a given community want to start traveling to a different part of a city they either have to create new rail routes or people have to take long inconvenient trips.
"What they are angry about is having the big guns of government pointed at their heads while the rewards of their labor are siphoned away under the guise of charity."

Health insurance, to keep that example rolling, has nothing to do with charity. It has all to do with the pooling of risks.
Facebook is putting autoplay video ads inside Messenger
in the 80s a friend dragged me into a department store where they sold PCs. He typed into one "10 Print Hello; 20 Goto 10" and pressed return. What I saw on the screen seemed like magic to me and I got hooked since then. Later got my own VC20 and spent most of my time with that piece.
Driverless cars are tested in Arizona. I am not impressed.
The US is FINALLY being weened off their urban sprawl fetish, every city on the planet is heavily investing in public transport.

When Trump was talking about how North Korea could one,day look like Singapore I smiled. Why does LA or New York not look like Singapore?
It would include drug crimes as well. I think you can take the words at face value (with an implied 'physically' modifying 'violent'), except that crimes involving only the threat of violence may count as violent crimes.
How does one tax the rich?

Please be specific.
I disagree that public transportation is great, it's shit, it's crowded and uncomfortable. I avoid it outside of Amtrak. I don't agree with the article but if the choice is CTA or Uber pool im taking Uber for roughly the same cost.
Still it's easier and more pleasant to maintain that state of mind not sitting inside a cubicle with a boss yelling at you to work harder.
This argument is in itself probably not wrong.

That argument is almost certainly wrong. In areas with good public transit options, there are any number of examples of people choosing it over other options they very clearly have.
For better or worse, trains have fixed routes and aren't very dynamic. I actually find it a bit surprising we don't see more of a formalized mini-bus system in the US given that it was pretty popular in some other countries even before GPS and apps. I guess UberPool serves a somewhat similar purpose.

Perhaps there's not a lot of overlap between people who take Uber a lot and people who willingly step into a bus of any kind.
I've spent a lot of time in RI myself. Can you say more about the differences you have in mind?

All I can think of is Cranston vs. elsewhere.
> Many of Scalas abstractions, unlike Kotlin, have runtime cost

Whoa there, many of Kotlin's do too. Because one uses an option class and another inserts precondition checks in a lot of places, doesn't mean the latter is zero cost. While Kotlin overall probably has less overhead with better primitive use and what not, there are cases where Scala is less because of macro support.
No, freedom is against public transport, not the other way around. It may be a silly argument (personally, I like BART and Metro in D.C.), but you don’t get to erect a straw man.
I like this, as it's how I learned programming back in ~2004-2008. Back then, "how to make X" was the typical format of tutorial you would find at tutorial aggregators or publishers. e.g. "how to make a membership system in PHP." I always enjoyed these guides much more than generic "how OOP works" because they gave me something to build, with step-by-step instructions to verify I'm doing it right, and that I could extend for my purposes once I got it working.

Nowadays content is much more generic and you see a lot less "indie tutorial" type content. Either you read someone's blogpost on a complex, niche technical topic, or you pay for an introductory course / bootcamp that teaches in the more traditional tutorial style. It's kind of sad that the attitude of freely sharing "how to do X" has been co-opted by profit-seeing education programs.

P.S. I see from your website that you're a high school runner? Very cool! I ran XC/Track all throughout high school and in college at the D1 level... let me know if you ever want to chat about recruiting or anything, it looks like you're a decent runner based on your tempo times.
As is commonly the case, raising taxes would hurt those who can buy and maintain a good car properly, but benefit those who depend on quality public transport.