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.

xmunk , in Saw 37 the software Dev

Heh… but Javascript is so permissive you can just start writing psuedocode and it’ll probably be valid!

SzethFriendOfNimi ,

<span style="color:#323232;">eval('alert("Yep")')
</span>
Gork ,
SzethFriendOfNimi ,

<span style="color:#323232;">for(i=0;i<100;i++){
</span><span style="color:#323232;">    console.log("Yep")
</span><span style="color:#323232;">}
</span><span style="color:#323232;">
</span><span style="color:#323232;">console.log("uh-huh")
</span>
NovaPrime ,
@NovaPrime@lemmy.ml avatar
Anticorp ,

Like Dave from Storage Wars?

UnpledgedCatnapTipper ,
jubilationtcornpone ,

“Uh huh.”

CanadaPlus ,

And it will do… something.

whodatdair ,

Perhaps more than one thing, who can know?

Anticorp ,

const notThree = 1 + ‘2’;

Mikufan , in Saw 37 the software Dev

Do it in php and say its JavaScript, most people don’t even know that there is a difference.

xmunk ,

$facts

ChaoticNeutralCzech , (edited ) in Saw 37 the software Dev

w3school

victorz ,

MDN ftw, screw stackoverflow.

Redkey ,

Any time I need to learn something about JS, I go to W3Schools to wrap my head around the basics, then over to MDN for current best practice.

victorz ,

I remember visiting W3S like 10-15 years ago when first learning DOM manipulation etc at uni. But nowadays there’s nothing it can give me that MDN can’t, that I need to know.

frezik ,

MDN is better at everything than w3school, except for SEO.

victorz ,

Yeah… Then again I just use the DuckDuckGo bang !mdn and it searches MDN directly.

There’s also devdocs.io which can be indispensable when using a lot of popular utility libraries and frameworks in the same project. Just having a single page with all the relevant docs is just a real blessing.

kakes , in Saw 37 the software Dev

I think I’d be okay up until you pulled intellisense, at which point I would literally deflate like a balloon.

Kolanaki , in Saw 37 the software Dev
@Kolanaki@yiffit.net avatar

Ok… He didn’t say it had to be complicated or anything. Just make a magic 8 ball.

teletext , in Saw 37 the software Dev

Sorry bro, if you think JavaScript is difficult, then you’re just too weak.

victorz , in Saw 37 the software Dev

Learn JavaScript. It’s a pretty good language. 👍

tiredofsametab , in Saw 37 the software Dev

People should be able to do this, at least for simple programs. We used to do it all the time.

NatoBoram ,

Everyone should be able to do a hello world without IDE

PhlubbaDubba , in Saw 37 the software Dev

“Every time you try to run the pendulum will drop lower until…”

Extremely loud crash as pendulum is rocketed in the ground by all the failed run attempts

Anticorp , in Saw 37 the software Dev

NP, dude. As someone who learned JavaScript in the dark ages, when IE had to be a consideration for everything you did, writing a JS program now is trivial.

Alexstarfire , in Saw 37 the software Dev

Hello World isn’t that difficult to write.

He never said it had to be a useful program.

magi , in Saw 37 the software Dev

Do people not read books anymore?

qprimed , in Happy 30th birthday to RFC 1631 ("NAT"), the "short term solution" we all rely on

there is no fix more permanent than a temporary one.

edit: as I literally sit here inspecting the nat tables on a couple of edge routers.

cmnybo ,

That temporary fix will eventually become unnecessary. IPv6 has slowly getting more and more use.

state_electrician ,

Very, very slowly.

purplemonkeymad ,

It’s been getting “more and more use” since 2001. To start with the isps said that they were not going to do any work to implement it until endpoints supported it. Then vista came with support by default. Next they wanted the backbones to support it. All tier 1 networks are now dual stack. Then they said they were not going to do anything until websites supported it widely. Now all cdns support it. Then they said, it’s ok we will just do mass nat on everyone so won’t do any work on it.

