617 karma · joined May 14, 2012 (14y ago) · 182 submissions
comment 10y ago · link · parent
I think you can avoid the transpiling/babel dependency.
Great work!
comment 10y ago · link · parent
Looks great, liking that is suggests times too.
comment 10y ago · link · parent
- the "startups" that are a 1-guy team doing "disruptive-PASS-agile-SCRUM" consulting
- large, partially government-backed monsters where money is burnt and not much is produced
- the students who just built their first social photo-sharing app, wondering why they can't find any funding
I've heard of them from others or was offered jobs there - there isn't a lot to choose from around here. Salaries are low as the city is cheap. There are also good companies in that list (some great ones even), but I'd say it's pretty inflated.
I work remote for a US company with its headquarters in Europe, it's the best arrangement possible, I'd recommend it for others (paid USD, half-day overlap with coworkers = lots of time for quiet coding, trips to Europe often to catch up with team).
comment 10y ago · link · parent
We use the AWS ElasticSearch service, and while it does not provide the same flexibility, it's been fantastic for us. No configuration files, no weird restart behaviour, no thread pool madness - it just runs. You can upgrade your instance sizes seamlessly and it integrates well with other AWS parts (ex: cloudwatch).
comment 10y ago · link · parent
Was wondering, do you pip freeze > requirements.txt? I don't see the file in there, but I assume that's what you mean since you mention that none of the env folders make it into version control.
On a semi-related note, I used to have tons of projects like this a year ago, and having moved most of our python code to AWS lambda, our repos have shrank to maybe 25% of their original size. Granted it's not fabulous if you need to run a JS app on top of your Bottle framework, but we used to have a lot of small services here and there, the provisioning and deployment was so much work.
comment 10y ago · link · parent
I just don't see why DHH needs to do this - ruby has so many things that make it stand on its own.
comment 10y ago · link · parent
If this was a passing mention on some blog post, I'd be inclined to believe you, but this post is not like any other. It's a descriptive update of the current rails "doctrine". When I ask you "why is your X so great" and you tell me immediately "look at how bad Y does", I'm inclined to think you're not feeling very secure about X.
comment 10y ago · link · parent
This is easily described with a contrast to Python. [...] Ruby accepts both exit and quit to accommodate the programmer’s obvious desire to quit its interactive console. Python, on the other hand, pedantically instructs the programmer how to properly do what’s requested, even though it obviously know what is meant (since it’s displaying the error message).
When you're trying to convince me that your programming language is great because another one is so much shitter in comparison, you're on the defensive and basically telling me you don't trust your own stuff. Especially when this is at the top of your article.By the way, python handles your example very gracefully in comparison to other REPLs (for instance, node spits out a cryptic, but expected traceback on exit/quit)
comment 10y ago · link · parent
Getting to the airport: there is no way to get to the airport easily. There is a dedicated bus line that might get stuck in traffic for 10$, or you pay 35$ for Uber, or 50$ for a normal cab (which also might both get stuck in traffic). You need to plan at least 2 hours from your house to get there, often 3 hours in advance for your flight. I've taken the bus dozens of time, and you can see the faces of the poor passengers, realizing they thought 1h to get 20KM away would be enough.
I go back and forth to Amsterdam and the difference is embarrassing. I get to Schiphol, hop on a train (every 5 mins), it costs 5 euros and I'm at Central Station in 15 minutes.
Light train? metro extension? How hard can it be?
comment 10y ago · link · parent
> I don't like that.
Not sure how "not liking something" equates getting things wrong, but I agree with most of what the author mentioned.
Using 'x' or 's' for a short lambda makes no difference. 's' could be anything, like 'x'. Unless you're specifically using django, there's no point in renaming _. Agreed with you on the argument lists and exceptions.
Python doesn't have NULL, I think you meant None.
comment 10y ago · link · parent
We're using gateway -> lambda -> dynamodb, and there are a tons of gotchas and small things that AWS need to iron out, especially with gateway -> lambda.
comment 11y ago · link · parent
To employers – ask your staff to help find new hires. Offer a bounty – enough to get their attention, say a fortnight’s salary. It’s a lot less than Shithead would cost. And their incentives are all positive: no-one will hire an idiot if they have to work alongside them and new staff with social ties to your team are far more likely to stay. You’ll be amazed how effective this can be.
There are limits to this, and having someone from your team refer someone they know does not guarantee they will be an excellent worker, but I would tend to agreed that the overall quality of your team will be much higher this way.