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
Rust 101 - 49: 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. Links: Exercises: https://artificialworlds.net/presentations/rust-101/exercises/G-f...Infosec.Exchange Video
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.
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
5 Fragen zum Einsatz der Programmiersprache Rust bei OpenTalk
Erfahren Sie von unseren Expert:innen in jeder Folge Wissenswertes zu aktuellen Themen rund um Videokonferenzen und digitaler Souveränität.OpenTalk
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.
GitHub - tweedegolf/teach-rs: A modular, reusable university course for Rust
A modular, reusable university course for Rust. Contribute to tweedegolf/teach-rs development by creating an account on GitHub.GitHub
Finally decided to learn rust... Any tips or warnings before I really start?
Whoever decided to call them "merge conflicts" and not "commitment issues"?..
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.
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?
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! 🦀
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 🦀
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 🦀
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 🦀
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.
I love feature removal tasks, it feels very Mary Kondo-ish.
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!
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
GitHub - mprib/pyxy3d: Open source motion capture with standard webcams
Open source motion capture with standard webcams. Contribute to mprib/pyxy3d development by creating an account on GitHub.GitHub
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.
https://www.pygame.org/project/5157/8216
Discussions: https://discu.eu/q/https://www.pygame.org/project/5157/8216
#programming #python
https://excess.org/flood-fill-mazes/
Discussions: https://discu.eu/q/https://excess.org/flood-fill-mazes/
#programming #python
Flood Fill Mazes
In this article we generate mazes using jupyter notebooks, numpy, matplotlib, and the scikit-image flood_fill function. Almost since I could first draw I’ve been fascinated with creating and solving mazes.Ian Ward (excess.org)
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
Can you trust ChatGPT’s package recommendations?
ChatGPT can offer coding solutions, but its tendency for hallucination presents attackers with an opportunity. Here's what we learned.Bar Lanyado (Vulcan Cyber)
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
Packages: Python (PyPi) support · Issue #94 · github/roadmap
Summary This is the GA (generally available) release of support for Python packages PyPi supporting the pip client. Intended Outcome GitHub Packages users will have access to a public and private P...GitHub
https://www.theregister.com/2023/05/12/github_microsoft_openai_copilot/
Discussions: https://discu.eu/q/https://www.theregister.com/2023/05/12/github_microsoft_openai_copilot/
#news #programming #technology
GitHub, Microsoft, OpenAI fail to wriggle out of Copilot copyright lawsuit
Judge won't toss out two key charges, software source slurping case still onThomas Claburn (The Register)
#computerscience #programming
https://www.joelonsoftware.com/2000/04/06/things-you-should-never-do-part-i/
#programming
Things You Should Never Do, Part I
Netscape 6.0 is finally going into its first public beta. There never was a version 5.0. The last major release, version 4.0, was released almost three years ago. Three years is an awfully long tim…Joel on Software
2020 me: Actually SOAP has a point 🤔
#DevLife #Development #Programming
-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 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
GitHub - wartman/panels: A simple markup language for comics
A simple markup language for comics. Contribute to wartman/panels development by creating an account on GitHub.GitHub