skysight-inc/HackerNews huggingface dataset:
I haven't used Laravel, but PHP tends to be relatively easy to get a development environment running as well as deploying on shared host type environments. On the flip side, the application becomes ever intertwined with the host environment, and beyond that, PHP libraries and frameworks tend to lack a lot of discipline that you find in other languages (that is, you find yourself pondering things like, "what if I were running this across many boxes, oh it'd just break..."), so 12-factor readiness (which helps when you want to run your app on more than one machine) tends to be an afterthought.

I haven't worked with Phoenix or even Erlang/Beam that much (though I've used Rabbit quite a bit). I think the overall model of the runtime is brilliant, but I'm not sure you need to buy in to the whole ecosystem to benefit from the learnings of it. There are actor systems for a lot of languages (Celluloid and Akka come to mind). Celluloid works nicely for weird long running things. I'm not totally sure how much it matters for your typical web app that would work fine enough with a CGI model (though I guess it's not totally different).

I've only played with Meteor, but I've used Node and React pretty extensively. React in particular is brilliant. It provides a nice way of thinking about the UI of your app in a more functional way. Of course, the devil's in the details, but it works pretty well. I'm less keen on Node as a backend language. A lot of backend code is between the lines, waiting on the DB or dealing with crazy errors. Node and JavaScript aren't very good at those things today. ES7 Async functions have some promise (hah!), but interoperating between libraries can be a little confusing at first.

Rails is an old friend of mine. You can do a lot with Rails, and it's almost sacrilege to say these days, but a well written monolithic, non-javascript heavy Rails app can be a joy to work in. It's pretty good for CMS type content; I've used it a bit to build various web stores to good effect. Things can get hairy when you try and step outside of "the Rails way", but that's less of an issue these days. It can also be a little funky using the asset pipeline with newer frontend libs, but there's that nifty source that packages frontend libraries as gems (the name eludes me at the moment).
If you need something complex and bespoke, build it yourself with something like Rails/Elixir/Whatever - your choice will depend mostly on your preference of tools/language/community as they are all quite flexible if you know them well.

Rails is suitable if you're greenfielding a complex new site (as would be Go or Elixir), Laravel probably if you like PHP (haven't used it), definitely not Drupal, Typo3, Wordpress etc if you are thinking of extending them in any significant way. Meteor doesn't strike me as particularly suitable for a CMS. Django might be worth looking at as it has built-in admin which is more CMS-like than others?

Since you mention building a CMS, my 2 cents on that:

If you need something very simple which is a good fit for a particular CMS and/or are on a very limited budget, just use a prebuilt CMS product and adjust some templates, otherwise you're reinventing a lot for not much gain. Doesn't sound like you want this option.

If you are producing a bespoke site consider writing most of what you need from scratch rather than trying to use modules/plugins etc. because the capability to use modules/plugins tends to invert authority in an app, and require you to do the things the framework way or not at all. Every bit of code you import from elsewhere comes with a significant cost in maintenance, security and complexity. So don't choose a framework in the hope you can just plug things other people have written together and make it all work.

