skysight-inc/HackerNews huggingface dataset:
WebRTC let's you build server less web apps.
When I was a kid, all I wanted to do was program games. If I had been made to program anything else, I probably would have lost interest. A twelve year old doesn't need to know OOP or best practices, a twelve year old needs to have fun
I'm not sure that trying to keep everything in one file is necessarily a great argument. Optimizing for not having to open files doesn't seem like the best thing to optimize for. Even many of the react+inline styles examples include putting variables and other patterns into external files. Language (i18n) strings could be another external dependency. Data model, controllers, and routing are other good examples. (Rarely (if ever) have I seen an MVC framework that doesn't separate things into separate files.)
Software security people routinely make contact with affected vendors through Twitter, so you're going to have a hard time with the whole field.
That usually means the community isn't interested. Just because you believe it should be on the front page is not a justification for posting duplicates :)
MIT itself has incredible internet, though. And a whole class A subnet.
The parsing of C-style comments is a sort of standard example to demonstrate some additional features you have available when your lexer-generator is implemented using regular expression derivatives.

See section 5 of "Regular Expression Derivatives, Re-examined" for details: http://www.mpi-sws.org/~turon/re-deriv.pdf
Not any other contacts I talk to regularly. If I do go into the search device they come up, but I know my contacts and I'll see them in Phone or Message right away anyways.

And no, it does not take me 30 seconds to search for apps. I only have 3 pages of apps, so it takes at most 4 taps. Most of the apps I use regularly are on one of my two main pages though, so I barely even need that many.

Maybe it's saying something that you need 30 seconds to find apps on your phone.
Hah, wow, interesting timing. I just finished reading a decent book on Kindle about Solar Impulse: http://www.amazon.com/gp/aw/d/B00Q56MYUC

It was a bummer Solar Impulse wasn't able to do the non-stop pacific ocean leg, but still, it's pretty amazing. I'm surprised that this just hasn't picked up more news coverage. :( It's completely historic..
That's called the internet isn't it?! Mobile browser apps.
Freedom of the Press includes freedom from government intrusion, freedom from intimidation, and freedom from prosecution for factual reporting.

In the least, this is intimidation and intrusion.
You might be right about Groovy. I've seen JRuby used pretty heavily in enterprise environments, though (usually to integrate Rails with an existing Java-based system).
When digg stole from reddit it was different, when reddit stole from slashdot it was different... People are more likely to move to something new and different, as strange as that sounds.
ProcessWire 2.6.7 core updates and more
> PG always came across to me as unusually thoughtful and smart and friendly (let's be honest he's a great guy)

He's also amazing and incredible and handsome and witty and strong and I love him oh so much.
Several cities in northern Utah did it as well [0]. I'm not aware of any legal issues they've had; the main issues they've had have been financial issues and rollout delays.

With each new community that succeeds, that's one more example we can point to in our own communities.

[0] http://www.utopianet.org/faq/
This is great. I guess that is indeed a con of the CF approach!
Location: Mexico

Remote: Yes

Willing to relocate: Yes

Technologies: C++, Python, Obj-C, Swift, C#, Bash, Qt, Unity3D, Django, Vagrant, PostgreSQL, Git

Resume: https://www.dropbox.com/s/q51rieu3ei5zg15/Resume.pdf?dl=0

Email: ivoreroman at google mail
That would go against their "setup only takes five minutes!" mantra. It's an interesting idea, though.
This smells like a shill piece by a Google developer advocate [1] with a horse in the race [2].

The key benefit of React is an extremely low cognitive load. There are only three simple concepts to grok (props, state and lifecycle) to get productive. The code is very easy to reason about (components are essentially pure functions of props and state) and debugging is much simpler than with vanilla JS or jQuery on a project of any meaningful size.

With respect to performance, React shines when it comes to DOM mutations (e.g. removing a div from DOM, creating a new div, inserting new div into the DOM) which is what you generally encounter with the real-world load. Here is a demo illustrating such load [3]. Benchmark offered by OP is amazingly contrived (actually it feels designed to show React in a bad light and lack of full source code is very telling). I struggle to think of a real-world scenario of append-only page with 1000+ images in the DOM, there is simply no valid reason to do that. React in turn makes it really easy and fast to implement infinite scrolling (similar to UITableView) and there are a couple of good open source components that address that.

[1] See the bottom of https://aerotwist.com/

[2] https://aerotwist.com/blog/polymer-for-the-performance-obses...

[3] https://www.youtube.com/watch?v=1OeXsL5mr4g
Oh, serde is interesting. I was specifically thinking about compile-time reflection but apparently rust's macros are more powerful than I realized. I'm inspired to look into this more, thanks!
Yup. And it's simpler even - when China hacks in to Google, we get very, very upset. We puff our chests and Washington goes into a fury with Senators posturing all over the place.

Are you kidding me? It's almost comical, the straight face with which they act hurt that a foreign entity is spying on us and intruding in our networks.
Dealbreaker? This just means you need to play with let bindings a little bit until they improve it at some point. (Same goes for SEME regions.)
Indeed, imagine if municipalities had needed to increase their sewage "bandwidth" per customer tenfold over the last decade.
I assumed that in memory they had something structurally resembling a relational database but they might not. It would never even occur to me to not use a database for something like this.
up and coming artist Fame reek in the studio
Of course, you are right. I seem to have carried the belief that freeing a null pointer was as bad as freeing one twice. And now I know.

Seems to be a common misconception [1], thanks for pointing out, that makes the GGP code correct in all counts and my switch redundant.

[1] https://news.ycombinator.com/item?id=8844031
I used to run a PC Repair shop.

Most people want something for nothing. Will write bad checks and do chargebacks on their credit card to get free PCs and free repairs. Then we get forced to cash only, and then they go to the Big Box stores that are open Sundays and take in store credit cards.

I got a lot of friends and family members running an old Pentium 4 with XP and some upgraded to Windows 7 somehow. From time to time I fix their systems for free or a low cost.

PC Repair Shop had a deal, we'd install Linux for free but tech support was extra. A few took us up on the offer and had a good time using FOSS alternatives. We even set up Linux with SAMBA on Windows PC networks to share files and printers. But there was no money in it because 99% of the people and businesses wanted Windows.

Geeksquad refuses to support old Windows versions, so I get people with Windows 98 etc from time to time. You'd be amazed at the number of people out there still running old Windows and Office versions. Some even use old versions of Wordperfect. My wife volunteers and sometimes someone emails her a Wordperfect file and I use Libreoffice to open them.

I found in doing charity work, that a lot of charities still use old hardware and software that is no longer supported. Some of the old stuff is donated to third world nations where they still use it instead of recycling the materials for scrap.
Reddit itself is opensource and much less of a disaster of a codebase than voat.
It's not at all my impression of the NY Times, and I read it often. Certainly they print some things supporting the 'war machine' and sometimes print unofficial government statements without challenging them enough (in the same article), but I would bet they also print plenty of articles that challenge the 'war machine', I would bet as much or more than any other major publication.

The articles they printed by Judith Miller before the Iraq War are unforgivable, however.
> Banks are legally allowed to issue credit up to a specified multiple of their reserves, so, extending your analogy above, imagine an additional eight people behind you requesting to overdraft their account by $100. As a result of your $100 deposit, the bank is now legally authorized to approve each of those requests for a total of $900 in credit that was created out of nowhere.

That's not exactly how fractional reserve banking works. Banks can lend out a multiple of the reserves they hold, but they can't lend out more than their total cash on hand. If $100 was all our hypothetical bank contained, then it could only lend out $90 of it, not $900.

The exact same thing could be done with Bitcoin. If you put it in a bank, they could lend this out to another party (and use future deposits to pay you back if you tried to withdraw your BTC).
I don't think bonds are at 5%. They can also be for many years.
In the way I asked here, http://stackoverflow.com/questions/29109967/why-dont-many-co...

I am not very familiar with rust, is what I was describing currently possible?
Well, it seems to have arrived on the front page now, so it might also be a question of timing...
Maybe the coolness of the evaporating water is bringing your blood to the surface?
`Animal::talk(self)` is shorthand for `<Self as Animal>::talk(self)` - i.e. it calls the overridden method. If you want to reuse the supertrait method, you have to implement it as a generic method outside of the trait, and call it from the default implementation:

pub fn super_talk<T:Animal>(this: &T) {
println!("{} says {}", this.name(), this.noise());
}
trait Animal {
//...
fn talk(&self) {
super_talk(self)
}
}
This is especially problematic for the market I work in - small shop, vertical market. Modern, fully-supported html5 and javascript means I can build cross-platform webapps that do really interesting stuff on desktops and mobile devices. Since I'm part of a team of two developing most of the application framework, I'm really not interested in building native apps for iOS and Android to go along with the desktop app- my time would be much better spent making sure the web app works well on all mobile platforms.

I've already run into this- I have to either polyfill or avoid using modern javascript APIs (localStorage, web workers) because there's absolutely no iOS option. The nature of my vertical market is such that I could get away with asking my users to run chrome or ff if one works better than the other, but I'm basically stuck with iOS / safari as the lowest common denominator, and have no real options to improve, other than just pulling support for iOS entirely (something I'm seriously considering).
This could easily be added as a lint to the codebase.
But... reddit stole from digg.

I'm not sure if Digg ever stole from Reddit since I think Digg came first in popularity for a long time.
There is no such thing as `Animal::talk`. It does not exist. `Animal::talk` is purely shorthand for `<_ as Animal>::talk`, meaning that it is a specific type’s implementation of the `talk` method. In the case of `Animal::talk(dog)` where `dog` is of type `&Dog`, the `_` can be inferred to be `Dog`, and so `Animal::talk(dog)` is equivalent to `Dog::talk(dog)` and `<Dog as Animal>::talk(dog)`.

The default implementation, if overridden, does not exist for the given type.
Hey everyone, thanks a ton for your comments and interest. Now that we’ve had a chance to get some feedback, we’ll be closing up the site while we make improvements and get some of the things that you suggested in to the product. Please feel free to email admin@ironclad.ai if you’d like to get in touch. We really appreciate your feedback!
What startups have you seen opensource too much?
Hmm. I still don't get it. You mean build another project entirely, but base it on a web browser using WebRTC?
JavaScript Inheritance Visualization
Agreed. It's basically the well known "vocal minority" idea just applied to graph theory. I did not learn anything new from reading it.
Because it is treating all of these intended side-effects of using a shell as though they are security vulnerabilities.

The problem is that there is a way for untrusted user input to ever touch a shell in the first place.

Seriously, I challenge you to find a language reference that doesn't decry the use of their version of system(3)---because all that does is run the given command under the user's shell.
A collection of awesome Ruby web servers – single/multi-threaded,multiplexed,etc
> It's one of the most primitive instructions, why shouldn't it be available when needed?

I see what you're saying, though I don't find this a compelling argument. By this logic, why not allow direct register access in all languages?

Just because something is a primitive operation doesn't mean you want to include it, especially not if it's more difficult to enforce guarantees your language would like to make about valid programs.
Which of the private subreddits do you suggest they post it to :)?
I think some progress will be seen in libraries first, namely things like tendril.

