skysight-inc/HackerNews huggingface dataset:
The last project I worked on we were doing rewrites by replacing specific functionality and displaying that within an iframe. Over time we slowly replaced various pieces and added new functionality in a new code base with the end goal to eventually replace it all.

In the end, the last project we took upon ourselves turned out to basically require a rewrite of the majority of the app and the rewrite was scraped at about 80% completed.
This is much more interesting than the Sony or Samsung watches, for one reason: the Mirasol display technology. After owning a Pebble, I'm more convinced than ever that an always on display is the most critical feature for any smart watch.
That used to be the goal during the industrial age, when you needed factory workers who needed to come in and leave at exact times and follow orders to the letter.

Since then we have advanced to a knowledge/information economy where things like critical thinking and taking initiative are necessary for success, and school has failed to keep up in terms of encouraging these habits in kids.
Author here. Here's some context [1]:

Lua supports cooperative coroutines out of the box, which is great. Unfortunately Lua lacks built-in communication primitives. To fill the void I've implemented Go style channels in pure Lua.

Of course abstract channels without any concurrent IO aren't terribly useful, but fortunately the code is pretty straightforward and adapting it to your event loop shouldn't be a problem.

The code is ~400 lines of code + ~200 of tests.

For example, here's [2] Eratosthenes sieve following Russ Cox explanation [3].

[1] http://lua-users.org/lists/lua-l/2013-08/msg00546.html

[2] https://github.com/majek/lua-channels/blob/master/sieve.lua

[3] http://swtch.com/~rsc/thread/
> OOP, inheritance, scope, first class functions, callbacks, closures, compile time errors

How does any of that make it harder than "most web development languages"?

> The advantage is you can do real time async stuff a lot better then with other frameworks.

How so? AFAIK, the only difference is that in Javascript you can only do async stuff, you don't really have a choice.
It's not just you. That's actually the whole point of the article. Did you even RTFA?:

"Our findings from Yahoo’s “30 days of change” campaign suggest it should stick to something familiar. So, for Yahoo’s sake, we hope the new logo announced tomorrow will remind users of its graphical heritage."
Sounds good, any decision so far on the pricing per month?
The iOS development cycle works the way it does to protect Apple's customers. The people that pay for your application deserve and demand a certain level of quality. They also shouldn't be constantly bothered with updating your hastily developed, poorly tested, 'rapidly iterating' product.

As for Android, Google doesn't care. The person with the Android phone is not their customer, they're the product. Google is in the business of delivering users to advertisers. They are just barely in the business of making devices, and that's really just to feed more users to their advertisers by making a product that's as good as the iPhone and also to hedge against a single Android phone manufacturer from owning too much of the total Android market.
cool headline :)
I had to dig up a cite. This isn't the article that I remember looking at, but it's probably reporting the same number (specifically that iOS revenue is 2.3x that of Android): http://venturebeat.com/2013/07/31/android-in-app-downloads/

The reason those "data points" are skewed is psychology. No one is inspired to write a vitriolic blog post whining that their Android app only makes 73% as much as the iOS version. Nor is the iOS-centric HN echo chamber well equipped to give you a random sample of these things. And, frankly, lots of those bigger numbers are simply old. Android's market share is growing rapidly. Three years ago, I think 10x was probably correct.
Qualcomm makes a timely entrance with full-featured Toq Mirasol smartwatch
Well, saying people are under a reality distortion field is de facto calling someone a fanboy, in my opinion. Personally, I agree with some of what you're saying, but it kind of sounds like you've taken a straw man and run with it.

"Apple's audience pretending these features never existed before or that they were bad ideas then but great ideas now." First off, that's a wild generalization. Who is saying that? Sounds like you saw some random comments on the internet and now that represents a whole group of people that you disagree with.

"That's exactly what I'm seeing you and others in this thread doing."

