skysight-inc/HackerNews huggingface dataset:
We already had a ton of Rails devs who didn't know Ruby or OOP well. If Elixir becomes very popular, we will have Elixir devs that don't know OTP, functional programming (outside of pure functions/immutability), or Erlang. That's the way it goes.
Ask HN: How to remain motivated after R&D?
I have faced this situation many times when i have worked on the unknowns and able to come up with working solutions. The problem solving part excites me and bring my efficiency to the top level. But once i am able to create a POC the enthusiasm dies down for the production of the same.

What should i do to keep the motivation up when solution is already in sight and production development is required. Or should i leave it to better programmers and architects to design the production system based on the POC provided by me.
Person A has property and wants to sell it to person B, and person C wants to get the property at a lower price, so he forbids, by force, for person A to sell it to B.

Why do you think person C is getting screwed if A sells to B?

A thought experient: What if the landowners went the opposite way: property can only be sold to foreigners that are poorer than nzlanders. How would that go in this scheme of things.
My general theory is that if a private method is complex enough to need separate testing, it's usually complex enough to pull out into its own class and test as a separate public interface. That's 'interface' as in 'what a class exposes to its callers', not necessarily using an actual Java interface or making it part of the public API of the library.

A side-benefit is that the tests for the original class can be a lot simpler too, as I can just mock the responses from what used to be the class internals. Another benefit for libraries, is that it allows consumers to swap out your implementation. I've lost track of the times I've wanted to change something deep inside a library but it's implemented in a private method so I can't even override it.

This does lead to more, smaller, class files. But unless taken to extremes I've not found it to make things less comprehensible, and it definitely makes things more composable.
I certainly agree. After-all, each rule for creating a pair in a syntax tree could be learned and these rules could be put together [1]

[1]https://www.google.cz/search?q=sentence+structure+chomsky&so...
It's not really human vs mechanical in the teller example despite what they say. They are just keeping their long running habit rather than having to learn how to scan it on their phone which is work and risking that their money will disappear.
What part of that example requires RTTI? Clearly the type of `factory` (and thus the type of values it produces, even if they vary with input values) is known at compile time, thanks to the cast. And confirming that the dynamically loaded code adheres to that type is a loader problem (which can be solved with metadata), not a language/runtime problem (which would require RTTI and the overhead of checking it).

The point of a static type system, either HM or a DT system, is to ensure that the types are either known at compile time, or derivable from some other runtime value (e.g. input to a function). This is for two reasons: safety, and the ability to elide RTTI. (Note that a type system forbids you from doing anything with a value with a dependent type until it finds its way into a conditional branch which simplifies its type to a non-dependent one.)
The Right to Read Is the Right to Mine
How AI Could Slow the Spread of HIV
Weird, when I click the artlicle's link:

http://www.businessinsider.com/walmart-store-robot-program-e...

I end up here:

http://www.businessinsider.com/(null)/(null)/(null)/(null)/(...

With a page that says "Header overflow"

No kidding!
How Tweets Translate into Votes
Absinthe – GraphQL implementation for Elixir
The title is absolutely click-bait.
Bots create an illusion of activity and relevance. They fill an important niche in the twitter ecosystem as without them it’d look like the sad and empty dive bar it truly is.
“they only want to undermine the credibility of everyone else”

It’s reasonable to assume this is indeed one of the objectives behind RT, undermining western news media. In 2008 the Kremlin had TV-Novosti (RT is a brand of TV-Novosti) on its list of core list of "core organizations of strategic importance of Russia" for example. Just look at the guests they have on there to perpetrate narratives against governments and cultures they see as adversary.

From Liz Wahl who resigned from RT on air, blaming it for propaganda:

“They get these extreme voices on that have this kind of hostile toward the West viewpoints towards the world, very extremist. These are the people that they have on. And when I was on the anchor desk, they would instruct you to egg on these guests and try to get them, you know, rallied up, to really fire off their anti-American talking points. Listen, I'm all about exposing government corruption. I'm all about being critical of the government. But this is different. This is promoting the foreign policy of somebody that has just invaded a country, has invaded the country and is then lying about it, is using the media as a tool to fulfill his foreign policy interests. And RT is part of Putin's propaganda network and it's very, very troubling in the wake of what is going on in Ukraine today.”
I've used Vagrant extensively in the past but since I found docker-compose, I haven't reached for it over the past year.
We thought about that and figured it wasn't really necessary (for us). I think it would need to be a new model, which could be used to track the status of pumped milk (and may well be super helpful, particularly later on) but UX wise that would introduce a bit of complication with the feeding entry process. It's certainly doable, just not something my wife prioritized. Right now she just pumps when she feels full and baby isn't ready to eat. Then I get to do the night feeding and record it as a bottle feeding with Xoz of breast milk (:
If only someone would hear you and just do it...
Netflix: Removing client-side React.js improved performance by 50%
Wile true, how many others can claim to be the main religion of an industrialized nation after centuries of preachers from the ones holding sway over most of the globe?
Ask HN: Jekyll vs. Gatsby
Jekyll seems to be the go to source for static websites. But, Gatsby has been quickly gaining ground. For developing a simple website/blog which one is better, or is merely based on preferences and what you want.
I don't currently have any (serious) side projects but I play around with Elixir and if I were to build a tech business or money-generating side project I would build it with that language.
This may not be the whole solution but it is a step in the right direction. Kudos to NYT for attention to this subset of readers.
What's actually happening is a combination of the fact that that they are probably in the middle of stocking and/or immediately detect your racism and arrogance and inability to get to the point and realize they need a supervisor to deal with you.
Yeah I was going to say maybe in London, and perhaps in financial services elsewhere but I'm assuming this is a national average?
Relatively more real-time big data, AI/ML or at least sophisticated algorithms to detect or even predict shoplifting.
CMA launches consumer law investigation into hotel booking sites
Snapseed Adaptive Icon
Not that big of a step, knowing the limited rights of real women in the region...
I would say the British did more than just allow the famine to happen. Exporting grain from Ireland during the famine caused the deaths of thousands. http://ighm.org/exports-in-famine-times/
On one hand it can be appreciated to see a movement of mainstream media making itself accessible to anyone anywhere. Preserving and enhancing the global flow of information is of utmost importance.

On the other hand, who on earth wants to read the New York Times?
People who get confused about that equality are in actuality confused about what a real number is. In particular they probably think that real numbers are digit expansions, and they have probably never seen a construction of the reals. You can show this person a proof, and you might get them to shut up about it, but they’ll never believe it on an intuitive level until you show them what real numbers actually are and what their relationship to their (non-unique!) digital representation is.
RPG is just the best example. The article about flow says the same in the requirements but it doesn't use the terms from psychology:

> 1. Have concrete goals [Reinforcers] with manageable rules [Contingency].

> 3. Have clear and timely feedback [Response] on performance and goal accomplishment.

I'm not making things up – just retelling the common knowledge that I used for work. Ask other game designers if you do not believe me. I understand that deconstructing pleasant experiences into a set of primitive triggers is uncomfortable (hence, over a dozen downvotes) but it's useful to see what pulls the strings from behind the curtain.
If you replant the unstable seed it might not germinate, if it does is likely to be stunted and sterile.
Can the people downvoting please explain?
I mean clearly they broadcast a lot of anti-American stuff and their coverage of any story with Russia is suspect at best. But they have lots of real reporting and they're not just making stuff up. And it's useful to have a counterbalance to American papers, which are highly influenced by American intelligence services.
> and thats totally fine because the real world does not contain infinities

Anyone who positively claims that infinities do or do not exist in nature don’t know what they’re talking about.

Physics is full of infinities. They show up all the time in relativity (gravitational singularities) and quantum physics (renormalization, rigged Hilbert spaces with integration over infinite distributions).

For some of these infinities (like the ones we have to deal with in quantum mechanics), it’s unclear (to me, at least) whether or not they have any sort of “real” equivalent. For things like gravitational singularities, our current theories predict the physical existence of infinite quantities (density, gravitational field, etc.).
When we look up at the "heavens" with the naked eye, we have our own personalized "starry night", courtesy of, and unique to our own, galaxy.

We don't see the individual stars from other galaxies. We barely can even see other galaxies with the naked eye. But once technology shows us that the sky is filled with galaxies, invisible to the unassisted eye, it blows the mind away. Every galaxy has it's own unique "starry night".

Astonishingly, some have projected that there are more galaxies in the universe than stars in our Milky Way galaxy. ~d
Everyone whines about DST, but I love the DST "timezone" in summer. I leave work in the sun. It feels like I still have time to play and have fun after work.

It's great.
I worked on a project that used elixir without OTP. There’s a lot of nice things that elixir gives you and I didn’t personally feel like there was a significant learning curve. OTP is used under the hood for lots of analytics and reporting things, but those pieces were built by other people. The project I was working on had very specific requirements for response times that simply weren’t realistic with Ruby. We could have squeezed Ruby a bit to get what we needed, but it would have introduced complexity. We also knew we’d need to add features in the future while maintaining the same performance, so siding with the simpler solution made more sense to us. At some point in the near future we’ll probably use OTP, and I’ve already got a few ideas of how we’ll be leveraging it for some of our upcoming features. OTP is the killer feature, but I find working with elixir in general to be a very pleasant experience even on projects that don’t use it.
I think that’s what they meant, and said. Cas9 “CRISPR associated protein 9” is the protein/enzyme that they modified.
But daylight saving time is exactly the opposite! It adds an hour to the evening. If you want sunrise to be earlier, you have to use non-DST. Or even anti-DST and move the clock an hour back from regular time.
Thanks for the links, they make sense - I've always had trouble with blind "you should unit test" advice, but especially the video explains the reasoning very well :)
With that adjective it sounds as though you didn't think much respect was due to begin with!

In any event, the summary is very clear that this was a motion to dismiss, not a trial judgment. So your critique is likely to mislead.

And yes, the court left open the option for plaintiff to replead. But I would suggest that does not do much to mitigate the extent to which the court's reasoning here as to how the agreement could limit a claim of copyright is questionable.

But thanks for your comments. I just did not feel that your word choice reflected well on our profession. Let's try to be friends anyway!
It is a legitimate news source though. If you're sorting news sources into all-good and all-bad buckets and uncritically believing or disbelieving everything they print then you're going to end up with a distorted view.
They could probably improve targeting of individual ads.

However, the bigger hammer of pushing organic content down is pretty much done. Just about any query that seems like it can be monetized results in more ads than content above the fold.

I would guess that sometime soon their ad revenue growth slows down to match internet growth.
Right now everything with maps is completely wide open. So if they added a feature which provided security most of the time, but which sometimes leaks information if you jump through the right hoops, that’s still 100x better than where we are today.

You’ll note that nobody is using the existence of requestAnimationFrame() exploits to argue we should just give sites whatever browsing history they want—yet that’s what you’re arguing here for location history.
Ofcourse this depends on the kind of project, but my last experience with a big Laravel project was that I was running the project working under Apache on my local machine and the rest of the team was loosing a lot of time because Vagrant was not working as expected.

I can understand the need for reproducible environments. But when so much time is lost I doubt the first thing you need is something like Vagrant.
To me Vagrant is a tool that you use when the team starts to struggle with "works on my machine". But not before that. Because most of the time (well for PHP at least) it's very easy to make it work on all machines.
WHY MOBILE APPS Fail: A COMPREHENSIVE VIEW OF THE PROBLEM
I tried Hugo recently and must say it just works smooth. From the documentation quality point of view, there are things that still need improvement, but it's good enough to produce your own static sites in a few hours.

