skysight-inc/HackerNews huggingface dataset:
Discussed in 2013: https://news.ycombinator.com/item?id=5293152.
While the capability of the police to forfeit property is absolutely and completely unfair and, in an (supposedly) equal society, deeply questionable——as opposed to taking the property temporarily unless proven guilty——the unescapably stupid thing to do is to a) transfer money in cash and b) smoking weed while doing that.

All kinds of unlucky things could happen with a) such as losing the baggage/wallet/jacket with the money in it or being robbed. But because of b) and in a state where I believe cannabis is illegal, the mere unluckiness can be imagined to be amplified tenfold and one of the results is a catastrophe such as his.
Yes, but I rarely get any pleasure from it. If I want to feel like an active participant in a democracy it typically takes a bit more than that.

Going to city council meetings, canvassing for candidates, collecting signatures for propositions, etc...those all feel a bit more impactful than voting...but I feel like a hypocrite doing any of those things if I myself don't actually vote...so I vote too.
C-[ is trivial in an English keyboard, but in the Spanish layout it's an awkward three-key chord. I use the latter, and I've been happily inoremapping jj to <esc> for a decade.
"centralize it"

So... don't?
I'm the original poster, and I was talking about ads, not metered queries. :)

[edit] and perhaps that was a poor choice of words. as a developer of high-volume low-latency exchange feeds, "query" has a bit of a different meaning to me.
I like how Hacker News is all about exploring new things and playing with technology.
It makes technically no sense if you can harmonize the regular driving condition into one single realistic cycle. Then the results are reproducible and comparable.

OEMs all have their in-house driving cycle to better reflect the reality[1] than the boring standard cycles.

The emission/consumption performance for some given customers is easily predictable.

To prevent cheating, you'll just have to open source the software inside.

[1] Lino Guzzella, Antonio Sciarretta: Vehicle Propulsion Systems: Introduction to Modeling and Optimization (page 22)
https://books.google.de/books?id=aVNEAAAAQBAJ&pg=PA22&lpg=PA...
I didn't realize that. Great point, I'm going to check it out, then update the post!
I'm also writing a Guile program specifically for the static site generator workflow called Haunt: http://haunt.dthompson.us/

I'm currently adding support for the Skribe syntax that Skribilo uses and it will be available in the next release, after I convert my existing blog to Haunt from Pelican and work out any transition pains.
The Truth About MapReduce Performance on SSDs (2014)
What benefit does the word "transpile" confer over just saying "compile"?
ChuckMcM was using jargon that is used especially in markets that are closely tied to academia (pharma, etc.) in which the thought leaders are the influential ones. Extending his 'metaphor' to other groups, thought leaders then would be the members of any group that influences how people think. Thus(sadly) it is true that athletes or other celebrities who may not be qualified or expert in a domain can be, ipso facto, thought leaders to a significant group.
Ideas about a new programming language for games [video] (2014)
> we'd probably end up with a lot of people thinking they now know the answers.

People thinking that they know things that they actually don't is definitely a problem. I find that it happens way more often in people who have never tried LSD though. People use false assumptions and self-lies all the time to survive this world. Here's an example:

> It's why a lot of pro-LSD people are simply not taken seriously, because they forget it's just a molecule messing with brains' perceptions.

How do you know that? Science doesn't even know what consciousness is, so what does it mean that you're "messing with perception"? Based on that - I think that you simply don't know and you have no proof of what you're saying.
The vehicle we were in did have a shotgun rack, but someone mugging him was a pretty low possibility. It was a restored truck (very nice old Ford). It would have to be some stranger from out of area. Calling some dumbass's uncle for starting trouble is still a pretty effective crime solving technique in large parts of the US.

[edit] where the heck do you live that muggings are commonplace?
> Web APIs aren't a replacement for a plugin mechanism, and never will be, because they live below the browser instead of as a peer of the browser.

NPAPI is mostly below the browser nowadays. And PPAPI is completely "below the browser". In fact, that's its entire reason for existing.

> Your dedication to a two-tier system of platform-level code access would be less hypocritical if you imposed the same restrictions on yourself -- but of course, if you did that, you couldn't actually ship a working, high-performing browser.

I would love to implement more and more of the Web platform using the Web APIs, and there has been continuous motion in that direction for a long time.
OptiKey – Typing with Eyesight
That doesn't seem right. The treaty will be signed by heads of state before it goes to legislators. They can't change it, by the time it is released it is fixed and the signing countries are obliged to make it law. Therefore your first paragraph is dead wrong.

The negotiating parties have access to the text so it is not about negotiating receives. It is secret from everyone except those competitors. The wants are circulated as annotations on the leaked drafts. Therefore your second paragraph is dead wrong.

I don't mean to annoy you, just help you realize you should reconsider your opinion on this.

A valid reason might be the negotiations effect share and commodity prices and need to be kept secret to avoid insider trading in these. But more likely it is so e.g. France can trade weaker pollution regulations for retaining farm subsidies, economically important but politically toxic. If voters are not mature enough to see this then is democracy a good idea?
This is a pretty common fallacy of an argument.

Some of the most successful companies, like HP, Microsoft, Apple, and Adobe, changed on day 1.
> What's the fact that sometimes people mix up tabs and spaces got to do with anything?

Its a concession to the fact that humans are imperfect. When I am working with a group of people I find it easier to just use spaces instead of relaying on everyone configuring to use tabs correctly.
Far more common these days, I think, than actually typing on another person's keyboard is sharing an account on a server (physical or virtual). Not that that's a great practice.
I've found it to be extremely difficult to replicate production workloads in staging/development.
That might be it, but by "on-call engineer" I understood it was someone else.
> Reading these notes make me feel embarrassed for the author.

If that post made you feel this way, then her follow-up article will have you cringing and wincing:

http://sarah.thesharps.us/2015/10/06/what-makes-a-good-commu...

Aparently she knows for a fact that all those points definitely make a good community, despite never having run one the size and scale of the Linux kernel project.

Pure arrogance and entitlement.
A good reason not to watch network newscasts. Too many clowns :-)
You are right about simplification and I considered that point. Yet the fact that each application is developed on a general purpose platform, then compiled down to a unique production OS image seems to open up a lot of new corner cases involving long tail bugs. We had a similar phase in during the Java transition to JIT in the late 1990s, though that's obviously an antithetical technology approach. Either way you get a lot of ugly crashes.

