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
If some guy was smashing people's laptops, this would be an obvious option on the spectrum of ways to handle it. But here....
Granted, this also means attention to the victim, and given how society treats people making these claims it can be an extremely scary step forward to make for them, on top of the experience itself.
comment 9y ago · link · parent
"Popular things go to the top" is a pretty good first approximation of the algorithm. You have things getting flagged to death for generating bad conversation/flamewars (kinda like parents telling kids to stop playing rough since people are getting hurt). There's the hiring posts. At least to me, it's always felt like moderation is happening at the margins.
comment 9y ago · link · parent
You wouldn't want to walk along a highway, but because everyone drives in major US cities, even downtown has highway-sized roads.
I'm not super for sleeping in cars, but I already pay a space tax for my living quarters to have walkability (even if I end up taking the train)
comment 9y ago · link · parent
On a merits-based thing, if you're just looking at XML, it has a lot of things going against it .If someone sends me something "in JSON", I can have a good guess what it'll look like. Not as much luck with XML. XML punishes you for using attributes (because you can't place composed types within them), but the awkward alternative is placing attributes in sub-elements.
I have a list of products with prices. I store the price as a quantity attribute on a <product>. I decide later on to store currencies for all my "money" objects. Do I now double the amount of attributes? It's all super awkward, and JSON's mental model is more straightforward, even if you end up with approximations.
comment 9y ago · link · parent
I think there's a bit of a conflict with regards to immutability. When I see a variable in the code, it's much easier to handle a single definition rather than a "half-definition" followed by a bunch of conditionals.
I've also seen some waaay to concise code that becomes super legible after just one extra line of code to split things up.
I've run into the opposite problem a lot though. Even if every operation is simple, the length of code makes the intent unclear, especially in cases involving aggregation. Death by a thousand cuts
results = []
for elt in other_array:
if elt is None:
results.append(0)
else:
results.append(f(elt))
results = [ f(elt) if elt is not None else 0
for elt in some_other_array ]
In one example we have to read several lines to figure out some basic stuff, but in the other I can tell even at a quick glance that we have a mapping from one container to another, an expectation they're the same size, etc.Clarity is the most important, and after a couple conditionals it makes sense to be more explicit about control flow. But many common tasks are not _about_ control flow, even if C-isms make us write them as if they do. "if" statements generate so many bugs, eliminating them is great.
comment 9y ago · link · parent
Despite this, many languages aren't great at this! we have tools that work alright on first-order operations but fall apart on higher level things.
Even really simple things like "conditionally include a key" are rarely supported in a way that leads to concise code. How many times have we all written
foo = {...}
if bar:
foo['a'] = x
instead of something like foo = { ... , 'a': x if bar }
and then having bugs because of branches? Tools that solve this sort of problem will be to modern programming what things like the Unix shell was to data mungers in the past.Haskell lenses kinda goes into this stuff, though Haskell itself is a bit hard to use in a lightweight fashion. Clojure has Specter. But still looking for some more stuff to fill this hole, especially in the "transitionally typed" stuff like Typescript or Python + Mypy
comment 9y ago · link · parent
We could probably build excellent robots to bring food from the kitchen to tables of a restaurant, but the capital costs are just not worth it relative to hiring wait staff (conveyor belt sushi nonwithstanding).
Would it ever be worth it to Chili's to outfit a 40-table restaurant with automated delivery systems, replace 3 wait staff with a technician, and deal with the edge cases (how do tables get cleared??)? Probably not.
Likely most tech ends up actually make existing staff more efficient, to be simply overworked instead of insanely overworked. Tablet digital ordering systems, fast dishwashers, kitchen-side logistics improvements....
comment 9y ago · link · parent
But this isn't actually the most usrful result! In this model distributing 100MB of GoT is as valuable as distributing 100MB of some file with only 2 or 3 seeders. But those Megs are not equivalent if the objective is to maximize availability of files.
Being the seeder of last resort on a rarely (but still downloaded!) file is way more valuable than being the 100k'th seeder on some new TV show.
This isn't necessarily what the GP was getting at but is a good example of seed ratios not having the best incentives.
comment 9y ago · link · parent
But many side effects of delays are mitigated by throwing money at it. And spending money is usually an easy option, if you have a lot of it.
comment 9y ago · link · parent
Valve surely has a lot of developement issues leading to delays, but they still got Half Life 2 out and made a bunch of money off of it.
comment 9y ago · link · parent
If the only result is the schedule slipping, then investors can continue giving to Tesla with the assurance that things happen "eventually".
If this is actually indicative of greater disorganization, then perhaps we'll see more issues later on. But my impression is that this is _the_ major issue for Tesla... and ultimately it's an issue that can be solved with more money.
comment 9y ago · link · parent
This is a great example of capitalism not being able to generate the best solution. In an alternate universe there would be a regulated exchange with ~0 cut of the profits, instead making sure drivers get the money since they're doing most of the work. Uber does handle pricing, but even then it has "cheated" to get a bigger slice of the pie.
Imagine the NYSE taking even 5% of trades.
comment 9y ago · link · parent
Arts classes requires materials. Instruments for band. Mopping the classrooms. Maintenance for desks.
Some of those kids go to detention, so now some teachers get paid overtime to sit with them.
The football team takes the bus to go somewhere.
The library buys some new books. Updates the computers.
There's a lot of stuff going on, it's not just the teacher.
comment 9y ago · link · parent
It's extremely hard to find teachers that are willing and able to produce entire curriculums on their own for the group of 30 children. However, there are many teachers that would be excited to try out better curriculums if they were offered them. That curriculum can, of course, be less structured as well.
Hundred percent agree on lack of resources, of course.
comment 9y ago · link · parent
"Hacker News hated Dropbox so..." Is a fun trope, but Dropbox still isn't profitable ;)
In seriousness I bet a lot of us go though the thought process that we want to give constructive criticism, since positive feedback isn't super actionable.
Feeling smarter than the rich people is always a good feeling too (and cheap, since we aren't even betting our own money )
comment 9y ago · link · parent
comment 9y ago · link · parent
Seems hard to imagine any amount of generations that get the body up to "stand". I would have maybe expected it to crawl on all fours.
comment 9y ago · link · parent
I think the only other language with a similar feel is Scala. It's the programming language equivalent to Magic The Gathering: half the fun is just in the mechanics of it all
comment 9y ago · link · parent
In China it is not even theoretically possible because the gov't mandates backdoors and can easily shut down your company if you don't comply. You have way less recourse on rule of law.
comment 9y ago · link · parent
https://www.youtube.com/watch?v=a9xAKttWgP4
This is one of my favorite screencasts. I would have a hard time reproducing this thought process, so it feels much more like watching a speed run than a tutorial.
Would be interested in seeing the APL version of this blog post
comment 9y ago · link · parent
Think about the fact that the FBI had to actually get a warrant to even begin talking to Lavabit. They had to actually go through bureaucracy. It was not instantly handed over to them on request.
comment 9y ago · link · parent
Imagine any major Chinese IT company pushing back against government requests like Dreamhost did. Even the biggest ones can't/won't. It helps that the government is a huge investor in most of them, of course.
"Chinese IT company rebuffs government demand for user information on its website". This headline does not exist.
comment 9y ago · link · parent
That means that it's less likely for girls to get exposed to them overall, because media aimed at them is different, teacher's behavior towards them is different, even their own parents' behavior towards them is different.
I get that marketing "for girls" might give credence to the "for boys" marketing... but if you look at the jewelbots page, the only point that is explicitly "girls" is the fact that the kids in the pictures are girls.
Everything else has been brought in by us. The "jewel = girls" aspect, the "friendship bracelet = girls" aspect... though some other media is even more pointed at that. Bit mixed feelings about it. I feel like it's trying to operate within the weird gender divide that exists in our society