skysight-inc/HackerNews huggingface dataset:
Other than assembler for games, I have never chosen a language based on speed of execution. Anyone else?

I once moved a major processing step from the database to C++. Execution time went from an estimated 1 week to a measured 5 minutes.

Why was the difference that big?

The fastest path to get a piece of data in the database is to do a binary search on an index that tells you what row in the table has your data, and what page of memory it is in. You then go to that page in memory, locate the row, parse it, and pull out the information of interest. All of this is controlled by instructions in some sort of microcode.

The equivalent data path is C++ was, "follow a pointer". Furthermore the C++ representation of the data was so much more compact that I was frequently managing to stay inside of CPU caches, versus the database approach where I was fighting to stay within RAM limitations.

Sometimes performance really, really does matter. (This is a rare circumstance.)

As for JavaScript, the reason that it beats everything else is that there is serious corporate muscle (eg Google and Apple) behind optimizing it as much as possible.
How many hashes are present in both stripped and unstripped form?

$ cat combo_not.txt |cut -c7-40 |sort |dups |wc -l
670781

That's ~10% of the total.
The point is that LinkedIn haven't even confirmed they know how the passwords were stolen (they haven't even confirmed they were stolen, yet).

In that case, when you change your password and feel all secure again, what's to say the hackers haven't just lifted your new hash as well?
But did she get that business from elance or from other contacts?

