skysight-inc/HackerNews huggingface dataset:
>Remove tattoos and piercings at the airport, really?

Why are you so stuck on one of several examples? Open carrying is legal in many states. Go for a workout outside a police station while open carrying, let me know how that works out. Just do some jumping jacks across the street. Nothing illegal but it will certainly draw some unwanted attention from the police!

>Like hell.

It's what happened and why it happened. She wore something outside of the ordinary, grabbed unwanted attention, and was arrested. Which part of that is a false statement?
Not when Uber's competitors are subsidizing drivers.
Indeed, but now you're just being academic. Such an approach is quite bothersome. I maintain my initial criticism of your suggestion.

It's easy to be an armchair designer of programming languages. It's quite a bit more difficult to be in the driver's seat, because you have to answer the hard questions; you can't just throw feature sets against an HN comment wall and see what sticks.
I assume you need to stay up pretty late to get all of the presents delivered, Mr. Claus.

I keep similar hours as the GP, which I can do because I'm remote in a group with other programmers around the world. Actually, the late hours have been useful at work, because we get 24-hour coverage without waking people up when lp0 is on fire. Not to mention that the wee hours are much quieter and generally distraction-free.

However, my mood has been better by phasing a little earlier this winter. I think getting under 7 hours a day of sunlight starts up a bit of SAD for me, which is entirely avoidable at California latitudes.
It's a nice paper. Turns out, he grudgingly believes what I've been saying all along:

"I am not optimistic. The gure of the heroic cryptographer sweeping in to save the world from totalitarian surveillance is ludicrous. And in a world where
intelligence agencies stockpile and exploit countless vulnerabilities, obtain CA secret keys, subvert software-update mechanisms, infltrate private companies with moles, redirect online discussions in favored directions, and exert enormous in uence on standards bodies, cryptography alone will be an ine ectual response. At best, cryptography might be a tool for creating possibilities within contours circumscribed by other forces."

Exactly. Gotta deal with those "other forces," which are social and legal. Otherwise, the opponents vast resources work around the few that try to resist with the crypto. Doesn't stop many technical people from thinking crypto will magically save the day.
The "gift cards" in the story aren't that type of gift card. They're store credits given for people returning goods.
Short clip of the drone catching a drone:

https://gifs.com/gif/pYYzXr
reads like a kind hearted psa, the last time he touched the code was in 2011

(i just added the Win32 backend and the last time
i touched the code before that was at January 2011).

seems like he just released the code for the benefit of others stead some goal to develop it

i wonder what sorts of projects he created it for
Yeah they're not bad, I have had one of their products for almost 5 years now and it works pretty well. I wish they had a 13'' in their line of product though.
I relate to OP's notion of "free hours". Simple programming tasks took me twice the usual time late at night, and after 1am I just couldn't come up with anything creative. That's great that you work well in the evening, but not everyone works this way. When I shifted to morning schedule, I didn't waste time on doing tasks slowly at night, so these are my free hours.
It doesn't seem much different from reading a book as far as posture is concerned.
It's mostly Go except where it isn't.
Visually appealing time-lapse videos
Your kids must have been rather different to mine - I didn't become a morning person - just a perpetually tired person.
Ongoing retaliation against people working on crypto?
Between your comments and others in this subthread, this is beginning to look uncomfortably like an organized campaign. That is not a legit use of the thread.

Obviously there's no direct way for anyone who doesn't know the facts of an anonymous story to respond to it. It would be difficult even for Peter to respond specifically; confidentiality issues don't just disappear when someone posts a comment. But it doesn't feel right to leave this unanswered, either, so let me add my own simple anecdote: working with Peter, who helped me get a visa, was hands-down the best experience I've ever had with a lawyer. And you can see the similar things that other HN users had to say when we announced the AMA: https://news.ycombinator.com/item?id=10699898.

There's a reason why YC uses Peter to help every international startup they fund. If he didn't deliver the goods, that wouldn't happen.

I don't mean that to denigrate your friend's experience—it's impossible to evaluate.
The nuclear analogy is a little odd, given that one of the reasons we don't have even more nuclear weapons / more states with nuclear weapons / nuclear weapons out in the wild is not technological... but because of international treaties and enforcement.
Things are looking good, but we're decorating the family Christmas tree tonight, and so I took a break about 30 minutes ago. My current guess is that our part will be up tomorrow early.

Just for anyone interested:

We're pushing a "trainer" tomorrow, which is essentially "one level" of the CTF, so that people who have never looked at low-level embedded systems code can get the hang of it, and so we can, you know, not blow up when the actual CTF runs.

The trainer can do some things that the real CTF UI won't be able to do (because they would make levels too easy to clear), so I'm just fine with that. It's fun in a different way from the CTF.

