fell, to programming
@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 or 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 never an academic criteria?

I wish @cmuratori could see this...

maxim, (edited ) to mastodon
@maxim@mastodon.gamedev.place avatar

Hello programmers from

I have a question for you.

⭐ What programming language do you use most of your life? Why exactly?

Most of my time I worked with almost the entire .Net stack, and in recent years it's Unity, so my language is C#
There were episodes in my life with mobile, many web stuff, java, c++, databases, etc.

freemo, to ruby
@freemo@qoto.org avatar

Ya know the more I reflect on the languages I know the more I realize that outside of functional languages none of them really handle immutability well.

Consider that you want most of your objects to be immutable most of the time. Thats all well and good till you realize you want to be able to edit the objects in such a way that it creates duplicates that have some data changed but are likewise immutable.

This tends to stop working, almost entierly, once you get into subclassing. If you parent class has a method that returns a copy of itself with some data modified, this will break in children classes, since you want children classes to return instances of itself, not its parent.

Its not that you cant fix that, but the code gets very ugly very quickly. Generally you are forced to let the code handling the classes do the copying and editing itself, but that is pretty ugly too.

I have had this pattern problem in almost every OO language i messed with, Java, Ruby, Python, etc.

#Ruby #Python #Java #Programming #CS

Jdreben, to javascript

I regularly use and love . I used to use the most – it’s what I learned in and I am more interested in backends than frontends. I also am regularly using and really enjoying (so much better than ). But truly Typescript is bae.

is a joy to work with. Very much like Python but more powerful. If it had the library support Python or has I would probably prefer to use Julia for backends.

But Typescript really changed the game and now that’s probably my favorite language not just because of the language itself but because it has web dominance. Until I can write with Python or Kotlin or Rust, and I’m building applications, TS is my lingua franca.

I want to try because it’s the new hotness.

fell, (edited ) to programming
@fell@ma.fellr.net avatar
raccoon, (edited ) to programming

Been working on a new project the last couple of months and it's finally ready for beta release!

is a based client (available for , and under the Apache license) with a focus on and . Features:

  • Break long texts into threads
  • Scheduled posting
  • Hashtag research
  • quote tweeting emulation

https://fedimeister.onyxbits.de

ramsey, to php
@ramsey@phpc.social avatar

This article is all about how things are looking great for hiring Laravel devs in 2024, and I’m not seeing it.

I’ve been job-searching for 3 months, and very, very, very few of those jobs are decent-paying / jobs. Sure, PHP/Laravel jobs exist, but most (anecdotally) pay far less than the rate others are willing to pay for , , , , , , and developers.

The industry does not value the output of PHP developers.

https://laradir.com/blog/why-laravel-could-see-a-huge-rise-in-adoption-in-2024

isotopp, to Java German
@isotopp@chaos.social avatar

Support has been working in Slack for years.

There's a channel where people can join and ask, a channel and a channel, and there is of course .

Each has a small four digit number of people attending, with not quite reaching five digits.

steely_glint, to Java
@steely_glint@chaos.social avatar

I want to write a very simple web socket service that just passes json messages between connections (think chat but not).

My fave language is - but j2ee is just too much cruft config and layers.

I can't face using python ever again...

So it may have to be .

Background - I need > 100k connections, client certificates for auth and the messages are stateless.

No cloud - I can't afford it.

Recommendations ?

array, to Java
@array@fosstodon.org avatar

I'm slowly progressing with my project, which I started to learn how to use the framework. But I'm a bit worried about eating most of my 8 GBs of RAM each time I run the project. It's a very simple one so far... Does a Spring project really need to use so much resources (this never happened, not even close, with "vanilla" Java), or is Eclipse having a memory leak?

asgrim, to Java
@asgrim@phpc.social avatar

I got a Stream Deck delivered today and started playing around with it already, very handy for step debugging! I have several other ideas already to improve my workflow too...

khalidabuhakmeh, to Java
@khalidabuhakmeh@mastodon.social avatar

Hot take: is not that bad, in fact, it's pretty good.

preslavrachev, (edited ) to Java
@preslavrachev@mastodon.social avatar

Probably, an unpopular opinion, but hear me out: Java needs developer tools that are lightweight and built with native performance in mind. The existing ecosystem is solid, but slow and inefficient.