Really? Xutopia's comments seem pretty reasonable to me. He pointed out a minor, but key difference. It's true, it's not "wildly different", but it is a significant, non-negligible difference. I don't see how him pointing that out turns him into your current bogie man.

I'd also venture that that key difference is where your "Apple audience" had an issue, not your claim that background updates as a whole was somehow seen as the devil. It could be abused by developers, and it was.

Arron61's comment more reasonably addresses how that was handled, and so yes, at times, you would have to do manual power management with certain unscrupulous apps. I think that aspect of it is/was annoying, but I've never thought the general idea of background tasks/multitasking as a whole was bad; that's just silly. And that's significantly different than the attribution you are making.
Does anyone have a good way to distinguish between -

A) Rewriting the codebase.

B) Fixing & modularizing the codebase - breaking it up into self-contained units/parts while improving, cleaning, and modernizing them?

Because if you throw away the edge-case of completely starting from scratch, B) can easily be seen as A) and vice versa.

Is there a thin line here?

(*I have a 200K line C#/.NET app that will be evolving and pivoting with it's next major version).
> So for them, unless a whole category of device comes out, like a smart watch for example, they do not need to have every device to test.

Cue the Samsung Galaxy Gear.
Funny you should mention that building. A few blocks away, there is another that focuses a death ray on the sidewalk:

http://goo.gl/maps/ShZq6

When we have visitors we always walk them by there, if it's sunny, to show them the effect. I don't think, in this case, it's enough to melt car parts, but it's a good 30+F over the ambient temperature.
Joel's article is cautioning against the kind of cost/benefit-blind thinking that makes "rewrite all the code" a default option. Actually, I think in a certain way your story - perhaps unintentionally - agrees with this point.

In your case, you accepted the cost of doing the project over, which as you said was to write it again taking the same amount of time. The fallacy that Joel is talking about is engineers thinking that they can do a total rewrite of some software that took years to build in some much shorter period of time with better code. The predictable result is huge financial losses, and sometimes even a total market abdication.
I wish I'd had time to do this stuff while I was younger

I try not to fret about this sort of thing. There's just too many possible paths in life to lament & regret that you didn't pick your favorite one ten years earlier, because how would you have known?
Vietnam just banned doing pretty much anything online
Why Your Smartwatch Sucks
Because they suck ass.
If you can't even afford $100 a year you probably can afford anything you would need to develop for the platform (e.g. a mac).
The example doesn't work. The maths isn't rendered.
This is a great service and I am uncomfortable with the seemingly universal expectation that everyone should be OK with facebook/twitter/google/linkedin style "corporate" auths.
great tutorial for anyone looking to get into the MEAN stack, easily the best on the net currently and they seem like there planning on adding a lot more to it also over time
Like others here, as soon as I read the first couple of sentences, I mostly expected the result.

I paid about $150 for my volumes, and while it was more than I wanted to spend, that's actually quite a deal. That comes out to less than $40 per book, and each book is so dense and authoritative that another equivalent book probably costs on the order of $100. In other words, at least in the USA, if each book was sold separately as textbooks, I wouldn't be surprised if it cost $400 in total.

As you have detailed, Knuth's work here is seminal, and he will probably continue writing until the end of his life (and TAoCP won't be completed by him). If you intend to truly read and understand all of the material he has presented, then you're in it for the long run. Unless you are very educated or a researcher in the field, this is probably years worth of work. This includes reading all the mathematics, understanding it, and doing the exercises. (Of course, not all exercises can be reasonably done by anyone, as some of them are actually open research problems.)

Because you'd be in it for the long run, cheap paper copies are a bad idea, unless you don't mind pages falling out and deteriorating. Doing a semester-long course in some subject? Okay, that's fine. But purchasing for personal reasons the opus magnum of one of the greatest computer scientists? That feels a little different.

Although you've already paid a measly one-tenth of the price already, I'd consider paying the full price, and take your first as just a tax on the lesson learned. In the USA, many of us would get a 5-10% markup anyway (sales tax), so it's not all that devastating.

