skysight-inc/HackerNews huggingface dataset:
Why do you call it "devil's advocate"? I agree! I agreed to your previous comment too. "Coming out" seems to has been very useful for gays' rights. Maybe the question is in which point a controversy is. Is the controversial option legal? Or even are there laws that protect it?

Current revolutions or cannabis are counter-examples.

I'd also suggest to think about the asymmetry of responses. You might express your opinions in public, but someone could choose to anonymously not to hire you because of them.
That's a really interesting pricing model. I should rummage around and see if he's mentioned why he chose that.
It was my experience that people approached an online purchase of six dollars with the same deliberation and thoughtfulness they might bring to bear when buying a new car.

Much like people complaining about the price of a gorgeous $2.99 iOS app while ordering a $6 coffee.
Looking around my house, embedded devices with USB: Toshiba DVD, Sony Blu-ray, D-link Boxee box, Sharp TV (labeled service), Sharp Blu-ray, ASUS wireless N router, Cisco PIX firewall (built with BSD afaik), Chumby alarm clock, Samsung Android phone, LG Android phone (Android not running in host mode though, afaik), LG feature phone (probably not linux?), and a TiVo in a box in the attic.

I'm not an embedded developer. I agree these won't be built with the full range of default kernel drivers. Perhaps when I said a "broad range" I should have said something like "quite a few". Never the less, most of these devices will be built with a variety of usb storage drivers since that's the purpose of the usb port. I know for a fact that the Sony Blu-ray contains an impressive number of wireless lan drivers in addition to the storage drivers. The Chumby contains a variety including serial and wired lan. The ASUS router supports many mass storage options as well as parallel and serial printer support. The boxee box is reported to even include mouse and keyboard support as well as mass storage support, and I'd wager they left a lot more than that on.

Which isn't to say that any of these devices have this driver built in, I simply don't know. My point was more to raise the issue of what happens when a bug is discovered that affects one or more of these devices - many of which have a pretty large local attack surface. The answer is generally it stays vulnerable until you replace it, with the less similar it is to a PC the more likely that is to be true.

I wouldn't bet on many of these devices having stack smashing protection turned on. Look at how few linux distros have it turned on by default.
Adobe targets iOS with Wallaby Flash-to-HTML5 converter
FYI Disney is already an investor in Hulu. But I wouldn't be surprised if Netflix got acquired...
This is weird. Facebook is really becoming the new AOL. Facebook wants you to do everything on Facebook.
Thank you for sharing this article. How much do you really think luck takes into account?

Also, the remark about the "he (it's almost always a "he")" opens up the discussion about the role of women in start-ups.

I'm a female entrepreneur and designer. Yes, I think Apple is great. Yes, Google is swell. What about successful companies started by women?

As a designer, I draw inspiration from our surroundings and experiences. I have become accustomed to learning from the success of famous men in tech. What about the women?
If you're really trying to write efficient code (which is what this article claims to care about) you don't 'forget' to do things like assert that the data is correct. You _guarantee_ that the data is correct and then you process it as fast as you can without having to check.

You only run into trouble with this method if the data verification step is the computationally expensive operation.
['rack', 'tilt', 'backports', :INT, :TERM].map{|l|(l==l.to_s)?(require(l)):(trap(l){$r.stop})}
$n=Sinatra=Module.new{$a,$o,$d,$h,$s,$f,$p=Rack::Builder.new,Object,:define_method,Hash,/@@ *([^\n]+)\n(((?!@@)[^\n]*\n)*)/m,File,4567;Application=$a}
%w[get post put delete].map{|m|$o.send($d,m){|u,&b|$a.map(u){run->(e){[200,{"Content-Type"=>"text/html"},[$a.instance_eval(&b)]]}}}}
Tilt.mappings.map{|k,v|$o.send($d,k){|n,*o|$t||=$f.read(caller.first[/^[^:]+/]).scan($s).inject({}){|h,(a,b,c)|h[a]=b;h};v.new(*o){(n.to_s==n)?(n):($t[n.to_s])}.render($a,o[0].try(:[],:locals)||{})}}
%w[set enable disable configure helpers use register].map{|m|$o.send($d,m){|*_,&b|b.try(:[])}};at_exit{Rack::Handler.get("webrick").run($a,:Port=>$p){|s|$r=s}}
['params', 'session', Rack::Session::Cookie, Rack::Lock].map{|m|(m==m.to_s)?($o.send($d,m){$q.send(m)}):($a.use(m))}
$o.send($d,:before){|&b|$a.use(Rack::Config,&b)};before{|e|$q=Rack::Request.new(e);$q.params.dup.map{|k,v|params[k.to_sym]=v}}
puts "== Almost #$n/No Version has taken the stage on #$p for development with backup from Webrick"
I miss the days when Zed Shaw was a Rubyist.
I don't find an overly naive use of recursion that leads to an exponential time algorithm to be beautiful.
You should look at Unicorn as an alternative to Passenger for your Rails apps. You just send it a USR2 for zero downtime deploys. Pretty nice setup.

