skysight-inc/HackerNews huggingface dataset:
I use jk, and agree that binding escape to something easy is the most impactful change on my vim workflow.

I encourage everyone to try it. The amount of times in the last year where i've had to actually type the string "jk" is exactly...one? I think, though perhaps I was imagining even that one. I suppose it really doesn't matter what you bind it to as long as you can execute the escape whilst keeping ALL of your fingers on that good ol' home row.

I guess I should also note that I never use vim except in my own environment where i know i have my own vimrc. I totally get why people who are always using remote computers without their vimrc would want to keep default key bindings and thus be forced to use ctrl-[.
Rarely yes but only if those changes are noticeable which they most often aren't.

Most dashboards are purely made because they look good. The actual purpose of a Dashboard is to give a skilled person an overview of the entire system and see if anything is out of the ordinary and if not whats wrong.

The way most dashboards are used today they are more working like glorified lists and gives nothing of value to the user.
I wonder what would happen if the proceeds of these seizures had to be used for that testing.
My go-to for applications that don't need more than an 8-bit MCU is PIC and 8051. Quirky architectures, but they're also cheaper in large quantities.
There are plenty of new games that are evocative and stimulate the imagination. I'd suggest not getting too caught up in the enormous mass of Candy Crush exploitative garbage out there (which, there was a metric shit-ton of crappy games in the 1980s, too).

Pay attention to stuff like Journey, the Portal series, Limbo, Device 6, etc. -- the games that people will look back upon nostalgically when they're complaining about how games made in the 2040s lack the imagination of the games of their youth.
I believe causation does in fact imply [correlation]. The reverse is not necessarily true.
The grandparent poster never used the word conspiracy, nor alleged one.
Same here, and I don't even understand why people want to remap Ctrl to Caps (but I never used Mac, so I don't know: maybe it is inconvenient on their keyboards). And recommendation to remap "jk" to Esc always almost made me ignore the whole post, because being able to enter any letter sequence I want is the very least I would expect from a goddamn text editor.
I just finished reading "Acid Test: LSD, Ecstasy, and the Power to Heal" by Tom Shroder. It was parallel tour of the history of influential people (primarily Rick Doblin of MAPS), and a Iraq veteran suffering from PTSD that was treated later in the book with MDMA. http://www.amazon.com/Acid-Test-Ecstasy-Power-Heal/dp/014751...
Well the DB admin had just removed the index a few minutes before, and immediately the API times spiked. When you remove an index there is exactly one risk --slowdown-- and that's precisely what the admin noticed.
At the time, yeah - I paid in cash. Financial aid wouldn't free up my money unless I paid my Business Office balance. Business Office claimed I owed $200 from the summer and wouldn't clear my balance until I paid that and the tuition ($734 if I remember correctly). So I walked $934 to the business office (Business Office had the odd policy that they didn't take checks with numbers under 2000 and I didn't write a lot of checks). Took receipt over to the finance office which got my damn financial aid freed up. The Business Office "discovered my payment" which lead to me getting cash and heading back to the bank.

Friend bought a $15,000 truck in cash. We were a bit vigilant about that one. Rural US still has a lot of cash and handshakes.

We do not have free bank to bank transfers and are ornery enough to not want to pay the damn fee.
A format like Twitter requires major infrastructure to work well so being under one company makes complete and necessary sense. This doesn't detract from the fact that it's become a format that a lot of the Internet now depends on for communication and news. Simply saying "no, it's not" doesn't prove anything.
@Dmritard96, thanks for clarifying:).
> This sounds like incompetent back-end design in the initial REST API.

It doesn't even qualify as REST. They've got hard-coded URI hierarchies and IDs everywhere. That's the opposite of REST.

REST APIs must be hypertext-driven: http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hyperte...
That's because its most likely way harder to do than create that algorithm. Politics is not a rational game and can't be dealt with as a rational discipline. Instead it's a constant changing organism that tend to become more and more complex.

