skysight-inc/HackerNews huggingface dataset:
A great discussion that highlights some common misconceptions in Python security. Here is the pyvideo link: http://pyvideo.org/video/634/advanced-security-topics.

Some quick notes:

1. Don't use `from random import choice`.
Use `from random import SystemRandom()`.

2. PyPi should not be used with abandon.

3. Use HMAC for hashing (and salt).

4. Don't write your own encryption (unless
you're a cryptographer, perhaps).

5. Use JSON for untrusted data (or another
serialization format with a safe deserializer).
Hollywood’s Role in Innovation … and SOPA
I have a <2 year old daughter right now and while it may be a bit soon to compare, I think she would benifit from having something that she wants to focus on for more than a couple of minutes. Right now she can be actively playing or passively consuming, though the latter does not interest her much and she just wanders off or ask for attention. Some interactivity might do well at this age.

On a side note I don't own an iPad nor intend to. Maybe a wii (she's already pretty curious about the tv remote control). However, I'll probably hold that off and let her enjoy the real world for a while.
Aww. At first I thought this was You Have to Burn the Rope[1], which I can say is probably better than whatever you've got in the Windows 8 App Store.

[1]: http://www.kongregate.com/games/Mazapan/you-have-to-burn-the...
I have that problem with my iPhone. "Intuitive" makes me laugh these days, and I'm now scared of Windows 8.
My son watched TV when he was small - after a full day of high stimulus activities in an educational daycare program, he needed downtime. He started playing with the Xbox 360 when he was five and saved his money from odd jobs for us and neighbors and bought himself a Wii when he was 9.

Maybe he won't be the next Steve Jobs because of it.

But what has been interesting is that recently, he is much less interested in TV and video games and far more interested in physical world gaming with his peers: Bey Blades, Pokemon, Yugioh, and in particular Warhammer. He's been buying figures, paints and brushes not the latest version of Madden with his money.

Keep in mind that it was easier for your mother to do what she did than it is to do something similar today - kids programming wasn't available on 13 channels 24x365 and it was considered inappropriate to market to children in the way that is now standard [see Juliet Schor's Born to Buy: http://www.amazon.com/Born-Buy-Commercialized-Consumer-Cultu...]
I'm more interested in what is going on w/ those Thinkgeek LED clocks lining his shelf.
I don't want to see any advice about CSS from someone not wanting to see IDs.
This is beyond stupid.
Today, 11.10 is so unusably slow it might actually make Windows Vista feel competitive.

