skysight-inc/HackerNews huggingface dataset:
why is Ruby preferred in the startup world?

I'm not sure it is. If you look at the polls there have been here on HN, Python often places better than Ruby (one example is https://news.ycombinator.com/item?id=3745084, but there are other polls as well).
How is this even remotely relevant to what I asked?

And haven't you (or someone else from your company) had posted the exact same comment earlier under a different parent, a comment that is now gone? So presumably you just "moved" it here to get it higher up on the page. That's tacky. Don't do that.
Using Online Ads to Generate Bitcoins
tested on iPhone 5
Github rival RhodeCode hits version 2.0 and starts making money
The Borowitz Report is purely satire.
الرئاسة تعلن موت الحوار الدبلوماسي مع الاخوان | التيار
PyPy already inlines as it traces, so it might actually not have any effect, right?
In my opinion, "accepted" is not the most precise word to describe it. If telco companies would say at the beginning: "You can buy mobile phone from us, but the part of the deal is that you will be tracked. Do you accept that?" If most people say Yes, that would be accepting it.

The reality was, that it was slowly revealed over time that the tracking is being done, and most people realized it only after mobile phones became a norm and very hard to get rid of.
The difference between ios7 and previous versions is not that ios7 is logging. It's that ios7 is telling you that it's logging and what it is logging. Location Services always worked this way - it just wasn't exposed to the user.
I like the term "universal speed limit" better than "speed of light". :)
A poor attempt at humor?
According to Mr. Bezos, “I keep telling them, I don’t know how it got in my cart. I don’t want it. It’s like they’re making it impossible to return it.”
Yep, creating an awesome Bible app is doable. Getting people to download and use it, that's the hard part!
Sounds more like a pissed off friend than a sophisticated attack attempt. You can change your facebook login email to a new email account and keep it private to stop it.
I think he means instead of using this approach, use pypy
The article says:

> Next, Walker asked some unknown writers to each write a short story that contained one of the objects.

so no, the price jump isn't because of stories written by someone established. But I do think it likely that buyers thought of themselves as buying a piece of writing more than an old pair of nail scissors (or whatever). What was sold was the object plus a printed copy of the story.

To my mind, this largely invalidates these experiments as evidence that things are valued more when accompanied by stories. (They probably are, but this isn't good evidence.) Perhaps what it actually shows is that a short piece of writing is valued more when accompanied by an appropriate artefact. Perhaps what it shows is that you can often find someone to buy a short piece of writing for a few tens of dollars. Perhaps what it shows is that anything unusual and new will attract some attention -- in small quantities.

I'm reminded of the "Million Dollar Homepage" from back in 2005, recently featured on HN. It was a clever idea; the creator found enough takers to make his million dollars; but subsequent attempts at recreating the phenomenon weren't so successful. No doubt it's possible to make a few thousand dollars a year out of selling tchotchkes with stories. That doesn't tell you anything about whether you can make much more from a larger-scale tchotchke-selling business by attaching stories to everything. Maybe you can, maybe not.
I will always look for a book on amazon (as I know, from working for a publisher that amazon demand cheaper books). As a consumer why would I act any different?

If you push an update, I can buy that as well on amazon (and still only spend $14.40 total)...

EDIT:

1/3rd of the product? do you mean there is only 1/3rd of the book? or are you referring to the formats? That is an odd way to describe the product. I would say the product is your knowledge, not the paper/format it is produced in.
I started using it just to see what the experience was like. My conclusion is that it's brilliant. It makes refactoring a much speedier experience which you can now do without the fear that you might with a straight JS codebase.

A real aid to productivity in my opinion. And I love how you can turn up and down the typing as you see fit.
he's right, you can cover more code using integration tests with a static typed language, unit test are then testing the functionality of individual classes.

especially for testing return types as C for example you assign those.

In C it's more popular to write example code which uses the library, and the errors are spotted at compile time.
Yep, I realized that Google Now (aka the Google Search app on iOS) tracks your location only when my Google Activity reports started reporting Google Latitude data. At first I was confused since I haven't used that service since day 1 of launch, then after some digging around I noticed the search app is integrated with Now on the iOS and enables location services on tracking your every movement.

And to add to this point, a lot of apps seem to do it. I was wondering why my battery was draining so frequently and I took a look at my location services list and I noticed that Foursquare was another culprit that tapped into my location services very frequently.
Big news. Did they just start using Chrome at The Guardian?
Getting chatty with Meteor.js | 12 Devs
Earth's Life-Forms Collected to Aid in Genetic Research
I noticed this the other day. It's really ugly looking and a waste of horizontal pixels.
I flagged it. With a bit of luck it'll be gone soon.
Study wasn't done in 2010. That's just when that transaction shell game showed up from the perspective of the study. Do you have an up to date statistical analysis of the bitcoin transaction record to share?
Solar powered laptop runs Ubuntu
transportation to the colonies? actually now I think about it...
What coding mnemonics do you use?
What weird coding things do you have to use statements for or other weird tricks to remember? I can never remember < or >, and only remember that < is less than from years of typing (i=0; i<30; i++).
Same as reported here: https://news.ycombinator.com/item?id=6167331

Interesting to see the Guardian newspaper quoting someone from Hacker News.

Same is also true of Firefox - find the right path through the menu structure (different for each version) and reveal all your passwords.

Simple enough.
True, but we all know from marketing/propaganda lessons that frequent repetition is the only way to drive a point home in most cases... :)
True.

