skysight-inc/HackerNews huggingface dataset:
This is why programming language history is so important. Every programming language has a large number of opinions/assumptions. Code structure is one of them. The Arduino language, based on C/C++, has assumed a simple code structure that helps people learning embedded programming, because the Arduino platform was designed to help people learn.
World’s largest assembled Lego structure
> I'm not sure why it exists at this point.

I suppose you've got a better way to get the Obama administration to state their position on any issue you can wrangle 100k signatures for. It's not direct democracy exactly. It's a good system for allocating administrative time to speak to issues that are not politically expedient or important.
What are some good books/sites for learning css?
The journey is the destination. It is better to travel than to arrive. Getting there is half the fun.

Life only avails, not the having lived. Power ceases in the instant of repose; it
resides in the moment of transition from a past to a new state, in the shooting of
the gulf, in the darting to an aim. This one fact the world hates, that the soul
*becomes*; for that for ever degrades the past, turns all riches to poverty, all
reputation to a shame, confounds the saint with the rogue, shoves Jesus and Judas
equally aside.

http://www.emersoncentral.com/selfreliance.htm
If you interact with the federal government, its all metric, pull up any Radio License, the transmitter data is all metric.

I should point out that we are not the only country in the world to sign their highways in miles, the UK does too.. still.

Americans are lousy at metric, because we dont use it regularly, even though the government does, and the country is technically a metric country.
If you're suggesting we put the metric system up for a vote, I think I know how that would go.
Yahoo is trying to acquire so many companies, I fear they are only going to run into culture problems as they begin to assimilate them into the parent company over time.

Just look at AOL as the model company that did this in the late 90s and early 2000s. They broke so many companies they acquired and it only hurt AOL.

Google and Facebook have been successful at it because they essentially used it as a way to hire smart people who wouldn't have interviewed with them.
I had an interesting interaction with our daughter's pediatrician recently. Our daughter was born a bit early and spent the first couple of weeks in the NICU where her feeding was watched very closely. All of her feedings were discussed and recorded in mls. A few weeks after we were out of the hospital we were at a routine checkup and when we reported her recent feedings in mls the doctor told us it was "time to start talking in ounces".

Specifically she said that her preemie parents that continue to talk in mls tend to over-obsess over slight swings in the daily numbers. I found it intriguing that we'd been jumped out of the metric system for this, but it occurred to me that I never hear anyone talk about centiliters (the closest metric equivalent to an ounce).

I guess my question is: what's on non-US baby bottles?
I should also point out the UK uses miles too.
> force people to do things a certain way.

Aren't they forcing people not to use the metric system in the US?
Overall I think it was a well thought out response to the petition. However, I think the exposure that Americans have to the metric system was played up. Yes, it's been taught in schools but lack of practical use in everyday life means it was quickly forgotten. From my own experience, I had no reference for rough conversions between systems until a couple years ago when I started going to a gym that had all the weights in kilos. Only then did I have some reference to how the two systems related without looking it up.
To add to this, there are real differences between the imperial and US customary systems: http://en.wikipedia.org/wiki/Comparison_of_the_imperial_and_...
California was a Spanish colony and the Catholics liked to name their cities after saints.
I don't know about others, but all of my (US-based) science classes used metric exclusively. Almost all math problems dealing with distance used metric as well.

(Funny story: I failed a 9th grade math quiz because I didn't know how many inches were in a foot. We never covered the US customary system! It really didn't come up often.)

That said, I still don't have an intuitive sense for converting miles to kilometers, or Fahrenheit to Celsius, simply because it never came up outside of the classroom.
Maybe it was a marketing scheme getting people to actually READ the spam that gets sent to them.
We're talking about the code from the actual source files, not the standard.

Look here (lines 22 and 23): https://github.com/mortdeus/legacy-cc/blob/master/prestruct/...

The compiler code states int argv[], not char argv[] (I assumed this is why the OP asked for clarification in the first place, since char argv[] is much more common).

You're right, in theory this is undefined behavior, but in practice on a 32-bit system, sizeof(int) will almost always be equal to sizeof(void *). I was just demonstrating how one could recreate the code in the compiler while on a 64-bit architecture.
You probably meant a "run with a donkey"? But I do find the concept of a "run with a monkey" extremely entertaining!
Recently (as in a crazy experience over the past week), I've been feeling the same way described by you, and by the OP; but I've scaled this up to a much higher abstracted level.

The only way I can really describe it is (in terms of what you just said): "red, green, refactor" your life, not just your job. Constantly question everything you're doing, and find out what you don't like about it. Find the root cause of that feeling, and figure out what you can do to fix it. Find and take the steps to complete that.

