@AlmightySnoo@lemmy.world

AlmightySnoo

@[email protected]

Yoko, Shinobu ni, eto… 🤔

This profile is from a federated server and may be incomplete. Browse more on the original instance.

AlmightySnoo,

I think it has to do with the fact that some investors, payment providers and banks refuse to associate with anything that could be seen as sex work. That was why even OnlyFans was about to ban sexually explicit content 2 years ago.

AlmightySnoo, (edited )

Double and triple buffering are techniques in GPU rendering (also used in computing, up to double buffering only though as triple buffering is pointless when headless).

Without them, if you want to do some number crunching on your GPU and have your data on the host (“CPU”) memory, then you’d basically transfer a chunk of that data from the host to a buffer on the device (GPU) memory and then run your GPU algorithm on it. There’s one big issue here: during the memory transfer, your GPU is idle because you’re waiting for the copy to finish, so you’re wasting precious GPU compute.

So GPU programmers came up with a trick to try to reduce or even hide that latency: double buffering. As the name suggests, the idea is to have not just one but two buffers of the same size allocated on your GPU. Let’s call them buffer_0 and buffer_1. The idea is that if your algorithm is iterative, and you have a bunch of chunks on your host memory on which you want to apply that same GPU code, then you could for example at the first iteration take a chunk from host memory and send it to buffer_0, then run your GPU code asynchronously on that buffer. While it’s running, your CPU has the control back and it can do something else. Here you prepare immediately for the next iteration, you pick another chunk and send it asynchronously to buffer_1. When the previous asynchronous kernel run is finished, you rerun the same kernel but this time on buffer_1, again asynchronously. Then you copy, asynchronously again, another chunk from the host to buffer_0 this time and you keep swapping the buffers like this for the rest of your loop.

Now some GPU programmers don’t want to just compute stuff, they also might want to render stuff on the screen. So what happens when they try to copy from one of those buffers to the screen? It depends, if they copy in a synchronous way, we get the initial latency problem back. If they copy asynchronously, the host->GPU copy and/or the GPU kernel will keep overwriting buffers before they finish rendering on the screen, which will cause tearing.

So those programmers pushed the double buffering idea a bit further: just add an additional buffer to hide the latency from sending stuff to the screen, and that gives us triple buffering. You can guess how this one will work because it’s exactly the same principle.

AlmightySnoo, (edited )

Biased opinion here as I haven’t used GNOME since they made the switch to version 3 and I dislike it a lot: the animations are so slow that they demand a good GPU with high vRAM speed to hide that and thus they need to borrow techniques from game/GPU programming to make GNOME more fluid for users with less beefy cards.

AlmightySnoo,

but some of these processes involve going through Excel files which can take these bots 10s of minutes, which can be done instantly in any scripting language

The key is being proactive. Have you tried suggesting that to them? Do a small POC with say a Python script and show them the difference on one of the Excel files, they’re likely to like your alternative. They’re likely to have poor data warehousing too and it could be an opportunity for you to shine and at the same time get to learn to do that for them from scratch.

AlmightySnoo,

If he’s a contractor it’s unlikely he’ll stay there for too long. I’d bring up the improvements and potential gains (faster processing, ideally no more UiPath license costs) directly with your boss. If they’re still not open to that then yeah I’d look elsewhere, because even as an IT automation job it just screams laziness.

AlmightySnoo,

“these bots”: Yeah, you are being an asshole

I’m pretty sure he didn’t mean his colleagues and is rather talking about the UiPath bots, it’s an IT automation tool… 🤖

AlmightySnoo,

“With the new Desktop Cube, you can switch between workspaces in 3D. Your app windows float off the desktop surface with a parallax effect, so you can see behind them,” said the Zorin OS team. “There’s also the new Spatial Window Switcher, which replaces the standard flat Alt+Tab and Super+Tab dialog with a 3D window switcher.”

Compiz Fusion is an idea and ideas never die

AlmightySnoo,

Cats would have already pushed everyone off the edge if the earth was really flat

AlmightySnoo,

funny double meaning to Blaze’s comment depending on whether you read it as Social Justice Warrior or Shit Just Works (the instance)

AlmightySnoo, (edited )

I was learning C/C++ back then and although the nostalgia is strong with this one, Turbo C++ was obviously shit (and Borland quickly killed it later anyway), and while looking around for alternatives I found DJGPP which introduced me to the GNU toolchain and so the jump to Linux to have all of that natively instead of running on DOS was very natural. My very first distro was Redhat Linux 6.2 that I got as a free CD along with a magazine (also got a Corel Linux CD the same way that I was excited about given how their WordPerfect was all the rage back then but I was never able to install it, I don’t remember what the issue was) and it looked like this (screenshot from everythinglinux.org/redhat62/index.html ):

