skysight-inc/HackerNews huggingface dataset:
Well, I've been down that road a lot. Countless times I found myself reading about ways out of procrastination, until noticing that this was procrastination in itself. Quite frankly, I've even felt ashamed by putting this out loud: I'm delaying work by reading about how to not delay work.

So, my never-ending work in progress solution: focus on discipline. No magic bullets, no special talent, no nothing. Just focus on being disciplined and have faith on us being creatures of habit (i.e. if you force yourself to do it, it will be easier in the future). A special talent to get things done is cool, as well as being motivated, but - really - you can't rely on those to get things done. Talent comes and goes, much like motivation. Discipline, on the other hand, you can rely on.
My reply to Coraline:

=====

Coraline,

Many of the stated goals of the social justice movement are noble. I hope that everyone involved in open source projects would support the idea that we need to eliminate barriers that have, for no good reason, historically prevented people from participation.

What those opposed to the SJ movement in general take issue with is that the SJ movement isn’t just about those goals. It is becoming a means to silence people, a means to create the very sort of oppression of dissent that has so frequently been targeted at the minorities the SJ movement claims to represent.

To take a concrete example, you wrote:

“They are working to improve the state of open source from the inside.”

In what way would you say your actions during the OpalGate saga were working towards improving the state of open source?

A contributor to the project made a statement in public with which you disagreed. You then directly petitioned the project maintainers to eject him from the project[1].

I then raised a pull request[2] on your covenant, in an attempt to spell out that this sort of thing (penalising a contributor for speech outside the context of a project) was an unintended consequence of the system. It clearly wasn’t; the PR was rejected. Effectively “wontfix: by design”.

To be blunt: based on observations of outspoken SJWs like yourself, hackers like myself think that there is an unspoken delta between your stated aims (which as I’ve said are often noble), and your practice, which is to use open source projects as a weapon against their contributors when they behave in politically unacceptable ways (e.g. OpalGate and Brendan Eich).

[1] https://github.com/opal/opal/issues/941

[2] https://github.com/CoralineAda/contributor_covenant/pull/74

=====
The Most Vulnerable Web Platforms
Director
Barzlive by Barzlive Ltd.
https://appsto.re/gb/QnlX-.i
http://www.barzlive.com
>Sometimes you have a workload that really isn't a fit for virtualization

Yeah, any serious I/O load is unsuited for virtualization.
But we actually may use a G-seats. You enter the seat, it wraps around you. It may break your neck on sudden deceleration though.
What makes it modern and optimised?

It just looks like a text editor with overly flat, square design which is synonymous with Microsoft's current windows themes?
Unfortunately most of the material on ChatOps currently covers only how to get Hubot to display cat pictures or other trivia [1]. Maybe it's because each company should create their own "chat API" but I'd also like to hear some real, inside "war stories".

Does anyone knows what app does GitHub use for chats? Looks like a simple and elegant UI over Basecamp.

[1]: http://hubot-script-catalog.herokuapp.com/
Peculiarities of Software for Medical Devices
You're getting a lot of downvotes but I agree - I know from experience that google pursues domains that contain "google" hard and fast.
I don't think it matters which one is better - each has a niche to fill. I would much rather hop on a train and be in LA or Seattle in an hour, than get a self-driving car and be there in 6+. But for short distance, cars or a slower, more traditional public are the better option (mainly because you can't have high-speed lines to carry people a few blocks at a time)
Simulating Physics with Computers (1981) [pdf]
My reply in full:

=====

Coraline,

Many of the stated goals of the social justice movement are noble. I hope that everyone involved in open source projects would support the idea that we need to eliminate barriers that have, for no good reason, historically prevented people from participation.

What those opposed to the SJ movement in general take issue with is that the SJ movement isn’t just about those goals. It is becoming a means to silence people, a means to create the very sort of oppression of dissent that has so frequently been targeted at the minorities the SJ movement claims to represent.

To take a concrete example, you wrote:

“They are working to improve the state of open source from the inside.”

In what way would you say your actions during the OpalGate saga were working towards improving the state of open source?

A contributor to the project made a statement in public with which you disagreed. You then directly petitioned the project maintainers to eject him from the project[1].

I then raised a pull request[2] on your covenant, in an attempt to spell out that this sort of thing (penalising a contributor for speech outside the context of a project) was an unintended consequence of the system. It clearly wasn’t; the PR was rejected. Effectively “wontfix: by design”.

To be blunt: based on observations of outspoken SJWs like yourself, hackers like myself think that there is an unspoken delta between your stated aims (which as I’ve said are often noble), and your practice, which is to use open source projects as a weapon against their contributors when they behave in politically unacceptable ways (e.g. OpalGate and Brendan Eich).

[1] https://github.com/opal/opal/issues/941

[2] https://github.com/CoralineAda/contributor_covenant/pull/74