I agree it should be simpler, but that would probably require a crisis bigger than the 30's.
Do you happen to be behind a proxy or something like that?
I made http://www.ridetheravi.horse as a joke to help my friend meet women. Hasn't really caught on.
Terrific writeup - thanks for sharing. IMHO this is the most important item: "We have yet to solve caching GraphQL responses on the client."

Mobile client-side caching and sync/refreshing (or client-side change push) is where users get big gains in perceived speed gains. Fielding's REST handles this well, in my experience, though it takes some work to get the resource granularity correct, especially as a mobile app's feature needs are changing.

In my experience it's often the case that the mobile app can benefit from Fielding's REST (with HATEOS) and from using resources that are mobile-specific and quite different than the out-of-the box server-side models that map 1:1 to database rows. As an example, the JSON API team describes how to nest resources efficiently and cacheably, and also send HATEOS links.

I'll be very interested to hear more about your next steps, including how you decide to do caching, puts, and any kind of pub/sub or equivalent. Thanks again!
Vitamin D Kills Breast Cancer Cells in Lab Tests
> The ATMega328 is 8K of RAM

No, just 2K. [0]

> The M0+ chips seems to all come with 64K of RAM

That would be 8K. [1]

[0] http://www.atmel.com/devices/atmega328.aspx

[1] http://www.st.com/web/en/catalog/mmc/FM141/SC1169/SS1817?sc=...
And one comment even pointed out perfectly good reasons not to consider br - "'br' is already an abbreviation for Brazil and is the HTML tag for linebreak".
Astronauts just shot one of their first videos in ultra-high definition
Security is a systems property, not a property of a language.
HN is a bit harder since there is a high frequency of idiosyncratic titles.
Civil asset forfeiture is horrible and we should get rid of it.

On a different note, my takeaway from this story: pick your battles.

Sure, you can go into an airport with $11k in cash. Maybe you're a Sikh and you want to carry a kirpan [0] into the airport, or you're a high school kid working on a science project and you have a bunch of C-cell batteries taped together with wires hanging out the ends of them (experience talking).

You're probably increasing your odds of getting stopped. Sometimes it's worth it, maybe for strong religious beliefs, or you feel strongly about the exercise of your democratic rights. But fighting the collective weight of "normal", shared perception, culture, etc. is costly. You'll be delayed, people will ask lots of annoying questions, in general you'll expend a lot of energy on stuff that is in some sense, entirely avoidable.

I felt this way recently when trying to get a loan for a house from Wells Fargo. Quit my W2 a few months ago for a large contract. I couldn't convince the bank my income was solid even though the payment was about 1/8th of my taxable income and I had almost the entire mortgage balance in semi-liquid retirement accounts. Sometimes the message the world sends is, "conform".

[0] https://en.wikipedia.org/wiki/Kirpan
507 Mechanical Movements (1868)
That's good to know. I hope it's a sign of things to come. I've been hoping for RISC-V to take off, but even being optimistic, that's probably 3+ years from being orderable on Digi-Key.
Mirage can be configured to write trace data to a ring buffer shared with another VM, where you can run a visualisation tool to explore it. For an example, see:

https://mirage.io/wiki/profiling

