skysight-inc/HackerNews huggingface dataset:
In general, implementing ALIAS records through recursive resolution is a bad idea.

Geo routing and other resolver IP-based policies will probably break, since the authoritative name server has no way of knowing the resolver IP. Edns-client-subnet does not suffice in this case, since the authoritative name server may still base part of its decision on the resolver IP.

A much bigger problem is that the forwarding name server can be used for DDoS amplification attacks and that its own resources can easily be exhausted by an attacker if the authoritative name server is slow to respond. If the forwarding name server opens a new socket for every query it makes, the set of available port numbers can easily be exhausted. If the forwarding name server reuses port numbers, then spoofing attacks become straight-forward.

This does not mean ALIAS records are a bad idea in general. The Amazon Route 53 implementation resolves aliases internally. It is therefore limited it to AWS services, but you could, for example, point an ALIAS to CloudFront and point CloudFront to your website. CloudFlare offers a similar service.
http://golang.org/doc/faq

Why doesn't my multi-goroutine program use multiple CPUs?

You must set the GOMAXPROCS shell environment variable or use the similarly-named function of the runtime package to allow the run-time support to utilize more than one OS thread.

Programs that perform parallel computation should benefit from an increase in GOMAXPROCS. However, be aware that concurrency is not parallelism.
I'll let you see how it stacks up at Kaggle: http://www.kaggle.com/users
Jobs threads on HN seem to have the same callous approach, but… I have never met an American, even expatriated for a decade, that didn't grossly underestimated how US-centrism was hurting them.
That'd depend of the context. If you have a lot of issues related to Express/performance, then maybe being slightly more verbose is the way to go.
Surprised that no one has mentioned the other side of a program - Answering the questions.

Yes, cool, a guy walking in unknown city, takes a photo, and gets personalised answer from a friend.

On the other side: a guy doing something more than meaningless, gets a mobile notification that his friend asked for the knowledge he knows about. Sounds like a perfect distraction - any time, any place, requires an action taken.

