skysight-inc/HackerNews huggingface dataset:
This is not correct. Dragon was in production before the NASA contract was signed. SpaceX was paid to develop a commercial crew variant called Dragon V2.

Spacex was from its start conceived by Musk to develop low cost systems that will be used to colonize Mars. He has said this from the start.

Nasa contracts were never necessary for SpaceX to succeed as they have contracts world wide to lift payloads to space for many nations. These contracts help to accelerate the company timeline for crewed missions to the Moon and Mars.
Uber launches in Portland, City Hall promises to 'throw the book' at drivers
Hi thanks for the answer. Hopefully I can find something that's a better fit! Now I just need to figure out what that means
Looks great! It would be nice if I could subscribe by email.
> - https://codewords.hackerschool.com/issues/one/why-are-object....

> In all seriousness, this is one of the best articles I've ever read. I couldn't agree more with the author.

I'm not sure if you are being serious (you say you are, so Po's law), but this is a bad article written by someone who I guess must be a novice who thinks he knows something now but will look back on this 5 years later and cringe; examples...

> From the perspective of debugging, an instance variable is not in the scope of any of the methods on the stack.

He might as well be talking about heap allocated structs in C.

> This threatens to increase the search space, and suggests that avoiding instance variables in favor of passing arguments might be a better strategy where possible.

State should be stack allocated, except when it really is state (even if hidden in a monad).

> if you make the mistake of defining public “setter” methods, then the instance variables with setter methods become effectively global variables: if the value of the instance variable is incorrect at some point, that incorrect value might have been set anywhere in your code.

I'm trying really hard now to not be sarcastic.

> So, to avoid making your object-oriented code harder to debug than imperative code, you need to not use any public instance variables, and also avoid defining setter methods.

How does this guy define imperative code? Definitely not C where all members of a (heap allocated) struct are public?

He then describes the fragile base class problem without really understanding what that means.

> The technical term for a programming paradigm which uses neither inheritance nor instance variables is imperative (or functional) programming.

Ok, I can't stop myself from laughing at this point; I can't really go any further.

You know, we all go through this as programmers. We start knowing nothing, then we get a couple of years of experience and think we know everything....then we get 10 years of experience and realize we still don't know very much and what we thought we knew were just delusions of grandeur.

I won't say much about the rest of the publication. The nice thing about the internet is that anyone can produce something and make it available to read.
Why Being a “Big Fish in a Small Pond” Is Bulls**t
> I'm disagreeing with you because I dislike you
> I dislike you because...

Are you even aware you made my exact point?
SlamData – open source tool runs SQL queries inside MongoDB (1.1 release)
holy crap, check this out:
http://img1.buyersbestfriend.com/mkg/snackspage/images/bpg.h...

186,967 ==> 29,872 and indistinguishable, 6.25:1

(and pls tell me if it breaks on your browser - I want to push this live!!!)

adam
I hope you're right about the future, but I wouldn't be so confident in what hasn't yet happened.

Alternatively, SpaceX hasn't launched people into space; NASA has. SpaceX hasn't launched a space station; NASA (and others) have. NASA has larger budgets, but they solve that problem by having larger budgets.
If you are asking why I don't end up with a $0 bill it is because PG&E builds a per kwH 'cost' schedule that includes various tiers of usage. But they don't adjust how much credit I get by baseline usage.

As a contrived example, let's say Baseline is 200kWH and .10 per kWH, and I use 300kWH which is billed at 200kWH at 'baseline' rate, and 100kWH at 'premium' rate of .125 per kWH. My "billed" cost is $32.50, If I then generate 300kWH I get "credit" for 300 baseline rate kWH or $30.00, and have to eat the difference between the baseline rate and the premium rate or generate and extra 25 kWH to cover the difference. I've had extended phone conversations with them and they completely understand that this is exactly the situation, they are pretty pleased with themselves for getting it through the regulators.
Rx isn't FRP.
This is lovely, is the source available somewhere so we can apply this to our own body of text?
why? downhills are free.
Wow! So did my father. How did you like working there? Barnsley is brilliant, but I'm not convinced he was ever a good businessman.
Have you thought of doing a map of the whole nation and seeing what other cities are showing tech growth? Might see some interesting cities pop up that way.
I have found out that a lot of businesses simply don't have interesting or hard problems to solve. There are problems to solve, and it can be fun to solve them on a one by one basis, but the overall problems that need solving are not interesting. My internship and first job were like that. My current one is not.
Subdomain American Express Website Has Been Hacked by AnonGhost
Not on your knees. Downhill running (and hiking) is also more anaerobic (stopping your self from falling) than aerobic (working to move up).
I hate to be that guy, but Slackware has been around for longer than FreeBSD, it beats it by a few months. One of Slackware's goals is to be Unix-like, and that decision is definitely evident in the distribution.
Resetting a Linux root Password
I'll assume you aren't familiar with the subject of history, otherwise I would have to assume you're just trying to discredit me without having an actual conversation.