Unfortunately, I'm having the same experience on my desktop. Unity didn't fit the way I prefer to work (and yeah, I tried it for a while, I didn't just dismiss it without some effort), and I switched to KDE. Holy slowness, Batman...my Windows 7 desktop becomes usable much faster (on the same machine) than the Kubuntu desktop. Applications sometimes take forever to start, with no rhyme or reason. I haven't chosen to explicitly install anything new--I just have the same basic boring dev and scientific computing packages I've always had.

And yes, Ubuntu used to feel like it was usable "out of the box" one major version ago. Then they started adding bells and whistles, and since then it's just been a steady degradation in performance.

Sure, I can probably go fiddle with a bunch of settings somewhere, but as soon as I have some downtime I'm going to try out some other distros that--hopefully--don't feel the need to add a bunch of performance-sucking features by default.
Note that the tanks also "wear out". Their life-time depends partly on how much pressure they use relative to their "maximum".

Also, wet air has corrosion issues, not just in the pumps, but in the tanks.

These issues are $olvable.
Spot on observations. Your mother did it right. Do the same thing for your child.

We do something similar with our 20-mo old. We're less hardcore about the TV^WNetflix thing than your mother. If he wants to watch Eeebee or Old MacDonanld he tells us and we let him (within reason).

About 4 weeks ago, he learned to play with Duplo building blocks (which we've had for several months), and he almost never asks to watch TV now. We estimate he used to watch about 6 hrs/week before.
Tricky tricky. Is it evil to release software that may not be used for evil?
If you're willing/able to jailbreak your iPad, check out Incarcerapp - it lets you optionally disable the home button, multitasking, touch events, etc. It's triggered by an Activator action (by default, clicking volume up, then down). You can also customize it per app, so you could disable touch for netflix but not games, etc. It's free and works great.
As much as I love them for adding new features and languages, what I really want is Travis CI Pro with non-public projects. So I can start giving them money and use it for work instead of using it for pet projects.
Makes me think of Iron Man, when Gweneth Paltrow clicks on the 'Translate' button in the terrorist video, and it was the original voice but translated into English. I never thought it would actually be possible, but this looks pretty interesting.
Was frustrated at first, I thought that these would be tools to help me create infogprahics without much work but instead I guess you have to use premade layouts for specific purposes?

I suppose this is your MVP since your only launching with facebook, and twitter infographics at this point which for the sake of infographics arent really useful unless your just sharing among your friends.

Who owns the right to the art at the end?
For Creators of Games, a Faint Line on Cloning
Yes, the Linux kernel has used this error handling strategy for a long time (http://kerneltrap.org/node/553/2131). A variant on this is to have multiple error labels so that you uninitialize the correct set of things without the if statements (which may not be possible in cases where the resource is represented by an opaque handle).
That actually is a nice idea indeed :).
> We use hyphen delimited,

> lowercase selectors: .thisIsBad{},

> .this_is_also_bad{} but .this-is-correct{}.

.

I am a fan of mixing Camel Case and Dash Separated. I use Camel case for specific elements.

eg. ".addClientButton"

However, I use a mix of Camel Case and Dash Separated for IDs specifying a specific element in a specific part of the dom.

eg. "#newClientPanel-addClientButton"

.

I learned this method from looking at how apple.com does their styles on their check out screen. However, it doesn't look like they don't do it this way any more.

How do you handle making unique IDs? I guess I could switch to something like

.add-client-button and #new-client-panel_add-client-button
Make friends with other good engineers that are good interviewees. They will teach you some skills, and give personal references for you at their companies when you need a job. Personal references are going to get you the really good jobs, not applying online and going through the standard interview process.
Second this. Right after school I passed on a higher-paying job to work at a startup. It didn't do well, but I learned a whole lot about what is involved in running a startup correctly, from the perspective of a mid to late stage employee.

Forward many years, and I have my own thing going and I appreciate the failed startup experience because it gives me some framework on which to base my decisions. And I hope I'm doing things better... (and that a few years from now that junior dev we just hired will do a better job with his/her company!)
A new view of DNA
Interesting. I'd like to ask a few questions for future reference on pedagogy :).

Was there anything aside from the derivation of the update equations for Kalman Filters you felt wasn't covered too well? What did you feel that you got from the book [and which book did you use?] that you felt wasn't covered in class?
One tiny tip I have is to use underscores in ids and hyphens in classes. That way if I see $(".things-to-find") the fact that "thing-to-find" is not recognizable as a javascript variable gives that much more of an indication that it will be (relatively) expensive. Likewise #doodad_im_styling looks bad in css files since it doesn't match anything else.

Granted I violate both of these principles, when appropriate, but they're there to keep the average case in line.
Even if you accept the MPEG-LA's assurances that there are no practical issues with H.264 decoders (and it is worth noting that the terms for decoders almost certainly wouldn't be as generous as they currently are without the pressure created by WebM), that was never the fundamental problem.

The real issue with the H.264 patents and why it is anathema to any libre ecosystem is the impact of the H.264 patents on video creation, encoding and distribution. Here's a thorough discussion of the issues (created by someone who actually took a substantial amount of time to talk to a representative of the MPEG-LA for clarification):

http://www.librevideo.org/blog/2010/06/14/mpeg-la-answers-so...

To me, this is a key conclusion:

"Related to point #2, it may not be possible to release an H.264-encoded video under, for example, a Creative Commons license that allows commercial usage. More precisely, should you release your H.264-encoded content under such a license, it would not be legally usable under such a license. This cuts out a large portion of options related to how you may share your creative content."

I find the idea that we should standardize on a video codec with that sort of usage restriction completely incomprehensible. I just do not understand how people can accept a data format whose licensing doesn't just constrain people who produce encoders, decoders and other related tools and technology, but also constrains end users.
We're moving into an age of five different types of inputs:

1. Keyboard
2. Mouse
3. Touchscreen (finger, stylist)
4. Audio (e.g. Siri)
5. Video (e.g. Kinect, eye tracking)

In video games, going all the way back to the Atari 2600, we've seen plenty of new types of input controls tried and failed. Joysticks, rotary controls, gamepads, keyboards, mice, trackballs, touchpads, light guns, robots, power gloves, giant floor-mats with buttons, analog sticks, analog buttons, vibrating controllers, skateboards, drum kits, guitars, microphones, steering wheels, arcade sticks, etc...

Some were great, some were terrible. The "great" tended to be so because they were tailored to the software they were programmed for. Playing Guitar Hero with a guitar controller is good, but playing Call of Duty with it is bad. There are plenty of different types of inputs that exist and will be invented, but some work best for some things and terrible for others.

As you mention, Microsoft Office is designed around a keyboard and mouse. A touchscreen is a hybrid of the two, more portable, but clunkier. An accountant who lives by arrow keys, hot keys, and their numberpad in Excel is going to hate a touchscreen. For MS Office to work on a tablet, it'll have to be re-designed from the ground up, and even then it may not be superior to its desktop counterpart in an office setting.

I don't know what MS wants to do with Win 8. To think all desktops are going to die and become tablets is wrong, just like thinking that T.V. was going to kill radio. Both have their places, but a tablet != desktop.

Maybe you're right that they just want a "quick success", but that strategy hasn't paid off for them recently (Zune vs. iPod, Bing vs. Google, their fragmented mobile efforts vs. iPhone). MS has been in reaction mode for a while, and now they're reacting to the iPad with Metro.

One thing Microsoft does have going for them is the corporate market; Apple hasn't directly targeted that yet, though to think that Apple is not going to go after it shortly is foolish. MS is entrenched in here with Active Directory and Exchange. But cloud efforts are going to shortly give that a run for its money.
Cuba Announces Release of the World's First Lung Cancer Vaccine
On salad chopping vs iPad game: why not do both?

My son prepares tiramisus, sushis etc with us, and he watched the recipes on the iPad :)

