skysight-inc/HackerNews huggingface dataset:
i feel like I have these Moments at a quaterly pace. This is strange to me too. I start out in a yea hacking and working on things like a crazy person. Then a month or 2 later I slouch. After I'm full of that too I restart the engine and start working. This apparently correlates heavily with the months in which I use google. The ones where I am actively working on something are the ones where I search for stuff the most. If this is the first time relax It'll go away again.

// aside:
Since my Family lives in a less densely populated area with poor connectivity, I found it a perfect distraction-free zone to get back in a productive mood. I have probably started reading into 1 new programming language (Python) and got fairly productive in it already.
Started reading into Scheduling in CompSci. And maybe have already decided on my next to be learned language(erlang maybe). The Bad connectivity may be easy to replicate. Just pull the plug or work via 3G. Surely makes you feel like you have time to read something

So. Heads Up! It will come back :)
"There aren't enough swear-words in the English language, so now I'll have to call you perkeleen vittupää just to express my disgust and frustration with this crap."

According to Google Translate, perkeleen vittupää means the following in Finnish:

http://translate.google.com/?hl=en&tab=wT#fi/en/perkeleen%20...
C-Reduce 2.1 Released
Anyone else snicker at the mobile interference @8:50? He'd just finished enunciating the problems of mobile telephony.
That's semantics. He didn't get the "basic stuff wrong in a single paragraph" at all. Bu not having to worry about pointer or memory allocation at the the point of coding, it is entirely reasonable to say that JS the language has none. Yes, of course the interpreter does that, it goes without saying. JS is weakly typed, when writing no type declaration is needed, so it is said that JS isn't typed. Your comment is akin to that of a grammar pedant by not addressing the argument, just the manner in which the points were made.
Ok, potentially lot of people on this forum will be applying to YC in near future. (including me)

It will be good if all these questions are kept secret. I dont want to spend my next one or two years doing everything in order to answer these questions. :)
I really wish there was a translation of this.
FWIW I'd love to see this too. We have a semi-regular paper-reading club at GoCardless (YC S11) and this could be super interesting.
> Isn’t it pathetic that so many allegedly-mainstream languages don’t have HTTP libraries that are this natural and idiomatic?

But at every point where Tim then returns a failure we lose insight as to why something failed.

My preferred idiom for handling all errors when it comes to web requests or responses is to return both the error (as it has the detailed message of what happened) and the http status code that matches the error (as it has translated the message into a code that describes the type of error).

This bit would change:

if !strings.HasPrefix(mediaType, "application/json") {
// bogus media type, deal
return failure
}

to:

if !strings.HasPrefix(mediaType, "application/json") {
// bogus media type, deal
return HttpErr{Err: errors.New(""), Status: http.StatusUnsupportedMediaType}
}

Whatever receives that knows there has been an error, and has the code available to do tell the developer or end user something meaningful without relying on the error message.

I'm sure others are also creating their own http error as well, so whilst Go does http really well it seems in practise that there are still a few places where it could benefit from a little extra to help standardise the code we write.

All of those Http codes are here: http://golang.org/pkg/net/http/#pkg-constants

Regarding the map stuff, the only other place the lack of generics has stood out has been within slices of a type of thing.

The scenario is: I have a slice of identifiers in an order important to me, for each of these concurrently fetch the record being identified and create a slice of those records ordered as per the initial slice.

We've ended up using this type of thing:

// Envelope for making sorted concurrent requests for Comment
type CommentRequest struct {
Comment Comment
Err error
Seq int
}

type CommentRequestBySeq []CommentRequest

func (v CommentRequestBySeq) Len() int { return len(v) }
func (v CommentRequestBySeq) Swap(i, j int) { v[i], v[j] = v[j], v[i] }
func (v CommentRequestBySeq) Less(i, j int) bool { return v[i].Seq < v[j].Seq }

// Much later in the code...

// Make a request for each id
req := make(chan CommentRequest)
defer close(req)

for seq, id := range ids {
go HandleCommentRequest(id, seq, req)
}

resps := []CommentRequest{}
for i := 0; i < len(ids); i++ {
resp := <-req
if resp.Err != nil {
return resp.Err
}
resps = append(resps, resp)
}

// Sort them
sort.Sort(CommentRequestBySeq(resps))

// Extract the values
ems := []Comment{}
for _, resp := range resps {
ems = append(ems, resp.Item)
}

In that example a Comment is a comment made on a forum web page and we're fetching lots concurrently, but needing to return them in the order that they will be displayed.

The problem stems from that envelope, and the need to implement that sort function for every type that we ever want to concurrently fetch and sort.

It's the only place where I think, if we just had generics this could be a lot better.
It's certainly ideal if everyone can manage to future proof their work, but I don't really know how realistic that is for many considering the demands. Learning Fortran is a formidable proposition to anyone who can do their work well in Python. At least we can be optimistic that as the tech gets better and better it will be easier to emulate dated environments with greater resources, but of course it's important that there be some interested party. If the research sphere embraces these sorts of action the pool of interested parties should only grow, and the methods for sustaining the practice should get better. Whether that means some sort of gentleman's agreement or standardization on how to create or maintain the machines I couldn't say, but we could probably do much better.
If you would like to take on something that is genuinely lacking from C, try creating something equivalent to C++ templates for C. I'm not sure that it can be usefully accomplished using only the C preprocessor. The C preprocessor is extremely underpowered. So it might require its own preprocessor.

I wouldn't make them exactly like C++ templates. I'd just focus on the useful things that you can't currently do in C, like write a qsort()-equivalent that doesn't suffer the performance penalty of callbacks. You can almost get there with macros, but not quite -- it would be ridiculously ugly at best.
Is this open source? I would love to poke around adding some real time collab features.
Looks pretty solid but a bit on the simple side. Thanks for the link.
Finn here. That's a reasonable translation, but the original Finnish statement has a somewhat more drastic effect. The interlinear gloss to English would be something like "devil's cunthead".
It is good to see NASA getting back in shape. Moving science and technology forward just for the sake of it is rare and noble.
In fact, many interest groups and other NGOs make said plans in advance so that they can mobilize during a controversy instead of having to throw together a several hundred page document before people get bored.
They're representations of resources, not files. Some of them are stored as files on the server, but that's purely incidental and irrelevant to the browser; it treats them just the same as it treats the runtime generated representations, such as this HTML we're viewing.
Text message delivery time between Europe and east Asia
Github link: https://github.com/stephomi/sculptgl. License is MIT. This is from the main page (http://stephaneginier.com/).
I feel, just like movie trailers, that these 'previews' ruin the articles by giving away too much.

Why would you read the article if you've just read the cliff notes? Previews should entice, not give away too much.

Movie trailers look awesome because it's the best the film has to offer, making the full length feature look pale in comparison, which is why I try to avoid them at all cost.
Version control is a database for storing code.
Wowza for RTP Streams and Mediastreamer2
Just because it's badly abused doesn't mean it's bad per se. Let's say you build your SOA: JSON API + Mobile App. At this point, if you plan to build a web app to browse your content, it's very hard to render pages server side without code duplication/collision with the API. If you go with the full js MVC approach you can reuse your api and just worry about the templating and event binding. Maybe this approach doesn't yet scale to the size of Twitter, but I hope the web moves towards fat clients optimization.
I searched for TextTeaser and only found a boilerplate login site and some unrelated results. Have you or do you plan on posting the code anywhere? The results look very good, and though I'm sure you can think of some great uses for it (incl. ways to monetize it) it would be fantastic to have a good summarizer for personal notes and the like. I suppose if Readborg was a full-blown RSS reader (it doesn't appear to be) you could pump all your writing through an RSS feed but that's a sticky way of doing things.

Edit: Saw the comment below asking if we could see your thesis, which I would be very interested in especially if you don't plan on sharing all of your code.
One of the reasons Smalltalk failed is called Java.

Smalltalk was actually getting a foothold in the enterprise when Java happened and everyone switched to it.

Eclipse was originally a Smalltalk environment (Visual Age for Smalltalk).

