skysight-inc/HackerNews huggingface dataset:
We should adjust our code and text to `diff`, rather than adjusting our tools to our code and text?
Was it the old VGA/Hercules combination? That was so badass
It was also the only way to run dual-screen for a while, since it used a different memory region than colour displays. There was literally no way to run multiple colour adapters on the same computer at one point
As nice as this tutorial is, I don't think git is ever really going to have widespread appeal outside of (semi-)professional SWEs who are forced to use it due to community size and ubiquity.
The commands are simply too badly thought out and the staging, pushing, pulling, merging process is too complex.
E.g. want to switch branches? git checkout. Wtf why not "git switch-branch" or something. Want to send your code to the master? Is it git push? git pull? Well, its sort of both but hey.
Interesting, but dated, deep dive. There is also no mention of NUMA, and SSDs certainly must have been rare.
>As much as programmers are responsible for making computers as impenetrable as possible for normal folks to understand

Programmers have made computers significantly easier to use, for more purposes, including programming them, over time.

Lawyers have done the reverse. This comparison is not favorable to them.
I'm really interested in how he took them, it's fantastic how different they all are.

Enjoy your Macallan :) I'll look forward to having some Laphroaig at Christmas time.
How the iPhone 6 Plus Impacts Where We Read and Watch
It looks very cool.

