skysight-inc/HackerNews huggingface dataset:
Right, it's actually the job of the legislature to try and pass laws and create regulations to advantage their market over external competitors -- even if that means creating local monopolies. It sucks that New Jersey has to think of California as a competitor (after all, aren't California and New Jersey domestic territories of the same country?), but resources are finite.

And if you, as a legislator, think bringing money and jobs into your state doesn't matter, you have another thing coming:

https://www.google.com/search?q=%22attract+business+to+the+s...

You'll find endless concern from every state about how to attract businesses and jobs to their state. It's not a coincidence that Hyundai opens a manufacturing plant in Alabama instead of someplace cheaper or more recognizable.

http://www.enquirer.com/editions/2002/04/06/fin_alabama_put_...

The problem with New Jersey doing this vs. Alabama is that the mechanism for Alabama to get Hyundai is pretty direct and pretty clear. Offer incentives to Hyundai, get a plant and a couple hundred jobs (plus the indirect halo effect on the economy outside of the plant).

For New Jersey it just looks like they're protecting shady car dealers by generating an artificial monopoly. The optics on it are terrible, it looks corrupt and petty, and the public rationale "it helps the consumer" is clearly false, but the practice is pretty much the same.

There's absolutely nothing that prevents Tesla from setting up a franchised dealer network in New Jersey, selling their cars cheap to the dealers and then having the dealers keep a cut while generating jobs in the state. It's "spreading the wealth around" from CA to NJ a bit. The only thing that prevents Tesla from doing this is that Tesla wants to maximize the profit share they see from the car sales.

The thing is, because Tesla has been very public about it, they know there is room in that large 25% profit margin per vehicle (Honda makes about 15% per hybrid) to "share a little".
[Transactions] enabled the development of systems called databases, which can reliably maintain the state of complex data structures across incessant read and write operations as well as some level of hardware failures.

This is interesting. It suggests to me that either the author is using a nonstandard or outdated definition of "database" or that a denotation-fundamental tenet of database implementation, transactions, has been left for dead by the side of the road by many modern "database" projects.

Regardless, this is a great and informative piece.
The field of computer security is still too young to handle cash. The biggest barrier for cryptocurrency.
Until they come up with a password strength checker measuring the similarity between your current and previous passwords (eg. levenshtein()), you should be ok.

These have appeared in Ubuntu.
Hmmm, I drove mine in St. Louis. It was there for at least a decade. I never had any major rust issues with that particular truck, but I was better to my vehicles at the time. There was some bubbling around the quarter panels, but nothing major. It was an 1987, and was pretty beat up, so I wasn't worried about it being perfect.

The thing with the toyota truck I noticed mostly, is that despite cosmetic flaws, it still ran great and was pretty sound functionally at 230k. I had a dodge dakota that fell apart around me and spun a bearing at 160k. The drivers side door hinges actually rusted completely out.

I had a 1987 MR2 in St. Louis for four or five years as well, and my friend had it for three or four before that. It had issues with the rear quarter panel as well, but otherwise was good.

All anecdotal, and the St. Louis winter isn't a Michigan winter or anything like that, but there's my experience fwiw
Well that changes my perspective!
I spent the last year and a half cross-training from dev to ops.

One of the most important lessons I learned: use operating system packages for production; don't compile from source.

Compiling from source:

- Wait minutes for each instance to come up, as each time requires a fresh compile

- Have to download from ruby-lang.org -> you have a dependency on this site being up, bad idea when you hit a load spike, need to scale, and ruby-lang.org is having a bad day

- Loss of dependency management. Now you can't tell whether your environment has the right packages installed, nor can other things express a dependency on your code being installed

- Very difficult to remove packages for upgrades/maintenance/security fixes

Packages:

- Host your own repo, removing the need for external dependencies (can do this with source as well, but it's much better when packages know to discover themselves from a repository)

- Much cleaner rollback -- almost impossible to trash a system with apt-get/yum, they'll always leave you in a good state in case the package fails to install, or other mayhem ensues
Mozilla scraps Metro version of Firefox, citing low interest
> df$date_put_on_list <- as.POSIXct(df$date_put_on_list, format = "%m/%d/%Y", tz = "EST")

It's a cool blog post but that code isn't near readable to me. Long lines in a tiny rectangle hidden behind horizontal scroll don't make it any easier. It looks like a box of arbitrary characters stuffed into as little space as possible.

Although the raw link is a little easier on the eyes:

https://gist.githubusercontent.com/statwonk/9448932/raw/84b9...

Whoever named that method POSIXct needs to like leave the job of naming things to other people maybe.
There's also the guy who posted on pastebin that he was selling people's data and would exclude for people for 0.25 BTC. Of course, people who used fake names/email addresses also got a positive hit when asking to get removed.
When I search for "Harry Potter Programming Language" I keep getting references to an article where JK Rowling's writing process is used as an analogy for the creation of Python.
Unless you're on a motorcycle. Then none of the attendants want to deal with you -- they hand you the gas pump nozzle and you do the filling.

I don't know what the party line is to justify the gas attendant rules. If it's "consumer safety" then it's bullshit.
Right. So, what happens when you are the one in that car, the car that teaches them better?
UK Government Only Wishes It Had Special Powers To Censor YouTube
Additionally, increased demand for treasuries results in the US being able to borrow at lower rates, decreasing the interest paid.
Only? No mention of viewport clipping? Compression? Encryption? Bittorrent?
I find that in the pursuit of the latest and greatest, a pattern we so often see in society, it is easy to forget to let our historical experiences of the past inform our current and future thinking. There is a place for both - pure forward thinking creation as well as innovation inspired by the past.
>People are given a lot of information from a lot of sources nowadays, which means they're better at analysing it and weeding out the bullshit(typically).

Or people find the version of the "truth" they most agree with and just go with that. Given the huge industry of politically-charged "news" organizations, I think there's a significant amount of people that are doing this instead (sadly).
I think Steam has shown that it is not a pricing problem.
This. So many ORMs written with the idea that "it'll make your code DB-independent". How many projects switch DBMSes midway through?
I think these points are specifically addressing bringing an ipad to meetings where you're less likely to be producing so much as consuming or discussing (most of the time).
Could someone give me a brief overview of the what the code is doing? I see a bunch of "on ____" blocks, which I thought might be functions but then they don't seemed to be called later on (unless I am missing something). What language is this?
I don't know if you are familiar with how car dealerships tend to be distributed but a gallery would not be an adequate replacement. Typically you have numerous dealerships in towns/cities, I suspect you won't have anywhere close to that many galleries.

In any case, issues like this I believe are just the beginning of a larger debate to come. I don't see how local economies are going to sit idly by and watch us do all our shopping on Amazon.com where the only part of the transaction's economic value that enters the local vicinity is perhaps the delivery truck, that is not sustainable.
The data didn't contain malware. There was an executable that did.
I was expecting the magic to be changing

import math
x = math.ceil(y)

into

x = accio ceil(y)

and having it Just Magically Work (tm).

But it's a nice write up of recompiling Python with a changed grammar.
This Guy’s Building a Tsunami-Proof Pod in His Silicon Valley Backyard
> Honestly this is not a bad idea. Since bringing up a new instance VM will always be in exactly the same state, the shell script is completely deterministic.

Wrong, kind of. There are two variables in a VM: 1. Everything not in the VM and 2. The script itself.

1 is mostly dependent on what you're doing. If you're just calculating digits of pi, then yes, it's quite probably deterministic; if you're deploy software that's being pulled from github, running some initialization scripts, attaching some storage, then you're going to run into variables. All of those aforementioned actions have failed: github.com might be down (a rarity, but happened this week!), your scripts contain new code that's not quite up to par, and the cloud provider says the storage is attached to the VM, but it doesn't actually show up.

2 is that the script is probably in a VCS, and people are changing it. Someone is bound to write a line that doesn't work. (In fact this seems to happen quite often when tests are absent…)

> I can't even think of a drawback.

I can. The biggest one is that bash's arcane syntax is a deathtrap. It's a great shell, but for stuff that needs to work and work reliably, it's riddled with holes. Take the article's script:

sudo apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
cd /tmp
wget http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz
tar -xzf ruby-2.0.0-p247.tar.gz
cd ruby-2.0.0-p247
./configure --prefix=/usr/local
make
sudo make install
rm -rf /tmp/ruby*

Several of these (apt-get, wget, tar, did you just install code downloaded over an insure channel onto a server?!, ./configure, make, make install) can easily fail; if they do, your fucking shell script will keep plowing along as if nothing happened. Depending on the next action, this can be meh, or WAT. Since it ends with "rm -rf ...", I think if it does blow up horribly, it'll return success. You can say "set -e" at the top to cause it to bail sooner, but `set -e` won't catch failures in all commands (false | true). Fucking shell scripts.

Don't get me wrong: shell scripts are great, especially if you need it to work NOW. One off stuff especially. But if it's going to stick around awhile, having something that automatically looks at and raises exceptions/errors when stuff fails is great.

The thing I miss from a lot of these automation libraries is being able to annotate dependencies between commands. That wget and apt-get can run together. (The rest is must pretty much run in parallel.)

Libraries also allow people who really know how to make this stuff sing built the low level functionality in. That make could be make -j $(( $coeff * $number_of_cores )) ; make install could be similar. Maybe CFLAGS or CXXFLAGS could compile ruby with a bit more options for a slightly more optimized install. We might extract the tar in a directory where a rm -rf /tmp/ruby* won't inadvertently delete something (unlikely if you're on a new VM, but I find that's not always the case).

Shell scripts are a tool. They have a place. Nobody is saying get rid of them, nor is anyone saying get rid of them for deploys. I just want something a little more robust.
Yes. This is what I always think when people criticize text-based programming languages.

People also point and gesture and use body language to communicate. Both can be done at once, and you can communicate without using a single spoken or written word.
I enjoyed that link immensely. Such a welcome change of pace.
You want to throw out the OS and programming languages? You think that text is a poor interface for specifying machine behavior? Then show me. Show me something real. Perhaps not text (since text is a dirty word, right?) but something I can install on my machine.

If you're going to pull an Emperor's New Clothes, then it's not enough to loudly (and snarkily) proclaim that the emperor has no clothes on - you need to produce a naked emperor.

Heck, it should be easy, right? If you think that the conventions of the last 50 years are all shit, then how hard could it be to come up with some new ones? If you want to shake the pillars of computer programming, you need to be able to do more than say "everything is crap," and if you can't, then you sound like nothing more than surly, precocious, ignorant teenager.
Did your HD-DVD copy came with signed rights to distribute the movie to third parties?

If not, then you were illegally distributing the film while you were watching it using PopcornTime.
This doesn't take into account the missed sales when stations are closed, nor the cost to the community of having police officers police this (yes, they do even though the pumps shut off automatically).
Well, Basho made an eyes-open decision to go with erlang, after making a thorough analysis of their needs, and well aware they were balancing benefits vs costs. I would say they made a good decision. That's not really the kind of mentality I was railing against, though.

What I can't stand is this kind of condescending smugness - "oh, you're still using X? You're a 'blub' programmer!" as if the only conceivable reason for their choice is that they're lazy, stupid, unmotivated, or all three. Well maybe it's because they like that language, they're productive in it, it's mainstream and hireable, and they don't have any unusual requirements!

I get what PG was trying to say in his essay, but I don't think he expressed it very well. Programmers should try to choose the most productive possible tools, of course. But he's made it rather too easy to simply dismiss anyone who hasn't ended up choosing the most hardcore language possible as "blub programmers", rather than acknowledging they possibly made an informed, pragmatic choice. Engineering is about tradeoffs and throwing around these labels does not improve the discussion.

In my opinion PG over-emphasised the role of lisp in that essay. He conflated the ability to use such a language, ie that he and his colleagues are smart guys, with the language itself. They likely would still have succeeded with perl, TCL, even python was around then. And by doing so, he taught the wrong lesson.

Anyway, I think we agree more than not. And "du jour" actually means "of the day" - not necessarily age. Your point is taken, though.
I actually asked some engineers at Hulu about this during a job interview, specifically about the fact that the same commercial often plays three or more times during a single show. They understood the problem but apparently companies pay for spots on certain shows. Thats why you only see the jack links commercial on tosh's animated show (no one else wants to advertise on it).
Only creepy if you make it, bro. It's not what you do, it's how you do it. Talking is a pretty basic form of communication.
GAH. I foolishly didn't remember there was an auto-renew. Just cancelled mine which was due to re-up in June.

Newsblur should definitely remind folks lest they get a storm of complaints -- or worse get chargebacks.
I once wrote a scheduling SAAS app, thinking it would be a short, trivial project. It turns out that UTC offsets don't even stay consistent within time zones throughout the year due to differences in daylight savings policy.

It took a bit longer than I expected.
>I applaud anyone who's willing to roll up their sleeves and get involved with the democratic process. It's the only way we're ever going to get this country moving again.

I'm not sure I agree. I think that this industry provides tremendous potential to bring real change to our society. Politics does not. Maybe politics has potential in some remote, hypothetical scenario, but in the real world it is more of a dead end, than anything. Imagine how much the potential of someone like a Gates or Jobs would have been wasted, had they pursued politics, rather than the things they actually did, that changed the world.
I agree with your basic point. However the field of defensive computer security is the same age as the field of offensive computer security.

The problem is that defensive security still is not a big enough priority for customers or vendors. When customers walk in to a computer or mobile device store and ask "is this thing safe enough to store my Bitcoins?" and go elsewhere if the answer isn't good enough, we may see vendors up their game.

The same flaws that let a government see you naked let crackers steal your cryptocoins. When I'm in an optimistic mood, I think that cryptocurrency could be the thing we need to motivate more people to care about security.
It only exploded onto mainstream news sites 4 days ago.
I was really excited about learning/using some of the new stuff coming in c++11 and so on until a new job introduced me to Go lang. Now it seems like all of that stuff and more, elegantly built in instead of bolted on. To be fair I think it has a big bent towards server apps and not all general purpose stuff so it only to me seems better for a subset of all c++ work. on the other hand, Mozilla's Rust also looks interesting. Does anyone else feel like c++ is finally starting to be replaced in different segments by more target newer more elegant languages?
"logos in footers" is now an advanced, "over-the-top" piece of formatting?
In Mexico, sharing this kind of IP is legal as long as it is not done for-profit ("sin fines de lucro"):

http://www.regiosfera.com/es-legal-compartir-contenido-en-mx...
Does anyone have original software for Linux-32bit?
This kind of stuff is why I read Hacker News. Completely pointless but indisputably awesome technical hacks that teach you something about how stuff works anyway.
What monopoly are they abusing? iOS has something like 30-40% of the mobile marketshare and Android is a strong competitor. The restriction is only in place for Windows RT apps, of which Microsoft has a rather negligible marketshare of the tablet market.

It doesn't violate anti-trust laws because you have a very viable option of using Android or any other tablet OS.
The indefensible part is bitcoin wallet software storing the keys unencrypted.
Don't worry. They already _know_ that.
Odd. I could have sworn I checked before I commented. Maybe I was the one mistakenly on Amazon.ca.

I apologize for the error.
SuperCard: Still-for-sale HyperCard replacement
"As for Nguyen, the millions of people who downloaded Flappy Bird are still generating tens of thousands of dollars for him."
It's amazing to me that, a decade after HyperCard was shut down, this is still being sold for hundreds of dollars per licence.

http://www.supercard.us/Purchase/orderFULL.html
Code linked in 2 and 3 looks like VB. Link 3 gives overview of how it works.
Sure. In those cities, uber-buses ought to be pretty consistent too, right?
It is a good thing all of our IRAs, 401ks, issued currencies and markets are behind it and pretty much digital as well now. The flipside is that computer security is much better than the old human security with phones and faxes of back in the day. The newer systems are at least more verifiable and higher security.

Crypto currency or not, all of our money is now digital really, it has to be to move fast enough and keep up.
Yes. But banks use this useless system anyway. :-(
I don't know how you could possibly have expected that.
It's pretty simple. Give everyone who's still using Windows XP a stick of 4 GB DDR2 memory. They will then proceed to pirate Windows 7.
Credit cards work fairly well with pretend security. That cuts way down on the purposes where an irreversible digital currency is interesting.
> Hey, there is an .exe file from a self-admitted group of bitcoin hackers. Better run it to see what it does!
why do I have to use ruby to install shell scripts? Why not wget or curl or GET?
If Hollywood wants to go down kicking and screaming, so be it. Piracy will come out on top eventually, it's only a matter of time.
It's http://livecode.com/

Whoever dumped it is talking about it in the reddit thread, start there. Those are definitely function like things.
It sounds like you've got an organizational problem if merging and the lack of a staging server are the main source of issues for you. How does a bad merge get onto production? Why are "backend people" working on frontend code? Do you have a testing framework? Do you use a module system like CommonJS or AMD? Is your team trying to treat JS/CS like a strongly-typed OOP language?

TypeScript seems good if you come from an enterprise/Java background and are used to OOP with static typing.
Garrett Camp’s Expa Raises $50M To Build New Startups
I just didn't think that the parent deserved to be downvoted.

I have a penchant for asking questions that the shallow knee-jerk HN contingent downvotes, which is then followed by the majority of reasonable thinkers up-voting.
Joking aside, there is something to be said about doing CM with the shell.

If somebody created a list of requirements for the perfect language for doing CM it would probably be similar to:

- Always available on every machine

- Proven reliable and stable

- Built to interface with the OS and other utilities

Hmm, that sounds a lot like the shell. If your application doesn't already depend on Ruby, bringing Ruby in as a dependency, is a lot of extra overhead. There is something to be said about this concept, but it should be shell all the way down.
On the contrary, piracy is exactly how we are going to accomplish this.
How is transactional integrity an outdated concept? And you are actually telling me that there are "databases" that don't have transactional integrity?
An atom would do that much more efficiently that a ref. Refs are there for more complex types of mutation (like mutating more than one persistent DS transactionally).

Also, B-trees are a mutable data structure. "Immutable" B-trees aren't B-trees. Clojure's own persistent DS tries are quite efficient, but not nearly as scalable as a concurrent B-Tree, which easily supports lots of concurrent writes. AFAIK, there are no persistent data-structures that efficiently scale writes.
Liberation Theology, Church Door Graffitti and Dead, Rotting Corpses
It works with plane Wifi but not train Wifi? Plane wifi isn't 100% reliable uptime nor broadband speeds either so they should be about equal.
this is such a great assignment for a principles of programming languages class. there is no better way to learn something than to break it up, change it and make it do your wish. i'm going to be teaching my next batch of muggles this.
Nice, www.neocities.com had a similar flaw.
Ask HN:  Why do people use email newsletters instead of RSS?
A number of websites I've seen on HN over the past few years ask users to sign up for an email newsletter for updates.

What advantages does an email newsletter have that aren't shared by a simple blog or RSS feed?
Apple.com, Year 2000
There are all sorts of laws on the books that we've agreed are idiotic and are no longer enforced. It's up to the executive to determine which those ones are, and, as time progresses, some laws become so outdated that no rational minded person would ever think of enforcing them.

Europeans (mostly Germans) I've talked to about how we do this in the US shake their heads. These shenanigans along with the "speed limit+9mph" informal rule make them comment that the US is really a stealth police state.

EDIT: There's a precedent for "two sets of laws" in the US, some of the most prominent of which are related to civil rights and sexual orientation.
Drone Delivery in SF