Then I definitely agree on the "constant entertainment" point: I'm doing my best to ensure he knows to "do nothing" a bit each day.

Over-stimulating is something I'm very careful about!
After SEOers/blog spammers discovered infographics a couple yrs ago I've really grown tired of seeing so many low quality ones around the internet.

They usually take a bit of effort to understand what its trying to communicate and I don't even bother anymore.

But of course I'm not the average internet user.
I always write

margin:0;

instead of

margin: 0;

Here's why.

The first reason I do is because you don't need to write that space. It doesn't seem like much but it makes a difference when you're writing up to more than 1000 lines for one CSS (I type every word using Notepad++).

Second reason is: by removing this space, it joins the property (margin) and the value (0) together. And because I write my CSS in lines, it makes a difference when scanning visually.

input { background:white; border:none; float:left; font-size:14px; margin:0; padding:5px; width:400px;}

is easier for me to scan than

input { background: white; border: none; float: left; font-size: 14px; margin: 0; padding: 5px; width: 400px;}

because I can easily target any pair property/value.

And the reason I don't mind the lack of space after the colon is probably because I'm French and in French there needs to be a space before and after a colon. So I guess that if I remove the one before I might as well get rid of the one after (for symmetry?!).
What do you mean "to succeed"? I consider Linux a success...
First, bear in mind that there's no way to obtain or return an AST, so you're extremely limited in terms of what you can provide in a DSL. If you want to do anything beyond a certain level of complexity, the library user will have to pass in everything as string literals, and even then there are issues; your library's API will be indistinguishable from one that operates at runtime, but be much harder to implement, for starters.

