skysight-inc/HackerNews huggingface dataset:
>none of them become the target of organized harassment campaigns.

That's quite dismissive of men who have become the target of harassment campaigns.

>The notion that women should write under pen names while men freely and safely claim credit for any random achievement is a perfect example of how this industry allows itself to be rigged against women. Women aren't even supposed to identify themselves --- when they do, they're just allowing themselves to be victimized by the forces of nature, which apparently include mobs of misogynist trolls.

There are plenty of men who cannot safely claim credit for their writings, though the reason is usually ideological rather than rooted in their identity. If you, as a man or a woman, post something which is found disagreeable by a large majority of your peers in 2016, someone will come after your job. Someone will try to find out where you live. To ignore this problem and solely focus on the fact that women receive snide, misogynist comments sometimes when they write innocuous articles seems intellectually dishonest.
It's not. In DbC, you have preconditions and postconditions, but no means whatsoever to actually prove that, whenever the procedure's initial state meets the precondition, its final state will meet the postcondition.
This is a pretty good general introduction to Hoare Logic.
> After solving a challenging problem, I solve it again from scratch, retracing only the insight of the earlier solution. I repeat this until the solution is as clear and direct as I can hope for. Then I look for a general rule for attacking similar problems, that would have led me to approach the given problem in the most efficient way the first time. Often, such a rule is of permanent value.

This has been one of my principles all my life, and I was just thinking recently about the fact that I've never seen it written down anywhere. (Also, about the fact that it really is a question of personal style, because I've read through rough work/notebooks from very successful people who don't seem to think that way at all.)
Terminator locations re-visited
I'm not entirely sure why I'm getting downvotes for this

Because you didn't kowtow sufficiently for some people. One might think that an unambiguous start like "While I don't support harassment in any way" would be enough to defuse the emotional downvoters, but apparently not.

This is why I generally don't upvote gender or sexuality-related stories on HN, even if I agree with the author or think the premise is important: time and again contrary (politically incorrect or insufficiently supportive) opinions are punished and rational discourse goes out the window. The Brendan Eich kerfluffle is an excellent example.

The fact that you had to even start your post with a disclaimer saying that you disapprove of behavior that a typical person would disapprove of anyway should be an indicator of how irrational HN can be at times. It should have gone without saying, yet here it wasn't even good enough.
The Internet seems to be accomplishing this on its own just fine already.
I always say doctors are just regular people that went to medical school at one point. They don't remember everything they learned and they aren't gurnteed to learn new stuff.
http://7daystartup.com/ is a great resource
As a counterpoint I love pdf support in the browser. People post pdf versions of most documents, papers, and presentations and viewing them in the browser makes the overall experience so much better! I actually have chrome as my default pdf viewer because it starts up faster than most other pdf viewers and I'm more used to it.
postgresql used to have a way to embed R into PostGreSQL too:

https://github.com/jconway/plr

I guess it still does, though I haven't used it in years. You can, of course, do the same thing with Python.
The code running on the CPU isn't the only thing the computer is doing in that one second, the X86{,_64} opcodes we could capture aren't necessarily exactly what the CPU is doing, and code being run by extra controllers and processors isn't likely to be accessible to anyone but the manufacturer.

In 1989, we'd've also been looking at code running on a single core with a single-task or cooperative-multitasking OS (for most home computers, anyhow), with simpler hardware that an individual could completely understand, and it would run at a speed where analyzing a second of output wouldn't be completely beyond the pale.

I've analyzed CPU logs from DOS-era programs and NES games. I certainly haven't analyzed a full second of the code's execution; I'm usually focused on understanding some particular set of operations.
It's mostly the anti-fat bias, with some justifiable concern about high calorie content, as frying adds a possibly huge number of calories, mostly as fat (and breading!).

