Programming

CGM,
@CGM@mastodon.scot avatar

The first beta release of Tcl/Tk 9.0 is now available - https://www.tcl-lang.org/software/tcltk/9.0.html

New features include general conversion to 64-bit architecture allowing very large data structures, support for the full range of unicode characters, ability to mount zip archives as virtual filesystems, etc.
@tcl @tcl

mjgardner,
@mjgardner@social.sdf.org avatar

@Perl Happy 36th to the language!

v1.0 then:
“Perl is kind of designed to make and semi-obsolete […] The language is intended to be practical (easy to use, efficient, complete) rather than beautiful (tiny, elegant, minimal).” https://github.com/Perl/perl5/releases/tag/perl-1.0

v5.38.2 now:
“Perl is […] now used for a wide range of tasks including , , network programming, development, and more.” https://perldoc.perl.org/perlintro#What-is-Perl%3F

dragonsidedd,
@dragonsidedd@sciencemastodon.com avatar

@mjgardner @Perl I remember first encountering Perl as Perl3, just before Perl4 and the Camel book. I remember looking at the crazy sigils and deciding, "this is it, the first new language I don't bother to learn."

6 months later, I had learned.

30+ years later, the majority of my working life continues to be spent manipulating those sigils. @rrays and $calars and h%shes FTW!

sjfloat,
@sjfloat@mastodon.social avatar

@mjgardner @Perl For me, it did replace awk and sed. Not to mention a goodly portion of the C and Bourne shell I was then writing.

AminiAllight,
@AminiAllight@mastodon.gamedev.place avatar

So... who's responsible for this little booby trap? 🙄

aeva,
@aeva@mastodon.gamedev.place avatar
dotstdy,
@dotstdy@mastodon.social avatar

@AminiAllight inherited from FLT_MIN I expect. If you work on a large codebase, there's a good chance you will find bugs just by searching for FLT_MIN or this constant. :')

amber,
@amber@front-end.social avatar
kboyd,
@kboyd@phpc.social avatar
dentangle,
@dentangle@chaos.social avatar

Dreamt that I accidentally did a git checkout while driving, and I could see all the files appearing in the rear-view mirror scattered on the road behind me. Had to pull over and try to remember the incantation to clean up the mess.

🐧 💤

markhughes,
@markhughes@mastodon.social avatar

@dentangle I believe this is called hypnogogia. 👏

svetlyak40wt,
@svetlyak40wt@fosstodon.org avatar

Are there any people who are interested in and wanna learn ?

I could become a mentor taking help with my opensource projects as a "payment".

Please, boost this message!

louis,
@louis@emacs.ch avatar

@svetlyak40wt @djrmarques I see there are already many candidates who would like to contribute. Just an idea: let's have a video call with everyone and discuss your expectations and a way to move forward. I hav an eye on the Reblocks project for a while and with my new Lispworks license would love to contribute to it, if I have a peer to ask questions without feeling embarrased :)

svetlyak40wt,
@svetlyak40wt@fosstodon.org avatar

@louis @djrmarques Cool idea, however in nearest few days I probably will be too busy because of a large family event.

Anyway, I'll collect all contacts and will try to organize a call a liittle bit later.

fell,
@fell@ma.fellr.net avatar

Without going into too much detail, my thesis was criticised for developing a web service with C++. I It was questioned why I didn't use #NodeJS or #Java for the web service. "It's not performance critical" said the professor.

Dude, have you used the internet lately?

EVERYTHING is performance critical!

This sort of teaching explains why most aps/websites run like absolute dogshit.

Why is #performance never an academic criteria?

I wish @cmuratori could see this...

#cpp #programming

DanielaKEngert,
@DanielaKEngert@hachyderm.io avatar

@setebos @fell @folkerschamel If your job is to call a bunch of API functions from external libraries (usually implemented in one of the system languages) that do the heavy lifting, then any language will do (COBOL anyone?). It's only familiarity (and hence velocity) that matters then. And cost of operations.

_alen,

@folkerschamel @fell I agree with this. In my experience, people asume that something is slow just because it’s written in #python and usually it turns out that it’s because of developer oversight. In cases where Python is indeed a problem, I managed to solve most of my performance issues with caching, or simple code tweeks.

nixCraft,
@nixCraft@mastodon.social avatar

This was totally unexpected 🤣 The new guy 🙋‍♂️ Credit: https://twitter.com/rita_codes/status/1668227080046223365

video/mp4

solohan83,

@nixCraft Remember guys, Lights, attract bugs.

twipped,
@twipped@twipped.social avatar

@nixCraft @timbray oh no, I’m an Andrew

filipw,
@filipw@mathstodon.xyz avatar

