« first day (2523 days earlier)      last day (2648 days later) » 

user1596138
20:00
I have to find out how to order, and receive a 500lb package now lol
Now, take away the ones with only a couple of cities in them:
UK,Belgium,Bhutan,Denmark,Japan,Luxembourg,Netherlands,Norway,Oman,Qatar,Spain,Sweden,Thailand
user2620028
@Jhoverit get it delivered to a shop near you that you trust?
which is still a pretty big list
user2620028
@towc cities
@towc You seriously have an agenda, don't you?
20:01
I could argue to take away belgium, luxembourg and stuff, but I admit it wouldn't be really fair
@KendallFrey someone was wrong on the internet, and it can't be me
I have to admit that I had never heard of a few of those countries as being kingdoms
really didn't expect Norway/Sweden
@KendallFrey He is fake news, by Russia, no monarchies to serve the KGB.
if I put the limit at 200, that'd probably take care of Bhutan, Oman, Qatar and Thailand though
I might be slightly biased towards europe
you... don't get to decide what is and isn't a monarchy
oh no, all of those on the wiki list are monarchies
Aug 16 at 17:55, by towc
@Jhoverit I am an idiot
20:04
but I wouldn't call the people heading the states that I took off "royalty"
What would be the best way to send out scheduled email notifications from a website platform if I'm trying to keep it simple?
@Trasiva you don't need to look that far
Call them whatever you want, doesn't change what they are
4 hours ago, by towc
@BenjaminGruenbaum yeah I'm dumb
@KendallFrey are they royalty?
@Vap0r 3rd party tool
20:05
@Vap0r Does a third party tool count?
I used to work with mailchimp
@towc idk
@KendallFrey yeah, pretty much my dad just started a storage unit business and he needs a basic electronic ledger to keep track of payments and send him and the customers emails when they are due or delinquent
I almost feel like if you're royal, you need to be tied in a particular way with medieval times
that's the last time royalty as a concept had much of a meaning I guess, and some "fixed points" stayed around?
How would 3rd party tool work, would it be some sort of API where I would register notifications and such?
but whoever started calling his/her family royalty after that, is not royalty for me?
I wonder if the queen watches netflix
@Vap0r most mailing tools can do newsletters and that sort of thing. Most billing tools can send invoices.
Worst case, you mix em together a bit
20:10
@ssube yeah I was just thinking of doing it from scratch because his business rules are really simple
don't send your own email, managing that is... a pain
user1596138
@HatterisMad There's a UPS shipping hub in town, free shipping to there
user1596138
Otherwise have to find somewhere with a fork lift or loading dock
@ssube what's the hardest part? The scheduling?
user1596138
+1 for MailChimp.
20:15
@Vap0r managing reputation and load
you'll get blacklisted pretty quickly
user1596138
It's free too if your use is small
user1596138
SOmething like 10,000 emails a month and 1,000 subscribers
Oh wow yeah we would have max 200 subscribers with approximately a maximum of 3 emails per user per month
besides mailchimp, sendgrid and amazon's email service are the other usual options
Each subscriber would have a storage unit so I'm assuming there would be a low amount of negative reputation
Mailchimp sounds good
20:19
eh, if even a few of them mark you as spam, it will get back to a list and you'll have to go email them
What should my storage and backend solutions be?
@ssube fair
wat
you mean like php vs asp?
isn't nodejs an option now too?
Or does that have a different purpose?
anything is an option
yea?
20:21
I am occasionally getting a chrome message "Blink deferred a task in order to make scrolling smoother. Your timer and network tasks should take less than 50ms to run to avoid this." and when I get it, my scroll event listeners aren't running. Would using underscore's throttle function on the scroll event listener possibly cause this?
node, php, asp, python, perl, literally anything
coldfusion!!
@Alesana I don't think "Your timer and network tasks" is specific to scroll event listeners
@KevinB I don't understand what I said wrong?
20:23
> wat
it just seems odd for someone to ask us what backend language you should use.
you asked "what language should I build my website in?"
well, use a language
use the one that you need
Last time I developed for myself, the only thing I knew was PHP. Since then I have had to use ASP.NET because of the company I've worked at
or if you don't need a specific one, use the one you like or want
20:23
@ssube Ah I must be mistaken then. Thanks
I've never really had a choice and don't really know how to make that choice
use one you want to learn
Prolly nodejs
Is there any significant barrier to entry of nodejs?
I'm trying to figure out why some 25% of the time my parallax scroll JS function isn't working
Even something like cost of running servers?
20:24
sure
you'll always have to pay for server space
So I should just google "pros and cons of different backend languages"?
i wouldn't
lol
would just be a collection of opinions
So what would be the right move?
20:25
if it needs to work, use what you know. If you want to learn something, use that.
I'll use PHP thanks
if you use something you know well, you're more likely to make a performant application
use haskell
if you go with something new... you are more likely to make bad design decisions
!!afk screwing up websites
20:26
monad the shit out of state
I just...
wow...
switch(a) {
  case b:
    return c;
}
I actually have this in my code
but I'm ok with it
it's there in case I want to expand it later
YAGNI
0
Q: C̨̦̺̩̲̥͉̭͚̜̻̝̣̼͙̮̯̪o̴̡͇̘͎̞̲͇̦̲͞͡m̸̩̺̝̣̹̱͚̬̥̫̳̼̞̘̯͘ͅẹ͇̺̜́̕͢ - What kind of string is this?

