345 karma · joined Jan 25, 2016 (10y ago) · 74 submissions
website: https://pyrik.dev/
comment 3mo ago · link · parent
Not much economic freedom for slaves or for Indians forced off their land (e.g. illegal seizure of the Black Hills by the US government [0], the Cherokee in Georgia, etc).
Prior to 1900s-era state laws and the federal Securities acts, you could sell fraudulent investments backed by nothing but the blue skies of Kansas. I suppose that's an economic freedom that was lost, can't say I miss it.
0 - https://en.wikipedia.org/wiki/Seizure_of_the_Black_Hills
comment 5mo ago · link · parent
What do you mean?
2011: 2 TB HDD for $79.99 ($0.0000400 / MB).
2012: 2 TB HDD for $157.27 ($0.0000786 / MB).
2014: 4 TB HDD for $109 ($0.0000367 / MB)
2024: 8 TB HDD for $111.98 ($0.0000140 / MB)
https://web.archive.org/web/20250318110739/http://jcmit.net/...
https://www.thecpuguide.com/pc/disk-price-history-hdd-ssd-pr...
comment 2y ago · link · parent
> In a vocation where loss of limb (and even life) was not uncommon, prospective workers — in a field disproportionately comprised of working-class African-Americans and whites of Italian and Irish descent who did not benefit from the upward mobility of the G.I. Bill — were forced to offer kickbacks to syndicate representatives at the daily "shape-up," in which prospective workers were forced to compete against each other to secure work irrespective of union membership. At any time, workers could be virtually blacklisted from subsequent employment for arbitrary purposes in the union's "blue books," their jobs often requisitioned by members of the syndicate who were completing prison sentences.
https://www.pulitzer.org/article/underworld-syndicate-malcol...
comment 2y ago · link · parent
> Requests has always had modules intended for its use and only its use. At some point, we tried to document them for ourselves and that led to people using them externally and then filing bugs against them. This is a perfect example of 3 adults who did not consent explicitly to the use, but Python says that we must have because we didn't hide them well enough.
I don't understand the problem? It's bad that users reported bugs in internal modules?
comment 2y ago · link · parent
The question of "what is a species" made me go a bit insane. I really wanted a unique identifier for each "species", but kept running into edge cases like species that changed scientific names (so you'd need name + date to resolve it). Occasionally people would refer to species by common name, but a common name can resolve to dozens of different scientific names. I don't think people realize how difficult and awkward it is to build software that deals with ambiguous entities.
This is a tangent, but the US Fish and Wildlife service has a cool tool for exploring endangered species [0]. I had a few issues with the data, but was overall impressed with how easy it was to access and how deep it goes (there are gigabytes of shapefiles representing endangered species boundaries offered in zip files). Preble's meadow jumping mouse [1] had a range so complex that its shapefile was 250 MB, the complete set of shapefiles covering all species' ranges was 2.5 GB--this single species of mouse took up 10% of this! For comparison, the Topeka Shiner's range shapefile was only 147 KB.
[0] - https://ecos.fws.gov/ecp/report/adhoc-creator?catalogId=spec...
comment 2y ago · link · parent
- It is not listed as an option for starting a new project in the React docs[0].
- The last release was April 12, 2022.
- The last time I created a new project with CRA, it printed a console log that claimed CRA was deprecated. However, the message seemed to originate from a dependency rather than CRA itself.
All this was enough to convince me to move to Next.js for future projects; though I find Next.js overcomplicated and full of things I will never use.
comment 2y ago · link · parent
I don't understand your point about metrics and measurement. Are you saying the effect of static typing is so small that it is completely dominated by other confounding factors and thus cannot be measured?
comment 2y ago · link · parent
comment 3y ago · link · parent
The cost of a Big Mac in 1986 was $1.6 according to the Economist's Big Mac Index dataset[0]. The minimum wage in 1986 was $3.35[1] according to the US Department of Labor.
So you could afford at most two Big Macs in 1986, not seven. Also you can definitely afford one big mac with an hour of minimum wage today (minimum wage: $7.25, big mac: $5.36).
0 - https://github.com/TheEconomist/big-mac-data/blob/master/sou...
1 - https://www.dol.gov/agencies/whd/minimum-wage/history/chart
comment 3y ago · link · parent
So the electrical strip thing seems plausible to me.
comment 3y ago · link · parent
> Like with the original J2EE spec, which sought to complicate the basic mechanics of connecting databases via HTML to the internet, this new avalanche of specifications under the WS-* umbrella sought to complicate the basic mechanics of making applications talk to each other over the internet. With such riveting names as WS-SecurityPolicy, WS-Trust, WS-Federation, WS-SecureConversation, and on and on ad nauseam, this monstrosity of complexity mushroomed into a cloud of impenetrable specifications in no time. All seemingly written by and for the same holders of those advanced degrees in enterprisey gibberish.
https://world.hey.com/dhh/they-re-rebuilding-the-death-star-...
comment 3y ago · link · parent
This reads to me like "Next.js can do SPAs (like CRA) plus static sites and SSR". Next.js' site even says "The core of Next.js has been designed to enable starting as a static site (or Single-Page Application)" [1].
0 - https://react.dev/learn/start-a-new-react-project
1 - https://nextjs.org/docs/advanced-features/static-html-export
comment 4y ago · link · parent
Homeless per 10k rate [0]
Japan: 0.3
USA: 17.6
Rate of intentional homicide victims per 100,000 inhabitants [1]
Japan: 0.3
USA: 6.3
0 - https://en.wikipedia.org/wiki/List_of_countries_by_homeless_...1 - https://en.wikipedia.org/wiki/List_of_countries_by_intention...
comment 4y ago · link · parent
Near the end of the book, George HW Bush tries to convince the US government to provide economic aid to stabilize the fledgeling Russian state but this fails. Earlier in the book there is talk of a "Grand Bargain", a theory that for $100 billion the US could convert the USSR from an enemy into a friend similar to how the Marshall Plan and Berlin Airlift converted the Germans into close US allies. Japan is another example of this. After WW2, instead of razing Japan and Germany as Rome did to Carthage, the US raised them from their knees. It helped rebuild and rehabilitate these countries.
There was no Marshall Plan for Russia. Many of the Russian politicians and economists expected significant economic aid from the West. This aid did not materialize, at least not in the form and magnitude that was expected. The transition from state socialism to capitalist market economy was traumatic; during the USSR the poverty rate was 30%, after the collapse the poverty rate was 80%. The average lifespan of a Russian man was 66 during the USSR, after the collapse it was around 55.
The loss of super power status, of territory, and of economic strength created significant political backlash in the years following the collapse. These conditions promoted nationalism, populism, and authoritarianism which Putin used to seize control. Russia does not have a cultural history of democracy so maybe this was inevitable, but perhaps greater Western support would have avoided it?
comment 4y ago · link · parent
0 - https://play.google.com/store/apps/details?id=com.blizzard.d...
comment 4y ago · link · parent
I've only received ~three approaches through StackOverflow Jobs in the past two years, but each was relevant and interesting. This is dramatically different from the weekly approaches I get through LinkedIn which have mostly been worthless recruiter spam.
comment 4y ago · link · parent
Other Group 1 carcinogens [0]:
- processed meat
- Salted fish, Chinese-style (?)
- solar radiation
- outdoor air pollution
- wood dust
- leather dust
A big problem with that CBC quote is that there is no way everything in Group 1 has the same (or even approximately the same) risk of causing cancer. How could eating cold cuts from a deli be equivalent to smoking a cigarette or inhaling mustard gas?
> The risk of dying from lung cancer before age 85 is 22.1% for a male smoker and 11.9% for a female smoker, in the absence of competing causes of death. The corresponding estimates for lifelong nonsmokers are a 1.1% probability of dying from lung cancer before age 85 for a man of European descent, and a 0.8% probability for a woman.[1]
*This* is the kind of smoking gun they should be showing; ~20% increase in the chance of dying from lung cancer for men who smoke. How much does alcohol increase chances of dying from cancer?
0 - https://en.wikipedia.org/wiki/IARC_group_1
1 - https://en.wikipedia.org/wiki/Health_effects_of_tobacco#Canc...
comment 4y ago · link · parent
Consider the interview question: "Write a function that can detect a cycle in a linked list."
> Between 1955 and 1967, the problem of “how do we determine if there is a cycle in a linked list without modifying the list or using an extra memory” was a essentially an open problem. Meaning, any number of PhD candidates in Mathematics or Computer Science could have written about it as part of their dissertation. With all of those hundreds and hundreds of minds, this problem remained open for 12 years.
> Do you honestly think you could, in a twenty minute interview, from scratch, come up with the solution to a problem that remained open in the field for 12 years, all under a pressure far more intense than any academic? Seems pretty damn unlikely, the only reason you think you could do so is that you’ve heard the answer before, and it seems obvious and simple in retrospect. In other words, “a-ha!”
https://www.nomachetejuggling.com/2014/06/24/the-worst-progr...