« first day (1973 days earlier)      last day (2970 days later) » 

5:00 PM
8 bit core?
 
user47589
yes, men run on reduced instruction sets. lol
 
@Amy amirite?! lol sexism
 
I'm perfectly safe
 
or just 6?
 
TRIGGERREEEEEEEEEDDDDDDD
 
user47589
5:00 PM
it gave me a good chuckle
 
takes cover
 
takes over
 
I thought that was a bit of a corny joke.
 
user47589
formatting fail
 
^ is that meant to be a joke? @Squiggle
 
5:01 PM
FU i never bold
@Sippy Acorn computers were the first RISC machines...
 
@Sippy is that meant to be?
 
user47589
don't start, you're bad at it
 
I WAS ABOUT TO WRITE THAT
You old man you
I only just remembered Acorn computers were a thing
 
My first computer was an A3010 :D
 
Isn't that an airplane?
 
5:02 PM
Acorn? This is news to me
guess it was before my time
 
!!wiki acorn archimedes
 
The Acorn Archimedes is a family of personal computers designed by Acorn Computers Ltd in Cambridge, England and sold in the late-1980s to mid-1990s, their first general purpose home computer based on their own ARM architecture (then the CPU and architecture was known as Acorn RISC Machine, or ARM. The first Archimedes was launched in 1987. ARM's RISC design – 32-bit CPU (26-bit addressing), running at 8 MHz, was stated as running at 4.5+ MIPS, which provided a significant upgrade from 8-bit home computers, such as Acorn's previous ones. A claim of 'Fastest' micro in the world and 18 MIPS, was...
 
yep we had those in primary school
 
bleaches eyes
 
Still kicking around occasionally in secondary school, but not really used for anything
 
5:02 PM
They were surprisingly awesome
 
do brit computers come with internal tea
 
@misha130 HOW DARE YOU STEREOT... actually yes they do
 
:^)
 
The windowing system was frickin weird
 
5:04 PM
@Squiggle I got excited about MS porting to linux...
 
I have a pattern `12334`. From a list of words I would like to select all words that are matching my pattern (Linq?). So the conditions in this would be:
- Word has to be 5 chars long.
- First 2 letters are unique
- Letters at index 2 and 3 are the same
- Last letter is unique

Can anyone imagine the `Where` part for a Linq-select? Would highly appreciate it.
 
regex?
 
The pattern 12334 and the disctinct-set 1234 are known.
Yeah but regex with indexes?
 
@misha130 You make me sad. Linq rules.
 
@C4ud3x it's the "unique" constraint you'll have trouble with in linq
 
5:05 PM
:D
 
woah can you image the linq query with all these conditions
the sheer readability is off the charts
 
xD
 
@misha130 yes but just recommending regex like that?
 
what does 'unique' mean?
 
I just don't know...
 
5:06 PM
within the word?
 
lol come on
 
Unique means not duplicates of the other letters.
Just withing the word, yes.
 
I'm having an error after publishing the app:
Could not load type 'CTG_DataLayer.Model.vws_UserStatistics' from assembly 'CTG_DataLayer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
 
@C4ud3x please tell me this is not to be used with EF
 
EF?
 
5:07 PM
Is there any good way to keep bootstrap.min.css compact and not auto exapnd when you format your code?
 
However app runs perfectly fine on local host. Any idea what can be the reason of the error?
 
if EF (╯°□°)╯︵ ┻━┻
 
Entity Framework. It has trouble mapping certain clever linq conditions to SQL.
 
Nah.
 
good. Use Regex.
 
5:08 PM
@AdrianK. doesn't work when published to another computer?
 
@JABFreeware yup
 
Private small project for decryting a text that is made out of runes.
 
@AdrianK. You referencing the DLL file or registering to GAC?
 
.DLL
 
So you say publish and you mean it works locally?
 
5:09 PM
Just checked - have that .DLL file published properly.
 
@AdrianK. Have you seen this? stackoverflow.com/questions/124841/…
 