=====
How Big Data Can Help Predict Power Outages
> Not to mention he has never attempted to make Internet.org anything close to a monopoly.

Do you even know what Internet.org is? They're providing free access to a subset of the internet that Facebook controls, while forcing people to pay if they want to access the internet as a whole. The entire reason Internet.org exists is to create a Facebook monopoly on data access in developing countries.

Your entire comment is naive.
Wow, they finally made good on their promise to remove ereg_*. I remember reading the deprecation notice on those functions (and using them anyway) maybe half a lifetime ago when I was first learning PHP.
First, there's no reason to only associate "Python" with "the language", it is an environment, ecosystem, etc. It's not interesting to narrowly focus on the efficiency of the interpreter.

Second, it is an inherent feature of the design of CPython that its C API allows tight integration with external libraries in C. Cython does not just glue C and Python together, it does this in a way which makes the integration easier and safer than doing it by hand (e.g., generating correct reference counting code). All of this is a direct benefit of Python and its scientific ecosystem.
Everyone is making such decisions on his own, obviously.

It's bullshit to expect that people will seriously consider all ideas out there, no matter how weird or outright stupid they sound.
And every php developer would wish that suddenly all php in the world upgrades to v7. We are years away from 7 having a big penetration in the ecosystem. And years more till it hits enterprise.
I did the exact same thing back when I was first learning web development in 2012. All the PHP tutorials I used were really outdated but since I was new to it I had no way of knowing that.

Thankfully I didn't get the chance to do any damage before I was exposed to modern best practices.
yeeeeh :D great work
For a moment I thought this was a clever deep learning demo.
But hey, how about making one?
Ubuntu Snappy Core does not work on Raspberry Pi Zero, or for that matter on any ARMv6, such as most RPi models: 0,A,A+,B and B+. All of above are based on BCM2835/BCM2708 SoC.

UbuntuSC requires ARMv7 ISA CPU, which among Raspberry Pi models is only featured on the BCM2836/BCM2709 SoC in "Rasbperry Pi 2 Model B" (note the "2").
My biggest problem with these list making solutions are what I call the collateral tasks. For example, my list says "Buy a Christmas gift for Jen".

When I start shopping online, I realize that I don't know much about Jen, so I need to call a friend. Lots of discussion later, I finalize on something to buy then I need to think of a personal note to write.

At the checkout, my banking application tells me that my internet password needs to be changed. The whole process gets aborted!

Probably, I exaggerated a little but my point being that each task involves a million micro steps which may or may not be anticipated. No wonder there is a lot of procrastination!
Precisely... for many use cases you don't need them. It's better if you start with a server distro.
ISAR muslim clothing the competition http://vk.com/isar_kazan
Why do they keep adding global functions like "intdiv"? For example in JS, it being another language with a similar compatibility burden, they are moving most of the global functions (like parseInt) to "namespaces" (like Number.parseInt) while keeping global references there. When I open the docs (for example, the array functions page[1]), I get frightened by the global functions which do not seem to share a naming convention on first glance.

disclaimer: I haven't written anything significant with PHP since too many years.

[1]: http://php.net/manual/en/ref.array.php
Congratulations to the PHP community with this milestone!

I wonder if people who switched to HHVM, will start using PHP again. HHVM has offered much faster performance than previous versions of PHP. The speed of PHP 7 is at par with HHVM.
To me there's also the morning factor. Waking up after 8 makes me feel late and wasteful, even if I slept long and well.
"Simple", the thing to change is: we stop giving them (the pundits and the person saying it) attention; since that's what they're after.

Either that, or just get over the fact that people will say things you don't like, think is blasphemous (to whatever your God is), annoys you, etc.

Somewhere along the line people stopped teaching: sticks and stones may break my bones but words will never hurt me.
Ship Them Coal in the UK
I'm sure second one is from Russia.
Not sure about the "polyphasic sleep disorder"? What about people doing that since ages?