https://github.com/blog/517-unicorn http://unicorn.bogomips.org/

Varnish isn't a webserver. You can put Varnish in front of nginx as well. :)

Agreed on the blocking.

On large sites, I've been doing a single HAProxy instance -> nginx instance on each webserver -> Unicorn app server on each webserver with really good results.
How to grow and maintain a brilliant blog
The guidelines break the contract of being under 10 lines of code, maybe not directly, but in spirit.
How many hundreds of megabytes or gigabytes is our operating system installation?

Size matters a lot because harddrives are stinkin' snails when compared to CPU and RAM. All that stuff needs to be loaded from somewhere, and while SSD's have changed the scheme a bit, there's still a major gap between storage and memory.
I hope something interesting comes out of it that they won't kill 9 months later a la Google Wave :(
> I found that quite irritating from somebody who seems so experienced.

Okay, but is he wrong?

Let's be specific. He says "[Unit testing] just doesn't cover a large enough class of potential problems to be generally useful."

He said how he evaluates bug-finding tools and discussed his experience. What is yours?
I got the idea from joshu. I wanted a gatekeeping fee for spam prevention but had trouble figuring out what to charge. He suggested a monotonically increasing signup fee.
And by third he means "no sex for 6 mo."

But you'll be too tired to miss it anyhow.
In that case, well done!
In the US you can't put your code into the public domain. Every work you produce is copyrighted and while you can assign copyright to someone else, you can't "remove" it from a work. The only way for something to become public domain is for the copyright to expire (which is practically never at this point).
I don't think Woz needs to prove anything to anybody.
Normally you turn assert() off for production buids, so it's not a robust solution, as some error conditions may not get generated in testing.

The memory protection catches a lot of out-of-bounds memory references pretty well, and if you enable core dumps, you can extract neat backtrace from the core file (provided your routines fail-forward in case of invalid arguments). Moreover, some compilers can be instructed to instrument your code & data, including stack, with guard data, meant to trip process if it accesses wrong memory region. GNU malloc does some guardians if you sest $MALLOC_CHECK_.

If you aren't worried about vendor lock-in, you can use GCC's __attribute__((warn_unused_result)) [1]

--

[1] http://sourcefrog.net/weblog/software/languages/C/warn-unuse...
There are a number of data points these days behind the social wall that will never have access to a crawler.
Some small corrections:

- Pricing didn't start at 0.01

- We don't have 9250 users (hint: see the linked article!)

- The price doesn't go up by $0.001 per user

Other than that, you're dead on.
Yeah, I remember my mum telling me years ago about Nestle and their various practises in Africa - outrageous. One of the least ethical companies I've ever heard of. But lots of big companies have questionable ethical practices (Shell, Apple, GlaxoSmithKline)...
Deleted comments don't go dead, as far as I know. I think it was killed by someone by mistake (there are a few overzealous moderators here, or it may just have been a mis-click, or maybe even some algorithmic spam-killing, though I doubt that last one). Here's the comment from antirez:

What changed since this article was written:
1) The Server structure in the unstable branch is finally divided into sections using comments.
2) The command table is now loaded into an hash table, so the lookup is now O(1) and it is possible to alter the hash table at runtime. This is how we implement ed the command renaming and shadowing in redis.conf.
3) The shared integers are not used when diskstore is enabled, since we need tha t every object is independent with a different LRU timestamp and so forth. But o therwise using the default mode of operations (in memory) shared integers are us ed.
4) Databases are now watched for the implementation of "WATCH" using a better AP I, that is signalModifiedKey().
5) Now we listen to the TCP socket and to Unix socket if configured. The Redis C luster branch (not public) will also listen to an additional TCP port using for cluster message passing.
7) Loading data from disk to memory is now non blocking, we do this re-entering the event loop while loading data.
8) Response reading is now faster and cleaner code, thanks to Pieter's work.
This is a very nice overview. Of course only the surface is covered, there are a lot more things going on in the specific commands, in VM / diskstore command (by far the most complex part of Redis), in specially encoded data types, and in rdb/AOF loading/saving, incrementally expanding hash tables, ...
In just 30k lines of code there is already a lot to take in mind!
Basically I and Pieter already reached the point where we are experts in different areas. We both understand the whole Redis codebase, but for instance he is more expert in the sorted sets and special encoding code, I'm more expert in the diskstore things, and so forth.
Heh, you should look up what "computers" meant from the 17th century right until World War II. Our field is founded on the idea that machines have the same power as humans working like machines, and that that power's the most a machine (or a human working like a machine) can have.
Try to sell it to a customer and get paid in advance.
It does for me anyway, in Chrome. It makes it nearly impossible to close the tab.
Ask HN: Is there a start-up detox?
This is a throw away account, as I have no intentions of mentioning my start-up. I think I am addicted or way too emotionally attached to my start-up to truly realize I need to stop and move on with life & a new project; stop dreaming that something amazing is going to happen after 4 years.

I have tried many times to move on, but I always see something that I think is telling me I should continue. It's never growth in traffic or user base (it's a consumer social product).

Overall the concept we created was a unique one and now after four years we are seeing a handful of developers and companies spend their time & money executing on the concept, even trying to use our IP. Yet none of the handful that have copied our concept have seen success.

I keep thinking well if others are copying us it has to be worth something and I should continue. I do continue working, but we do not see any growth, as neither do our competitors.

So I ask how did you finally stop working on your start-up and just move on? Did you try and sell it on Ebay or Flippa and or just completely delete it off the web?
> Google also had the option to purchase the open-access 700MHz spectrum and once the reserve price was met, decided that they didn't want to be in the consumer-facing communications infrastructure game. If they didn't want to become a wireless company a couple years ago, what would have changed to make them want to become one now?

I think Google just entered the auction to ensure open-access. It was quite a clever move.

http://afp.google.com/article/ALeqM5iMbsPSv2vatAVvbz_8n0xU3M...
I think Zed Shaw is quite the opposite of _why. I can see _why playing with kittens and making chalk drawings on the asphalt in a torrid calm summer day and Zed driving through in a camo Hummer, smoking a big cigar and listening to industrial metal. All the kittens run scared and _why goes hiding behind a bush where he meets a new imaginary friend.

I much prefer _why.
Only true if the author has kids. He doesn't seem to. Do you think he's a crypto-parent?
The visual user interface happened.
> My 486 built in 1993 had 8 KB cache,
> My desktop built in 2009 has 2 MB cache

That "2 MB" is either L2 or L3, which your 486 didn't have.

The L1 on your desktop is not much larger than the only cache that your 486 had.

As frequency increases, the length of the path that a signal can travel in one clock decreases. Fortunately, cycle-time increases have been accompanied by transistor size decreases, so the net result is that L1 sizes have been roughly constant.
Reverse-engineering is much more fun
I think that was tongue-in-cheek.
Obligatory: oh great, another way for me to be completely distracted by HN while at work!
Used iPads Selling Quickly Online
Zentity
I can't see how that would make it more dangerous. It's still not foolproof, but at least it isn't completely braindead like strcpy().
there are some low hanging fruits, I'll send a pull request :)
A word to the wary, this would definitely be considered taxable income by the IRS.
Why wouldn't they going forward or why didn't they? It might be too late going forward, not sure consumers are interesting in paying for a Disney service, a Sony service, an NBC/Universal service... that ship has sailed.
> I certainly never used "Open Frame in New Tab".

