Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nvarsj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
631.
▲
by
nvarsj
5y ago
I love high res smaller screens. I have the X13 with 2560x1600. I leave the screen at 100% (perfect size for window widgets, etc.) and scale fonts by 1.5. Works great and everything is super sharp. I can also scale down the fonts if I want
632.
▲
by
nvarsj
5y ago
That's not really fair... no one is going to buy a new laptop without the most modern processor. The problem really is that Intel on mobile is awful and has only been getting worse as they try to compete. I guess you could say Framewor
633.
▲
by
nvarsj
5y ago
Same here. All my Intel laptops in the last 10 years have had awful cooling, hit 90+ and throttle. So I was really surprised at the AMD performance.
634.
▲
by
nvarsj
5y ago
No throttling as far as I can tell. When using 16 virtual cores at 100%, each core tops at about 3Ghz (probably due to power limits). Temps creep up to about 68, fan goes on, and it stays there.
635.
▲
by
nvarsj
5y ago
Fair enough - I think there were a lot of teething issues with the recent amd laptops due to lack of kernel support and some bugs in the s3 bios implementation. I probably would have been similarly frustrated if I bought 9 months ago. Fortu
636.
▲
by
nvarsj
5y ago
Yeah, same here. I'm now on an AMD X13 gen 2 and it's fantastic. I can't get temp to go past 68 degrees even with all 8x2 cores at 100% on performance profile. Fan is also completely silent and only goes on with sustained usa
637.
▲
by
nvarsj
5y ago
CFS quotas have been broken for a long time - with processes being starved far below their utilisation of their quota. I think every serious user of k8s discovers this the hard way. Recent changes have been done to improve the scheduler fo
638.
▲
by
nvarsj
5y ago
I used to read voraciously as well. It's very time consuming. Looking back, I spent at least one university summer simply reading every day, rather than doing a boring internship to get me a high paid job out of university. Reading is
639.
▲
by
nvarsj
5y ago
Demand most likely. Lots of people think the clones like gateron are superior to cherries.
640.
▲
by
nvarsj
5y ago
There's many options, just look at other modern languages. The simplest are exceptions/errors that can be thrown - like you get in Java, python, typescript, etc. For something more like a traditional return value, you have std::re
641.
▲
by
nvarsj
5y ago
Yes, please, the iferr pattern drives me nuts. While I built a few years of my career on golang, I'm absolutely sick of the language at this point. At least we finally get generics.
642.
▲
by
nvarsj
5y ago
You can’t do 4:4:4 chroma with displayport 1.4. Not enough bandwidth. As a result, fonts look pretty bad. Next gen displayport should be able to do it but no cards support it yet afaik.
643.
▲
by
nvarsj
5y ago
This article doesn't mention the most infuriating aspect of HDMI - it's not an open standard! It's a closed, proprietary standard that requires licensing fees and prevents any open source drivers from existing. This is why th
644.
▲
by
nvarsj
5y ago
iferr is one of the worst warts of the language. I recently converted a Pulumi project from golang to Typescript. Code size dropped by 30% just by removing all the iferr checks. The other thing is the compiler doesn’t complain if you forge
645.
▲
by
nvarsj
5y ago
Some of the best esports with the deepest meta have no/little patch updates and their meta is constantly evolving. It’s the same in chess too. If anything, continuous patch updates that change the meta are a sign of weak game design.
646.
▲
by
nvarsj
5y ago
It’s common in esports, internationally.
647.
▲
by
nvarsj
5y ago
Yeah! sudo had a pretty good one, anyone could gain root access via it, back in 2012 [1]. I love the irony here though - given how people using Java tend to think its unexploitable compared to C/C++ code. This is arguably way worse tha
648.
▲
by
nvarsj
5y ago
Android is a general purpose embedded OS, it's not just used on devices with cell radios. It doesn't manage the BP (cell phone processor) either afaik. For example, a voip android desk phone - it relies on voip to make calls. Andr
649.
▲
by
nvarsj
5y ago
No, they sound pretty crap to be honest if you're used to high quality over the ear headphones. But that's not really their purpose. They are ideal as portable earpieces - walking around town, on the train, folding your laundry, o
650.
▲
by
nvarsj
5y ago
Samsung has never had great build quality in my experience - they seem to focus on looks above all else, with throwaway hardware that never gets software updates. I wonder why you went for a galaxy book pro? Why not buy a Thinkpad or Dell?
651.
▲
by
nvarsj
5y ago
It’s remarkable to me how little progress there has been in a scientific understanding of the gut. Why does it avoid understanding by modern science? My own experience is one of life long IBS. The worst I had it was in university, where I w
652.
▲
by
nvarsj
5y ago
Video sounds like a calibration issue, streaming issue, or just a poor TV. Generally only OLED and Plasma are good at showing dark scenes due to very high contrast ratios. On everything else dark scenes just become a washed mess. Another is
653.
▲
by
nvarsj
5y ago
Even the Apple store does this when you take your phone for repair. I only did it once and they did a crap job anyways (screen replacement, and they got dust in the camera lens area somehow).
654.
▲
by
nvarsj
5y ago
It takes about 5 minutes to set up. It's easier than Clion to use imo and works with far more project types, even the Linux kernel. But if your barrier to using a tool is it can't require any setup or configuration... well I can&#
655.
▲
by
nvarsj
5y ago
I'd say don't blame the tool for what sounds like an architectural mess. TFA points out using nix as a reproducible build environment - which it is excellent at. Create a shell.nix in your repo, and every dev uses the same exact t
656.
▲
by
nvarsj
5y ago
Have you tried a C/C++ lsp server like https://github.com/MaskRay/ccls ? Works with vscode/whatever you want, and just targets your Makefile (using bear to generate the dependency graph).
657.
▲
by
nvarsj
5y ago
Yeah, I am aware what I did above would make a lot of nixos purists shudder. But from a pragmatic pov it saves me a lot of time. It's mostly to deal with repos at clients that are filled with scripts hardcoded to /bin/bash.
658.
▲
by
nvarsj
5y ago
Yes, which avoids all compression artifacts that come from the cross-frame compression that mpeg does. There's a reason DCP is used in cinemas - those kinds of artifacts become a lot more noticeable on very large screens and are hard t
659.
▲
by
nvarsj
5y ago
Nice guide! One thing I noticed missing is how to use nix flakes (e.g. in place of niv). That is my next thing to understand, and I want to convert my NixOS / shell.nix files to use them.
660.
▲
by
nvarsj
5y ago
Just to say, there are always ways to deal with what you describe. For /bin/bash, create a symlink from /bin/bash to bash: system.activationScripts.binbash = '' mkdir -m 0755 -p /bin ln -sfn ${
More ›