Programming

24475 readers
96 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 2 years ago
MODERATORS
901
 
 

They slowly started locking down the platform for people without accounts and it has been really annoying to use the website since. First it was not possible to search for code, then even searching for issues got more and more difficult with it randomly failing, and now it's gotten to the point where I can't search for a fucking project anymore!

Github's search is becoming as bad as reddit's, where if you want to find anything, a secondary service like SourceGraph, GrepApp, or even a dumb search engine is better. Sometimes those haven't indexed what I need (especially code search), so I have to download the bloody tarball and rg for whatever the fuck it is I was looking for. Sometimes it will also block the VPN I'm using, so I have to proxy to a non-VPNed machine. The world could do without these unnecessary roadblocks.

What also grinds my gears is requiring an account to contribute. There is no way to send in a patch, raise an issue, or anything without an account there, so by if a project being on github, you have no choice but to give Microsoft your data to participate in opensource. Don't get me wrong, mailing-lists are filth, but and I'd rather claw my eyes out than participate in any project demanding their use, but Microsoft being the "lesser evil" is not a good look.

Please, for the love of opensource, get your project off of github, please. It's a monopoly at this point and doing microsoft things. This isn't the end and they'll probably do more stuff to see how far they can push it. We'll all be the boiled frogs.

Yes, I know they have a CI and some other features, but if all you're doing is hosting your code, please consider an alternative.

Possible alternatives in alphabetic order:

  • Codeberg (could have federation in the future)
  • Gitlab (has CI)
  • ~~OneDev (no git SSH clone but feature-rich)~~ not an instance for the public
  • Radicle (no CI, but federated)
  • Sourcehut (minimalist, but fast as fuck)

or maybe others will suggest more.

902
903
904
905
906
197
submitted 1 year ago* (last edited 1 year ago) by SwordInStone@lemmy.world to c/programming@programming.dev
907
908
909
 
 

This is what it looks like in my head.

https://github.com/albert-tomanek/timevisu/

910
911
 
 

I have some background in Python and Bash (this is entirely self-taught and i think the easiest language from all). I know that C# is much different, propably this is why it is hard. I've been learning it for more than 4 months now, and the most impressive thing i can do with some luck is to write a console application that reads 2 values from the terminal, adds them together and prints out the result. Yes, seriously. The main problem is that there are not much usable resources to learn C#. For bash, there is Linux, a shit ton of distros, even BSD, MacOS and Solaris uses it. For python, there are games and qtile window manager. For C, there is dwm. I don't know anything like these for C#, except Codingame, but that just goes straight to the deep waters and i have no idea what to do. Is my whole approach wrong? How am i supposed to learn C#? I'm seriously not the sharpest tool in the shed, but i have a pretty good understanding of hardware, networking, security, privacy. Programming is beyond me however, except for small basic scripts

912
 
 

cross-posted from: https://lemmy.ml/post/24400832

This is a simple example of the level of Java inter-op bjForth currently provides.

913
 
 

A 10 minute read covering some YAML edge-cases that you should have in mind when writing complex YAML files

914
 
 

id like to ask if there is some guideline/advice for asking for open source contributions.

initially i thought i could just have open source code, documentation and communicate about it, but that doesnt seem to work for gaining contributors.

maybe there is something else im overlooking?

contributors would be using their own valuable time and effort so it could just be that my projects are not interesting enough. it might be worth concluding that i should proceed on this solo.

915
 
 

This (old) post details how to interfere with randomness to make it feel more random to the end user.

This reminded me of how many games “cheat” in a similar way to make critical hits seem more fair (increase the probability when it has not triggered for too long and decrease it when it just triggered)

916
917
 
 

Hey!

I'm currently hitting the limits with Postman's free tier and need your recommendations for alternatives. My company isn't planning to upgrade to the paid version, so I'm specifically looking for:

Must-have features:

  • Unlimited API requests
  • Collection runner or similar batch testing capability
  • Data import from spreadsheets for test automation
  • The collection runner feature is crucial for my workflow: I heavily rely on being able to import Excel data to generate and map multiple API calls without manual setup.

Has anyone switched from Postman to something else that offers these capabilities? What's your experience been like?

Thanks in advance for any suggestions! 🙏

918
919
920
921
 
 

One of two Azure CDN providers was Edgio, which filed for bankruptcy.

azureedge.net dotnet CDN URLs will cease to work sometime next year after January 15th.


We expect that most users will not be directly affected, however, it is critical that you validate if you are affected and to watch for downtime or other kinds of breakage.

We maintain multiple Content Delivery Network (CDN) instances for delivering .NET builds. Some end in azureedge.net. These domains are hosted by edg.io, which will soon cease operations due to bankruptcy. We are required to migrate to a new CDN and will be using new domains going forward.

Affected domains:

  • dotnetcli.azureedge.net
  • dotnetbuilds.azureedge.net

Unaffected domains:

  • dotnet.microsoft.com
  • download.visualstudio.microsoft.com
922
 
 

I'm thrilled to announce the release of bjForth v0.0.3 🎉

There's been a a heap of improvements and additions compared to the last release.

What's best is that they are automatically tested every time a change is pushed 😎

I dare you to Grab the latest tarball and hack yourself some serious Forth 😄

923
 
 

Sometimes I create a solution to a simple problem. However instead of making use of the solution, I keep extending it unnecessarily. This is why for this kind of project, I want to systematically restrain my future self from adding new features beyond the initial vision e.g. by actively refusing generic and re-usable code.

What is the search engine friendly term for this approach or at least for this situation? "Ad-hoc programming" may be literally what I'm talking about, but in practice it's associated with unplanned happenings.

924
 
 

Many of my friends use calorie trackers like Lose it! or MyFitnessPal. And I've heard many complaints about them locking basic functionality behind a subscription. The straw that broke the camel's back was not allowing barcode scanning without a sub. I've been looking for a meaty, pun intended, side project to pick up and decided to try to do some good while saving some people money!

  • Built using Tauri in order to use Angular for the GUI and get mobile platform support.

  • Data is stored on-device using SQLite.

  • Initially I'm only targeting Android, I'd love to target iOS too but I don't own any Apple devices to dev+test on.

  • I'd say it's a "late alpha" as of right now. It has most but not all functionality, but has only been tested by me so there are likely small bugs that need to be found.

  • My wife really likes manatees, hence the name.

  • I've commissioned an artist for a logo so that should be coming by February.

Would love to hear people's thoughts! Currently you'd have to build the app yourself, though I do have an item on my to-do list to generate signed APKs via a github action. Mostly I'm just looking to start spreading the word now and hopefully get some good feature requests or bug reports. If you've read this far, thanks for your time!

Edit: I figured out how to generate signed APKs via GitHub so I have a v0.2.0 Pre-Release up. It's already led me to finding out there are some bugs on Samsung phones that don't happen on my Pixel so please submit any issues you encounter! Thank you!

925
 
 

I'm making this thing called BDServer for my website blenderdumbass . org and I am coding some analytics tools for it right now, because apparently I found a new way to procrastinate.

I made some of the calls accessible to the public:

https://blenderdumbass.org/json/analytics/ua?days=10&skip_me=True&human_only=True

https://blenderdumbass.org/json/analytics/rss?days=10

https://blenderdumbass.org/json/analytics/totals

And also made a UI version: https://blenderdumbass.org/analytics

Am I going crazy?

view more: ‹ prev next ›