skysight-inc/HackerNews huggingface dataset:
Learning to program (Python) the right way?
I'm looking to learn to program, the right way. I don't want to pick up bad habits and I'm hoping there is some good guidance out there that will help.

Currently I know the following: HTML, CSS, and some Javascript and jQuery. That's all front end though and I want to start to learn how to get the back end going.

While I want to understand the big concepts, I ultimately learn by doing. I get to a problem, and figure out through trial and error, research, or even questions here... and once it's solved, I've learned something. So, if I could learn by building up my startup, that would be great. The only thing with that though, I know that certain (if not many) aspects of my startup are not new and I don't want to approach writing things from scratch when it's already been done well (certainly better than I could currently manage) already and available in some framework (i.e. Django). However, I don't want to rely on frameworks either to solve all my problems... so I would like to find a balance between building efficiently (using/learning a framework) and learning to code from scratch (i.e. Python).

Anyway, help here would be greatly appreciated. Also, guidance on other topics in regards to building a website (since I know there is more than just the code) would be great. Thanks!
>How can Skyrim be so unoptimized?

Time. Bugs and features coupled with (tight) deadlines will push aggressive optimizations "for later". This is especially true if the product is performing adequately and nobody really wants to mess with it lest they introduce unknown regression bugs.
I would also prefer the option of assisted suicide, but hospice is a reasonable option.

Hospice doctors and nurses are trained in palliative medicine, and the hospices themselves are peaceful places, very different then hospitals. I have unfortunately spent significant time at two hospices this year, and had an old friend choose hospice care at home. It was a very humane way to go, with no suffering.

I think self-euthenasia should be allowed, but letting nature take its course has a certain clarity to it. Especially in cases like these, where disease progression impairs decision-making faculties.
Ask HN: Please review our Startup idea
Hi Guys,

Could you please help review our startup idea. We have developed a context aware to-do/task list application. We make recommendations on how to complete each of user's tasks.

If users decide to do the recommendations then we help them complete that through our application. Any feedback is welcome.

Url to landing page: http://diglig.com

Teaser Video: http://youtube.com/watch_popup?v=QquawVqesWs

Also, please signup for beta invites as we'll be launching early 2012.
Inside the Secretive World of MegaUpload
SSE is not automatically faster than x87. GCC compiles to x87 on x86-32 by default, even with -O3.
If they lose money on domains we should all buy domains from them (and only domains).
Good point. However, given the lack of redundancy elsewhere, and the fact that a pair of such switches could approach the cost of this server, I'd be willing to bet that this isn't the case.
you know that was my first reaction to the email too (actually my first reaction was petty jealously that I didn't get that email)

when I thought about it some more, that might have be a really nice break for someone who deserved it, and the type of person who took that class and was in the top 1,000, is probably the type of person who would make the most of a nice break

take away, the more I thought about it the less I had a problem with it
Yeah that's a real show stopper ... otherwise I'd use this all day.

Guess standalone app is the only route to avoid this? I think even Chrome extensions couldn't get around this since they dropped the experimental sidebar thing :/
Trying Click-able links:

http://diglig.com

http://youtube.com/watch_popup?v=QquawVqesWs
Jurafsky and Martin's Speech and Language Processing complements ESL and Introduction to IR well by focusing on 'high-level' NLP, but its downside is that it focuses perhaps too much on linguistic terminology & theories instead of algorithms & implementations.
As a Facebook employee who holds a PhD, I can say we are constantly preoccupied about improving the quality of our interview process. In particular, the topic of how to adapt the interview process advanced degree holders comes about quite often. For example, I recall we recently discussed that we should offer PhD candidates the option to give a talk about their research. (The option is indeed available.)

That being said, I think a dismissive or patronizing attitude towards a coding interview would be mistaken. Allow me to explain.

It is quite well known that the ability to code is poorly correlated with holding an advanced degree or other formal pieces of evidence. A candidate with strong credentials understands this and should, therefore, not be in the least offended by being asked coding questions. As a good professional, the strong candidate would handle the questions with panache and should be ready for more difficult questions, discussing advanced topics linked to the question at hand, or discussing her particular area of expertise. Either way, she must be able to code her way out of a paper bag, and I see nothing wrong with the interview process probing for that.

I've interviewed a few dozen engineers while at Facebook, many with advanced degrees (because recruiters pair as well as they can interviewers with interviewees for areas of expertise), some from top 10 universities. I ask 2-4 coding questions extracted from my daily job, starting from undergraduate level and on rare occasions ending with a difficult complexity question. Nobody has ever done perfectly well, and for a variety of reasons holding an advanced degree doesn't correlate strongly with doing well.

All in all, I think you'd be mistaken to believe two weeks of rote memorization would be enough to pass the Facebook interview, which is very difficult. Overall, an attitude of professionalism, modesty, and focus helps a lot in any interview.
Now imagine how much time and grief you'd lose down the road if you were hit with a massive SOPA compliance problem that you can't even contest...
Is this turning into a witch hunt now??
It doesn't handle gracefully, sites which prevent themselves from being opened in frames by utilising the "frame-ancestors" option of Content-Security-Policy.
Web2py 1.99.3 is OUT
First Day Collection of Don 2 | NEWS 365
When faced with a long line I just pull out my smartphone, launch my e-book reader, and read a few pages while I wait. This is one of the few times when multitasking is a good thing, IMO.
DMLS - A functional titanium object 3d printer.
Titanium 3D printers using DMLS tech can make titanium parts previously too expensive to make at fractions of cost.
Quoth Dziuba: "A long time ago, the original neckbeards decided that it was a good idea to chain together small programs that each performed a specific task, and that the universal interface between them should be text. If you develop on a Unix platform and you abide by this principle, the operating system will reward you with simplicity and prosperity."
Man Utd vs Wigan Live Stream 26 December 2011
It sounds interesting. My only concern is that the to-do list market is so saturated that it might be hard to get traction.
This "downtime" also gives us a rest away from work. I actually appreciate this time as I can plan my next "productive" time better.
3D projector Sharp XV-Z17000 | World New Electronics
You're posting a question about how to get traction here and not even a link to the said app? :( Do I have to google your username, or check your profile then see that you have a twitter account in the hope that I will find something there ? Not good. You're on a pretty good position on HN and maybe going higher. Take advatange of that.
20+ years ago, when cell phones were fairly rare, I was in line at a Roasted Chicken franchise, and there was a large sign on the wall that said "for faster service, call your order in. 555-6789".

So, while 5th in line, I called the number, expecting to get a call center to take my order. Before I realized what was happening, the cashier at the front of my line stopped taking the order from the in-person customer and took my call.

Boy did I feel like an ass.
Internet marketing
Med dynamisk markedsføring kan du tiltrække flere kunder online. Dynamisk markedsføring er de gratis markedsføringsmuligheder, som du kan benytte til at udbrede dit budskab til potentielle kunder online.
How to Change Masthead in WordPress Twenty Eleven Theme
I don't have any domains at GoDaddy, but this has been a reminder that US-based registrars can be forced to pull domains by the DOJ (http://www.justice.gov/opa/pr/2011/November/11-ag-1540.html) -- and the potential for that only gets worse under SOPA.

So I was thinking of switching all of my domains to a non-US registrar. I see lots of recommendations for NameCheap, but they appear to be US-based. Any recommendations for registrar (+ DNS) that aren't under the jurisdiction of the US DOJ?
>> "While I'm wasting my time doing X I could have actually been doing the more productive Y" is usually a lie.

You also have to consider whether Y is cuter than X, and if she even likes you.
It's bizarre. Soon people will start listing whoever is connected to companies that haven't switched from GoDaddy.

Makes me wish we had an intervention by pg, like the Great Erlang Flood of 2009.
I think there's a meme in the term “greatness”. Perhaps a better formulation of the rule is the more traditional one, that it takes 10 000 hours to reach your peak at whatever it is you're practicing.

It's not automatic (you still have to do the right things), and you can be great way before that (especially relatively speaking).
...or this holiday season ask yourself if there's anything more you can help to do to solve this problem. Give money, research, tools, engineering, etc. The War on Cancer started in 1971. 40 years later we should not be reading these types of stories. There are a lot of smart people who read HN. I saw this TED talk last week. There's a lot of inspirational research going on.

http://www.ted.com/talks/yoav_medan_ultrasound_surgery_heali...
Alternatives to GoDaddy
In light of GoDaddy's support for SOPA I'm looking for another domain host. I've heard good things about gandi.net and moniker.com. Gandi.net is supposed to be really attentive to their users.

What are your experiences with these registrars? Who would you recommend as a domain registrar?
Oh I'd be being dishonest if I said there wasn't a petty ego blow there on my part too, esp. since there were a few answers that I just didn't check properly. Part of it is that I was simply frustrated that it had become that sort of thing. Had a perhaps romantic view of this kind of thing. Certainly don't mean to take away from those who scored so well :)
As a student of physics, economics, and business I must say, sadly, that such "simulated learning environments" have by and large failed to materialize in higher ed. I suspect that savvy textbook publishers (Inkling?) will begin to offer these kinds of things in the next generation of electronic learning materials. There's really no excuse at this point.
20 IT Trends Now
Renesas Mobile Looks to Become 'the' Qualcomm Alternative
AIT-1 Tapes | HP AIT-1 Tapes | Sony AIT Tapes | Data Media Tapes
BTW, just to clarify -- this isn't my project. I noticed some clickthroughs from this URL on one of my sites, checked it out, then submitted to HN :)

Hopefully the actual developer sees this thread and jumps in...
Over the past year I have been slowly migrating my domains from GoDaddy to Hover. Best decision ever.
Flood of Streaming Player Updates: Roku, WD, Xbox, Apple, TiVo
> `init` already exists to kick things off properly - now init just runs systemd which then kicks things off, for no appreciable gain.

NO, systemd in an init replacement. Yes, init may get the job done, but it can be done so much better. Solaris dropped init years ago, but unfortunately licencing prevented their implementation from being ported to Linux distributions.

Upstart (by Canonical/Ubuntu) was the first major attempt in Linux, and has been running services in Ubuntu and Fedora for a few releases now. Lennart saw that upstart may not have gone far enough, and started his own implementation. Systemd may not be the panacea we want, but the it is on the right track for innovation, which we need.
Gandi.net. Some people say their support is mediocre, but I haven't had to use it. Good luck.

-molo
Ask HN: I want to design a new mixing bowl, where do I start?
I'm a software engineer by trade and I have an idea for a new type of mixing bowl. This is a completely new domain to me and I'm not sure exactly where to get started. I'd like to do this with a very small budget.

What type of resources can help me build the prototype? For example is this something I can design via software? I'll need help getting the design correct, testing a prototype as well as figuring out how to manufacture it.
You and all the people hating on hashtags are busy engaging in your own groupthink. How about you focus more on the content and less on the presentation?
I suggest Zed Shaw's Learn Python the Hard Way (http://learnpythonthehardway.org/) which is free online and focuses on having you type the code and getting it to work. This is what I used to learn basic Python and it sounds like it fits your learning approach as well.
Inlining getters should not cause crazy stability bugs.

I'm also a former game developer and I see both sides of it.

To be honest one thing that I think is true is it's probably not some hacker's fault - the marketing and politics BS that goes on with respect to choice and support of platform when making AAA games is really horrible sometimes.
Last minute christmas gifts and what they really say
No, I transferred them away years ago.
When wasn't this a witch hunt?

Since discussion on SOPA began, the Internet and the hivemind started to condemn everyone that supported it.

I don't think it's about blaming Wikipedia because of using GoDaddy, but making them think if it should be a good option to switch.
23 Dec 2011 Job for Administrative and ICT Assistants 
Job Description : The Candidate must be Bachelors in Computer Science
Computer Engineering with one year of experience with web and software development
would be preferred and proficient in MS Office, Programming experience with strong
competencies in data structure, algorithms and software design, Excellent coding standards,
Excellent writing, Communication, interpersonal skills.
Apple Newsstand Boost Popular Science Sales
The CentOS development process has always been pretty open. What you're describing seems very weird.

