skysight-inc/HackerNews huggingface dataset:
Here's my favorite way to get factors in your R program without wanting them: load an HDF5 file.

Python's excellent h5py module and the official HDF5 tools like "h5dump" understand that a dataset is boolean if it has the type H5T_ENUM with two values "FALSE" (0) and "TRUE" (1).

But R works a different way: if you save a boolean vector from R to HDF5 (using the rhdf5 package), it will create a dataset of type H5T_STD_I32LE, which takes 4x the storage space. And if you read the boolean vector as understood by other tools, you will get factors. Then, the most amazing thing happens: R uses the string names of the enum ("FALSE" and "TRUE"), but remaps them to factors with 1 and 2. So if you do as.integer(h5read(...)) you will get a vector of ones and twos instead of zeros and ones. And of course R itself treats 1 and 2 as truthy values, so now your data is well and truly corrupted: all the elements are truthy!

That is: as.logical(as.integer(h5read(...))) always produces all TRUE values when the input is boolean written by a program other than R. This is a lovely source of bugs in real software.
There was another New Yorker story about a man (or multiple people) with some disorder that caused them to be massive assholes to everybody as well as try to harm themselves despite not wanting to. I remember one guy carried around a little business card that explained it and it described another person who would "accidentally" say "eat shit and die" as a greeting. It was around the same time period. Anybody here remember it and can link it? I've been looking for years.
How are the Go and Java memory models similar?
I prefer $brand, they hold up better under extensive use.
My Macbook's SSD lasted just six months before it failed, right before printing a boarding pass for a transatlantic flight. Afterwards it turned out Time Machine had been making corrupted backups, which wasn't fun, fortunately no user data loss, only Applications. I've learnt my lesions about SSDs: they don't give you any hints that they're about to fail, and one they do, it's game over.
Japanese company plans to build a functioning space elevator by 2050
> Your first posting didn't mention that you had spot-checked against the book, and I assumed that the infringement you were talking about was from xkcd.com and not from the book.

Fair enough, I could have been more clear.

> Another minor detail; the xkcd.com copyright license may be less restrictive than most, but it not free.

That's an aspect of "free" and open-source that many people find confusing -- the person granting those permissions normally still wants control and fair attribution.

> I personally think the author doesn't much care about the matter. A review of the other book reviews shows they are more like digests, with many long, unmodified quotes and very little review or commentary.

Yes, or maybe he realizes nothing can be done, that it's a sign of the times. But I doubt that Houghton Mifflin's stockholders would go along if they were fully aware of what it implies about paper-book copyrights.
Their legal fiction was that somehow that their "service" was renting out DVRs in their space, whereas if you looked at any of their copy or how they were positioned in the market, they were a VOD service.