Avoid CMS products which try to allow the end user to customise records (custom fields, nodes etc), install hundreds of badly written modules, and do a limited form of programming by manipulating records or templates in the database (I'm thinking of things like Drupal and to a lesser extent Wordpress). If you try to use them for something complex it will usually lead to an unmaintainable morass of poorly understood code.
Depends on how many tabs you have, and how many iframes etc. each tab contains.
Not making me vomit is definitely on my checklist for new tech. Glad we're at that milestone. I am still not sure how we best deal with the desire to move around in physical space without bumping into things, in this way the augmented reality route feels like it will be more useful. Having watched the space for the last 30+ years I heartily agree these are good old times :)
Git Bisect: Find the broken commit
The first result suggests announcing your move, and following through, gambling that most people think you are lying. In the last 10 years I've only ever played scissors, and I usually tell people ahead of time, and I still win about half the time.
There's no information flow from Safari to the adblocker app, so that privacy point is really moot. Baking in the filter lists instead of downloading them from a server seems like a pointless restriction, preventing users from customizing the filter lists.
Promotion rate impact on garbage collected languages
Neural Algo of Artistic style
Anyone knows what happens with the money users earned as "influence"?
My guess it is gone but could find no references about this no where..
More like "Chinese military cyber-warrior doxed by the WSJ."

Bad guy or good guy, what I worry about is that man's fate... if he hasn't met it already :(
Many IoT concepts are remote or battery-powered. Most of the single-board computers on the market will drain a 9V battery in a couple of days.

Wireless power transmission will be the enabler that causes IoT to really advance.
That's not what I meant. The presence of an exception in the constructor proves that an invalid `Email` instance can't exist in any expression.
Non-paywall link: https://www.google.nl/url?sa=t&rct=j&q=&esrc=s&source=web&cd...
Hmm... Good point, thanks. (Of course, that doesn't mean I agree with the second part - I'll continue to ignore both copyrights and ads - but I do agree with the analogy.)
> there's that nifty source that packages frontend libraries as gems (the name eludes me at the moment).

Are you thinking of Rails Assets?

https://rails-assets.org
> Laravel(PHP), Phoenix(Elixir), React+Meteor(JS), and RoR(Ruby).

All solutions have trade-off. Obviously rails isn't adapted if an app is focused on websockets, Elixir gives you good primitives for distributed programming and PHP runs on cheap hosting. Rails is really like "ok , I have like 2 weeks I need to develop a complex CRM for a client" , something in my opinion that cannot be pulled off that quickly with other solutions.

But yeah , there is no silver-bullet. When I read articles like these I wonder if the author really believes it or if he is trolling :

https://www.linkedin.com/pulse/go-dominate-next-decade-ian-e...

Every solution has its share of problems,even Go.
Redis plugin for Akka persistence
PoE is on one hand (relatively, for ~$10 devices) expensive to do, with all the signaling and filtering needed, while on the other hand, not abundant in the environments where these projects are run.

I do have an 8-port-1Gb/s-switch with 4-PoE ports at home. It cost 5 times as much as the "plain" 8-port-1Gb/s with no PoE, and I'm the only person I know who has one at home.
Very impressive. Concise, thorough, useful. I love seeing posts like this.
You could still fall back to using inline assembler for code that's sensitive to offering a timing side channel. Inline Assembler doesn't get optimized.
It's the difference between "50 so-so products a year!" and "10 brilliant products a year!"
> it even has GPU acceleration, but I doubt you'd need that.

Ever accidentally cated a 4TB disc? It's… fun.
Web Technology Usage Trends
> Additionally, I believe that the effort required to write Haskell code is vastly over-estimated.

Perhaps, but so is the ability of Haskell to produce more correct program more cheaply.

The Haskell type system is really not powerful enough to verify even the basic monad properties, let alone a simple sorting algorithm. OTOH, you can eliminate null-pointer errors with much simpler type type systems than Haskell's (e.g. Kotlin's). Haskell's type system exists at one point on a spectrum, Java's at another and Kotlin at yet another (but close to Java). It has not been shown which point results in less total development cost, nor that there aren't any other points with better results. Also, none of those was contrasted with a hybrid approach that has proven useful at Amazon (write code in Java, verify in TLA+).

> for one, in Java null can be assigned to any type.

Not with Java 8's pluggable type systems (which are quite advanced, BTW): http://types.cs.washington.edu/checker-framework/current/che...

> There is a difference between the inability to prove certain things and having giant holes in the type systems that nullify most guarantees.

I don't know if the distinction is so clear. Type systems aren't axiomatically "good". They exist to serve a purpose, and they come at a cost. Both purpose and costs are points on a scale, so one cannot simply make the general statement that a "sound type system is better than an unsound type system". All you can say about it is that it's sound. Whether it's "better" or not requires some empirical study.
Supporting old devices is kind of marketing against Android. How those devices actually work with new OS is another matter.
well, you kind of do. the HIRED.com ads are everywhere in the programming subreddit
Noscript? It is a bold move to break more than half of the internet for them. Did they learn to use the Noscript-menu when something does not work?
Depends on if it is possible to lose that money in the mean time. If there are lots of robbers in your neighborhood, it might make sense not to have a lot of cash under your mattress.
VIM initial release was 2 November 1991, not as the title claims 80s. Most VIM users accustomed to the power of macros, plugins, vimscript, ... would probably not want to miss the improvements on the original vi. If in doubt

:set compatible

and see how long you last :-)
also interesting http://blog.valbonne-consulting.com/2015/06/28/editor-wars-w...
Url changed from http://theweek.com/articles/560046/inside-counterfeit-facebo..., which is an excerpt of this.
There is no getting away from it with the new "retina" screens. You will use TTF fonts, antialiasing, and most certainly some compositing underneath it all.