I do on a regular basis, in order to get PDFs out of their frame on the Blackboard system of my university.
Fox DMCA Takedowns Order Google to Remove Fox DMCA Takedowns
For some reason your description of Zed Shaw reminds me of maddox. Which has given me the idea to go see what he's written lately.
VM Form Validator
I'd bet every bullet point is covered by at least 3 ridiculous patents.
/second. Curious to know the tech behind it. Node? Or something else?
Browsing through the new section on HN I came across this: http://www.slate.com/id/2287531/. It seems to support my contention that technology itself does not cause economic growth.
30 inch of snow fell where I live yesterday, I'd take zed and the hummer ;p

In all seriousness, they both were(are) awesome ruby developers and I wish they would come back and code more. We still use mongrel for our Rails app where I work and I've used shoes to develop a desktop client for our application.
Reminds me of the old bash.org joke:

<@insomnia> it only takes three commands to install Gentoo
<@insomnia> cfdisk /dev/hda && mkfs.xfs /dev/hda1 && mount /dev/hda1 /mnt/gentoo/ && chroot /mnt/gentoo/ && env-update && . /etc/profile && emerge sync && cd /usr/portage && scripts/bootsrap.sh && emerge system && emerge vim && vi /etc/fstab && emerge gentoo-dev-sources && cd /usr/src/linux && make menuconfig && make install modules_install && emerge gnome mozilla-firefox openoffice && emerge grub && cp /boot/grub/grub.conf.sample /boot/grub/grub.conf && vi /boot/grub/grub.conf && grub && init 6
<@insomnia> that's the first one
That's how I live my life. I also have white male privilege and a wonderful family who embraced me coming out and the ability to choose my employers due to my skills as a developer. That's why I live out of the closet, precisely for the reasons you mention.

That doesn't hold for a kid in a religious household, the same exact kid who needs to find a community in which she or he can be heard. It was that anonymous community that allowed me to find the resources I needed.

Now, to be fair, the LGBT community is largely going to know better than to force people to name themselves, and the blogger always holds the choice. I'm more concerned about the overarching issue. I'm concerned about governments forcing their citizens to blog and comment using their own names. And Facebook's move is exactly the type of thing that will give them ideas.
Startup detox = 9 to 5 at some large corporation.

Not sure it helps with what amounts to an inability to move from your idea on to greener / greater pastures.

Maybe set one last goal to try and achieve and if you can't reach it make it a priority to let go and move on.
Port Orange Insurance
The O’Quinn Insurance Agency has over 40 years experience in the Florida insurance industry. As one of the top family-run agencies providing insurance in Daytona Beach, Ormond Beach, Port Orange and all of Volusia and Flagler counties, we supply our customers with the best coverage for their home, auto, motorcycle, boat, flood and life insurance needs.
I could be mistaken, but I think there's a fundamental distinction between the computing power required to recognize a language and the kinds of functions a language can compute. AFAIK (which isn't much), usually the distinction between regular, context-free, context-sensitive and recursively-enumerable languages turns on the power of the recognizer rather than the power of the language to express functions. In other words, the languages are limited in their syntactic expressivity but not their semantic expressivity. I've always understood the latter to be the key to determining the computational power. Take lambda calculus as an example. It is Turing complete, but it is amenable to a context-free syntactic implementation (see http://www.soe.ucsc.edu/classes/cmps112/Spring03/readings/la...). For C++, I always thought it was that not only is it capable of expressing semantically any computable function, but that a [EDIT: Turing Complete] parser was required to parse C++ strings.
Go to potential customer. Tell them you want them to be your primary partner in developing/finishing this software. Here's the deal: they'll put up $xxx,xxx - half of it RIGHT NOW - and in return they'll get a free perpetual license to the software and all updates, and you'll work with them to make the software absolutely perfect for their needs.

You're selling a future revenue stream at a discount for an upfront payment. Company benefits, you benefit, you gain one visible user, who hopefully is happy with the product and is willing to provide quotes for your advertising materials, and so on.
It's a really tough thing to gauge, when to stop. It seems that a lot of a startups success isn't necessarily all about the product (although it certainly helps, a lot), but the timing. Perhaps your startup is ahead of it's time?

