skysight-inc/HackerNews huggingface dataset:
> Anyway, if it's ok to have a function which takes integer it's equally ok to have an Integer have a method.

Seriously? Any function that takes an integer argument? Like, "exit". You want to call 1.exit to terminate a program with a return code of 1? Is there any difference between a function that takes an argument and a method on an object? Shall we implement all functions that take n arguments as multimethods? Are you actually going to implement String#to_database_connection? That was meant as a reductio ad absurdum, I didn't expect anyone to literally follow me there.

If you want some particular Integer to get decorated with additional methods because you're using it in some particular domain context but you're not globally changing the interface of all Integers that's a different story.

> Especially when you just can't have a function, like in Smalltalk and the only alternative is writing yet another class with one method in it.

There are perfectly same object oriented ways to solve this problem, like instantiating some kind of TimeSpan object, or having a singleton for process status in the case of the "exit" function.
BinaryDrawable for Android: easily bundle small images into Android JAR files
Being different from the mainstream isn't a bad thing. For the sake of argument, Rust is very different from the mainstream too.
I'm looking for a cheap wireless internet carrier for my mother. Is there a decent one? I was thinking of getting a T-Mobile SIM and data plan
Looks like Google might have reacted, I googled 'cheap flights' and Expedia is not on the front page.
constantly, needlessly, insanely doing nothing but MAKING COPIES OF DATA.

That's simply not the case. With persistent data structures (used in languages such as Clojure, upon which Datomic is built), copying is kept to a minimum. If you've got a million-element hash-map and you want to associate a new key/value pair to it, you copy a path to the root of the tree -- an O(log32N) operation -- and you get a new map with 1,000,001 key/value pairs. Just for reference, log32 of 1,000,000 is ~4. This growth in complexity is so negligible that it ought to be considered constant for most practical purposes.
Zero transaction fees? The bitcoin network costs something like $3.5 million per day to run, and optimistically handles tens of millions in transactions. That's a transaction fee of 10%.

You just don't notice it because they pay the miners by printing money. I'll be really interested to see what happens when they stop that and start relying on up front transaction fees to fund the network.
Cultural variation is often circumstance driven; and centuries of de jure oppression is a pretty significant contributor to black culture in America. So throwing out "cultural variation" doesn't necessarily provide an alternative to oppression as an explanation so much as an explanation for one of the mechanisms by which oppression explains disadvantage.
would be nicer if it borrowed syntax from a subset of an existing high-level language
Yeah, this is weird, I also know somebody with similar patterns, mentally healthy otherwise.

I think some people are just uncomfortable with periods of silence that follow any conversation, view it as awkward and try to fill it in with some verbal minutiae.
I have been using https://stackedit.io/ for sometime and I find it way too satisfactory in terms of it's features, can be popped open anytime in a browser and works offline too.

I would like to hear, what is the core problem that LightPaper is trying to solve here!
This question made me laugh. Seriously. I have a laptop and a desktop, each with 32GB of RAM in them. 2.1 TB of storage in the laptop, about 3TB in the desktop.

Here's why I give that detail... they are both VM host machines.

Host OS is Ubuntu 13.10.

For VMs, It's in this order of frequency.
Ubuntu 13.10 (all work-related VMs use this)
Arch Linux
CentOS 6.5

Ubuntu 14.04
RHEL 7b
ElementaryOS
Maui Project
(non-Linux OSes)
I set this up for my team using Uncrustify and a Git pre-commit hook. It will reject any commit which has files that don't adhere to our Uncrustify config file. If it rejects the commit it gives you a command to execute that will automatically fix your style issues.
You're right, but the vast majority of databases aren't that big. You are very explicitly recommended against using something like Datomic if you think you will need to purge data with regular intervals.
I don't think that's a fair comparison. Rust doesn't come with a set of functioning, well-tested and cross-platform GUI libraries and database drivers either.

Running C# the language with the BCL on mono is pretty painless, and offers a ton of functionality.
It was the same question I had, in good faith, when I read your comment. In fact, it over rode (in my mind) everything else you wrote - I kept asking myself, "Why was he waiting for it to come out? Did he discover it, and not tell other people? Was he wondering whether this existed, but had not found it? Did he have a colleague tell him they were onto something, and he was waiting for them to publish. Has he known all about this the entire time, and was waiting for the other shoe to drop?"

To some degree, that one sentence, by itself at the head of your comment, captured all of my attention.
Immutability doesn't mean large amounts of copying. You can exploit the fact that things will never change in clever ways.

http://hypirion.com/musings/understanding-persistent-vector-...
Sure, I wanted to allow the user to select a folder, and for the app to read all the sub-folders and files. Unfortunately, from my experiments, I can open a file, but opening a folder using webkitdirectory hides the path to the folder, so I can't read the folder and it's sub-directories.

As I understand it, I could copy the files to the sandboxed filesystem API, but there are a few issues with working in an IDE environment which would break that usability, for example, grunt creating new files, etc. etc.

Please correct me if I'm wrong. Happy to take this question to SA if that is a better venue where people would more likely look for the answer as well, if you've got a better solution.

As I said, I'm keen to do this as a Chrome Packaged App, though there are a few things like Grunt that I'll want to be running within the app, so node-webkit isn't a bad solution for the prototype.
You are correct, thats easy to reason about unless you are writing the garbage collector, in which case its pointless to write a garbage collector because there will never be anything to collect and memory will expand infinitely.

As for the persistent data structure comments, that has nothing to do with the fact that every function in a functional program has to copy data at such a ridiculously fined grained level that all you are doing is writing a garbage creator.

This data that every function creates in the name of immutability is meaningless, void of any purpose and is a bug.
Is that the case for all platforms and C libraries? Also, isn't seeding with the current time a way to guarantee deterministic behavior? An attacker of such an algorithm probably knows what time it is, and users probably don't expect all invocations within a given second to return the same results.
Thank you for changing it, perhaps I was wrong.
I'm a huge fan of silex, I use it as a JSON backend API that fetches from a SOAP API.

Silex and other microframeworks are great for these.
Mistake number 1: not writing any tests.

I was watching some anime last night where the characters were trying to make a computer game for some contest. They finished it, but it was too buggy to play through to the end without crashing (or causing the computer to restart, not sure how they managed that one), and they decided it would be impossible to fix them all because the game takes five hours to play through all the way.

This is a common error, not one committed at random by a bunch of fictional high school students. You should never need to use your program to check that it doesn't crash after you've made changes. Your tests should cover this. If you're loading up your web browser to see if your sort routine works, you're wasting your time again and again. You have a computer that can be programmed to do anything you want. Tell it to do what you would do if you were playing your game or using your website. Then it can test your code thousands of times a second, instead of once every five hours.

</rant>

This is also a good check to see if your code is reusable. If you can't reuse parts in isolation to test your program, you're probably not going to be able to reuse them in another program.
Just like in meatspace, conversation online is exactly what you make it. If you create online social spaces for yourself full of superficiality and narcissistic triviality, that is what you will experience.

Just like how whether your in person conversations are substantial or not depends completely on who you chose to associate with and how you chose to communicate with them. Surely the author and the psychologist have observed countless people blathering on in person about utterly trivial topics, or sharing the equivalent of "verbal selfies" with their self-centered monologues?

You can easily create deep, personal, high quality conversation online, but it takes conscious effort, just like in the rest of life. The same goes for whether your online usage is isolating, or serves to deepen your in-person connections - it's totally up to you.
having just purchased my first ipad (mini retina) I am amazed that we had 99% similar troubles with it. Did you already find out about swipe (left-right) to delete item in the list? Horrendous. And having to enter creditcard info before installing free apps? arrgh. And password for free app installation...
"However, since their servers are no longer hosted in the US or the EU, they're no longer protected by US or EU laws! So congratulations, Clipperz!"

If you read the post, it seems pretty clear that they wanted to not be subject to EU laws either:

> Joyent, our previous hosting provider, has a safe harbor agreement in place with EU authorities which can intervene on Clipperz servers as if they were physically located in the EU. Or Joyent could be forced by a FISC order to hand over data, keys or fiddle with our code. Or US authorities can just cancel Clipperz from DNS registries or simply seize its TLD (read this Wired article).
The problem with the solutions you suggested is that there is no easy automatic trustless mechanism for demonstrating proof-of-work. Edit: Of course, if you don't mind some centralization/trust, then your suggestions could theoretically work.

One altcoin called primecoin has a proof-of-work algorithm which finds long runs of prime numbers, which is supposedly useful for some purposes.

The most common alternative to proof-of-work mining is called proof-of-stake, which is used in a few altcoins (most notably Peercoin). It still doesn't provide anything useful, but at least it provides a mechanism for securing the blockchain without wasting a bunch of energy. You can read about it here:
https://en.bitcoin.it/wiki/Proof_of_Stake
I don't believe in this data structure. Its ill informed Rich Hickey nonsense and it doesnt scale and has no purpose but to seem clever.
It's a non-engineering role. Don't want to reveal more, as while I'm frankly spitting nails at the hire, I quite like this person.
https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security...
Finally, a Unix shell whose name doesn't end in "sh".

