« first day (2747 days earlier)      last day (2208 days later) » 

9:00 PM
!!afk but wait! there's more.
 
I do have a lot of butt weight
 
!!afk it's time to папироса
 
user1596138
 
user1596138
This looks like hell if your work uses it haha
 
9:02 PM
!!s/[aeiou]/a/ 42255824
 
Good pop-metal song
 
@KendallFrey /gagglesnort (source)
 
oh should have used g
 
omg kendall no
 
good enough though
 
What should I get with my tax refund
 
Yessssss just got upgraded for my 13 hour SF to NZ flight
 
MORE NEW PARKWAY DRIVE @LOKTAR @BENFORTUNE @GNI33 @NEOARES
 
@phenomnomnominal siiick
first class?
 
@phenomnomnominal to Supa permium?
 
9:04 PM
do you get your own steward(ess)?
 
@KendallFrey new GPU? Upgraded printer? New desk/racing chair?
 
new gpu? bahahahahahaha
 
@KendallFrey I got 1 candy with mine
 
it's only $150
 
Oh wow canadian refunds suck lol
 
9:05 PM
I have yet to cash mine, but it might cover a pack of smokes
maybe half?
 
I got my refund back in february
 
@SterlingArcher it depends on the difference lol
 
mine came a month or so ago
 
Got mine at the beginning of this month
 
the bank app has trouble scanning ADP and federal checks, though
 
9:06 PM
a whole $3
 
it's not worth going to an ATM to cash $6
 
@SterlingArcher Not sure I like it
 
@BenFortune it's no Wishing Wells but I like what Winston is doing
Got my Parkway Drive ticket 😃 May 5th I'll be there raging out!
 
I love Battle.Net
> You've opened battle.net to play OW, but an update is available for that and other games, BETTER UPDATE HEROES OF THE STORM FIRST (LAST PLAYED 1 YEAR AGO)
 
i mean...
you can click a button to fix that
 
user1596138
9:19 PM
jsfiddle doesn't even work in IE11
 
user1596138
I can't figure out why this won't work in IE11
 
user1596138
Seems to support everything, it's prefixed. MVCE codepen.io/anon/pen/pVyYez
 
user1596138
Open in Chrome to see expected behavior, it should "count down" the circle
 
user1596138
dashoffset works
 
user1596138
Animations on their own seem to work
 
user1596138
9:23 PM
Oh shit wrong prefix
 
user1596138
No yea nvm I think it's right
 
NH.
is there a question as to what is the difference in React (or any JS for that matter) between calling your App component's constructor App() and calling it constructor() ?
can't find it in searching.
 
example?
 
can we talk about star wars for a bit?
 
@hilli_micha and then you click force update on OW and it tells you that its trying to prioritize it, then nothing happens for the next 10 minutes
 
9:27 PM
what i hate is when it decides to update the launcher instead.
and all the new "social" shit they're adding to it
 
user1596138
Yea Im fucked
 
user1596138
It jus don't support animations like that on SVGs.
 
@NH. in a class or as a function?
 
@phenomnomnominal I like it, Shai had a good impression of you too! I'm glad you guys hanged out
 
@SterlingArcher wut, link
oh
Prey
like Kendoll
 
9:36 PM
who's watching infinity war this week?
 
I'll be at the beach so I'll miss opening night
 
what is infinity war
-1
Q: Create Javascript variables depending on list values

