21,281 karma · joined Nov 23, 2012 (14y ago) · 6,748 submissions
blog: https://rtpg.co
email: raphael at above domain
comment 9y ago · link · parent
For example, stock option agreements are usually pretty straightforward... until a termination date has to be decided on. How does the termination get put into the contract?
Though I suppose smart contracts could exist as an automation mechansim , but there's a "wrapper contract" that provides "real deal" legal protection against abuse?
comment 9y ago · link · parent
Good educators cost a decent amount of money, so if you have a high quality bar you're looking at a lot of (mostly fixed) costs. Add building rent + admin costs.
Public schooling costs $10k/pupil on average, and I imagine most of these code schools have a slightly higher bar.
comment 9y ago · link · parent
Though I agree that the newsfeed tends to put these things next to the NYT or the Guardian, I feel like "page rank"-y stuff could help smooth this out. I've already seen improvements to my FB newsfeed for this kind of stuff over the yearse.
comment 9y ago · link · parent
A litany of tools for manipulating images and building animations right in the program, without needing to write a single line of code.
And then, on top of that, you can actually.... write code! And it works quite well!
Flash is one of the funnest programming environment to use for "interactive art". Straightforward things are almost always straightforward, and it's much easier to WYSIWYG your way through a lot of tedium.
comment 9y ago · link · parent
Essentially no barrier to entry, and some federation could happen.
Of course, what you end up doing is creating banks, but hey they're not regulated by the government if you are behind 5 proxies? "Hobbyist bankers" might be fun.
The ultimate frustration of bitcoin is that it can occupy the entire range of decentralization, but the community compares everything to the logical limits of "the Federal Reserve will defeat math and generate BTC" and "I don't even have to trust my own computer to do this transaction!".
comment 9y ago · link · parent
It kind of works if you have a place to run off too, but nobody in the federal government can just go take the gold and hide for a bit. The incentives are aligned so that the gov't does "the right thing" (stem the fall)
comment 9y ago · link · parent
Though the Thing conceptualization doesn't hold up too much when you realize that the practical value of BTC beyond the social value is zero. they're just numbers!
comment 9y ago · link · parent
I can understand going for Gold or BTC if you do not have reliable access to US financial markets, but if you do have this, there's no reasonable financial argument for using BTC as your store of value.
If the dollar falls apart, you won't be able to use BTC.
comment 9y ago · link · parent
So while your O(n) code might sometimes unreliably be turned into O(1), if performance is your game you can use these kind of libraries to endure O(1).
comment 9y ago · link · parent
Kind of pedantic, but we indeed organize society around lunch time
comment 9y ago · link · parent
Fat models are most definitely a pain. Our solution has been to not rely on models for almost anything except for DB interaction, and instead have wrappers that act as business functions. So instead of Post.objects.create, you just write create_post. You still get ORM goodness for the most part, but your validation/creation layer is under control so you can apply your style.
Overall, Django's defaults and even the fat model approach can work really well if you're writing a CMS, for example. And fortunately it's getting easier and easier to use only what you want.
I hear you for the mutability of request objects. Mypy has helped us out a lot, but Django is pretty resistant to those.
comment 9y ago · link · parent
This is mostly around performance reasons, but also a lot of hard-to-follow code paths.
Though a lot of Django projects can take this and make very clean code, it can bite you when you go deep enough into certain things.
comment 9y ago · link · parent
Firstly, you can _still_ work entirely in bytes in Python 3 if you want to. But you can't call print on them... For good reason! You don't know the encoding to use to display them!
When we transitioned, there were a lot of subtle issues in our code due to our almost cargo cult usage of encoded/decode that ended with a lot of redundant transformations. Loads of that disappeared afterwards.
You can still operate in "Python 2 mode" in Python 3. The only exception I can think of is the difficulty in getting a bytestream version of standard output.
Also... Python 2 is decidably not like Go or Rust. The simplest example is how json.dumps would return bytes or a Unicode string depending on the keys on your object. No respect for typing
comment 9y ago · link · parent
For example, if on your team of 20 engineers you have 3 women, then your team is already above the national average.
It's for the same reason you can think there's systemic racism in the American policing system without thinking that your cousin is racist because they're a cop.
comment 9y ago · link · parent
If you cannot understand how _stupidly easy_ it is to have a completely non-sexual, non-harassing conversation with a member of the opposite sex, you most definitely should read up on some stuff. I mean this in the most non-snarky way possible.
Wouldn't it be nice if half the population weren't completely turned off by the idea of talking to anyone in tech?
comment 9y ago · link · parent