skysight-inc/HackerNews huggingface dataset:
I've been using Rails for a decade now, across many jobs, and one thing I've experienced fairly consistently is the worst Ruby web apps I have ever dealt with are the ones that weren't written in Rails.

I've both seen and spent a lot of time rewriting overgrown Sinatra monstrosities with assorted non-AR ORMs. These apps were generally riddled with XSS since they didn't handle escaping correctly, often had unmaintainable code that sometimes was thousands of lines long crammed into a single file, and lacking any sort of basic structuring principles mixed parameter handling with business logic all over the place.

I've seen several attempts to "build a better Rails" that's "more OO", but even frameworks that solve the problems I've just described in the previous paragraph have one huge drawback: Rails is a lingua franca for web development in Ruby, and whatever incremental gains you get from having a better framework are heavily outweighed by the costs of making people learn a new framework-per-project, the lack of features and documentation, and the lack of the library ecosystem that surrounds Rails.

At points I've tried to keep three ORMs/DB libraries in my head at a time: AR, DataMapper, and Sequel, which just left me wishing I was dealing with AR (the devil you know...)

ORMs need massive feature sets to jam the proverbial square peg of relational databases through the round hole of objects, and AR is the only one I've used that's both expressive enough to cover all the cases I'm interested in and mature enough to even have a story around database concurrency, even if most Rails developers are getting database concurrency wrong with AR (e.g. http://www.bailis.org/papers/feral-sigmod2015.pdf ) At least AR has any story around things like optimistic and pessimistic locking and lets you build apps where you can read an object and persist your changes without silently clobbering another requests's database writes with your locally cached copy of stale data.

tl;dr: if you want to do web development but dislike Rails, your best bet is probably to switch to a different programming language than Ruby.
good lord that's a lot of megabytes. i hadn't noticed this bloat until i downgraded to a very inexpensive android phone. it functions fundamentally perfectly except for the 8 gigs of storage. 31 megs is a massive amount of storage!
Not surprising. And I doubt other country can do the same. Several factors makes China a unique case:
1. Massive domestic market, China along can have its own internet ecosystem, which is the fundamental reason why GFW can endure.

2.Conformist culture due to its Confucian tradition

3.Communist government has firm grasp of its power and stay vigilant to any sign or power that acts against it.
ISSE: An Interactive Sound Source Separation Editor
CoreOS actually makes this significantly better with their Cloud Config capabilities. With CoreOS and Docker, we've successfully deployed this at a number of companies.

With that said, there has been plenty of support to be handled, and we need to get better at doing multi-node deploys, but we're learning. :)
> Help me to understand.

Human nature, maybe?

People seem to like to form groups based on some random similarity (supporting the same football team, driving the same car model, believing in the same religion, being of the same race, etc..) and start fighting the opposite groups.

My favorite example is the following trivia from the "Planet of the Apes" movie:

"During breaks in filming, actors made up as different ape species tended to hang out together, gorillas with gorillas, orangutans with orangutans, chimps with chimps. It wasn't required, it just naturally happened."
In case you didn't got the memo, GDC and XTest are being re-written in Swift, it will eventually happen to other frameworks when it makes business sense to do so.

Let's see what else gets announced at WWDC 2016 and how many talks do show Objective-C code.
Fair enough, I just wish those same people would spend more of their time building the next big thing instead of telling others how they use the current big thing.
It's not a free market industry. To follow your exemple , a tomato owner cannot license you tomatoes and come back and take away your tomato after three days, nor make a deal with you to force your user to eat your tomato only in some settings and not other, otherwise they violate the DMCA.

TV and Movie owners already have copyright laws and DMCA laws giving them legal control on who gets their content and how it is used. The situation with Netflix is that now they can remove their past supply from the market to limit competition from their older titles. New content won't be better or more sought after than the older, it will just be the only one conveniently available. And as we move to more and more digital releases, there might not be any alternative way left to get the older content anymore.

You are right that this will pay salaries for industry people, but I agree with the parent that it's unfortunate.
Resources I Love
I think you're wrongly focusing on the fans instead of the bands - you are Kickstarter for vinyl.

Here are some potential competitors whose service you could beat or streamline:

* http://www.mobineko.com/

* https://www.onecutvinyl.com/

* http://www.palominorecordspressing.com/

* http://www.urpressing.com/

Direct your homepage messaging towards artists: "Crowdfund your band's vinyl release. You upload your songs and artwork and tell your fans. We take their orders and ship them the finished product."