Edit/Addendum: Lastly, one important thing. For anyone reading this comment: While there is prestige in finding errors, that should not even be remotely close to the reason you purchase the books. The checks, in their original intent, are small awards for finding mistakes, and only somewhat artificially have they turned into something more. The true reward, as cliché as this sounds, is being able to read Knuth's prose and learning from it.

If you believe that having such an achievement will slingshot you ahead in business or academia, this is almost surely false. While the award is nice to get, it won't give you much in return. I own two checks, and they're on my résumé, but I don't think they've carried much weight, if at all, at the multitude of companies I've applied for and been at. I think I've been asked about them only once, and even that time, the interviewer wasn't interested in hearing about numerical algorithms or boolean satisfaction.
Ah, yes, Peter Gray is the author of the article submitted here (which I think was submitted once or twice before, with no comments). I have read part of his recently published book, in which he extends his argument. Education policy is the issue that drew me to participate on Hacker News,[1] and I'm glad to see that so many participants, from the founder on to the new members from the last year or two, enjoy thinking about and checking facts on education issues.

On my part, I chose the trade-offs of time, energy, and expense to homeschool our children so that they would be in a position to learn in freedom[2] and make a lot of decisions about their own education. So far the one child of ours who has grown up to live independently in the outside world (also an occasional participant here) is glad that he had that kind of education. He wrote to me for Father's Day, saying, "That has made it very easy for me to step into a leadership position and feel very comfortable in positions of responsibility."

Some people survive the prison environment of school and go on to great things.[3] That doesn't mean that we have to organize schools as we now do. We should be sensitive to opportunities to organize schools in ways that promote young people having responsibility and freedom to grow while they are still minors.

[1] http://news.ycombinator.com/item?id=4728123

[2] http://learninfreedom.org/

[3] http://learninfreedom.org/Nobel_hates_school.html
This reminds of the famous tea kettle parable.
I think Peter Griffin said it best. Oh my god, who the hell cares?
I've been working with Zend Framework 2 (PHP) and it has a ServiceManager class that loads everything, but the configurations can be done in three different ways and it supports aliases and other things that make it really freaking hard to find out where a class came from. It's a huge learning curve. I understand using DI to make code testable but it also seems to make it a lot harder to follow.
Too few people know about WGU. Very low-cost. Non-profit. Not scammy like UoP. I wish they had a wider range of programs. In a few years, lots of university education will look a lot like WGU.
Jumpstarter Re-Imagines The Dev Platform – Invite Codes For Readers
As a mobile developer who has worked on both platforms, I agree wholeheartedly with this. Xcode and Interface Builder is much easier to use than Eclipse (I found myself constantly editing the raw XML interface files). And I find the UIKit API much simpler to use (for most cases) than Android's Activity-based SDK.
Facebook privacy and kids: Don't post photos of your kids online
Galaxy gear isn't really a smartwach
This seems like it could have been a terrific genetic algorithm experiment in picking the new logo - create populations of the logo with variation in shape, font, spacing, and whatever else they could think of. Use ratings as the fitness function, and iterate.
Top 14 is specific to law schools. It is extremely arbitrary, but it's the equivalent of a "top 10 list" in basically every other situation you'd rank things in. I don't like rankings, the only reason I quote them is to demonstrate that I did well in "school."
Of course, and it is easier to plan for incremental replacement and refactoring than for a wholesale re-write.
Samsung pushing them hard to release 4.3 might let us see some progress.
As a former member of a board of education in a major city, I learned a few things:

1. There is no one-size-fits-all plan that could possibly work for education. Everyone is different (duh);

2. Centralization of primary and secondary education institutions is a very bad thing (think fewer and fewer large school districts);

3. Teachers' Unions are possibly the single biggest barrier to innovation;

4. There is no simple, easy answer to improving education.