There argument is a legal fiction in that it doesn't match the service actually being advertised and offered. The implementation doesn't matter, because the end result is rebroadcasting material to members of the public.
Business Suit Onesie
We ended up using an mDNS (http://www.avahi.org/) that pointed towards hostname.local - not perfect, but we didn't have to use the IP address anymore. The catch all is a much better idea.
It is not, because it is not "designed to develop or contribute to generalizable knowledge" in the sense that it seeks to communicate to wider scholarly publics.
Can you please point me towards said open source projects?
It's pretty crisp. What's great is that it's a mobile site on desktop too.
Sales 101 is being able to take the conversation away from "price" and change it to "value". 20 years ago, my friend was selling IBM desktops and servers to educational institutes and I learned this from him. There was no way IBM could compete against the prices of those small computer stores, so he had to actively show how buying IBM would save money over the long run, etc. He was a very good salesman so it worked pretty well.
1. Both. I come from a family of cooks so it comes natural. Plus, if your watching the weight, best way to combat hidden fats/sugars/carbs found in prepared meals.

2.Eh, kinda. More like I buy ingredients for the week and cook based of those ingredients.

3.From kimchi fried rice to tuna salad. Try to keep some variation. Currently mastering cooking proteins.

4. Not by the books. I do have a macros (macro-nutrient) plan I follow and cook accordingly. I have done paleo and vegetarian for brief moments as well.

5.Prep, prep, prep, prep,prep. This can be as simple as dicing onions for the week on weekends to checking an ingredient list. Prep time is the biggest deterrent from cooking. Reduce this and it's wonderful.
> Many factors determine quality and costs. Nothing you say indicates that labor was a decisive or major factor.

When labor costs adds an extra $3000 to your own costs that your competitors don't have to deal with, how is this not a major factor in both quality and costs (either lower quality to meet price points, raise the price, or a mix of both)?

http://www.npr.org/templates/story/story.php?storyId=9864323...

http://archive.fortune.com/2007/01/26/news/companies/plugged...

Since we're on the subject, you haven't provided much meat to your argument either: being that labor was a major factor in US car companies' competitive disadvantage.

> For example, people assume much manufacturing is in China due to labor costs

Low cost, skilled labor was initially one of the major reasons how Chinese manufacturing became dominant.

> but many businesses will tell you it's because of manufacturing capabilities and resources

It's only recently that Chinese manufacturing capabilities got better and it was due to rising labor costs.

As for natural resources, it is not a Chinese competitive advantage. That's why they're very keen on striking a lot of agreements with foreign countries for access to natural resources.

> I don't know what exactly you mean by 'fail', or if you mean the city or the car industry.

I meant the car industry.

> For the industry, from what I know bad management was a major contributor, as well as poor engineering.

Yes to be specific for bad management, it was short sightedness that led management to offer rich pensions in return for lower salaries in 60's. This in turn led to bad quality. How? When you have an extra $3000 of extra costs from pensions for a product that your Japanese competitors don't have, what does management do when they want to be competitive price wise? They lower quality of parts and materials, which led to poorer overall reliability and quality of the entire vehicle. Detroit engineering was not 'poor'; they just had to work at a disadvantage. (A lot of those engineers now work for Telsa and other non-Detroit companies.)

> I think labor was too.

I'm confused. I thought your main argument was that labor wasn't a factor?
Bringing uneducated and unfit people to society will only make matters worse. It's same as adding workers to late project. You can only assimilate so many people per decade.

And of course I would want Europe to stay Europe, not caliphat. I assume Europeans do too.
Europe doesn't have this problem and the program doesn't concern Africa or India where they have this problem.
Yup. I had built a gaming/workstation desktop using 2x 7200.11's in RAID-0. It started acting up, at a lan party of all things, which made me suspect the RAID controller on the motherboard, especially after using the drives separately seemed to work ok. But then one of the drives died and then the other, both at pretty much the least convenient moments possible.
You can use the yotube-dl script: http://rg3.github.io/youtube-dl/
Log viewer for Apache, IIS, Nginx
wahh cool super + drag works just great. thx, made my day
To be fair this didn't help Russia-Ukraine conflict the slightest.
Hollywood movie Gravity costs more than this space mission.
RSUs are not "gifted." They are a part of one's compensation package, and you have to work for them.

Consider this scenario: a company offers me 10,000 RSUs when its shares are valued at $50/share. When the company goes public the value of the shares soon drops to $20/share. What I thought was worth $500,000 is now worth just $200,000 (pre-tax). That's a huge difference. Had the company's shares been valued at $20 the time I was offered a position, I might have negotiated for more of them.

Now, to be fair, maybe salary plus $200,000 is still the best compensation package (and overall outcome) available to me, but that doesn't mean that it was risk-free or cost-free.

As for the cost of purchasing 10,000 shares of Facebook stock outright, yes this is expensive. But you can easily establish a meaningful leveraged position through the use of options if you have the conviction. Also, keep in mind that this is precisely what employees do when they fail to sell their shares when they first have the chance. A Facebook employee who has $500,000 in newly-vested shares that can be sold, but who doesn't sell, is in effect purchasing $500,000 in Facebook shares in the hopes that they will rise in price. If they fall in price, his or her loss is still very much a loss, even if it looks less painful because the shares were purchased with labor instead of cash.
Simply Amazing...
Analyzing Programming Languages Using Rosetta Code
Remembering the Great DJ Mehdi
Whether intended as a derogatory remark or otherwise, the economical mission cost is a direct consequence of very creative and clever engineering solutions. I remember following the launch, the series of orbit raising manoeuvres to slingshot the craft into a heliocentric orbit to begin the journey towards Mars, there by limiting the costs and enabling to work around mission constraints, was extremely impressive. I wonder if the success of this mission would spark a priority to optimize costs in missions across space agencies around the world.
I really hope Google deprecates Java on Android, because Android is even having problems with the standard library in Java SE 6, let alone Java 7 or 8. I rooted for them in the Oracle lawsuit, but they are holding back progress on the Java platform, as now library authors have to worry about the "Android problem" - every other JVM vendor is able to keep up the pace of updates, but not Google, because hey, ART / Dalvik is not a JVM, haven't you heard? So they should either get their shit together and keep up with the latest standard library, class format and bytecode in their toolchain or drop it.
... or your recursive reflective tostring implementation....
ISRO's Mars mission is the cheapest so far, just 450 crore i.e Rs 12 per km, equivalent to Auto fare .Truly Indian
Please do not publicize our trade secrets.
Best Android Media Players
The only reason I use Dropbox is because it works beyond any type of firewall (be it simple HTTP proxy or socks). Others tend not to.
That's some sense of entitlement you've got there.
Yes but putting $1000+ on a 1% cashback card every month adds up a lot faster than 5% on a once-every-two-years $2000 purchase.
I've heard it's common in some of em' overseas countries.

http://upload.wikimedia.org/wikipedia/commons/thumb/a/ab/Met...
Adobe acquires Aviary
Ex-Tesla and NASA engineers made a light bulb that dims if the room is bright
Atlanta Workers Compensation Attorneys
Try attic-backup[1] to one of these[2] super-cheap VPSes. 2.5c/GB/month for a 50GB block.

1. https://attic-backup.org/

2. https://crissic.net/openvz_vps
This is such a cool series. Except it hurts that I can try out the tutorials live because the "metal code" doesn't run on either the simulator or my A6 chip containing iPhone 5. Off by one generation :(
Huh! That looks awesome. :)
Manufactured by P.T. Barnum, apparently.
I had to stop reading this article because it was making me itch all over.
For me, touting a language as being "Python, but with X" is a big turnoff.

