Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kroltan
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
kroltan
1y ago
The internet doesn't need to be the cloud. Security cameras are the classic example of widespread self hosted but internet-accessible. Even the ones that have proprietary apps are often just alternative frontends to a web server runnin
2.
▲
by
kroltan
2y ago
If the time comes to discuss operating systems, I always suggest an exercise of downloading a Windows 11 Home ISO and installing it into a virtual machine, look at how much of it is installing an OS versus upselling into services using ever
3.
▲
by
kroltan
2y ago
You would assume wrong, many (asshat) employers require them, so much that I actually have to screen that kind of sillyness when interviewing. Works a treat to filter out toxic workplaces, but exists nontheless. As for leaking assets, maybe
4.
▲
by
kroltan
2y ago
And to spell it out: - Stylesheet encoded as base64 in the Link header; - Browsers always implicitly have at least the html and body tags; - CSS cannot create new elements, but it does get 2 free pseudo-elements per actual element, ::before
5.
▲
by
kroltan
2y ago
- Endpoint monitoring software may compromise more than it strictly needs to; - If you're a contractor, risk of leaking other clients' assets (running `tree` in the wrong folder while screensharing or more subtle variations); - Sh
6.
▲
by
kroltan
2y ago
The `field` keyword also already existed in C#, to add attributes to the backing field of automatic properties, so I think the argument was easier there. I used it in Unity projects to have serialized/inspectable values exposed through
7.
▲
by
kroltan
2y ago
I think the issue with a very long line is akin to writing without punctuation because code is usually much more information dense than prose it becomes hard to follow what it is supposed to mean than if there were pauses for you to conside
8.
▲
by
kroltan
2y ago
Yeah, I've had to explain that a couple times already, usually when dealing with customer support or in-person registrations. And a "malicious" actor can get away with pretending to be another company by spoofing the username
9.
▲
by
kroltan
2y ago
Not just CSS, it's used to set parameters but looks like the actual rendering is done in a <canvas> element controlled by JS.
10.
▲
by
kroltan
2y ago
Yeah I don't think I ever saw one either, but at least over here you can bring it over to a counter, or request an employee to turn it on and test. Obviously not viable for evaluating continued operation for something like a fridge, bu
11.
▲
by
kroltan
2y ago
That's exactly the advantage of sneakernet shopping, you can ask to see the product in operation.
12.
▲
by
kroltan
2y ago
Did you happen to have used uBlock Origin during your stay? It's the most common source of browser-load latency, as it by default blocks the main page request until it is able to load its blocklists, so when you open the browser afresh
13.
▲
by
kroltan
2y ago
For e-mail addresses as an authentication tool, you don't really need to be able to send emails at all, just receive them, and I think that is pretty feasible to not run afoul of the usual shenanigans.
14.
▲
by
kroltan
2y ago
Go for it! https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_A... https://developer.mozilla.org/en-US/docs/Web/API/Vibration_A... https://develope
15.
▲
by
kroltan
2y ago
My favourite feature of this video is that he uses the "Network Block Device Kit" to make a kit of 3 drives, each using one of those words as the main point: "Network" storage, "Block" storage, and "Device
16.
▲
by
kroltan
2y ago
It is a popular design convention, there are even generators to convert regular screenshots into this angled and depth-of-field style. There are 2 important properties this convention has: First, it makes it obvious that the UI being presen
17.
▲
by
kroltan
2y ago
Canvas would still be faster even if you used a full-screen box. Just the string concatenation overhead of doing this with box-shadows is insanely wasteful. Which isn't to demerit the hackish creativity of taking one thing and running
18.
▲
by
kroltan
2y ago
What does MCAD stand for? Is it a different version from regular SolveSpace, or are you just describing what it is?
19.
▲
by
kroltan
2y ago
How do we add more colours (besides just picking a random colour, which wouldn't be helpful)? By sampling the signal more often ("multi-sample anti aliasing"), also known as increasing the resampling rate, then representing t
20.
▲
by
kroltan
2y ago
These are the same thing. A shape with a solid boundary is a a signal with a discontinuous step: If you Fourier it, it has infinite nonzero terms, therefore you can't represent it exactly with any finite amount of frequencies, and ther
21.
▲
by
kroltan
2y ago
Sure it is, it's the first thing to be said just after the title and widgets > This article is about aliasing in signal processing, including computer graphics. In computer graphics, the relevant aliasing is spatial aliasing, in fac
22.
▲
by
kroltan
2y ago
I don't think "unresolved variable" is listed as an actual error in plain JS in WebStorm? At least by default. In any case, like any inspection, you can adjust its severity to whatever you find appropriate, including "do
23.
▲
by
kroltan
2y ago
Not really at all, the type checker understands it is a field reference (it's just an alternative syntax after all, it is absolutely 0% difference in behaviour. However, it's a common typed-javascript idiom to use string-indexing
24.
▲
by
kroltan
3y ago
Can reproduce. Almost like it's intentional...
25.
▲
by
kroltan
3y ago
For (the vast majority of) games the player can be looking at anything on screen, not just a specific point. In real life, eyes track objects in order to minimise blur. But realtime motion-blur implementations just blur everything that move
26.
▲
by
kroltan
3y ago
"Full stack, and fuller stack" https://youtu.be/AScCVzENcjs?t=568
27.
▲
by
kroltan
3y ago
Ok, thanks, then I'm not missing something obvious, heh. You make a good point of caching the XSLT file itself though, I hadn't considered that. Simple server outputs XML data, browser renders into a page.
28.
▲
by
kroltan
3y ago
I just recently moved my personal homepage to XML + XSLT. Not a pro at it at all though. I did enjoy the process, I like the idea of building the website out of data + templates, but that's not unique to XSLT. Besides some papercuts &#
29.
▲
by
kroltan
3y ago
I'm assuming because of erasure? In C#, List<T> and List<U> follows the same assignment rules as T and U, and at runtime are represented by distinct types. That means that going from List<T> to object to List<U>
30.
▲
by
kroltan
3y ago
Heh, I made my own window borders (yay for customizability!), which are slightly chonky but still half of GNOME's. https://i.imgur.com/XcZvanv.png (Burnt yellow is my current system accent color, the borders adapt to t
More ›