AFAIK, Hugo also allows you to import Jekyll themes. But, honestly, I haven't tried these ones you ask for yet. I'm willing to know people's feedback.
That's why we have timezones?
This is the part I don't get when people preach the gospel of ultra-isolated test suites where nothing talks to an external system. The most nontrivial parts of your code, the most likely to break, are those that talk to external systems.

Building a mock of that system sophisticated enough to sufficiently capture even a significant fraction of the "real" failure modes is just as, if not more error-prone and daunting a task.

Totally isolated tests make it impossible to test the most failure-prone parts of your code in anything approaching a satisfactory manner. Maybe I'm just misunderstanding people's advice but it drives me crazy when I see that.
I wonder why all the slides from this keynote show to be consisting of a single (or is it the first) page?

It's in window title, (1 страница)

File name is same, there's one page to be displayed, but content is different. Is it some feature of keynote where you have more than one screen's worth in one page, or is it shopped?
There's already a news report from RT today claiming that Twitter actively courted them (RT) for advertising during the elections, and have published a Keynote slide deck from a presentation they claim Twitter presented to them:

https://www.rt.com/news/407919-twitter-multi-million-offer-r...

They claim that in return for $1.5m upfront spend during the elections, Twitter would promote Russia Today's tweets and provide them with an inhouse team to curate content and provide strategy. For $500K extra, Twitter would promote RT's moments to 60 Million users. There was an offer for a $3.3m total ad spend.

But it should be pointed out that would not feed into this quarter's revenues, as it was for late 2016. And the story all depends on whether you believe the slide deck from RT is genuine or not.