I signed up for elance, looked at a few projects, and found myself seriously undercut (and I don't want to compromise on quality or bid on projects over my head).

If I do get some projects at what I believe is a correct market rate (and it's not very high), it probably won't be thanks to elance (which looks like a great website, don't get me wrong).
Did America's Cyber Attack on Iran Make Us More Vulnerable?
Good read with a refreshing POV!
Getting started with SQL Server on private cloud
It is a Sun branded monitor with really broke-ass EDID, and I was using it just fine before having manually (but with a GUI) set the resolution and refresh rate.
I thought it was part of who the author is. He doesn't strike me as a particularly serious person, so booing the security researched who has become a "star" of Black Hat in the eyes of the rest of the applauding audience sounds like a funny and friendly thing to do to me.
I've yet to sign up to the service (until an alternative means of authentication is available), so I'm not sure if it's an obvious question but I'm curious about the metadata required to render a script as a recipe. Is this inferred from the script itself or is it manually input at some stage in the script's creation? I'm referring to this type of thing, where the bracketed words are treated as parameters:

"Launch the [music] app when I am [walking]"

Also, are these parameters bound to the script at runtime or is a new script generated for each variant?
I agree with the consensus that this is a nifty control. That being said, I have had major performance problems when using it with a large set of items in the choice list. Any more than a couple hundred, and it's gonna chug.
I dropped cable tv last year, haven't looked back!

I still pay the cable company for my data connection. They will change their business model, the only question is will they survive the changes brought on by new technology. There current business model has very little chance of working in the long term.
Mobile Safari has pretty weak HTML5 Audio support. Apple limited it to user generated events, so for example you need to trigger play() from a touch event. In this case it is triggered by a self executing function that runs after onLoad and will not be followed by Mobile Safari. The demo could be updated to offer a start button and then it could work on Mobile Safari. They would also need to not use ogg as that is not supported by Mobile Safari either.
Agreed. I came here wanting to say I thoroughly enjoyed the writing style. Technical details coupled with great entertaining writing? Count me in. I already read enough dry technical tumblrvomit as it is.
Team-focused Culture to learn from - Spurs admiration starts with Admiral
> Got to love that sandboxing

The browser as application can also be exploited...
Shorter and, IMHO, a bit simpler Perl one-liner:

perl -MDigest::SHA=sha1_hex -le '$h = substr( sha1_hex(shift), 5 ); open F, "<combo_not.txt"; print "found $_" for grep /$h/, <F>' password

Or:

perl -MDigest::SHA=sha1_hex -lne 'BEGIN {$pw = shift} $h = substr( sha1_hex($pw), 5 ); print "found $_" if /$h/' password combo_not.txt
There are tons of superior wireless chips out there now that accomplish this.

Better yet just run a cable. You have to power the thing anyway.
We've been using this for what feels like 9 months with Picplum. One thing we did is for on select menus with few items, we hide the search box:

$(".recipient_relation").chosen disable_search_threshold: 10

And if in Backbone you'd like to have it preselect the value, run something like this after render (so you don't have to add much logic to your handlebar template for the markup):

@$("#address_country_field option").each ->
$(@).attr "selected", "selected" if self.model.get("address_country") is $(@).val()

It'd be nice to see some folks share their menu styles. The gradient on the select doesn't quite fit in with all site styles.
the map points seems really off. For Canada for example there's folks that are based in Edmonton, but are treading water in the middle of Hudson Bay. Also is there a reason why the map is so zoomed out when you click on countries?
Have you ever come back from a conference, emptied the 70+ business cards out of your pockets and thought to yourself, "Wow, it's going to suck going through this..."

If so, you're likely to agree that the area of personal contact info exchange needs innovation.

The problem with today's digital options is that they adopt a fundamentally broken approach. The solution is not to take a business card and throw it on a smartphone screen and say, "Hey! It's digital!".

Instead, a totally re-imagined model that doesn't carry the baggage of old paradigms, and that makes the old model (business cards) an obsolete afterthought, is required.

Good news is, we're already building it :) Beta's started.
In Chicago, the law says that landlords must accept a "reasonable sublet." So it's not even up to the landlords.

That being said, running a BnB is different from subletting. With subletting, you enter into a long-term (i.e. a month or more) lease agreement with your tenant. With a BnB, you have more people coming and going for much shorter stays. Here's why that distinction can matter.

In probably every US jurisdiction, the law distinguishes between apartment buildings and hotels. If I own an apartment building, I can't just let my leases expire, hire some maids, and starting renting rooms out by the night.

For starters, there's zoning. Hotels generally require a different zoning code than apartment buildings. If the local government catches you in flagrant violation of zoning laws, expect trouble.

Next, there's permits. You need a different set of permits for a hotel vs an apartment building. Again, this would usually be enforced by the local government, and they will come after scofflaws. (Permits are a source of revenue for them, so they have a strong incentive.)

Then, there is the building's mortgage, if any. It's not unusual for mortgages to have restrictions on how the building is used. Will the bank foreclose on you if you start running your apartment building as a hotel? Possibly not, since they make more money collecting their monthly payments than foreclosing. But it's still a risk.

Those are three big reasons why a sublet is different from running a BnB out of your apartment. Will any of those things come into play if you, a landlord, look the other way about one of your tenants who's on AirBnB? Hopefully not. But the problem is that if you show you're willing to tolerate it, and it gets out of hand, then you might have to share the blame. Which is why it might be prudent for landlords to crack down as soon as they find out about this type of activity.
TL; DR: Postgres will just fail to start if shmmax is too small, and the logs will reflect that. On Linux, you'd say:

# sysctl -w kernel.shmmax=N

Where N is the desired maximum shm segment size. (You'll also want to increase shmall, to accommodate shmmax, and any other shared memory requirements you may have.)

EDIT: Of course, to make the change persist across reboots, you'll also want to add it to /etc/sysctl.conf. I've forgotten that part more than just in this comment...
Not another one of these...
I think right now, HBO makes more money from selling to the cable companies than they could selling directly to people. The cable companies are very good customers of them, and I think that HBO as a company is better off not taking the money of people that feel entitled to their content.

HBO Go puts the technical infrastructure in place to eliminate the cable companies as customers if this ever changes, so they have some chance of surviving the likely collapse of the cable industry
MobiCart captures a wider audience with the launch of its HTML5 web app platform
A Collection of Audio Interviews with the Legendary Ray Bradbury
I do not think that means what you think it means. Although maybe.

Perhaps you meant "allegedly" or "apocryphally"?
Only if HISTCONTROL is assigned 'ignoreboth' or 'ignorespace'.
I imagine Javascript's advantage is because V8 is a JIT compiler. It's unfortunate LuaJIT is not shown since it would probably be around the same level or higher than V8.
Impressive.

On point 5, thing is as a programmer (any career actually) with years of code experience, you just know the possible cause for any bug, and what function/class is at fault.
Wpcomfs – A WordPress.com Filesystem
> i'm unable to code on the train any more which used to be brilliant

i imagine the train ride would be full of interrupts, maybe you could convince me otherwise about your commute system
Hackers Need Our Own Everything
Crazy: I had the same landlord. I drove by his management office on Box Street last week and saw it was turned into a hotel, and now I see the luxury lofts listed on Airbnb.

He's not a normal landlord, he's a shark. He owns several dozen buildings, prefers paying fines to getting permission, and once had our whole building manned with thugs to prevent a city agency from entering the building and confirming that he was constructing a unit on the roof without a permit.

He even connected several of his buildings' toilets and sinks directly to storm drainage pipes, dumping raw sewage straight into the creek (http://bit.ly/L3f8Ey).
Crazy: I had the same landlord. I drove by his management last week and saw it was turned into a hotel, and now I see the luxury lofts listed on Airbnb.
You'd think it would be AirBnB. What is "airbnib" supposed to mean?
Braille would be easy to implement too, both Android and iOS control fonts at the system level (well, usually on Android) so all you have to do is add a Braille font and you're done.
Turn Your WordPress Blog Into A Business Model Canvas App
Crazy: I had the same landlord. I drove by his management office on Box Street last week and saw it was turned into a hotel, and now I see the luxury lofts listed on Airbnb.
One year old baby thinks magazine is an iPad that doesn't work
Most JavaScript implementations are faster just due to the amount of R&D dollars poured into them due to browser competition. Ruby, Python, and PHP could (and should) have runtimes competitive with, say, V8, it's just that nobody has built them yet.
Odesk and the others aren't a good indicator of the average hourly rate for this sort of work.

Someone charging a freelance rate of $30/hour in north america for iOS work is either not invested much in learning the platform in-depth and therefore won't be able to do much more than populate table views and wire up transitions, or they'll tackle a complicated project at that rate and make a mess for someone else to clean up.
The point is, they're not going to "announce" bird's-eye, they already have it. The announcement will be something else.
Also, it is unfair to the other tenants who have to deal with the coming and goings of complete strangers.
I remember this too... pretty sure it had something to do with reddit.
I'm thinking this list is from closer to a year ago, I changed my password shortly after the MtGox hack last year and this hash is for my old password that was compromised during that time period.
I've been doing this full-time for about 2 years now, with some products that have taken off and others that have entirely flopped.

I agree that the "easy money" (e.g. air horns and flashlights) is entirely gone, but there is still a ton of opportunity available if you're willing to put in the work. The type of work necessary now is 1) different than it was 3 years ago and 2) different than what would be required of a web app. The App Store has evolved quite a bit over time and the bar seems to be getting set higher and higher.

In particular, user experience, design, and polish are supremely important on the App Store. I think unfortunately a lot of indie developers (especially engineering types, including myself at the start) tend to overlook this aspect - either from lack of time, energy, or budget, and as a result they make a poor first impression and never really build a following. On the App Store, it's more difficult to ship a MVP and iterate because users expect quite a lot. (You can still do it, but the 'M' might be in different areas than you would expect.)

On the other hand, there are a ton of iOS devices on the market right now, that number is continuing to grow, and that means there are many many users willing to put down money for your software. Apple takes care of the details of collecting payments and makes it easy for users to buy your app.

That said, there are definite tradeoffs to selling via the App Store vs selling on the web.

- You're definitely cognizant of the fact that you're playing in someone else's walled garden, and this can bite you if you're not careful.
- Like you mentioned, the sales funnel is a black box, which means it's very difficult to measure or optimize.
- Traditional advertising methods (e.g. AdWords) typically don't work cause app prices are too low.

I've also done both and prefer the App Store by far - business aspects aside, there's just something really fun about making iPad apps.
Dandelion Wine was the story that taught me that sci-fi didn't need space ships or robots to deliver its essential explorations of humans and their relationships with technology. I must have read it 15 years ago, but I still remember the wistful dialogs about the smell of grass clippings in the summer and the roar of lawnmowers, gone forever in a world whose only sci-fi tech was grass that never needed mowing.
The "What's Hot" list is on the device. When you go to the Featured apps, it's a gray button at the top.
Twitter gets a new logo
GroupDocs June 2012 Newsletter
"Don't think. Thinking is the enemy of creativity. It's self-conscious, and anything self-conscious is lousy. You can't try to do things. You simply must do things." - Ray Bradbury 1920-2012.

RIP.
In Chicago and iirc San Francisco, landlords are required to accept reasonable subletting arrangements; no-sublet clauses are unenforceable --- but requirements to get the approval of the landlord are.
In raw numbers P2P traffic continues to grow considerably, it is just falling in percentage as other high bandwidth services become more common.
I had the same experience. Pretty frustrating when you don't know what's going on (I'm a pretty regular visitor and missed the OpenID thread) and then want to comment on something and BAM! You have to create a new account in order to do so.

Maybe a separate page for changes to this site? That way, if someone misses it on the front page, they don't get hung out to dry.

*updated for clarity
They don't have to drop HBO, they just have to stop advertising it. A large fraction of cable ads I see have the not-so-subtle message of: "BUY HBO! IF YOU DONT HAVE HBO THAN YOU ARE MISSING OUT AND YOUR FRIENDS WILL THINK YOU ARE UNCOOL"

How much revenue does HBO get from that marketing?
Buying paper clips won't bring a significant improvement to my office productivity--less than 1%, I would say--but it's still true that the primary reason for buying paper clips is to improve productivity. It's just that paper clips are so cheap compared to the value of my total office output that it's still worth buying them for a tiny improvement. This is all still true if I also occasionally use the paper clips to construct tiny toy ninjas for fun.
Apple pushes for ban of HTC's Android devices in the US
Awesome! Might need some work on mobile devices though.
I was introduced to Ray Bradbury through The Ray Bradbury Theater tv series, in 7th grade. A fellow classmate, Eric Johnson, was in an episode and so we watched it in class. I enjoyed it - enough that I wanted to see more. I only saw a few more episodes, but from that I took out 'Something Wicked This Way Comes' movie from the Library. I enjoyed that, and ended up diving into some of his written stuff as well. While I didn't read everything the man ever wrote - his work is certainly credited for helping me find literature outside of the normal stuff we're given in school - or what everyone else was reading at the time (David Eddings).

Sidenote: Eric Johnson went on to play the young Brad Pitt in Legends of the Fall, and Lana Langs boyfriend in the first season of Smallville. I hated him in junior high - he was exceptionally rude to everyone. What's weird, is I was still happy for the guy, whenever I saw him in something new.
Well, I'm not sure what the threshold is for formal announcements - I too would like it if they mention the API opening up. But street view also looks significantly overhauled there.
PHPStorm and Symfony2
I figure the awkward time zone difference for most U.S. clients has to count for some kind of haircut.

To be fair I hire a lot of developers on a contract basis. If you were in Vietnam (which is pretty much always off when we're on in SF) I would expect a discount. If I'm paying SF rates I'd rather have you in SF. There's a very real communication and feedback loop in design and dev that is difficult to deal with when folks are on the other side of the world. (Heck I expect a developer in Cleveland to be less expensive then one in SF)

All that being said, and to Patrick's point. One thing I learned running a consultancy was to never assume someone is looking for a less expensive solution. Once we stopped doing this and started charging what we felt we were worth, a lot of our cash flow issues started magically clearing up.
What if the Internet ran out of room? In fact, it's already happening.
What Captures Your Attention Controls Your Life
from: Paul Graham

to: Fred Wilson

date: Fri, Feb 20, 2009 at 10:00 PM

subject: airbnb already spreading to pros

I know you're skeptical they'll ever get hotels, but there's a continuum between private sofas and hotel rooms, and they just moved one step further along it.

[link to an airbnb user]

This is after only a few months. I bet you they will get hotels eventually. It will start with small ones. Just wait till all the 10-room pensiones in Rome discover this site. And once it spreads to hotels, where is the point (in size of chain) at which it stops? Once something becomes a big marketplace, you ignore it at your peril.

--pg

http://paulgraham.com/airbnb.html
Or you could just feed "sha1 <password>" to the duckduckgo.com search box and it will give the result.
There are lots of hotels listing on airbnb. And yes, some look like they were intended to be apartments.

NYC hotel laws are strict. Its very possible what the landlord is doing is illegal. If the OP was staying in his room, may be it qualified as a bed & breakfast. I don't think the landlord would meet that qualification.
Ask HN: Suppose you just got hired by a social netowrk company
Suppose you just got hired by a social network company (no, it's not facebook!), you have good knowledge of machine learning and you have some time left at work.
What is the coolest thing you would do with those data WITHOUT GET FIRED?
What would you try to predict?

For obvious reasons I created a fake account.
Because kidney function is damaged by pressure but its control mechanisms are governed by osmolarity (flow). A high pressure, low-flow kidney will send signals to the body to increase BP further, until the kidney essentially annihilates itself. You've got to unload the kidney down to a reasonable level, while keeping sufficient pressure to perfuse the heart and brain. In the setting of cardiovascular disease (stiff pipes with reduced cross-sectional area), the safe range becomes progressively narrower.
Supermassive black hole makes a break for it, escapes its galaxy
We're speaking about a very specific attack here: bruteforce. And I'm speaking about a very specific type of "salt" (which could probably be called something else, since it's not the same as normal unique-per-password salt): large, database-wide string of random bytes.

If every password is padded with such a string before hashing, computing the hash would be slower. Obviously, it would be slower because you would have to process more data. An interesting question is whether this would also make it less parallelizable by the virtue of having more information than would fit into GPU cache.
You can compile PHP to C++ using HipHop (https://github.com/facebook/hiphop-php)

In my opinion each language is a tool and all have their place. Knowing what each can and cannot do is more important than which is faster. It also comes down to preference as well. If you are use to using PHP, then continue to use it. Would you use PHP for system admin tasks? No, you would use python or ruby.

Can't we all just get along and agree to stop bashing languages when comparing them to each other?
Don't forget instastocks!
That looks amazing, I wonder why it hasn't been commercialized yet. Too expensive?
I read cschneid's comment twice, and nowhere to I see where he or she specifically recommends using the username as a password; he or she simply recapitulates the logic behind using a unique salt value for each stored hash, and describes using an additional non-unique value which is not stored with the passwords ("pepper"), which is a new and interesting idea, at least to me.
If people are finding their unique password's hashes in the database, that's pretty damning evidence that a security breach has occurred.
Why not just write out your email address? Why add a barrier if you're looking for work?
On the contrary,when you get better at coding, just like mathematics,whe you compare your codes with others programmers and are comfortable with the similar code patterns and habits, thats one of the indications that you're becoming a great programmer, just like mathematics.
> [My company's ATM] was just the most conveniently available to purchase on the web and be delivered to his home. Note to our salespeople: for security purposes, please make it more difficult to purchase our product.

In this sentence, the author mistakes obscurity for security.