HNHacker News
TopNewBestAskShowJobs

trissylegs

373 karma · joined July 17, 2020

submissionscomments
trissylegs··on Ubuntu 21.04
I mean gnome 40 came out weeks ago. Not going to be in Ubuntu for a while. (Ubuntu does tend to lag on the Gnome front, which does give a chance for theme and extension devs to catch up)
trissylegs··on Ubuntu 21.04
Or the binary tar-ball from Mozilla included the auto-update. (I'm using Nightly so that's the best option for that)
trissylegs··on Ubuntu 21.04
There's also the External memory extensions for Vulkan and OpenGL. All the vendors support the Vulkan api. https://vulkan.gpuinfo.org/listdevicescoverage.php?extension...

But not sure about the OpenGL (I think Nvidia do).

These apis let you export a FD for sharing. Pretty sure you can import (scanout compatible) objects into DRI/DRM/KMS. Which is what libgbm does for Mesa drivers.

Although most compositors (including wl_roots based ones) still use libgbm as they might also need to support embedded hardware. (eg: Tizen).

(In the original release of Vulkan intel has a weird "unofficial" extension that let you export a FD. and khr had a VK_cube demo that could directly use KMS with Vulkan using this "extension". This was removed as it was only there to test Vulkan before any window manager integration was implemented)

trissylegs··on Apple Introduces AirTag
The one on my keys is. The one in my wallet isn't. I suppose because there's not standard "Very thin" battery. Button batteries are the limit.
trissylegs··on Facebook does not plan to notify half-billion users affected by data leak
I suppose a well meaning spammer could just SMS everyone pretending to be Facebook.
trissylegs··on SQLite is not a toy database
I think that would win the prize for most ungooglable name. (As Google is not very cases sensitive)
trissylegs··on All my servers have an 8 GB empty file on disk
I suppose if you have deduplication (eg ZFS) you'd have filter out that file or it'll probably get converted to a sparse file.
trissylegs··on Microsoft's list of banned C functions
> The main thing I'm confused about is why you didn't get a linker error.

EFI isn't your usual Freestanding env. Your output is a dynamically linked PE2 (Windows) executable. The linker had spots for memcpy and others to be linked in Dynamically. But they were not. Whatever was there caused a hang in TianoCore UEFI. (Which would eventually reset due to the watchdog timer)

trissylegs··on Microsoft's list of banned C functions
Fun story. I once had a program hang (running on EFI) on a fairly benal line of C code. Turns out Clang injects memcpy into your code even if you don't call it. I hadn't defined memcpy anywhere so it just hung.
trissylegs··on 100Mbps uploads and downloads should be US broadband standard, senators say
Australia has been bee-lining towards faster internet for over a decard. (Which was somewhat sabotaged but changing the "All FTTP" to FTTN leaving most suburbs with substantially worse internet) I just got upgraded to 1000/50... Yes that's 1 Gigabit down and 50 megabits up. This can actually break if your download requires too much Request headers (eg Range requests) it will choke on the upload when downloading at full speed.
trissylegs··on Publisher Nacon Cracked and Pirated Our Game: The Sinking City
Opened an articel on Yahoo news today. That one was a doozy.
trissylegs··on WSL Hello Sudo: Face Recognition of Windows Hello on Windows Subsystem for Linux
I have a IR camera built into my Dell Latitude. It's suprising at how quick it is. The only catch is that I'm usually loocking at my monitor and have to turn to the laptop for it to pick up.
trissylegs··on Apple removes $1k featureless iPhone application (2008)
Just for an example: https://caviar.global/iphone-12/
trissylegs··on How I cut GTA Online loading times by 70%
I once did get to look an optimsing a bad load time... only because at that point it was crashing due to running out of memory. (32-bit process)

In this case it was a JSON, but using .NET so Newtonsoft is at lease efficient. The issues were many cases of: * Converting string to lowercase to compare them as the keys were case insensitive. (I replaced with a StringComparison.OrderinalCaseInsensitve) * Reduntant Dictionary's * Using Dictionary<Key, Key> as a Set. replaced with HashSet.

The data wasn't meant to be that big, but when a big client was migrated it ended up with 200MB of JSON. (If there data was organised differently it would've been split accross many json blobs instead)

It would also be nice to handle it alls as UTF8 like System.Text.Json does. That would half all the strings saving a fair bit. (I mean the JSON blob it starts with is converted to UTF-16 because .NET)

trissylegs··on Chrome 89 Beta: advanced hardware interactions, web sharing on desktop
I suppose someonte could create a HID service. That lets Games download WASM drivers for any device on demand, and new devices could be added without any change to the application. Kinda like how webfonts mean a site no longer needs to rely on fonts being installed on the browser, and Google fonts means CMS providers don't need to provide every webfont. (If the platform allows Google Font's or similar).
trissylegs··on That’s Big Sir to You
I had trouble loading this here's a cache link:

https://webcache.googleusercontent.com/search?q=cache:H8cV_m...

trissylegs··on The unreasonable effectiveness of simple HTML
Yea I use <a> if it's a navigation button for react-router. But it still shows up like a URL because we're using the Browser history (it just updates the URL and renders the new page, each route has a URL and resource id's are in the url). As opening the URL directly should work (if authenticated) it makes sense to use <a> tags.
trissylegs··on The unreasonable effectiveness of simple HTML
> Very few people have the skill to turn a div into an effective button, yet over and over I see web sites with rows of buttons which are in fact just divs with javascript behind them.

Gahhh. I use either an <a> or a <button> and put style on it. Has all the same visual appeal of the equivalent div. But it already is a button.

trissylegs··on GNOME has no thumbnails in the file picker and my toilets are blocked
If you notice the dependcies: https://archlinux.org/packages/extra/x86_64/gimp/

GIMP still runs GTK 2. The version from ~10 years ago.

trissylegs··on Rep. Nunes Calls for Racketeering Investigation into Big Tech Companies
It's not surprising coming from Nunes. He's also failed to Sue Twitter into reveling the identity for the parody twitter account "Devin Nunes' cow" (@DevinCow). Claiming that the Cow is committing some sort of Libel.
trissylegs··on A group of Google workers have announced plans to unionize
Also bring in consultants known for their "Union vulnerability assesments". i.e. Consultants for dissuading employees from unionizing.

https://www.nytimes.com/2019/11/20/technology/Google-union-c...

trissylegs··on ECC matters
When I chose my PC parts when Ryzen first came out I tried to get ECC parts. The RAM was obtainable, the problem was that no motherboards had ECC support at the time. I hope the situation has improved by the time I get my next motherboard/cpu upgrade.
trissylegs··on Visions of Alt-Berlin in “Man in the High Castle” (2017)
Nazi's being literally undermined by their own hubris is a pretty good plot point.
trissylegs··on Twitter says it 'inadvertently' limited engagements on Trump's flagged tweets
Exaclty, I don't know how many times I've heard mention of Trump's Tweets in the news and elsewhere.
trissylegs··on Tasmania declares itself 100 per cent powered by renewable electricity
So it's electricy only. In regards to heating most of Australia is either either using electric space heaters or reverse-cycle air-conditioning. Tasmania is probably the second coldest place in Australia (after the Snowy mountains). Some cursory googling suggest that even there central heating is not common.

(Natural Gas in Australia isn't that cheap anyway, we export nearly all of ours)

trissylegs··on CAPTCHAs don’t prove you’re human – they prove you’re American (2017)
The two I've had trouble with are Traffic Lights and Parking meters.

Some of pictures are the kinda that hang suspended from a cable. We just don't have those in Australia so I tend to miss them.

Not sure I've ever seen a real parking meter. (Just ones in cartoons like the Simpsons). I kept getting mixed up with what was a parking meter and what was too ambiguous to tell. (Like could be intercom or a letter box, they pictures get blurry)

trissylegs··on Only 17% of consumers believe personalized ads are ethical, survey says (2019)
Of course. Facebook is a serious cat & mouse with adblocking. I once tried to look at an ad with the devtools inspector and the ad the disappeared. Somehow FB was detecting the inspector and remove the ad so it couldn't be inspected. (Well I'm sure that could be used against them)

https://old.reddit.com/r/uBlockOrigin/comments/fnkwa4/facebo...

There is new-ish one that might work.

EDIT: No, now it's only the text that identifies it as "Sponsored" the rest of the ad does not disappear.

EDIT2: For an example here is how the word "Sponsored" is represented in the DOM:

  <span aria-labelledby="jsc_c_cm" aria-label="Sponsored" class="j1lvzwm4 stjgntxs ni8dbmo4 q9uorilb gpro0wi8"><span
        aria-label="Sponsored" aria-labelledby="jsc_c_cn"></span><span
        class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4">S<span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4"
            style="position: absolute; top: 3em;">n</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4"
            style="position: absolute; top: 3em;">t</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4"
            style="position: absolute; top: 3em;">S</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4"
            style="position: absolute; top: 3em;">n</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4"
            style="position: absolute; top: 3em;">p</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4">p</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4">o</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4">n</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4"
            style="position: absolute; top: 3em;">i</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4">s</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4"
            style="position: absolute; top: 3em;">i</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4">o</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4"
            style="position: absolute; top: 3em;">S</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4">r</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4"
            style="position: absolute; top: 3em;">o</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4"
            style="position: absolute; top: 3em;">e</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4"
            style="position: absolute; top: 3em;">l</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4"
            style="position: absolute; top: 3em;">o</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4">e</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4"
            style="position: absolute; top: 3em;">c</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4"
            style="position: absolute; top: 3em;">n</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4"
            style="position: absolute; top: 3em;">s</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4"
            style="position: absolute; top: 3em;">c</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4"
            style="position: absolute; top: 3em;">s</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4"
            style="position: absolute; top: 3em;">o</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4"
            style="position: absolute; top: 3em;">r</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4"
            style="position: absolute; top: 3em;">e</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4">d</span><span
            class="b6zbclly myohyog2 l9j0dhe7 aenfhxwr l94mrbxd ihxqhq3m nc684nl6 t5a262vz sdhka5h4"
            style="position: absolute; top: 3em;">d</span></span></span>
trissylegs··on Only 17% of consumers believe personalized ads are ethical, survey says (2019)
I am. But still get them running Facebook from Firefox with Ublock installed. I also get facebook ads on Firefox and Edge on Desktop. As an aside I switched to the mobile app recently considering the Ad Block on firefox wasn't working.
trissylegs··on Only 17% of consumers believe personalized ads are ethical, survey says (2019)
Most the ads I get on Facebook are for dumb looking mobile games. Looking at "Why are you seeing this ad" it's basically "Is this person female and aged 25-35"

It's annoying because: The ads are extremely disctracting: I can't help but notice them. They look like they for the same game the last 500 ads were for with a reskin. And I haven't played a mobile game since 2012 and facebook is supposed to be able to track all of this right?

The other ads are for womans clothes or shoes which is reasonably accurate. But you need almost zero tracking to determine that I might be receptive to online clothes store. (I'm not, I buy clothes in persons because sizing is hard)

I also once got ads from Jordan Pertsons thing... WOW HOW WRONG CAN IT GET

trissylegs··on Cory Doctorow is fighting back against Amazon's Audible
> For traditional e-books, Amazon lets publishers offering titles on Kindle decide whether or not to include DRM.
← PreviousPage 5 of 6Next →