« first day (2553 days earlier)      last day (2388 days later) » 

12:01 PM
and I thought my work projects were shit
 
var PerformanceQAdata = (from c in entities.Performane_QA
where c.PerformanceId == Performancedata.PerformanceId
select c);


entities.Performane_QA.Remove(PerformanceQAdata);
getting error entities.Performane_QA.Remove(PerformanceQAdata); here
PerformanceQAdata var not working?
 
@MohanSrinivas Is that C#?
 
is that linq
 
linq
var not working entities.Performane_QA.Remove(PerformanceQAdata)
here
 
Try the C# room
 
12:13 PM
in C# , 12 secs ago, by Caprica Six
user image
lol
 
> var not working
does not sound like a compiler error
nor a runtime error
if there is no error, then we are all good
 
I wish JS threw var no worky errors
 
@BenFortune ESLint can do that for you though
 
restrict to let and const?
 
That's probably preferable to throwing errors at runtime :D
 
12:23 PM
@KendallFrey @FlorianMargaine @Loktar i.redd.it/uni1hk99dcrz.png
my dudes.
 
my nudes.
 
me too thanks
 
Turtsday
 
@rlemon is that new?
 
new is an antipattern
you should know that
OMG OMG
@SterlingArcher @BenFortune @KendallFrey
 
12:25 PM
Iron Slav
 
i.imgur.com/gYtIJwm.jpga omg people stop
 
HAMMERTIME!
 
never heard of jpga
 
imgur doesn't care what you use
 
well, .jpgfsadifhdasifhsdahfiasn 404s, so there's that
oh wut
it don't
 
but .jpiefhisdhfusihinsdincidsn does
as long as it starts with a known thing I guess
 
seen
 
@rlemon hahaha
 
@rlemon .jpga? What's that?
 
12:29 PM
 
okay, enough memes for the morning
!!work
 
@rlemon That didn't make much sense. Use the !!/help command to learn more.
 
!!machine head or nor machine head
 
@rlemon machine head
 
12:30 PM
what language is this?
 
ruby?
 
mos def
 
looks somewhat pretty
 
Create a startup in ruby and sell it on for a few million 6 months later
 
@towc learn python
 
12:34 PM
I was once ok in both python and ruby. But then I guess I've never used ruby since, and I completely forgot what it looked like
by ok I meant I could do some basic stuff that was still useful
 
how could you possibly forget how it looked like
 
I didn't use it almost at all
tbf it was just completing the codecademy course and using it here and there for a few scripts right after, and then just never using it
and it was years ago, before I went to the UK
 
@BenFortune what is this, 2011?
 
12:52 PM
0
Q: Setup socket listeners based on data that may not be available in time when "connect" fires

SrleLets say that you need to fetch names of available socket rooms from some third party or whatever, in general you are not sure that those names will be available when "connect" event fires on server. io .of(...) .use(...) .on('connection', socket => { if (whateverModule.roomsAreAvailable()) {...

 
@towc learn ruby
 
on rails
 
No, don't learn rails
 
well, rails seem to be one of the only things people still use ruby for, and most of this room thinks rails sucks either way
if anything, I should probably learn a lot more haskell
and then lisp or something
 
people use ruby for rails because of momentum
 
1:03 PM
Learn rails if you want to abstract every single part of web development
 
or maybe I should try to become a badass at C/C++
 
Learn rails if you want to learn how rails works instead of how the web works
 
@towc Rust
 
activerecord is a fantastic example of how not to use a database
 
@KamilSolecki it's missing the correct cap (google: "slav squat")
 
1:04 PM
henlo everybody
 
tbf, at this point, I barely have any reason to learn something at a higher level than JS, if it doesn't introduce fantastic paradigms, like haskell
rust sounds interesting though
 
learn elixir
 
@OliverSalzburg yasiin bey?
 
seems fairly low-level too
 
learn Rebol
 
1:06 PM
elixir introduces fantastic stuff :D
 
it's funny you say "higher level than JS" when JS, Ruby, and PHP are about as high level as it gets and are all trending down or dying out
 
Inb4 rebel
 
@ssube well, I'd say ruby and python are higher level than JS... right?
 
why?
 
python sure is, although doesn't have to be
not sure how ruby works
 
1:07 PM
I wouldnt say higher level, how so?
 
@towc particle demo with rebol rebol.com/view/demos/particles.r
 
@ssube I'd call Haskell higher level
 
@KamilSolecki "mos def" → "most definitely" just in case :P
 
higher level compared to what?
 
@KendallFrey what does it abstract that JS does not?
 
1:08 PM
@KamilSolecki python is almost always interpreted. JS is at least compiled, even if only after execution
 
Fam I thought you were talking bout the great Mos Def!
 
@towc what does that have to do with being high level?
 
It's a high level language not high level compiler output
 
1:09 PM
how it's used matters, but yeah
 
@rlemon Yes, I am aware that there is a rapper with the same name ;)
 
they abstract pretty much the same things, can't argue with that
 
@ssube I'm not sure about abstraction so much as JS still has the concept of an "instruction" with side effects.
You could say it abstracts away side effects, maybe
 
@OliverSalzburg but are you aware there is a rapper with the same name?
 
@KendallFrey I'd argue that doesn't qualify as higher level. Haskell doesn't abstract away how side effects happen, you just don't let them.
That's an interesting debate, though.
 
1:10 PM
@rlemon What name?
 
@OliverSalzburg mos def mos def
 
@rlemon Hey, that's also a phrase to use for agreement!
 
mos def
 
point was, I don't think there's much point in learning something that might perform a lot worse AND doesn't give me more control over what I'm doing
 
1:10 PM
@ssube I wouldn't necessarily say it's on a completely different level, like the distinction between asm and C. Just that JS retains a low-level concept that Haskell doesn't.
 
@towc the more programming languages you learn, the more about programming and programming languages in general you learn
if you wanna be hireable learn Java and PHP
 
@KendallFrey yeah, I agree with that
@towc I started with C, now I know PHP and Python and some Perl
 
@rlemon yeah sure, I'm genuinely very open to learning ruby, but if I decided to learn something (or improve it), it would probably not be something with the above conditions
 
I started with php and c#, now I pretend to know JS
 
@rlemon well, apparently I'm going to university :/
 
1:12 PM
I started with VBA
 
at 17, don't be so picky about what you learn. there is a lot of it to do.
 
@towc so learn python
and rust
 
That sounded more condescending than I intended.
 
python is actually useful
rust seems interesting
 
I think you'll learn more from learning a new paradigm than just a new language.
 
1:13 PM
@Luggage you're not wrong, I didn't take it badly
 
@KendallFrey which some languages enforce
 
@KendallFrey hence why I think it might be interesting to master C and haskell instead of ruby/python/perl
 
whatever you do, don't learn Scala
 
I think you've already got imperative, procedural, OOP (?), and FP
 
I meant "hey, just learn everything!", not "you kid"
 
1:14 PM
Which covers pretty much every GP language
 
hey kid, just learn everything!
 
Maybe something like SQL
 
Learn the Mozart Programming System
 
learn R
 
I kinda think he would benefit from learning a small, limiting language (like Java) so he can focus on software design.
 
1:15 PM
@KendallFrey you say that, but I still suck at very low level stuff, and don't really know much about FP, even if I still absolutely love it
 
Not C, it just encourages doing things wrong
 
@towc I use ruby with sinatra for all my web development
 
you don't learn C because you want to. you learn C because shits broken and you need to fix it
 
@ssube just gotta keep it in mind
 
1:15 PM
I'd recommend it, it's pretty fun
 
"C is not doing this because it's good, but because historically it was useful"
 
@towc If you suck at low-level stuff, learn C or maybe even assembly
 
C is all bitwise hacks, which towc already knows well
 
C is really quite simple
 
there won't be any challenge there
 
1:16 PM
|0 bitch
 
That doesn't work in C
 
learn something above the line here:
 
Because we all know something's only good if it's popular
 
@ssube like scala?
 
1:17 PM
Now what's the new framework of the month everyone's using again?
 
@towc you already write scala
 
Shit what is that new one. I think he should learn.
 
@ssube I'd be more interested in the derivative of said growth
 
Something functional...
 
Don't learn single-letter languages. They are hard to google
 
1:17 PM
vba is "growing" but that can't be permanent
 
How2CookAChicken#
That's it
 
Being popular can be an important factor is picking a language for a project.
 
slow clap
 
Ruby has oodles of documentation, but really.. don't learn rails
 
Learn C. It's totes worth it.
 
1:18 PM
finding examples, active support for 3rd party code if it needs it, etc.
 
all the languages near the top of that graph are the ones we've been suggesting
and the ones near the bottom are the ones we wouldn't
 
You'll spend more time debugging why rails isn't doing what you want it to than actually doing anything
 
Learn how to write a kernel.
 
oh gosh, do you remember objective c?
 
I like this "linux" language
 
1:18 PM
that was fun
@OliverSalzburg /platforms
 
@ssube nice. Python rust and r
 
damn, clojure is down by coffeescript.
harsh.
 
All my suggestions
 
and Go, which is another good one
 
All on my list to learn
 
1:19 PM
with Coffee, Obj-C, Perl, and Ruby in the no-good zone
 
!!xhaskell or go or C or asm or Rust or python
 
in C# , Feb 16 at 17:00, by War
@KendallFrey no-one gives a shit about haskell
5
 
and not a single one of those will teach him any useful paradigms
 
damnit cap
 
Cap, what
 
1:20 PM
@towc Rust
 
Haskell is a command
 
@ssube That's is true
 
rust it is
 
Coffee teaches you to read ambiguous code.
 
But ruby's fun!
 
1:20 PM
rust is great. but learn c. get your hands dirty.
 
@Cereal maybe it's just me, but not knowing what my program will do isn't that much fun :P
 
In what case do you not know what your code would do in ruby?
 
write chrome extensions with rust then chuckle to yourself for making a little joke.
 
other modules mixing in extension methods and whatnot
same problem JS has with prototypes
 
Oh, well don't do that then
 
1:21 PM
@Cereal when it sneaks up on you at night and has an affair with your daughter
 
but ruby is built on mutating other people's classes
 
@ssube s/js/node/ s/prototypes/modules/
 
Anyone here real good at the drag and drop API? Is it possible to disable the effect of the dragging thing moving with the mouse cursor? I am trying to implement a "drag multiple" looking effect
 
You don't have to reopen a class and modify it
 
> just npm install blah, and it works!
 
1:22 PM
In fact, I've never done that (outside of codewars)
Monkeypatching is generally frowned upon
 
I think I need more functions
 
have a λ
 
There's a lot of SO answers that tell people to, though
 
once a method goes > 100 lines, I feel dirty
 
100 lines is pretty long
 
1:23 PM
@rlemon .. and 2 hours later you have 7000 dependencies installed (including 50-or-so datetime formatters)
 
although entry/exit points matter more (complexity, cyclomatic or otherwise)
 
I try to sit at 50 max as a general rule
if more, refactor
 
@tereško it gets better, eventually you go to the repo page, see it does very little and write your own util file that replaces 5000 of those deps.
@KamilSolecki I make it work first, then spend 3 days refactoring it to look good.
 
.. and forget to remove it from package.json
 
1:26 PM
hao
 
@rlemon he, guess why I havent updated my api on github in the last 9 days
I always end up with half-working code in the evening
 
That's how I work too. Getting it working at all is like a proof of concept
Then I can actually write it
 
I also end up writing like 500 loc before I test any of it
pop out like 3-4 modules then see what kinda fires I just set
 
Once you know what you need, you can pare it down to the core of the concept.
ordering a massive slab of marble and all that
that's been my argument against TDD forever, you just don't know enough at the beginning
 
i need to catch up on them tests
I have been slacking with them, delicately speaking
 
1:29 PM
!!s/b.*e/v squat/ 39570007
 
I don't have any tests, and it's a point of shame
 
I hope that shows up in like 20 minutes
wait, shit
 
@rlemon ordering a massive slav squat and all that (source)
 
wrong id
fail
 
works though
 
1:31 PM
yea, I had a message in the future as the id
fat fingered it
 
Any of you can help me deploying my node.js API to heroku?
 
man, I love me some async/await, sprinkle that shit in everywhere.
@SterlingArcher youtube.com/watch?v=zSiKETBjARk wake up bro
 
some of the street names here are just lulz
> Windjammer drive
> Dogwood avent
 
oh, I thought you meant for drugs
 
1:37 PM
Lewl same
 
> Driftwood drive
> Dick street
 
yea, we got good names
 
Driftwood drive actually Sounds super Cool.
 
is it an older area, old farm roads and stuff?
 
Like an 80s movie
 
1:38 PM
or did they intentionally name them?
 
@ssube first 3 are newer
super intentionally
 
they sound like they came from a name generator
Dick street sounds like the Dick family lived there and harassed the city planner at church every sunday until they renamed it
 
> Bluenose crescent
 
Sounds like a charity group for some rare and not very serious disease
 
> Burning bush road
that's a good one
 
1:42 PM
pnpm is crazy fast
why have I never come across that
 
@Mosho well that is where the pubic hair depillation originated, obviously
 
off to see a couple houses
 
npm 5.4.2 - 13.357s
yarn 1.1.0 - 11.375s
pnpm 1.16.3 - 7.216s
 
@KamilSolecki You've just compared the representation of God in a religious story to a woman's genitals... Some people would be very offended, haha
 
1:45 PM
those people offend me
 
how is that specific to women?
 
@ssube he's sexist
;)
#tumblr
 
I caught that
the religious complaints always end up being a bit sexist
 
so, I've got a node server connecting to another node server with websockets
 
@rlemon He? I'm actually agender, don't assume :P
 
1:46 PM
wait. back up.
 
(oh the irony)
 
@JacqueGoupil why not? assumptions work out in most of my life.
 
Hide yo kids!
 
fair point, haha
I just never really heard anyone use "bush" to speak of a man's part. * shrug *
 
never? dude, bush is unisex
 
1:47 PM
you know what they say about assuming: makes an ass of you and an ass of me, then we have two asses, and that's sexy
2
 
I live in a region when most people speak French.
 
@ssube really tho, 'don't assume' is terrible advice. do you verify every aspect of your life? or do you just reach for the remote and boom there it is
 
@towc I just had the best idea ever, you should learn how to play VueVuezela
 
@JacqueGoupil my condolences
 
yeah, it should be "assume carefully"
because humans operate mostly on heuristics and are very good at it
it's all probabilities in the end anyway
 
1:49 PM
processors at some level do too actually!
 
If only the rest of the world thought like this...
 
things you can assume to be safe: being under the sheets
things you can never assume to be safe: farts
 
@KamilSolecki voltages are rarely a 0 or a 1
same with magnetic storage and error-correction in optical media
 
@ssube oh, what I meant exactly is that processors assume a result, and are actually hella good at guessing that. If they fail, they roll back. But afaik their guessing correctness is around 80+ %
 
1:51 PM
@KendallFrey no, u and i sex.
 
right now?
 
with bush
 
wow I have a great offensive joke
 
I bet you he says his own name, and he calls himself "dubbyah"
 
1:53 PM
@ssube just remembered, its called branch predictor
 
so I stubbed my toe last night and took off a chunk of nail. wrapped it, re-wrapped it this morning. looked fine, but I've been standing on it for 3 hours now
I think I'ma lose the entire nail :(
just thought I'd share.
 
I have my own nails, no need to share
 
I think I might replace my desk with an adjustable one here soon
 

« first day (2553 days earlier)      last day (2388 days later) »