skysight-inc/HackerNews huggingface dataset:
> When IBM made the PC, they wanted something like CP/M, so Microsoft took an 8086 port of CP/M and made it into MS-DOS.

It gets stranger than that.

MS-DOS was a clone of CP/M, not a port. And it wasn't originally made by Microsoft: it was made by Seattle Computer Products and called QDOS and later 86-DOS, and Microsoft bought it from them. As a side note, the name MS-DOS came later: the original version for the IBM PC was called "PC DOS", and the name "MS-DOS" first appeared when Microsoft began courting the clone market. The version of the OS for IBM products continued to be called PC DOS, and after Microsoft and IBM fell out, IBM continued to maintain PC DOS as an independent fork while Microsoft continued to develop MS-DOS.

But, getting back to the point...

IBM originally wanted a straight-up port of CP/M by the original author (Gary Kildall). When IBM tried to contact Kildall, he wasn't home, and his wife (who was officially his business partner) talked to them instead. His wife laid down a number of demands that made IBM wary of doing business with the Kildalls. So Microsoft swooped in and offered up DOS at a very low price. The IBM PC launched with PC DOS, written by Microsoft in collaboration with IBM.

Shortly after the launch, IBM patched things up with the Kildalls: Gary developed a port called CP/M-86 as part of the deal, and IBM offered their customers a choice of operating systems. By that point, though, IBM had negotiated a great deal with Microsoft and a very expensive deal with the Kildalls. An IBM PC equipped with PC DOS cost considerably less than an IBM PC equipped with CP/M-86, and nobody wanted to buy the latter when they could save a lot of money and buy the former. Besides, x80 CP/M apps wouldn't run on CP/M-86, and PC DOS had already built up a wealth of popular apps since it came out first, so CP/M-86 died in what was possibly the first instance of an "app gap".
No, abused and over-powered browser plugins are dirty.

Quicktime is a plugin, do you feel its presence? Yet WWDC video pages were not HTML5 compatible and using Quicktime plugin.

The same applies to Canvas or SVG, yes they are standards, but their performance will suck worse than Flash if advertisers start abuse animations with canvas. Best part, you can not disable canvas like you can with Flash.
wow, the sounds on that link are insane, thanks for sharing
Even when the president was an outright crook and used some of the machinery of state (and some other outright crooks) to dig for dirt on his opponents, he wasn't able to accomplish this through the national security services. Oh and he got caught and forced to resign.

There are many good reasons to be concerned about surveillance, privacy, data gathering, etc. Your future presidential campaign is almost certainly not among them.
For those who do not know: the MSX/Z80 running this OS runs at 3.58 mhz. Symbos is a preemptive multitasking graphical OS with, now, networking running on machines with 3.58 mhz and 128kb of mem. It is an incredible feat in many ways.
It also indirectly enables criminality by eliminating people's ability to be anonymous sources to police or the press. Along the same lines, it grants anybody with privileged (or unauthorized) access to surveillance data the opportunity for any number of truly maniacal illegal acts.
That's not really the best example of using goto's, as that code is generated from this file:

https://github.com/zedshaw/mongrel2/blob/master/src/http11/h...

A nicer example of the use of goto's in Mongrel2 is the check macro:

https://github.com/zedshaw/mongrel2/blob/a884aef0f4a460e130d...

The convention of the project is that every function that has to deal with an error condition has an "error" label. These macro a used to jump to that label to clean up the function before returning. Here's an example:

https://github.com/zedshaw/mongrel2/blob/a884aef0f4a460e130d...

I think that this use of gotos is more clear than the alternative of a lot of nested if statements checking for success or having the clean up logic duplicated in a lot of places.
So... you make up an assertion I'm supposed to back up? Nice.
Net of Insecurity
Is it really non-refueled? Solar probably needs to be its own category.

The refueled endurance record is crazy. 65 days in a Cessna, refueling from a pickup truck.
The only rule of story telling: Don't tell other people the rules of storytelling.
I believe dang will be posting this thread. It's also not yet the time for the thread.

> I think we'll change the time of these postings to 11 AM Eastern time. This balances east and west a bit better, and has the practical advantage that when something goes haywire with one of them, the problem won't languish for hours before we fix it. (If anybody posts before 11 AM Eastern tomorrow morning wondering where the thread is, or tries to make one, please refer them here.)
Holy shit, tip number 5, "Simplify. Focus. Combine characters. Hop over detours. You’ll feel like you’re losing valuable stuff but it sets you free.", is so absolutely true here in the world of software development (replace characters with features / bugs). They never taught me this in school, but from real life experience the best bugs / fix / solution you can come up with when you're trying to solve the problem is almost always inferior to the one you just sort of stumble across in the wild much later on.
Definitely agree with that. Especially about the domestication large fauna in North America. How can you completely ignore the buffalo?
Libraries depend on what you need to do. A lot of work is done with just the std lib.

For domain specific stuff you use domain specific stuff. For generic stuff, well, you tend not to want generic data structure libs that come with other languages stdlibs because its hard to do those both efficiently and cleanly (you can only pick one). Its easy enough to hack up a dynamic array or a hash table with a fixed capacity that can only insert and get, maybe delete, so you tend to do this when you need it. (Also, a sorted array usually does very well in place of a hash table with not much code)

Memory managment it depend what your doing. I use a lot of arenas, and pools, and as a result very rarely have to worry too much about memory management. Some things become harder here like dynamically sized arrays, but you can do this with chunks of fixed length arrays. (or whatever)

I have to do very little string processing most of the time (and when i do they usually have small, known maximum lengths), and i imagine this memory management technique would work less well for that.
>I'd personally like to understand the doublethink and mental laziness that led sedachv to make that passive-aggressive rhetorical crack about yummyfajitas hating all the poor souls who choose not to work.

I'm still trying to wrap my mind around logic that assumes people who don't work by choice are entitled to the results of my efforts and yet have the gall to paint me as selfish for protesting.
There are issues however with the way that some browsers render canvas, particularly stock browsers. I've had wildly different fps on different browsers.
Sorry, I didn't find it the first time around. I think it's generating good discussion. I didn't post it to diss anyone.

The article seemed a little off to me, and I thought HN would enjoy picking it apart
The 68000 really fascinates me, because it has an interesting legacy: the m68k ISA was heavily inspired by the DEC PDP-11 (the classic Unix architecture), and the assembly language was almost identical.

If a few things went differently, the modern computer industry could've been dominated by a descendent of the PDP-11...

Instead, however, we got x86, which is the worst of all possible worlds. People like to shit on x86 for being CISC instead of RISC, but the truth is that a good CISC architecture has lots of things (e.g. orthogonality) that can make up for not being RISC, and x86 is just a really poor example of CISC. The ultimate CISC ISA was VAX, but PDP-11 and m68k came pretty damn close, and it's a real shame that they got crushed under the x86 juggernaut.
SpannableTextView
After having to create custom spans in TextViews over and over again I finally created a library to make this whole process much simpler. Come check it out and let me know what you think.

https://github.com/lawloretienne/SpannableTextView
I love that we're in an era where we expect sites and interfaces to be more than just desktop pixel grids. Designing in the browser feels like you're actually crafting something real, the same way a carpenter is refining the actual pieces of wood until it turns into furniture.
I replied to a posting on the 'Who's hiring' thread back in Jan 2011 and landed at my first real job out of college. I just left that company after 4+ wonderful years. I was an international student who wanted to work for a startup and very few startups were willing to take the risk back then. I had very little to prove and also came along with strict visa requirements. I am so thankful to this thread, i was able to connect with a person who identified my potential and eventually became a great mentor for me.
How do you handle office politics?
Haven't had to experience office politics in the past 8 years. But now that I'm seeing it closely, it's so ugly. People trying to put down each other constantly. I hear office politics is something you can't run away from ? How do you guys handle it ? I almost feel like running away from the industry, all that focus on hire the right person, interview questions and in the end you realize all that does not matter at all, when politics is so high and people don't really care about doing the right thing anyways.
Ask HN: Any website that lets me share a browser tab's screen?
Is there any website that I can use to show a demo of a web app to my client?
Its like opening the URL of my web app on the screen sharing site which generates an unique URL which can be used by people to see my activity on the web app I opened. I have used a similar site before but cant find it again.
Alien Skin Exposure 6 Serial Plus Crack Free Download
>teaching C and not checking malloc, bad idea

On Linux, malloc will appear to give you memory even if there is none left to give, so checking the error is not important.
I'm kind of allergic to doing things just because the sake of it, even with design. Start with what you have, which is pure text. Then you look at the text and you ask your self, how do I make this more readable? Design is about function and not about looks. If you begin the design process in photoshop your starting of in the wrong end, because then you start with looks before function. I can however understand why people tend to do this, because it's therapeutic and relaxing to just throw painting on a canvas, and you feel good about it, but will it lead to good design? Most often not.
> There are times to be nice and times to be a jerk. That's it. You have to listen to your instincts, an activity assiduously avoided by the Atlantic demographic.

To me it sounds like you are describing how a society of reasonable people should act. That we don't live in such a society is why articles like this are useful - for reasonable people to deal with these others, who have often risen to positions of power, we must first understand them.

Speaking for myself and the current environment I'm working in, I found the article very interesting and I would very much like to know more on the subject.
Somehow the critique lost clout at "Winblows"
??? i'd love to read that post...
11 AM EST is a bit late for all the people on the Eastern Hemisphere, especially in Asia. 10 AM would be much more preferable.
Senior Mobile Developer, Senior Javascript Developer: Remote and/or Logan, Utah

___Senior Mobile Developer___
We need brilliant people who love using cutting edge technologies to create engaging mobile applications on Android and/or iOS, using Java and/or ObjC, using Xamarin!

Preferred Qualifications: - Experience developing Android and/or iOS applications - Experience with git - Experience with Agile Methodologies - Degree in Computer Science or related discipline - Passionate about mobile technologies and coding the right way - Experience with Xamarin and C#

To Apply: http://goo.gl/3Rf9uS

___Senior Javascript Developer___
We are looking for full-stack developers who are interested in using cutting edge web technologies. The core of our web application is built on NodeJS and MongoDB.
You will be helping to improve and maintain a data-driven fitness platform that connects millions of devices and consumers.

Prefered Qualifications: You enjoy JavaScript, and are aware of its advantages and flaws. - You value open source. - You consider yourself a full-stack developer. - You are comfortable with *nix command line tools and processes.

Experience in these technologies would be considered a plus: NodeJS, MongoDB, Redis, Git, React, SASS

To apply: http://goo.gl/M8aKw9
Why must you tell THIS story? What’s the belief burning within you that your story feeds off of? That’s the heart of it.

She's right. We've been wasting out lives. Aw, To hell with cartoons. I'm going to do what I always dreamed of -- I'm going to write that sitcom about the sassy tropical fish.

Seriously, guys. They're well-crafted kids movies with predictably intervaled adult jokes inserted as a sop to the parents. The advice ranges from the sophomoric to the nattily aphoristic, but I can't see much that can be applied in a practical sense. "Make it better" sums it up just as usefully.
>Things are getting better.