Taking stackoverflow in comparison, user is not delivered with random questions in random periods of the day.
What is really weird is how often Go and Rust are compared, period. Their designs seem to be different in almost all ways and, as you say, they don't even coincide when it comes to maturity.
Anecdotally, I think that I'm noticing a trend wherein people coming from a strong Java or C++ background (or other strongly OO languages) object to Go vociferously (typically citing generics and a couple other pet peeves) and people coming from dynamic languages (or other languages lacking generics) seem to have no problem with it. I think it may be a matter of which paradigm you're approaching Go from.
Not sure if I'm reading your response incorrectly... but go has reflection. I'm not sure what you mean by scoping based on nested namespaces.... Go has similar scoping to pretty much every other modern language. Are you saying java has no code outside of classes? Because Go has that (and doesn't have classes).

Also... Go has OO features. You can make an object-like thing by tying data (a struct) with behavior (methods tied to the struct). It doesn't have inheritance which is not the same as not having OO features.
THE FUTURE (of) CRM
They say innovation happens on the edges so don't look for it in the middle. Salesforce.com is
undoubtedly the most successful company that helps business people close more business. They
roughly own half of the market and have close to 5 million users.
Yet there are around to 200 millions small companies in the world which serve customers cause that
is the main purpose of any business. So, as you can see , the world of these small entrepreneurs
remains vastly underserved when it comes to software
With the rise of smartphones this is all going to change. There are three companies that fight for the
future CRM customers will actually want to use and they are not based in the middle , that being
Silicon Valley. Rather they are slowly revolutionizing the edges , all three were started in the
Eastern Europe. They are BASE (www.getbase.com) Inch (www.getinch.com) and CallerQ
(www.callerq.com) and come from Poland, Hungary and respectively Romania.
They all recognize the fact that for a true future CRM, something should happen immediately after
a call has ended in terms of setting a followup and reporting should be done automatically and
manually by the user. For now , they have launched Android versions but soon IOS versions will
follow.
Which one do you think has the better chances to succeed?
Individuals have moral agency. Corporate bodies such as governments do not. It is a category mistake to attribute agency to them. Governments are neither moral nor immoral. They are amoral.

Defense satellites are no more staplers than monads are Scottish ballads. Defense satellites do not organize documents. They are tools to facilitate the use of violence. The UAE military establishment is following the same rationales as the US's - a bigger stick better insures achieving diplomatic objectives.
The author said that he needed a generic set for different concrete types, so he'd have to write a bunch of these functions for all the combinations he needed. And he did. And it was a mess. And it was also slow.

Edit: not that we can conclude anything from the lack of performance, though, we don't know how it was written.
thx, something like that would be great to use over packet radio & gsm. If someone builds a QUIC proxy server service with client to speed up browsing over slow links like Opera does with their always open 'socket' connection we have another choice. The Opera solution is actually quite usable.
I wonder if similar performance gains can be achieved by using openvpn with udp with or without ziproxy. If so you wouldn't be locked to chrome or opera.
Xkcd: Photos
Say you revisit that issue in three month's time. Would you know what the cause of the "performance tool in development environment" issue was? Probably not. "Fixing the performances after the rollout of the last Express.js" tells you straight away though.

Admittedly it's a minor issue, but overzealously enforcing "keep titles short" will make titles less descriptive.
My understanding is QUIC is being used as a proof of concept for protocol experiments - it may be pushed towards standardisation or the the lessons from it may be pushed into other protocols
Mobile App Testing - top tools and challenges
For price-worthy PC Speakers I recommend Teufel: http://www.teufel.de/pc/pc-stereo21.html

I am also very satisfied with these headphones: http://www.thomann.de/de/beyerdynamic_dt990pro.htm The sound is crystal-clear and due to the big and soft earpieces you can wear them for hours without noticing. Perfect for home use.
About (Pirate Bay founder) Anakata and freedom
The problem is that you would need to rewrite that code for each type of foo and bar.... so if you have a set of ints and a set of strings and a set of SomeStruct... they'd all need their own implementation.

This is where code generation can work really well, especially for boring crap like set functionality... but he's right that rewriting it each time you figure out you have a new set type is a pain in the butt.
No, the problem is that SetUnion needs to be implemented six times for six different data types.
It's ironic considering that the Go developers want the best for the programmer (That's why they work so hard on the Go tool for example).
Perhaps putting your preferences on your email signature,
your profile on the corporate intranet,
or your personal website's 'contact me' page
would be helpful.

Perhaps it would, if more people paid attention to that. I tried it. Works with some but not all.
There are some operations in which git is way slower than Mercurial. Two examples are cloning and blame/annotate. git's data structures are optimised for some operations, but not for others.
... Quantum teleportation as a mean of transmitting information ?

You know that as of today, QT is completely unable of transmitting data... It transmits a quantum state instantly yes, but that "transmission" cannot in any way be used to transmit any form of data, it would be a severe breach of relativity theory. Look, it's the second sentence of the Wikipedia article on the subject : "Because it depends on classical communication, which can proceed no faster than the speed of light, it cannot be used for superluminal transport or communication of classical bits" [1].

And anyway, the Quantum Communication Measurement and Computing Conference, is not about QT, even if it is probably a discussed subject. The scope of that conference is : "Quantum Cryptography and Quantum Communications, Quantum Measurement and Quantum Metrology, Quantum Computing and Quantum Information Theory, Implementations of Quantum Information Processing and Quantum Simulations, Quantum Control, Foundations of Quantum Physics" [2].

So QT may serve as a way to allow really fast transmission of data, but for that, first physicist would have to completely reinvent physics. That's of course a possibility. But don't count on it as a "soon enough for a broader audience than just physicists" thing. We are decades away from such a breakthrough. And then, if that sort of breakthrough happens... gosh, that would probably change the face of the world in a much more important way than just a faster wireless data feed.

[1] http://en.wikipedia.org/wiki/Quantum_teleportation
[2] http://qcmc2012.org/about-qcmc/
I have the same setup and would go with 2) but that's because one of my screen is vertically oriented
Sure, but Im not sure we can legitimately accuse them of all the things we have proof the NSA have gotten up to.

See, thats the problem for the US right now, we can play the proof game. Right now we know what the NSA and US get up to. Its no longer the wild speculation of the foil hat brigade. Its fact now. Where as, with everyone else, we have relatively small cases and speculation. So, if you have a choice, and you know absolutely that one supplier cant be even slightly trusted, why would you use it? How could you justify the spending and choice? You cant. If anything went wrong, or political alliances or policies change, well, you don't have a leg to stand on. Your career and reputation are over. You bought from a known bad actor. You cant deny it. So, you have to look else where. At the very least, at this level, you have to make one hell of a case to select US technology right now.
> Then, as technology gets better, so that you have the databases and data mining applications and communications technology to check out the interrogatee's story in close to real time, torture becomes effective.

This assumes that being able to prove the torture victims story quicker increases the chance of getting a truthful admission.

For starters that presumes that the torture victim knows what you want, which is not a given.

Secondly it presumes that the torture victim will give up the information if only you can keep the pressure up long enough. If it was "that simple" a solution to the problem in the CIA manual would be to simply recommend to continue the torture regardless of admissions, until one of them is proven true, while insisting to the victim that you believe he is lying.
I wonder what this technology will allow us to do?
Java-based GUI applications often being ugly and sluggish perhaps unfairly tainted the reputation of the language and VM.
>> Maybe I'm just getting old, but the resolution on a cinema display is more than sufficient to make things unreasonably small.

You're either getting old, sit very far away, or have bad vision - the Cinema display has a laughably low ppi for very large UI elements, and the pixels are incredibly visible.
The people in BNW aren't happy per se. Anyone with a desire to do anything outside of the accepted norm is outcast. They have no freedom. They only really have the illusion of happiness. Whether that's enough is the fundamental question the book asks.
It does, but then can you do that without using an ALIAS record, which is one of the reason invoked to use "www"?

Also, web-centric is fine, browsing the net is 99% of my URL manipulation, and I'm a developer that has to work with web APIs.
How I improved Twitter Handles Search's ranking
Flat vs. Realism
you're going to be waiting like a decade or so before you can do anything networking related with it

Not true. My 'learn rust' project is pcap-based and has a trivial websocket implementation, and (after the basic learning hump) it's dirt easy. Aside from how simple it is to interact with C, Rust's current networking stack is libuv under the hood (i.e. same as node), and if you don't want libuv, native implementations are landing now.
Lately I've seen loads of these kinds of website builders, I mean probably over 5 of them unless I mix some up. And that's just within less than a year.

I only briefly looked over the page and it seems to be pretty nice. But could you tell me why you chose to make this project and what makes it different (and better?) than other projects in this area.
I'd suggest that too many developers don't understand what goes on over the wire anyway.

It's a documented binary protocol, is open and reasonably easy to understand - spdyshark will help.
Yes, but so does run-time generics somewhere along the line.
:(){ :|:&};: #ctrltwit
Yeah, I just realized that you can't really recurse with macros without doing nasty repetition, so it is not possible to do GREATEST_MAIN(suite1, suite2, suite3, etc), not even using C99 variadic macros.

Had it been possible, it would definitely make sense to add this oneliner utility. Since it would end up being very limited, it probably doesn't.
>Really the only way to decide what is "correct" where language usage is concerned is to see how people actually speak/write, AKA a descriptive approach.