Yes, files also played big a role, because it was not possible to use source control systems with Smalltalk that worked across implementations. So you were bound to a specific vendor.
Props to the replies. His team there are responsible professionals. Any one could have stopped after the first took the blame but they all stepped up and this is how it's supposed to work. Hopefully Linus won't rip their heads off =]
These rants are what make him a good leader. He has a clear mission/focus of how he wants things to work, and clearly communicates when he feels things are broken.
I'm fairly sure that's not right. If listening to Metal has taught me anything, Perkele is a Pagan god/the Christian devil. I suspect the EU legal texts that Google uses to train its translator don't use the phrase very frequently, and some other translation substituted a curse of similar magnitude, rather than a literal translation. http://en.m.wikipedia.org/wiki/Perkele

Maybe someone who actually speaks Finnish can enlighten us.
Proper 3D acceleration support ==> Mac OS X or Windows.
I tend to disagree about the many generations (mostly because I really hope for a breakthrough in my lifetime) but if you describe to someone in the 1930s what the computer will be just 80 years later ... we are living in science fiction right now. And accelerating.
I am already switching away from Google services and software because of this (and because they decided to drop XMPP from Hangouts)
I can't explain the sluggish experience, but a plausible explanation is that Windows sees a bunch of unused pages, and also a bunch of uncached disk blocks that are used often, and decides that it would be preferable to put those disk blocks in memory in exchange for putting the "unused" memory in swap.
Works fine on Gentoo amd64 + Firefox.
It's an imperative language, not a declarative one. The issue is not ordering (traversal over maps in golang is not ordered), but side effects.

SQL is great. Not all languages have to be SQL.
Yup, that was the critical piece I was missing. Thanks!
This is... awesome!

What is more important, it is actually usable.
Wow, that's beautiful.

I may have made the world's saddest slug.
No, I found it on twitter, but it wasn't tweeted by the author either. In fact that website appears to be the only place on the internet the author exists, except for his github profile: https://github.com/stephomi
On those days home users were lucky if they had at least a BBS to connect to!
Discount Hot sale Fitflop Womens Walkstar Yellow
Discount Hot sale Fitflop Womens Walkstar Yellow
Discount Hot sale Mens Fitflop Dass Sandals Black
Discount Hot sale Mens Fitflop Dass Sandals Black
Manu times you need a counter just to get a unique id. If the counter is incremented by someone else it's not important. On the other hand if the counter can be reset because it hasn't been used for 48 hours it's a big problem...
I think that's just the power required to accelerate the air. A wind tunnel is a once-through system, not a loop.
Linux Nvidia GTX-460 binary blob drivers, works fine.
Guilin Maps: Attractions, Transportation, Locations
Guilin maps show you the the maps of locations, attractions, transportation, Guilin area maps, etc.
I don't know mich about windows GUI, but from my user experience I think it's just hard (lots of things to consider).

I guess you have to deal with font sizes (handled by the system) you're own contraints ("this button is half this screen", "this screen is at most 800px" etc), and the user scaling your UI.

Before scaling was even an issue, I've seen a lot of app screwing the font and UI size pairing when launched on non english languages with different default fonts settings or wildly longer text(the app's own translated text that is).
Throwing in a "what dpi is my screen?" variable to the equation must make things that much harder.
Complex networks in D
Amazing! Working great on Win7/Chrome 28.0.1500.72 m.

Initial load gives a prompt 'Shit happens: context lost' and the sphere is not loaded.

Refresh says WebGL hit a snag, but provides an option to reload. After reload it works fine.

objects load well but I can't seem to find any more movement controls, just wasd/arrows.
Still this is great and could serve as a step towards mudbox etc!
Would it surprise you to know that all U.S. postal mail is also being monitored and recorded? [1] As soon as they see something addressed to a known WL address they will trace it back, find where it was sent from, find out the serial number of the sd card, get the shop where it was bought, etc. You wouldn't want that kind of attention. And if you don't have a private channel to WL you could only use their public addresses by definition, which would be guaranteed to be heavily monitored.

