skysight-inc/HackerNews huggingface dataset:
After using Haskell, using Java makes me very sad...

In Java's OO paradigm, instance variables are inherently defined separately from their initialization, making it quite difficult to make sure they're always used when initialized, properly.

The nullability stuff bites me over and over :(

Forgetting to use .start() on a thread is a stupid runtime error, instead of using some design where it isn't possible to forget .start() or at least get a compile-time error.

I am also using a lot of C in parallel, and with the C preprocessor, I am finding that C is often more expressive and nicer to use than Java!

Everything takes ridiculous amounts of code.

For example, in Haskell, I can write:

threadIds <- replicateM 10 . forkIO . forever $ do
code .. here ..

To get a thread-pool of 10 threads looping around my code, and put their thread ids in a variable.

In Java, this requires so much effort!

Not to mention the utter lack of sum types and pattern-matching, making tons of Java code that looks like:

if(msg.what == Foo) {
msg.obj1 ...
msg.obj2 ...
} else if(msg.what == Bar) {
..
}

arrrg!
I remember pg saying something like "email is a todo list that lets anyone in the world add items to the top" but the actual quote isn't quite as good:

http://www.paulgraham.com/ambitious.html

Email was not designed to be used the way we use it now.
Email is not a messaging protocol. It's a todo list. Or
rather, my inbox is a todo list, and email is the way
things get onto it. But it is a disastrously bad todo list.
At first I thought the error was a beautifully crafted satire. Sadly, not
Always assume you are suspect of a crime while talking to the police.
I've just double-checked dates (G+ doesn't show them for original shares, and the original FB post was deleted): this was actually posted in January of 2012, so it's nearly 2 years old.

In which case I'd be really interested to know what the follow-up on this is / has been.
I agree with everything above. At Vonjour we use Scala. From a business standpoint, our only reluctance was that hiring was going to be more difficult. However, we have received higher quality candidates that are eager to learn applying for our positions.
Story looked familiar. This is back in March.
I'm left wondering how long until we have mainstream video cards capable of driving games at these resolutions? Seems like we're a ways off...
"EFFECTIVE 07/01/2001"

Weird that we've never heard of it before now.
Using null instead of None means you are more at risk of hitting a NPE.

Here are a couple examples:

myVar match {

case Some(val) => doSomething(val)

case None => handleNone()

}

myVar.getOrElse("else")

In both of these cases, we eliminated the possibility of a NPE through the use of a language feature. :)

(edited for formatting)
I don't understand why customs needs this.. it's perfectly legal for them to just take whatever they want or deny whatever they want entry for no reason as I understand it.

If they don't want Occupy videos they can just reject them. This form isn't needed to accomplish that.

What is its real purpose?
No, not right, because sometimes when people try to use it they get resistance like you see in the commit.
My problems with Scala:

1) src/main/scala/com/thingy/actualthingy JUST to get to the root of your code.
2) Recompiling/restarting is slow because liftweb and other frameworks are overly complex.
3) I'm 90% sure it would be possible to create a PRY-like debugging tool that runs your code in interpreted mode and drops you into the REPL at a certain point in your code. And yet, it'll never get built because Scala hackers are stuck in the halcyon java days of 1998.
4) Variable names first, types second = okay, now you're just being different for the sake of being different.

That said, it seems like if you use scala as a more concise java with some handy functional syntax thrown in, you can make something that isn't terrible for future maintainers.
So how would you provide it in an anonymous fashion? Send it via mail, with your fingerprints and DNA on it? Or try to electronically transmit it via Tor or something, and if you mess up get jailed for electronically submitting such information.
when will python get updated (at least to 2.7.5)? I read the RLN but all I see are fixes being backported from newer versions of python.
I like that you ran the numbers, and think you have a good question.

One remark in the original article said she had access to files and samples for many cases that she was not primary on. Perhaps that's the issue -- the ability to taint results across the whole departmental workload.
> They should cajole and berate

