There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

whitecapstromgard , in Every Single Freaking Time

I see myself in this meme and I do not like it.

Swiggles , in Every Single Freaking Time

Ctrl/Shift+Insert gang rise!

fosforus , in OC: Me since Bun 1.0.0

This will generate lots of fun moments when developers use Bun and the runtime environment is stuck at Node for some reason. For instance, because of AWS Lambda.

rikudou ,

I’m pretty sure someone will make a custom layer.

BlackEco ,
@BlackEco@lemmy.blackeco.com avatar

Can’t you deploy Docker images to Lambda now? Granted, startup times will probably be slower than native Node.

chickenf622 , in OC: Me since Bun 1.0.0

I’m looking at it with optimism for a new build tool. I just need Sass/CSS compilation and I’ll give it a whirl.

starman OP ,
@starman@programming.dev avatar

It’s on the roadmap

kewjo , in Which side are you? Javascript or Typescript

javascript but more for philosophical reasons. when projects use typescript they always get focused on writing more scripts rather than optimizing HTML/CSS. Too many times I’ve seen overly complex scripts trying to solve what a properly arranged div and css tag have already solved.

Strawberry ,

I’ve been dealing with this at my job because a layout library was deprecated and is used throughout our codebase instead of proper css. Came to learn that my whole team doesn’t like/know css, so they used this library that used angular directives in the html instead. We had multiple giant scripts for arranging elements in a grid that changed based on screen width

o_d ,
@o_d@lemmygrad.ml avatar

I’m so sorry

parrot-party ,
@parrot-party@kbin.social avatar

There are many cases where this is a serious issue that can't be solved through pure CSS. Once container units are finally approved though, that will solve quite a few problematic layout issues in CSS.

Strawberry ,

Aren’t these already supported in all major browsers? Also I agree, but in this case we did not even need a container query, just a media query

edit: caniuse.com/css-container-query-unitsabout 85% of users have browser support for container query units

parrot-party ,
@parrot-party@kbin.social avatar

Yes but the support is very recent and hasn't been fully accepted yet. Therefore, I can't use it in enterprise. I have to wait for full adoption.

WolfhoundRO , in Which side are you? Javascript or Typescript

I’m still using CommonJS and occasionally ESM, but I always get to integrate JSDoc for weak typing in IntelliSense. It’s like getting the (almost) juiciest part from Typescript without committing to it

Phen , in Which side are you? Javascript or Typescript

Typescript may have a million problems that make getting into it annoyingly hard and even seem pointless, but once it’s settled in your project and used well… Damn is it fucking good.

And I’m saying that even though I had to disable intellisense and most of those advanced features because the project I work for is too large and typescript would easily use over 20GB of RAM and get my computer to freeze.

But if you’re trying to use it like a traditional typed language, you’ll only see the bad side of it and you’ll certainly hate it.

DeriHunter ,

Tell me you’re a dinosaur without telling my you’re a dinosaur

avonarret1 ,

Telling me you have nothing to contribute without telling you have nothing to contribute.

turbodrooler , in Which side are you? Javascript or Typescript

Me: 2024 is finally going to be the year of WASM, boys!

zagaberoo ,

I just wish WASM could replace JS rather than merely augment it for non-DOM work.

Knusper ,

You can have frameworks which fully generate the JS DOM code for you, allowing you to write complete single-page applications without writing a single line of JS.

float ,

I’m using the leptos framework (Rust) and really like it so far. Not a single line of JS, not even npm as a dependency in that project.

Knusper ,

Yep, that’s the framework, I’m using, too. But most frameworks in the Rust ecosystem can do DOM interop, as the heavy lifting for that is provided by the wasm-bindgen library.

iegod ,

