Sekitar 20 hasil (2.51 detik)
Komunitas lemmy.world

How much maintenance do you find your self-hosting involves?

I run two local physical servers, one production and one dev (and a third prod2 kept in case of a prod1 failure), and two remote production/backup servers all running Proxmox, and two VPSs. Most apps are dockerised inside LXC containers (on Proxmox) or just docker on Ubuntu (VPSs). Each of the three locations runs a Synology NAS in addition to the server. Backups run automatically, and I manually run apt updates on everything each weekend with a single ansible playbook. Every host runs a little golang program that exposes the memory and disk use percent as a JSON endpoint, and I use two instances of Uptime Kuma (one local, and one on fly.io) to monitor all of those with keywords. So - weekly: 10 minutes to run the update playbook, and I usually ssh into the VPS’s, have a look at the Fail2Ban stats and reboot them if needed. I also look at each of the Proxmox GUIs to check the backs have been working as expected. Monthly: stop the local prod machine and switch to the prod2 machine (from backups) for a few days. Probably 30 minutes each way, most of it waiting for backups. From time to time (if I hear of a security update), but generally every three months: Look through my container versions and see if I want to update them. They’re on docker compose so the steps are just backup the LXC, docker down, pull, up - probs 5 minutes per container. Yearly: consider if I need to do operating systems - eg to Proxmox 8, or a new Debian or Ubuntu LTS Yearly: visit the remotes and have a proper check/clean up/updates

Komunitas lemmy.ml

"sq feature comparison with gpg"

Very good question. Thank you for asking. To sign documents, I would recommend using signify or minisign. To encrypt files, I guess one could use age If you need a cryptolibrary, I would recommend nacl or sodium. In Go, I use nacl a lot. If you need to encrypt or sign very large files, I wrote a small library based on nacl. Emails are the tricky part. It really depends on your workflow. When I was working for a gov infosec agency, we learned to never use any integrated email crypto solution. Save the blob, decrypt the blob in a secure environment. This helps significantly against leaks and against creating an oracle to the attacker’s benefit. For data containers, I would use dm-crypt and dm-verity + a signed root. But that’s just me and I would probably not recommend this to other people :) OpenPGP is rarely used in messaging protocols, but if it was I would probably advise leveraging a double ratchet library.

Komunitas lemmy.ml

GrapheneOS Memory Tagging Notifications Lead To a Large Uptick In Reports To 3rd Party App Developers

GrapheneOS users on 8th/9th gen Pixels are making a massive contribution to getting memory corruption bugs in the open source ecosystem thanks to the nice crash report notifications created by our hardware memory tagging feature. One of the latest fixes: https://github.com/mullvad/mullvadvpn-app/pull/6727/files Someone should report C.GoString being broken in Go’s cgo. Reading an entire page before and after an object that’s passed is incredibly broken undefined behavior. They’re relying on memory allocation and memory protection having page granularity at a low level which is wrong. GrapheneOS users have repeatedly found memory corruption bugs in WireGuard-based apps on Android. It’s possible most of these are largely caused by memory corruption in the Go runtime because they’re playing fast and loose with memory accesses outside the bounds of objects… GrapheneOS always uses heap memory tagging for every process in the base OS with a single exception (camera HAL). Our implementation is guaranteed to catch all small/linear overflows and even use-after-free until a certain number of allocation cycles for that size class occur. It has a 14/15 chance to catch any other kind of heap corruption for the standard system allocators. Since it catches memory corruption as the read or write occurs, it produces very useful tracebacks for devs. We provide them to users with a UI to copy it to report bugs to devs. Our users on 8th/9th gen Pixels can enable it for all user installed apps via Settings > Security & privacy > Exploit protection > Memory tagging. Use the per-app toggle for incompatible apps and report the bugs to them. It’s not used for most user installed apps by default yet. Apps can mark themselves as compatible with memory tagging to opt-in to having it on GrapheneOS. We also have an app compatibility database where we can add known compatible apps to enable it by default and incompatible ones which skips them with the global default opt-in toggle. Hardware memory tagging in the security-focused asymmetric mode has very low overhead. Latent memory corruption bugs occurring during regular use in many apps is the only blocker for us enabling it by default for every user installed app as we already do for all base OS apps. One of the memory corruption bugs in Go being caught by memory tagging on GrapheneOS was reported to Go in September 2018 and is still unfixed today: https://github.com/golang/go/issues/27610 Reading outside bounds of objects from other languages is a serious memory safe violation, not benign.

Komunitas lemmy.today

*Permanently Deleted*

What I find hilarious is all these companies doing this shit after all the advancements in programming languages and paradigms in the last few years. Thanks to tools like Node.js, React, Flask, Reflex, OpenAPI Gen, GoLang, and more, people that are fed-up and have the know-how can stand up competing technology in record time. I look forward to see what comes out of this corporate power grab. Hopefully there’s not a lot of pain and suffering alkng the way.

Komunitas clj.social

Senior Golang Developer

