skysight-inc/HackerNews huggingface dataset:
Turning the US into the kind of country where it is unsafe to drink the tap water.
Yes. You're missing that the current cap is 0.

To elaborate: "Current federal rules bar self-driving cars without human controls on U.S. roads. States have issued a variety of different rules in the absence of clear federal guidance, and automakers have complained that California’s rules are too restrictive."
Actually I always complain about Python packaging when I'm only using Python. But the moment I start using it in other languages I dream about the comfort and professionalism of tools in Python.

Of course in scientific Py you need compiled C attachments, which makes it more complex. But in normal Py usage you only need pip. Easy Install is only needed when you don't have pip installed. Pip is a drop in replacement with additional features.

And at least from what I heard for everything with C compiled stuff inside ("binary packages") you use conda.

So not that hard actually.
I doubt it.

If my self driving Subaru causes an accident, I think Subaru will pay for the damages. And Subaru doesn't need to involve an insurance company in that transaction.
> I believe it comes from the way compilers are traditionally designed --- as an extremely stupid code generation pass followed by multiple optimisation passes, which naturally will fail to remove 100% of the "stupidity". In other words, they're making a mess and trying to clean it up instead of avoiding a mess in the first place.

I think that this is, at best, a misleading view of how most modern compilers work.

> We could follow the latter idea, and create "naturally smarter/optimising" compilers --- ones which analyse the data and control flow of the source, and generate the minimum instructions necessary to implement it.

Many modern compilers (e.g. pretty much all that are based on LLVM) do this: the only subtlety is that analysing data/control flow on the program's AST isn't the best approach, as it doesn't compose, and is designed to be a representation of the human's view of the program, not one good for computers' understanding. So, first, the compiler converts the code into some form of intermediate representation (typically SSA or similar) and then all the control flow is "obvious" and the analysis is easy. Some compilers just use LLVM IR for this purpose, but most will layer on top another (or multiple, like Haskell's GHC) IR that contains more semantic information relevant to the language being compiled.

This IR can then be transformed into estimated-to-run-faster versions of the IR (that hopefully have the same behaviour), until finally instructions are chosen, registers allocated and machine code emitted. It is also easier to use an IR rather than AST to do optimisations like inlining, which is an absolutely critical optimisation for performance (it enables a whole pile of other optimisations to be more effective), something that purely minimising the instruction count of a function won't ever do.

In fact, this brings me to another important point: minimising instruction count within individual functions can result in slow code, as it shouldn't unroll nor vectorise loops, and should aggressively outline common code sections (even if they're 'hot'). Pure instruction count doesn't mean that much on modern computers; sure, it correlates (negatively) with performance, but weakly.

As a sibling points out, it doesn't seem to make sense to put a pile of effort into getting a "perfect" AST-to-IR converted, which would just be duplicating (in a worse framework for them) a lot of the optimisation and analysis passes that are desirable for IR (due inlining opening up new optimisation opportunities there), meaning one would have two constant-propagators, two common-subexpression-eliminators, etc, rather than just leaning on, and beefing up, a single one.
"Government debt is never the problem considering government has monopoly to create new money."

Not for long they don't! Cryptocurrencies have finally found a way to get around such unethical control of the world's monetary systems.

And government controlling the monetary systems does not make government debt irrelevant -- even if they can always print more money, they can't always avoid hyperinflation. And regardless, printing money is stealing from savers, so it's not exactly some noble activity.
The US federal gov’t overrereptesents the interests of the rural.

Each state is given two senators regardless of population.

Despite cities being the economic heart of the US and doing much better than rural areas, al of of policy making is driven by the economically backwards states.
Fashion Baseball Jerseys – Stylish and Fun
You had nothing to apologize for. There are tons of recruiters in this industry who do not know what they are recruiting for and are dumbly trying to match text. I've had a recruiter tell me that they are looking for experience programming "graphics drivers", and would I kindly update my resume to say that instead of "display drivers". If a company uses recruiters this clueless, you dodged a bullet.
As a long time Cassandra user: people use sstable2json all the time, but most people don't have 100gb sstables (or 20gb sstables that make 100gb of json)

Certainly something we can do better - how would you break it up? Adding a key to dump an individual partition to json?
Dear Crypto, You’re Being Played by Wall Street
Check out their training:

https://academy.datastax.com/courses

