skysight-inc/HackerNews huggingface dataset:
Haha. I had a chuckle.

Technology handled irresponsibly corrupts. Remember EFNETeers flooding IRC? Or the AOLers chatting?

Proof: http://bash.org/?21154

<NickBlasta> asl?

<Cryph> unf?

<NickBlasta> no

<NickBlasta> asl

<Cryph> unf?

<NickBlasta> u want the cyber

<NickBlasta> ?

<Cryph> unf!

<NickBlasta> fap fap

<[H]Klypr8> parlor.asf

<[H]Tongboy> lol, I come back for a minute on accident, and I see what looks like 2 aolers trying to mate

Remember when 133t speak was cool, then became uncool and then proper spelling and grammer became the norm again?
SMS has stupified a lot of people - lk u cnt u rd ths. One problem was solved (short messaging) and a bigger problem was created (adults who don't know the proper use of grammar or how to spell).

The same thing is happening in the business sphere - people want software that should know how to do their job. Inventory management? Writing out invoices? Calculating tax? Selling your product?

I believe that dependence on technology to that degree indicates the persons involved aren't capable of running their own business. If you can make a business idea work 'offline' then you have a chance 'online' - otherwise you are just betting the bank.

Good software can't make up for unskilled people. Don't blame the tools, blame the users! (HAR HAR). After all, software is much easier to fix compared to people.
How to Make B2B Content More Shareable
It's worth noting that the original article has been upvoted to the front page. Also most of the comments in this thread that portray a blatantly sexist/ignorant attitude have elicited downvotes and replies espousing a saner position.

I would like to think this indicates that the tech/IT community is maturing and finally calling out these issues and the individuals who cause/prolong them.
I'd like to be an Elon Musk. I just never seem to get anybody who takes my ideas seriously or would ever throw money at me like his investors have.

When I was younger, I would have liked to build electric cars, or ferry people into outer space, or build massive green energy farms.

Problem is, everyone I ever talked to said there was no money to be made in that, and there were many other things that were worth investing in. No matter how many numbers you showed them, no matter how hard you tried to prove them wrong just so they wouldn't be throwing their money away into dying industries and bad investments, they wouldn't listen.

I wonder how Elon Musk did it, he must have had one hell of an elevator pitch.
The value for donors is "the feeling of participation in someone else's story" (quote from Kiva co-founder Jessica Jackley[0]). It's up to recipients to tell a compelling story with their life. That's what's going to get money into the system. Tell me a story!

[0] http://www.theatlantic.com/technology/archive/2012/07/the-po...
What keeps hitting me over and over is I created something very basic, very quickly for myself and now years later people actually rely on it to run their business. I felt so guilty getting that call...I felt as if I had let this women down even though I had never met her. The site was probably down for a couple of days...how many other people did I let down? How many people lost money or sleep because I failed them?
That is how it works, especially since downvoted comments are literally harder to read.
Disagree pretty strongly with the first few paragraphs here. The vast majority of U.S. and U.K. citizens had jack-all to do with putting the fox in the henhouse; financial regulators are appointed, not elected.

But I agree with a large part of what you're saying. This is, in many ways, a systems problem and not a people problem. Even if it's a people problem at the local level, it's a systems problem at the macroscopic/scale level -- and so it's much more effective to work at the systems level than at the people level.

That's what our regulations attempt to do: put in place systems, checks, and balances, that will prevent bad behavior via incentive structures and pure mechanics. Unfortunately, some of the key systems and stopgaps in place have been vastly eroded in recent years. And I'm not even talking about Glass-Steagall. I'm not even talking about the blatant failures in oversight that allowed the banks to grow as large, as consolidated, as vertically and horizontally integrated, and as systemically important to the economy as they are ("too big to fail"). I'm talking about things like the Citizens United decision, which will only exacerbate these problems in the long run by allowing money to completely influence our political system.

It isn't the U.S. taxpayer who put the fox in charge of the henhouse. It's the fox who purchased the henhouse. That shouldn't be allowed to happen. Instead of playing a game of constant one-upmanship with financial regulations, forever trying to outwit the "financial hackers," we should start by drawing clearer divides between money and politics.
Why didn't your friend just hang up on them? If someone is that stupid, don't give them the time of day. Though, I might ping my lawyer after laughing at them and hanging up just so someone knows if I suddenly disappear.
One thing I have noticed is that immediately replying to customers causes some of them to contact you for very mundane things ("can you tell me where that setting for X is again?"), which increases the time needed from you (I solve that by increasing the time I take to reply to those customers).

As a single founder with a web app, it's amazing how closely the experience in your blog mirrors mine. However, I haven't yet gotten used to that nagging feeling when you're on holiday and you know you would really be in trouble if the system were to go down right now and you had to debug something on a laptop with a flaky internet connection. In reality, nothing more serious than 30 minute downtime ever happened to me. The site is doing really well so I don't have a money issue since, but that also means the financial impact of any serious problem is magnified as well. For me, that has made stress levels go up rather than down, I hope you can keep your cool if your site takes off. Hopefully, I can get to the point that there's so much coming in that I can hire someone, but if I look at the few service-threathening issues we've had so far I really can't see how anyone could have solved those except the person who built the system. Me.
http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial...
New startup receives huge support on Reddit
> I am so amazed every time we're able to help a child avert an absolute worst-case scenario. These cases are rare, but they do happen, and I'm grateful we have the tools necessary to keep the worst of the worst from unfolding in the real world.

Example? Because it sounds like justification bullshit.
The nice takeaway from it is that the code you wrote works perfectly well for a large number of people and is obviously stable and bug-free enough for them to use it for their businesses. Code isn't about hammering out new features or moving fast and breaking things.

And if it's written in Perl looking at the source code again might break it so I wouldn't do that.
Application Development: Objective-C Is Kicking Butt in the Programming World
You're confusing a patent and a design patent. The rounded corners on an iPad is a design patent. It's more like a copyright for a physical object and is completely different than a patent.
Because most people are lazy. There I said it.

It is far easier to let your government step in and make you do it, or more importantly make someone else do it for you.

Face it, outside of the truly poor, people will spend money on non essentials all the while some essentials go unpaid. I know professionals who do not put money away for retirement, do not go to the dentist, do not go to the doctor, do not, do not, do not. Get the idea? I love the complain of many, they don't have the time or money. Seems to me most have the money but their priorities are to smart phones, expensive cable plans, cars, or other frivolous expenses.

So why should we expect people to pool their resources when they cannot effectively use what they have? The world needs visionaries, fortunately every once in a while one comes along who has the wherewithal to act on his dreams.
Also, it isn't in as many fonts, being emoji.
I think you can walk away with a clean conscience if you offer an export mechanism.
> I've been annoyed that no one has tried to do VTOL aircraft with fans yet

The F-35B uses a fan and vectored thrust. It's not quite VTOL though. (Also all helicopters.)
> "box-sizing" has been supported in IE since version 8. Other browsers still require a vendor prefix

Interesting. The Safari documentation still lists the vendor prefix version, but the browser itself supports "box-sizing" directly, as does Chrome.
>A false negative could ruin the child's life just as easily

For example? A child being preyed on by a pedophile? What would stop that from happening in real life? Maybe we should set up cameras every five feet since obviously if we could stop it (no matter how immoral we have to act to do so) we have an obligation to, right?
I didnt like it, but a lot of friends love zsh.
You're question isn't quite clear to me. I think I have an answer, but what exactly are you asking?
As an example, the Amazon One-Click patent is a business method and has nothing to do with software.
Gurgaon Real Estate
Reddit Cracked a Mysterious Cipher That Might Be a Viral Marketing Scam
Save Huge Money on Fees at Exchanges
> and a load of real users who you could keep around if you wanted to

Not sure, currently the top story has 70 upvotes and 3 comments...
Tired of collecting old stuff? Let’s rescue ourselves from old stuff
We daily buy things and use them. And after a certain use we start thinking of buying new things. And normally waste the old things. And put them in junk yards. But do you really think it is a good idea? No it is not. There is a famous quote which says. ‘Junk of one can be a treasure of another’
Of course it isn't the common man I'm blaming - he has enough trouble paying the damn electricity bill!

This is not the fault of the common man.

This is the problem of intelligent people doing stupid things for selfish reasons. We (meaning those who understand these systems) must fight and convince the common man that regulation IS good IF the situation calls for it.

People think regulation is bad and capitalism is good. We should convince them that both are great GIVEN the correct situation. I love capitalism - I also love having my electricity stay on and stable (remember Enron energy trading in Northern California people? - dark times (pun intended!).

I merely state that regulation has a PR problem and that the people who have the ability to change that, should.
Best website design Prices,
A morbid Python script
Downvoting is disabled for very new comments and for replies to comments you've upvoted, iirc. Editing is disabled after a "reasonable" time. I don't think replying is ever disabled.
While we at the topic of the upvote arrow, does anyone have any idea why when I upvote a post I can never view it in my saved stories section?
Maybe you should keep it, not touch the code, and consider a new mission to do some marketing experiments with your 2 hours on the train every day... who knows what might happen
Kind of, but you're doing it wrong.

The bash way to remotely administer a server is to SSH into the server, then run your commands there. While that's technically possible with PowerShell in recent versions, it's not how PowerShell is designed to work with remote machines. Instead, your local copy of PowerShell is designed to grab the remote server's management objects, and use those to administer the remote server.

For example, say I quickly want to shut down a service on ten boxes. On a Unix system, I'd use a tool like Fabric/Ansible/whatever to quickly SSH into those ten boxes and run "/etc/init.d/whatever stop" (or equivalent). I guess you could do this all on one line with something like

echo box1 box2 box3 ... | tr " " "\n" | xargs -L 1 -I BOX ssh BOX /etc/init.d/whatever stop

but that's really rare, in my experience, compared to using a tool like Fabric.

On PowerShell, in contrast, I'd grab the remote service objects, and pipe them into the Stop-Service cmdlet, locally. For example (written verbosely; there's a shorter way to do this):

@('box1', 'box2' ... ) | ForEach-Object { Get-Service -name "whatever" -computername $_ } | Stop-Service

Note what's going on: I'm passing an array of box names in, grabbing out handles to the actual services running on the remote box, and then stopping those, using the local Stop-Service cmdlet.

Other things work the same way.

But my favorite part is that Windows servers actually vend a lot of their resources as PowerShell mounts. Changing the configuration of Apache on your server farm? Break out Puppet and some templates on Unix, but on Windows, use the IIS snapin to "cd" right into the IIS configurations on those boxes and use your normal cat/echo magic to change the configurations. Need to change registry settings? You can "cd" into the registries, too. Same for SQL Server. And because this is all through PowerShell, doing things like redirecting a SQL Server database name right into an IIS configuration file (e.g., configuring your website on which DB to use) becomes easy--again, across a pile of machines.

So: yes, you can remote in. But that's not how PowerShell is designed to work, and you're losing a lot of the magic if you do things that way.
Ok, SVG, character and GIF are better than a bunch of CSS :)
Vote totals were hidden not too long ago, though I suppose that's a very small change in terms of the amount of code altered.
Hackers Race to Steal Your Data Via Social Media During Olympics
> // "Min" sort. Not the fastest, but definitely less code than heapsort
// or quicksort, and much less swapping than bubblesort/insertionsort.

