« first day (1634 days earlier)      last day (3313 days later) » 

5:00 PM
what's the term for how || behaves, besides the short-circuiting?
 
user3949359
I still don't get how an interface should look like in Javascript.
 
@ssube probably specific to JS, because weak typing and that
@nosille an interface like in traditional OOP?
 
@nosille like a class where every method is () { throw new NotImplementException(); } :(
 
MDN refers to it as simply 'Logical Or'.
Even when used as a coalesce like: var x = y || 0;
 
oh yay the AC above me just turned on
 
5:02 PM
@Luggage but most languages always return booleans from their logical operators. JS returns the first operand to meet the condition or the last operand if it is never met.
 
Yea.. I'm not satisfied with 'logical or' either
 
user3949359
@KendallFrey I know what it looks like in Java, but not JS
 
javascript doesn't have interfaces in the same wat java does since types don't matter so much.
typescript does.
 
@nosille There is no such thing as an interface in JS. As long as an object contains a specific set of properties, it satisfies that interface
 
5:04 PM
Interesting results
 
@SterlingArcher indeed, I make a buck per rep point
 
user3949359
@KendallFrey how do I "make" it have a specific set of properties, or else make it not work?
 
@nosille use those properties
 
@SterlingArcher Link, and not a screenshot, please?
 
if you expect them to be there and they're not, kaboom
 
5:05 PM
explicitly set them or 'inherit' from a parent 'class' and only override those you want
 
@nosille inherit from an object that implements them to throw
 
which is slightly messy looking in JS without ES6 or coffee
 
> 26,086 people from 157 countries participated in our 45-question survey. 6,800 identified as full-stack developers, 1,900 as mobile developers, 1,200 as front-end developers, 2 as farmers, and 12,000 as something else.
2 farmers? lol
 
@ssube (@Luggage) The point is if x || y returned x, then !Boolean(x), and if it returned y, !!Boolean(y)
It's about falsiness and truthiness, not hard boolean values
 
@Zirak Shouldn't that be "returned x, then !!Boolean(x), and if it returned y, !Boolean(x)"
 
5:09 PM
@nosille JS might not have the language features for interfaces but there are likely some decent patterns you can follow. Care to elaborate on your situation?
 
erm, yeah. I confused myself, sorry.
 
> Upon closer examination of the data, a trend emerges: Developers increasingly prefer spaces as they gain experience. Stack Overflow reputation correlates with a preference for spaces, too: users who have 10,000 rep or more prefer spaces to tabs at a ratio of 3 to 1.
 
@Retsam That is eerily accurate
 
It's because after a while, you get sick of being screwed over by a loose tab.
 
but what about emacs!
 
5:10 PM
Emacs rocks
 
I like tabs on cans
 
@SterlingArcher emacs uses parens in place of whitespace
 
spaces and atabs are both fine when not mixed.
 
boobs vs butts, go
 
more editors need 'project settings' to allow your spaces/tabs preference to match that style of that particular project
 
5:11 PM
YES YES YES
 
The text editor section was interesting
 
> Remote work pays. Developers who work remotely full-time earn about 40% more than those who never work remote. The disparity is more pronounced in developing countries.
 
emacs only about 3%
 
^ I feel like they have the causation backwards on this one.
 
My preference may not match the project I'm contributing to but I am still expected to submit pull requests in their style.
 
5:12 PM
lol sublime
damn apple kiddies
 
sublime works just fine on windows
 
@Luggage I'm forced into spaces for VS because work, and I'm too lazy to switch it for personal stuff :'(
 
when broken down by occupation, I like how "People who know their shit" prefer vim
 
the sysadmins? the knuckle draggers? :)
 
What do people who know they're shit prefer?
 
5:13 PM
and people who know they're shit prefer emacs?
 
lmao look at the write ins for section IV
> I shoot lasers at stuffz 0.005%
 
why is chocolate so goooood
 
Which section 4?
Ah, found it. Work, section IV.
 
ahh sorry
 
@Luggage @KendallFrey editorconfig.org
@RyanKinal showed me that.
 
5:22 PM
and an atom.io plugin, good.
 
@KendallFrey I don't like chocolate
@SterlingArcher @KendallFrey @Jhawins youtube.com/watch?v=VKmeB8Rupro
 
@rlemon and I don't like your opinions
 
user1596138
@rlemon Hahaha fuck yeah
 
user1596138
Hammond
 
I loved that episode lol
 
user1596138
5:24 PM
@rlemon from comments lol "keep pressing 8"
 