Edit: I will add though, that the trick is to do so without stopping progress, as you said.
The US doesn't use imperial gallons. I think Canada used to use them, and I know the UK did, before they converted to liters. I don't know a specific name for the system of units of measure that includes US gallons.
oh, and to piss off many, see section 2.4.
As one of the teens they're talking about - and one with friends who feel the same - we really don't like Facebook. For some reason, Facebook thinks its being useful by showing me random band fanpages that I never 'liked' in the first place. They're just adding more noise. The game requests were bad enough, but at least you could easily ban those from showing up.

That doesn't even begin to get into the privacy issues and the other irritating shit.

The only thing I really use facebook for is an address book with chat.
I find it's best to think in terms of 1-3 years when evaluating a startup and you have to be OK with that kind of turnover. But the most important thing is who you're working with in a startup. The adrenaline rush wears off quickly if you hate the people you're spending all your time with and you'll be around them all the time in a startup.
Honestly? It's unfair because they hid a dead-weight bezel?
You have to start somewhere though, it can be a transition over time as well. Say a law was passed that all new roadside signs erected from date X will have both m and km, then at date y, years down the road, all new signs only list km.

For cars, just use the same dials and displays they use in Canadian cars, metric is the primary unit with imperial also shown, again, on new cars only, no need to retrofit all old vehicles.
I don't know if it's part of it, but the short scale/long scale of different countries is annoying (billion doesn't mean the same thing in France or the US).

http://en.wikipedia.org/wiki/Billion
(From a couple of years ago: http://dvt.name/2010/ward-cunningham-on-simplicity/)

Occasionally, I find myself “stuck” when writing code – the coder’s “writer’s block” I guess. This quote by Ward Cunningham is both inspiring and truthful:

-- Once we had written it, we could look at it. And we’d say, “Oh yeah, now we know what’s going on,” because the mere act of writing it organized our thoughts. Maybe it worked. Maybe it didn’t. Maybe we had to code some more. But we had been blocked from making progress, and now we weren’t. We had been thinking about too much at once, trying to achieve too complicated a goal, trying to code it too well. Maybe we had been trying to impress our friends with our knowledge of computer science, whatever. But we decided to try whatever is most simple: to write an if statement, return a constant, use a linear search. We would just write it and see it work. We knew that once it worked, we’d be in a better position to think of what we really wanted. --

Next time you’re stuck, just write the simplest thing that could possibly work!

-- So when I asked, “What’s the simplest thing that could possibly work,” I wasn’t even sure. I wasn’t asking, “What do you know would work?” I was asking, “What’s possible? What is the simplest thing we could say in code, so that we’ll be talking about something that’s on the screen, instead of something that’s ill-formed in our mind.” I was saying, “Once we get something on the screen, we can look at it. If it needs to be more we can make it more. Our problem is we’ve got nothing.” --

Source: http://www.artima.com/intv/simplest.html
I think it ultimately comes down to "choose the right tool for the job". TDD is just one tool that you have in your toolbox to accomplish whatever project you are working on. That doesn't mean that TDD is appropriate for every project.
Mongo + Postgres = Mongres
Off the top of my head, it's 2.2 pounds in a kg.
It's the f to c conversion that is loopy, divide by 9/5 and add 32, something like that, or the opposite.

Benefit of the metric system is easy conversion between units. Multiplication factor between cm,m,km is 100,1000.
What's the multiplication factor between inches,yards,miles? I have no idea.
Yahoo is the new Lycos. Lol. They are just buying a lot of stuff wihout a strategy and focus.
There seems to be a lot of anger in the comments about this. Given that there's very little popular support for changing things, why would the White House cater to a vocal minority on this? People are perfectly comfortable and happy with the imperial system and conversion between systems (if you need any sort of precision) is as easy as pulling out your smartphone.
Perhaps I'm misunderstand you, but what difference do you see for this use case between visual and command-line git clients? I do this all the time with git-diff on the command line, and it might just be a failure of my imagination, but I can't think of how the process would be any different with a visual client. Can you give an example?
You don't need a client certificate for rsyslog's tls transport.
Chartio needs UI developers to help build our simple interface to data.
you need to learn calculus if you want to model relativity. you only need fifth grade math to model a cash register.

if your team builds apps with 500k LOC, you need to be constantly focused on abstracting and factoring out patterns or you will drown in your defect rate before the project even ships. If your team builds medical device software, if you aren't doing this, you'll get someone killed.

If you're building a personal blog, your time is better spent by pasting jquery snippets.

There is a spectrum here and most projects fall somewhere in between.
Screen and tmux are great for sharing terminals, but they're not the best for editor collaboration. For one, all users sharing the terminal have to have the same buffer open, scrolled to the same position. Also, they have to use the same editor with the same configuration. If two people prefer different editors or different sets of Vim plugins, they have to compromise.
If you don't no much about investing, index funds (mutual funds which track a stock market index) are a good option. They allow for good diversification and generally have low fees. Probably best to stay away from trading stocks IMO, unless you are committed to learning about the subject.
Adhocracy: The Third Industrial Revolution
Go with wherever you "feel" is right. In the end, we all die.
Microsoft and Google reach agreement on Windows Phone YouTube app
I think Vimeo might be better acquisition than Hulu.
I think they asked carriers the right to unlock phones. Something like that. After a petition.
This popped up in some other thread recently. It was (still is, I suppose) a standard ANSI C89 compiler with a couple of small extensions and tweaks. Ken Thompson's short overview is here -

http://plan9.bell-labs.com/sys/doc/compiler.html

You can nerdmuse yourself a little by googling why it had a

#pragma hjdicks
That's why I stated any reasonable change would require a transitional period.

I agree with you but that's the kind of logic that impedes progress.
Just be prepared that if you write a service that does not scale, that will eventually bite you painfully bad with massive amount of data going nowhere but stuck in the stupid relational database with terabytes of data.
Its kinda true. In 2003 gyros were a bit larger, they were just starting to come out for R/C helicopters. And while an Arduino is a great chip its equivalent in something like a 68HC11 or other more "general purpose" microprocessor was larger in both surface area and design footprint (usually a separate eprom + CPU vs built in) the the performance was equivalent.

The real killer has been rapid update rate inertial measurement units (IMUs) which refresh rapidly enough to make interesting feedback loops practical. Small and fast IMUs have arisen out of the the development of MEMS (or Micro Electro Mechanical Systems). Integrating the accelerometer and signal conditioning is the thing that really kicked things off. Putting them into phones got the volumes to the point where they are very inexpensive.
When I visited Canada from the US, I bought a 907 gram package of mussels. It's the same 2 pound package they always sold, just with the size converted to metric.
I would say we're already screwed if we're allowing governments to get in situations where they "consider Yahoo's reputation."

That's none of their damn business.
If you don't mind me asking, what do you/we think would constitute a better network?

You mention privacy as a key factor -- I agree, but rationally a free social network must encourage sharing to stock its shelves with user information to provide to advertisers. In the other direction, there's App.net which can afford to enforce privacy because its income depends only on membership fees. (Unfortunately, membership fees inhibit the network effect.)

So what would make Facebook better? A better photo-sharing experience? An Events system which could interface with external apps? Or, does it go deeper? More users, I think, are recognizing that Facebook shows their friends only at their best, and are struggling to compare their lives to the glorified lives of their friends. Will the next social network open the door to deeper sharing, as opposed to more sharing? (Path comes to mind here...)
Is Formula 1 real racing any more?
in other words, FP evolved to solve hard problems. You don't need to understand monads to model a cash register. You probably do need monads if you want to write a bug free distributed asynchronous system.
There is a host of aspect ratios for pc displays, 16:10 and 16:9 are both quite popular. Guess what? Nobody runs around looking up screen area.
I have a 16:10 display, which is 'bigger' (visually) than a 16:9 of the same diagonal length when working/playing and bloody 'tiny' when watching videos.
That article is simplistic. Sure, write code that you won't care about in the future like you don't care about it, but if you take that approach with anything requiring longterm reliability or maintenance then you're setting yourself up for failure. Essentially: Think about it. Use techniques and tricks where appropriate, but at least consciously make the decision to do a less than stellar job and document your reasoning. A couple of lines of comments justifying some weird and verbose approach might show to others that it wasn't the lack of mental capacity to come up with another implementation.
Indeed, the "design by wishful thinking" was a real eye opener for me. It is one of my favourite parts of SICP.

It can also be explained as way to postpone decisions you can't clearly make right now. First, you pretend to have made the decision, and later on you implement the decision "you wish you had made".
Back in the day, they bought 40% of Alibaba, which has done VERY well. Selling back this stake has raised a lot of money.
There is a reason why Facebook remains the most popular social media website. It's ability to link to thousands of different websites and apps gives its an edge up against other social media websites.
developing software is not messy process. what is disturbing is that you think it is and that is normal state. Sure it is messy if you develop by accident so lets see what sticks.
In all fairness... 50,000 citizens is like 0.016% of the US population[1]. When most elections talk about a 2-3% margin of error, this is so small it is meaningless. I imagine more than 50,000 votes get lost in the mail.

[1] http://www.census.gov/popclock/
update all systems to accept a new card's private key.

That sort of a chicken/egg problem though, right? It assumes you've got console or some other means of access that will take another credential.
We also have a shared shell which uses Floobits permissions called flootty: https://github.com/Floobits/flootty.

Flootty is also accessible from our web based editor which has an embedded pty. Its actually possible to run a vim inside flootty that itself is running floobits.
Embrace, Extend, Exterminate, Exmpp.
Yup - It's been falling over quite a lot in the last couple of hours! It is all served through cloudfront so that the popular urls get cached (which is why I added the example links - so they would hit the cache). I've just thrown a whole load more heroku dynos at it, so it seems to be working okay again now!

(I built this!)
I have had a Hulu account for the last two years. I recently canceled it.

Their content is actually not that good, and on top of it, you're forced to watch commercials as well. The service was terrible.
Leave out -passin and -passout.

Provide your current passphrase at the first prompt ("Enter passphrase for <infile>:") and your new passphrase at the second and third prompts ("Enter Encryption Password:" and "Verifying - Enter Encryption Password:"). You may use the same or a different passphrase on your new key.
It's not delivery it's Digiorno
This is a great post. I just wrote about a project I worked on in February[1]. When I first built the website, it wasn't optimized and now I realize that I greatly over estimated how many resources I thought the site would need.

Last week, after getting to the first page on Google's search results, I'm getting about 12,000 hits a week. Monitoring shows my daily CPU usage is nearly 0%, and memory usage around 32MB. Today(3 months later) I finally did some SEO, added compression, caching, and a CDN to get drop page load time from ~2 seconds to under 500ms.

[1] https://medium.com/look-what-i-made/5d808ce36277
Google Penguin 2.0/4 - Were You Jarred and/or Jolted?
In general writing a trick to get around this is to do a 'vomit draft' -- intentionally write something bad.

In part, this is simply to get past the analysis paralysis or creative block and get going on something. But also because it can sometimes be easier to make something good when you have a clear bad example in front of you to contrast it with.
Its because of the competition. For instance, if you do that, you have half the pay and if you want to buy a house (limited supply in Silicon Valley) then people with a full income will outcompete you for the same house. That's also what is driving up the housing prices.
Be extremely careful with this type of correlation. I had a colleague that thought whatever Twitter sentiment was, would reflect the market at a given point in time. However, this is a fallacy, as any "trend" in the market is already priced in by the time you can react to it. I would strongly recommend against anyone taking this type of strategy to be profitable in the medium or long term.
But this is not ad-hoc at all. This is how it is deliberately designed so it degrades gracefully depending on what optimizations you choose.

Not all compilers even really degrade.
GCC does post-hoc variable tracking (and thus is mostly unaffected by optimization except when values are optiized out completely). For declarations and statements, the info is always on the declaration, so it won't be lost.

Both compiler guarantee that at -O0, all debug info will be kept.
This may very well be true. But you shouldn't discount some points.

1. Yahoo will negotiate some kind of licensing agreement.

2. Yahoo will benefit from a known name and existing users.
Built in London
In many romance languages it is the root of the word we use for digit. It, es: cifra, fr: chiffre, ro: cifrǎ. In Portuguese the word is algarismo and it comes from al-Khwārizmī [0], who gives the name to algorithm as well.
Not strictly true.

I-19 from Tucson, AZ to Nogales in Mexico has distances posted in kph, so you can choose to drive on that freeway to tell you how many km away the exit is.

You may not be able to buy gas in liters instead of gallons, but you may be able to sell them in liters if you own a gas station and are willing to purchase the equipment and make that choice.

from http://en.wikipedia.org/wiki/Interstate_19

Interstate 19 is unique among US Interstates, because signed distances are given in meters (hundreds or thousands as distance-to-exit indications) or kilometers (as distance-to-destination indications), and not miles. However, the speed limit signs give speeds in miles per hour. According to the Arizona Department of Transportation (ADOT), metric signs were originally placed because of the push toward the metric system in the United States at the time of the original construction of the highway.
Dropbox is easy to use and is very popular among students and small businesses. An alternative that caters primarily to businesses would be Box.
It's kind of "breadth-first search" on software development, while the classic approach is more "depth-first search".

On the other hand, it is also important to quickly get into the state of a running program, because only that allows for iterative development where you can catch bugs shortly after you wrote them, rather than having tons of bugs after weeks of (not sufficiently tested) work.
Netflix seems to be doing better at this model. But I'd agree the more competition as we can have in the space, the better.
What prevents a compromised laptop from reading your private key in the clear from your smartcard? Even if you need a fingerprint read or PIN, I mean at some point you need to get the decrypted key read from the card so that it can be used.
That is really cool. I will definitely need to play with this a bit. I sometime get a hankering to tinker with an idea or method of doing something, and hosting this seems nicer than popping into vi.
My recommendation would be to get him started with something like python and pygame. Or perhaps racket, eg:

http://docs.racket-lang.org/draw/overview.html#(part._.Lines...

Or even processing.

Some of my early programming was messing with graphics -- first in BASIC and Assembler on the Amiga -- later on a Casio calculator (mixing the worst of assembler and BASIC, with performance lower than our old VIC20) -- using the book "Mathematical Toursit"[1] as guide.

I was very proud when after 4 hours I could look at the screen and see a black-and-white mandelbrot :-)

[1] http://www.amazon.com/dp/0716732505