#programming
You've got to really appreciate the little things while working on a programming language, otherwise, writing almost a thousand lines of compiler code just so I can use like a dozen less lines while making small programs just wouldn't be worth it...
#programming
can someone please create a firefox extension that automatically adds wikipedia to all search requests ?
so I don't have to sort thru all the utter shit that the #enshittified site formerly known as #google sends me ?
thank you
#FloatingPoint arithmetics is, when your rather trivial code enters infinite loops with #GCC, while it runs smoothly with #Clang.
Well, at least I can compare now, and hopefully find a way to make the code more robust against rounding errors.
Which language would be best for writing a transpiler?
This blog post is about the Polylith architecture; which is interesting in itself, but not my major takeaway. I'm more interested in the tools.
> The last #Python Architecture you will ever need? https://davidvujic.blogspot.com/2022/11/the-last-python-architecture-you-will-ever-need.html
I've said it before, but I think we should move away from Package Managers and start creating repos containing *all* the dependencies for a project. (Sub-repos for third-party and even local components allowed.)
The problem with this?
[contd]
Hint for day 3: if it feels like grunt work, then you are doing it right.
There's no special tricks for this.
I found out recently from a coworker about #AdventOfCode . I will have to take a look at that if I have some time after finishing holiday shopping.
@MegaMichelle This is kind of how I felt when playing #Factorio too. Why is debugging imaginary conveyor belts so much more pleasant than debugging real code?
#programming #video games
A new method to validate URLs in JavaScript
https://www.stefanjudis.com/blog/validate-urls-in-javascript/
Discussions: https://discu.eu/q/https://www.stefanjudis.com/blog/validate-urls-in-javascript/
OMGCICD - Attacking GitLab CI/CD via Shared Runners
https://pulsesecurity.co.nz/articles/OMGCICD-gitlab
Discussions: https://discu.eu/q/https://pulsesecurity.co.nz/articles/OMGCICD-gitlab
After 8 Years: NetHSM is Available! Formally verified open source HSM
#compsci #formalmethods #hardware #ocaml #programming #security
Creating a macOS App with Haskell and Swift
https://discourse.haskell.org/t/creating-a-macos-app-with-haskell-and-swift/8179
Discussions: https://discu.eu/q/https://discourse.haskell.org/t/creating-a-macos-app-with-haskell-and-swift/8179
Titus Winters on LinkedIn: As of today, I'm no longer a Googler.
The last Python Architecture you will ever need?
https://davidvujic.blogspot.com/2022/11/the-last-python-architecture-you-will-ever-need.html
Discussions: https://discu.eu/q/https://davidvujic.blogspot.com/2022/11/the-last-python-architecture-you-will-ever-need.html
WORX - A micro framework to easily develop TMF APIs in Go
https://github.com/GraHms/worx
Discussions: https://discu.eu/q/https://github.com/GraHms/worx
Steel โ An embeddable and extensible scheme dialect built in Rust
https://github.com/mattwparas/steel
Discussions: https://discu.eu/q/https://github.com/mattwparas/steel
[Unit] Testing Supabase in Kotlin using Test Containers
https://lengrand.fr/unit-testing-supabase-in-kotlin/
Discussions: https://discu.eu/q/https://lengrand.fr/unit-testing-supabase-in-kotlin/
A wigwam is a small-but-mighty project that reduces public reliance on battleships
https://github.com/surprisetalk/wigwams
Discussions: https://discu.eu/q/https://github.com/surprisetalk/wigwams
I don't know how to fully change my site's root to /csh/ and not /. I am using @dthompson's #Haunt static site generator. #GNU #Guile #Scheme #Programming #Help https://codeberg.org/csh/personal-site/issues/1

