Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ygra
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
451.
▲
by
ygra
5y ago
You can add your own shapes.
452.
▲
by
ygra
5y ago
He demonstrates a lot of lower-skill attacks in various videos, showing pretty convincingly that against a lot of locks (even some more expensive ones where the manufacturer cut corners) they are effective and much quicker than single-pin p
453.
▲
by
ygra
5y ago
... that are in kindergarten / school. But yes, the lockdown a year ago was interesting in that I wasn't sick once. But when everyone is at home and you can't see anyone, there's no one to get sick from either.
454.
▲
by
ygra
6y ago
Visual Studio's UI is written in WPF and there's native support for pixel-pitting vector graphics, exactly for the purpose of icons and other things that, while vector, must be aligned to device pixels. I think I remember seeing t
455.
▲
by
ygra
6y ago
I see what you mean about the check, info, and cross icons (which should be. But overall I have to say it is an improvement. The new icons are much more clearly designed around a dominant color and shape, which, incidentally, is what makes
456.
▲
by
ygra
6y ago
Old old Windows Forms had its own text rendering (and still has), but most controls now have a second code path that uses the system's text renderer, which got updated with better shaping, more scripts, etc., while GDI+ basically nev
457.
▲
by
ygra
6y ago
As described in Kyle Hill's video about the incident, the proton beam crosses through air in a room to reach various instruments and that's where it was accessible to a curious head poking in.
458.
▲
by
ygra
6y ago
Fun fact: Microwaves are also used on a larger scale to generate plasma, e.g. in the experimental fusion reactor Wendelstein 7-X (and I believe they've worked on that with the people from ITER as well). It's just that they use 1 M
459.
▲
by
ygra
6y ago
Tuple is not a value type. And this means that they won't add an implicit conversion, because right now a major focus of .NET and C# is also performance. and this conversion would mean an implicit heap allocation. They'd rather av
460.
▲
by
ygra
6y ago
That's been the case for display resolutions for a while as well ... although most of them can probably be parsed by the regex [UWXVQ]+GA.
461.
▲
by
ygra
6y ago
I guess Swift just adopted a similar thing to -ffast-math which some C compilers offer where guarantees about precision of floating-point operations are thrown away to get a similar result faster. Incidentally, that could deserve a better n
462.
▲
by
ygra
6y ago
Isn't something like Halon used in data centers for that reason? That can probably be tested without damaging infrastructure.
463.
▲
by
ygra
6y ago
Whether it's actually _designed_ with those languages in mind is a different question. VBA (in)famously was also translated for non-English versions of Office, but that only involved replacing the keywords by translated ones in the oth
464.
▲
by
ygra
6y ago
Doing it across the whole compilation requires LTCG, but that does exist as well. It just makes incremental builds a pain with large binaries.
465.
▲
by
ygra
6y ago
I remember getting accurate values from the scroll wheel being the worst in Firefox and basically impossible. You could only get the scroll direction, but not the correct extent (bascially everything just looked like one detent). So you eit
466.
▲
by
ygra
6y ago
Yes, in that sense it's more like CSS sprites, just a bit easier to use.
467.
▲
by
ygra
6y ago
You can reference elements from an external file just as well: <use xlink:href='icons.svg#foo'/> Theoretically the browser should only download that file once, just as with multiple img elements referencing the s
468.
▲
by
ygra
6y ago
Interesting. So no one else is allowed to deliver letters, for example? Here in Germany for example there's one or a few courier services in pretty much most larger cities that deliver "local" mail, often by bike, and usually
469.
▲
by
ygra
6y ago
There seem to have been a few options that are disabled by default and emit additional errors, that slowly get turned on by default in later versions. Perhaps this is one of them.
470.
▲
by
ygra
6y ago
> and then two days writing them in Scala.js But Scala is, according to that list, just as undecidable and unsound as TypeScript. Are the places where you can't trust your types just more esoteric there?
471.
▲
by
ygra
6y ago
Well, technically the Desktop and its icons belong to Explorer, which has to be running. So not too silly. That being said, I'm not sure how many people actually know that the task bar, desktop and improved Alt+Tab experience with prev
472.
▲
by
ygra
6y ago
From that very article: “However, since plug doors must open inward, the design is disadvantageous for cargo doors. Due to its large area, the cargo door on an airliner cannot be swung inside the fuselage without taking up a considerable am
473.
▲
by
ygra
6y ago
Always look at the source. Some of them are very representative of high-performance C#, but others cheat a little. E.g. regex-redux just calls out to PCRE, although .NET 5's Regex would easily be competitive with Java as well.
474.
▲
by
ygra
6y ago
It is on YouTube. But there's a _lot_ of Easter eggs in the Strong Bad Emails that rely on interactivity which are lost in the video.
475.
▲
by
ygra
6y ago
> the exceedingly strange console that was in Windows 95 That only ever tried to be a terminal emulator when ansi.sys had been loaded. But it's been gone for quite a while now. The Windows console host on the other hand only gained
476.
▲
by
ygra
6y ago
In the limited TypeScript I've done (only a few months so far), every single time I thought "oh well, let's leave this at any for now" or "ah, crap, ts-ignore until I can think of a better way" or even "le
477.
▲
by
ygra
6y ago
Oh, it has happened. https://en.m.wikipedia.org/wiki/Intelsat_708 Things are a lot easier to make safe when launching towards water, but some countries don't have that luxury.
478.
▲
by
ygra
6y ago
Just the client area, I guess.
479.
▲
by
ygra
6y ago
I think for me it was not so much a concrete report, but rather the usual "this file is not commonly downloaded, please don't run it". This is bound to happen with every single version you release, unless you sign them, in wh
480.
▲
by
ygra
6y ago
Many recent improvements in .NET performance are enabled by reducing or removing allocations in hot paths, so the GC has to do less work¹. The point was mostly that the .NET GC can get away with not being as advanced since it commonly has t
More ›