This is tangentially related: the English language is a bit unusual in how flexible it is to change along with common usage. Other languages can have their usage dictated by the government; Germany, France, and Japan have all had noted language reforms that in some cases radically changed the language. That is not to say, however, that all their citizens automatically start following these reforms perfectly because lifelong habits are hard to break.
For the record, KDE was always developed by individual hackers, not a commercial entity. This continues to this day and among open source projects, KDE is still one of those most free from commercial 'interference'. GNOME, on the other hand, has been largely guided by RedHat for a long time with many of the major developers being employed by that company.
The most troubling aspect of this story, for me, is that the civilized world is providing this class of technology to countries like the UAE.
I've shown my retina iPad and MacBook to a few people who don't get the fuss at all...Myself, I think the screens are amazing

Over a decade ago, I bought one of those Sharper Image ion air purifiers. I told all my friends how great it was - totally silent but really cleaned the air and left it with a fresh scent.

About a year later I started reading scientific assessments and reviews of it. It in fact did nothing to clean the air and the "fresh clean scent" it put out was potentially harmful ozone.

It was then I realized that I was as able to fall for marketing hype as much as anyone else. That made me much more wary.
Smart and fast definition and reference lookups. That's all I really need but it's surprising how many IDEs are broken in this aspect.
Thinkpads seem to have taken a turn for the worse in the series after the x220. I should rephrase my recommendation to "older thinkpads". I don't know what I will use when my x220 is antiquated. I hope there's another hacker friendly laptop on par with it by that time.
It has a state-of-the-art Virtual Machine, rich concurrency facilities (why does everyone forget this?), reasonable type safety, great tooling, and it operates within a diverse ecosystem of languages using the same infrastructure.

But yeah, I have always liked the argument of throwing a curve ball at the kids who were already programming in imperative languages. It also levels the playing field and those who hadn't had any prior experience tend to perform better without feeling so inadequate next to their peers.
Why did they take the effort to produce an entire paper, over a research question that has a simple logical answer?

The research question (sort of): Is SPDY, which was designed to make HTTP work better on connections with more bandwidth and not worse on less bandwidth, increase performance on connections with less bandwidth (and not really related more latency)?

Their answer (sort of): no, as designed SPDY only increases performance on connections with more bandwidth, and performs similar to HTTP on smaller bandwidths.

Their conclusion (sort of): TCP is not very suitable for transmitting data on high bandwidth (relatively) high latency connections, we should use a different transport layer protocol.

What your reaction should be (sort of): No shit sherlocks, that's exactly what everyone thought 15 years ago and only now the idea is picking up steam, with HTML5 including SCTP in the spec, and Google working on the QUIC effort.
Since SPDY was created with DSL MTUs in mind[1] and optimized for them only (unlike plain HTTP which was transport neutral and lasted almost 20 years) I don't find it hard to believe that if you look anywhere outside Google's test-matrix you will see the benefits of SPDY tapering away almost instantly.