Additionally, though this may have changed since, last time I used D extensively the CTFE was plagued by performance issues and memory leaks. In fact, it was ran with no GC at all.
Maybe this should be used as a, "if your start-up experience isn't going like this, then it's time to get out" list.

I've been at Fusion-io for a little over 2 years now, and I worked at HP before that, and I was nodding in agreement with this whole post.
A lot of RFCs, the first that comes to mind is the timezone seconds offset in DHCP replies and time fields in openpgp standard.

Google probably knows a lot more:

UTC site:rfc-editor.org
This is fantastic. While I disagree with some things (I'd rather standardize on px for everything, since em's have also been a huge headache for font-sizes), I love seeing the fact that this document exists.

I've written my own guidelines similar to this for different workplaces, though never publicized them. It would be wonderful if there could be some kind of consensus-best-CSS-practices standard out there, much like people have standardized on a couple common CSS resets, etc.

I've found that client-side developers tend to differ drastically in philosophies behind CSS coding, especially ones with less experience.

In my opinion, CSS is one of the most "dangerous" languages out there -- more often misunderstood and misused than any other language I've ever come across, including VB6 -- and thus most needing a standardized set of best practices.
I'm remind of the original Windows 95 ads (with Start Me Up by the Rolling Stones). At the time, the Start Button was new and (iirc) the ads focused on the Start Button and the (obvious now) fact that it 'started' the user's experience.

Not having seen Windows 8, I don't know what UI has replaced the Start Button. I hope that before I use Windows 8 I do get some of those basics from somewhere (unlike my iPhone, which required far too much Googling to make work. Perhaps I'm showing my age).

Edit: Start me up original Windows 95 ad - http://www.youtube.com/watch?v=5VPFKnBYOSI
Free to Play gets more important, but not better
I think apple was smart with the way they went mobile, in that they didn't really try to carry over any of their exiting OSX UI. Often it is 10x harder to unlearn habits than to form new ones. If I'm presented with something that is 'exactly like before except for a bunch of glaring omissions and additions' it will feel like the uncanny valley and getting used to things will be much harder. Apple went for the 'Everything that you do in iOS is new but seamlessly intuitive' route which lends a reasonable learning curve and more importantly no steep 'unlearning' curve.
Dont tell me you want to change the world. Show me.
Thanks for the MP3 link. I'm going to snip out the proper English bit and fix up the story.
You have to play Borderlands with others. It's boring by yourself.
In 1998 "The Atlantic" magazine wrote a great article about the relationship of Big Business and Prisons, known as the "Prison-Industrial Complex"[1].

Its a sobering read and really brings home the fact that incarceration is indeed big business and there is a lot of entrenched interests in maintaining the status quo. And large rates of incarceration.

[1] http://www.theatlantic.com/magazine/archive/1998/12/the-pris...
I wasn't aware that open source software came with a musical accompaniment.
GDC peeve of the year: Don't clone my indie game, bro
Bethesda, Mojang settle trademark dispute over Scrolls name
I don't think they're the only ones, or that they're particularly good ones, but they are some of the only ones that we can measure.

That said, our anecdotes at least agree. I'm with you on that hunch, too.
Thanks for all the comments. Really helpful.Just to give some more background, I am currently working on an H1B and looking for ways with another partner who is a US Citizen. He would own a majority stake between 60%-70% and thus has the controlling stake.
i.e. mouse, keyboard, and monitor.

If you've made such a transition, you will find you have to adjust to the headlamp controls moving from the right side stalk to the left side on the console and being replaced on the right side stalk with the wiper control which is on the left side stalk in the other car.

Seat controls, speed control, radio adjustments, door lock operations, etc. all also change.

