« first day (3314 days earlier)      last day (1625 days later) » 
00:00 - 21:0021:00 - 00:00

9:00 PM
Have you gotten any other offers?
Is that an upgrade or downgrade from your previous salary?
 
no, and its double my current salary
but idk if another job wil come along at 45k
 
@RachelDockter Nice, job offers are always nice confidence boosts
 
or if i should consider myself lucky
omg hey david
 
it's a good salary
 
It depends on where you live
 
9:01 PM
its gonna be in london
 
it's a decent salary
 
right in the rich part too so my rent is gonna be huge
 
long time no see
 
wait serious
ikr, i remember u helping me when i was still in uni :D
 
9:02 PM
for london, it's ok
 
Do you have room to negotiate?
 
yeah, the go game thing, that was an interesting project
 
if it's one of your first jobs ever, then it's great
 
well on the spec it said 35 - 40 so i dont think i do
it will be my 2nd job
 
Does GlassDoor have any insights on how much they pay developers with your qualifications
Ah ok
 
9:03 PM
i hate my current one
 
Oh well shoot that's a great reason to take the offer then
 
not sure but ill have a look
 
the salary is fine. What about the rest of the stuff?
work environment, languages, possibility to grow
location, ability to remote
 
no remote working, flexible hours and salary meeting every 6 months
 
$50k USD? seems a bit low
 
9:04 PM
insurance and stuff
 
they have the pension scheme but i dont want it anyway
 
I don't want to come across as insensitive but you may want to see what other female employees have said about their experiences working there
 
i think its about 55-60 usd
 
@JBis for a second job, given the first one lasted maybe 2 years, I don't think so
 
if you hate your current job, and it's a salary increase, then you should take it
 
9:05 PM
i mean, 50k USD here is great
 
other females working in programming? hahaha ... jk
 
have you done a budget to see if it's still a boost even with higher living expenses?
 
yes ill have about double the net of what i have now
 
@KevinB depends on where you're at
 
its because im already paying alot of rent for manchester
 
9:06 PM
@RachelDockter Maybe wait a bit and see what else you find. Because if you take it and then get an offer for more somewhere else, its not gonna look great that you jumped ship very quick.
 
and remember, if you take the job and a week later get a much better offer you can always leave again. Just be honest with them and tell them it's an opportunity you can't pass up and that you're very sorry that it turned out that way
 
if you're gonna have double the net after moving to a rich area of London then that sounds like a great opportunity
 
if you want a good life, move to eastern europe while maintaining business connections in the UK
it's as easy as it gets
 
There is nothing wrong with jumping ship very quick if you get a better offer
 
honestly leaving after a week is far better than leaving after two months
 
9:06 PM
yeh thats true, i have already handed in my notice though
 
oh shoot
 
ahah, then it sounds like you've made your decision
 
one senior there i think hes messed up in the head hes always mean to everyone
it really ruins the environment
 
@david I don't think it looks good, but thats just my opinion. Most places want people who are gonna stick with them.
 
although in the future make sure you have the new contract signed and sorted before resigning
 
9:07 PM
@JBis Companies would thank you for leaving after only a week instead of wasting their time
 
@david i couldnt take it anymore there, my opinion meant nothing to anyone there
they just see me as a stupid graduate
 
The first six months or so as a developer, you're not breaking even for the employer
 
@JBis if it's a much better opportunity then people are pretty understanding
 
@RachelDockter make sure it won't be like that in this new company
 
9:08 PM
yeh, ill be a mid lvl there so i feel like ill get taken a little more seirously
 
good stuff
 
I don't think it's about seniority as much as general environment
 
@RachelDockter that sucks, I hope you find a decent place. They do exist
 
one time i was helping a front end dev and he just said: stick to your javascript
like who says that??
 
@forresthopkinsa @david not the company you are leaving but a company in the future that sees you only stayed at the previous couple places for less than a year,
 
9:09 PM
thanks :D
 
