skysight-inc/HackerNews huggingface dataset:
Gandhi springs to mind. I think this is the part that comes right before "then you win".
This is precisely how regression tests are supposed to be built; to wit:

1. Find/identify/isolate the bug;

2. Create a test that fails if the bug is not fixed;

3. Run the test to make sure it detects the bug;

4. Fix the bug;

5. Run the test to make sure it passes now that the bug is fixed;

6. Add the test to the test suite and checkin/push the bugfix.

I don't always get to do this on my projects, but it's a good habit to get into. Having a good/easy to use test framework already setup can help a lot with this (if tests are hard to write/take too much time, they won't be written).
owner unlocks door with key

That statement hides a lot of mechanical complexity (especially when you consider central locking, alarm and immobiliser). you should break it down into what happens when you turn the key, like you have with the remote key example. you can have just as many steps.
You can be pretty sure that you wouldn't find the target in the OS software. For a well constructed output file, that has about the same likelihood as a randomly generated cryptographic hash collision.

As for your cloud solution, that could be defeated by running the decompressor offline.
Or... google could crack down and force the carriers to make their "customizations" add-ons which would be installed after an os update and could be removed if they were incompatible / the user didn't want them. This way every user could have the latest and greatest from google while still allowing the carrier to add their craptastic customizations on top of the standard OS.
Those prizes are derisory.
In college I used to dream in/of code. More than once I've fixed things in the hour or so that I was about to fall asleep, got up, made the changes half asleep, and went back to bed. More often than not, it actually worked the next morning.

In those days (85-90) version control wasn't a big thing with a 1MB machine, 65MB HD) but my habit of "take a manual snapshot of my current project at the end of every day" is the result of one or two failed "sleepcoding" events.

Tangent: reading the post the other day about how Turbo Pascal fit in 40kB blew my mind and brought back many good memories. I also realized I was much smarter then.
Google Puts Its Virtual Brain Technology to Work
At most half of them.

You could do it like this: If the first bit is a 0, remove it.

It could never be more than half, by the pigeon hole principle.
you'd be surprised how much medically-manipulated brain chemistry can improve your quality of life

Except in severe depression, antidepressants have no clinical advantage over placebos:

http://www.thedailybeast.com/newsweek/2010/01/28/the-depress...

According to Kirsch, antidepressant trials were also compromised by side-effect leakage: the drugs had side effects while the placebos did not, so patients knew when they were not taking a placebo. That's the equivalent of putting your finger on the scale. As far as I know, there has been no attempt to measure that distorting effect (Kirsch only mentions it), nor any clinical trials of antidepressants conducted on a level playing field, where the placebo had similar side effects to the drug. But I haven't searched, and if such studies exist, I'd welcome correction.
Good Job. That is a good one. I'd be proud of that too.
Hands-On Practical Guide to Database Schema Version Control
Yup, I believe there are CSS selectors for that as well. The best way to play with it is to checkout the devtools source and take a look at the default structure: https://developers.google.com/chrome-developer-tools/docs/co...
I completely agree. The auto manufacturers would sell less cars, but we'd have less cars parked on the road.

With Google's self-driving cars, we would have driverless taxis that can take you somewhere, then go pick up someone else that called them with an app. Simple, convenient.

The main reason to have your own car is for image and largesse. In a world of scarce resources, it might make more sense to share the cars. Might even have taxi carpooling.
That doesn't work. You have to include the size of the decompressor.
In my own case, Sublime + codekit + chrome.. Hand editing the HTML. :-)
Weight the increase in functionality relative to the "decrease" in usability. I think the additional functionality you get far outweighs any reduction in usability (which for the record I think is not that bad).

I have iDrive in my car.
The music and feel reminds me a lot of Deus Ex - which is a good thing.
Looking For A Job? Develop Mobile Apps
Thats one useful tool..all the a/b testing tools that I have used over the period of time dont have this functionality despite the fact that its super useful & plays vital role in optimizing conversions. I'm sold guys :)
I think this statement is incredibly short-sighted (or spun to make it easier for hot startups to hire):