http://www.livestrong.com/article/504208-how-many-calories-d...
$280/hour is $280 * 40 * 52 = 582400/year btw. I think your figures are off.
Also, it means that one machine is going to have to be ssh'ing into every server that you have on a constant basis, which creates load on that centralized server doing computational part of the ssh connection setup and tear down and all the encryption and hmac'ing. And ssh is not designed to be a lightweight protocol, and it would be simply awful to try to maintain persistent authenticated ssh connections from the management host to every server being monitored.

Really "agentless" is all a lie. The "agent" in most cases is usually sshd and you can really do better.

Also for this kind of software it makes sense to simply leverage the underlying configuration management system the admin is using. If they're using chef/puppet/cfengine they push out the client over the top of an agent-based protocol. If they're using ansible or salt they'll deploy it "agentless"-ly.

They've actually done more work to support this root-trust remote management model when they could have simplified the problem domain to just running their code (as an agent) and reporting on the one host its running on.

It seems to have been developed to tick off a buzzword ("agentless") which could have been avoided altogether.
Why do I need to install free, cross-platform, open-source program if I can render pdf in my browser?
Depending on what you're trying to do you have some options, but you should probably outsource.

Option 1: If you're working on image recognition or anything similar, it's easy to get a ton of data. There are many corpora of image data available, probably on the order of hundreds of terabytes, with tags or at least some structured data. If you're going to "spider the web" you should use Common Crawl instead, and can access all of Blekko's data for the cost of data transfer via AWS. Same for text data, use the Google N-gram corpus.

Knowing that all of that exists, I would still recommend Option 2: outsourcing your AI needs unless you're a researcher or have a decent budget for AI development. Go search "ai api" and pick one that matches what you want to do. Match your skill and risk tolerance; nobody got fired for using IBM, but you may get a better experience from a startup with the possibility of flaming out in a year. You'll get the leverage of whatever company is spending those dollars on your behalf, and you'll be able to concentrate on the user experience instead of the science-ey part.

Option 3 is "if you can't beat 'em, join 'em". Go work for MS / GOOG / FB / IBM building something, and get access to those resources for yourself. Then at some point in the future you'll know their API interface, and you can go back to option #2 with much better data.
Not sure how one would control for "luck" in a (legitimate) academic study. The definition of it is broad, to say the least.
Vue.js 1 was awesome. New version is even better. Best framework for small to medium size projects.
The NN images, for sure, have a problem reproducing sharp edges/have less high frequency content. Just look at the grass.

It appears to be a severely flawed metric.
This will be abstract, but you seem to know your abstract algebra -- is it possible to do this kind of thing with graphs? It should be, right? And we all know code can be constructed with graphs, so… voila, you can generate code, no?
It is politically convenient to pretend that anyone who has a realistic view of the internet re: the deep shittiness of some denizens must also be complicit in such shittiness. This facilitates emotional resonance when discussing said shittiness which allows those in positions of leadership to gain some form of power over people who are vulnerable to the emotional manipulation

It's not a good idea to talk about this sort of thing. Those who use it tend to have no compunction using the accrued power for vigilantism
Except for severance and hiring bonuses, what's the difference between restructuring someone's job, or firing them and hiring another person? In the end, you're still committing $1B/year to AI jobs.
Fascinating question, reminds me of this one that made HN almost two years ago: “What happens when you type Google.com into your browser and press enter?”

https://github.com/alex/what-happens-when

Would love to see Knuth's Challenge setup in a repo for collaboration.

HN Discussion on the above link:

https://news.ycombinator.com/item?id=8902105
Read Cal Newport's https://www.amazon.com.br/Deep-Work-Focused-Success-Distract....
I didn't read the free ebook, but it seem another one based on this book.
They could, but it'd be an expensive choice. They'd need to stump up for inhouse supply chain experts and a bunch of insurance (production, shipping, lawsuits lawsuits lawsuits).

The whole model for Kickstarter is to push all the risk out to the fringes and collect a percentage. They've already become a verb. Adding high overheads and installing a lawsuit magnet doesn't see like the most effective decision.
I agree, these are currently far from efficient (I hope to resolve this). My suspicion right now is that a lot of time is being spent somewhere in spinning loops waiting for progress to be made.

