HNHacker News
TopNewBestAskShowJobs

Adiqq

87 karma · joined November 15, 2019

submissionscomments
Adiqq··on Economic growth no longer requires rising emissions
> Buying a more modest apartment or house can mean working less or retiring sooner

Additionally there should be some self-sustainability in community. I wouldn't mind, if apartament was connected to power grid that includes solar panels and batteries owned by this community, which effectively would lower my energy costs.

I also think that many people wouldn't mind owning some affordable space nearby for your activities. Maybe some greenhouse, park or garden, maybe just some basement for small storage space for your online shop, maybe just regular shop or some cafeteria, maybe some workshop or server room, maybe just office, maybe some pool.

Adiqq··on Normalising Layoffs/Firing
I agree, as long as there is no guarantees for your human rights, we'll continue to live in scary world, where being fired might literally mean death or suicide or becoming criminal. I know that in my country many men took their life, after they lost job, because unless you can quickly find something else, your life can quickly fall apart and most people don't earn enough to have savings and state won't offer you much help.

I know that now we talk more often about how this global system is broken, but can we actually do anything about it, if wealthy just amass their wealth and don't want to share? I don't want revolution, but it seems like we need some revolution, so humanity can survive as something more than masses of wage slaves.

It's just sad, when I again hear in my company about equality, sustainability, but CEO is making 150-300x my salary and is in top 0.1% by income and I hear that I don't even deserve raise that would match inflation in my country.

Adiqq··on Study links omega-3s to improved brain structure, cognition at midlife
I experimented with nootropics in the past and currently I just stick to vitamin D3 + K2 + Omega 3 (DHA/EPA). In case I need to focus I just add 300/600mg of Alpha GPC (but I don't use it frequently, once I start to become irritable it means there's enough acetylcholine in my brain).
Adiqq··on Senior engineers are living in the future
Yet it happens in many companies, when team is working on non-critical systems or in extreme cases, even on critical systems. I sometimes feel like some people in IT are detached from reality, not everything is mission critical system and not everything has high quality, because there's a lot of people in IT with all kind of background and there all kind of clients with different sets of requirements. It's business, not utopia.
Adiqq··on Senior engineers are living in the future
There's a lot of baggage that comes with each language. I could probably learn any language at that point, but it also takes time to learn whole ecosystem, mostly used libraries and tools. You typically can't do this in week or two, because you need to actually write something and see how it feels, if there are any surprises.

You would probably not want someone with little experience in given language, to touch production codebase without review, because there are always traps that you might've not encountered in other languages.

I typically don't touch low-level programming languages, but once I had to use C to write some small adapter to communicate with some Oracle product. I did it, it worked as expected, but I would not be able to use it efficiently for complex solutions without more experience with creating and managing solutions in C.

I can also write in Go with some basic proficiency, I felt confident at one point in my abilities, but when my code got reviewed by someone specialized in Go, he would propose several improvements that did not cross my mind, because I had less experience in Go.

Adiqq··on What makes a senior engineer? Writing software vs. building systems
I agree, but ability to code well may help you to guide others. In case that you can code, you may create diagrams as well. You can also create presentations from code. You can point out what is important to solve given problem and use code as example, show some diagrams that describes given process, describe facts and knowledge that you used to solve this problem.

I still like to code, but today I do it mostly in form of some kind of presentations, this might be informal presentation for developers/operations for given use case, this might be presentation describing deployment/infrastructure/architecture, but in general purpose is to guide less experienced engineers to use efficient methods of solving problems instead of just smashing code together.

Based on my experience, communication barriers are biggest issue in big corporations and it's crucial to communicate your knowledge to others in approachable way, even if solution is technically not optimal. It's described so it can be improved later. However sophisticated solution that is not documented, may technically work better, but it's maintenance nightmare.

Has anyone ever liked situation, where you get alert about production incident and you have no idea how to fix it, because you don't understand what happened? This is a people problem, not technical problem, because you cannot understand everything and either someone will explain system to you or you may have no idea how to react. People that understand people problems will ensure that there's always proper documentation and processes to follow, so no-one is stuck. Technical master will create greatest technical solution, but eventually systems fail and that's where the problem begins, if others don't really understand them.

