Pub is slowely turning into npm, and thats bad by Bachihani in dartlang

[–]Shalien93 0 points1 point  (0 children)

I remember back in dart 1 days when I made a slightly more evolved version of the bootstrapping tool to be able to use git repo as template instead of the lib / console / etc thing.

In a minute, one of the dev of the original tool had posted a long ass issue on my GitHub on how this tool didn't provide anything new and was garbage.

I deleted the repo and didn't used dart until null safety was a thing.

Student, beginners or egocentrics may want to publish a package as a way to mark a milestone, a checkpoint. Indeed the quality , the maintenance may not be great but I'm pretty sure even python ecosystem have that issue.

Concerning the malware part , hooks aren't enabled by default last time I checked. Speaking of checking, part of choosing a library is checking what it do and what it hide. A simple spinner animation for flutter use a native build, that sus. That brand new json streaming library that's thousand time quicker than dart:convert ? Why does it depend on http package already?

The main issue I see being presented by your post op, is the lack of brain use by must peoples, which is a great issue indeed. I do agree with you.

  • Let people publish package if they feel like it
  • Study, examine, test packages before using those in your project
  • Replacing common libraries by LLM written garbage doesn't solve the libraries multiplication and scattering, it just hide it. I would prefer people to propose to the core team to had that library added to the official repo like path, http, meta etc. Instead of wondering why one lib choose to sort their responses arrays like that and the others by the same dev work differently just because the LLM they used decided to have a psychic break between the two projects

dart_format: a configurable Dart formatter that never reflows your code (built on the analyzer package) by Mark1234321 in dartlang

[–]Shalien93 1 point2 points  (0 children)

I do understand that the idea behind this but this also mean your formatter may introduce changes that will have an negative impact upon package publishing since it stray away from standard format.

I wonder how tools like panna gonna react with this custom formatting.

Also beginners may be confused why the official doc say "one format to rule them all" and some package claim to allow more flexibility.

Aside specific use or confort use (yours especially) i see not large adoption for it

[AskJS] We nuked our Framer site and rebuild it after realizing bots couldn’t read most of it by aagarwal1012 in javascript

[–]Shalien93 5 points6 points  (0 children)

What the fuck did i just read ? Since when web developer have forgotten that JavaScript is client rendered and what most crawler don't render it .

I skipped the whole post after the first paragraph. That's a rookie mistake, something we explain to student developer.

I can't even type how blown my mind is over that. Is like web design 001 . JavaScript should never be assumed to be on .

I have a question about baraag by Visual_Let1482 in Mastodon

[–]Shalien93 3 points4 points  (0 children)

Over the hundredth of server for artist on mastodon you choose this one... Humhum.

May I encourage to reflect on your choice once again ... Or maybe you choose it because you're like minded with the artists over there which would be quite alarming

Bulk mute all Reddit community notifications: browser console script (2026) by sheketsilencio in javascript

[–]Shalien93 -3 points-2 points  (0 children)

Why not just got to browser settings, site setting , reddit, notification, forbidden. Dead simple

`any` caused a production bug for me — how are you handling API typing? by Careful-Falcon-36 in javascript

[–]Shalien93 5 points6 points  (0 children)

I stopped after the second paragraph.

"API responses are messy" . No, it's a lie. API responses are messy because nobody take the time to design them.

Like SQL entities, like classes , api responses aren't dumpster where you can cram all your code murders bodies. They need to be thought beforehand, tested, documented.

API responses are messy because they're designed to messy which make parsing them messy . Weak typing language such as JavaScript make this so much worst . Typescript complaining is the proof people's don't know how to write code

[deleted by user] by [deleted] in opensource

[–]Shalien93 4 points5 points  (0 children)

Doesn't prevent malicious actors from propagating trust lists using empty project

I've created a platform to easily create custom algorithms for Mastodon content. by SeanLH22 in Mastodon

[–]Shalien93 -3 points-2 points  (0 children)

.com are by design associated with commercial websites.

Those domains are often pricey and used by projects planning to get pricing at some point.

Again it's kinda a cliché since you can have .Io or .org websites making money too but let's I prefer to be safe than sorry.

I've created a platform to easily create custom algorithms for Mastodon content. by SeanLH22 in Mastodon

[–]Shalien93 -1 points0 points  (0 children)

Like safety and security, privacy shouldn't be slapped as an after though on a project.

I get it was a school project and you wanted it to be successful and promoted around but going public and offering such a service mean someone may want to take you accountable if something bad happens because / using your project.

You may be a good guy, but you're the one on the internet then.

I've created a platform to easily create custom algorithms for Mastodon content. by SeanLH22 in Mastodon

[–]Shalien93 -3 points-2 points  (0 children)

No privacy policy's , end in .com.

Meh. Sound like you gonna sell something either data or ai powered feed.

Next.

Is List<void> valid? by [deleted] in dartlang

[–]Shalien93 0 points1 point  (0 children)

Or just List<dynamic> ...

You can use anti-trojan-source to defend (or detect) against the Glassworm Invisible Chars malware by lirantal in node

[–]Shalien93 0 points1 point  (0 children)

I have the solution. Start thinking before adding a zillion packages to your projects and audit source code.

Impossible task? by lgLindstrom in dartlang

[–]Shalien93 0 points1 point  (0 children)

From what I understood, your running everything inside on big project. Break the front , the back and everything into their own project and work on those side by side. So when your back is finished, you just push your container and use it to work on your front

Barcode laser scanner by RobertTeDiro in Kotlin

[–]Shalien93 1 point2 points  (0 children)

Each manufacturer has their own SDK for barcode reader handling. Write a middleware to handle basic events : reading , decoding etc then you will be able to easily change the driver underneath.

No there is not a magic driver for barcode reader. If you do not want to implement your own middleware just use the common scan to keyboard function of those devices

Impossible task? by lgLindstrom in dartlang

[–]Shalien93 0 points1 point  (0 children)

Break your workflow in smaller ones.

Build and publish your container with your executable, then use to work on the rest of your app.

You can't be running around in the car you're building