Of course, having such a small (and legacy-free) OS makes debugging vastly easier in the first place.
ctr+[ you mean.
For schema/index changes I prefer migrations. These should be committed along side the code, tested, and promoted through environments. This largely prevents dependency issues because the migrations are ordered.

Devops is like 80% dependency management. It's painful initially but you have to crack down on manual changes to production - all production changes should be defined in code, committed to git, tested, and flow through non-prod environments first. (just had an outage yesterday that was essentially because I failed to do this)
When I give demos of our product, I often show the pie chart and tell people, half jokingly never to use it, this always produces a good laugh.
Do you think that updating your article would make more sense now. It would benefit users who read it now.
Twitter's third-quarter revenue is expected to be around $560 million USD. WhatsApp is certain to be a major source of revenue for Facebook, but right now it's de minimis.
> I do not claim it is trivial.

By saying it can be done with $12,000 of hardware, you essentially claim it is trivial.

> everything is so perfectly shardable as it is in Twitter.

Shardability, or partitionability, depends on the underlying distribution. It's only "perfectly" partitionable if that distribution is perfectly uniform.

Twitter's traffic patterns are power-laws. Some tags vastly outnumber others. Some users have vastly more followers. Those distributions are unstable across time and space in surprisingly short order.

> Twitter had the resources to do it better from very early on, and they didn't (I think it was 2012 or so before Twitter became reliable).

Twitter wasn't interested in a contest to use the least hardware. They were in a race to keep up with surging load, while migrating from Rails to something that didn't exist yet. Meanwhile they have, under the hood, built infrastructure that could not be bought off the shelf from anyone at the time.

We can't actually come to a conclusion here, because you're arguing a counterfactual. It's always easy to have the ideal solution to a problem you never actually solved yourself, because the visible features of a problem are obvious and the many, many invisible problems are where the bulk of the effort are hiding.

If you want to prove that Twitter doesn't need such large and complex distributed systems, you can probably round up a few hundred thousand in angel funding and sell yourself to Twitter for a nice return.
This whole discussion is ridiculous. When you customize your vim key bindings, you do so either on your machine, or your profile on some remote server. One does not mess with other's computers or settings. But ...

> Or it's based on subjective feelings and cargo cult?

What if it is? What if I am _factually_ not "more efficient", what if I am just "happier" with _my_ setup on _my computer_? how does that in reality could have a negative effect on a team? I am of course assuming that the "we mess around with other's machines or profiles" is an obvious-enough bad practice that it doesn't happen. Right? Right!?
For your i2c issue, the translation circuit is just a couple MOSFETs and ensuring both sides of the converter have their pull-ups.[1] Bit annoying when you're dealing with the circuit, but there are worse problems to be had.

[1] http://playground.arduino.cc/Main/I2CBi-directionalLevelShif...
Yeah with only $11,000 he'd probably get hit with all kinds of fees if he tried to open a bank account. And forget about checks, you can't even write a check that big.

I'm not saying the cash was evidence of wrongdoing, but the elaborate excuses this thread is making for this guy's behavior are only highlighting how absurd it was.
At that size, the cancer itself can get cancer.
This isn't an argument about "vim" vs "IDEs". You really should read the entire thread.. or re-read it.
A must have plugin for moving to the middle of a word:

https://github.com/bkad/CamelCaseMotion
> A recent paper by Mr. Rosen and four other computer scientists [...] demonstrated how an algorithm could detect a certain type of known tax shelter used by partnerships.

The bit.ly link to the paper in the article is broken. The actual PDF can be found here - http://taxprof.typepad.com/files/taxpaper.pdf
By 'non standard', do you mean the new ones like .club, .online, .global or just any extensions that are not .com, .org or .net?

(a) Brand new extensions - it will depend on whether Google considers the specific tld as a global tld (like it does for .io and .co). If so, then ranking in the search results may not be a problem.

(b) Global extensions like .io, .co - there are ample examples of startups that have used an "io", "co" or "ly" domain extensions. customer.io, intercom.io - startups are better of buying a $50 domains name, than spending hundred of thousands of dollars on getting the .com version of a popular word.

Traffic Penalty: There will be some loss from type-in traffic. But people have been posting domain names directly in the search engines, so its likely that type in traffic has decreased substantially. I see this as not being important in the future.

Trust & Brand Penalties: If the customers are not early adopters, then there might be a trust penalty as very few people have even heard of the new domain extensions.
Good post mortem, just some thoughts, would love to hear what others think.

Shouldn't the app developers be in charge of deploying their code and making sure its working? It seems odd that they pass off a migration like this to a DBA to then go deploy randomly, or that they weren't around when it was happening to monitor it.

Also, it seems like there should have been a script that can be run that encapsulates the required dependencies, namely, don't drop an index before building the new one maybe? This should at least minimize the amount of context needed in a ticket.

Relying on fully correct context in tickets seems like it could be super error prone.
Very much yes, if for no other reason than their automagic conversion of . to -> as needed for classes. It's a tiny thing, but when you're dereferencing a lot of classes, needing to hit one convenient button is nicer than three.
Couple Convicted of Selling Florida Sinkhole Home
Oil is not a Fossil Fuel – The truth about Black Goo
Badwolf is great
Series A 101
Pie charts aren't perfect but are useful when applied correctly.

Two great things about pie charts:

1. From the shape you can tell you are looking portions of a whole. For example, a pie chart of market shares shows all businesses in the category.

2. You can easily guess the proportion of the segments relative to each other. For example, in this chart http://www.liv.ac.uk/~cll/lskills/WN/pie%20chart1.gif you can tell that football and rugby make up half the total and cricket, tennis, athletics, and other make up the other half.
Civil asset forfeiture is fine if you're convicted, and the law says it's ok for a given crime. The current situation is ridiculous, and I'm surprised nobody brought a case all the way to The Supreme Court (I mean a case when a person was not charged and/or not found guilty).
As is the brain. Just talking to someone, in what we consider an ordinary way today, could be trouble.
Just trying to represent time.
If this stands it seems like the Feds are going to be able to prosecute anyone who ever misleads someone in a commercial transaction for "wire fraud" and potentially send them to prison for 20 years.

Is this really the country we want to live in ?
See rarely used second template arg of unique_ptr- the cleanup fn can be specified.
> If you look at the size of a container instance – hundreds of megabytes, if not gigabytes, in size

Or... 10's.
Here's a (brain) dead simple rule about pie charts: if you're using them to demonstrate a difference or change, so that you end up showing two, or more, pies, and if the aggregate amount represented by each pie isn't equal, then you're up to no good. Even if you try to compensate by making one of the pies have a larger radius than the other this is bad, as area comparisons will always be under perceived. If the case distinctions have the same summed aggregate, and you're just showing how the apportioning of the groups have changed then you're ok. But then graphically why not just have two bar charts which are visually more easy to interpret?
I had this thought too. I'm actually surprised it was something this simple for an engineering org as competent and storied as Stripe, guess it proves Murphy gets all of us at one point or another.

The issue IMO is splitting an otherwise atomic procedure (creation/drop of index) into two change tickets. I'd be interested to know how the DDL was communicated to ops that led to its getting split.
You gotta wonder what's going through their heads when the slides are freely available in thousands of places across the internet. Do they WANT to appear so weak? There is no point of such an action except to make them look like morons and instill resentment.
IKEA also frequently use first names (for people), e.g. Billy or Erik, and even abstract words, e.g. Poäng (point, as in "that's a good point".).

As for jf: I searched through the pdf of a 1300 page Norwegian dictionary, and the single word in there containing jf is the abbreviation "jfr." which is the same as the abbreviation "cf." (confer) in English. So jf appears to be a very good choice.
That it a good solution, and in the case of the ST Micro chips the i2c lines can be pulled to 5V without issue, but in terms of compatibility Arduino shields which use i2c rarely pull them to 5V with weak pullups, expecting you to do that with the chip instead.
Small nitpick, the word "civil" is important here. If you're convicted of a crime, there is nothing "civil" about it, you're tried opposing a public official (district attorney -- not a private party) and convicted of a criminal offense. I don't think anyone here is arguing that asset forfeiture isn't appropriate for convicted criminals.
I've had similar experiences when taking electronics along on business travel. When it's me and a boring hotel room for the week, why not? Lots of fun, and I enjoy low level programming.

Conform is the word of the day for travel. Wish it wasn't. I've since learned to avoid batteries. Most of the other stuff won't be at issue. There is no significant mass, and that means no significant threat. (mostly)
i grew up in pasadena, ca in the 50s
when i was 5 i walked many blocks to kindergarten

in the first grade i took the public bus halfway across town and then walked a few blocks

someone offered me candy and a ride one time, i declined

has something changed?
Technically it is Intel that competes for the AMD64 market ;)
Yep, you are right - I think our previous implementation would be better described as a "typical HTTP Rails JSON API." As I briefly alluded in the article, we actually initially had a hypertext-driven API using RFC 6570 URI templates, but had to eventually change designs to increase performance for mobile apps. Payloads needed to be smaller and we couldn't afford the extra requests necessary to traverse the endpoints.