Adiqq··on Becoming a Systems Architect
How deeply do you go in details with that kind of scope? Do you regularly discuss architecture decision with all these developers, so they're all aware of impact? Do they actually understand impact? How do you actually verify that created solutions comply to architecture? Do you support yourself with solution architects?

Personally I noticed, that there's always something to analyze more in-depth, something to document better, yet another thing to teach others, however other engineers that I work with don't really care about creating coherent view of solutions they create and they don't care about providing clear description/instructions/guidelines for their solutions.

So do you depend on developers to prepare complete solutions and only verify, if they do everything that you would expect or do you actually have to guide them through details and support them in design, so you can together create something that works according to architecture?

Adiqq··on The culture of rejection in computer science publications
In general I agree that low acceptance rate with negative selection based on arguments like "it's not novel", "it's obvious" is toxic.

I get it that capacity for conference might be limited, so gatekeeping might be necessity, but personally I like to learn useful knowledge, so something novel, but theoretical might be more boring for me than something well known, but improved in some interesting ways.

Also composing solutions is interesting, you should not have to reinvent the wheel, just to get approved, if you want to focus on broader perspective. The whole is greater than sum of the parts.

Adiqq··on What's the big deal about embedded key-value databases?
Honestly, I'm still not sure, why would I use something like RocksDB instead or in addition to plain PostgreSQL/MongoDB/Redis instances.

I don't work with a lot of data, but typically my decisions base on basic factors and purpose:

PostgreSQL - SQL, structured data, cannot scale horizontally

MongoDB - NoSQL, unstructured data

Redis - key-value, distributed cache

I get it that you can replace storage engine and you can theoretically get more performance, but in practice compatibility and standardization is more important, because a lot of products (including third-party) will already use PostgreSQL/MongoDB/Redis, so it's no-brainer to use it as well for your solution.

However for me to pick RocksDB or some other, new, shining database/storage engine, there would have to be more compelling reasons.

Adiqq··on Falling for Kubernetes
It depends on your requirements, for basic development setup, you just need modern computer with installed Docker, k3d that runs in Docker containers and Tilt to build/deploy your docker image to local k3d docker registry and little k8s configuration.

You can just use basic concepts, so if all you need is container that exposes your application, you can just prepare Dockerfile, Tiltfile and k8s yaml file with deployment, service (LB) and use Tilt to automatically apply it to cluster, when you make any source code changes. Do you need to run some script once or periodically? Single k8s yaml file with Job/CronJob might be enough.

Often that's all that is needed, but maybe you need to additionally provide some env variables, use some secret values, create/mount volume to your container or deploy supporting infrastructure (databases/messages queues/authentication server/ci/cd/monitoring/tracing/alerting) or get into advanced use cases like chaos engineering, service mesh, serverless, workflow engine (CI/ML).

Kubernetes requires knowledge and experience to use all of its features and ecosystem, but you don't need to know it all from the start at expert level. However you need to actually learn Kubernetes, if you want to scale your solution, because eventually more people/teams might get involved, need for cooperation increases and non-functional requirements become more important and that's when you really start to appreciate Kubernetes.

Adiqq··on Olga Tokarczuk – Nobel Lecture – Literature Prize 2018
In general I agree, but details are important here. I don't disagree that progress is important, I don't disagree that everything requires some prerequisites, but I don't agree that being novel or hard to understand is positive on its own.

I also don't agree with her mentality "I don't write it for average people, because they won't understand it, so deal with it", because even most complex and advanced knowledge can be understand by average person, if that person puts effort and someone offers support, but instead she prefer to put herself in group of people that believe that their work is so great that only greatest minds can understand it and others should find something more ordinary.

You can either create "great" content and brag how great, hard and mystic it is or support others in understanding it, let them formulate their own opinions on your work and create positive community around it.

Adiqq··on Olga Tokarczuk – Nobel Lecture – Literature Prize 2018
I would not say that it was provocative, news is about lecture from author, so I provided my opinion and additional context on author. Is it provocative to mention dislike for author based on what she says and back it with evidence? In context of novel writing I find it highly relevant to understand who is author, so I can choose if I want to learn more.
Adiqq··on Olga Tokarczuk – Nobel Lecture – Literature Prize 2018
I might be in this case strict on being humble, but you won't hear that kind of comment from person that tries to share something good with world. Why should we judge good novelist based on being too novel to understand for average person? Should I call myself better than others, because some don't know Kubernetes? That would be poor way to judge in general and for me, it's not ok to gatekeep knowledge in any way.
Adiqq··on MIT invents $4 solar desalination device
Even with functional state, lack of access to clean water might be new risk due to climate changes and general world instability. What if, prices of clean water will rise due to some events?

Today we have energy crisis in Europe and who would expect 5 or 10 years ago that situation will go that bad, that rationing of energy will be considered? There are already some predictions that water scarcity problem will get worse, so it's very good that there are already prototypes that might provide cheap conversion of salt water to clean water. Future seems to be about minimizing costs and decentralization, so we can better sustain all people and save environment.

Adiqq··on Ask HN: Have You Left Kubernetes?
Kubernetes is not really complex at what it tries to achieve, but there might be some scenarios, where you need more tailored tool for the job.

Would I use k8s just for static websites or single API? No. Would I use k8s, for rarely updated solution, where low costs are #1 priority? No. Would I use k8s for complex microservice architecture with a long list of ever-growing implicit/explicit requirements and a lot of moving parts? Definitely, because now you just need to either use some built-in k8s feature and/or use CNCF eco-system to supply you with almost anything you need.

Kubernetes gives standardization, it's good in enterprise, where high complexity and poor communication is normal. It covers a lot of typical requirements for applications and you can learn a lot about solution just by looking at k8s cluster. However it's a time sink, if you really want to learn more about k8s and CNCF eco-system.

Adiqq··on Any self made millionaires here? Was it worth it?
> But it's always strange to me when people say the same thing to mean the opposite, that prosperity is just luck, and not the result of anyone's work at all.

It's easier to achieve success, when you're born in rich family, rich country. It's easier, when you have good health, high intelligence and great people skills. In modern world these factors make difference between success and failure. That's why being "self-made" in most case is over hyped. We can compensate our flaws, but some start without them. In almost every case, you won't reach the top from bottom, because gap in wealth is too huge. "Self-made" is survivor bias.

Adiqq··on You are not Google (2017)
I agree, I learned Kubernetes, we use it in our company and to be honest, we could live without it, but it was just ugly, due to lack of good standardization. Now we have GitOps and can easily use tools like Argo Workflows, Argo CD and Argo Events to execute practically any kind of reasonable activity, make it reusable and everyone can see how everything works, at least on dynamically created k3d cluster provisioned with Terraform for development/testing/learning purposes. It's also easy to show everything you create on high level and communicate it to others, because it's easily presentable with e.g. draw.io

It doesn't of course solve all kind of issue, because software development is very complex area, but it's making it easier to reason about some solution with others, so we can make what actually client wants without many dirty hacks and rediscovering the wheel.

Do we need all these tools and concepts to just build cooperatively, some secure APIs, some front-end, automatically test them and ensure that solution will be highly available under light or moderate load? Probably no, but it would be much harder, even if our solution will be used only internally to handle up to few hundred requests per second and not millions of them.

With Kubernetes I can setup almost everything on my own, with just virtual machines or servers and some networking change requests and assuming that infrastructure is stable, solution deployed with Kubernetes will probably be also stable. There are also managed Kubernetes clusters provided in cloud, where cost might seem high for smaller companies or there might be worries about security of using cloud, but once you get it how to create proper cloud-native solutions with Kubernetes, everything becomes much simpler. However learning curve is steep, so beginner might still have issues with efficient use of Kubernetes or other advanced setups, if there won't be good guidance on solution from documentation and/or meetings.

