« first day (2302 days earlier)      last day (2869 days later) » 

00:00
with grafana.org having only breifly skimmed here I'm presuming these graphs can be built into the backend etc
@lix if you want a really low-friction start, I would suggest: some backend API, node or python or something simple, embed a statsd client and ship that data up to a free trial of a hosted statsd server.
louisiana hot sauce or sriracha depending on what I'm eating
for day-to-day
@lix so the backend, whatever your server is running, acts as a client for your log and metrics collectors. It will typically push logs to syslog and metrics to statsd, for example.
those can push to some graphing/search service, like Kibana or Grafana or Graphite or DataDog or whatever
Okay this is starting to make a lot more sense
I've been a big fan of walkerswood hot sauce
But I accidentally bought the wrong one last time
It's nowhere near as hot
00:05
@lix thenewstack.io/… is a good summary of statsd
no promises it will work, but digitalocean.com/community/tutorials/… seems to describe a full stack
So my node server runs and collects metrics and logs which interfaces with the above and is analyzed by there systems and feeds back to the backend gui for viewing
client -> server -> statsd -> carbon -> graphite
@lix exactly. Any munging, like filtering logs and only keeping errors, or aggregating metrics, is done by the transport agent (statsd or rsyslog, f.ex)
for logs, td-agent is a great example
I historically always loved the xbox controllers
oh man, I totally forgot about the whole fluentd bunch
but the trackpad on the DS4 is genius
00:07
Cholula is good on chicken. It's not spicy, but has good flavour
@ssube How do I just give you endless karma
I get paid to do this during the day, so it's cool
listing the names of tools doesn't cost anything, having me set them up for you does :P
Btw bonus points to anyone who can find proof that fire sauce is hotter than diablo
Just giving me a road map for this is super benefical
I think I'll be ditching PHP
you're superficial
00:08
Guys... the in-person interview for Target is an all day affair. I'll be there from 9am until 2pm tomorrow...
jk, you're awesome, keep on dropping PHP!
You're interviewing for a software position right
gl @ndugger
no, he's the cleaning lady
@lix many of these tools are written in python or have a library for it, since python is so prevalent both on servers and for data analysis. Otherwise, node has good clients for most of em. Go probably does as well.
on a Friday?
yuck
gl though!
00:09
@Meredith Yeah, it's not retail, lol
@ndugger remember pants
all day interviews suck
Ok just wanted to make sure lol
@ssube yeah plus I don't want to start delving into stuff I haven't used right at the start of a big project
@ssube like my degree fucking depends on it :/
It's with several people. I mean, they're buying me lunch, which is nice, but yeah, that eats up a lot of time
00:10
is that just your initial interview?
what Target? the store?
or do they go through a bunch of technical people right away?
@Mosho their hq is nearby
to ndugger and I
Nah, I had 2 phone screens, but yeah, this is the initial in-person
you might want to get full-time about finding companies who offer lunch for interviews, it might just be worth it
interesting
how much do their pay?
00:11
interview by day, prostitution by night
and what's the job
they have a large, always hiring, always firing tech dept
all the jobs
Their pay is competetive from what I've seen on glassdoor
where is it
Minneapolis
where all the HQs are
because we're cool
00:12
I know a few people who left for target and they said the pay was dece
never heard of it
it's just all process, you don't get to do anything yourself
Because you're a communist
there are entire teams that haven't developed a product in the last year
they just get lost between managers and vanish
All I know is that I'll be rewriting their cart system in React
00:13
sounds fun :|
I've heard good things about it from product people
but that it won't be released until after this holiday season
unlike Best Buy, which every single thing I've ever heard has been awful
I want to try to get a game dev job in a few years
00:14
not sure how feasible that is
from "they run every known language" to "each team gets to use their own stack" to "the company is out of money"
but I will not die without working on a game
shitty as it can be
Some game dev jobs are really easy to get
@Mosho it's easy-ish. They have a ton of candidates, but their turnover is insane.
Game dev === burnout
00:14
so you'll be on the list and get a job in a year or two
and then work 120 hours a week for a year
and then leave
If you go to a company that treats its employees terribly and has a shit codebase
sounds good to me
@Meredith like a game shop
I bet they'd hire anyone
I want to work in a real company
00:15
Like half the companies in the industry
I know someone who works for Ubisoft; he worked on Watchdogs 2
@Mosho you might enjoy looking at some game jams, or games that need to be simple, like the js13k ones, then participate yourself 😀 No risk of getting thrown out by the industry, while still getting positive exposure and learning
I think that was Ubi, right?
watchdogs was ubi, yeah
He seems to enjoy it
00:15
@towc yeah I will start doing jams at some point
You need to know C++
I had a couple buddies, one who did a bunch of the render code for bioshock infinite, and one worked for Riot and did a bunch of LoL
both absolutely hated it
the bioshock guy actually ended up taking a few months off on his doctor's orders after the game came out, cause he was going nuts
or maybe he quit just before release
either way it was Sony's fault for refusing to support the PS3
the guy at Riot was working 120+ hour weeks and getting paid what I am now, to live on the outskirts of LA
yuck
I doubt he worked 120 hours for real
Hell, anything over 40 hours a week is disgusting...
00:18
isn't that kind of the Riot's guy fault?
he slept at the office a couple nights a week
Just come live in reading UK and get paid $50k to be a junior
@towc no, it's management. That's how they chose to run their team.
well no, rather, if he sees that the job pays shit, he should try to change it
it's somewhat unavoidable when you have release dates and a publisher breathing down your neck, the boss isn't actually the boss
00:18
I guess I don't know how it works yet
Also is anyone else upset that taco bell replaced its verde sauce with diablo
verde + fire was a fantastic combo
meredith discussing the real problems
I had taco bell once and it sucked
What's a good name for an object that gets passed into a function to give it access to a specific API?
@towc the older you get, pay starts to come second to culture and work/life balance.
00:19
key object?
@Mosho Taco bell sucks so much
@KendallFrey Credentials, Principal, Context, Transport/Transit
@ndugger well, clearly both pay and environment were shit
I guess that contracts were the main issue
more generically, Client
I'm gonna start bringing my own sauce
I hate going to taco bell with my sister
00:20
@KendallFrey DI?
@towc pay is a product of environment and demand. Game devs pay nothing for work because everybody wants to be a game dev.
I can't stand taco bell... so disgusting and makes me feel sick
She uses fucking mild
@KendallFrey Bob
I like to go to Pancheros and take a bottle of hot sauce and eat it with my chipotle burrito.
00:21
@ssube hmm that doesn't sound right for my situation. It's specifically passing in an object to a module (which will be loaded in a DI-like way) that gives it access to the framework in which it operates.
Maybe just using the name of the framework makes the most sense
@KendallFrey Context, then, imo.
@ndugger Idk what pancheros is
if it's letting that unit of work contact others and know where it lives in the system, it's probably context
That's not too bad
if it's more of a client that makes requests, something else
00:22
@Meredith It's like a slightly less good chipotle, but their hot sauce is amazing
I don't think it does either
@KendallFrey it gives the function/call access to the rest of the framework, though? Like request/response info or other services?
In my case it will mostly be registering callbacks for certain operations in the parent
Nice bottle
00:23
Basically a plugin
@ndugger I can feel my anus cringing from here
hm, I know that's a real pattern, but I don't know the name of it
I use like a quarter of a bottle every time I go there. It's decent heat, and the flavour is just amazing
TIL you can retweet your own tweets on twitter
I did this exact thing several years ago for work. In that case the parent application just injected a variable called main in the global scope
@towc I've noticed shanselman start doing that recently. I have no idea why.
@KendallFrey I prefer to have the plugin implement some interface object, like a Hook thing or an event buffer sort of deal, and return that to the parent. Parent then calls the hooks when it wants to and any the plugin hasn't provided default to a noop.
00:26
In software engineering, inversion of control (IoC) is a design principle in which custom-written portions of a computer program receive the flow of control from a generic framework. A software architecture with this design inverts control as compared to traditional procedural programming: in traditional programming, the custom code that expresses the purpose of the program calls into reusable libraries to take care of generic tasks, but with inversion of control, it is the framework that calls into the custom, or task-specific, code. Inversion of control is used to increase modularity of the program...
@ssube That's a good idea
you can also provide a controller for all the plugins, and have each one push its implementation of that contract
then you just for (const plugin of plugins) { plugin.hookForThisEvent(event); }
That's an idea I don't comprehend
I can throw together a minimal example, sec
i.sstatic.net/mty09.png Hey, guys, is there any way I can get the highlighted stuff from the element?
00:29
yes.
if I do a[1] i get the DOm as text
@towc How can I do it?
look again
you get the DOM element
I won't accept any buts or excuses, not this time
@JoãoPaiva no, you're probably logging it out; the console will log out the DOM element as HTML, but it's the actual node
I've had enough regrets in my life, it's time to put a stop to them
use console.dir if you want proof
00:31
I didn't even know we had console.dir in JS
thanks
but then, there's a lot I don't know
...
child, pls
someone has clearly never had to debug in IE
@ndugger then why won't this $(a[1]) work
I've used the school computers a few times alright
@JoãoPaiva Don't use jQuery
you already have the element
00:32
I need to search for an "img" element inside that element
i was trying to use a selector for that
then query for it WITHOUT jQuery
jesus
a[1].querySelector('img') will do it
@KendallFrey gist.github.com/ssube/a7c8f88df978b2609a71a8d5b7890e81 is the pattern I'm talking about in its full scale form
or you can be even more "efficient": document.querySelector( 'article img' );
it's an extension/cousin to how node's EventEmitter works
00:33
Thank you, it's been a while since I've done proper plain old javascript ):
just expanded across modules
it was started by older tools like the Autodesk stuff and Adobe based on virtual dispatch, then evolved when ABI differences were no longer a problem
@ssube 'preciate it
well, get back in shape pal
@KendallFrey in general, it's all about well-defined attachment points that both parties know about ahead of time, typically passed as a parameter to the constructor or plugin factory.
how you implement them can vary
(sean spicer is the guy who tweeted his twitter password twice)
well, it's bedtime for this kid
PS jAndy is probably on drugs
00:41
nice
jAndy is just always going through meat withdraws
Vegetarianism in Humans isn't natural
meat is murder
#baited
it doesn't have to be
you can just eat live animals
00:44
But then they die
you can eat unimportant parts and patch them up again
The trick is to eat animals that can survive in the human digestive system
Like flatworms
but that's probably crueler than just eating the whole thing
or only eat things that would and could murder you, like lions
then it's fair
Also stone crab claws
They grow the claws back
Lizard tails too
Would you eat bugs? Like not even for survival, but because it's more sustainable?
00:46
I'd eat anything if it has good macros
@ndugger I want to try them, just crushed into something like tempeh
I won't ever eat bugs intentionally
make it a protein I can cook with and we're good
00:47
I wanna get into eating crickets
Like as a snack
mealworms are probably the best bet for cooking
I hope I die before Humans wise up and start serving up bugs as our main source of protein
My hedgehog loved mealworms
My kids can suffer through that... not me
@Meredith maybe you will to
00:47
She liked cottage cheese and hard boiled eggs too
& I eat a lot of cottage cheese and hard boiled eggs
We probably have the same tastes
hard boiled eggs are my jam
If I had to eat only one food for the rest of my life, it would probably be hard boiled eggs.
@Meredith thanks for a few more interesting entries in my search history
@lix why, hey there! wb from exams
What
@Meredith you might be hedgehogkin
00:49
@FilipDupanović Hey man! o/ thanks :p
Maybe that's why I curl up into a ball when I get scared
good or bad news but my final year project is going to be another javascript ting so I'll be around way more :D
Also why I run so fast
I eat my hard boiled eggs without salt or pepper
I load them up with salt
00:50
Just straight up dead chicken baby meat
Though, if it's an option to turn that shit into deviled eggs, I'm so on it.
I eat an absurd amount of deviled eggs whenever I have them
Like eating 12 hard boiled eggs? wtf
But 12 eggs worth of deviled eggs? yeaaaa
dessert
> Most creatures known as sea slugs are actually snails, i.e. they are sea snails (marine gastropod mollusks) that over evolutionary time have lost their shells, or have a greatly reduced shell or an internal shell
Someone explain that to me
Bullshit
nothing is real
everything is a lie
stop wearing a shell
dicks out for sea slugs
00:57
> The shell-less condition has arisen many times independently during the evolutionary past, and thus the category "slug" is a polyphyletic one.
Man whitespace sensitive templating languages look fucking scary
it's almost like we were never meant to wear shells, dude, they're just like a construct of the society we're enslaved by
Should I even be bothering to learn how to use PUG?
look at how that one oil company uses a shell as their logo
01:00
"we call ourselves shell even though we dont give a shit about protecting things that wear shells"
Sea animals aren't even real animals
@Meredith that was towards me right?
they're just figments of our imaginations
Yeah
Just wondering how I do includes with node js and serving the html files
I understand how to route them with exspress
I'm guessing I just need to cut things into footer / header and serve them inbetween the other html
01:02
There's tons of templating langauges you can use with Node
and make stuff static
Use a different templating language
Jade, EJS, Marko, Dust, etc... the list goes on
Or render on the client
I prefer Marko when doing server side templating
01:02
polo
indeed
Like I just want to carry on using the bootstrap I know
ew, if you mean twitter bootstrap
alongside Sass and these templating languages just look like effort.
why ew :3
because it's restrictive and grossly named and clunky
01:04
Whats clunky about it?
col-4 btn btn-fuck
fucking ew
Get that nasty shit out of here
What would you propose over it?
flexbox
If you say angular I'm going back to my code lel
remove more letters
01:05
and your own brain
cl4 btn btnfk
but also, yeah, what meredith said sarcastically... stop trimming words like that
button -> btn... FUCKING WHY
Because it's 2 chars less
Save the bits, save the world
Absolutely no
leave
I am of course joking
M8
01:10
Jun 6 '14 at 15:47, by Nick Dugger
if (person.sexuality.orientation == null) person.sexuality.orientation = jQuery
Marko looks quite promising
@lix nunjucks is nice, it has template inheritance and good roots overall mozilla.github.io/nunjucks