I'd say that it's the responsibility of those familiar with technology to reveal what possibilities it opens up.

And of course it's the responsibility of the Press to give these points the visibility they deserve.

And one problem of the past was probably the disconnect between tech people and Press people (tech was not understood by the people behind the presses). Today, we have tech bloggers and social media. Let's hope this will make up for something.
Because everything happens so much, have a look at the most popular horse_ebooks tweets http://favstar.fm/users/horse_ebooks
5 is not entirely correct.
6 is not true, serialisation in dynamic languages is correctly done with type definitions.
7 is not true at all, mainstream statically typed languages (like C) much more commonly overflow silently. Look at Python, there's no way to lose precision through arithmetic, as types get promoted on overflow correctly.

In general, C's type system is so weak as to be both useless and a hindrance.
This looks like scripting to me, not describing the desired state of a system:

% we can install by running apt-get in shell
meet(python, linux(_)) :-
% could also use: install_apt('python-dev')
bash('sudo apt-get install -y python-dev').
Well, given that Clash of Clans has been around and in the top 3~ grossing consistently for the last year, and Candy Crush has been at #1 for a year and a half, and neither show any substantial signs of slowing down and are improving on game mechanics and monetization strategies I would take your wager. These apps are very international and in the App Store terms, a year is quite a long time.
Don't think of it as a unconstitutional surveillance system. It's more like a mandatory backup system for all electronic and voice communications (one that only the government has access to).

I'm sure that it will never be abused.
Underscore-lua: a utility-belt library for Lua
Hit me up directly (address in profile) and I'll sort you out with a free copy of http://leanpub.com/freelancedeveloperbook - it'll be food for thought, at least
> Interesting, but now I'm even more confused. How can we possibly explain that a (go client -> go server) (which are in separate go processes) performs far worse than (go -> scala server), given that the go server seems to be better when using the scala client?

I've been curious about that as well. The major slowdown seems to be related to a specific combination of go server and client. I don't have a good explanation. I'd love to hear from someone familiar with go internals.

> go server + go client 22.02125152
> ...
> scala server + go client 4.766823392

That's roughly equivalent to my numbers.
I think what he's trying to say is that the Mac already has a preinstalled version of python which would allow you to get started and programming right away, however if you want to install pygame you would need to install a newer version of python which is more complete.
.unshift - makes it bigger. Longer word than .shift