I think that on nullable quantifiers (? and (how the fuck do I type a star on the comments)) it misses the optional branch (check http://www.regexper.com/#ab*c vs http://jex.im/regulex/#!embed=false&re=ab*c to see what I mean).
The good health insurance can be nice and that 401k matching is powerful. Compound interest is pretty awesome too. It can be nice to work with others and have proper design and product management support and if you can seek out the best managers you can learn a lot from them but all of these things are hit or miss. I sure liked it better than my stint as an IT consultant and Network Engineer years ago but I don't think I'll ever be able to convince myself go back after start my own thing. That said, change can be good for you.
The above reply seems to be to the wrong article.
Personal story. I remember there was a time where "learning how to use git" was something I really wanted to do for a _long_ time but never committed to it. Running into this online tutorial, as limited as it may be, was the day I said "that's it, I'm gonna learn how to use git." I was successful. It was just enough of a push that I needed at the time.
Fewer equations than unknowns
In Canada, you can kill someone and only get six years. You can easily find cases of this by searching CBC news stories for murder and "six years".

For instance, a few years ago, some dude in Alberta killed a foreign worker: a welder from Thailand. That guy's life was worth six years in jail.

http://www.cbc.ca/news/canada/edmonton/killer-of-thai-welder...

I'm also appalled by that someone who fills a form with garbage and clicks Submit is even called a "hacker", let alone being charged with anything.
Let's take this a different direction for a moment... Why is it that the IT industry screams that they have a labor shortage when salaries are flat. With million dollar salaries in finance you would think that industry must have a severe labor shortage.
I love how frequently people on HN decry actual real working things people actually work on and use as "impractical". I suspect the combined experience of the entire openbsd team is greater than yours.
I wonder if the author knew this existed.
I'm just curious. When dealing with JSON files that are 2.3Gb, what programming language do you use to parse it?
US courts hope an old law will help them bypass phone encryption
>I find it curious that so many people HATE lawyers, until they need one.

Just like how people hate their captors until they want to know where the keys are.
This is so true. The greatest gift of the transactional model of HTTP applications, where you submit your action, to receive a page for your next step, was freeing application development out of the bind it was in: heavy client state with a myriad of small transactions triggered by events.

To put it another way, when you design transactional first, you actually design a very good approach to your business layer public interface. If you do that step right, you can do the next two with minimal effort:

1. An application API;

2. Client side javascript for improving the UI of common operations.

Single page applications often smell like the Windows Forms applications of old: A convoluted spaghetti of application states linked by insignificant events and event handlers, where the boundary between business logic and user interface is fuzzy or non-existent.
Hrmmm. I did a full write-up assuming that worked, and then managed to convince myself it didn't. Looks like you're right, though. Here it is:

Let's call C the weight of the can, L the weight of the liquid, and x the proportion of the can that's full. Then the center of mass is (C/2 + xL/2)/(C+L). We want where this is equal to x. Solving for x gives us x=C/(2C+L).

This passes the sniff test: for C>>L, x->1/2, and for L>>C, x->0, as we'd expect. For the given weights, we get x=0.1, so when the can is 10% full.
I'm using freecodecamp as a stepping stone towards learning Meteor!
I'm a tmux user, so the menus and tabs are not really useful for me :). And the command mode in termite is vim oriented, so it's quite nice. I'm not sure how ROXTerm does it. To be honest, as long as a terminal supports vte (for fontconfig), it's already a huge improvement over xterm and urxvt.
Really inspiring story. Shows that it's never too late to start learning to code!
>I would almost term it as a permanent research platform for FreeBSD

DragonFly BSD was forked from FreeBSD because of fundamental design disagreements between Matthew Dillon and the rest of the FreeBSD developers. Thus I doubt that the characterization as "research platform for FreeBSD" fits. You might as well say OpenBSD is a research platform for NetBSD.
Those 99% of addons are not about adding strong security and good practices to your browser hence do not bear the same expectations.

I would be disappointed if a security add on could easily be circumvented because of a poor choice of distribution.

Keep in mind that such security addons may be used by activists and journalists in hostile environments, you do have a different opinion when overlooking this kind of details could mean imprisonment and torture.
From the looks of it, it seems like the amount of racial homogeneity appears to be well correlated to the happiness quotient. Maybe that is the bigger factor in happiness. And a more homogeneous society might be one that tolerates more socialism. Another interesting question is what is cause and what is effect here. Does the amount of happiness of a society determine what kind of economic structures the members prefer? Or does the nature of the economic structures drive happiness? And how close are they coupled? And what makes happiness the right metric to optimize for, compared to say contentedness, or equality?

And in what sense are US schools underfunded?

http://www.cbsnews.com/news/us-education-spending-tops-globa...
Ow man! Assembly! I spent a quarter creating a calculator (only calculating 2*9).

But O boy I learned about computer architecture a lot, just a lot about Flow of logic + OS systems.
IT is such a broad area. Getting in to Development, is pretty hard without any experience.

My suggestion, get on a technical help desk, and work your way up.
Man I am just not sure. I had a Hercules green screen / more shades than CGA setup myself, but if it helps I do think both of their screens were color. I know Hercules probably did other stuff, but I guess I think monochrome whenever I think about it, heh. I do believe this was the old DOS version, not the Windows version of SoftICE, although when I was over there seemed was just before the time of Windows 95 possibly.
Joomdonation Compromised? 300,000 Users Receive Ransom Email
By coincidence I just read an article yesterday by Chris Hedges titled "The Myth of the Free Press" that elaborates on some of your points: http://tiny.cc/2h4xpx
The way races are defined is racist to begin with - that is the point - and the way it is being used to label people is explicitly used to put people down. Obama is "black" and not "white" solely because for a lot of people it is very important to label him black to be able to dismiss him. If people were not racist, nobody would e.g. care if people referred to him as white. Try referring to him even as mixed race, or half-white, and see the racists quickly come crawling out of the woodwork to make sure it is made clear how black he is.
(> smartparens paredit)

https://github.com/Fuco1/smartparens

I love the animated tutorial, though. Something along those lines would be a great way to augment smartparens' docs.
It all depends but a 12 week program doesn't make you a Senior Engineer over night. I think these bootcamps provide a nice structure for people who need help figuring out where to start.

A side note, I do know people that were hired right out of Hack Reactor that never programmed before attending.
Why, it's almost as if innocent until proven guilty is not a bedrock principle of our criminal justice system. That it would be better to lock up one innocent to prevent 100 guilty going free.
I'm going to get a bit nostalgic but this article made me think of what is going on in Boston/Cambridge now. Having come down to the city/lived in it for almost 20 years it's hard to see all the change that happens. I'm all for it most days but sometimes there is bits and pieces that I really miss. Places like the Rat or the Deli Haus that aren't there any more due to the slow march of gentrification.

It's been even more present now in Cambridge with the growth in Kendall, Central & Harvard Squares. Seeing places fall by the wayside to luxury condos and office buildings makes me wonder what what w're missing. The idea of these small neighborhood places disappearing makes me wonder what we're missing nowadays.
Show HN: Expiry.io -Reduce your churn rate by avoiding failed payments on Stripe
used npm, and started using pip. it was way better because you could use python and not javascript.
Agree 100%. Pretty much the only time I get honked at as a cyclist is when one of the drivers at an intersection wants me to go through but the other drivers there don't. Chaos and honking ensues, and I'm the only one who's life is actually in danger. So, drivers: just obey the rules as best you can and we'll take care of ourselves. (but please stop blowing through stop signs without looking - even if you don't hit me you may cause a heart attack)
This is the way prosecution works in the US - charging with heaps of bullshit felonies with the aim to scare the defendant, forcing him to plead guilty in exchange for minimum sentence. The defendants have to consider the risk that some of the felonies might stick (e.g. because of general ignorance of people to technology), and the expenses for the defence. And many actually choose to plead guilty despite being innocent ...

Just look at the percentage of "pleaded guilty" cases, that completely bypass the judicial system. The prosecutors can claim how they convicted another dangerous haxxxor, the general public applauds and the popularity helps them eventually get into Congress, important post or whatever.

This is not really all that different from how patent trolls work - they usually require payments that are slightly lower than the expected cost of defence (which may or may not be successful, and you'll have to pay for it no matter what the outcome is). So most companies do the math and simply pay to make them go away.

Also, it's exactly the issue that killed Aaron Swartz ...
Ouch that is a lot of years! Kids don't do hacks.
What did they switch to? Source?
http://blogs.msdn.com/b/matt_pietrek/archive/2005/02/14/3724...

I am surprised Raymond did not mention it.
This is great news, the DragonFly project keeps doing really interesting things. The interview linked elsewhere in the thread give a good overview of how the project is doing. Matthew Dillon mentions in the interview that DragonFly will be able to be much more than an experimental operating system.
Well, the point is some companies don't have management. Sounds like yours does ;)
you'll have a lot more time to browse the web and get paid for it.
Peter Shor's (Shor's Algorithm) Profile on the English Language Stackexchange
The current version of Try Git isn't open-sourced. You can contact us (Code School) directly to report any issues: http://www.codeschool.com/support

1) That's true. Although sending beginners into a less/vi commit interface that is even more bewildering than the basic shell is not a good way to concisely introduce people to a new tool. The hardest part of teaching is what you chose not to teach.
2) We purposefully used the GUI file browser (My Octocat Repository) at the bottom to avoid having to systematically do `git status` in order to check the state of the repo.
> 1) I don't think providing the message (-m) on the command line is a good habit for beginners.

Why? I started that way and still do it today. Is it considered a bad practice?
They've changed around the buffer cache as well, so it's not nearly the issue that it used to be.

Also, main memory in Megabytes. In a db server. How Quaint.
The first OS to drop 32 bit support, thus eg fixing the year 2038 problem the easy way. Not sure if any others will though, at least not until arm64 is more widespread.
Rationality and Intelligence: A Brief Update [pdf]
I personally use generics enough in web development that Go is sufficiently annoying for many parts.
Tablets Are Broken. Here's How to Fix Them
For an existing repository: Size of the repository, as well as the number of files in the folder. A single git status on a 1.7GB git repository takes about 9 seconds with a warm disk cache on my workstation.
Thanks for putting isomorphic in quotes.
It boggled my mind to see that Shor is an expert in English language and history, in addition to being one of the more important computer scientists of the century.
Last week a project called photon, and now a project called tachyon, I don't get it, what's the idea? can't you find a proper name to your project?
When people are able to do some research and find out that if they pay up, they really will get their stuff back, often times they will pay up.

Everything old is new again. Back in the late 17th/early 18th century, with no police, ransoming stolen possessions back was a fairly common and accepted practice.

See e.g. http://en.wikipedia.org/wiki/Jonathan_Wild for one of history's more colourful characters.
Sure... religious/political discussion forum
this was a really cool effect...but I never found SNL to be funny. I've never even laughed at it once. I don't understand why people laugh...that and jimmy fallon/kimmel
Your fastest path is to always be learning. I spent my 20's working to get 20 years of experience in 10.

