Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
AzN1337c0d3r
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
AzN1337c0d3r
5y ago
No he's right, it renders to a 2x resolution off screen with hidpi assets (2x resolution icons, double-size text, etc) and then does downsampling back to your screen resolution 2560x1600 for 13 inches, 2880x1800 for 15 inch, 3072x1092
32.
▲
by
AzN1337c0d3r
5y ago
I had a 2016 that got the keyboard replaced 7 times before they upgraded me to a 2017 on which I replaced the keyboard 5 more times before I gave up and sold it. Each time they replaced the top-case which includes the entire battery assembl
33.
▲
by
AzN1337c0d3r
5y ago
How do you deal with submodules?
34.
▲
by
AzN1337c0d3r
5y ago
Because many program "unnecessarily" allocate a lot of virtual memory and then never actually page it in, disabling overcommit will start killing processes due to lack of memory even though most of the memory isn't been actua
35.
▲
by
AzN1337c0d3r
5y ago
> the driver pay a fee when they text and drive. Rich people will just pay this fee and keep texting. Anecdotally, I noticed that all my friends who can't stay off the phone when they are driving are all heavy social media users, so
36.
▲
by
AzN1337c0d3r
5y ago
Firefox appears to be blocking Cross Origins Requests so cannot actually successfully sign-in: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://apresolve.spotify.com/?type
37.
▲
by
AzN1337c0d3r
5y ago
> Dry tests use a lot of helper methods and those are a layer of indirection. This is exactly my point, you reduce noise. > To understand a dry test, you have to also understand the helper methods, and whatever helpers they all call.
38.
▲
by
AzN1337c0d3r
5y ago
I mean he's basically advocating to use your best judgement but I find far too often test that is too WET (Wantonly Expanded Test). Test that are DRY increases the confidence that the test tests the correct things by holding everything
39.
▲
by
AzN1337c0d3r
5y ago
Yes, but it is not correct to claim Macbook Pros are Iris Pros. They are Intel graphics. Intel GPUs (including the UHD Graphics 630) can be used with external monitors. HP, Dell, Lenovo, Acer etc all do it. In fact, in 2013-2015, Macbook Pr
40.
▲
by
AzN1337c0d3r
5y ago
Intel stopped offering Iris Pro after Skylake. https://en.wikipedia.org/wiki/Intel_Graphics_Technology#Skyl... The last Macbook Pro with Iris Pro graphics is the Mid-2015 15-inch Macbook Pro. https://en.wiki
41.
▲
by
AzN1337c0d3r
5y ago
> that will never be as perfect as an optical viewfinder, Don't forget that EVF can surpass OVF in image quality because they can apply lens correction to the viewed image which brings the image closer to the final product. (althoug
42.
▲
by
AzN1337c0d3r
5y ago
Not sure what camera you use, but in Canon's terminology you can turn off exposure simulation which will make the image through the EVF look like a correctly exposed image with ISO cranked way up but you can set your shot ISO as low as
43.
▲
by
AzN1337c0d3r
5y ago
> such as optical quality Huh? EVF and OVF have their own advantages but it is not correct to say optical quality of one is better than the other. EVF can do things such as boost the exposure which makes things like the 800mm f/11 p
44.
▲
by
AzN1337c0d3r
6y ago
IMO the graphics performance when running macOS Big Sur VMs under Fusion is better but still atrocious. Not anything like a native experience. Not sure about Parallels.
45.
▲
by
AzN1337c0d3r
6y ago
The reason is that Dell replaced S3 sleep with Modern Standby. Modern standby is turning on my XPS so much it can actually get dangerously hot in my backpack.
46.
▲
by
AzN1337c0d3r
6y ago
https://gcc.godbolt.org/z/qd5qnhPT6 How does any copy-construction happen here?
47.
▲
by
AzN1337c0d3r
6y ago
Your proposed example code does exactly what GP said, pass as a reference (in your case, an rvalue reference).
48.
▲
by
AzN1337c0d3r
6y ago
Absolutely.
49.
▲
by
AzN1337c0d3r
6y ago
From TFA: > The researchers divided 500,000-plus cases into four categories: male doctors treating men; male doctors treating women; female doctors treating men; and female doctors treating women. “All of those are statistically indistin
50.
▲
by
AzN1337c0d3r
6y ago
Because fraud is misrepresentation of information. Consent is something you give (regardless of information is factually correct or not). There should be punishment for consent acquired through fraud, but it is not equivalent to acquiring s
51.
▲
by
AzN1337c0d3r
6y ago
No, they consented at that moment with the available information they had. The fact that the information turned out to be false doesn't invalidate the consent they gave. It's just turns out that consent was acquired via fraud. C
52.
▲
by
AzN1337c0d3r
6y ago
Just to be clear 1 Wh is not 1 J. 3600J = 1 Wh.
53.
▲
by
AzN1337c0d3r
6y ago
I define rape as when one party does not consent at the time of the act to sex. You can't retroactively remove consent. Fraud is a completely different matter.
54.
▲
by
AzN1337c0d3r
6y ago
You don't have to use BTC directly to settle transactions. For example, Lightning is built ontop of BTC: https://lightning.network/
55.
▲
by
AzN1337c0d3r
6y ago
TU102 and GA102 are back up to double-rate FP16.
56.
▲
by
AzN1337c0d3r
6y ago
Note that pigz only parallelizes compression, not decompression.
57.
▲
by
AzN1337c0d3r
6y ago
Aren't both Leela and Stockfish both freely available? https://github.com/LeelaChessZero/lc0 https://github.com/official-stockfish/Stockfish
58.
▲
by
AzN1337c0d3r
6y ago
I dont know how much you know of the politics of the situation, but I'm curious if what is stopping games from being released on Linux is due to the lack of anticheat software?
59.
▲
by
AzN1337c0d3r
6y ago
I think of it more like the EDR display has a gamut that is a superset of the gamut of a regular display when they are at the same brightness.
60.
▲
by
AzN1337c0d3r
6y ago
And I have the complete opposite experience. Pinning this on the switch from LPDDR3 to DDR4 seems like a very weak conclusion. Especially when it is known that processors and displays are the largest consumers of energy and the 2019 MacBook
More ›