https://github.com/servo/tendril
"...not assassinations."

Well, maybe this is splitting hairs, but...

https://firstlook.org/theintercept/2014/02/10/the-nsas-secre...
Your entire post is FUD to such an extent that you seem like a paid shill. Poitras is an independent filmmaker and Greenwald was denounced for years by NYT, WAPO and other establishment journalists as "not a real journalist." And of course had to escape the US and his boyfriend illegally detained and searched in the UK.

NYT is the #1 source of the government propaganda that enabled the invasion of Iraq and the genocide of the Iraqi people by American forces, and a decade of rape and torture of their people.
"Crossing the borders" being the operative phrase there. You have fewer rights at border crossings than living your life within the confines of the border, unfortunately. This says nothing about the quality of US media (whatever the state of said quality is).
>What shocks Germans is this: how very little their own government acts against the threat to our freedom created by our 'friends' and 'partners'.

That does not shock me at all. It makes me sad, that these days, there is simply no time for justice. There are so many complex scandals the average citizen cannot understand coming up after each other, by the time a scandal is investigated it is not interesting any more. So the public has largely just given up caring. There is some outrage but overall the sentiment seems to be: "Well, that's what politicians do."

Merkel hired those genius consultants, who taught her how to act, dress and hold her hands so that she is immune to public outcry. We know she is brilliant but she comes across as being just as stupid as we are but totally upright. She would never enrich herself or get caught being openly corrupt. She is just to boring for that, which is exactly what the German people want their leader to be. Every other politician would have lost his job so many times by now, but that woman can get away with everything. She is made out of teflon, these scandals just bounce of of her. And it is not, that we do not notices this: She famously destroyed all her political enemies a few years ago - after all the number two is 72 years old now. It makes me sad, that it works nevertheless.

