Because of an imbalance of power between employees and supervisors (employees' financial situation depends on whether they will have a job the next day or not), supervisors must be extremely explicit in their requests. For example, if a supervisor sees an employee is sick, they should very explicitly say to the employee, almost in the orderly manner, that they should take a sick day. This should not leave any uncertainty on the side of the employee. Similarly, if a supervisor is asking something of an employee that is outside of their responsibilities (ideally, this should not happen), and the employee says “no”, the supervisor should recognize that it took a lot of courage for the employee to say “no”. They should also give a clear sign to the employee that the request was outside of their responsibilities and that the “no” answer does not change anything in the future relationship.
Chrome refuses to update. It is not the first time.
<html>Package download failed:<br/><br/>E: http://apt.pop-os.org/proprietary jammy/main amd64 google-chrome-stable amd64 112.0.5615.165-1 is not (yet) available (File has unexpected size (93863956 != 93992344). Mirror sync in progress? [IP: 2600:9000:24b9:4000:19:684d:e900:93a1 80]
Hashes of expected file:
- SHA512:7184b4e40bfb89a99abf678d91dbcba11cdd1fadc1dd3a271e0b709f0553f604865eff424d4bdbde5cfdc43b42d0396931bdfb256daf5e7af132f40687d59309
- SHA256:75af2e83ce7ac107646a74681fdf4bb30fad99dd1f2427456256780ce21faa99
- SHA1:85aae95952727e6eb938ebac466a4150b4704536 [weak]
- MD5Sum:3eb717d94d1d9acdaec6872ab5ff5bd0 [weak]
- Filesize:93992344 [weak]
)
</html>
Every once in a while, my mind replays the moment back in Russia when I got an F on the physics exam and the professor said, “What are you doing here? Go back to your village.” He said it because I am Asian, and he made assumptions based on my appearance. I don’t blame him; the system and collapsing country had likely caused him to say this. When I arrived in the United States, I did not see much racism because the country had made tremendous efforts to combat racism and xenophobia. Now, I can see that there is still a lot of work to be done in this direction, so let’s keep pushing forward and not let the progress made be reversed.
I was wondering what the heck “lorder” is, like “little lord” or something; it appeared to be “i order”.
I like the feel I get from wearing reading glasses; it gives everything a cinematic look. I have never been nearsighted, so the background has never been blurry. When I wear reading glasses, the background is blurry and it gives me a feeling like I am in some fancy movie.
I learned roughly 30% of people have some sort of intolerance to fructose, and it looks like my body reacts quite badly to fructose. My current solution is to minimize the amount of sugar in my diet. As I learned glucose is fine, it would be nice to be able to know how much glucose and fructose by reading nutritional facts. I would love to have some sweet treats every once in a while.
I cannot shake the feeling that THIS emote ʌ (usually it is an animated caret symbol, or an arrow pointing up with “this” words underneath, or just “THIS TBH”) is slightly offensive. Talk me out of it.
The Twitter algorithm was open-sourced about a month ago, and it had been active for a while; I saw a couple of pull requests were merged, but currently I see the last commit was two weeks ago. I am assuming the best of intentions, but it does not look good not having any commits for two weeks. So my question is: what is going on?
I am testing the game in different languages and Russian worked perfectly; I switched to French and the controllers stopped working. It doesn’t make any sense. Do controllers speak English to consoles, or do I need to make the controller speak French now?
Guys, let’s start paying attention to what the government is doing. I’ve only touched the tip of the iceberg and it is completely messed up. We should fix it.
TIL; a whole new word: “lane”. I used to call it “line” before.
I think Notch wanted to make Factoria, but accidentally made Minecraft
Here is a thought from Elon Musk that I found while browsing Twitter. I’m going to rephrase it a little, but the idea is: when developing a new technology, initially target it as something luxurious for wealthy people. The point is that the new technology is not yet polished or optimized to be cost-effective. This will bring in some revenue and also make the technology appear prestigious in the eyes of people. Meanwhile, you can continue to refine the technology and bring down the cost. This is what happened with the Roadster, and this is what is happening with FSD.
Now I have gotten Elon’s joke about him being an alien. I was an alien also for 6 years until I got my US passport.
I thought about how we can fix healthcare in the US. I think the first step should be banning insurance institutions. Insurance essentially is gambling based on human fear, and only insurance companies are winning in this setup. Additionally, it inflates prices.
Yeee… TyePodDog is back to life. Long live TyePodDog!
Game Idea: “Among Us,” but the imposter is an AI. Players have to find out who is the AI.
I love ChatGPT; it is so smart, patient, and always cool. As humans, we should learn from it.
I am looking at my 14-year-old son; he behaves like an adult, he thinks and talks like an adult. That is crazy; I don’t think I was like this at my 14 years old.
I have become frustrated with how our tax money is distributed, and I used ChatGPT as my therapist as usual, and suddenly became a fan of UBI (Universal Basic Income).
I am trying to be positive, but honestly it is getting under my skin. I am sick of typing my corporate password every 5 minutes.
I love the footnote on libuv.org 😂: “Made with love by the libuv team. — libuv is for C projects that miss the joy of javascript callback hell.”
I asked ChatGPT: “Write a blog post on the following premise: Turing completeness of your config = code smells.”
Title: Turing Completeness of Your Config: The Gateway to Code Smells
Introduction
As developers, we strive to build efficient, maintainable, and reliable software. However, sometimes our decisions may inadvertently introduce code smells, which are characteristics of the code that indicate a deeper problem. One of these decisions is creating Turing-complete configurations. In this blog post, we will explore what Turing completeness means in the context of configuration, why it can lead to code smells, and how to avoid these pitfalls.
What is Turing Completeness?
In computer science, a system is considered Turing complete if it can simulate a Turing machine. Simply put, a Turing-complete system can perform any computation that can be executed by a general-purpose computer. This means that the system is capable of expressing any algorithm, given enough time and resources.
When applied to configuration, Turing completeness implies that the configuration system is capable of expressing any program logic. While this may sound powerful and flexible, it often results in a convoluted configuration that is difficult to maintain and reason about.
Why Turing Complete Configs Can Lead to Code Smells
Complexity When your configuration system is Turing complete, it can easily become overly complex. Complex configurations are harder to understand, troubleshoot, and maintain, which can lead to code smells such as spaghetti code, where logic becomes tangled and hard to follow.
Mixing Configuration and Code Turing complete configurations blur the line between configuration and code. Configuration should be focused on specifying system properties and behavior, while code should implement the logic to act on these properties. When the two are combined, it becomes difficult to separate concerns and maintain a clean architecture.
Lack of Abstraction Turing complete configs often lack abstraction, resulting in a low-level, verbose, and error-prone configuration that is hard to read and maintain. This can lead to code smells such as shotgun surgery, where small changes in one part of the system require widespread modifications across the codebase.
Reduced Testability Testing is crucial for ensuring the reliability and stability of your software. However, when configuration and code are mixed, it becomes harder to isolate and test individual components. This can lead to code smells such as insufficient testing, increasing the risk of defects and making the system less reliable.
How to Avoid Turing Complete Configs and Their Code Smells
Embrace Simplicity Aim for simplicity in your configuration system. Limit the capabilities of the configuration language to prevent unnecessary complexity. Keeping the configuration simple will make it easier to understand, troubleshoot, and maintain, reducing the likelihood of code smells.
Separate Configuration and Code Ensure a clear separation between configuration and code. Use configuration to define system properties and behavior, and rely on code to implement the logic that acts on these properties. This separation of concerns will lead to a cleaner and more maintainable architecture.
Encapsulate Logic Encapsulate logic in functions or classes, abstracting away implementation details. This will make the code more readable, maintainable, and less prone to code smells.
Test Thoroughly Implement a robust testing strategy to ensure the reliability and stability of your software. With a clear separation between configuration and code, it becomes easier to isolate and test individual components, reducing the risk of defects and improving the overall quality of your software.
Conclusion
Turing completeness in configuration can lead to code smells and make your software more challenging to maintain and understand. By embracing simplicity, separating configuration from code, encapsulating logic, and implementing thorough testing, you can avoid these pitfalls and create software that is efficient, maintainable, and reliable.
Lately, talking with my friend over voice on my phone on Discord and WhatsApp, we found out, surprise surprise, that just calling on the phone, actually dialing the number, works the best.
Turning completeness in your config = code smells
Previous - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 - 21 - 22 - 23 - 24 - 25 - 26 - 27 - 28 - 29 - 30 - 31 - 32 - 33 - 34 - 35 - 36 - 37 - 38 - 39 - 40 - 41 - 42 - 43 - 44 - 45 - 46 - 47 - 48 - 49 - 50 - 51 - 52 - 53 - 54 - 55 - Next