skysight-inc/HackerNews huggingface dataset:
Can you show me an example of something a compiler could check if it wasn't for dependency injection?

I think the question of whether or not to hard code some setting or make it configurable is unrelated to dependency injection. Dependency injection is one way to design dynamic configuration once you have decided not to hard code.

Other options would be to load stuff from a database, a directory server or from a config file. No matter how you do it the compiler won't be able to help.
There are some topics that show up on HN frequently, but the discussion is incredibly poor every single time. I've given up on upvoting/downvoting any such discussions and simply don't read them anymore. This includes everything on sexism in tech.

I don't blame you, but I find it especially sad, because sexism in tech is one area that actually needs more meaningful nuanced discussion. Not to be too elitist, but if we can't have this conversation, who can?
"I believe educational policy should be made under the assumption that everyone is a highly intelligent, curious and creative individual like myself" -- Stanley Kubrick
I have a Nexus 4. Had a Nexus S. I find it irritating, in a papercut kind of way.
It's a "wouldn't it be nice" kind of article. Concept art would be nice even if there is no intent to make a prototype.
100% agreed. As a developer though, I'm increasingly tempted to get one of these Chromebooks and put crouton+Ubuntu on it for my dev tasks. :)
I'm intrigued by using Chrome OS, but the choices of Chromebooks is pretty sparse. You either have the ultra-high-end of the Chromebook Pixel that costs as much as a Macbook Air 13", or you have the ultra cheap and cheap-feeling low end.

Why can't we get a mid-range one, with a decent keyboard, decent IPS screen (doesn't have to be touch-screen), long battery life with Haswell chip and USB 3. Yes yes...we can just buy a laptop and run Chrome on it, but it's not the same. No ultra-fast boot-ups, no security inherent in Chrome OS itself etc.
The comment section of this article is a social echo chamber of a critique of a social echo chamber.
I don't believe it has been proven to anyone's satisfaction that that is the only thing it leads to.
Not mind boggling when you realize that GD actually sells stuff. Therefore they have sales, support etc. Twitter while popular, is only now starting to actually sell "stuff" ie advertising.

Look at Groupon as an example of real world staffing gone awry.
I don't know why people keep complaining about Ruby's (MRI) speed. Yes, it's not that fast but for most programmer's doing web development it doesn't matter. Remember, you are (probably) not writing the next Twitter/Facebook/whatever. You are (probably) writing a boring LOB web application.

Not everyone is working on a startup trying to peddle their stuff to a zillion users and getting hammered in the process. If you ever get to Twitter/Facebook/whatever size no out-of-box solution is going to work. You'll end up doing what Twitter did which is re-architect all their infrastructure/code and tune all their stuff as much has possible.

Ruby's issue IMHO is that it has always been a Rails-centric community/ecosystem and never had the change to grow beyond that. It's still largely used to write web stuff and nothing else. Python, which is a "similar" language, has a much healthier and more diverse ecosystem being used in things like scientific computing or computer vision.

If you want to make Ruby better, grow beyond the web application ecosystem and make it more diverse.
Xbox Live Compute: Difference Engine
It's not even about what GoDaddy plans to do with (mt). It's more about how lots of people feel about doing business with GoDaddy.
No, I think this is the point, that there are groups so isolated from "American culture at large" that they only see it as a joke or with disdain.
What you may not appreciate is that the GoDaddy brand is toxic.

Whether it's your advertising, your support for SOPA, the check-out maze, or the ex-CEO killing elephants - it's a brand that many informed consumers have chosen not to do business with.
Feedly allows you to build newsfeed and notification systems using Cassandra and/or Redis.

Suggestion: That the library is a Python library is just as, if not more, important that working with Cassandra and/or Redis. You should mention that in the first sentence, for example, "Feedly is a Python library that allows you to easily build newsfeed and notification systems on top of Cassandra and/or Redis."

-----

More notes:

It's also not particularly clear what approach Feedly actually implemented. You mention "push" and "push/pull", and say what Fashionista used to use, but never actually mention the approach Feedly has taken.

Without looking at the code, i.e. just from the README, I'd guess you're doing full fanout (i.e. "push"), with no pull for inactive users (i.e. what Twitter does for users inactive for 30 days). That's fine, except...

...you don't really discuss how Feedly handles the power law problem (publishing to Lady Gaga's feed), which is the only difficult engineering issue with these kinds of systems. If Feedly's approach is to ignore it, and just push all 30 million subtasks into Celery, how will that impact all of the updates to the other user's feeds, which are happening concurrently? How will that impact memory usage? I couldn't tell just by reading the docs.

