skysight-inc/HackerNews huggingface dataset:
I think its more likely that they realise most people don't understand what the http/https bit is all about, so its much simpler if you ignore it altogether.

I honestly think http/https should beside the point. Websites should transparently redirect to https if they need to (so the padlock appears), but there is no need to signal this to the user with some cryptic techno-gabble.
I agree.

Another quotation from the article:

"They also found that leading up to final exam week, students who bought into the limited resource theory ate junk food 24 percent more often than those who believed they had more control in resisting temptation. The limited resource believers also procrastinated 35 percent more than the other group."

Perhaps people with poor self-control, who would eat junk food and procrastinate anyway, are more prone to believe that willpower is biologically limited. This saves them from having to take responsibility for their negative behaviour.

If that were the case, the causality would run in the opposite direction.
Actually, Github may be the best place to write reverse job applications.
Protip: do not use dishes. Eat from cutting board or pot.
I, for one, welcome our new Arch Overlord.

I kind of agree with him. But I bet he wrapped his "select count(*) from ..." in some sort of function like get_row_count(table). Add a few more and before you know it, you're half way to a new framework that concatentates HTML fragments built from SQL queries.
Agreed. But the big problem with RoR that I've encountered is that the whole has_and_belongs_to_many mess feels like an idea that got out of hand. You can imagine that with a very simple schema writing the associations would be easy enough, but you end up with two problems:

1. You have to keep the schema and the associations in sync. I simply do not understand why in RoR the associations are not derived from the schema using foreign key relationships.

2. You end up knowing how to do something simply in SQL and then having to translate that on to the Rails way. This Rails way seems like a useless translation of a perfectly workable underlying system.

Put 1 and 2 together and I end up with the frustration of "Oh, I have to keep the schema in sync. with all this association stuff so that I can use Rails method to access the schema". It feels circular and I'd be much happier with reverse engineered methods.

Also, I find the Rails magic functions where you can just make up a function name find_by_nozzle_color() to be infuriating. I'd be really happy if the reverse engineering component spat out something like a header file containing sensible methods I can call.

Perhaps I lack imagination. Or experience. Or both.

Also, while I'm moaning. I wish Rails had proper support for database views. It's as if no one has any real experience with databases. Doing that would eliminate a lot of my troubles because I could keep a view (even an updateable view) in the schema and have a handy object accessor for it.
Ask HN: Finding a name for my (spanish) startup
I'm trying to find a name for my first app but I can't come up with anything great. The app lets you monitor your cashflow, the core features are similar to www.pulseapp.com.

The startup will be used(I hope) in latin countries so the language to be used is spanish. So I ask yo HN users: Do you have any ideas how I can name my startup?
I'd love to see more infos about the service you are providing, in particular how you handle sending the emails from a technical/deliverability perspective.

Reliable mail delivery will be a major challenge -- what steps did do you take to ensure my mails will reach the recipients?
About to launch Labels.io,the open database of pros and skills,feedback welcome
I wonder if the designers were influenced by the inflatable collar that Y.T. wore in Neal Stephenson's Snow Crash. I think I'll wait for a suit that inflates like the airbags used by the Mars Pathfinder.
Exactly my question. Are there any cheap and reliable(very important in this case) VPS service I can use to do this? Using ssh thru internet as proxy seems to be the best approach. Unfortunately I cannot setup my own ssh server to do this as both power and internet connectivity is not reliable where i live.
I think Twitter and any other social platforms are good for the kind of activism that you stated above.

However for something so revolutionary, it takes more than just being a slacktivist who sits their ass on a comfy chair while doing a 'political reformation'.

http://en.wikipedia.org/wiki/Slacktivism
Not doing C is like a carpenter not using a hammer?

Programming languages are like hammers in that they often end up in metaphors.

Hammers are like C in that they are bad metaphors for women.
Why Single-Stack Infrastructure Sucks
Yes, because that's all Rails (and the other frameworks) do. They obsfucate HTML and put a thin wrapper around SQL

You always have the option of dropping down into straight HTML. This is one of the things I love about Rails. Also, he forgot all the other things these frameworks handle, which constitute 95% of what they do.

Yes, there are people out there who couldn't write straight HTML if they had to, and have never heard of an inner join. We call them bad programmers. Guess what: they're everywhere.

EDIT: Obviously this only applies to people who work in web development, or other domains where SQL and HTML are important parts of their domain. If you do low level systems development, write device drivers, do kernel development, etc, you're not a bad programmer cause you don't know HTML.
Are You A Slave to Your Email?
British Kids Learn Math Remotely From Indian Teachers
Delay Premature Ejaculation And Last Longer
Sitting at Work is Hazardous to Your Health
I don't believe it's completely ineffective; it can certainly save your scalp from some road rash, and I'm sure you can find a couple of cases where a helmet avoided genuine head trauma.

But I'm not convince that the benefit of helmets for cyclists far exceeds the benefit of the same helmets on pedestrians, or on car passengers. Now, most people agree that there's a comfort/price/benefit compromise, which makes it inappropriate to enforce mandatory helmets onto pedestrians, although it would obviously save some lives. In order to accept that what applies to pedestrians doesn't apply to cyclists, I'd like to get some hard data, not some "gut feeling" from lawmakers who barely read what they vote for.

Also, I could understand that serious head traumas avoided in significant numbers would justify a law: in most civilized countries, the corresponding hospital bills and disability grants are paid by public insurance, i.e. taxpayers; cyclist are therefore accountable in front of them. But if it mostly saves scalps from roadrashes, I don't think that a law is appropriate.
Yes, Digest is safe in this case, but one could write a more advanced (packet-injecting) tool/Firefox extension that breaks Digest too.

Terribly bad UI and lack of standard way to log out are dealbreakers for HTTP auth.

There's also no reliable way to customize UI to offer help, password reminders, branding or anything like that.

There has been proposal to improve this in 1999:

http://www.w3.org/TR/NOTE-authentform

and recently discussed in HTML5 WG, but the conclusion was Digest and countless JS tricks proposed in its place are only partial solutions, cookies have unstoppable momentum, so it's better if everyone just switches to SSL.
Techcrunch has seemed like a place for rumors and opinions for as long as I've been aware of it. Are we reading two different sites?
That entire comment is very biased. Sure, the "pure" way might be amazing and fantastic, but if I used raw SQL queries for my projects, I'd be in a lot of trouble when I needed to do something extra when saving an object.

Sure, I could use stored procedures, but then it's database-specific. What happens when I need to move from MySQL to postgres, or from AppEngine to my own server?

The poster just ignores a million things frameworks are good for. Sure, if your project is large enough you'll eventually grow out of them and need to do more complicated stuff than what they make simple, but for 90% of projects they are a godsend.
I think "machinist" is a better analogy than carpenter for programming. A C programmer is like being a lathe operator, a ruby programmer like a milling machine operator, and so on. And the various frameworks and APIs are like jigs and fixtures, they let you turn out some work more quickly and accurately, at the cost of overall flexibility.
Erectile Dysfunction/Impotence Treatment
Best herbal treatment for erectile dysfunction/impotence.Aphrodisiac herbs to increase male performance and libido.Erecta™ - 100% natural herbal erection enhancer and erectile dysfunction cure.Stay hard longer with Erecta™.Best natural way to cure erectile dysfunction,to increase libido and to enhance virility.
yeah i changed up the font size last night, so i'll have to fix that, thanks!
I have been using IconFinder.com for years now and I can attest that it is the best icon search engine out there. Almost all icons used in VWO come from there. I just wish that icon library was more comprehensive that what it is now but all in all, a well-executed site.
These days when I feel a little too overworked, I picture this drawing in my head:

http://www.awful-drawings.com/post/1086207904/life

then I remember life should be fun and calm down :)