Not at people performing ANY tests on evidence.
everyone's expecting it to crash

I think your sample is too small. Old-world finance looks at the charts and expects a crash, but everyone who actually holds BTC seems to have a target price of $1M
With the 39" Seiki 4K "tv" at less than $500 shipped, the $3,500 pricing level on the Dells seems excessive. I'm certain the Dells are better monitors, but are they 700% better? If Seiki revs their model line-up to include display-port, all these official monitors will really be in trouble.

http://www.amazon.com/dp/B00DOPGO2G
I don't want to discourage rational discourse about BTC and whether it has any inherent value, but I think tulips are the Godwin's law of bitcoin. As a debate about bitcoin increases in length, the chance of someone mentioning tulip bulbs approaches 1.
Not to be too big of an ass, but this could just be the skill of your founder. Or do you believe it is impossible to have compiling code that does not do as its author intended?
That is exactly the wrong thing to take away from the video
AMA Capital -- Palo Alto, CA. Full time. H1B okay.

AMA Capital trades billions of dollars per day in the foreign exchange markets.

We are all engineers, and we all do a little bit of everything, designing and implementing our own trading strategies and infrastructure. We're a very small team (I am the only employee) and are looking to add one or two engineers who will focus on strategy and/or on infrastructure.

No experience or specific knowledge of finance is required. However, you do need to be at least interested in financial markets and to be able to implement your strategies carefully in C++.

An example of an infrastructure project is designing and building a system for logging to non-volatile memory. We generate large logs that cover everything from prices to transaction data. NVDIMMs are a form of RAM that survives power loss, and such hardware has been on the horizon for a while, but it is just now becoming available to early adopters. Writes to NVDIMMs will be nearly instantaneous and immediately durable. This project will be to develop an NVDIMM-based system that simultaneously functions as a log, an IPC mechanism, and a searchable database for analysis. Making this work will involve a number of pieces: kernel drivers, CPU cache control, lock-free synchronization, a daemon to write everything back to long-term (i.e. less expensive) storage, and more. If this works well, we plan to open-source all the pieces.

Visit http://amacapital.net/careers.html to learn more, and send applications/inquiries to careers@amacapital.net.
There's absolutely a void when it comes to a full amd64 assembly (and associated low level) code. It's a shame, because amd64 is actually rather plesant (as opposed to x86) -- and now rather ubiqutous.

I haven't really looked at the code, but I guess the following at least contains a bit of example code:

http://www.returninfinity.com/baremetal.html

Menuetos also looks rather interesting, unfortunately, as I recall the license for the 64bit version puts the code in a bit of a limbo as far how it's actually useful. There's a fork, but not for amd64 afaik..

http://menuetos.net/

http://kolibrios.org/en/
Piwik is a JS include, but it is on my own server. My statement wasn't accurate: I don't use third-party external hosted JS files.

Why? Security, privacy, performance. GA is probably relatively trustworthy in terms of security, but you never know. Privacy: Gone with GA. Performance: If the included library isn't far away, it's faster.

So, Piwik is good enough for me. I recently installed it on a VPS but from the same hoster in the same location. The performance is still slick, but a tiny bit of work is now off the server and security-wise it's better to have as few third-party libraries and applications running parallel to my web app.

The most limiting thing was that I rent a managed server that doesn't allow too many custom things. Piwik is relatively ineffective memory-wise in generating reports over months or years, if you have traffic like me (about 50K visitors per week or so).

The managed server would always kill the process, because it consumed too many resources and took too long. Never found a work-around. Now, on the VPS, I can do whatever I want and that helps.

This just as a warning if you're planning to run Piwik in an environment that might have limits in resource allocation.

Feature-wise, Piwik is totally perfect. As mentioned before, I don't track many metrics anyways. It's just a reference for keywords, which keywords converted, where people come from.
Not surprised to see forbes.com at the top of the list of shame. I wonder if they end up losing readers by trying to monetize too much
Ask HN: Whats more annoying than a "you've been unsubscribed" email...
after you have clicked on the unsubscribe link of an email?
(Pleasantly) surprised to see docker in there.

