skysight-inc/HackerNews huggingface dataset:
"India frees itself from polio"

Manages, makes it sound like a fluke. They could have used a better verb for an amazing achievement. It was a very big grassroot level movement for decades.
Nice app... but I think images are source assets (like code) and sprites are binary deliverables (like object files, dll's or class files) and therefore generating them (like compiling) needs to be part of your automated build flow.
Eat 5 Terabytes in your Lunch Hour with Elastic MapReduce
w.r.t. your point 3, symfony modules do sometimes require a one-off command to re-generate cached data after a deploy of new code.

an example of this is the assetic asset manager. during development you can tell assetic to compile assets dynamically, but when you do a deploy to live, you generally run:

php app/console assetic:dump --env=prod

if your app is configured properly this will take all css and js and compile/minify for production. it's a bit of extra "work", but well worth it for the performance benefit.

so yes, it does appear that performance measurements being shown are comparing apples to oranges. however, if developers are willing to go through the extra steps to get this working, it wouldn't be out of line with other symfony framework practices.
I had the opposite experience. I heard about all the great games on the iPhone, so I downloaded a bunch of 5-star games. However, I was shocked to find that almost all of them were spammy and hardly let you play without making an in-game purchase. To me, spammy games which basically require in-game purchases do not merit a 5-star review. A free game on Android that is only superficially free would not receive a 5-star review.
A natural spring in the desert that fountains water up 100+ meters, and they decide to put a huge pyramid-shaped stop on it, presumably to get rid of the luscious oasis that must have been there? And that fountain somehow, in thousands of years, didn't find a new way out through the limestone, which is water soluble?

I think it is more likely to claim there was an oil well there.

Edit: it wasn't a desert at the time they built the pyramids, but blocking a natural spring never was a good idea over there.
If I understand the Telegraph docs correctly, it offers some event-based capability if you interact the app through your Django models exclusively. If, say, you've got a crawler that's out there discovering new content on the web, or a chatbot that listens on IRC, or another app that interacts with the DB via a different framework, you're pretty much out of luck, unless you also write those components to use Telegraph and Django models.

That's my point about every part of your system needing to be async-aware. Most off-the-shelf open-source components that people use to build websites now are not. Ironically I think we were in a better position in this respect in the early 2000s with JMS, Jini, JavaSpaces, CORBA, RMI, etc. but all of those fell by the wayside because of justifiable concerns about programming complexity. Now the latest generation of web developers is discovering async soft real-time programming again, and soon we will again discover those concerns about programming complexity.
It's not as strong of an indicator as it was in the past, but if you have years of track record with your employer you probably will keep getting that paycheck in the future- and if you get fired, you can probably find a new job.

Not a perfect signal, but it's not like there actually is a perfect signal to be had.
I think my methods were good. They were based on data mining company information for all companies registered with Companies House, such as changes in numbers of employees, net worth, main products and the like. I tried to apply scientific method to the task of finding employment.

If the unadvertised jobs cannot be detected by any empirical evidence then I would suggest that they be treated like other mythological phenomenon.
The clickbait title is pretty obnoxious. I know that it is the current craze to style that way, but I can't help but imagine that a more helpful title would be something like: "Ruby 2 breaks existing projects by adding Accept-Encoding: gzip"...
I need to add a time period to a time point far far far more often than I need to divide a time period into thirds, quarters, sixths and twelths. And dividing into quarters is not difficult in base 10 either, so you're basically down to chosing between pleasant time arithmetic for our current world or being able to easily divide thirds, sixths and twelths. I'd rather have the nice time arithmetic.
Interesting speculation about whether MS could turn back the tide of iPad, but I would not be surprised if those Surface devices were just there because of product placement.
>ZFS would help to handle some of the failure types of SSDs. I doubt that it can help in the case of a multiple disk failures due to a power failure.

It can if there's enough redundancy. If your pool is a stripe of mirrors, then you can mitigate this effect by putting each half of a mirror on separate power supplies.
Definitely +1 for Pipedrive. Works great for us (2 salespersons).
Inside Monopoly's secret war against the Third Reich
Doing, or did? Is the RSA actively doing anything negative? The Bush comparison doesn't really hold if they aren't.
Haven't read it (still on my shelf), but have you had a chance to read Dreaming in Code? That's the book I would describe as "the best book about getting a product out the door", or not, in this particular case.
What The Chinese Tech Industry Is Like
Possible Horror of crowdfunding
I come from Kenya, and apparently this is the easiest way to get financial assistance to start your business. Check the probable consequences, and whether that may work in the US.
TLDR is he doesn't like our societal descent into neo-feudalism. Doesn't bother explaining why its bad, just it sucks and he doesn't like it. My advice is best get used to it.

Nietzsche would be proud of how all values especially middle class values need to be reevaluated.

He uses the made up .gov numbers for inflation, LOL what a noob.

He buys into the whole "divide and conqueror" thing WRT marketing defined age groups. Way to go.

So its a mixed bag. Good and bad parts.
I'm annoyed every time homakov posts a vulnerability. He writes in a way that belittle his target, like everyone is stupid except himself.

Also, I really dislike how he handles his disclosures.
Facebook Sets Expiration Date for Controversial Ad Feature
Golly gee, things are changing too fast for Thomas Friedman and his readers!
ACID in HBase
How about "Test suites are awesome and help you find bugs during major upgrades"? I mean, this is basically your standard old "Regression tests helped us find a break in our software when performing a major upgrade!" story, rather than a "OMG, Ruby 2 will kick your dog and knock up your wife, avoid at all costs!!11" warning tale.

This is textbook clickbait. Yawn.
Less trolling would definitely help too.
Governmental Participation by Women
I think the parent meant "high quantity even if it is low quality".
I don't think it's specific to London that in 1927 vehicles were slower than today...
Sure, professionals use real time. We're not talking about anything where time is critical.

We're talking about kids wanting to meet each other on a Minecraft server, or a band releasing a video, or simar casual online meetings.
I was wondering who Ben Milne was (maybe that’s my first mistake). Oh, Dwolla. CEO of a company that’s raised $20MM+ of VC, handles a billion dollars in transactions.

What can I learn from his blog? Well, for one, there’s this huge “stuttering” GIF that takes 3/4 of the vertical space of my screen, so I can only see the top half of the blog title, let alone content. But I can see the second most prominent link at the top of the page, however, “Buy Me A Coffee”, and “feed [his] habit”.

I find it a little distasteful when someone who is much more successful in the VC / startup game than the very vast majority of people ever will be has one of the most prominent links on his site being to “give me money to buy coffee”.
Maybe I'm alone on this, but I've never thought "I have to upgrade to a new Ruby point version anyways, why not just rewrite everything in Python/Perl/PHP(?) while I'm at it?"
tl;dr: Jew writes extremely condescending short story of the last 10 years, contemplates socialism and licks his chops imagining all the socioeconomic data that will soon be at his fingertips.
That's what I was thinking. I also started wondering how a large structure might be packed, when you can relatively address every byte in the nearest 256 bytes but only every 4 bytes in the next KB and so on. It could sort of upend the way you might normally think about packing a struct.
arm64 ... sort of ditches conditional execution. It’s not on every instruction any more, but it’s still available on more instructions than on most other arches.

To the usual complement of typical conditional instructions (branch, add/sub with carry, select and set), arm64 adds select with increment, negate, or inversion, the ability to conditionally set to -1 as well as +1, and the ability to conditionally compare and merge the flags in a fairly flexible manner (it’s really a conditional select of condition flags between the result of a comparison and an immediate). This actually preserves most of the power of conditional execution (except for really exotic hand-coded usages), while taking up much less encoding space.
Nice idea, a topic that directly relates to my interests, bad implementation. All windows only executables with a hilarious license "You may not ... learn of the algorithms used within" so its all basically useless.

I see more and more Octave being used for applied math problems like this. From neuroscience to RF. And that's good.
dns "hijacking"? hosts entry as solution? booooooooooooring.
Bitcoin Address Shortener
I find this sort of bravado about replacing other professions really unconvincing - if you think you can replace lawyers, doctors, pharmacists, accountants, Marketing, and HR with software, why not the programmers themselves?

If you think on why you can't replace programmers with software written by experts who know nothing about the domain (or even by those who do), it will tell you why the professions you've listed would be very hard to automate.

I think software and the hardware it controls is going to be pervasive and take over a lot of formerly human functions in our society in the next century, but the professions you've listed above, along with programming, will be some of the last work to be completely automated, after manual labour, farming, cleaning, data-entry, call-centres, technical support, etc etc. It'd require strong AI to do replace those professions, expert systems don't come close, and if you think your profession is uniquely immune to these changes, why is that?
I think your point number 1 is one of the quickest ways TO feel lonely. I've found my personal happiness and satisfaction should absolutely not be fully dependent on having a girlfriend. That mentality often causes people to settle or remain in relationships when they shouldn't.

When you have habits that keep you happy and healthy, then often times things fall into place like getting an SO, but I hope I never "get" a girlfriend to make me stop feeling lonely. I should have daily habits that provide me with a fulfilling life, then I won't feel loneliness. I prefer entering relationships as a balanced, happy person.
Designable DNA-binding domains enable construction of logic circuits in cells
Regarding #1 & #2: We need to find a way to drastically reduce (literally to zero) exploitable defects. Browsers, and especially Firefox, can go a lot farther here than they historically have. In the case of Firefox in particular, we'll figure out a way to make sandboxing work for Gecko and there's good reason to expect that Servo can succeed. But, even sandboxing and memory-safe languages cannot prevent logic problems. For example, https://bugzilla.mozilla.org/show_bug.cgi?id=919877 is up there as one of the worst SSL implementation bugs of all time, and Chrome's sandboxing did nothing to stop it, and neither would using a memory-safe language. (Edit: that bug never affected any Firefox release, as we found & fixed the bug before enabling that feature in the upcoming Firefox 28.) Ultimately, openness, and the verifiability that bolsters it, will be essential for getting to zero security vulnerabilities no matter what defense-in-depth mechanisms we put in place.

RE #3: I don't think the NSA even needs to try this yet, given #1 and #2. There are too many vulnerabilities going into browsers accidentally for anybody to bother deliberately adding one.

Re #4: On Windows, SSL is a defense-in-depth measure for protecting Firefox downloads/updates. Windows's Authenticode check is another defense-in-depth measure. I agree that both aren't perfect, but they aren't completely useless. More importantly, though, Firefox updates on Windows are signed and verified using a mechanism that is completely separate from the public PKI world. This is the primary defense (IMO) and this is something we should extend to updates on other platforms. (B2G has its own, different, wholly-separate signing mechanism too.) The design is sound though I wouldn't be surprised if there were things we could do operationally to improve things further; I don't know since I'm not in opsec.

> In other words, if we're serious about securing our browsers against this adversary, we need to think a lot bigger than just verifying that the binaries on our FTP servers match our source.

I don't think that anybody is going to disagree with this. However, this statement being true doesn't mean that verifiable, open-source builds are useless. Especially in the long term, as we improve in #1 and #2 in particular, verifiability and openness is very important.

Also, I miss you.
Except that these quotes are also about coding as the mreasnsd to an end. The ends may not be as elevated, but employment, pride, security and such are powerfully motivating ends. I think its really amazing to think about the intellectual power of coding -- I think philosophy tends to pay more attention to physics and not enough to engineering -- but more immediate human goals are perfectly appropriate ones to serve as the ends for which learning to code is the means.
C#'s functional side is why I actually really enjoy working with it. I get to use a nice blend of OO and functional, where each makes sense. OO more on a macro scale, organising code.
I have to second this. The UI does suck, and the product is expensive ($65/user/month! once you cross 5 users, and $125/user/month if you want to use the API / build any custom apps), but it does scale very well as your sales team grows, and you start dealing with territories, quotas, etc.

It's also a de facto standard, at least in the enterprise space, so an additional benefit to us was that most of the sales folks we hired were familiar with it already.
https://groups.google.com/forum/#!forum/golang-nuts is the best place to ask Go related questions, not HN.
Can you provide an example of this? I've never run into an instance of this before.
This should work if you want to look at the WSJ article -- they let you through their paywall if your referer is Google

https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&c...
Distributed Consensus: Beating Impossibility with Probability One
First of all, this isn't a MITM attack, it is simply policy enforcement at the DNS layer.

Secondly, imagine sharing a bus with someone pulling down tens of gigs of files from Google Drive over a shared cellular or satellite connection. They are watching out for everyones experience, not just yours. If you need to get work done, they don't prevent you from bringing your own dedicated connectivity.
The prof's home page is pretty interesting, see the rest of the arithmetic tutorial series or anything in the "research areas"

He's also the author of the punch card meta-information format which is pretty interesting WRT digitization of historical archives. As you can imagine, given the idea of a piece of cardstock of some size with marks and holes, there is an almost (but not quite) infinite way of representing information. Of course only some possibilities were ever widely implemented. Thats a funny traditional step along the education of a retrocomputing hobbyist, "what you say there's more than one punch card format" LOL. I would imagine in 100 years they'll be saying the same thing about unicode, or perhaps graphics image files...
This appears to be documented[1] behavior for Ruby.

Here's a quote about the header string specifically:

"If initheader doesn't have the key 'accept-encoding', then a value of "gzip;q=1.0,deflate;q=0.6,identity;q=0.3" is used, so that gzip compression is used in preference to deflate compression, which is used in preference to no compression. Ruby doesn't have libraries to support the compress (Lempel-Ziv) compression, so that is not supported. The intent of this is to reduce bandwidth by default."

I'm not involved in Ruby / Rails development, but it's interesting to note that there was a pull request[2] on the Rails core about enabling gzip compression by default. It was ultimately decided best left up to the webserver and closed with the following quote:

"Rails should focus on being an MVC.

Enabling Gzip was an idea, but I think we now have enough arguments to not implement it ;)