It's on the tip of your tongue

Oct 18 '16 at 23:27, 2 minutes total – 8 messages, 4 users, 0 stars

Bookmarked Oct 18 '16 at 23:31 by ndugger

@FilipDupanović The only annoyance I have with using template langauges is that it feels like overkill for pages that are not going to be dynamic :/
But if it means I can cut down the amount of writing and copy paste, I need to do I'm game I guess
Oh
If you're serving static files...Don't use templates
01:15
Actually I might be wrong loading up articles would be nice if it could happen without reloading
Fuck man I actually don't know what I'm doing
My brain hurts
Just serve static files with express
Here's the thing
have a few drinks, pray to Zeus, and nap it off. Make a fresh start in the morning with a tall glass of orange juice, and a pedicure.
I doubt youre going to use this in production so it'll be fine
LOL
Basically I made that above and I'm thinking when someone clicks a box the article for whatever that is will load inplace of it
01:18
well, plain HTML is pretty verbose; I'd much rather use something else for authoring the documents
if it's static content, great, then just pre-build all the documents
you wouldn't want to be using Node.js for serving static content, best use something like nginx for that
That's the thing, There's going to be hundreds of articles and...
yeah it's dynamic
I need node for what I'm trying to achieve this part is kind of trivial really
But I guess I need to get it right
I'd probably do the templating on the client
In that case especially
This is going to sound bad
What do you mean by on the client?
Yeah that does sound bad
The browser
React, Angular, etc
01:22
The idea at the moment is to use an API which pumps out lots of articles and save them into a DB and then output the information out to the client
Like from what i understand I'll have to do something on the server before sending it to the client
I guess I could serve the page without the pages and the information and use sockets to send over the articles
Then when they click on them use the socket to get the information back from the server
I'm guessing what I just suggested is bad practice
Not so much bad practice
depends, that's perfectly legit
As it is you probably need to find a tutorial for a simpler project first
the server can even inject JSON into the response document
I mean this is probably good for collecting the user events as well
and like meredith said earlier I can handle the routes on the client at least for the frontend aspect
I should probably also use react for the components as well
But react isn't responsive as standard :/
01:38
what do you mean by that?
he means he's doing something wrong and is blaming it on react
React is responsive?
umm, well, it really only cares about the DOM
you can still assign CSS classes and write inline style
Okay that makes sense
damn you @SterlingArcher
01:43
"At press time, the retching vulture had never felt so miserable in its life and vowed to be more careful in the future when selecting a decaying pile of muscle, skin, and feces-filled entrails."
01:57
!!youtube symphony x nevermore
@Mosho Something went on fire; status 403
:|
@zirak get your shit together
who is in charge of it now
both
but google stopped the public api
so tough shit

« first day (2302 days earlier)      last day (2869 days later) »