Average runtime of insertion is constant time because the size of the linked list does not grow beyond a certain size, and inserting into the priority queue is constant. The worst case is not infinity because there is always at least one goroutine making progress.

Thank you for the comment about wanting to see posts like this :)

I do not think this implementation is flawed from the standpoint that at least one goroutine is making progress, there are no locks, and results are returned in order if dequeues are not saturated

This is not something that would make it to a white paper because the implementation does not return deterministic results, and I could not explain from a mathematical standpoint how flawed the results are returned because they're not guaranteed to be in order.

I should have also included the profiling results. Currently 25% of time is spent garbage collecting, which is expected because the priority queues effectively use multi-version concurrency control, but this will come in handy when I want to persist data to the hard drive with as little locking as possible (and for general simplicity in avoiding corruption)

Another 15% or so is spent sleeping, which would be the spinning loop part.
As long as what you need is a nightmarish version of the requested scene.

What happens here with generating illegal content? If you put a public text->image gan up, and someone uses it to generate child porn, are you responsible?

How could you make sure it couldn't?
a bunch of them now work at Google on the Brain/Tensorflow team. definitely was an odd move.
(assuming the bug here is a description being assigned to a title)

getDescription simply needs to return a Description object while getTitle returns a Title object. Duh.

Only in the final rendering should it get turned into a string and there it should only accept a Title type for doing so.

Okay, I'm kind of joking, but this is seriously the solution if you really want to get down to it - primitive overuse is the problem, so wrap it in a type that makes it explicit. You need cheap and easy types to take full advantage of this sort of thing.

EDIT: And even with those reading code developed in such a way may go overboard at some point. I'm not sure as I haven't really seen it done to the fullest extent possible. Typically even when taking a fairly strong advantage of such a type system, unit tests and stuff are still used, but theoretically you could enforce their parameters entirely in the type system. Of course, that enforcement can also be incorrect, but it does make it clearer in many cases.
This Video of a Lab Simulated Rogue Wave Will Make Your Palms Sweat
I wonder if there will be some official package to support hot reloading for jsx components, currently too many boilerplates needed for that.
Nintendo shows off some highly nerdy features of the NES Mini
It's true that they could theoretically fire everyone, but practically speaking? They inherit the employees, culture, customers, vendors, and physical plant. It's (remotely) possible that Marissa Meyer is the world's best CEO, but she chose to play against a stacked deck when she went to Yahoo.
Can you run deep dream on this? That would be quite fascinating.
Except that smoking has a very small impact on stress, and a large negative impact on your health in other ways. Additionally, for people addicted to cigarettes, much of the stress being relieved may be caused by the addiction in the first place.
It is interesting to me how popular linked lists are for non-blocking data structures. They are often slow and always so hard to reason about and implement safely.

Here's a very quick alternative

push all messages into a channel IN.
A goroutine reads from IN inserts into a sorted TREE.
same goroutine reads max from TREE and pushes to channel OUT.
workers read from OUT.

This is a pretty mediocre implementation. But I post it because the numbers posted in this article were so low. I think we can do better with something far less sophisticated.

https://gist.github.com/fmstephe/4fdc930ff180be3e92c693ad5a2...

I timed that to write 600,000 messages concurrently and read 600,000 sequentially in 1.5 seconds. Not a perfect measurement but I'm on a train and I'm about to get to my stop.

If we need really high performance we can start substituting faster, and simpler, queues than Go's channels and we can very likely improve that red-black tree that is doing the sorting. Each of these components is simpler, more likely correct, and from what I can see substantially faster than the sophisticated lock-free queue described in the article.

I don't want to come across as snarky. But I am surprised by the popularity of linked-list based lock-free data structures like this.

