Programming

LeeFromVT,
@LeeFromVT@masto.ai avatar

I have a public server. I have not posted it here. as i talk about stuff freely here but the game is an escape of real life. I don't even allow political chat in game, because its a game. I do support players of all types. Even parent/child gamer that stop in.

Right now I'm doing a "Relaunch" to get back to the original ideal of my servers. Custom PVE adventures. Even though Dungeons stole my ideas, 😂

Feel free to DM me if you want the join link to see, maybe offer ideas.

tewha,

Is showing a system message box in MVVM from the ViewModel a mistake? Feels like that should be a View thing, but then again the View is primarily concerned with the "main" view, for lack of a better term.

It makes it hard to write an automated test for the ViewModel, though.

jai_oh,
@jai_oh@mastodon.social avatar

Which programming language considers that the programmer may not always have all the spoons and energy cuz "life" and taking care of fam? That a programmer isn't just ppl with lots of resources and time?

I've never asked this question before. Thoughts? What features would this language have? Hmm. 🤔

ADDED: Esp. what would make this lang better when reading other ppl's code? 🤔 Maintenance work, not just new stuff.

j3j5,
@j3j5@hachyderm.io avatar

Does anybody out there has experience using the S3-like API with or on ?
I can't seem to make it work to upload files but it seems to work fine for other calls. When try to do a PUT it tells me "The AWS Access Key Id you provided does not exist in our records" but I can check for file existence with the same creds just fine.

dcreemer,
@dcreemer@sfba.social avatar

I've updated my sample application to use "ruff" instead of "flake8" and friends. There is so much confusion on how to structure and install a Python program, but fortunately the community is moving in the right direction at a nice page.

https://github.com/dcreemer/sample

itnewsbot,
@itnewsbot@schleuss.online avatar

A Crowd-Funded Startup Is Making a Coffee Cup That Can Be Eaten - An anonymous reader quotes a report from Bloomberg: A trash can overflowing with d... - https://developers.slashdot.org/story/23/05/19/2144202/a-crowd-funded-startup-is-making-a-coffee-cup-that-can-be-eaten?utm_source=rss1.0mainlinkanon&utm_medium=feed

ramikrispin,
@ramikrispin@mstdn.social avatar

Standford Engineering released today a seminar about Transformers 🚀. The seminar - CS25, is run by Div Garg, Steven Feng, and Rylan Schaeffer and focuses on the following topics:
✅ How transformers work
✅ Types of transformers
✅ Applications of transformers in the fields of ML, NLP, CV, biology, etc.

➡️ Video lecture: https://www.youtube.com/watch?v=XfpMkf4rD6E
➡️ Course website: https://web.stanford.edu/class/cs25/

jamesthebard,

Work continues on the mos6502 emulator project, and not gonna lie: surprised that I got 7 out of 8 on the ADC and SBC tests I wrote. If it's only the ADC decimal flags that are wrong, then I'm counting that as a good swing...now to fix it.

sethmlarson,
@sethmlarson@fosstodon.org avatar

and using in browsers, the future is now! 🤯

https://praeclarum.org/2023/05/19/webgpu-torch.html

villares,
@villares@ciberlandia.pt avatar
davep,
@davep@fosstodon.org avatar

Current status: mildly annoyed that pathlib.py hard-codes ~ in multiple places rather than having an exposed HOME_CHAR or something.

jbzfn,
@jbzfn@mastodon.social avatar

「 Back in 1996, Sun was the keeper of Java and promoted it heavily. They even released a diskless workstation that only runs Java applets. The Sun JavaStation was affectionately called the “Mr. Coffee” 」
— hackaday


https://hackaday.com/2018/04/10/the-forgotten-workstation-sun-javastation/

ivan18rod,
$ echo "console.log('Hello, Calckey')" > index.js
$ node index.js
Hello, Calckey!

I am Ivan Rodriguez. I am a college student in #Amarillo, #Texas. I am learning to become a full-stack #webdeveloper, and although I have not used all of them, I know the basics of many of the mainstream #programming languages (see the color-coded doughnut chart below).

Besides programming, I am an ameture #journalist (when I have the time and energy to do so), and I like learning more about the world; I decided to open this alt to talk about programming-related stuff and my projects (one of which is @JokeBot BTW).