This is why I consider a working public steganography protocol so important. Using a very short message you could arrange the sd card to be dropped at some random place and know that somebody would come back in a couple of days to retrieve it. Encoded with ordinary simple text, using messages of typical lengths on popular, public websites. There are just too little bits of encoded information there to be statistically significant.

I'm not so worried about statistical analysis of how natural sounding or typical or expected the text you're producing is, as it would be a very difficult problem considering it requires a good understanding of natural languages to be done well automatically. What would be really problematic is that WL may very well be infiltrated and the private key compromised. Then you would be really screwed.

[1] http://www.nytimes.com/2013/07/04/us/monitoring-of-snail-mai...
WPF went that route by using vector graphics everywhere. It has the nice property that it scales fine, but often you can see small one-pixel jumps of elements, e.g. the thumb in a scrollbar or on sliders. This wouldn't matter at all on a 300-dpi screen but with 96 dpi it's visible and sometimes jarring.
> This little guy has a width less than the length of Manhattan, so I was surprised to hear it being called a moon.

Phobos and Deimos are far smaller.

http://en.wikipedia.org/wiki/Phobos_(moon)
http://en.wikipedia.org/wiki/Deimos_(moon)
Read it again. He doesn't call anyone any names. All his ire is directed at the commit.
I bet they're not far off though. .docx and .xlsx files are (mostly) just zipped XML files: http://en.wikipedia.org/wiki/Office_Open_XML
What I don't understand about Linus Torvalds is why everybody is so quick to justify and forgive what is obviously emotional abuse.

If he was shooting people that submitted buggy patches, would you say that was awesome? Obviously not. How is a less violent form of abuse suddenly great?

Lots of shitty solutions are highly effective. Relying on them is the lazy and uncaring way of dealing with your fellow humans.
Why Stanford University produces so many celebrated web entrepreneurs
What about a teaser of it in the mean time? ;)
As the author of TextTeaser noted, there are two approaches to automatic summarization: abstraction and extraction.

Abstraction combines huge portions of two young research fields -- NLP & NLG (Natural Language Processing & Generation). NLG is even harder than NLP, and less researched. Without good NLG algorithm for presenting summary, you can't have more humane summaries.

Extraction simply takes sentences (or some portions of them), ranks them and presents a few best results.

