skysight-inc/HackerNews huggingface dataset:
Ask HN: Can you construct G2 Curves in CSS?
Does anyone know how to create G2 curves in CSS? Here's a little link demonstrating them: http://www.delcam.tv/delcam-video.asp?VideoId=77

Basically, they're perfectly smooth, rather than being simple quarter-circles like CSS's border-radius. Things such as the corners on the iPhone are supposedly constructed of them.

My math skills are a little weak to understand how these are even constructed, but I'd imagine that someone could construct them out of CSS by layering a bunch of DIVs with different border-radius properties on top of them.

Sounds ugly (from a semantic standpoint) and a little nit-picky, but with things like the introduction of the Retina Display on the iPad 3, I think we'll start seeing subtleties like this popping up in the future.
Here's a plain-text mirror of the article, since I'm not a huge fan of the whole "scumbag whatever" meme: http://pastebin.com/raw.php?i=XVdWpv53
You left your cousin with arch installed but didn't tell him that it's necessary to keep a rolling release distro up to date?

Hell, I have to keep up with the mailing list and the news page on the website just to keep my OS working update to update.

It's worth it for me because of my needs but Arch is very very specifically NOT for the average user.

You basically set your cousin up to fail. And it's not like the branding and messaging isn't clear about any of these things. Why on earth did you pick Arch for this use case?
By 'unwarranted' I am referring to websites who might get dinged in this update but are not overdoing the SEO, or possibly not doing any SEO at all. It happened with the Panda update so I can't help but think that it will happen again.
I'm a pythonist - use it all the time. Except when I need to do some stats or graphing, and then it's R all the way. The R language is ugly, and warty, but it's awesomely powerful. Hell, the graphing library ggplot2 (http://had.co.nz/ggplot2/) is worth it by itself.
I'm no expert, but I think it's possible that the fact that's a book at all may be a failing. The goal is to get them writing code and seeing results, as well as mimicking their later real world experience of experimenting to find the right answer. That's why I think things like code academy better reflect the way we'll be teaching this in the future.
The only reason I don't use ST2 is because it isn't nearly as good as Vim at indenting and highlighting the languages I use. Another reason would be that I can't use it in a terminal and would have to switch to another editor.

But the rest of ST2 is utterly fantastic. In particular, using Python as the extension language. Elisp is okay, but VimL is terrible. ST2 is the only popular editor I'm aware of that has a real programming language as its extension language and not a editor-specific language.
I was under the impression that the raising of the 500 shareholder limit was to allow the crowdfunding aspect to be meaningful; 500 investors at $100 a pop is only $50,000 that makes a certain amount of sense.

However, I'm not familiar enough with the securities law of 1933 to gauge what section 302 of the proposed bill ( http://www.gpo.gov/fdsys/pkg/BILLS-112hr3606eh/pdf/BILLS-112... ) means in practice.
Mozilla should skip working with the carrier just go to the phone manufacturers and develop their own phone. Once they have their own phone it's only an matter of time before carrier jump on board with them.

Imagine the $50 smartphone!!
I think he missed one of my favorite uses of classes: a collection of implementations of defined methods, especially if you can't pass around function pointers. For example, you're working with a Reader and the Reader is something that needs to be able to read() and flush() and open() and close(). You use that Reader everywhere with those abilities. You don't care how they work, you just need for it to be able to do those four things. If you're expecting different Readers, it's useful to have a Reader interface and then classes that implement it.

Unfortunately, this is the only way to perform this activity in Java. Also, I adore Go's style of pseudo-OO programming.

.. or, from reading the HN threads, is that decoupling?

If so, I'm using decoupling right now!
Ask HN: Graduating Code Academy Mar 28th..Pointers?
I am planning on starting Code Academy April 9th of this year and would love to hear any pointers from those who have already gone through it??
Try http://issuu.com/
You don't always necessarily get banned permanently, or banned at all. Google might just discount all the links they find to be bought and adjust your ranking according to your new link count minus the paid links. You can always clean up the links yourself and then submit a reconsideration request. Whether that request is accepted, that's up to Google.
What would solve a lot of my problems with paper and current electronic solutions:

