Better HN
topnewbestaskshowjobs
Log inSign up

wbkang

607 karma · joined Nov 20, 2009 (17y ago) · 204 submissions

Software developer in Toronto

https://wbk.one

Submissions

comment 2w ago · link · parent

This is a good thing for the actual email users. The volume of really obvious “spam” emails were through the roof that it became quite tedious to rescue legit emails. It’s not like setting up DMARC is hard either.

comment 3mo ago · link · parent

This is equally as biased as those who claim AI can just code all night autonomously for you. You don't have to use it to generate "fully LLM-generated PRs". It's true GitHub is flooded with poor-quality LLM slop, but that is not the only way to use it.

It's ironic the author links to Naur's paper because I use LLMs to dig through code faster, question my assumptions, review my drafts, or generate drafts for my review. It's not because I am bad at it, I used to be very proud of being able to do this better than others. Anyway, this does not lead to more "lines of code" as the author suggests and instead it can lead to higher quality code.

FWIW, I also don't believe you can let LLMs make critical judgement by somehow stringing together more LLMs. And I am also not making a claim on whether the $1.5T investment is proportional to its benefits. But to say "industry has nothing to show for it", or to bring up strawmen like "LLM-generated PRs" and "lines of code", makes me question whether the author has tried studying the applications of LLMs.

comment 4mo ago · link · parent

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.

comment 10mo ago · link · parent

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.

comment 1y ago · link · parent

I read your issue, and it's not so different from `sudo rm -rf /` as opposed to an actual design flaw.

comment 1y ago · link · parent

This is from more than 25 years ago, there has been big changes since then.

comment 1y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

Are there any open source printers? I know that 3d printers have many open source designs and they perform ok.

comment 2y ago · link · parent

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".

comment 2y ago · link · parent

SMS OTP sucks but this isn't it. Receiving text abroad is free with almost all carriers including Rogers.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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?

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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+.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

It's called "device encryption" which seems to do the same thing and they allow it for Windows 10 home. It's confusing.

comment 3y ago · link · parent

Axillary in English also means "of armpit"

comment 3y ago · link · parent

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).

comment 3y ago · link · parent

I am referring to not being logged into Apple ID.

comment 3y ago · link · parent

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.

27.

OS Detecting QMK Keyboard(wbk.one ↗)

2 points · by wbkang · 3y ago · discuss

comment 3y ago · link · parent

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-...

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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?

1234567