The key for industrial use is extremely robust dev and management tools. Unikernels are thought-provoking but on their own do not appear to be anywhere near enough to solve the problem they are taking on.
It's pretty easy to monday morning quarterback other org's choices or actions here. Every person posting here will have something in their org break at some point that was "obvious" to the rest of us.

EDIT: Someone, somewhere is going to have a bad day because they didn't know what you did. This is why sharing knowledge is so important. That's part of what HN exists for! Share what you know! Help improve open source tools! Help your fellow IT professional get a good night's sleep.
I'm guessing power constraints. More flash you have, more power you'll require. Even increasing power consumption deltas minimally may impact battery longevity between charges on mobile devices enough to make it unfeasible with current battery tech.

"Power is an important consideration because the design of flash memories is closely tied to the power budget within which they are allowed to operate."
http://cseweb.ucsd.edu/users/swanson/papers/TransOnCAD2013.p...
> Future Puzzles

> Looking forward, here are a few things we are currently looking to solve:

> Mutations (Writes)

I agree that this is a more compelling way to structure GET requests, but REST and GraphQL are not comparable until they are solving the same problem.

Writes are a huge piece of RESTful interfaces (PUT, POST, PATCH, DELETE). I'm happy Facebook is open sourcing their work, but it does a disservice to GraphQL to compare it with REST.

