skysight-inc/HackerNews huggingface dataset:
> jQuery.Deferred is now Promises/A+ compatible

Finally. Our old codebase is using quite a lot of jQuery deferreds and, well, Promises/A+ clearly improved a lot of things API-wise.
I guess it's because there is much more to learning languages than having lessons at school. I've had both English and German lessons at school(I'm Polish) since I was 7 all the way to the end of school at the age of 19. So I had 12 years of mandatory education in both languages. Yet my English is completely fluent, while I can't say anything in German. All media I've consumed was always in English, games, films, books, comics - while I never had any reason to use German.

That's why I think that just having language lessons is in no way enough, you also need to have a reason to use a language to actually remember anything.
There's also a story (I barely remember so sorry for the detail) I thought you were going to say, the workers knew this stuff was dangerous in volume so they kept amounts in separate rooms. Unfortunately this was up against the same wall dividing the rooms. I don't think it was an accident it just underlines the importance of understanding.
I agree with that but I don't think that is what people have in mind when they argue everyone should learn to program. As I mentioned in Germany we have this, for me it was maybe one lesson per week for a year or two. And this was more than two decades ago.
> Keep in mind, however, that a hierarchical, centralized trust model can still be useful (e.g. in medium-to-large organizations, where having an internal CA and delegating identity verification to a few knowledgeable employees is more practical than having everyone build a web of trust).

Sure, but it's easy to build that kind of model on top of OpenPGP (just have an organizational signing key and tell everyone to trust that), whereas it's almost impossible to build a CA-independent model on top of SSL.
"if the funded research is bad then it won't survive for long" that is not necessarily true.
> The average IQ will always be 100

Except (and this counters GP post also):

https://en.wikipedia.org/wiki/Flynn_effect

Our IQs are steadily increasing. Or so it appears ...

With equivalent tests to those administered a few years ago scores are steadily increasing. It's not necessarily that we're getting smarter of course - far more likely to be the case that these tests become the "definition" of intelligence and our children are more specifically trained for them.
Way to deal calmly with the fact that not everybody in the world shares your political opinions, bro.
If by programming they mean algorithms and really presented in a fun way then it is great.
And next thing is to understand that the best algo one can learn as early as possible is the algo that allows you (teaches you) to learn when you want to do it.
Yes, the C rules are weird as that. I believe that GCC semi official stance is that stores always change the effective type of memory, not just for anonymous memory (this is more relaxed than the C rules, but handles correctly cases which are ambiguous under the standard rules).

C++ has the same rules as C for trivially constructible objects, but for objects with non trivial constructors, things are more complicated (and keep being revised at every standard update).
I wrote a book to help boostrapped startups choose the best hosting solution:

https://www.hostingforappdevelopers.com/

It hasn't sold much yet, but I haven't been able to dedicate as much time as I would have liked to marketing it.
> Web development doesn't have many hard problems. It has one serious though.

Kind of a strange way to put it but I think I agree with the gist. Scaling is the web's hard problem. Building an ever expanding list of features while measuring if users like them and delivering them via cheap computers and tiny pipes is surprisingly difficult. Scaling a rigidly defined web system on it's own generally isn't so hard at this point. One off Twitter clones with a few of T's killer features can be knocked out in a few days with pretty good load scaling properties. But scaling the codebase and architecture from 1 dev, 0 users, and 1 OK feature to XXX users and YYY features users love is really hard to get right. Ideally the 100th feature is as easy as the 10th and you can just add more engineer hours, but more commonly it seems to get exponentially harder to add features as the codebase expands.
It's really odd when my Chinese friends go home and go "dark" on "free world" social media until they return. They usually get emails while in China, though.
Hacking Sindicat de Mossos D'Esquadra (Catalan Police Union)
There is an interesting TED lecture about the gradual rise in intelligence, how children are usually smarter than their parents.
Photography exists and still people insists on painting on canvas. How come?
Don't forget the huge number of those 82.2% (is that made up on the spot) websites are likely built on wordpress as well.
Node.js Authentication using Passport.js
A Notorious Hacker Just Released a How-To Video Targeting Police
An inverse turing test
> The basic rules resemble Hearthstone, but rather than building a deck beforehand, you just pick one of seven 10-card starter decks, and 3 of 20 "codices", and then at the end of each turn you take two cards from your codices and add them into your deck. So there's still luck of the draw, but not to the extent of having to shuffle a 30 or 60 card deck beforehand. (Also you go through your cards Dominion-style rather than one-card-per-turn Magic style, but I'm honestly not sure as to whether that counts as an increase or decrease in luck!)