Looking forward to 7 (although XFS by default got me wearing my best surprise! face).
Running `s/he/they` on Shakespeare's current literature would fail, but why is that a problem? Don't you think Shakespeare could have made it work from the beginning if that was a big issue at the time?
Quoted from this article [1] :

“I inform (the employee) that I am well aware of the policy at The 5 Point Cafe but asked to see where it was policy for Glass to be disallowed at Lost Lake. She said she couldn’t provide any and when asked to speak with management she stated she was the night manager. I again inform her that the two venues are different and have different policies. She refuses and I leave,” he wrote. “As we are leaving, Brian (his partner) points out that on the menu they state “Post photos on our website via Instagram by using #LostLake.” So how is an establishment which is REQUESTING photos be taken, not allow me to bring a device which takes photos and can post to Instagram? I would love an explanation, apology, clarification, and if the staff member was in the wrong and lost the owner money last night and also future income as well, that this income be deducted from her pay or her termination.”

It seems rather legitimate to request to see an official policy.

[1] http://blogs.seattletimes.com/allyoucaneat/2013/11/26/diner-...
there isn't anywhere to go for BTC but up

Why? BTC is, for our purposes, infinitely divisible. BTC is just as useful when it is worth $1, as when it is worth $1B. I believe the bitcoin network has value, but 1BTC doesn't hold any more intrinsic value than 0.1BTC. They both leverage the same network.
I agree with you, but not for those reasons. 4chan threads expire. It's best to link to a backup or screenshot.
It has been widely speculated that the customs form that they pass out on the airplane en route to the USA is not about stopping bad guys but about getting them to lie on official paperwork so that there is a documented crime to cite as a reason to deport/jail them.
"For the “Lightning Consult” plan it costs US$ 450,00 per hour, and you have to buy at least 2, so it cost at least US$ 900,00 to any company. "

At first I thought they were charging 45 thousand an hour till I clicked through to Mongo's page and realized author is using the Brazilian/European commas instead of periods (price is $450 an hour).
A United States federal court has permanently shut down isoHunt.com
Why Bitcoin is the Fed Killer
>Same reason most of us are here on 4chan, just morbid curiosity.
Ah thanks for that. I failed at Googling for it. Wish there was an easy way to get at the raw data though - have a list of these libraries by site.
That's an interesting video. I'd quite like to know if it's being coordinated "from above", or whether the cars are making their own decisions - the latter would be rather more impressive, since I think a fully managed road system is much further off, if not an impossibility.
Would going to a local newspaper help in this situation?
IMHO, libraries like this should always have an easy "out", where the default is strongly typed, but the user of the library can explicitly escape the known behavior if need be.

As a (albeit poor example), I once inherited a click tracking system that uses Java Jersey. The standard response object has a .redirect(URI uri) method. Unfortunately, many "URI"s we receive from the world are not actually value, and the java URI object refuses to build URI objects from the string. Fortunately, one can simply call .setHeader(String, String) and be done with it.
It's like Go with more features:

Go and Rust offer GC. Rust allows you to choose when you use it. Rust also makes it explicit when you're allocating memory whatsoever.

Go and Rust offer M:N threading. Rust provides separate heaps per "task" and a data ownership system which means you never end up sharing state between "tasks" (ala Erlang). Go only provides a global shared heap. This means Rust can prevent a class of bugs (concurrent mutation of shared state) which Go can't. It also means Rust's GC is easier to run in parallel, since state is isolated to particular tasks so you can GC a task while it's idle ignorant of the rest of what's going on in the system.

Go and Rust both offer structural typing (like duck typing with static typechecking). Rust also implements Hindley-Milner, which is the same type inference algorithm used in Haskell. So Rust provides Go-like typing when you want it, and a "real" type system when you need it.