And then there’s me, missing flash :(

Flash and AS3 was so much fun to work in. I completely understand why the industry moved away from it but even today we have yet to fully catch up to all the media animation and programmatic features it provided all in one. RIP.

turbodrooler ,

I still have a hobby website with an AS flash animation on it that I don’t have the heart to get rid of. It was so cool.

MajorHavoc ,

That’s awesome.

But I’m picturing you keeping a retro computer to load it on and enjoy it.

ICastFist ,
@ICastFist@programming.dev avatar

Have you tried porting it to Haxe? It’s what I found whose selling point was “programming for those that know AS3”

turbodrooler ,

Thanks, I will look into that

qaz , (edited )

You could use something like Ruffle. Newgrounds also uses it to allow people to play flash games.

turbodrooler ,

Thanks, will check it out

ShortFuse ,

Starfield has a bunch of AS3 and Flash files. I’ve been hacking it all week.

And, uh, I use vanilla JavaScript with Typescript checking via JSDocs.

severien , (edited )

Unpopular opinion: I hope it’s going to be a flop (apart from the few use cases where it does make sense). The limitation of having just JavaScript ensures level of interoperability which is IMHO one of the big advantages of web as an application platform. If WASM becomes successful, it will fragment the web.

turbodrooler ,

I definitely feel you. Not sure WASM is the answer, but it’s still neat.

6xpipe_ , in It always gets me
@6xpipe_@lemmy.world avatar

"What did that code look like two minutes ago?"

  • Cmd+A
  • Cmd+C
  • Cmd+ZZZZZZZZZZZZZZZZZZZZZZ

"Oh, ok."

  • Cmd+Shift+ZZZZZZZZZZZZZZZZZZZZZZ
ytrav OP ,

why is this so true,

janAkali ,

lol, just use time travel, Vim time travel:
:earlier 2m
and back:
:later 2m

nogrub ,

wait that seems really usefull is that in standart vim ?

janAkali , (edited )

Yes, plain vanilla Vim
Here’s help entry (see section 4 if link doesn’t redirect to it).
And it is even more useful with an undo-tree plugin.

nogrub ,

oh thank you good sir ^^

ryannathans , in Linux Best Practices
  1. Don’t run any command you don’t understand
upturned8393 ,

That’s why you run this one though because you don’t understand French. After you run this you’ll understand every command afterwards.

ryannathans ,

You’ll certainly understand french after running it

jetsetdorito ,

blindly copy and pastes top stack overflow answer

lord_ryvan ,

Yeah, seriously don’t do that!

state_electrician ,

What about downloading a shell script and piping it directly into a shell?

Rinox ,

Well, I understand it removes the french language, right? /s

elouboub , in Which side are you? Javascript or Typescript
@elouboub@kbin.social avatar

What's happening?

Fissionami ,
@Fissionami@lemmy.ml avatar

Same question

OffByOneError , in Which side are you? Javascript or Typescript

Typescript is an abomination. Been writing JS just fine for 30 years without it.

seitanic ,
@seitanic@lemmy.sdf.org avatar

Typescript is an abomination.

Why? (I’ve only used vanilla JS and jQuery.)

glockenspiel ,

Not OP, but generally the arguments I’ve been told are:

Microsoft is an abomination (true).

“Don’t make me explicitly state types; it is too confusing!” Installs 20 libraries including fucking pad left to eek out basic functionality.

Strongly typed haters are right up there with curly brace haters.

seitanic ,
@seitanic@lemmy.sdf.org avatar

Microsoft is an abomination (true).

Reflexive MS hatred is just as dumb as any other kind of reflexive hatred. TypeScript is free and open source, so what’s the danger?

yetAnotherUser , in I'll just sort it myself

As many people have pointed out already, this happens because JavaScript was rushed. But why do we still use a language whose foundation was built in only ten days(!) for scripting on webpages we build today? Why hasn’t there been a push for web browsers to support other scripting languages (other than maybe Dart)?

HKayn ,
@HKayn@dormi.zone avatar

There has never been a push because JavaScript works well enough.

Many of its mistakes have been rectified in later specifications.

demesisx , in Which side are you? Javascript or Typescript
@demesisx@infosec.pub avatar

I’m idealistically/philosophically committed to a Purescript Halogen front end with a Haskell Servant backend, biatch. Maybe someday I’ll get WASM in there. One thing I will not do is use TS or JS.

Scoopta , in They tried
@Scoopta@programming.dev avatar

I refuse to go to sites that do this, I also refuse to go to sites that block adblock…and specially the sites that detect and block private browsing, that one shouldn’t even be a thing

Zikeji ,
@Zikeji@programming.dev avatar

Sites that block adblock - I have network based filtering I’m not going to take the time to specifically figure out what ad providers you’re using (which is probably that same as everyone else) just to unblock your shitty site.

Scoopta ,
@Scoopta@programming.dev avatar

LOL, I also use DNS based filtering soooo I feel your pain.

WaLLy3K ,
@WaLLy3K@infosec.pub avatar

Hilariously, I find the Pi-hole feature “disable for 5 seconds” often works because it’ll be down for long enough to load the page but not the ads.

PersnickityPenguin ,

Reminds me, I need a pihole

Scoopta ,
@Scoopta@programming.dev avatar

I don’t use pihole…didn’t know that was a thing…still don’t plan on using pihole but that’s cool

ozymandias117 ,

The fun part is that websites that do this are illegal in the EU

They need to start flexing that 4% revenue / year fines

peter ,
@peter@feddit.uk avatar

I hope one day they just start fining everyone doing it all at once

corsicanguppy ,

And i hope they start using that sizing thing at airports to keep people from carrying on their massive samsonite tuba-sized suitcases and jamming them into the entirety of the overhead storage.

But we can’t always get what we want.

ignotum ,

I don’t use adblock, and yet i keep getting “disable adblock to view this” messages, fuck this shit

Fissionami ,
@Fissionami@lemmy.ml avatar

Probably Adguard or Pihole? (Some network level blocking?)

ignotum ,

I did have adguard set up, but i disabled it thinking it could help with this issue, which it sadly didn’t

Trainguyrom ,

Most browsers block some ads by default as well as some other privacy protections nowadays. I’m guessing whatever sites you’re hitting have advertisers so scummy they’re blocked by default

ignotum ,

Might be, might be

I’m using Firefox and might’ve set a couple of the privacy settings “too high”, haven’t checked those in forever

hairyballs ,

Why the fuck would they prevent private browsing? I use that a lot to be sure the session is closed correctly.

Scoopta ,
@Scoopta@programming.dev avatar

There’s lots of newspaper sites in the US, that do this. They’ll be like “wanna use private browsing, make an account, or go visit from normal browsing.” Idk why they do it but they do. Apparently there are discrepancies in the way browsers handle persistent storage features between private and non-private browsing that allow for detection

sukhmel ,

I’d guess they just want to keep track of what you read and how many articles. You still can wipe that information from your browser but private browsing makes it more convenient so they ban it

KillerTofu ,

12ft.io

I use this to deal with paywalled articles.

Scoopta ,
@Scoopta@programming.dev avatar

This comment needs more upvotes…I did not know this was a thing and I’ll try to remember it next time I hit a wall

KillerTofu ,

Bigger walls, bigger ladders!!!

Honytawk ,

Cause they can’t track your browser history that way.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines