8,487 karma · joined Feb 1, 2017 (9y ago) · 2,549 submissions
comment 5y ago · link · parent
str is too deeply embedded and used in too many dynamic and unique ways for that approach to work without doing some really ugly or nonperformant or community-fracturing things.
comment 5y ago · link · parent
No, my point is precisely that py2 and 3 are not compatible. Even with the backports, py2 and 3 are not fully compatible. Hence the "py23" or "six" dialect, which is the subset of 2 and 3 that overlap, with some shims to facilitate it.
Py2 and Py3 string apis are not compatible. They cannot be made compatible. They can never be compatible. There's no "from __future__" that could make them compatible without a stupendous amount of work.
Not to be pretentious, but I'm developing the opinion that anyone who thinks that the Python team could have just shimmed their way between 2 and 3, does not really understand the Python compute model.
Google literally invented a py2 to go transpiler (grumpy) to avoid converting. Do you think for a second if there was a way to just "from future" their way to a compatible str object, they wouldn't have taken that route?
comment 5y ago · link · parent
What's the alternative? Deprecate warning old-style string handling and slowly nudge it out? Great, that's not actually decideable, since you need to know how a str is being used.
str are at the very heart of python. This would be a gargantuan task just to write the linter.
comment 5y ago · link · parent
https://www.youtube.com/watch?v=NyOIRVjatdg
That's actually quite clever! Though I'm not sure how they avoid the gutters from turning into algae blooming, mosquito-breeding cesspools. :p
Edit: Oh I guess you can just cover the gutter in plastic and ensure there is enough water throughput to stay fairly fresh: https://permaculturefoodforest.wordpress.com/2016/04/14/rain...
comment 5y ago · link · parent
Also their approach is great if you have a metal shop and lots of raw materials and components ready to go, but for their goal of helping mechanized developing countries, I think it falls flat. The first rule of pricing hardware is economy of scale wins. Being able to fabricobble a farm tractor from a Toyota pickup is way more valuable than building one from scratch using steel box beams.
I think their approach would be better served by creating an "API standard" for mechanical interfaces, like an ISO standard of sorts, so you could fabricobble your prime mover, your bucket loader, your hydraulics, from whatever you happen to have, and be able to swap out with anyone else's peripheral. Like the IDDS, but more down to Earth :) :
https://en.wikipedia.org/wiki/International_Docking_System_S...
comment 5y ago · link · parent
I think it might have been this one, Acorn by Twisted Fields:
https://community.twistedfields.com/t/introducing-acorn-a-pr...
comment 5y ago · link · parent
comment 5y ago · link · parent
It would need a position and feedback system outside of the current "servo and home position" method, because even with closed loop motors, the distance traversed isn't exact. We need a cheap, easy way to get accurate-ish absolute position (1-3cm), maybe acoustics and phase-based?
comment 5y ago · link · parent
1 - there are no straight lines on a farm. Maybe in a hydro setup built on concrete slab, in which case, why robot?
2 - needs a way to cover more ground. If it's not able to travel linearly indefinitely in one direction along a bed, there's no way to scale.
3 - grit. Precision CnC mechanisms and dirt do not mix. You can't keep farm things clean (unless hydro, and even then, things get wet and caked with fertilizer salt)
Ditch the linear ways for something like bike tires. There's an open source solar farm robot which rolls around weeding (can't find at the moment, maybe was a video). Not limited by a box. They need robust mechanisms which can stand up to farm abuse and are easy to service, grease, and replace (unless you hermetically seal the components, which is harder than it sounds).
Weeds are actually pretty easy to manage.
If someone wants to make an impact in the farm tech space, come up with a cheaper alternative for scooping and dumping dirt. A ride-on tractor can be had used for $500-800. But as soon as you start talking loaders, it's $2-3000 used, and tens of thousands for new. Also the smallest tend to be a 4 foot wide bucket and a few hundred pounds lift. I want something half or a quarter of that. Able to scoop 50 lbs of dirt, repeatedly, and dig holes/trenches. That would have a massive impact in agrarian communities around the world.
comment 5y ago · link · parent
Robot might help in a greenhouse setting but outdoors it's just gonna get mudded up and get fine, abrasive clay dust in everything. Needs to be way more ruggedized.
comment 5y ago · link · parent
If programmers were resulting in deaths in my community, I'd be picketting right with them with "I'm a programmer. Please hold me accountable. End qualified immunity for programmers."
assert great_power == great_resposibility
Etc
comment 5y ago · link · parent
I'm probably over-generalizing but I still think this disparity is a result of low/med density vs high density like NYC. You're always gonna have more choices in high density areas, and I'm definitely in favor of more granular signals whenever possible.
I'd love to see an IRV where you don't have to obey any strict ordering rules (which I guess is like score voting where the max score is the number of candidates) which I guess might be a thing?
comment 5y ago · link · parent
> Unlike many single-winner methods, instant-runoff cannot accept equal rankings, and must discard ballots with multiple first-preferred remaining alternatives: such ballots would be equivalent to casting multiple ballots in a plurality election
With all-the hubbub on the last election about vote validity, and hanging chads before that, the last thing we need is screw-up-able ballots.
IMHO we should not even consider any methods in which you can violate invariants on a paper ballot. That rules out FPTP, IRV, and any others where the user with pen-and-paper can enter an invalid state.
Err, I guess that rules out 321, which is my new favorite. Simple fix: just count multi Bad/Ok/Good entries toward that total. In the first round, you only look at "good" scores, ignoring ok/bad. Then in the bad round, same thing. This ensures a) you can't produce a bad ballot b) ballot counts stay orthogonal for each category c) multi-entries kinda average out.
E2: well I guess you can manage to screw up ANY style of paper ballot and violate some invariant. I guess it matters the difficulty of screwing it up and whether it's recoverable.
comment 5y ago · link · parent
Framing is important, and I think STAR would be most optimal with good ol' Likert scale (five or seven point) rather than 0-N stars. But I think even simpler is the "3-point Likert" behavior of V321: approve, disapprove, and "meh, ok."
I don't like how IRV forces me to rank candidates I may know little to nothing about (e.g. downballot randos not on "my team"). I don't really care if Kick Puppies Party is above or below Trip Grandparents Party.
comment 5y ago · link · parent
I really don't see the appeal of IRV, other than momentum. It's harder to implement. It's not really intuitive why you have to rank them. (I belive) it has higher chance of screwing up ballots (e.g. Forgot to rank a candidate). And I don't like how it forces you to split hairs on two equally liked candidates. Minimizing mental friction is important when we struggle to get high voter turnout as-is.
I think 321 most closely matches the political climate in America. People tend to like a candidate, hate them, or "eh, they're fine."
Also, not totally sure (maybe someone can chime in), but I think 321 is "stateless" or "commutative" in that the counts of Goods, Oks, and Bads are independent. With any runoff methods, each ballot has a "state", because after a knockout, you need to apply the runoff votes based on other information on that ballot. This makes it hard to compose ballots, e.g. for our goofy ass electoral college system. With 321, (I think) you can decompose each "channel" total for each candidate, and aggregate them at a higher level.
comment 5y ago · link · parent
It feels like when academic ML papers use the abstract to try to boozle and astound the reader with tons of jargon, because we all know a paper wins more Academia Points (TM) the more they can make other smart people feel dumb.
comment 5y ago · link · parent
Qt development can be excellent or nightmarish, sometimes both. I don't know enough to know why the disparity but I've been adjacent to teams that love qt and ones that loathe it. I'm guessing a big aspect is state management; qt predates the reactive revolution, and IIRC is prone (as is any gui) to callback hell.
comment 5y ago · link · parent
Even if not prioritizing cross-platform, Electron has some serious appeal.
What are my alternatives? Qt? Gtk? Native libraries?
comment 5y ago · link · parent
Having LIDAR means you can rely on LIDAR, which means you need the LIDAR to be 100% reliable. I've read some companies claiming their lidar works through rain and snow but I haven't seen actual renders of it yet to judge for myself.
No lidar acts as a forcing function for Tesla to get their vision system that much more reliable. I think this will ultimately result in a better vision system than the competitors, and I believe that (somewhat paradoxically) this will result in an overall better, safer, and more reliable system, when it comes to the 20% long tail.
Lidar+vision will probably dominate in fair weather driving. I'm skeptical it's of much benefit in bad weather, and that long tail is the hard part.
comment 5y ago · link · parent
Sirens are primarily a means to get you to look in a direction. 360° cameras can notice the emergency vehicle as soon as it's visually relevant. And if they decide they need an audio siren detector, that's like, practically intern level signals detection at this point. Hardly a dealbreaker.
100% hands-down would pick autonomous car vs airplane. Flying a plane isn't just moving the aluminum bird through 3 space and periodically taking off or landing.
Autonomous aircraft don't exist because a huge amount of the ritual of flight is before and after the captain is even on the plane, let alone flying. There is a tremendous amount that the pilot and copilot go through, on the ground, before taxi, after liftoff. It's way, way more involved and way more generally intelligent. We can design AI to take off, path to a destination, and land. Those 3 things are the easiest parts of flying, yet do not comprise the act of flying a 2-seater, let alone an airliner.
comment 5y ago · link · parent
Exactly, casual ML engineers. The issue of plateauing tends to occur because there is no more novelty to be had in the data. What mega-experiments like GPT and similar have shown us is that actually you can keep adding novel data and keep improving the model. Kinda inelegant, yet effective. The problem is, most institutions can't add more novelty beyond a certain scale, since that usually means shoveling more money at data storage and compute, on top of the novelty collection.
Tesla merely has to open the money tap to get more of both compute and storage, and let the real-time data flow in.
comment 5y ago · link · parent
If anything, knowing when to reliably ignore a sensor modality is the kind of intuition more associated with general AI.
A similar paradox occurs when trying to fuse multispectral imagery. You'd think early fusion of RGB and IR would be better since it gives the higher-resolution filters access to more data, but it does worse than late fusion. My understanding is that late fusion forces the network to "work harder" to solve object detection using IR only, and then once you've wrung what you can out, then you fuse with RGB detections.
Since radar is "one pixel" there's essentially only one object detector possible: object or nothing. If yes-object, fusion tries really hard to make sense of the RGB filters to figure out what partial detection looks like an object, which is almost always a false positive.
comment 5y ago · link · parent
That JS wasn't a Lisp is kind of a pity, though. But again, Lisps have been around longer than almost any other language yet are still comparatively obscure, which tells me something inhibits their broader adoption.