skysight-inc/HackerNews huggingface dataset:
* 30 January 1933 Hitler sworn in as chancellor.
* 27 February 1933 Reichstag fire.
* 28 February 1933 Reichstag Fire Decree passed. Suspends habeas corpus,
freedom of expression, freedom of the press, freedom to
assemble, and communications privacy, among other things.
* 23 March 1933 Enabling Act passed. Allows the Reich to pass laws, even
those which deviate from the constitution. With this, the
executive branch completely overpowered the legislative
branch and established Hitler's dictatorship.
Keep it up sergio!
As someone who has never hosted an image service like this, what actions do you have to take to stop "bad" people from using your service? For example, uploading inappropriate / illegal / violent images.
Docker alone does not solve these problems. You need something like Kubernetes

>- Host mounts? So what happens when a container gets rescheduled to another node?

Persistent Volumes and Claims. Kube manages moving containers, and the associated storage.

> - External SAN? Congratulations on your budget. That's not easily doable in public cloud I guess?

Specify a storage class on the persistent volume claim. Most providers (Google, AWS, Azure,..) support SSD

> So what if disaster strikes and all your containers go down? And get moved around?

You let Kube handle rescheduling containers onto new nodes.
Lowering Rust traits to logic
It's not that they can't fix it. It's simply that they won't fix it.

It would be interesting to see if a Neural Network could find patterns in the PRNG quickly. Does any hacker have a decommissioned slot machine at home that we can experiment on?
What we need firstly is an education campaign because corporations have waged a huge propaganda campaign for decades now, and have mostly successded in moulding people's attitudes and beliefs.
> The memory layout that classes ... force upon you lead to sub-optimal caching behavior.

Simple classes have the same memory layout as C structs, contiguous chunk of memory which means they are cache friendly.
You just described Libertarianism.
The cost of life argument makes no sense. By this logic we should be seeing janitors, or translators, or piano teachers in SV being paid much, much more then they are. If there was a coal mine near San Francisco I suppose the miners would be paid 100k/year as well?
> One of my pet peeves about that phrase is that the reality is 'practice makes permanent, not perfect'.

That's also false, as both the beneficial and detrimental effects of practice fade over time.