https://lemmy.world/pictrs/image/86bb0713-0178-4445-9b68-99dd9370115f.png

AlmightySnoo,

Ubuntu used to ship free CDs too: https://commons.wikimedia.org/wiki/File:Ubuntu_10.04_CDs.jpg

They stopped doing that in 2011.

AlmightySnoo,

wakarimashita 😔

AlmightySnoo, (edited )

For that one no, but another (same person?) parody account does at least report real bugs: github.com/mpaland/printf/issues/15

Another fix by Miku-chan (again not in the form of a pull request): github.com/lichess-org/lila/issues/5193

Also: github.com/EasyRPG/Player/pull/3105 and github.com/EasyRPG/Player/pull/3107

AlmightySnoo,

Copied from miku-chan03?

it’s actually the opposite, MikuChan03 was created one month after this: github.com/Xerasin/GCinemaCraftDownloader/…/1

AlmightySnoo,

Hollow Knight if you’ve never played it, it’s 50% off right now.

AlmightySnoo,

wait until you learn about sigma-algebras in measure theory

AlmightySnoo,

neither an understatement nor an overstatement, a Big-Theta

AlmightySnoo,

correct, but will come up if OP chooses to study measure theoretical probability theory

AlmightySnoo,

laughing in #if 0:


<span style="color:#323232;">#include 
</span><span style="color:#323232;">
</span><span style="color:#323232;">int main()
</span><span style="color:#323232;">{
</span><span style="color:#323232;">#if 0
</span><span style="color:#323232;">        std::cout &lt;&lt; "Look at this" &lt;&lt; std::endl;
</span><span style="color:#323232;">#else
</span><span style="color:#323232;">        std::cout &lt;&lt; "ugly abomination." &lt;&lt; std::endl;
</span><span style="color:#323232;">#endif
</span><span style="color:#323232;">}
</span>
AlmightySnoo,

beat me to it too, it’s a meme of course but the advantage compared to comments is thay you get syntax highlighting 😁

AlmightySnoo,

A simple if (false) will get optimized out by any modern C or C++ compiler with optimizations on, but the problem is that the compiler will still parse and spend time on what’s inside the if-block and it has to be legal code, whereas with the #if 0 trick the whole thing gets yeeted away by the preprocessor before even the compiler gets to look at it regardless of whether that block contains errors or not, it’s literally just a string manipulation.

AlmightySnoo,

Yeah, but I still think if (false) is silly because it adds an artificial constraint which is to make sure the disabled parts always compile even when you’re not using them. The equivalent of that would be having to check that all the revisions of a single source file compile against your current codebase.

AlmightySnoo,

The French used to count in base 20 (so that means both hands and both feet), which is why they read 97 as quatre-vingt-dix-sept, ie 4*20+10+7.

AlmightySnoo,

OP’s post is so cute, it reminds me of Lemmy 5 months ago when the Reddit exodus happened 🥹

AlmightySnoo,

In addition to all the responses here, one thing you could also do when you have a question about a distro is to just fire up a VM using for example VirtualBox and try the distro to see for yourself. Or even better, make a live USB and boot from it.

How do you work full-time and stay awake all shift?

A few questions to people who have struggled long-term with fatigue, exhaustion, insomnia, etc.: what do you do to keep awake for a full-time workday? Black coffee, supplements, herbs, drugs/prescriptions, other? None, and it required a lifecycle habit change? Have you had success with “desk” jobs sitting all day, or had to...

AlmightySnoo,

Have you had success with “desk” jobs sitting all day

The trick is to not sit all day at your desk. Go for a coffee break and have a short walk outside every now and then. You can also use the Pomodoro technique to break down your work day into small chunks with frequent small breaks: en.wikipedia.org/wiki/Pomodoro_Technique

TIL that there's a FOSS Tomb Raider engine that can run on a web browser (lemmy.world)

The name is OpenLara (github.com/XProger/OpenLara ) and you can try out the WebGL build directly on your web browser on: xproger.info/projects/OpenLara/ . The web version works amazingly well on my Pixel 7a with touch controls (you have to click on the “go fullscreen” button) using Firefox as a browser.

AlmightySnoo, (edited )

The web version I find it cool from a technological perspective and while I agree with you on the slowness of Javascript apps vs native apps in general, WebAssembly is a completely different beast and you can have very good performance with it while benefiting from all the portability advantages, it’s basically what Java tried to become with applets back then. It’s cool because you can also have stuff like a whole Jupyter Notebook run locally in your browser without installing anything, which can be useful when you have to teach Python and you don’t want to deal with students not installing their stuff before the class begins: github.com/jupyterlite/jupyterlite .

