skysight-inc/HackerNews huggingface dataset:
> (ymmv)

This is probably the most important to remember. Every problem is different. Every situation is different. Good engineering isn't just the implementation, but also the design process.

For most problems, there is rarely a single "correct" solution. This means decisions about which tools to use should should include maintenance costs, familiarity, and other non-technical criteria. For example, it's probably a better idea to be consistent with tooling even if a side project is a great fit for another language/framework. Or maybe it's worth the cost in your particular situation.

In CS we often talk about trade=offs. Should we use the normal trig functions or trade memory for speed and use a lookup table? Should the data be stored in an array or linked list? Should the math be done using int16, int32, int64, or a bignum library? Good design happens when you take the time to consider all of your options, including which tools you will use.
What projects are people using Redis for? I'd love to know how others are using Lua or plan to use the new module system specifically.

We're using redis as a queue (Sidekiq) and also to store the index.html page for our SPA. We have an "active" key in redis and its value is the key for the current index.html. This let's us push new versions of our app into redis (each generation of our asset files has a unique name so a new index.html gives you a new version of the SPA). We can then add a get param to our URL and pull a specific version of the index.html out of redis. Once we've smoke tested, we update our "current" value to point to the new index.html and, boom, zero downtime deploys.

What's your story?
In my experience as a professional Python dev and a hobbyist Gopher, Go's libraries are a lot less convoluted than Python libraries. In Python, you see a lot of libs that try to do everything for everyone (think long args lists and functions that try to guess the right thing to do based on arg types) whereas Go libraries just kind of snap together neatly. Go tends to be more productive for me than Python specifically because its philosophy values simplicity and orthogonality over complexity and scope breadth.

> Yes, performance matters a bit, but development time is usually much more expensive than adding a few nodes to an autoscaling group, and not worth the cost of using less fleshed out libraries.

Sequentially, Go outperforms Python and other interpreted languages by a wide margin (usually a factor of 10). Things get really interesting with Go because it can be massively concurrent without messing around with large async refactors. At work, we're hoping our first iteration (i.e., before any async refactors) of our Python application to handle something like 5-10 concurrent requests per machine (without degrading response times), but I'm confident a single Go process could handle at least 10X that load with better response times. This order-of-magnitude difference seems fundamentally different from the perspective of "throwing hardware at the problem". Further, Go's library story is fairly complete (for web services; GUIs and other domains are still lacking)--at least it's been a long while since I've lacked a complete library for some task.
When you start strong-arming people, expect them to push you back sooner or later.

I say we make Donald Trump pay for the wall, and we have many ways of making his life miserable to make sure he does it.

1) Revoke his citizenship.
2) Make IRS audit his companies.
3) Stop approval of various permits for his various buildings until he complies.

The things we can do as a government to this chump are endless.
Woah woah woah. Why? Who governs that?
I mentioned this is another article on the subject but... I "upgraded" to the unlimited plan immediately and it saved me over $100 a month. For some people this pricing change is awful, for others like me it's great.

If it were to get more expensive I could probably use self-hosted GitLab however.
* 800% more expensive
You probably don't want to be hard-coding the address of your SMTP forwarding host in a script. If you have to change to a different one, you will have to hunt down this sort of usage and fix it.
What, exactly, should Walmart's response to shoplifting be?

