skysight-inc/HackerNews huggingface dataset:
I'm not sure I follow. You're basically arguing for including style attributes throughout your HTML. CSS classes are always a layer of indirection, regardless of whether they are semantic or functional. As such, you shouldn't be forcing style and layout directives into the structure of the document.

The main benefit of what I'm describing isn't actually semantics. It's allowing CSS to do what it does best: cascade.

Say I've got an application where I've got several pages with unique layouts and the designer has come up with a new form style that has all the labels inline instead of on top of each input and has a new dynamic tour system that needs some area on the right of each form.

If you were using Bootstrap classes directly, you'd have to go to all of your forms and add .form-inline and change the column size classes. You wouldn't want to redefine what those classes are because that may have effects on other areas of the application. This may also break some of your Javascript, as it was dependent on those class names.

If you were using semantically-named classes, you'd simply change the width and add @extend .form-inline to your main form placeholder (which is in turn @extend'ed by any specific form class). Your HTML would stay the same, meaning any Javascript dependent on those classes wouldn't break.
do great stuff
How I Turned $200 Into $2600 Using TaskRabbit To Sell My Car on Craigslist
I don't see that answer arguing that `safeHead` is bad. Russell O'Connor just seems to be arguing that it'd not be possible for `head :: [a] -> a` to have a sentinel value `uhOh :: forall a . a` which you could pattern match on when `head []` is called... but `safeHead :: [a] -> Maybe a` is just fine since it has a different free theorem.

In the comments on Real World Haskell people (Alex Stangl and Paul Johnson in particular) are talking about added complexity of deferring invariant errors, but since these are type-declared via `Maybe` it really helps to add safety. I personally have written many, many functions with partial types because I had forgotten about some assumed invariants and had them fixed by use of `safeHead`.

