skysight-inc/HackerNews huggingface dataset:
> React with Backbone feels it could have been an equally good (if not better) choice.

Superficially it might "feel" like a better choice, but objectively it would have been worse if you're doing anything non-trivial.

The backbone router is severely lacking compared to the Ember Router. Same thing with having a lot of models with relationships between them. Sure there might be Backbone-related projects that try to tackle it — they are all way worse than the Ember equivalents. In my opinion they either lack tests, functionality or have terrible architecture.

I think it's a huge merit of the Ember community that they're moving in this direction. They saw something that worked better and weren't ashamed to say "Well that's better than what we have. We're going to do that instead".

Going by track-record and where they are today, Ember would in my mind be a great choice for any company that wants to start building web applications. Ember-CLI is a huge productivity boost, and I bet any company doing more than a few SPAs has had to build something similar; and it probably ended up way worse than Ember CLI.

I find it very unfortunate that web developers have all put their eggs in the Angular basket. From my point of view the rationale for choosing Angular today seem to be the network effect of readily available developers, and not so much the merits of the framework itself.

The Angular team realised they could do things better, and rewrote their entire framework. The Ember team realised they could do things better, and is incrementally moving towards that while letting you migrate your app with it.
I like the solution a friend suggested: flip the interviewer upside-down.
How detailed do you want to get?

If you're using Python or C or something else to use redis as a server, it's probably just as fast as Q/KDB, and some informal benchmarking supports this:

redis-server &
redis-benchmark -t set -n 1000000 -c 1 -P 1000000
0.00% <= 1368 milliseconds

v.