IMO feature closed"

This looks like one of those good arguments. From what I can tell, this isn't a Rails problem, but a Ruby problem. I happen to agree that enabling gzip compression is good practice, but I don't think it should default to enabled at the application layer.

[1] - http://ruby-doc.org/stdlib-2.1.0/libdoc/net/http/rdoc/Net/HT...

[2] - https://github.com/rails/rails/pull/7327
I don't get why they won't just open source their main app code. It's already been mentioned, it's not like the concept is difficult or couldn't be cloned...it's simply not practical for many reasons. But being able to have the code if really cool from an educational aspect.
How do basic coding skills or simplistic hardware projects lend themselves to an improved understanding of the global effects of technology? For a writer concerned with the big picture, I imagine understanding the effect is more important than the cause (of code). Learning how to write a bit of code may improve his appreciation for technology, but I can't imagine it changing his (broad) opinions.
Personally the arrogance of making it based on Swatch's headquarters in Biel ruined it for me.

Plus why would any other watch company now support a time system based on another companies 'headquarters'

It's a shame since it was a good idea.
> The reason why people can't do that calculation in their heads is because of our reliance on computers and calculators.

No, we were never well equipped to do such computations, we didn't suddenly get worse at it with the invention of calculators. Consciously aware mental calculation is a very recent thing on an evolutionary time scale. I think even 10-20k years ago no one did any mental calculations beyond the most trivial arithmetic operations.

