« first day (3567 days earlier)      last day (1603 days later) » 
00:00 - 18:0018:00 - 00:00

18:00
Holy shit AMD is up!
So you did copy/paste the code without changing the link href, and then asked why the link's href was wrong. You did not modify it, it's the same # as in the answer
i told you NO, im not a lazy coder @ndugger
I never said you were, I said that objectively you copy and pasted it without modifying the anchor tag
That is objectively true
@AlexHunter what is the issue with the code i sent
Thank you for helping to illustrate the point we were making before you entered
18:03
no, i said clearly that i change it and nothing happens, but you still laugh, ill take a ss @ndugger to show you the 'error'
so there is an error?
Both JBi and myself modified it in codepen and the changes were reflected, so this is a you problem
> so there's a chance?
Anywho, gonna rant about stuff I've learned.
(Feel free to bash the ideas)

- Do not access native features directly as they can be listened to by getters/ setters and hence "corrupted":
```
some-malicious-script.js: global.setTimeout = function setTimeout(handler, delay) { stolenPrivateData.push(handler, delay) };
my-vulnerable-script.js: setTimeout(performCriticalTask, 1e3);
```

- Every JavaScript API feature is publicly mutable (and hence "corruptible"), so store every native feature in some private namespace and use them from there. You will have to assert that the features exist first
what
Oh my god, no, no no
18:05
It's a rant (feel free to mod delete it even)
It's full of really awful advice
Yikes, all 3 of your points are pretty bad
@AlexHunter so it works, great, we agree
Now modify it to make it work for your exact use case
@ndugger Yup, that's the response I expected.
as you can see, the @users are not clickeable, and the :to='@' contains a @, i need to deleted it @JBis @ndugger
18:06
ok wonderful
now we are making progress
@AlexHunter do you hav e the router link component registered? Are you importing it into codepen?
ok thank you for the patience
The changes worked, now carry the code into your application
@AlexHunter
|| mdn string replace
18:07
read that
that exactly change that you make, i take it to my app and still is plain text @JBis
then come back and tell us what you learned
@ndugger Wait, why are they bad though? I know they're useless in today's space for JavaScript development but I didn't think they were bad
i think the problem is vue, because with a tag it works perfect @JBis
and the other problem is that i need to find @ matchs, and then remove the @ from user names
@Lapys you're introducing an abstraction for no reason. You should be aware of all of the code running in your application (sans extensions), so the idea that native methods will be overwritten without you knowing is pretty silly. Now you have your own abstraction on top of an API which you now also have to document and write tests for, so you're just creating tons more work for yourself without actually providing value, all out of paranoia
18:10
2 problems 1. no changing text to router-links 2. remove @ from usernames @JBis
@AlexHunter did you click the link i said and read it
don't reply before reading it please
And this is exactly what we were talking about, you copy/pasted the code without modifying it and then wondering why it wasn't 100% what you wanted.
Glad you modified it, but you should have thought to do that before coming back and falsely claiming that it didn't work
@ndugger calm for sec, let him read
I am calm, albeit annoyed
Pretty much, nail on the head.

