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

18:00
reaction is officially the coolest thing I have ever used in a program
@rlemon those are so cool. Did you see the one with penguins?
pittsburgh?
IIFE - Is this code similar?
because that's the future we live in
> An Interactive Mirror Built from 450 Rotating Penguins
18:06
@rlemon no I changed it to a for loop ....for (var obj in objects) then I used object[obj] to get the item...instead of using an index
for..in is terrible
if you need keys and values. for( const [key, value] of Object.entries(obj))
anyone here programming anything interesting?
Is that a trick question?
@Traitor Nope.
None of us in this room have ever in our lives programmed anything interesting whatsoever.
true dat
18:14
#truth
the less interesting my project is, the less likely I am to get bug reports
True
i know you are being sarcastic but for me it's been 50/50
I got a bug report today for an app that's been in production for a year. First bug report, can't believe no one ran into it before
how long was the report up for?
18:16
@Cereal Maybe nobody bothered to report it and people just thought the software sucks
Is "sink" here supposed to be "sync"?
@KamilSolecki I can play ACOL and SAYC - gets difficult these days online 'cos you assume someone is playing one system and your bidding just leads to complete nightmares
@Cereal don't think so. A "sink" is somewhere you can flush data.
or in some models just a destination
18:21
But it looks like it's syncing the data
it very well might be
have a source and sink to handle sync is, while confusing, totally valid
@KamilSolecki heck - read something like what I'd prefer to play as it's a not too bad system - bridgewebs.com/porthcawl/BENJAMINISED%20ACOL.htm - and work that one out if you've not played it - my oh my...
posted on April 24, 2018 by CommitStrip

Today we’re saying hello to a new sponsor that we’re huge fans of, their website was formerly known as ‘Le Site du Zéro’ in France, and is famous among some of us *cough* older developers: OpenClassrooms! OpenClassrooms offers recognised and accredited online courses, and features a particularly nice mentoring system! In fact, they need your help! Ever thought about beco

I have a small question. A user can pick 2 options or a custom option. I check if the value it set before I push it to a general array.

What might be the best way to push the 'right value into my array' ( product_amount OR product_custom_amount ) based on which one is set?

This is my code: https://kopy.io/OW2D9#line-28 . ( Its about line 20 and 28 )
18:28
@Feeds haha
Ok I figured out to setup a minimal example to show my issue: jsfiddle.net/d97ftj5n
this is a solution, but can this be done in a better way? It feels so 'hacky tacky'.
arr.push(a || b)
if you need to accept 0, then do a more strict test on a
now, for your jsfiddle link.. you could do that in a nicer way too
[ res = b ] = [a];
you know what VS needs to do?
which is a hack as well. but a nice one
if i copy a text, dont allow me to accidentally copy ""
it happens a lot where i copy a text to paste, and then instead of pasting with ctrl v i accidentally ctrl c on ""
18:46
@computed will only run once if none of the observables inside don't change, right?

