skysight-inc/HackerNews huggingface dataset:
Ok, banged this together: https://gist.github.com/1474748

Based off jgreco's 'vindication': https://github.com/jgreco/vindication

Usage:

`./redwrapper python -c 'import os; print "Yo!"; os.write(2, "Jola\n\r");'`
`./redwrapper zsh`

(zsh works with it, but bash doesn't currently for some stupid reason. something about what it expecting stderr to be /dev/tty or something I believe).

This is rough code, if you want to use regularly/seriously I suggest reviewing the code. I didn't pay attention much to standards compliance, I've only tested on Linux right now. I know that PTY stuff can get hairy on different *nix's, so beware of that.

EDIT: whoops, remove that '-g -lefence' from the Makefile too before you use this.
I bought it because it was convenient.

I also torrent because it is convenient. Price is not the issue for me.

I'm in Australia, which means I typically have to wait for something to come out on DVD before I can watch it legally. I can't purchase through amazon, and Australian distributors don't get American shows until months(sometimes years) after they're released in the States.

I feel good because I got it when it was released, and it was legal.

EDIT: PS. I love NPR
Exactly. Hiring 2 top engineers for 5% each is way less dilutive than taking 300k at the powerpoint stage.
Regardless of n(eggs), n(baskets) strictly > 1.

Take the seed drive.

Find a backup backup provider.
Bollywood Actress Lara Dutta Godh Bharai Ceremony Photos
Bollywood Actress Lara Dutta family threw a grand godhbharai ceremony of the former beauty queen.Lara Dutta is expecting her first baby with her tennis star husband Mahesh Bhupathi,Lara's elder sister Cheryl hosted her baby shower or grand Godh Bharai yesterday.Many number of celebrity guests have been attended the ceremony to bless and wish the Lara .Lara looked Very Beautiful in Pink maternity dress.Lara Dutta married to Mahesh on 16 February 2011. Find Out the Lara Dutta God Bharai Ceremony Photos,Bollywood Actress Lara Dutta Grand Baby Shower Photos,Former Miss Universe Lara Dutta God Bharai ceremony Pictures.
Hah, touche. Okay, I'll clarify - $.proxy and => are functionally equivalent in my locally installed version of Coffeescript. :P
This was interesting because I've never seen Go used in production yet. However, the solution is not optimal for performance (as his benchmarking suggests is one of the goals).

If there is a finite number of possible images and each image takes CPU time to generate, then why not lazy cache the images in a CDN after generating them once?
I'm surprised not to see mongodb on the list.
My question is, if not the traditional equity model, what would you offer to get and retain key early engineers? How about sales people? Community manager?

To clarify, perhaps people can post their thoughts on what equity percentages you'd offer to the following? (or something similar) :

1 - 5 Employees - Engineers

1 - 5 Employees - Sales

1 - 5 Employees - Community Manager/Support

6 - 20 Employees - Engineers

6 - 20 Employees - Sales

6 - 20 Employees - Community Manager/Support

Thanks in advance!
While interesting, I'm not really sure how "de-friending" 10 people in order to get a mediocre hamburger has any relation to what happens when someone deletes their account.
How to spot a design-friendly startup
The more complicated something is, the more chances for failure there are. Remember, this was only for compositing the image that would be shared to google plus -- the one in the browser is done client-side.
don't know of any existing plugin.. but you could just write it fairly simply, the following only responds to return key on the two inputs..

var kv_store; //shouldn’t really be global

$('document').ready(function() {
kv_store = [];
$('#kv_key, #kv_value').keyup(function(e) {
if(e.keyCode == 13) {
//return key hit do yo thing
var k = $('#kv_key').val(),
v = $('#kv_value').val(),
already_stored = false;
//check if store already
$.each(kv_store, function(index, item) {
if(item.k == k) {
already_stored = true;
kv_store[index].v = v;
}
});

if(!already_stored) {
//if not already in store push it in
kv_store.push({k:k,v:v});
}
//reset inputs
$('#kv_key').val('');
$('#kv_value').val('');
console.log(kv_store);
}
});
});
As a junior developer at a major company, it sure feels like I'm receiving training. Since major companies are hiring both junior and senior developers, are you suggesting they stop hiring senior developers?
It would be nice if there were any verification of that; if their anecdotal word were enough, we wouldn't be having this discussion in the first place. ('Oh, it works great for you? Great! Case closed.') Someone saying that, at one point they slept without an alarm, is very far from showing polyphasic sleepers have no sleep debt or deprivation.
Do consider the virtualization and resource sharing on GAE's server and google main page's views.
It's on the video he's selling now, he says he flies first class because he has more money than the audience, and that this has been going on for eight months and will only go on for another year.
That's the bit about the bank charging you for not having enough money, no?
Sorry my statement was so terse. After getting some much needed sleep and rereading it, I most certainly could have written it better/nicer.

Bogus DMCA take-down requests from unknown/anonymous/incorrect entities are actually a significant problem. It would be nice if you were right and only lawyers could send such requests (and risk being disbarred for intentionally misrepresenting facts). Sadly, any anonymous nut-job can send DMCA take-down requests for any reason, and like spam, they can get away with it. I've seen no cases where the stated "penalty of perjury" has actually been prosecuted.
How is Go's websocket support?

I have been thinking Go might be a good choice for a websocket proxy, like node.js is used in Juggernaut (http://flask.pocoo.org/snippets/80/).
I think VCs usually value successful startups much more highly than engineers do, so I'd probably raise more from VCs (which has some other benefits), and pay higher cash compensation (or other compensation, like profit sharing/revenue sharing, benefits, nicer office, etc.) in place of above-market equity grants. It really depends on the individuals, though.
#reallyNewMeebo
One is designed to grab and keep your attention for as long as possible. One is designed to make it easy to keep track of contacts.
A style guide becomes very important in a language like CoffeeScript where (a) there aren't established conventions for the language yet like Python's PEP-8 and (b) excluding unnecessary syntax is very, very tempting.

No parens or braces necessary? Don't just omit them everywhere! I was reading the source code for batman.js (written in CS, after having written quite a bit of CS myself), and some lines were absolutely baffling. It took way too much work to parse.

I've started building up a personal style guide. The most useful parts for maintaining readability are probably:

- Always keep the parens for function calls, possibly excepting oft-used functions that are only being called with one argument. (e.g. document.createElement 'div'; parseFloat '10.5')

- Always keep the braces for object literals when used in an expression (e.g. as an argument in a function call); omitting them in a simple assignment is OK.
50% to EFF has always been a reason to buy humble bundles for me. With SOPA I'd have probably paid more this time. I half expect EFF to be added back in, so I'll be waiting on this bundle.
I've read HN about every day for over 3 years now. It's very much a different bunch commenting these days. I like to think that the older group has gotten so busy applying everything they learned here that they no longer have the time or need to be as active. Perhaps an overly optimistic view, but it beats worrying about HN becoming reddit.
Generator Tricks for Engineers
I'm curious to know how many instances were required and what the cost would have been had someone been billed for it.
This works exactly as you describe - the app sets a cache header on the response and Google's geographically distributed front end servers will serve the cached response. You get all this for free by using App Engine.
Good catch, 49/31/20 would probably be the end result.
Investors Were Kicked Off The Twitter Board “For The Good Of The Company”
What is this? LLVM doesn't get a shout out?
Is he retarded or is this standard practice for comedians?
http://www.pinboard.in/ The price has now risen above that level because it is successful, but it started lower. I think it qualifies for your request because the higher price in this case just demonstrates that the model has worked in this case.

(Pinboard's sign up price rises with the number of users)

My opinion is that the whole discussion on this topic is totally worthless and it's even starting to get annoying: all we see is articles saying “apps are dead, we should build on the web” and nobody doing it.

Even Google's – which should be on the front line championing the web – mobile web apps are crap. The best mobile web app, the only one that actually made me want to use that instead of an app because it worked very well and not out of principle was Twitter, until last week, then they broke scrolling like everyone else and now I hate it. Runner up is Facebook.

Why don't we see more people actually making mobile web apps instead of just writing articles about how other people should make them?
The Essence of Cleanliness when Applying a Lace Front Wig
It's great http://golang.org/pkg/websocket/
Forgive me if this is a stupid question, but if you're feeling alone, why not come hang out on IRC? It's been a source of camaraderie for me for years.
It took me about 3 months of intense CS usage to really get the hang of it. I've written a good 20-30k lines of CS so far for my application, so I've developed a lot of good practices since I started. Now, I can't imagine writing 'pure' JS ever again.

I tend to avoid a lot of the one-line comprehensions for the reasons documented in this article (they get difficult to 'parse'). I also tend to write in a more of a Java style, mostly because of my background is in Java. I tend to put (parens) around a lot of function calls so that I can see it is still a function. Sure, CS can be abused to the point of being barely able to read, but that can be said of any language. Having standards and code-review with your co-workers kind of negates that issue.

Debugging can be a bit of a pain since you have to find the line number out of a big file. I think this will go away if/when browsers natively support CS. I've gotten good at naming things so that they are easy to search for in the developer tools. That makes finding the right line to put a breakpoint on a lot easier and faster. If need be, I'll throw a console.log('here') in there and search for that too. Context switching between CS and compiled JS takes a bit of getting used to, but it isn't really that big of a deal. I'm already context switching between Java, HTML, CSS, json, etc... what is one more?

The fat/thin arrow thing took a while to get used to, but now it makes perfect sense. The change they made (too quietly, imho) in 1.1.3 to not use __bind so much anymore really helped with comprehension. Now I can see the var _this = this in the compiled code and things make more sense to me now. It also helped performance and made me worry less about using it. In most cases, it is safe to just fat arrow things now so it really isn't that big of a deal.

In terms of workflow, I found it very important to integrate it in with my IDE so that every time I save a file, all of my CS is immediately compiled to JS. [1] As a result, I don't see any overhead with the compilation phase of things.

Being able to declare 'class'es and constructors has also been really great for compartmentalizing my code. Yes, it is possible to emulate all of this in JS, but I find that a lot more difficult to manage. I do wish there was an 'import' statement though. Right now, I hacked that together with the way I'm using LabJS.

In the end, is CS a significant improvement over JS? I think so. Just looking at the compiled output of CS, I couldn't imagine myself writing all of that JS code and not making a ton of mistakes (ie: === vs. ==, nesting of brackets, this binding, etc). People say there is a lot of boilerplate in Java... so, when I use CS, I feel that way when I look at the compiled JavaScript.

[1] http://stackoverflow.com/questions/6645640/integrating-coffe...
We're rolling our own dirt-simple real-time framework at Poll Ev. If you want to check out the source-code, its available at https://github.com/polleverywhere/push/tree/backends.

We're about a week away from dropping this branch into our production environment and moving down a path towards "Streaming REST" that plays really nicely with Backbone.js.

The ultimate idea is that you drop the "push" middleware into your rack-up file, setup callbacks on your server-side data models (ActiveRecord) that drop JSON representations of itself on to MQ channels that map out to RESTful URLs. A client using Backbone that wants to keep up-to-date on the resource subscribes to stream.polleverywhere.com/the/path/to/the/resource.json and boom! Everything just works.
Platlas: The Social Platform Atlas
Well, who cares, pretty much the only market where Linux lost was the desktop, which is the most boring, stale market to be in right now. Linux is everywhere from my company's cloud provider to my phone and my TV.
Tiffany CO
Tiffany shopping centre invites you to buy latest Tiffany jewelry from reliable Tiffany and Co manufacture. All tiffany jewelry offered here will fit you perfectly in any occasions.
Transistor density doesn't guarantee performance increase. Is AppEngine's ability to scale and maintain <60ms consistent with Moore?
> per month

You're right in general (I was surprised at the jump from free to lowest paid tier for Dropbox), but fastmail.fm is <$5 per year.
Coley's Hacker News - Chrome Extension for Pinned Tabbed HN Browsing
I agree that the bundles are run a little bit too often, but supporting indie devs always feels good.
I don’t like the Ruby 1.9 hash syntax
I think its importend to ask everything in these threads. I often find intressting questions answer in these threads (on reddit too). For JIT fans I recomend online-stalking of Mike Pall, here on Hacker News and on reddit.

Well I think if you have a task like that a team should look into what other people where doing. Self, LuaJit, parrot, some smalltalk systems, strongtalk where all allready done or on the way in 2008. In a talk about phc (https://www.youtube.com/watch?v=kKySEUrP7LA) Paul Biggar talk about why AOT might be better then JIT. His reasoning was that the suffer from bad startup times and php is a language where the comon uscase are scripts that only run a short time.

Anyway the static compiler certantly wasn't a bad way to get some speed fast.

Getting some type in there is probebly the best thing you can do :) Where can I get some more information about tracelets. I have never seen litrature about it. Did you guys invent that yourselfs?

I have been thinking about something simular. If you have a language that is dynamic but is suited for static compiling (dylan for example). On could write a compiler that does all kinds of optimization and then spits out a bytecode that is suited for the JIT. Then at runtime you let the JIT do the rest. Im not sure if this is such a good idea because the static compiler would take away some opportunities for the JIT to do an even better job. Thoughts anybody?

Thats the problem I always have. For every language I think about how good it would work with pypy. Somebody started to work on a Clojure impmentation in pypy and I want to start hacking on that. Never having done python is holding me back a little.

More Questions:

Since how long and with how many people have you been working on HHVM?

Why is the bytecode stackbased? From what I read stackbased codes arn't really suited to JIT on a register mashine. Dose the JIT compile everything to SSA first? I think thats what Hotspot does (not sure, does anybody know?).
Congrats, Scott & Ilya!
>> It took two weeks' work to get the Skype-names, email-addresses and home-addresses of some of my closest friends and greatest acquaintances - that is awful

Could you not have used the 'Sync' feature in the mobile app to sync everything to your phones address book?
It's not how popular the machine is, but how well supported its parts are. If you select carefully, you may well find linux-proof machines in every brand.
this API is it. no approval process as far as is known. the CB api treats devices no differently than web sites as far as Apple is concerned.

the reason that there are no apps yet is that only iPhone 4S has the heardware for CB and no CB chipsets out there yet in devices. chicken and egg problem which hopefully will be solved with the iPhone 4S adoption.
I have never had a facebook account, and likely never will.

The amount of pressure I came under to sign up, at various stages over the last year, from peers is sometimes astonishing. It's like you can't be a real person if your not listed.

My friends and family have stopped nagging me to join now, and people I knew in highschool have mostly stopped asking my sister what happened to me.
From what I have seen it depends. I don't think it is ever announced that you leave. Sometimes you disappear from friend lists. Other times you remain but when someone tries to view your profile they get a message it doesn't exist. I think the reason they leave you in friends lists is because you can re-activate your account.
Some languages are designed for professionals to comprehend easily at a glance: these languages use symbols instead of words, use brackets effectively and don't rely too much on whitespace.

Other languages are designed to be easy for anyone: these languages use English as inspiration, using whitespace instead of brackets.

CoffeeScript has a place, but not in production. It belongs in the classroom, to help those wanting to learn an easy language to program in. Ruby, I believe, belongs there as well.

Languages like C, C++, PHP, JS, etc. are all designed for production. They may not be pretty to look at, but they're easy to comprehend at a glance.

It's all a question of what learning curve you're aiming for: the learners curve or the advanced curve.

TL;DR - tradeoffs: learn them.
Well, then you wouldn't merge those. But some clearly are dupes. You might as well say that flagging won't work, because some people write good posts.
Maybe its just me but all blogpost about go read like they where checked by a marketing guru after the have been written. The always enforce the same basic points, it always sound the same. If I somebody says "go" my mind alwasys jumps to "feels like a interpreted language".
Just when HN was lacking, cat pictures.
Have you checked out #startups on freenode?
That was great for all the information that my friends had on Facebook. However, it was not great for all the stuff they did not have on there. The information I really wanted was their Skype names.
I used to be in your situation and then I read this.

"I do not write tests for my code. I do not write very many comments. I change styles very frequently. And most of all, I shun the predominant styles of coding, because that would go against the very essence of experimentation. In short: all I do is muck around.

So, my way of measuring a great programmer is different from some prevailing thought on the subject. I would like to hear what Matz would say about this. You should ask him, seriously.

I admire programmers who take risks. They aren’t afraid to write dangerous or “crappy” code. If you worry too much about being clean and tidy, you can’t push the boundaries (I don’t think!). I also admire programmers who refuse to stick with one idea about the “way the world is.” These programmers ignore protocol and procedure. I really like Autrijus Tang because he embraces all languages and all procedures. There is no wrong way in his world.

Anyway, you say you want to become better. I mean that’s really all you need. You feel driven, so stick with it. I would also start writing short scripts to share with people on the Web. Little Ruby scripts or Rails programs or MouseHole scripts to show off. Twenty lines here and there, and soon people will be beating you up and you’ll be scrambling to build on those scripts and figure out your style and newer innovations and so on." -why
Oh, good point, I didn't really think of "at the same time" as actually meaning simultaneous connections to the same dest.
How does BBEdit compare to TextMate and Sublime Text?
Scheduling TeamCity backups in Windows
Not a problem for facebook because the only want there servers to run fast. They are not intressted in making a fast portable compiler.
Mindlsight, I don't think you have even the haziest idea of how criminal prosecutions or lawsuits work. Courts rarely request anything; prosecutors or plaintiffs make requests through the court, which can be contested by the defense, and the defense can seek records in turn (like the disciplinary record of an arresting officer, for example, or the records of equipment calibration in a DUI case etc.).

There's no answer to that - my point is that we just don't really know who the bigger risk is a priori despite much effort

What do you think insurance actuaries do all day, other than study insurable risk? Read your insurance policy if you have one, they can and will raise your premium if you have a history of accidents. Honestly, you seem kind of paranoid. Insurers want to reduce risk, but still keep their product cheap enough for people to buy it.
Cheap UGG Classic Tall
These Classic Tall Ugg Boots are made of cooshy fleece and flexible suede,so they'll easy to roll down as needed.
Right now, in the room I am, there are 3 linux machines: 2 phones, one tablet. In the rest of the house, there are other 7 machines running linux, only two of them laptops. There are 4 OSX machines and 5 iOS thingies.

There is one Windows box - a virtual machine on my work netbook - and it hasn't been booted in months.
I've got an implementation of tee in Python. Python itself comes with a reverse tee (reading from multiple files/file-like objects), but there was nothing out there for writing once to multiple file (or file-like objects).

It wasn't as easy as one would think, because trying to use it in conjunction with something like subprocess.Popen() presents a problem since it requires a file object that has an actual file handle (i.e. file.fileno()) rather than just some mock-object that implements the right instance methods.

I need to get it up on github and/or pypi.
one of the tricks you can use is migrate on read. instead of having a global per-db versioning you have schema versioning on a per-record basis.

each version migration is a function that takes a record in an old state a migrates it to a new one.

once you read a record from the db that has an outdated version number you run all the pending migrations and then save.

with this scheme your application code only has to know how to deal with the latest schema version. all the rest is handled by migrations.
Or, add this to .zshrc:

# colorize all stderr red
exec 2>>(while read line; do
print '\e[91m'${(q)line}'\e[0m' > /dev/tty; print -n $'\0'; done &)

works like a charm.
Apart from chaining generators, you can write a simple helper to pipe general expressions.

def pipe(cur_val, *fns):
"""
Pipes `cur_val` through `fns`.
::
def sqr(x): return x * x

def negate(x): return -x

`pipe(5, sqr, negate)`

is the same as
::
negate(sqr(5))
"""
for fn in fns:
cur_val = fn(cur_val)
return cur_val

I find `pipe(5, sqr, negate)` neater than `negate(sqr(5))`, especially when the nesting is greater than 2.

This is inspired by clojure's threading macro -> and a re-factoring of @fogus's code snippet on stack overflow. He used reduce to implement the loop - though loops can be implemented with reduce, and that's how you generally do it in clojure et al., it isn't idiomatic Python.