Skip to main content

Search

Items tagged with: programming



Rust 101 is back, and it's drawing to a close!

Foreign function interfaces (interacting with other languages) - Calling C code from Rust, Rust code from C-family languages, using cargo-bindgen, and creating Python extensions.

https://video.infosec.exchange/w/1dqBdfTS7J3p7Z33F5zC3c

#rustlang #programming #video


As a #developer sometimes you'll see #code comments like this. Often, you'll be the one writing it. #webdev #memes #programming
Stack of books on a bookshelf holding it up with the words "These books are here for an essential structural purposes. They are not for sale" written on the sides of the books from top to bottom.


Introducing the Newsmast Programming Community Feed. Hand-curated content from all over the Fediverse. A mix of hashtags, follows, filters and mutes to bring you up to date, engaging posts. Published by newsmast@newsmast.social as part of our mission to make knowledge accessible across social media.

Just follow, create a list, add the feed and exclude from your home timeline - see the bio for more tips.

Please boost and help share knowledge in the Fediverse.

#programming #code #coding


Heute stellen wir Ihnen unsere neue Rubrik 5 Fragen zu... vor. Den Anfang machen wir mit 5 Fragen zu #Rust an den Software Engineer Daniél Kerkmann!

Lesen Sie in unserem Beitrag, warum wir bei #Opentalk auf die #Programmiersprache Rust setzen, welchen Einfluss Rust auf unsere technische Architektur hat und Antworten auf drei weitere spannende Fragen 👇
https://opentalk.eu/de/news/5-fragen-zum-einsatz-der-programmiersprache-rust-bei-opentalk

#OpenSource #digitaleSouveränität #techstack #tech #programming #RustLang


Rust 101 - 1: Course intro


Introducing the Rust 101 series and how to install Rust.

Rust 101 is a series of videos explaining how to write programs in Rust.

How to install Rust: https://rustup.rs/
Slides: http://artificialworlds.net/presentations/rust-101/0-intro
Exercises: https://101-rs.tweede.golf/0-install/mod.html

Follow the "Exercises" link to find the other tools you might want to install to follow along.

The course materials for this series are developed by tweede golf. You can find more information at https://github.com/tweedegolf/101-rs and you can sponsor the work at https://github.com/sponsors/tweedegolf . They are released under the Creative Commons Attribution Share Alike 4.0 International license.

This series of videos is copyright 2023 Andy Balaam and the tweede golf contributors and is released under the Creative Commons Attribution Share Alike 4.0 International license.


Finally decided to learn rust... Any tips or warnings before I really start?

#rust #rustlang #rustaceans #programming


Whoever decided to call them "merge conflicts" and not "commitment issues"?..

#Programming


What are the alternatives to VS Code and Jetbrains' IDEs?

I'm asking because I don't like Jetbrains' push for AI and don't want to switch to Code.

#programming #rust #javascript #development


I'd love to write #CLI programs in a statically typed #programming language for a living. Is there a home office #job opening like that in #Austria? #Rust #Linux


I'm finally working on my first microservices project of my career, and so far most design decisions have been aimed at centralization (monorepo, central GraphQL API).

I'm starting to believe microservices sounds good in theory but has absolutely no business being implemented in its purest form.

Also the Make command to build the local Docker environment can take up to 15 minutes to run on a M1 Macbook Pro. And because the environment uses an AWS token that expires every day, the command needs to be ran every day you may be working on the project. This is such an incomprehensible waste to me, have I already reached the end of my career in software development?

#DevLife #Programming


Day 28 of #100DaysOfRust

I didn't learn _ but their use as well as _meaning and what @ does what where. I worked on this chapter for a relatively long time, but in my opinion it was a profound #Rust specialty that allowed me to use it in a targeted manner. Slowly but surely I'm coming to the end of learning the basics of #RustLang, I'll learn how to use it in the next selected project. But first complete the current basic learning! 🦀

#100daysofcode #codeing #programming #code #learn #learning


Day 26 of #100DaysOfRust

I found time today to continue learning #Rust. Although I knew that #RustLang is not fundamentally object-oriented (#OOP), I learned this approach today. It seemed a bit strange to me and I didn't quite understand it. Maybe you should go over that paragraph again. Basically, I know that for future projects, I need to look back and see how I solve the problem. That's the case in any #programming language to solidify your skills 🦀

#100daysofcode #learning #code #learn


Day 25 of #100DaysOfRust