Senior Golang Developer https://www.agiliway.com/senior-golang-developer/ We are looking for Senior Golang Developer to join product development for our client from the USA. The product is an AWS hosted multi-module payment and analytical platform for the healthcare services, written in Clojure/Go language stack. The… #clojure #clj #cljs [email protected] @clojure

Komunitas clj.social

Middle Strong Golang Developer

Middle Strong Golang Developer https://www.agiliway.com/middle-strong-golang-developer/ We are looking for Middle Strong Golang Developer to join product development for our client from the USA. The product is an AWS hosted multi-module payment and analytical platform for the healthcare services, written in Clojure/Go language stack… #clojure #clj #cljs [email protected] @clojure

Komunitas lemmy.world

Future Proof Web Development Languages 2025

The tech world is evolving faster than ever, and web developers must keep up with the changes to stay relevant. Choosing the right web development languages to learn or use in projects is crucial for long-term success. As we look forward to Future proof web development languages 2025, this blog will cover some of the top languages you should focus on. Whether you are a developer or a company offering web development services Gujarat, knowing these languages will help you stay ahead in the industry. 1. JavaScript JavaScript continues to be the cornerstone of modern web development. It is essential for building interactive and dynamic web applications. With frameworks like React, Vue.js, and Angular gaining popularity, JavaScript is more versatile than ever. By 2025, it will remain a must-know language for both frontend and backend development, especially with the rise of Node.js. 2. Python Python is known for its simple syntax and versatility, making it one of the top web development languages to learn. It’s used in both web development and other fields like data science and machine learning. Frameworks such as Django and Flask make web development fast and efficient. As more companies adopt Python for its simplicity and power, it’s clear that it will remain a future-proof choice in 2025. 3. TypeScript An extension of JavaScript, TypeScript adds static typing to help prevent errors and enhance code maintainability. It is becoming the preferred choice for large-scale web projects due to its ability to make code easier to read and manage. By 2025, TypeScript will be even more crucial as teams prioritize scalable and maintainable web applications. Companies providing web development services Gujarat are increasingly using TypeScript to ensure code quality and reliability. 4. Rust Rust has been gaining traction for its speed and memory safety features. While it is primarily known as a systems programming language, it is now making its way into web development. With frameworks like Rocket and Actix, Rust is proving to be a great choice for building high-performance web servers. For developers aiming to future-proof their skills, Rust is worth learning in 2025. 5. Go (Golang) Developed by Google, Go is known for its simplicity and performance. It’s excellent for building fast and efficient web servers and backend systems. With its built-in support for concurrent programming, Go is perfect for modern web applications that require multitasking. By 2025, Go will continue to be a go-to language for developers who want reliability and speed. 6. PHP Despite being one of the older web development languages, PHP is still widely used and continues to evolve. Platforms like WordPress and Drupal rely on PHP, making it a popular choice for content management systems. The latest updates, like PHP 8, have significantly improved performance, ensuring PHP remains relevant in 2025 for backend development. 7. Ruby Ruby is known for its simplicity and ease of use, especially with the Ruby on Rails framework. While it has faced competition from newer web development languages, Ruby still has a strong and supportive community. For developers looking for a language that is quick to learn and effective for building web applications, Ruby is still a good option in 2025. 8. C# With the continued expansion of ASP.NET Core, C# is a solid language for building robust web applications. Microsoft’s commitment to open-source and cross-platform support has boosted C#'s popularity in recent years. By 2025, C# will remain an important language for developers working on enterprise-level web solutions. 9. Swift Though primarily known for iOS development, Swift is becoming more involved in web development through frameworks like Vapor. Its speed and safety features make it an appealing choice for backend development. As Swift continues to grow, developers should consider learning it for cross-platform projects that might involve both mobile and web. 10. HTML and CSS While not programming languages, HTML and CSS are foundational for any web development project. Advanced CSS techniques, such as CSS Grid and Flexbox, allow for the creation of responsive and visually appealing websites. By 2025, knowing HTML and CSS in depth will still be crucial for anyone involved in web development. Conclusion Choosing the right web development languages can set you apart and make your projects successful as we move towards 2025. The Future proof web development languages 2025 include a mix of modern and established options like JavaScript, Python, TypeScript, and newer languages like Rust and Go. Staying updated with these languages will ensure that developers and providers of web development services Gujarat are equipped to build powerful, future-ready applications. Embrace these languages and stay ahead in the fast-paced world of web development.

Komunitas sopuli.xyz

Golang on debian

cross-posted from: https://lemmy.world/post/17993021 I’m a big fan of debian. I’m also a big fan of golang. One of the sacrifices debian makes to be so stable is lagging behind a bit on software versions. Debian users generally understand this, and also understand that it’s a good idea not to mess with the system versions of software. Here I will demonstrate how I configure my system to use whichever version of go I wish without harming the overall system configuration.

Komunitas lemmy.world

Golang on debian