(disclaimer: drawn by my brother)
It has been around for awhile, been using it since about 2008. Cool service.
Declassified NSA/CSS Documents
First All-Digital Science Textbook Will Be Free
Sure it's easy to get hurt if you do not use a hammer with care but you just can't be a good carpenter without knowing how to use a hammer properly . NOM
In all these frameworks, there's probably one guy who learnt a bit of SQL and thought "this is too complicated for anyone but a programming god like me" and built a Rube Goldberg abstraction layer on top of it. There's just no need for an "ORM layer" if you understand that a table is NOT a class and a row is NOT an object, and you can't fake it except by jumping through a lot of entirely unnecessary hoops and what do you get for that? A app that is 1% more "object oriented" than it would have been if you'd just done it.
My inclination is to believe that knowing the basics of writing code with C is slightly more difficult than figuring out the basics of hammer usage.

Also, the range of things you can do with C likely exceeds what you generally utilize a given hammer for.

Programming languages are not like hand tools.
I hate those auto-generated find methods as well. So i don't use them. I don't understand why this negatively impacts your experience.

+1 on the lack of support for views. You can kludge things together, but its not pleasant.

You're making the associations sound much more complex than they are. Once an association relationship becomes too complex, you always have the option of just declaring simpler association and stitching together the complexity manually. Maybe I'm completely wrong, but in most places i do feel that Rails degrades reasonably, so that you always have the option of doing something the more verbose/manual way. In something like asp.net, I find that it either just works, or you're up st creek.
I'd be more than happy to answer any questions you might have about it so fire away!
All windows versions since 95 actually have pretty complex abstraction layers (IIDL -> user-space path, user-space path -> kernel path) between real kernel-level filesystem and what user sees in Explorer (To faciliate things like "My Documents" and also to provide illusion of drive letters and current directory). I assume that OS X's finder also has some abstraction layer (to do things like Library->Bibliotheque).

Also it is relatively simple for application on either system (including generic unices) to find suitable place for their data. Making some OS-agnostic abstraction has fundamental problem in fact that different systems offer different types of standard locations (Unix has $HOME and dot-files, while in windows you have My Documents and three distinct Application Data directories and lot of specialized directories like Pictures, Saved Games etc.).
That's a good point about the mapping of a row to an object. I've always found that whole "table is class" but "row is object of same class" thing weird. It's like the people who created these things don't understand objects either. Would have killed people to have a row class and a table class (perhaps with iterators)?
Christina Wodtke's Blueprints for the web http://amzn.to/cTDimh is about information architecture, but is full of tangential wisdom about managing web teams. I learnt more this book than from other books that are actually about managing teams.
I would have put IE instead of Facebook :D
1) I don't think I've actually used has_and_belongs_to_many since 2008. Generally, most people seem to use has_many :through, which is somewhat clearer and allows more complex join models.

2) All that has_many :through does is simplify the syntax of accessing objects through many-to-many join tables. If you know how to use many-to-many joins, has_many :through is just a simpler syntax that enables you to explicitly mention the join table only once, and have it used implicitly thereafter. Nothing all that complicated about that, and there's nothing that needs to be "kept in sync" any more than it would if you were doing pure SQL.

3) find_by_* methods are hardly complicated. Have a read through the source of ActiveRecord::Base's method_missing and you should get the idea of how they work pretty quickly. Give yourself half an hour, because it is pretty tight code that does a lot and does it efficiently, but it's not difficult to follow if you know ruby:

if match = DynamicFinderMatch.match(method_id)
attribute_names = match.attribute_names
super unless all_attributes_exists?(attribute_names)
if match.finder?
options = arguments.extract_options!
relation = options.any? ? construct_finder_arel(options, current_scoped_methods) : scoped
relation.send :find_by_attributes, match, attribute_names, *arguments
elsif match.instantiator?
scoped.send :find_or_instantiator_by_attributes, match, attribute_names, *arguments, &block
end

From: http://github.com/rails/rails/blob/master/activerecord/lib/a...
Except that Google did not steal, they only warned people and shown that it's possible.
Eek, sorry about that bug. I'll look into it. Admittedly, I haven't done extensive or automated testing yet.

I agree JQuery would be a good addition and not difficult to add.