We can start with a simple formatter built in Rust, which takes nanoseconds to format your codebase, and does it relentlessly, without relying on you giving it any configuration options at all. Think, gofmt, rustfmt, Ruff’s Black-compatible formatter, etc.

Is this … ?

britter, to linux
@britter@chaos.social avatar

It was surprisingly easy to port all my custom fish and git config to home manager. The next big thing I need to figure out is how to manage multiple java versions and assign their directory to environment vars. Currently using @asdf_vm but it doesn‘t seem to work on @nixos_org.

FineFindus, to rust
@FineFindus@floss.social avatar

You know you have been programming too much
code if you start writing (null) safety comments in

ramsey, to python
@ramsey@phpc.social avatar

Going through a course and finding it interesting that the instructor recommends using double quotation marks for strings (instead of single) because “it’s the most popular form of quotes across all programming languages.”

Yes, I’m brushing up on my Python and right now, for job-searching reasons.

smurthys, to Java
@smurthys@hachyderm.io avatar

I cannot get over how Java's String class is a "character sequence" yet we can't write the following code we so expect should be possible:

IMHO CharSequence should be iterable.

kenkousen, to Java

Tales from the jar side: JVM Weekly is great, AI tools for Java devs, Spring office hours, and the usual assortment of toots and skeets, by @kenkousen

https://open.substack.com/pub/kenkousen/p/tales-from-the-jar-side-jvm-weekly?utm_campaign=post&utm_medium=web

dsw, to opensource German
@dsw@mastodontech.de avatar

In my open source projects I am still on the bottom right corner.

My projects are quite old and it will require a bigger effort to update them.

freemo, to workersrights
@freemo@qoto.org avatar

I am still looki g for top notch programmers and data scientists to hire for 100% remote. Hit me up. Open source contributors get top consideration.

kosmikus, to haskell
@kosmikus@functional.cafe avatar

Later today, 2024-05-15, at 1830 UTC, join Edsko and me for the 25th episode of the "from to Haskell" live on .

https://well-typed.com/blog/2024/05/haskell-unfolder-episode-25-from-java-to-haskell/

hrefna, to Java
@hrefna@hachyderm.io avatar

I do not, in principle, hate the concept of checked exceptions that uses. It's standard type theory: an "exception" is just saying "this type can return an error that looks like so." It's not my favorite pattern, but I don't hate it.

But I despise how it is used in practice in the JDK, especially in the older corners of the JDK.

maxim, to programming
@maxim@mastodon.gamedev.place avatar

Programmers, developers, coders!

Let's get to know each other in Mastodon

📻 Make a repost, write what you do and where you are from
🤝 Subscribe each other
🛰️ Let this signal pass through all obstacles

Let the wave flow! Halt and Catch Fire!

Codixer, to linux
@Codixer@enshittification.social avatar

#introduction
GREETINGS MORTALS AND ALL FEDIVERSE OWNERS

I'm Codixer, also known as Stefano or u/TCOOfficiall. I am the owner of the @Enshittification server and hope to bring a whole new community to the Mastodon space for everyone to enjoy!

I code, do systems administration and enjoy working on projects like this Mastodon instance. If you have any questions, feel free to DM me!

I enjoy working with #linux and #java and explore a multitude of OS projects.

Until next time on the #fediverse!

walkerb, to programming

I'm playing with just now (never done anything serious in it) and I had setup my environment recently as well (playing with different options for a linux/windows GUI that didn't need different code for each).

I saw a language speed comparison chart that listed a formula used to calculate Pi to a given accuracy. It showed a 10x difference in speed in favor of Java.

As a little end of work day jolly I thought I'd recreate that on my local machine and see.

I wasn't familiar with the formula so I used to get the formula. That took some clarification to get the correct formula out, but it got there in the end ( -1 to the power and not -1 times).

I wrote the Python version first, and then wrote the same thing in Java.

Running the test I came up with a 5x difference in Javas favor (24s for Python, 5s for Java).

Fun end to a sunday.

Part of the conversation with chatgpt to get the forumla used. Took a little back and forth to clarify the top term
Python taking about 24 seconds for 100M iterations
Java taking about 5 seconds for 100M iterations

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