Finally, the stream itself is actually the easiest part (other than the power law problem). Production systems need monitoring, along with some kind of recommendation system for getting users connected to each other. Integrating all that is obviously a separate project, but I'd be reluctant to build on top of Feedly until I saw at least some hooks for incorporating that stuff.

Otherwise, good work. I've been implementing this stuff recently, and the only other semi-full featured open source project out there for activity streams when I started was written in PHP, so it's nice to see something a bit more hacker-friendly. Bonus points for Redis and Cassandra, two of the coolest NoSQL database out there!
Six updated features of iOS7 that Android still does better
If you're looking for WP hosting without the need to manage a server, we've been having a good experience with Synthesis' managed Wordpress hosting: http://websynthesis.com/

The only downside is that since their pricing is based on the number of domains/installs ($27 for a single domain/install), it'll get pricy for multiple small WP sites on a single account.
The problem is that MT has the best shared host dashboard control panel out there. The grid shared hosting option historically sucked (can't tell you how many fires I've had to fight because of prolonged grid outages) but damn, that slick control panel makes it so easy to spool up a site for a client in a hurry, or set up a new subdomain that it was worth the pain of periodic unannounced downtime. I loved being able to get a site up on MT Grid in 5 mins flat

If there is anything thats as easy to cruise through and still reliable, I'd love to hear about it.
> The issue is that with some particular topics, HN is unable.

Agreed, it's actually just impossible to have a non-polarized discussion if people identify too strongly with one of the poles. This isn't unique to HN, we essentially live in a bipolar society. Even if you present a middle ground, someone identifying with either pole will assume you are identifying with the opposite pole, because they see that part of the world in black and white.

Nevertheless, these discussions are good for clarifying your understanding of the world, just try not to expect much in the way of respect, appreciation, agreement, or understanding.
Nor was this presented about the entirety of Russia.

I disagree there, the strapline talks of a heartland in decline, and the article talks of the rest of Russia as separate from the two major cities. Not sure I would have called this propaganda myself but it does read to me as a portrait of the entire country and system in decline, not a single journey, partly because of the framing and strap.

If you actually read the paper

I've read it extensively for years thanks as I used to be a subscriber; the snark is not helpful.

Here's a very recent example that I remember reading titled "Inequality in America: The Data Is Sobering"

I agree the NYT features some great writing and some great journalism (including the article you cite). I'm not trying to say they never criticise the US, but that they haven't produced splashy front-page spreads about the decline of the once great nation of America which compare to this article - given the recent hostilities between Russia and the US (Georgia, Syria, Snowden), they should be doubly careful about cheering on the side of a very partial US administration or denigrating Russia as a country. To my mind, they haven't challenged that administration sufficiently on drones, surveillance, budget, wars, Guantanamo bay, etc. They have published critical articles but have also published many apologias for the gov. position, and on Snowden for example their coverage has been more notable by its absence from the front page than by its presence. I remember when the story broke the largest story on their home page for the day was a story about high prices in Disney theme parks.

Still, they compare well to almost every other newspaper, most of them have their blind spots, and there are some real high points in their coverage IMHO, like The drone that killed my grandson, though that was an op-ed rather than one of their writers.
Sounds like maybe a new iPad cover?
For the exact same algorithm of moderate complexity, there should be less than an order of magnitude of performance difference between any languages, from a high-level language like Ruby to hand-coded assembly.

Performance issues come from blocking and bottlenecks, not programming language choice. Waiting on database queries, waiting on networks, waiting on disk - those hurt. Using O(n^2) algorithms when O(n log n) or O(1) could be used hurts. Bad indexing on data sources hurts. Handling excessive or redundant data hurts. Threads that could be doing work getting blocked (or deadlocked) by other threads that could get out of the way in a better architecture - that hurts.

Programming languages, that's nothing. And in Ruby's case, even that limit can be addressed. Ditch the perceived inefficiencies of the Ruby interpreter in favor of JRuby running on the highly tuned JVM, and see if things are faster.
The most common complaint I hear when I talk about Ruby is it's poor performance. The languages I hear mentioned most often (by the complainers) as alternatives include Go and Node.js.

I've used Ruby for a few years as a part-time coder. In that time I've never ventured out to try the variety of Ruby interpreters available. For instance, I've heard of JRuby, and I have also heard it's really fast, but it just seems like it's intended for "enterprise" use-cases, rather than my day to day scenarios.

If there are all these faster Ruby interpreter variants out there, one 'evangelism' approach could simply be to make them more visible and approachable to end-users.

There's also opportunities for package maintainers to work to make these alternatives available in the various Linux/Unix distributions. I want to be able to apt-get them, rather than hunt down a PPA or build via RVM.