Drop the messaging to listeners. Once you become known for vinyl pressing and fulfilment, you can focus on getting fans to suggest you to bands.
100 people, 4 hours, 13 million dollars. Set in the "mystical" and "lcd bright" Japan. Sounds like the next George Clooney movie. Ocean's 100? :)
Let me explain. You are looking from the outside at a community which has a lot of issues around languages, tooling and frameworks for complex historical and technical reasons. E.g. Things that developed over long periods of time, like desktop apps, had to be rebuilt in the browser in a decade. Ask any desktop application developer how fun they think client side web dev is in comparison. And you are then assuming that the difficulties of this community are because they are immature and not as wise as you. Hope that clarifies things.
More interesting would be an analysis to determine the reason for the trending bloat.
>Hope that clarifies things

No, not really, and I don't think I assumed that at all. I think it is objectively true that debating the merits of e.g. Python v Ruby for years on end is an utter waste of time. This is not engineering, it's vanity. I can get behind the occasional spirited debate. Of course there are pros and cons to every tool, and we should know what those are, but at the end of the day that's all they are; tools. They're middle men in the problem solving process, not the end result.

BTW, your current web protocols and frameworks are going to change again, just like your decrepit old desktop technologies did. Be prepared to denounce your current toolset and fervently embrace another in the near future.
dont get me wrong, i will never go against any kind of improvement or expansion of basic education. However, seeing how i have invested quite a lot of time and money into my computer science degree (finishing up in about a year), i am a little concerned that soon programming is going be devalued as a profession because of programs like these. is that wrong? also they said that they have been doing this in isreal since 2000, anybody know how that turned out?
Padrino – the elegant ruby web framework, based on Sinatra
Gotta be pedantic on this one...

Demand wouldn't decrease because of more developers being on the market. Supply would increase. Just because any one developer might be individually in less demand doesn't mean that demand for developers has decreased. Yes, this would still depress salaries for developers.

Having said that, there is no fixed amount demand for developers. If development resources are a bottleneck for development projects moving forward, there being more developers may actually increase demand. This comes about as projects that otherwise wouldn't be started do get started and may, themselves, not be able to be fully staffed even with the new blood. I don't know that this would actually happen... but then again I suspect the Japanese don't really know what will happen either.

You can't just look at the two values of current demand and current supply and extrapolate that into a vision of the future... there are many, many more variables than that.
What is the average number of hours you spend on a given project? Honestly I think part of the reliance and importance placed on frameworks is that a lot of web dev (especially contract/freelance work) is still relatively small projects, stuff between 10-100 hours of work.

So you're almost never spending 99% of your time solving unsolved, hard problems. You're building custom solutions to relatively common but special-snowflake problems. And in that context, you need a framework because in effect you're building a 1000 hour project but only spending 40 hours doing some configuration, customization and polish on top of a framework. Could you spend 1000 hours and build something from scratch and forget a framework? Sure, but no one wants to pay for that. So the framework you use is the giant's shoulders you stand on.

Rails didn't beat PHP and Java for webdev because hipsters think it's cool. It's because developers delivered projects better and faster with Rails, because it lets you spend less time re-solving the same solved problems which still comprise a lot of modern web development.
FTFY: "I don't understand why those who spend most of their time __using tools__ focus so much on the tools they use to do it."

It should be more self-evident now.

When there are many tools which meet the minimum requirements for doing a job, then the focus becomes not on which tool can do the job, but which tool you feel does the job the best (or you enjoy using). Carpenters argue about the best saws/drills, artists argue about the best brushes/paints, musicians argue about the best instrument maker.

You're right, customers don't care about what tool was used to build something, but they care that you can do your job well and good tools help you do that.
Rails won the past. There's a lot of legacy in it that's impractical to replace, which guarantees a sizable community, which makes it viable for new projects, if not always ideal, for quite some time.

It's become what J2EE was when Rails was new. Decades from now, even if it's completely fallen out of favor for new development, there'll be people getting paid handsomely to maintain legacy Rails apps. It's won an important spot in history.

But technology moves on. And just as the Java stack dominant when Rails emerged has lost ground to Rails, other non-Java stacks, and even newer Java stacks, is wire likely Rails will lose ground to other Ruby and non-Ruby stacks.
ECMAScript 6 Proper Tail Calls in WebKit
I can't get that to compile, is that semi colon wayward?

structs.c:5:39: error: unexpected ';' before '}'

If I remove that, I can't even get tis-interpreter to complain, strongly suggesting this is fine.
The last I heard they were giving bridge addresses to friends within the country that were spreading them through their social networks (since china had blocked all the bridge addresses they were giving out online). That along with the obfuscation stuff was working.

China's deep packet inspection was pretty sophisticated though and getting worse (usually ramping up during political events). It'd be interesting to see an update, but I haven't seen a talk from Roger Dingledine or Jacob Appelbaum about it in a while.
I disagree as well! At best, it is an opinion piece, and the arguments mentioned makes lot of sense. Eg, Apple's strategy of pushing refurbished phones makes lot of sense to apple given the numbers mentioned. But it comes across as insensitive to vocal commentators in india.

