skysight-inc/HackerNews huggingface dataset:
interface{} is different from []interface{}.

You can do a type assertion (not cast - these are different concepts) from interface{} to another type. You cannot do a type assertion on []interface{}; you have to iterate over each element and assert individually.

I agree with GP - the built-in primitives for synchronization, along with sync from the stdlib, are much cleaner once you know how to use them, and they're more idiomatic.
Calmly Writer 3.0 – cloud saving, markdown, distraction free
Is there anything Google (or the Chromium team) could do to simplify an out-of-the-box "maximum privacy" mode based on the docs linked from the post?

https://www.google.com/chrome/browser/privacy/whitepaper.htm...

https://noncombatant.org/2014/03/11/privacy-and-security-set...
No we are not in production. Yes we do need funding but this is not on a kickstarter scale though. This will require hundreds of millions of dollars to become real so we do need to involve a large corporation or some wealthy folks.
I miss links and comparisons to other and IMHO better implemented jitting regex engines and greps like redgrep, sregex or pcre.
Five Ways the Guy Behind Diapers.com Plans to Challenge Amazon – Again
Why not just link it to http://littleosbook.github.io/ - While PDFs are fine, it takes so long for it to load when compared to a HTML page.
It's cool that the .NET version actually JITs specialized serialization and deserialization code at runtime. This is one place where managed languages really shine, because emitting bytecode is easier and more portable than emitting, say, raw x86. It's also safer -- the runtime can verify the memory safety and type safety of the code.
It seems the NYPDs argument is that releasing information on the vans will allow people to predict where they are (or more likely be told ala speed cameras) and so avoid them (civilians as well as criminals).

That's kind of the point of a deterrent.

You cannot scan every car on every journey, at least not without a massive spike in cancers, so this is a deterrent.

And it's a secret deterrant....

So it won't catch anyone because you can't scan everyone, and it won't deter anyone because no one knows it's there

Seems a waste
News outlets seem to be wrwriting this up as a crash, and therefore a failure.

But my thought is; holy crap they actually hit the target? Pretty impressive!
According to Kerckhoff, "A [crypto]system should be secure even if everything about the system, except the key, is public knowledge."

If any amount of your security depends on hiding how the system works, you have a broken system (according to said law).

Nobody is arguiung that the van passcodes or personnel files should be disclosed; those specifics are immaterial. We are asking that how the system works, and how that is evaluated, be made public, and be placed under scrutiny. Otherwise, there is no reason to believe this system does anything but provide a vector for corruption.
Greenspun loses a lot of credibility by ranting on child support, though.
There is a fairly straightforward generalization of the 'axis' concept to allow graph traversal: 'GPath'. (You have to add an annotation for a traversal kind, and an identifier for a property map.) XPath can be straightforwardly desugared to GPath. I implemented this years ago for an EDG IPR[1] back-end, hooked up a number of 'standard queries' over C++ to Todd Veldhuizen's live OpenGL force-directed graph-viewer [2], and watched EDG compile code---pretty wild stuff watching expressions 'bloom', and classes 'become referenced', etc.

[1] https://parasol.tamu.edu/pivot/
[2] http://ubietylab.net
Thanks- this is really great! Each time I've learned a new language, I've created a file / collection of files like this - as a personal summary and for use as a cheatsheet. (Can recommend this definitely!)

But this is much more comprehensive.
While others mentioned http://crates.io/ you might also be interested in http://rust-ci.org/ (has categories, includes build status and quite often hosted documentation).
As someone who's already employed, if someone asks me to spend more than 30 minutes doing an assignment or test before an interview, I'm just going to pass.

My experience has been, 95%+ of the time when I do the test or assignment, I don't even get an interview (much less an offer). It's even more ridiculous because I really know my stuff; at my current job, I do all the tasks where someone else gets stuck.

Suppose you hire 1% of the people you interview, and you expect them to spend 10 hours before the offer. You're wasting 1000 hours collectively (half a year of work) of your candidates' time.
> Or actually, it's not a generic (as in generics) package, which is why you lose type safety.