Is there anything else beyond speed that is holding Ruby back from greater mindshare?
Thanks!

The HTTP library (requests) by default will pull a gzipped version of the resolvers list from Github (Content-Length returned for current version is 59029 compared to 239359 with gzip disabled). Compressing with `gzip -9` gives me a file size of 49648 so I don't think the added complexity of having to consciously deal with the compression in the application outweighs the small gain over the standard HTTP compression Github and Requests provide by default.

I had looked at pre-downloading the resolvers file in the setup script, unfortunately there doesn't seem to be a decent, reliable way to do it. If people download the source and run `setup.py install` it's easy but I'd imagine most people will just install with `pip` or `easy_install` which makes things a bit more complicated since nether of them seem to run post install actions.

Both good suggestions though, I'll keep them on my todo list.
Depends how managed you need it, but Digital Ocean have been getting nothing but praise of late. They're incredibly cost effective too.
How police make millions selling drugs
> The whole point of this article is that you don't need to use Newsstand to get the things you describe, and in fact you're better off not doing so.

I don’t think the article does a good job at explaining why developers would be better off not using Newsstand.

The only thing I saw mentioned as a disadvantage of Newsstand is that magazine titles aren’t placed on the main level but in a separate folder labeled ‘Newsstand’. That supposedly makes the magazines hard to find. However, many comments in this thread are about how prominent Newsstand is placed and how it is hard to ignore (ie. it can’t be removed, and until recently it couldn’t be stowed in a junk folder).
> The article touches on open-source OS alternatives and touts ChromeOS as one of them, however its open nature is only skin deep -- the vast majority of your activities occur within the confines of Google's ecosystem (or some other closed-source ecosystem).

That's up to the individual. You can exclusively use web services running on your own servers if you so choose.
Wouldn't this trigger a voting-ring? :p
Well actually Visual Studio team put efforts to address exactly this need:

http://visualstudiogallery.msdn.microsoft.com/eedc48e7-5169-...

http://blogs.msdn.com/b/vcblog/archive/2012/07/12/10329460.a...

http://msdn.microsoft.com/en-us/library/zayyhzts.aspx

http://visualstudiogallery.msdn.microsoft.com/c7e02633-86d9-...
Is Mathematics Invented or Discovered?
Actually, I'd be pretty interested in reading about commercial real estate. I have been at startups looking for offices before. I've also met startups in the area, like ones that implement your future building in a game world and let you walk around inside with a real estate agent. If getting someone to buy into investing in a new hotel property is worth a lot of money, then even a small increase in the number of investors is worth quite a lot, so seems like a good point of pain to get money to attack.
No, I meant the Marshall Plan. WWI left Germany in a humiliated condition that eventually led to another war, so they didn't want to repeat the mistake with post-WWII Japan, especially with the Soviets vying for influence in the same part of the world.
More female faculty at UW College of Engineering
If you believe that, then for your sake, I hope you're right. But this is worse than being acquired by Yahoo; the product may last longer, but it's immediately lost so much good will that whatever leverage that brought to the table with GoDaddy is not likely to last long.
Sure, as someone above mentioned though, unfortunately GoDaddy is a toxic brand. I do NOT want to be associated with a brand that doesn't support net neutrality and was in favor of SOPA and PIPA. I'm sure you guys will do fine anyway, but I'm pretty sad I'm going to probably have to abandon MediaTemple in the long run....
There's something really weird going on with http://sidebar.io/new. When using Disconnect [1] in Firefox, it blocks over 1000 requests to Twitter and just keeps growing, as if Sidebar makes a new request every time Disconnect blocks it. Whatever is going on it causes Firefox to lock up repeatedly.

[1] https://disconnect.me/
I'm now on the lookout too.

Early this year I already migrated 2 DV accounts due to poor customer service, now happily hosted Linode. Now I'll move 2 GS accounts for family and a close friend, but this is no Linode solution.
I flag stories if I believe the odds of the resulting conversation being productive are sufficiently low. Obviously this is more common for some subjects than others; how could it be otherwise?
I love the fact that you've asked people to donate to the International Justice Mission - they do great work! What made you choose them? Is the font somehow inspired by the work they do? (maybe you could convince them to incorporate it into a rebrand ;)!
They've been doing it for years, remember that Chrome/v8 is the one that forced all the others in really caring about js speed in the first place, and kept the race going for years by always being a few steps ahead.

In this cas mozilla is the one that took the lead on the asm.js case, and healthy competition is always better, but I believe it makes no doubt that the v8 team would have worked at improving their js speed as much as possible even without that pinch from mozilla.
Especially after pg's response to the blog post about sexual assault at CodeMash, I wonder—why can't the flamewar detector just disable comments?