"And if all this isn’t enough, Cook has another situation on hand. Apple wants to sell refurbished phones because it has a carefully thought through strategy. But the Indian government won’t let it do that."

It seems the article has lots of insights, but wether they are correct is another matter.
THIEL: "one other way of interpreting the AI boom is that on the surface, it is about extreme optimism about the potentialities of computer technology, and the beneath the surface, it is simultaneously, perhaps, a great deal of pessimism around the possibilities in other technologies that will be developed by humans, and deep pessimism about the possibility of what humans can do."

This is what I think about whenever I hear folks scaremongering about the "singularity". In my opinion these beliefs reflect a kind of spiritual emptiness; a yearning for answers that only God can fulfill.
One Man's Fight for Free Software (1989)
Fantasy Football Genetic Algorithm in Crystal
Yeah, really. It's relatively well known among free software enthusiasts. The trouble is, what do you do about it?
I would argue that even without the Great Firewall, China starts isolated by the fact that its language isn't really shared by anybody else.
I agree, cover letters are essential. If you have experience only writing Java web APIs, with no demonstration of competence with implemented anything except that exact tech stack, you'd better explain why you're applying for a position using a different tech stack and writing non-trivial client-side code (in addition to backend work).

Otherwise, the resume gets thrown in the "spam" bin.
Is there large scale government directed selective breeding in China?
> VPN Software is pretty simple

Can someone explain why VPNs are "simple"? What do they mean by simple?
was it an R32? I think the law has slightly laxed on them due to being 25yr now. i see R35's here in the bay area every now and then.
tis-interpreter does not detect strict aliasing violations yet.

An analysis for exactly that is being worked on, and it will warn on this example, but this is a minefield of ambiguous specification by the standard, compiler practices that seem to go beyond what the standard says in some cases, and existing programs that “work” and that no-one wants to read thousands of warnings about.
As an English teacher I'm seeing a lot of change in the new generation of teachers.

I teach high school student part time (so I can work on my side project), and the teachers over the age of 40ish have pretty terrible English(these are English teachers), but all of the newer ones have pretty good levels.

I have even been notified a few teachers are going to the US for a few weeks to get immersed in English as a sort of brush up.

The biggest issue I see so far is the lack of checking of foreign teachers, I work with a few whose work sheets for the students are riddled with spelling mistakes and bad grammar.

Edit: typo(haha sigh).
.NET is alive and well.

Enterprise only cares about Java and .NET as standard backend stacks, regardless of the technology of the day HN posts how everyone is doing Go and node.js.
> VPN software is simple

Can someone explain why VPN software is "simple"? I thought it encrypted your data so they cannot be inspected, plus if you tunnel over the HTTP/HTTPS ports how can VPN traffic be separated out from "regular" traffic?
This was a longer read but it was very interesting. Some time ago I stumbled upon an article analyzing the rationale behind conservative dislike of abortion, which argued that abortion allows a woman who engages in premarital sex to get out of the "punishment" of bearing a child out of wedlock. That seems to fit within the theory presented here.

Also a sidenote that the two stories about the different families reads like material for the first and second Bioshock games, respectively. Andrew Ryan being objectivism and triumph of the individual gone wrong, and Sophia Lamb representing socialism gone awry.
>What is the average number of hours you spend on a given project?

That's a fair point; my project plans are usually measured in years, not hours. Of course there is ongoing maintenance, but that's not where I spend most of my time.

I didn't mean to imply that tools aren't important, or that we shouldn't care. We absolutely should care, and I do as well. The difference is that I don't feel the need to spend copious amounts of time defending my tools, or debating their merits with other people who will never agree with me.

I evaluate them, use them, and move on. They are an integral part of my process, but not nearly as important as building something that solves real problems.

It's the same old issue of religion v enthusiasm, belief v fanaticism. That line gets crossed too often and it's just a waste. I think some lose sight of what's important.
View Info Summery About Amir Najam at Yatedo
From what I understand OpenVPN tunneled through stunnel works, but I haven't tried it myself.

Setting yourself up with your own private bridge might be another way to go.
Cool - just pointing this out since giving the advice to use TextEdit doesn't actually say 'in plain-text mode.' :)
>Wow, in 20 years Japan will be producing some amazing technology

Like more javascript frameworks?
Well they do for English - at least the companies that have the contracts do.
If that's a concern, invert it and create tables off of your object model. It's Ruby, that's trivial.
How to Cut Video and Merge Them Together| MacX Video Converter Pro
Memoize-Immutable: efficient memoizer for Redux and other immutable environments
> whose work sheets