EDIT: So the tone of my post came across nastier than I really intend. I quite enjoyed the article, I'd be interested how far the performance can be improved.
I've found PSequel [1] to be a nice alternative though!

[1] http://www.psequel.com/
I never would have tried MonetDb (ok monetdblite) if not for this great little tutorial on how to load all of SEER into it:

http://www.asdfree.com/2013/07/analyze-surveillance-epidemio...

Yeah the presentation and code isn't beautiful, but it does avoid the need to WRITE THE DAMNED THING YOURSELF, which some people apparently will never understand (although they will once they are unemployed). More importantly, it turns out you don't necessarily need Vertica for fast out-of-core loading and processing.

Granted, there are plenty of other ways to work out of core (hdf5, bigMatrix, any random database, blah blah) but this was one that was new to me. And I like it.
Seconded. Postico is very nice, atleast for my simple needs.
I am dismissive of the idea that men become the targets of similar harassment campaigns, yes. If there is a way for me to articulate more dismissiveness, let me know, I'll do that too.
I see you never have seen what kind of images that tends to generate.

Or you're really into R'lyehian porn.
I skipped around a bit in the article, but didn't see them consider having database updates simply trigger a cache invalidation (i.e. set it null) of the denormalized data instead of doing a full recomputation every time the data changes. That way you only pay the price when you need it, and it still allows for caching. You can prewarm the cache with a cron while still allowing for ondemand calculation if the cache is cold.
Unfortunately, health and diets are not like new and fashionable programming concepts - there is no quick hack and no one way that turns everything on its head.
Processed foods cause health issues.
Saturated fats definitely cause health issues.
Processed sugars definitely cause health issues.
You may have heard this before, but whole fruit, vegetables, greens, starches, beans, lentils and nuts - are the healthiest foods for you - as shown by science, population studies, metabolic ward studies, randomized double blind placebo studies and studying the habits of longest lived populations.
http://www.scp-wiki.net/scp-1004
I used to work in a company which had a division doing manual image classification next door. Not a fun time at all, the people who worked there regularly burned out on relentlessly seeing terrible things.
> git commend quietly tacks any staged files onto the last commit you created, re-using your existing commit message. So as long as you haven’t pushed yet, no-one will be the wiser.

Well, they might notice that the author and committer dates don't match, but you can add "--reset-author" to really make this undetectable.
Maybe there's an assumption that this means commercially prepared fried foods, which may use soybean oils that aren't cleaned/changed regularly?

Makes sense. I'm not sure if you were implying this, but both ends[1] of the diet spectrum seem to decry "industrial" fry oils which are hydrogenated and thus full of the undesirable trans fatty acids.

Even if they were cleaned or changed regularly, they would still contain those undesirable components.

[1] By both ends, I mean the low-fat, vegetarian-style end (Ornish, etc) as well as the high-protein, high-fat style (Atkins, Mediterranean, Paleo, etc).
Yea, same thing is true of commercial milk. Apparently they skim off all the fat and just add it back in to make 1%/2% etc. Who knows, they may even do it for whole milk so that the percentage (and taste/texture) are consistent cross batches.

Not inherently a bad thing I suppose, but feels wrong because it's such an industrial process.
> keeping track of the difference between "your" and "you're" or "their", "there" and "they're" takes literally zero concentration

For you. People think differently, and something that comes natural to you does not come natural to others.
Isn't "oxidation" pretty much how our cells function? Stop that, stop living.
What are the tradeoffs of making the data denormalization happen in database triggers? Fundamentally, you want to update certain fields whenever certain other fields get changed, and that's exactly what database triggers do. I'm not enough of a database wizard to know if there's good reasons why this isn't more popular, though.
Why do you assume they don't know what they're doing? I'd be happy to get a nice salary to work on making myself obsolete.
US states challenge Internet administration handover
Can New Technology Bring Baseball’s Data Revolution to Fielding?
The Iran deal was win/win in many ways from what I can tell. They agree not to pursue their nuclear program and as a result they get sanctions lifted allowing them to sell oil through OPEC, bringing prices down further. Cheap oil hurts Saudi Arabia, Russia, Venezuela, ISIS, etc.

