skysight-inc/HackerNews huggingface dataset:
I agree with you that techno-solutionism, as some might call it, is a big part of the solution. I just think that the Republicans are so wrong on other issues that there is no point allying with them on any issues. There's more to American life than surveillance. It's huge, but so is the voting rights act. (That's just one example. I won't beat you up with more.)

You are right, the foreign policy elites in both parties are largely homogenous. That being said, I don't think that it's possible to build a coalition with the Republicans that doesn't betray something else that you hold dear. I think that you have a better chance of building a coalition inside the democratic party that can move the center of power away from the foreign policy elites.
The only "terrorist" is Bernie Sanders.
entr is is what I eventually settled on after years of searching the perfect utility to build/run tests after file changes. After using gulp, grunt, watching_testrunner (which I eventually inherited maintainership of), watchman, watchdog (https://github.com/gorakhargosh/watchdog), sniffer (https://github.com/jeffh/sniffer)

entr is cross-platform on OS X, linux and BSD.

watching_testrunner has no BSD support

watchman is way too big and not domain specific enough to my needs

sniffer worked quite well but it required having a scent.py file everywhere

entr keeps it all in a neat, unix like package you can pipe files to.

I keep some example usage in my book, The Tao of tmux at https://leanpub.com/the-tao-of-tmux/read#leanpub-auto-file-w.... In this section I demonstrate my workflow with entr(1) in a Makefile. The code I use in the example should work across OS X / BSD / Linux (note the utilities like find(1) may behave a bit differently across unix-like systems).

I use the Makefile w/ entr(1) in development on my projects like tmuxp at https://github.com/tony/tmuxp/blob/master/Makefile. tmuxp is BSD-licensed so you're free to work off that if you'd like to try it on your own project.
I use this fairly often, when working on the image parts of our API (image caching, map tiles etc).

I tweaked the "img" script linked from the article to download and display an image, so I don't need to leave the terminal.

img http://sipi.usc.edu/database/preview/misc/4.2.03.png

My result is this, in Konsole (KDE): http://i.imgur.com/34fjSas.png
Voting systems aren't a panacea.

Italy and Greece don't have FPTP voting but people there feel pretty disenfranchised even if they theoretically have more representation in government than an American or Canadian would.
Neat! What kind of battery are you using with it?
> If you can't do a depth-first search on a tree after being given the definition and time to think about it then you may lack the mental flexibility to do arbitrary algorithms in any domain.

It's this condescending attitude that ensures that companies only hire recent grads instead of people with actual software development experience. I will write you a depth-first search (assuming that, god forbid, my libraries don't have that functionality for some reason) if it's not a contrived example in an interview. But I have to say, so far, 99% of my pure algorithms code have been contrived interview questions.

If you can't do depth-first search in a stressful interview situation that you sneaked away from your actual job for, you might just be a human being. But either way, if your interview process is only interested in testing my knowledge of trivia, instead of my actual development skills (like how I manage complexity or design systems) then I think I'd rather work for more competent people.
A tangent, but did "DIY" changed its meaning recently? How is off-the-shelf IoT crap a DIY solution? That's just a shitty product, not something one does themselves.

Beyond that, a great article. Highlights well the complexities of securing wireless devices.
Literature is not an inherent quality, for me. Literature (and art more broadly) is among other things a lens that humans look at statements and groups of statements through. There is no "Is this literature?", there is only "what happens when I treat this 'as literature'"? Is it useful to treat the complex interconnected statements in a codebase as literature? Yes, probably, to some people. For me music and plays both provide good structural references for me learning to code. It is occasionally useful to me to connect these things. But I also treat literature itself as a bit of a specimen as the author suggests- I want to know about a poem, what is b it, how does it work, w why is it this way and not some other way. I want to "run" a poem out loud and see what the sounds are.