@misha130 when I run it on local IIS + local MSSQL - works fine, when I publish from VS to live server that one single page using it is throwing that error
 
@AdrianK. is it possibly you have different references depending on the build? debug vs release for example?
 
@JABFreeware those, should be the same file, always.
 
Could it be because your publickeytoken is oddly null?
or am I far fetching this
 
5:12 PM
@misha130 maybe, I don't know much about publickeytoken :/
I'm thinking I'll try to remove the .DLL from the server and upload it manually
 
@TomW Do you need anything in that infinitely deep node folder for the project?
Cos we've sort of got rid of it now .. but dunno if we need it to be on the server we're moving the package to lol
 
.where(s => (s.length == 5) && (s.count(c => c == s[0]) == 1)) && (s.count(c => c == s[1] == 1)) && (s[2] == s[3]) && (s.count(c => c[4]) == 1))
 
why tweray why
 
tweray does what he wants
he his own boss yo
 
becuz i'm batman
 
5:14 PM
@AdrianK. sorry I meant different files. Obviously same reference lol. I've seen that in projects before.
 
sigh
 
you know batman always do something boring after pizza lunch
 
Worked!
 
@AdrianK. yay! what did you do?
 
5:15 PM
I had to manually remove that .DLL file and reupload it on production server
 
@AdrianK. Version issue I guess?
 
@Sippy dunno, don't really know how node modules load other modules
 
@JABFreeware can't really tell, but I'd took a shot on it
 
@TomW aight cheers
 
@Sippy @TomW I think the newer npm stuff uses a more flat dependency folder structure
 
5:17 PM
good
dunno how anyone came up with the old structure lol
I mean I don't wanna call it retarded
but you know ..
 
It's like anything in the js universe, thrown together in a hurry and not really thought about
 
yet everyone liked it
 
it was because module A 2.9 can depend on module B v1.1 which depends on module C v0.4 which depends on module D.... and you also need module C v0.7 in your project but it still needs to keep a folder like ma/mb/mc/md/... it's crazy
 
People like JavaScript because it's cool. JavaScript is cool because people like it because it's cool.
 
think about the bright part, at least it's better than 3 different dependency on different versions of json.net
 
5:20 PM
@Squiggle And it will never ever die :))))))))))
 
@tweray argh the flashbacks
feh. I'm off home. Cheerio!
 
I don't even want to know how many different versions of some things NPM pulls into one project that I only add a handful of dependencies too... D:
just watching it spew nonsense and version numbers with each npm install scares me.
 
@Squiggle o/
 
poor Brendan
hope he and his family well
 
user47589
5:22 PM
i wonder if he regrets JavaScript
 
He should
 
isn't he swimming in money?
 
JavaScript is the devil
 
You can't swim in money
 
nah, javascript is more like the devil's little brother
 
user47589
5:24 PM
He was the CEO of mozilla
 
it cant do much harm, but it tries
 
user47589
not true. JavaScript drove me to insanity, and now i think i'm a pony.
 
@mikeTheLiar JavaScript as a framework/concept is awesome. JavaScript as a language is fresh fecal matter.
 
facts
 