Can we please skip just one opportunity to begin this endless flamewar on a HN post about Go? Just one? Please?

This topic has been beaten to death and beyond, and is not relevant to TFA at all, as the word "generic" can be used in many contexts, and it's more than clear which context OP meant.
Just yesterday I was staring at some of my go code thinking that channels are the "goto" of concurrency. You can make just about anything with them, but to understand code you have to read it all, hold it in your head, and reason about all possible outcomes. In the '60s that's how flow of control was done. As the '70s went by "structured programming" came in and exotic things like while loops, switch statements, and functions that you could only enter at the top (so limiting!) became the norm.

This post proposes a level of abstraction to take a common 10 line idiom and abstract it to a word. I'd much rather read code with the abstraction. (In this case it is clean to read, but there are many complicated patterns in common use involving auxiliary chans for cancellation and timeouts.) Sadly, this is where it collides with the go language designers. Go is anti-abstraction by design. If you don't like that then you descend into interface{} hell and manual runtime type checking, or change languages, or just repeat yourself a lot and pray you get the fiddly bits right each time.
I was hoping for the same thing.

Additionally, if it turns out faster - can the underlying regex library: rejit, beused in pt or ag for even better results?
It seems it automatically goes to the next page (and scrolls about 1/3 down the page) once I scroll to the bottom? And there's no way to go back to the previous page?

Some usability issues, but overall a nice idea. I like the chronological sorting.
Would you mind sharing the name of the manufacturer in China? Cheers!
Lambdas in Java: A peek under the hood (2013) [video]
Chandigarh Escorts VS Cheap Goa Call Girls Models
First: that was a really impressive comment. I ran hiring at Matasano for several years until I left. I would definitely quibble with the numbers (both on the low and the high side) but they may themselves be dead-on for other firms.