Some of the other comments point out that the literature idea doesn't work for all code. It probably helps if both the author and the reader buy in to the idea. But I can't get behind the idea that it's true to say "code isn't literature" when what seems to be the case is that literature is a thing we can do to texts, not a thing we must do. Code might be a genre of text? I don't know. But maybe the baby is being thrown out with the bathwater here.
You could also run the same thing on a sub $100 Android phone
Uranium has to be mined, but only in small amounts. A conventional one-gigawatt reactor consumes a single 18-wheeler truckload of fuel rods in 18 months. If we switched to either thorium reactors or uranium fast reactors, we'd use a hundred times less fuel than that.

Some uranium mines now are little more than a pair of wells; one pumps water down to a uranium deposit, the other pulls back up water with uranium dissolved in it.

Because uranium is water soluble, it exists in vast quantities in the ocean. If we combined fast uranium reactors with seawater extraction, then nuclear would be a renewable resource with a very light footprint.
Yes. I particularly remember Asimov's death as it came only a few years after Heinlein's. It was a reminder that we were losing the last of that first generation of greats. I got drunk and cried on my father's copy of "Across the Sea of Stars" when Clarke passed.
25 Free Marketing Tricks I Used to Generate a Quarter-Million Page Views
The catch with the Kindle and why I would suggest the Kobo over it is that Amazon has tried and in the most recent firmwares has succeeded at blocking modifications.

The Kobo has no such protections, it's fully your own device and you can mod it as you see fit. Additionally, the whole OS is on an internal SD card and if you fuck everything up you can crack it open and reimage your SD card. Perfect tool for modders.
You're probably joking, but if you use a real-time linter, maybe you could run tests whenever the file you're editing has no errors.

You might even try to limit which tests to run based on the test coverage (from previous runs) of the changed functions or statements.

And then there's also ideas like LightTable's inline evaluation [1].

[1]: https://www.youtube.com/watch?v=7YIaHyTdjTY
How can it be that this submission got 8 upvotes in less than a minute, whereas a submission[0] from just 14 minutes ago has had no upvotes at all?

It was also submitted 95 days ago[1] as a simple PDF, but garner neither upvotes nor comments. Personally, I found that PDF the easiest to read. Personal reference.

[0] https://news.ycombinator.com/item?id=13866780

[1] https://news.ycombinator.com/item?id=13130635
I don't care if you want to use stateless client tokens. They're fine. You should understand the operational limitations (they may keep you up late on a Friday scrambling to deploy a token blacklist), but, we're all adults here, and you can make your own decisions about that.

The issue with JWT in particular is that it doesn't bring anything to the table, but comes with a whole lot of terrifying complexity. Worse, you as a developer won't see that complexity: JWT looks like a simple token with a magic cryptographically-protected bag-of-attributes interface. The problems are all behind the scenes.

For most applications, the technical problems JWT solves are not especially complicated. Parseable bearer tokens are something Rails has been able to generate for close to a decade using ActiveSupport::MessageEncryptor. AS::ME is substantially safer than JWT, but people are swapping it out of applications in favor of JWT.

Someone needs to write the blog post about how to provide bag-of-attributes secure bearer tokens in all the major programming environments. Someone else needs to get to work standardizing one of those formats as an alternative to JWT so that there's a simple answer to "if not JWT then what?" that rebuts the (I think sort of silly) presumption that whatever an app uses needs to be RFC standardized.

But there's a reason crypto people hate the JWT/JOSE/JWE standards. You should avoid them. They're in the news again because someone noticed that one of the public key constructions (ECDHE-ES) is terribly insecure. I think it's literally the case that no cryptographer bothered to point this out before because they all assumed people knew JWT was a tire fire.
I don't think that qualifies as changing religions.
A chess position to defeat computers?
Visual Studio 2017 offline installer
Ebook sales continue to fall as younger generations drive appetite for print
For anyone who wants to do time lapse photography but doesn't want to expend the effort to build something like this, check out the Xiaoyi Yi. [0]

It has WiFi, the firmware is Linux (you can get telnet IIRC) and it also supports scripts for more advanced configuration and control. You can buy it online from China (e.g. AliExpress) for around $80