Excellent use of your down-voting privileges I might add.
I missed the "If I am building a Foo widget and I work 3 hours one day, 3 hours the next and 3 hours the next and then I'm done, I bill ¿?."

One or two days? :) It depends on the client?
Unfortunately given the relationship between Google and Apple and also between Web* and H.26* there is little chance of it going anywhere since without iOS you have nothing.
Worked for me on Chrome, Safari and Firefox

Your issue if anything will be older browsers. Is there a way that it can detect browser side if something has failed?
Science fiction list
Abandoned in Place: Preserving America's Space History
"At times I feel uncomfortably sure that I was a sysadmin by trade". This is so good, I could not have written it better myself! I love it.
>I was ready to pass by this post with a yawn until I saw where it was coming from

Would this have been less interesting or valuable if it hadn't been made by a hacker celebrity?
It's a shame that TNR has been gutted, but the good news is that all those talented writers and editors are still just as talented.

Maybe there's a place for them at Pierre Omidyar's First Look Media.
That's a cute title if you're already definitely going to read it, but to me, deciding whether to skip it like all the others, it's important to know that chirality specifically is the topic.
webvan
Agreed. This is picking up the shares on Facebook, that's for sure. I just don't belive the tech is here - yet. I don't think it's far off, but the biggest names in tech (largest R&D budgets on the planet) can't give me these features in a 3x5x.25 inch package that will last even a 24hr stint (ex:Samsung Galaxy S5)... so with that in mind (call my cynical),I just have a hard time believing the guys with a pulled indiegigo and a WordPress site asking for (free as in beer)donations are going to be the ones who bring the game changer to us. Here's to hoping I have to eat my hat.
I imagine you're right :-) I was just throwing out the name of a 1 in a million project that may have potentially had all the resources it wanted given to it. But I'm sure even that project saw phone calls arguing for more support staff or whatever.
Speaking of memory mapped files: how easy is it to allocate and store various data structures into mmapped files in languages such as C, C++, Rust, etc.?

If it is difficult, then why is this the case? Are languages lacking in this respect?
It is according to the creator of Elm. https://www.youtube.com/watch?v=Agu6jipKfYw
Thanks for pointing that out! Post updated. Slackware was first distro I ever used seriously, after getting hooked up on Linux with a Red Hat 5.0 or 5.1 CD that was attached to a (printed) IT monthly newspaper. I have to tell, FreeBSD feels kind of similar to Slackware.
We use Elm in production. See the symbol / footprint diagrams on this page https://circuithub.com/projects/electricimp/janice
I'm not sure of the current state of things, but that last bit has traditionally been true in the US as well: if you spend all your time with one client, and they control your hours and/or work location and equipment, then you may be considered an employee for tax purposes (IRS Form SS-8 covers this).
You mean the TempleOS Programmers Manual?
It seemed like the same question me.

On "stopping for a while to think", I suppose it's subjective. From my point of view we spend insane amounts of time thinking about the right design for all these things. At the same time we receive approximately 50 pull requests a week, and a lot of them are for small incremental improvements which are very reasonable and could be merged very easily with little effort. So, there is a balance between "feature all the things!" and "sorry we're not merging anything for 3 months while we rethink everything from scratch". Every large scale open-source project deals with that tension. We definitely have room for improvement. But we care very much about good, minimal design, and not breaking APIs.
If you give up on February and just resign yourself to treating it as an exception, then the formula in the article, 30 + (x + [x/8])%2, is trivial to compute in your head.