USSEraserH̸̷͓̳̳̯̟͕̟͍͍̣͡ḛ̢̦̰̺̮̝͖͖̘̪͉͘͡ ̠̦͕̤̪̝̥̰̠̫̖̣͙̬͘ͅC̨̦̺̩̲̥͉̭͚̜̻̝̣̼͙̮̯̪o̴̡͇̘͎̞̲͇̦̲͞͡m̸̩̺̝̣̹̱͚̬̥̫̳̼̞̘̯͘ͅẹ͇̺̜́̕͢s̶̙̟̱̥̮̯̰̦͓͇͖͖̝͘͘͞ . I found this string in Cookie Clicker. It seems it is made of 8 wired big characters which are then made of many unicode characters connected together. What kind of char...

20:53
how do you minify css with webpack?
also css-loader claims to do some minimization out of the box: github.com/webpack-contrib/css-loader#minimize
I'm not sure that css-loader actually bundles/minifies css. I think you have to change your actual code to make it work
I still use gulp on the side to handle css
haven't moved it into webpack
I'm just working on a code exercise for a job. I don't think non-minified css will be a deal-breaker
21:09
@Shmiddty I think it's extract-text-webpack-plugin or something like that
I've tried that
I get errors
tell more?
I don't remember
"invalid string" or something like that
did you do { loader: 'css-loader', options: { minimize: true} }?
21:12
Try that, let me know if that works
the thing is, I don't see how to specify the output location for css
Hey peoples, is anyone able to explain to me what is being done here? bit complex for me :( var MOTD = messages.filter(message => message.text.includes("MOTD"))
.reduce((a, b) => a.ts > b.ts ? a : b, {ts: -1, text: ''})
.text;

$('.content', el).html(MOTD);
Are you using html-webpack-plugin at all?
no
I'm using react
Looks like it gets the most recent MOTD from messages
21:16
Yeah but in each step, I can't seem to understand.. for example 1. message => message.text.includes("MOTD") - it gives either true or false and puts it in to message or the => operator means it's inserted to an array? and the reduce function - how does it work here?
that's an arrow function
messages.filter(function (message) { return message.text.includes("MOTD")})
.reduce(function (a, b) { return a.ts > b.ts ? a : b}, {ts: -1, text: ''})
.text;
does that make more sense?
liftofffffff
what are we launching today?
this.express.use('/', passport.authenticate('digest', {session: false}), router); // Auths correctly
this.express.use('/update', passport.authenticate('digest', {session: false}), UpdateRouter); // 400 bad request
Same instance of passport, same everything. For simplicity, I skipped the nonces by always returning true.
any ideas why could non-root routes be a problem?
(And yes, the endpoint works without auth)
so ultimately, the only thing that should matter, is the password, qop, and username
I love that moment
> Congratulations on the successful insertion
It has just occured to me that I should be able to measure the G-force in the soyuz by observing the period of oscillation of their Sputnik.
lol I was thinking the same thing
21:30
did they ever add that back to skyrim se? i haven't had it since se launched
hmm. never occurred to me that it may be in by default, and i just never went to look for it.
might be releasing a new rage-ish-inducing-ish minigame-ish in a couple-ish of hours
@KevinB much better Kevin, thanks! and in function (a, b) { return a.ts > b.ts ? a : b}, {ts: -1, text: ''} not sure I understand, it takes a and b -> but what does return a.ts > b.ts ? a : b check and do? and also what is {ts: -1, text: ''} for? isn't maybe i'm just not fully understanding what reduce does here and then what is the final result it does .text on?
it returns either a or b, based on which one has a larger ts. a is the previous item, and b is the current item. the object at the end is the initializer, and the first a.
Another example of reduce that may make it easier to understand is:
var total = [0, 1, 2, 3].reduce(function(sum, value) {
  return sum + value;
}, 0);
// total is 6
on the first iteration, sum is 0, on second its 0, and then it's 1
21:50
const total = [0,1,2,3].reduce((sum, value) => sum+value); if you're not a scrub
@SterlingArcher towc would be proud
don't you ever say that to me again
@towc will never be proud of me
Yea, but @towc's parents aren't even proud of him.
i mean, i woulda done that, but arrow functions were a cause of confusion too
That depends on how many linuxes you've broken
21:54
on this particular topic
I've nuked about 3 linux this year
you're in
what would a towc club entail?
I guess you get to let others tell you how to live your life, because if you made your own choices, you'd be dead many times over
so welcome to that?
for starters, your username would have to be changed to consist of 4 letters that don't spell anything on their own
you also get to use a joke way after it stops being funny for everyone and get away with it because they assume you're retarted
cough cough
That focking auth thing im telling ya
22:00
wat @towc is not on the special needs list?
I thought... oh nvm
Im pissed at it so much I'll soon start hitting the screen
@KamilSolecki what's wrong with it?
@FélixGagnon-Grenier 1-800-BASIL to help
@towc it works on a base route only
Leading me to think
That it sure has to do with the route being in the query (it's digest auth)
is it a real problem if that happens?
But then again, I disregard nonces etc and just return true without verifying them
22:02
it already is one
The auth is middleware
So, im either missing something completely fundamental, or it needs a different approach with non-root routes
simplify the problem. change the first route from / to /foo
does it still have the same problem?
so it's not a specific route that's the problem, the middleware forwhatever reason is failing to run on any route that isn't root
Anything that isnt '/'
Will cause a 400
22:07
do you have a link to it
the code
tried scrolling, couldn't find it
Im thinking Maybe its not about failing to run, but the way that digest works? It (afaik) takes the uri into consideration (and it is in my postman headers), but Maybe its handled differently by middleware
@KevinB sure, just need to get out of the shower first :P
user8210158
Hi. Could I see java script and html code together when a user click on image it enlarged?
@KevinB Thanks again, think i'll need to play around with that.. I was also completely unfamiliar with '?' and ':' which I just found means then and else . I also don't quite understand the arrow function. so if I understand correctly -
it checks if message at position a which is most left meaning the newest is bigger than the one on b. which is the most right and oldest in the array and says if the newest's time stamp is the biggest then return a if b is then return b and set a default a. But if b is the fartest most right in the array shouldn't it be checking the one that just came before and not the oldest against it?
@KevinB I think i know what it might be
user8210158
22:15
I mean, I would like to see the code: Java script and html together when a user click on image it enlarged
router.get('/', (req, res, next) => {
      res.json({
        message: 'Hello World!'
      });
    router.get('/cars', (req, res, next) => {
        res.json({
            message: 'wpw'
        })
    })
    });
    this.express.use('/', passport.authenticate('digest', {session: false}), router);
here, /cars works fine
so blind guess is that it only takes a router's route into consideration. Have to do some in-depth debugging then
user8210158
Any Idea where java script code to enlarge photos in WordPress located?
i dont understand the question
but probably couldn't answer anyway because wordpress
..enlarge photos? like, width:100% in css?
user8210158
So bad about Wordpress? It works fine, I want to change java script file..
22:20
i don't use it is all
user8210158
yes
enlarging photos doesn't happen in javascript. give the img elemtn a bigger width and height
user8210158
I want to adjust it code for Ruby on Rails I mean adjust enlarging photos
ruby on rails, with wordpress and meddling vanilla javascript
dear gods
whats going on :O
user8210158
22:22
do you have code?
@User I have lots of codes
but what you are saying, doesn't make sense
one does not "enlarge" photos, you give a bigger space to the image in css
user8210158
all work in Ruby on rails except enlarge photos...
but Ruby has nothing to do with this
at all
user8210158
I want enlarge photos here
22:24
please read what Felix told you.
user8210158
Ruby on rails frame
sent my coding exercise
just the day after it was assigned. That's good, right?
user8210158
enlarging photos doesn't happen in javascript. give the img elemtn a bigger width and height?
@Shmiddty pretty good!
user8210158
yes some example to follow
user8210158
Maybe it is not possible because ruby on rails code make the bigger picture smaller but I want to make them enlarge if a user click on it?
not found my ass
hmm. <cfinclude template="conv.cfc"> isn't a thing, right?
22:31
coldfusion shouldn't be a thing
user8210158
Wordpress unload several sizes of photos .....it would be useful if it could be done in Ruby on Rails
which is why i'm replacing it
but this code is in an SO question and i've never seen it used that way
@SterlingArcher yeah I know you love it
still have wet dreams with it?
well, all of the mechanics of the minigame are in place 😀 time to prettify it
I've got 36 coldfusion points in main
22:33
Whatcha game you working on?
@KamilSolecki why are you asking?
@KamilSolecki js13k thing
now he'll want to talk about it
yeah kamil, why are you asking?
Good point
22:33
I will want to talk about it!
is that what you wanted?
@towc forgive him, he didn't know
Sir, yes Sir!
Im a grate listener ever since jet engines shredded my hearing
... grate?
22:34
that's what the man said
T'was a pun Florian. A pun.
pun yourself.
Twice a day is too much.
i have 76 coldfusion points, from 32 posts
22:35
anyone feel like play-testing the game? It's one of my short abstract things that actually lasts for as long as there's storage on your computer
@towc does it run on mobile?
not yet
@KevinB 9 answers worth 36 points, 8 questions worth 18 points
wow, 32
@KamilSolecki mobiles don't have storage, duh
22:36
shouldn't be hard to adapt
@FlorianMargaine You (https://stackoverflow.com/users/851498/florian-margaine) have 34539 reputation, earned 10 rep today, asked 31 questions, gave 556 answers, for a q:a ratio of 31:556.
avg. rep/post: 58.83. Badges: 9g 67s 99b
@KamilSolecki Why a creepy 'about' section in your profile?
@SterlingArcher You (https://stackoverflow.com/users/774078/sterling-archer) have 14759 reputation, earned 10 rep today, asked 100 questions, gave 567 answers, for a q:a ratio of 100:567.
avg. rep/post: 22.12. Badges: 10g 49s 83b
22:36
@towc sure, send my way
@RahulDesai truth is often creepy.
@SterlingArcher lol, you have more answers than me
@FlorianMargaine nice avg rep/p brah
Yeah but your answers are way more smart
and quality
!!stat
my answers are mostly potatoes
22:37
@KevinB You (https://stackoverflow.com/users/400654/kevin-b) have 75679 reputation, earned 29 rep today, asked 8 questions, gave 2293 answers, for a q:a ratio of 8:2293.
avg. rep/post: 32.88. Badges: 9g 114s 142b
that's definitely how SO works
is rep/p new?
quality answers is what gets you rep on SO. yep.
22
Q: Backticks calling a function

Sterling ArcherI'm not sure how to explain this, but when I run console.log`1` In google chrome, I get output like console.log`1` VM12380:2 ["1", raw: Array[1]] Why is the backtick calling the log function, and why is it making a index of raw: Array[1]? Question brought up in the JS room by Catgocat, bu...

22:38
!!stats
@FélixGagnon-Grenier You (https://stackoverflow.com/users/576767/f%c3%a9lix-gagnon-grenier) have 4612 reputation, earned 0 rep today, asked 20 questions, gave 239 answers, for a q:a ratio of 20:239.
avg. rep/post: 17.8. Badges: 8g 31s 46b
my best question
30
A: How does eval() treat a string object differently from a primitive string value?

Sterling ArcherFrom the MDN: String primitives and String objects also give different results when using eval. Primitives passed to eval are treated as source code; String objects are treated as all other objects are, by returning the object. For example: s1 = "2 + 2"; // creates a string primi...

my best answer is a quote from the MDN
my highest upvoted answer is for the question "How to find the sum of an array of numbers"
oh, at least my mdn quote is for infinite scroll ;)
22:39
i didn't expect my rep per post to be that high with 2k plus answers
@FlorianMargaine github.com/towc/loud-walls-js13k don't have it on a server yet. Haven't written any rules or guide, I'm on that now. git clone https://github.com/towc/loud-walls-js13k and then open /path/to/loud-walls-js13k/index.html and it should be fine
it's best with sound on
@KevinB holy crap yeah. I kinda zapped over a digit there
that's a few answers ;)
@towc uh, no, too lazy
Also that reminded me, nick has been home for a long time now. Doesnt even drive-by meme anymore :/
yeah, i went a bit crazy for a little while answering questions
22:40
night people
🌔
@FlorianMargaine I'll be thinking about you
you never think about me :/
press space to begin the game, and you'll be in a maze (nothing showing on the screen). Use arrows/wasd/hjkl to move around. A certain noise indicates that you hit a wall, another that you moved just fine, and a third one that you completed the maze. Then you can see the maze, and press space again to get to the next menu, and space again to begin the next level
it's like a blind maze
I love it
(well, the concept)
22:42
@KamilSolecki only in the tub
plot twist i dont have a tub
hahaha goteeem
Thats the płot twist i was expecting :sadface:
it came about when I was testing out the espruino (javascript arduino), and couldn't get the display to work, but still wanted to put a maze on it, so just set one of those piezo sound generators to beep whenever I hit a wall
@SterlingArcher You're tubless?
Sad!
yeah I have a glass shower thing
I used to have a boss tub when I lived in the States. Recirculating heating, RGB (or Chroma therapy), bubbles, and get this; it filled FROM THE CEILING!
When it comes to tubs, I don't fuck around
22:47
The iPhone 8 and X were released today, and surprisingly their stock prices have fallen.
what's the shortest width of pixels that it takes to make make a distinguishable "w" (upper or lower case)?
well what do you expect when you release a phone that costs more than a really good laptop
@monners That's called a shower you bumblefuck
x x x   ← this is so bad
xx xx

x   x   ← slightly better, but urgh
x   x
x x x
xx xx

x x     ← :/
x x
xxx
x x
@KendallFrey !!s/bumblefuck/bubblefuck/
i screwed it up
how do i do the find replace thing
22:50
like that but not
!!s/ bumble/ bubble/
@towc @monners That's called a shower you bubblefuck (source)
also, please note how neither microsoft nor apple can count to 10 properly
@SterlingArcher it's pretty much the price of note 8 tho
guess what debian did? debian.org/News/2017/20170617
THAT'S RIGHT, they counted to 10
well, assuming they don't do something stupid at 10
@KendallFrey how do you tell it which message you're doing the replace with?
with !!s/foo/bar/ <msg_id>
where <msg_id> is a number
huh
why doesn't it show
like towc's message is just !!s/ bumble/ bubble/, I don't see a message id
You don't need it
looked like Jim Parsley for a second
22:58
It will find a one it can replace
really funny
Or, the most recent one it can replace
!!s/replace/mess up/
@KamilSolecki Or, the most recent one it can mess up (source)
23:38
Guys, is there an in memory way of doing message queue in Nodejs?
thanks

« first day (2523 days earlier)      last day (2648 days later) »