FYI, the OpenLara GitHub repo I linked to also has native builds. In particular, it hilariously has a Gameboy Advance build: www.youtube.com/watch?v=_GVSLcqGP7g

AlmightySnoo, (edited )

Half-Life 2 is also at $1 right now, their deal ends in 2 days

EDIT: just tried it on my Thinkpad T480 running Arch Linux and it runs flawlessly at max settings, it’s freaking beautiful

AlmightySnoo, (edited )

I’d say since you’re a beginner, it’s much better to try to implement your regression functions and any necessary helper functions (train/test split etc…) yourself in the beginning. Learn the necessary linear algebra and quadratic programming and try to implement linear regression, logistic regression and SVMs using only numpy and cvxpy.

Once you get the hang of it, you can jump straight into sklearn and be confident that you understand sort of what those “blackboxes” really do and that will also help you a lot with troubleshooting.

For neural networks and deep learning, pytorch is imposing itself as an industry standard right now. Look up “adjoint automatic differentiation” (“backpropagation” doesn’t do it any justice as pytorch instead implements a very general dynamic AAD) and you’ll understand the “magic” behind the gradients that pytorch gives you. Karpathy’s YouTube tutorials are really good to get an intro to AAD/autodiff in the context of deep learning.

AlmightySnoo,

Linear and logistic regression are much easier (and less error prone) to implement from scratch than neural network training with backpropagation.

That way you can still follow the progression I suggested: implement those regressions by hand using numpy -> compare against (and appreciate) sklearn -> implement SVMs by hand using cvxpy -> appreciate sklearn again.

If you get the hang of “classical” ML, then deep learning becomes easy as it’s still machine learning, just with more complicated models and no closed-form solutions.

Switching to Android: good resources for learning?

I’m planning to get a Pixel 8 this month after using only iPhones since my first iPhone in ~2010. I used to be a big Apple fan, so I have a good understanding of iOS, good iOS apps, etc, from years of Apple blogs, podcasts, etc. I have nowhere near the same level of understanding of Android. For instance, I was just watching a...

AlmightySnoo,

For power user stuff, I’d say xda-developers.com is really good. For instance since you mentioned adb, they have this guide: xda-developers.com/install-adb-windows-macos-linu… (and other adb guides they link to at the end).

For news and rumors you have a bunch of Android blogs but I think you could just take a look at this community here from time to time as news that’s interesting usually gets shared, while the noise mostly doesn’t.

And I guess just keep using the OS and ask questions here as soon as they pop up in your mind, there’s fundamentally nothing really complicated about Android especially as Google was recently trying to get iOS users into Android.

Also, since you’re planning to get a Pixel, might as well take a look at !googlepixel too 👀 (disclaimer: I’m one of its mods).

AlmightySnoo,

The “a” models have been the smallest in a given Pixel lineup since the Pixel 6 series, so I’m wondering how small they can get with the Pixel 8a if they want to continue this trend given that the Pixel 8 (150.5 x 70.8 x 8.9 mm³) is already smaller than the Pixel 7a (152 x 72.9 x 9 mm³).

AlmightySnoo,

For questions you may have the !linux community is very welcoming. In theory there are also !linux4noobs and !linux4noobs which should be more targeted at new users but they seem to be quite inactive lately (won’t hurt anyone here to go take a look there and try to keep them alive :-)).

AlmightySnoo,

DJ Ware’s YouTube channel is awesome. For instance, he has a nice video on distros for beginners: www.youtube.com/watch?v=30mLqdQw3qE

AlmightySnoo,

Paper IO 2 (paper-io.com ) is good if you open it inside a private tab of an ad-blocking web-browser.

EDIT: fixed the link

AlmightySnoo,

At the bank where I’m working we have MS Teams, Webex, Skype and Symphony for chat and videoconferencing. They’re paying for all of them + a bunch of other useless software licenses, but at the same time the top management is still wondering how they can reduce costs 🤔

AlmightySnoo,

Don’t you know that the only way we can afford that is to first fire a few people? smh

AlmightySnoo,

Have you tried redownloading the English dictionary and clearing the cache & storage of the GBoard app and force-stopping it?

AlmightySnoo,

In theory yes:

A bank can temporarily suspend withdrawals to stop a run; this is called suspension of convertibility.

(en.wikipedia.org/wiki/Bank_run)

But IMO freezing withdrawals would just add even more panic when the last thing you want as a bank is have more clients be anxious about their money.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • KamenRider
  • TheResearchGuardian
  • KbinCafe
  • Socialism
  • oklahoma
  • SuperSentai
  • feritale
  • All magazines