Zeller's Congruence is quite a bit harder to do in your head.

For mental calculation of day of week, I use a method given in a Martin Gardner book, but this only works for 1900-1999. I'll give a fix to extend it to other centuries.

Let Y be the last two digits of the year, let M be the month (1-12), and D be the day of the month (1-31). Let [X] denote the integer part of X.

Compute w = [Y/12] + Y%12 + [Y%12/4]

Compute w = w + month_offset(M), where month_offset is defined by this table:

M month_offset
1 1
2 4
3 4
4 0
5 2
6 5
7 0
8 3
9 6
10 1
11 4
12 6

Compute w = w + D

w%7 gives the day of the week, with Saturday being day 0. A couple notes.

1. You can reduce mod 7 as you go. For example, to get the day of the week of 1969-07-16, you could think "[69/12] = 5, add 9 (69%12) giving 14 == 0 mod 7. [9/4] = 2, so we are at 2. Add month_offset(7) == 0, giving 0. Add 16 (D), and we have 3 mod 7, so Wednesday".

2. Month_offset is easy to remember if you think of it this way:

1 4 4

0 2 5

0 3 6

1 4 6

That's 12^2, 5^2, 6^2, and 12^2+2. I don't know why that makes it easy, but Gardner suggested it, and I have not forgotten it in something like 40 years, even though I rarely use it.

3. If the year is a leap year, subtract 1 for dates in January and February.

4. For years in 2000-2099, subtract 1 from the result. For years in 1800-1899, add 2. If you forget what the century correction is, you can work it out in your head. For instance, to find the correction for 20xx, work out the day of week of 1999-12-31: 99=12x8+3, [3/4]=0, month_offset(12)=6, so 8+3+0+6+31==6 mod 7, or Friday. Now work out 2000-01-01 without a century correction: 0=0x12+0, [0/4]=0, month_offset(1)=1. 2000 is a leap year, so need to subtract 1 in January, so we have 0+0+0+0+1-1+1==1 mod 7, so Sunday. However, it should be Saturday since it comes after Friday, and so the century correction must be -1 for 20xx.

5. Gardner's method is really one of the other well known methods (I forget which one) adjusted to make mental calculation easier.

Addendum: this is described in chapter 7, "Tricks of Lightning Calculators" from the Martin Gardner collection "Mathematical Carnival".
It mostly involves casting a pointer.
I was using Peapod in 1994, 5 years after it was founded, over a modem and their proprietary software:

http://en.wikipedia.org/wiki/Peapod

It massively increased in size during the dotcom boom along with Webvan and Kozma, after it burst it retreated.
If he did say that, I'm not sure Evan still takes that position. At least the last time I saw him talk about it (at SPLASH), he didn't put Rx in the FRP bucket. I know Erik (the creator of Rx) definitely wouldn't put Rx in the FRP bucket. And Conal (the creator of FRP along with Hudak) would only begrudgingly except Elm as FRP.