Perhaps the title would have been better as "From REST reads to GraphQL."
Mortgage interest deduction isn't so much a handout for "older people" as it for middle and upper incomes, ie those who can afford to buy homes and who have the income level to be in a higher bracket.
I don't know about Norway, but the other anglo countries have similar laws. It seems to be less of a problem over there because, as far as I can tell, the people are of a better moral stock. How law is carried into effect is a reflection of the virtue--or lack thereof--of the people.
Woot, a postmortem from Stripe! I've been asking for these for over a year and hopefully we'll see more from them in the future.
No.

I refuse to support a system that legitimates the voice of the majority. There is little to no correlation between what the majority has been led to believe is right, and what is actually right.

That said, I could see myself voting for a party that (intentionally or not) would reveal the ridicule of democracy, a party that undisputedly wouldn't be fit to rule the country.
Never said it was common, I'm just saying I don't think it's worth the privacy to expose yourself to that amount of risk.

Also the gov is gonna know you bought the truck when you register it, anyway.
Why do India and China have so many people?
That would be pretty challenging, particularly as weed in transit is often double-vacuum packed and stored in boxes containing coffee beans to (try) and elude drug sniffing dogs. I can't even conceive how you could train a dog to distinguish between lingering/residue in that scenario.
Failures caused by this should have returned an api_error, a card_error (like card declined) would have been returned upstream from Stripe.
Unless I'm mistaken, `__attribute__((cleanup))` is function-, not block-, scoped. The cleanup attribute is actually declared on the Block, which is kind of cute.

Instead, I'd suggest just making regular use of `__attribute__((cleanup))` in C under GCC or Clang and avoiding C blocks entirely. In this case you could do something like:

#define AUTOCLOSE_FILE(n) __attribute__((cleanup(autoclose_file))) n = NULL

void
autoclose_file(FILE *f)
{
if (f)
fclose(f);
}

int
main(...)
{
FILE AUTOCLOSE_FILE(*a), AUTOCLOSE_FILE(*b);

a = fopen("foo");
if (!a)
return;

b = fopen("bar");
if (!b)
return;

...
}
I find pushing ctrl to be at an extremely inconveninet position. Do you look at the keyboard when you type? If so it might explain it. Being a touch typist my left pinky is 1 character away from Capslock so it's way easier to press.
> Data licensing and other revenue totaled $48 million, an increase of 95% year-over-year.

This is from their Q1 2015 report, so data licensing and other revenue is probably $200M ARR now. Clearly people are willing to pay for access. If they improve the way they provide that, it just might be bigger than a $1B opp.

I would be willing to pay for on demand abilities to control who I follow and unfollow without being throttled.
If it's a requirement to be within X performance then yes.
Secret Service agent who saved Reagan after shooting dies
Do you have some way of sharing non-UI code between native mobile clients, e.g. Xamarin, RoboVM, or something JavaScript-based? React Native would be particularly appropriate here since you're using GraphQL and looking at Relay. Rewriting non-UI client code in two or more languages is unacceptable in my view, because it either encourages dumb clients, which is the opposite of what you want if you're using GraphQL, or leads to subtle discrepancies between platforms.
Could you provide a citation for that?
The question seems a bit trivial to me. With Java, you can create a binary file with any content and then execute it. So, in theory, you could replicate the executable code of any C program.
Ah okay, I didn't realize that.
A country can't sign part of an international treaty. They must agree to whole thing, not only the parts they like. Leaving it open for modification would essentially mean reopening negotiations, which is a good recipe not never getting any trade agreements signed. Regardless of whether or not you agree with this particular trade agreement, SOME trade agreements are good, and forcing them to happen in the open with each government having the option to modify it would be a terrible idea.
Area charts are valid only if the area is meaningful. There certainly are cases where it can make sense to use a visualization based on filled, stacked areas. Look at, for example, Weatherspark.com's colortemp visualization for historical weather trends, which shows 'percentage of time when temperature is in a particular band' over a time axis. That's a good visualization, because the quantity makes physical sense - integrating 'time in band per day' over 'days' gives you overall 'time in band'. Integrating 'market share' over 'months' gives you 'market share months', which is a meaningless value.
Fear and Sadness in Silicon Valley
There aren't a lot of safe ways to keep cash - bank accounts can be seized for all number of reasons with zero recourse, so a bank account isn't a particularly good place either.
Honestly, the only one of these that doesn't seem weird is the Cuba trip (and carrying large amounts of cash across international borders has its own laws). Most of the rest are either "possibly criminal activity" or "likely not a giant pile of cash".
Note that in Norwegian (and, I think, Swedish and Danish) words are joined without a hypen. So anythime a word ending with "j" like "marsj" ("march/marching") is joined with a word beginning with "f" like "fart" ("speed") you'll see "jf": "marsjfart" ("marching speed"/"cruis(e|ing) speed").