Apolo RadomerI am using Javascript in order to change the format of a JSON string. At the moment I am manually creating a new variable for each userId value (e.g. aaaaaaaaaaaa_metric, bbbbbbbbbbbb_metric): var json_data= {"headers":["dateActivity","productId","group","platform","countryCode","userId","c...

 
@SterlingArcher Why am I so bored by this :'(
 
@KendallFrey just “premium economy”. But on Air NZ that shit is pretty fancy.
@BenjaminGruenbaum glad to hear that! They’re good dudes, I’m very keen to come visit!
 
9:51 PM
@KevinB oh no
 
@ssube Getting Webpack to trick TypeScript doesn't seem trivial.
I have to either go with .something.tsx or find a way to make it happen.
 
ohh, getting webpack to trick typescript. I want in on this action.
 
@phenomnomnominal definitely come
 
@Luggage We have a situation at work where we have TypeScript transpilation but no type checking
Meaning that type errors and even syntax errors don't fail the build
 
I heard the situation, but not the trickery you mentioned.
with the extension.
 
9:59 PM
@Luggage I want to make some sort of .sts and .stsx files
 
@MadaraUchiha you didn't fix it yet when moving to webpack?
 
That would represent strict ts and strict tsx
So that we can gradually migrate
@BenjaminGruenbaum lol no
There are like 10k errors on that project
 
You can just blacklist the existing files and decide that new files get compile errors no?
 
You can just become stricter retroactively, that's why I'm so strict to begin with
 
could be down to 9.5k if you didn't complain so much :)
 
10:01 PM
@BenjaminGruenbaum Not easily, you need a way to differentiate
I thought initially of doing something with lint-staged
Running the files through tsc
 
@MadaraUchiha a hard-coded blacklist
 
But that poses problems
 
@MadaraUchiha TSC doesn't work that way
The type system is global
 
@BenjaminGruenbaum Right
@BenjaminGruenbaum That's not the problem
 
10:02 PM
1. If you tsc on files, it ignores any and all tsconfig.json you may have
 
That's easily fixable, just run a node script that runs tsc with a --tsconfig flag
 
2. tsc would deeply check the dependencies as well, and so you can't move a file, you'd have to move the file and all of its dependencies
And all of their dependencies and so on
The entire import graph
 
Yeah, you'd start from the smaller leaf files and move up
 
@BenjaminGruenbaum That's not what I want, I want to enact a policy wherein any and all TypeScript files touched by a MR get converted
As much as possible at least
So I thought, how about a different file extension?
 
In any case you should start doing it already
 
10:04 PM
@BenjaminGruenbaum I can't enforce it though
 
Waiting with it, especially for new files just accumulates debt for no benefit
 
you don't have anything to enforce yet :)
 
@MadaraUchiha use a different loader?
 
Aside from manually going over all the files in a merge request in my editor and making sure they're all green
@BenjaminGruenbaum Again, I can't differentiate the files
A blacklist isn't good because you have to remember to take files out of it
 
I'm sure you could script something to take filenames from a diff and check the strict build for errors
 
10:05 PM
@MadaraUchiha you can gradually migrate files and do it based on paths
 
Is this summary correct?: You want the build to fail when a 'new' .ts file is commited with errors, but continue to build ignoring TS errors if it's from 'old' files?
 
@Luggage Correct
Unless an 'old' file is touched, then it becomes 'new'
 
with the right aliases, I think you can make those new/migrated paths look the same as the old ones within TS
 
My current thought process is making a different file extension for new files
And slowly move the current files over at our leisure
 
run a strict error check for the whole project, filtering old files from those results, fail the build if it has results.
 
10:08 PM
@Luggage I don't have that kind of granular control over Webpack
 
not every part of your build process needs to be webpack, does it?
 
@Luggage I don't want an added complexity of adding another part, currently it's purely webpack.
 
but you can.
 
Let me finish
 
ok
 
10:09 PM
The problem with a different extension is that TypeScript is hardcoded to only support .tsx files for JSX
While I can probably set up something with .strict.tsx to preserve the actual extension
 
if you want an extension, add more periods. Foo.legacy.tsx
 
I don't particularly want a lot of files with something that huge
 
@MadaraUchiha I don't think you need to make it granular. Does webpack give you a way to see/handle errors?
 
Alternatively, I tried something along the lines of .stsx, and using a loader to rename the file before it gets to ATL
But that doesn't seem to work.
 
if you can hook into that, you just need to run a strict build in parallel, and essentially compare the logs (but at the error handler, not the literal log output)
 
NH.
10:11 PM
@ssube in a class
 
the requirement of all-webpack makes this complex.
 
@ssube That sounds like a lot of complexity involved
Also, how would you know which files to ignore and which to don't?
@Luggage Right, but breaking this requirement would add a different kind of complexity, one I'm not sure is better.
 
one way is the extension like you saif. but with a . and shorter. foo.s.tsx maybe. But I don't like that.
filtering based on the presense of a pragma might be possible with a bit of code.
 
A simple build is a big advantage I'd like to keep.
 
// you mean...
class Foo {
  Foo() {/*...*/}
}
// vs
class Bar {
  constructor() {/*...*/}
}
// ??
i've never heard of or seen the former.
@NH.
 
10:15 PM
@Luggage Presence of a pragma?
 
a comment in the file.
filter files based on contents.
 
@Luggage I don't think I can do that
 
seems all the former does is define Foo as a member function of Foo instances, they're not the same.
 
NH.
@KevinB yes. I thought I've seen that pattern in React
 
Foo very well could have been apple
 
10:17 PM
sure you can. The simplest is just build the list of files in your webpack.config and stick it in the include of some loader.. but we want to use it to filter errors..
 
Don't think Webpack supports conditionally passing to a different loader based on the result of another loader
 
it's not the constructor, it's just a function
 
it has excludes and/or includes
 
@Luggage Ah, like a pre-build step
 
yea, but just another line of code in webpack.config, not another build process
 
10:19 PM
@Luggage I wonder how long it would take to read the first line of every .ts and .tsx file in the project
That's a pretty interesting direction
What do we do in the case of watch?
i.e. the comment being added during a dev session with webpack-dev-server or whatever?
 
user1596138
There was a seconds countdown happening already during my SVG countdown
 
user1596138
So by the power of React, I just manually set strokeDashOffset to (totalLength / amountOfSeconds * this.state.remainingSeconds)
 
user1596138
I know nobody cares but it's JS so don't flame me
 
user1596138
!!afk home
 
!!riot
 
10:22 PM
╯°□°)╯┻━┻
 
user1596138
!!catfish
 
@Jhawins That didn't make much sense. Use the !!/help command to learn more.
 
user1596138
I'm eating catfish.
 
user1596138
Ooh... Phrasing?
 
?
 
10:22 PM
@MadaraUchiha time bash -c 'find . -name *.tsx | xargs head -1'
that's not right..
 
find . -name '*.tsx' -exec head -n 1 {} \;?
although I think even that is deprecated now
 
time bash -c 'find . -name "*.tsx" | xargs head -1 '
 
Around 0.06s
So I don't imagine it would be too bad to do in node
 
-exec foo {} \; was in my rhcsa book..
I forgot
 
6 mins ago, by Madara Uchiha
What do we do in the case of watch?
 
10:26 PM
i mean.. also in the man page for find..
 
This though ^^
 
ohh watch.
> an exercise for the reader
I don't know, ask a programmer.
3
 
does webpack treat a file differently if it changes during a watch vs running normally?
 
.tsx and .TSX
:)
 