But yes, I agree, what is commonly called "REST" isn't usually.
AMP idea sounds good but it does not convince me that it is mandatory to include amp.js via CDN. Why not via bower or other package manager?
It it also clear that Google Will push it by giving higher search ranking to sites that implement AMP, and also has a partnership with Google.
In fact I am working as a consultant for an italian newspaper and their competitor was contacted by Google to be an early adopter and partner.

Aside that it looks ok, and probably I will make my blog AMP compliant.
Tracking Boston’s Progress with Just One Number: The CityScore
Twitter is suppose to be a growth company. Layoffs and downsizing are not what growth investors want to see. Thats why it went down.
Java, just the language,is absolutely more secure.

Just be careful what you're using in the JRE else you might negate that gained security[1]. Of course so many C libraries have vulns too, just not included in one commonly used package that runs on every operating system it supports.

[1] - https://www.cvedetails.com/vulnerability-list.php?vendor_id=...
There is a theory that has substantial evidence that "senescence" the technical term for aging is a defense against cancers. Here is a long article about how cancer and senescence are related.[0]

[0]http://www.nature.com/nature/journal/v448/n7155/full/nature0...
The fact I completely forgot about it is probably quite telling!
Action video games improve brain function more than so-called ‘brain games’
Show HN: EDRepublic Online Hackathon – Happening Now
Nice! So there is basically no reason to buy Atmega anymore (for me, at least).
How to Avoid Spam Filters
We do a ton of database updates regularly and we rely on a simple wiki put together that has all install instructions for a release which goes through sr engineers peer review. Seems like having a single tool/document for code and db updates could have mitigated this?
Is this just Amiato? Did they acquire them?