(Actually plan9 rc is earlier than that.)
Anyone try AppCode for code formatting? I've noticed many Obj-C developers shy away from using anything other than Xcode, but AppCode's code formatting is about as good as it gets.

http://i.imgur.com/U1i7vlU.png

Disclaimer: I'm in no way affiliated with the developers, I just find it to be an underrated/overlooked Obj-C IDE.
> I'm not sure who this fellow is, but this is the actual Jamie Wong: https://twitter.com/JamieJWong

This is the stupidest thing I've read today.
What are the advantages of using this vs using the REPL of a mature language like Ruby that already lets you execute shell commands?

I find myself using %x() while in irb all the time.
This one supports the latest (and older) versions of jQuery - http://james.padolsey.com/jquery/
I forgot how relaxing the sound of a roaring fire can be.

Great stuff.
A Short-Form Guide to Contracts for Tech Startups and Software Developers
(L)Ubuntu 13.10
LUbuntu 13.10
No, it doesn't. BTC isn't a good value store (or have intrinsic value) just because the infrastructure that processes it is--in a different sense of the word--valuable. If a bitcoin conferred a fraction of ownership of that infrastructure to the coin's holder, you'd have a point, but it doesn't; the holder just has the coin. The parts of the infrastructure you might actually sell are owned by someone else, and the open source parts of it are owned--in the sense relevant here--by everyone, so it doesn't provide the coin any value. It's like saying gold is a good value store because mining and ore extraction equipment are useful. Doesn't make any sense.

Of course, you can say the infrastructure makes the coin more useful as a medium of exchange, but that's a totally separate point, as Krugman points out.

My personal view is that none of these things--gold, dollars, or bitcoin--has enough intrinsic value to make a useful value floor, and that as value stores they all just rely on a shared convention. So I'm not sure Krugman is right, and perhaps bitcoins will work out without that floor feature, and perhaps without ever really being used as a store of value. But this argument about infrastructure just doesn't work.
I thought he codesigned it with a company called Relevance
RSA’s Deal With The NSA Reflects A General Mistrust
host> python

that's all you need. ls is a little more tricky but nothing that a very simple init.py couldn't fix, then you'd have the full and awesome power of python to do shell things. We don't need a new *sh that half assed implements a language otherwise we'll just end up with another syntactically primitive language like bash, zsh, etc.
Neither of those things were around or refined enough like gold was when gold became the traditional metal for jewelry. Gold has a large first-mover advantage here that is being propped up by human psychology.
She started and sold a company previously, too.
I've never seen %x() but good to know. I prefer backticks though.
the best response is no response.

also, seems like a case of Stolen Identity. sorry couldn't help myself ... my favorite Mad TV clip:
https://www.youtube.com/watch?v=_g6tNfwp7UE
>What are the differences?

As you mentioned, if they based it entirely on C# , it will be a unified type system. We'll only get more information when they release a standards specification.

>Rust is about zero-cost abstractions, period.

Um.. no? For one, the heap is reference counted - and if you use std::gc its... mark/sweep(not sure?). This obviously means that the programmer has little control over memory allocation other than what can be afforded by not compromising memory safety. Secondly from my initial use of Rust I dont think you cannot protect a chunk of data with a lock and share it (w/o copying) across threads/processes as you would with a systems language like C++.

--

Rust is not aimed at high performance applications - I dont see anything wrong with that statement.
You're confusing doing "parallel construction" (which is getting information illegally and secretly and then constructing an alternative method to "discover" the same information that will seem legal when the original source of the information is concealed) [1] with invoking the "inevitable discovery" exception to the exclusionary rule [2].

[1] http://en.wikipedia.org/wiki/Parallel_construction

[2] http://en.wikipedia.org/wiki/Inevitable_discovery
The U.S. expected to (and was prepared to) drop several atomic bombs before Japan surrendered. Even so, some of the Japanese hardliners tried to kidnap the emperor so he couldn't surrender. ("The Rising Sun", John Toland)
This is an outline for a computer designed for the Person
In The Street (or, to abbreviate: the PITS); one that will be truly pleasant to use, that will require the user to do nothing that will threaten his or her perverse delight in being able to say: "I don't know the first thing about computers"

Interesting perspective :D
Oracle's documentation is excellent and is WAY more comprehensive than PostgreSQL. For example, most of PostgreSQL's SQL functions have a single line in a table to describe them, whereas each one in Oracle has it's own section with a full description, examples, etc.

I agree that the relative small size of PostgreSQL documentation and the fact that it fits in a single "book" compared to the many books that comprise the Oracle documentation can make it easier to find something. But can't say I've ever seen a product with as much quality documentation as Oracle.

You can find the documentation for Oracle 12c here: http://www.oracle.com/pls/db121/homepage