Also jfr isn't a particularly rare abbreviations - so ymmv. At any rate, with how words can be combined in Norwegian, there's generally no good safe choice...

Another example, in line with the IKEA theme: "dusjforheng" ("shower curtain").
The TLDR is "Don't carry thousands of dollars of physical cash unless you want to risk the police [or some criminal] stealing it".

Which is an awful thing to say about the police, but is probably reasonable advice to give.
Not in this case it doesn't.
It seems like a really common use case where

1) The service wants to keep its API general, and not client-aware

conflicts with

2) The client wants to assert a client-specific spec on the returned data

(e.g. the track tags, etc)

One of the other possible options would have been to keep the general API and then have a separate client-aware bespoke service that consumes it, and serves as the intermediary. Back in the SOA days they called this "service composition". There are real tradeoffs there though, in that you also want to avoid fully synchronous (nested) service-calling-service scenarios because then latency and SLA becomes the choking point. Caching doesn't fully solve that. More reactive architectures start to help out at that point, where consumers are not necessarily waiting for the full response before they take action.
I build BI products for a living and used to get into a lot of pedantic arguments about whether a pie chart or worse, the dreaded 3d bar or line plot, should ever be used. Eventually I had to give it up though as it's not a productive use of time to try and pry beloved bad visualizations away from business users, plus I sensed I was starting to become a stephen fewesque curmudgen. They haven't reasoned their way into liking them so you can't reason them out of it most of the time.

Instead I'm focusing on building tools that show data in better ways first, but let you get to other options if you really want to giving viewers you share views with a way to quickly switch back to something easier to grok. Even initially graphically purist tools like Tableau have had to go this route and you can now find nightmarish packed bubble plots and the like in there. In modern visualization there are so many worse visualizations that have crept in that arguing about the pie chart seems almost quaint to me at this point. For example check out this flying 3d globe with bar chart where the bars point directly up (at the camera) https://www.microsoft.com/en-us/powerBI/power-map.aspx - A while back someone from Microsoft demonstrated this to me and after I gave him a hard time about it being an improper way plot geographic data he retorted "The world is round you know!"

edit: formatting
That's pretty cute.
That encourages you to make a spurious connection between football and rugby. Football and Other also make up a half, but that wasn't what you immediately spotted.
Python wats
The headline has since been fixed to mention Clang or GCC with Blocks.
I don't know why you were voted down. While this is an incredibly unjust act by the police, it is, also, an incredibly stupid act by the student.

Being stupid does not make one deserving of being a victim, but it still does leave one being stupid.
You must not have read to the end. You're in violent agreement with the author. The points about SQL injection and the Java privilege system are raised, not because the author considers them valid, but because they have rules about both of them, and someone who is just counting rules -- an obviously superficial metric that the author ultimately rejects -- might be influenced by their presence.

Yes, the lede is thoroughly buried. Fault the author for that if you like; but you don't actually disagree with the conclusion.

