skysight-inc/HackerNews huggingface dataset:
Welcome to the Matrix, where you're downvoted for questioning what amounts to emotional enslavement.
40 Best ECommerce WordPress Themes
I think you just need an incentive. Try to work on problem where performance really matters such as physics engine or scientific simulator if you are not into OS stuff. You will learn to hate automatic memory management soon enough ;)
Sebastian Thrun Has Left His Role as Google VP and Fellow
Go to a code practice site like hackerrank or oj.leetcode (personal favorite but I suggest using an external compiler for it) and solve problems. Start from the simplest ones and make your way up. Once you solve a problem, go back the following day or week and without using a reference solve it from scratch. After solving a problem look at the solutions provided in the forums. A lot of the time they will be a lot more elegant and contain things you haven't considered or seen before.

This is only half of it. The second half is to choose a mid size project, write yourself something that resembles a spec, and code it up from scratch. It could be some sys util or perhaps a video game (this will require you to learn library linking).

The third half is to read online articles and tutorials while you do the two things above.

The fourth and final half is to get yourself a book once you have a grasp on the language(s) and learn some of their more complicated idioms and pitfalls.

Also as a side note, at this point in time I don't think the "C/C++" conglomerate make much sense any more as modern C++ looks very different from C. Unless you explicitly need C, I would suggest learning C++ first as it's higher level (and also much larger). Though, idk, maybe learning C first is better as it's the foundation for C++... I guess either is fine, just not both simultaneously.
I cook for fun, and because homemade food is delicious, and more customized to my tastes. When I've lived in houses with poor kitchens, I didn't cook at all. I don't plan ahead, and decide each day what I'm going to cook that night, or if I'm going to eat out. Right now I'm cooking at home about 3-4 times a week. Right now I'm able to do all my shopping at farmers markets, because I work a few blocks from a year-round market.

I don't follow any diet, but my preferences are meat-heavy, carb-light, with a light-to-moderate amount of vegetables, so vaguely similar to Atkins/Paleo diets.

A couple of my favorite meals: Roast salmon with a raita-like sauce, sometimes with pesto pasta; whole roast chicken with potatoes in the same pan; pork chops with sauteed onions and Golden Delicious apples; steak with mushrooms and onions; risotto.

No real cooking hacks, other than to have good equipment and buy quality ingredients, and paying attention to the little details.
Telling us what type of personal projects you liked doing in the past would be very helpful.

Pick something fun to write (to you) that is normally written in a lower level language.

For me C and C++ were fun to learn by writing graphics applications (ray tracers are great for this) and physics simulations (a solar system simulation maybe). Optimizing these to be as fast as possible is a great way to learn about pointers and manual memory management.
Well, maybe not yet. I think its silly to start discounting what level of AI we'll be able to develop with enough computing power and storage.

Not to say we'll be able to duplicate biological system levels of computing in silicon, but who knows. Technology is moving pretty damn fast.
Blizzard Entertainment kills project Titan
Still, modern launch vehicle human ratings were only developed after the second Shuttle disaster, and are far beyond 1965 standards.

http://nodis3.gsfc.nasa.gov/displayDir.cfm?Internal_ID=N_PR_...

Falcon 9 v1.1 is almost certainly safer than the Titan II Gemini Launch Vehicle. As with prior Dragon flights, humans could have flown and been just fine.
Quoting http://xkcd.com/about/ :

> Can we print xkcd in our magazine/newspaper/other publication?

> If it's a not-for-profit publication, you need no permission -- just print them with attribution to xkcd.com. If it's a for-profit operation, I will probably give you permission if you email me to let me know. You can post xkcd in your blog (whether ad-supported or not) with no need to get my permission.

It's possible that "What if?" has different permissions than the thrice-weekly xkcd, but there's no obvious reason it isn't the same. For example, the bottom of What if? says "Copyright ©2012-14 xkcd", which is the same word used in the permissions, and the permissions page is for "xkcd.com"