The paranoia is there because we don't necessarily fully know of the code running in the application. If a public interface (native methods & properties) can be changed that affects a private API (your library), or rather if private code is dependent on public code then I don't fully know the code my application's running.
There's this trust that the native features of JavaScript are as is, as if they are immutable but they aren't. And that bothers me
18:14
That is on you. If you don't know the code that a library is running on your machine, then you shouldn't be using that library
@Lapys yes... but... can't they just be changed before your app gets access to them?
This is pretty standard thinking in an enterprise especially, where we don't inherently trust open source code, we always scan it first for known vulnerabilities
I already read it, thanks im going to apply it @JBis and back to you in a couple of minutes , i told you 3 times that i not came here with that stupid question, i change the code, im done with you @ndugger
Most of the things you can use to test if it's legit... can be faked
Definitely a language barrier
18:16
@Lapys if a mallicous script gets injected into your page, you have bigger issues to worry about beyond the Array prototype getting overwritten
right
@KevinB That's what worries me. Someone changes an innocent looking feature to some malicious code for whatever reason and I'm expected to use that same feature trusting it's not overridden or "corrupted"
1 message moved to Trash can
@JBis Definitely
@AlexHunter @ndugger stop talking to eachother or you with both get timeout, this is your warning
3 messages moved to Trash can
18:17
(Well, that escalated quickly)
The entitlement is real
Wait, why the name calling? @AlexHunter
Someone's trying to help you (out of their own time especially)
@AlexHunter No need to name call. If you are unhappy, you can click on his name and mute him.
perfect for me, we came here to talk, not for stupids fights, ill back tou you later, thanks @JBis
cya
just like old times @ndugger ;)
18:19
This is exactly what we were talking about before he came in here, highlights all of the points we were making. I don't have patience for that anymore, or rather I guess I never did.
No, but I think language barrier contributed to it a lot.
I don't suppose anyone knows what to do when you have one machine that's getting like 1Mbps on the wifi when every other device on the network is perfectly fine.
turn it off and on again
@Hypersapien what type of device?
Already done, repeatedly
18:21
check for things between device and WAP that could interfere
Dell laptop
try an alternative network device (usb wireless card)
Yes, though it's an insignificant problem but it's one that prevents me sleeping well when writing any JavaScript code.