Once you make it past the videos trying to sell you on NoSQL, they are incredibly informational.
Because it would suck if you crossed into another state and all of a sudden your car acted differently to conform to that state's laws (turning off auto pilot, limiting speed, etc).
City politics can arguably be too provincial. I feel individual cities in the SF Bay area are too provincial and a more unified regional area governing body would serve the pop better as it pertains planning and development of infrastructure (transport, housing, jobs, zoning, etc.) When SF thinks development they think "Peninsula should develop" Or, "what will make SF transit/housing better "rather than "what will make bay area transit/housing better".

From an administrative PoV some cities might benefit from being re-organized as prefectural-level cities or even direct-controlled municipalities (though, given W D.C. governance, I'm not sure it would fly in the US)

And Rahm has not improved things in Chicago as far as I can tell. What non "optics-minded" improvements has he made there?
I feel like these things go in cycles and things are going to have to get worse before people notice and push for something better.
It is the other way around - states may not have standards unless they implement the exact federal standard:

> No State or political subdivision of a State may maintain, enforce, prescribe, or continue in effect any law or regulation regarding the design, construction, or performance of highly automated vehicles, automated driving systems, or components of automated driving systems unless such law or regulation is identical to a standard prescribed under this chapter.

https://www.congress.gov/bill/115th-congress/house-bill/3388...

According to Wired, there are 21 states with some form of regulation of self-driving vehicles.

> Self-driving vehicles have been testing on public roads since 2010, when Google hit the streets near Mountain View, California. And in the absence of congressional oversight, states have stepped in to regulate them, creating a patchwork of at least 21 different state laws and guidelines with different purposes, definitions, and priorities. This is a serious pain for the growing self-driving industry, which aspires to build cars permitted on all public roads.

https://www.wired.com/story/congress-self-driving-car-law-bi...
I'm glad it's finally in the open then.
TLDR - Who runs "the feds" can change. New admins aren't obligated to keep the promises of the old admins, particularly when those promises include things like "we promise not to enforce law X or law Y".
It's not "better-safe-than-sorry", but a simple cost-benefit analysis of the risks and stakes presented.

Depends on your lifestyle and how valuable you think these things are, but I find these things almost entirely valueless. I think virtual assistants are basically total trash - I can type my query on my damn phone faster and more accurately than the Echo or Google can get it - and I just see no value in DNA sequencing unless you're looking for a specific medical condition, the fluffy interest in stuff like racial makeup just seems like a shitty trade-off to me.
> Occupy protestors regularly got assaulted and arrested. To the best of my knowledge, none of them murdered a woman with a car.

Black-bloc doing "peaceful protest" have attacked and wounded others and set fire to cars--but I'll still support the free speech of their more lawful compatriots.

And before you go "but but but they killed someone!", I'll point out that being less effective at committing violence doesn't give one side the moral highground. I will also happily argue that it was one rogue nutjob who went too far--a courtesy often extended by folks like you to, say, extremist Muslim immigrants in Europe and other places when the exact same sorts of attacks have occurred.

> Speech is just a dog-whistle for what this is really about.

You (and people like you!) sound increasingly like Joseph McCarthy--and you're hurting America, every time you try to equate fundamental rights and their defense with Evil just because you don't like some of the people who are exercising their rights.

Why do you hate freedom?
“We’re giving long-serving, hardworking employees the opportunity to retire early..."

Tech companies need to up their game when it comes to euphemism.
The biggest reasons for this are local variables vs. stack ops and parenthesized expressions vs. having to know the arities of the words called. You can add local variables to Forth, but afaik nobody did during its heyday; and "phrasing" your code with whitespace can help some on the latter issue, but it's admittedly not as explicit as parens.

(From another one-time Forther and more recent Lisper.)
I'll give you the benefit of the doubt that you're not just trolling and you're actually trying to understand whether value is objective or subjective. Assuming you are, read the following link and let me know if you still think value is objective, and if so what parts specifically do you disagree with:

https://wiki.mises.org/wiki/Subjective_theory_of_value
The same can be said of the Japanese system --but even moreso. Their rural areas have an exaggerated influence in national politics. Not saying I agree but it's proof a country can do relatively well despite many disadvantages (geography, demographics, int'l politics, etc) and playing to the countryside.

If we look toward Mexico, we can say the cities have an oversized influence in the politics and the frustration form the countryside can boil over into internal conflict.
>If I want to borrow to buy groceries, gas, or the other things they measure for inflation I would be borrowing at >19.99%.

In the US, credit cards are often a fixed + prime rate, so changing national bank interest does affect credit card rates.

As as aside, ~20% is an insanely high rate for credit card purchases (again, in the US).
Use Cassandra when you need real time HA cross datacenter without having to manually fail over

Use Cassandra when you're going to need to grow our database cluster often and don't have tooling to handle resharding