Sounds very similar to Dominion et al then - just slightly hybridized. I take against Sirlin based on his writings and his emphasis on reading your opponent which isn't a mechanic I find fun; I enjoy deckbuilders but there are plenty of them out there.

> I've heard this compared to Mage Wars, but looking that up, it looks like that just lets you cast spells straight out of your spellbook, no deck at all. Is that right?

Yeah - each turn you choose two cards from your spellbook and maybe play them.
> why the hell are people drawing scenes still?

Net everyone has the equipment and skills (though here we are talking about companies that would), and some just prefer the traditional technique, and some prefer the output of the traditional methods (it takes quite some skill and time to convincingly mimic this in digital media, more than you might think).

Older techniques don't just get abandoned when new ones are developed, the newer methods are just new tools and sometimes the older tool is the one you want for the job.
I agree with you on this one. I just see it as in band lights out management.
I'm sure they will tell us that this never would have happened if only their budget was tripled.
I wonder if I should try a "Ask HN:" post and hope to get more answers about this.
I'm curious what pain you experienced with Sequel, as I have the exact opposite experience.
So by the looks of the picture halfway down the page the porn filter in the UK has also been removed because they are labeled as 'free'? or is porn not a part of (internet) freedom anymore?
> Ruby is used by 0 of the top 15 most-visited sites

The majority of projects are not the next twitter or facebook, but something with a limited scope to be done as fast as possible
I think "responsive" is a useful modifier (even though most CSS frameworks nowadays are responsive).

"Light" is definitely relative but at least they list the exact size pretty early on.

"Modern", however, is something everybody seems to use to describe their programming framework/library and it's useless. Think about it this way: if you removed the word "modern", what information have you lost?
Right now a lack of robots is actually the problem. Otherwise we wouldn't even consider outsourcing manufacturing to asia.
>It's rarely something that enhances your experience, and is there simply to separate you from your hard earned dollars.

That describes 90% of the internet.

Heck, that describes 90% of social life.
Curve card pauses support for American Express
>how to secure your privacy

Do you think kids still care about privacy? As in, the giving all your life details to google kind, not the public Facebook profile kind.
Yes, but with a small twist on what you are saying: Depression lies at the intersection of the external world and the internal. It's influenced both by it's contact with the external world and by the content of our thoughts.

It can be caused both by external factors and our internal mental life.
The metric saying 1/3 of the world faces heavy internet censorship seems large until you remember 1/5 of the world lives in China

China is one of two countries that doesn't have access to Facebook and Twitter. The other is Iran.

I'm not in love with FB or Twitter, but for tracking censorship, they are a useful measurement.
Data Model Generation for PostgreSQL
Because C's type rules are often thought of as syntactic sugar for pointer arithmetic, not sacrosanct definitions of what is or is not an X or a Y.
Uber Under Pressure in Southeast Asia
> It works like any receipt app, except the webapp is just a UI for S3/Backblaze.

That's exactly what S3io is doing!
>You can already see a contemporary version where people everywhere, faces buried in their devices obsessively txting and no doubt looking up their 'friends' on Facebook.

