skysight-inc/HackerNews huggingface dataset:
Anxiety is more about mental health than it's about circumstances. If it gets in the way of living, you should get it checked out. You can still fight for the right thing, as you see it, when you're not anxious anymore.
Most languages will have some sort of way of letting you extend them; inasmuch as this will require a new way of lexing, this will add some coupling.

One example: shell aliases. The shell syntax in POSIX is defined in the standard lexer/parser divide (which is already a bit of a pain, as a significant of the parsing logic is needed to correctly tokenize command expansions). When you encounter an alias expansion (which since it has to happen in the command position, doesn't happen until parse time) you expand the alias, and then need to re-lex the results.

In practice, many mature compilers and interpreters use a recursive-descent parser rather than any of the LL/LR/LALR things I learned in school.

Common Lisp actually defines its syntax in terms of a recursive-descent algorithm, and that's a language that largely came out of academia.
The "Machine Learning Summer School" lecture series is happening now at UT Austin - I made the call to catch up with family over my winter break rather than attending, but the lecture slides from the presentations look super interesting. Judging from the slides, this lecture must have been particularly awesome, though the slides from the Sutton lecture are interesting as well.

Here is the link to the schedule of speakers, along with the slides that have been posted so far[1]. If anyone in attendance has comments about how the series has been in person, I'd be quite happy to hear details.

[1] - http://www.cs.utexas.edu/mlss/schedule
Well, SSHing may be not that useful for those who just want to fly a drone, but it's quite useful for developers, researchers and enthusiasts. Compared platforms are way less powerful and won't be able to perform new advanced flight algorithms, as well as they do not provide easy network connectivity for 1080p H264 video stream from Raspberry Pi's camera module.
In aviation is there an implied "see something say something"? By that I mean if you thought a pilot was acting strangely when you were in and around the airport how would you or other pilot's handle the situation? (I know it's a total "it depends" obviously.)
It's more likely that it would be a blanket ban even covering applications that are not particularly hardened simply because they don't have any official wiretapping capability.
> Public transit is terrible here

It sounds like you've never traveled outside the bay area. Muni + BART + Caltrain is far more than most cities have. What other cities have a system like Caltrain?

I'm not saying it's perfect, far from that. There are plenty of issues, especially with Muni. But it's not terrible.
Gmail spams emails with words skype and outlook
Recently I noticed that a standard email that I send to people keeps getting marked consistently as spam on gmail while my other emails go through.

I tried to debug the issue and finally figured it out.

If I added the line: "My skype is : myEmail@outlook.com" , gmail would consistently mark it as spam with the message that this email looks like spam detected before by gmail. As soon as I removed that line, the same email would go through.

I couldn't believe this so I started making test accounts on gmail and this kept happening.

Have anyone else experienced this before ? If so this sounds like a very crappy practice from Google, is it legal ?
OS X Yosemite Bluetooth: Local privilege escalation vulnerabilities
Is this the same as the primary key hashmap thing that Teradata has been doing for many moons? Seems so. If not, why?

Trying to break down the mumbo jumbo in database product releases is a nightmare - it took me a couple of days with SAP HANA, which I think boiled down to in-memory with row and column selection per-table.

It feels like nobody is brave enough to offer an apples-to-apples comparison in their press releases.
HFS+ is basically the Apple equivalent of an alternate universe where Microsoft just keeps gluing new features on to FAT forever and never creates NTFS.
Shoot me an email (in my profile)
> "They're [Google] responsible for a lot of the pain the area is feeling," said newly inaugurated City Councilman Ken Rosenberg

Can anyone explain this? What "pain" in the area is Google responsible for?
Whether I agree with you or not, my point is merely that your position is vastly in the minority. People broadly trust the NSA more than random hackers.
I see that several comments here doubt that the factual statements in the submitted article are true. That's something to think about before deciding how to respond to the article being posted here.

My comment on the substance of the article is that one way to reality-check French colonial policies in Africa is to see whether African countries that had a different history during the period of Western colonialism on the continent fared differently in recent decades. Ethiopia was an independent country except for a brief period of being conquered by Italy in the 1930s, becoming liberated again during World War II. Liberia was formally independent, although bound to the United States by economic ties as it was founded as a repatriation site for freed slaves from America. Various countries in Africa were British or Belgian or Portuguese or even (briefly) German colonies before gaining independence. Looking at what former colonies of a particular colonizing country have in common might shed a little light on what the varying colonial policies and post-colonial policies have done in Africa.
Funnily enough, I've had the same thoughts about variable names. We expect case-sensitive variable names because that's what we're used to, but they're not obviously the right choice. I've worked on reasonably sized lisp projects with case-insensitive names with no detriment.