5:25 PM
I am still using firefox to this day and I am suffering every minute of it :(
 
user47589
@mikeTheLiar yeah saw that. ridiculous
 
> This is how a simple JSF**k script looks:
brilliant
 
!!jswat
 
user47589
i love that talk
 
user47589
5:27 PM
nicely put together
 
lol funny that ppl can use what they see in wat videos and do hack
 
@mikeTheLiar false
@mikeTheLiar That didn't make much sense. Use the !!/help command to learn more.
@mikeTheLiar "SyntaxError: expected expression, got '='"
 
derp
derp derp derp
Let me try not to be such an idiot
 
oh my god cant stop laughing at this wat
 
5:30 PM
10/10 would teach js to my grandkids
 
Hey, it's noncommutative, nothing wrong with that
 
"strict" equality
 
Wait, no that's not commutation
ignore, ignore
 
user47589
absurd
 
5:32 PM
Lol
 
no thats not true
i refuse to believe it
 
user47589
no programming language that breaks basic principles of arithmetic operators should exist.
 
so null is between 0 and 0?
alright
 
null exists in a superposition of both greater than or equal to 0 and neither of those things
 
doesn't that actually make sense though... I mean it is null
 
5:34 PM
IMO it should always be false
Or possibly null
HOWEVER it does match the spec
 
its basically saying that 0 > 0
 
user47589
null would be a good choice. its not truthy anyway
 
can't we consider throw an exception or something?
you know, like other sane languages
 
user47589
I'm eager to try out WebAssembly.
 
5:36 PM
>So, in a nutshell it was something like this (from memory, still on my phone, and slightly intoxicated, please keep all of that in mind)
drunk coding lads
 
Best way to code
 
user47589
can you imagine? full stack in C#, including client-side browser scripts
 
@Amy that's crazy talk and I can't wait
 
how and why would that happen?
 
user47589
WebAssembly.
 
5:39 PM
damn
so nodejs can fly out of the window
typescript with it
 
user47589
they're starting with a c++ -> WebAssembly compiler as a first step. but in theory any compiled language should be able to target it.
 
and then we can all concentrate writing better code rather than to switch between js and c#
 
@Amy So Silverlight?
 
I am a decent C++ dev, gonna google this
 
user47589
i dunno, can Silverlight interact with the browser to the same degree as JS?
 
5:41 PM
I think more
 
it can call JS, but no not really.
 
user47589
as far as i understand it, WebAssembly won't be an extension/plugin, it's built into the browser
 
user47589
like how JS is.
 
so we can use it when enterprise stops using IE? :(
 
I bet there isnt any chrome support yet
 
user47589
5:42 PM
Experimental support is available in chrome
 
cool
 
Somebody out there wrote a C++ compiler that generates js because reasons
They compiled Windows 95 into js
 
pls stop
 
user47589
i just finished reading this article on WebAssembly, it's pretty informative.
 
5:43 PM
HAMMERTIME!
 
And it's slow as shit
 
transpiler always exist, webassembly is a different story
 
thanks @amy
ill go write my first script :^)
 
user47589
i might try playing with it this weekend, but i haven't done C++ since college.
 
its pretty easy if you dont oop right
 
user47589
5:44 PM
yeah, just rusty.
 
user47589
wtf
 
@Amy why not try Rust?
 
user47589
i could, that's the mozilla language right?
 
@MikeAsdf my god what a tentacle orgy
 
5:47 PM
where did you see tentacle?
 
@mikeTheLiar That somebody is a regular in the JS room
@tweray everywhere there's not face
 
and it's Japan, so obviously
 
@mikeTheLiar why not golang?
 
@KendallFrey he can stay there. Sounds pants-on-head crazy.
 
5:48 PM
@mikeTheLiar He's pretty damn smart
 
@misha130 why not Zoidberg?
 
:^)
why not indeed
 
@KendallFrey oh I'm sure he is.
Smart and crazy are not mutually exclusive states.
 
true
 
Take Stallman for example. The man's clearly incredibly intelligent. He's also a fucking nutjob.
 
5:49 PM
Also, it wasn't Windows compiled to JS, it was a full emulator in JS
including undocumented behaviour that Windows relies on, according to him
 
lol now that's funny
 
He said it took longer to tweak the emulator to work with Windows than it took to write the "finished" emulator.
 
user47589
6:02 PM
he should have set QuirksMode = true
 
now you got me all hyped because this will be the death of angular
I CAN ONLY HOPE
 
Do I want beef or fish for lunch? I can decide and I'm getting hungry.
 
I might have broken my main pc >.<
Sucker doesn't want to boot anymore. Doesn't even show the BIOS either. Starting to think the PSU is dead.
 
yeah... seeing a language define implementations of > and < that aren't transitive is always quite surprising...
I'm not aware of any in C#
 
user47589
6:24 PM
angular needs to die.
 
user47589
jesus, the way the directive scopes work is just fucked up.
 
