Better HN
topnewbestaskshowjobs
Log inSign up

jongjong

3,085 karma · joined Jul 22, 2022 (4y ago) · 2,303 submissions

Submissions

comment 4y ago · link · parent

'They' are a bunch of algorithms and they don't take appointments. Just say a lot of positive things about the following topics on social media and the algorithms will start working for you:

- 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

I'm thinking that he wouldn't have been allowed to become successful unless there was dirt on him.

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

The long form is more flexible because it gives you the full information about the state of the app. If you don't include the blogId in the URL, the front end will not know which blog the section or comment belongs to until it has finished loading from the server... So in the case of a single-page app, you can't show a 'Go back to blog' button in the UI until the page has finished loading... Though it's trivial to do if the blogId is in the URL.

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

I don't think it can all be reduced down to memetics because there are things which I find disgusting which my parents don't find disgusting. Like oysters for example. Though I think obviously some people are more influenced by memetics than others.

comment 4y ago · link · parent

It's not surprising... I mean look at them. There is an evolutionary reason why insects look disgusting to us. Same reason why feces look disgusting - We're not supposed to eat that.

comment 4y ago · link · parent

Executives of large corporations must really have a good understanding of the monetary system and the flow of money through the economy given how quickly and decisively they respond to changes in monetary policy.

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

I think electromagnetic radiation is the area where I'm most reckless because of smartphone, laptop, WiFi Router... It's hard to avoid. But on the plus side this is probably one of the most well-researched areas with fewest gaps. The only uncertainty for me concerns what amount of electromagnetic radiation is safe but I guess quite a lot.

comment 4y ago · link · parent

My mother always told me that coatings on non-stick cookware were carcinogenic. She also told me the following (which I follow but never actually fact-checked):

- 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

Having implemented a SkipList and compared it to various binary tree implementations, my observation is that they're essentially equivalent in terms of performance for most operations. For insertion, my SkipList implementation was faster than most binary tree implementations but I found a Red-Black Binary Tree implementation which was faster.

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

Some other bad things:

- 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

Haha good one! Unfortunately the edit button on HN disappears after some time. Missing brackets are among the easiest issues to find while coding.

comment 4y ago · link · parent

Exactly. I experimented with options some time ago. My conclusion was that they're not good for profiting from long term growth. Sometimes the company may be improving in terms of fundamentals but its stock price could be flat or even going down for an entire year. You would be wasting a lot of money on premiums as your options expire worthless for several quarters in a row. Options require one to have detailed, short term information about the company and one needs to be able to predict the outcome of specific financial reports - This is almost impossible to do unless you spend a lot of time studying the company's operations in detail. I find shares superior if you just want to invest in fundamentals; you rely more on your reasoning skills to try to figure out if those fundamentals will lead to more profits down the line. Buying and holding shares isn't as data-driven as doing so with options. With options, you're competing against AI trading algorithms which have massive amounts of data.

comment 4y ago · link · parent

I would also say that people do not spend enough time on important decisions with widely different outcomes.

I guess the problem is that people don't know what's important.

comment 4y ago · link · parent

I had invested in AMD when Lisa Su took over as CEO. I had been keeping tabs on the company for some time. Unfortunately I needed money to cover my basic living expenses and had to sell all my shares about a year later. Even at the time, it was painful because I had spent a lot of time researching AMD and I was very optimistic about Lisa Su based on her background and her tenacity.

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

Although these times seem less fair, I feel that these societies made more logical sense when you consider people's beliefs at the time. For example, people thought that kings were divine beings chosen by god(s) so that justified why they had all this power, status and wealth. Nowadays it's difficult to make sense of why things are they way they are... Once you factor out the religious framework and you factor out the false narratives about success and power being attained as the result of hard or intelligent work... The modern social structure doesn't seem to make any sense.

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

I think that a large portion of society has gone insane and I see the need for social withdrawal as a mark of sanity. It reminds me of this Aldous Huxley quote:

"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

I started coding at 14 years old and have 10+ years of software development experience in a range of companies; both startups and corporations in a range of industries. I have 10 years of experience with open source. One of my projects has almost 6K stars on GitHub and almost 100K downloads per week. I even worked for a Y Combinator-backed company for over a year which had tons of big name SV investors including the famous actor Ashton Kutcher and Michael Jordan. My last job was leading the P2P team at a top blockchain company. The scalable P2P network solution which my team developed is still used 3 years after launch and never encountered any issues once launched (no vulnerabilities or bugs which needed patching). It only took 6 months for my team of 4 devs to build it from scratch. I'm willing to bet that it's among the simplest and best designed P2P libraries in the industry.

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

I don't get it. I have a stellar resume and a proven track record in the public domain (open source but I've been struggling to find work and have accepted short term work for half my normal rate. There are so few opportunities, I had to switch to teaching people how to code.

comment 4y ago · link · parent

I will never understand these valuations when there are no network effects involved.

comment 4y ago · link · parent

Most humans on earth are essentially already being treated as livestock by other humans... The only difference is that the product is not their meat or their milk, but their "blood, sweat and tears". So the scenario outlined at the start of the article is not exactly hypothetical.

comment 4y ago · link · parent

These days, companies mostly seem to be raising money from gatekeepers to protect them from their own gatekeeping.

comment 4y ago · link · parent

I think the problem is that a handful of very large companies have found ways to extract a lot of money from the economy whilst providing essentially no economic value in return. The economy has become so manipulated and schematized, in certain sectors, it's essentially all fake at this stage. All money through the economy just flows to people based on where they fit within the grand financial scheme. This scheme is not connected to fundamentals like supply and demand of consumers.

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

In case anyone is interested, I wrote a skip list implementation for Node.js here: https://www.npmjs.com/package/proper-skip-list

I provided the time complexity of each operation as part of the README.

1
7374757677