> The second type of Starstruck Entrepreneur is far more dangerous. This type includes engineers and designers who have a lot of talent for building technology products, but, because they've been infected by celebritization hype, limit their ambitions to being able to say, "Hi, I'm the Founder and CEO of Self-Aggrandizing Apps." So instead of applying their talents to a company that is actually poised to solve an important problem and become a transformational company, they build another vapid iPhone app that nobody wants."

First of all, I am this person. I am building my own company and it now pays me close to what I made at the last "important, transformational startup" I worked at, but this time I own my own schedule and I own my own company. And people want my products and are paying for them, so I don't know how his former point implies the latter.

We are in an era of unprecedented personal empowerment, especially with tech people. I say more power to those who want to create their own value and live an independent life, rather than devote yourself to 0.1% ownership of a rocketship that could never make it. Just because you raised a big round doesn't mean you are doing more for the world.
I used to do this using the androidx86 (http://www.android-x86.org/) project & virutal box. Once the vm was installed, I would set up networking via dhclient and then connect to it via adb. It really was faster(day/night) than what Google had to offer at the time. Right now I'm actually trying the latest android Itel Atom image, hope it'll be an improvement!
Thanks. I don't have much experience on the PHP side but I think the issue would be similar. Essentially we are all moving up the stack and we need to adapt which is difficult :/
>I really hope that the threat of Apple switching to ARM causes Intel to push Linux as an alternative to OSX.

And what exactly would that achieve? It's not as if consumers listen to Intel about what OS to buy.

There is a way for Linux to matter as an alternative to OS X (and Windows) and that is for it to get more like OS X (or Windows): Intel, Google or some player(s), could hire an experienced project manager guy, and a 100-200 person team, plus QA testing and documentation writers. Preferably most of the core team would be the top volunteers at their specific projects. The then should spends some in the range of a billion a year for a couple of years, and fix EVERY pain point Linux has for consumers, especially multimedia use which is crap (e.g, a Joe guy trying to make a 5 minute video of his holidays). They should also use all that money to influence design decisions in a "benevolent dictatorship" manner, so that we finally have things like long term binary AND driver stability and third party apps for Linux.
Cannot filter by profitable/non-profitable.
I got it too a while ago. I asked "Is Steve Jobs your father?" and Siri prompted me with the same page.
I'm not sure if this is correct. The moon has an average apparent magnitude of -12.74 (which is a lot, you've seen it), and as Wiki says:

'At the time of its discovery, the comet's apparent magnitude was about 18.8'. That's PLUS 18.8, but allright, at the time of its discovery.

...

'The comet may become extremely bright if it remains intact, probably reaching a negative magnitude.'

If the comet reaches a magnitude of -1, the moon is more than ten billion times brighter! I don't believe the uncertainty is within a factor 10^10, so this is probably just bad journalism.
Marshall Kirkpatrick’s Little Bird wants to be your new “robot librarian”
Linkedin New Design Company Pages Now Available to All
This is tabular data gone awry.
isn't introspection exactly one of things that are _really hard_ to do in a type safe manner ?
I believe celebritizing entrepreneurship is a good thing. Entrepreneurship is a noble calling that has high social value.

To some extent I feel that PG's essays tend to celebritize entrepreneurship. However, I think this a bit of a conflict of interest, and can come off as predatory. The reason is that he makes more money the more (or more highly qualified) entrepreneurs he can convince to take up the cause. However, the odds of failure are still quite high. In essence, these essays convince more people to buy him lottery tickets paid for with their entrepreneurial sweat. The fact that the lottery tickets have shared payouts is of little consequence to the moral argument when the odds of a single ticket winning are so slim. The only real winner is the incubator, which holds hundreds if not thousands of tickets. To minimize the hazard, I would like to see the odds of failure emphasized more.
The people I'm working for/with decided to use bootstrap as a foundation to speed up development. As someone who mainly does "front-end" programming, I don't see much benefit from these "frameworks", especially since we are pretty much redesigning every element. Also, since we are using CSS3/LESS, instead of slicing a PSD I have to recreate every design element from scratch. I hate "designers".
That's not at all what he was implying.
Great job Patrick, looks good, albeit a bit Bootstrappy (though, to be fair znanja looks kind of Bootstrappy too). You, Tim and the team have done a great job!

