6,698 karma · joined Jul 18, 2012 (14y ago) · 1,967 submissions
Backend-focused full-stack engineer with 8+ years of experience, mostly focused on Go, Rust, and TypeScript, but open to other options.
Resume: https://drive.google.com/file/d/1VNC272B3n7ZEfppMHkm2wGgaINwYl4Av/view
comment 8y ago · link · parent
> On average, both Xeons pick up about 20% due to SMT (Hyperthreading). The EPYC 7601 improved by even more: it gets a 28% boost on average.
These results are the same as I've seen everywhere except the quote you pulled out. Zen's SMT is more effective than Intel's HT.
comment 8y ago · link · parent
Surface is a weird hybrid of laptop and tablet, and I haven't been impressed by its floppy keyboard or tiny trackpad. A Lenovo X1 Carbon, on the other hand, is just incredible.
comment 8y ago · link · parent
In fact, I think you could choose to set it up this way from the Ubuntu installer directly. By default, it just encourages you to sign in manually in addition to setting up FDE.
comment 8y ago · link · parent
comment 8y ago · link · parent
On the various Android devices I've owned, I've used a useful app called Screen Filter that adds a translucent layer on top of all apps to dim the screen beyond the artificial manufacturer-imposed minimum brightness, which worked especially well on OLED Android phones, but also LCDs worked fine too.
comment 8y ago · link · parent
Which things can a light source vary, besides wavelength and intensity? It's easy to define intensity in this context as the photons being emitted per period of time. This isn't like trying to define the intensity of sound as an intrinsic property, when it really depends on a number of actually intrinsic variables.
*within a given medium, which is external to the light... which means it won't change based on reflected vs LCD.
comment 8y ago · link · parent
comment 8y ago · link · parent
Starting by pointing out that intensity and wavelength are the only intrinsic properties is a great starting place.
You still haven't pointed out any additional properties that have any bearing on how your retina is affected. I was wrong the say that there were no other properties, since we can endlessly discuss the quantum nature of light or how it experiences no flow of time since it travels at the speed of light or all sorts of other properties...
but none of these things change based on the light source. Light is light, except for the intensity and wavelength. Unless we're willing to consider things which could affect reflected light just as much as they could affect emitted light, since they're the same thing. Light.
comment 8y ago · link · parent
Polarization is just related to the orientation of the electromagnetic waves, and it is a property I didn't mention, you're correct. I don't think it really matters here, though. It's kind of like which direction you shine a light, except whether the waves are all oriented the same way or not. I would almost argue that it's an extrinsic property since uniform polarization is almost exclusively the realm of external things like filters, not the light source itself.
Your "etc." is a little vague.
comment 8y ago · link · parent
If a monitor has bad contrast and you turn up the brightness, that's not the fault of the light source. That monitor still won't even come close to the amount of blue light that a blue sky emits, even at maximum brightness.
Personally, I think all monitors made in the last 10 years should be as legible at low brightness as a piece of paper is in an equally poorly lit room.
comment 8y ago · link · parent
comment 8y ago · link · parent
Source? Light is still hitting your retinas, whether it comes from reflection or from a backlight.
I really enjoy E-Ink displays, but not because of perceived health benefits from reflected light. I enjoy how readable they are under sunlight, how they consume zero energy to show a static image, and how this enables them to always show content even if the device has no power.
It's simply not necessary to use unsourced health claims to justify a great technology like E-Ink.
comment 8y ago · link · parent
comment 8y ago · link · parent
Regardless, I have been mostly Firefox for a couple of years, with a little Safari thrown in, and I've been happy.
comment 8y ago · link · parent
It still compiles the code to JavaScript even with the error, and you can still run it, which makes this more of a warning than anything else.
That warning based on type inference seems like a positive feature... because there's no situation in which that code is right. You can add `: any` to the function declaration and it will stop complaining, but I wouldn't contend that the language is not dynamic because it encourages you not to make a mistake.
comment 8y ago · link · parent
function foo(a, b) {
if (a != 3) {
return a + b
} else {
return "hello"
}
}
console.log(foo(2, 5)); //prints 7
console.log(foo(3, 5)); //prints "hello"
You can compile it and run it on the typescript playground: https://www.typescriptlang.org/play/This is not like C#, where would be required to specify that every type is "dynamic". Here, you can optionally choose to specify that the types are "Any", but it's still gradual typing.
EDIT: you said "implicit opt-out"... which sounds like a synonym for "opt-in". I don't think "implicit opt-out" is a term.
comment 8y ago · link · parent
comment 8y ago · link · parent
Personally, I'm a fan of very strong, static type systems, so I would prefer to annotate all the things, but I understand other people have different views.
comment 8y ago · link · parent
EDIT: I see that Heartbeat is mentioned in the article, but I'm also still wondering what else is out there.