« first day (2005 days earlier)      last day (2938 days later) » 

4:00 PM
Its not view bag
 
@misha130 they are not going to be used outside of the web stack I have (at least i'm not anticipating it)
 
its that js doese not recognize guid as a string
 
ViewBag is still evil.
 
viewbag is evil
and you need to pass in a string
 
Wrap it with apostrophez
 
4:00 PM
I'm trying to figure out how to pass things like request / user info to something that does not care about stuff like Http Messages or Servers or serialisation
 
^
 
Or Html.Raw it
 
<a href='javascript:SomeJavascriptFunction('"+@Model.Guid+"');'></a>
fixed
 
also, you should add a click listenener/handler to the link, instead of calling it through href
 
^
I like this Jako guy
 
user47589
4:01 PM
yeah, don't use the "javascript:" bit
 
<a href='javascript:SomeJavascriptFunction('"+@Model.Guid.ToString()+"');'></a>
 
Basically change everything about your code and you'll be fine.
2
 
@Sippy lmao
 
personally I wouldn't do that at all
 
4:01 PM
There are other temp variables in mvc that can handle this
 
shut up wadry
2
 
@wadry I think you got it right
thats what people are suggesting online
 
People online aren't very smart.
 
@wadry you got a reason why you don't like [Inject]?
 
user47589
hey, we're online, what a coincidence.
 
4:02 PM
can we modify hardcoded value from cheat engine .
var i=10; // possible;
yyy.value="10"; //can we modify 10 here?
 
@Amy but are we people?
 
function() {
   $("elementSelector").on("click", SomeJavascriptFunction);
}();
better way to do it
 
Are you seriously in a C# room to ask if you can change cheatengine values roflmao
 
user47589
@mikeTheLiar you guys might be, i know i'm not.
 
You don't really need the ToString. The view engine should still render the GUID there without it, only thing you were missing was single quotes around it and not using viewbag
 
4:02 PM
@misha130 I don't want my service layer to know about ninject at all
 
@wadry why not?
 
@Amy Rename yourself to PansexualPony
 
user47589
no
 
Wait does pansexual include species
 
@SteveG why should it ? ... it matters not to the service logic what puts its dependencies in place
 
4:03 PM
PonysexualPan?
@Sippy I think the assumption is that all participants are the same species
 
ah lame it's just identities
 
@wadry service layer is what orchestrates everything, from db stuff, to external services, etc, are you going to couple everything to your service layer and not use di?
 
Guys I cant register an event to the click since this link is deep down some kendo stufff
 
wadry pls
 
wadry pls
 
4:05 PM
@Obviously That's bullshit
 
I wouldn't want ninject in every part of my solution really
 
although kendo does suck
 
@SteveG hmmm ... my app startup code loads ninject modules that tell ninject how to construct the stack when a request comes in
 
user47589
95% of your solution should be unaware ninject is involved.
 
really ?
 
4:05 PM
the service layer simply deals with the business rules
 
@Amy what if you're developing ninject
 
it should never care that ninject is even involved
 
user47589
then you're screwed.
 
lol
 
@wadry i think you created a domain layer, an anemic domain layer, and called it a service layer
 
4:06 PM
Nothing wrong with service layers
 
user47589
mmmmm layers
 
so this is the whole point of why you have ctor based injection and not parameters
 
parfait, ereybody love parfait.
 
@SteveG sure if thats how you interpret what I have that's cool
its not quite what i have
 
okay
 
4:07 PM
wadry pls dnt b sad we love u
 
i must be dumb then
i need a window to lick
 
@FastSnail In theory yes, but Cheat Engine isn't designed for that kind of thing. You'd want a decompiler or something to find the locations of those values
 
jesus steven
 
@Sippy No, his second name was Christ
 
I need to have the business logic execute based on user permissions, so it needs to know who the current user is
 
4:07 PM
fuck off bearhugger!
 
Can someone help me with my xml deserialization issue?
 
but the identity framework in the API layer figures that out using webapi
 
@Sippy That's a serious allegation, fam
 
Don't you fam me, bled
 
I fam who I like, fam
 
4:08 PM
fam
 
Did we break steve
 
don't blep me, plur
 
He's just repeating random words at this point
 
lmao
 
@wadry just pass minimal data instead of the whole object service
 
4:10 PM
hey fam, what tool do you use to monitor tfs builds?
 
Git
 
xD
 
the main MS tray app keeps losing connection or something and shows stale states forever.
 
@MikeAsdf rip
@KendallFrey reading the excerpt from that book earlier gave me some sort of illness btw
 
4:12 PM
feverish lust is not an illness
 
but it does need cowbell
 
The chick on the cover was kinda hot
 
her boobs were showing, of course she was
 
yeah.
I thought you were gonna say something about looking at the bear then
If the bear in that book was also a chick
 
@wadry you should look at what endpoint the user is using / what use case they're doing, look at their permissions, and prevent it from ever getting to the business logic
 
4:14 PM
too much plot
 
return 401
but
 
butt
 
@Sippy You didn't read the excerpt, did you?
 
i suppose you could implement it however you like, you know your project better than me
 
@KendallFrey yeah it had balls in it
 
4:15 PM
then you appear to have some misunderstanding about anatomy
 
lmao
 
I was implying that it would be like you to mention me looking at the bear, fam
If not for the excerpt.
If you read the starred list today from bottom to top it makes for quite an interesting conversation.
 
that it does
wow, chat died
just a small town girl
 
@KendallFrey i have the source code .but how can i know the location ?
 
@FastSnail decompiler maybe
 
4:22 PM
@KendallFrey sorry
 
is myget down for anyone else?
 
bloop
 
Yeah what the fuck happened to chat
Did you all drop some acid
 
user47589
all the humans went insane
 
beep boop
 
4:28 PM
silly humans
bloop is the noise you hear over the toilet during the last shake
for guys, at least
 
roflmao
shut up steve
 
:(
 
jk ily
 
:'(
 
VS debugger so fkn underrated
life saver
 
4:32 PM
 
user47589
i'm thinking of quitting C# and doing everything in PHP
 
salami
shlami!
 
@SteveG "bloop"?? wth kind of glop is falling into your toilet?
 
TFS kicked me out
It doesn't like anymore :,(
 
user47589
4:39 PM
TFS doesn't like anyone.
 
@KendallFrey you wouldn't understand, i pee standing up
 
It locked me out and made me think I forgot my password
 
@SteveG the decision around weather or not the user can perform the current business action comes from the data in the database
 
guys btw, I'm going to Google I/O
Feel free to direct your Android or chrome issues to me
 
Why is android slow and uses up much battery life. k thx.
 
4:46 PM
The permissions are basically on a row by row basis
 
why is chrome so chrome. Will it take me to valhala?
 
@RyanTernier Java ?
 
user47589
WE WILL ARRIVE AT THE GATES OF VALHALA ALL SHINY AND CHROME
 
since we used to compare it with IOS, objective is much cheaper when it comes to memory and stuff
 
I have to use an IOS device.. i hate it
 
4:48 PM
OMG, do you spend the whole day chatting here?
 
I'm a guy, not a girl. I need more than 1 button.
 
user47589
lol
 
@BadroNiaimi I have this open 24/7 really. I get pinged at all hours for help. but I usually talk here when my solution is building (2min builds)
 
user47589
yes, girls only need 1 button
 
@wadry you create create a custom authorization attribute, which calls a service layer service, to get permissions, and returns a 401 at the api, still. and then you could still rename your 'service layer' to a domain layer, which holds real business logic
 
4:49 PM
lol
 
just throwing things out there / brain storming
 
whats the best MS stack for a new web application ?
 
i havent used Web api yet. not much EF as well
 
classic asp
 
user47589
4:50 PM
Webforms
 
we're going to hell
 
yeah MVC with ado would do ?
 
yeah, do mvc
and id' still use EF
 
it depends on the project's size
if you wanna build a small web site then use webforms
 
@codebrain NotePad++?
 
4:51 PM
no web forms please ! idk if someone can still create a new classic asp project ? unless they find a workstation from secret hydra lab
 
Personally, I miss HotDog HTML editor :(
 
@RyanTernier i am not you sir
 
back in 1995 that was the bomb diggity
 
@wadry then implement services in your real service layer who's public methods correspond 1-1 with use cases
 
4:52 PM
@SteveG that whilst possibly a good idea would result in double the number of db calls I currently make
 
tabbed HTML editor in 1995.
 
memories lol
however I'm not that old
 
user47589
i remember using that editor
 
I played a game in 2001 while i was in school. I liked it so much that i still have it installed in a old PC of mine.
 
user47589
that and Frontpage
 
4:54 PM
RIP frontpage
 
why RIP !! there are some new versions lol
 
rip wordpress
 
@SteveG basically the API / web layer deals with deserialising the request and authenticating the caller ... The business layer then applies the business rules
 
WordPress are you serious
 
@wadry i do a lot of api work, i'm 99% certain you're writing a big ball of mud, but, if you don't want advice i'll just shut up
 
user47589
4:57 PM
sometimes what we want isn't advice, but recognition
 
wordpress still a good engine and millions of pages are running on top of it. why rip ?
 
In most cases the rules go something like "if the user has a relationship to the row in question "by some means" then the action is allowed
 
yes exactly
 
user47589
wordpress has a lot of problems.
 
I just love taking jabs at wordpress
 
4:58 PM
does wordpress have webgl features?
 
@wadry i know exactly what you're talking about, we do the same thing, but hit an external api instead of directly hitting a db
 
user47589
yeah but he uses odata
 
what design/graphics do u use from stuff like word press?
 
@Amy lmfao
 
user47589
odata is the biggest thing since jicamajs
 
4:58 PM
most of cms has problems lol that why they make new versions
 
@Amy I had a instinct saying that. Idk i never liked using it though. Its good for non techie.
 
So generally by determine if the user can do something I load the records I need in to a datacontext so I can then use those rows
 
user47589
yeah its fine for non-technical users
 
user47589
i used to keep a blog on wordpress, before the dark times.
 
We use umbraco for our non-techies
They do ok
 
4:59 PM
@wadry why does that have to interact with the business logic at all?
reading from a db isn't business logic
2
 
That is business logic
 
can anyone access myget.org ?
 
user47589
@SteveG his logic is undeniable.
 
user47589
yes @StevenLiekens
 
The service layer doesn't read from the Db it's datacontext does
 
user47589
5:01 PM
 
@wadry no sir
 
then why the hell is it timing out for me?
 
@wadry hey, i tried, good luck
 
user47589
@StevenLiekens how should we know?
 
you should try others then you will see that wordpress is fine comparing to Joomla or Radiant CMS etc.
 
5:02 PM
@StevenLiekens I have a poor internet but it's loading.
 
idk but my packages are on there and I can't do anything without my packages
 
user47589
Some network node between you and the target server is down.
 
user47589
Use a tracert to figure out which node, send that node's coordinates to your orbital weapons platform, and order the platform to fire. problem solved.
 
Tracing route to myget.org [137.116.207.86]
over a maximum of 30 hops:

  1     1 ms    <1 ms    <1 ms  192.168.1.1
  2    10 ms     1 ms     1 ms  192.168.0.1
  3    12 ms    11 ms    16 ms  10.49.192.1
  4     *        *        *     Request timed out.
  5    13 ms    13 ms    16 ms  dD5E0FA6D.access.telenet.be [213.224.250.109]
  6     *        *        *     Request timed out.
  7     *        *        *     Request timed out.
  8     *        *        *     Request timed out.
  9     *        *        *     Request timed out.
nayyyy
 
user47589
5:05 PM
As with everything else in life, network problems are best solved with superweapons.
 
even world hunger?
 
user47589
Even world hunger.
 
shoot the hungry ones, they wont ask again
 
user47589
What? No, that's horrible! You give them the superweapons so they can hunt their own food.
 
i'm sitting here, realizing that i've only been professionally programming full time for 2 years , damn i love my company and co-workers, it's easy to take that shit for granted
 
5:07 PM
o-oh...
why aren't there developers with 10 years of experience?
 
@SteveG sooo.... 4th stage cancer?
 
lol
 
@SteveG right im home now, its easier to explain this is stuff when on a pc and not a mobile ... the name service is admittedly likely wrong ... if we relate this to the command query pattern I have either a command or a query
 
user47589
When you hit 10 years, the robots come for you.
 
how many stages are there?
 
5:09 PM
@wadry i actually have to get back to work
 
ok
 
@wadry there are services in your service layer, and services in your domain / business layer
(i call service layers application layers, but both are right-ish)
 
based on what you've said they are basically 1 layer in my stack
they depend on a data layer which deals with storage and what not
@StevenLiekens is your internet being delivered ove a vpn tunnel
 
nope
maybe
idk
 
that could be a proxying issue
 
5:12 PM
good night
 
One
Good night
 
//When I paste this in VS, it autoformats to
var myShit = new[] { thingA, thingB };
//When I re-type the semicolon, it autoformats to
var myShit = new[] {thingA, thingB};
how do I get the formatting to at least be consistent?
 
@SteveG how did we get to "the whole stack is wrong" from "I just don't think its right to pass ninject in to my business logic"? ... the stack is fine by the way ... its doing some really good shit very easily and with good code separation
 
@MikeAsdf Sounds like ReSharper VS VS formatting.
 
@wadry i haven't seen your stack, it's acceptable to have your domain layer and application layer in the same project if your solution is small
 
5:16 PM
@RoelvanUden I had the same problem with space after cast operator, but I found the ReSharper and VS option for that.
 
@SteveG yeh i think we might getting terms mixed up too ... when i think domain i thnk "business domain" I don't consider that a layer, but then I have had people tell me "oh that service layer you have ... yeh thats your domain"
I see this often
 
whats up misfits?
 
user47589
hi charlie brown
 
hey devil
 
I think the code is probably reasonably well structured i just hate how terms change in this industry like daily
 
user47589
5:17 PM
how's snoopy
 
lol
 
user47589
;(
 
omg it feels good to finish a piece of my project! finaly got it
*high fives!
 
user47589
Do you have change for a $20?
 
5:18 PM
@MikeAsdf r# and vs fighting each other?
one might be set to format on paste, the other format on semicolon
 
@wadry It's not the internet anymore it's the cloud
 
@Shoe the internet is now basically just a collection of clouds, so its still the internet ;)
 
but... but... what if it rains?
 
It's not data it's precipitation
 
user47589
then the internet will have less water
 
5:21 PM
Oh wow, kat.cr is now flagged by Chrome as phishing site.
 
isnt rain basically an area wide broadcast ?
 
!!youtube Cloud computing is great...but what if it rains?
 
user47589
@RoelvanUden i think their address changed.
 
user47589
i have kickass.to
 
5:23 PM
Oh really? It still works though.
No, no, that's the phishing one @Amy AFAIK
 
user47589
they change domains occasionally to defeat ISPs.
 
Oh wait, no, again, kickass.to redirects to kat.cr which is flagged by Chrome now.
 
aha, the R# setting is Spaces -> "Within single-line initializer braces"
 
user47589
there's a reddit thread about chrome and firefox flagging the domains
 
5:25 PM
@CapricaSix does this guy also charge his iphone in the microwave?
 
user47589
its not that informative tho
 
user47589
try going to kastatus.com, @RoelvanUden
 
user47589
that's their "official" status page
 
so i run an antenna up to the sky and i'm now "connected to the cloud"
 
No issues there. but hey I can access kat.cr if you just clcik away the warning
but it's pretty silly nontheless.
 
user47589
5:26 PM
yeah
 
lol so if it rains all my personal info will be sent to ... everyone that gets wet?
 
i got the poison, i got the remedy
 
user47589
that makes @AdanRamirez the Decider
 
user47589
he decides who lives and who dies.
 
user47589
5:33 PM
you have the poison. that makes you the Decider.
 
*high fives
 
user47589
someone burned popcorn in the microwave again.
 
microwavable popcorn isn't a very healthy thing to eat every day
 
yes it is, i grew a 3d arm over the years
 
user47589
pure carbs.
 
5:40 PM
@Amy that smells like crap
 
finish him
 
user47589
was that guy from the first Mortal Combat movie? i recognize the horrible CGI
 
Did you actually watch the first Mortal Combat movie @Amy?
 
user47589
yeah
 
user47589
5:42 PM
its been a long time
 
+1
 
How to decrease your teams productivity: Use java
 
user47589
How to decrease your teams productivity: chat on SO.
 
I has a latte?
SO chat is how we deal with the inevitable heat death of the universe though
 
user47589
I'm unfamiliar with this new science.
 
5:48 PM
Why are you people saying Mortal Combat
shame on you all
Its Mortal --> K <-- ombat
for the extra 90's feel
 
user47589
i prefer the 2010's feel.
 
2010s are not EXTREME enough compared the 90's
 
To be honest, I could actually do with a little less extremism at the moment.
 
user47589
yup
 
user47589
i don't get todays SMBC
 
5:55 PM
So I just browsed to the mobile version of the wiki page for heat death of the universe on accident. It was actually more pleasant than the full site version
 
user47589
Wikiwand is a great extension for chrome to view wiki
 
@Amy - Constantly rounding to the nearest tenth? It really isn't that funny.
 
@Amy Fermi estimation. Also see what-if.xkcd.com/84
 
is ther a way to generate xml schema documents from C# classes?
 
yes
 
5:59 PM
in VS?
 
in visual studio there should be an option somewhere
there is also a json option
 
user47589
28
Q: How to create a XSD scheme from a class?

Darf ZonI'm a hard time with the XSD files. From a class like I'm trying to create the XSD file: public enum Levels { Easy, Medium, Hard } public sealed class Configuration { public string Name { get;set; } public Levels Level { get; set; } public ConfigurationSpec { get;set;} } public abs...

 

« first day (2005 days earlier)      last day (2938 days later) »