๐ Day 3 of Advent of Code 2023 is here. Today, we are decoding an engine schematic.
๐ Part two today was perhaps the first interesting problem, so how did you do?
๐ก Share your solutions.
#cpp #cplusplus #coding #programming #dailybiteofcpp #adventofcode
I've managed to stumble my way through day 1 and 2 of #adventOfCode but day 3 is a whole other story.
Not sure where to start but I just got flashbacks to the knights tour style problems for some reason.
#AdventOfCode Day 3, in #FSharp, in about an hour (1:30PM eastern)!
Hope to see you in chat!
๐ก What Successful Programmers Do That Others Don't: Dave Cutler | Dave's Garage
LLMs are Stanford grads on mushrooms at Burning Man, part 145021 -- it's plausible, repetitive and utterly dull:
"Generational ZGC is a generational collector, and so it has a young generation and an old generation." #java #programming
#Microsoft really doesn't want you to be able to change the focused window using your own keyboard shortcuts
Today's video is a deep dive into the insane number of mechanisms that #Windows has put in place to prevent programmatic focus changing, my attempts to circumvent them so far, and a discussion of a new circumvention method I have implemented, which is the most reliable so far, and will be shipped in the next release of #komorebi ๐
Days 1-3 up on GitHub now! I have not written #python in ages so be nice :3
Building a web assembly compiler.
https://blog.scottlogic.com/2019/05/17/webassembly-compiler.html
Building a web assembly compiler.
https://blog.scottlogic.com/2019/05/17/webassembly-compiler.html
My home workplace for the last years... with the Fallout posters in the background, Erra: Exordium game development is happening here
https://store.steampowered.com/app/1224030?utm_source=mastodon