It appears that the linked-to site is not-for-profit, in which case the license to copy has already been granted.
Replace `xmlns:json="http://...` with `xmlns:j="http://...`.
And now the next trick I will perform is turning XML into JSON
Get yourself an Arduino or some other similar cheap hardware dev kit and build some project for fun? It's a start.
I think to learn C/C++ it's helpful to have a mindset of wanting to understand the machine rather than build code. It's of course great fun to use Python's built in maps etc (and C++ has equivalents) but what you can do in C/C++ that you can't in Python is create the raw data structures down to the exact memory locations where they'll be used. One of the ways to learn C++ is make a relatively complex data structure (red-black tree, or bloom filter) and then throw as much data as you can inside it, see when you cross a threshold of memory usage -- then see if you can improve on that.

Having said that, C++ has come a long way, despite what haters say. I program primarily in C++ and very rarely have to use pointers. C++11/14 has excellent features (lambdas, initialization lists etc) which can make programming almost seem like writing a Python or Ruby script.

You may also have some luck with Bjarne's smallish "Tour of C++" book -- http://www.stroustrup.com/Tour.html
Look into more recent language features:

https://stackoverflow.com/questions/3016107/what-is-tagged-s...

http://www.stroustrup.com/C++11FAQ.html

Also, the Boost library is worth a look. C++ is fairly expressive if you wield it properly, and it offers several ways to minimize the pain of memory management. I would hesitate to call C++ "low-level". (C is another story.)

Other than that - C/C++ are used to solve different problems from Python, Ruby, etc. It is a common problem that people used to a particular toolset have difficulty identifying tasks that are suited to other tools. The suggestions to write C extensions or ports of command line tools are good ones - these will give you a taste for where C/C++ shine on a much more gradual learning curve than trying to write device drivers or kernel extensions.

Another example of practical C++ usage: in the past, I've often prototyped algorithms in Python, then rewritten them in C++ once the major bugs are ironed out. YMMV, but I found this to be faster than writing directly in C++.
> On the plus side I bet the output gzip's up rather nicely in transit assuming you're HTTP GET'ting this data....

The XML is 901 bytes, gzip yields 401 (44.5%)

Of course the original JSON is 303 bytes and JSON is already pretty compressible, to 215 bytes (71%) in this case.
But what if the original JSON had a string that looks like XML? Does {"endTag": "</json:string>"} become <json:string> </json:string> </json:string> ?
I think allan_s is talking about the value as displayed in the console proper, which can be expanded by clicking the "[…]" part:

http://i.imgur.com/qgBXdGZ.png

Tested by doing console.log(('test').repeat(100000))
That's exactly what this is: http://www.ibm.com/developerworks/library/x-db2JSONpt1/
As I've commented on other stories like this...

The biggest thing to know about these data from the US Department of Labor (DOL) is that they DO NOT reflect visas granted. They reflect Labor Condition Applications (LCAs) granted. denied, etc. This is only one part of the application for a visa, and every year the DOL certifies far more LCAs than there are available visas.

It is impossible to tell from the LCA data what companies actually followed through with the rest of the process and fees and were able to sponsor a foreign worker before the visa cap was hit each year. That information would come from US Citizenship and Immigration Service, and as far as I can find they do not release that information.
Jcabi-log – Static Wrapper of SLF4J
BetterWorks exits stealth mode with $15.5M raise from KPCB
In the U.S. a Software Development(dev, designer, etc.) job is a middle class role. What is a developer in china? Lower class? What is a middleman class job then?

EDIT: Should probably define middleman class then...I guess I'd have to say, being able to purchase a house, pay off student debt in less than 10 years, afford to have children, buy a car, go to events and maintain a relatively comfortable lifestyle.
I deleted and resubmitted because plot.ly (which serves my graph) went down right after I submitted yesterday.

I think your training data objection makes sense. I'll have to look into how Alchemy trains their data more.
Show HN: ParseHub – Extract data from dynamic websites
The NSA is excellent at tracking communication contacts that establish the existence of relationships (notwithstanding the potential of false positives). And this would also work for tracking someone driving around in a car running errands in specific places.

But if someone arrives in a US city unwittingly carrying Ebola and gets on a crowded bus or subway car, that's not so easy to track. Likewise if the person goes to a nightclub or other crowded place. Suppose it's a returning American who attends a baseball or football game - the NSA may well be able to ID almost everyone who attended the event, but trying to screen/isolate tens of thousands of people who might have come in contact with an infected individual wandering around a stadium is easier said than done.
As they say, one person's trash is another's... I'm generally turned off from job posts with long run on sentences and adjectives that make it read more like the plaquette in an art gallery than job description. In a similar manner spare me the platitudes about how fun the office is, how every tuesday is fresh fruit day, how there is free coffee and a ping pong table. The people you really want to work for you are the one's that already went through the "work is a place to make friends and meet people" phase and want their work to just be a professional and challenging. Work is not just the next guided life-stage after the cocoon of college. but, that is just my opinion and I know that for many a funny post and list of perks are what they want. Just know that one method does not fit all.
The Myth of Magical Futures
I like the idea. I find it really odd that Web Developer is on the homepage but not on the site. (False advertising?)

Not much here, but it's a nice site if it becomes more populated. If you had a feed on these updates I'd like to watch it, but it seems the blog is well... a blog. :)
BitPay and PayPal
No kidding! I just checked Atlanta vs SF cost of living out of curiosity. SF cost of living is almost twice and rent cost is almost triple. Crazy!
1. To feed my family the freshest and highest quality food I can, to know where my food comes from, and what goes in to making it.

2. Sometimes, but often it's adhoc based on ingredients on hand.

3. Whatever is fresh and in season.

4. organic and local.

5. Think about the second meal you will get from your ingredients. Leftovers from a roast chicken can go in to chicken enchiladas for example. Some herbs like sage, thyme and rosemary are incredibly easy to grow. (and hard to kill) Fresh herbs make a huge difference in flavor and aroma.
Assembly didn't really click for me until I learned computer architecture :p

You can always go one level down, but I would hardly say you need assembly for c or c++.
Undergrad version: the lifespan of a single drive should be exponentially distributed with some rate lambda. The time to first failure from among k drives would then have an exponential distribution with rate k * lambda. The confidence interval for lambda is: http://en.wikipedia.org/wiki/Exponential_distribution#Confid...

Grad-level version: drive lifetime is exponential with an inhomogeneous (increasing, presumably) rate function lambda(t). Inferring lambda(t) is difficult without additional assumptions on the functional form. But potentially do-able.