Did you try the mailing lists for example? (linked from the main page): http://centos.org/modules/tinycontent/index.php?id=16
The better he got, the worse he knew he was.

The inverse Dunning–Kruger effect: http://en.wikipedia.org/wiki/Dunning–Kruger_effect
OK, so I sorta get the point of the article, but I think this is a really bad example.

He is stopping for coffee. Stopping being the key word here. This, for most people, involves adjusting your commute to go into the coffee shop, place your order, pay, leave and resume your commute. The line-waiting time is probably a small fraction of the overall time such. The exception to this might be very dense areas like NYC where you can walk to work AND pass 4 Starbucks outlets. Then the commute divergence is very small. I think this is the exception though.

A better suggestion might be "buy yourself a K-Cup machine, then you can make a cup of coffee yourself in 30 seconds without having to leave your home/office/work RV/whatever.

Sure, time is money, but this is measuring it the wrong way, IMO.
Just launched a start up, animated greeting cards service without Flash
Animated greeting cards service, without use of Flash delivering really cool multi-layered cards with 3 dimensional effects creating magic on the screen in moments! www.likeshareit.com
When you don't know much about given subject you usually don't know how much you really don't know and most people at that stage actually have impression that they know a lot
It is kind of catch 22 problem :-)
Sorry about that, I didn't want to make this look like an ad: http://readapp.net

App Store: http://rdit.in/get
Pro tip: Any news story that ends in a question mark can usually be answered with "No".

(This is not a slight against the researchers: I'm sure if you look at the source article behind this sensationalist blog post there is no actual claim that a leukemia cure has been found.)
The change history for this list will appear here: https://github.com/jpf/domain-profiler/commits/master/ycombi...
Because Bethesda has deadlines and P&L statements, and modders don't. It's as simple as that.

E.g., the Macintosh launched with a hard-crash bug in the Clipboard code in ROM [1]. When you're struggling to meet a tough date for a huge project, things fall through the cracks. They fixed it later with on-disk software.

[1] http://www.folklore.org/StoryView.py?project=Macintosh&s...
Thanks Richf. We are hoping that our ability to help complete the task will attract users. Most to-do list applications just sends a reminder and that's where it stops. Here at Diglig we stay with the user until very end.
Again - didn't want to make the thread look like an advert -App Store: http://rdit.in/get
I'm still waiting to hear back from another registrar about transferring my domain - they don't yet support .de transfers, but are more than willing to take my money. :)
Quote "Let us be clear: Namecheap is not in favor of SOPA as it has been proposed."

Yes that's very clear, the agree is some kind of SOPA...
I like NFS, but apparently they have some caveats, such as you cannot set up a domain to use its' own nameservers (buy foo.com, setup nameservers as ns1.foo.com ns2.foo.com with dedicated IPs) without them charging you $50 (?) /hour in tech support... PER nameserver.

Sorry NFS, I'm moving away.
If you know what you're doing, yeah. Running a fileserver should be pretty damn simple for anyone who stylized themselves a "hacker", but you're talking like maintaining file servers is some sort of black magic for which the simple solution is to give up and turn to an outsourced solution where you have little control and no visibility.

Its not. The hard part of storage is to understand the capabilities and limitations of your storage and more importantly how those fit in with your computational needs. You have to do that at amazon on in house. A3 just makes it easy to ignore evaluating their service because you're never actually forced to. Maintaining servers is butter.
Hanlon's razor (aka "cock-up before conspiracy") is nothing more than an opinion. Whether we should regard selfishness as malice or not is beside the point, but it is quite clear to me that people in general often act out of selfishness!!

This is so clear to me, that I am convinced that Hanlon's razor is utter hogwash (because I do actually think that selfishness and malice are simply one and the same and furthermore when someone "screws up" it's often because they were being selfish with regards to the use of their attention (e.g. texting while driving)).
It wouldn't be a stretch to say that this action by YC would fall under (A) in this case.