Yeah, and the response to that is "people were always doing that". As if some billions of us weren't around in the 70's, 80's, 90's, and even 00's to see what the real case was, and will be convinced by such bs.
What about North Korea? Why does it last there? Why don't they revolt? But actually, a more relevant question would be, why haven't they already? How much suffering can they take?
I'm Romanian too. The censorship, oppression, and whatever other bad thing you might want to refer to, will last as long as the powers that be want it to last. When our "revolution" happened, people didn't even know what to think of it when they heard the news and really many thought it was a joke, and that's because they could not believe it was possible. There was no buildup that "took more than 40 years", a lot of people were satisfied with their lives, the ones that were not were quieted, and the rest were ignorant and didn't really care just like people now under pretty much any regime around the world. Hell, some older people that I have met even say they liked it better back then.
Real population driven revolutions can't really happen anymore, if they ever could.
Selectize (jQuery) or react-selectize (React) (different libaries but similar functionality).
This is great. While I use only travis for build/testing at the moment, I really appreciate a real competition between GH / GL / BB. Users of all the platforms win because of this.
Rénovation énergétique: la révision de la règlementation thermique
Buy a Libreboot T400? It comes without Intel ME and is FSF-certified: https://minifree.org/product/libreboot-t400/

It is pretty expensive for the amount of performance you get, but you are getting a fully documented, auditable and free product. It comes with instructions on how to update/build/flash/modify your firmware. You're also supporting the Libreboot project.
Peter Thiel – The Only Living Trump Supporter in Silicon Valley
I just don't think most people will ever in their lives need to script their computers to batch rename files and automate tasks. Even if they do need it for something it seems more time efficient to find some GUI app to do it, or get help from someone who already know how to do it (a power user).

I also think that even if this was taught from the beginning - it'd remain a power user thing.

But I agree, I use automation/scripting/bash every day and would be horrified to loose this ability. But I also know other developer who doesn't use it at all.
تور لحظه آخری کیش ویژه هتل های تاپ ۵ ستاره ورود ۷ خرداد ۹۵
Neither have pivot (portrait orientation) though. Except maybe by mounting it to monitor arm or something.

I want an ability to control monitors programmatically. I want to be able to script brightness, contrast, active input, etc. Using buttons to do that is just so horrible, especially with multi-monitor setups.

Monitors should also signal orientation and ambient light level back (many monitors have sensors for these anyways!). I want my OS to automatically adjust to portrait when I rotate the damn monitor.

All this must happen in a standard way, that's always available regardless of currently active video input. Bluetooth could work for this. No I2C pins anymore, please.

USB ports should be powered and connected all the time. Not just when the monitor is on, this makes the feature nearly useless.
It shouldn't be very difficult, if it's compatible. Does minio provide the same REST API?
My take away from this... Put your name and number on your valuables just in case someone picks them up by accident.
Build, Ship and Run the Docker Way
What if we wrote a scraper and autoconverter? Is automated editing of Wikipedia prohibited?
Lighthouse - Auditing and Performance Metrics for Progressive Web Apps
So, yeah, we'll live in a nightmare of advertising and triviality, but we'll finally be able to "highlighting the street when traffic is about to come through" -- which was never much of an issue anyway.

Reminds me of all those grand visions of why we need a fridge connected to the internet to automatically order groceries for us.

Such, a breakthrough.

But you know what, I can order groceries just fine. And I can automate that in 20 ways from the web, even without the fridge (especially since grocery shopping is periodic).

How about the future giving me more actual vacation time instead of such "time savings"? Now THAT would be a breakthrough.
Video Player Customizable on So Many Levels
14 TB of solid state drive, nice
>that's why we are getting hella paid

This has nothing to do with skill. As long as demand is higher than supply for your job you will be well paid. Median wages for lawyers are lower because there is an oversupply of workers on the job market.
I was under the impression the Philips one only display two inputs at once (PBP/PIP) rather than four.

Either way, it's a extremely tempting piece of kit.
No, Occam razor says that if all you you want to do is LOM, you put an embedded computer running Linux and ssh, connected only to to power and to the console, and nothing else, not a SPARC (?!?) core running proprietary code that does way, way more than just implement support for LOM, and which has access to all memory and CPU state.
Cheap flights to Manchester on flychecker at € 79
Our small team at work uses hipchat instead. But it is a matter of what we work on if we login at all on a given day. Getting close to going live with a release and we are on. Otherwise most are not logged in.