I worked for about 2 years in Python and hated most things about it - from the whitespace sensitive indentation that led people to write really long lines and the limited expressive capabilities forcing people to do meta voodoo in their libraries leading to incomprehensible DSLs, to the legacy that sticks like "old-style vs new-style classes", to the performance problems and the sad state of libraries in the ecosystem, let alone the complete cluster-fuck that is dependency and deployment management on top of Python.

So you know, I want to hear about languages that are not like Python.
Surveil them back, root out every underhand connection, business, deal, operation that the nsa or its chronies undertake, and put a spotlight on it. Crowdsource it.
> Would you make fun of the Burundian Franc because I'd have to convert them into USD to pay my US suppliers?

No, if it's a bona fide currency, if you can walk around in Burundi and buy bread or a goat or a gun with it, then of course having to convert it to buy a Macbook isn't a dealbreaker. But Bitcoin is in the opposite situation.

> The only difference with Bitcoin versus a small fiat currency is the people who are using it are distributed geographically worldwide instead of clumped together in one area.

So with a currency you can buy life essentials, with Bitcoin you can buy virtual things or things that are feasible to send through the post. I wonder what is going to be more valuable overall?
I think calling it "entitlement" is doing a disservice to the situation and the complex motivations and desires on all sides that have lead to and inform the future of the current situation. There's blame all around, from consumers that are willing to skirt and outright break the law, to rights-holders that have time and again resorted to morally ambiguous contracts and actions with a consumer base that's quickly coming to the conclusion they can't always expect a fair deal[1].