The full CTF we'll post in a week or two. Ironically: it was pruning all the real CTF levels out that screwed me this week. You go into thinking "all we're doing is removing functionality, this will be easy", and by the end of the week you're setting your computer on fire.
Right, but that wasn't the point - the point was that thusfar, the appeals to mechanical limitations of drones as weapons of war have been based on very limited thinking.
Surely you meant "Turn on HTTP pipelining"? Or is there something wrong with Apache's pipelining implementation?
I know the only reason I use OSX for work is because we have an iOS app. If we didn't have that I, and probably half the other developers, would be rocking some flavor of Linux. You can write software for 99% of users on OSX (with a windows VM, anyways).
I'm not the user you're asking, but:

- It used to be that Qt was massive; because it existed before ubiquitous, usable STL implementations, Qt had to essentially also ship its own C++ standard library. Which meant that you couldn't use standard C++ strings, you had to use QString, and so on. This is less true with Qt 4 & 5, but reputations stick around.

- Often-times C++ APIs are a pain, even if you are using C++, many people have the opinion that the API exposed should be C.
I created a 1.1G file with dictionary words and timed...

% du -h a
1.1G	a
% time look 'dog' a | wc -l
53856

real	0m0.021s
user	0m0.020s
sys	0m0.003s
% time grep '^dog' a | wc -l
53856

real	0m28.593s
user	0m0.977s
sys	0m2.223s

Ok grep performed worse than what I expected (sort took a long time though).
I'm not familiar with TypeScript, but since it compiles to Javascript, I imagine it's using type erasure. Indeed, such an implementation of generics is easy to compile quickly.

If one adopted such a scheme in Go (which would also be fast to compile), you'd end up sacrificing a great deal of runtime performance, because everything generic would be forced behind a box. Such a thing is no big deal in a language like Javascript, but for a language like Go that aims to be fastish, it's probably a non-starter.

Finding a compiler that monomorphizes generics and is also as fast as Go is probably a much harder challenge. I've had some folks claim that one of D's compilers is pretty fast, but I haven't seen any good benchmarks to support that claim. Many of the other monomorphizing implementations I've tried (Ocaml, ML, Haskell, Rust) are all pretty slow. At least, much slower than Go's compiler in my own experience.
Software Foundations by Benjamin Pierce et al.
J'ACCUSE! Please, sir, read the HN guidelines, which I've helpfully linked here:

https://news.ycombinator.com/newsguidelines.html

Please don't editorialize titles. We ban accounts that do that, so please don't do that.

We've asked you this before!
You're right. It is actually better than an interest-free loan, as long as you assume that all goods sold and services rendered return a positive profit. Since gift cards are not usually redeemable for cash, this is a great opportunity. It is also a vote of confidence by the customer and a statement that says "I trust you with $X of my money" and "I find our business valuable and I think I or my proxy will likely come back to spend some or all of this $X in the foreseeable future."
Why? Because far too many developers are distracted by technical baubles instead of prioritizing the long term freedom. We are losing the War On General Purpose Computing, and apple - having convinced a generation of programmers to develop for their closed platforms - has done a lot of damage to computing freedom.
nah, fonts are getting larger and whitespace is ballooning :)