It's not like I go around shimming & shivving every bit of code I can find but still, I'd rather some implicitly expected constant features stay actually constant.
@Hypersapien do a ping test and check for packet drop
This is a brand new network, btw. And I've barely ever used the laptop on wifi before.
18:22
@Lapys again, if you have a bad script there are bigger problems
Anyways, just wanted to rant here.
Personally, I'mma apply those advices in my own JavaScript projects
@KevinB I tried plugging in a USB wifi stick but got the same thing.
@JBis Thanks, not to worry. I try to keep the code clean always 🧹
@Hypersapien also i am assuming you are comparing it to other devices that are in the same location as the problematic one
I have a tower right next to it that gets like 220
18:23
@Lapys My point is, most of the issues you discuss are moot if their isnt a malicious script
Installed a wifi analyzer on my phone and sat it on the laptop. Perfectly strong signal.
ok, try the ping test
@JBis (Yup, but I'm still paranoid 😬)
if you dont see any packet loss, then we can try other things
Tried pinging google. No packet loss.
18:25
@Lapys I'll warn you right now, the further you stray from convention in order to create your own, the more difficult it is for other developers to help or even follow your code, because nothing is as they expect, because you've gone and created a whole new way of doing things
@Hypersapien are you able to test if you are expeirencing the same issue on other networks with that laptop?
Not really.
This is my home wifi
I imagine so.

Anyways, that's why I don't follow my advice in production code, I just follow what's trending or working at the moment.
But personally I remain paranoid enough to keep to "my convention", and I don't think that can be helped. It seems like it stems from a flaw (however minor) with the way JavaScript is.
We all know JS is a bad language, but the paranoia is your own
@Hypersapien hmm. Maybe pull up wireshark and see if there are any issues.
18:30
yup..
@ndugger hey
JavaScript is a great language
Lol, it's one of the best we got. Still definitely flawed, but good enough
the crazyness is what makes it a fun language to work with
I guess...
||> '1' + '1' - '1'
18:34
@JBis 10 Logged: `` Took: 0ms
@KevinB Are you high?
If I ever have to write plain javascript again, I might just throw myself off a bridge. TypeScript, or choose another platform, because plain JS is automatic tech debt
I thought for so long that writing without types was great.
same
But I like implicit types when declaring variables.
const a = 5; instead of int a = 5;
18:38
@ndugger This 👍
im hoping kotlin becomes more popular
in 5-10 years i want everyone to be using kotlin for everything
I mean, it's a decent language, but I heard the LLVM version suffers from a lot of performance issues
i mean, i'm in the same boat. i prefer typescript over not typescript js any day of the week
stupid question for those who have worked with real languages
In JS we often pass options as an object to a method or function. In other languages you can't just create an object like that. How do you pass options in something like Java? Do you create a new SomethingOptions and pass all the options there or what?
in coldfusion it works mostly like javascript, just no destructuring. though it does have defaults
18:48
SomethingOptions opts = new SomethingOptions(true, false, true, 5, 6);
something.method("bla", opts);
and types
@KevinB interesting
string function barf (string foo, number bar = 5) {...}
though the types are all optional, it's just it'l throw an error if you specify a type and don't get that type
but can you create an object just by doing {key: value}
yes
i can't specify an object in the paramstring though
18:50
weird
it'd just be string function barf (struct whatever) {...}
there's also the <cffunction> syntax... but... screw that syntax
ah
i treat tag-based coldfusion similar to JSX
only used for views. everything else is cfscript or cfc
You mean you don't like CFML? Seems like that's always used whenever I'm looing for something.
@JBis
In some other cases (programming languages), you use bit manipulation to specify multiple options:
```
function return_type do_something(object_type object, integer options) { /* ... */ }
int CAST = 0b001, REPORT = 0b010, TRACE = 0b100;

do_something(object, REPORT | TRACE);
```
18:53
i don't like cfml when i'm writing logic
doing loops, conditionals, array/struct work, functions, etc
just use react and create control flow components
Some of our APIs are written using it, always a pain to work with them
|| formatting Lapys
@Lapys Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. You have 25 seconds to edit and format your message properly before it will be removed. Please separate code blocks from your actual question. Put your question in 1 message and then your code in a 2nd and format it.
gtg for now cya o/
18:54
Ah, sorry
Bye @JBis, 👋
<If condition={ something }>
    <Try onCatch={ handleCatch }>

    </Try>
</If>
that's a joke btw
Lol, HiAPL flashbacks
@ndugger Nah, it'd be:
<if condition=...>
    <try> ... </try>
    <catch> ... </catch>
</if>
<cfif foo EQ bar>
  <cftry>
    #shtuff()#
    <cfcatch>
      <cfdump var="#cfcatch#" abort>
    </cfcatch>
  </cftry>
</cfif>
but how does the catch know if something was thrown in the try if it's a completely different component?
@ndugger That condition attribute scares me
18:57
if (foo EQ bar) {
  try {
    shtuff();
    catch (any e) {
      writeDump(e);
      abort;
    }
  }
}
With expressive code like this, machine code doesn't scare as much anymore (lol)
cfml is just annoying, the fact that it keeps on spitting out newlines, tabs, and spaces if you don't wrap it all in a silent
@KevinB Always mess up when writing <cfdump var="#foo#">, any idea why var=foo wouldn't work?
noidea
it's annoying
lol
Doing var="foo" just outputs "foo", which makes no sense
19:01
well, it's a string, so
Yeah, but var doesn't mean variable in this case, more output I guess?
it's just an attribute
you could also use the attribute collection thing to pass them in
(don't)
I'm mostly just using Angular and writing APIs lately, thankfully
<cfdump attributeCollection="{var:foo}"> i think?
idunno. i never use that feature
No need to think about it, I'll just take your advice of "don't"
19:38
Google Chrome DevTools inspecting Google Chrome DevTools
 
1 hour later…
20:39
YouTube on Netscape Navigator
YouTube on Internet Explorer
YouTube on Google Chrome
21:05
Tried to request YouTube website with Mosaic... no luck :[
 
2 hours later…
23:22
posted on July 22, 2020 by Bindu Suvarna

Hi, everyone! We've just released Chrome Beta 85 (85.0.4183.39) for iOS: it'll become available on App Store in next few days. You can see a partial list of the changes in the Git log. If you find a new issue, please let us know by filing a bug. Bindu Suvarna Google Chrome

23:42
@Lapys how
P.S James maybe inconsistent for a bit, he's currently under attack by the rain
00:00 - 18:0018:00 - 00:00

« first day (3567 days earlier)      last day (1603 days later) »