Most of the time, having both a `foo` and a `Foo` identifier at the same time is a bad idea: it's hard to remember which is which. The only time it makes sense is when it's backed up by strong conventions: say, `foo` is a method and `Foo` is a class. With these conventions, you're not really remembering `foo` and `Foo`, you're remembering "`foo` method" and "`foo` class". In a sense, it's just a hack to have sigils use an otherwise unused part of the identifier, just like tagged pointers use the unused bits of a pointer for metadata.

Using capitalization for sigils like this is fine, and works well in practice, but you could as easily use some other symbols in the same role. At the very least, it helps to have the conventions built right into your language (like Haskell) than just followed manually (like Java). Moreover, having significant capitalization outside the conventions (ie in the rest of the word) will still just be confusing: was is `subString` or `substring`?

I don't know what the best solution is, but case sensitivity everywhere isn't it.
> But if I want more buses, I can't just give the money to the city.

Sure you can -- its called a grant. Private entities can issue grants with public entities as the recipients -- it happens all the time.
The magic homomorphic system doesn't exist, and I don't see any reason to believe it will exist on a time frame I care about. Short of that we can either deploy our own infrastructure (capital) or lease it from someone else (opex/"cloud"). The cost/benefit there is a business decision, and I see no reason to believe the latter option is truly "a single company."
Do you know if those numbers include people indirectly putting their hours toward that farming? People who designed and built the tractor, people who pulled the tractor fuel out of the ground and refined it - and who built the machines to help with that, &c... So far as I understand it, LtV would include those things.

Note that I nonetheless believe you're correct that there's been a dramatic dropoff in the portion of labor we put toward farming, directly or indirectly.
you get one shot: would you rather take a 10% chance at a million dollars, or a 1% chance at a billion dollars?
Last Call: HTTP/2 Violates RFC 7258 / Best Current Practice 188
A Know-All for Your Travel-Sized Shampoo
There a lot of boards that outperform BBB 10-20-30x times. But both RPi and BBB are more than enough to run an autopilot code.
One of the great advantages of RPi over BBB is 1080p camera module with hardware H264 encoder as well as bigger community.
Virtual Reality Comes to the Web–Maybe for Real This Time
We are already starting to win the loudness war now thanks to iTunes SoundCheck. I'm not an iTunes user but as far as I understand it, it causes iTunes to adjust all tunes in a mix to the same perceptual loudness. If everyone adopted this or a similar technology (such as the open ReplayGain) there would be no incentive to master loud any more, for albums at least, because the player will only turn it down again meaning the net result is only loss of quality. Hopefully iTunes support for this tech is a turning point in the loudness war.
Huh, that's cool. But since Google is already running buses, how does interposing the city make tings better?
I don't know anyone who uses that stuff, except maybe Hotblack Desiato.
Studying hard and going through college is arguably labor spent. I don't know how we should weigh marginal vs. total labor in this framework.

But note that I don't think the parent comment was talking about compensation - indeed, the bit you quoted seems specifically to consider them different things.
Hot girl singing Every rose
How to design and implement Microservices
The photographer mentioned in the comments that they are working on it now. They should be up at the site below, or if you are impatient you can use the contact form to ask.

http://fineart.laforetvisuals.com/
> Google (et al.) can quickly address a need in the community.

And therein lies the problem. Who are "et al." and "the community"? How much does each of them pay? Where do the buses go? Who's allowed to use them, and how do you keep people who aren't from doing so anyways?

It's almost like you need to create a decision-making body with the ability to raise and spend money, and make and enforce rules. An Alþing? Folkmoot? I'm sure we have a word for this.
Teens on Social Media – The Kerfuffle
> It sounds like you've never traveled outside the bay area.

It seems to me that many urban areas in the US have better public transit than the Bay Area, and, even moreso, places in the developed world outside of the US tend to be better than the US.

Its true that the Bay Area's public transit is better than pretty much anywhere else in California, but that seems to be setting the bar low enough that you can trip over it.
As far as I understand the attack, the attacker brute forces his own DH secret, not the DH parameters. So attacker has the parameters for both connections, gets the public keys from both chat partners and then brute forces two secrets such that the hashes of the resulting DH shared secret match. For this the attacker needs 'only' to brute force the keys, not the parameters.
So far (4 hours in) it seems the vocal portion of the HN brain trust would vote for removing the link and changing the title to a question...

Is anyone willing to contribute insight or actionable information in the interest of a better discussion? The article is steadily climbing the front page, so this is clearly a popular topic.

Parenting is a tough subject to discuss without resorting to anecdotes; I would be interested to hear what HN-ers have to add even if it wasn't particularly insightful or actionable!
> "Now imagine, your father was the lead architect of the gift card system he worked on for five years, and he gave you the very first issued gift card as a gift instead"

Because this (supposedly) time-originating value is present when it was my father that put it in, but completely absent when it wasn't, it is incorrect to ascribe this value to time. Mainstream economics isn't missing anything, these students are just mistaken.

Coincidentally, I also received a book this year which was written by my grandfather in the 60s. Folded up inside of it was a letter to him, from Thomas Watson Jr (who was the president of IBM at the time) congratulating him for his contributions to the field and having the book published. In one of the first sections of the book, my grandfather lists various people that helped him write the book and in doing so, reveals that the book was written over the course of several years. This gift is meaningful to me, but not because of the time my grandfather spent on it. If it were meaningful because of the amount of time spent on it, then it would be meaningful to anybody. Obviously that is not the case.

In your giftcard situation where the first giftcard is gifted to the child of one of the lead architects, would the gift be less valuable if it wasn't the very first card issued? Presumably you specified that it was the very first card issued for a reason, but any value that first card has which subsequent cards do not is obviously not attributable to the time needed to create that system. Whether you have the first card, or the 5,000,001st card, the same amount of time was spent producing that system.

Value added by exclusivity (having the first of something off a production line for example) is well accounted for in modern economics.
As a ultra-simple example: with a case-sensitive file system I can have two directories, "documents" and "Documents". Which one are my documents in? Half in one, half in the other, probably.

This is a source of confusion, but filesystem convention is not the place to solve it because it can't solve it. I can still have three directories for bug #12 "ticket_12", "ticket12" and "ticket 12" Which one is my investigation in? Is documentation in "doc" or "docs"? etc...
Seems world leaders didn't “lead” #CharlieHebdo marchers in Paris
The buses are already regulated by the city. The city doesn't need to own them.
Thanks! I will definitely try your ideas. I have to agree that changing the water decreases flatulence... I love the beans hate the flatulence
Has anyone ever gotten in trouble for working on side projects during work hour?
Has anyone ever gotten in trouble for working on side projects during work hour? How did they find out?
Decoding the net neutrality debate
If you think investors can behave badly, it's nothing compared to what corp dev people can do.

I didn't think it could get worse. Jesus, what is going on with this system?
Cloud-to-butt is like a gift that keeps on giving.
Pro-tip; never do .ToUpper() / .ToLower(), use foo.Equals(bar, StringComparison.OrdinalIgnoreCase), saves a string allocation also only loops over the strings once. For the truly anal.
I agree with Linus from a technical point of view but I think Apple had many considerations here.

A number of games (and possibly other programs) on the App Store alone specifically mention that they will not work on Macs configured with case-sensitive file systems. My guess is that this aids programmers who may have ported something from Windows and not tested all possible file/path dependencies.

This may also help users when copying files from Windows network disks or Mac legacy systems where (from their point of view) they expect things to work.
Thanks for the response. I agree with your thoughts on hiring. I'm one of those guys who came in and learned Scala. The initial reason for my team using Scala was, "Why not?" Since that time, my colleague who hired me has left the company and I have been the lone engineer on the team.

We're currently looking to hire a second engineer and have also been rethinking the direction of the data engineering team. Changing the language to Python was a suggestion for the hiring factor and because it is the popular language for data engineering. Scala has been a fun language over the last year and a half and I wouldn't mind sticking with it because it has been fun. For that reason, I have spent time comparing the two languages for data engineering and haven't come to a consensus on which one is ideal for my team.
Several years ago, when I'd first moved to SF, I got a scholarship to WWDC for working for ACM, and I took advantage of the opportunity to go to a Birds-of-Feather for people interested in "Darwin filesystems" or something like that. It was basically a little conference room with the FS team, and I asked, flat-out, "Why case insensitive?"

And they answered, flat-out: "Microsoft Office"

Even this past week, I was talking with coworkers about having trouble with nothing but Valve Steam on my Macs that have a case-sensitive filesystem[0]. That's particularly odd, since it works on Linux now, but that's another matter.

What I found most notable about this thread, is this quote from Linus:

"And Apple let these monkeys work on their filesystem? Seriously?"

I'm pretty sure Apple actually _fired_ anyone who wanted any of the things done anything close to any way that Linus Torvalds would agree with.

ext* not being particularly perfect, I'm happy to have both. I mean, ext2 is hard to complain about, but it comes from an era where basically all filesystems were terrible, literally the era when SGI started installing backup batteries to race with fsync().

ext4 has an alarming number of corruption bugs, but I'm sure it's not because of insane unicode handling, though I take Linus' description of how the OSX filesystem works with a grain of salt. He can't possibly _care_ to know as much about it as he knows about Linux's.

[0] achievable by formatting HFS+X in Disk Utility in Recovery Mode, then installing onto that drive
Yeah this is a good point, if you are tightly integrating the linux bit to the flight controller bit you will get some benefits here, I was focusing primarily on the topics other people keep mentioning like compressed video feeds which don't require that sort of integration.