Oh, OK. Glad you could save yourself some time/LOC.
Sticking to glyphs that are part of standard Unicode should be fine - those should render no matter what font the browser happens to use by default.

As long as your font includes the entire Unicode character set, that is.

It would be a good idea to check that any glyph you were going to rely on for a site like HN was universally supported among common system fonts. Different platforms provide different fonts as standard, and even the likes of Arial and Verdana don't have 100% coverage.
I don't know much JS but shouldn't there be a quicksort library function for that?
I think both sites have just gone down. :)
That's largely because that's not really how Microsoft envisions you using PowerShell. The Windows way is to run the tool locally, edit the resource remotely (kind of like Emacs' TRAMP mode v. Vim users always sshing into the box). In this way, I kind of view PowerShell's direct remoting (i.e., Enter-PSSession) as a complete misfeature.
what do you mean "Google has 20% time" ?
I wired up Loggly's Heroku app. It was really easy. I'm seeing a few "out of memory" errors connecting to the db. My current theory is that one of these at just the wrong moment got your account in an inconsistent state.
Facebook's Top NYC Engineer Describes Zuckerberg: 'He's Definitely Not A Dick'
So what's the use case for this? You basically have to make new profiles for this, right, so you don't risk your emails accidentally popping up when FB makes a slight adjustment to their API and default privacy controls?

Also, theoretically, you cc everyone you want to see an email...so FB notifying does what exactly?
Why swipegood didnt tried the other way?
Obat Tradisional Keputihan
Create and Read Barcodes from Images using REST API and SDKs
Interesting. Perhaps a quicksort/heapsort/mergesort should be written in JS instead and used by webkit for large collections. It'd be a lot less code than in C++, that's for sure.
> You probably heard of the famous McIlroy vs Knuth story (legend?), where a pipe of a few commands turned out to be more efficient than a Knuth data structure.

Since very few shell scripts run continuously for long periods of time, it's hard to justify prioritizing runtime efficiency over development time.

I remember ActiveState's Perl and the standard Windows version of Python have some API hooks that can be useful for manipulating Windows-only things. Can help leverage Cygwin tools on Windows.

Having said that, I always used Cygwin when I had to use Windows. It felt, of course, detached from the rest of the system, but it was a small island of sanity in a sea of APIs, registries and metabases... PowerShell is, indeed, a perfect match for the environment it evolved on.

As for the "can you do this" thing, I run bash on Android. Can PowerShell run on Windows Phones ;-)
Now I remember why I don't use apache any longer. :-)
Ok, agreed that fixing the system (which isn't itself an easy thing) is more important. But punishing the perpetrators of the actual crimes isn't only important for this single problem; it is also very important as both an example for others that could be tempted, and an encouragement to honest people. The OP was against the justifications that are put forward to somehow save those people, not against also changing the system.
The product here is not the interface it's the social network - the people - and interactions that enables.

Exactly. Plenty of people cry foul every time Facebook update their UI or make another attempt to violate everyone's privacy, but as long as a critical mass of people continue to use it, Facebook will remain the default tool for the social networks of those people. If it works at that scale, it surely goes for small/niche discussion sites as well.
Perhaps this was covered in the talk and not the slides, but here it goes.

I think one of the paramount things about UX that people forget is designing for your audience. If you are fortunate enough to have a grasp on the types of users your product has, use that knowledge!

For example, the whole sunday vs monday as the first day of the week is not universal. This pattern should be applied regionally whenever possible.

Another example, one of my projects in particular used spinners pretty excessively. It was a small on-site user base, so I just watched them interact with the various inputs. I found that inputs that were simply integer based, and less than 4 digits, spinners were great. For consistent sequences, dropdown lists were the key. Anything else was a simple input field. All of these, of course, required input sanitation.

But, if I would not apply those assumptions to a new project. If you can try to get an understanding of your users before you design.
the website is very slow.. maybe because loading..
consider moving it to a larger server, and monetize it in somehow to pay off!
It appears to me from the line:

631 if (thisObj->classInfo() == &JSArray::s_info && !asArray(thisObj)->inSparseMode()) {

that only non-arrays, or arrays in some kind of "sparse" mode are sorted inefficiently.

I'm not sure what sparse mode is, but let's try my Raymond Chen inspired psychic powers: if you assign a[0]=1 and a[1000000]=2, you don't want a 1 to 999999 to be stored, so an array like that will end up in a sparse mode which functions more like a hash table keyed by integers.

The same applies to non-arrays: since they aren't true arrays, they won't be stored in the blessed, contiguous way that the sort routine is expecting, so a slower access method has to be used.

Now, fast sorting is presumably written assuming the array is in a contiguous array. Since in sparse mode the array isn't like that, we aren't on the fast path, so it doesn't matter if we are slow, and correctness and special cases are more important, hence the simple selection sort algorithm.

Note also that line 633, 635 and 637 further specialise the fast path into three cases: a default sort with no user-defined comparator, a sort based on a built-in numerical comparator, and a more general sort using a user-defined comparator. (EDIT: The functions called on 633, 635 and 637 are defined in http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/r... from line 1409 onwards, and use quicksort or mergesort, except in the general case which uses an AVL tree, which feels odd but I'm sure there was a reason.)

TL;DR: This only applies to certain arrays; the performance is generally fine else someone would have noticed by now; if you are sorting array-like things or sparse arrays regularly, profile to discover if this is a problem for you.
Feds: "We need priority access to cloud resources"
V8 sort algorithm (Quicksort + Insertion Sort):

http://code.google.com/p/v8/source/browse/trunk/src/array.js...
I haven't tried it. I will take a look. If it has a bunch of useful macros it might work. I might be able to program my own macros as well.

The thing is that Cut this text and past it here is still a very useful paradigm for my todo list, while remove line 47, change the "* " at the beginning of the line to "3) " and replace the current line starting with "3) " is a little less helpful. Note that items in the queue to make my short to-do list are coded either * for larger tasks or % for smaller ones. In theory VIM + macros would work. Just not sure I want to write the macros.
It's not clear why ARM can't copyright their specific microprocessor designs and license based on that.
Yeah, my little Linode box isn't setup to handle over 300 simultaneously users. :-( Normally it's nice and speedy.
ARC Best Practices
My overall point is that a product like this should probably be reviewed by some agency before being allowed on the market.
@andwang

May I suggest you (optionally) animate the images to fade in instead of just switching them. This avoids the visual "popping", and really makes it look more polished.

I wrote/adapted something similar for my app a while ago:

https://github.com/geon/UIImageViewCached/blob/82c8b56564f8a...

I also implemented an optional spinner, which works better than a placeholder for larger-than-icon images.
"spoke only their asian language until they hit preschool where they learned english"

in that case they are not considered bilingual

EDIT: not sure about the downvotes, it's a fact that if you learn a second language at 4 or 5 you are not considered bilingual. Nothing wrong with it, its just the definition
I agree.

Somewhere in the last 30 years, to your point, the American people were sold the idea that regulation is the diametric opposite of "freedom," that trust-busting is "socialist," and other such nonsense. We need a modern-day Teddy Roosevelt, who can articulate in capitalist terms the importance of regulation and antitrust activity as vitally important to the health of the competitive, free market.

Fact is, the market should have punished the malfeasors in the 2007 financial crash, as it should be punishing the malfeasors in the Libor scandal. Shareholders should be abandoning these banks, and the banks' access to capital should be severely restricted by sheer virtue of nobody's willingness to lend to them (or to lend to them at typical rates). But that couldn't happen in 2007, because, Lehman Bros aside, everyone got propped up, dusted off, and given a fresh coat of paint via taxpayer dollars. Because the banks were "too big to fail," and not bailing them out would have been catastrophic. Because nobody had ever stopped them from growing so big, and so systemically integrated, in the first place.

The failsafes that should have prevented banks from being so directly tied to the macroeconomies of nations were not in place, and are still not in place. There is literally nothing in place right now that will prevent anything about the 2007 crisis from occurring again, and that is deeply troubling.
This is definitely needed. My six year old has a tablet and I dread the day she sees something "rude" on the internet.
Maybe once in a while, people just want to appreciate a visionary like Elon Musk. No critique or judging, just appreciation.

Why does it have to be a "Personality Cult" or "Reality Distortion Field"?