GoDaddy has taken this stance simply because they think they can gain long-term competitive advantage by doing so. Supporting legislation that limits freedom in order to gain strategic advantage is inherently unethical.
Evolution of Flash Memory [Infographic]
For an great introduction to programming in general try to learn http://mitpress.mit.edu/sicp/ or http://www.htdp.org/
Both are great books, but they require a lot of resilience if you want to get the most out of them.

One of the best introductions to Python is http://www.diveintopython.net/ but it's not in introduction to programming in general.

If you want both try: Core Python Programming http://corepython.com/ - but it's not free.

For learning a Python framework I would recommend the web2py book: http://web2py.com/book
web2py makes you very productive, imo.

You can find a great list of free programming books here:
http://stackoverflow.com/questions/194812/list-of-freely-ava...
I'm from Iowa. I grew up around farms.

The idea that most of the meat we eat was once animals grazing on grass has sadly been untrue for a very long time.

Most cows, pigs, and chickens are raised in tightly-packed conditions, and fed things you really don't want to know about. There are grains in there, but a lot of nasty things get mixed in with them.

A lot of land that could go to raising human food instead goes to growing soybeans, corn and grain that are fed to livestock. You're right that we can't just divert the grains from animals to people, but if that land were used to raise human instead of animal food, we'd be able to produce 16x as much food by volume as we do with meat.
Did StackOverflow actually comment on when the switch would occur? I am sure they will post about it but I see a bunch of large companies saying "we will switch". I don't see a lot of companies saying "we have switched".

Proof or it didn't happen.
Another VC Holiday Video (but it's epic)
One slight irritation on GoDaddy -> Namecheap. One of these sites has a bug where it's either incorrectly generating ACs with embedded double quotes, like ABC"345"DE, or it's not storing them correctly. I did the bulk transfer yesterday, and this morning discovered that all such domains failed with a bad AC. I'm working with Namecheap support now to resolve it.

So it's still a constant-time operation, but the value of C is growing for me.
IMO, do both, and mention that fact in your letter. "I will continue to boycott businesses that donate to your campaign because of your support for this legislation."
Just moved my two domains over to Namecheap from Godaddy. I then went and purchase a third domain directly from Namecheap that I want to use for a side project. Not a crazy amount of money by any means but ever little bit counts.
Why do you say it is the inverse and not the regular Dunning-Kruger effect?
My favorite for ease of use, pricing and functionality is Name.com. They have also started an NOPA campaign and made a discount code for 10% on transfer from GoDaddy in response to/ support of the webrevolution brewing against them over SOPA.
Well, don't stop with GoDaddy. Keep looking -- and acting.

Thing is, money talks. If/when supporters realize it's going to cost them -- both in money and in publicity -- things will start to change.

I also favor "striking while the iron is hot". If the tech community can take the current attention and focus and use it set off the metaphorical small nuclear device, supporters may be sufficiently burned to at least hesitate for a useful period of time before trying this again.

If they don't listen to your vote in the booth, make them listen to the vote of your wallet. And your blog (woof!).
Emacs for the rest of us: ErgoEmacs
Que bueno.

Might be worthwhile for someone to send out a press release with a before / after strikeout showing the shrinkage. Makes people ask what else have the SOPA folks exaggerated.
have 30+ domains on namecheap for years now. very satisfied. never had a problem.
Probably the most efficient way would be to create a model with blender (http://blender.org) and then print a prototype via shapeways (http://shapeways.com).

Once the model is perfected, I think you can send it to some (China based?) companies who will send you a bid on mass producing a large number of them at a low cost.
The CIO's lament: 20-something techies who quit after 1 year
How Facebook Is Selling Your Timeline to Advertisers
Musk seems to be ignoring the fact that getting there is the easy part. You then have to survive on a frigid alien planet with almost no atmosphere, no food in the environment, essentially no available water and no human infrastructure. Are there really millions of people who would sign up for the world's most expensive method of committing suicide?