Where else you can find me:

My main account: @ivan18rod

Medium: https://medium.com/@ivan18rod

GitHub: https://github.com/IRod22

Matrix: https://matrix.to/#/@ivan18rod:matrix.org

chrisjrn,
@chrisjrn@social.coop avatar

Do you have your North Bay Python proposals in yet?

There still time, I promise! https://pretalx.northbaypython.org/nbpy-2023/cfp

itnewsbot,
@itnewsbot@schleuss.online avatar

Hands-on with MicroStream: A fresh approach to Java persistence - MicroStream is one of the most interesting projects in the Java space currently. It ta... - https://www.infoworld.com/article/3695702/hands-on-with-microstream-a-fresh-approach-to-java-persistence.html#tk.rss_all

suppi,

Did you know? impurepics is working on a Video series based on 'Learn by building a blog generator'. 8 videos have already been published covering up-to (and including) the I/O chapter!

Here's the playlist on youtube:

https://www.youtube.com/watch?v=ZL0qExCnO8g&list=PLxn_Aq3QlOQcXoHWdzxnnuGlGWNXJg43R&index=2

walkerb,

Yellow river kingdom is now an actual game you can lose...

I fixed some bugs in the calculations tonight, added end of game detection and changed the messages to match the original.

Now I need to finish the map and animations.

https://github.com/nakedmcse/PyYellowRiverKingdom/commits/master

valorin,

Yesterday Laravel Security in Depth became Securing Laravel! 🎉 🎂

With 16 In Depth articles and 45 security tips, and lots more to come, I am immensely proud and excited for the future! 🥰

For all the details and a special offer: https://securinglaravel.com/p/laravel-security-in-depth-securing

jbzfn,
@jbzfn@mastodon.social avatar
tshirtman, French
@tshirtman@mas.to avatar

I sometimes see people write in

> isinstance(value, int) or isinstance(value, str)

although isinstance has been able to check for multiple types at once for as long as i remember, using.

> isinstance(value, (int, str))

so i refered someone to the official doc today https://docs.python.org/3/library/functions.html#isinstance

and realized it’s even better now, one can use union types

> isinstance(value, int | str)

Easy to miss that improvement if as me you’ve been using python for long enough you don’t look up docs.

walkerb,
charlesdebarros,

This week, Week 9 of our Data Citizen Bootcamp at Cambridge Spark, was a gentle intro to Python for Data Analysis, including an intro to the Pan

I found a very nice article called "A Beginner’s Guide to Data Analysis in Python" written by Natassha Selvaraj. It is a very well-written article with plenty of examples to follow through. Most definitely worth a read.
Enjoy! 😉

https://towardsdatascience.com/a-beginners-guide-to-data-analysis-in-python-188706df5447

itnewsbot,
@itnewsbot@schleuss.online avatar

Turning Old Kindles into AI Powered Picture Frames - While we tend to think of Amazon’s e-paper Kindles as more or less single-purpose ... - https://hackaday.com/2023/05/15/turning-old-kindles-into-ai-powered-picture-frames/

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

The latest EAP release of adds new rules for fluent interface calls for your applications.

https://blog.jetbrains.com/dotnet/2023/05/15/resharper-2023-2-eap1/

xavdid,
@xavdid@mastodon.social avatar

I'm over the moon that the helper function I write more than any other, chunks, is coming to the stdlib in 3.12 as itertools.batched(iterable, n)! It takes a long iterable and yields chucks (or batches) of length n.

I think I've pasted the same Stackoverflow snippet into... 10 projects at this point? So this is huge for me.

https://docs.python.org/3.12/library/itertools.html#itertools.batched

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programming
  • kavyap
  • ngwrru68w68
  • tacticalgear
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • Durango
  • slotface
  • everett
  • vwfavf
  • rosin
  • anitta
  • Leos
  • khanakhh
  • GTA5RPClips
  • cisconetworking
  • InstantRegret
  • ethstaker
  • osvaldo12
  • tester
  • provamag3
  • modclub
  • cubers
  • normalnudes
  • megavids
  • JUstTest
  • All magazines