user47589
this article shouldn't need to exist: undefinednull.com/2014/02/11/…
 
user47589
but i find myself referencing it every time i write a directive, because i can't remember how all the magic works
 
user47589
scope: {
            name: "@",
            color: "=",
            reverse: "&"
        },
 
user47589
can anyone remember what those things are supposed to mean?
 
user47589
6:27 PM
because i never can.
 
nope, all gibberish
 
user47589
terrible API. its no wonder they're rewriting it in angular 2
 
@KendallFrey did you see this? engineering.linkedin.com/puzzle
 
No, but I've seen similar puzzles
 
@Amy attributes tags and something <- its not
its just bad code, bad documentation I dunno about angular 2 with typescript
I didnt see it but this whole thing just makes me want to cry
 
6:43 PM
been writing ng so long, it all looks normal now
it used to drive me batty when i first started
 
so I need to change API calls from one api to another for email service. Is there anything I should make sure I know for getting started on how to do something like this?
I haven't worked with something like this before
 
@Jeremy hehe, I expected nothing less.
598
Q: AngularJS : What is the difference between '@' and '=' in directive scope

iweinI've read the AngularJS documentation on the topic carefully, and then fiddled around with a directive. Here's the fiddle. And here are some relevant snippets: from the html: <pane bi-title="title" title="{{title}}">{{text}}</pane> from the pane directive: scope: { biTitle: '=', title: '@'...

 
user47589
thanks, i guess? i'll forget what they mean again tomorrow.
 
user47589
I wasn't asking what they meant.
 
hi all. got a question about Entity Framework in C#
 
6:49 PM
@Amy ok?..
 
Okay NSFW : (I found this while googling for some sata connector) tulumarka.com/images/magazin/2013/09/13/…
 
is this the right place for it?
 
user47589
yes alex
 
landscaping prices are ludicrous
 
thanks, @Amy
 
6:50 PM
@Amy bootstrap gives you .css files and fonts when you download it.

the CSS I can embeed directly in an html file by placing it directly in between <style></style> tags. is there a way to do something similar for fonts? I
 
i posted this question and got the answer... stackoverflow.com/questions/35946208/…
 
the fonts come in a css stylesheet as well as a folder, which the stylesheet references
 
user47589
@Michael yeah, this is how FontAwesome does their font:
 
user47589
@font-face {
  font-family: 'FontAwesome';
  src: url('../fonts/fontawesome-webfont.eot?v=4.5.0');
  src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.5.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.5.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.5.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.5.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.5.0#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
 
user47589
you can put that inside a <style> tag
 
6:51 PM
@CharlieBrown right, but i dont want to reference. because this is html of an Email
 
ah, yeha, not gonna work
 
Custom fonts are fubar in html emails
 
what i need to figure out is how to return the FindEmployee() results as Employee models rather than of type FindEmployee_Result
 
ok, was just wondering
 
Stick to websafe fonts for emails @Michael
 
6:52 PM
because the user will edit the results and they need to be persisted to the database
 
at least if you want it to look nice on all email clients.
 
@scheien it wasnt really the "fonts" I was worried about, I wanted to possibly included some glyphicons
 
and the stored procedure's auto generated ..._Result object won't work for this.
 
@Michael give up now on getting special fonts in an email
It ain't gonna happen
 
@Michael the html/css support in email clients are at a bare minimum. If you want to come out of this alive, don't do any fancy shit.
 
6:54 PM
how would i convert the FindEmployee_Result type to Employee type?
 
When it comes to HTML email, just mentally send yourself back in time 15 years
 
user47589
you can do that, @mikeTheLiar?
 
Mike knows much, tells some.
 
@scheien its a nightmare... different providers have varied html/css support. Its a lowest common denominator situation
 
I know. I deal with that shit on a daily basis
 
user47589
6:56 PM
i wonder when we'll get email version 2
 
If I never have to write another HTML email again it'll be to soon
 
Apple is working on it... it's going to be called i-mail
 

« first day (1973 days earlier)      last day (2970 days later) »