It’s all relative. It’s cheap if you think about spinning up new processes to run one off commands. It gets very expensive when you have to spawn it hundreds of times per second, and it can waste cpu cycles that could be used for query processing instead.
HN user
wbkang
Software developer in Toronto
https://wbk.one
This resonated with me a lot, thank you. It more or less matches what I have experienced, and it’s good to see someone write this down in a fairly balanced point of view.
My favourite parts:
My job is to figure out the set of software approaches that match that estimate. […]
Many engineers find this approach distasteful. […]
If you refuse to estimate, you’re forcing someone less technical to estimate for you.
Even after many years, I still find it distasteful sometimes but I have to remind myself what everyone gets paid for at the end of the day.
I read your issue, and it's not so different from `sudo rm -rf /` as opposed to an actual design flaw.
This is from more than 25 years ago, there has been big changes since then.
It sounds like Stockholm to me ;) I don't think you _need_ the index to make partial commit work. I've used Mercurial first so I know "hg commit -i" exists.
Even if the staging concept is clear to someone, git cli terminology _is_ objectively very confusing and there are many articles written about it already (e.g., do I "add" to index? Is the index also referred as cached/Staged? Mixing different verbs and nouns everywhere). Are they all the same?)
I just wrote this to say it is not a necessary part of making a tool as powerful as git - Mercurial shows an example of a similar tool with a less confusing CLI.
Of course, git won so I just live with it. I enjoy teaching git new devs because once you explain the confusing terminology up front, they understand it faster.
Disabling swap on windows means all of your applications virtual memory has to fit in your physical memory. In Windows any unused virtual memory still needs space in RAM or, it has to have space in the page files.
Right now if I look at my Firefox processes, they take more (10-20%, sometimes a lot more) more commit size (virtual memory) than their private working set. With page files the unused virtual memory portion is simply reserved on the page file with minimal overhead. Without any page files, you will be just wasting memory.
RE: unnecessary writes, it might be windows proactively dumping the contents of the memory (I think this happens but I cannot confirm right now). But in general that's very low priority and it should affect your performance.
This is the correct answer that needs to be at the top. No swap doesn't mean OOM killer magically kicks in earlier. It just means the anonymous memory has no where to go and your executable pages get evicted and then you are really hosed.
I feel like the typical Google answer to this would just be to shut down your account D: fingers-crossed that it doesn't happen
Sony WF-1000XM3,4 had fairly easily replaceable batteries, but they regressed with the latest XM5. iFixedIt covered it here https://www.ifixit.com/News/79140/sony-just-nerfed-their-mos...
I am still using the XM3 - both the earbud and case batteries are repleacable.
Are there any open source printers? I know that 3d printers have many open source designs and they perform ok.
I don't have solid data but for "core" mature software written in c/c++ like browsers and Linux, I feel like I see far more high profile security bugs from the lack of memory safety rather than something like "Linux failed to enforce the existing permissions".
SMS OTP sucks but this isn't it. Receiving text abroad is free with almost all carriers including Rogers.
It's an unreliable and jarring experience, I had to give up on it. The app gives no indication when the synchronization would happen, and doesn't explain why when it does not work.
The vanilla interface often allows what's right depending on the context (e.g., if an unnamed return value is passed in, it can be move constructed, otherwise it can be copied). I saw some code bases provide an override for a const ref and a normal type.
It's still a valid point. Is it ok to take 15% more if you make more money? Does the marginal cost of supporting an app _increase_ as opposed to stay the same or decrease?
This is not an informed comment. New immunotherapies for cancers are real. It's just that they are very expensive. But it's not right to claim they are very far or imaginative.
I don't think so, but it's difficult to find an actual reference. For sure it does overcommit like crazy. Here's an output from my mac:
% ps aux | sort -k5 -rh | head -1
xxxxxxxx 88273 1.2 0.9 1597482768 316064 ?? S 4:07PM 35:09.71 /Applications/Slack.app/Contents/Frameworks/Slack Helper (Renderer).app/...
Since ps displays vsz column in KiB, 1597482768 corresponds to 1TB+.
I saw the same eclipse when I was on a plane from Rome to Seoul. I don't remember it too well anymore but really cool experience.
This is the first time I hear Linux has better fractional scaling than Windows. Is this because of Wayland or something? Windows always had reasonably good fractional scaling story. Wanted to hear why you think Windoes fractional scaling is broken.
It's called "device encryption" which seems to do the same thing and they allow it for Windows 10 home. It's confusing.
Axillary in English also means "of armpit"
Strictly speaking that's not true and, it's not fair to call it a dumb article.
Corporations are supposed to what's best for the shareholders. Milton Friedman equated it to maximizing profit, but it's not necessarily so.
Even if you assume that the profit is the sole reason for the corporation, it's not clear laying off 20% worker would necessarily lead to maximizing shareholder profit in the following years (e.g., it could lead to stifled innovation, lower employee morale, etc).
I am referring to not being logged into Apple ID.
You get a badge for the "System Settings" app for both on macOS & iOS. It's very distracting because there is no way to dismiss it, I had to unpin them from the dock.
I also explored why Ruby is so hard to learn for people like me on my blog [1]. I totally agree with you. I had to use Ruby at work and I really struggled to grok it. I've picked up many programming languages in my career but Ruby was one of the hardest to really understand.
[1] https://wbk.one/article/a463c360/the-ruby-tutorial-i-wish-i-...
Honestly, I think xpra is probably the best open solution you will find. It does have (too) many knobs to configure so it takes time to try out different codecs and settings to find a sweet spot using their session info toolset. And the mailing list is very helpful. For example, if bandwidth is plenty, you can use the straight RGB encoding and it performs well. Turning on audio can have effect on your latency as well.
It's not a "clear alternative" when Apple doesn't even allow you to mention that. There are other reasonable alternatives such as letting developers mention the alternative payment methods as long as they explain what the benefits of Apple payment ecosystem.
I read a lot of people writing comments like "I prefer to go through Apple because of the ease of unsubscription." If the benefits are so clear, why are developers not even allowed to mention the alternative?
Yeah I had to invent my own.
On Linux I used cron + email. You can setup postfix such that you use your personal gmail or whatever, then you will be able to do "echo message" | mail -s youremail.com to send an email. They (big email providers) always allow you to send an email as yourself to yourself.
On Windows, I used the native task scheduler (with various triggers like time, lock workstation, idle and so on) and send an email using powershell, which can also send emails using SMTP.
I have spent a lot of time trying out backup solutions and I feel strongly enough to write this to stop others from using this. As other commenters mentioned, Duplicati is pretty unstable. I was never even able to finish the initial backups (less than 2 TB) on my PC over many years. If you pause an ongoing backup it never actually works again.
I'd use restic or duplicacy if you need something that works well both on Linux and Windows.
Duplicati's advantage is that it has a nice web UI but if the core features don't work.. that's not very useful.
YouTube is an acquisition and they killed Google videos.