Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

Norm

@normplum@fosstodon.org
mastodon 4.7.3
  • Open on fosstodon.org
0 Followers
0 Following
24 Posts
Joined March 07, 2024
Open post
Norm @normplum@fosstodon.org
· 6mo ago

Today I learnt (realised) that #Python's `json.loads()` and `json.dumps()` functions aren't plural versions of `json.load()` and `json.dump()`. The `s` stands for `string` (since they read/write from strings instead of files).

#TIL #programming

26
1
4
0
Open post
Norm @normplum@fosstodon.org
· 7mo ago

I've been learning about #Godot's export templates and compiling them to be smaller in size. I finally have a working export process which disables most of Godot's functionality (since my #Android app is very basic).

The original (unoptimised) APK file was 26MB. The new optimised one is 9MB!

#GodotEngine #Godot4

6
1
0
1
Open post
Norm @normplum@fosstodon.org
· 6mo ago

I recently learnt (by pure accident) that #Flameshot's "autoincrementing counter bubbles" can be dragged to draw an arrow under them!

#FOSS #screenshot @flameshot@fosstodon.org

3
1
0
0
Open post
Norm @normplum@fosstodon.org
· 7mo ago

What is the difference between #Godot's #scons options for reducing an export template's size, and generating/using a build profile?

For example, does having `"disable_3d": true` in a build profile negate the need for `disable_3d=yes` as an scons option?

https://docs.godotengine.org/en/stable/engine_details/development/compiling/optimizing_for_size.html

https://docs.godotengine.org/en/stable/tutorials/editor/using_engine_compilation_configuration_editor.html

#GodotEngine #GameDev

Godot Engine documentation

Optimizing a build for size

Rationale: Sometimes, it is desired to optimize a build for size rather than speed. This means not compiling unused functions from the engine, as well as using specific compiler flags to aid on dec...

3
0
0
0
Open post
Norm @normplum@fosstodon.org
· 5mo ago
Replying to
@thibaultmol@en.osm.town @zenbrowser@floss.social That's what I was looking for, thanks!
2
0
0
0
Open post
Norm @normplum@fosstodon.org
· 6mo ago

#SilentShare is now available in the #FDroid app store!

https://f-droid.org/packages/com.github.normplum.silentshare

The app let's you share personal information with other people visually and silently. For example, needing to give your DOB to the receptionist in a doctor's office. Show it to them via the app rather then saying it out loud for all to hear.

#FOSS #Android #Privacy #App #PII

SilentShare | F-Droid - Free and Open Source Android App Repository
f-droid.org

SilentShare | F-Droid - Free and Open Source Android App Repository

Share personal information with others visually in-person.

2
0
0
0
Open post
Norm @normplum@fosstodon.org
· 7mo ago

Silent Share v1.0.2 was just released:

https://github.com/NormPlum/SilentShare/releases/tag/1.0.2

It's an #Android #app that let's you share personal information with other people visually, so bystanders don't overhear (e.g. providing your phone number to lookup your account when making a purchase).

It's #FOSS and built with #Godot.

#Godot4 #AppDev #SilentShare #privacy

GitHub

Release 1.0.2 · NormPlum/SilentShare