GemRuby Show : Dmitry Tsepelev, StoreModel
https://share.transistor.fm/s/df2437dc
Discussions: https://discu.eu/q/https://share.transistor.fm/s/df2437dc
Neovim now has its own default color scheme
https://github.com/neovim/neovim/pull/26334
Discussions: https://discu.eu/q/https://github.com/neovim/neovim/pull/26334
Show HN: Python decorator to log local variables with each line of code run
https://pypi.org/project/tracelogger/
Discussions: https://discu.eu/q/https://pypi.org/project/tracelogger/
Benchmark of WebAssembly runtimes in Go
https://github.com/Seb-C/go-wasm-runtime-benchmark
Discussions: https://discu.eu/q/https://github.com/Seb-C/go-wasm-runtime-benchmark
Kellnr - The Rust Crate Registry - Release 5.0.0 is out
https://kellnr.io/blog/release5
Discussions: https://discu.eu/q/https://kellnr.io/blog/release5
Seeking advice for developing a UI library
https://github.com/hooksw/konify
Discussions: https://discu.eu/q/https://github.com/hooksw/konify
Interesting discussion:
โIs Ada Safer Than Rust?โ, /r/ProgrammingLanguages (https://old.reddit.com/r/rust/comments/17miqiu/is_ada_safer_than_rust/).
Via HN: https://news.ycombinator.com/item?id=38498775
#Ada #Rust #Programming #Safety #MemorySafety #PLDI #ProgrammingLanguages
โRoc: A Fast, Friendly, Functional Languageโ, Richard Feldman (ex #Elm), et al (https://www.roc-lang.org/).
On HN: https://news.ycombinator.com/item?id=38346862
On Lobsters: https://lobste.rs/s/lskhwr/roc_programming_language
On /r/ProgrammingLanguages: https://www.reddit.com/r/ProgrammingLanguages/comments/17zp4m7/the_roc_programming_language/
Lucka 3 - Far รฅ flyg
Idag รคr det fรถrsta advent och det รคr dags att รถppna lucka 3 i Agicals julkalender med en spelmakarstuga. Nu bรถrjar det รคntligen rรถra sig pรฅ skรคrmen dรฅ vi fรฅr lรคra oss hur man ritar ut en cirkel pรฅ skรคrmen som kan styras med hjรคlp av piltangenterna.
https://macroquad-introduktion.agical.se/ch2-move-a-circle.html
#rust #gamedev #game #programming #AdventCalendar #macroquad

I have a new blog post: Linux on my Surface Go - Edward.Delaporte.us
at https://edward.delaporte.us/blog/surfacego/
My $500M Mars rover mistake
https://www.chrislewicki.com/articles/failurestory
Discussions: https://discu.eu/q/https://www.chrislewicki.com/articles/failurestory
Your Framework Is Not Your Religion โ Human identity doesn't (yet) run on JavaScript.
https://dodov.dev/blog/your-framework-is-not-your-religion
Discussions: https://discu.eu/q/https://dodov.dev/blog/your-framework-is-not-your-religion
Using Rails helpers (x_component) for rendering ViewComponents
https://answers.abstractbrain.com/using-rails-helpers-x-component-for-rendering-viewcomponents
Discussions: https://discu.eu/q/https://answers.abstractbrain.com/using-rails-helpers-x-component-for-rendering-viewcomponents
Is Programming Erlang (2nd edition) by Joe Armstrong
https://pragprog.com/titles/jaerlang2/programming-erlang-2nd-edition/
Discussions: https://discu.eu/q/https://pragprog.com/titles/jaerlang2/programming-erlang-2nd-edition/
rustls 0.22 is out with pluggable crypto providers and better CRL support
https://github.com/rustls/rustls/releases/tag/v/0.22.0
Discussions: https://discu.eu/q/https://github.com/rustls/rustls/releases/tag/v/0.22.0
Looking for code review on my AOC 2023 Zig solution
https://github.com/EvgeniGenchev/adventOfCode2023Zig/blob/master/day1/trebuchet.zig
Discussions: https://discu.eu/q/https://github.com/EvgeniGenchev/adventOfCode2023Zig/blob/master/day1/trebuchet.zig
In my 20th year of #python #programming, ass-deep in a project that's occupied over 5% of that time now, I find myself thinking a lot about Donald Knuth (age 85) who I believe was the one to say "relentlessly refactor" along with the warning that "premature optimization is the root of all evil."
https://en.wikipedia.org/wiki/Donald_Knuth
Been talking to machines for 40 years now. Love every day of it.
Plants and animals go from a single cell to complex interconnected arrangements of specialized modules of cells. This is what happens in #programming when you relentlessly #refactor your #ObjectOrientedProgramming #code.
Smelly big methods split into smaller ones, and then when there are too many, their smelly big #class splits, and then the module it's in starts to smell, too, and you have multiple modules. Then sub-packages--while your unit tests are the blood vessels that feed it all.
Does anyone have any tips on how to #rebuild #confidence to be a good #student or self learner?
I used to be pretty good and disciplined about it, but I have been feeling dread to pick up books and projects that I used to not have.
ChatGPT Isn't Coming for Your Coding Job
https://www.wired.com/story/chatgpt-coding-software-crisis/
Discussions: https://discu.eu/q/https://www.wired.com/story/chatgpt-coding-software-crisis/
reaction, in replacement of fail2ban
https://blog.ppom.me/en-reaction/
Discussions: https://discu.eu/q/https://blog.ppom.me/en-reaction/
Understanding the Rails Router: Why, What, and How
https://www.writesoftwarewell.com/understanding-rails-router-why-what-how/
Discussions: https://discu.eu/q/https://www.writesoftwarewell.com/understanding-rails-router-why-what-how/
I got roasted by Prime (Youtuber) - and lived to love it. Why C++ is better than Rust.
https://www.youtube.com/watch?v=Wz0H8HFkI9U
Discussions: https://discu.eu/q/https://www.youtube.com/watch?v=Wz0H8HFkI9U

The #Rust Foundation to Develop Training and Certification Program
Sooo, after coming across the most awesome slim case ever, I couldn't help but put some of the spare RAM I had to good use by building a new #dev setup!
Sure, I've got a beast running in the office, but maybe I'd like to do some casual #gaming in my livingroom after some #programming on #nixos!
This mini-ITX board is the cutest, beefiest mofo I've ever bought for a build! ๐ค๐๐ :nixos:

Slashdot: Java Tries a New Way to Use Multithreading: Structured Concurrency https://developers.slashdot.org/story/23/12/02/1919255/java-tries-a-new-way-to-use-multithreading-structured-concurrency?utm_source=rss1.0mainlinkanon&utm_medium=feed #Tech #slashdot #Technology #programming
Is being a "minimalist programmer" a thing? ๐
As in a programmer who specializes in coding with as few external dependencies as possible. Or is this just generally frown upon?
#Nuclear is a #FOSS streaming #music player and a #Spotify alternative. It lets you listen to #music for free without ads and tracking.
#fedi22 #linux #foss #technology #programming #webdev #opensource
"Just build things!" is the advice you keep hearing... but what should you build?
Read more in this post:
https://www.devleader.ca/2023/10/31/how-to-generate-endless-ideas-for-programming-projects/

I am not doing the advent of code. Doing it is fine with me.
These puzzles would be neat but my actual work gives me plenty of puzzles.
Doing puzzles may help to learn a new language or library. But projects with more intrinsic motivation seem to work better for me.
For those who enjoy adventing advent away! But others: please don't feel obligated to participate to keep up. Plenty of other ways to learn. Relaxing is important too.
You don't need JavaScript for that
https://www.htmhell.dev/adventcalendar/2023/2/
Discussions: https://discu.eu/q/https://www.htmhell.dev/adventcalendar/2023/2/
The state of GHC (Haskell Implementors' Workshop 2023)
https://www.youtube.com/watch?index=2&list=PLyrlk8Xaylp5ahGXwF_NvYEhVOnedRIAs&v=LFIL0myeOlo
Discussions: https://discu.eu/q/https://www.youtube.com/watch?index=2&list=PLyrlk8Xaylp5ahGXwF_NvYEhVOnedRIAs&v=LFIL0myeOlo
Easy to use OpenID Connect client and server library written for Go
https://github.com/zitadel/oidc
Discussions: https://discu.eu/q/https://github.com/zitadel/oidc

New package from the Laravel team: Laravel Pulse - Now in Beta
Discussions: https://discu.eu/q/https://pulse.laravel.com/
I'm going to make an effort at doing #adventofcode this year. I fully expect to fall behind and generally be slow, because life, but these #programming exercises are interesting, and I need something to re-sharpen my newborn #parenting brain.
I'm doing everything in #nodejs #javascript because, you know what, I like it, despite all the (sometimes justified) hate it receives. Also, that's what my static site generator is written in, so that's where my #coding brain is currently most comfortable.
Onyx, a new programming language powered by WebAssembly
https://wasmer.io/posts/onyxlang-powered-by-wasmer
Discussions: https://discu.eu/q/https://wasmer.io/posts/onyxlang-powered-by-wasmer
Turbo Pascal turns 40
https://blog.marcocantu.com/blog/2023-november-turbopascal40.html
The first procedural programming language I ever learned was Pascal, taught in my high school AP Computer Science class. We used Turbo Pascal on a small number of DOS clones with amber MDA displays back around 1989.
That class inspired me to sell my Atari ST and get a Tandy 1000TL to run Turbo Pascal. I had much fun toying around with it, making tiny programs.
Later, I purchased Turbo Pascal for the Macintosh and ran it on my Amiga 2000 with A-Max Mac emulator. Worked great!
#Pascal #TurboPascal #Borland #DOS #PC #Amiga #AtariST #programming #programminglanguages #NiklausWirth #blog

ACSLogo for MacOS X
https://www.alancsmith.co.uk/logo/
#logo #macOS #Mac #programming #apple #turtle #programminglanguages #OSX #learning
Tell me how long youโve been in #WebDevelopment without telling me. Iโll start:
My first web page was hosted by my local dial-up Internet service provider. The URL had a tilde (`~`) in it. #JavaScript hadnโt been invented yet.
chmod 777 cgi-bin/get_off_my_lawn.pl
Your specs need help with duplication, @caleb has the answers, helped me out a lot today!
https://blog.testdouble.com/posts/2022-06-29-define-methods-in-rspec/
The Future of PHP_CodeSniffer
https://github.com/squizlabs/PHP_CodeSniffer/issues/3932
Discussions: https://discu.eu/q/https://github.com/squizlabs/PHP_CodeSniffer/issues/3932
@nixCraft My colleague gifted me this box when I was in #IBM Research (pictures taken in 2015). Alas I gifted it to another Turbo Pascal fan when I left.
Love #TurboPascal -- cut my teeth on this. :-)



Somehow, whenever I write Rust, I feel like it's not really for me. I always spend so much time dealing with Rust logic, and so little time on actually writing the code I want.
I can understand how it suits a lot of people to have an extremely clear visualization of the path their code takes when it runs, but I prefer to write less code, even in that means sacrificing performance.
#Rust #Rustlang #programming #software #coding #softwaredevelopment
@SonnyBonds
Me Basically: GW, Turbo, VB1, VB2, VB3, Quick, VB-DOS, VB4, VB5, VB6, VBA
Dabbled in VB.Net but didn't write any serious amount of code in it.
I think a lot of my cohort has had a similar journey.
#Development #Launches
Advent of Code 2023 ยท An Advent calendar of small programming puzzles https://ilo.im/15xale
_____
#Programming #WebDev #AdventCalendar #Puzzle #Leaderboard
Iโve an itch to start exploring #Python for small personal projects using #LLM on local text files.
Did some #coding in PHP like two decades ago. Not much #programming since then.
Where/how do I get started? Tools? Libraries? Tutorials?
MacOS will be where I do this.
Stolen from Reddit:
โThatโs why the language every programmer knows is profanity.โ
All my EDR rules are LOLBIN/LOLBAS based lately. Writing detection rules is a fun way to pair #Programming and #InfoSec , really feel like I've found my calling.
Thank you all for making this such a fun community ๐โ๐ฑโ
It's time for #AdventOfCode again! I never finish all 24 days with my rusty programming skills, but it's always fun to try a new language for the first 10-15 days.
Last year was #Swift, but this year will be #python and learning to work in #jupyter notebooks.
If you try it out and are comfortable doing so, don't forget to support the dev :)
@nixCraft
Good memories! That's where my serious programming journey began.
Turbo #Pascal 6.0, then 7.0, then Borland Pascal, Borland Delphi.
Also Turbo C, which was a 1:1 clone of the same IDE but simply C instead of Pascal. All these compilers were really "turbo", what a speed!
#clang #programming #90s
Three problems of pinning
https://without.boats/blog/three-problems-of-pinning/
Discussions: https://discu.eu/q/https://without.boats/blog/three-problems-of-pinning/
Alright, I've set up my repo for Advent of Code. As in the past, I'll be using C# and building for readability and correctness instead of code golf or racing the leaderboards. This year I finally figured out how to keep the input files out of source control. Now I don't have to feel guilty about leaking the prompts! :blobfoxupsidedown:โ
My solutions will be on GitHub, updated as I complete them: https://github.com/warriordog/advent-of-code-2023
#AdventOfCode #AdventOfCode2023 #AOC2023 #Dev #Coding #Programming #CSharp #DotNet
mem_dbg is a crate to recursively compute the memory usage of a data structure or print its layout
https://crates.io/crates/mem_dbg
Discussions: https://discu.eu/q/https://crates.io/crates/mem_dbg
Code is read more than written, code is run more than read. I think this line of thought can be extended beyond code-writing, and used as a rule of thumb to identify problems and make decisions.
Waterfall CAD - a Declarative CAD/Solid Modeling Library
https://github.com/joe-warren/opencascade-hs
Discussions: https://discu.eu/q/https://github.com/joe-warren/opencascade-hs
Deep dive into CheerpJ 3.0: A WebAssembly Java Virtual Machine for the browser
https://labs.leaningtech.com/blog/cheerpj-3-deep-dive
Discussions: https://discu.eu/q/https://labs.leaningtech.com/blog/cheerpj-3-deep-dive