Spyke

Posts

youshouldknow·You Should Knowbyfbmac

YSK: When you want to learn the facts on a controversial topic, check Wikipedia

When there is a heated, with a lot of strong and exaggerated arguments on both sides, and I don't know what to believe, or I'm overwhelmed with the raw information, I look at Wikipedia. Or even something that is not a current event, but the information I found on the internet doesn't feel reliable.

I'm sure some would find flaws there, but they do a good job of keeping it neutral and sticking to verifiable facts.

View original on lemmy.fbmac.net
adhd·ADHDbyfbmac

Suggestion: Ask doctors you know that give affordable remote consultation internationally to put their contact on this group

I read a lot of people on reddit's r/adhd were they suffer with ADHD (or something similar, as they aren't diagnosed) but can't afford it. I read one that said they spend over US$ 1000 and had to stop looking because of the price.

I'm Brazilian, on the Brazilian private care, I was paying around 60USD for 1h talking to a doctor. A doctor that is fluent in English will probably charge more to treat international patients.

My full diagnose took around 10 visits, so it wasn't super cheap in comparison, but it was very through. I can share a translated version of the report I got on private message if anyone is curious.

edit: I created the I created [email protected] as suggested by @[email protected]

View original on lemmy.fbmac.net
rust·Rustbyfbmac

Async is fine

All these posts about async are making the freedom to choose our runtime seem like a bad thing.

For most people, we can just accept Tokio as the de facto standard, and everything is good. Having the other runtimes only makes things better. Don't do anything weird and it won't be too much work if you need to change.

Any big change you miss is bound to either be implemented in Tokio or be too different for any abstraction to save you from the work.

If you're writing a library that you want to be reusable by everyone, I understand your frustration that it's not easier to make it universal for all async runtimes. You can still choose one, minimize the code you would have to change to implement others, and appreciate that in almost every other programming language you don't get more than one async engine anyway.

View original on lemmy.fbmac.net
programming·Programmingbyfbmac

[rambling] Some programming languages are better when you lack social skills

This is just an anedoctal observation, don't generalize based on just this. It's something I've been thinking for a while.

I've been on development since the end of the 90s. I noticed that in the last positions, I did much more interviews for higher level languages then for C and C++, but got jobs on the fewer interviews that were looking for C and C++.

There's many other variables, I think more than half the ones I landed I had strong referrals from people that already worked with me.

The referrals were the most important thing to bypass being poor at interviewing, but with C++ it is a smaller world around here, and there is less people to compete with the referrals themselves. There isn't as many people that you reference for those.

I'm wondering what other modern languages I should build experience on to future proof myself a little better.

I like Rust, I'm using it in some smaller things. I didn't see much of it out of the blockchain market until I noticed Lemmy.

There is Golang love the idea that they focus on fast build times. At my current job I have projects that take 1h to 4h to compile on C++, if it was golang it would be so much better.

The stackoverflow survey says that Clojure is the most well paid programming language. Chances are it got it's status for both being niche and having positions available for it, that is a good signal that they could hire someone that is bad at interviewing (probably not with the salary they said on the stackoverflow survey).

I suspect Closure isn't easy to move into. Being niche and the language that pays better, something is keeping people away from it, and I don't know what it is yet.

View original on lemmy.fbmac.net
programming·Programmingbyfbmac

20+ years of xp, interviews are still hard, still dunno what to do with carrear

I think my interview/offer ratio is somewhere below 1%. One factor that you probably guessed is I have very low social skills, well documented in my psychological evaluation that I did to diagnose my ADHD.

I started learning programming about as a preschool kid, in the 8 bits era, then did some Visual Basic desktop apps, C, .NET, embedded C payment devices, vehicle plate recognition systems, backend of payment systems, android programming, etc.

Changing that much was probably a bad thing, as a senior any position I attempt I'll be competing with people that is focused on the same stack for years.

All the best positions ask for fluent english and my pronunciation is not that good, and I'm 44 years old now.

There is no chance I'll move up to management because of said social skills.

View original on lemmy.fbmac.net
youshouldknow·You Should Knowbyfbmac

YSK: The Potential and Profitability of Trash Management: An Insight from Sweden

This is aparently good information fit for here, but the original post had a flame-war-starting tone and was in an inappropriate community, so I asked GPT-4 to rewrite it in a better tone and I'm crossposting it here.

The original is here: https://lemmy.world/post/4309331

Trash Management: More Than Just an Environmental Cause

A common misconception regarding garbage disposal is that advanced techniques are exclusive to a few top-performing countries in recycling and waste handling. This post is aimed at debunking such notions by emphasizing the equally remarkable potential and economic viability of modern waste management strategies. You might be surprised to learn how technologically achievable and profitable it can be!


Sweden's Approach - Turning Trash to Treasure

In Sweden, we subscribe to the school of thought that trash has value. Here, only a meager 1% of waste ends up in landfills. The rest is processed effectively - we recycle about 47% and incinerate approximately 52%.


Addressing Concerns: Is Incineration Environmentally Sound?

