« first day (2440 days earlier)      last day (2733 days later) » 

02:00
where are you from?
they're a myth, like crop circles
roundabout sounds like one of the things on a playground
"roundabout" sounds like a made up word
the South Africans call traffic lights 'robots'
02:00
but that's what they're called
@rlemon >:|
vs THEM
they are traffic circles I guess
we call them roundabouts though
I know them as roundabouts.
roondaboot
02:01
I hear roundabout now and then in the US, it's not that rare.
what do you call a traffic circle if it's a square?
traffic square
Also, have you heard of the "magic" roundabout?
is that the recursive one?
02:02
It's a two-way roundabout in Britain that's composed of 5 smaller roundabouts
ohh god I've seen that
probably on a youtube channel you also watch
@rlemon dude nsfw
@rlemon Tom Scott, I think
I would avoid that one until I felt more natural on the left. It would be fine in the direction I am used to..
that thing is insane
what's the point of all these circles can't you crisscross your streets like normal people
02:04
@Luggage well the tricky bit is that the "main" roundabout goes backwards, which would be normal for you (counter-clockwise)
that would be worse, then.
@Arrow roundabouts are the greatest thing, especially in the country
switching back and forth
:panics:
02:05
looks about like my factorio world
is that your house rlemon?
because the roads are small
I found shifting with the other hand to be surprisingly easy to adapt to, though
I only accidentally punched the door a few times.
I don't know the UK is upside world
@Loktar
02:11
So, I coded using a variable width serifed font all day and didn't hate it.
impossible what font was it
@Cauterite yeah, that's the setup he uses to run caprica
I don't know, seems a little too adventurous for me.
not that there is anything wrong with that
There were just a few things that were spaced oddly, like ||'s
02:16
what an offensive screeshot
and the {
nah, that's fine
what's with the font size though?
i'd only use that font if i was writing gramatically correct code
02:17
I barely noticed all day. It was surprisingly easy to adapt to.
your screen is 1800p and you only get 30 lines on the screen?
var dearSirIwouldLikeToInquireIfYourValueIsNull
size: 18 (pt? px?, I don't know)
note, high DPI screen, so it's crystal clear. it might look like shit on a 72 dpi
i'm on a 1080p screen and i get 66 vertical lines in my editor
are you programming from your couch or something?
no, it's a macbook
2880-by-1800, 15"
02:20
do you wear glasses?
66 lines is too many. I like a bit larger text
at least for a font like this.. the default (which I easily read) is size '12'
the default for comparison: snag.gy/iTrCaq.jpg
looks like one of those computer languages merlin coded in, before they had computers
much better
your colour scheme is atrocious 😉
yeah what language is that?
".tsx"
02:22
@rlemon No, yours is.
Typescript
oh i see
I didn't realize there was a zoom on those screen shots
I need to look for a purpose-built variable width font, that has better spacing.
Consolas
just stick with Consolas
that's not variable width and serifed
maybe ligatures...
02:26
why do you like variable-width fonts now?
I am giving it a try
but I've always appreciated a nice looking font (this font is nothing special, just one I stuck with to test)
i'd probably try verdana myself
yeah actually verdana's not bad in my editor
nytimes.com on a high-dpi screen is beautiful
Omg ligatures the fonts are always fondling each other
02:30
the hinting removes most of the font shape there.
hinting? it's not using antialiasing though
hinting is when it snaps to pixel boundries
it makes fonts readable on screen where you can see the pixels
(otherwise they look blurry)
my letters are about 28 real pixels high, so no hinting. (you can think of it at anti-aliased, if you like)
the real shape is visible.
02:35
that still looks monospaced
and it's beautiful
is it just the vscode default?
needs less antialiasing :S
02:39
yes
i love vs code
but i find it confusing to actually launch and debug my code lol
i usually just type npm start in the terminal
what is vs? visual studio?
yes, but vscode is not the same as normal visual studio
Visual Studio Lite
got it, it is something like sublime
02:44
no just Visual Studio
Visual Studio Code
Hi everyone!
@icedogedev Welcome to the JavaScript chat! Please review the room rules. Pleasedon'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.
@icedogedev hello
Challenge: use an all-caps font
However, it is not good for large projects. I use web storm for that
02:46
it's fine for any size project...
@Luggage I used the Windows terminal font briefly
but it look promising and fun place to write some code
the old one that's a bitmap font?
@Luggage yeah
@NullPoiиteя yea, it's like sublime. they use a similar 'command palette', etc
and more like atom
oh jesus why
!!giphy eye bleach
nasty :)
the braces are the best part
lol like people who have their android font as one of those handwriting scripts
02:49
@Cauterite that's just evil
shopping for a new one: snag.gy/D8mQO4.jpg
I wish it had a 'minus' button so I could start eliminating
wow such variety
it is
Marryweather all the way
this is odd, why someone writes code in all caps even if it's experimental
02:52
no, the 1 is too small
@NullPoiиteя it was a joke
good point
I don't see an L
L and 1 are easily confused put an l in there
yea, i've been updating the code as I think of things
the first one, Spectral, seems to pass most tests. The braces could be a bit wider
ya the braces could use some larger implants
they seem a little flat for me
but that's personal preference, some people like them small and perky
we got it
!!afk 🐴🍆💤
03:20
hi @BadgerCat
@Luggage you're going to fuck a horse?
@Shmiddty Luggage is afk: 🐴🍆💤
04:07
@towc Is that were you count to 26 with your tongue?
04:17
question regarding node apps: i have an express.js api and an ampersand.js based front end. should these be two separate projects? ie run api and then run front end app, or combined together?
or is it entirely up to me to decide what i feel is best for my project
04:50
morning
05:06
0
A: How to display data value in real time depending on the other column with AJAX?

amit rawatOn select box change event pass questionid to server side and query your database for answer_type and options and in that method add a condition $options = ''; if(anwsertype=='radio') { $options .= <input type="radio" /> Your option } else { $options .= <input type="checkbox" />Your option ...

05:24
@Shmiddty I wouldn't call your mom a horse. That's disrespectful.
05:46
^ nick stealer
06:11
:o
06:55
how is friendly bin different to trash bin
@FlyingGambit It's more nice like
If you want to trash message and dont want to offend people, use this bin. according to the room description
But I get offended when my messages get moved to trash
It lets people know their message isn't trash, but they are
your statements are contradicting
07:00
That's because I'm progressing extremely fast mentally
I think we should all hang around in friendly bin, so that nothing can be bin-ed anymore
Or hang out in the trash bin for all the dirty talk
yeah, cus it's already dirty there
07:20
I am too lazy to keep myself clean XD
o hi oliver
you naughty snail! how're you!
07:39
No, no, no no nonononono and NO
yeyeyeyeyeyeyeeyeyey
07:59
TIL when loosing fat while doing exercising, you are actually loosing ~80% of it by breathing. Rest by sweat / pee.
karelG stop farting man..
I thought that it got used to get energy
not professional at all
08:16
@KarelG I thought it is, but you breathe out the "fumes" :P
I noticed there is a problem with lots of people posting Angular.js questions on the Angular tag, and vice versa, which is annoying when trying to find answerable questions on one or the other. If I were to write an auto-retagging bot to fix the problem, what are the hallmarks people think I should look for to show the questions should be one or the other, and what safeguards should be in place to prevent false positive retagging?
(I'd probably use Selinium with Python, or Beautiful Soup but if there's a better JS/Node.js based solution I'm open to it)
Sounds like a waste of time
Doesn’t take long to write a bot.
Tell that to the people maintaining the existing bots
Honestly, it's pretty simple. They probably have more complex bots, maybe?
Maintainance long term may be the problem or with multiple bots in their env
08:40
@monners yes
Do you have experience with ML and/or AI ?
It sounds like one of those things that are easy to set up, then they will get frustrating trying to battle all those false positives and other issues, until you have spent so much time on it that you stopped answering the questions you were looking for and maintaining something that solves a problem that becomes less important over time
But, be my guest :)
08:51
Oliver, if you use ML, then you can avoid the majority of false positives over time
Excellent suggestion
Maybe start a crowdfunding campaign for it first to waste even more time
well, if you get paid, then using ML is never a waste of time
but for spare time? Nah. Forget it.
If you want to draw a learning experience from it, that would be cool as well, I guess
We use ML for our customer support
I know what you mean
09:20
hello
@MohamedElgarnaoui Welcome to the JavaScript chat! Please review the room rules. Pleasedon'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.
I have a dynamique form added by javascript in div by its id but the problem is when i call this function to fill my div the first call work fine but the second added same input that already exist
09:42
what do you guys use to monitor node.js's healp.
heap*
Nothing. Unless I don't understand the question
keep a track on heap
and how often garbage collection is done
some graphical system would be fantastic that would show memory's exhaustion
09:57
You don't really need all that, unless you write bad code
eh ben, that depends
the heap memory can get populated if you do a memory intensive process
@BenFortune I call bullshit
@GandalftheWhite hey, good question, the inspector does a good job and Node can take good core dumps that let you take a look at the heap - you can run node with --expose-gc and then query and analyze that in live apps as well
10:15
@GandalftheWhite I just watch memory utilization on the overall deployment of each process. They get terminated and restarted when they exceed their quota, which almost never happens. If we have an issue, I see it in the related graphs
In the past, the reasons for exceeding the quota were always blatantly obvious, so there was no need for memory profiling
@OliverSalzburg eh ... wait when you're in QA ...
we are having more time than to handle our company's project, so we accept contracts from other companies (acting as independent branch). I see projects where memory usage is very high but wasn't directly obvious
without analyse, it's a pain in the butt to figure out the cause by only checking the code
10:31
Ah, I see
ah oliver sees
pervert
xD
Hellooo. Good morning :-) Been messing around I saw this perf comparison jsperf.com/array-filter-performance. Thought to try it out in a react render context ? I think I might be doing something horribly wrong anyway both methods are equally slow when dealing with largish sets ? codepen.io/anon/pen/MomZre
10:53
I've been trying to get this to work: codyhouse.co/gem/loginsignup-modal-window
But it doesn't pop up when I click on it
Is the href supposed to be #0 like in the tutorial?
> Asian without A's is a sin.
@C.Astraea The different between loop and filter is usually trivial compare with the actual work you do in the loop. I have zero React experience so I don't know which part is heavy, but I'd suggest you pref it before blindly optimising it.
@CatFox If you check the demo, yes it is supposed to be #0. Try compare demo code with the one you've to see what is missing.
Oh boy @ the code in that link
( 'Hide' == $this.text() ) ? $this.text('Show') : $this.text('Hide');
@hsimah Now I agree with you.
11:13
user image
2
is there a CSS eq for ES module imports in chrome?
maybe postcss has a spec
11:31
@rlemon my projects usually go from red to bottom instantly and never walk up the line :D
I have about 30? unfinished projects
and only 4 are being worked on
11:53
@MadaraUchiha wow ie5.5
atm im using webpack to compile my postcss
wonder if I can do nesting and imports on the fly by just loading a root css file
@Sheepy I found out that one of my JS was overriding the modal, so that was an issue. I just decided to find a different plugin. ;)
user1731387
jsfiddle.net/1445w9py cant increase first parant's div height by adding content
VJRagavan you can't nest CSS like that. But you can put sjfiddle in 'scss' mode to suport it
user1731387
sjfiddle ...!!!??? that's what i'm searching for thanks @Luggage
jsfiddle. that was a typo
user1731387
12:00
i can't get you
user1731387
@Luggage
@rlemon rlemon, is that you? You need to grow more beard to match Sterling Archer's awesome level
( i know it's not you )
@KarelG He can't even grow that much beard
🔫👮 misbehave and die
12:07
@KendallFrey 😞
user1731387
i can't change the jsfiddle mode become style.scss. i mean to sass mode
look in the top right of the css box
Isn't that a misuse; if a company is using the SO as the help center for their software products?
if they're advertising the tag on SO, no
that's fine, and encouraged
Not really
12:09
yea, SO hates having users
user1731387
yeah found it thanks lugg
keeps SO as the centralised source of knowledge it wants to be.
user1731387
Uncaught TypeError: Cannot read property 'scaleCategory10' of undefined
the link is
reactd3.org/docs/basic
how to clear this
user1731387
what it is actually
user1731387
it says there is no such files?
12:09
please talk
in complete
sentences :)
SO itsself abuses its own product... cough joel cough
@rlemon I think it's moreover the company use SO as a place to do their marketing campaign while wearing the mask of Open Source
nice, KSP now has 10,000 lumen lights.
user1731387
@Luggage are you pointing at me
12:10
@rlemon whoa there
@JudeNiroshan unless you have examples of them actually spamming crap, it's probably what I said and encouraged.
@JudeNiroshan SO isn't a support platform
@rlemon Your mission: Launch a constellation of satellites to make sure Kerbin never experiences night again.
But if your company is championing an open source product or library, asking programming or API usage questions on SO is appropriate.
@rlemon for instance, let's take WSO2. It's an open source integration framework. But underneath that, there are lots of products that the company has developed. I think those products are proprietary
12:18
@KendallFrey I tried growing a beard once. Too bad it doesn't grow on my face.
there is a half-truth in this joke; It grows on my neck.
@KendallFrey haha
Once upon a time my beard was long, but most women like it trimmed up, so I keep it short
it rhymes!
12:24
Date #2 with tinder girl this evening
@JudeNiroshan even proprietary products can have questions on so.
Do you have examples of crossing the line?
@ndugger uh oh, is she actually ok?
I havent decided yet
@rlemon stackoverflow.com/q/42358521/4506140 Wouldn't this be on their FAQ page in ballerina.org rather than a SO question? The person who asked this question and all the people who answered are working at WSO2
That's probably right on the line lol
12:26
hahaha LOL
seems fine to me
now, if they're vote manipulating employees, that's an issue
but I have nothing to support that claim. :P
@rlemon cos they knew how to handle it cleverly. In fact for me; it's like they are misusing. I don't know. that's how I felt
if a language creator comes onto SO and answers a question about their language, that isn't a misuse.
Off topic, but I wonder if there is an open source project to convert jQuery to native.
@Kramb coops
12:30
We don't need jQuery to native, we need native to jQuery daahh!
@Kramb yes. It's called jQuery. :)
I didn't think about it before I typed. My medicine hasn't kicked in lmfao
12:51
morning everyone
movies.reduce((genres, movie) => ({
  ...genres,
  [movie.genre]: [
    ...(genres[movie.genre] || []),
    ...movie,
  ],
}), {});
Keep getting an error on this: Uncaught TypeError: undefined is not a function
Anything wrong with it?
Happy Birthday @SimonSarris!
14
@corvid Are movies and movies.reduce defined?
Simon was hatched from an egg
user1731387
lols
@corvid you're old enough to know that you might want to include at which line it happens
13:03
I could also just include the fiddle
also, I don't think you can do [movie.genre] to indicate a property name. Is it a symbol or something?
there's no movies.reduce in that code
maybe it's in the compiled code...
const movies = [/** movies here */].reduce
oh, right
.reduce probably doesn't do what you think it does btw
you may be looking for .map
or nvm, I'm dumb
you're doing it right
the is not a function is probably because ... becomes something.apply and apply may not be working?
1 message moved to Trash can
@towc Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
.reduce(function (genres, movie) {
  return _extends({}, genres, _defineProperty({}, movie.genre, [].concat(_toConsumableArray(genres[movie.genre] || []), _toConsumableArray(movie))));
}, {});
^ that's what it turns into according to babel
13:11
ah okay that's pretty dumb... using _.groupBy with lodash worked fine though
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { a
Stupid question but is ... extends?
so your error is somewhere there
those are the babel helpers..
@Luggage it's for context
so you can see where the error might be coming from
13:13
ah. I gotcha
@corvid ...movie,
remove the ... on that
it's trying to treat that as an array, but it's an object
oh der, that seems obvious now...
thanks Luggage and towc
13:28
is there any PowerMockito users here ?
Good morning brick squad
Nah, there are free bricks because we're shitting bricks.
I mean, you might say "Nah", but if I saw a bunch of people shitting bricks I might be inclined to call them Brick Squad lol
@Vap0r A brick squad doing the brick squat?
Hahahaha, I'm gonna be honest, I'm a little salty I didn't think of that joke!
404 :(
@rlemon what 404?
but my internet is being fucky
so might be me
Bender- bricks is working for me :)
imgur no longer supports Canada
13:48
Sorry lemon
Canada was added to the Axis of Evil
Weren't they always Nazi's though?
only figuratively
lol @ Sagar
he updated his answer based on what I wrote as answer
Sweden joins axis of evil then :)
13:54
@JohanÖbrink Welcome to the JavaScript chat! Please review the room rules. Pleasedon'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.

« first day (2440 days earlier)      last day (2733 days later) »