Two years ago, I was at presentation of PhD about text summarization. There I've figured out that you can make fair summarization algorithm in a few hours. Here is an prototype:
https://bitbucket.org/ivan444/textsum/src/1d09b0f4f72a60903d...
Dirty prototype code, it took me just about 10h of work to prepare dataset, think algorithm, write program and tune it (this works only for Croatian language, if you want other language, you'll need to get list of function words for that language -- http://en.wikipedia.org/wiki/Function_word ).
There is also java version of text summarizer (somewhere in repository) and simple tool to get clean, article-only text from any page containing some longer texts (it isn't tuned well, I didn't spent more than 1h of work in it, so I don't expect it works well).

Algorithm is simple:
(1) break text into sentences, (2) extract features, (3) calc features score and sum them, (4) present ranked sentences (and, later, choose a few best).

Used features: normalized number of words, type of sentence (declarative, interrogative, exclamatory), order score (give first sentence a boost, as usually first sentence is the most important one), ratio between number of function words and all words (function words are words without semantic content; there is a fwords.txt in a repository which contains ~700 Croatian function words), normalized sum of three minimum TF-IDF scores (document = sentence).

I don't know the state of the code (it is more than a year old code), but anyone is free to use that code for anything they like.
Connect this to the Shapeways API and you've got one helluva powerful toy...
I have an iPhone app in the store (been there for a while) and it has yet to run into approval issues. FWIW, I don't allow sign-ups from within the app (or direct users to their website to sign up) - I expect users to already have an account.
This is fantastic - and a serious challenge.

Recomuputability is to all intents and purposes the goal of devops and testing. And we are stumbling around at the edges of proving one environment it same as another.

This is one to watch - hell one to join in
And this makes me question whether Github comments (at least on high-profile projects) should be open to anyone.
Or J to keep things ascii. Though I would have loved to have seen Malbolge. (http://en.wikipedia.org/wiki/Malbolge) It's already super impressive, but with some extra work it could be hyper impressive!
Absolutely, but his vision (the Lisa) was the wrong vision at the time. He refined his vision at next (taking in a lot of other people's good ideas along the way) and returned to Apple at just the right time: when the average consumer was ready to pay a bit more for a refined product.
I don't always read Hackernews, but when I do I read it with this - http://nojs.herokuapp.com
Baidu to buy Chinese app store for $1.9 billion in mobile push
bitching about someone making a quine relay takes like 10 seconds, though.
Yahoo should buy Blekko, and then try to develop its own search engine again.
its flat design, or should I say no design. prettier than hn
Ease and scale of surveillance was more a result of technical improvement, and if history has shown us anything, technical advancement can only be delayed, not stopped.

Just because technical advancement cannot be stopped, that doesn't mean that all technical capabilities should be available freely to everyone, without legal limit. Many things are technically possible but still illegal, for good reason.
ridiculously fun to play with,
made a pretty bad looking boo from mario bros
http://pastebin.com/baGry3NF

and a silly render
http://imgur.com/23U99Ab
On the internet, nobody can hear you being subtle

If you want to talk cultural
sensitivity, I'll join you. But my culture includes cursing.

http://marc.info/?l=linux-kernel&m=137391223711946&w=2

tldr: deal with it.
"Read it again. He doesn't call anyone any names."

Yes he does:

"now I'll have to call you perkeleen vittupää"

And according to other comments in this thread, it is apparently quite a foul moniker.

This sort of management style has been lauded on HN ("It worked for Jobs!"), but I have to agree with foobarbazqux's comment[1]; I just don't understand why folks are so eager to not only overlook, but to praise this sort of behvior.

[1] https://news.ycombinator.com/item?id=6050411
Read A Book, Son.
Bucket list:

- get Linus to swear at me in Finnish
requred 386? I was running it on a 12MHz 286 (and it only had 12MHz with TURBO on! yeeeeaah!)
But then it's pretty odd to use Go because you like the language, while not being able to design a proper map().

And map() btw is only the tip of the iceberg in functional programming. But then again, Go is not a functional programming language.
BloomReach Harnesses Big Data And Machine Learning To Personalize Any Mobile App
Are we going to do this every time now?
Does the specs look like it could read any video file without lag or stuttering?

I have a Chinese Android TV box (RK3066) and video playback for 1080p files is not perfect.
Pijama people
> He doesn't call anyone any names.

"perkeleen vittupää"

> All his ire is directed at the commit.

If you made me dinner and I told you over and over that it tasted like crap, I would be attacking you, not the dinner. Plus there's this:

"you clearly never even test-compiled it, did you? ...I don't see how you could have avoided this honking
huge warning otherwise."
Why would you need dual ethernet?
I hope he doesn't talk to his children that way.
How we hired our first software engineer interns and why they’re awesome
Verbal abuse on LKML
> In a very vague way; it didn't really appeal to me, sorry.

+1 The more prose can be kept out of code the better.
Just put a NAS in your network, the thing has gigabyte ethernet.
"you are not your code"

an important lesson, learn it fast.
That's the entire point of a quine.
Charming gestures like this is part of the reason I like the open-source community.

You don't see nonsense like this very often in commercial products (except maybe the Goats transported system-counter in Android, whose open-source status is constantly under debate).
So you've understood the Finnish national mood - the exact opposite to how you felt after swearing :)
That's because there's only ten seconds' worth of intelligence going into the bitching.

A truly worthwhile bitching would take at least an hour.
As I understand, if they wait 10-20 seconds and listen to the network to make sure no conflicting transaction is broadcast, the odds of a successful double spend drops to very very low.
The problem is that many railroad right-of-ways just aren't straight enough. The plains states will be fine, but the high-density areas are a pain.
I'm way late to the party, but if you still have an invite left, I would love to get it. Email in profile.
Thanks!