qprimed , (edited )

exactly. I have been begging multiple ISPs for direct IPv6 allocations for 10+ years now. its always “we are internally testing - not available for distribution yet”. the most recent request from me was less than 3 months ago when I needed a IPv4 /29 for a remote site. figured I would see if I could also get a nice sized IPv6 allocation as well. nope. just gotta keep paying a premium for that dwindling IPv4 address space.

Hurricane Electric is to be commended for their public IPv6 tunnels, but without direct allocations from your immediate upstream, its just play.

psud ,

I chose an ISP that dual homed customers on IPv4 and IPv6, but then the giant ISP that wants a monopoly bought them and now I get IPv4

frezik ,

A lot of ISPs do have some kind of IPv6. Many don’t give you a prefix with the length they should. Many don’t give you a static prefix. They’re doing everything they can to continue to fuck this up.

Mostly to their own detriment. Maintaining equipment to do carrier grade NAT makes their network slower, less reliable, and more expensive.

raldone01 ,

At least I have a nice static and proper ipv6 prefix.

However when I asked for a reverse dns entry they could only give me one for ipv4… So now my Mail server only uses ipv4. :-(

AtariDump ,

So has Linux on the “desktop” buts it’s never been the year of the Linux desktop.

FiskFisk33 ,

This thread starts with a document literally proving people have been saying that exact thing for 30 years now.

neidu2 , (edited )

Last week I was peer pressured into trying out Helldivers 2 (yes, this is relevant, trust me), so I downloaded it, installed it, and fired it up with no issues. Set up my preferred control schema with no issues. Played the torturial with no issues.

Then came time for joining my friends in multiplayer. Issues! No matter what I did, I couldn’t seem to join them. Nor could they join me.

I verified the installed files, I tried to connect via my phone to rule out ISP issues, and I tried all of the different versions of proton, but the result remained the same. I simply couldn’t join my friends.

I don’t remember what caused me to go down the right path of troubleshooting, but I’ve always dosabled IPv6 on my linux installs. So I re-enabled it. The problem remained. Then I realized that I had it disabled in the kernel via grub command line flags, so I cuanged that and gave my PC a reboot. Success!

So, despite networking being a large (maybe even the largest) part of my vocation for the past two decades, last week was the first time ever I actually NEEDED IPv6.

hessenjunge ,

torturial - I like that. Sometimes a tutorial is indeed a torturial. 😊

stoly ,

My previous office was in a set of partitions put up in a library 20 years ago as a temporary measure.

Hobbes_Dent , in Happy 30th birthday to RFC 1631 ("NAT"), the "short term solution" we all rely on

192.168.1.1/24. Got it.

  • Everyone
qjkxbmwvz ,

I’ve only recently branched out from router defaults…only reason was that I wanted to VLAN off my home network, and mostly just so [Home Assistant-controlled] smart devices can’t talk to the Internet at all.

qprimed , (edited )

10.0.0.0/8

172.16.0.0/12

192.168.0.0/16

🎶 a whole new wooorrrld… 🎶

neidu2 ,

Whenever I’m given the chance at work, I let my feelings be known about using “consumer grade addressing schema” in production clusters. Sure, I use it at home, but anything beginning with “192.168” looks like my moms wifi, and has no right being part of a production network.

This comment was sponsored by the 172.16.0.0/12 gang

doubletwist ,

I use 10.x.x.x addresses at home, though split into /24 networks in each vlan.

Rinox ,

That seems overkill

doubletwist ,

Well again, I’m only using /24 chunks of it.

The main reason I went with it is that it’s far faster for me to type “10.0.x.x” than to type “192.168.x.x”, especially on the keypad.

sparkle , (edited ) in new preference war just dropped

in general, adjectives and verbs after nouns because it’s more organized/easier to search/filter. as god intended.

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