Aside from the matter of whether drinking a $0.98 iced tea before you buy it really constitutes "shoplifting" (I've seen this quite often enough, in Whole Foods of all places, to conclude that while it's not exactly a classy thing to do, it's most likely a misunderstanding on the part of people who happen to be... very thirsty), the article isn't (at all) suggesting that Walmart ignore shoplifting.

Rather, the basic point it (very clearly) makes is that Walmart's very design and layout attracts criminal and/or nuisance behaviors in the first place:

Walmart stores, with heavy foot traffic and cavernous layouts, are natural targets for shoplifters, panhandlers and other opportunists. Many are located in disadvantaged areas prone to more trouble. The retailer knows all of that, experts said, but doesn’t do enough to address the problems, despite ample resources. Walmart, they said, lays out its stores in a way that invites trouble and often doesn’t have enough uniformed employees to make sure everything runs smoothly.

Oh -- and as to what Walmart's response to the premature $0.98 iced tea drinker be, you ask? How about the natural, human response: "Sir, can you please make sure to pay for drinks at the register before opening them in the store? Thanks!"
@ceejayoz If you think I look silly you may laugh no problem. But just having a bunch of Google searches and putting that all together to make your thesis is not the right way to go. What I'm saying is what they're affirming in a national government website is an incorrect statement rather then saying that the experts are wrong, don't miss understand my words.
Best Regards,
https://slack.com/jobs/69902/desktop-application-engineer

"The Slack Desktop apps are built using diverse technologies such as Electron, node.js, ES6, RxJS, C#, and Objective-C,"
I'm talking about limitations in web apps that exist right now. For example with browser-based apps:

* Lack of data ownership, how do you export/backup?

* Poor keyboard shortcut support, e.g., constant conflicts between the browser itself and the app being run in the browser

With Electron based apps:

* Performance obviously, this might get better in the future, but that's a big bet of your time investment in learning and building on the tool. The fact that Atom is slow on a top-of-the-line machine is concerning. Sure that'll improve in time, but what if I also want to run it on more constrained device, tablets, etc...

* Electron apps still have a long ways to go to support basic platform expectations, e.g., on OS X Atom doesn't Services, AppleScript, or piping to the command line utility.
https://en.wikipedia.org/wiki/Brood_parasite
This makes me think of John Oliver's last segment about science publications that show up in the media.
Gruber is very unusual since not only does he make a living from ads, they're all non-tracking-based brand ads. http://decknetwork.net/privacy/ This is the opposite direction of the analytics-based consensus Internet business model. It's possible that publishers are suffering from a mass delusion and the Internet advertising market would work fine without any tracking or analytics, but virtually nobody is willing to find out.
Wow, they're even planning to provide a native version of the runtime library? That will be more than nice.
Personally I would fire him after explaining to the victim that there's zero tolerance for sexual harassment (after consulting our lawyer - have to do these things by the book).

Ultimately it's up to you and how you want to define your company's culture.
webpack, babel, babel-preset-es2015,
babel-preset-react, babel-preset-stage-2,
react, redux, react-redux, react-router,
react-router-redux, redux-thunk, redux-actions

Those provide the core you need in a react application imho... if you want a "service" abstraction similar to angular, you can use axios. Yes, there is slightly more boilerplate to setup when you get started... and understanding smart/dumb components and higher level abstractions takes a little work. Once you get past that, and understand how Redux's tooling works for building your state management, it gets simpler still.

In the end, there are FAR fewer surprises with React + Redux then there are with Angular 1 or 2. One of my single biggest issues with every angular project I've worked on, is that it's hard to find what you're looking for...

I see a string of "foo-class" rendered as part of the output in the browser, I go search for "foo-class", and I find it... It's in a .html file, now I need to find where that is referenced, find it... and now I'm looking at controller/directive for the foo.html... there's an attribute (directive) on one of the elements in the template... WTH does directive-foo come from? I search for "directive-foo"... not found... oh yeah, I have to search for "directiveFoo" to find it, again the templates are separate from the controller/directive, and this ball of mess continues...

In a react app, I find the top component, I want to know where FooComponent comes from, I see the import statement above, and go to that directory... the end. No searching for strings past the first search.

That's just tracing the rendering stuff... as for the logic, there's some disconnect there, but in the end, once you understand the rendering path of the components, vs action creators (which use services, redux-thunk), vs. modyifying the state tree (dispatch) through reducer(s)... in the end it's simple, easy to follow, enhance, extend, modify.

Working in a large (or even relatively small) angular app is an exercise in ever-increasing frustration... doing the same in a well-organized react app, much simpler.

That doesn't even go into the size of the min+gz libraries you start with in either/or. I have a preact+redux module/app that is a standalone datepicker modal control... in the end, 16.2kb min+gz [1] (the demo site, gh-pages wasn't compressed last I checked). The source[2] is pretty clean and well structured.