Changelog: Fixed not being able to press on checkboxes (#2) Optimised APK file to be smaller Updated project to Godot v4.6.1 Updated README with screenshots and GitHub links/badges

2
0
0
0
Open post
Norm @normplum@fosstodon.org
· 5mo ago
Replying to
@jexner@tooting.ch I had this issue (or a similar one). My account was closed randomly (can't remember the reason given), and when I contacted support they said my account was flagged by an automated system but it was a false positive. They apologised and re-instated it. Sorry I can't recall more details about the incident or who/how I contacted them...
1
2
0
0
Open post
Norm @normplum@fosstodon.org
· 5mo ago

In #ZenBrowser I have a folder of pinned tabs for a project I was working on. Since I haven't gotten back to it for a while, I'd like to move them to a bookmark folder instead.

Is there an easy way to convert a folder of tabs to a folder of bookmarks?

@zenbrowser@floss.social

1
2
0
0
Open post
Norm @normplum@fosstodon.org
· 6mo ago

I use #ZenBrowser where I have vertical tabs (on the left), and I use the #Bitwarden addon which is set to display in the sidebar on the right (so it stays open when I'm logging into sites, etc.).

I recently tried #Waterfox as I've heard good things about it, but it seems my setup in Zen isn't possible here... Vertical tabs display in the sidebar, so I can't separate tabs and Bitwarden to the left and right of the screen respectively.

Am I missing something, or does Waterfox not support this?

1
1
0
0
Open post
Norm @normplum@fosstodon.org
· 6mo ago
Replying to
@djvdq@mastodon.social I moved back to GitHub for this reason, but if you don't want to choose one over the other why not use both (with one being a mirror of the other)?
1
1
0
0
Open post
Norm @normplum@fosstodon.org
· 7mo ago

Playing with output on multiple screens for a possible #Godot app, and realised that while a device might have multiple monitors attached, if they're set to be a 'mirror' of the main monitor, then you effectively only have 1 screen. But Godot doesn't realise this... So I found a way to check it:

#Godot4 #GDScript

1
0
0
0
Open post
Norm @normplum@fosstodon.org
· 7mo ago

I just completed the 200th 'Daily Coding Challenge' by #freeCodeCamp.

https://github.com/NormPlum/freeCodeCamp_DailyCodingChallenges

(don't look at the code if you want to solve it yourself first)

#DailyCodingChallenge #python #programming #coding

GitHub

GitHub - NormPlum/freeCodeCamp_DailyCodingChallenges: My Python solutions for FCC's Daily Coding Challenge.

My Python solutions for FCC's Daily Coding Challenge. - NormPlum/freeCodeCamp_DailyCodingChallenges

1
0
0
0
Open post
Norm @normplum@fosstodon.org
· 7mo ago

I have pinned tabs in @zenbrowser@floss.social and sometimes I accidentally press the favicon which resets the tab back to it's pinned URL.

Is there a way to disable this behaviour?

#ZenBrowser

0
0
0
0
Open post
Norm @normplum@fosstodon.org
· 5mo ago

If I have a static HTML page that displays hundreds of items (where each item is some text, an image and a link), is there any benefit to add JS client-side pagination?

As I understand it, all content will be loaded regardless, the JS will just show/hide certain items as you click on the page links...

Or is it ok to just leave the hundreds of items as-is? Or is there a better solution?

#WebDev #pagination #pager #JS #Javascript #HTML

0
2
0
0
Open post
Norm @normplum@fosstodon.org
· 5mo ago

Sorting by multiple keys in #Hugo is not intuitive - you have to list the keys in reverse order.

For example, `.Pages.ByDate.ByParam "channels"` will sort by the custom "channels" integer, *then* by date.

https://discourse.gohugo.io/t/sort-pages-by-multiple-keys/32201

@gohugoio@fosstodon.org #WebDev

Sort pages by multiple keys
HUGO

Sort pages by multiple keys

In my list.html layout I want to sort my pages so that the lowest weight number comes first and, for pages with same weight, sort by lastmod in reverse (desc order). Here is my unsuccessful attempt. {{range ((.Data.Pages.ByParam "weight").ByParam "lastmod").Reverse }} Any idea?

0
0
0
0
Open post
Norm @normplum@fosstodon.org
· 6mo ago

The race for top spot is tight!

https://firsttimewatching.com/

#FirstTimeWatching #YouTube #TBRSchmitt #CasualNerdReactions #CineBinge

FirstTimeWatching

Channels

A collation of "First Time Watching" YouTube videos and channels.

0
0
0
0
Open post
Norm @normplum@fosstodon.org
· 6mo ago

Is there a way in #Hugo (or #Go?) to format a string to be singular when there's only one thing?

E.g. "

{{ $videos | len }} videos

" sometimes outputs "1 videos". Is there an easy way to make it say "1 video" instead?

@gohugoio@fosstodon.org #WebDev #GoLang

0
2
0
0
Open post
Norm @normplum@fosstodon.org
· 6mo ago

#Waterfox (and presumably other #Firefox-based browsers) can save your open tabs so when you close and re-open the browser, all your tabs are still there. However when you click on a tab, it takes a second or two to load.

Is there a way to specify certain saved tabs to load automatically when opening the browser?

0
0
0
0
Open post
Norm @normplum@fosstodon.org
· 6mo ago

In #Hugo is it possible to define a custom date format that is automatically used for all dates across the site?

I found suggestions to set a custom date format in your site's config, then call that everywhere you have a date being displayed, but I don't want to specify the format each time - I just want to set it once and have all dates use that by default...

@gohugoio@fosstodon.org #WebDev

0
0
0
0
Open post
Norm @normplum@fosstodon.org
· 20mo ago
Replying to
@celenity@infosec.exchange @accrescent@infosec.exchange Interested to know how Accrescent is more secure than installing directly from the repo or using #Obtainium to install/update from the repo...? https://gitlab.com/ironfox-oss/IronFox/-/releases
gitlab.com

Releases · IronFox OSS / IronFox · GitLab

0
8
0
0
Open post
Norm @normplum@fosstodon.org
· 5mo ago
Replying to
@idiomatic@mastodon.social That's awesome, thanks! I knew about lazy loading from years ago, but thought it was only a JS library thing. I had no idea it was a supported HTML attribute now. Just added it to my code and it works perfectly.
0
1
0
0
Open post
Norm @normplum@fosstodon.org
· 5mo ago
Replying to
@mateus@tech.lgbt Would client-side JS allow for that though? I'd have thought if the hundreds of images are all in the HTML, they'll get loaded regardless of whether they're shown or hidden by JS...
0
2
0
0
Open post
Norm @normplum@fosstodon.org
· 5mo ago
Replying to
@mateus@tech.lgbt Ah, gotcha, thanks.
0
0
0
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 13:53:20 UTC