Sample timelapse video [1]

[0] http://en.xiaoyi.com/xiaoyi_en.html

[1] https://www.youtube.com/watch?v=6zlb2VFGVbs
looking for X, Y and Z developers of all levels at our HQ in Charlotte.
We’ll consider remote work for the right applicant

Because remember, your first and most important title is "butt in seat" unless you're a unicorn.
I was also confused regarding this. But a good indicator is always if you need to add native components when installing the library, or if it's just a simple npm install
The article is blocked for me in work for some reason.

Can you post the explanation of these terms?
The author of http://blog.intothesymmetry.com/2017/03/critical-vulnerabili... here FWIW. Personally I would not be so drastic. JOSE per se is not too bad (at least the idea is cool). Some crypto choices though have been really arguable...
>> It may be that only 1 per cent—or less—of Americans make a stab at exercising their right to know.

Blessed are the poor in spirit, for theirs is the kingdom of heaven. / Matthew 5:3-12 /

We think only because technology evolves humanity does it too. But we are still where we have been 2000 years ago.
I love that Nomos was featured heavily. I don't own one yet, but they are for sure my favorite manufacturer.
I agree. The OAEP thing was weird.
Is this based on a true story?
How not to quit your career when Git opens a vi editor
Or because they're 16 and can't get a legitimate job yet.
Ha(r)sh Visitors
I don't think it's any less realistic than hoping to find someone who understands front-end, back-end and databases, and yet 'we' ask for that all the time.
I think yours has stretched the image vertically, though it is simpler than the one linked in the article [1]. That uses "Upper Half Block" characters to give square pixels, and sets a foreground and background colour -- doing two rows at once.

With that, I see this: http://i.imgur.com/uqCHAmF.png

[1] https://git.gnome.org/browse/vte/tree/perf/img.sh?h=vte-0-36
I was reacting differently to your sentiment (that low turnout is generally bad) and to the OP's (that the brexit vote was a "sad day for democracy" because their side lost and younger voters didn't bother to turn out). I think that broadly, low voter turnout is bad for representation, but that if people can't be bothered to represent their side then it's not a collapse of democracy when the other side does in fact turn up to vote.

In other words, bemoaning the result of a democratic referendum as a sad day for democracy, and attributing it to your side not showing up on the day, makes no sense and plays into a long-running theme that when the left wins it's a success for democracy and when the right wins it's a failure of democracy.
> This simply isn't accurate unless you live in an oppressive middle-east country with extremist Sharia law

You don't have to live in a country under Sharia laws to get a fatwa against you.
I mean, check this short list:
https://en.wikipedia.org/wiki/List_of_fatwas#Fatwas_promotin...

For the rest of your post, I'm not sure to see how it's a response to my comment.
1. Stop trying to keep up with other people. Coralreef's comment is to the point. I know many successful programmers with no bachelor's degree, for example.

2. Having a broad set of technology tools is a useful job skill. But often it doesn't require you to spend all your free time on it. Often just knowing it exists is good enough and that can be done in very little time (https://codewithoutrules.com/2016/04/15/40-hour-programmer/).

3. Working for a startup is not a good way to become wealthy. It's a gamble. If you want to be secure financially you should live below your means and save money.

In general it's perfectly possible to have a reasonable workweek, do fine as a programmer, and still have a life outside work (more at https://codewithoutrules.com/saneworkweek/).
"What does Nintendo Switch have in common with iOS 9.3?" will work too, right?
I think it's not that he "doesn't get to talk about tech". I think women and minorities just generally are more likely to talk about diversity because it affects them more directly and thus if you pick a diversity talk at random the speaker is more likely to fall in one of those categories -- whereas because they are the minority in tech, a tech talk picked at random will likely be by a white male speaker.

IMO it'd make sense to counterbalance this bias just like the bias for speakers in general: I'd love to hear more women and minorities talk about tech and more "straight white cis-males" talk about diversity but I'm sure someone's bound to complain if "the diversity talk" is given by a straight white cis-man because reasons[0].

