skysight-inc/HackerNews huggingface dataset:
He says very kind words for Chelsea Clinton:

I think that Chelsea Clinton is the coolest first daughter ever. I've been so impressed by how she has been able to put all of the Washington scandals behind her and focus on her studies at Stanford. I've been thinking of starting a Silicon Valley chapter of the Chelsea Clinton fan-club. Chelsea if you ever read this send me some mail!

Doesn't sound like the rantings of a die-hard Republican. Maybe he is a Democrat who just doesn't support gay marriage? Could liberals have been attacking one of their own?
one of the best regular expression testers online just got better. Great site, love it
I doubt the Scala to JavaScript transpiling is done by hand.
> good luck hiring any gay people

His donation has been well known for years, and Mozilla has had no apparent problem hiring or keeping gay developers even through he held an executive position and had massive influence there. Given that, and the fact that there have been gay Mozilla employees who supported his appointment to CEO, it seems unlikely that Mozilla would no longer be able to attract gay people.
It's nice to have the imports up front. Are you sure you can't give this special treatment to the modules that need it rather than doing it to literally all your dependencies?
That could be true for other embedded projects as well, but then it's the size of the executable binary that is of concern, not necessarily the size of the source code on your development box.
It's true that Belsunce is at 5 minutes of walk from the Cours Julien and La Plaine where the night walk takes place.

This track is amazing. Not lyrics wise: neither the text nor rhymes nor the flow are especially good. Considering that it is a rap song these could be severe drawbacks. But the instrumental is so effective the track is globally awesome.

D'où j'sors ? D'une ronde. Belsunce breakdown.
I sympathize with how you feel, and I think some of these responses miss the point and are kind of inappropriately harsh for someone asking a perfectly legitimate question. I know plenty of CS students/grads feel the same way. I certainly do.

I definitely agree that college is partly about exposure and teaching you how to learn, but it's ridiculous to say that it's not their responsibility to teach you technologies that you'll be using professionally. Yes you should take it upon yourself to learn what you want or need to know. But with the cost of tuition - they should definitely be doing more than they are.

I know at my college (graduated in 2011), there seemed to be a disproportionate offering of courses that one would use if they wanted to become a video-game developer or an enterprise software engineer. They taught us very little about how to actually program for the web.

Getting back to your question.. heres' a couple things to keep in mind:

- It's not the same anywhere. There's a range in curriculums depending on what school you're at (and even within the same school). Some specialize in different things. Some have different philosophies. And some are better than others.

- The truth is, there's so many languages, libraries, frameworks, and technologies - and they're expanding in all directions faster than anyone can keep up. The only thing you can do is try and pick the ones that matter to you (based on what your aspirations are) and specialize. Anyways, given all this - imagine how hard it is for the universities to keep up themselves while designing a curriculum that can fit all of their students.

As far as what you can do - I'm not sure there's a whole lot you can do within the confines of your university, unless you were super adamant to the point of organizing events/rallies or pestering the hell out of your professors and school until they make some changes. And even then, who knows if it would work and in all the time you'd spend - you could probably have taught yourself a few of the things you're pushing to have them teach you.

Here's a couple other solutions:

- Find a professor/TA you like and knows some things you want to learn, and try to get them to tutor/mentor you. (In my experience, this one is hard because everyone's busy)

- Transfer schools. But do your research first to make sure you don't wind up in the same situation.

- Adapt by teaching yourself the things you want on the side. Tackle small projects, each with one or two new things you want to learn. (this is what the other responses were advocating, and I think you need to get in the habit of doing this regardless)

Hope this was somewhat helpful.
Why dignify the comparison? Ruthless withdrawal of a term sheet is simply nothing like canceling a resting limit order. There are two primary reasons: first, it costs tens of thousands of dollars in founder time to obtain the term sheet, and second, because having the term sheet withdrawn creates a signaling problem. Neither of those two things are true, no matter how generous one is with analogies, of resting limit orders.
I feel the same way. Too many corner cases, not many I deal with very often.

So far null propagation seems like the most useful feature for cleaning up cluttered code I'm used to dealing with.

Auto-property initializers are nice, but the syntax looks a bit ugly and I don't see them making that big of a difference in readability. I would rather see something that tackles the ugly-but-necessary construct I see the most: lazy-loading getters. Generic memorization of methods and properties would be even more useful. And yet even more useful would be something that could be used for both memoization and transparent caching:

[Cache(For = 1000 /*milliseconds*/)]
public GetSomethingFromDB(){ ... }

That would be tough to implement well, though. Unless they added Python-like attributes. Which would give us memoization, caching an a myriad other things.
I saw your previous comment as sarcastic and unproductive.
"Suppose Sierra/Scooby received no threats of violence."

And suppose unicorns had wings. You made a comparison and said they were equivalent. I showed they aren't equivalent. Now you want to compare a real-world event to a fictional alternative? Balderdash. And you're complaining about things being 'anti-intellectual'?

How is this action against Eich as CEO anything different than a call for boycott, a boycott, and picketing?

BTW, the Hollywood blacklist was effective because of state and national government involvement since the '20s. The blacklist only started after the House Un-American Activities Committee conviction of the "Hollywood Ten" on contempt of Congress charges for refusing to answer some questions by committee members.

If you're going to make that comparison, where's the heavy hand of government in this boycott against Eich as CEO?

For the record, I support that 12,000 Southern Baptists can call for and carry out a boycott of Disney-owned companies because they don't like that Disney has "Gay Days". I don't support the boycott, and I disagree with the premises which underlie it, but I support their right to free speech and assembly.

Just like I support the rights of free speech and assembly of those opposed to Eich as CEO to call for and carry out a boycott of Mozilla products.

P.S. I checked my memory regarding Sierra. It was specifically those threats of violence which "forced her to cancel a public appearance and suspend her blog". As she wrote, "I have cancelled all speaking engagements. I am afraid to leave my yard, I will never feel the same. I will never be the same." So your fictional world where she received no threats of violence would have been a very different world, and one we can't reasonably probe through hypotheticals.
I wonder if they could fit them with auxiliary saltwater batteries. So they have N days of power from the main battery, then an additional M days if they land in the sea. Given that it takes a lot longer to find crash sites at sea, that's the main place they need extra energy.

That said, i have absolutely no idea if a saltwater battery actually has a higher energy density than some other kind of battery. Probably not.
I'm guessing the following is either near-impossible or pure-impossible, but:

Is there a tool that allows you to highlight portions of a string and generate a corresponding regex? (i.e. the inverse of RegExr)
Replace "best option" with "only practical option" and you're good to go.
"these "embed the title" schemes are just abusing URLs as storage for content that simply should not be in the URL."

I don't look at it this way. I think readable URLs are part of the way the web was designed - this idea that URLs map to individual documents and not to an application that has to translate between the URL and the resource it represents.

Quite to the contrary: Having a database id in the URL is sticking model/data layer logic where it doesn't belong - the view layer of the APP.

As for the permalink problem on changing titles you can simply store a history of redirects for every title that the article has ever had to the current, active URL.
You're forgetting the voice recognition. What if there's no barcode to scan? The Fire TV voice search is excellent -- I used it last night -- and if the Dash has similar tech then it might actually be a useful supplement to the apps.
If it separated from the plane and floated, it could be sunlight powered.
It's hard to design for outlier data. This is the most unusual search in modern aviation history. It is the outlier. With a couple of exceptions, all crash zones are found within days.

What makes you think that increasing the battery by a couple of months will deal with the next extraordinary case? What you're suggesting isn't even an order of magnitude more, though 30 days is already a couple of orders of magnitude more than what is needed 98% of the time.

Hindsight is 20/20.
Iceweasel, here I come.
A lot easier. I imagine you have never opened a beer bottle with a paper handkerchief?
It's also great if you treat it like an intelligent twitter and follow science and tech people. Also party mode on events is killer.
Whatever the intention, it's still a very biased perspective - the fact that the bias is so subtle is what makes it even worse.

There's nothing to accuse - nobody's doing anything illegal or even unethical. A more appropriate line would be "[BC] has previously succeeded in hiring talent away from Google[0]", etc. "Accused" is the objectionable word - you generally don't accuse someone of something positive or commonplace.

It's similar to the effect when newspapers have headlines on how "Snowden's actions" have caused people to be more suspicious of the government. (His actions aren't the reason people are suspicious; they're just the reason people know about the facts that are what really make them suspicious)

[0] or, if they want to keep the word "poach" since the pun is part of the story, "[BC] has previously succeeded in poaching talent away from Google", etc.
reddit doesn't do this You can delete your account and all your associated comments if you want to.
Seems like 6.0 is all about reducing boilerplate. Those default constructors and null checking will probably save me hours of typing as the ctor that does nothing but set stuff and null checking properties all the way down are such common code patterns.
FRP is implemented in Haskell, Scala, Java, C#, and JavaScript off the top of my head.
Regexp::Assemble kind of gets you there, you can feed it strings and it'll spit out a regex.
Compiling a high-level level like Scala to asm.js does not make sense, as asm.js is meant for lower level languages (e.g. C++), not managed languages, although it might be in the future ... http://asmjs.org/faq.html
Qualcomm’s (QCOM) New Technology To Triple WiFi Speeds
People just cannot do unicode even remotely properly. Just cannot.

𝄞 is one char, not two. привет is matched by \w+.

PS there's some advanced stuff but where is basic [[:posix:]] char classes?
My reply was to phrasing in the GP comment that has since changed (It talked about poaching being a literary allusion to dating or marriage).

I definitely think some business use of the word poaching is intended to stir up the idea that some sort of trespass has occurred, but language also tends to like such cute usages (regardless of the presence of an underlying agenda).
That argument falls flat on its face when you consider that this is an industry that destroys a lot more jobs than it creates. You think companies that employ 10 people and then sell for millions of dollars are creating jobs? Where do you think that money comes from? Tech startups have hollowed out thousands of middle class jobs and all the money that pours into them is at the expense of investment in other industries that truly create jobs. I'm not saying that's a good or a bad thing, it's just capitalism. But you can't use job creation as a defense
For those not in the knowing, avoiding import side effect means never having top level code in any python module except class, functions and constant definitions, other imports and the occasional if name = main. And constants must be built-in types.
Would anyone like to share their experiences avoiding this sort of problem in the context of web frameworks and building the back end for larger web sites/apps?

As an example for discussion, the first time I wrote a Flask-based back-end, I backed myself into a corner almost immediately in the following way.

Firstly, the WSGI file that the web server uses to start the application followed the suggestion in the Flask docs by doing this:

# webserverseesthis.wsgi
from yourapplication import app as application

That’s not so bad, but then I started doing application configuration and loading various Flask plug-ins as side effects of that import:

# yourapplication/__init__.py
app = Flask("yourapplication")

# Do some general application configuration.
app.config.from_pyfile("/path/to/configuration/file")

# Set up some overarching security things that modify application behaviour.
from flaskext.securityplugin import SecurityPlugin
sp = SecurityPlugin(app)

This seemed at the time like the obvious place to put such things, but of course, this is really just a variation on the mistake we’re discussing here.

To compound the error, I then used Flask’s decorators to wire up routes from various URLs to the relevant parts of my code. Those decorators work on the application object (sticking with ideas common to many Python web frameworks and avoiding getting into anything more Flask-specific like blueprints) so I was effectively creating circular dependencies from almost everything to that top-level package:

# yourapplication/pages/home.py
from yourapplication import app

@app.route('/')
def home_page():
# Render home page

and then from the top-level package onto almost everything so all those decorators could take effect:

# After setting up the application object in yourapplication/__init__.py
import yourapplication.pages.home

Now, as long as this kind of code only ever runs as a WSGI application behind a web server, you get away with these dependencies up to a point. In practice, your WSGI set-up imports the top-level application package, which in turn sets up the application object everything is going to depend on and only then imports all the supporting modules/packages, and everything “works”.

However, as soon as you want to write tests or otherwise reuse any of the code in a different context, the entire system is a big bowl of spaghetti with all the usual problems. The moment you import any part of the system to run a unit test on something in it, you get much of the rest of the system as well, complete with the side effects of any imports therein.

This was of course all horribly naïve on general programming principles, but the nature of these frameworks tends to push in this direction, and even Flask’s own documentation features various simple examples that follow a similar approach, so I’ll forgive myself for falling into the trap the first time. I’ve since experimented with various techniques to break the cycles and avoid the side effects on imports, with some success, but frankly I’ve never found a satisfying, general strategy for organising larger code bases built around a web framework.

How is everyone else doing this?
The editor is amazing. All of this is web based, including the editor?
Probably not what you're looking for, but check out http://nbviewer.ipython.org/url/norvig.com/ipython/xkcd1313....
April 5th 2014 is International TableTop Day. Play more games.
Works with Google+ too.
It doesn't support \p{} either for matching Unicode classes. e.g. \p{Lu} matches uppercase letters (so also Æ and Ö counts).
Replacing the name with a unique id is not enough to anonymize the data. For example, the "anonymized" AOL search data release:

http://en.wikipedia.org/wiki/AOL_search_data_leak#Notable_us...
"aaa" is a valid regex that matches the string "aaa". If you have special characters in your source string, many libraries have a regex for escaping them. So, generating a regex to match your exact string is trivial. Even matching a group of strings is trivial via (aaa|bbb|etc), though it gets long.

Given that, what I think you're really asking is, "how do I automatically generate a regex of optimal conciseness given a set of inputs I'd like to match, and maybe a bunch of other inputs I want to avoid matching?"

This looks like it iteratively does what you want: http://regex.inginf.units.it/ (Note that when I went there, it said "6 slots available", presumably because everything runs server-side. If a bunch of people pile in there, you probably won't actually be able to test it due to limited resources on their part.)
Cartoon rendering is so lovely: http://p3d.in/8hYor
Nothing wrong with this at all.
Or just automatically eject floating GPS beacons on impact. You only need one good ping to the satellite to define the crash area.

This is not the first time this has happened. After Air France there should have been some added location method, it took two years to find the black box.
When Your Carrier Becomes Your Bank
Similarly, I've heard that the cockpit voice recording only keeps the last two hours. While that deals with 99% of the cases, here it will miss out on all conversation near the point that the flight began to go off course, and indeed hours after that.

What would be the cost to simply bump the recording time up closer to the maximum flight time possible on a full tank?
(Oh, I see what you meant now.) The things on that page are protocols which require further allocation of numbers and/or names by IANA, and is not directly related to what protocols specifies the use of SRV records. The “three protocols” you mention are protocols which require further allocation of numbers and/or names in their use of SRV records in some way. This does not mean that only three protocols specifies the use of SRV records.
People are more than free to express any opinion they have, including the opinion that bigoted discriminating opinions are wrong, and don't really fit the ideals of an organization such as Mozilla.
I'm not sure you can generalize that. It was a Chinese agency that "mistakenly" posted those misleading satellite images, while the U.S. was the first to draw a connection between satellite data and the Indian Ocean as a possible crash area.

There have been mistakes, false leads, and promising revelations across the board.
The Chinese also spotted debris on satellite imagery (on an area that had been thoroughly searched) as well as a "sea floor event" (a week after the claimed event) in the South China Sea. I wouldn't jump to the conclusion that this newest finding is an instance of effectiveness just yet.

edit: whoops, 'peeters posted just as I did
Here is the problem with that:

Consider the string
abcdefgh

Guess what!? I have the perfect regex to match your string.

"abcdefgh"

So given a string literal, there is always a regex to match that literal. Namely, the literal itself.

Really, what you want is a tool that, given several examples, will generate a regex that matches all of them.

So you'd give it:

aaaaabaa
aabaaa
aba
abaaaaa

And it'd generate "a+ba+"

The problem with that is, given a corpus with a set of tokens { T0, T1, T2 ... }, I can give you a regex that will match the corpus!

"[T0 T1 T2 ... ]*"

or even

".*"

So it will match everything in your corpus! But unfortunately, it will match a whole lot you don't want, too.

So ideally you want a regex that matches everything in your corpus, but nothing outside the language you are trying to describe. This requires both positive and negative learning examples. The problem is that for most applications, you'd need a lot of negative examples.

Source: Working on this exact problem for graduate research
The Oracle of Omaha, Lately Looking a Bit Ordinary
The list I linked to is a list of all protocols known by IANA. Whether the use of SRV records is allowed by the individual standards is not recorded by IANA; one would have to search each individual standard to find out.

HTTP, notably, does not specify the use of SRV records.
Changing my browser window width doesn't seem to affect anything. Even after a page reload. It doesn't seem responsive at all. Am I missing something?
Ask HN: How does the "apply late" in YC application work?
I see YC Application has got "apply late" link. However, when you follow that link, it gives you a message "Sorry, this application is no longer editable."

Is it only me or is it the same for others?
Yeah... And it makes a lot of older threads nearly unreadable...
I don't know anything about the project but it looks like there is a working implementation of the protocol in ruby in that linked repository (just not in the master branch).

There is also an in-progress c++ implementation of the protocol in a different repo [1].

Even so, it's pretty clear that the thing isn't ready yet and even states that it shouldn't be used for anything other than test data.

[1]https://github.com/larroy/clearskies_core
Yes! We're using this extensively on Smitecamp.com
Everything you describe as attractive qualities you don't want to sacrifice are fashion fads that were once considered unattractive.

The insightful notion that life at 20 is permanent adulthood and the future is irrelevant has been believed by 20somethings for millenia.
I really think that a “SHOULD NOT” in an RFC is a sufficient reason to not do a thing, yes. I further think that specifying the usage of SRV record is wholly in scope of the RFC specifying the SRV record.
If you cannot write good specifications, then probably you shouldn't, except for exercise purposes. There are then two possibilities: 1) you work in a team where there is a job for someone just implementing specs instead of coming up with good ones (usually such a team is mediocre at best) 2) you should be fired and replaced by someone who can write good specs.
"each second" perhaps.
Malaysia Airlines MH370: black box ping detected – reports
tl;dr Use your college life to build cool stuff, just because you can. You won't have that liberty once you come out

> I might drop out next year.

My guess is that you are serious about this. As a student myself, and having been thinking on similar lines over three of four years of my college, my opinion is - finish what you started. It is absolutely true that what you learn in college is outdated. But, what you get in college and don't get once you come out is the sandboxed environment. In college, you are free to explore your will, do whatever you want (even find co founders, if you are enterpreneural); there is no pressure. The pressure palpably increases once you come out. You can do that (do cool stuff for fun) even after college, but it's infinitely harder.

> since I already know a lot of stuff/tech

You might be the best in your college, but never let it get into your head (I'm not saying you are)

PS: It became a long reply in the end. My apologies
You might find these two links interesting: http://stackoverflow.com/questions/3180685/how-can-i-make-me... https://bitbucket.org/Yrlec/funccache

The first one is an answer I wrote on SO and the other is a library I wrote a couple of years ago. Both are are different solutions to the caching problem you describe.
Lazy<T> is quite useful for lazy-loading/memoization.