627 karma · joined Aug 29, 2016 (10y ago) · 305 submissions
comment 3y ago · link · parent
Now, of course, this doesn't mean these benefits will be evenly distributed (this is going to even further increase wealth inequality and be a deadly disaster for many people), and we are pretty terrible at prioritizing e.g. protecting natural ecosystem biodiversity. There will certainly be irreversible (in human timescale) losses to our ecosystem and therefore the knowledge and potential of future civilizations from this. And there are even some truly catastrophic death spiral scenarios possible. But it's likely that even the cynical reality will end up being something of a widespread unfairly distributed uptick in disaster risk and continuation of the mass extinction we've already started - slowing quality of life improvements for much of the world, but not stopping them - with an eventual strong recovery in all areas if/when we engage our new levels of technological advancement and begin re-wilding programs to purposefully regrow thriving natural habitats. (This is somewhat inevitable if/when the average quality of life of people is high enough they have room to care about such things. Industrial processes applied to helping nature thrive would do a lot)
This is the "human nature sucks at scale and we're slow to change course" cynical view but with a "technology and industry is crazy good in the long term at achieving its goals and uplifting people" bullish caveat prediction - which I believe to be the age-old trend. We clearly need better global-level response organization to deter the worst effects of climate change and help distribute risk so it's not all falling on the poorest people, but industry-wise - if we have to dump a trillion into something stupid-inefficient like direct carbon capture machines, we will. (My preferred solution is mass-farming kelp - far cheaper per CO2 ton and numerous additional beneficial products that basically make it pay for itself at scale). The world isn't coming to an end. It's coming to a recession/depression - which will be felt to different degrees very unfairly - and it's spurring new responses.
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 4y ago · link · parent
Personally I think just "do what's interesting to you" is a good rule, and I think it can navigate the transition between filling up on passive entertainment (e.g. playing every factory/crafting-themed video game) and actively building (e.g. making your own game!). Sometimes you just need to load up on what's been done already in a genre, and sometimes you just need to say "fuck it" and start making something without being intimidated.
comment 4y ago · link · parent
comment 4y ago · link · parent
While brevity is a nice feature, and we should always strive to make the dev experience as elegant and simple as possible, methinks Tailwind is just asking to become yet another dead-end standard which I very much hope has a standardized compiler back to vanilla CSS. (Does it not?)
comment 4y ago · link · parent
It's also worth considering that the same parties who benefit from First Past The Post would be threatened by a change to literally any other system aside from FPTP or Ranked Choice Voting. Surely that comes into play when voting reform movements are funded. And surely that kind of "conspiracy talk" shouldn't be dismissed in an intellectual forum when there is a very clear path to how these reforms could directly affect very powerful parties.
comment 4y ago · link · parent
As a programmer, Copilot scares and excites me - not because I think it will become better than me at what I do in the short term (though in the long term - probably!) - but because I can already see how a well-structured use of such a tool could do a whole lot (80%?) of what I do. Mostly the easier stuff, mostly the relaxing-yet-tedious-time-filler stuff, but still - most of it. And it also crucially does much of what I did back when I was a junior/intermediate programmer.
Once this system is setup right - which capitalism basically guarantees it will - that's gonna suddenly cut quite a lot of my billable hours (80%?) and quite a lot the simpler work typically done by less-experienced programmers (80% of jobs?)
Granted, new capabilities like this also will lower the cost of creation, and thus the demands of the market are likely to grow. And it's possible that the few tricky things that AIs aren't so great at might even increase in value, since they will linchpin so much other opportunity. But will many people be replaced? Oh hell yes. And leaping that gap from an amateur relying on AIs to an expert surpassing them is going to be harder and harder, with no market to pay people in the in-between - they'll have to just be relatively-unpaid hobbyists til they develop the drive to jump to expertise.
Anyone suggesting AIs will just outright replace the film/photography/programming industry immediately is disingenuous. But even with only the currently known capabilities, it's not hard to imagine that these could eat up a dominant chunk of the work that's currently done, even while it expands the capabilities and thus scope of what will soon be possible. Like digital photography, it's gonna both devour and expand the industry, with a resulting much smaller niche of expert creators and a massive very-accessible dirt-cheap general public access that becomes the majority of the new market. 80-20. Everyone's about to become an artist, director, programmer, and everything else these things can enable, at an effective skill level that we normally consider at least "intermediate". We might still have that expert niche a bit longer... but give it a few more years..? ;)
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
Passports - the cost of creating fake passports or removing valid ones to most lawful countries is prohibitive enough and visible enough to watchdog groups that we're not under any serious threat from governments going rogue here anytime soon. It's a decent start. At least a few thousand $ cost to forge security wise - increased the better your security market is watching for it.
Social networks - I mean furthering social verification by having networks of users (probably bootstrapped with their passports, and whatever other verification data - video, fingerprints, documents, etc) vouch for each other as real-world connections. You dont need Facebook etc for that - you build that into your identity system as a second layer which compounds the trust. A network discovering a fake user gets financially penalized for vouching (stake based bounties) so there's incentive to really do what you're asked - verify in person someone you've known for some time.
We don't need to anonymously identify a person. In fact, I'm expecting people will be willingly supplying some ungodly amount of data to prove they're real for the financial incentive alone (securing larger loans based on trust). But we can make the verification functions taking all this data go through smart contracts with zero knowledge proofs that can ensure said data doesn't leak to anyone the user doesn't want to share it with - and the protocol can establish a trust score.
And even if we failed to keep personal data off the internet, regardless of how public your profile is you'll always be able to use those zero knowledge proofs to setup an anonymous avatar with a proof hash that it belongs to (exactly) one existing profile from the set of verified profiles, allowing you to vote with the avatar while the system can still guarantee one-person-one-vote. So - anonymous voting.
comment 4y ago · link · parent
comment 4y ago · link · parent
e.g. it would probably "understand" common devops/organization/OS/library stuff even if it's not part of the language it's presumably reading - just because other users probably left comments on those lines similarly - but it's not gonna necessarily understand your application-specific business logic beyond what's actually happening. Would need some very specific examples though (by definition lol). Even dumb stuff like interpreting "make the div spin around" from some CSS/JS would probably work, as someone somewhere probably coded that similarly.
comment 4y ago · link · parent
What is currently the best way to handle the complexity once you have a ton of asyncronously-loaded JSX components which have complex conditional rendering logic based on multiple inputs and datatypes? (including defaults, local variables, and all kinds of other stuff)
At this point I'm inclined to just handle all the data processing logic and when-will-it-render logic in some intermediary controller and then keep the visual templating barebones and strictly separated, though it feels quite un-React-like to do this, and almost more trouble (and certainly more boilerplate) pushing vars through the stack and separating Controller / View than to just let my JSX be messy with useEffect hooks. I suppose this is when I should use a React class component? Or a subcomponent? Or a custom hook..? Or maybe I should just modify (global) state - even grosser from data duplication perspective, but at least then all the data processing is in one clearly defined format instead of scattered throughout templating files.
Last I checked (and burned out) this was the major React hurdle, and the downside of React's simple-by-default templating. This complex stuff got real ugly real fast. What's the elegant solution here, if any? Any improvement?
comment 4y ago · link · parent
comment 4y ago · link · parent
React kinda ate the web world well, so it's not a terrible bet that it'll keep it going for 3 years...
If you like data layer / DB stuff (and if you're strictly a frontend dev) my suggestion is to just get comfortable with SQL / Postgres / SQLite, and just dbs in general, as that stuff has remained pretty darn stable for a while. Only really replaceable by even-simpler (though less versatile) approaches like giant plain key-value stores, file-system-style storage (NoSQL), or added versatility to Excel spreadsheets (lol it may be more viable to let companies just keep using those than moving to a DB nowadays just to let office workers use what's comfortable). I learned SQL 15 years ago and still glad to have it now surprisingly - though it's maybe sometimes more powerful than I need. But good value there.
For frontend: JS, React, npm, docker containers, maybe Vue?... that's about as deep granularity as I'd go for predicting what'll keep another 3 years. Libraries, state management, all the tooling, etc etc - you'll probably relearn more than 3 times over during that... Welcome to (a hopefully well-paid) hell.
comment 4y ago · link · parent
(this is all just bringing back painful memories - hopefully which aren't the same problem now? - from a project where I was the only developer on the team learning these intricacies, and having to figure out why everyone was getting infinite render loops or static components in weird situations, even as they blindly followed their linter useEffect suggestions... Needless to say, our code lucked ugly as hell after all this was done "right".
In retrospect I might have done all this at the app state level, pre-processing the inputs for each component with something like a 'usesEffect' boolean and a 'changeTriggers' array, then some generalized auto-reader util functions to parse that with default boilerplate behavior, just to get that stuff out of my frontend components... I suspect that would only move the problem up, but at least then you're just modifying json instead of also muddying all your templates. Subcomponent wrapping or something like that could work too. Idk. Gross stuff. Was unfortunately necessary with a ton of asyncronous calls and big data lists.
Maybe DB/API-fetched State > Frontend Parser & useEffect/Async Logic > Actual JSX Component Rendering separation...? (so - Model Controller View?) If it wasn't all already inherited legacy code mighta structured it like that more, instead of just rawdogging API results in JSX.
comment 4y ago · link · parent
I have little trust in cryptocurrency beyond "people like hype markets", but a global consensus layer is an obvious step with many applications for whittling down every process to its barebones - with some guarantees at a protocol level that the savings aren't going to anyone in particular. This doesn't need to do anything new, it doesn't need to do anything flashy. It just needs to slowly devour every existing business and reduce them to essentially open source software, uncontrolled by any middlemen or power brokers, accessible by anyone for pennies. And it probably will!
comment 4y ago · link · parent
This is fairly new tech academically btw, and it's only possible anonymously since the ZSnark cryptography tricks.
comment 4y ago · link · parent