q)h:neg hopen`:localhost:1234
q)\t 1000000 h/"a:69"
1013

However I don't think this necessarily a good way to build your system, because if you're going to do a million of (read something write) every second, and then do a million of (read store), then you might as well write it in KDB and just make it (read something store) and save yourself 40% on your heating bill.
One-Liner Bash-Based Continuous Integration (OLBABACI)
It maybe something to do with my monitor but small <p> text is quite unreadable on my monitor. Especially this:

"timeup.io was designed both for desktop and mobile. You don't need to download any iOS, Android or Windows application."

Maybe the green background is too light in some monitor setttings?
Harry Potter is one of the very few bestselling fiction eBooks that can be purchased DRM free: https://www.pottermore.com

If only more publishers would do this, it would be far easier for me to recommend novels for users to buy to read on my site!
I can't stand this. That's an equally intelligible description of the problem as the original.
We are using Mesos/Marathon/Chronos/Docker/Bamboo on 200+ nodes on Google compute. Both for Data processing workloads and web applications (intensives advertising real time bidding servers). Using Mesosphere Packages, Salt, it was quite easy. Of course some services and some ssl stuff were a bit hairy but it's been working very great.
Now I'm waiting for the availability of Mesosphere DCOS to come to GCP. Tried it on AWS and, god it's awesome. Makes spinning services like a breeze and deploying new product instantly.
Hi diminish, I will take a look on it and try to fix it immediately. Thanks for your hint!
Some really bad text contrast on that page.
If required, the murder of innocents strapped to or contained within a weapon of war is totally legal. It has been legal for hundreds of years.

I can't speak authoritatively, but jet response time to a breach of a sensitive no-fly zone is in the single-digit minute range. [0] I would be shocked if every major government facility wasn't surrounded by a no-fly bubble. I would be surprised if we didn't have the capability to send fighters to anywhere in the CONUS within ten minutes.

[0] Quite some time ago, I was living near Tacoma, WA when the POTUS was visiting. There was concern that an aircraft was going to enter the temporary no-fly zone around the POTUS, so a couple of jets from the nearby base were scrambled and cleared to go supersonic -maybe- 1,000 feet off the deck. The din and air pressure change was incredible; it was if a tremendously large bomb had gone off some distance away.
Completely agree - I would have probably gone crazy or given up by this point if it wasn't for my girlfriend.
The player itself requires Adobe flash to run and I haven't had that installed since youtube started experimenting with HTML5.
If we stick to IQ as the definition of 'cleverness' (which can be argued, of course), then this is not really true. IQ cannot be significantly increased with learning, conversation, etc. I used to be* a Mensa member, and it's really surprising and eye opening to see the variety of people there. You can find university teachers and enterpreneurs, but they are not too common. The average Mensa member is really an average citizen with an average job - librarian in a small town, sysadmin in an elementary school, or just an unemployed, depressed twenty-something.

*: you need to pay membership fee to be a member, and I found it really uninteresting after a while to go to Mensa meetings. IQ is not something that can really connect people.
I am your fear:

var invertTree = function(root) {

if (!root) {
return root;
}

var left = root.left;
var right = root.right;

root.right = invertTree(left);
root.left = invertTree(right);

return root;

};
Had no idea this exists, thanks!
You also upgrade grub versions I hope :) Or maybe improve the grub installation scripts.
Sorry, no plans at the moment. It still seems too niche to be worth adding.

Would love to hear if anyone has achieved significant increase in payments after adding bitcoin in addition to paypal & credit card.
Hey abritishguy, would be awesome to give me some examples to fix contrasts.
I'm simply arguing that the meaning used to be reserved for really exceptional - now it's anyone with a product plan past next Tuesday.
Having the developer of Homebrew as an employee is only an advantage if you want to influence it's development, and if the developer is happy for his application to be influenced by his employer rather than the Homebrew community as a whole.

In fact, I would see Google hiring the leaders of open source projects in order to influence the direction the project takes as a problem. Sponsoring an open source project is brilliant, and Google are great at that, but buying influence over it is completely different and (potentially) an issue that would lead to people forking the project.
Don't forget higher child infant mortality and premature births. Humans are born several months earlier than optimal in order to be able to fit that huge head of ours through the birth canal.
You can use http://ideone.com, it doesn't require you to sign in to execute your code and allows almost every language.
As a non-CS major, what is inverting a binary tree used for? Google just keeps bringing me back to Max's tweet, or blog posts about it.
This argument isn't convincing. Airlines have been bailed out -financially- several times before. If a suit happened to crush them, yet another infusion of taxpayer money to a critical piece of national infrastructure would have been made.

Moreover, if the govt. was actually concerned about airline liability, they could have done for the airlines what they did for the phone companies; granted retroactive immunity for any actions taken by the airlines up to 9/11.
I think that we just have different experiences because (to quote myself)
> variable speed camera zones tend to come-and-go
Thanks so much for your reply. Sorry I wasn't very specific, you're spot on except I've been freelancing for about 3 years now. I've pretty much worked exclusively for digital agencies building websites for external clients, ranging in size from five to three hundred people in the office. The front-end dev team size ranges from one to twenty, but it isn't proportional. I'd rate my JS skills highly.

I've always thought the order of pay for people with similar experience in their field was: front-end, back-end, design, UI, UX, project managers, anything client facing.

The stress of finding work has been getting to me lately, and at my current daily rate it isn't enough to get me through the troughs.

In comparison to your rates I'm getting shafted royally.

(Thanks for pointing out superannuation, I really should put more into it.)
That's the problem with having 52 states having many smaller decentralised legislatures makes it much easier for low level corruption to exist.

Look at the dodgy court in Texas the "specialises" in patent law and the cases of tiny hamlets with massive police forces and speed traps.
> parameterised queries are pretty basic skills.

You might be able to say that now, after much publicization and improved tooling. PHP/mysql comes to mind as not even supporting parameterized queries up to somewhat recent history. Ensuring your queries were safe was entirely up to you. A lot of those old code bases still exist and are being exploited, but what evidence is there that people are still writing brand new projects that way?

That said, even in recent times I've run into edge cases that were not covered by parameterization, still leaving me to ensure the query is sane. It takes care to make sure you get it right. Maybe if you're just shuffling basic user input into a database you can make that claim, but not all tasks are so simple.

> You don't expect every electrician to be able to fix a motherboard but you expect any electrician to know "domestic electrical installation 101".

If you are writing web software you probably should know SQL and all of its shortcomings, but I wouldn't expect all programmers to know SQL, even at a basic level. There are countless programming tasks that will never have anything to do with relational databases.
You make some good points. Yes, I totally forgot how good the Ember router is. As for CLI, we actually did build something similar (because CLI wasn't mature enough at the time I evaluated Ember) and it's holding its own against CLI quite well.

I evaluated Angular (as well as React) before settling on Ember last year. I disliked that it tried to own the DOM and that the concepts and terminology (e.g. transclusions) make it difficult to onboard new developers who weren't already experienced in Angular. Plus (and this is a personal opinion), both Ember and React application code looked more elegant than Angular apps.
True. But even if one were totally self-sufficient one would still be a citizen with the rights of a citizen.
Oddly enough when a right wing free trade think tank measures how good a country is for entrepreneurs the "socialist" uk with its NHS scores a lot higher than the USA
In that case, the standard is applied extremely, even criminally, unevenly.

I can write and sell books advising you to treat your cancer with organic kale and meditation. Following that advice will literally kill you. But I can't give you a tour of the national mall, because... Because what, exactly?

You can't protected all the people all the time, it's simply impossible (or would result in a dizzyingly oppressive Brave New World style situation). At some points, people need to take responsibility for what they do to themselves/let other people do to them, even if some people might suffer a chemical burn from a back alley untrained hairdresser occasionally as a result - just like people do all the time when they try to do these things to themselves at home, which of course is perfectly legal and not to my knowledge a source of many calls for licensing of the ownership and operation of a watertap and a plastic bucket?

Also, licencing hairdressers doesn't even prevent fuck ups from happening there, that's people with nontrivial haircuts (the group of hairdresser clients formerly known as women) pay so much for haircuts. They know that they're hard to get right, and that it matters that the hairdresser knows what they're doing. This is equally true in jurisdictions where hairdressers are licensed and where they are not.
Ask HN: What is the best default behavior for defining RegExp routes?
Hello,

I'm creating PHP routing library. I doubt about default behavior for defining RegExp routes.

There is two alternatives, with (^ and $) by default, or without it.

1. /news/[id:[0-9]+]

/news/[slug:today.*]

2. /news/[id:^[0-9]+$]

/news/[slug:^today]

First looks more convenient for defining routes.
Second looks like any other RegExp as we writing it outside of routing.

What do you think about it?

There is the issue: https://github.com/baryshev/TreeRoute/issues/3
Yeah I would not show someone that! I wouldn't open up a friend to the copyright trolls...
What is your definition of "advanced algebra" ?

Group theory ? Galois Theory ? Category Theory ? What ?
Show HN: Go On Go Out – An events aggregation and publishing platform
Well it's a 140 character description from someone who's probably feeling a bit emotional. I'm sure he got a clearer problem description in the actual interview.
I don't think anybody was told "invert a binary tree" in the interview room.
Currently one city only (Portsmouth, UK). Any feedback very much appreciated. Thanks, Si
I assume it's for sorting (and ordering) algorithms?
> very rarely even the most intelligent of us ever really know what we want

Here's a comic strip on the relative merits of questions and answers, http://kiriakakis.net/comics/mused/a-day-at-the-park
Global Collateral Damage of Telecom Malaysia Leak
I'm not going to complain about rates, but I can tell you that you can't just compare currencies without comparing also your cost of life.

It depends where in Europe you live, and what are your other costs.

I'm Spanish, and in Spain I can go to the doctor and (for now) not have to pay at the front desk. In Australia, my local doctor charges an $30 Australian (20 Euro) co-pay per visit.

Coffee and churros in Madrid is 1.70 Euro ($2.50 Australian). Coffee alone in our neighbourhood in Australia is never under $3 Au (2 euro). Thanks to the Coles/Woolworths duopoly, I reckon Aussie supermarket prices in general are from 1.5 to 3 times more expensive in Australia than in Spain. Only beef is consistently cheaper in Australia, and milk is the same price, being a loss leader.

And the real estate bubble continues in Australia, so house prices and rents keep going up. This is why I asked Aussie devs to share their rates: they are working in the same market, but also they are paying for food, housing, healthcare etc. in the same market.

Also, remember that if you are a full time employee you are accruing other benefits, and your pay is calculated taking into account you lower risk of unemployment and higher severance in case of dismissal (especially in the many European countries with very strict labor laws favouring employees, like Spain). I reckon $50-$60/h is the freelance-equivalent rate of $46800/year full time salary in Europe.

And if you work on 3 startups, you may be giving up some salary in exchange for equity. If you don't get equity, well, your problem is not your salary.
This python script is informative:

https://github.com/diafygi/letsencrypt-nosudo/blob/master/si...

A good start for trying to figure out the workflow.
I think for Japanese, Rikaichan probably beats Readlang right now because it can detect word boundaries, and probably has other features specific to Japanese that I can't afford to spend time on with Readlang yet.

It would be awesome to improve Japanese support later after it's achieved success with the main European languages.
There's a bugmenot login that works.
Also it's more of a

Model-Route-View-Controller-Component-Service

to

Model-Route-Component-Service

switch.

These things were all present before and many people started to merge the view-controller implementations into a component one.
A functional approach:

(defun mirror (tree)
(when tree
(tree
(tree-data tree)
(mirror (tree-right tree))
(mirror (tree-left tree)))))

For completness, here are the definitions:

(defpackage :trees (:use :cl)
(:shadow #:copy-tree))
(in-package :trees)
(defstruct (tree (:constructor tree (data &optional left right))
(:type list))
data left right)

As well as a test case:

(mirror (tree 4
(tree 2
(tree 1)
(tree 3))
(tree 7
(tree 6)
(tree 9))))

=> (4 (7 (9 NIL NIL) (6 NIL NIL)) (2 (3 NIL NIL) (1 NIL NIL)))
You don't say which city you work and live in. Start attending MelbJS (or the equivalent), and put yourself forward. You should 2x your rates without even trying, 3x is within easy range if you have a good portfolio (and I'm sure you do).

I have a throwaway email address in my profile. If you write to me there, I'll answer from my real one.
Any browser, if you use a gateway: http://gopher.floodgap.com/gopher/gw?a=gopher%3A%2F%2Fgopher...
Inspired by the article: http://stackoverflow.com/questions/30817771/accept-any-wi-fi...
Is that full-time? At my last full-time job I was paid $80,000 a year, after taxes I took home about $1,000 a week. So that's $25 an hour.
That's not my understanding of the modern interpretation of head size and pelvis size. I believe current thinking is that the (healthy) mother simply cannot metabolise nutrients efficiently enough to sustain further growth of the (healthy) foetus beyond a certain size. Evolutionarily, the pelvis has adapted as far as necessary, and no further.
Are people always using React with another framework or can you build out full applications with just React? Im looking to start another project and want to try React but not sure if it has everything I'm looking for.
It's not the difficulty people are whacking, but the practice of white board coding.
New Doodle App for Facebook Messenger
It's actually pretty good as far as machine translation goes. For long complex sentences it can be misleading, but the use case here is to translate words and short phrases good enough for you to understand the meaning and enjoy the text, and for that purpose it works well 95% of the time. For the other 5%, you can usually tell from the context that it's not correct, and there's a popup/sidebar dictionary you can refer to. Please give it a try and let me know if you think it's useful or not.
Btw, Python has nifty multiple assignment, so you can write the swap simply as:

root.left, root.right = (self.invertTree(root.right),
self.invertTree(root.left))

(Parentheses added to break over two lines.)
I am excited about this release. Once things have settled down I think Ember 2.x will have a much shallower learning curve than 1.x.

However it is a shame that routable components haven't made it in yet. I'm about to start a new, medium-sized Emberjs project, but I'm unsure whether to wait another 6 (or maybe 12) weeks for this feature. Any suggestions?
Yea, they did roughly the same think with Realestate Brokers in California. When the Lobbiests tried to win over Gov. Scheartzenegger, he saw right through the ploy, and vetoed the bill. Gov. Brown caved in. That day I retired my strict D card! I still astonished we pay Realtors so much money for essentially a smile, and omissions and errors insurance? Eight classes and a cheezy exam, dubious experience and 3% commission? Actually, in this day and age, I thought Realtors would be extinct?
What I find slightly disturbing is that people remember history but forget we got to where we are precisely because of it.

64-bit processors and more than 4 gigs of RAM are relatively new things. Mmap is useless for datasets larger than the disk you can attach to the CPU mmapping it or the size of its virtual address space. In 1991 it would be OK to call a couple billion entries "big data" (although we were yet to invent the term) but not anymore.

Having said that, the heat dissipation of instantiating objects from their on-disk representation is probably a relevant part of the refrigeration costs of any data center. We just have unimaginable computing power available and, sometimes, we do things the easy way, not the most efficient one.
Here is an interesting story about the flarum forum dev and their switch from ember to mithril due to extensibility problems and performance. Hopefully the auhor will blog some more about his experiences.

Mind the bloat if you do not want to sink the boat.
That was my immediate thought too. It's nice to think of those 2 operations as an atomic unit.
Predator Dark Ages (2015)
To be clear: The "my" in the title refers to Steve Ridout.
How does it differ from Duolingo ?
Show HN: PyCNN – Image Processing in Cellular Neural Networks with Python
Although actually your statement and mine aren't incompatible.

Anyway, it's quite a fascinating area of study, including biomechanics, anthropology, metabolism, and more: https://en.m.wikipedia.org/wiki/Obstetrical_dilemma
The images, which open to a lightbox, can not be clicked through, as in a slideshow.
50+ Places to Repurpose Your Content: The Ultimate Guide
Yes.

I know a few people who were Mensa members, but if you talk to them or look at their life, you wouldn't guess that they have rather high IQs.

Just because people have the ability to do intellectual demanding things, others couldn't, doesn't mean they will.
A lot of things on that equipment list are inoperable. Is that a normal state of affairs, or is today just a bad day to look at the list?
Iron Desert Cheats Hack Tool No Survey
Yeah, im working full-time, but remotely. Company is based in UK and im living in Moldova. Although rate is pretty good for Moldova (life here is very cheap) I still need more and work part-time at Toptal for $30/h.. so constantly overworking to get to the better living.
I have a wife and 2 children, soon 3rd one will born and I want to start building a house and I cant say I have enough money for this but family requires so.
I/family spend about $1500-$2000 a month for current needs, like food, clothing etc.. then we usually have 1-2 trips a year to rest somewhere. And after all I have about $5-$10k a year in savings. To build a house I need to have about $120-$150k. Which will be in 10 years in best case.
Also to add here, I don't pay fees to government, working unofficially because again I dont want to lose any money there (like about 20%) that maybe risky but most of people in my area work like that.
Yeah full time, but consider it a net salary. I dont pay fees.
If interviews are really made to maintain high-engineering standards and prevent bad hires, interviewing and rejecting the author of a software that 90% of your employees use everyday is quite perplexing indeed.

While I understand that interviews are sometimes necessary to evaluate a candidate, it seems completely out of touch for Google to pass on an applicant with such an impressive background.

Not only that, but heaven knows that it takes a lot of dedication and leadership to lead an open source project from ideation to wide-spread use. If I were a startup founder, I would kill to get someone like him on my team.
Lots of challenges getting the Facebook data, but we seen to be getting more than similar platforms using a combination of Graph API, FQL and Graph Search.
>I think people were making fun of Google, because it is a caricature of their whole interview process.

To be honest, it kind of makes me wonder about the kind of code Google has, if this is a measure of a good coder. Are low level algorithms haphazardly re-implemented in python everywhere there is a need for one?

I've seen lots of code like that before. I was very unimpressed.