I think you need to find your own best sleep cycle and follow it.
The last time I checked, using Facebook was entirely voluntary. The existence of it takes away nothing. You have everything you had before, and also the option to use Facebook or not. There's nothing disempowering about that.
This happens regularly in highly regulated markets as well. Regulation doesnt stop people from being stupid. The beauty of the Blockchain is that it is still intact despite the stupidity. It doesn't depend on fragility of captured regulatory bodies or the honesty of salesmen. Stupids gonna stupid.
Really? Have you ever tried to get from the train station of, say, Blaricum or Bloemendaal to anywhere else there? 'Wealthy' people don't live in houses whose prices are affected by availability of public transport, in the Netherlands. (OTOH I wouldn't say that they 'don't want PT near them', but then again that's not really true for other places either).
Good! Government is far less efficient anyway. How many different agencies and special interest groups does the money now not have to touch to get to where Zuck thinks it's best used? The government would just buy a few more F35s or funnel it to bail out companies like GM. Or squander it on 'investments' such as Solydra or market-distorting Ethanol subsidies. It certainly wouldn't get funneled into meaningful education reform or lowering taxes for the rest of us.
ah, yes, good point. if margin only includes cost of production, that's valid.
Hey cool so what I'm fiddling around with in iPXE isn't completely obsolete in the age of Docker and disposable VMs.
Congratulations and thank you to everybody who has contributed. I've been running PHP 7 for my hobby project for the last couple of months. The update was refreshingly painless and I've had zero compatibility troubles so far.
It's wrong to assume that Google is the only search engine. This kind of thinking leads to monopolies. And making your site readable without JS is a good practice anyway.
Quite. Facebook's net income for 2014 was about $3B and it's current market cap is $294B. I'm not saying it's current market cap is sensible, that's for the future to decide, but looking at the historical facts clearly it's valuation at $33B in 2010 has turned out to have been well judged.
I don't think he's worried about other users getting access to data, but what Google is actually doing with it themselves.
The performance improvements in this release will hopefully encourage people to upgrade, even if the new features don't. Common PHP applications run 70%-100% faster on PHP 7 than they did on PHP 5.6, comparable with or better than HHVM.
As a person with more of an ops background can someone explain to me why / when PHP might be a viable language? My experience with hosting PHP apps has historicity been one of fending off security issues and I think that often in the past PHP was often a language for designers that didn't have experienced programming skills, it feels like designers have now shifted to using Node for this?
I think it's great to point new developers to the right resources. Besides sane frameworks, there are some good starting/best practices guides to help (that are regularly updated), such as:

http://www.phptherightway.com
https://phpbestpractices.org

Also, I would encourage them to look at different frameworks, not just one. It'll help if they later move onto other languages, as they'll be already exposed to different ways of doing things :)
The scalar and return types are really a great improvement IMHO, I can't wait for Doctrine to fully support it for code generation.

