I am not a frequent traveler, at least not yet.
I would like to know if a 24" computer monitor in its original box the size of a large luggage would be allowed on board a plane even for an extra charge?
Moreover, I'd like to know what are the safest (and hopefully not expensive) ways I could sh...
@MadaraUchiha Ouch... I was at HR and everything went fine and looked like she likes me, i even studied with her brother... until we spoke about salary. I said 12-14 and she said its too high for a junior, what we can do is 9 and then 11 after 3 months
I think i cant even argue about that pay, because i dont have any experience in jobs in my country, besides 2 years at military (and what I did there is not relevant for them), and another year working as remote ruby on rails and php dev
Hey I need an advice. I have a game simulator I created in Java, it's a 2D turn-based game. I created a website that you can host new/or join existing running game instances where each instance runs on its own server on its own port.
I want to add a way to see the game executing from the website, live. For that I can create a websocket connection, and send screenshot of the game panel every time the render updates
But sending an image so often via websocket.. may be heavy?
Wanna read it together? I figured out I have only read it when it was very young and very ugly and nothing is anywhere near where it was (in 1.2 I think?)
@snek Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
@BenjaminGruenbaum Sure, that's better than the spread, but it's a bit dumb that what I could theoretically do within one expression has to be split into at least 3 statements now
Yeah, that's what I said I think I'd rather be explicit. I had a few typescript gotchas today. We upgraded to TS3 and webpack 4 and the build went up from 1 minute to 10 minute - then I got backlash for setting isolatedModules which sped it back up to 1
@snek @Madara because it shouldn't be an object it should be a map :D
@BenjaminGruenbaum Yes, but: a. the provider doesn't accept a map (google analytics, remember? supports IE6) and b. How would you do this within the same expression with a map?
@MadaraUchiha the "debate" was only prevalent in Java because it had no first order functions and you had to create a new Comparator class and pass it in which was tedious for every little thing. An object should not be in charge of how it is ordered but hashing is harder than comparing
It's only outwards facing, you still need to provide a signature that catches all of the overloads, and check in runtime to see which overload you're on.
@snek TypeScript typically doesn't really have modules - it's webpack. decorators require another flag (with experimental in its name) to work. I'm surprised decorators aren't stage 4 yet to be honest since they're so heavily used
ga = ga || [];
ga.push("send", "pageview", "whatever"); // don't know if array or GA instance
// sometime in the future, ga loads and does
pendingArray = ga;
ga = new GA(); // GA constructor has push method on prototype
ga.consume(pendingArray);
The rooms are for discussions, and sometimes users pop in here to ask a question if it's too small or not a great fit for main
For example, a question like "do you know a library for A/B testing?" would be closed on main, but may get an answer here.
But in general, most of the regulars are here not to answer questions specifically, but to have general discussion that's roughly centered around the room topic (JavaScript, in this case)
@snek Yeah, doing it on the preview is (was?) expensive in terms of client-side performance, so there's a pretty long debounce on syntax highlighting in the preview
Those are typically pretty awful - you have to compete with other people answering the same question (which can be fun but not to my taste). I prefer specialized tags - like, I answered everything on promise for a while and then it got popular and I stopped so now I mostly answer when I get pinged about something.
Makes me wonder if in future can just all be fit by charging our phones/laptop in morning that way it would keep me fit 😛 youtube.com/watch?v=S4O5voOCqAQ
@MadaraUchiha It doesn't make sense to make a function that accepts an audio element as an argument when the audio elements already have a function very similar to the one I am trying to add to it.
I came up with this: Audio.prototype.checkplay = (function(){ if(soundsenabled) this.play(); });
Since I'm "that Madara Uchiha guy" who delivered your suspension, I feel inclined to respond.
I will now note a much abbreviated list of the reasons you were suspended for ~3200 years:
You trolled the JS room (and others), repeatedly.
When asked to stop you did not.
When kicked, you returned a...
@Jony no, like 24% of people in tel aviv smoke weed lol no one cares what you do in your free home if it's not self destructive or impacts your ability to do your job.
Don't smoke during the day unless you have a medical reason it's a shitty habit - does being drunk all day at work sound like a good lifestyle choice?