NonEmptyList is pretty good for pre-handling all of the failure modes.
No, most of 'these stories' have been about the minutiae associated with Snowden's asylum requests. Reading one of these stories or the associated discussion is like watching an old episode of Three's Company - the details might be slightly different from episode to episode, but you already know the general plot. These stories take the place of articles that are more interesting, degrading the site as a whole, and do absolutely nothing to help any sort of political cause - in fact, because most of the stories are so content-free, they probably cause people to skip over the rarer more-meaningful ones. It's all really rather tiresome.
I think the point is to get the data into Excel. You can use the API wherever you like, but how are you going to get it into a live spreadsheet? (Writing to a CSV and importing the result isn't the same thing.)
None of these "date rape drugs" even come close to comparing to alcohol.

It's the original and most effective date rape drug, and no one even really objects to people using it for that purpose.

Getting people drunk to get them to sleep with you isn't really /wrong./
Once you start using scary drugs that no one has ever heard of, then wow, that's something we can condemn. Especially since no one we know would ever do such a thing.
That makes sense, for the same reason that pickpockets rarely look like seedy hoodlum types, and instead blend in with the crowd.
For those that does not remember/know what Flynn is: Flynn aims to enable you to run your own mini-Heroku with a lot less hassle than current solutions. It builds upon the excellent work of DotClouds Docker.
The argument seems to be "you shouldn't do this because it accomplishes the goal it was intended to". Saying don't use this pattern to hide internals because it achieves the goal of hiding internals seems dubious at best.
10 Entrepreneurial Buzzwords You Have Been Using (Too Much)
That could be true. I know I have a pretty heavy case of imposter syndrome, but in times of my own egomania I like to think that it's actually just the other side of the Dunning-Kruger effect. As long as it isn't debilitatingly severe, imposter syndrome seems more like the trademark of a humble man (or woman). What's wrong with that?
The recorded signal would be exactly the same. GPS just sends the clock of the GPS satelites and their positions. You then calculate your position from the runtime of the signals ...
Court Marshal Sexually Assaults Woman, In Front Of Judge,Then Arrests Her
It's also a common meme to believe in "10X programmers", and it's things like that that makes me the most insecure. I am content with not being the best at what I do for a living (in the future - I'm a student), I might even be content with being very average at what I do. But I don't want to be average if that means to be a "1X programmer" who's paycheck and productivity is for the most part subsidized by the 10X programmers, either by them being on my team or them being halfway across the world as contributors to libraries and what have you.

Well, we're all standing on the shoulders of giants, so that last part might be framed very pessimistically. But I just don't want to be programmer that either brings a comparatively little to the table or even a net negative of contribution on bad days, who has to have some mythical 10X programmer in my vicinity (on, say, my team) in order for me to get anything remotely useful done.

It's only partly about self-esteem: if I don't have a talent for this gig, I want to find out about that so that I can get out gracefully. So it's not just a question of thinking positive and getting better self-esteem, it's also a question that has practical implications.
How to learn to Code
Don't Apple own the multitouch technology though? Presumably through their purchase of Fingerworks.
That is an incredibly well defined "why". Everyone should find theirs and remember it often.
Regarding #3, what data are you going off to say that Rohypnol has not been detected, and that drugging overall is uncommon? I have experienced it twice in the past 18 months through friends whom I have drank with many times, and had a very obvious reaction to one drink which often had been bought for them or left on a table/bar at some point that evening. Unless someone poured them a drink comprised of 6+ shots worth of liquor, there is no way they would have gone through the change they went through in that one drink. Also, if it had been that much alcohol, it would have been noticed in taste.

Uncommon is pretty broad, if something as severe as being drugged happens to one person out of every 200 each night, it is "common" in my mind.
2 Flavors of Continuous Delivery: Centralized versus Distributed
The parent isn't talking about MITMing the signal to modify it, just to delay/buffer it. No need to decrypt/encrypt. If you could delay the signals from different satellites by different amounts, would that not also change the position?
DH is also not a zero-knowledge key exchange algorithm. I think what's confusing you is that DH (a) is a useful building block for forward-secret protocols and (b) generates secrets that often require zero-knowledge proofs.

I'm not sure what paper you're referring to but wouldn't be surprised if Diffie's name was on one of the first "forward secrecy" papers; that stuff is/was kind of Whit Diffie's beat (not "privacy" per se, but the higher-layer implications of public key cryptosystems). But Diffie-Hellman predates any formalized notion of forward secrecy by something like 20 years.
Considering the state of the infrastructure in the US I think the last people I would trust with this is the government. I can see a model similar to how natural gas and even electricity is using in some states, where their is one carrier responsible for the pipes/lines and everyone and their brother selling service over it.
I don't know if it's weakness. I'd say it's more along the lines of lack of self confidence. You do tend to see this more from females. Source: male who thinks he has no valuable skills but manages not to get fired somehow.
Chintan - I'm with VentureLab at Gatech. This post is fantastic! Aswin is a rock-star, and it's great that you are stepping into leadership at StartupExchange. Let's get together next week if you're in town.

Harold.solomon@venturelab dot gatech dot edu
Considered harmful is a little excessive considering his analysis is that it's hard to test. Hard to read is very subjective (I find no issues with it).

As for extension, it's a pattern that is useful in some circumstances. It's not really something you would chose to use if you needed extension. I was going to say it was like saying a Singleton is harmful if you then change your mind later and decide you want multiple instances but I'm pretty sure I risk being called out for hyperbole.

Generally though I find the notion of struggling to wedge privacy into JS code a waste of effort, there are much cleaner patterns. You are always relying on personal/group discipline and good habits when coding with JS anyway so why start by disadvantaging yourself.
The guys responsible for Node have been on record as saying that Node could probably be considered "stable" starting at 0.8, because that's when they decided to start supporting backwards compatibility rather than habitually breaking the API.
What it's like to drive the "Google Bus"
Sharing Your Labor of Love: PyPI Quick And Dirty
Slashdot and Reddit both have channels dedicated to privacy:
http://slashdot.org/tag/privacy
http://www.reddit.com/r/privacy

They also both have a channel dedicated to politics:
http://slashdot.org/tag/politics
http://www.reddit.com/r/PoliticalDiscussion

Those sites will be no better and no worse than HN when it comes to your criteria.
Interesting that it was rejected because of 7,724,242, by Danny Hillis and Bran Ferren. Both of them are "Senior Inventors" of Intellectual Ventures, the patent uber-troll company. I wonder if one of IV's shell companies is prosecuting '242?
That's where I think this product can't really be considered a consumer product. It would be much more useful for businesses.

At first glance, the same criticism holds for a bar that has these ("you think your patrons are rapists?" or "that place is so bad it needs those cups" spring to mind). But I feel like that's just a marketing challenge.

Instead, I think the company selling the cups could market them with focus on the avoidance of sexual assault and make their customers (bars/clubs) look like community leaders. Maybe they'll even have a cool little symbol to plaster beneath the neon signs. I have a hunch that that symbol could sway more customers than the availability of Bud Light.

Just some of my thoughts.
if you say so
This is one of those things that requires a balance. I do not want a junior asking me something that they could just as easily Google.

I DO want them to ask me about some company- or domain- specific tech, so I can save them a day of research with a two-minute explanation.

If I can unstick them when they are stuck, that's great. If they get stuck every fifth line of code, or on simple problems, that's terrible.

The advice to listen more than you talk is excellent. Soak up information and then take questions offline. You don't want to be "that guy" who holds important high-level meeting with newbie questions, or derail a business discussion with questions about engineering trivia.
You must be talking about this thread, relating to his attack of Tim O'Reilly as a "Meme Hustler"

https://news.ycombinator.com/item?id=5472759

Well, I'll leave it to people to decide if the top commenter, potatolicious, was right in dismissing Morozov's piece as being too long. Frankly, that's the nicest thing you can say about Morozov's takedown, which confuses "length" with "substance", unfortunately.

This was O'Reilly's response, FWIW: https://plus.google.com/u/0/+TimOReilly/posts/Q8EqCQJstBE
Amazon hiring 7,000 workers
The reason what are truly necessary? Private methods? The author doesn't seem to think they're worth bothering with given the trade-offs. Out of interest what makes you think they're necessary?
No, I agree, and I mean exactly what you meant.

Either you say that something is dangerous (as in your example, drugs, weapons... etc), or it has to be considered a scam.

I may be wrong and I would like to understand this better, but I don't see how they can declare it illegal to buy unless they find a loophole (money laundry, etc).

But just saying you're not allow to buy it, without associating with it a motivation (which could eventually be challenged via various Courts), doesn't see easy to me in the US.

They can't even manage to ban weapons really.
Strong disagree. That was a clever logo and one I hadn't seen before.
That's arguable. I think the line between "these friends know each other and have been flirtatious in the past, it's okay that they got drunk one night and hooked up" and "this random person put a date rape drug in that other person's drink so they could take advantage of their state" is extremely large.
Thoughts from a summer of startups
"Getting to work" means "working on what you're working on while improving upon what you're working on". I don't see how that differs from pushing yourself outside of your VDOT times.

What's being advocated in the article is going to watch the high jump practice. While you might gain some insight into, say, different training techniques, you won't learn very much that is going to help you maintain your times, let alone improve upon them.
That would be why bulk of the article is about how you shouldn't actually want to completely hide your internals, and it's not a completely terrible argument.

It does ignore the other benefit of module-closures, though (avoiding namespace collisions). Explicitly exposing your "private" functions (prefixed with _) in the module object would be a better way of achieving what the author wants.
MSR is the closest thing that exists today to the old Bell Labs
Gmail Shortcut: Delete All Unread Messages In 0.7 Seconds
SEO: Optimizing Content To Rank High In The Search Engines
A neat thing about where this is: There are condos available for 75k (up to about 700k) near there, most in the <300k range. There are 2600 sq ft duplexes in the <500k range, and many single family homes in the 200-450k range there. All walkable from that incubator location. One of the "main drags" for nightlife is nearby too.
> Getting people drunk to get them to sleep with you isn't really /wrong./

Christ.
You need a home button once a comment has been submitted!
I feel my most satisfied when I pull off things that impress me. Not others - sometimes others get easily impressed. If I go on too long without doing anything that I can pat myself on the back with then I start feeling like an imposter... just buying time before someone figures out that I'm a fake.
Rants about Connect
I wonder if there is a context in which preparing a document in TeX would be a strong indicator that you don't know what you're talking about?
"not sure the author realizes TCP is a virtual circuit protocol"

That struck me too -- kind of undermining the simple narrative of "connection-full telecom biggies vs. connection-less insurgents". It would have been worth a note in the article, because it's in IEEE Spectrum after all.

Not a networking pro, but I believe the converse is also true, that OSI has specifically connection-less protocol elements (e.g., CLNS) that are at a lower level in its own hierarchy, and more equivalent to IP in TCP/IP.

I just saw part of an interview with Cerf (http://www.internet-history.info/media-library/mediaitem/100...), in which he said that part of the motivation for packet switching is to maintain command and control in the chaos of a post-nuclear-strike world. That explains why the person connected with packet switching (Paul Baran) was at RAND, which was not a networking place, but very much a "let's plan for the apocalypse" place.
the courts don't really have any authority on this.
it's not as if the FDA did a study and ruled it so.

also, [1] whiteoutpress? really? from what I can surmise it's a tea-party tabloid.

[1] http://www.whiteoutpress.com/about-us/
I made this same discovery the summer before enrolling in bschool and then promptly dropped out of my class. it didn't make sense to take on the debt once I determined I really enjoyed building software (and was good at it).
who is flynn?
What your suggesting is going to be tricky to implement. First you can only add delay, not subtract delay, so your specific example will not work: you can not "rebroadcast at the drone's antenna" before the original signal reach the drone.

To overcome this, could record all the gps signals, and rebroadcast them with carefully timed delays. But than gps time as determined by the drone will be different from what a clock in the drone gives, so it could be detected. If you are quick enough it might work, but it's non trivial.

And if the drone uses carrier-phase gps measurements you have a whole bunch of other problems.

Not saying it can't be done, but it's not easy.
Ben,

Congrats on your decision. It is a brave one for sure. Looking forward to seeing you keep up the great work.
UCLA scientists double efficiency of novel solar cell
This really resonates with me. I've often said that its crazy how I have the ability to literally create something from nothing, something worth potentially millions if not billions of dollars, investing nothing more than time. And I have access to almost all of the information I need to be able to do it, for free. I can't think of any other profession where so much is possible; I just wish I could have an idea of what to do with it. I don't have an issue with being motivated - my problem is deciding what is worth putting my mind to.
Quantifying in terms of understanding.

We already do it. We get hungry, so we eat. When we are very hungry, we eat more. When we are not very hungry we eat less. That is a quantification of our life to an extent.

To me, life hacking is expanding that understanding. I get distracted, why? Do I need to be distracted because the distraction is doing me good? I don't want to be distracted because I have things to do. If I can do something that gets me what I need from that distraction more efficiently I should do it. If I can't, and I still have too many things to do, I should get fewer things to do. Is the distraction a result of something external (poor diet, poor sleep, poor exercise)? Could I correct that external problem and then be less distracted?

For me, it's not a matter of turning into an automaton. It's a matter of agency. I want to be in control of my actions, which means I need to understand what is going on in my life. If I get distracted, I want that to be because I allowed myself to become distracted because it was in my interest.

A healthy balance is optimal, but if I want to pull an red bull fueled all-nighter, that's fine too. It just means that I will throw off my routine and ruin my sleep for a period. Sometimes that tradeoff is worth it, but you can only make that judgment if you're aware of the consequences and alternatives.

You can put nitrous on your car, and while it might damage your engine when used for prolonged periods, in short bursts it will increase performance. Understanding the risks and damage it can do can lead to making more educated decisions on when to use it. Otherwise all we're left with is feeling and panic.
Thanks for that. I saw a post on some chan, quickly browsed the source and thought you'd just exchange public keys via unauthed connection.
The reply does make sense, so I'll take a look at the source again and check your answers.

You should have posted this at the chans, where I voiced some similar objections.
"I believe receivers had to lock onto the civilian GPS signal before even trying to lock the encrypted military GPS."

That's the old fashioned P(Y) code that they dumped because it sucked and went to the M code that doesn't need P(C) first.

P(Y) code sucked because aside from needing to sync to P(C) first, they fed in the encryption stream at a varying, yet slow enough rate that you essentially got dozens of "known plaintext" packets reporting the same position using the same code. So if you could sync up to the W feed rate, even if you couldn't figure out what it said, you could get a better position after gathering enough data. Then again, for something like a cruise missile while in flight, taking 15 minutes while stationary isn't really all that useful.

The whole design of GPS is an interesting window into tradeoffs between accuracy and time as seen in the 70s. Given enough time you can always average something stationary to ridiculous precision. However the whole thing was designed so strategic weapons in motion couldn't average enough measurements in time to be useful at a strategic weapon level unless you had the .mil keys...

The wikipedia article is kinda interesting.

I currently/used to do stuff in the ham radio microwave bands kinda bracketing the GPS signal, one of those "infinite spare time" projects to program a FPGA to decode my own GPS. Why? Because I can. Right up there with making my own ADS-B receiver which is actually a lot easier on the digital side and about the same level of difficulty on the RF side, more or less.
You'd be surprised. I'm fairly sure I was drugged one night out at a club in London while out with coworkers. Fairly upscale place, very rough experience.
VCR’s Past Is Guiding Television’s Future
I own a sailboat, thank goodness my sextant isn't affected by this security vulnerability :-)
Caffeine and Metallica (...and Justice For All > other albums)
It's also a bit of a drag on your fellow developers. If I'm a senior dev working on my tasklist, and we hire a junior dev who goes off to go see what marketing's doing instead of working on his tasklist, it would really start to get me pissed off. It doesn't matter that he might be a superstar and knocking off his tasks in 25% of the estimated time, what matters is that the department that we're both in has things that need doing, and by buggering off to talk with the CTO he's not helping get those things done.
The intention with Russian doll caching is that the cache uses LRU, so you don't need to worry about clearing the cache. No poison pill needed. Memcache operates this way.

Given that there's an 'lru' folder with a package that says 'implements a LRU cache' as the first comment, I assume this works that way as well.
Here is a link to an article that discusses one possible way to test private functions: http://philipwalton.com/articles/how-to-unit-test-private-fu...

He basically exposes them while in a dev environment, and then uses a build tool to make them actually private. I agree with weego's comment though, its something that isn't usually worth the tradeoffs, as long as your team has discipline.
I find it hard to believe that the IP logs were ever the only option of identifying the perpetrator of any such crime, yes. People usually have emails with other kind of ID, usually much more reliable than an IP.
Installing a YouTube CLI on Mac (youtube-viewer)
Men feel this way as well, it's pretty normal especially if you have high expectations of yourself and high opinions of people in your field. When I originally read about it, it didn't even mention women. Of course the word "syndrome" wasn't attached to it either....
Sweet! I'll probably like it, then. ;) It's amazing how many movies and stories are similar on some level, yet have completely different aspects that make them both enjoyable and interesting (e.g., The Matrix and The Thirteenth Floor). If I never saw another romantic comedy again because it was too similar to the Princess Bride (etc), or never looked at a new programming language "because it's pretty much like lisp/python/etc" again, I'd miss out on a lot of good stuff.
There are plenty of places (especially in the US) that you don't have a choice of ISP. Unless you count dialup as the alternative.