The biggest political scandal in recent years was the fall of president Wulff [0]. There have been minor but simple accusations that the public could understand and was outrageous about. No complex monetary system, no difficult cold-war conflict, no highly technical espionage stuff. He was corrupt, but on a scale that the average person is corrupt. Take a small present here and there, take photos with people you should not take photos with. You cannot get away with something simple like that, especially when you handle the crisis badly.

The logical conclusion is, that we get borderline psychopaths and/or actors as politicians, who manage to build up an image of total boringness. They cannot be educated in any field, because their field actually is managing their own image. It makes me sad, that you are more likely to stay in office when you seem boring and stupid instead of intelligent and innovative. We ended up with a Kafkaesque bureaucratic system where everybody just maintains the status quo and tries to separate him- or herself as much from actual politics as possible. This of course leaves the actual decisionmaking to institutions like the intelligence agencies or big corporations and is how we end up with stuff like this.

[0]: https://en.wikipedia.org/wiki/Causa_Wulff
Greek banks to raid deposits by 30% in “bail-in” to avert collapse
Fun fact. There are still a few pigeon keepers in Brooklyn. It's an entire subculture, complete with political intrigue. They're known to "kidnap" each other's birds and hold them ransom. Even funnier is that there are a few falconers that keep their birds just to screw with the pigeon keepers.
"My decision to come back to Britain was prompted by banal, personal factors that have nothing to do with current events; if my aim was to escape aggressive policing and racial disadvantage, I would not be heading to Hackney."

