jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
One advantage of Python is that indentation etc. are required.

This is such baloney.

I've written hundreds of thousands of lines of code in Algol-esque languages, and just about every last line (by which I mean > 99.9%, with possibly exceptions once in a blue moon where I accidentally hit tab before I compile or something like that, which just gets cleaned up the next time I reformat anyways...) of that was properly indented. It's just too easy not to do, and I'd fire, almost immediately, anyone that was checking in code that wasn't indented properly.

Really. Where are all these horrible developers that don't sanely indent their code? To hear the Python folks tell it, they're fucking up codebases all over the place with their carelessness, but I've never personally experienced any pain whatsoever over this. Certainly nothing that a simple CMD+i can fix...

Hell, different newline types interacting badly with version control have caused me so much more trouble than indentation, and Python's not immune to that. Nor is it immune to people's editors globally forcing tabs to spaces or vice versa.
Not that privileged rich people invariably make good decisions, but one would hope they generally have connections and decent advice. Do they tell their kids "Screw investment banking, law, and medicine. That's for the middle class. The smart money is in web 2.0!"?
Well, the distinction is essentially meaningless in a 'free market' society. There are some politicians who are in it to help others but many succumb to the economic motivations present in our current political system. Powerful lawmakers can parley their political power into economic gain and given the number of rich people in Congress and the amount of lobbying money spent it appears the reverse is true as well.
My favorite is 'trustno1'. Exceptional irony.
That is quite possibly the worst "VS" wiki I have ever seen. Where are the comparisons? Why should I want to use TMux over screen? What are the pros and cons?

What I learned from the article:

1. They use different licenses

2. TMux has a client/server architecture

3. One uses ctrl-a and the other uses ctrl-b as the control key

4. The goals for TMux performance is to be "relatively fast"
I've worked on such huge Java programs being maintained and updated for over 5 years. I actually don't think it is Java as a language which helps in maintenance. Type checking by the compiler does help, but in reality you have Spring, Hibernate, JSF, JSP,.. where compile time checking doesn't apply anyway.

In my opinion there are 3 things that help with maintenance:
* automated tests (to see what breaks if you change something)
* refactoring tools (helps in keeping code clean)
* domain driven design (helps in mapping a business concept to a piece of code)

These are all things you could do in Python as well.
Have you actually clicked through to boutiques.com? It looks just like many other online fashion shops do.
Are there any big diffrence to clojure's hiccup?
I have to say, that is some damn good code analysis. The function executes, nothing external happens in the function, nothing is returned from the function: the function is dead code, don't run it.

So yes, while IE9 is technically slower than chrome, it does good stuff with code analysis which chrome should too. Impressive by the way. :)

In the end the benchmark should be augmented to force the function to run.
I absolutely agree. The header emphasized this- "A personal Appeal from Jimmy Wales" gave the impression that they were in trouble, and badly needed help.

Further, the "Please Read:" header at the beginning implies that this banner is more important than the others they had shown you before.

While it may have raised revenue this year, if they try the same tactic next year I suspect they'll start seeing user fatigue.
Here in San Francisco, we really have Comcast and Astound (a localish one). I don't know of any except those two.
Would guess it's based on their acquisition of http://www.like.com/

Edit: Yes, http://www.ibtimes.com/articles/81927/20101115/google-fashio... http://techcrunch.com/2010/11/15/google-to-enter-fashion-sho... http://tech.fortune.cnn.com/2010/11/17/googles-boutiques-com...
I would also much rather that the existing HN community became more global, by including all Indian hackers/entrepreneurs. It doesn't do anyone much good to have people in the US and India isolated on their own websites does it? One of the things I have about US tech news discussions is how they ignore the rest of the world so often.
Good advice. Just wanted to make a small correction: Valium is diazepam and Xanax is alprazolam, both are benzodiazepines. Most benzodiazepines (and "nonbenzodiazepines"[1]) are effective for the use mentioned.

[1]: http://en.wikipedia.org/wiki/Nonbenzodiazepine
This is awesome. Is there a better way to zoom out than to click on "Earth" and choose another projection to reset the zoom level?

Edit: Wasn't working before, Chrome restart fixed it. My bad.
The map projection on google maps is only chosen to produce good maps at every point by themselves (square city blocks will still be square, wherever you zoom in). I assume they would have chosen a different design (a globe) if they designed it to be used as a world map service.
It is English, as well. Look at the right-hand side of the screen.
I am one hundred percent sure I have not ever intentionally clicked on or even looked at an ad, nor do I ever intend to, regardless of how relevant it is. I will never click on it.