(There's a separate HN discussion about that here: https://news.ycombinator.com/item?id=15566663 )
ETeki – Technical Screening/Talent Assessment
As i've made clear in my other posts in this thread, i dont believe in rewrites.
I've seen lots of very painful ones though, and never quite finished, nor iso-functional.
However, there are other ways to unplug the mainframe.

I would disagree with the assessment that management is too dysfunctional, it depends. But if they all were like you described, i would be out of work. And it just happens that we turned off a mainframe just 2 weeks ago.
I've found that too. TBH I just want them to tell me which aisle it is, and will ask "which aisle are eggs on, please?" or whatever. But they insist on walking you there and done are seemingly instructed to hand you a product too (which usually I replace).

Mind you, if they didn't insist on moving everything to increase customer circulation ...
I think our difference in perspective is a result of our experience with different systems. I've met a number of professors who expressed contempt toward the undergraduate population at the Big State U where I did my graduate studies. It's not that they're reluctantly doing a bad job at teaching, they're doing a bad job and they really don't care.
conda is the standard tool. tell your students to use it, not venv. problem solved.
This has nothing to do with DST.
> Any refactoring done is safe from regressions, because of your comprehensive test suite.

As much as I like the idea of TDD, I have a problem with this part. When some refactoring is needed, or the approach changes, it seems like you have two choices. One is to write the new version from scratch using TDD. This wastes extra time. The other is to refactor which breaks all the guarantees you got before. Since both the code and the tests are changing, you may lose the old coverage and gain extra functionality/bugs.

And unfortunately in my experience, the first version of the code rarely survives until the deployment.
just unfollow your girlfriend
I notice some bot/troll activity in the discussions. Mostly new accounts
Hacker News for Hackers
Vagrant's private network is really cool as well. I use it to test ansible provisioning scripts for server infrastructure.

config.vm.define "ums-01" do |machine|
machine.vm.network "private_network", ip: "192.168.1.10"
machine.vm.network :forwarded_port, guest: 22, host: 2210, id: "ssh"
end

config.vm.define "ums-02" do |machine|
machine.vm.network "private_network", ip: "192.168.1.20"
machine.vm.network :forwarded_port, guest: 22, host: 2220, id: "ssh"
end

-- https://www.vagrantup.com/docs/networking/private_network.ht...
My dad would answer when I was a kid, at the end, there is just a wall, but then I’d ask what what’s beyond the wall and that was the end of the conversation
Perhaps the next thing will be AI driven coding interview robots. Why bother with people when you can optimize the whole process without human intervention? Call it Being Interviewed As A Service.
Continuous Performance Monitoring for PHP – The Tale of Blackfire at Trivago
Tor crypto guarantees an E2E connection to an entity possessing a key which matches the onion address which you sought to access. That's a benefit over DNS/TCP/BGP :-)
I’d take anything from RT with a grain of salt, considering the context. I’m not saying Twitter is in the clear, but it’s in RT’s best interest to make themselves look better.
i'm developing an os with an architecture similar to qubes, in part because i disagree with the idea of using hardware virt as an isolation mechanism. i think this can be done with os virtualization much more cheaply without being much more difficult to secure. still quite early in the project, but i think we're touching on some interesting stuff.

https://www.heropunch.io/tomo/os/grid/

https://www.joyent.com/tech-videos/going-container-native

https://genode.org/about/index
Made by a different company.
Email service that finds the best flight processo using bots
Being a Nazi isnt a mental illness.
Sane people were nazis.
Last time Nazis were in power they, in fact, murder quite a lot of mentally ill people.

Nazis also dont need to be in power to kill people. Nazis already kill people.
Being organized and in sufficent numbers is enough.
Being in power mainly means they have less resistance and more ability to do so.
I’m surprised that no one is considering taxing (highly) unoccupied flats. The issue is that foreign (I’m assuming that’s dog-whistle for Chinese) money is looking for investments but that those crowd out people who work there. By making renting meaningfully advantageous, you can keep the investment (and have modern, state of the art real estate) and housing for families.
The state of the realtime union
Everything You Should Know About GDPR 2018
"We put the extra A in BIAAS"
Isn't it? Should we have allowed the Indians to call on such savage practice as suttee? One of the greater horrors of post colonial sub continent africa is how little education reached the populace and the savage beliefs that perpetuate atrocities even now. Imagine if we had been able to teach them that they didn't need to kill and mutilate albinos for example?
CPU latencies
WaPo/NYTimes has a very obvious agenda as well and thinks nothing of citing anonymous government sources in puffy articles.

I'm struggling to see the difference here, other than Jack/Twitter doesn't care that it has an agenda or is influenced by a government, but they disagree with the particular agenda...

Yes RT is worse, but it's also more overt, this divide will always be full of shades of gray not black/white. It's a very dangerous road to travel down, letting Twitter be the arbiter of news orgs, and if this is going to be limited to simply Russia and not hundreds of other news orgs then it's quite obvious it has it's own agenda as well.
You're welcome. I should have added that if the response is negative, don't take it personally. There's no point in competing with free or trying to work within a budget of zero dollars.
>How does one check for 'fake news'? Its easy to throw around these words but they lack meaning and value.

Fake news has a well defined, explicitly understood meaning - the presentation of falsehood as legitimate news, and its virality on the web, particularly in social media.

Merely biased news isn't fake news, nor is news for which the facts are initially misunderstood at the time of reporting fake news.
SciPy 1.0 released
Arxiv Vanity: render papers from Arxiv as responsive web pages
My top tip: install your dotfiles into any Vagrant VM without modifying anything in the VMs Vagrantfile/provisioning scripts: https://gist.github.com/tadas-s/0cd468a4cc9fa4cafce6fe57a5dc...
I think you could easily be wrong here.

I can self-checkout, or at some supermarkets self-scan (using a handheld scanner), but I chose the human checkout operator. It's partly economic, the supermarket doesn't discount my shop if I do the checkout work myself, so I extract a modicum of their takings towards wages for a local person rather than have it go to shareholder profit. People here need jobs.