2,621 karma · joined December 15, 2013
In the 50+ year history of software development I haven't heard of any other software stack has been able to realize this is important. go run is close but it's still 10 times slower, maybe even 100 times slower, depending on if you want to count the git clone and how good you are at typing.
At least that's why I've never used this service and never will, even though I think it would be worthwhile.
Why call me ignorant? I understand perfectly at the technical level what happened, but words like "hotlinking" and "bandwidth" and "solution" shouldn't come into play here at all. If your logic made you permanently imprint a shock image on thousands of impressionable minds you're not the hero. How much did it even cost to upload a 60kB image half a million times per month in 2007? $10?[1]
[0] https://statista.com/statistics/266881/myspace-users-in-the-... but it's of course the parents' fault for not reading the RFCs and realizing that sadistic web hosts were a flaw in Tim Berners-Lee's design
[1] https://blog.codinghorror.com/the-economics-of-bandwidth/
And then all the other psychos, like you, come to the retelling of the story to fantasize about doing it too.
A nitpick, but please, if you do this for your library, name the sync one just the name and put "-async" in the name of the other one, so "rspotify" and "rspotify-async" instead of "rspotify-sync" and "rspotify-async". This mirrors the way the function definition keywords are "fn" and "async fn" instead of "sync fn" and "async fn". Most simple usecases don't need async and the extra typing and extra reading is annoying.
For emitting programs, if we assume the program is already fully formed in my brain and I'm just transcribing it, then we would like an accurate physical model of my hands moving over a QWERTY keyboard that can tell us how many joules and milliseconds I will use for each keystroke to type the given sequence of symbols. Ideally we would have a complete model or simulation of my brain so we can measure how many neurons need to fire for each keystroke as well. We don't have that, so we could measure my average milliseconds per character and multiply it by the total count of characters, but a language that is just made up of one symbol function names is probably harder to type than one made out of English words and there's also all the typing mistakes I will make. This is what the simple compression algorithm (gzip) is an attempt to normalize for, that a more verbose but more predictable language is as fast to write and read than an overly terse one. gziping is an imitation of a complex model.
Being frustrated that this is the case is expressing an underserved need in the market. You're aware of the limitations and have grown to be okay with them because otherwise you'd probably hate programming, but that doesn't mean we should all always be okay with them forever.
https://apps.apple.com/ca/app/orion-browser-by-kagi/id148449...
https://help.kagi.com/orion/browser-extensions/ios-ipados-ex...
https://www.youtube.com/playlist?list=PL5Q2soXY2Zi-EImKxYYY1...
https://github.com/official-stockfish/Stockfish/commit/af110...
There's 44 million US Twitch users, so basically you can show a message to 1/10th of the entire youth population of America. In 10 years there is probably some minor difference in society between whether that message was "go drink mountain dew" or "here's how DNA works" or something simpler, or more useful, or different things tailored by age, etc. Now if Amazon makes like 3 cents per ad (a number I made up) * 44 million users compounded by 7% annual interest over 10 years then that's 2.5 million dollars of profit. But money is a tiny slice of the entire pie of what is possible in an economy. If instead Amazon "donated" that 2.5 million dollars (actually more if 3 cents per ad is profit not revenue) by using its ad infrastructure to forcefully cram useful knowledge into the children instead of knowledge about a sugar drink brand, it's possible that everything that is possible in society 10 years from now would essentially make all the other money Amazon makes more valuable, because, for example, doctors that Amazon shareholders would want to go to would charge less because they indoctrinated a few more children into an interest in biology instead of Mountain Dew consumption so there was more doctors and less diabetics.
Will it be enough to offset 2.5+ million dollars? Probably not, but we don't have the technology to express that cost/benefit calculation, because the best we have is spreadsheets and demand/supply curves (if you will permit my derisive oversimplification of what economic tools business people use). We have developed computers and mathematics, as well as a system of assigning token counts to people and groups of people (money) that when people and groups of people work hard on increasing their respective token counts seems to correlate quite well with generally improving things and getting things we want. Numbers (bits really) are highly physically stable states and mathematics is operations we can perform of those states that are themselves very stable in time and predictable. We can measure things in the world and record those measurements into bits and then apply operations on those bits and we find that sometimes we're able to build computations that result in a strong correlation between the resulting state and physical reality. We're able to predict the future. However there's still a pretty huge mismatch with what we're able to easily express with simple mathematics on collections of bits and whatever our brains can do, which we experience as intuition/common sense and empathy.
Basically I'm saying it would take a strong willed person with the intuition to see that "if we use our mass population programming tools to increase the competence of our youth we will be better off than if we increase the consumption of Mountain Dew by 13% (or whatever they estimate)" because it's very difficult to truly express that comparison as a spreadsheet of dollar amounts, which is the primary technology businesses have for making decisions. Because a spreadsheet is a Turing machine and typing in data and programs into it is really time consuming whereas a human brain is a very different type of computer that processes input much more efficiently but is more fallible because other brains can't inspect its thought process, which is why we usually prefer spreadsheets.
Also, there is no need to put "VSCode" in the name of a VS Code extension.