[1] Basically, the test was: will one web-request (including all of Google's tracking headers) to google.com or any of its adwords/analytics beacons exceed one TCP packet and cause possible TCP reassembly-issues or not when using regular consumer-grade DSL MTUs?
Hmm, it's been a while and I don't remember that. Who was cast out?
* Syntax hilighting (any text editor can have this)
* Find Resource by starting to type the filename
* Follow function calls
* integrated debugger
I was trying to say that someone could simply use "why not just use FB?" as a way to dismiss any new service built on a social network. I could've easily said that when Quora first launched. But now we see that Quora fills a particular niche that FB doesn't seem to excel at. Similarly, we may see Jelly carve out a corner for itself (whether it's for "spur of the moment answers service" or otherwise), a corner that FB may have overlooked or is just not currently built to handle properly.
Bitcoin Banned by Alibaba’s Taobao After China Tightens Rules
So the point of higher pixels is so you can't see the pixels and to prove this point, you tell people to turn off other (cheaper) technologies that already hide the pixels.

There seems to be some faulty logic here. What is the point of the higher resolution displays if the pixels are already hidden with other technologies?
I love the combination of Tmux and VI. This is because of the tight integration with the shell and the fact that I can work completely without a mouse.

Alas I am a Java guy and restricted to IntelliJ at work. It's a great IDE but I never feel as 'at home' as I do in the shell.

My favorite and most used refactoring feature in any IDE is Extract Method. It's a simple one, but I use it repeatedly when cleaning up both my own code and legacy code. My code would be much uglier without it.
Why drugs are expensive: It’s the science, stupid
This is one of the reasons for being a fully independent distro with no ties to a "corporation". Debian comes to mind, as does Slackware, Arch, Gentoo, a couple of others. Being able to go about your business as a distro without corporate oversight is desirable these days.

CentOS now has a "master" where before, the GPL allowed them to simply take the source, remove trademarks, and re-compile as CentOS, getting the benefits of a corporately-funded distro without the legal constraints of evil IP and what not.

RH also may choose to play ball with certain organizations that I don't agree with. This may affect CentOS in some way. An indy distro can give them the finger and tell them to get bent. My goal is not money, it's freedom from oversight, freedom to do as I please, freedom to have an unencumbered distro not tainted by the likes of the false notion of IP, legal nonsense, you name it. Debian is growing for a reason. One of those reasons is because it's an indy distro.
I'm referring to research. My personal opinions are very left-wing even for Gen Y.
I believe it was a mess. But i don't believe it couldn't be done correctly in Go or whatever language you take.
Google webmaster guidelines - a site to keep up
Must have features for me are code completion "intellisense" to borrow a term. Proper and diverse syntax highlighting, Function/Method signature helpers, code/file navigation, and a clearly defined layout of the interface. Additionally, the IDE should have a clearly defined purpose and all utilities and support functions should reflect this. SOme good examples IMO are visual studio, and jetbrains IDEs of which I primarily use webstorm
No, only that in Go it's impossible to abstract the code that implements the "set union" functionality into a function.
I am an email first person. What I find funny is people who want something from me, and don't email me, and then get mad when I don't respond quickly using their preferred method.
Demo is available at http://twittersearch.algolia.io
I don't mean it's like Java in terms of particular language features, but in terms of "feel" and philosophy. It uses abstractions on the same level as Java (higher than C, lower than Clojure), designed as a blue-collar language, emphasizes readability (at the expense of verbosity), and generally avoids low-level bit-diddling as well as high-level meta-programming tricks.
I know theres a []byte mempool project on github.[1]

Still pretty early though, I don't think it can do dynamic sizes?

[1] https://github.com/thejerf/gomempool
It's not very like Java at all. The only OO-like feature it has is interfaces, which are more like Haskell's type classes combined with existential types than anything else.

That's a bit disingenuous, since Haskell typeclasses go hand in hand with parametric polymorphism, which Go doesn't offer.

Typeclasses plus existential types allow you to implement subtype polymorphism. But it is generally frowned upon in the Haskell community and certainly not widely used.

Disregarding implementation, if you drag in typeclasses + existential types, Java's interfaces are also comparable (yeah, they don't offer compile-time duck typing, but neither does Haskell).
Show HN: Codebox - Open-source cloud and desktop IDE
Ford C-Max Solar Energi takes a recharging station wherever it goes
Machine Learning for Forecasting the US Stock Market Index
> would like a word

Yeah opening up TCP connections and reading plain text http isn't hard, but there's no way to do any kind of SSL https requests with servo, which is kind of a nice thing right. And that's going to be a long long time before you ever see SSL. Have fun with those C libraries.
Hey Ilya: Is it possibly in the works to merge QUIC's UDP and magical error correction into whatever SPDY doesn't have that QUIC could complement it with, maybe eventually abandoning QUIC and just going full-force on a further-supercharged SPDY?

Thanks for lowering my bounce by the way..
Nope, they don't. They keep a running total of how much server you've "used" (like, I've currently used $2.95 for the last few days of several droplets) and bill you at the end of the month.
I'm guessing your websockets are not over HTTPS?
Go and Rust get compared because they're both new-ish and compiled and C-like. But yes, most of the time it's not really a valid comparison.
There are some hg devs at Google too. :-)
Show HN: TextTrim - an automatic text summarizer -