21,281 karma · joined Nov 23, 2012 (14y ago) · 6,748 submissions
blog: https://rtpg.co
email: raphael at above domain
comment 11y ago · link · parent
Really? If you were to make a list of all governments on the planet, you would place the federal government lower than most governments on the planet? Maybe if you limit your list to western Europe.
comment 11y ago · link · parent
I know we used to have a granularity on price that was pretty thick, what would be the issue with having an order have to be on the market for at least a second? I have my doubts about sub-second trading increasing liquidity and making the markets more effecient
comment 11y ago · link · parent
comment 11y ago · link · parent
once per page? that's once per 30 or so lines. 2 or 3 percent of the code is this same repetitive structure? Also, only takes one time to forget this for everything to fall apart.
We've spent so much time trying to deal with uninit'd pointers and things like that on the language level, and here we have something that's much simpler, yet super repetitive and should be easy to catch on compile time.
Maybe I'm just a bad programmer, but I really prefer the Java "force you to catch exception" model much more to this.
>It's worth stressing that whatever the design, it's critical that the program check the errors however they are exposed.
If it's critical to check the errors, I think that it's worth writing language rules in a way to force people to write a "has error " code path (think pattern matching).
I get go is trying to be as small of a core as possible, but I think there's a lot of value in extra compiler checks (with no runtime cost!) to catch this sort of thing.
comment 11y ago · link · parent
If I look at most of the libraries commonly used in production JS, pretty much none of them apply classic OOP principles.
comment 11y ago · link · parent
At least things actually get built though. It's very depressing to see the length of infrastructure projects (decades even in Europe), but maybe it's always been like this...
comment 11y ago · link · parent
Truth is that so long as somebody is above you, it's very possible to have to work on things imposed on you, and in research that can mean working on topics you disagree with, along with all the office politics that come with it.
I think someone who has done both industry and research can comment, but my impression has always been that they're mostly the same thing if you're between 20 and 40.
comment 11y ago · link · parent
In the US, college is too expensive, so people ask for gov't loans using taxpayer dollars. This ends up rising college prices, since virtually everyone is now guaranteed to be able to pay at least $5k per year instead of $0.
I could see a similar situation here where auto manufacturers lobby for subsidies for people buying their first car or whatever, and so the extra taxes ended up getting covered by subsidies. Car companies end up getting more money without having to bother reducing emissions.
Generally thinking, I think you will find little sympathy for the poor souls who want to buy a $500k car and drive it at 200mph at 3 mpg (don't know what real numbers look like for these things). Especially not in public areas, in our public space.
In any case, pollution makes everyone's lives pretty awful (see recent pictures of cities in China), so that ends up being prioritised. Maybe with a tax, only 1% of cars will be over some limit, but with regulations, pretty much 0% will.
In an alternate universe, some NRA-like figure is arguing about how if we outlaw polluting cars, only criminals will have polluting cars.
comment 11y ago · link · parent
I am not arguing against freedom of speech, but I am arguing for not buying magazines that promote such damaging stereotypes (just like I recognise that far-right parties can exist , but will never donate a cent to them).
The issue for me, is that as a society we trumpet freedom of religion, but to me it seems like this is only accepted so long as your skin is white to go along with it. The attacks on islam do translate to attacks on people from the Middle East.
Most people assume that if you're from Turkey you're probably muslim (even if in name only). The firebombed kebab shop the day after that attack: nobody knows whether the guy was actually muslim, but it doesn't matter to the attackers because this is really a race problem, and not a religion problem.
comment 11y ago · link · parent
These things can offend more than just extremists. Obviously this massacre is absolutely terrible, but the content of Charlie Hebdo regarding Islam was extremely offensive, and served mainly to increase the isolation of the French Muslim community
comment 11y ago · link · parent
Their rule of thumb is if you are incapable of hearing and understanding what people are telling you without taking out your earbuds, they're too loud.
I tried this out, and found that I'm actually fine with the volume bar being maybe 30% of what I used to. Basically, put your earbuds in, play some music, and try to talk to someone. If you're unable to then you might be playing your music way too loud.
(For people using earbuds to drown workplace noise out, I'd suggest an ambient noise program like noiz.io. You can train your brain to filter ambient background noise, and its better than trying to 1-up the sounds in your office)
comment 11y ago · link · parent
I jest, but this is an issue I've thought about idly for a while. Maybe it's possible to write a two-step parser: one that turns chars into tokens (and cheat a little bit by stripping spaces in some contexts to make it context free), and then you have a nice CFG that you can do easily.
comment 11y ago · link · parent
comment 11y ago · link · parent
Shouldn't Apple be doing updates faster (and smaller) instead of sooner? Whatever happened to agile?
Considering the amount of third party software now in the ecosystem, faster updates seem the only way forward. Unless you want your entire dev setup to be broken for 3 months every 2 years while all of your tools update to the 100 different incompatible changes.
comment 11y ago · link · parent
iOS and OS X have stability issues, ones that other systems seem to deal with more gracefully now.
comment 11y ago · link · parent
By beating it into the minds of everyone (especially in more privileged classes who won't come within 500 feet of somebody who has seen the inside of a jail in their lifetime) of how absolutely dehumanising prison is, we could maybe stop demanding people be thrown into jail for 25 years.
comment 11y ago · link · parent
I get that in the former, the man fits the mold of "misunderstood bit-twiddling genius" or related mythologies of the craft, but the latter is no less of a person. Show some humanity.
Besides, what did putting this person in 2 months of jail do? I doubt this accomplished anything other than spending more of taxpayers dollars. If she's "fucking crazy", then do you think 2 months of jail is a deterrent to stalking somebody? Or just something to make sure she's more careful when stalking?
Throwing people with mental illnesses into jail is as effective as spanking a baby. Sure, they might be conditioned to associate certain behaviour with punishment. But it won't fix underlying causes like behavioural patterns, addiction, or value systems.
comment 11y ago · link · parent
Also, think about going to jail for 2 months. 2 months where you're locked up and have absolutely no liberty. If this thing was minor, there's still 2 months you'll never get back. Not to mention the job you probably lose during this stint. I don't wish prison sentences to anybody, not even my worst enemies.
I wouldn't feel as bad that we feel so strongly about locking people up if the conditions weren't so absolutely awful. I'm sure there's a way to make prisons more survivable without sacrificing the "making sure people are inside the box"-ness.