I tend to have a lot of respect for pg, and found his apology for what happened in that thread to be admirable. Whether or not preventing discussion of the issue on HN is positive or negative...I have very complex feelings on the issue, and see valid arguments on both sides.

What I do not have mixed feelings about, however, is that these issues need to be put front and center, so that people in our industry a) know they exist b) know how common they are c) are inspired to make personal effort to fix it. I would hope that pg agrees.

If he does, why not make such stories, when they set off the flamewar detector, maintain their ranking, but disable comments? That way, the issue is still raised, and people are still alerted to it, but it prevents the (some believe) "unproductive" discussion.
Ugh. I like MediaTemple from good experiences with them but don't like GoDaddy from bad experiences with them. Not sure what to do here. Migrate away whenever the opportunity comes, I guess.
Also unlimited domain names and a huge amount of storage.
Great to see mention of folks doing the early work in compilers and optimization.
I'm happy to submit a pull request if you'll accept them. Already have forked the repo.

EDIT: You're right regarding Github serving it gzipped. You can disregard my comment on that; I was using wget for testing without specifying --header='Accept-Encoding: gzip'.
You missed the bit where GoDaddy is largely regarded as the scum of the Internet.

Their impossible interfaces, distasteful advertising, dark patterns regarding renewals and addon services, parking domains, and support for massively oppressing SOPA legislation all combine to make an absolutely awful brand image.

You've pretty much just destroyed the quite nice reputation (mt) had as a solid, premium hosting provider.
Seriously, I checked the date...
If it's just some WordPress site, nobody is better at running WordPress than WordPress.
I've been using site5.com for a few years now for this sort of hosting (small clients & family/friends). I've been happy with them.
I know none of my passwords
PS: if there is a need for something IDE-related it is either already done in VS, available as a third-party extension or there is an API to build it.
I think for many people its a moral choice. It doesn't mater how it affects MediaTemple as a service, they'll just plain refuse to support the parent company, and good on them for that.
For all those here suggestion small alternate hosts, accompanied by their anecdotal positive experience remember that your favorite host is probably one fat check away from selling out just like MT. In fact, most web hosting models are built from the ground up to eventually get swallowed (acquired) but a larger hosting fish.

I've been through several hosting buyouts with my clients over the last 13 years and none have ended well. Even after the dust settles, the "New Company" almost always loses it's original formula for success and with it, it's original customers.

Lessons learned: Host with bigger hosts less likely to be snapped up. Diversify your client hosting providers so one botched buyout will not sink you.
I was going to post person by person, but I figured a general post with all the info would be a better option. So here it goes...

We're definitely excited about the move. We know GoDaddy may have had a not so stellar reputation in the past, but we're very happy with the changes they've made this year. Along with that, we are very happy to get the funding and resources we need to make bigger and better products. We want to put out better products with the same style and flare, and we can now do it a lot better and a lot faster. Our support isn't changing, products aren't changing, and the only real big change today is that we're getting cake and lunch on the house.

Feel free to shoot any questions at me, or check out our weblog for a FAQ http://weblog.mediatemple.net/2013/10/15/faqs-about-the-goda...
Doesn't sound like it given the battery life. Except for short coding sessions it sounds like you would be tethered to a nearby power source, and if that's the case why not use a more full featured machine?
are you talking about a double-spend attack?
I don't find it valuable for these topics to be visible - that's why I flag them.

The site is this way because this way works; it's not like there aren't dozens of other sites with different policies out there on the internet. And yet for some reason we prefer to come here.
Yeah is a little pricey, but may be what OP was looking for.

The probably don't allow a WP network with multiple other sites CNAMEd to subdomains, which is how I'm set up. It's a little sticky to setup, but you have a free wordpress.org afterwards effectively, which is great for all my friend's and family's pet projects and mini sites.
> If we are sitting in a coworking space and all come from the IP, does that flag us as a ring?

Quite probably. If you know a good way to distinguish between such a circumstance and a deliberate voting ring then let the site designers know!

I'd just avoid voting on your collegues/friends' stuff. HN is so highly trafficed that if it was going to get near the front page it would anyway without those few extra votes and if it wasn't it wouldn't anyway even with those few extra votes.

EDIT: Actually, cancel that last bit. I see some of the items on the front page currently don't seem to have many points so a few friends voting could make a difference. Though I'd still refrain as most major sites that include user voting will have this sort of voting ring detection so you will get nobbled at some point.
I wonder how this is going to affect the jquery.com site, which has been hosted on MT forever.

I have a strong hatred for GoDaddy, and will never consider Media Temple for any of their services now. Sorry MT guys, I just hate GoDaddy THAT much.