A standalone app would be nice too... that would make it easier to preload content and minimize loading delays between pages! A standalone app would also give me access to AppleScript, so it could integrate with Mail, iCal, etc.
Blurring the Line Between Apps and Books
Windows 7 implements the "libraries" functionality into their OS which offers some abstraction here. You can add different directories to the libraries, and a few default ones are included at OS-install time.

As someone mentioned earlier, a good search indexer also is good for this function.

My largest concern about this article is that the user mentions XP rather than something like Windows 7. Of course XP doesn't do it properly, it's 9 years old.
Spam. Obviously.
Those are still dishes imo (at least the still need to be cleaned at some point). Also if I take time to cook anything with pots it's more than I would eat in one sitting . And I enjoy the process of eating more and pay more attention to what I eat if I put everything I'm about to eat on a plate in front me. The easiest way to tell if you are eating healthy is to see if the plate is "colorful" as opposed to all looking the same.

[ a balanced meal to me is a plate divided in 4 different color quadrants not eaten at the computer, so a plate is a useful tool in this respect ]
Ah yes, was going to comment on that too.. Why do you have a captcha? Are you having spam registration problems?

As captchas are a hassle to people, I wouldn't worry putting one in place until you have an issue with non-humans registering.
Will it be open source?
OK, I've just tried with a vanilla install of Opera and the captcha isn't showing up - I'll fix that ASAP.
> 1. You have to keep the schema and the associations in sync. I simply do not understand why in RoR the associations are not derived from the schema using foreign key relationships.

...

> I wish Rails had proper support for database views. It's as if no one has any real experience with databases.

Recall that Rails was created, originally, for use with Mysql, which is the sort of environment where concepts like foreign keys were, perhaps, a bit foreign to some users.

I think your complaints are valid ones, but on the whole, I think Rails has been very good for web applications, because you can do more with less code, and yet keep it fairly clean. Once you've got things set up, it becomes pleasantly simple to interact with the database in straight up Ruby, while still being possible to do more complex things should the need arise.
Finally, India close to victory in war against polio
I don't get it. Using these frameworks has nothing to do with the user either not being able to write markup, or just generally sucking at doing so. The abstraction isn't 'useless'. It gives you a choice, though. If someone is feeling more comfortable writing raw SQL then do so, ActiveRecord isn't stopping you. That's the great thing about Rails. If you want to write raw markup, sure, go ahead; just don't use any of the helpers provided.

Regardless of the means of transport, we're achieving the same goal. How we achieve this is usually personal preference. And for that reason rants like this will always come and go, just as responses like mine.
the guy needs an editor, or a proof-reader at least.

anyway, i think he made good points.
No actual content. Just links. Flagged
Your schedule looks similar to mine.

- I wake up at 5 and go to bed at 9.

- I also work from home so I don't waste time on commute.

- I run for 1 hour every 2 or 3 days and do some exercises in other days.

- I cook a lot at home. Eat lots of salads and fruits.

- All errands are reduced to minimum. Very few things now can't be done using internet. Strange thing about your landlord. I haven't seen mine in months.

- I usually work during weekends. Then I make longer 2-3 week breaks once every 2 months to compensate. My day job is flexible enough to allow it.

- I don't own lots of stuff so things are easy to take care of around home.
I can seem to repeat the bug if I:
- Open Safari
- Install Verbal Juicer
- Edit one of the plugins
- Quit Safari whilst the code-editor is still open.

When I reopen Safari and try and edit an extension, I just get "undefined".
If it can be that easily scripted, 10 year olds were already doing it. Suppressing knowledge, especially knowledge of a flawed system, doesn't make the system safer.

In terms of severity, computing has overcome worse exploits; this is a problem awaiting an answer, which sounds like opportunity to me.
I use just 1/2 dishes, but I still cook something, so I also have to wash pans. I do not produce a lot of dirty stuff everytime I eat, being alone, but it surprises me how long it still takes to wash these things by hand.

Moreover a dishwasher helps to save water and energy.
This is the first reference I found on Google: http://1greengeneration.elementsintime.com/?p=314
Five Years Later, Ray Ozzie Pens Another Great Memo: “Dawn Of A New Day”
Broken London transport apps show the problem with APIs
The real danger isn't calling yourself a C programmer, it is calling yourself a programmer. That has far more dangerous career consequences, particularly for freelancers.
"Happy families are all alike; every unhappy family is unhappy in its own way." -- Leo Tolstoy
There are stuff that these OS-es got right, and there is no known better way. Not doing the same just for the sake of not being called a copycat is a stupid thing to do. The perfect counter argument for these is: "that's what people were used to"

This all only holds up if there is no known better way.
I think what the author of the forum posts means is just that it sounds like saying "hammer carpenter" when you say C-progammer, i.e., he argues that it sounds strange to put the name of the tool you use in your job title. I don't think that he's trying to make the analogy "C is to a programmer like a hammer is to a carpenter", because that analogy is obviously flawed (as shown by other comments in this thread).
Google Voice Search introduced 4 New Languages | DailyTechPost
Butler has not raised the threat level on anything. This has been a widely known issue since forever. A friend of mine wrote a sniffer that could do this back in college, and he was one of the last to the party. Want something else to kvetch about? His tool could impersonate the router and act as a proxy, including serving up ssl-encrypted pages to users who didn't realize they shouldn't accept certs from unknown signers - again, that was years ago, and even then it was nothing new or unique at all.

When a tool like this rises to even a minimum level of public consciousness, you're better off thinking "people have probably been doing this for close to a decade" than "this asshole just ruined the internet by pointing out an obvious flaw that someone will now be able to exploit".

And yes, at some point, a door manufacturer that knows how easily their doors will open and how frequently people will just walk through does take on some responsibility to add a lock (and the homeowner to use it). It's going to cost more in servers? Okay, so what? It costs more to install seatbelts, are you upset at Ralph Nader, too?

[Edited to bring it down a notch]
Google launches music discovery service in india
You're right, thanks - it's only there 'just in case'. I've taken it out.
I like Django as much as the next guy, but the framework-obsession that has developed over the past few years does indeed tick me off.

There are certain instances (i.e., full-blown web applications) that benefit a lot from employing abstraction tools such as RoR or Django. Equally, whenever there's a lot of variation in the underlying technology, give me a framework! jQuery is a wonderful example for this.

However, there's a time and place for such frameworks, and that is not "always, everywhere". Really simple CRUD stuff doesn't require Rails. CSS grid frameworks are a ridiculously inefficient mess. (Aye; even in prototyping.) Most template languages are silly and unnecessary. Et cetera.

Sure, it's a rant. But the man has a point. Web frameworks are enabling a whole generation who can't even use a scripting language without relying on plenty of magic. A modicum of abstraction, when sensible? Bring it on. Relentless black box programming? That has its limits.
OK, give it another go - the captcha is no more!
To me he represents the best of the meritocracy in action: incredible success without the gifts of money, power or connections at birth, survival and achievement though skill, intelligence, hard work and refusing to ever give up.
I have so much genuine respect for him.
Cheap imitation used to be an MS strength. A $200equivalent of the iphone V1 would be welcome.
You need to explain that for it to make any sense.
Being uber conscious about health, I spend some bit of my time cooking everyday. I would love to outsource this or find a healthy eat-out option. Since I only work on my start-up, there isn't much of a juggling.

Wake up at 6
Have tea
Read a bit
Make and eat breakfast
Be at work by 9 (it's a 5min walk to my work place)
work till 12.30
Have lunch n a short break
Start work again by 2.30
Work till 7
Gym for an hr
Shower n dine
Read/ TV/ Movie
Get to bed by 11

No gym on wednesday evenings. I seem to crave for a break mid week than weekend. I go to a pub/ movie or meet friends Wednesday evenings. I work Saturdays. Stay out late in the evenings. Wake up a lil late on Sunday. I take an hour or two out on a Sunday for my hobbies.

working out religiously, listening to the music of your choice and eating healthy will help you avoid a burn-out.