Edit: Yep, looks like it. Congrats to the Amiato team.
If something is taken when you're convicted, it's usually criminal asset forfeiture. One argument in favor of civil asset forfeiture is that it is the only way to take assets from the estate of a criminal who died before being convicted.

The Supreme Court only takes cases it wants, usually because different circuit courts (the level below the Supreme Court) are at odds with one another. The Supreme Court also sometimes takes cases which they are certain will have circuit splits, ones of particular importance (Bush v. Gore), and those which are causing a body of law to be developed which the SC justices believe to be incorrect. Because of these facts, you cannot force a case on to the Supreme Court docket; they are probably waiting for the right case to take.
And much easier to collect data on people's money-spending habits.
Legislation improves access to free and open-source textbooks
Keep Talking and Nobody Explodes [Game Review]
It's great that GraphQL's solved some of your issues, and you've encouraged me to look into it a bit more. One thing you should worry about, though - if at any point there's any user-specific data in an HTTP response that doesn't have the user's ID in the URL (or something pointed to by the 'vary' header), it kills the idempotence of the request, whether you're using what Rails gives you or GraphQL or XML-RPC or whatever, which is pretty much the whole point of REST. It's not just REST-nazism, this completely destroys the usefulness of any cache past that point if it doesn't understand the internals of your API (as you seem to note that you've realized at the end of the article). It might make sense to just not expose the GraphQL to the client, so you can think about the idempotence of your requests from the backend, and allow yourself to keep making use of caching proxies and client-side cache.
I'm curious about the predatory fees for banking services you mention.

A Wells Fargo checking account can be had for $10/mo, a fee that is waived given 10 or more transactions a month or $500 or more in direct deposit a month or a minimum balance of $1500. Would people with non-existant credit be ineligible for an account like this?
Here's a link to an early-release PDF of the study: https://psilosybiini.info/paperit/Psychedelic%20medicine,%20...
Yes, even though Sphinx seems the most obvious miss in the list, since it powers readthedocs.org
Nowhere, and that's the problem.

This kind of announcements have been going on and on for years, but I can't still get a motherboard where I can plug 2 SATA drives, let alone anything resembling a low-end Intel board.
I've heard some rumblings about adding GraphQL as a feature to Elixir / Phoenix. Anyone know more about this?