I've actually noticed the "wrong narrative" you decry myself: at last year's React Conf while browsing the videos I instinctively guessed who was going to give the diversity talk by looking at the speaker. I was aware of my bias but I sadly saw it affirmed.

You don't fix the problem by talking about it. You fix it by living it. Sadly right now there don't seem to be enough high quality minority speakers to solve this without running into the "all confs sound the same" problem (more than they do already).

It's complicated.

[0]: Counterpoint: getify seems to be widely accepted as a diversity speaker but I'm not sure whether he's held talks exclusively about diversity at conferences where there weren't also women or minorities also giving diversity talks.
As did Oracle.

https://en.wikipedia.org/wiki/Oracle_Database#Version_number...
The New Old Way of Learning Languages (2008)
This looks great. I wonder when a dominant library will emerge for navigation.

Also, I am a little bit confused, because react-navigation makes it sound like there are going to be merged into core once stable:

Once stable, NavigationExperimental will be deprecated in favor of React Navigation. React Navigation is a collaboration between people from Facebook, Exponent and the React community at large. [1]

What do you guys make of that statement?

[1] https://github.com/react-community/react-navigation
TheShell is a Desktop Environment written using the Qt toolkit
My posts are the discussion. Everyone keeps saying that they don't like party politics. I'm saying that, like it or not, if you want to do something about mass surveillance you will have to do something in the Democratic party, because the Republican positions on a host of other issues will be antithetical to some other position that you hold dear. Want to support NASA? They don't. Think homosexuals should be able to marry? They don't. Think that life evolved on earth? They don't.

What I meant by the last line of my comment, is that the Republicans are willing to do some really bad stuff to the least powerful among us in service of their ideals. It isn't going to effect you and me. It's going to effect the people that clean my building. There are more issues on the table than mass surveillance. If you ally with the Republicans on this issue you empower them on those issues. We need strategies to break the Republican party, that can only be done by a massive coordinated defeat and then causing irreparable fissures between their coalitions.
Parenthood linked to longer life
Ditto. Also keen to see your blog post!
>300 million people believing in creationism is far less harmful than 1 person dropping bombs at a marathon.

Could you elaborate? You state this like it's obvious, but it isn't (at least to me).
Elon Musk's offer to halve Tesla's battery price for SA a game changer
Surviving a bad RNG (2012)
Ask HN: What are the best resources for learning about algorithmic trading?
I'm a CS student looking to get into Quantative Finance, and would appreciate if anyone could point me in the right direction.
Denmark have 9 parties and only 7 million people. People feel pretty much the same there and I believe many other places no matter how many parties there are.

The real problem IMO is that the political parties aren't able to really influence what way the world moves anymore. It's now mostly in the hands of technology and it's tendency to force change no matter who gets exposed to it.

I wrote many years ago that technology is like a tsunami which can't be stopped. The only thing we can do is learn how to surf the wave.
This is such a great comment, I had to say thank you. I'm extremely reluctant right now to hop on the JS frameworks bandwagon. I played around with Ionic 2 for a bit and while its nice, they (and Angular 2 and TypeScript) release updates every few weeks. This results in me having to go through code all the time – or leave it untouched for a year. But if I do the latter, I'll run into almost unsolvable problems later.

I wrote my web app in a small self-made PHP framework 8 years ago and it's still running to this day, with only minor adjustments. The advantage is: I understand the entire "stack". In comparison, the current JS madness feels extremely fragile. I feel like it's impossible to write good code in it that'll be around for the next 8 years, when all of those dependencies are either updated to something entirely different – or simply disappeared.
>The main difficulty lies in the fragmentation.

>dev time

stopped reading after that. another piece of garbage comparison.
And when/if that happens we will complain our streets have been stolen [1]

[1]https://news.ycombinator.com/item?id=13854367
You make good points there, I've proudly omitted so many needless words over the years.
Either way, if you're serving up a REST API to a JavaScript UI... what's NOT a good option is server-side session state (e.g. Java servlet sessions)