Imagine some kind of touch mirasol with a matte screen and very thin body. You have a mode available where you can write on it with a stylus and can easily erase using your finger.

As you write, you get instantaneous updates that simply show your handwriting, making it look very similar to if you had written it on paper.

Certain motions also exist, however, to "neaten" a region of your notes (change them into a form that, though not a font, is better aligned and more readable) or to convert it outright to computer readable characters. Other versions could add syntax highlighting or other use-specific features.

Options like automatic saving, simultaneous editing, or projecting your notes are available.

How difficult is this with current technology? Would current generation e-ink work?

Edited to add: folding is also key, though obviously not now ready for primetime.
Yeah I disagreed with that as well. Though I think in classrooms it's "Decoupling," but in the business world they usually say "Model View Controller."
Mark Zuckerberg deleted his Facebook page
This is the most incoherent statement in this entire thread full of non-hackers saying "wouldn't it be nice if there weren't dependencies in software?".

The last thing this discussion needs is troll comments.
I switch between CodeRunner and Chocolat. I like both, but don't love either. Will probably pony up for TextMate soon.
Thanks for your advice i really does help especially the tl;dr part :)

But, what I mean is how do I overcome the feeling of feeling like a fraud? I don't mind failing etc I just dont want to feel that way...
That's interesting. I actually appreciate that certain shortcuts become two-handed. The proximity (on QWERTY) of X, C, and V to the left ⌘ key promotes a cramped, claw-like chording that is antithetical to the purpose of Dvorak (ergonomics). I find myself wishing that the X key were on the right hand for this reason.

Of course---neither layout dictates a 1 or 2 hand maneuver because there are two ⌘ keys, but I think it's common for users to want to use one or the other (for me, the left, unless I'm using it with the + and - keys, for some reason).
Dropbox was also not the first company that Drew started.
I gave DDG a try but didn't like the results. On the other hand I've been using Blekko for a couple of weeks and I think I'm in it for the long haul. BTW, if you aren't aware they have some very nice privacy controls just like DDG.
Toll booth: Could Facebook charge developers for access?
Completely agree. One of the points people like to make when they discover I use Dvorak is that keyboard shortcuts become a huge pain. After a while they become as natural as the QWERTY ones.
I'd even argue that trello allows for too much things to be visible on one board if you are using it to visualize your software development process.

Try to remove everything from your process board that is not relevant for the 'now' and move everything that is more vague to somewhere else (another board, spreadsheet, txt file).

I am a huge fan of getting rid of backlogs. I feel they do more harm than good, especially if the backlog manages the same entities that will later end up in your process. Usually you don't know whether it makes sense to work on something until briefly before you start doing it. So planning too far ahead is just waste (of time, nerves, decisions, …).

I also think wpietri is spot on with the recommendation to spend time on bug reduction & scope reduction to improve focus. Ideally you don't want to work on too many things at the same time which is easier said than done.

What we do is that we try to define the reason why we put something on the board. That way it is easier to re-prioritize and easier to spot low hanging fruit and things that we could drop in the meantime.

hth
Yup, all the time. It has some nice plugins and the settings are simple enough. Terminal panel, several files open with splitted screen, it has everything!
This:

> The issue isn't about speed, it's about comfort.

That's an important point. Sure, (I think I read somewhere that) the touch-typing champion uses Dvorak. However, I don't think that I type any faster after 2 years of Dvorak---I just type more effortlessly. Going back to QWERTY feels like a game of Twister.
Nice try, pre Skynet bot. We're not falling for your suggestion of building an AI for search.