Your best path is to pick something universally in demand and is largely in one technology/stack/framework to learn to create value with.

For this reason, (even thought I do specialized work) you may want to look into .NET or Java development for starters while rolling into learning other technologies.

Another angle that I have found in universal demand is mobile app development. Specifically creating only those types of mobile or web apps that can be created by Javascript to build prototype/functioning mobile apps using tools like appery/ionic while only learning one language, and at the same time you can touch web apps through javascript applications, be it node, or not.

You will grow and become a polyglot in time when you are always learning.

This way there is one core technology to learn to start creating value. With a lot of the other stacks you have to learn 5-10 different things and tie it together. I'd focus on building results and using higher level tools in the beginning while your talent depends.

And as always, ymmv
That's the function definition, not its declaration. It's pre-ANSI C, so that semicolon can mislead. I didn't bother to grab the source to check whatever the header said (or, heh, didn't say, per OpenBSD convention), but I'm going to assume it was correct.

It amuses me greatly that we're sitting here arguing over the minutiae of coding standards when this thing is still written in K&R syntax.

But regardless: whatever the header said, it wouldn't have affected this bug, which was just a straightforward transpose thing between compatible types. People get memcpy() reversed all the time too, and frankly I don't know if I've ever looked at its function declaration in a header.
We're not just less conscientious online (though we certainly are that). Technology also makes unethical, immoral, and criminal decisions much easier to make, often so easily that we don't realize that we've done it unless we go out of our way to reflect on it.
I'm familiar with the idea, but if people run a red light 100% of the time, that becomes the new norm and therefore what is safe and expected. Don't forget that we're driving around in metal boxes powered by explosions, that didn't always seem safe (and certainly wouldn't to people if we suddenly introduced them to a society hundreds of years ago) but now it does seem safe.
Security certification services may harm your website
nice, duplicity also works out quite well for this use case.
> most R&D efforts would have to be stopped.

Most R&D efforts sponsored by private companies. Don't write the whole world off. There are plenty of funds and scientists that don't work for the private sector.

Sometimes greed promotes progress, other times it hinders it.
It's easier, but that doesn't mean it's better.
Yeah, it's old. Most basic principles described by Bruce are still valid, though. But if you're looking for fresh info on PostgreSQL tuning, buy this: https://www.packtpub.com/big-data-and-business-intelligence/...

It's not exactly new (it's from 2010, when 9.0 was the current version, and we're waiting for 9.4 to be released soon), but it's much more accurate considering the current hardware.
Also keep in mind that when people come up to a road they expect traffic to be coming from a given direction. They may not expect traffic to be going the wrong way, so they aren't looking for it. For pedestrians, not necessarily a big issue, but for cyclists it kind of is. By going the wrong direction, when you suddenly appear out of nowhere, at speed, you will cause a lot of unnecessary confusion, surprise, and rapid decision making. It's not worth it. Luckily, I see very little of this (Santa Monica).
The CPU, yes. But the Amiga 500 and 2000 at least had 650x cores on the keyboard, that implemented the keyboard end of the serial protocol sending keystrokes to the motherboard, as well as managing the leds etc.. Commodore had a long tradition for "smart" peripherals and for favouring using their own chips wherever possible.

Some searches led me to this [1]. The 6570-036 is the 6502-based SOC.

[1] http://deskthority.net/wiki/File:Amiga_2000_Mitsumi_controll...
Sometimes compilers fail us, in particular they often fail to correctly vectorize code. If you do it manually insert the correct instructions you can get a 20% speedup!
GoPro coming out with drones
Add a “+” to the end of a bit.ly / goo.gl / shortened-url to see its analytics
This has worked on almost all of the shortened-urls (custom-domain urls included) that I try.
> Despite this, the DragonFly BSD and FreeBSD projects still work together contributing bug fixes, driver updates, and other system improvements to each other.

http://en.wikipedia.org/wiki/DragonFly_BSD
> The first OS to drop 32 bit support

The first? What about Windows Server 2008 R2? Or PC-BSD 9.2?
They just pay out more of their (large) profits than tech business do. eg as if Google paid 100% bonuses every year as they are so profitable, rather than retaining cash, paying shareholders and paying executives a lot mainly retaining cash though).
I agree, and definitely do not think its a perfect solution. But I feel that people who are innocent deserve this ability, sort of akin to the statement: " it's better that 1000 guilty men go free than one innocent man be imprisoned"
There's really no discussion about criminal justice that you can't shut down by invoking "innocent until proven guilty" and taking the word "proven" in its mathematical sense.
Because it doesn't put you in the right mindset.