.shift - makes it smaller. Shorter word than .unshift
Is the link down?
Using it on some new functionality at http://rplan.co.uk, pretty pleased so far. The language is great, with some really neat features such as using interfaces for structural typing (http://en.wikipedia.org/wiki/Structural_typing) and declaring properties in the constructor definition. The ability to progressively type code is obviously quite nice too. Coding speed is typically quicker than JS because the compiler catches bugs that might take longer to surface (especially when integrating components.) Refactoring is also easier thanks to both the type system and tool support.

The compiler speed is OK (well, 0.9.0 wasn't, but 0.9.1 should be back to where it was before.) The main pain point is that we usually want to type any 3rd party JS we interface with (e.g. Angular, Backbone, Highcharts etc.) though https://github.com/borisyankov/DefinitelyTyped is helpful with this. No major complaints as of yet.

It's still perhaps too early to tell how long MS will be supporting it. Windows 8 has a JS interface which is comforting, but they could turn around and decide to stop development on it. That would be a great shame, but the code is open source, the compiler works well as of today, and the generated JS is readable enough that it can be edited.

We're slowly migrating over from Coffeescript.
WxWidgets is some regards similar Win32 MFC. (And anything is better than MFC)
Seating Bias in Airplanes & Theaters - do subconscious biases drive your users?
1. hg-git, both libraries were started by githubbers to get the market of people-who-want-to-use-hg on github

2. interfacing with git repos from python, doing so through subprocess is less than enjoyable (and libgit2 basically didn't exist at the time) (and requires C code, which may be a chore e.g. on windows)
Opsview Patches for Nagios 4
Even then people were overwhelmed by the phone functions and could not navigate the directory when they needed something quick. With people having installed tens of apps nowadays, this problem is even worse...
Different Java OutOfMemoryErrors explained
Show HN: TrackingDiet.com (Coupon Code: hnnews)
The parroted issue people often raise is it makes little/no use of newer C++ features nor the "STL". Not a very good argument though imo. I like Qt.
I never remember that . = class and # = id in CSS, so I use "say no to drugs" to remember that "hash is not class".

Perhaps a mnemonic which only really works in the North East of the UK where 'class' is colloquial slang for 'good'. Also not very good if you smoke pot, I guess.
You might try a visual trick. Note that < and > look like "arrows" and "point" in a particular direction. There is a small end (the tip/point) and a large end (the open end). The vertical size of the point is "less than" the vertical size of open end. So if the point comes first (reading left to right) then the point is "less than" the opening (and the symbol means "less than"), but if the opening comes first (reading left to right), the opening is "greater than" the point (and the symbol means "greater than").
.
The disadvantage of Twitter's approach, though, is that it requires the thing that holds the private key to connect to the internet to verify the request. This increases the attack surface (and is potentially a pain if your phone doesn't have internet access, for example if you have no mobile reception but want to use the Twitter web site on a PC with a wired connection). I've been wondering if it's possible to have an offline system like TOTP that uses a private key rather than a shared secret.

EDIT: Also it's a pain when Twitter's main web site is working but the bit that handles responding to approvals from the mobile client isn't, like, erm, right now.
indeed. And the worst part imo is: it is simply too late now. Half the planet seems addicted to their phone and won't give it up no matter how deep it goes into your private life.
Definitely think about it before just doing it though...

Disabling compression can break some apps. Especially when they rely on huge compression ratios for text (5-10 times ratio is common for with much json for example). So that is not an app agnostic work around. For example, a 100k of json request, can turn into a 1MB json request. The more data required to send, the more chance of error - especially on 3g/2g networks.

For many high end projects, just disabling compression without regard to testing or having an idea of what the application is doing would get you fired or taken to court.

Not only would this break apps, but it would also lose business in that there is evidence from Amazon and others that every 100ms extra latency can cost 1% in sales.

From SPDY whitepaper: "45 - 1142 ms in page load time simply due to header compression". Remember that headers use the upload part of the link... which means too many headers and you can saturate the upload, therefore making the whole internet connection stall for everyone using it. Common upload limits are only 5-10K/second, so excessive headers combined with many requests can easily DOS many internet connections.

I spend a lot of time optimising websites for these reasons, and disabling compression could add 20 seconds of load time for a good percentage of users.

So, for many apps, turning off compression is no solution at all. You might as well just disconnect your app from the internet - that will also give you a secure and broken app.

A proper risk, and impact analysis should be done first. Too often quick hot fixes to security issues just break things or even make things less secure.
They should have put up a Chinese wall.
Not the first distortion but the first 'fuzz'. Distortion is created by amp saturation at high levels while fuzz is created trough transistors which produce nearly square waves (http://www.geofex.com/effxfaq/distn101.htm fig.4)
Seems Paul "rediscovered" what Buddhism teaches us: You need to loose your ego to achieve Nirvana. With the difference that the Buddhists also tell you a method for going about this... :)
It's philosophy, not fact. Take it with a grain of salt.
> When I moved out to California, it was really depressing to see the rows and rows of townhomes on postage-stamp lots.

Never move to the UK
Hackers Are Coming for Your Tap Water
Coach Crossbody Bags Outlet|Coach Factory Outlet
C has very simple types and allows for untyped operations very easily. Say you cast some ptr of type void* to Foo*: at least in Python you would get a dynamic type error if the cast was incorrect; in C you are lucky if your program immediately crashes.

C has some static type safety, and virtually no run-time type safety. Java on the other hand, has a lot of static type safety, is completely memory safe (barring bugs in the implementation), and checks all coercions dynamically. Python has what Java has dynamically, and nothing statically, but it is still 10 times better than what C has!
Jan Lehnardt Talks Hoodie at GlasgowJS
On an almost completely unrelated note, there's also Mercurial Core reimplementation in C#:

https://bitbucket.org/hglab/hgsharp
I was lucky enough to attend Hurtwood House - I really wanted to do proper Music A-Level, but they didn't offer it, only music tech.

In retrospect, I enjoyed it far more than I would have pure music, because I was right in the middle of my guitars-are-awesome phase - a studio was just an elaborate set of effects pedals to me.

Hurtwood, anyway, had a ridiculously awesome setup - they spend much of the (substantial) school fees on Media, Theatre and music tech kit, so full digital edit suites, a huge theatre with proper cabling and sound systems, underground recording studios with proper soundproofing and huge mixers for A level projects (In my day, a 24-channel soundcraft monster, plus numerous physical compressors, EQs etc - I remember a particularly expensive white valve-driven vocal preamp! Now I believe their kit is just a digital desk + Logic Pro.)

When I left for Cambridge, I didn't make it onto their "wall of fame" - because Cambridge isn't an Equity-approved drama school. Seriously.
Google announces 'deeper' search
The inspiration behind Hipster CEO.
Android and the Eternal Dying Mobile Browser
Because 99.99% of people wouldn't use that switch and then would call tech support because they accidentally switched it off and now their camera wont work. It already happened with those stupid WiFi hardware switches...
Final Real World OCaml beta; the good, the bad and the ugly
My iPhone 4 does not have this, so it looks like it's a 4s-and-above thing.
Original article: http://www.dkriesel.com/en/blog/2013/0802_xerox-workcentres_...

And the discussion: https://news.ycombinator.com/item?id=6156238
This also applies to professional growth. People often have a hard time receiving negative feedback because they experience it as an attack on their identity/ego rather than as an opportunity to learn.

The ability to take feedback constructively is probably one of the most important traits to hire for.
> And no, saying your K-nearest neighbor algorithm's got it covered is not going to be enough.

This is sheer assertion. What do you think is better? Uber - where you can see your driver's name and photo, know that he has a five star rating with 47/50 positive recommendations, and know that a third party is tracking your GPS location at all times...or the city government's antiquated taxi medallion service? Ditto for Airbnb.

> designed to protect people

Let's be real here, city government regulations "protect people" in the same way the TSA "protects people". Which is to say they don't and pretend that they do. You're responsible for protecting yourself. The police can't protect you from wandering into a bad neighborhood or even stop you from getting mugged; they can only clean up the mess after the fact. And no cab driver license will replace exercising your judgment before you enter a cab. Moreover, to be "kidnapped by a cabby" is a rare event. It's like soiling our pants over the threat from terrorists, which we've done quite a lot of over the last decade. Enough already.
> No, deflation is bad, period, for the economic actors who depend on deflationary currencies,

USD (or GBP or AUD etc) are deflationary relative to technological items, such as computers. By your theory, no-one should buy such items. In reality, they do.

I think this shows your theory is wrong.
Australia's first phone accessories vending machine
Here's more code for running your own: https://github.com/longears/horsey-books
It's running the (NSFW) bots @fetlife_ebooks, @obscuregenres, and @snes_games.

Lately I've been tweaking and curating the output before posting it. It makes it a bit less magical but much funnier. It turns out that seeding your brain with random starting points like this is a potent creativity-boosting technique.

I tried using Bayesian spam filtering to classify the results as Funny or Not Funny, but it was unable to detect funniness just from which words were present in the message.
3 Ways To Automate Your Social Marketing
I don't know if this is common, but I visualise numbers on a line which makes it amazingly easy to use the 'arrows' metaphor

< >

1 2 3 4 5
Win---> "Kyle Wilhoit, a 29-year-old Missourian working for a cybersecurity company called Trend Micro, has spent the last year building fake water plant control systems that mimic the online control systems used by real American utilities."
OS X apps run on Linux with Wine-like emulator for Mac software
What a wasted opportunity. They have a good, linkbait worthy title yet it looks like there's not a single actionable link back to their search engine. Upon closer inspection, the links are there (they are the images) but as a reader, I expect that when I click a link labeled "Click image to expand", that the image gets better. That's not what happened - I was taken to the page showing the search. Why not just have the link to the site visible and easy to see?

I'll let someone else talk about the tongue-in-cheek attitude of "Our search engine is what you should use to do harm to others. We think that's pretty cool and want to encourage you. Here - have a tutorial that will make it easier for you!"
The clearest path to entrepreneurship is starting and running a business - e.g. mowing lawns, selling tee shirts, etc. The blunt truth is it also helps to come from wealth and have entrepreneurs in the family tree.

That's not to say that there are not other paths, but entrepreneurship works well in the Bill Gates model - he and Allen were in the software business in high school.

A business which fell out of their passion for programming. If Gates had followed the money as a teenager, he probably would have gone into the family business - law.

Good luck.
On all my devices this was defaulted off. I didn't turn it on via settings screen, but in response to an early alert box asking if OK to keep track of usual locations to help compute travel times. Agreeing turned this on.
Creatine? Creatine is not even absorbed unless you do a strength workout several times a week. And it takes some for your stomach to get used to it.
Should this "identity" definition also include possible (conscious) vested interests in the subjects of these discussions? E.g. when people defend various corporations against their better knowledge, simply because they own a few shares or their business depends on them. I suspect this to be the case frequently when, for example, Google's wrongdoings lead to heated discussions here on HN and elsewhere.
DEFCON: The Documentary
Give them a break. It is not prolog had been hip for a long time. Using it more idiomatically will take some practice, maybe a few web frameworks and a couple of package managers.
Both iPad and iPhone iOS 7 betas asked me separately about this feature.
I guess you aren't aware of the dozens of 0-day exploits to the JVM that were released last year? Since Oracle took over, Java's security model is looking like Swiss cheese, Oracle's responsiveness to security flaws has been slow, and the fixes have introduced even more security flaws.

See here ( http://java-0day.com/ ) for some examples.
A long time ago, when the first iphone location logs got attention, we made a little web-page for people to visualise this:

http://markolson.github.com/js-sqlite-map-thing/

Blog post: http://williamedwardscoder.tumblr.com/post/15210221400/visua...

> It turns out people have no squirms dragging and dropping their private backup files - often all their files, and not just picking out the files we ask for even - onto a webpage running code we wrote.