As a user, you want to look in "SQL Language Reference" first, followed by "Data Warehousing Guide" (found in a separate folder on the left side). As an administrator, "Concepts" is required reading followed by "Administrator's Guide".
It wasn't too long ago that calling someone a "corporate shill" meant you were parodying tinfoil hatters. It's funny how quickly things change.
Only the Nexus 4 has been officially tested. I'm willing to give it a shot with my Nexus 5 in the morning.
Researchers cull images reflected in people’s eyes with new forensics technique
A thought about this: Years ago I would have agreed, but now I'd strongly disagree, because of the noise it can add to diffs. When you're triaging a bug, or trying to figure out what effect someone's change had, you frequently go back through old commits, and look at the log message to see what the change was supposed to do. Perhaps a bug or side effect was introduced.

If the diff is full of additional formatting/stylistic changes, it can make it a lot harder to cut through the noise and get down to the heart of the change.

I'm not saying you should never clean up old code/files, however when I see that needs to be done, I try to do it in a separate commit that I make after the "real" change. The log message for that change is something like "Formatting", or "Cleanup, no functional changes".
>Maybe if you weren't so high when you wrote that reply, it would have actually made sense.

Are you kidding me? How petty, childish, immature and snarky can you be about this? What an obvious defense mechanism. (The irony being I'm in the middle of a two month break from using anything as I'm traveling).

I didn't claim it would make me a better business leader. I claimed it wouldn't make me a worse one and you've done nothing to show otherwise but offer a single stupid anecdote to dismiss everyone else.

And yes, you've three times now implied (or explicitly said) that anyone who even smokes pot occasionally needs to grow up. (Imagine the absurdity if I said that about having a beer. And you're already jumping to a million conclusions in your head that you know nothing about). You're a smug person latching to stereotypes. A tough anti-drug guy (proudly) making fun of people for what they do in their spare time. Just like I said: preconceived notions and judgmental condescension. Thanks for confirming all of my suspicions from my very first post in this thread.

All gay people I know have lisps, so they all do; don't you know?
Thanks for also seeing the bigger picture. In the future, I will only submit complete production conf mgmt repos uuencoded in my comments. Readability is overrated.
This is actually a major selling point for WHOIS privacy services (for SEO) these days, if you maintain the domain with the same registrar and continue to use their domain privacy service, the records won't change and Google won't cancel your rankings. So, if you're thinking of selling a well-ranked domain, add the privacy services, because they typically boost the sale price.
The manufacturer of goods I export from there has taken small six-figure USD transfers solely in BTC, so, yes.
Does a functional programming style solve the problem?
Sounds like there is a need to sponsor OSS writers and not the actual projects. Kind of like having tenure but of course it would have to be voluntary, merit-based, etc.
/thread Not sure why any competent iOS developer would be using Xcode (besides poor support for Storyboards which Jetbrains will hopefully sort out). Same thing with any Android developer using Eclipse when IntelliJ is infinitely better.
great post, thanks for sharing your real life experience!
%x() works for me because it gives me an obvious context clue about what I'm doing. After a long day in front of the computer I tend to slip up spotting the difference between ' and `.

Also, I'll just leave this here: http://devopsanywhere.blogspot.com/2011/09/how-ruby-is-beati...
Sample set of one answer to your meta question: You could always just use a public gist, however I hope to never see the day where people have a problem on HN with a bunch of interesting code being posted.
This article, while cute, seems vacuous. 'We should talk to each other more, look into each other's eyes, and be comfortable with awkward silence.' Uh, okay.

The link was clicked because its great to hear real advice on how to be more engaging, how to find more interest in others and keep them talking, how to be interesting and how to help & encourage others be interesting. None of that useful advice was found here, nor anything else particularly helpful, just someone's opinion of what others should be doing.

Just to play a little devil's advocate, it takes energy, motivation and interest to talk to people at length on random subjects. While that might be occasionally fruitful, it could also be argued with an equal white-horse, academic, and holier-than-thou essay that searching for dense and meaningful conversation online with people who care about the issues you care about... like hacker news... is a far better use of your limited time than perfecting the art of wasting it on chit-chat. Maybe the waxing nostalgic arguments about the doom of the world our electronic devices are bringing about, and how great things were without all this newfangled technology, are getting a little sleepy?

Anyway, the last line made me laugh out loud.

> “Everybody’s talking,” she muses. “And nobody’s talking about anything except what’s on the machines.”

While in an Apple store. Seriously? You were expecting what? Philosophy? Commentary on international news? Intimate bed-side chatter? Deep eye-looking with sales people? Anything other than waffling on whether to spend several hundred or thousand hard-earned bucks on what the store is selling?