I have slack open all day for a non profit, a regional developers group and a product user group. The regional developer's group is 95% noise and after following it for 3 weeks zero value for me. Think I will quit that one.
Normal at the societal level.

Still lowering our IQ by a good 5-10 points.
You can put any message you want on your macbooks login/lock screen. Mine contains contact information just in case I loose it. Might actually pay off to put a sticker on it as well.
It's from Chairman Mao's Red Book of quotations. https://www.marxists.org/reference/archive/mao/works/red-boo...
TourRadar picks up $6M to further accelerate the growth of its tour travel site
Members of US Military targeted by debt collectors 2x civilians: solution
The contact lenses cured you?
You're right. But with S3io most of the action happens on the client side and it does work with sig. v4 which provides better integrity checking for large files, the problem with Frankfurt is not very big, it's just that I can't automatically detect the region by the bucket name on the back end. But it should be fixable.
Adverse outcomes of meditation practices described in the article covered a range of disorders, e.g., depression, panic attacks, possibly frank psychosis. These conditions are familiar to psychiatrists and not rare, guessing something like <=5% of the whole population have a serious form of such conditions.

We know that assigning a singular cause of psychiatric disorders is spurious since all major conditions have been connected to multiple genetic, social and environmental factors.

It's certainly conceivable that meditation could precipitate an episode of a psychiatric disorder, and of course it is mostly impossible to say if or when the condition would have emerged otherwise.

IOW the apparent sequential onset of psychiatric symptoms could be just chance occurrence reflecting the general population prevalence, or there might be a genuine causal effect of the preceding meditation event. Logically, at this time there's as much basis to assert meditation "caused" the condition as asserting meditation did not cause it. Until a lot more information is available, the relation remains indeterminate, or undefined.

It's a good principle (and the safest course) to hold that any/all spiritual practices or psychiatric treatments have risk of bad outcomes. No "prescription" is going to be good for everyone.

The idea that meditation and psychotherapy have overlapping risk potential is compelling. Haven't looked into to it yet, but definitely worth finding out what if any studies have been done.

Along those lines there's a just-published meta-analysis re: outcome of treatment for depression with CBT or medication. With both treatments, ~5-7% of subjects had at least some "deterioration" of their condition, and those with the greatest pre-treatment symptoms had the worst outcomes. [0]

While the domains are only partially congruent, 5% is probably a good initial guess concerning the probability of mild or greater adverse effect of meditation, IIRC corresponding to ~2 SD from the mean. I didn't see any references in the article to publications by the researchers profiled, but I'd imagine they'd have some data that sheds light on the prevalence of the outcomes they're studying.

[0] Vittengl JR, Jarrett RB, Weitz E, et. al. "Divergent Outcomes in Cognitive-Behavioral Therapy and Pharmacotherapy for Adult Depression."
http://www.ncbi.nlm.nih.gov/pubmed/?term=divergent+outcomes+...
Good reason to make jquery.com design mobile friendly.
Last time I was in China (late 2014) I had to provide a photocopy of my Australian passport to obtain a China Mobile SIM. Maybe it's changed since then, but I certainly can't imagine them being any more liberal than Australia, where you are required to submit a driver's licence number or a similar level of identity verification in order to activate a prepaid SIM.

That said, I can't imagine it being too hard to bribe someone to get a SIM not linked to an ID if you really wanted...
Is anyone using custom selectors? quick googling only returns 5+ years old results
How to Highjack Hashtags
There is a difference between increasing school capacity for specific areas of education than forcing insufficient education on everyone.
There are quite a few arguments:

* attacker can't do successfull bruteforce attemps at the same rate or at all

* attacker can't reliable intercept (MITM) traffic, as he does not what port is being used