That's why I use Adblock. It doesn't matter what you're showing me. I don't want it. Ever. This goes for offline, too. I don't watch TV except Netflix, partially because of ads. I don't listen to the radio, just my mp3 player.

What are you losing by me using Adblock?
Re-reading this after a few years was interesting. At the time it really seemed like the Emacs ecosystem is stagnating but this has changed during the last two years: package managers, crazy good, well maintained extensions (magit, org-mode, flycheck, Gnus), and small language changes. We even had an Emacs-only conference! ;)

Still, elisp is elisp is elisp and there is no getting around that fact. The last Common Lisp rewrite/transformation has, AFAIK, stalled. 'cl is still not welcome in core packages. Just staying with the language and dealing with its quirks has proven very effective and I think this is in a large part due the flexibility of being a Lisp. It might be the wrong language for text-processing, but is the right language for ancient software that tries to stay recent.
Previous Discussion:

https://news.ycombinator.com/item?id=6924854
Most cheaper solar panel inverters are synced to the grid and require the external 60hz wave to output power, resulting in solar panels that will not provide energy without being connected to the grid.
This is a pet peeve of mine. So often it seem to be one of the very first questions asked, it basically seems to be de rigueur these days (and I can understand why potential employers do it, from a negotiation standpoint). It's not that I think you should try to inflate your current salary or mislead in any way, but it just seems so forward and plain impolite.

I'd be interested in any real-life experiences others might have had similar to this and whether you've managed to avoid coming off as sneaky/deceptive/dishonest as a result.
I would recommend you affiliate yourself with some kind of institution - like a University, a hospital or something like that. They may be able to provide you with an unused room or a landline. I don't know about perceptions in Pakistan, but you may have to consider keeping the support of that institution secret, that is having a different telephone number prefix than the institution that supports you.

It's very difficult to get funding for starting Suicide hotlines. Also, it's very difficult to get adaquate training for the people manning the lines, which is _far more important_ than anything else. You do not want to get into a situation where you have a serious case and your telephone agent is not prepared. No, 'just' being a medical doctor or psych student does not prepare you for that. Do not rely on mobile phones, the connection may get dropped anytime.
If you care about latency, you can't abstract away the existence of data centers. The round trip speed of light means that that abstraction leaks too much.
What is the chance that our enemies already have nuclear weapons hidden in apartments of our U.S. major cities? And ours in theirs?

This is a thought that keeps me up at night.
I'm not sure you understood what I was trying to say. You should not rush to make a change to your website, this is something you need to think thoroughly.

You can contact me by mail if you want (We surprisingly did the same school :))
Do you know anywhere where people post anecdotal stories of such high level practitioners?
Note that I made my comment as someone who has taken an 80% cut in income to leave the "net negative for humanity" megacorp where I worked for 17 years to work for a non-profit.
I find this kind of testing incredibly useless. All he did was take the implementation of update-all and do the same thing again for the test! Basically all he is doing is checking that clojure's map function works. When your unit test says the same thing as the thing you are testing, I think it's pretty obvious you've failed somewhere.

The most important thing to test here is that the accumulate-forces (and by extension calculate-forces-on-all) function gives the right values, that is what you need to be testing. There are even several ways to do that without just plugging in magic numbers - for example you can generate random inputs and verify that the vector sum of all forces is 0 (I think this would be correct because gravity acts on two objects equal and opposite). You can verify the higher level functions by checking that momentum and energy are conserved.
If you don't mind, could you share some more about how this works?

I'm curious about the mechanics of such a system, if you've set up rules saying "a bonus is paid out when 51% of the votes agree" (assuming that someone nominates someone for an award and an amount and the rest of the employees vote to approve it or not).

Or is it just that everyone gets 1/Nth of the pie allocated to themselves and can dole out any slice of that 1/N however they like?
No, I'm pretty tomatoes are just sold as tomatoes. Produce is produce until you're trying to justify charging a multiplier of the base price.
Yeah, that's always been a bit of a usability problem. Hidden gestures are really just the new "hold a random modifier key and watch what happens!"
If you've read any of my review posts before I'm going to sound like a broken record, but...

If you're handling anything which could be considered personal data, you need a privacy policy, a TOS page, and a way to export that data. From looking at your site and watching your video, I can't tell whether you intend to sell my list of clips to advertisers, connect it to my name and make it available in a data dump, or any one of 100 other things I have no interest in you doing.

As for your web page, why make such a user-unfriendly thing as a log-in screen your main page? Why not include the video on the main page so I don't have to click 3 or 4 times to start finding out what the heck your service even is.

That said, I think you get it, and that's refreshing. For me, Google Notebook and Evernote are too linear. Zoho Notebook is too complicated. No one else has really sparked my interest.