Besides, if one really good one does exist, many/most SEO people would be out of a job; white or black hats.
Is there anything like this in Gmail Labs?
Ask HN: Guidelines for division of equity between Founders and Funders?
Hello HN,
In regards to starting a company, when choosing percentages to give to funders, founders, and employees, is there a standard?
I recognize that this will be dependent on what the estimated cost of the company will be, and how much the funders give, but any tips on this subject would be appreciated.
Thanks for everything!
TextPad
IPad3's praised display is apparently made by Samsung
As a guy who have been using VIM on linux for several years I say this:

Check out Komodo Edit! It has made a huge leap since it started.

It is an awesome editor for dynamic languages - particularly Python, JS, HTML, etc...

It simply does so much right, so do your self a favor and give it a try.
I wrote something a bit more detailed a couple years ago, partly as a school project and partly because I couldn't find it anywhere else: http://andrewfleenor.users.sourceforge.net/fhs/fhs.xml

It goes into much more depth, and you can expand and close directories to see what's inside them. I was pretty proud of it.
A few years ago, I quit organizing my code in terms of classes altogether. Everything got so much simpler that for me that whole way of looking at programming is now a gigantic mistake. It's true that you have to have a powerful enough language to get away with writing only functions, or at least one that doesn't impose classes on you, but that's true of lots of languages nowadays.

Freud said sometimes a cigar is only a cigar. I say sometimes a function is only a function.

