Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gnum4n
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
gnum4n
2y ago
That is a very good point. Why buy big iron "pets" when you can buy x86 "cattle"? It works for a lot of stateless apps and services. A node dies, and k8s quickly moves the workloads to new nodes. It does take some work t
2.
▲
by
gnum4n
2y ago
And now that they bought RedHat, they're eagerly dropping support for all linux distros that are not RedHat, and they're attempting to lock out anyone who wants a personally affordable RedHat-like system (CentOS...). If they succe
3.
▲
by
gnum4n
2y ago
Aside: I hate the popup subscription CTA that asks for my email address in the middle of reading the article. How could I know whether I want to subscribe before I finish reading, and why interrupt my reading the article at all? There are c
4.
▲
by
gnum4n
2y ago
Former P-series/AIX SME here. I agree 100%. IBM's training programs are a joke. P-series and mainframe machines have a lot of cool tech, and they're very resilient. They can even lose a CPU or some RAM and keep running. x86 s
5.
▲
by
gnum4n
2y ago
As a former P-series/AIX specialist, I can say that the pay is not as good as a decent linux job, and the career growth potential is very low. Your career options are basically to maintain legacy systems until they can figure out how t
6.
▲
by
gnum4n
2y ago
My Windows PC is only for gaming. That said, I found a simple way to avoid the worst of the Windows update problems: Always stay at least one major version behind. That means lagging on Windows 7 or 8 when 10 was current, and lagging on Win
7.
▲
by
gnum4n
3y ago
Ask for more stock/promotions/pay. You won't get what you don't ask for. As an early employee, you have value in your company knowledge. Otherwise, I'd probably just leave for a company with better pay and better wo
8.
▲
by
gnum4n
3y ago
Yeah, but if the phone/browser decides to delete some of the PWA's code to save space, you won't be able to use any maps at all until you connect back to the internet. Before you say "just download the code to your phone
9.
▲
by
gnum4n
3y ago
Yes, "Add to home screen" is exactly how you install a PWA to your phone =) It's a bit confusing, isn't it? "Add to home screen" makes it seem like you're just adding a link, but it's installing the P
10.
▲
by
gnum4n
4y ago
The UI looks pretty neat, but the install instructions are essentially "curl {url}/install.sh | bash -", which is kind of icky and runs a bunch of sudo commands. Since you're using Docker anyway, why not provide human-re
11.
▲
by
gnum4n
5y ago
If Go does have some kind of "__builtin_expect" equivalent, I can't find it. I'd say it probably doesn't exist. Even if it _did_ exist, the Go compiler authors would reserve it for internal use only, like they do wi
12.
▲
by
gnum4n
5y ago
Author here. Thanks for the advice! That's a very good point. Maybe it's worth doing a follow-up on this? I originally thought of doing unit tests to ensure it's actually running in constant time for different inputs, but I&#
13.
▲
by
gnum4n
5y ago
In that case, the code would probably work like the C code example I gave. So... I guess you're right. It _can_ be done in Go without `if` if we use unsafe. I can't argue with that =) In general, I try to to avoid using unsafe as
14.
▲
by
gnum4n
5y ago
You're probably thinking of the CMP instruction: https://www.aldeid.com/wiki/X86-assembly/Instructions/cmp TEST does a boolean AND test: https://www.aldeid.com/wiki/X86-assembly/
15.
▲
Branchless Coding in Go
(mattnakama.com)
161 points
by
gnum4n
5y ago
|
55 comments