Can you explain what you mean, as oppose to other kinds of session tokens?

Roy Fielding makes it abundantly clear[0] in the seminal delineation of REST that

We next add a constraint to the client-server interaction: communication must be stateless in nature, as in the client-stateless-server (CSS) style of Section 3.4.3 (Figure 5-3), such that each request from client to server must contain all of the information necessary to understand the request, and cannot take advantage of any stored context on the server. Session state is therefore kept entirely on the client.

This has given me pause to doubt just how many people are really implementing REST, and/or how useful a model it is in modern web applications.

[0]https://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arc...
Is this a bit like a runtime macro? Does it have performance disadvantages?
feels like a troll piece
that's the first time I've seen fascism and libertarianism ("getting the government off one's back") treated as one and the same.
Oh, certainly. That's why I didn't swap the person of the pronouns from the quote.

As may seem likely from the thrust of my prior comment, I don't favor the universal franchise as a system of rule; it seems to me prone on the one hand to severe corruption as various actors seek to regather the sovereign power which this scheme so atomizes, and on the other hand to precisely the sort of popular enthusiasm which the American founders sought to render harmless, a purpose whose merit the events of the twentieth century do much to demonstrate.

Most who espouse such an opinion of universal suffrage seem to imagine it being replaced by a scheme in which they themselves still have some, indeed a much larger, measure of the power to rule. I think this is a mistake; where it isn't a deliberate satisfaction of arrogance, it seems to me prone to encourage that arrogance develop. I'd rather see a scheme in which the practice of rule is the province of those trained and skilled in that very specialized profession.

Of course, the problem of competent rule remains, and it's not a simple one - I don't think I could even produce a formal definition, although Singapore seems like a good example in a lot of ways, and perhaps Sweden, or the Nordic countries in general, in some others. In any case, recent history offers little that I can see to suggest that universal suffrage offers a uniquely, or even notably, reliable solution to this problem, either.
> I think the idea of not owning a car or other personal transportation is going to take more time that the examples of DVDs/CDs/etc will.

Especially because of the copy-ability of the songs/videos with respect to the uniqueness of a car. In other words, a song can be sent to multiple listeners in parallel, while a car, at a given instant, is either serving me of another person. I'd hate having to trust a fleet of autonomous cars on Super Bowl Sunday or Black Friday!
my own baseless speculation? viva64 is a known and loved site by many HN readers, while on springer I expected (but was wrong, after visiting the link) a useless paywalled academic article.
Reddit might work, although I have never tried that. Depending on where you are from, different sites might give you different results. I suggested that being a Dutchman myself, I would build a better relation with Dutch clients, so only went on looking for those.

That "location filter" might have reduced the competition, something which enlarges the change of you getting the job. Finding a job at a place where thousands of others are trying the same might be hard as a starter.
I think the cult of "free speech" is a big part of the problem.

Free speech, as spelled out in the 1st amendment is the ability of anyone to speak freely without fear of repercussions by the State. "Congress shall make no law.."

But it has progressively help foster the idea that all speech should be respected or listened to, that all speakers are equally respectable, and as a consequence that every utterance of words is equivalent and should be given the same screen time.

This is madness.

People have an absolute right to be religious if they want to, and to worship any entity, without interference from the State. But they shouldn't expect to be respected for it, and certainly not by the common man. Indeed, they should expect the opposite: to be mocked and laughed at.

Same for "anti vaxxers" who are in fact utterly stupid, selfish freeriders and should be addressed as such (and shunned from civilized society). Etc.

Anyway, my point isn't against free speech per se; it's the observation that a certain idea of "free speech" has been intrumentalized by a lot of people to shield themselves and the absurd views they hold, from criticism, and that the non-crazies constantly fall prey to this obvious tactic.
You misunderstand what a 1 in x event means it is a probability not a clock.

We had 2 1/250 year floods in my village within 5 years - exacerbated by the land owners not maintain the waterways on their property
> but Islam is probably the worst

I would add "... at the moment".