3,085 karma · joined Jul 22, 2022 (4y ago) · 2,303 submissions
comment 4y ago · link · parent
- Fiat monetary system
- Banks
- Big corporations
- Big tech
- Hedge funds
- Billionaires
- The importance of censorship to prevent misinformation
- Executive bonuses
- Surveillance
- The need for more regulations
- Big government
- Stakeholder capitalism
- Climate change
- Inclusivity
Never say anything negative about them. Only positive but try to keep it realistic, don't go overboard because the algorithms might interpret that as sarcasm. You're welcome.
comment 4y ago · link · parent
It's the sad reality nowadays that the only people who can speak for the average person and for what's right are compromised in some way... They have to be compromised in order to be allowed to get that kind of reach.
Still, the accusations against him sound kind of hand-wavy... The 'waterboarding' thing sounds bad but if consent was given and it was done out of curiosity or thrill-seeking then there is no crime there.
comment 4y ago · link · parent
A common pattern I follow with URLs is that I sometimes allow the user to omit the final ID in the URL; in this case I do a front-end redirect to the URL with the ID of the main/default resource appended at the end - This is useful if the user account has (for example) a 'main blog' associated with it.
comment 4y ago · link · parent
Sometimes it seems like macroeconomics are a separate parallel universe and you need to be above a certain size to have access.
comment 4y ago · link · parent
comment 4y ago · link · parent
- When doing dishes by hand, make sure to always rinse the soap off completely.
- Do not consume hot water straight out of the tap; always take it out cold and boil it as a separate step (because hot water carries more lead and other metals from the inside of the pipes?)
- Do not eat burnt (or partially burnt) food (carcinogenic).
- Avoid induction kitchen appliances (radiation).
- Avoid chewing plastic (pthalates/endocrine disruptors).
- Avoid cooking with seed oils or other polyunsaturated oils - These are good raw, but not heated as it breaks the bonds in the oil and turns bad. For cooking, use saturated fats (but mono-saturated fats like olive oil are OK too).
- Avoid processed foods as much as possible (and chemicals such as coloring agents and preservatives).
- Avoid eating too much instant noodles (due to coating on noodles).
- Avoid soaps and shampoos which produce a lot of foam (avoid sodium lauryl sulfate and cocamidopropyl-betaine).
- Avoid any medication which affects the brain.
- Make sure that bedroom gets plenty of sunlight during the day to prevent dust mites.
- Don't over-sanitize your environment; lack of exposure to germs can lead to allergies?
- Rinse your mouth out well after brushing teeth (don't consume too much fluoride).
- After taking antibiotics, eat yogurt and/or probiotic supplements to rebuild gut bacteria. I was told this long before research about gut microbes was mainstream.
- Avoid eating too much predatory fish like Tuna (mercury).
- Swimming in the sea is good for you. It has healing properties?
Anyway, kind of random but I've always wanted to share these in case it helps anyone. I do think it helps to be cautious even when the science is limited or has gaps. Our modern society tends to err on the side of reckless consumption instead of cautious consumption. Remember, the financial incentive of all companies in a capitalist system is to deny all downsides because it mitigates legal liabilities. Think of Big Tobacco 'doctors recommend smoking' campaigns in the 1930s to 1950s; it makes sense to assume that every industry we have today is similar. So the science (which is funded by these companies) will always be biased towards neglect ("don't worry, it's totally safe and effective") rather than caution ("It's probably safe in small quantities but you may want to avoid it anyway just in case"). The media will never promote the second approach.
comment 4y ago · link · parent
Still, my SkipList was much faster with batch-deletion of contiguous records. This is because a SkipList does not require re-balancing after each individual deletion; once you've found a starting point and ending point (which has O(log n) time complexity), the deletion of an arbitrarily large chunk of a SkipList can be done in constant time.
Here is my implementation (Node.js/JavaScript) in case anyone is interested: https://www.npmjs.com/package/proper-skip-list
comment 4y ago · link · parent
- Makes caching more challenging since there are now more possible permutations of the data depending on what query the client uses. A hacker could just spam your server's memory with cache entries by crafting many variations of queries.
- Makes access control a lot more complicated, slower and error-prone since the query needs to be analyzed in order to determine which resources are involved in any specific query in order for the server to decide whether to allow or block access to a resource. It's not like in REST where the request tells you exactly and precisely what resource the client wants to access.
- Adds overhead on the server side. It requires additional resources to process a query rather than just fetching resources by ID or fetching simple lists of resources. A lot of work may need to happen behind the scenes to fulfill a query and GraphQL hides this from the developer; this can lead to inefficient queries being used. I have a similar complaint about database ORMs which generate complex queries behind the scenes; this makes it difficult to identify performance issues in the underlying queries (since these are often completely hidden from the developer). Hiding necessary complexity is not a good idea... Maybe worse than adding unnecessary complexity.
comment 4y ago · link · parent
comment 4y ago · link · parent
I could have made maybe 20x on my investment... Still, I don't feel regret. You can only regret things if you had a choice and I know that there's no way I could have avoided selling those shares.
comment 4y ago · link · parent
It all seems to be about luck these days. Why should randomness determine everything and why should we pretend that our social structures are based on anything but meaningless randomness? Part of the mental illness of modern society is that we're constantly pretending that random events mean something.
comment 4y ago · link · parent
"The real hopeless victims of mental illness are to be found among those who appear to be most normal. Many of them are normal because they are so well adjusted to our mode of existence, because their human voice has been silenced so early in their lives, that they do not even struggle or suffer or develop symptoms as the neurotic does. They are normal not in what may be called the absolute sense of the word; they are normal only in relation to a profoundly abnormal society. Their perfect adjustment to that abnormal society is a measure of their mental sickness. These millions of abnormally normal people, living without fuss in a society to which, if they were fully human beings, they ought not to be adjusted."
I find that a lot of highly socialized/extroverted people seem mentally ill - They tend to resort to common catch phrases to express themselves. They don't seem to have their own opinions about anything. They never seem to be able to justify the thought processes which led to their decisions or beliefs - Their line of thought about anything tends to be short and tends to link back to mainstream media rhetoric or religious dogma imposed on them by authority figures. They seem incapable of even basic self-analysis or introspection; they are only able to judge themselves and figure out what they want through the opinions and feedback of others. Also, they seem to lack creativity.
For me, this is pretty obvious because I know enough sane people that I can see the difference. Spending time with sane people feels great and is fulfilling. Spending time with normal 'highly socialized' people feels terrible. It's just very difficult to find sane people these days... Especially within certain social groups, many people are just incredibly fake and incapable of forming a genuine relationship.
comment 4y ago · link · parent
My record is impeccable. I build highly reliable software fast both as part of a group or as a solo freelancer. Much of my work is in the public domain on GitHub so it's easy to verify all this and check my code quality, automated tests and PR review history.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
It almost seems as though some companies have literally found a way to print themselves unlimited money and other economic participants won't figure it out for another decade... They're still playing by the rules.
comment 4y ago · link · parent
I provided the time complexity of each operation as part of the README.