1,351 karma · joined August 22, 2011
I do not put disclosures in my comments, my background is fully disclosed here. Per HN commenting guidelines: assume good faith.
If the speed ends up being a problem, it should be pretty easy to add a "--bail" flag or something.
Weird reading the Twitter account and recognizing the names of people who were active when I played a decade ago.
> I think the Retina MBPs are the only laptops so far that use PCIe SSDs, so they're not limited by SATA's 6Gbps.
If the bottleneck in your build process is the data transfer speed from your hard drive, props to you.
The problem is that it rarely generates repeat customers and/or customer loyalty - they tend to generate customers that come once, when they have a coupon, and never come again.
So unless your business is high margin, you're almost guaranteed to lose money from daily deals.
Thus, it's very good for things like paintball and skydiving and very bad for restaurants.
They already have that, that's called integration testing. Unit testing is trying to test as small of a unit of code as possible - this helps you identify exactly where the error is. If all of your tests are integration tests and something fails, you have no idea which part of your stack the problem is in.
Obviously different projects require different kinds and amounts of test cases, but I prefer a mixture of both unit tests and integration tests (unit tests for small, complex blocks of logic, integration tests for most of the other stuff).
Request has a lot of extra code to deal with the global state. It's written as one giant class that sets all of its properties on itself (e.g. this.method = options.method, etc., etc., followed by "http.request this"). Further, when it handles HTTP redirects, rather than instantiate a new instance of itself or something it just calls its init method a second time and has to make sure that it resets all of its properties to their default state (e.g. this.method = 'GET'). This is where most of the bugs come in, as well as most of the bloat.
In contrast, our's is a method that calls itself again with new options based on the context when it needs to handle HTTP redirects so we don't need to worry about that sort of stuff.
You say that both me and the guy from Prismatic are trying to "justify" his actions, but that's completely false. Nowhere did I say that doing something like that was acceptable behavior, nor did he. I agree that impersonating a user and posting to their social media accounts without their approval is unethical and immoral.
However, he said that it was an accident, a bug - that the intended behavior was not this unethical and immoral action, but something else entirely. You proceeded to accuse him of justifying it and being "in a state of delusion, blinded to ethics and respect".
And now you said that same thing to me, more or less.
If anyone here has questionable ethics, it's you. You COMPLTELY MADE UP these actions of other people, MALICIOUSLY, and used it to libel them.
There's a node package called "request" [1] that's a very, very popular third-party library to simplify HTTP requests. If you look at the code, though, it's really, really nasty - the whole thing is filled with global state. After I spent 6 hours in one day debugging issues in the library and filing bugs (some of which included things such as "if you try to set a querystring parameter, request can no longer follow redirects"), we decided that enough was enough and we rewrote it from scratch [2].
I think that rewriting it took us about as much time as we spent debugging it, but we were left with a project that's a drop-in replacement (as long as you're not using any of the advanced features) and has a codebase that's 1/10th (!!!) as many lines of code while implementing near 80% of its features.
My interpretation from reading this whole thread, the associated article, and some comments is that there's an option for users to invite their Twitter followers/share activity, but the messaging around it is unclear or something (maybe a bug?) so people didn't realize they were doing it. And now it's being fixed.
That's hardly intentional unethical behavior. Saying someone is "in a state of delusion, blinded to ethics and respect" is WAY out of line for someone whose product had either a UX or technical bug, who apologized for it, and who is now trying to fix it.
But again, looking at the chat log, the 99 Designs guy is very apologetic and helpful and Andrew immediately says "OK, I think I'll blog about this and post it to Hacker News and see what everyone else thinks." (This is in response to "Justin" from 99 Designs apologizing for the inconvenience of requiring a phone call).
Hacker News is not your personal soapbox.
I work for Clever, a YCS12 company. It's quite honestly the best job I've ever had. Every day I get to solve fun and interesting problems in a market (education) where I can actually tell people that I'm trying to make the world better.
This is copy+pasted from our jobs page (https://getclever.com/about/jobs):
## Things we're looking for:
Experience with consuming and/or creating RESTful Hypermedia APIs
Comfort with a variety of languages (we use the best tool for the job, everything from Node.js to bash scripts)
Devops experience scaling up systems including AWS and MongoDB
Ability to quickly pick up new technology and apply it effectively
## What Clever offers:
A chance to revolutionize education
Competitive salary and significant equity stake in well-funded company
Flat and close-knit engineering team with lots of peer code review and pair programming
Great benefits - healthcare, dental, unlimited Amazon budget, beautiful office, etc
To apply, email jobs+engineer@getclever.com
You can find it here: http://support.google.com/a/bin/request.py
Errr... how much income do you think makes you 1%? Hint: it's $150k/yr. That's not "upper middle class". I understand that there are a lot of people here that might make that, close to it, or more because software is very lucrative, but don't let that skew your perception of the world.
Sounds like underscore.js would have cut your development time by more than 25%. You should check it out - it's a great library.
On the other hand, it's very hard to give someone a list of concrete things that will make them a better programmer. I suspect if you tried, you'd end up with very subjective things like 'strive for readable code' etc.
I also never claimed that python was broken.
Basically, I don't use python very much and wanted to know if python had performance issues that required you to drop down to C code often, or if that was just for a scenario such as this.
I think that any language that REQUIRES you to drop down to a lower level for performance (not one that SUPPORTS it, but one where it's REQUIRED) is inherently broken. I would think that would be a pretty noncontroversial statement - if every python script you wrote had to have embedded C code because otherwise it was too slow, that would be pretty broken. That's why I wanted to know how common this was.
To regular pythonistas: Is this a common issue with Python, or only in the author's contrived scenario of summing a ridiculous amount of numbers?
There are TONS of different companies doing some really interested stuff in ed-tech. Not only are there lots of ed-tech companies that aren't online learning companies, there are a lot of online learning companies that DON'T rely on a student's intrinsic motivation: e.g. anything in the K12 space - there are a lot of K12 schools that are beginning to incorporate online learning into their curriculum, and then there's plenty of extrinsic (e.g. grade-based) motivation to do well and perform.
I think my #1 takeaway from this is that the author isn't the target market for most of these ed-tech companies. They're not trying to get people to take these classes for fun, no more than colleges want people to take classes for fun.