I’m a big fan of debian. I’m also a big fan of golang. One of the sacrifices debian makes to be so stable is lagging behind a bit on software versions. Debian users generally understand this, and also understand that it’s a good idea not to mess with the system versions of software. Here I will demonstrate how I configure my system to use whichever version of go I wish without harming the overall system configuration.

Komunitas programming.dev

What programming language ruby, python og javascript?

For a desktop app I would go with none of those. If cross platform is the goal, the more important question, and independent of the programming language, is which GUI framework you will use. Your best bet, at least if you are looking for a stable GUI framework, the best candidate may be C++ and Qt. But that’s a hassle in its own right - both C++ and Qt. TypeScript will have some solutions for you, with web rendering as a desktop app. Golang will have Qt bindings or other more experimental/not thoroughly established+popular GUI frameworks. My personal favorite ecosystem is .NET. It has an official cross-platform UI project MAUI, but without an official Linux target. Community extensions probably exist. Personally, I dislike the way the UI is declared and bound though (XAML). My current interest, which I have not explored or validate yet, is using .NET but then host a web or Blazor app in it with Webview2. .NET supports cross-boundary programming, crossing web+managed/native development, and crossing web(HTML+JS)+managed. Most of the time GUI and the framework technology is a hassle. Your question is too broad and unspecific, so there’s not a good answer. If it’s not a “serious” project that you depend on [for your livelihood], pick and start with whatever [looks good or interesting] and go from there. If it is a “serious project” do a bit more GUI framework exploration and assessment, and pick and commit to something. If it’s a big commitment or risk, do prototyping with your candidates for verification and assessment - beyond the most simple examples, and for your specific usage.

Komunitas lemmy.ml

Opinions on Mango Languages?

https://mangolanguages.com/ I started learning Chinese through this largely because it’s free with my library membership. Does anyone have any experience with it? I think I’ve learned while using it, I can string together some sentences. It doesn’t seem to focus much on characters, but has reading sections that I can’t do because I don’t know them. I can read some pinyin and it lets me mouse over characters to see that though.

Komunitas piefed.social

Gamepad on-screen keyboard for Linux - looking for Wayland testers

Doing so defies the Flatpak security model since the app needs raw evdev and uinput device access. Since Bazzite has a read-only root, you’ll need to layer the runtime dependencies: rpm-ostree install SDL3 SDL3_ttf Then reboot. The udev rule for uinput access goes in /etc which is writable on Bazzite: sudo cp gamepad-osk.udev /etc/udev/rules.d/80-gamepad-osk.rules sudo udevadm control --reload-rules After that you can build inside a distrobox and run it from ~/.local/bin. I think these will work to build the current branch, I’m not on Bazzite (Fedora): distrobox create --name build --image fedora:41 distrobox enter build sudo dnf install golang SDL3-devel SDL3_ttf-devel libX11-devel wayland-devel git clone -b sdl3-migration https://github.com/0x90shell/gamepad-osk.git cd gamepad-osk go build -o gamepad-osk . cp gamepad-osk ~/.local/bin/ exit Promptfont is optional (shows controller button icons on keys), but I recommend it. To install: wget https://github.com/Shinmera/promptfont/raw/main/promptfont.ttf mkdir -p ~/.local/share/fonts cp promptfont.ttf ~/.local/share/fonts/ fc-cache

Komunitas slrpnk.net

Go lang (aka “Go” aka “GoLang”) standard libs conflate SOCKS proxy with HTTP proxy, thus breaking all Go apps that use a proxy

These environment variables designate a parameter that holds the value of a HTTP proxy: http_proxy https_proxy HTTP_PROXY HTTPS_PROXY It’s a convention, but the name “HTTP proxy” can only imply HTTP proxy, not a SOCKS proxy. The golang¹ standard libraries expect the above HTTP proxy parameters to specify a SOCKS proxy. How embarrassing is that? So any Go app that offers a proxy feature replicates getting the proxy kind backwards. Such as hydroxide, which requires passing a SOCKS proxy as a HTTP proxy. ¹ “Go” is such a shitty unsearchable name for a language. It’s no surprise that the developers of the language infra itself struggle with the nuances of natural language. HTTP≠SOCKS. And IIUC, this language is a product of Google. WTF. It’s the kind of amateurish screwup you would expect to come from some teenager’s mom’s basement, not a fortune 500 company among the world’s biggest tech giants. (edit) It’s a bit amusing and simultaneously disasappointing that reporting bugs and suggesting enhancements to Google’s language requires using Microsoft’s platform: https://github.com/golang/proposal#the-proposal-process FOSS developers: plz avoid Golang - it’s a shit show.

Komunitas programming.dev

batman or man bat?

if C and Python had a baby, it would be GoLang. That’s a great description.

Komunitas lemmy.ml

What are your favorite RSS feeds?

https://rakyll.org/index.xml <-- if you’re into golang https://www.reddit.com/r/crafts/.rss <-- I’ve been trying to figure out how to skim the content I like out of reddit without engaging with The Cesspool. https://blog.writefreely.org/feed/ <-- I like having in my RSS reader blogs of software I self-host’s updates. It is the right amount of nagging so I update.