But I find that rxvt is quite speedy (in both Linux and OpenBSD) not to cause any noticeable lag when using "pretty fonts". Unlike OS X, where both Terminal and iTerm are still frustratingly slow at rendering text. Sometimes I'll fire up a Linux VM just to have a fast terminal and nothing else.
But isn't this an "App" which shouldn't have been an App in the first place (I think they write something like this in the article).

That's really one of my pet peeves. I don't like installing apps just to read an article. A good mobile site is much preferable in my opinion. But I've started a little bit later than most to the smart phone game and I'm a little bit quirky - so that may be just me.
43 year old developer here, haven't seen this happen in Ireland.
> building 50+ hardware products

This is the reason. They lacked focus.
Or a pre-order threshold below which they conclude the product has below average market potential and isn't worth investing any more time and money on actually getting it to market?
I'm not sure about that.

1. You can have an icon for web apps

2. That's only true if the web version is crappy and overloaded with ads and trackers. A decently designed

I prefer mobile web for publications, because it's just a link that doesn't impact my phone. The native integration usually only brings annoyances, like unwanted notifications or sucking the battery to fetch articles I may not read.

Apps are for applications. For content, nothing beats the web.
It (roughly) doubles the size of the app bundle you upload to Apple. They then compile that down to create normal sized binaries, which are what are actually downloaded to the device.

Bear in mind the source->bitcode->binary process (I'm simplifying here) was previously all performed by LLVM on your computer anyway. It's just that now the final bitcode->binary step is done by Apple, to allow device-specific optimizations of the binary for the devices that are downloading it without you having to do all those device specific optimized builds yourself.
Not all practice is equal. Someone who puts in x hours with the help of world class teachers and approaches the task with a focused plan will beat someone who practices just as many hours on their own without a plan or focus.
* The Esterel Synchronous Programming Language: Design, Semantics, Implementation (1992) : http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.17.5...

* The Constructive Semantics of Pure Esterel (1999): http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.46.2...

Both by Gérard Berry (https://en.wikipedia.org/wiki/G%C3%A9rard_Berry)
It's not hard to supervise the device. Majority of users won't bother, but there's still market, I'm sure.

Another approach is to sell ad-less VPN. User will have to install custom root certificate, so VPN server can MITM secure connections in order to strip and block ads. It's certainly easier to setup.
The corporate board game and the gold rush
I have an iPhone 3G in the drawer, as an emergency phone.

The amount of apps, that this phone can download from App Store, whether running iOS 3 or 4, is exactly zero (yes, even those that were available in the past, cannot be downloaded).

My brother has for exact the same purpose the original HTC G1, running Android 1.6. That phone can download every single app from the Play Store, that was made available when the phone was supported.
A serious fragmentation on iOS9?
China Capital Outflows Hit Record in August on Yuan Weakness
Don't worry, smart TVs will bring internet levels of reliability to your television! /sarcasm

I'm one of a dwindling cohort of people watching TV using Windows Media Center as a PVR. I switched to it after a succession of set-top-boxes from BT were sufficiently bad (slow UI, crashy, locked down) and have been fairly happy with it. What I really want is something like a Chromecast or Apple TV with a DVB-T input and eSATA, but for some reason nobody making things that plug into the TV remembers the TV input.

(Does America even have DVB-T?)
I totally agree with your 2 point. I always turn off turbolink too when I start a new rails project!
Keybase
[ my public key: https://keybase.io/proxymoron; my proof: https://keybase.io/proxymoron/sigs/7j0BsKxgI6vFGa1sIhViY5RVXSkCKjiVdjLhwEqaeW0 ]
You expect people to go out of their way to support ad blockers???
A few thoughts - there are people that cheat on the "free range" label. Sometimes the free range chickens if done improperly can live in worse conditions than caged. And industrial farms have really got good at safety. That doesn't mean don't buy. It means research so that you are not ripped off.

My opinion is follow the flavor - absolutely anecdotal evidence - but the deeper and more flavorful an animal based product is - the better living conditions the animal had. The tastiest eggs I have eaten were the ones which I have stolen right under the hens in small family farms.
Google Said to Be Under U.S. Antitrust Scrutiny Over Android
Red Herring Award Won, Should I Be Happy?
My Startup NepFlights.com has won the 2015 Red Herring Top 100 Asia competition with out going there for presentation. I heard lots about it's scam. Now Should i proudly say i am top 100 asian startup?
Is that the male half? (Anyone got a link to the actual survey data?)
Possibly.

If we do we will also see it to be equally as futile as trying to stop torrenters.
Well, it looks pretty, like most Apple products. The proof will be in the pudding when artists and labels use it, I guess.
I really want to like Swift. But so much of the language feels like it was tacked on in an attempt to check off of all the admirable features of many great languages. On the surface, this is not inherently bad. But when you dig deeper into the API organization and consider the ideal implementation for many things, like functional programming, you see that the effort was often a bit shallow. For example, functional programming that copies an entire data structure every time you make a minor change or append is a real waste of the power of that paradigm. Or placing stateful actions into the same API set as FP expressions makes little semantic sense and discourages any sense of thoughtful structure to the different paradigms. When/if Swift is meaningfully open sourced and when/if the world at large improves on these things, perhaps the future of the language has promise.
Front-End List – Find your best front-end toolkits in one place
PEBKAC in your case?
Hi HN!

My name is Bhakti and I'm the maker of Front-End List. Front-End List is basically a curated list of toolkits, frameworks, & resources for front-end developer/designer. You can find the best tool, frameworks, or resources, even a website to learn front-end development.

In the future, I want to add more lists and categories. I also think to create a rating system that rate by the community who use the front-end tools, and the top tools will show up in the top.

If you have a suggestion or feedback, feel free to let me know. :)

PS: you can also find this product at Product Hunt http://www.producthunt.com/tech/front-end-list
Wow, At least that is a start, I have been shouting and even parking for an answer as to why some of the Apps are huge. May be next time i should ask that on Reddit to finally get an response.

To be honest performance wise Facebook app is great. Butter smooth, but there is no reason a 20MB App cant be butter smooth either. Feedly App, is only 18MB.

And it seems large app isn't just Facebook, twitter is 60MB. QQ is 130MB, or We Chat, etc..... Many apps seems to be be way bloated.

So are we implying all these apps are over engineered?
Sketch App – It's all about U and I
Front-end developer wanted in London
Dayum, was hoping to find a load of useful info about my G+ activity but it's only for web analytics. My hopes and dreams have been dashed once again.
Concerning his claims about CAP and that their cluster is neither C nor A, because of P, while Percona claims it is CA,

some days ago a paper was linked here

"A Critique of the CAP Theorem" - http://arxiv.org/abs/1509.05393

which I found very englighting about the P in CAP.
I took part in the last round of the Good Judgement Project, and finished top 20. I also work in the field (although around more specific incident forecasting than the GJP worked in).

I think the points made in the book (and on the GJP blog[1]) are useful. The idea of trying to put probabilities around your assumptions is pretty useful for example.

The other lesson I learnt was that predicting things to stay the same is generally a safe bet. Often the challenge is working out which side of a prediction require less things to change.

If you are interested in the details, [2] is a pretty good overview.

[1] http://goodjudgment.com/gjp/

[2] http://www.nesta.org.uk/sites/default/files/1502_working_pap...
10 days? Fuck.

I get 24 days at my current job (c++ developer) and I don't think it's enough.

There are managers and directors here that get upwards of 40 days per year.
It's easy to say bring the design "to local workshop to cut", they are available in US/CA/Europe, but finding one asia or africa, or even smaller european city is hard if not impossible.
Arguably, the FFI gives easier access to stuff (TM) than Perl would allow. C would be easier if the aim was clear and you can just write the code down (well, string handling is probably easier in Lua, and there's the memory handling with GC). When the way there is what drives you instead, Lua(JIT) is nice. Sprinkle in some print here and there, try this and that without compiling stuff (though that is the smallest gain, I think)...

tonumber() is LuaJITs cast for pointers to integers. There are some arguments for it to stay.
Now let's apply the same result to demographics: Suppose there was a small clan in the year zero and their culture and technology allowed their population to grow at an average annual rate of 2%. Then the earth would be overpopulated long ago.

Suddenly many of the bad things we are trying so hard to prevent seems not so bad anymore: disease, war, hunger and restrictions on immigration.
Sorry if that wasn't obvious. I usually try to make it clear what the problem was. In this case the offending comment was both uncivil ("Get over yourself, kid.") and unsubstantive ("PC masterrace, amirite guise? Hurrr"). Uncivil, of course, is the worse of the two.

If you or anyone wants to read flagged comments or comments killed for any reason (other than the author deleting them), you can set 'showdead' to 'yes' in your profile.
Why is that the headline when the article contains the much more worrying

"And 20% of those surveyed said women often said “no” to sexual activity when they meant “yes”, and 18% agreed if a woman was raped while affected by alcohol or drugs she was partly responsible."
I second the idea of using SElinux to secure docker because most people really are not able to fully deal with the complexity of SElinux. If they would understand security they wouldn't be jumping onto the docker hype bandwagon in the first place.

To paraphrase Theo de Raadt:

‟You are absolutely deluded, if not stupid, if you think that a worldwide collection of software engineers who can’t write operating systems or applications without security holes, can then turn around and suddenly write virtualization layers without security holes.”

[1] http://blog.valbonne-consulting.com/2015/04/14/as-a-goat-im-...
I didn't use rails since turbolinks appeared, but I really like the idea on paper. Why do you turn it off?
Please, you already submitted this yesterday:

https://news.ycombinator.com/item?id=10264631
Show HN: Poste.io – free modern Docker email server with web administration
You have to limit what are you going to learn, otherwise you will have no time to build anything. So you have to pick carefully.

Generally, the open technologies were proved to be useful in long-term, and even when they change, they change evolutionary. You don't have big bumps and complete u-turns in your progress.

There is also no-one, who suddenly decides that the technology you were invested into is suddenly not profitable for them and ceases development. The open source technologies die only then, when they are not useful to anyone.

So basically, strong preference for open technologies is a pragmatic risk mitigation and investment protection.
Sorry I'm late to this; at that point, EFF didn't even have lawyers on staff whold could be there. Instead it was formed to financially fund the Steve Jackson suit against the Secret Service -- that's the reason why it's has "foundation" in the name.

http://www.sjgames.com/SS/

"The EFF provided the financial backing that made it possible for SJ Games and four Illuminati users to file suit against the Secret Service."
Ask HN: What do I need to learn to manage a VPS?
I'm on a shared hosting with 20 websites and respective emails.

I'd like to be able to go the VPS route and manage it without a control panel.

I know you need to access it through Putty, but I don't know what commands I need to move all my websites and do things like the pros.
If only there was a single native app, preferably pre-installed on the phone, that was specifically designed to download content from publishers around the world and render it dynamically on a range of device screen sizes. It could be publisher neutral and allow bookmarking, and maybe let you have multiple pages open at a time. Nah, it'd never catch on. Native apps for publishing are dead ;)
Isn't it just lossy compression related artifacts from the glow ?
SWINE+FEVER+SPREADS+THRU+UK+GOVERNMENT+-+YouTube