« first day (4729 days earlier)      last day (71 days later) » 

12:39 AM
@ParkingMaster this makes no sense
Also don't make a claim about security just because of vibes
only I can do that
2
 
12:52 AM
> only I can do that
sir yes sir
 
@duhaime hasOwnProperty method is not a type guard, so no narrowing is performed
 
 
5 hours later…
5:26 AM
@duhaime use the in operator for checking: "type" in i : it works as a type guard and it's more correct. Consider i = Object.create({ type: "ham" }) in that case hasOwnProperty will return false even though i.type === "HAM" is true
class A {
  type = "HAM";
}

class B extends A {}

const i = new B();
Or this more modern example
Oops, fields are added directly to the new instance, a getter is inherited from the prototype chain. The correct example is:
class A {
  get type() { return "HAM" };
}

class B extends A {}

const i = new B();
 
 
8 hours later…
1:08 PM
Before I go craft a whole question, does anyone have any pointers on auth in next.js using the new "app router" paradigm? Our tricky thing we're encountering is that we can grab a token after login, which normally we'd store in localStorage, but with the new next.js paradigm, even clients marked with "use client" are rendered first server-side and then hydrated, so they don't have localStorage. So we have like, graphql clients and stuff that are trying to fire off without a token
And i would redirect to login on no token... but there IS a token, we just don't have it at first render because we're not on client. And I could implement some way of waiting for the first true client render... and then rendering child components that use graphql and etc, but it feels hacky. I feel like i've got some fundamental misunderstanding of the new nextjs paradigms
 
 
2 hours later…
2:56 PM
What exactly do you call Regular Expression? A programming language? A markup language? A query language? What is it????
 
a domain specific language
where the domain is pattern matching
technically a data language, like json, html, yml, csv, etc but representing a lexical pattern rather than a document of generic information
 
Yeah it doesn't express any information
Just recieves input, processes it, and gives it back to you
 
it expresses information
regex is just a format that we use to describe a pattern
the expression itself doesnt process anything
that is up to the engine
^[a-zA-Z0-9-]+$ is a regular expression that describes a pattern of a sequence of alphanumeric characters and hypens
you could let the engine find occurrences of this in a sequence of characters, or you could analyze it and generate an input mask from it, etc
although the major usage is finding occurrences in a sequence of characters, either for searching, validation, replacing, extraction of data, etc
 
3:18 PM
Ok, thanks for the info
Sometimes I just have random thoughts like this
 
it's a plague
 
 
1 hour later…
4:31 PM
posted on September 27, 2023 by Giuliana Pritchard

The Long Term Support Candidate has been promoted to ChromeOS LTS 114 and is rolling out to most ChromeOS devices. The current version is 114.0.5735.334 (Platform Version: 15437.70.0). If you are currently on the ChromeOS Long Term Support (LTS) channel (and not pinned to 108), your devices will automatically update from ChromeOS LTS 108 to ChromeOS LTS 114. Release notes for LT

 
@ParkingMaster I'd call it a "pattern matching language"
 
 
1 hour later…
5:59 PM
@ParkingMaster Yeah... I'm only 40! But I had kids early, at 20... looks like the son is following in the fathers footsteps 😂
Had a big win at work today... moving to Node over Java
wohoo
 
6:19 PM
i've been threatening to move us from coldfusion for years, but, it just doesn't make sense to even change anything each time i actually have time to do it
 
6:39 PM
 
@KevinB man you're in a dwindling number of shops using that
But I mean at this point you've been doing it so long
I remember years back all of us even saying, woah coldfusion?! when you'd mention it
 
yup
 
Can't imagine the lift it might be... for us we had NO framework for the Java backend at all.. we were using a lib called Jersey
I just started the position 2 months ago and the person who was doing it left, so I was like alright dudes lets fix this
 
it's just... everythng we have is built with it... so... replacing it means building hundreds of forms
 
Yeah exactly and how do you quantify it?
I mean sure maybe better maintainability? Maybe? Easier to find hires
but.... customer should be a 1-1 experience they don't know or care what it's built with
 
6:46 PM
but, like
the last time the company had any interest in hireing a new dev, was maybe 7 years ago?
and i'm the only dev?
 
Oh wow
 
so, none of those reasons even fit
 
I kind of envy how stable your job has been haha
 
lol
but i'm trying to move us toward things that... if i were hit by a bus the company wouldn't be screwed
 
Yeah that makes sense
 
6:47 PM
if it stays on coldfusion...
heh
good luck with that
 
lol if it does... someone is going to make $$$$ down the road
I have to imagine the pool is super small
I just wonder how long CF will be maintained
 
most coldfusion jobs are for companies trying to move away from it
adobe is routinely doing security updates, and even yearly feature updates, we here use lucee, which gets similar updates
 
Ah well that's good, I just know when the screws were tightened they ended up dropping Flash
but their hands were tied honestly
 
the biggest problem is absolutely nothing integrates with it natively
 
and it sort of lives on with Animate anyway I guess
Ah yeah I didn't even think of that
 
6:50 PM
Want to work with the ebay api?
there's no sdk
 