You might be alarmed to hear that we burn so much waste, raising questions about the environmental implications, like air quality. Here's where technology steps in. We apply advanced methods to clean the fumes effectively. Further, the residue from incineration is either repurposed or responsibly disposed of in strictly controlled landfills.

Moreover, we convert the energy from waste into a substantial power source. Burning 4 tons of waste generates an amount of energy equivalent to burning 1 ton of oil. Consequently, this method heats a million homes via district heating and powers 250,000 homes.


The Reality of Plastic Recycling

Let's discuss plastic recycling, a topic often laden with misconceptions. Contrary to popular belief, it is indeed possible and profitable to recycle nearly all types of plastics.

In Sweden, "Swedish Plastic Recycling AB" undertakes the majority of our plastic recycling. As we speak, they are constructing the world's most extensive plastic recycling facility, Site Zero. This largely automated system will handle the entire country's plastic waste and categorize and recycle multiple types of plastics, including PP, HDPE, LDPE, PET trays and bottles (colored and transparent), PP film, EPS, PS, PVC, two grades of Polyolefin mix, metal, and non-plastic waste.


Let this shared information serve as an eye-opener - not only to change how we perceive waste, but also to herald a fresh perspective on its management. I invite you to delve further into the topic, find more sources, and voice stronger arguments to contribute to enlightening discussions about waste management. Let's spread the word whenever the topic of trash comes up, and together, we can drive the change we need to see on a global scale.

View original on lemmy.fbmac.net
lemmy_support·Lemmy Supportbyfbmac

Does Lemmy currently gives too much trust to other instances?

Published initially in the wrong community: https://lemmy.fbmac.net/post/10501

I noticed that my server import the bans from other instances. I think it's a great feature at the moment where there is no complains of anyone creating servers to abuse it, but I feel like it's bound to happen if there is no safety for it.

If we want to keep it easy for creating servers, maybe they should have a trust level, that could be set either manually or with some heuristics. I like the idea of some heuristics with the option for the admins to take some manual action.

(dunno if it's the right place to discuss that, is there some more appropriate community to ask things about lemmy itself, since this one is specific to lemmy.world?)

View original on lemmy.fbmac.net
support·Lemmy.world Supportbyfbmac

Does Lemmy currently gives too much trust to other instances?

I noticed that my server import the bans from other instances. I think it's a great feature at the moment where there is no complains of anyone creating servers to abuse it, but I feel like it's bound to happen if there is no safety for it.

If we want to keep it easy for creating servers, maybe they should have a trust level, that could be set either manually or with some heuristics. I like the idea of some heuristics with the option for the admins to take some manual action.

(dunno if it's the right place to discuss that, is there some more appropriate community to ask things about lemmy itself, since this one is specific to lemmy.world?)

View original on lemmy.fbmac.net
programming·Programmingbyfbmac

Are we ready for javascript without a build step on the front end in 2023?

On the current typescript / anti-typescript internet drama I saw someone mention javascript without a build step.

Do you think we're already there?

Last time I attempted it:

  • there were too many libraries I couldn't import
  • JSX (using babel) had a warning saying you shouldn't do it in the browser for production
  • there was some advice against not using a bundler, because several requests for different .js files is slower and bigger than a bundled package
View original on lemmy.fbmac.net

High memory consumption in a hello world on Raku

I did comparison of a hello world web service in a few programming languages to get an idea of how much memory each of them consumes from the start.

Raku started consuming 345MiB. Is it expected, or is it something wrong on my test?

I used this dockerfile:

FROM rakudo-star
RUN apt-get update
RUN apt-get install -y libssl-dev
RUN zef install Cro::HTTP --force-test
COPY . /app/
ENTRYPOINT ["perl6", "/app/app.raku"]
https://fbmac.net/blog/memory-consumption-of-a-web-api-in-different-programming-languagesOpen linkView original on lemmy.fbmac.net
support·Lemmy.world Supportbyfbmac

Is there a recommended way to post a lot of content without flooding "new"?

It's related to the flood I mentioned in an earlier post, but I think more people can want to do similar things, sharing all their content on lemmy to make it discoverable. I think people might want to do it for different legitimate reasons, and I'm not sure what the right way to do it is.

Ideally there should be a way to create a thread without showing it on "new", or even better, lemmy should limit automatically how much space a community or server can take on the global "new" lists

View original on lemmy.fbmac.net
support·Lemmy.world Supportbyfbmac

Sorry for the flood on the "new" feed

I created an instance, and was thinking it as a normal self-hosted server where I can do whatever I want with no worries, and learned in a bad way that it's on a federation and we still have to follow some rules.

I have a lot of AI generated stuff that I wanted to make visible on Lemmy, and made a bot to upload all of it in a community.

So far it wouldn't create a flood, but then I subscribed to it with my lemmy.world account. I wanted to test it, and I wanted the community to be searchable on lemmy.world.

This last step is the one that messed up. Lemmy's new feed apparently doesn't impose any limit, and a new server publishing thousands of posts in a few minutes flooded lemmy.world's new feed.

That wasn't my intention and I apologize for that.

View original on lemmy.fbmac.net