It's easy to grow a react+redux application organically... the same cannot easily be said for angular (1 or 2). And although Angular 2 is much better, I'd still prefer react + redux any day of the week.

[1] http://tracker1.github.io/md-datepicker/

[2] https://github.com/tracker1/md-datepicker/
Yes, but by "modern static typing" I think we're talking about the latest generation of languages that have come out since 2010 (Swift, Rust, Kotlin, etc.)
The listing is web scraped from other sites (jobserve, cwjobs, etc), which is a problem since most of them are fake.
It would be great if there was an actual site/company that had real jobs for the "HN crowd". Even if just a few.

Several months ago I've moved to London with the goal of finding contract work but my experienced has been quite negative. But that is simply my case where (1) I'm not a specialist and (2) have no UK experience.

I've realized that not all that glitters is gold. All that glitter also made me commit the mistake of asking for market rate, which likely didn't help.

Many of the ads are fake and the recruiters just call you to try to get info from you "how are you finding the job market? any interviews? with who? what tech did they use?" Just politely answer "I'm sorry but that information is confidential and I respect my business partners"

At this time I started searching for permanent roles, but have an obvious preference for contract.

Anyway, what I really wanted to ask is for any tips in landing a contract based role. Or if it's hopeless for someone without "UK experience".
I have a CS degree, have 10 year of professional experience, but very broad tech. But only the last 2 years are "devops" related which is what I'm interested. I like developing tools and automating. I don't mind backend (and known a bit of Django). I also have a keen interest in ML (recently finished coursera ML MOOC).
Before IR, nobody had watches to count hours. Working days were irregular, i.e. worker must work as long, as sun is in the sky, from child age till death. I myself helping my father from 10am till 10pm when harvesting wheat, and I am not surprised when my parents are saying that they worked much more than me when then were young, for much less.
CHERNOBYL: 30 years later, view from space
Given that all the big data talk lately has been about GPU computing/TensorFlow, I'm glad to see that this Spark update shows in-memory computing is still viable. (Much cheaper to play with too!)

The key feature for me is Machine Learning functions in R, which otherwise lacks parallelizeable and scalable options. (Without resorting to black magic, anyways)
I recently disabled my Facebook account for that exact reason. It's a time sink with not much value to justify the time wastage.
> I would recommend never disclosing salary because the recruiter will always say "oh, you can't possibly expect to make x% more than your current salary" and negotiate from there.

To which you respond, "Then I guess we won't be working together". If he really cares about your business, he'll come around. If not, then it really doesn't matter either way because your likelihood of getting what you would ask for otherwise is slim.
It's more that a source like the NYTimes has biases of its own, that you seem to think doesn't count as 'actual' bias.
This is a cool format. I look forward to the coming profiles.

I feel like if I had a startup in the batch the bio for me would read like .. "normal guy trying his best". Makes me think I would never be suited for stuff like this.
> The real interesting part of the game in my view is that conquest is no longer an option

Isn't it though? Russia seemed to do OK with the conquest of Crimea. Anyway the suggestion of Europa Universalis is probably the closest you will get right now. If Paradox made a post-cold war sim I'd play the hell out of it, but I think it would be hard to do right and be interesting precisely because without real conquest and wars, there isn't much that is interesting for a game on the global level.
Yeah, I have a modern macbook pro, but nothing I do on here sucks battery faster or makes the fan noisier than playing Civ 5.
The only other C project I know of with a module system in Linux. I've actually found that Linux modules make development _much_ easier because you can isolate your code from the rest of the Linux code base. Of course, the last time I was professionally developing with the Linux kernel, git hadn't been invented yet and you really couldn't keep the entire kernel in version control without going insane. So, maybe things are different now.
I feel like V is fairly cartoony. These screen shots just don't feel polished though.
The big media made this choice themselves [1]. Recode in particular [2]. So they should own up to their past decisions.

1. http://www.cnn.com/2014/11/21/tech/web/online-comment-sectio...

2. http://www.recode.net/2014/11/20/11633104/a-note-to-recode-r...
Because if you're getting out of the power, in a democratic way, as written in your constitution, and you don't have enough support from people / congress... not even 33% of it... well, call it a coup.
> I have seen many Walmart locations in low income neighborhoods, but not Target.

I've seen quite a lot of Targets in low-income neighborhoods, often within a few blocks of a Walmart.
I'm pretty sure the only thing Target figured out is to cater to a higher income demographic.

Whereas Walmart's genius lay in not only continuing to cater to the lower income demographic... but to keep its valued customers addicted to junk food, junk clothing, junk music, junk kitchenware, and just plain... junk in general (peppered with vindictive, quite possibly career- and/or life-ruining arrests for drinking a $0.98 iced tea before paying, now and then) so that they stay in the lower income demographic.
Alternatively, Civ 6 for the tablet could be amazing.
Release Notes for Safari Technology Preview 4
PhoneGap/Cordova apps are slow. Very slow. And even a hello world app can weigh tens of MB. Debugging is painful compared to a native app.

The thing is, you won't notice how bad the situation actually is until your code base has grown. Performance can seem acceptable at first, when there's very little code to load and run. When your codebase inevitably grows, you'll start noticing slow start up times (> 10 seconds) and a laggy UI.

If you have to do any computationally intensive operation, you'll have to resort to cordova plugins because JS running in the UI thread is a non-starter.
I think you're referring to the GitHub Engineering blog post [1] about our git storage tier. We [2] store your code on at least 3 servers, which is an improvement in many ways from our previous storage architecture. There are a lot of servers [3] powering things but not the millions it would require to give every customer three dedicated machines. Developing efficient solutions to problems is a requirement (and a fun challenge!) for anything at GitHub's scale.

[1] http://githubengineering.com/introducing-dgit/

[2] I'm a GitHubber. https://github.com/jssjr

[3] https://twitter.com/GitHubEng/status/730429227896463360
> conquest is no longer an option

Sounds like an interesting idea for a game, but that doesn't really accurately reflect modern geopolitics, does it?
Pushbullet works for me. I just wish it let me choose which instance of Chrome on which machine to push to, rather than all of them.
Hyperloop One debuts future tech in Nevada desert
Even so, a Walmart store carries significant economic weight in a community. The relatively lower property tax bill will still be very large. They will often be in the top-5 employers after the government and hospitals. And there won't be any other nearby business that can provide the same quantity of affordable consumer goods, so community leaders will fear losing a Walmart.
What will prevent the outbreak is the weather in Rio. The Zika mosquito takes 3 to 4 weeks to reproduce http://www.denguevirusnet.com/life-cycle-of-aedes-aegypti.ht...
and it loves hot and wet weather.

The autumn in Rio is the coldest and driest in a long time http://g1.globo.com/rio-de-janeiro/noticia/2016/03/outono-no...
When the Olympics arrive, the mosquito will be in their lowest population count.

If you consider that the Olympics tourists are rich ones, that will spend most of their times in air conditioned environments, the risk is really very low.
How do you know it's an attack and not just a statement of fact?
Show HN: Nuten – create, share and save math equations
Vanilla.js is the next big thing.
You mean proxy ARP?
Colonies spontaneously collapse during any time the bees are flying. It is mysterious collapse where most of the bees are gone, leaving just the queen and perhaps some nurse bees to die. Also, there is still brood, just no bees.
This is a timely read for me. I just finished reading "Disrupted," by Dan Lyons, about corruption in the digital marketing industry.
I still prefer to use desktop-based products that I own as much as possible for this reason. Rather than think of it as being behind this swing of the pendulum, I prefer to think of it as being ahead of the next one.
With respect, most junior programmers, whether self respecting or otherwise, would have trouble even recognizing that there is a need to cover some of those cases I mentioned, let alone successfully accommodating them.