The two main features I want in an online notebook are the ability to grab anything from anywhere with minimal effort and the ability to organize things freely. These you deliver quite well.

There are a few features I would definitely consider.

1. Inline notes. If a note is really short, it would nice to be able to just stick it on the page as plain text, instead of having to double click to open it. This would add a lot to the ability to freely organize things because you could use notes as headers, separators, whatever.

2. Inline pictures. Since there's a little preview of the picture anyway, why not let me clear away the title and URL and just show the picture. Then, if you're doing that, why not let me resize it. Again, this goes to letting me freely drag stuff around however I want it. It would also let me use a picture as a background or header or just about anything else.

3. Sharing at least read access to a project with someone else. This is pretty big. The reason I started looking into online notebooks in the first place was to plan vacations with my fiancee. I can share login details, and that's fine, but eventually, I'm going to want to share a view of a project with someone I don't trust with my login.

And one little minor thing. Double-clicking an open folder should close it.

I also think it might be cool if you could arrange things inside folders just like you can on the main project page. At the very least, reordering would be nice.

Just so we're clear after all that: My overall impression is very, very positive.
I hope that in the future game designers start designing short games with a higher content/time ratio with the intent of targeting them at adults. Adults in general have more money than time, and are not going to feel cheated paying money for a short game. On the contrary, they'll be happy that they had the time to enjoy it, and that the experience during that time was the best it could be.
You could solve this easily by only activating it after a period of inactivity. Stop typing for a second, and the suggestion box pops up.

I think it would save a lot of typing with the UIViewAutoresizingMasks. Those are always a pain.
It is a byte code compiler that has a JIT mode.[1] I'm pretty sure that's what the parent comment was referring to.

[1] See page 7 of the presentation I linked above.
give us your feedback plz :-)
Depends entirely on what they (and people related to them) have shared with Facebook directly and indirectly, and what Facebook actually can infer from the information.

Apart from that I have no answer. However, I find it important to realize the question shouldn't be about what Facebook/whateverelse can "do" now, but what will "they" be able to "do" in the future.

Imagine if there was some Superior Entity which knew everything about every single person born after some year X. What could that Superior Entity do? What could it entail if the knowledge of this Superior Entity got leaked to some hands? I mean, everything about politicians, press, authorities, laymen, teachers, children... Everything.

What are the actual practical worst-case implications of total ubiquitous surveillance for an individual? For society? This certainly depends on the society. Implications are certainly different for people living in, say Iran, Sweden, USA, Canada, Brazil, Russia, China, Germany, North Korea ... For example in some countries religious matters, although very personal, can be very serious. Go being an open atheist in say Indonesia.

I really have no clue, but everything seems like a huge mess with surveillance.
This is exactly why we should adopt a 13 month calendar, with a Year Day as the last day of the year. If it's a leap year, there'd be two consecutive Year Days. These days should be special: they are holidays, so everyone has them off. This immediately solves the payroll problem for most people: just don't pay them for this day (obviously adjusting the numbers such that if you make $60,000/year, you still get that).

For those who work on this day (medical professionals, etc.) the rate is different (being a holiday and all), so they just get paid by the hour, regardless of what they do throughout the year.

Your payroll can now be weekly, biweekly, monthly, or whatever you want: you still get the same amount of money per month. This is nice because you don't get weirdness with things like rent/mortgage payments which are monthly. For example, for those who get paid biweekly, you get two months a year where you get an extra payment. This is silly and leads to more difficult accounting and budgeting.

Monthly is nice, but lots of your expenses are likely one a week-by-week basis: groceries, entertainment, etc.

Weekly is AFAIAC the nicest: it is the easiest to budget because it's as close to the common denominator as possible. However, it is not the LCD, so it still has the weird problem of getting more money in some months vs others.
I wasn't really invoking that fallacy, but congratulations for being aware of it and showing us how smart you are!

Ostensibly, representatives and senators decided to modify the tax code in this way. Unfortunately, the commercial entities that wanted it really didn't give them a choice in the matter - so it was no decision at all (reduce them: get re-elected; don't reduce them: don't get re-elected).

It all comes down to who holds the purse strings ... on campaigns.
Sounds like a cool idea, I don't need it at the moment but I do have a few questions:

1) What happens if you don't deliver in 24 hours? Can I bet my business on your promises?

2) What is your copyright assignment language? I'd like to know that before paying for anything.

3) Same deal for NDAs - Where are you located? I can't send certain info overseas for example.

4) "Chicken" is misspelled in one of your portfolio images. If I were you I'd either fix it or remove it because it looks sloppy.