In what sense? MS platform had a working C compiler for decades.
Giving Up on Academic Stardom
6502 -> 65816, no?
Visualizing backpressure for websockets (and othr TCP based) using akka-streams
Re 16 bit 6502. See http://www.westerndesigncenter.com/wdc/index.cfm
C is a horrible language to write a compiler in. The other reasons for `Why you should learn C' are better, though.
That wasn't really in the core verifier exactly. It was more like an optimization.
I'm looking for an alternative. I found this article in https://news.ycombinator.com/item?id=9635230
Why Responsive Web Design for Mobile Users Is Recommended by Google
Google Working with Qualcomm for Project Tango
Keeping a log for 20 years for each and every person is practically impossible at the moment, regardless of how advanced you think to seem technology is. Storage is not free and i think its stupid to keep tracking everything without a reason. If you keep logging on everything in the hopes that you may find a connection or something of that sort in the future, you'll need a lot more people to go through that sort of stuff to begin with.
You're kidding right? Are you actually implying the scale of information gathered in the Nixon era is anywhere comparable to what is possible now?
"This is a domestic crime tool, not only for terrorism."

Indeed, the primary realpolitik answer that you wont hear from anybody in the beltway till theyve had a few and have a cigar in their hand is that technology has so changed the landscape of threats and potential threats that actions that used to require nation state financial, logistal, etc support can now be accomplished by a single non-state actor, hence, we really "need" to collect it all.

The reason this scares the intel community so much is because generally, with some exceptions, if a foreign country sends actors over we tend to know about it due to how deep our tendrils are and the fact that we are setting ourselves up as the main repository of data for even foreign govs to access. (The point being we know what they access and look at), but if all of a sudden we feel like it could be anybody then you get an intel community thats in hypervigilante mode and that mode will wear you out fast, its a mentally degraded state for anything other than actual fighting.

im guessing some modifications to the way threats are quantitavely measured is in order, but no one really wants to do that these days. Ive heard rumors over the past few years of an increasing trend to get rid of all the salty old greybeards who tell truth to power... What we will end up with is a beltway full of people who are either too naive to know better and just tout the line, or a bunch of kissass mortage-payers who would condone genocide if it made sure their kids go to a ivy league college. Which essentially what William Binneys says happened when they scrapped his lower cost program designed to at least attempt to protect privacy in favor of a billion dollar blank check for another less effective solution.

The bottom line is that by attempting to collect it all before they fully understand how to parse the data, they actually weakened American security in all its various forma.

I am curious though when you say come up with a market solution. The problem is that markets simply dont work like you were taught in college economics. For example, the market profitted from the weakening of American security because the more expensive program put more dollars into a few VA counties. I would like some sort of example of how the markets will ever be anything other than opposed to actual progress if it makes them less money.

Therein lies the problem, weve allowed our own "representative governemnt" to become completely detached from the people due to their attachment to "markets".

Does anybody in DC even remember what their oaths were anymore? to protect and defend THE CONSTITUTION OF THE UNITED STATES OF AMERICA from enemies foreign AND DOMESTIC...

Id say our real enemies, the ones threatening the Constitution (as opposed to safety) are domestic, and they wear suits and ties and not burkahs, and quantifiably so.
From slide 12:

int my_var = 3; // It's an int!
my_var = "abc"; // COMPILER ERROR! You clearly stated that it was an int!

"abc" gets interned and has a memory address. The statement my_var = "abc" tries to assign that address to my_var, but since it's not a pointer to char it gets cast to int instead, possibly truncating the value.

The program still compiles, just printing a warning.
The initial version without any optimisation at all didn't run in real-time, so I started down the asm.js route for fun. With the refactoring done to accommodate asm.js, it does actually work just fine in Firefox even if asm.js compilation fails.
Well, you can use the bootstrap to calculate the variance. It costs computation. But it works. Cosma Shalizi wrote a really nice introduction to it: http://www.americanscientist.org/issues/pub/2010/3/the-boots...
> How much time do you invest in reviewing algorithms that you haven't used in a while?

None. I don't want to work at companies that only hire people who memorized Red-Black trees.

If you don't remember, just say so. Try to reason about it, stating what you do know and can calculate on the back of an envelope. (I know quicksort is faster than N^2). You don't even need a google search to look up the details on an algorithm. Knowing when to use what algorithm is far more important.

In other words, it's just like they said in school: Show your work. Tell us how you arrived at your answer. Tell us how confident you are in the answer.

If you do want to practice, open a (non-highlighting) text editor and code something trivial. See if you can get it to compile on the first time. Repeat with other small problems. (This is how we did it in the old days.)

> What are the best prep resources?

Your stories. Passion projects you've completed. Interesting debugging techniques. What you did when the answer was not in the documentation.
Slashdot has already had plenty of Digg moments, and the current dismal amount of user activity there is fine enough proof of that. There was Jon Katz, the moderation wars, hot grits and all the other trolls, the non-stop complaining about the story submission / selection process, the multiple redesigns (including the big redesign that everyone hated, years ago), the sale to Dice...

Not everything ends the same way. Some things never really end.
I've likened the situation to an auto-immune disease: a hopped-up defense mechanism which false-positive categorizes non-harmful elements as harmful.

I like your threat-analysis line.
First, use your first instinct: SURVIVAL. Do what you must to get the best insurance you can -- if that's cobra, do that (it's more expensive than a regular ppo/hmo plan as a regular employee, but also usually better). Also, doesn't Obamacare now allow you to be under your parent's plan up to 26yo? If you're getting married soon, then get on your spouses plan if it can cover your treatments -- don't be concerned with raising premiums for the startup... this is what insurance is for.

Figure this out pronto. This is your top priority! Have someone help you!!

My wife was diagnosed with metastatic breast cancer back in 2006. I worked for Oracle at the time via the acquisition of PeopleSoft. I never wanted to stay at Oracle, but I ended up staying for 6+ years just so I can stay on Oracle's United Healthcare PPO which was the best. It covered almost everything including getting multiple opinions to crazy expensive clinical trials. I finally left Oracle in 2011 and moved over to Atlassian only once I knew for sure that switching insurance plans would not affect my wife's care, but even then, I still bought Cobra for the first month into my new job just in case.

I know it sounds unheard of for many people here on HN to stay at a job you don't like just so you can keep you and your loved ones healthy and alive, but when it comes down to it, surviving is top priority.
> There are actually many different types of stores that get created in an application. This is really powerful but also confusing for beginners coming from MVC.

Agreed wholeheartedly. One thing that MVC did was answer questions that developers had about architecture, at a "this is how you should do it" level. Now, granted, it answered them with a tonne of tradeoffs and didn't really answer them well at all, in my opinion, but that's something that I've seen a lot of Flux beginners somewhat struggle with. What you're doing with Alt is helping bridge that gap, though.

My offer still stands regarding helping out with some slightly more comprehensive example documentation/tutorials, by the way :) And thanks for you help in #Reactiflux!
There are plenty of deeper adult themes in Pixar movies, not just sops; classifying them as 'kids movies' is a mistake.
AMD provides their specification. I guess up to HD4000 series.
Don't underestimate how deep the pockets are of government defense funds. The NSA has a gigantic datacenter in Utah that's estimated to be storing data on the exabyte order of magnitude (thousands of petabytes). http://en.wikipedia.org/wiki/Utah_Data_Center

edit: Even if they only have 1 exabyte of storage, that's enough to keep 3.3 gigabytes of data for every single person in America (~300 million). I would wager that's more than enough to store the text from everyone's email for many years.
You're wrong, storage is cheap and reliable; every electronic communication and signal you generated was recorded and indexed on your true name, even the stuff you thought was anonymous.

Right now, that recorder is temporarily paused for the most part.

Which one of us is right?
I am confused by your reference to bugs in the form of storytelling? Or characters in relation to Software Engineering.
If they already learned imperative language concepts, sure it's discouraging because people who know things don't like to go back to being beginners again.

But if they're completely starting from scratch, I'm not convinced it's really harder.

After all, apparently a ten year old can learn Haskell: https://superginbaby.wordpress.com/2015/04/08/teaching-haske...
So, 16% of those shot are unarmed, or armed with toys (that presumably resemble real weapons).

That's something that should be considered - more than 84% of people shot by cops are armed with lethal weapons. Knowledge of that statistic might sway you when considering a shoot / no-shoot reaction.

I think there are many problems at work here, and police brutality and militarization are just two of them.
It also breaks scrolling and zooming. I was hoping someone would mention that.

"Do as I say, not as I do".