Refactoring in a nutshell: http://t.co/6sCKGymthV
2
 
@FlorianMargaine that is called refucktoring
!!urban refucktoring
 
@rlemon refucktoring During the act of refactoring a software component to [fuck] something up.
 
@SomeKittens so two hours ago
 
5:26 PM
@SomeKittens Remind me to check it out later
 
@rlemon Wasn't on the sidebar, didn't happen
 
inb4, I just want you guys to hear the song
 
what am i watching ._.
 
webpack-dev-server keeps serving old files, any ideas?
 
5:30 PM
bleh man, so react 0.13 changes break a lot of stuff
component authors need to keep that stuff updated
 
@BenjaminGruenbaum by the end, jihad seemed imminent
 
> United States 31.6 (avg age of dev)
yay I'm the almost exact average
 
on what ?
aww, then i feel too young
 
I wanna know who the other farmer is!
I'm 99% positive I identified myself as a farmer.
 
my neighbor, Lemon, cus he's a farmer.
 
5:35 PM
!!> 113000 / 9184
 
@Shmiddty 12.304006968641115
 
!!> Math.tan(1.5707961321669397)|0
 
@rlemon 5138008
 
huehue
 
boobies constant
 
5:38 PM
boobeis!
lol
 
add a command to flip the chars ;)
 
@KarelG 8007.8928645664855
 
demn
 
@KendallFrey dammit
:(
!!> Math.tan(1.5707961387545628)|0
 
@rlemon 5318008
 
5:40 PM
I fail so much at life sometimes
 
!!> Math.tan(1.57079621152522731)
 
@Luggage 8675309.01149132
 
add a command to flip the numbers ;)
 
The Jenny constant
 
5:41 PM
@KarelG 80081Ɛ5
 
WHO IS THE OTHER FARMER?!
 
ask meta
 
Full-stack developer and... master Chef?
 
Neil DeGrasse Tyson took the survey.
 
5:41 PM
@KendallFrey +1
 
@Shmiddty twice
 
my carrots and my melons are starting to grow
I'm excited
 
anal cyst - 0.1%
 
@Zirak are you here?
 
Analrapist
 
5:43 PM
@Shmiddty at multiple choice tab, there is a "hacker" ...
 
therapist
 
@rlemon when your melons grow, our carrots grow
2
 
the definite form of the indefinite "arapist"
 
i'm in 0.7% group, so i'm a one-percenter :D
 
I take the "the" out of psychotherapist.
 
5:44 PM
PsychoTheRapist
in theatres April 8
 
I will be ( ͡° ͜ʖ ͡°)
 
@KendallFrey Alternate realities are interweaving!
 
morning
 
How feasible is working with Java in SublimeText? I really don't want to install IntelliJ right now
 
@Shmiddty your mom and i are interweaving
 
5:46 PM
@Retsam you'll miss on out a lot of the complex autocomplete stuff, but Java is simple enough that you can write it almost anywhere.
 
even in notepad
still i recommend an IDE because of JAVA, which is dependent on imports.
 
To write effective Java, you need to memorize the package and API of every class in the JVM.
 
And since Java has all the metadata to get accurate code completion, you might as well sue an editor that can do it.
 
i have an android ide for apps (eclipse), but i use it for simple java too. hah
 
eclipse is ugly but powerful.
I've mostly used it for CF, though.
 
5:54 PM
ColdFusion?
 
eclipse is the emacs of java, to intellij's visual studio
 
I prefer IntelliJ, it's a brilliant IDE
 
(fat, ugly, and free to expensive and only semi-functional)
that said, I have a license to intellij through work and a personal one, and use it fairly often
 
Yea, coldfusion. CFEclipse plugin.
 
@BenjaminGruenbaum Yep
@ssube wat
 
6:02 PM
nevermind, needed help finding something, got lazy and pinged a mod :)
(Comment on bjb's submission, not that he's getting elected anyway)
 
What can I say? "You're been a terrible member of this community, and did not fail to prove it time and time again"?
 
@Zirak heh
 
not a nice way to put it
 
at least that meta troll is no longer running
 
crl
 
6:09 PM
in mocha, how do you clean out the database before each test run?
 
for small/medium (unit/integration) or large (functional) tests?
 
youtube.com/watch?v=wZKaySejsws this episode is awesome lol
 
unit tests
 
i love the beetle trailing them
 
stop the in-memory db mock you're using and start a new one
 
6:14 PM
have you used velocity before? It seems kinda buggy
 