I have spent the past ~7 years helping build the open source OmniSharp, a C# language server, until I retired from the project earlier this year.

For years it provided the backbone for C# experience in Visual Studio Code and other editors and was used by millions of developers. Despite all of its problems, it has to be remembered that it was built in free time by a small group of passionate folks, and building a language experience and providing constant support in this quickly changing landscape is not technically trivial and emotionally very burdening.

From that perspective, I am glad to see that C# developers will finally get a first party language server, supported by the actual MS.NET tooling team https://devblogs.microsoft.com/visualstudio/announcing-csharp-dev-kit-for-visual-studio-code/. What is still not clear to me is licensing - it should be open to all editors and not only VS family of products.

TimPurdum,

@arielcostas @filipw I think the reasoning stems from borrowing proprietary code from VS to make the new extensions work. Not saying it's right, just that's what I understood.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar
hynek,
@hynek@mastodon.social avatar

I’m staying out of the nogil discussion, b/c I don’t feel like I have a lot to add, but I need to plant my flag now:

Leaving aside the INCREDIBLE effort Sam went thru, the discussion around it is disingenuous with constant goal post moving and frankly myopic.

Yes, threads as a user-level abstraction are BAD.

But we’ve never built higher-level abstractions for them and guess what: asyncio gets 1.5–2.5x faster on nogil w/o any API being designed for it: https://discuss.python.org/t/pep-703-making-the-global-interpreter-lock-optional-3-12-updates/26503/17

[1/4]

hynek,
@hynek@mastodon.social avatar

Imagine the gains we could put in the stdlib with true parallelism. But we’ll never know w/o letting ppl play w/ it. We can only tell ourselves that “it wouldn’t have worked out anyway” & similar things ppl tell themselves to calm gnawing regret.

We’ll never get a nice actor system that communicates by sending objects b/c WE HAVE TO SERIALIZE TO BYTES & DESERIALIZE AGAIN.

This is a handbrake we do to ourselves. Making this suck less with hand-optimized assembly won’t make it NOT suck. [2/4]

hynek,
@hynek@mastodon.social avatar

So this is it. This is our chance to make Python parallel-first in a world where my laptop has 12 cores and our average server has 128.

Sam did the impossible and nobody is gonna do it again if we blow this. We’ll be stuck with kludgy workarounds and stopgaps forever.

I hope the Steering Commitee can see that in all the noise and we can find a way forward. [4/4]

mariatta,
@mariatta@fosstodon.org avatar
smurthys, (edited )
@smurthys@hachyderm.io avatar

A serious question for C and C++ programmers:

What are the benefits of using C over C++ for greenfield projects, setting aside build times and such.

In other words, is there anything that can be done in C that cannot be done at least equally well in C++? Is there something that can be done in C that just can't be done in C++? What are the dealbreakers?

(No language wars please.)

Boosts appreciated: my sphere of influence is quite small. 🙏

#c

PeterSommerlad,
@PeterSommerlad@mastodon.social avatar

@smurthys
if C23 is ratified and while C++ is not yet based on it, you get assert(...) as a variadic macro in C23 but not in C++23:-) (I am guilty and working on it. )

gracicot,
@gracicot@mastodon.social avatar

@PeterSommerlad @smurthys that is, if C++ make it not a macro with contacts and choose to not introduce the ass keyword 🙃

valhalla_dev,

I found out yesterday that my contract was terminated, effective immediately. This was incredibly surprising and heartbreaking, but I'm focused on the future!

If anyone knows of any software development jobs focused on , , or , hit me up! I'm pretty urgently searching.

jerry,

@valhalla_dev sorry to hear. Hopefully you can find something new soon

chrisjrn,
@chrisjrn@social.coop avatar

If there's one piece of guidance I wish everyone knew:

If a conference puts up a detailed guide about how to maximise your chances of acceptance: read it, and apply that guidance in your proposal. If there are specific things they say you should do, do them! If there are things they say not to do, then don't do them.

Hint 1: has a guide! https://2023.northbaypython.org/speak

Hint 2: You can still edit your proposals :)

chrisjrn,
@chrisjrn@social.coop avatar

@skimbrel
I'm not sure I can raise a single eyebrow far enough

offby1,
@offby1@wandering.shop avatar

@chrisjrn @skimbrel I am definitely here for this.

I'll sell tickets.

talkpython,
@talkpython@fosstodon.org avatar

To celebrate the release of our new mobile apps, we are offering our "Up and Running with Git" course from @talkpython 100% free for 1 week.

To get access, just install our mobile app, visit the courses tab, find git in the free courses section, and you'll have it forever.

https://training.talkpython.fm/apps

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