Python 3 support would be great, too.
Mitt Romney: The DIVX Candidate
I think the UI customizations are less of a problem than drivers.
I use the Bootstrap-Sass gem in all of my projects: https://github.com/thomas-mcdonald/bootstrap-sass
This seems like a ripe opportunity for an enterprising blogger to examine changes that have been made to how we compress things over the past few years and see if any of these changes impacts the potency of the decompression bomb as a kind of, as you said, 'update to the current state of the art'.
Seriously, downvotes? I was gonna bring him back!

Yeah second, because my immediate problem is getting to my intended destination tonight and since the upgrade which screwed with my WiFi tethering and maps that's a problem.

It would take even him more than a couple of hours to fix this. A downgrade I could do myself, if Apple allowed it that is...
G+ Hangout with Elon Musk and NASA Administrator Charlie Bolden
I didn't think Twitter was profitable yet. That's good to hear.
(Not that Bootstrappy is a bad thing, quite the opposite!) Compilr has done a great job at making the design it's own, and not the default Bootstrap themes that plague some web applications.
I was curious AFBER because of the Russian Empire thing. It is indeed the association of holders of Tsarist Russian bonds. They are trying to get paid back two successor governments and 100 years later.
Who's going to remember Malcolm Gladwell in 50 years?
Also, they're mad at me because it is taking to long to develop the site. And because we're using bootstrap they're expecting it to be done quickly, because "I have all the components and just have to put them together."
You don't want to monitor if it's blowing, since the unit could still be blowing air, but not cold air. Instead, monitor the temperature coming out of/in the the duct. The temperature change in the duct will allow for a page just as fast as monitoring the flow.

This will also allow you to monitor things such as the delta of the air coming out of the duct vs the ambient temperature vs the air going into the return. With this data you can create significant savings by moving ducts or equipment since you're probably wasting a lot of good, cold air going into the return.

It will also be cheaper. A lot cheaper.
I was expecting the headline to just link to a photo of Kevin Rose.
The rules weren't vague, but they relied on a rational (as opposed to legalistic) understanding of what it means to compress data.
The Apple II looked like a piece of grey plastic to me. So did the NES, but at least it was a lot more fun than the Apple II. Steve Jobs: the man who made purchasing consumer electronics a revolutionary act.
> 3. Any general tips or advice about what area/s are best to meet some chilled out, smart, like minded people?

It depends on what exactly you want to do: 1) Meet tech folks, learn about interesting technologies? Go to meetup.com, find a bunch of talks held at companies, go there, meet other folks, go to their company events, rinse, repeat. 2) Meet interesting folks who may not be tech: Do a bunch of bar crawls, go to interesting music festivals etc.

> 4. How much should I expect to pay for a room or a studio in a decent area (I have no idea what a decent area is, so any advice would be very much appreciated)

I would advise staying away from the Tenderloin or some sketchy parts of the Mission. Sketchy is a personal tolerance level discovered only by physically visiting these places and figuring out your comfort zone. Noe Valley, The Haight, Pacific Heights and parts of the Mission (Close to Dolores Park) are great places to live. Prices here are expensive: You are likely to pay anything between $1500 - $2500 for a studio.
Thank you for taking the time to help out with a project that nearly everyone uses, even if they don't know it.
I would argue that in those 60 hours work week or 90 hours work week people mostly idling, staring at the screen, or browsing the web, or doing other stuff. The real work happens in much less time. Most companies equate face time in office as work and thus people just put in long hours there.
I'd say the aesthetics are nice, but aesthetics are a small part of usability.
Use dynamic_cast. Or java. Or c#.
products -> windows 7 -> shop now -> windows 7 store link -> error