Rust is immutable by default. I think the benefits of immutable state go without saying, but Rust also lets you opt into mutable state if you want it.

Rust is memory-safe by default, meaning that mistakes made by programmers won't corrupt memory or cause the program to crash. However, Rust also offers an unsafe mode that provides C-like memory access, making Rust suitable for things like kernel development, bootloaders, microcontrollers, and other device firmware that still needs to do C-like things in order to function.

Rust can be used for "bare metal" low-level development, to the point that you can boot directly to Rust without ever starting its runtime, and even use Rust directly on microcontrollers. See "Rust on bare metal" (lolpun): https://mail.mozilla.org/pipermail/rust-dev/2013-July/004841...

Finally, Rust provides a task linking/fault-tolerance model similar to Erlang where if one task exits, tasks it's linked to are automatically notified about an exit event and can take action accordingly.

Rust is a weird platypus of a language with a lot of the features you see in fancy functional languages but working in more or less the same realm as C/C++. I've heard it described as "if C++, ML, and Erlang had a kid"
Dude. Sweet! If the price is reasonable, I'll buy 2-4 for my desktop. I'd love to have the knock-off cheap dead pixels Korean version even more, actually.
Amazon unveils futuristic plan: Delivery by drone
I would object if the guy at the next table over pulled out a camera and started snapping pictures while my wife and I are eating. I would feel violated.

Same here. In other HN discussions about expectations of privacy while in public with regards, say, license plate scanning or facial recognition there always seems to be at least one or two people claiming there is no reasonable expectation or right to privacy when out in public. I tend to disagree with them but often they make a plausible argument.

Having a remote camera record the passing of your car feels less in-your-face invasive, and I wonder if that allows more people to let it slide.

Perhaps the more overt creepiness of Glass will lead to more stringent privacy laws that (hopefully) are then equally applicable to the more stealthy forms of surveillance and recording.

At the every least, if I can't come into your place of business with a ubiquitous recording device then your place of business cannot subject me to ubiquitous recording either.

I'm less optimistic about similar restrains against data capture under the guise of "security."
Do Not Track - Universal Web Tracking Opt Out
With nothing anchoring the value of the currency, it'll fluctuate wildly (and then crater to zero, and that'll be the end of it).

Regular currency is legally enforced by governments as the way to pay taxes, and settle debts in that currency - ergo you always need some or need to buying some, even if you don't want to deal in that currency day-to-day.

BTC does not have these things. The only thing holding it up is irrational speculation. Every person who holds bitcoin needs to sell it to a greater fool for a currency which does extinguish debts/tax obligations locally.

Consider: a population of people in the US dealing solely in BTC, and earning income, have to pay income tax. The IRS can assess income taxes as the relevant fraction of their income (easy enough: assess an approximate USD market wage that they have worked, declare they have to pay USD % of that in taxes). The effect would be BTC craters in North America, because every member of that population would have to somehow sell BTC for USD - only none of them hold USD, so they can't trade amongst each other, which means they need to convince someone else to accept BTC for USD (and I mean, why would you? You can't pay taxes with it which is why they're selling)?
Can I interest you in this rock?
>Repeated use of expression “trusted third party”

That is like saying you uniquely identified someone based on repeated use of the expression "Q.E.D" in a mathematics paper.
> The market value of gold is far, far in excess of what the demand from industrial, scientific, fashion and jewelry use cases dictate.

You forgot speculation. The reason it's so much more expensive than 10 years ago is because people expect that at a certain point inflation will finally be realized, and prices will be so high that it will be used for scientific, jewelry, and ornamental uses again, at prices even higher than today.

And even forgetting that, we have the fact that people buying gold to save removes it from the market, reducing supply at lower prices, leaving only higher bidders in the market. And you can still get gold tipped RCA cords, despite what you say. So as long as there are any consumption buyers just below the current price, the price is justified.
Don't forget, the terrorists hate us for all our freedoms.
Proof of Burn is another interesting idea.
It's also known as cherry picking anecdotes.
I understand what you are saying now but I'm not convinced by the argument: It does not seem plausible that transaction volume will be affected by value of the medium of exchange. Can you show your reasoning applies to other conventional currencies? Specifically that the transaction volume changes in direct proportion to some numeraire, say USD?