:rip: yeah that's rough
 
unless you want to hook into java under the hood
 
what about things like oauth?
 
all http based
lol
it does work, but it is not easy
with ebay i have to manually re-authorize it every year
though recently we added sellbrite, which we're using in place of the ebay api now, which also means we get an amazon integration built in that we couldn't do before
 
So are you doing ecommerce?
 
6:52 PM
but it's so barebones, you get what you pay for, effectively
 
For some reason I was just assuming it was all internal stuff
 
ecommerce for a manufacturer, yea, direct sales, b2b sales,
 
Ahh ok
 
but i also do all our internal stuff, for product development tools, qa, management,
i don't use coldfusion for anything outside
well, with few exceptions. there's a few old things out there
in the past we used coldfusion + shopify, and were planning to go entirely to shopify, but i was convinced to give woocommerce a shot... feeling a bit skeptical of it at this point, but site launch is less than 2 weeks out so, it's going to work just fine, obviously
 
Never heard of woocommerce, shopify of course though
 
6:58 PM
it's the ecommerce tool built on top of wordpress
which... is the primary reason i'm concerned, i've never had a great experience with wordpress, just meh
 
LOL yea
I mean it "works" but I hate working within it at all
ugh I've had to use Webflow recently though
and if I had to choose I'd run to Wordpress with open arms
 
but i'd rather use wordpress than build a similarly capable cms into our existing coldfusion PIM
which... is just a bunch of jquery
that i built 13 years ago
lol
 
lol that's crazy
 
by built, i ofc mean i took the old system that was broken due to a coldfusion update and turned it into a new one that works as a SPA
 
Just with JQ? I guess that is pre most things... even Backbone
 
7:01 PM
yea, it was a choice between jquery and yui
the marketing director chose jquery
i think they chose well, all things considered
but yea it was jquery, jquery ui, and the jquery history plugin
 
Yeah JQ is still in active use
JQ UI can die in a fire though lol
It was cool initially but ugh I really learned to hate that
 
i really like the JQ UI widget framework for building plugins
i didn't always use it, but i did a few times
 
Yeah it was definitely neat, I think my issue if I remember right was it wasn't in feature parity with JQ
like there were some odd things with chaining that worked a little differently
I remember some JQUI specific bugs that just JQ on it's own didn't have..
idk it was so weird, but definitely did move the web forward, imo it was basically Bootstrap before Bootstrap
 
i know some plugins were built... strangely, or poorly, depending on how you look at it
like failing to return this so you can chain, or returning a this that didn't make intuitive sense so chaining wouldn't work as expected,
most jqui widgets replaced the source element, which made what gets returned complicated
can't exactly return a collection containing elements you just removed
 
But! It worked in IE6 lol
some of those components were life savers back then for sure
 
7:12 PM
heh, Ie7 support caused what i view as the worst "feature" of this app
because IE7 didn't support uploading files with ajax, we used iframes. so i have a whole ajax prefilter that intercepts the ajax request and instead performs a post to an iframe, mimicing what ajax does
 
Those were the days!! lol
 
that feature is no longer needed, but, replacing it would require a bunch of work fixing something that isn't broken
 
Oh dang it still exists?!
 
yep
 
haha well I mean if it's not broke you're right
 
7:14 PM
it's still the source of truth for our product catalog
i'm hoping to replace the entire thing with something off the shelf
magento, woocommerce, akeno, inriver, there's a lot of great options out there, but it's more complicated than just replacing it
all of our automated processes rely on it,
and our internal tools
probably wouldn't be so bad if it weren't just me
 
You're a team of one?!
 
me and a designer
 
Oh man
A lot more makes sense then, definitely wouldn't be trying to move for no reason or fix things not broken
 
back when i built it, there were two devs, but the other was really just a sales person that was good at selling themselves
(literally moved over from the sales dept)
 
LMAO
 
7:28 PM
was absolutely dumbfounded when i realized he couldn't do loops
 
I've had people kind of like that..
like this one dude sold himself SO WELL in the interview
Then I realized why he kept moving the discussion to Angular
 
he could output a db query, but any kind of recursion...
 
he was an "Angular dev" didn't really know "JS"
 
the only dev i only hired was that way, wanted absolutely nothing to do with coldfusion. which is understandable to a degree, but if that's what the job requires...
between the two of us we created a react based replacement for our primary website, and while the new design and component based structure was nice... we had to jump through so many hoops to get the SEO issues resolved that we ended up with a fully SSR site using jsx rather than a react app. which i just coopted as the new skin on our existing coldfusion based site because it had none of those issues and performed better anyway
 
 
2 hours later…
9:42 PM
posted on September 27, 2023 by Prudhvikumar Bommana

The Stable channel has been updated to 117.0.5938.132 for Windows, Mac and Linux, which will roll out over the coming days/weeks. A full list of changes in this build is available in the log. Security Fixes and Rewards Note: Access to bug details and links may be kept restricted until a majority of users are updated with a fix. We will also retain restrictions if the bug exists in a third

 

« first day (4729 days earlier)      last day (71 days later) »