Preferences

kroltan
Joined 1,940 karma
Game developer passionate about user-generated-content games. (think Mario Maker, not NFTs!)

https://kroltan.me/

"<the initialism of the orange company> at <an email provider that only I would use>", thanks for not offering products or services, and not storing this information in mass systems.


  1. 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 running on the home network.

  2. 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 every dark pattern in the book. (With such hits as "the No button is hidden under a link-button called Learn More and only appears if you choose an advanced installation")

    Once you're using it for >month, it's easy to see the BS as just an occasional inconvenience because saying yes is so much easier.

  3. 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 it does not affect the company at large, but that literally does not matter for this discussion. It will definitely affect your relationship, most often negatively.

    And in any case, my usage of assets was clearly general, substitute the example for "clicking on the wrong stored tab while screensharing" can just as well lead you to leaking a plan.

  4. 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 and ::after;

    - CSS can set textual content for pseudo-elements;

    So, it sets content to a pseudo element of an implicitly created tag, that's why the page is so minimal.

    (Well, it could be up to 4 times as complicated I think, by using the other 3 pseudo-elements. Or cheat by using a big SVG as a background-image with more complex contents, but then you start running into header size limits and whatnot)

  5. - 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);

    - Shredder policy, done with the work = destroy hardware (though I don't think companies with shredder policy would incentivise personal laptops, you never know)

  6. 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 properties:

        [field: SerializeField]
        public int MyProperty { get; private set; }
  7. 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 consider points in isolation but otherwise I don't see a problem with long lines if you have for example some very long silly OOP getter chain which is essentially one expression as for tons of nested blocks the general argument is it's a hint that your single unit of base indentation is doing too much and there is possibly something to be done about it though like everything it is usually taken to a unhelpful extreme.
  8. 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 if they know your domain works like that. I don't think this has reached spammers' repertoire yet, but I wouldn't be surprised.

    Eventually I'd like to have a way of generating random email addresses that accept mail on demand, and put everything else in quaraintine automatically.

  9. 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. 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, but just turning it on for the panels is usually possible.

  11. That's exactly the advantage of sneakernet shopping, you can ask to see the product in operation.
  12. 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, or reopen a window, it takes a while until the browser gets to continue loading the thing you asked.

    I think by default it comes as enabled in Firefox, go to the "uBlock settings > Filter Lists > Suspend network activity until all filter lists are loaded", though of course it is a tradeoff.

    From the Wiki: https://github.com/gorhill/uBlock/wiki/Dashboard:-Filter-lis...

    > In Firefox-based browsers, this setting is enabled by default. Disabling it gives the option to potentially speed up page load at browser launch, at the cost of possibly not properly filtering network requests as per filter lists or rules.

    > In Chromium-based browsers, this setting is disabled by default, since Chromium-based browsers do not support natively suspending network requests.2 Enabling this setting in Chromium-based browsers may lead to negative side-effects at browser launch.

  13. 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. 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" storage.

  15. 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 presented is not part of the website, but a screenshot, so people don't trying to mess with it like it's an interactive widget.

    Second, it showcases a general feature without inviting scrutinising the details of the UI, which a general product page isn't the best place to do so anyways.

    ---

    (Personally I do love a good software Screenshots page, but that can be a separate thing IMO)

  16. 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 with it! But if you wanted to do a ball painting effect like that outside this "what if" context, it would be technically irresponsible to do it with box-shadows.

  17. What does MCAD stand for? Is it a different version from regular SolveSpace, or are you just describing what it is?
  18. 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 that with a wider bit depth (not just 1 bit "yes/no", but multiple bits forming a color/opacity), since we do have more than 1 bit per pixel that can be used already.

    I'll give it to you that this is "anti aliasing", not "not having aliasing in the first place", but the Fourier argument above is the reason why in computer graphics we practically always have to "settle for" AA instead.

This user hasn’t submitted anything.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal