32,383 karma · joined Jan 3, 2008 (18y ago) · 8,295 submissions
comment 3y ago · link · parent
(A few years ago I could have said "we don't get ticketed by an AI that only follows the rules it was given." Well, we do now in many places and that's a problem.)
comment 3y ago · link · parent
comment 3y ago · link · parent
* Main search (bottom center, not top right) taking over the screen when you click on desktop is terrible ux
* Should support some fuzzy search or misspelling tolerance, e.g. Cuzco for Cusco
* Valencia, Spain gives a 500 error
* No keyboard bindings when searching to navigate up/down between the matching results (e.g. type in 'Valencia' and I expect I can use the down key to choose which of the three results)
comment 3y ago · link · parent
ChatGPT is immune to this organic feedback loop.
comment 3y ago · link · parent
If you have half an hour to spare, I really recommend you take the time to read this: http://emboss.github.io/blog/2012/12/14/breaking-murmur-hash...
comment 3y ago · link · parent
> If you go to ChatGPT and just ask it, you’ll get the equivalent of asking Reddit: a decent chance of someone writing you some fan-fiction, or providing plausible bullshit for the lulz.
I disagree. A layman can’t troll someone from the industry let alone a subject matter expert but ChatGPT can. It knows all the right shibboleths, appears to have the domain knowledge, then gets you in your weak spot: individual plausible facts that just aren’t true. Reddit trolls generally troll “noobs” asking entry-level questions or other readers. It’s like understanding why trolls like that exist on Reddit but not StackOverflow. And why SO has a hard ban on AI-generated answers: because the existing controls to defend against that kind of trash answer rely on sniff tests that ChatGPT passes handily.. until put to actual scrutiny.
comment 3y ago · link · parent
comment 3y ago · link · parent
Is it, though? Does the taxation rate matter more than the total collected per year distributed by the number of users? If you aren’t counting/won’t count miles driven, this seems like a fair alternative. The idea isn’t to tax 21 cents a gallon - that’s the implementation detail - the idea is to collect $xx billion a year to (ostensibly) pay for transportation related costs.
To use a logical proof instead, assume all cars are converted to EV with the flick of a wand. Do you think your proposal would seriously last? The same amount (modulo some percentage) needs to be collected to pay for whatever costs are relying on that tax to be funded. The rate (not the total price) has to go up for EV users.
Now if gas at the pump included an explicit carbon tax then absolutely, that shouldn’t be ported over to the rate EV users are charged.
comment 3y ago · link · parent
Also, it’s important to distinguish between hashing, hashing, and hashing. That is, hashing to map input to buckets, hashing to obscure the original string, and hashing to find similarities in the input data. They’re all called hashing but they have different (and conflicting!) requirements. There’s a reason you want mmhash3 to be fast but scrypt to be slow, and a reason why you want mmhash3 to avalanche but certainly don’t want your perceptual hashing algo of choice to do the same.
comment 3y ago · link · parent
If you peek at a particular table often enough and it has a crazy enough enum to maybe justify making your life a little easier, what you can do is add a table just for debug purposes and use a view that maps the int to it, but otherwise only use the direct int:enum cast in your app/orm/etc. thereby not paying any runtime cost for foreign keys or integrity checking.
comment 3y ago · link · parent
comment 3y ago · link · parent
I “manually” add a check constraint (via EF, so it’s not so much manual as it is “remember to copy and paste this in your db.cs) to assert the value is greater than or equal to zero and less than the number of inhabitants in the enum, but this fails if you manually code the enum values (eg for flags, legacy interop, etc).
comment 3y ago · link · parent
comment 3y ago · link · parent
I don't think that's a fair characterization of the trade offs. Acquiring uncontended mutexes is basically free (and fairly side-effect free) so single-threaded performance will not be noticeably impacted.
Every large C project I'm aware of (read: kernels) that has publicly switched from coarse locks to fine-grained locks has considered it to be a huge win with little to no impact on single-threaded performance. You can even gain performance if you chop up objects or allocations into finer-grained blobs to fit your finer-grained locking strategy because it can play nicer with cache friendliness (accessing one bit of code doesn't kick the other bits of code out of the cache).
comment 3y ago · link · parent
Yeeeeesssss, but solving that is solving the hardest part of switching to a threaded model. It requires the team to come terms with the global state and encapsulating session state in a non-global struct.
1769.
Why Daniel Ellsberg tried to get prosecuted near his life’s end(nytimes.com ↗)
3 points · by ComputerGuru · 3y ago · 1 comment