(sorry, I can't see the video in China).
Show HN: WindySurf – windsurfing, kitesurfing listings scraped from Craigslist
Hackers Threaten Sony Staff in New Email
"...there's your new spacecraft, America." (1m15s: [1])

That's ignoring Dragon and Dragon v2, among others. This isn't the 60's or the 80's, when there was only one game in town, and sports-commentator-like narration propaganda for spaceflight was understandable. Cut the BS narration please, NASA/ULA (who does the narrator work for?), you're embarrassing yourselves.

[1] https://www.youtube.com/watch?v=tdmZAvwznOU#t=1m12s
Per hour, with a minimum number of hours. Fixed-bid (per project) is a sucker's game, and you can sell your clients on per-hour like this:

"Some clients, not you of course, will take advantage of a fixed bid to waste everybody's time tweaking things that don't matter, or expanding the scope beyond what was originally intended or agreed upon. If I were to accept fixed-bid contracts, I'd have to heavily charge more than what I figure it will actually cost to make up for the people who will abuse the contract like that. The only way for me to be fair with you is to ask for a fair price per-hour. That way the clients who do want to waste my time can pay for it, and those that don't waste my time can save money."
There are many problems that are known to be solvable in principle (because there's a paper) but in practice are not solved because production-worthy code isn't widely available.

For example, the existence of the Paxos paper didn't mean that most organizations could actually use distributed state machines in real life.

So how about "write the definitive library for X so that nobody needs to write this code again?" That ought to count for something. If you want to see problems solved for real (not just in principle), maybe you're better off in industry.
See here: https://www.americanprogress.org/issues/technology/report/20...

While some of this foundational work was done in government labs, a fair amount came out of university labs.

The primary outcome of university research is validated ideas in the form of academic papers. 99% of those papers will be forgotten in a decade (and derided by cynics in hindsight as "useless ivory towering"). But the remaining 1% will push the world forward in meaningful ways. The main issue is that it's impossible to tell which projects will lead to that 1%, so funding agencies try to invest broadly. That's the optimistic view, at least :)
>> Certainly, but I wouldn't fall into the trap of thinking naively that things would be better if only NASA had much more money.

Exactly. NASA wasn't doing anything along these lines until they got their budget cut and some competition. I'm guessing mostly the budget cut because they were too busy spending lots of money in someones district to do anything different. Finally someone said "just stop that '70s stuff" and now we're getting somewhere. BTW I know the SLS makes a lot of reuse of shuttle launch hardware, but it is still a change.
Speaking only for myself, I think you're pimping Mesos a bit too hard. I also don't appreciate comments that summarize or excerpt articles that are themselves short enough to not need summarizing.
This is a good clarification. The other issue is that Vidra's previous employer was Yahoo (Head of Yahoo News). This may have limited his ability to read beyond 500 words, too, who knows.
I disagree! You have the cause and effect mixed up. It's normal to dislike certain groups of people you strongly disagree with. For example, I imagine we both dislike gay bashers pretty strongly.

You, on the other hand, were suggesting that CamperBob2 was arguing with you purely because he didn't like you, which would be pretty silly if it were true.
Femto-Photography: Visualizing Photons in Motion at a Trillion Frames per Second
1. I have not used them yet, but have heard of:

http://techcrunch.com/2011/08/12/1dollarscan-com-scans-and-d...

2. If it's a public domain book, you can send it to archive.org and they'll scan it for you (they'll charge a modest fee plus they'll want to put it up on the web).
Ah yes, Mikeal, whose capability of double-think is so well-developed that he can claim to not understand what "fragmentation" means while at the same time advocating to do precisely that - https://github.com/iojs/io.js/issues/9

I swear Chris Dickinson is the only sane one in this whole mess. Possibly because he's new. Possibly because his employer is the only one involved that's not beholden to VC money and expectations of return.
I can also recommend Asics. Even after going to high-end running stores with video profiling, Asics are still the best running shoe for me. With every other brand, I get shin splints shortly after running.
Show HN: http.js, a tiny AJAX utility
In truth tooling fixes a lot of his issues with OOP.

E.g. "you will have to check the entire code base for any methods which called the setter."

Sounds difficult... But it's really less than a second away as OOP IDEs have a "find references" functionality. Likewise if you want to know who is setting a bad value you just set a data breakpoint and the debugger will break when the bad value is set.

More fundamentally I don't agree with his assertion that figuring out where the bug is is the most time consuming part of debugging. The most time consuming part by a very large margin is setting up the environment to properly replicate the defect, followed by retesting all surrounding code/features that could be impacted by the fix, followed by determining a fix, followed by documenting/management overhead.

The average time for me to find the location of a bug in our codebase is around an hour. Yet I only fix on average a bug a day and it's not because I head to the pub after finding it :p.
I used the software when it first became available in the early 90s, but with a focus on resolution independence rather than reverse entropy (which is why it's more likely than not that I'm wrong).

It's certainly not a scam, Barnsley's a respected researcher in this field of mathematics - http://en.wikipedia.org/wiki/Barnsley_fern At worst this is a rendering problem in the PDF and some nostalgic over-enthusiasm on my part.
> a bad article written by someone who I guess must be a novice who thinks he knows something now but will look back on this 5 years later and cringe

The article's author appears to be Robert Lefkowitz. If it is, then the author transitioned from nuclear physics to programming in the 1970s, has been a speaker at PyCon, currently seems to be writing software in Haskell, Ruby, and Java, gave several talks at OSCon in 2013, and is currently a CTO while also working with corporations to open proprietary code ... among other things.

I won't further belabor the point, but what you just said (and how you said it) is one of my least favorite aspects of HN.
https://pbs.twimg.com/media/B4C4otmCAAAEcHA.jpg
True, but you still need to balance the relative merits of continuing versus discontinuing the tradition. There is a very real loss from discontinuing the tradition in question without first augmenting references for many of the algorithms that use Lena with other standard reference images. That's a real and immediate loss.

Try a different strategy: offer a better alternative that makes it so practitioners not only don't notices the loss of Lena in common usage, but instead overwhelmingly favor alternatives. Create a better product.
“During the Jurassic Age the Old Ones met fresh adversity in the form of facts.”

I'm stealing that one!
I am reasonably familiar with the subject of history, but I am still curious to what you mean by "historically proven measures"?
He's not wrong, but he's not right either. The stakes aren't so much small as they're impossible to wrap your head around. They tend to be something like, "understanding something we don't even know exists yet". Compared to something like global politics, where a stake is often at least quantifiable ("1 country", "500 million children", etc.), it does help explain the viciousness: it's not clear what's lost when there's a casualty.
Regarding day of the week, this simple trick/observation seems surprisingly unknown (called Doomsday Rule: http://en.wikipedia.org/wiki/Doomsday_rule).

In any year, 4/4, 6/6, 8/8, 10/10, 12/12 fall on the same day, so do 9/5, 5/9, 7/11, 11/7 (mnemonic: 9-to-5, 7-11). If you know what day that is for the year (Friday for 2014, Sat for 2015), you can quickly calculate the day of the week for many of the days.

Jan/Feb/Mar require a little bit thought, but with practice reasonably quick.
in the same spirit:

http://git-man-page-generator.lokaltog.net/
Sadly, this is not likely to have a good outcome--they drew anti-civil-liberties judges.

For example Michael Daly Hawkins had a dissented to argue that it's ok for a school to strip-search a crying thirteen year-old to search for ibuprofen. http://articles.latimes.com/2008/jul/12/nation/na-strip12
A line manager for academics. We're not in Kansas anymore.
Ironically, I think that decision is actually quite technologically ignorant. The Court equates data in the cloud with local data while ignoring the massive legally relevant technical distinctions between the two kinds of storage.
I'm not talking about the Wikipedia page, which does not in any case make mild claims about the technology. I'm recounting my personal experience of using it and being impressed by the results.
+1 would love email subscription. Just bung up a Mailchimp account and you can even connect the RSS others have been asking :)
California drought most severe in 1,200 years, study says
Well it certainly wasn't written by someone with experience working on legacy COBOL systems, I can tell you that much!
I think your page has a bug - the "original png" seems to be encoded in jpg! (The usual jpg artifacts are very visible around the edges.) Thanks for posting the extra example, the bgp looks very good indeed.
I suggested the sole reason of him defending the status quo was that it was challenged by people he didn't like. I still believe it's true.
See related:

https://news.ycombinator.com/item?id=8704303

https://news.ycombinator.com/item?id=4101355
The Most Valuable Skill Every Recruiter Overlooks
> They unleashed a pool of random right-handed RNA molecules and let them react in a test tube with left-handed building blocks. They hoped that within that random pool of RNA molecules was a ribozyme capable of stringing the building blocks together.

Can someone explain the mechanism behind the origin of that ribozyme from original RNA molecules?
> 7:25 Destruction cometh; and they shall be in the end of the string

Ah, ye olde buffer overflows caused by missing null terminators.
You wouldn't really have to change the right click menu. You could put an invisible html div over top the images, and give them the correct link, instead of the raw decompressed image data. So a user would think they are right clicking the image, when really they are right clicking our overlay.
> --assault-stage

> without this argument, git-lower-submodule --circumvent-index format-patches branches that clone the specified refs

That would be useful. Where can I merge the patch?