just kidding, I wouldn't know for sure, but this article should have graphs of wordcounts or something.
Maintainer of Rice here (https://github.com/jasonroelofs/rice). The problem set of trying to seamlessly integrate C++ and dynamic languages is not a simple or trivial thing to accomplish. I know Rice isn't particularly easy to use but it does have a lot of similarities to the OP's library and Boost.Python API wise.

I'm curious what you found gnarly or difficult to use, maybe there are some improvements that can be made?

Also as far as I know, Rice is the only library of its kind in the Ruby space (ignoring SWIG, of course).
Twitter Tells Users They May Be Targets of a 'State Sponsored Attack'
Its seems so silly. Like they give out unlimited storage and market the crap out of it. Then what do they expect consumers to do be stoked on having it but politely not use it? Then cutting storage down for it free tier... I don't know man I mean how much money do you really think they could be losing?
stockfighter is ignored
Well, PayPal has been pretty successful. The things you listed don't have much/anything to do with intercepted email fraud.
The challenge in places like California, is they don't legally recognize "breakage" or "Dormancy Fees" - so that any company that sells a gift card will have to carry that liability on their books forever, regardless of whether the customer will ever use the card.

http://www.dca.ca.gov/publications/legal_guides/s-11.shtml
I use bzip2 purely for sentimental reasons.
Comments like these are why I think it's a little scary that schools that focus on broad knowledge of the world, including liberal arts as well as sciences, are being dismantled and turned into vocational training schools.

Is this a troll comment? Are you really so ignorant of the concept of a nation as opposed to a state? Do you really think that the US is "unique in that it has states within a nation"? Have you ever taken a political science class? Or even an American history class that talked about Mexico?
Thank you for summing that up for me.
the kind of problems where i leave the site forever, and never trust the founders with anything ever again?

YEAH!
> She wore something outside of the ordinary, grabbed unwanted attention, and was arrested. Which part of that is a false statement?

If that's all you had said, then sure, that's just the facts.

My interpretation of your tone was that you were unsympathetic to Star, while I felt and feel great sympathy to her, and outrage towards the people who mistreated her.

Somehow a lot of idiots in the world have gotten the idea that digital electronics resemble a bomb, which is deeply retarded considering that it only resembles a timer, with no sign of an explosive.

I fault the idiots, not Star, and I am surely going to be upset with anyone who seems unsympathetic to what happened to her.
The first Terminator was released in 1984. The idea existed before it, of course.
How do you deal with late night events?

I could get used to early mornings, but right now is 3:45 and I'm on the train home after a concert and nightclub. I can't wake up at 5 with only 1 hour of sleep, and I doubt I could do it on Monday, even if I was used to it.
I thank the 3828 liquidators that cleaned up the worst of the Chernobyl roof, two minutes at a time.

https://www.youtube.com/watch?v=FfDa8tR25dk

> died for nothing

While that is certainly true, it's worth remembering that most are still alive, though many are now having trouble in the healthcare system thanks to poor CCCP records (or finding those records now).
Even more interestingly, governments own the unredeemed portion, not the retailer/phone company/etc.

http://www.sec.gov/answers/escheat.htm
Great move. Love the 'self-starter' bit. People who need to be constantly monitored and told what to do aren't worth it, even if they're easier to hire.
Obama Administration Set to Take Executive Action on Gun Control
Is grep optimized to be fast, though? There seems to be a lot of, "better at grep than grep" tools out there,

http://beyondgrep.com/
And so what? Last time I walked in a Starbucks, none made me buy a gift card using a gun. Actually none ever asked me to buy a gift card. The only time I bought one I was willing to buy it.

Since when selling to customers something they want is something morally wrong? Because it is an interest free loan? If you think about it the world is full of interest free loans.

Tickets for concert? Check

Service retainer (e.g: lawyers, accountants)? Check

Insurances? Check

Online retailers? Check (until they ship the good)

Again, what is morally egregious that makes fraud against them sort of a lesser crime?
Seems to be the case in US. I work for a small dev shop and everyone else is using OS X, except me. I'm running Linux Mint 17.1 (Mate Desktop) on a Toshiba Satellite w/4K screen, SSD, and 16GB ram. Love it. And I like PC style keyboards better than Mac keyboards :)
The visuals aren't 3D. The OP's mirrors AWS' own architecture diagrams in their guides and case studies. It's unfortunate CloudFormations Designer doesn't create visuals like the ones AWS' own designers use.
When running 'look' to get all comments in a file I only get the first found line in the ouput. Can someone explain this?

look "#" .zshrc

There are really a lot more comments (lines starting with '#') in my .zshrc then the first line.
As I understand, HTTP pipelining is basically a no-go in the real world. Broken implementations, plus performance implications since responses must go in order.

Edit: Here's a FF discussion on it: https://bugzilla.mozilla.org/show_bug.cgi?id=264354 -
In terms of Card Scamming - I've often thought that one additional layer of security is for the Bank to take a picture of their customers, and then simply embed it on the smart chip. The vendor could then verify it was the correct picture originally embedded using a hash sent during the transaction .
NOx also contributes to acid rain. https://en.wikipedia.org/wiki/Acid_rain
Since we're basically saying what Nintendo should do here, I'll add in my two cents:

They should make more games. New games not just spinoffs and sequels and many of them. In fact they should limit each game series to 5 games each cycle (including spinoffs)

Give several small teams of about 7 people 2 years to finish their games. Reward the most financially successful teams with bonuses and more autonomy. Demote or retire the ones that we're not at all successful during the cycle.
Do you know of a good resource listing all of these?
'look' can stop working when it finishes the sorted section of 'dog', whereas grep must continue to the end of the file.

Ignoring memory hierarchy, naturally 'look' would be O(log n) while grep would be O(n).

Special input (sorted in this case) of course often calls for matching algorithms, when speed matters.
Awesome! This is solving a real problem when it comes to visualizing infrastructure. I recently provided AWS with feedback at a focus group in SF on releasing a tool like this. So far, I've had to use Gliffy to create diagrams using Amazon's official Simple Icons. [0]

Minor note: my screen is fairly narrow, and the Preview/Export buttons hide the action buttons for EC 2 nodes. I notice the element has a z-index of 1. It might be better to ensure the Preview/Export buttons are always hidden by any boxes appearing when the user clicks a component.

[0] https://aws.amazon.com/architecture/icons/
(1) "There Was a Time before Mathematica…"

Wolfram's blog post says he discovered "a program called Macsyma — that did algebra, and could be used interactively. I was amazed so few people used it. But it wasn’t long before I was spending most of my days on it."

Later: "I got more and more ambitious, trying to do more and more with Macsyma. Pretty soon I think I was its largest user. But sometime in 1979 I hit the edge; I’d outgrown it."

Later: "And after a little while I decided that the only way I’d really have a chance to get what I wanted was if I built it myself. And so it was that I embarked on what would become SMP (the “Symbolic Manipulation Program”)."

Mathematica came after SMP.

Sounds like a fairly familiar software story, no?

(1) http://blog.stephenwolfram.com/2013/06/there-was-a-time-befo...
I like it how there are green or red helicopter icons in the table to indicate success or failure.
FSF: Organize a Giving Guide Giveaway
What is proof-by-disbelief? I'm not trying to prove that HGI is impossible, nor do I think it's impossible.

However, until one proposes a concrete methodology for modeling the world which includes the method that is doing the modeling (self-awareness), a decision making process, and a way to take action autonomously and without intervention, it's very hard to talk generally about preventing catastrophic bugs.
We haven't done that since the 1990's.

Calorie content is calculated by measuring the amount of fat, protein, carbs in a food and extrapolating from that.

It's pretty damn close.
If you like to program in C++ and Python, the Nim language might appeal to you: C++-like features (generic types, operator overloading, function overloading, inline functions, optional O-O, optional data hiding, C pointers, bitwise-compatibility with C, your choice of manual memory management or GC) and C++-like run-time speed, combined with Python-like syntax and compile-time Lisp-like macros.

I spent most of a decade mastering pre-11 C++, learning to apply the recommended tricks & idioms (like the copy-swap idiom for strong exception safety guarantees), learning to sidestep the gotchas. Meyers books, Sutter books, GotW, "Modern C++", etc. Then, when C++11 came out, the language became even more complicated, not less. That was a breaking point for me.

As a long-time programmer (and fan) of both C++ and Python, Nim offers the best balance that I've yet found between C++'s ethos of thoughtful, precise control and Python's user-friendliness.

(And if you ever happen to need seamless Nim-Python compatibility, including native Nim support for Numpy arrays with C++-style iterators, my Pymod project may be of assistance: https://github.com/jboy/nim-pymod )
Looks like it's actually Go based on one of the JSON responses I found in the web page:

{
ok: false,
error: "strconv.ParseInt: parsing "NaN": invalid syntax"
}
Another tip that can save viewers (or readers) a lot of frustration - if your screencast (or blog) is specific to a particular technology, mention (or write) that at the outset.

Interestingly the page doesn't contain the string 'apple' or 'osx'. Some of the generic suggestions, early on, are almost platform agnostic, but by mid-way through we're clearly in the realm of OS and application features, and keyboard shortcuts, specific to one particular vendor.
Your .zshrc is almost certainly not a sorted file.
No, I read the article and stand by my conviction that the people you are referring to are not normal. Lot's of folks experience extraordinary circumstances during their lives, few, very very few, resort to violence as a result.

Not everyone is "wired" to deal with life's challenges the same way. I had a friend who committed suicide after losing his business in 2009. Sad. On the other hand, I've been bankrupt --as in lost it all, not a dime to my name-- and suicidal thoughts never entered my mind. In fact, I hussled and worked hard for very little until I could start a small business.

That article has an agenda, follow the money trail and you might discover what it is.
This is exactly my experience, recently I have sometimes worked 9-5 got nothing done and gone home feeling like shit for being so unproductive. Then, to make up for it, I would find myself working some late nights and always made up for the lack of outputs. I now just start late and work late, which actually means I get more free time because I don't need to make up for anything.

As in interesting point, when I was working 9-5, I noticed that most people at work were incredibly unproductive all day so maybe it is somewhat a social construct also. When alone at night without distractions, without the context of people slacking off, I find it far easier to get focused and I don't just talk nonsense to anyone nearby.
From the manpage:

> As look performs a binary search, the lines in file must be sorted...

I assume you didn't sort your source file first.
Don't know, nobody lived to tell about it.
It's official: we're living in the future.
If the boundaries are running magnetic north-south, then there is no way to make the property square. I'm sure there is a good reason to survey the lands as squares, rather than as trapezoids with the north/south borders running along the lines of longitude - just not sure what it is right now.

The farmer wouldn't care - they would simply survey their property based on the property stakes - and, at 6 miles, their property corners would be close enough to right-angles they probably wouldn't notice, and certainly wouldn't care.

And roads could then run all the way to the north pole, or from coast to coast, without having to detour (mountains, lakes, cities, rivers and other obstacles excepted).
Strawman.

You are referring to a tiny fraction of abortions.

Only a few abortion critics oppose abortions to save the mother's life.