Sorry, I couldn't resist.
I think it 's because of the number of young/unexperienced developers in the field. Those are the ones spending (wasting) a lot of time debating the relative merits of frameworks, languages, editors. More experienced people don't care as much.
As a 36 year old curmudgeon, I agree. I think the overabundance of framework/tool choices is resulting in decision paralysis. The C++ world doesn't (or at least it didn't) have this problem -- there's usually few standard ways to do something and it takes a only a few minutes to pick one. The rest of developer energies are spent on actual implementation.
> AR is the only one I've used that's both expressive enough to cover all the cases I'm interested in

Have you never worked on a system big enough to need a service layer?
I heard they have red berries in the woods
I am a guest in this country. Irrespective of what I believe is right or unalienable it is not my place to insert myself into their politics.
> sends out dhcp broadcasts, despite no dhcp code being on disk

Woah, that's not just sitting there but actually actively doing stuff while bypassing your kernel. This sounds a lot more scary even though I know nothing about this Lenovo dhcp thing, observing it just makes it a lot more real to me.

Do you have any more information on this?
Editorializing news can incline more for the good of the users. Until, the crux of the content is not removed.
Serkit Messenger with Private Chat Lock
Because to establish the tunnel, you need to send some "handshake" packets to the server. Those packets are not encrypted and can be easily identified and dropped.
> First, this is not undefined, so you are going to need to find another example :)

This example will do just fine, in fact. It is arguably not undefined, as you say. It is also silently miscompiled by both Clang and GCC.

https://godbolt.org/g/7Gb9S3

And there you have one of the problems with type-based aliasing optimizations: the people who write compilers have not read the standard and just make it up as they are going along. They have been acting like the six-year-old who pretends to be reading rules from the back of the box in a game of Monopoly.
I'm wondering if the higher rate also reflects a higher no-show risk.

I mean, you send the car there but cannot load it an cannot contact the client.

Does it work like loan classification? Higher risk get higher rates to compensate defaults/no-shows?
Trump's scorning of data will hurt the GOP
Yeah the conversation schools seem that way, I'm seeing more of a trend towards more classes and general communication though. There isn't much of a reason for those conversation schools to do better though, they rarely get called out(from what I've seen anyway).
I just got back from a few months in China. These services are definitely blocked through DPI. It's frustrating. It's also interesting what happens to your mind when you can't read what you'd like to, talk about what you'd like to, and revert the accepted status quo for everything.
Memory Ordering at Compile Time (2012)
How is that better than purely HTML/CSS attack (or even telling a person to use `curl blahblah | sh` command)?

This particular attack doesn't work when not using keyboard to copy (think select to copy (traditional X behavior) or using a context menu), it causes text to unselect after busy loop ends, causes fans in my laptop to start working (because of busy new Date loop), causes cursor to cease changing for a certain period of time, requires me to enable JavaScript, requires support for "copy" command (which isn't universal), and requires the user to press CTRL+C either way (otherwise the webpage won't be able to copy into a clipboard).

I guess you could paste an output after a certain time, but because of hijacking on Ctrl key, nothing can be copied before busy loop ends, and as a result, it doesn't prevent "pasting the command into Notepad" just to ensure it's safe - as either what previously was in pastebin or malicious command will be pasted.

https://xfix.github.io/mystery-zone/command.html (disclaimer: I made this page) doesn't have any of those problems (other than requiring the user to copy text in any way (CTRL+C, text selection, context menu, whatever odd interface do you have)), and it still can break vim (and for that matter, bash, zsh (including zsh with paste protection), fish, and emacs).
Haha I'm on a train and autocorrect is a bit of a bitch :-p

(That actually scares the crap out of me, missing something like that on something I give the students)
I highly recommend anyone (from about age 8+) get some Zometool construction toys, http://zometool.com https://www.google.com/search?tbm=isch&q=zometool

They’re super fun for modeling different kinds of geometrical shapes, and useful professional tools for mathematicians, physicists, chemists, architects, artists, ...
They do. Browsers only let you intercept and tweak existing clipboard events.
The 1989 incident is not secret here in China. Almost everyone I have come contact with know it, and most of them do not know how to bypass the GFW. But of course you cannot talk about it in the public.
i actually have been interested in Java because apache has open sourced what seems to be the best collection of resources on the internet and they are almost entirely written in java for the java ecosystem. I also think I would learn a massive amount. I also am strongly considering Java and less strongly C. What are your thoughts on Java in terms of:

* How much it would teach me about programming/software design, e.g. just as a general learning excercise?

* What does Java lend itself best to/is a typical set of programs a beginner could build after say 1 month?

* Is google planning on phasing Java out and using Go?
How FanDuel grew from humble Scottish startup into American fantasy sports giant
Tor is not usable in China, simply because all of the entry point have been blocked by GFW.
s/42;/42,/
Yes, or if you you use the hidden <user_email>@users.noreply.github.com.
Norton says kernel.org is a malicious website and blocks access