HNHacker News
TopNewBestAskShowJobs

kalaksi

545 karma · joined October 16, 2023

submissionscomments
kalaksi··on Fixing a monitor that goes black, off or blinks due to static electricity (2023)
Any idea if ESD can damage the monitor over time?
kalaksi··on France Launches Government Linux Desktop Plan as Windows Exit Begins
I actually have been lucky since even my laptop from 15 years ago already worked well with Linux and suspend while Windows didn't (wasn't OEM Windows anymore). I have also had multiple desktops that have _mostly_ had no issues with suspend either: only nvidia has given me grief on some setups when sometimes the screen would be blank when waking up, but I figured out workarounds for that.
kalaksi··on France to ditch Windows for Linux to reduce reliance on US tech
> Desktop Linux is not useless, but it is really just sub-par compared to Windows.

Each to their own. My experience is the opposite (I use KDE). I have to use Windows at work and it's always such a pain. At least Windows 10/11 finally has multiple workspaces natively and some keyboard shortcuts for managing windows (ironic), but I would have preferred to stay in Windows 10.

Now Windows doesn't even support proper suspend anymore and it won't stay in the "modern standby" either. Constantly waking up and doing god knows what with fans screaming. When I take a look what it's doing, task manager claims that nothing resource intensive is going on. I'm guessing it's hiding some internal processes. It calms down when I put it to sleep again. Sorry for the rant, I better stop before I start.

kalaksi··on Proton Meet Isn't What They Told You It Was
You'll have to be more specific what kind of "privacy claims" you're talking about. Proton is definitely a lot more private than, say, Google. But, as always, you'll have to trust the party delivering the binaries you run. Also, any company operating legally, have to co-operate with court orders etc., but afaik they try to push back
kalaksi··on Slop is not necessarily the future
And then everyone disagrees what counts as luxury in software.
kalaksi··on Typing and Keyboards
Hey, me too! I do touch typing with home row and tried using mechanical keyboard with Cherry MX Brown switches, but eventually switched to scissor switches. I like them for the same reasons as you.
kalaksi··on Nitrile and latex gloves may cause overestimation of microplastics
I get your point that plastics are relatively inert and may not cause noticeable harm (depending on quantity?), but I think it'd be wise to be cautious. See for example https://en.wikipedia.org/wiki/Plastic#Bisphenol_A_(BPA) .

I'd also consider plastic, and their additives, to be a lot bigger and longer lasting unknown than GMOs.