We hired basically two kinds of "software developer" (ie. people who could code but didn't have experience with software security):

* Developers with minimal professional experience in software --- a year or two out of college, say, or someone who had graduated from devops to software.

* Senior developers with impactful specializations and/or a well-cultivated side interest in software security. Impactful specializations would have included kernel-level systems programming, compiler theory, maths, maybe some kinds of networking or finance. Really: it's kernel stuff that got our attention most of all.

The former kind of developer fits into the ladder the way you're writing here.

The latter kind is for all intents and purposes in the door as a senior consultant.

We weren't in the business of asking people to take pay cuts.
And what will happen to the solidified salt spill? Could it be safely cleaned up or would it be too radioactive to approach?
Having grown up between the US and Central America, marrying a woman who had a similar upbringing has made an incalculable difference in our relationship. Together we get to explore the surprising details of living as adults in the US, which builds up even more shared experiences between us that other couples to not share. I think that bond has made it much easier to remain friends as well as partners, as every week we get to experience new things together.

It does make it hard to find others who share our detached sense of humor, but usually we do with international college students, who definitely appreciate the differences.
Yeah . . . I'm wondering how best to fix that. The problem with rendering iFrames is that once you hit 100, it gets CPU intensive and laggy, so I decided to delete older items under the assumption that the user was done with them. Thus, by limiting it to 50 items onscreen at once, it increases performance. Maybe pagination would have been better, I just didn't want to force users to click more than they had to.
Technical consulting is nothing like McKinsey consulting. McKinsey is an up-or-out market environment where associates "sell" their services to partners and partners make bank by themselves owning a book of business. It's far more entrepreneurial than software consulting.

If you want to do technical work that has the compensation dynamics of McKinsey, you need to (a) hyper-specialize in something valuable and (b) own your own practice.
SpaceChem Brainfuck Interpreter (2012)
"To Fall in Love with Anyone, Stare Into Their Eyes for 4 Minutes"

I hate business models that work by wasting your time. It's not a bad article though.
I heard Hamas tunnels in Gaza cost 30-90 million dollar (http://en.wikipedia.org/wiki/Palestinian_tunnel_warfare_in_t...). That could have been a very good start for a desalination plant or infrastructure repair isn't it?
You'll need to make sure you require/refer the core.async namespace according to the preceding code block. If you have the code there, make sure you re-evaluate the file. Here's a resource on require and refer: http://www.braveclojure.com/organization/

If you still have trouble feel free to leave a comment on the site or tweet me - I'll be able to respond more quickly that way :)
I wonder if this doesn't point to a market inefficiency that someone could take advantage of. A company that focused on research specifically, patenting and marketing relevant discoveries or spinning of subsidiary companies to exploit research they are doing.

I know it isn't the tenure track positions that are mentioned in the articles. But a company like this could potentially pay substantially more than the academic institutions,and give them a more immediate opportunity to publish as a primary investigator.

Those additional publishing opportunities may allow them to even return to the academic field if they chose to later on.

Just something I was mulling over while reading the article.
Continuous Integration on Windows, with Appveyor and Maven
Senator now denies climate change because 'Greenland is actually icy'
They have a very interesting way of reporting radiation exposure (ditto with airport scanners). Instead of reporting the total body accumulated dose, they report the dose a single scanning beam sweep induces over a small area.

These machines use a tight beam (or several) which sweep. Each individual beam when measured in isolation likely deliver 0.1 microSievert of radiation. However the total body dose (accumulated dose) is significantly higher than that (because you'd measure the total dose delivered, rather than the total dose delivered to a small 1x1 square cross-section).

This is interesting because while the body can and does (continuously) repair DNA damage, it has diminishing returns. So 0.1 microSieverts to the entire body is totally inconsequential, however 0.1 * 100 or more? Particularly to people who are frequently scanned (or those with weakened bodies due to illness or age).

Plus these X-Ray means can and do bounce. So imagine three 1x1 cross sections, you scan the left and right, but the middle will have a measurable radiation exposure even if not directly exposed to the X-Ray beam (partly because the beams are imprecise but partly because of reflected X-Rays).

Honestly 0.1 μSv is the headline figure. What is the full body accumulated figure? I'm going to guess as much as .30 μSv per scan.
You could try piping it through ssh, I don't know how that would effect the speed though.

tar -cf - /u02/databases/mydb/data_file-1.dbf | pigz | ssh user@destination "pigz -d | tar xf - -C /"
>The 'theory' that we can somehow reduce this complexity to 'thousands of lines of code' is simply an understatement...

Apollo 11 managed to land on the moon with about 145 thousand lines of code so it can be done. Whether that kind of thing would be a good idea these days with vastly more capable hardware is another matter.

http://www.itworld.com/article/2725085/big-data/curiosity-ab...
Reminds me of Dr. Strangelove.

Dr. Strangelove: Of course, the whole point of a Doomsday
Machine is lost, if you *keep* it a *secret*! Why didn't =
you tell the world, EH?
OS X privilege escalation due to XPC type confusion in sysmond
Firefox Now in 4K HD TV
Even if you don't, it's a good idea to train users to remove apps that they're done with so that other less scrupulous developers don't have unnecessary access to their info.
This is sophistry. She was already attracted to him (here,
I use it in the sense primarily of "willing to go out on a date with him") before they started. I don't see any mention of "to build attraction, do this", and intimacy will smother their boundaries and their relationship without attraction.
Nice story! And you created all libraries you sell only by yourself?
Valid point, you're right.
At first I thought the book was trolling me, but then I sat down and worked through a few of the pages on paper and realized that there were interesting tricks behind them.
I'd suggest Nim (http://nim-lang.org) as a possible alternative for this use case.
Oh, they use abstractions a lot, just not the flow control ones, mainly objects. Like sync.WaitGroup mentioned here is an object and is a completely brain dead choice for this kind of thing. Some form of parallel map() instead would be much easier to understand and to reason about, for example: http://play.golang.org/p/4I-uBJ1Tce

Anyways, I mostly agree, just not generally over abstractions, but more in the context of proper flow control abstractions.
This Is What Makes a Home Based Internet Business Profitable
Also, these scanners are not operated by trained radiologists, and I am highly doubtful that those who do operate them have been given adequate clinical training—much less care about the clinical ramifications.
Generic and already taken names FTW... fusetools really sounds like something that has to do with file systems.

Also, "in beta soon", so not much to see yet.
Show HN: Mail Rep – Let a pro set up and manage your email deliverability
You can pipe through GPG with the -c (--symmetric) flag. Using a reasonably efficient cipher (AES256) has negligible impact on speed and minor CPU usage. I do this with automated DB backups.
Maybe you can set up stunnel between the two hosts for SSL goodness, point netcat to the stunnel port, and call it a day.
I'm just finishing up All About Love: New Visions by bell hooks. In it, she talks about love as an action.

She frequently quotes Erich Fromm's The Art of Loving, which seems good as well.

[1]: http://en.wikipedia.org/wiki/All_About_Love:_New_Visions

[2]: http://en.wikipedia.org/wiki/The_Art_of_Loving
Nice idea but what about legal issues?
"Honestly 0.1 μSv is the headline figure. What is the full body accumulated figure? I'm going to guess as much as .30 μSv per scan."

Should .30 be 3.0? Or...?
I harvested the questions out of the PDF.

https://gist.github.com/shmup/3bc1229f24486d746bf3
It's called a run down test. You accelerate to a certain speed, and then coast and the way the car slows down is where you get the data from.

It's not a new idea. Teams including Audi's Le Mans squad use it. Teams have rented the Shuttle landing facility at Cape Canaveral to do the same thing. The advantage of the Tunnel is there are less variables to contend with such as things like wind.
There is no checksumming if the file doesnt exist..
New York Times cowardly in not publishing Charlie Hebdo cartoons?
It was a response to this article: https://medium.com/backchannel/a-teenagers-view-on-social-me...
I would take that a step further. I think that a strong general education should be a requirement to work in law enforcement.
Your simple dismissal seems naive. She gives you the boundaries of her "experiment" and is explicit about what she's already bringing to the table. It's an exposé on the experiment itself coupled with an interesting and touching personal experience.
The method the article is very similar in some dimensions to psychotherapy.It's very common that one side falls in love with other on the course of psychological therapy.For example "Some studies have reported that 95 percent of male therapists and 76 percent of female therapists admit that they felt sexual feelings toward their patients"[1].

So i wouldn't be so fast to rule this out.

As a counterpoint, in the original Aron study[2] the researchers describe circumstances that it works less well, for example, when people have an avoidant/dismissive personality.

[1]http://www.ncbi.nlm.nih.gov/pmc/articles/PMC2921238/

[2]http://www.stafforini.com/txt/Aron%20et%20al%20-%20The%20exp...
Ask HN: How to get started with paying side projects?
I am full time software developer with 15 years of industry experience. At this point in my career it seems like I can do more than what I do at my day job. What are some of the ways to get started on software side projects to have fun and for an additional income stream?
The Freakishly High Definition Future of Body Scanning
> Let me acknowledge the ways our experiment already fails to line up with the study. First, we were in a bar, not a lab. Second, we weren’t strangers. Not only that, but I see now that one neither suggests nor agrees to try an experiment designed to create romantic love if one isn’t open to this happening.

Her story is just an illustration to the research paper she linked to.
Please stay away from commenting if you didn't read the article.
low cost high reward, from my view
cbd1984's comment was a joke.
who the fuck is this for?
I did read the article, and that disclaimer, which she was correct to include, is inimical to the linkbaity title. OTOH, I may just be used to dealing with avoidant personalities, because I can't say I've had nearly the same results this woman has had.
Uhhh, either I don't get what they are trying to say or the article doesn't really say anything at all?

They state the example that a bitcoin like blockchain isn't the right solution for distributed email? Well no shit?
A few paragraphs before that they even say "blockchain is a distributed database", well you don't want a distributed database to deliver messages to individuals.

And yes, torrent doesn't need a database everyone agrees upon to distribute Linux ISOs, obviously.

And uhh, yes different protocols for different usecases are needed? What does that have to do with making more thinkgs work the way bittorrent does?

Bitcoin distributes its database "like bittorrent does". And on top of that there's stuff to make everyone agree what goes into that database.
For for torrent you give people a hash of the file they'll have in the end because the file doesn't change. Otherwise it's just as peer to peer, distributing the blockchain should be just as fast as torrent, agreeing upon stuff isn't.

Here's a proposed protocol for distributed mail: https://bitmessage.org/wiki/Main_Page

Did I miss the message they were trying to convey?
Understanding health studies
Periodical writers do not as a general rule make up their own titles. Your comment painted the whole article as "sophistry". Don't move the goalposts.
DIY Simple Algae Home CO2 Scrubber
For other grepping/regular expression matching programs using JIT - check PCRE's sljit - http://sljit.sourceforge.net/pcre.html
www.seafile.com is another
As soon as we have reliable and energy efficient wireless connections actually available with perfect coverage, maybe.
The Art of Loving, while feeling a bit dated in some parts (especially Fromm's views on homosexuality), is on the whole a fantastic, short little book that I reread every few years or so. I always liked his definition of love: "Love is the active concern for the life and the growth of that which we love. Where this active concern is lacking, there is no love."
If they can nail this, and get it right...when the costs to space are driven down to what they're planning, it'll turn ultra-expensive efforts like the ISS into merely expensive efforts. Imagine if each country in the G-20 had a couple ISS-class stations up there plus a half dozen commercial ones as well!
I interviewed at Matasano a few years back. I figured doing pen testing might be a good way to climb the value chain beyond my maxed-out career in webdev.

We didn't get to salary negotiations but if I had seen the starting salaries posted above I would have coughed up my spleen. My assumption was that a junior security researcher is a senior developer and therefore the salary would have been at least (senior dev salary + σ).
Almost certainly they have really good GPS and inertial sensors on both. That should be enough. Any line of sight like laser or visual can't be trusted due to weather.
Spacx CSR5 mission launch
Religious provocation is uncalled for.
I thought this was great and recommend the article. Click through to the list of questions - http://www.nytimes.com/2015/01/11/fashion/no-37-big-wedding-...

There's no harm in trying it. At worst you'll get to know someone. I'd have no qualms working through this set with at least a dozen people I can think of off-hand (some of whom aren't available anyway, it doesn't matter, or where we flirt anyway.)

The questions are mostly quite interesting. I'd lie about #34 though as it's embarrassing that, like most people here, I have unbacked up stuff on a laptop, which would be an easy decision over other stuff (since there's so much and it's so easy to take) but gives the wrong impression about my priorities. So what - say someone isn't completely honest with you in some of the answers. still an interesting set of questions.

I'm also curious what happens if you just do this with an acquaintance of the same gender assuming neither of you two have any interest in that gender romantically. if you're a man, imagine just answering this stuff with a casual acquiantance (think of bros or colleagues) vaguely similar to you but not a gender you're attracted to, and looking into each other's eyes for 4 minutes. same if you're a woman with another woman acquaintance. [1]

It would be interesting to know what kind of bonding this elicits.

[1] I specifically chose to mention only a same-gendered examples - two guys who aren't into guys, or same with two girls - because the example of a purely gay person doing so with someone of the opposite gender is a bit different for a couple of reasons. some gay people will date or even marry someone of the opposite gender - e.g. a beard - plus social norms would push in that direction even if neither party is attracted. I'm more interested in the example of two acquaintances who are of the same gender but not gay doing this.)
Could you please link me where I can find more information about the 400-series exams / how to become a certified GCP engineer?
do you happen to know a good word for reading an article but commenting on the title?
this is exactly what is was looking for , thank you
Again: I'm only vouching for the ladder, not the numbers. We (a) didn't lose a lot of people to salary negotiation (I think, in the last 2 years I was there, we lost 2) and (b) as a rule didn't want people to take pay cuts.

Matasano didn't have an "associate" rung on its ladder. We talked for 10 years about having a "junior consultant" role, but never did. So you can discard those numbers entirely.

I could obviously be much more specific about how the numbers in the rest of the ladder don't square with that comment, but I'm not going to.