Classes get in the way between the programmer and the problem. They force you to reify your thinking into "things" (classes) that demand names and citizenship rights, so to speak, in the system. These "things" don't really exist, but we act like they do, and so increasingly see the problem in terms of the classes we've defined. This is a distorting filter that we can ill afford when the problem is complex (if it's not complex, who cares - anything will work ok). The solution is not to define such pseudo-things in the first place, but rather to focus at all times on the problem at hand. Functions, for me, are the right level of abstraction to do this. They don't get in the way.

Once a bunch of classes have taken residence in your system and your brain, it's hard to remember that they aren't real, and thus the pain threshold is quite high before you realize that they're causing problems. At that point they're hard to change: you have to replace the old class hierarchy with a new class hierarchy. The difference between that and reworking a few functions is the difference between working in concrete and clay.

There's also the cognitive tax of having to think about what classes to create and what to name them. This too is overhead we can ill afford given our limited mental resources. If you've ever found yourself putting some code in a new class (perhaps because the old one got too big, or because you need to use it from two places) and gotten stopped in your tracks by the question, "What should I name it? What is this thing?" you are experiencing the overhead I'm talking about. It's the programming equivalent of Mr. Heavyfoot: http://www.youtube.com/watch?v=R9d2Y1We-d0. There is no such thing; you're just working in a way that forces you to pretend that there is and fulfill a bunch of duties towards it.

These two issues together are a double-whammy: you pay up front for what you pay for later.

It is shocking to see how much simpler systems become when we stop doing the things that make them complicated.
Syntax Highlighting with Python and Pygments
If you're on OSX, have you given Sequel Pro a try?
"I find OOP technically unsound. It attempts to decompose the world in terms of interfaces that vary on a single type. To deal with the real problems you need multisorted algebras - families of interfaces that span multiple types. I find OOP philosophically unsound. It claims that everything is an object. Even if it is true it is not very interesting - saying that everything is an object is saying nothing at all. I find OOP methodologically wrong. It starts with classes. It is as if mathematicians would start with axioms. You do not start with axioms - you start with proofs. Only when you have found a bunch of related proofs, can you come up with axioms. You end with axioms. The same thing is true in programming: you have to start with interesting algorithms. Only when you understand them well, can you come up with an interface that will let them work." - Alexander Stepanov.
I agree that in Jack's specific examples you don't need the constructor: the constructor trivially saves the parameters into instance variables. However, one thing that hasn't been mention is when the setup of the class is non-trivial, which most likely requires breaking it down its helper methods that's only specific to that class. Exposing those helper methods outside of the class can potentially add as much unnecessary complexity to the code base (i.e. is this a helper method for another method or if this is standalone method, how does this fit into what I'm trying to achieve?). Yes, this could be mitigated with good documentation, but classes exist for this specific reason.
I don't have a problem using QWERTY on my iPhone---I think it's because thumb-typing is different than 10-finger typing. I do get frustrated by iPads though (I don't have one for this reason, though the new one is tempting).
I switched many years back now. One good thing is that I never got past hunt-and-peck with QWERTY, despite being quite fast. As I started learning Dvorak by doing touch-typing, an inevitability given a physical QWERTY layout, it now resides in a different area of my brain.

That means that I can touch-type Dvorak, hunt-and-peck QWERTY , and can easily switch between them at any time.

But it still doesn't mean that typing on QWERTY doesn't feel like someone took pliers to my hands. Typing on QWERTY feels like I'm purposely trying to hurt my hands. That keyboard layout should be outlawed or its use at least strongly discouraged, I'm not kidding, for being:

a) Pointlessly wrong and

b) Doing actual physical damage to its users, more so than any other layout

Sure, it may take some weeks of learning Dvorak to realise how utterly painful QWERTY can be, but QWERTY is god-awful.

Even Cmd-X/C/V now feel wrong, because you're engaged in a clawing motion that leaves either one's middle or pointing digit in a very bizarre position. With Dvorak, the combined movement in the left and right hands is probably about the same as the movement needed in the left hand alone even in the sub-optimal Cmd-V or Cmd-Z - with QWERTY Cmd-X/C/V means that the entire left hand has to move, while with Dvorak the hand can stay mostly on the home row.
How To Be an Angel Investor
How are the machines doing at predicting March Madness?
‘Dancing With The Stars’ Season 14 Cast List Revealed | Word News24
Becoming an Angel Investor
How to be an angel investor
Can anyone suggest a good (and free) Python development environment?
Whether it's an ideological motive or not doesn't really matter. Whether a bias comes about due to intention or side-effect doesn't matter. I wasn't discussing NPR vs. Fox 'News', I was merely explaining some ways in which NPR -- whether intentional or not -- creates some bias in some of their content.

You don't have to be "the gun network" to know basic terminology about guns. If you don't have knowledge of something, don't report on it, or simply repeat the literal words of, say, the police. Don't try to spice up the story for broadcast by misusing terms. Similarly, you don't have to be a physicist to realize that you should create inflammatory headlines like, "neutrinos traveling faster than light, Einstein in tears!"

And anyway, the gun thing was just an example of how news outlets in general often get things wrong in a way that effectively creates a bias which is perceived to be left-leaning. I've seen the same thing happen when discussing nuclear power, military weaponry research, and countless other topics. And it's not simply about ignorance of technicalities, it's about misuse of terms and misinterpretation of information.
Sure, I mean't in the sense that "British researchers say we (the internet generation) are getting worse at reading books (but we're very good at finding the useful information in a crowded website).
I've been using Dvorak for a little over 7 years and I still find myself regress to QWERTY shortcuts on occasion. The real problem I've found is when I don't remember the location but remember the mnemonic. It could be related to never being able to fully kick QWERTY: my wife and co-workers still use QWERTY, so I have to type in that layout with some amount of regularity.
57% of actively managed funds underperformed benchmark over 3 years
In python you can mock pretty much anything you want. You can mock package-defined variables by simply modifying them to the value you want (sys.modules['mymodule'].MY_GLOBAL_SWITCH = True). In such a way you can even mock standard library functions and built-ins (which have their own __builtin__ package). With such capabilities you can test pretty much any code. (There are some limitations indeed, like you can't change types which are defined in C code.)
IIRC, that OS X mode doesn't carry through to Swing properly. Not a big deal for many, but I use IDEA and RubyMine pretty heavily so it was a no-go.
Being a Senator does not mean that you "run the country", it just means that you make the legislative framework for those that run the country (aka the Government).

As a member of parliament, he would only have immunity in Australia from police investigation and arrest, but not abroad.

However, arresting a member of parliament of another country is something that you would usually try to avoid, especially if that person was democratically elected.

Funny thing if he was elected is that you probably could read all the iternal Senate papers on Wikileaks every day ;)
Would Object.create also inherit private functions and members ?