You might want to fact check everything I just said though, it has been a while since I've looked at this.
You don't need to install one, it comes pre-installed on Windows, Mac and nearly all Linux distros. (The first two aren't open-source though).
Replica of Windows 10 in the browser
Your comment was definitely a waste of my time (I didn't gain anything from reading it) so by your standards I should downvote you.

> I'm not going to sit here through the fifteenth iteration of BSD v GPL even if the arguments are cogent and civil.

No, you're carefully going to read them (to make sure they're "enough of a waste of my time") and then downvote them, because it's clearly a great way to spend your precious time.
You've just made my day. I've had some ideas brewing on this topic for years. It is now at the top of my reading list....along with the other suggestions in this topic.

> Would love to see Knuth's Challenge setup in a repo for collaboration.

Go for it!
And the result of the entire expression is still nullable. I'm not seeing any problem.
Reminds me of ZenDock, another failed kickstarter laptop dock.

https://www.kickstarter.com/projects/coleflournoy/zendock-th...

Sounds like HydraDock might be handling it better than Cole Flournoy did, however.
How does this architecture constrast with Rust? Has anyone built anything like this in Rust?

It makes me think of an article where the author tries to abstract the implementation of IO from the the domain logic. [1]

[1] https://blog.skcript.com/asynchronous-io-in-rust-36b623e7b96...
I recall a few of the pieces stemming from the recent sugar story and the multi nation study. France couldn't be included as it would give the wrong result. I seem to remember that they had data from 20 or 30 countries most varying markedly from the preferred answer.
StackExchange
Hanselminutes
SE-radio
SEI podcast
Cognicast
Software Engineering Daily

Software Engineering Daily seems to dominate my playlist. I guess that shouldn't be a surprise.

Last year, I listened through a lot of the Changelog's back catalog. But I sort of maxxed out on it because my interest is more toward the infrastructure than the front end development tools.
Did you see the message about the browser not being supported? Which browser and platform were you using? I can't say I've seen that behaviour at all yet.

Also, it takes a few moments for the share to start; maybe you closed the tab too soon?
Embracing Functions in React
For the people who only pass through once in a while, sure. But for the people who commute everyday or live close by, it makes a big impact.

There was a survey somewhere that said New Yorkers would rather their commute be 4 or 5 minutes longer if it meant it was less crowded or angry, or something like that. If you have to walk through some boring brutalist concrete everyday, your quality of life is going to be lower, whether you're running early or late.

Also not everyone in the city has the choice of living some place nicer in NYC. Midtown is where fresh college grads land because it's cheaper and more convenient than the rest of Manhattan, not to mention other immigrants or old people.
I always hear the platitude "don't eat too much". I don't think I've ever heard of anyone who "wants to eat too much".

It's like telling people "drive safely". Nobody is trying to get in an accident.
Creating a BigData Realtime Analytics and Event Processing System with AWS Kinesis
I would imagine if you're generating then no real people were part of its creation therefore it would be legal. If I remember correctly cartoons of children having sex is not illegal (in the United States as far as I know).

Though that then raises the question: when happens when it can be generated so realistically that it looks indistinguishable from the real thing? Would it still be treated like cartoons? How could you prove one way or the other? Lots of questions here.
Did you mean to reply to me? I hadn't commented at all on the virtues (or lack thereof) of any particular macronutrient ratios, high-carbohydrate or otherwise.

My point is that the appropriate response to a debate between any given X and Y isn't "no need to consider the facts because the answer is obviously X".
With access to Flickr and Tumblr it must have been very easy to create a huge training set for such a task.
Hah. Apple pie led to obsessive asking from the kids when they were younger.

Not a conversation I was going to help with, I'd never refuse more mum's apple pie. :)