10:30 PM
capitalize the unsanitized ones and people will have a reason to fix them :P
 
problem solved.
 
@Luggage windows...
@ssube No
But he's proposing something outside of the normal webpack flow
 
Windows won't differentiate but webpack still will, i think. You don't need two files with differnt casing. But it wasn't a serious suggestion.
 
He's proposing, on first tick, to read all of the files' first lines, determine which of them have a fancy comment, and decide based on that
 
there must be a way to do that within webpack
some sort of pre-loader that adds metadata? I don't know the internals well enough
 
10:33 PM
I dont know how I did that
but I sent my friend a totally wrong bank account no
I just realized
 
well, all I am saying is that if you don't like your file name conventions, like strict.tsx, you can use the file contents (since you can turn that into a file list)
 
@ssube None I can see at first glance
@ssube Probably some combination of a loader and a plugin
Tomorrow though, I'm a wee bit past my bedtime
ttyl, good night
 
Let's talk about him, now.
 
Madara smells of elderberries!
 
10:42 PM
yum
 
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
You need to give some command
Usage: yum [options] COMMAND
 
yum food
 
10:54 PM
yum && rm -rf /
 
@phenomnomnominal tried it, same message :\
 
11:38 PM
They let me do free stamps on my golf ball order so I used Pixel Rick :D
@KamilSolecki this months Short Par 4 😃 Callaway shoes!
 

« first day (2747 days earlier)      last day (2208 days later) »