OTOH we have a pretty cool native physics engine in our brains and can solve pretty challenging problems such as predicting trajectories and modeling fluid flow. These skills were much more useful in our evolutionary past than arithmetic or algebra.
Observable, Scan and FirstAsync are from Rx. (FirstAsync is roughly equivalent to LINQ First(), except that it doesn't block.) This particular Subscribe method is also part of Rx, but it's basically a helper method around the BCL System.IObservable<T>.Subscribe(IObserver<T>) that saves you having to implement IObserver.
There are housing co-ops that are not student only, so that would be one option. I'm far from an expert on this, never lived in a co-op myself, there may income restrictions, etc. But there are people interested in co-operative/communal living past college.

I love the concept, unfortunately I find living with lots of people pretty stressful, though fun.
Books like these can be quite a shock to a large set of devs out there. Think enterprise code jockeys who don't read tech books or pay attention to what is going on out there and learn everything they do on the job.

I read Code Complete 2 after developing software for maybe 6-7 years in an environment like this. Much of it was obvious, but the rest was a revelation. Same with The Pragmatic Programmer.

Several years later I read a book called "The Passionate Programmer", which was like the book described in this article - soft, career development skills. That was probably the most important book I've ever read. In fact it's how I found out about Hacker News in addition to a whole bunch of different books. It lit a fire in me.

4 years later, I have a career that is so dramatically different I don't even know where to begin. On the same token, I reread that book (Passionate Programmer) recently and it does seem like common sense I would absorbed over time from things I read on HN.
For me the best was the last line :

"Now get back to work and create something."

See you later HNers! :P
You mean like: https://github.com/liuliu/mopack? But unable to inspect the embedded resource at programming time is a big show-stopper for me.
> First of all, this isn't a MITM attack, it is simply policy enforcement at the DNS layer.

The way it seems to me, they are intercepting outgoing DNS requests that should be queried against Google's DNS servers, since I had "8.8.8.8" and "8.8.4.4" in my /etc/resolv.conf.

Is that not correct?

> Secondly, imagine sharing a bus with someone pulling down tens of gigs of files from Google Drive over a shared cellular or satellite connection.

The solution to that would be to throttle speeds or bandwidth for each connected device, rather than block all access to specific domains. In my case, I just needed to read a static text document (a "Google Doc").
Same here, I have never encountered such a case
Stack Overflow questions with interesting answers are good bets for HN, but Stack Overflow questions about individual bugs with no answers aren't; they seem more like attempts to game Stack Overflow, and, at the very least, crud up HN. I actually flagged this.
Dude https://images.encyclopediadramatica.es/thumb/1/1e/Fedora.jp...

Fedoras haven't been trendy among anyone but neckbeards for the last 3 years. Wearing a fedora identifies you as being essentially socially and stylistically oblivious.

It's been obvious for decades (centuries?), but it really is true that engineers are disproportionately befuddled by contemporary fashion and style.
Seems like a general way to reduce bandwidth consumption, but there are probably better ways then a fake 404 page?
Ask HN: What's your preferred web application structure?
I've created a lot of small web apps using python with flask without ever really thinking about it. I'm about to embark on a bigger project, and I'm getting a little overwhelmed with all the options, and the lack of guides.

Should I use Python or PHP? (I'm leaning towards Python)

Should I use Django, Pyramid, Flask, or something else as the framework? (I'm leaning towards Django)

Should I buy hosting, use Google App engine, or get a dedicated server?

How will I store data, how will users login (Open ID, or should I create a login service).

How will things scale if the app performs well?

Can anyone recommend a good book or resource on navigating all the options available for creating and launching a python web app?