@corvid Yeah man, I throw stuff sometimes.
 
var up = new Error();
throw up;
 
vomits on Luggage's code
 
Error not found
 
6:22 PM
> Virtually every comment you've left on other nominations has been negative. The only non-critical comment I could find was the one for Jon C. about his avatar. How can we trust you to create a positive community when a trail of negativity is evident without even leaving this page?
@BenjaminGruenbaum ^ commented on bjb's "nomination"
 
> @Benjamin Making wild unsupported accusations is not helpful or appropriate. Please stop.
 
HAMMERTIME!
 
lol
 
@SomeKittens heh, cute, might want to clarify you're talking to bjb and not me there :)
@rlemon found it
 
Is it just me or just about every website is asking me to verify I am human before accessing it
 
6:25 PM
@MoonOwlPrince Before we answer that, are you human?
 
The only websites not doing so are the big ones
12327
 
@MoonOwlPrince what's 0.1 + 0.2?
 
0.1 + "0.2" = "0.10.2" :)
 
@MoonOwlPrince that wasn't the question
 
0.1 + 0.2 = 3.0 / 10
 
6:27 PM
> Seeing this discussion, I decided to take a look around for myself. Virtually every comment you (bjb) have left on other nominations has been negative. The only non-critical comment I could find was the one for Jon C. about his avatar. How can we trust you to create a positive community when a trail of negativity is evident without even leaving this page?
fixed
 
is that an assignment?
 
Of course, I am human
 
Prove it
 
Give me a test to disprove that I am human
 
prove I am a bot.
only then can you prove you are human.
 
6:31 PM
@MoonOwlPrince bah. Real humans have more imagination than that
 
Well, the only imagination I have is that of the absence of Heaven.
 
who is Heaven?
 
I imagine one day I'll go 24 hours without someone mentioning sexism, politics, religion, or Java.
 
I have had too much coffee
 
It's interesting that you've grouped those four together
 
6:33 PM
@JanDvorak all four are subjects I avoid talking about online
 
Well, considering that the last three are descriptions of the same catastrophe, you are quite the smart bloke to know to avoid discussions of Java.
 
hey guys
 
Speaking of Java my next project is making a browserphone with it :D
 
@rlemon it would work if you're not meeting persons in 24h
 
@rlemon "Implications of a Patriarchal Theology In The Java Specification Request Process"
flamebait x4
 
6:46 PM
@JanDvorak I didn't realize you were such the spitfire in other rooms.
I wish I could have Zing!'d it
hrm, I wonder who the flagger could be ?!
 
Not me
 
Wow… really? Flagging such a comment? Really sad.
 
yay for flags.
 
me? No, I just got here after the flag...
 
I expect such things from the C++ Lounge, but not from the JS room! ;P
 
6:48 PM
Please stop flagging random messages. Thanks
 
I have good suspect who the flagger is, and they are not in the room list. rlemon suspects transcript flagging
 
the flagger was....
 
if it wasn't bjb i'll eat my hat
in the same time
in Tavern on the Meta on Meta Stack Exchange Chat, 4 mins ago, by rlemon
someone is now transcript flagging in the JS room.
was flagged on meta
 
Are the mods the only ones who see flags? No idea what you guys are talking about
 
6:53 PM
@taco Mods and 10k users
 
@rlemon you got your answer...
 
o
 
@rene hahah was that flagged?
 
yes....
 
I wasn't on tab
 
6:54 PM
@rlemon Yes
 
So close to seeing funny flags D:
 
HE WOULD MAKE SUCH A GOOD MODERATOR GUIS!
 
only if he changes his current attitude
 
lol ridiculous
 
I kind of hope that real mods can actually see who flags these messages…
 
6:55 PM
The flagger is running for moderator?
 
@Jefffrey seems to be the case
 
@poke They do
 
good.
 
@Jefffrey tmk they can't see past the fact
 
Note that we don't have any hard proof on who it is. Just sayin'
 
6:56 PM
But the potential irony is astounding you have to admit
 
@Undo There will never be. Mods are not supposed to tell who flagged what anyway.
 
This is true
 
But if you see this guy getting suspended, then you have your answer.
 
Doubt suspensions are going to be handed out over a couple misplaced chat flags
 
I guess it's a grounds for denomination, too
 
6:58 PM
if only there was a mod active to see all of the silly spite flags
 
What's a "stream literal"?
 
the blue dot seems quiet at this moment
 

« first day (1634 days earlier)      last day (3313 days later) »