Use Cassandra when you do millions of simple queries (per second), not a handful of complex JOINs

I've used Cassandra at 3 different employers now, and I can't imagine using anything else for many use cases, but there will always be some where it's the wrong choice.
Thanks for the advice, very helpful.
It's both. My commute is 30 miles a day (15 miles each way) and about once or twice a week I'll drive further - perhaps 60 miles in a day - by that logic I would be happy with the Ford Focus Electric as in practice that car gets 70 miles per charge.

But this assessment completely disregards the times, often at unpredictable occurrences, when I need to drive 100-200 miles (or more) at short notice and when there is not a time allotment to spend 4-8 hours to have the car recharge sufficiently. I would need to rent a car at very short notice in that case - which can be impossible. Things like a family emergency, a server crash at a data-center, a friend urgently needs a ride from Seattle to Portland and back, etc...

Remember, even if an ICE car and an EV have the same range, if both have zero fuel/energy left, the ICE car can be refilled from a hand-portable gas-tank or AAA truck enough to get to the next fuelling station - and you're free to carry additional fuel in your storage space, an EV car does not have that option: there's the prospective of expensive towing and hours waiting for it to recharge. I'd be less concerned if Tesla made some kind of "towable" extended battery or drop-in for the frunk or trunk, or even a portable Honda generator - but it doesn't.

I think it's naive to expect that while the majority of American car owners have no need to travel more than 100 miles per day - that they also have no expectation of travelling that distance - and you only need to travel that distance a few days in a whole year to make the purchase of an ICE vehicle worthwhile so long as EVs take longer to recharge without any kind of fast battery-swap feature.

I'm in the market for an EV myself - I wish I had gotten on to the Model 3 waiting list sooner - but it would have to be a Model 3 because the range of the Chevy Bolt, Volt, Leaf and the Focus Electric is not sufficient for those occasional long-distance journeys, and I imagine that a plurality (if not the majority) of the car-owning public feel the same way I do.
I remember it too vaguely at this point but something was mentioned in the beginning while I was waiting. I feel like it was worded along the lines of a promo or I wouldn't have told the rep. I wasn't interested multiple times. "Verifying is now easier and more secure with voice verification..."
"White Culture" also acts as an easy straw man for those discriminated against and other minorities. Remember there aren't any cultural Eastern Europeans or Appalachians or what have you in the face of the monolith.
The clustering provides a ton of speed improvements if your data model can keep partition sizes small - especially if you use spinning disks, cassandras storage engine will make reading adjacent rows in a partition nearly free (especially with modern OS behavior like readahead).
Ask HN: Searching for Computer Security Mentor
I am looking for a computer security mentor. In particular, I am looking for someone who can:

1. Software security: buffer overflow - implementing a stack overflow attack and a return-to-libc buffer overflow attack. Familiarity with GDB.

2. Use Cuckoo to analyze malware

3. Cryptography

4. Web Security

I am deeply interested in these things and would love to learn from someone who is an expert in this domain.
Too Lit: The Exploding Fidget Spinner Teardown
The problem is that non-hegemonic factions may have contradictory interests. For example the Islamists and homosexuals do not agree on important issues. This isn't really important to the political opportunists because they are primarily interested in creating as large a power base aa possible for their ambitions so these contradictions are ignored as much as is possible by them.

The fight a few years ago within the Sierra Club environmental organization between pro and anti-immigration factions was a similar display of the political contradiction's that plague the coalitions of non-hegemonic cultures.
Nobody else has mentioned this so I will: leave an email address in your profile, or dump something sharable in a comment here. (Pretty much everyone here (relevant) can de-base64 (which can be convenient, a la data:text/plain;base64,...) or figure out "gmail@myaccountname".)

Best case scenario, someone from FB could say hi. Not officially (that would be a nice miracle), but rather some person working there. Then you could start chatting with them, they could figure out somewhere you could probably get in on the ground at, and give appropriate instructions. AFAIK internal recommendation is the best way to get through/inside The Great Wall of Google™, perhaps that's the case for FB as well. Note, I have no experience with either company, but in a thread like this not having contact info is wasting your 15 minutes.

Also note https://news.ycombinator.com/item?id=15188618 - apparently what happened to you is quite common (!?).
Part of working in the industry is learning to work with recruiters.
It's not really that quick of a change - it's been in flight for something like 4 years? Maybe 5? And thrift is still supported until 4.0, so you can use the old style for quite some time.
There are hardware diodes.

There is no physical way to write through those.
This would be the case in Python 2, where source code files are assumed to be ASCII-encoded unless there's an encoding comment at the top of the file.