Adiqq··on Bearer tokens are just awful
I also wonder how feasible would be to use TPM. Is it even supported for use from web applications? I'm also don't aware about similar hardware solutions for mobile devices.

Another thing, it's mentioned that we don't control how tokens are created by some third-party, but still, we can use something like Keycloak with external identity provider and client in this case would use token from our Keycloak. In that case we can ensure that for our purposes token will expire quickly.

Adiqq··on C++ Cheat Sheets
I agree, you can do a lot with C++, there's a lot of advanced libraries for different purposes, but it's simply not pleasant experience, especially, if anyone gets fancy with everything that C++ offers and you need to understand it.

Personally I want to focus on what code is doing, it's also important to understand how it's doing something, but typically I don't care that much about performance, I just want language that will produce valid code without too much effort and thousands little details that you need to be aware of and with languages like C++ you need to pay high attention to code you write and debugging can be horror story, once something goes bad.

For me, if I need to go low-level, Go is sufficient. It's readable, performant and it's harder to shot your feet with it.

Adiqq··on Effective Go
In general, that seems like greatest improvement that can be made, because they optimized language itself. They made it efficient, but still readable, so you can just read or write the code without much/any Googling. I never really understood why simplicity was considered especially "junior-friendly", while actually more experienced people can benefit the most from it. It's much easier now to just visualize algorithms used in code, without introducing tricky notations. It's also much easier to just write your code, when you finally have syntax and stdlib that will cover majority of typical cases, instead of language, where you need to either reinvent the world or use over-engineered libraries to solve common problems.
Adiqq··on Extreme HTTP Performance Tuning
Anyone can recommend similar articles/blogs that focus on optimization of networking/computing in Linux/cloud environments? This kind of articles are very informative, because they refer to advanced mechanisms that I either haven't heard about or newer saw in practical use.
Adiqq··on Design structured diagrams, built to increase your team's trust in your docs
Another question: how do you make people maintain quality docs? Sometimes I start to doubt, if it's even possible to maintain some order with bigger solutions, because even if you can force yourself to document well everything, there will be always people that either don't know solution well enough, they don't know how to prepare good documentation or they don't want to bother with it.
Adiqq··on Remote Work Report
Working fully remotely? In IT it's no-brainer, why would I spend time on everyday commuting, spend time in office where I can't feel fully comfortable, especially when company come up with open space idea and waste my productivity? I want to get shit done, receive money and live my life. Reimbursements? Employer should just pay more in salary, what's the difference if I rent a office or convert part of my home into office?
Adiqq··on The myth of the developer that can't code
Personally I agree with idea. Software development and IT nowadays is complex. Do you really think that whiteboard interview can truly check anything? It will check if you can memorize definitions and patterns for solving tricky questions and that's it. That might work for some type of people, however I work poorly under such stress, my mind goes blank and I can't remember simplest definitions. I don't want to work for FAANG, I'm not math genius, I don't specialize in theoretical CS. I want to collect requirements, look for solution (often with help of the internet) and provide good enough solution that solves problem at hand. Currently I work in DevOps. I can easily answer most questions from my team and help troubleshoot issues at different areas. Should I never work in IT, because on some interview, my mind goes blank and I struggle with question that can be easily answered by CS student?
Adiqq··on French companies benefiting from state aid can't buy back shares
I'm not from France, but is it controversial at all? If company wants state support, money needs to stay at the company, that's what it is about, right? Do companies in France could abuse this rule in other way?
Adiqq··on Cooling off your Raspberry Pi 4
I'm not sure why, but my RPI4 become broken 4 times in a row. I returned it 3 times, but finally I gave up. Every time it eventually stopped to boot up and there was solid green and red LED light. There was original raspberry PI case, modified to mount Noctua 5V fan, with additional holes to allow air circulation. There was original power supply. It was only connected with ethernet, this fan through GPIO and HDD drive through USB.

Now I have HP T620, can be bought cheaply, it's definitely bigger than RPI4, but finally it just works.

← PreviousPage 2 of 2