EDITED to add: I'm going to put this more strongly. You should retract your comment. The ad hominem at the end is not only uncalled for but extremely ironic given that you didn't (your assertion to the contrary notwithstanding) actually read the entire article carefully. Your comment is not up to the standards of discourse that I know you strive to maintain.
If carrying $$$$$ in cash is a normal thing to do, the EV of a mugging goes way up, and I expect muggings would go up, which is a bad thing.

That's not to say I support the actions taken here, of course.
"And they could, in theory, cure cancer...."

Did you really just say that?

Cancer of the liver; cancer of the rectum; cancer of the [insert body part], has nothing to do with the actions that psychedelics have on your body.

Psychedelics are for the brain and mind, not the abnormal cells attacking your rectum.

The only mention of cancer in the article is treating cancer related anxiety. Getting high and curing cancer at the same time wasn't part of the research. Mentioning such ridiculous ideas only poisons the discussion, and drags the legitimate scientific effort through the mud of false belief, back down to the bottom of the reputation barrel.
Tidier Drawings of Trees [pdf]
It's written in 1pt Arial.
Have you seriously missed that this is a discussion about general customization of things such as keybinds/mappings, shells, dotfiles etc? Somehow you turned that into "IDEs vs vim" and you were the only one mentioning IDEs. Customization can happen in IDEs too, you know...
Ask HN: Should I quit my startup?
I'm the co-founder of a startup that currently makes +- 3k MRR. We've originally been 2 technical guys building our first startup together and making a lot of mistakes down the road.

We've been working full time for 2 years now and I'm pretty impressed by what we've accomplished and learned even though the money is not there yet.

4 months ago, we convinced another guy to step-in with us to be the CEO, he has a background in business and marketing.

My relation with him has been quite difficult as we share different values and vision. On top of that, I can safely say that I'm feeling more and more burnt out and unmotivated since he joined.

Now that we're 3, disagreements are much more frequent and are usually resolved through "politics"(2 agree, 1 disagree).

My main issue is that I can't seem to trust the new CEO as much as I trust my original co-founder. I feel that in a year or two when the balance of power shifts, he wouldn't hesitate to get rid of me if there's a big disagreement between us.

I voiced my concerns with my first co-founder, but he is very hesitant to get rid of the CEO as he fills a very important gap in the business and I think he is right.

I see two possible scenario to the state I'm in right now:

1- I'm afraid to lose power within the company and that things aren't going my way as much as I want to.

2- My gut feeling is right and I should not continue working with someone I have a hard time trusting just for the sake of building a successful startup.

Questions, advices or comments are more than welcome.
Yes you can do scaled down testing in non-prod. An example test may try 100,000 or 1,000,000 operations when in production you might see 100,000,000. So you won't catch subtle performance problems but you'll catch order of magnitude problems (i.e something that is O(n) vs O(log(n))

Although in this case the test for this change may just EXPLAIN a known query and ensure the output matches what is expected.
This thread, which includes contributions from some very skilled ARM hackers, has been a true delight to keep up with lately:

https://boards.openpandora.org/topic/5600089-jumping-into-ar...

Jumping into ARM assembly .. with notaz' help!
I assume he was being sarcastic. But as a general rule HN doesn't do sarcasm.
Enjoy the Power and Beauty of Your Youth
I quite like GraphQL, but only as a filter and composition layer in addition to a REST interface.

REST gives elegance to the non-GET operations and it is only the caching, JSON size, and composition of multiple resources that can sometimes be a strain for some applications (or all applications if the REST API is designed badly).

I'm probably going to investigate providing a common GraphQL query interface to my REST API. This would internally be an orchestration layer providing the filtering of properties as well as the composition of resources, and of course the instructions to that layer would be GraphQL queries. This would allow internally cacheable resources (perhaps via ESIs) and the filter would be applied in front of the cache layer.

I'm not yet at the point where I think GraphQL replaces REST, instead it complements it.
pretty sure that produces 0,1,2
Block This – Free Android Ad Blocking App