kalaksi··on Nitrile and latex gloves may cause overestimation of microplastics
Many negative health effects have been associated with microplastics and related chemicals. Not sure if there's yet anything causative, but I think it's probably a matter of time and there's lots of research to be done. I'd bet the health effect of microplastics (or anything that human body isn't used to) is more likely to be negative than not.
kalaksi··on LinkedIn uses 2.4 GB RAM across two tabs
Some users might enable these kind of features with their attention, but I don't think users actually want these features and any kind of "voting" is likely unintentional. It's manipulation. The fault lies mainly with the company and their carefully planned dark patterns. Ideally, users should punish them by e.g. leaving the platform but there's friction that may be a bigger problem than the dark patterns (depending on user). And I don't think there are any platforms that always guarantee good user experience now and in the future.

Not sure if users even realize what the dark patterns are and do. Users aren't all-knowing, with endless time, carefully balancing their attention to try to provide markets with the optimal signal to wisely guide the misbehaving actors.

kalaksi··on Go Naming Conventions: A Practical Guide
> strictly speaking not wrong, but many times slower to absorb. (I think most developers screech to a halt and their brain goes "is there something funny going on in the logic here that would necessitate this?")

I agree with this, but can't see how this applies to variable naming. Variable names can be too long, sure, but in my opinion, very short non-obvious variable names also make scanning and reading harder since they are not familiar shapes like more complete words. Additionally, when trying to understand more deeply, you have to stop and read code more often if variable's meaning is not clear.

That said, 1-2 char variable names work well in short scopes, like in some lambda, or when using 'i' for an index in a loop (nested loops would depend on situation), but those are an exception.

Like always, this is probably subjective too. And well-organized codebase probably helps to keep functions shorter, but there's often not much I can do about the existing codebase having overgrown functions all over.

kalaksi··on I tried to prove I'm not AI. My aunt wasn't convinced
Or just find a shared memory/moment not available on the internet when in doubt. I don't think people will be that eager to remember another passphrase.
kalaksi··on How I'm Productive with Claude Code
Is constant juggling of multiple agents productive? I haven't seen the allure (except maybe with 2 agents sometimes). I guess it depends on what kind of tasks one is doing and I can imagine it working if doing large, long-running tasks, but then reviewing those large changes and refactoring becomes more difficult. And if you're juggling multiple agents, there's the mental context switching and tooling overhead for managing them. Maybe predictable and repetitive tasks can work well.

I prefer focusing mostly on 1 task at a time (sometimes 2 for a short time, or asking other agent some questions simultaneously) and doing the task in chunks so it doesn't take much time until you have something to review. Then I review it, maybe ask for some refactoring and let it continue to the next step (maybe let it continue a bit before finishing review if feeling confident about the code). It's easier to review smaller self-contained chunks and easier to refer to code and tell AI what needs changing because of fewer amount of relevant lines.

kalaksi··on Too Much Color
https://www.keithcirkel.co.uk/whats-my-jnd/?r=AG4mKP____6_

"This shouldn't be possible. I'm not saying that you cheated, but not not saying that."

0.0011. The quote seems a bit hyperbolic. There were maybe 2-3 that I didn't see and missed. 1-2 that I didn't hit perfectly but close enough. Display probably affects results (but didn't change any settings for this). I have a Dell IPS. I also moved my head around a bit, felt natural while trying to discern the colors.

I do have a good vision (including color). Reminds me of the other color-game where you order some colored boxes to form a spectrum.

Edit: just tried hard mode and got 0.0084. Missed maybe 3 that I couldn't see. Usually some magenta or blue colored. Grey and red / brown seem to be the easiest.

kalaksi··on Google details new 24-hour process to sideload unverified Android apps
It's crazy. There have been news articles here where people have lost their whole account balance in one go and bank says they can't even do anything after the transfer is made. How is that different from Bitcoin then? People that have never done such huge transfer and the banks supposedly are monitoring transfers.

And since the customer was supposedly being careless, they won't get anything from the bank.

kalaksi··on Denmark was reportedly preparing for full-scale war with the US over Greenland
But the outcome as a whole isn't the same. Maybe the same areas get invaded, maybe not. Denmark is also part of NATO. But it isn't the same to just give something up without a fight even if same areas get eventually invaded.
kalaksi··on Rob Pike’s Rules of Programming (1989)
This shows how hard it is to create a generalized and simple rule regarding programming. Context is everything and a lot is relative and subjective.

Tips like "don't try to write smart code" are often repeated but useless (not to mention that "smart" here means over-engineered or overly complex, not smart).

kalaksi··on It Took Me 30 Years to Solve This VFX Problem – Green Screen Problem [video]
Maybe it's a language thing. Architects saying they built something sounds a bit off to me. In my native language, and in everyday language, I don't think people would use "built" like that. I don't know how architects talk with each other, though.
kalaksi··on Home Assistant waters my plants
Yeah, I haven't had issues with SD cards in a long time. Many years ago (maybe 10), I think they weren't quite as good and I probably skimped too much when buying a card. RPi 1 also had power regulation issues. Now I only use higher tier cards and make sure there's enough free space for wear leveling and operations.
kalaksi··on Rack-mount hydroponics
I've thought about it, but I'm not too worried. I wash containers before use and there's not a lot of sun or heat indoors. My regular pots are actually ceramic or stone. They look and feel better than plastic, but I also want to avoid unnecessary plastic when I can.
kalaksi··on We should revisit literate programming in the agent era
What? No, a short explanation of why some approach doesn't work well.
kalaksi··on Rack-mount hydroponics
I've also tried a few different ways to grow plants indoors and I'd like to share my experiences for anyone interested. I like to grow indoors since I can do it year round and the environment is clean, stable and there are no animals or bugs (knock wood). Over time, I've gravitated towards low-maintenance hydroponics. Growing in soil needs soil, which is also dirty and so a bit more PITA, and it can harbor bugs.

One setup I had was a vertical (hydroponic) window farm, which looked pretty great, but the roots start to get into the tubing, which I suspect could happen in the rack-mount system too. It also wasn't simple to just take out one plant for maintenance.

A small NFT (nutrient film technique) box has worked very well, requires very little material as substrate and is easy to maintain. Might get problematic if growing the same plants for over a year since the roots can grow a lot and basically partially outgrow the system so the flow of water starts being insufficient and therefore might need at least some trimming and replanting if some of the roots start to suffer.

I'm in the process of trying out deep water culture, which requires even less materials since there's no growing medium, just water, and roots are submerged so doesn't have the same issues as NFT. Probably has it's own problems, though, and air pumps can be loud!

Anyhow, most of my plants are in a passive hydroponics system. "Kratky method" is something a bit similar. I basically replaced soil in pots with clay pellets and manage watering so that I have to water every 2-3 days. Requires clay pellets as the substrate so needs a bit more effort up front, but doesn't require electricity and is more portable when using small/medium sized pots. Pellets can be reused (at least most of them). I also added a short tube for monitoring water level and possible maintenance if I need to wash / flush the pot with the plant in it.

Regarding fertilizing, I rarely do any accurate measurements anymore. I got a few pump bottles and measured how much fertilizer one push gets me and wrote on the bottles how many pushes per litre. I also eye-ball the water color a bit since I know how it should look like.

Oh, and the plants that have done well for me, and can grow for a long time with multiple harvests (so no lettuce): peppers, cherry tomatoes, cucumbers, trying some small strawberries

kalaksi··on We should revisit literate programming in the agent era
Sounds easier (for everybody) to just use comments.
kalaksi··on We should revisit literate programming in the agent era
Confusing code is one thing, but projects with more complex requirements or edge cases benefit from additional comments and documentation. Not everything is easily inferred from code or can be easily found in a large codebase. You can also describe e.g. chosen tradeoffs.
kalaksi··on Modernizing swapping: virtual swap spaces
There are daemons (not installed by default) that monitor memory usage and can increase swap size or kill processes accordingly (you can ofc also configure OOM killer).
kalaksi··on I'm reluctant to verify my identity or age for any online services
It is pretty paradoxical and got me thinking. I don't know how to measure the value of my vote. I feel like the immediate value is less than the effort, but on the other hand, I don't think it's so simple. As you said, if no "rational" people vote, that's catastrophic and so I'm helping to maintain a larger system. Maybe a culture. Movements can have collective power no individual can have, but they can't exist without individuals. It's hard to measure the value or effects of a culture as they are often not clearly visible or direct. The effects can play out over a long time too.

About voting with your wallet, I agree that it'd be best if companies actually had to pay for those externalities you mentioned. If you have spare money to spend, you can view not choosing the cheapest option as supporting or donating. That's what I sometimes do when e.g. buying locally instead of ordering from somewhere far for cheaper. I can get local faster and it's more convenient, so there's lazyness, but thinking about it as supporting helps me rationalize it further (and it is true). I don't think it really hurts me more than buying something else that I don't strictly need. I see indirect value in trying to uphold things I like.

kalaksi··on Meta’s AI smart glasses and data privacy concerns
Depends on a country, but yes, police generally has more privileges in that regard. The laws here are also different for casual public filming vs. permanent camera or otherwise targeted filming (without consent) in public space. It also matters what you do with the material. I actually don't know if businesses are anything special compared to individuals in that regard. They can, of course, have security cameras filming their private properties (like individuals can) as long as they are open about it. And again, they can't use or spread the material however they want.
kalaksi··on Meta’s AI smart glasses and data privacy concerns
That depends on who has set up the security camera and what area it covers.
kalaksi··on I'm helping my dog vibe code games
Maybe they have savings. They might also be eligible for some kind of allowance/benefits for some time and therefore are not immediately losing money.
kalaksi··on Breaking the spell of vibe coding
I saw a conversation like that but, like here, I didn't always understand what they meant with "end result". Was it only the app GUI and they don't care about the code at all, or do they still care about the code quality, the architecture and planning.
kalaksi··on More Mac malware from Google search
You don't need command line for installing packages, though
← PreviousPage 2 of 9Next →