1
141

Hi all, I'm relatively new to this instance but reading through the instance docs I found:

Donations are currently made using snoweโ€™s github sponsors page. If you get another place to donate that is not this it is fake and should be reported to us.

Going to the sponsor page we see the following goal:

@snowe2010's goal is to earn $200 per month

pay for our ๐Ÿ“ซ SendGrid Account: $20 a month ๐Ÿ’ป Vultr VPS for prod and beta sites: Prod is $115-130 a month, beta is $6-10 a month ๐Ÿ‘ฉ๐Ÿผ Paying our admins and devops any amount โ—€๏ธ Upgrade tailscale membership: $6-? dollars a month (depends on number of users) Add in better server infrastructure including paid account for Pulsetic and Graphana. Add in better server backups, and be able to expand the team so that it's not so small.

Currently only 30% of the goal to break-even is being met. Please consider setting up a sponsorship, even if it just $1. Decentralized platforms are great but they still have real costs behind the scenes.

Note: I'm not affiliated with the admin team, just sharing something I noticed.

2
28

I'm working my way to a CS degree and am currently slogging my way through an 8-week Trig course. I barely passed College Algebra and have another Algebra and two Calculus classes ahead of me.

How much of this will I need in a programming job? And, more importantly, if I suck at Math, should I just find another career path?

3
17
4
193

So I'm no expert, but I have been a hobbyist C and Rust dev for a while now, and I've installed tons of programs from GitHub and whatnot that required manual compilation or other hoops to jump through, but I am constantly befuddled installing python apps. They seem to always need a very specific (often outdated) version of python, require a bunch of venv nonsense, googling gives tons of outdated info that no longer works, and generally seem incredibly not portable. As someone who doesn't work in python, it seems more obtuse than any other language's ecosystem. Why is it like this?

5
17

The fourth iteration of a game jam all about accessibility is now open for registration, a month long jam about creating blind accessible games that starts in February!

Sign up here!

https://itch.io/jam/games-for-blind-gamers-4

Over the last 3 iterations we as a community have created over 70 blind accessible video games, and we would love if you all signed up and helped make this the most successful jam yet!

https://itch.io/jam/games-for-blind-gamers-3/entries https://itch.io/jam/games-for-blind-gamers-2/entries https://itch.io/jam/games-for-blind-gamers/entries

Also I will say programming accessibility for a game is an interesting challenge for anyone thinking about it. I had to learn a lot about API and screen readers to make my games usable for my entries!

6
35

Discovering your application by usecase validation. Make test writing fast, understandable by any human understanding English or French. Open source under MIT license.

[Cross-posted from https://programming.dev/post/21401242]

7
11
submitted 2 days ago* (last edited 2 days ago) by AsudoxDev@programming.dev to c/programming@programming.dev

Hello, I am building a dashboard where users can add their own user scripts. I at least want to keep the last 100 log lines stored somewhere so that the user can check them later.

I thought of using the backend's sqlite database but that would slow down the performance of other querys that are much more high priority.

8
5
submitted 1 day ago* (last edited 1 day ago) by xoron@programming.dev to c/programming@programming.dev

im working on a javascript UI framework for personal projects and im trying to create something like a React-hook that handles "encrypted at rest".

the react-hook is described in more detail here. id like to extend its functionality to have encrypted persistant data. my approach is the following and it would be great if you could follow along and let me know if im doing something wrong. all advice is apprciated.

im using indexedDB to store the data. i created some basic functionality to automatically persist and rehydrate data. im now investigating password-encrypting the data with javascript using the browser cryptography api.

i have a PR here you can test out on codespaces or clone, but tldr: i encrypt before saving and decrypt when loading. this seems to be working as expected. i will also encrypt/decrypt the event listeners im using and this should keep it safe from anything like browser extensions from listening to events.

the password is something the user will have to put in themselves at part of some init() process. i havent created an input for this yet, so its hardcoded. this is then used to encrypt/decrypt the data.

i would persist the unencrypted salt to indexedDB because this is then used to generate the key.

i think i am almost done with this functionality, but id like advice on anything ive overlooked or things too keep-in-mind. id like to make the storage as secure as possible.

9
101
submitted 3 days ago* (last edited 3 days ago) by otter@lemmy.ca to c/programming@programming.dev
10
35
11
81
12
9
submitted 3 days ago* (last edited 3 days ago) by LadyLeeLoosh@programming.dev to c/programming@programming.dev
13
21

I would love to know programming, but dont know where to start either. My focus is build android apps. Would like to learn programming to build apps for all world, but dont know how to do it and where to start. And i dont want make money with this, i just want to do this just for fun. Any advice? which language is better for a person who dont know nothing? which programs i need to install to start? Any book or tutorial recommendation ? im lost lol. thx

14
73
15
-31
16
14
submitted 1 week ago* (last edited 1 week ago) by LadyLeeLoosh@programming.dev to c/programming@programming.dev
17
11

cross-posted from: https://lemm.ee/post/46066494

I followed the recommended processes for adding images to my app, and it is being displayed correctly on the layout preview, but not at all on the app. I have vector assets, webp, png images, but none are being displayed.

The project is too big to put here in its entirety, but please ask for any snippets that could help you solve the issue. I've tried searching the web and asking LLMs and neither could help, so please help me, fellow humans.

18
62
19
10
20
13

๐Ÿš€ NextCloudTalkAutomationBot: The power of a SIEMโ€ฆ without the SIEM! ๐Ÿ˜† - A powerful and flexible bot for sending system notifications and Event Logs through messages via Nextcloud Talk. ๐Ÿ’ฌ โœจ Key features: run Bash scripts/commands, using #Nextcloud Talk as your output screen ๐Ÿ“บ; receive real-time CPU, storage, #Docker #Container status, and Nextcloud/Wireguard authentication logs ๐Ÿ” #ServerMonitoring #SelfHosting #RaspberryPi#EventLogging

21
101
submitted 1 week ago* (last edited 1 week ago) by mesamunefire@lemmy.world to c/programming@programming.dev

Its come full circle, AI job applicants sending resumes to bots.

22
-1

wrote a program for y'all gooners here

Don't bother thanking me ๐Ÿ˜

23
190

There was a lot of engagement in the communities I participate up until a couple of years ago. People were interested and actively discussing a lot of topics. There were a lot of newbies asking questions and people proposing different ways for tasks.

Is it just me or did it reduce a lot? LLMs? Company forums? Other forums I did not move to (e.g. discord)? Reduced interest? Or is it just subjective?

24
33

A bookmarklet is a bookmark whose URL is JavaScript code instead of a site. It might be, for example,

javascript:document.querySelector('video').playbackRate = Number(prompt("speed")) || 1; void(0)

// formatted version:
javascript:
document
  .querySelector('video')
  .playbackRate = 
  Number(prompt("speed")) || 1; 
void(0)

so that if you click the bookmark, it sets the speed of the video to whatever you want (e.g. 3.7).

You could also run this directly in the URL bar (in some cases -- I think desktop Chrome does that), or you can simply type alert() into the dev console (desktop Firefox prefers this for security reasons).

Is running my own arbitrary JS like this a thing on mobile? I'm on Android but I'm not sure if Brave disabled it -- I vaguely remember it working once, but it doesn't anymore. No luck on Firefox either. Maybe there's a workaround?

25
47

Testcontainers is a library that starts your test dependencies in a container and stop them after you are done using them. Testcontainers needs Docker socket access for mounting within its reaper, so I made a (for now minimal) different library that does not need Docker socket access. It also works with daemonless Podman.

view more: next โ€บ

Programming

17314 readers
294 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS