Posts by alva@beach.city
 (DIR) Post #9qp8pOMHXVTLf1pEVk by alva@beach.city
       2020-01-09T11:38:03Z
       
       1 likes, 0 repeats
       
       @em How is anyone supposed to know about such US-specific things? I lived there for a while and only after I left, I learned that I'm supposed to tip hotel staff by leaving money in the room. I always put up the "don't disturb" sign because it seemed ridiculous to have someone clean the room every day, and I thought I was being nice and making less work for them, but I was being a jerk who doesn't tip.
       
 (DIR) Post #9qpERs5JxtoQdA3ljs by alva@beach.city
       2020-01-09T12:01:10Z
       
       1 likes, 0 repeats
       
       JS UI frameworks has such deceptive marketing.With our Virtual DOM, changes to the UI are diffed, and only the diff is applied to the real DOM, which is much cheaper than updating the entire thing!Ok, but how does it compare to updating only the things that changed, without a vDOM or diffing? Who updates the entire DOM when an unread counter changes? How could it possibly be faster to do more things?
       
 (DIR) Post #9qpEl3JyPf12yv3l9U by alva@beach.city
       2020-01-09T12:55:49Z
       
       0 likes, 0 repeats
       
       @ivesen Yeah. And like I said in a reply, a queue + requestAnimationFrame would be a "lightweight" way to accomplish that, without vDOM and diffing.
       
 (DIR) Post #9qpRhGymzLWHaVg9Uu by alva@beach.city
       2020-01-09T15:19:42Z
       
       0 likes, 0 repeats
       
       @xj9 having written some native GUI programs, as well as vanilla JS ones, I'm not sure exactly what this complexity is that these frameworks seek to eliminate.To me they only add more complexity. I'd be more interested in a wasm DOM API, so that more efficient languages can access it without making expensive JS calls which then make expensive native calls.
       
 (DIR) Post #9qpUeglAyrfqXQlr6m by alva@beach.city
       2020-01-09T15:46:45Z
       
       1 likes, 0 repeats
       
       @hj @xj9 last time I had to do anything on the web was when I worked at Spotify and we needed to make an "app" for FB Messenger, and they had to be made as websites, and we were a small team so I got to do most of it. I used plain ES6 and compiled it to oldJS with Babel (IIRC.) Not fancy or hip but it worked like a charm and was fast and lightweight.
       
 (DIR) Post #9qq4UBnxacjFYHag9w by alva@beach.city
       2020-01-09T18:23:29Z
       
       1 likes, 0 repeats
       
       @velartrill @em @rabcyr I had no idea. Maybe every resident should get a "Welcome to the USA" pamphlet which would contain such information. I never encountered tipping (or panhandling for that matter) before I moved away from my birthplace.
       
 (DIR) Post #9qyMN7l1alQ9Pag4n2 by alva@beach.city
       2020-01-13T15:36:02Z
       
       1 likes, 0 repeats
       
       I've also been wondering how it's legal for Google to mine email (and make shadow profiles and whatnot) coming from non-Google accounts, from people who have not agreed to their terms.
       
 (DIR) Post #9r6Ognl1qUakkhEbA0 by alva@beach.city
       2020-01-17T19:30:33Z
       
       0 likes, 1 repeats
       
       Eating the rich is vegan
       
 (DIR) Post #9r6P844dI4RRAtP7Lc by alva@beach.city
       2020-01-17T19:43:33Z
       
       1 likes, 0 repeats
       
       @tuxcrafting I was thinking that it would reduce unnecessary suffering and would be good for the environment.
       
 (DIR) Post #9rA5u9lCELIuGBo6Jk by alva@beach.city
       2020-01-19T12:51:52Z
       
       1 likes, 0 repeats
       
       @estoricru I'm making a Mastodon client using GTK and Zig. Even with GTK being somewhat heavyweight, and me being new to it, it uses an order of magnitude less RAM than the web app. Yet corporations with many professional programmers working for them cannot do this, for some reason.
       
 (DIR) Post #9rCm7IsIEsTCgRzw4O by alva@beach.city
       2020-01-20T21:27:56Z
       
       1 likes, 0 repeats
       
       @IceWolf @Feuerfuchs here is some additional info https://libreboot.org/faq.html#amd-platform-security-processor-psp
       
 (DIR) Post #9rEXpb86cOpp2uyeBM by alva@beach.city
       2020-01-21T11:13:13Z
       
       0 likes, 0 repeats
       
       @polychrome I use that phone and the OS is not good. It's so slow and unresponsive. Who thought web tech and low-end phones were a good fit?
       
 (DIR) Post #9rdeo2QLHEzeACYUN6 by alva@beach.city
       2020-02-02T20:39:34Z
       
       1 likes, 0 repeats
       
       @maxine this is working pretty well for me. I'm working on a native Mastodon desktop client, and my only goal is to work a little bit on it whenever I have the time. I've gotten further on it than I have with any software project in a long time. Of course I hope that it will be "finished" some time so I can release it to people, but that would merely be a happy side-effect.
       
 (DIR) Post #9rjGPSBsQSQuYLmYrI by alva@beach.city
       2020-02-05T13:39:25Z
       
       1 likes, 0 repeats
       
       @laggard Heterochromia, but not the cool variety
       
 (DIR) Post #9rlIGLRKkAoTEaiSoK by alva@beach.city
       2020-02-06T13:06:43Z
       
       1 likes, 0 repeats
       
       @isi I think what you're talking about is "value semantics" in the first example, and "reference semantics" in the second. So any language that has values and references should be able to do that. Example in C:// Valueint a = 42;int b = a;a = 43;assert(b == 42); // unchanged// Reference (pointer)int a = 42;int *b = &a;a = 43;assert(*b == 43); // merely refers to `a`(Untested, but I think it's correct)
       
 (DIR) Post #9rlIOenodbnhbSCBqy by alva@beach.city
       2020-02-06T13:11:10Z
       
       1 likes, 0 repeats
       
       @isi Rust would be a more modern alternative that can do this in a safer way
       
 (DIR) Post #9rrbaadV1Bv2EYX7lg by alva@beach.city
       2020-02-09T14:14:13Z
       
       1 likes, 0 repeats
       
       @ilja Other than them being a garbage company, one needs GH-specific tools (install/learn "hub," or click around on their website) to even use it, which is a bit of a pain.
       
 (DIR) Post #9sGCRd10J4lmEUjpfE by alva@beach.city
       2020-02-21T10:56:34Z
       
       3 likes, 2 repeats
       
       "It is impossible to have a private conversation on Discord, as there'll always be an unencrypted log of it stored by Discord, [who can] provide [it] to any third party they wish, including cops or government snoops, for any reason, even without a legal order, without any obligation to tell you that they have done so."From "Discord is not an acceptable choice for free software projects," but I don't think the concerns are specific to free software projects.https://sneak.berlin/20200220/discord-is-not-an-acceptable-choice-for-free-software-projects/
       
 (DIR) Post #9sGMxw4E0Srw86Hy52 by alva@beach.city
       2020-02-21T12:37:58Z
       
       2 likes, 0 repeats
       
       @LunaDragofelis I don't think that will kill it, but either way, alternatives would be good. They're already good enough for me, but I've heard others say they find them confusing or lacking somehow.
       
 (DIR) Post #9sIHymjW5JGK126lhA by alva@beach.city
       2020-02-22T10:36:24Z
       
       1 likes, 0 repeats
       
       @clacke Det vet jag ingenting om, men så verkar det inte vara i Berlin. De står och pruttar i 10+ minuter. Vissa använder tomgång för att värma upp bilen.