The better correction of the common saying (which I've heard from many different teachers and coaches over the years) is "perfect practice makes perfect".
Ben Franklin! He was all three!

(I feel funny)
I don't know about you, but I don't see anything "secret" about the current power of monopolist corporations.
I'm not sure if this is intentional or not but the "official" solution to today's challenge appears to have a bug.

https://github.com/opentable/ot-daily-algorithm/commit/e811a...

It will return true even when the tree is not a valid BST. Consider the case where a leaf in the left subtree contains a value higher than the root of the tree.
I wonder if Stoicism's rise is also related to organized religion's decline and society's increasing secularization, since both Stoicism and organized religion give concrete guidelines on how you go about your day-to-day.

Western philosophy has been divorced from real life for quite a while, and Stoicism's rise seems relatively young comparatively.
> Plans include a new book,

You should consider publishing an official, printed book. I would totally pay $30-40 for something like this. And once it's already written, the actual publishing shouldn't be too time consuming (but idk lol). I think that there's a lot of people who'd buy it just to support the project.

On one hand, I do have environmental concerns, but on the other hand, I feel like my retention rate with print is like 70% as opposed to like 40% with digital.
A lot of the cut paid out to workers in the gig economy is going to fade to nothing. Uber and Lyft, as prime examples, are two capital spigots that are making binary bets that they can essentially cut their labor costs and become profitable through the use of automation (Travis basically said "self-driving and IPO or bust). It's not going to look pretty when workers who didn't have any protections suddenly face up to shifting capital.
I hated my Samsung "Smart TV". All the apps were slow, the Wifi receiver in it was crappy. Since I have so many devices now that have all the streaming apps (PS3, PS4, WiiU, Apple TV) I can save money when buying a TV by looking for the most dumbed down basic TV I can. I just need something with a good amount of inputs and that's it.

The last smart-type TV that I bought actually used Roku baked into it. At least Roku is a well-known and independent service and not a manufacturers proprietary shoddy system.
Maybe one day this country will get over the myth that republicans care more about the free market than democrats. Everyone is beholden to "donations".
I have dabbled a bit with it quite a few times and was quite happy about it, but my main issue is that AFAIK there is not "pure" Java API for Realm.

It seems there have been attempts at removing Android dependencies but it seems they were never finished, meaning you can't have it running on desktop apps.

This is (sadly) a showstopper for me.
Well, there's https://weex-project.io/ which claims to be easy the "React for Vue" you're asking about.
The only caveat is that you'd better be reading Chinese version of documentation with Google Translate, English one is basically one huge "to be done" placeholder.
Karen handles this PNG reasonably well! https://dl.kraken.io/web/b1c01b1fa0a9b938bea45d8accd0db48/X9...

At the same time shaved off 46% of the size (from 4.02 KB	to 2.16 KB)
Ben Franklin was never a president
My coworker and I thought it would be awesome if James Kirk (captain of the Zumwalt) stole this (a la every Star Trek Movie) from the dock and saved the world.
Hi XorNot,

did you publish your findings anywhere?
I think the premise is sound, but also basically where we are today. With the clothing analogy you buy the individual items (or not) and put together the outfit of your choosing.

As it stands I can pick one of a dizzying array of products that adhere to all kinds of regulation across many jurisdictions.

However, where it begins to be problematic is if we (returning back to clothing) say ALL belts must be 4" wide and made of genuine leather. Well, now that coat you wear that has a belt around the waist that is purely decorative is completely out of regulation and can't be used. Even though you and I both know it's just fine. Or the swimsuit that ties around the side gets classified as a belt because of some inane interpretation. You'll get that times a thousand for every single room in the house.

Like the argument I had to have with the plumbing inspector about my ridiculously expensive dishwasher not needing a breather valve because it had mitigating features built in. Showed him the spec sheet that called it out and pulled up customer support with him there. In the end? The rules say breather valve, put one in. No common sense or room for interpretation. The intent is to keep dirty water from back flowing into your dishwasher. But now years later you have minions that don't understand the intent, they just know what the regs say.
AMP is literally the most user-unfriendly thing I have seen on the internet in years. It's like an exaggerated example of an aggressively awful UX antipattern.

It's what finally caused me to switch to DuckDuckGo on my phone. Sucks that the results aren't nearly as topical as Google's for most searches.
Oh hell no, not hating docker! I love docker ( I'm the multiplier in my company and teaching docker,and doing presentations)

But putting pb of data in docker three years ago is just insane.

There are still things not clear right now,which are not stable ( not in unstable destroying data) but unstable in: if something goes wrong with your data you need to dig deep and find out what's going on. If stuff changes every few month. You will have a hard time.

Also, enterprise concerns like:

Will there be a docker standard from Google and Facebook?
Will AUfs be Version 4 or scrapped again?
Will the composer format stay?
How to manage runtime upgrades? Ie syncronize 1000 dockers with one version update than another 1000 with another software. So that one update depends on another.
Etc etc etc.

Three years ago it just wasn't there. Two years ago I would have said: "good enough" to play around. One year ago it started to get really interesting for enterprise.

That's why I say: you handle pb of data,with docker,three years ago?

Balls of steel.
Easily my favorite president! Just how many executive orders did HE enact?
> Notice how new important growing languages like Swift and Rust don't have garbage collection

Swift is using reference counting which is a form of garbage collection.
Well they usually are forced to. They accept sharing with others as just the way of the world, not something they get to have a personal opinion about.
Fido is blocking texts that contain the word “Uber”
> Most decent website are already fast on mobile, I really don't get all the fuzz about AMP when in reality the small margin you gain from using it is almost non comparable to the real website.

That's not my own experience, and that's why I keep favoring AMP links when searching on mobile, but YMMV.
Gah, another one of those promotional posts about Rust.

More seriously, the large enough Noto Sans font with a hint of extra weight renders so gorgeous in Firefox (it's even bearable in Chrome!). I wish all webpages were as readable.

As for the content, well, going back to: https://eklitzke.org/c++-java-go-and-rust I think the problem of the author is that he doesn't realize it's possible to do much better than C++. Claiming Rusts' ownership and borrow checking is exactly equivalent to std::unique_ptr or that Rusts' concurrency support is comparable to std::thread betrays very deep nativity, misunderstanding or just a mindset that can't see beyond what C++ offers.
So i think it's partially values and markets. Enough US companies know the transformational effect tech can have on a business where that's not really understood elsewhere. Just having part of the market get it means it drives up all prices. In the US you are quoted a price before taxes, many countries quote offers post taxes (including after income tax is taken out). That can make US salaries look MUCH higher. Because the employer doesn't think about taxes, if you're outside the US as a contractor or freelancing, you can get a much better deal.
Once you understand traits, those trait bounds really aren't bad. Now if this were some macro-heavy library, I could understand the complaints, but this is just constraining the type of the generic type.

I find it readable, it's saying that the "inner" function returns a reference to the value the State object is containing (which must be of a type that implements Send and Sync), and that reference cannot outlive the State object the value was returned from.
Immutable append only database with constantly processed analytics...

Why does it have its own stream processing when there are 5 or so ones already in Apache?
Test drive your next job
I would say random numbers are a fairly core programming construct for a standard library. They're important, difficult to get right, and have huge implications if you get them wrong.
are you saying that google proxies and loads data based on the screen resolution of the client? that's actually pretty awesome.
The original page is what I wanted, originally. AMP has been a bad user experience as evidenced by the fact that this news story is near the top. AMP just boxes the user in, to the point of frustration.
If you somehow manage to ban large corporations across the board you will probably just move that level of power underground to the mafia, pulling the strings of a set of smaller companies...
If you're having problems, the best bet is to post something to the mailing list (http://cuis-smalltalk.org/mailman/listinfo/cuis-dev_cuis-sma...) with some details as to the trouble and someone should be able help get it sorted out.
> So I think that, if that's how the AGPL defines "user", had RethinkDB continued to be AGPL, I'd be disincentivized from setting up and sysadminning a multi-tenant RethinkDB instance and more incentivized to provide scripts for people to run their own instance.

Why would it? The AGPL isn't designed to disincentive people from providing hosted services based on a particular piece of software, but to ensure those that do it can't make proprietary modifications that break the spirit of the GPL while technically being in compliance.

You aren't asked to do anything beyond what the GPL already requires, it just defines that users accessing the covered software over the network have the same freedoms as those who instally it locally do.

> There are reasons that's good (in theory, users will have more control over their own computing), but also reasons that's bad (you don't get economies of scale, you don't get someone dealing with security updates for you, you probably have to pay more, etc.).

Again, the AGPL doesn't impair any of these. The only addition to the GPL is you can't turn a GPL'ed program or binary into a "service" and bypass the spirit of the GPL while still being in technical compliance.

Sure, if what you want your differentiation to be is proprietary value-added features then you're going to be in a sore spot - but again, that's breaking the spirit of the license.

> And it seems to me that if we want to encourage designing systems a certain way, a legal document is probably not the tool for it. I think it'd be much better for free software if we spent time building tooling for non-AGPL software to serve its own complete corresponding source by default.

Put it up on github and link to it, it's as simple as that. The GPL and the AGPL don't have overly strict requirements on how the source code is distributed, only that you must make it available. Most AGPL'ed web applications I've seen provide a link in their footer to the source code, if you modify the source you must provide your users a way to gain access to your modifications.

As a note: I'm not some cultist that blindly follows the FSF. I usually prefer BSD/MIT licenses in anything I work on, but as someone who is looking at starting some projects that could potentially be SaaS-ified the AGPL is a very appealing choice in some ways - applications and libraries have different licensing requirements in my eyes, when it comes to a library I just want people to be able to not re-invent the wheel, when it comes to applications I want users of the software and the community around it to not be at risk of a proprietary vendor destroying the community.
> by owning firearms you become a bigger target than an unarmed household

That's overstating my argument.

Let me boil it down further (at the risk of some nuance being lost): Firearms are useful, but not extremely useful.

1) Firearms are not a panacea, and there are plenty of other tools that are at least as important, and a few that are more important. Lack of clean water is a lot more likely to kill you than lack of a firearm.

2) Rather than focusing on personal defense where everyone needs one or more firearms, a better approach is community defense, which at the Dunbar Limit (~ a small village) scale requires at most 1/3 of the firearms, so the resources that the other 2/3 would represent can be spent on other things.
I don't think the T: NonZero bound is doing anything there: the size optimisation is done on the monomorphised/specialised type, not the generic one. In Rust, the concept of a generic types only exist at compile time, and they have no layout. Of course, this is still an example of a generic systems that specializes for performance, in a language that isn't C++.
Isn't that comparison a bit overdone? Even people who (seriously) know their history know not make facile comparisons, and draw more interesting/plausible parallels: https://lareviewofbooks.org/article/normalization-lesson-mun...
Ikea now sells hydroponics gear, in the UK at least. Looks neat. They're targeting it at herbs and salads.
http://www.ikea.com/gb/en/products/indoor-gardening/
totally agree. but my understanding is 'net neutrality' accepts this monopoly as a given and says the monopoly needs to be regulated. i think opponents would say - let's try to allow for competition (to break up the monopoly without central planning intervention).
About the only way that could happen in the next two years is if Trump dissolves the FCC as a wasteful impediment to business.
Smithsonian Libraries has been working with IA since 2006 to digitize our public domain material. We put it all on IA, but we also iframe the books on our site so we can create "collections" and have landing pages that let you browse all volumes of a given serial (among other things).
I wrote up a tutorial on Perl 6 and tried to get it more widely known there are a lot of neat features in it and it looks far better designed than most languages:

https://www.codementor.io/perl/tutorial/how-to-use-json-in-p...

However, most people have dismissed it because they think Perl 5 is dead and anything using Perl should be replaced with Python or Ruby or Go or Rust or some other language.

The hacker flavour of the language has been preserved and that's the niche it would fill for me...if I didn't have to basically do frontend web all day.
But then again, there are some gotchas. Runtime errors can happen when using unwrap like in every example around the Internet. I too used the unwrap everywhere when I started writing Rust, but soon realized that one must handle the results and everything can be an Err or None, even if you think it is not possible.

I'd say beginner tutorials should UNDERLINE that the use of unwrap() is just for the first prototype and you must refactor them out to proper error handling.
> Owning a gun doesn't guarantee loss of life

Statistically it does. I.e. this particular gun might not kill anyone, but for every 100 guns there is n deaths, so adding another gun means another fraction of a death added to that number.

> gun rights are literally part of the foundation of the U.S.

The interpretation of the 2nd amendment has changed radically within the past 50 years. The idea that government doesn't get to regulate even slightly the right to bear arms is a new interpretation.

Free speech is literally part of the foundation of the U.S., but we mostly all agree that slander is a thing that should be illegal. Separation of church and state is part of the foundation of the U.S., but churches are tax exempt.

These rules all have nuances. Why shouldn't "right to bear arms" have nuances.

> Further, I can kill more people with a truck than I can with a gun

Trucks are highly regulated and licensed.

> Honestly, I'd like research done to prove it one way or the other and be rational about it.

Well we agree there, but in my view the research that has been done has already pointed in the direction of more regulation than we have now.
How a refugee's selfie led to a lawsuit with Facebook
I agree that generally making an issue partisan can make it difficult to discuss without dragging in other tangential topics and positions. What in particular about the submission do you think is specifically partisan? Pai is the one with an admittedly anti-net neutrality agenda, and was selected by Trump. Including those details in the article is adding objective context.
I just donated. Thanks to the original RethinkDB team for your amazing efforts... I meetup with Michael Glukhovsky briefly over coffee here in SF and was immensely impressed then, and I am still immensely impressed now.

Fantastic to hear RethinkDB lives on. Long live RethinkDB. ;-)
Well I do know that they can build a mean quadcopter.
That's right blame the voters for the corruption of government. The idea that democracy would work if only it's citizens weren't so lazy is flawed. History has shown that the only action that reverts the inevitable march of governments, of any kind, towards corruption is revolution. Technology has made armed revolution impractical so we need a revolution of another kind.
Franklin was never President, unless you mean of his tenure in Pennsylvania shortly before his death.
There are a lot of people who make hardware random number generators:

https://en.wikipedia.org/wiki/Comparison_of_hardware_random_...
At what point should an intelligent machine be considered a ‘person’?
It's piggybacking a known issue in one domain into another one with dubious intent...

Aka marketing
it's not a secret that they're doing it. that much is quite obvious. it's secret not in the sense of "well concealed" but in the sense of "unaccountable".
parachute?
That's a good list. Get the basics right.

Rust has been putting much effort into "l33t features" in template land. I fear Rust may be going down the C++/Boost template metaprogramming rathole.
It will be printed by No Starch.
I too drink 1-2 gallons of green tea per day. I drink looseleaf exclusively, with a supplier who's checked on fluoride levels for me, and find I stay hydrated and happy much better on this specific (tamaryokucha) green tea than on any other caffeine source.
Hey Kenton - sorry that the business hasn't been as successful as you were hoping for. I am very surprised to hear that you had 0 paying customers though.

One of the UI changes that I would make is that Oasis defaults to the free plan. I actually selected a paid plan on the website, but decided to wait and see if the free plan met my needs. It seemed like it did, so I never took the time to upgrade.
The new book will be published by NoStarch press!
SQLBrite adds reactivity to SQLite (https://github.com/square/sqlbrite)

But in general I rely on RxJava to provide fine grained notifications. For example (psudeocode):

someUserQueryThatReturnsObservable()
.map(user->user.firstName)
.distinct()
.subscribe(newFirstName->newFirstName)

It's messy because you end up having to repeat everything after map for every property, not really an ideal solution
They should have stuck with AGPL.
One crash course on startup engineering - Hello, Startup (O'Reilly) [1]

This answer is cheating a little bit because the book has existed for about a year now, but this is exactly what I wanted when I got into startups.

I wish I could hand a copy of this to everyone who asks about becoming a startup dev.

[1]: http://www.hello-startup.net/
Photos of Elon Musk's Boring Tunnel
Sous Vide startup Anova gets acquired by Electrolux
I'm curious if anything related with teaching CS or how to program would be appelative to people? Something like 1:1 teaching/mentoring..

I teach CS (programming, web development, distributed systems) on a local university, but have been thinking if there would be people interested in having 1:1 access to someone with development and teaching experience, for 30 minutes or 1h..
Only some of these are percieved advantages over Angular. Alot of them are advantages over AngularJS, meaning AngularJS 1.x

I'm obviously biased, but using Angular (2+) with typescript and ngrx (observable based redux, essentialy) has been really nice to develop with.
Very hard. You need a US work permit to work in the Valley. Most early stage companies are not gonna have a Canadian subsidiary.

I do run a consulting company that consults to US companies. That is possible. But at that point, if you consult with startups, you won't be getting options.
I'd be interested in seeing how many hours of operation you need on an LED to beat the low initial cost of some bulbs like these:
http://www.homedepot.com/p/Philips-100W-Equivalent-Daylight-...

I expect it would take quite a long time.
Rust needs a Rust book not written by the Rust developers. "Rust for Dummies", if you will.
Which features are you thinking of, specifically? We actually just rejected an RFC for one of these features for being too complex, though it isn't a rejection of the feature entirely.