(That book is about DCF and bitcoin and other currencies don't give off cash flows).
There's some price discrimination going on here, yes, but keep in mind that a) the PQ on that Seiki will be horrible; 2) at 39" it's way too large; and iii) as you note, it does not have a useful way to get a signal into it.

The win with a ~200dpi 24" 4k will be OS X-style Retina upscaling, not simply screen real estate.
I only use Disconnect because I like interactive sites but don't like being tracked. This blog post reports 11 blocked scripts. So even if you think sprinkling some social stuff onto your blog doesn't put you in this category, it does.
And to think I thought the Thunderbolt display was pricey at $1k. I love it, but I don't think I could possible realize (or notice) the increase in capability unless working heavily in graphics and video, and that's assuming that the machine attached to it has a card that takes advantage of it.
> To me the op is no different from people who participate in ARGs.

Except, you know, the game part of ar_G_. Real life is not a video game. If you live as if it is, something bad is probably going to happen to you eventually. Brute forcing something that doesn't belong to you is not just bad form, it's stupid, and depending on what it happens to be, possibly illegal.

Does that make the police harassing him OK? Perhaps not. Is any part of this story even true? Also perhaps not.
If we're going to play the "memes for intellectuals" game, I could just as easily make a similar claim on your comment. This is a content-free comment.

The easiest support for my argument would be looking at the list metals with a similar rarity to gold, and noting that gold is more expensive than all but platinum, despite having an annual production which is >15 times higher.

http://en.wikipedia.org/wiki/Abundance_of_elements_in_Earth%...

Now, please provide a citation for your claim "gold's market value is mostly caused by demand from art and manufacturing processes". I claim that this wrong because 34% of all the world's gold is kept in vaults, and an additional 52% is stored in jewelry (of which a significant amount should be considered an investment by its owners due to the high market value).

http://en.wikipedia.org/wiki/Gold_reserve#World_gold_holding...
That's how legal representation works...
Are Truecrypt volumes with similarly bad passwords any harder to crack?
I still don't understand why std::list is bad. Could you explain please?
No, that is emphatically NOT a qualifier for that video.

The point is that anything you say can be used against you for any of an infinity of possible crimes, while it can never ever help you at all.
This is a rant about I can't manage my own life: there is no reason to pay attention to what you don't want, unless you do.
Unsubscribe, if you can't flag as spam, pay your bills on time (do I really need to say that?).
Add others rant's as previous, leave FB/HN/etc bla.
> Yet another failure to understand the purpose of mining. The energy is NOT being wasted. In fact, the energy spent mining is the exact thing that makes the Bitcoin network function. The energy is being converted into trust. The more energy that is spent on mining, the more difficult it will be for a well-capitalized entity to perform an attack on the network.

> Aaron Greenspan, repeat after me: Mining energy is not wasted. Mining energy is not wasted. Mining energy is not wasted.

I think you're missing the point here: Aaron is not denying that markets run on trust, and trust takes work (in both the physical sciences sense and the layman sense) to maintain.

What he is saying, as should be clear through his use of the water analogy, is that we should choose currencies for which it is easiest to convert work into trust and usage. Water is off the table, in his analogy, because of the large amount of work required to use it.

In other words: he views BTC as another currency which, compared to systems like the USD/ACH/Credit system, is overly laborious to maintain.

What's nice is that this is a reasonably scientific claim-- it is not out of the question that someone could compare measurements of the energy usages of the two currencies per unit of value and per transaction. To me, it seems clear that the USD, riding on the trust externalities from the already present authority of the US Gov't, is going to be cheaper. But again, it's a totally measurable assertion.
As for number 4, this is because many of the type annotations are optional.