Not sure what we're talking about here then. The whole article sounds like a post factum rationalization. Lots of feelings with not so many arguments.
Man Arrested in Fatal Shooting of Woman at SF Pier 14 Had Been Deported 5 Times
I was referencing at compile time, yes. How does Dagger generate the code? Does it run an executable first?

Yes, in C++ there is a similar library called ROOT which generates c++ files called "dictionaries" storing class information by running an executable over the files. I don't see (or understand) the downsides in providing the functionality for performing those steps at compile time though. The developers of ROOT are currently pushing for it to be included in C++17 (or beyond).
Always Be Coding.
Exactly. Stories posted on HN/Reddit are clearly influenced by timing and title.
> Does anything similar to Reddit but with a model more like Wordpress exist? Perhaps there's interest in offering independently hosted sub-communities that can be centrally linked to for discoverability? Could it provide subdomains such as programming.newreddit.com which pointed to an externally hosted community?

I was just talking to a friend about setting this up.

1. Take the reddit codebase, strip off all the subreddit stuff so you've got one "subreddit" per site, and set up a WordPress.com-like site to allow people launch instances of that in a cloud somewhere, with a profit margin to you;

2. (optional) create an "aggregation" API for the instances and an "aggregator" site+app that lets people sign-in to subscribe to conformant sites (y'know, like an RSS reader), then spits out a reddit-front-page-like index. All the links and votes and such are API calls back to the originating servers; the aggregator is just a read-only consumer of the sites.
Is anyone reading this?
Animals Playing on Computers
Re Dropbox: AFAIK, most of the magic happens in the client. The way they seamlessly integrate with different OSes seemingly as an innocuous folder that blends in with rest of the other folders is genius.

See: https://www.quora.com/Many-articles-about-Drew-Houston-say-t... and http://allthingsd.com/20120815/inside-dropboxs-reverse-engin...
Put that coffee down.
Just tried in Nightly and looks like the bug is fixed?
How so? Der Spiegel didn't even know they were being spied on (that is, assuming they were). No one stepped in to prosecute them, no one threatened them, and no one interfered with their ability to publish any story. If anything, that fact that nothing has come of this since the leaker was discovered back in 2011 sends a clear signal that the German press can publish any story it likes and their government won't lift a finger to interfere.
Basically, we shouldn't issue standards or RFCs without test vectors and tests that are meaningful, and updated if bugs are found in them (or the RFC).

Expecting someone to (say) read the HTTP spec and write a compliant implementation without tests that everyone else is using as well is lunacy, and leads to the nightmare we have today.

Standards without engineering to back them up are bad.

Side effect: Committees that produce "ivory tower" standards that are unimplementable will find that their work is ignored.

Another side effect: Standards will get simpler, because over-complex nonsense will be obvious once the committee gets down to making an exemplar actually work.

Not that it will ever happen...

[I helped write an HTTP proxy once. The compliant part took a couple weeks; making it work with everyone else's crappy HTTP implementation was a months-long nightmare on rollerskates]
Just because you believe it should be on the front page is not a justification for posting duplicates

I think it is, actually. I've seen stories take three or four tries to hit the front page -- at which point they get quite a lot of attention; there's no doubt they were HN material.

I think all frequent HN readers should contribute some time curating new stories -- don't spend all your time on the front page. If more people did this, maybe good stories wouldn't need multiple postings so often -- making the front page would be less accidental.
Tweet Like Larry King with Ruby and Twilio
Ask HN: Best constructive criticism
What has been the best constructive criticism you've received - professional or personal - and how did you handle it?
It works, eventually...
Whether allied or not, foreign intelligence agencies spying on German citizens in Germany are unlawful and occasional "help" in the form of informal tips should not make them above the law. NSA should not get preferential treatment over CIA in EU courts and US agencies in general should not get preferential treatment over say China.
Bombarding U.S. policymakers with articles about Chinese trains is the weapon. Any money wasted on trains is money not spent on building weapons that might work. Train articles are a very effective weapon, California will go bankrupt building their choo-choo and they will need to borrow money from China to build it. Win-win.
> That would catch all the people who `curl | less` first and then run it again piped to bash

Are many people security-conscious enough to do the former but security-unconscious enough to do the latter? I would assume that one would do `curl http://example.com > evilscript; vim evilscript` and then `bash evilscript` if necessary.
Browser-based, serverless apps are what Ethereum is all about. You run a daemon on your computer that maintains a blockchain, messaging system (Whisper), and content storage system (Swarm). That daemon exposes an RPC interface so local processes can get data from it. The most common result is an HTML, CSS, and Javascript bundle that is a full-fledged application without a server, because its backend is peer-to-peer.

Web apps aren't a requirement—you could build a traditional desktop app that talks to the Ethereum daemon as well. But using the application runtime that everyone already has installed lowers the barrier to entry, so it's what most successful projects will choose.