It is certainly an interesting project, though personally I'd be more apt to buy/build a BeagleBone Black cape to achieve this sort of thing over a Raspberry Pi board.
Show HN: Asignify – fast and secure library and a tool to sign or encrypt files
Mac OS X's NFD conversion was the problem for me. The case insensitivity was, superficially anyway, not the problem - you get back the filename you initially wrote (it just could overlap with another file that is not clearly defined because world languages are crazy). But NFD changes the filenames you wrote into a different byte sequence.

I've use all linux systems for a while, recently added a macbook pro retina. I keep some personal directories of stuff backed up on multiple systems, along with a "manifest" of files and md5sums.

NFD conversion meant that file names, which included correctly-encoded utf-8 (NFC ...) accented characters, changed between writing them, and "ls" of the directory.

If I didn't already have experience with utf-16 and all sorts of unicode encoding and translation silliness, debugging this would have been impossible. The fix was to add this to my scripts:

| perl -M'Unicode::Normalize' -M'open qw(:std :utf8)' -ne 'print NFC($_);' |

man oh man was that hard to figure out though. Mac OS X is way way harder to make work right than linux. (See also disk utility)
Interesting that's why cities like HOAs so much - they provide some of the services which would otherwise be provided by the city. Things like slow plowing, lighting, garbage pickup, and maintenance of shared areas (which would otherwise be public areas). Yet they still collect taxes from them.
"This is almost definitely why OS X uses case-insensitive HFS+ by default."

See my other comment, whereby the Darwin team told me they use case-insensitive FS because Microsoft Office internally converts filenames to uppercase or lowercase at its' leisure, often several, if not tens of times during an operation.

I could be wrong, the person / people I talked to could be incorrect, but I've never heard another explanation that was not speculation.

Your reasoning all applies reasonably well to why Microsoft decided to buck the trend and go case insensitive, since case sensitive was the norm up until they came along afaik.
Many huge companies are already invested in java. Big data tools are overwhelmingly written in java. However java the language sucks and scala has a veneer of coolness that makes bigco developers feel like they are being innovative. (See walmart's recent use of scala for an example).

I'd focus on hiring the best data scientists you can, and let them retool if they feel the need.
Still - how would you feel as an employee of the acquiring company? Especially knowing that the newly-acquired employees are listening in? At best, awkward.

It's just complete verbal diarrhea and he should retract it (though the damage is mostly already done).
Secondary stock sales means the founder sells a portion of their stock in the company in exchange for cash today.

There used to be a widespread belief in the VC world that you wanted to prevent founders from seeing any cash until the ultimate exit. As negotiating leverage has shifted towards founders this has gone away.

It's stupid anyway, since allowing founders to see a little cash up front actually aligns incentives much better once the company is somewhat successful.
This issue is nowhere near this serious, it's only exploitable from within the LAN. (http://forums.smallnetbuilder.com/showthread.php?t=21774)
Building the Workplace We Want
I have been in this position once and the biggest lesson I had for myself was to aim for profitability and self-support in the company from the start. When you do that you have a much stronger position. One could replace profitability here with lots of user growth + VC money.
A good Definition (from the article):
"... Success is having an interesting life. "
Swiss Bank BCGE compromised; client’ personal data made public
No, I think that building your site wrong, then relying on using dirty hacks is wrong.
> What's the "value" of your receptionist? Well how do you measure that? Simple: get rid of her, and have your developers answer the phones. The decrease in productivity from that is the value of her position

That value is not absolute. That's just the value to me as his or her current employer. The same receptionist would have different value to an employer with a different cost structure. This is why an intermediary like price is required.

> The older I get, the more I think that "value" (our social evaluation of worth) should be based on nothing more than hours of labor.

> An hour of labor from someone with a 130-IQ might carry a higher price on the market than an hour of labor from someone with a 90-IQ

1. These two statements are fundamentally at odds. The mere existence of a market price directly implies that some number of market participants have made their own judgments about the value (to them) of that hour of time.

2. "hours of labor == value" is the fallacy behind make-work programs where people effectively dig ditches and then fill them back up. There's nothing changed when they're done; how do you capture that economically?
The traditional theories about parsing and their implementations in tools like yacc, lex, antlr, etc. are not that important in practice. I also used them in some university courses, but after I encountered parsing problems in practice it seemed easier to just implement a recursive descent parser in the host language.

First, you have to learn the DSL's of these tools (which are non-trivial in detail). Second you have to integrate them into your toolchain. Third - and that is my biggest complaint - you have to connect the Parser combinator's AST to your domain AST. The last thing is pretty amusing as I consider it the main purpose of a parser.

In practice (hopefully after evaluating the need for a custom data format as it might be possible to hijack existing languages and standards) I either use a combinator-parser (if FP available) or an ad-hoc recursive descent parser. Maybe I consider a lexer but the representation of tokens is also a non-trivial decision.