A commit message should be formatted like an email to your past self, or your future collaborators. It should have a very descriptive and concise title (the first line of the message) written in the present tense and after a line break you should (when necessary) write an email style explanation of the reasoning behind the commit.

If you fixed something, is there context that should be useful for someone discovering this commit in a vacuum. Are there any related commits? If you added something, why? There is so much useful information that can be encoded in a commit message and discovered when someone does a `git blame` for example.

Caleb Thompson wrote a nice concise post on this: http://robots.thoughtbot.com/5-useful-tips-for-a-better-comm...
It is linked at the end of their article: http://www.alex-buono.com/portfolio/snl-opening-montage-2014...
You assume everybody uses these tools... in unity, harmony, and applying the best practices (that are not established yet).

You assume all libraries in JS is mature, well-supported, and will be there in the next 4 years at least.

I echoed other comments: JS ecosystem is unstable and confusing at the moment.

Case and point: EmberJS. I have to use ember-cli, npm, bower, and broccoli. Some of them overlap.
It only gets harder if you happen to have kids and are looking for decent schools. Would be interesting to see an infographic like this with both rent and school quality included.
bullshit managers are the worst.
I suppose this is why I used the descriptor 'value assertion'

How does a native American reservation celebrate the third Thursday?

My deliberate disdain for some cultural artifacts are mainly to be inclusive to those who are potentially marginalized by the status quo,
Full inclusion is a highest value of mine that I try to assert in in my actions and thoughts

Christmas, like all religious activities, is exclusive to everyone who believes outside a community's line, and as such is abhorrent to me, and i state the same to anyone who asks my understanding of it

It feels a scientific approach: your world is flat unless you choose to extend your sight beyond the horizon; and I'm always on the lookout for horizons I have yet to extend
Nice ad hominem you've got there. Was it directed at me, or my interlocutors? If it was directed at me, it's not only a fallacy but based on a false premise, as I've worked on seven UNIX kernels plus NT since 1989. That includes HA systems, FT systems, supercomputers, etc. so I don't think one can reasonably say I haven't dealt with some complexity before. Maybe we should delve into your experience to see if you know what you're talking about . . . but no, that would be just as fallacious.

There have been some good comments in this thread, but the only "noise" is from those who haven't even tried to present an argument one way or the other. I get that some people would draw the lines between good vs. bad use of typedefs differently than I would. I'm OK with that, as long as there's some kind of rational decision process behind it. The problem is that often there doesn't seem to be. Aesthetic concerns or the trivial difficulty of getting from the typedef to the underlying type do not, in my opinion, stand against the proven benefits of modularity or robust type checking.
I suppose this poor fellow won't be able to use GitHub Pages. https://github.com/Try
Bad title. None of the Bart stops / communities they discuss are "in" San Francisco.