So if I had an expensive operation, and call it twice, it would only run once?
Assuming nothing changed
if nothing changed, computed should not do anything tmk
Thanks
@rlemon fantastic
the jumping fist pump is amazing
18:58
yall need dark theme.
Oh that's pretty cool. I installed this site I'm making as a desktop app through chrome.
When I clicked on a password recovery link, it actually opened it in the app instead of the browser
RIP
19:01
What a magical progression
!!s/magical/expected/
@rlemon What a expected progression (source)
> Where does a foundation belong?
> On the top!
I hate geese
19:03
@rlemon this guy is fucking amazing omg
@BenCraig if you've got a problem with canada gooses then you've got a problem with me and I suggest you let that one marinate
@rlemon And then roast?
@rlemon geese are the worst bird
smashes beer
19:06
@BenFortune Isn't that the guy who spoils all his friends' magic tricks?
might be
@OliverSalzburg ohhh I almost forgot to tell you
I bought a mangrove
Like, the actual tree?
@rlemon Pics?
none yet
it's not even in the tank I'm putting it in
but I'll snap some tonight.
about this size, with about that much foliage on it
gonna go above my puffer tank
19:10
@JonClements I played ACOL and Polish
@rlemon I bet that's good with ceasar dressing
how tall do mangroves get?
I have about 12 years before it becomes a problem
slightly taller than womangroves
oh, 12 years is plenty
19:12
on average* :)
I can bonsai it as well
@KamilSolecki interesting...
eventually I'd like to setup a terrarium like this
brackish. no fish. maybe some crustaceans.
"brackish" sounds to me like a meta-racist slur
I may be trying too hard to find offense
uhh, I mean you could. but it would be a hard stretch
> mixing salt and fresh water? not in my town.
19:16
how hard is it to set up and balance a jar-sized terrarium?
1/2-1 gallon, say
really depends on what you want in it
Hard Stretch sounds like a movie you'd pull out of a hidden box in Willy Wonka's closet.
so, I have installed 14 version of debian and ubuntu trying out different ones. RHEL is the first install to wipe out my windows booting...
so now i need to d/l and make a windows boot disk..
@ssube reallllly depends. but you could for sure get some nice succulents and some moss and have a good looking jar that requires little water
yeah, that's what I see most often
19:17
if you wanted to put anything that isn't a plant but is alive in it, you'll need to go bigger.
@Luggage grub might be able to detect and fix it, depends on where/what broke
anyone know if bootrec /fixboot will blow away my efi partition or just "add" windows booting to it?
Target sells 5gal jars like this
they're perfect for shrimp
I think I deleted my efi partition. I thought I had one on /dev/sda, but it turns out I just had on one /dev/sdb only
i'm trying to pick apart an old angular app that i don't have the source code to... 1.4.8, is there some particular place i could look within its source to find a list of routes?
19:19
@rlemon It was supposed to be a reference to the Japanese l/r confusion
i'm assuming not any standardized location
@KendallFrey ahh, I see.
hehe.. I guess?
@Luggage I've always seen it done with update-grub like so, but I have no idea what RHEL did or if that applies here
@rlemon I didn't claim it was very funny
@ssube google.ca/… if you're interested, I can tell you how.
19:20
Fellas, I want to start a small brainstorming session for my sake
pretty easy to set up, <$100
hm, does that just add it to grub? I was using my bios boot menu to choose EFI junk before.
I am interested, but I'm not sure I have room for a 5gal jar
@MadaraUchiha Why does your rice wine need our help?
We have a situation where, because of some circumstances, we have TypeScript as a transpiler, but we don't have compilation (i.e. type errors and even syntax errors don't break the build)
19:20
it's not that big. would fit on a desk
at least not room in the right place with a table to support it
yeah, there are two potential tables, but one is super shakey
We'd like to rectify that situation
nvm, found the full list of routes, that was easy
But retroactively becoming stricter all at once is nigh impossible, and we probably can't justify the time investment it would take while features are not being developed.
@ssube the problem with small sizes isn't when something shits, you can usually just do small water changes daily if that's an issue. it's when something dies, and things will die.
19:22
9800 LOC
@MadaraUchiha Is it possible to have one person do the work in parallel?
The question is whether a solution like lint-staged exists (or even somehow use lint-staged itself) to add strict type checking only to newly staged files
then you have a rotting shrimp in there for a day before you get it out, poisoning everything else.
but if you were just doing plants. no problem
asdfasdfsdfasfgasgsafg
any size is fine
19:22
like a ts "strict mode" pragma?
@KendallFrey Perhaps with careful planning to avoid conflicts
yeah, I'd rather not have that or the smell
But even then, I don't think we'd be able to justify a full time developer solely on this task.
there is no smell unless you get your nose right under it
hire an intern
19:23
@MadaraUchiha well, you might be able to build around that
a jar, some stuff to put in it, an air stone, and a air pump. and a desk lamp
rename the shitty typescript files .js
that's basically all you need.
keep your current build, set up a script one, and merge that one dev's fixes back upstream
let them keep working in bits and pieces until their strict build passes, then swap em out
@KendallFrey Is your 3D Printer the Monoprice Maker Select?
19:24
@rlemon save the pump, I can get most of it from the surplus store
I could do a few mason jar-sized moss ones, but those aren't nearly as cool
Have you done ABS with it successfully (or PETG) and how good is it out of the box, how much do you have to fuck with it to get good prints?
and I really don't know if the side table would support 40-50lbs of water
Only PLA, but I didn't really have any trouble with failed prints
19:25
@hilli_micha you have a printer already, just fix it.
The only problem I had was I didn't notice Cura's default was 3mm while I was using 1.75
@Luggage This will be a gift to someone else. Not me.
But actual non-idiot problems were minimal, mainly just tweaking quality
@ssube "a script one"?
19:26
The axis calibration was severely off from the factory though
For starters, how can I only apply this compilation process on a part of the app?
s/script/strict/
iow, don't apply it to part of the app, apply it to all of the app in the background and work through the errors
@ssube Again though]
4 mins ago, by Madara Uchiha
But even then, I don't think we'd be able to justify a full time developer solely on this task.
like a second info-only strict build
sure, but if you have a strict build you can, then you fix one or two errors at a time
19:27
as you touch a file
@ssube pump is like $10 on amazon.
yeah, and merge those into your trunk, so you don't have a "fix" branch diverging further and further
don't cheap out, get a well reviewed silent one
@KendallFrey That's what I've been reading, that it holds its own out of the box, but needs some adjustments. Cool, thank ya for the info, wanted to get a printer that was A) not obnoxiously expensive and B) as 'painless' as they come, and this one keeps being the one I see.
eventually trunk will pass the strict build, and wallah
19:29
as any;
user9693188
Hey guys, please leave @BOi alone, I am TheOneWhoMade. I also plan on never coming here again.
@Pheo Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
cough
moooooooods
MOOOOOOODS
19:31
who is boi
mooooooo
@KevinB troll
> Don't plan on coming here again
I don't think you'll have to worry about that lol
jumped in here a few times to ping me or insult me
@rlemon lemons are dumb, limes are better
19:31
been so busy lately
@hilli_micha this is the third? time he's said that
some sock or relation of our unmade friend there
rlemon is famous. people travel from the other side of the internet to troll him.
they do :(
19:32
@rlemon Yeah something to that effect, and then in about 10 minutes he's gonna start asking people to help with his really bad fork of Zirak's bot
we need a lemon double
Here's a bit of a hint: If you go into a place after having been kicked and claim you aren't planning on coming back, you're kind of contradicting yourself.
user1596138
lmao
user1596138
Kind of
user1596138
But not actually.
user1596138
19:34
You can't contradict a statement that hasn't yet been made :P
@hilli_micha If he starts trolling on github, can I lock someone from an entire repo?
or can you just lock issues
I think you can
user1596138
@hilli_micha Oh god that guy haha
@Jhawins he's said that before, though
user1596138
I didn't know the specific I was being a pedant
19:34
you either block them from their user page or from the repo page
user1596138
I have my chat window down to about 7 messages in size atm
I've never had to do it, so not sure
anywho, we're talking about his person way too much.
Me either, I know there is something on Github for that, I've just never had to use it, so I'm not sure.
I thought Cap was the bad fork. Bad as in evil.
19:35
we are the evilest timeline
Cap is the truly bad fork, because she never says nice things to me
Cylons do CI/CD so well, I'm super jelly
user1596138
!!tell hilli_micha why
@hilli_micha because you touch yourself at night
user1596138
That was so perfect.
@ssube ^ single point of failure
did they only ever have one of those?
when it was appropriate for the story they did
something about 'range', i think
19:38
I vaguely remember that
or yeah rlemon's ping too
user1596138
Madara is putting in work today
the post-planet seasons are somewhat fuzzy, that's where I stopped paying attention
indeed.
although I didn't hate the ending as much as most people seem to
19:44
Right, I'm back
@ssube The problem with that is that you are then chasing a moving target
New features are developed and while I can keep a tight leash on this when I do code reviews, enforcing it on others without proper tooling will be somewhat problematic (albeit doable)
The ideal solution for me would be something along the lines of lint-staged that calls tsc
The questions in that regard is whether 1. tsc can only check throughout the import tree, meaning that I can't just check the one file, I have to fix the file and all its tree of dependencies
and 2. if I can activate tsc on one file while still preserving the tsconfig.json's settings.
@ssube Yay, finally got cockroachdb working with rook
So nice to finally see all green
@JonClements will read, thanks
posted on April 24, 2018 by James M Snell

Node.js 10.0.0 is the seventh major Node.js release since the launch of the Node.js Foundation. In October of 2018, it will become the next Active Long Term Support branch. Partially in celebration of the N-API native addon API graduating from experimental status, this Node.js release also comes with a coordinated experimental release of Node-ChakraCore that has full support for N-API and adva

just in time

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