Not to mention that you can't get a Grand Caravan with a clutch and no sensible person would get a slush bucket in a 3 series.
Personal responsibility is an illusion afforded to those who grew up in certain environments.

The social structure of gangs is such that, when you grow up in a tough neighbourhood and you have crappy parents it's safer to join a gang.

When everyone around you considers the drug trade to be normative behaviour, you don't really see the downside.

It's not that we can't make choices for ourselves. It's that what we consider to be a good choice changes with our environments (and, frankly, our cognitive ability to make good choices also varies given your parent's income at birth - here's another TAL for a source on that last statement http://www.thisamericanlife.org/radio-archives/episode/364/g... )

> This article making the USA look like it has the most criminals is a bit misleading.

Well… a criminal is an invented category. A criminal is someone who broke a law, and we write new laws every day. The US just has more laws that put you in jail than any other country.
I agree -- the Linux community, on the whole, has always wanted mainstream adoption. Annual "year of desktop Linux" proclamations going back to the mid-90's attest to it!

The challenge, IMO, is that adding polish to a general-use desktop is really really hard -- it requires design talent, cannot easily be done by committee, and takes a long time. Think years of design and constant redesign, lots of tweaking (down to individual pixels!), never-ending usability testing, and iterative writing, discarding, and re-writing of UI code.

While some in the Linux community have long had the design know-how and experience necessary to make Linux usable by Aunt Tillie, until very recently no one had the long-term commitment, financial resources, managerial skill, and staying power necessary to pull it off.

Canonical brings not just design talent, but also long-term commitment, financial resources, managerial skill, and staying power to the table; they have the best shot at making Linux a mainstream desktop OS.

[ ADDENDUM: Google also has an equally good shot with ChromeOS. ]
I agree - shutting down and quitting a Metro app were the first two things that annoyed me. I shouldn't have to go through 5-6 clicks just to shut down the computer. I thought we had that issue already with Vista, where the default "shut down" option was set to Sleep or something, rather than Shut Down? Microsoft should learn from their mistakes.
Wait..they went along with it even after the recent hacking incident?
I had the same issue -- no Windows key, and I couldn't figure out how to do anything.

It wasn't until I realized that the entire interface was built around the hot corners. This was totally non-discoverable inside the VirtualBox interface, though, because my mouse would continue beyond the edges of the screen to my own desktop. But that's a virtualization-specific problem, so I guess I can't complain about that.
I'd really like to see the Big Companies Done Right list. I've heard the legends myself, but I'm after some time at big company done wrong and small company done right, I have a hard time picturing big company done right.
It sounds to me like you may be twisting the plain language of his statement. "If every non-violent offender was released" we'd be releasing a huge number of people who by any reasonable metric should be in prison. The "non-violent crimes" include burglary, grand larceny, fraud, vehicular manslaughter (yep!), "promoting an obscene sexual performance by a child", and conspiracy.

And yet, even if you release all those people, along with (obviously) all the drug offenders --- every drug offense is statutorily a non-violent crime --- you still have an incarceration problem.

You see his point, right? I'm confused about why you're trying to avoid engaging with it. He's not saying we don't have an incarceration problem; he's saying, "the drug war isn't the problem, because even after you factor it out, we still have an incarceration problem". According to Devin, this is apparent in plain, simple numbers. If I was making an argument that contradicted the basic statistics of the problem, I'd want to know.
DOJ Asks Court To Keep Secret Any Partnership Between Google & NSA
<ComicBookGuy>Most aptly named domain registrar, ever.</ComicBookGuy>
Do you really think a non-technical person is going to follow these steps? Excuse me while I LOL.

http://ubuntuforums.org/showpost.php?s=6ea2f28955ceeb4024e4f...
I agree, sleep functions still don't work on my hardware and gnome 3 is unfortunately designed to make shutdown inconvenient.

Another problem you did not mention is tearing during video playback. Desktop computers are heavily used for watching video, so until Wayland hopefully fixes this Linux won't be a great desktop replacement.