That said, only one of these groups has any real power to make a change in the short term. In the long term other possible solutions exist, such as through enacting new laws, but that seems to backfire as often as not given a enough time for the landscape to change yet again, so I don't hold hope that a good solution will come out of that.

1: http://boingboing.net/2013/12/15/amazon-takes-away-access-to...
Introducing Bootlint
> It doesn't have a GIL

On platforms like Go and the JVM, the garbage collector acts like a GIL, which is why they'll never replace C/C++.
Clinkle finally launches its payments service, but it's not what they promised
wow. please contact me ummyupyup@gmail.com. See if I can understand this clearer. Expatriate of PR.
This is a really good video lesson. I fell inspired to work harder on my dreams of growing my startup.
Good practice for ICBM development.

India's current IRBMs can target all of China.
The goal is to be able to target all of the mainland United States.
ummyupyup@gmail: email me. ASAP by the sound of it..
FYI Bret Taylor, with one T in Bret
> For me that includes freedom of speech and net neutrality.
> These things don't exist unless you make laws to protect them.

Net neutrality? Maybe. You could argue that network provision is a natural monopoly and therefore needs regulation to keep it "fair".

Free speech? Absolutely not. There is no sensible way a law can make the internet freer (as in speech) than it is in the absence of law. Right now, any lack of free speech on the internet is directly due to laws. Please explain your reasoning.
and instead of 'hash' it use 'integrity' attribute
Thank you for analyzing this video to give us great notes to look back over.
Bend-gate: Apple iPhone 6 Plus found bending in pants pockets
Best job posting ever
2x the price of a Chromecast
And how the hell do you plan to stop it?

You should know there's also racism on the web, vulgar pictures of Mohammed, massive amounts of patent law violations, criticism of govts, violent threats against every race class and walk of life on a microsecond basis.

Yet somehow offended rich first world women is finally the 'intolerable' situation big enough to "not allow on the platforms that we love."

Please.

Trolls are the canary on the coal mine signaling a free uncensored internet. You should be grateful for them.

And yes you do have to suck it up and deal with it just like everybody else.

Which apparently isn't a problem for Jennifer Lawrence.
> When you don't have trust,

It is difficult, if not impossible, to build trust because the population isn't educated, they don't trust the government from before, and there is no infrastructure for wide-spread dissemination of information.

> You can't win with force alone.

You can.

I think that the part of the problem is that they try to take care of the sick, but they don't have resources, the equipment, the personnel, the education... nothing. The sick can walk out (if they can), anybody can walk in, other people try to "liberate" them, etc. It's mess. Compare their conditions with how ebola-infected people are handled in the west (isolation and containment facilities).

What do to instead: just write off the infected, however cruel that may seem, and transfer them to a closed isolation facility, guarded by military. Heck, I don't think that anything else would be feasible even in any western country if suddenly a few thousand people got infected.
> If you just steal it instead, you're signaling the producer that you do want their product; you'd like to think that the proper response would be to make a product that entices you to buy instead of steal, but unless almost everyone is stealing, it's probably cheaper to lobby for the DMCA. Which is what happened.

RIAA/MPAA and other interested parties who experience their content being copyrighted must be at least happy that people think of it as stealing. I still think of stealing as a very to describe someone taking something that belongs to someone else, and depriving the victim of the object in the process. Downloading is copyright infringement, which, also happens to be illegal, but it is not stealing.
One more step closer to Mars...
In the second one, the "I" should have quotes around it to set it off and show that it's referring to the letter, rather than the word. Pretty minor compared to the first one.

I don't see anything grammatically incorrect about the third.
Is PyCharm particularly good for scientific programming? I use Python for doing ML research on my masters, and I'm quite interested in a better environmnet,but pycharm looks like it is all about web development.
What do you guys think of Coinbase? Is it a good replacement for BitPay? Sorry I am new to this are but wanted to start accepting Bitcoins
Is this legal? Can I use this to scrape and store Google Search results?
Ok, here goes (from my perspective, obviously):

1) If the costs of distribution are high enough that rights holders will not make a profit, they may cease distribution to avoid the loss. This is fine and fair and good.

