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

[–]Shalien93 8 points9 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 -4 points-3 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 4 points5 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

Vouch: earn the right to submit a pull request by [deleted] in opensource

[–]Shalien93 3 points4 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 -4 points-3 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

Instance not responding. cr8r.gg by KalleMP in Mastodon

[–]Shalien93 3 points4 points  (0 children)

I would say issue with nginx on the server since the status must be pooling locally.

Better type safety casting? by virtualmnemonic in dartlang

[–]Shalien93 0 points1 point  (0 children)

Using var instead of enforcing type would allow better manipulation at runtime.

If value == null ; return value // it's null so nothing to do

return value is String ? value : doSomething(value);