apparently they were making $0 on windows sales from windows.com site otherwise that bug wouldnt make it into live system
Well, at least this will give health professionals job security in the games industry if the government downsizes healthcare. Anyone up for a game of Sim-Hospital?
Worth a read: www.gawker.com/5847338/steve-jobs-was-not-god
Jack Welch is pretty much the most famous example of this.
Yacket Public Beta - 48 Hours, 1 Mistake, 7 Measurements
I'm the founder of Yacket. On monday we released our public beta. I've documented our metrics from the first 48 hours for posterity and interest. Feedback very welcome.

http://blog.yacket.com/post/32860220442/the-public-beta-48-hours-1-mistake-7-measurements
Facebook Ad Exchange Explainer: Interview With Triggit's Zach Coelius
Admittedly, "I don't know" probably isn't the answer a company wants to hear from your commercial tool.
Cached:

[Edit: is was 503ing but it works for me now. Also, (2007)]

1. http://norvig.com.nyud.net/spell-correct.html?

2. http://web.archive.org/web/20110717135116/http://norvig.com/...

3. http://webcache.googleusercontent.com/search?q=cache:q9g8wF3...
This is great, except the Nest thermostat's learning mode doesn't work (for me; kept coming on at 3am, no amount of button pushing would make it not do that except for disabling "learning mode" which is what I did), so you have to use its UI anyway.

Fortunately the Nest's UI is good enough that it's still a good thermostat without the learning mode. There was a comment on HN the other day along the lines of "if you have good enough AI, does UI design quality matter so much?" and I guess I think that it does if there's any way for the AI to mispredict then you need something good for correcting it.
AffinityLive Sync Creates A Giant Shared Inbox For Your Entire Team Or Company
I think this is the app I was thinking of:
http://www.viper.com/smartstart/
A classic article and a fantastic introduction to data-intensive natural language processing. I remember implementing Norvig's spelling corrector to improve coverage in Zend_Search_Lucene back before we had moved to Solr at one of my old jobs. The cool part is that you don't have to use a general dicitonary; you can use one that only includes the set of terms on your site -- thereby making your spelling corrector specially targeted towards your domain language.
looks good, i am thinking of the way it can make my life easier if I have a color pallet in front of me to show the exact color there and then!
Would you mind elaborating on what you use for static generation, and how you get it into S3? Any links to your work? I feel this solution has a lot of merit, and I would like to see how others are doing it :)
Living in a Van
As someone that deals with markup for the majority of their day I've been bouncing between all of these for the past year or so. I've been using Skeleton for awhile and loved the simplicity.

I tried Bootstrap but the semantics are so horrible I couldn't stand using it for more than one project. I love the tools it has but the semantics of the class names are abominable. I've since settled on Foundation as it had the best tools available while maintaining some level of sanity in the class names and semantics.
you wouldn't find the entire target but you would find file in the operating system that had subsets of the target file.
You mean they don't ask you to develop web sites during job interviews for nuclear engineering positions?
Hi I´am from Brazil, and I think most of Startup Entrepreneurs are not prepared for business, I know the practice and experience is great, but they need some methodology, best practices, fundamentals of business, case samples and advices also.

Books like “Business Model Generation”, by Alexander Osterwalder & Yves Pigneur, “The Startup Owner´s Manual”, by Steve Blank and Bob Dorf could be very useful.

Here in Brazil we have the recented lauched book in portuguese called “Empreendedorismo Inovador – Como Criar Startups de Tecnologia no Brasil”, 25 authors, Editora Évora.

Att. @neigrando
Hey guys, this is Wil of SEER, we are noticing some sources are off with the links pointing to the wrong place, we will work on it.

--Wil
Hands down the best laptop for linux in my opinion. I would be interested to hear if there are any other laptop lines with such a great history of linux support.
Interesting write up. LLVM defines it as "a collection of algorithms and techniques used to analyze source code in order to automatically find bugs." http://clang-analyzer.llvm.org/
Intel CEO: California's sliding, but U.S. can win jobs
After the VC Term Sheet is Signed – It’s Not Over Yet
I had a problem with the consistency of technology. For example, the benefit grid is highly advanced and yet they are still using helicopters to track people on the ground. If the grid is everywhere, why aren't there tracking monitors everywhere?
If Apple were a person it would be psychopathic.
How to Keep Pennsylvania Entrepreneurship Competitive
The argument is over whether the challenge is identical with its spirit or with its statement. Patrick clearly failed the spirit of the challenge. He tried to exploit a loophole in the statement of the challenge. So what which is the actual challenge?