@RachelDockter Someone who doesn't respect women
 
I've had managers make me feel warm and fuzzy with their managing, even if I wasn't providing much value to the company
 
@JBis I'm saying that it looks better to leave immediately after getting a job than it does to leave a couple months in
 
and others who just wouldn't listen to me even if I was the local expert
 
@forresthopkinsa and it looks even better to not leave for a couple years
 
9:11 PM
Of course it does but the value gained from that can be easily outweighed by an offer for a higher salary
 
not necessarily in the long term. Depends where you are in your career and how much the higher salary is.
 
Think: If you're getting offers for significantly more than you're being paid, then you're probably not going to stay at that place for a very long time
 
@JBis why would you put a company that you'd only been a week at on your CV?
 
@david fair point
 
You're probably going to end up staying longer at a company that values you higher, than you would have stayed at the original company in the first place
 
9:13 PM
and if they do find out, just be honest. say that the next company offered you a much better deal that you would be stupid to turn down
there is nothign wrong with wanting what's best for yourself
 
It's not just a money thing either
 
david are you still in manc? the christmas markets are here now :D
 
It's about feeling undervalued by your employer
 
@RachelDockter i have never been in manc :D I am in new zealand, and spent some time in san francisco, but i'm now back in new zealand
there are a few other davids on here though
 
oh must have been another david
 
9:17 PM
there are a couple
 
ever since i handed my notice in, the boss hasnt spoke to me
must have felt like i betrayed him or something
 
probably frustrated at the prospect of hiring your replacement
he probably knows that your replacement is going to cost a lot more than you
 
thats strange though because he didnt offer me a pay rise to stay or anything
 
meh, i wouldn't read too much into it
 
yey my app is working \o/
 
9:29 PM
nice!
 
anyone know of a video format that supports an alpha layer that works in chrome? I cannot get my .mov videos to play in chrome.
 
have you tried vp9/webm
 
I have not
 
that's probably the most modern format that Chrome is pushing
I don't think Chrome supports QT format anyway
so you're gonna hit a dead end trying to get .mov files working
 
Yeah I couldn't get .mov's to work
 
9:38 PM
ffmpeg -i file.mov file.webm
 
did you just read my mind
 
ffmpeg will default to libvpx-vp9 for webm format so that should do the trick
yes. yes I did
 
thanks man
 
anytime
 
is there a way to reliably get the hostname from express? req.hostname relies on the Host header that can be inaccurate or omitted (depending on configuration)
 
9:54 PM
origin?
if you're worried about spoofing... nothing will really fix that other than an authentication method or ip whitelist.
 
hmm
 
 
1 hour later…
11:08 PM
@Bergi would it be okay if you had promises that didn't reject? For example if you preferred this style:
const gostyle = (p) => p.then((r) => [null, r]).catch((e) => [e, null]);

const firstRequest = goStyle(fetch(1));
const secondRequest = goStyle(fetch(2));

const [err1, result1] = await firstRequest();
const [err2, result2] = await secondRequest();

// Handle errors
 
what if they did reject?
 
i don't think they can?
 
how will it reject with a catch on the end?
you'd have to do some weird dark magic for that catch expression to throw a new exception
 
i mean, goStyle('s gonna throw an erryr every time
 
also I don't know if it's even possible to ping non chat people like that so bergi might never respond
ahah, stuffed the capitals... and now i can't edit it rip
 
11:14 PM
you can't ping someone who hasn't been here recently
 
@KevinB what are you seeing that I'm not
 
gos vs goS
 
lol ok
well that's not gonna reject, that'll just throw hahah
 
:)
it would cause the async it's in to reject
 
that's true
do you pronounce "iife" like "iffy" in your head
 
11:17 PM
i pronunce it i i f e
 
interesting. I pronounce GUI 'g u i' in my head but I always say 'gooey' out loud because that's how everyone else says it
 