But one thing which is missing is the nullable types, as currently it's either you always return a string and you can use scalar typing, or you sometimes return null and you can't use it (which I'm okay with)

https://wiki.php.net/rfc/nullable_types
https://github.com/php/php-src/pull/1045

With this, it will permit to have even better static analysis "a la" HHVM/hack (i.e detecting that you haven't check for is_null in your code
But the schools themselves are voluntary. I utterly fail to understand people who attend them and complain. (In fact, also those who don't complain, but that's another rant for another day...)
What could go wrong after a tag?
To me, a tag is a release.
12bit will be pretty awful to work with though. That will mean 36 bits per pixel, which doesn't fit into a whole number of 8-bit-bytes. Best to just bite the bullet and go 16bit for internal representation.
The lack of any conceivable confounding factors is what really makes this explanation so intuitively compelling.
Chennai floods: The Hindu not published for first time since 1878
Yeah with Anaconda it's not as bad. But no-one told me that's what I needed if I wanted all the science packages to work on Windows... I'd never even heard of Anaconda before this. It took all of my blood and tears for weeks before I got everything fixed. So I guess what's wrong here is the lack of documentation.
A domain name is sheep anyway!
A Case Against Photorealism in Games
Do note that this is the most basic of SEO: Actually having the search engine access your content, so it can index it.

It is, and has been, a far cry from actual optimization: Giving your content the best possible ranking it deserves.

Want to be able to rank for an exact sentence match? Sure, use Angular. Want to actually compete for rankings? Do not build a single-page Angular application.

Solid SEO is about optimizing for users, thinking: "would I do this if search engines did not exist?". SEO for Angular apps has become: "Detect and redirect one of the major search engines to a text alternative".
The performance improvements along with the support policy should hopefully encourage many sites to move to PHP 7 within a year; PHP 5.6 will be unsupported in 8 months (though it will receive security fixes for another year).
Also similar/interesting: Don't recycle! http://ifixit.org/blog/4546/happy-earth-day-dont-recycle/
A bad citizen in Javaland (2006)
PHP is very likely to be the language used by Mort: http://blog.codinghorror.com/mort-elvis-einstein-and-you/

I doubt any of those developers are ever going to switch what they're already using unless they are forced by some external factor.

The more serious factor is: if you're on Hackernews, you're at least Elvis or even Einstein. Mort is out of reach for most internet media for programmers.
> But we actually may use a G-seats.

For what purpose? A souped up train isn't going to do high-g manoeuvres.

> It may break your neck on sudden deceleration though.

The only deceleration for which that'd happen is an explosive one where you'd dismantle the carriage into a wall (and even then it's unlikely to break your neck), and a broken neck would be the least of your worries.
To me this shows how similar Tensorflow and Theano are in their APIs.
If chat is important to you I'd definitely take a look at Slack in combination with Google Docs. Slack is a very good chat client, but it's the ease of extending and integrating it to your systems that is the real killer feature (imo).
When a tool is cumbersome to use (and/or hard to learn) team communication is the first victim in my experience. People simply don't use it, or use it reluctantly and as little as they can. Slack gets this and goes out of its way to make communication frictionless.
It depends on whats being hosted. If you're dealing with legacy apps that were built in the PHP 5.2 or even PHP 4 days, be afraid. Be very afraid.

If you're dealing with more mainstream PHP apps like WordPress or Magento, its important to stay up on the core updates but also monitor the plugins and templates being installed. The majority of the attack surface on those apps is in the plugins because they're almost never audited.

As for modern customer apps, written in frameworks like Laravel or Symfony, you're usually fine. Those frameworks are on par with Django and Rails in being very hard to shoot yourself with.
> I think we can tolerate about 0.5g of deceleration

Untrained human beings can handle minutes of linear deceleration (perpendicular to the spine) at 12 g, and at least a second at 25 g. Strapped, mind you. And the limits are higher in backwards-facing seats (eyeballs-in is ~17 g untrained) with the additional advantage that very little strapping is needed.
Why my cat hates the Internet of Things
Umm, "treating different races differently" is kind of the definition of racism.

But think it through further, please. Why do different races fall into different classes? There is more than one reason! For your average racist fuck, the answer is "because race". But TPTB are not all, nor even primarily, average racist fucks. Like "race", "class" is an invention that allows elites to control and extract rent from the rest of us. Classes seem to the average person to be more contingent categories than races, so the concept of race is used to bolster that of class. It's easier to convince a poor white dude to oppress poor black dudes than it would be to convince him to oppress poor dudes in general.

Also, don't expect policing to conform to reasoned expectations. It is more effective for its real purpose of controlling and extracting rent from the rest of society, because it is capricious and unpredictable.
> My only question about the 2-tool combination is whether there are better combinations. Python has all the libraries and community support so any alternative would need similar. Maybe Node?

Absolutely not. Python has a much more mature set of libraries which are much better designed, better tooling, and a much more reasonable type system, and the community has only recently begun to be polluted by Web 2.0 "move fast and break things" mentality. The Node ecosystem is built on that mentality, and while outlier developers at the front line of the JS community are able to be extraordinarily productive in JS/Node, developers building user-facing programs just get bogged down in breaking changes in dependencies, buggy and poorly-designed 0.x libraries, untraceable framework code that prioritizes configuration over convention, and intractable errors caused by a broken type system (this final issue is significantly improved in ES6).

Source: Worked in Python 2.x for a few years, worked in Node for a few years, currently work in Python 3.x and Node (general design is to limit Node to compiling and testing the browser-based part of our product). JS/Node is maybe 20% of our code, 20% of our features, 50% of our dev time, and 80% of our bugs.
Maybe there's a market for selective electronic earplugs for parents?
Gonsole: REPL for Golang
I've had a problem with sleep for about 2 years. My mind is always racing and "doing work" even during the night and I end up being conscious (but "asleep") for a good part of the night. I've kind of trained myself to do this, because I was lazy in high school and just figured out solutions to my homework right before going to sleep (so I could quickly write them down on the bus to school during the morning).

Now I'm in university and it's killing me. Reading before bed helped ease my mind for a while, meditation helped for a while, but now I'm still in the same position. I wake up frequently because of this weird "habit" and my mind never gets to rest. What should I do?
> Much of our morality and ethics are innate and stem from our nature and evolution as a social species.

Where is your evidence for this? It would seem more evident to me that the source I am aware of through my education in history and life experience for teaching of morals and ethics has been religion.

Although many here may not be old enough to realize it, countries that are mostly secular not long ago historically speaking had much moral and ethical teaching from their religions.

Attributing this to monkeys and innate behavior may account for part, but from what I understand, you could just as easily bring up monkeys in a ruthless environment where it is every monkey for him/herself. Having an established organization or organizations that teach morals and ethics is important.
Have you ever worked with php? I have only slightly and it was truly horrible. The library is a complete rubbish. You couldn't create worse one if you tried.

The language development is bad. Some developers are bad. Many users are bad. Does these points make the language bad? Yes. New features are incoherent and seemingly random, issues pop in and out (and back in) because tests simply fail, there are unexplainable security issues, documentation is bad, and if you look for any help (documentation comments, stackoverflow) you meet the users and their shitty tips.

Response to every criticism is "you just need to learn something". Does that make a good language? No. It's precisely what makes it bad.

PS: There's a nice subreddit for fun and laughs /r/lolphp - there are continuously new things as the language evolves, so the shittiness is not going away
Taskwarrior – TODO List from Your Command Line
> even one man from Nebraska who wanted to fill the town with 2,000 Russian women and 600 convicted male felons

What?