I was celebrating with my family before #Christmas (yes, it's already here today) and I was still learning #Rust. Two things were illuminating for me: The capitalization is relevant, I knew it before but I really had to find it before I went through the corresponding tests. Secondly, I learned 'traid objects', a cool way of working. I got further than expected and learned on #RustLang what I can use for the next project 🦀

#100daysofcode #learning #code #programming


Day 24 of #100DaysOfRust

Today I made exciting progress in learning how to program #Rust. How to deal with data when you have to / should edit and change / adapt several at once. That was really fun and I tried out a little more than just the given code. Tomorrow I'll continue and maybe take a break to learn #RustLang because of the holidays 🦀

#100daysofcode #learning #code #data #programming


Day 16 of #100DaysOfRust

I got further with learning #RustLang today, but not as far as I would have liked. So that I really understand the reason for the #Rust code, I took the time to understand it completely. It was still positive for me to combine all the details I've learned so far and create something working. At least mentally it was a success. Not just an action that can do something, but a program with its own tests 🦀

#100daysofcode #learning #code #understanding #like #programming


For several months now I've been the only one left working on a project at work and for several months deployments issues on this project have increased. Coincidence? I think not. Since I'm the only one left programming, there hasn't been any meaningful code review for a few months either. It's not enough to have another pair of eyeballs looking at your code if they aren't familiar with it.

Still feels bad to have end users bear the brunt of this though.

#DevLife #Development #Programming


OurPaint v0.2 is out for Windows and Linux! 😁

Node based brushes, canvas texture, refined pressure sensitivity, better stability and more!

go to https://ChengduLittleA.com/ourpaint to download!

#OurPaint #gamedev #programming #LaGUI


Open-source markerless motion capture with webcams...one year of learning to program

https://github.com/mprib/pyxy3d

Discussions: https://discu.eu/q/https://github.com/mprib/pyxy3d

#programming #python


The four rules of character encoding:
1. Use UTF-8.
2. Seriously, you want to use UTF-8!
3. If you need something that is not UTF-8, go back and read 1. and 2.
4. If you have really good reasons to use something else, feel free to tell me those reasons but please don't send me that text.

#encoding #email #programming #charset


PyDPainter - A remake of Deluxe Paint by Electronic Arts in 1985, written in Python & Pygame

https://www.pygame.org/project/5157/8216

Discussions: https://discu.eu/q/https://www.pygame.org/project/5157/8216

#programming #python


Generate mazes using jupyter, numpy, matplotlib and scikit-image

https://excess.org/flood-fill-mazes/

Discussions: https://discu.eu/q/https://excess.org/flood-fill-mazes/

#programming #python


A friend of mine minified Bitshift Variations in C Minor down to 179 bytes:

gcc -xc -oa -<<<'i;n;g(m,t,o){m=("GTj?TG?5"[7&t]+!(n&12|t&2)*9)*i>>o&m&24;}main(s){for(;;putchar(g(8,n=s>>4,8)+g(n,n^s/8,6)+g(n/3,n+s/2%3,6)+g(n/5,n-s%3,5)))s=++i>>10;}';./a|aplay

#bytebeat #programming #codegolf #chiptune



Microsoft cancels plans for Python packages on GitHub

https://github.com/github/roadmap/issues/94#issuecomment-1581086839

Discussions: https://discu.eu/q/https://github.com/github/roadmap/issues/94%23issuecomment-1581086839

#programming #python


“Give someone a program, you frustrate them for a day. Teach them how to program, you frustrate them for a lifetime.” – David Leinweber, Mathematician and Berkeley Computer Science Professor
#computerscience #programming


Stumbled on this gem today.

https://www.joelonsoftware.com/2000/04/06/things-you-should-never-do-part-i/

#programming


2005 me: #SOAP is too verbose, look at all these defined types! #JSON is the future with arbitrary structure!
2020 me: Actually SOAP has a point 🤔

#DevLife #Development #Programming


Been coding for ~15 years, here are my top 5 programming tips

-Get a good chair
-Get up and walk more often
-Drink more water
-Don’t sit hunched, raise your monitor/laptop monitor height
-Know when to stop for the day

*your code is gonna be much better

#programming #gamedev


I've been in Code Mode lately, and I've made some progress on my comic script markup language (called Panels for now).

I have no idea if this is something interesting to people here -- especially as using it is, for the moment, pretty technical -- but here's a link to the github repo:

https://github.com/wartman/panels

I'd love to hear what people think, and if this is at all interesting or something folks want.

#comics #code #programming


Good morning everybody, this is a service announcement that the #Friendica Junior Jobs fair is now in full swing, grab one or three and hack at it!

Everybody is a winner!

#Development #Programming