penguin42 is a user on mastodon.org.uk. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

penguin42 @penguin42@mastodon.org.uk

I think I've got a Vulkan[o] swapchain ona gkt-rs window ๐Ÿ˜€; I think....now just to wire it up to use it.

The shape of curved cracks on Europa; fascinating (and he got support from NASA to make it) - very nice:
youtube.com/watch?v=j3LXPmiEB-

The smell from the fires on saddleworth moor is noticeable here, even though we're about 15 miles away

penguin42 boosted

Coming to you from lineageos 15.1 on find7, just updated; had to update recovery for it to take it, but otherwise fine.

A nice walk along a canal followed by a box of chocolate ice cream; it's not my fault I can buy 3 pack boxes for the same price as a single.

penguin42 boosted

We already know that automated content filters don't work. They put absolute power over content in the hands of a system that is opaque and broken.

A couple of days ago YouTube took down all of the Blender Foundation's videos from the Blender Foundation's channel due to a copyright claim by... the Blender Foundation.

The BF is an official YT partner, but days later they still cannot get a straight answer from YT about what is going on:

twitter.com/tonroosendaal/stat

twitter.com/tonroosendaal/stat

Hmm; I might have a vulkan(o) swapchain::surface from my gtk-rs window - not sure but it's not crashed yet; still got to wire up a swapchain. I did get a "'function pointer `DestroySurfaceKHR` not loaded" when trying to destroy it (accidentally) - but hmm not sure where that's from.

At the point in using a comms library of figuring out which direction 'in' is

The problem with uhd monitors is they get uhd gunge stuck on them

's 'use' syntax can make things confusing; I was following -rs's code and got confused by:
let ret = from_glib_none(ffi::gdk_window_get_device_position(....))

so I need the ffi crate? No! Because there's a use which renames:
extern crate gdk_sys as ffi;
๐Ÿ”จ

All 3 of the maplin shops are now shut, a shame, but it can never be said they had good prices or stock levels. I do wonder what happened to the 128MB dimm one of them still had as of a few weeks back

My vulkan(o) mandbulb is getting better; sped it up, cleaned a lot of the nasty bits; nastiest bit left is the glue to gtk-rs; I'm just using a compute shader to generate an image as bytes; it should be possible to get vulkano to render directly - but it needs at least some glue to wire up display surfaces; but vulkano only seems to have that for the winit library. Hmm.

penguin42 boosted

In Firefox's addressbar, you can limit results by typing special characters before or after your term

^ for matches in your browsing history.
* for matches in your bookmarks.
% for matches in your currently open tabs.
# for matches in page titles.
@ for matches in web addresses.

if ev is a vec3 then length(ev) and ev.length() are very different in GLSL; I think ev.length() is the length of the vector (ie number of elements, 3) and length(ev) is the geometric length of the vector. Only took a couple of hours, sigh.

TIL: glsl silently ignores 'lowp' size directives in array declarations in buffers (thanks to 'derhass' in # for letting me in on the secret). I see glslandvalidator does change a decoration on the parameter, but that seems to be as far as it goes. Anyway, I think I've now got my mandelbulb being calculated in Vulkan; now can I display it.

Heck, I think I may have managed to execute a vulkan compute shader with vulkano; not actually managed to extract the result yet to know, but it's taking vaguely the right amount of time.

penguin42 boosted

ProTip: On most browsers, pressing F6 will bring focus to the URL bar so you don't have to touch the mouse

This is somewhere between genius and madness: emojicode.org/ - the docs are great 'A true value is created using ๐Ÿ‘ and a false value is created using ๐Ÿ‘Ž' or 'The ๐Ÿ‹ statement is only executed if the preceding ๐ŸŠ expression and any preceding ๐Ÿ‹ expressions evaluated to ๐Ÿ‘Ž, and the current ๐Ÿ‹ expression evaluated to ๐Ÿ‘.'