No, it would not - these so-called private members and methods have nothing to do with inheritance, but rather lexical closure.

However, as the super constructor is called, priviledged methods will be present and still have access to the private variables.

See also http://stackoverflow.com/a/1441692/48015 for a more comprehensive overview over different access levels.
Get around passwords are trivial in most cases if you have unsupervised access to the computer. The only chance you have is to either lock away the actual computer and only have the screen and keyboard accessible or to epoxy shut the case and fill all the external ports with glue. Again location of the computer is irrelevant unless you never ever leave your teenager home alone. All of this is assuming the kid in question doesn't just buy his own computer, and with decent laptops being less than $400 new and half that (or less) on ebay, that's quite reasonable these days. Plus most phones you can buy today are quite capable of both downloading and viewing porn.

Home web filtering solutions are also joke and snake oil, always have been. They'll stop dim and uninterested people who don't really care too much one way or the other, but anyone willing to spend 5-10 minutes thinking about the problem will waltz around them.

As to open wifi networks, they won't be watching the porn at Starbucks, they'll be downloading it for later viewing.

And finally it doesn't matter how much you do to lock down your computers and networks when they just go over to friends house and use the unlocked and unfiltered computer there.

Again censoring the entire internet is obviously Wrong. But thinking that you can prevent your teenager from viewing porn on the internet if they really wish to do so simply naive.
It's on Github, so you can send a pull request here: https://github.com/0xfe/rubyrefresher
Venkatesh Rao articles seem popular here :)
why on earth would you try it with divs and not say canvas/svg?
Huh? Modularity has nothing to do with classes.

In plain C, your main "method" can be a simple external function, and the "helpers" can be static functions. Python offers similar functionality.

Making a class is a step backward because the internal helpers have to exposed to users, even if they're intended not to be used.
Custom homes Houston
Houston custom home builder Southland Homes of Texas builds custom homes provides historic renovations and high end home remodeling in the Houston area. With close to one hundred high-end custom homes, renovations and historic renovations to our credit, we have the experience to successfully design and build your project, and to insure that the end result is unmatched in beauty and functionality. For more information please visit: - http://www.customhomesbuilderhouston.com/
I use nano if it requires editing a file for an install etc, as I am already in terminal. If not, gedit is my goto - i don't use a text editor that much
ASL.js American Sign Language Javascript
I use github, and mostly the t browser shortcut

(yo hassy)
Anyone have suggestions about the best way to learn? I first heard about, and tried, Dvorak layout about 17 years ago. I've tried it two or three times since then, but since its so easy to switch the keyboard back, each time I'd get frustrated (because I needed to get real work done) and decide to do it later when I didn't need to get real work done.

Nowadays, I think that the solution might be a Dvorak keyboard cover for the macbook. This way I can hunt and peck in Dvorak while learning, or at least find the key and not be completely stymied.

Here's the first keyboard cover I found in Dvorak format:
http://www.kbcovers.com/servlet/Categories?category=Dvorak
I just passed 5000 in HN karma.
This is a big day for me. So to celebrate, I'm going to give you the ultimate geek gift: A great scifi book recommendation. Load up your Kindle or Kindle App right now and go buy "Wool" 1-5. For the 50% of you reading this that have already read it, I apologize for being late to the party, but it's worth it to make the other 50% happy.
The trouble with SEO as a business is that you are always second-guessing the whims of people who's plans and actions are unknown to you other than the fact that they are almost definitely working against you, and furthermore they will usually have much better resources available.
I don't know of anyone who specifically optimizes for Bing - most of the ranking signals are the same or at least similar to Google, so with far less traffic than G it's not worth it to focus on bing SEO (or for bing to change their algorithm to include widely disparate ranking signals)
I wish they told me that when I took inline lessons on class-class.org