new.css is my default classless css. Thanks for your work!
Recent @synergy20 Activity
new.css is my default classless css. Thanks for your work!
How to Use Emojis with Vim
2 points • 1 comments
Browser is the new UI for 90% of GUI use cases, I'm all in, be it Electron or just the browser.
I'm still a little bit confident in the system, though.
Because in 2026, Dem will win back both congress and senate, it's just a normal pattern. Voters never liked any party owns it all.
Two parties keep playing this along the way, except each game are so close these days, it's tiring and boring and hard to advance any agenda when either one is in control.
The system is getting close to deadlock when both sides no longer honor the game rule: "debate before the election, work together after it and just wait for your next turn". Instead it's now about fighting every day, it does not matter who won the election anymore. The end result?
"Nothing Got Done(tm)"
In that sense, it's not because China is doing better, it's because US's internal problem stops itself, and may bring it down.
Replace Webpack with Vite
2 points • 0 comments
Make Mac's key-binding(yes the option-command-thing) work across non-Mac will be a good first step, after all, on the Desktop level, Mac is not even the mainstream yet, and I hope it will never be.
I tried really hard to embrace apple ecosystem since last August with a $4000 macbook pro(assigned by my employer with no other alternatives), now I apply for an exchange to any non-Mac laptop(or desktop), be it a windows or linux one. I don't want to touch Apple's product for the rest of my life.
I could list a top-10 reasons why I "hate" Mac, but I will just stop here, anything more on the subject is a waste of time.
"if it does not break, don't fix it. If you fix it it breaks, you must hold both ends"
That sounds about right to me. The company also has risks in that its interviewing process indeed just found a good match and you will be as good in real as in paper(your resume), I think the salary part covers the first year, no raise for first year makes perfect sense unless you're absolutely undervalued when you're hired.
The other side is that, if you're not as good as you're supposed to be, normally you won't get fired just in one year, you are actually overpaid. From the corporate side, the better engineers are covering the loss(those are overvalued but still too early to be laid-off).
So the best and most capable ones will switch jobs after 3 years, not totally because the company is too greedy. Unless there is a way and culture to make your salary can go up and down each year based on your performance, there is no good solution(because pay-cut is not common no matter what). In the end those who are overpaid will more likely to stay, those who are undervalued will likely jump board.
One way is to keep salary less important, like an average value that is reasonable for both sides, then the company can use monthly/quarterly/yearly bonus to reward the top employees, but who could like it when he has a 30-year fixed-rate mortgage that needs a sense of secure/stable income.
It's a tight labor market now, not just engineer positions.
as far as engineer or IT jobs are concerned, I have been wondering for years: is the root cause that we can't produce enough STEM graduates? starting from k-12.
I have no strong evidence, but my current company could not even find candidates(we're doing chip design), in the past it would have to work with H1B workers but covid19 made that a slow and impossible task.
some could argue H1B is just cheaper, per my understanding it's not always the case, it is more likely that we just don't have enough STEM graduates to fill the pipeline over the last 3 decades.
Native TypeScript Support in the Browser?
1 points • 0 comments
It already is, every hw/chip designer is pretty much a software engineer coding in verilog(c-like), all testbench/verification is also pure software, designer normally uses powerful CAD software daily, the hardware part for many designers are minimal.
the true hardware is those who design the boards (PCB), which, before COVID, was mostly outsourced to China, I'm unsure if this "hardware" will ever move back.
what a coincidence, my boss just asked me to buy the memerbership.
keywords: PAM4 and 128GBps/per x16 lane(full width, per my understanding, not 256Gbps as title says), which mean it can be used to make a 1Tbps NIC, or any traffic at the scale.
from my reading, we will see pcie6 products mid-2023.
As long as wordpress still holds 40% of the sites PHP will be a major language.
In my opinion, all the modern 'script' languages are now adding static-typing one way or another, to make they much robust(python's mypy, typescript,PHP, etc).
I will pick PHP for backend website development, I just want to avoid the async-node-js as much as I can as it's much worse than other options I feel.
Money talks. Even though it's a seller's market, what a shame.
true, it does not seem deno is addressing the 'biggest' weakness in node.js though, I'm a bit disappointed.
Rust should have larger stdlib
25 points • 20 comments
nope, I was told rust prefers to a light stdlib approach.
So what's Deno's stdlib principle:
I prefer No.1 here.
1. you got pretty much 80% of what you will need from the std libraries for a mid-size 'normal' application(similar to glibc, libstdcpp, go stdlib, python's stdlib) 2. you got a small stdlib than usual(rust's stdlib), the rest you use cargo and good luck with that 3. you grab whatever you need(node.js, you have no idea about the 500 modules npm just installed)
nice to have ts+linter+formatter together, it took me one or two hours to set up with my own vim(using vite/volar), so it saves me some time.
what I really like a new Node.js(e.g. deno) is actually its module system, I don't like the `npm i` in node.js pulls hundreds of modules, a standard library that contains most commonly needed modules is the key. If deno does not do that, I probably will never try that(as I can have the bundle of tooling done myself in one-or-two hours, vite/volar now makes this even simpler).
In short, I will prefer gold-quality set of modules or APIs(e.g. glibc) to the 100% flexibility "you pull whatever you want freely now even over http URL", for security and stability reasons.
I have 3 colleagues in their early 70s, we develop silicons for AI and DL. One is the tech leader, another one is algorithm/compiler, the last one doing FPGA. I asked one of them about the retirement, the answer is: "tried that, too boring"