Most likely you'll get a

return "'" + replace(str, "'", "\\'") + "'"

which only after the first bug report gets turned into a

return "'" + replace(replace(str,"\\","\\\\"),"'","\\'") + "'"

and that will have been arrived at after a lot of trial and error and incorrect numbers of backslashes.

And if you think that is robust, you're likely in for a surprise when someone sends you some unicode data.
That just seems like a carbon copy of here. I was thinking of a Facebook group that would be an extension to here with real people/faces.
I just came across a great Electron app called Nativefier (https://github.com/jiahaog/nativefier https://news.ycombinator.com/item?id=10930718) last night. It's a super easy way to make dedicated browsers & launchers for certain web apps. (very anti-web, I know)

My first use case for it was making a dedicated Amazon Video client for my wife's laptop (although Nativefier doesn't have one of the necessary plugins) so we can have our regular Amazon accounts separate without switching credentials all the time. But I can think of a bunch more for this
Isn't V8 open source? https://github.com/v8/v8
I love the Civilization series, but I'll be honest: it really bothers me that certain companies have one or two franchises and they keep churning out new iterations of them every year or every other year. It just feels like a money grab after a while (especially with franchises like Call of Duty or Madden, which, from my perspective, don't improve appreciably in between iterations).

I'd like to see them taking some risks and innovating new franchises, and perhaps even new genres.
This type of reply always appears on posts _mentioning_ Facebook, let alone about the product. Yet the fact still stands: billions of people around the world use Facebook every month. I personally find the stock "I don't use Facebook" comments off-topic and tiring. Facebook's effect on society is worth having a reasonable discussion about, whether you use it or not.
Make a dedicated site on gitlab.com about security (make it bold) and about private repos. Some buzzwords: Countermeasures, security tracking, rate limiting, DDoS attacks, Backups... what do you do to ensure security, privacy or that nothing is lost? It's a littlebit in the dark. I would love to see comparisons between gitlab, bitbucket and github if possible (but I'm guessing that's not easy) or I would love to see somehow you take that extremely seriously for gitlab.com. I only have this gut feeling (I cannot exactly say why) that bitbucket and github feel more secure for private repos than gitlab because their business is dependent on security of hosting private repos. On gitlab.com the hosted private repos are a bonus and not the business of gitlab (because the real business is selling gitlab enterprise software and their support).

Just ask yourself and imagine this: You have a new start up company based on very valuable closed source but you entirely do not want to host my own gitlab etc. server. Which service would you use? I'm guessing it is bitbucket or github because they are offering "premium" private repos and have a good reputation (at least I do not know that a private repo there was once disclosed).
Neither service charges for public repositories. We're talking about private ones here.
The best part about Sunrise was Meet, its quick little method of booking meetings with someone: https://sunrise.am/meet

You'd choose some available times, it gives you a link which you send to whoever you want to meet with, and the recipient books a time slot with a couple of clicks. It updates in real time so if you book something new, the slot disappears. It even has a little iOS keyboard to generate these links.

Does anyone know a similar replacement service? Nothing beats just pasting someone a link and letting them pick one of three times you chose.
Hyperloop One First Public Test [video]
I still have PTSD from trying to write correct concurrent code in Java. Everything I used to do in Java I now use either Scala/Akka or Go.
What does that have to do with Signal's dependency on a mobile number? Signal is not an option for everyone, while other tools that use a less myopic design don't have that restriction.

If the goal is to fight passive surveillance, it's a bad idea to artificially exclude minority groups. Cell phones may be popular, but they are not universal.
I suggest checking out Pushpin (https://github.com/fanout/pushpin). It works great with Django, and no need for multiple languages.
Art usually doesn't change much from the screenshots. What you see is probably what you're going to get.