Unfortunately, I don't have a prescription for fixing things, but I'm sure that centralizing both administrative bureaucracy and delivery standards is not it.
>> without questioning it, and to obey authority figures without questioning them.

There isn't much debate in reading/writing/arithmetic.

>> It’s no wonder that many of the world’s greatest entrepreneurs and innovators either left school early (like Thomas Edison), or said they hated school and learned despite it, not because of it (like Albert Einstein).

We're using a genius and one of the most prolific inventors America ever saw to rationalize the idea that school is bad for kids? Not to mention they were in school so long ago.

>> even the “best students” (maybe especially them) often report that they are “burned out” by the schooling process.

I'd imagine being the best is quite a lot of work. I'd be burned out too.
"The author also fails to note that the current American home school movement has explicitly Christian roots."

Actually that's not quite right. The previous home school movement came out of Christian roots. The more current "trend" tends to be unaffiliated with any particular religious background...
Agreed. It's just the standard top-X list for law schools. The point of referencing it wasn't to give them credibility.
Think & Grow Rich

How to Win Friends & Influence People
I understand that it is a David and Goliath situation when we talk about governments corruption and ordinary people like us. Once in a while some country pops out an Assange or a Snowden, but that is not something one can sit back and wait to happen. And there aren't many things an ordinary person can do too. It is tough, but sitting back and complaining is also no solution.

On the other hand, rape cases have nothing to do with government. This is people inflicting pain on people. And its not just rape but any sort of attack on safety and we can be optimist about cleaning up this mess. Also it has to be understood that one person or a group can not just decide to fix it and the next day rapes stop happening. It will take a while to make it happen. In the mean time, more rapes might happen and we can't do much about it. It doesn't mean no one cares about those getting raped. Its just that not much can be done when most of the population prefers to be armchair critics.
Agreed. I generally don't worry about it and focus on the future. But reading this article made me reflect a bit.
Yet another http load testing tool with bash and GNU Parallel
Everyone, without even knowing it.
Definitely Getting Real (by 37signals). My bossed showed it to me shortly after I started in the tech industry. I remember being inspired by their process for producing products, and running a business.
Yahoo is overthinking this.

People liked that logo because you can read it easily, and it looks like a logo not just a word.
It says "Entire businesses have been built on the idea of sharing and writing code, but not reading." and links to Github, implying that Github is not built on the idea of reading code.

I think that's an unfair characterization. Certainly Github could do more to make code readable, but part of the reason that Github took off and largely replaced other alternatives was that it made it much easier to actually read the code instead of hiding it behind all the extraneous project administrivia. The project's code is still the first thing you encounter on a project's page, even emphasized above its README. Github's code browser is actually pretty excellent compared to a lot of the alternatives. There's fast navigation between files and decent syntax highlighting for a wide variety of languages.

I know that I at least spend a lot of time reading code on Github; probably more time than I spend doing anything else on Github. At any given time, I have a half dozen or so browser tabs open with Github code pages on 3rd party libraries that I'm using.
Many nations cannot "field a viable military." We'd be $2Trillion richer if we lacked the ability to go on military adventures on the far side of the planet. Orienting education around such a goal seems misguided.
IF most kids know how to hack in this level, the whole education system have to change.

also, Can you explain a little more about University Rule No.1 and 6? I am interesting to see some example if you have any.
Design is an easy win on Android, but it's the suck for any kind of audio processing because of the horrendous lag. Like MS before them, Google completely ignored the needs/requests of musicians for years on end, and as a result all the good apps are for iPad. The only two Android audio apps I can think of that are worth looking at are Caustic and FruityLoops, and neither is particularly performance-friendly. I was using a remote control MIDI app for a while called Humatic but the developer said device fragmentation was such a miserable experience that he never wants to develop on Android again.

I've been using Android since Google put out the Nexus One, and I still prefer it for a phone. But for a tablet I have to unwillingly go with an iPad next time, because that's where the good stuff is.
This is a big reason why my wife and I just dropped 5 figures to send our oldest daughter to a Montessori school instead of public school.

The larger time outdoors and less strict teacher lecturing to students sitting in desks were the two biggest drivers of the decision.
It was a bad thing, the way you described it. Now that I know you also fixed the root cause of the problem, I can see it as an additional line of defense.

I think I wouldn't add it, though. Time is better spent on tooling that checks the variable doesn't get an incorrect value.
... to go on sale for $0.
I didn't say that nor imply it. What I said was that both platforms do have documented cases of malware. The post I replied to made the obviously false claim that the iOS store has never had malware.
Fuck Google Plus
Here is the complete list:http://www.yahoo.com/dailylogo

While I think they were all slightly boring, they were quite varied in design. I like Day 2.

Also, how is that spacing a glitch? Maybe it is by design? Since the whole point of this is to play with typeface, letter spacing and other creative ideas.
There is a lot of debate in writing. Why is it taught exclusively in English classes? Why does academic writing focus mainly on literature until college, and even then, English is the equivalent as a writing major? PG wrote about this once [1], but it makes no sense.

[1] http://www.paulgraham.com/essay.html
Hey Samsung, let me know when you get a Hologram projector in this thing[0].

[0]http://cdn.tutsplus.com/ae.tutsplus.com/uploads/2013/06/Aetu...
Why is RapGenius interested in this ??
It is easy to tell if there is a shortage of ANY commodity, including workers, from the price. This is one of the most basic principles of capitalism. Similarly it is easy to tell if there is an oversupply, the price goes down... Which matches the observations of the state of the industry (allowing for inflation)?
Except the watch is pretty much worthless without the phone it's attached to. Perhaps it would work from gym bag on the bench, definitely not from the locker room.
Interestingly, anybody were to read Martin Luther's "The Jews and Their Lies" today they would dismiss him as an incredibly hateful, racist crank.

Maybe you are being over-sensitive on behalf of Christendom here, as a worldly institution it should not be above criticism.
The job mismatch: how people read job descriptions
Very nice work. I look forward to seeing native Docker support in other hypervisors.
In which case, they really should just stick with the original. If they really want to change their imaging a bit, they need to go hire Hardgay.

Hardgay goes to Yahoo!: https://www.youtube.com/watch?v=KSD8edviajE

Seriously, I might use Yahoo! for something or another for the first time in fifteen years, if they lead their imaging campaign with him.
Many of the people on HN would have done well in a wide variety of different learning environments. Think Abe Lincoln. Most of the others on HN would have done well in a specific subset of learning environments that doesn't happen to include what the USA public education system provides.
Ah, I understand now. I was referring to minor features that will take a long time to implement. I understand that you can't release just a splash screen.

In every product, there core features, then there are minor / convenience features. Let's say you have a "search" feature. That is a core part of the app / product / service. Some features that you can probably put off are: "advanced search", "refinement search", or even "sorting results". All of these are convenient, but you may want to have the app in store without these features.
Even 0.1ms drift sounds like an awful lot of time for a serious clock.

[edit] if 1ns is 11.8 inches of wire (at the speed of light) then 0.1 ms is 30 km of wire!

[1] http://highscalability.com/blog/2012/3/1/grace-hopper-to-pro...
VCs all have iPhones because the majority of people who are willing to pay for a phone or apps prefer iOS.

it's really that simple.
Yes we would, because we need to know what that resistor is when it's in a PCB

Why couldn't we just label the resistor with silkscreen? We already decided labeling their drawer was better than labeling the resistor, so why not apply the same to the PCB? Easier to read silkscreen than color bands anyway, right?

Can you identify what the colours of this image should be

I said blue. Notice the blue is quite easy to spot in the image you linked. Of course it would still be a pain to try to find the 10k resistors by color, yes, I know that. But at least the color bands wouldn't be totally worthless.
JSON API now has a MIME type