5) Devils advocate here: What's stopping me from arbitrage? I submit a job to you every day for 99designs projects, and then submit your work as my own. Shoot I could probably even write a script for this...
Interesting discussion point, Larry Wall, linguist, invented a programming language that is not exactly considered stylish at this time. Implications?
Holy shit that one was good. Extremely well written.
> The number of genealogical ancestors you have n generations is 2n: 2 parents, 4 grandparents, 8 great-grandparents, and so forth. The only way to have fewer is if some of them are the same person.

They leave out that this effect that "some of them are the same person" is inevitable, even pervasive, past a few generations. Never mind that the number of "genealogical ancestors" rapidly becomes larger then the number of humans alive at the time, it's almost certain that your * 10 grandparents didn't travel much, so existed as part of a far smaller sheltered gene pool.
I've been a big fan of slack since the beginning, but this seems pretty scathing. The folks at Slack should really address the contents of this post.

As it stands, if I'm ever in a place considering using Slack, I would be coming back to this HN thread to see how this particular issue was resolved.
I'm not sure how I would explain (as only one example among many) Facebook's market cap to our 1915 visitor. I think s/he would find it enigmatic, not having been along for the evolution of events.
Has anyone used something like this for non-fictional contexts? I'm really enthusiastic about the future of interactive journalism, particularly in terms of tailoring journalist narratives to each reader.

For example, I think coverage around the announcement of a new tax plan should adjust to the given user (ex. "Under Clinton's plan, your taxes will increase by 5%, to $14,000 annually."). Unfortunately, there just don't seem to be many good tools for allowing non-programmers to encode manipulable facts into their narratives.
Makes me think of Eamon:

http://en.wikipedia.org/wiki/Eamon_%28video_game%29
Start a private internet in the name of free speech to capture all the fallout when the government shuts down the one we're on now.
I like racket's documentation (although some more examples would be nice): http://docs.racket-lang.org/
Also: Flask's documentation is so gorgeous it almost convinced me I needed to use the framework even though I knew didn't need to use it.
Thought I'd get to Flask before Steve, but clearly I was mistaken. Another vote for Flask. Gorgeous.
The National Enquirer is by far the most accurate newspaper in the US when it comes to strictly reporting facts and never misquoting anybody. That's because they are right-wing muckrackers, so every time they screw up, they get sued for defamation, and lose.

They get sued for defamation all the time. They almost never lose.

A person I know has to deal with press interviews on a relatively regular basis. Every time he reads an article for which he was interviewed, he says, he finds misquotes in the article. Except the one time it was the Enquirer.
For those that are interested, the JS behind it: https://gist.github.com/705761
The argument as to whether _Brave New World_ has literary value is completely separate from _Fahrenheit 451_ and _1984_.

Please, make the argument that it isn't the case on this particular book, but I'd say no book belongs in English classes because of the warning or political message it delivers. At the high school level, different (academically higher?) standards are looked at. This may include _Brave New World_, or it might not, but taking offense that a popular dystopian fiction novel isn't in the curriculum any longer isn't the right argument: removing an important work on literature and replacing it with a less important one is.
Interesting. I'd like to see videos of the gameplay and stats on performance, load times, lag etc.

The Netflix of gaming consoles?
really?

I mean, I usually have more than one offer. For me, I've always been open about what I currently make, and about how much it'd take to get me away from that. I'm also open about any other offers on my plate.

I interview often enough that I figure that if I am lowballed, I'll get another offer that is better enough to move fairly quickly. If you want me long term, eh, maybe you shouldn't have lowballed me in the first place?

Key here, I think, is to keep interviewing even when you aren't really looking to move. it's the only way to have an honest view of how much you are worth, and I think it's good practice, anyhow.

(of course, for the last year and a half I haven't been working for other people, and I haven't quite figured out contractor negotiations.)
I was curious where their company pic was taken. It's Whistler, British Columbia. Looks gorgeous.
there are generators out there for externs files. search the closure community they popup in there
One thing bothers me:

> Unfortunately, you can’t encrypt your server key and it must be always available, or else sshd won’t start. The only thing protecting it is OS access controls.

That should be solvable with systemd and fuse - create an encrypting filesystem with a fixed key obtained from an USB pendrive, which is then ejected (so it would need a reboot to be enumerated again), and have the filesystem limit open() calls to the key file. It should not need more than one read call when openssh starts.
It fails massively regardless of the value proposition of the app. People recoil at the price as it instinctively feels unreasonable due to the established norms of pricing.

Pre-iPhone, a $20 shareware app was considered pretty cheap. Now less than 10 years later the highest quality apps from name brand companies can't command it.
As often as they break or want and can afford a bigger one.

I'd need a pretty compelling reason to buy a new TV even every five years.
iBill® Talking Banknote Identifier, $119 with free shipping.