Fundamentally, when to stop depends entirely on the depth of your wallet and the level of your determination.
Nope, but I read this article and then read the CS docs -- which I wouldn't have done if this article wasn't posted.
In and around Houston, Sprint is considered pretty good and T-Mobile is pretty much universally panned as being awful. Also, T-Mobile's frequency bands don't penetrate buildings very well.

It pretty much depends on where you are in the US. The only carrier whose service is close to universally lauded everywhere is Verizon.
Legally it's a barter. They are being paid the value of the rent, which they will owe taxes on.
I don't know about that; it's not every day you see a masterpiece of ad hominem distilled down to its very essence, uncontaminated by the slightest hint of relevance.
Might be better if you didn't force people to make accounts, like this:

http://whenshouldwe.com/
Flying Cars
Simplest way possible: python+beautifulSoup crawler, sqlite db, rails, jquery. I worked with mitultiwari, and the two of us spent a couple of leisurely weekends hanging out and hacking on this.
Users seem more comfortable with predictable maintenance than arbitrary outages. Weekend deploys are just bad all around.

When I began in my current role (managing QA/DBAs and app deploys) one of the first things I killed was the late Friday/weekend deploys. They are spirit-crushing and if they go south, they usually go south in a terminal-velocity nose dive.

We set up early Fridays for maintenance, to give us enough time in case something goes south. Aggressive Change Control Requests means the people impacted get a heads up (including Account Managers, who in turn inform clients) if there are any user-facing impacts, and we avoid trying to pack too much in at once.

Having QA, Engineering and the SOC team on hand is...helpful. Maybe its paranoid, but its been very solid so far. When things have gone south, I think the events -since everyone is "on deck" have actually helped build some cameraderie in the teams themselves.
http://labs.adobe.com/wiki/index.php/Wallaby#Release_Notes

"Actionscript 1,2 - Unsupported"

"Actionscript 3 - Unsupported"

Then it's not Flash. I really don't have a need to convert any animations from 2002 into the hippest standards. I've never thought to myself "Boy, All Your Base is still really funny, but if only the underlying technology that powered it was open and modern....."
Stopped reading because I promised myself I would never let Time and other "mass circulation" magazines teach me new scientific arguments or concepts now that superior resources are so convenient.
Will all digital books eventually cost 99 cents?
Well, the convenience sure does sound nice, but the rates are staggeringly high:

V/MC Non-Qualified: 2.89% + $.30

Cybersource+WFB clocks in at roughly half that for V/MC( although Amex rates are around that level ), with per-transaction at 10 cents or less.
In short: you are a troll. I hope you are joking but if you don't realize that you are a troll, you seriously need to deepen your thinking on subjects because you're just flapping about on the surface of a topic but you think you're making waves.

Thanks. I needed a tldr on that one. What you say may all be true. Hard for me to know because my brain hasn't fully formed since I wasn't allowed to do crack rocks and rob liquor stores in the evening with my friends.

In any case you can raise your children to be effectively parentless. That's your choice. Charlie Sheen gets paid better than most.
The overall experience of watching movies or videos through Facebook is pretty awful. Facebook does a few things very well, video and media beyond photos isn't one of them.
Anyone know what tool is generating these very-pretty load graphs?
Keep in mind Facebook actually wrote their own PHP interpreter, which doesn’t support eval() (treated like a core language feature by countless crappy developers). And that they are hardly all-PHP, having created and open-sourced a mechanism to shuttle data around between languages.
What Kind of Smarty Makes You Steamy?
I really wanted to read it but it was too painful on my eyes... tons of text smashed together, taking up the whole page.

Fluid layouts are great, but there is a reason books aren't generally 12" wide. (hard for humans to keep their place on really wide texts)

Also, increasing the line-height of the paragraphs would help a ton.
Dustin & Adam, I wish you guys the best of luck. This sounds like a really interesting project!
Just wanted to thank Ilya for em-synchrony, em-mysqlplus, em-http-request, goliath, and other gems that help to make developing evented ruby applications much easier.
That's great - you never know when your competition can unroll a red carpet for you.

Also, apachetop. How did I not know about this?
True story: I met a guy at PLDI from the University of Texas. Dijkstra was a professor at UT during this guy's first few years. Dijkstra and his wife had a van they went around the country in they called their Touring Machine.
I used Arial before they were acquired by VoiceStream. In my opinion, it's been downhill ever since.