Actually, it doesn't matter. Patrick failed to complete the challenge as stated, which is important because he was exploiting a loophole in the statement. Technically, his files were smaller. But technically, he was required to send Mike his files and decompresser. Instead, he put them on his server and sent Mike their location. Mike then had to get the files. It goes both ways.

Finding loopholes, while clever, isn't terribly interesting.
Something I've wondered but never got around to asking - why is it called Static Analysis? Why not Dynamic Analysis, or Runtime Analysis, or something else?
Can anyone explain what this section is talking about? I'm completely not following it:

cat $1
printf "X"
cat $0
exit
I'm looking at the X1 line up. Why is there a i5 model that is more expensive than the i7 model? Only other difference I see between them is RAM. I'm looking at it here: http://shop.lenovo.com/SEUILibrary/controller/e/web/LenovoPo...
A Grown-up Viewing of Indiana Jones
lol ^ 10,000,000,000
Oops, my bad. They definitely give top billing to windows and Linux. http://software.intel.com/en-us/intel-compilers

I was basing my remark off googles page summary, which doesn't mention osx.
Yup. A feeling of persecution is very good for reinforcing a faith that believes that you are being persecuted for your faith.

As another example reinforcing that is that members of missionary religions (like Jehova's Witnesses and Mormons) commonly admit that the personal value of being a missionary isn't so much that you convert anyone - on average you don't = but how much the challenges of missionary work reinforce your own faith.
If you just have to decompress a single file, I don't see why this problem is impossible since you can tune your decompressor to that file.

For example, files containing the digits of pi or e will have a uniform distribution of bytes (and are therefore incompressible by exploiting redundancy) but it is very easy to write a "decompressor" for them as there is a simple algorithm to obtain these numbers.

Is there a simple algorithm for every possible number? Because then it just becomes a question of finding the algorithm that generates that number. My intuition tells me "yes" but that it may be very hard to find it. Plus, you don't need to find an algorithm for the whole file, just some subsection of it.
"Please install Flash to view this video."

Nice!
You're right. Good point.
PHP is somewhat unusual in the extent to which things normally reserved for frameworks are included in the language. For example, PHP comes with a template language. It isn't so unreasonable to compare these facilities to analogous ones provided by frameworks.
I do it differently.

1. Find/identify/isolate the bug;

2. Fix the bug;

3. Create a test that fails if the bug is not fixed;

4. Run the test to make sure it passes now that the bug is fixed;

5. Revert the fix and run the test to make sure it detects the bug;

6. Add the test to the test suite and checkin/push the bugfix.

I prefer this order because if I make a mistake in step 1 I usually realize it in step 2, where I feel like you might not realize it until step 4. I'd be curious to know if there are advantages you know of to the order in which you do it.
"•Firefighting? That was probably a combination of several things: the fact that we were running MRI and leaked memory, or the fact that the ops team was 30% of a single guy."

:o
That may explain why they had spam and security issues.
Cloud Haskell: work-stealing, master-slave and work-pushing
Do you have anything to say to those users, as an operator of a large SaaS provider that deals with fraud/spammers daily?

A quick point of order: I am definitely not "an operator of a large SaaS provider" ;)

Now, affected users can get in touch directly with me - the owner of the website - and I generally respond in a matter of minutes. That's way better than a lot of the big companies out there, but I recognise it's a result of my small size.

I agree that it sucks for the legitimate users, but for reasons I won't go into, the site in question is never going to scale to anything mass market.

Also, as I said, my time is limited, and I'd much rather be spending my time on stuff that improves services for users and makes a better product than on writing systems to tell the difference between spammers and legitimate users. Remember, my scale is tiny and, frankly, if I lose a few customers because of this, that's money well spent.