In Python 3, source code files are assumed to be UTF-8.
"Ha! He's lying on his resume! Rejected".
I love this idea. We have representatives for space, so why shouldn't we have representatives for time as well? A representative for the past would be welcome as well. Maybe preservationists try to hold on to the past, and conservatives hold down the present, while progressivists spend on the future.
Not a problem: you can ask the canvas for an arraybuffer to draw on, and pass that to the wasm code. I did this with asm.js in place of wasm (which didn't exist yet) in http://wry.me/hacking/Turing-Drawings/ and you can judge the speed yourself. (As that page describes, there was some overhead from calling from JS to asm.js at least when asm.js first came out. I don't know the current figures.)
Northwest Cape Coral.
I feel like the Nikkei index would disagree with you insofar as a stock market index is an indicator of economic prosperity. That said, the US system was designed to protect less populous (rural) states from being bullied by the more populous (urban) states. It is hard to say that the system is not working as intended.
(I work on GPU compilers in LLVM.)

I'd say that the fact that compilers are designed with a "stupid" IR-generation pass (e.g. the C++ AST to LLVM IR pass in clang) is part of a broader design strategy, namely, designing compilers to have many simple components that work together to do a complex thing.

There are always trade-offs, as you point out, but one of the reasons that it's beneficial to design compilers this way stems from the fact that we generally apply a very high quality bar to compilers, because bugs in the compiler are expensive.

Having simple components with strict interfaces allows us to reason precisely about what each of our transformations is supposed to do. That makes it easier to write unit tests and to do code reviews, and ultimately, in my experience, helps us put correctness first.

I also don't think that this approach of dumb components necessarily leads to worse code. Indeed, for each of the LLVM missed optimizations in the list, I have a pretty good idea of which pass ought to be responsible for fixing the issue. And because the thing that each of these passes does is simple, I can have some confidence that my change won't break other passes.
Delta 737-900 races Hurricane Irma
> CO2 emissions are fixed per unit of fuel.

Is this true though? Does it matter on the grade of fuel, or petrol vs diesel? I think I read that leaded fuel emits less CO2 than unleaded fuel, but I'd definitely choose more CO2 than lead in the air, tyvm.
They say every cartoonist has 200 bad pages in them. Best to get through those first 200 ASAP.

(source: my girlfriend is a cartoonist)
I like that your comment's denormalised for better use with Cassandra.
Strategic dating: The 37% rule
As a tutorial for those of us like me who sometimes stumble in situations like this, could someone who found the OP's responses to the recruiter unprofessional please post example phrasing of what the OP should have said? Let's assume the constraint that the OP will refuse to lie (so they won't just change their resume to 'Unix' instead of 'Unix-like').

This is a genuine question; I often can't think of how to phrase things and I think an example would be educational.
Because I'm buying the service of them paying my liability, and also my own damages if I opt for it, if suddenly I crash. They sell the service of protecting you from financial risk.

A car insurance policy that costs $400 once but only pays for $400 worth of damage ever, and isn't refundable, is a bad deal. No one would buy this unless forced to.

False equivalence.
Alright, this discussion got me thinking. I think this is the way to go now. The bullet list:

-- All separate style files (for non-vue-component styling, such as variables, functions, and CSS-only components) use BEM. All styles inside Vue components also use BEM. Consistency!

-- Use Stylus in the Vue components. Vue-loader supports preprocessors. Why a preprocessor? Mainly for theming. Why Stylus? It’s just so beautiful.

-- Using BEM inside vue components means I don’t have to worry about collisions (with global, or children, or vendors).

-- Mental context-switching is reduced now since component styling lives inside the .vue files.

-- I don’t mind using #app to override vendor component styling.

-- Better scenario for Dead Code Elimination to work with when putting styles in .vue files.

-- I don’t mind importing variables/functions/theming to each component until this is solved in the future. Plus, I could create a bootstrap.styl (not to be confused with Twitter Bootstrap) to import everything I need so I’m only adding a single file to each Vue component. Any changes made are made within boostrap.styl and Vue components would not need to be updated.
Money can be exchanged for goods and services.

Besides, there are other upsides: you get to work at a company that values developers, you'll have lots of competent colleagues and you'll learn a lot, and you'll work at a product that hundreds of millions of people love.
I'm using personal experience. I live in Canada, and I'm a parent, so I tend to frequent places that kids congregate. From my experience there are plenty of opportunities out there for someone to abduct children if they were halfway intelligent and motivated to do so. If indeed there was only one incidence over a two year span in the entire country (although your reference is apparently 25, not one?) it therefore suggests a lack of potential abductors.