* attacker can' launch sshd DoS attacks, as he does not know where does sshd listen at (at least he has to try 65000 x bigger space, this precludes a lot of time based attacks
They are tools, but some tools are more enjoyable for people to work with than others (and we don't agree on which ones), and when you're spending a substantial percentage of your life working with those tools, then working with something you enjoy matters.

For some, the tools they work with doesn't matter or doesn't affect their enjoyment. Great for them. But for me it does. Working in a language or with a framework I don't like is a constant stress factor because I keep hitting things that annoy me.

Personally, I don't touch Python projects if I can avoid it, for example, because I don't enjoy working with Python. It's got nothing to do with objective issues with it, and everything to do with subjective issues that affect my enjoyment. If I work with something I enjoy, I will be more motivated and put in a better effort, and will overall be happier.

> Be prepared to denounce your current toolset and fervently embrace another in the near future.

Awesome. While I like my current stack, I've changed it many times during my career because I found something I liked better. And sometimes I've had to put my preferences aside and pick something for more pragmatic reasons, and that's ok, but I most of the time have the luxury of being able to turn down work if I don't thnk I'll enjoy it.
That is dangerous enough before you even consider that governments are interested in this technology too; particularly DARPA has a history of throwing a lot of money at this problem. Even if suddenly the market decided it doesn't care about AI anymore, you still have countries competing with each other over military dominance.
> but a proposition can: it is a set

Set theories are normally built on top of the apparatus of logic, so a proposition can't be a set.

> (of programs, or Turing machines if you like; people in the verification community may say it's a set of states in a Kripke structure)

Ah, I see. You aren't talking about general propositions. You're talking about assertions about program states that can be checked dynamically, but want to verify statically. You can't represent an arbitrary proposition as a data structure, but it's of course a-whole-nother matter if you can decide the proposition's truth value by evaluating a Java expression of type `boolean`. The `boolean` expression itself is still not a proposition, though.

> but you can't deny that the two expressions of proposition, i.e., the dynamic `x < 10` and `T`, are distinct and "live" in two separate worlds.

Most programming languages don't have propositions at all, for a very good reason: a proposition is the type of a programmer-supplied proof that has no runtime computational relevance, and how to integrate proofs into programming is still a research question whose answer language designers can't wait for. In Java, “the dynamic `x < 10`” is just a `boolean` expression - not a proposition!

> E.g., in TLA+, an untyped logic (TLA+ZFC), the program and the propositions are the very same objects and not at all just a "data-level abstract syntax representation of propositions".

In TLA+, or any other external program logic, the program itself is just a syntactic object. And by extension so is any `boolean` expression the program might contain. OTOH, if Java had propositions, you could carry out your reasoning internally, side-stepping the need to encode propositions as abstract syntax for a metalanguage to see.
This sucks, but I can totally seeing it happen. Surprised it doesn't happen more often.

I'm not one for snarky comments, but when it comes to the TSA there are so many to make.

Maybe the TSA director will help you out with his $90k in bonuses he got (for who knows what) - http://www.npr.org/sections/thetwo-way/2016/05/23/479242102/...

Or, maybe it's part of their broader effort to boost their pre-check enrollment (http://www.wsj.com/articles/the-tsas-precheck-conundrum-1412...) - pay us $85 and we won't steal your stuff - promise!
Boycotts are generally tremendously ineffective because either people wouldn't buy the thing in the first place or care insufficiently to check the long list of things that should be boycotted for various reasons.

The business of "coding" is primarily a defence against the haters. Being outed is now very rarely fatal in the West, but it used to be more dangerous (and is still far more dangerous for trans people). So the LGBT community had to live by an almost steganographic system of linguistic (qv Polari), sartorial and cultural markers.
"As of April 2016, Netflix reported over 81 million subscribers worldwide, including more than 46 million in the U.S.[0]"

[0]http://files.shareholder.com/downloads/NFLX/1915968503x0x886...
GMO safety debate is over