Real-life version: None of the classical distribution fit that well. (https://www.usenix.org/legacy/event/fast07/tech/schroeder/sc...)

(This is survival analysis: http://en.wikipedia.org/wiki/Survival_analysis)
>> Battlefield triage and hospitals won't help in this situation.

Have you seen the facilities they have over there now? I think battlefield hospitals are a huge step up. Logistics is also a core function of the military, so once a plan is in place they will bring in whatever that plan calls for and get stuff done.

Where the military doesn't work is when politics is involved and the mission is not so clear.
If you're into color and computers, check out JuliaLanguage's color.jl library
If the argument that medical spending cannot continue to keep rising at present rates, then I would argue its a bubble. I also do not believe 'going straight to insurance companies'. Their profit margins are usually around 5% (http://finance.yahoo.com/q/ks?s=UNH+Key+Statistics)
Of course not, it's either embedded in a CDATA section or the characters are escaped to the relevant entities: http://www.w3.org/TR/xml/#syntax

> The ampersand character (&) and the left angle bracket (<) must not appear in their literal form, except when used as markup delimiters, or within a comment, a processing instruction, or a CDATA section. If they are needed elsewhere, they must be escaped using either numeric character references or the strings " &amp; " and " &lt; " respectively. The right angle bracket (>) may be represented using the string " &gt; ", and must, for compatibility, be escaped using either " &gt; " or a character reference when it appears in the string " ]]> " in content, when that string is not marking the end of a CDATA section.
1. Recreational. I enjoy cooking for others more then for myself. I also enjoy that cooking is a task that cannot run over: either the food is done or overcooked. You have to know what you do next.

2. No. Just run past the store on the way home.

3. Flavor of the week. My standard is Quiche Lorraine, but I obviously don't do that all the time.

4. No.

5. Get a cookbook that is very restrained when it comes to ingredients.
Wait, this can't be right for purely technical reasons: what would this to do a string containing vertical tab characters?

Such strings are illegal in XML. I see nothing in the "JSONx Conversion Rules" that addresses the problem that the strings representable in XML are a smaller set than those in JSON.

[edit] Yup, confirmed. The documentation says: "The \b (backspace) and the \f (form feed) characters are not supported in XML and, subsequently, are not supported in JSONx." So not only does this JSON->XML thing seem obtuse, but it's partial.

I wrote a rant about this point a few days ago. Seems more well timed than I had hoped. https://plus.google.com/117593568781545916065/posts/ViNzo5Jj...
1. I cook because it's fun. I try not to do it every day, because then it does feel like work. But I try to cook often enough that I feel like I'm accomplishing something, either saving money, spending time with my family, and better health.

2. I try to make plans, but they rarely work. I need to be more diligent about my planning.

3. It usually involves chicken and vegetables.

4. Not really.

5. For me, it's all about timing.
Oh good, you can convert it back to JSON with an XSLT.
Better still: figure out a way to land without needing 300kg of dead weight.
ENTERPRISE READY!
Steam does massive UI overhaul
I would have loved an internship like that! I'm afraid that some would accuse you of oppressing your friend by exploiting his labor at the unlivable wage of $12/hr though :)
This. Learn Assembly together with C.. it will make C much more clear to understanding.. and then he can go for C++.

For instance, in assembly you push/pop from stack, or you move things into the registers and from memory, you will have to deal with memory address, etc..

So he will learn the most important background about thinking in C, like stack vs. memory allocation, and what pointers really are under the hood (the memory address of a thing)
I am leaving a top tier university. A young entrepreneur’s dilemma
https://wiki.debian.org/SecureApt

Upshot is, apt doesn't need to be served over https because when it fetches Release, it also fetches Release.gpg and verifies the signature contained therein. If it can't fetch or the sig doesn't verify, it squawks.
1. I've always like the idea of cooking, but rarely got around to it. Then I had kids. Now that I need to provide a good healthy meal every night and it's harder to eat out, I had enough incentive to get over the hump of novice cook. Once I got a bit more skill, it got easier and a lot more enjoyable.

I find the physical, analog, informal nature of cooking helps balance my otherwise too-logical, too-digital life. I love working on my technique. Chopping vegetables is my Zen activity.

2. My wife and I try to do a weekly meal plan so we can do most of the shopping on the weekend. In practice, we often forget. Fortunately, we live really close to a few grocery stores, so quick frequent trips aren't too bad.

During the week, we tend to do easy stuff (breakfast for dinner, grilled cheese, burgers, burritos, etc.) since time is limited between I getting home from work and the kids going to bed. We do bigger cooking or try new recipes on the weekend and often have friends and family over.

3. This summer I've done a lot of grilling. I'm still learning, so I tend to iterate on a small number of areas instead of trying lots of everything. Grilled whole chicken, breakfast, burgers, salmon, and steak are our go-tos. I make a decent bibimbap but it's a lot of prep work. We aren't very adventurous because we have young kids, but they do enjoy eggs en cocotte and some other random stuff. I make the best croque madame I've ever had.

4. No. My wife and I did a Whole 30 a while back, but usually we just try to eat something from all of the food groups. The Whole 30 was generally awful, but it did get me to realize that carbs have a net negative on my diet, so I try to reduce those now -- less baked goods and desserts mainly.

5. Take notes. I learn a lot every time I try a recipe, but I don't make the same thing ten nights in a row. If I don't write down what I learned, I won't remember when I make it again two months later. So, now, I keep notes for each recipe I do. I have the recipe (with my latest revisions) and then a series of "lab notes" describing what I did each time, how it came out, and what adjustments I should make.

This has been hugely helpful. I have a handful of things now that I feel are "mine" and are much better than the original recipe I found. Seriously, my grilled "thirded" chicken is off the hook.

Some other basic but really good advice:

- Mise en place! Clean and organize before you start putting stuff on the fire!

- Put a wet paper towel under your cutting board.

- Keep your knife sharp and work on your technique.

- There are youtube videos for everything. I can cube an entire watermelon in < 2 minutes now and my diced onions could be used as a measuring tool.
I was working on the assumption that environment would be already set up for them. Setting up Apache to test stuff locally, getting FTP set up to get into your remote server, etc is all a pain with PHP too.

Once everything is set up, it's two-ish commands to commit and push to somewhere like Heroku.

And no, I haven't taught beginners at all, I'll fess up to that. I've learned alongside them, though. PHP is a perfectly cromulent language/framework for this sort of thing, but something like Flask could be just as accessible.
Interesting point about the EU's actual argument - that Erasmus students are more likely to be employed - is that (as I remember from my (entirely chaste) Erasmus summer, there was some competition for the places, and better students (or students who were better at presenting themselves) won.

I predict that it is not Erasmus that creates jobs, but students who win Erasmus places also win jobs that were already there.
Do you have a suggestion on the cookbook?
"They're never replaced because regular consumers statistically don't ask for replacement and simply eat the loss?"

There is another paradox as well. Some people won't ask for replacement because assuming you have to send in the bricked drive there is the chance that someone might get at your data somehow.

What about that? (It's why I would never send in a drive that has failed.) [1]

[1] My assumption is that I would have to send in the bad drive (and there is no way to reformat or for me to easily destroy what might be on there). Anyone have experience with what happens here?
Ashkenazi Jewish population has distinctive, yet similar genomes
> but why do I need to see the word json at the start and stop of every element?

Because of what I just mentioned. If they had set the root namespace directly you wouldn't have to declare the namespace prefix on every element.
You need to understand how machines work if you want to be a good C/C++ programmer. I suggest Berkeley's CS 61C video lectures: https://www.youtube.com/playlist?list=PL58D76972AD4CB040.
1. Equal parts saving money; a desire to have full knowledge of what I am feeding my family; feeling unpleasant after eating takeout/prepared food; relaxation; the intrinsic pleasure in practicing a developing skill.

2. In my head when I'm shopping. This is good because it's easy, but doesn't do much for expanding my repertoire.

3. Generally meals prepared stove-top in one or at most two pans.

4. Nope.

5. If you're making up dishes, less is more. Don't add a huge variety of ingredients just because you have them. Pay more attention to temperature and timing than quantities of ingredients. If you over-salt a sauce, dump in two halves of a raw potato. Don't buy store-ground beef; instead, pick up a london broil cut and grind it at home.
See, I can't help but find the latter of those two insufferable. Yes, the former sounds stuffy and boring, but the latter one actively makes me cringe and think of overly enthusiastic Bennigans-esque managers who really want to be my "friend" but without any of that "human empathy" stuff when the chips are down.
It's been a few years, but I got `git send-email` to work pretty easily back when I was contributing to Git. I seem to recall there simply being some configuration to tell it what SMTP server to use, and then just creating a single ~/.gitaliases file to map nicknames to email addresses.

There's also `git imap-send` if you want to have it dump the email into the Drafts folder on an IMAP server, where you can review it and send it from your normal mail client.
The exponential lifetime distribution is the model for ideal memoryless failures: the probability of failure in a dt interval is independent of current lifetime and have value lambda*dt. Those are as "random" failures as they get. I suppose hard drives are better modelled by a variable failure rate lamba(t), which should have a peak for the first few hours/days, settle down and then start growing quickly after a few months.
10-Minute Read: Engaging with Your Customers Online
1. I love cooking (and always have).

2. Most of the time, I will plan my meals the same day that I cook them. If I'm making something complex, or with ingredients that are more difficult to find, I will plan ahead.

3. Indian, Thai, Vietnamese, Mexican, and French are my most common major types.

4. I try to be healthy, but find myself slipping back into the 'snack at night on high carb/high fat diet'.

5. Learn how to make your own stocks, memorize some basic flavour combinations that you love (ie - canned tomatoes and stock are a major base), and always follow recipes precisely the first time that you cook them.
four halves, huh?