2) Distribution by others at that point by definition represents no loss to the rights holder, so long as there is no marginal cost to the rights holder. For example, an online game may represent a continuing marginal cost to the rights holder if they are still running servers, but pirating a movie represents zero marginal cost.

3) Therefore, it is not immoral to pirate a work where the rights holder has made it impossible to obtain the film through legal, profit generating channels.

------- LINE OF MORAL AMBIGUITY -------

4) Where a rights holder makes it unreasonably difficult to obtain a work, either through price, geographical distribution or unnecessary technical encumberment, one may cease to be a potential profit generating customer of the rights holder.

5) Therefore, pirating (again with 0 marginal cost to the rights holder) is not immoral, as the rights holder is not losing potential profit as a result.
true and don't take my comment as discouraging. More like trying to find the difference.

I encourage people to reinvent the wheel but only if they can do better or think they can atleast.

No point if your aim is to build the exact same thing at same price point and is a copy.

Well if you market it better, it will not be a copy in my book.

I concur with the idea, it is a good open source project.
How to Start a Startup: Hand-written Lecture Notes from Lecture 1 Video
Wow this was good information. It really got me thinking on what my reasons are and how bad they might be. Did anyone else get that from this?

I would also love if they cover how you work on a startup if you still have the 40 hours a week programming job as well. And how to avoid getting in trouble or legal issues with your job.
Is being blocked the worst thing that can happen? Can't they sue you for scraping and using their stuff?
The issue is that, if jquery.org can plausibly be hacked, then jquery's CDN can presumably also plausibly be hacked. This would allow an attacker to serve whatever she wanted to any page which used this CDN, even pages protected with TLS.
Get a job at AmaGooBookSoft. Execute competently, getting the standard bonus and equity packages. Continue for 10 years. Congrats, you're a millionaire. [This was even easier for folks who joined Google / Facebook between the times when they were clearly unstoppable juggernauts and when they IPOed.]

Start a boutique consultancy with a buddy. Hire up until you get to ~8 employees. Continue for 10 years. Congrats, you're a millionaire.

Everyone knows the management consulting / investment banking career path, right? Congrats, you're a millionaire.

Go to med school. Specialize in whatever the high-demand fields are, like e.g. anesthesiology. Execute competently for 10 years. Congrats, you're a millionaire.
The New Book by Julian Assange: When Google Met Wikileaks
To be clear, I was totally making up this proposal; I wasn't aware that there was a spec. Nothing should be read into the fact that I used "hash" and they use "integrity".
why does the "integrity" attribute use this strange fake-URL?

ni:///

why 3 slashes? any clue?
The invention of the atomic bomb has stopped superpowers armed to the teeth with conventional weapons from fighting each other in massive land wars every 10-20 years.
It's fair to say that robots.txt is a balancing act in this case, given it's intended use. However, a website's terms of use are non-negotiable. Clauses banning any form of automated access or data gathering (especially for non-personal use) are fairly popular amongst sites with "deny everything" robots.txt files. There's a very real risk here for both you and your customers.

In the long run it'd be nice to see some sort of "fair access" to websites introduced into law, unfortunately we don't let live in that world.
Likewise. Fascinating and amazing.
NASA - Do you want to Outsource? ;-)
Thanks. Remember to go work in Stockholm when you have kids ;)
http://mail.tarsnap.com/tarsnap-users/msg00849.html
Blizzard officially cancels MMO Titan after seven years in development
+1. The point about stealing is really good. It is really annoying tactic of trying to frame the issue as something other than it is.

Other than that, in many countries (for example in Finland) you are allowed to copy movies and music for your own use (though according to the latest law you aren't allowed to circumvent copy protection). You can even let other people do the copying for you. This used to be really common for example in local university library where the librarians copied latest journal articles for whole bunch of people.
We already hand out billions of dollars worth of pollution credits to polluters. The only difference is that right now these manifest as externalized costs. The polluters pollute and everybody has to pay the price of climate change.