people who pronounce json jason are worse than people who pronounce gif gif
 
but I had been reading GUI for years before I heard anyone say it
I am both of those. Congratulations, you have met defeat
I am become jeath
 
They're both the same technique
g if
j son
 
I like soft g's and j's I guess
 
11:19 PM
err, they're opposite i guess
 
wait, how do you pronounce json?
jay ess oh en?
 
jason is j son, gif is gif, jif is g if
js on
 
I pronounce it like the name "jason" but my co-workers say it weird, like "jay sohn"
 
i use js on
 
11:20 PM
jay ess on?
 
I used to say 'gif' with a hard g but when I heard the argument for the soft g I couldn't refute it
 
really? what argument was that?
 
jay ess on is too much emphasis on the first two
js on is betterer
 
The guy who invented the word has said multiple times that it's pronounced with a soft 'g'
 
because the only argument i accept is that it's not jafics interchange format
so it's not jif
 
11:21 PM
And there's plenty of precedence in English for the soft g
Do you pronounce "jpeg" like "juh feg"
after all, it is Joint Photographic Experts Group
 
j peg
 
Not "Potographic"
 
using precedence as an argument in english is probably not super sound
if it was jpheg then sure
 
English precedence: "gin"
It's a counterpoint
As for the acronym, I'd say a good portion of acronyms don't adopt the pronunciations of their elements
 
asp
 
11:24 PM
NASA? "nay sah"
 
I actually hate customer service. I needed to upload proof of something so i upload a scanned document. But no. Instead they want a picture of the document. I'm like, a scan is a picture. They are like no, it has to be a picture.
 
+1 I'm actually trying to append the `.map files` to my bundle. But getting `Uncaught SyntaxError: Unexpected token :` in the bundle

I know .map files are actually JSON so is there an issue appending them to .js bundle files?
seems so
 
@JBis corporate policy is often useless
 
so goddamn annoying
now i gotta email the people to get a picture of the document
 
pull out your phone and take a picture of it on your monitor
 
11:28 PM
i tried printing it and taking a picture but they caught me
 
At this line where source map JSON is appended to the bundle..console error about `:` unexpected token

//# sourceMappingURL=main-es5.js.map
{"version":3,"sources"
 
"I've got to be honest. It looks like you printed it and took a picture" "Thats exactly what i did because I figured if you are dumb enough to have a policy like that, you'd be dumb enough to fall for it"
 
hmm...
does it it make sense to append source maps to the bundle the map is for
?
i don't think it does
trying to understand why you're doing this
 
unfortunately stupidity isn't always consistent
 
if i have an array... ['a','b','c'], how do i get it to ['a','a/b','a/b/c']
guessing... a map that slices based on current index and joins on /
yup
 
11:39 PM
@kevin I'm appending all files into one bundle file so I can import it into an Angular app as a custom element
For context:

  const js = [`./${distPath}/main-es5.js`, `./${distPath}/main-es5.js.map`, `./${distPath}/scripts.js`, `./${distPath}/scripts.js.map`];
  const css = [`./${distPath}/styles.css`];

  await fs.ensureDir(`${ELEMENTS_DIR}`);
  await concat(js, `${ELEMENTS_DIR}/${PROJECT_NAME}.js`)
    .then(() => console.log(`JS dependencies appended to ${PROJECT_NAME}.js file`))
    .catch(err => console.log(`Failed to append JS dependencies to ${PROJECT_NAME}.js file: ${err}`));
because this bundle will be hosted on a http server..the Angular app will just import the bundle.js file and add it as a script tag to the angular app
so I need some way of referencing the .map file in the bundle so it can be debugged
if that makes any sense?
pretty much trying to acheive inline source maps which angular cli has stopped supporting
Sorry for the long post..but this looks like a possible solution for the above: stackoverflow.com/a/54548171/1829251
 
00:00 - 21:0021:00 - 00:00

« first day (3314 days earlier)      last day (1625 days later) »