« first day (2388 days earlier)      last day (2560 days later) » 
00:00 - 15:0015:00 - 00:00

12:05 AM
@SteveG they have no idea who I am
they suspended me
 
yeah they did
 
for no reason
 
lol what
i can clearly see the message history
 
@SteveG I DIDNT DO ANYTHING
i didnt say anything I havent said before
 
you should've gotten the hammer before too
general chat culture is: swearing is okay, as long as it's not towards a person
 
12:09 AM
@SteveG no one told me that
 
ah, wlel now you know :p
 
I'm offended
 
i got banned dozens of times
 
better hope I dont go on a cyber rampage
 
don't sweat it
 
12:09 AM
oh I'm not. Just debating revenge options
:)
 
no revenge, you earned the ban fair and square
ignorance of the law is not a defense ;)
 
it should be if its a stupid law
I mean murder thats obvious
but most laws are not as obvious
 
lol
trump is giving a rally cuz his feelings would have been hurt during the correspondents dinner
he's so sensitive
 
much like the person who suspended me
 
it wasn't a mod, it waasn't even a RO
a non-mod/RO flagged your post, and all 10k+ users in all chat rooms saw it, and voted to ban ya
 
12:13 AM
@SteveG I didn't get to vote
 
you aren't 10k+
and you don't get to vote on your own flags
 
what if it was 5k to 5k
i should get to vote
 
lol
 
think they store in the db who voted and how?
or just the result?
 
i think it's anonymous
 
12:15 AM
so I wont get revenge :(
 
:(
 
or.......
I could just hold all voters responsible
 
it's not even their fault, they didn't see the context of you joking, just the message
regardless, rein it in son
 
so they shouldn't have participated
augh
I'm an angry person at heart
that is hard
 
i feel ya
but even if you're joking, it can be hard to tell, and we dont want to drive away new people, those new people could be super smart and could help me with a problem some day
like... a unity problem :p
 
12:19 AM
you'd cheat on me?
 
12:47 AM
oh yeah baby
fixed my couch XD
 
1:23 AM
@SteveG lol
what was wrong with it
 
i got mad and kicked it and broke the leg recliner thing
inanimate objects should do as they're told
 
@SteveG I do that if I stub my toe or hit my head
which ironically causes more pain
 
:p
i just couldn't get the darn thing to close
and after like 5 times i said screw it and kicked it super hard
 
I kicked a door once that was stuck
the door didn't open
but it made a hole
:/
it wasn't my door...taht was hard to explain
 
lmao
 
1:27 AM
@SteveG movies just show them opening
 
?
 
@SteveG like the door flies open
no hole
 
oh
lol
 
my apt though has a semi reinforced door
one day I will get his kind of door:
to totally impress the ladies :P
@SteveG did you find the right escort for your steakhouse visit?
friend*
 
lol
you know ladies that get impressed by locks? hook a brother up
@JABFreeware i did not sadly, i went to walmart and got rotisserie chicken
 
1:32 AM
@SteveG I know of a couple. You don't want to know them.... or you REALLY do depending on your style. Put it this way the only reason is they would have more escape time from the cops lol
I think to most they would think you have mental issues and are super paranoid and controlling
 
oh lol
 
that door is solid steel lol
 
almost seems like it'd be easier to punch a hole in the wall to get in
 
@SteveG or a window... even with bars just hook it up to an armored car and it will come right off
but cops dont show up with that stuff the first visit lol
:P
 
oh
i was thinking more along the lines of a wall charge
few circles of det cord big enough for you to walk through, lil duct tape, boom
NSA IM JusT KIDDING
 
1:35 AM
@SteveG forgot, I line the walls with 3 year olds that get fed with a tube that drops down like they are plants
so they wouldn't dare
43 secs ago, by Steve G
NSA IM JusT KIDDING
^
 
?
lol
 
you know...lines of plants with a watering thing every so often that waters all them at once
you could in theory have the same thing with three year olds. something on the other end for the waste and done
maybe younger
idk I haven't given this much thought
 
why are you talking about farming humans like the matrix bots
lol, thats the part i don't get
 
2 mins ago, by Steve G
few circles of det cord big enough for you to walk through, lil duct tape, boom
my walls would have human armor
 
lmao
human armor isn't good armor
 
1:38 AM
they wont blow a hole through a wall AND a three year old or two
love to see that on the news
"FBI finally breaches jabs fortress. See video below of agent Johnson kicking two armed three year olds gaurding the breached wall "
well...they WERE two armed
can't say for sure now
jesus where has my head gone
I sound like a weirdo now
@SteveG we need a lab
 
eh?
what kind
 
where you live?
 
michigan for a few months, then maybe southern cali
u?
 
@SteveG florida
and maybe mexico for a few months in a month or so
 
fuck that i wouldn't be caught in mexico lol
 
1:47 AM
@SteveG its not like the us propaganda makes it out to be. Its like in this country. There are safe and dangerous places. But you only hear about the dangerous parts in mexico
wow unity has made great strides since last time I used it
 
ah true
 
I especially like the debugger
 
oh yeah
 
@SteveG speaking of...wanna know something embarassing ?
besides that I mispelled that and that <
 
sure
 
1:49 AM
I didn't know you could edit variables when debugging
for a long time
a co-worker showed me
for the longest time I thought they really should make that feature
:(
 
oh yeah
i never really do that
 
we were talking shit about MS and mentioned it and he was like ummmmmmm about that
@SteveG but its so handy sometimes
especially if you're working a poorly setup project that doesn't support unit tests and stuff
 
oh yeah
i always have unit tests to work with, but could totally see how that would be a pain to test without them
 
yup
you're lucky
but....good design takes longer at first
some teams don't value the time it saves later
 
i don't think i could ever work for a place like that
 
1:59 AM
@SteveG I regret it. Its not something I am proud of
we all make mistakes
dont judge me
whaaa
 
lol
 
honestly I was a way better programmer before it :(
the culture makes you lazy
after a while
 
yeah i can imagine so
 
its meh I know this is shit code but whatevs. At one time I would have bene like NO this disgusts me and I'll make it pretty if it takes me all day.
 
thats one of the reasons i dont want to work for a place like that
i have a good habit goin, don't want to ruin it
 
2:02 AM
@SteveG kinda like doing drugs. If you start hanging out with drug free people you risk ending a good habit
 
lol
i like you
add me on skype or something, you got skype?
 
@SteveG I only give me skype to cool people
 
crap, i'm def. not cool
 
jabfreeware finds me on skype
 
k
 
2:08 AM
:36873028 lol so it is lmao
 
is it still?
crap idk how to change it
 
yeah
 
oh well
 
i mean it can't be that hard
right
i mean... you just did
 
i did like 5 minutes ago
maybe it was cached in your instance
 
2:10 AM
what should it be
 
string.empty
""
 
it is now
want me to send you a bunch more pictures on skype
because that's all i do lol
 
lol sure
 
Question: Why would an asynchronous method of type Task not be marked up with async keyword, but be perfectly asynchronous otherwise?
 
@Nomenator good question
 
2:14 AM
@Nomenator async keyword is only a signal to the compiler that it needs to compile the method differently. A normal method can still return a Task.
 
i dont understand
 
@KendallFrey beat me to it
 
bacon and eggs
yummy
nothing like breakfast for dinner
 
@Nomenator What about it?
 
2:17 AM
@KendallFrey, @JABFreeware The suggested use is with async keyword, but it will not compile unless method is marked with async. At the same time, the method was never marked up with async, but VS tooltip suggests using it as async. Curious.
 
@Nomenator You lost me part way through
 
but please tag everyone
so that it pings the most people possible
 
Sorry.
 
i forgive you
no im not religious
 
@Nomenator Task came before the async keyword, you can return a Task without it
Task is part of the TPL
 
2:19 AM
@JABFreeware lol who thinks forgiveness is a religious thing
 
too many people
or maybe its just my fucked up biological family who says if you're not christian you must be hateful and never forgive bluh bluh
is 90 degrees too hot for a CPU?
intel
 
@JABFreeware "atheists are so bitter and empty"
 
When you actually use the method, the tooltip in Visual Studio says "usage: async MigrateAsync()", I take this statement as if it were documentation. You cannot do that unless the method has async keyword. History in Github shows it never had async. So I got curious what this could be.
 
@JABFreeware YES
@Nomenator Are you sure that's not await MigrateAsync()?
 
@KendallFrey I have done everything!!! its a laptop. Fans working great. thermal compound replaced and high quality. No hair etc etc
 
2:22 AM
You're right, it's "await MigrateAsync()"
 
@JABFreeware Faulty sensor, maybe?
famous last words #RIPColumbia
 
its the CPU internal temp. You know core specific temps
I dont remember is that real temp is alorithim generated based on load?
 
@Nomenator You can await any awaitable object, which Task is. Doesn't matter how it gets created.
 
I wish you could change the CPU fan on laptops
to be higher flow
 
This creates error code CS4033 the 'await' operator can only be used with an async method… blah blah. Could be because of targeted platform?
 
2:25 AM
At one point I had my laptop propped up on some books with a oscillating fan blowing underneath
I think that was when I was running GIMPS
 
no, it's saying your method has to be marked with the async keyword
async Task or async Task<T>
 
@Nomenator It's not referring to the method you're calling, it's the method you're using await inside
 
well its been put through a LOT of abuse. As in once bitcoin mining with the CPU (yes I know) while sitting on a bed
 
Oooh, right. I can't await inside a non-async method. Sorry, I'm just stupid.
 
2:26 AM
I just need it to live a bit longer lol
 
@JABFreeware beds are the enemy of laptops
 
@KendallFrey and dog hair
last year I found out why the fan was so noisy but no air came out
3/4ths of the vent was covered in packed hair/dust
like honestly my laptop is an ad for lenovo toughness lol
 
How long until phones have fans
 
fans won't work
introduce watercooling
 
@KendallFrey I overclocked my phone once
that might be why it has hardware issues
such as in overheating
 
2:35 AM
i used my phone once
 
its actually UNDER clocked at this point
I once was very reckless
doing things like 20-40% boosts on random overclock settings
sometimes I wonder how I have any hardware left
 
Overclocking a phone is not such a bad idea. You can run gcc on it. Faster compile times never hurt anyone.
 
@Nomenator its a terrible idea
for the same reason its bad on most laptops too
it can't cool properly. Even if the CPU stays stable for a while the board its on obsorbs some of that heat
said board and surrounding chips can't handle aforementioned heat
 
 
1 hour later…
3:55 AM
hi
 
 
1 hour later…
4:56 AM
Hello, I need some help about adding a "New Item > Local Database".
I have no option like that in my Visual Studio..
I already installed EntityFramework.SqlServerCompact and Microsoft.SqlServer.Compact
 
 
1 hour later…
6:13 AM
hi @borrrden
 
 
1 hour later…
7:16 AM
morning sunday
 
7:34 AM
Good morning.
 
whew long vacation eh
 
Heh.
I wish I was really on vacation since the last time I was on here.
 
I went to NYC for a month so yeah
 
Searched the room transcript to see when I last logged on. Seems I last spoke on March 21st, but was also quoted twice since.
@misha130 Oooh, awesome. Fun or work?
 
Fun
but the vacation was a tad too long I think
cause at some point I found myself and my gf going to the library everyday with a book about theoretical physics
so if anyone has any questions about some lagrange equations I'll be more than happy to answer
 
7:39 AM
With long vacations, there's a switch, somewhere in the middle, where you go from "I'm in <insert destination>, I have to do <destination>-oriented things all the time!" to "Ok, so I'm in <destination>, I'll just do things I want to do, just in <destination>".
And that's fine. It's just a different sort of vacation.
 
yes, thats exactly it
but the plus side since you are kind of living there for a month you get to see the real face of the country
the good and the bad
 
London is the favorite vacation spot for me and my wife, and we've agreed that our next London vacation, whenever it will be, won't be "go see London stuff", but "Go live in London for a week".
(or more)
 
I'd love a week in london
I'd think it rainy and moody
 
That's a very romantic concept when viewed from afar, from a country with less rain in a year than London gets in a good month.
 
romance(ignorance) is bliss?
 
7:56 AM
Rain is fun until you're stuck in it every day.
But yeah, the closer summer gets, the more it seems an attractive concept.
 
I am just remembering how in Russia when I was (much) younger there was rain in the summer everyday exactly at 4pm and it was like a light shower that basically came right after the heat of the afternoon. It would stop after around 30 min~an hour and it would just come to refresh the people, not to annoy. My Russian nostalgia goggles are awfully pink tainted
 
Yes, well, Russia isn't exactly known for its clement and friendly weather.
 
summer only
 
As the Germans discovered in WWII. :)
 
and Napoleon in his conquest as well :^)
 
8:04 AM
Russian Winter, General Winter, General Frost, or General Snow refers to the winter climate of Russia as a contributing factor to the military failures of several invasions of Russia. A related contributing factor that impairs military maneuvering is "General Mud" ("rasputitsa"), a phenomenon that occurs with autumnal rains and spring thaws in Russia, whereby transport over unimproved roads is made difficult by muddy conditions. == Winter as a contributing factor to military defeat == In his study of winter warfare in Russia, author Allen F. Chew concludes that "General Winter" was a substantial...
 
with all this advantage Russian war campaigns are still one big embarrassment
 
Well, Russian generals tend to rely on the Zapp Brannigan approach, usually.
 
surrender everything and run away
 
Throw waves after waves of your own soldiers to their death until the enemy becomes appalled and runs away.
> On my command all ships will line up and file directly into the alien death cannons, clogging them with wreckage.
Oh, here's the one I was looking for:
> Brannigan: "You see, killbots have a preset kill limit. Knowing their weakness, I sent wave after wave of my own men at them until they reached their limit and shut down. Kif, show them the medal I won."
 
I am just looking at the russian-jap war where nicholas just got scared out of his pants after so many defeats he just flat out surrended to save face
and then he fucked up WW1
NO WONDER THE MONARCHY ENDED
even worse than Zapp Brannigan, lets shoot up our own civilians open in the street cause revolution
oh Russia, you are worse than any satirical cartoon can imagine
 
 
1 hour later…
9:38 AM
@misha130 oh boy I remember those, vaguely.
Was never happy that I understood why. Could do it, didn't understand why it worked
 
9:52 AM
le learning calculus was a trip
so yea
I can't say why it works as well lol, going over the proofs takes me years
 
10:15 AM
We went straight to gauge fields, didn't use the lagrangian formulation for anything else prior to that, that was a mistake
 
 
2 hours later…
12:11 PM
morning
 
12:31 PM
Hi, anybody has a suggestion on how can I do this. "r" is an int variable that increments after every "double x(r) = Convert.ToDouble(Console.ReadLine());" so I´m able to get the 2 variables I need to fill in on the structure "void Coordinates(double x1, double y1, double x2, double y2);"
 
12:44 PM
@rockethon what?
 
I need the program to automatically increment the variable
 
No, still not getting it. You have a method that wraps a call to Console.Readline and returns it as a double. How does that connect to your structure?
 
1:03 PM
something like this in C: int x[3] for(i=0;i<=6;i++){printf("Insert the value for x %d :"\n", i); scanf("&d",&x[i]; i++}
 
Yeah, that doesn't help. Write normal, formatted code. Line by line. Use CTRL-K to format it.
You still haven't explained what variable you want to increment or how your Coordinate struct (which seems like a method call, not a struct) relates to the Console.Readline call.
 
I was wondering how to get this to stop returning false always.
bool isAuth = await Task.Run(() => dbContext.Company.AnyAsync(c => c.UserName == username));
or
bool isAuth = await Task.Run(() => dbContext.Company.Any(c => c.UserName == username));
 
@JoJo Why are you using Task.Run here?
Just await AnyAsync directly.
 
app.UseMiddleware<AuthenticationMiddleware>();
 public class AuthenticationMiddleware
        {
            private readonly RequestDelegate _next;

            public AuthenticationMiddleware(RequestDelegate next)
            {
                _next = next;
            }

            public async Task Invoke(HttpContext httpContext)
 
When you use Task.Run around AnyAsync, you're allocating a thread, and then telling that thread to stay idle waiting for DB I/O to finish.
Just await it directly, and spare the thread.
 
1:11 PM
ok
I can just use Any?
 
Any is synchronous. Your calling thread will be stuck waiting for it to return.
With AnyAsync, it will release the thread at the await boundary, and be assigned a new, free thread to continue after AnyAsync completes.
 
isAuth is always false, no matter the user was found in the db
if I do this it seems is just causes errors:
bool isAuth = dbContext.Company.Any(c => c.UserName == username);
or returns false.. its like it did not really do a database lookup
actually no error but just returns false - which is not true, that username IS in the db
so frustrating
 
Is the DB set to a case sensitive collation, and your username doesn't match the case?
 
is that in design view?
 
No, it's part of your DB settings, not EF.
 
1:17 PM
the case is all lowercase on both
 
Also, just making sure, you're checking the Company table, yes? That's the table that contains users?
 
for this test purpose
yes I am just putting a general company auth on the Company table for hitting the Rest Api
not user related
for now I am using Basic Auth while I learn Rest Api security
i can try this for test:
bool isAuth = dbContext.Company.Any(c => c.UserName.ToLower() == username.ToLower());
 
Try it, just to be sure, though it's not good practice for production.
So each company has a single username assigned to it, and you're checking if the user is assigned to any company?
 
ya,.. it did not like that, and on that line returned to the top:
            public async Task Invoke(HttpContext httpContext)
            {
I should rename the column to CompanyLoginName
I am allowoing a company to access my rest api
so they need a login name and password
gonna rename the column now
it is possible this is not a string? var username = usernamePassword.Substring(0, seperatorIndex);
obviously it is just a var but..
let me try string username = usernamePassword.Substring(0, seperatorIndex);
that was it my friend
I just got a true
ty for your help!!!
eventually I want stronger security, but my understanding is rest api's pass the loginname/pwd on each request
and I will have an https:// certificate
 
1:38 PM
o/
 
hi
 
hey
 
War
2:25 PM
@JoJo public async Task Invoke(HttpContext httpContext) <-- what should that do?
seems like an oddly named method
 
@AvnerShahar-Kashtan check it out gist.github.com/aurelianopinheiro/…
anybody has a suggestion on how can I do this?
@war
 
War
hmm
what you trying to do?
I only ask because i'm not really sure what you by "how can you do this" ... surely if that's what you want todo, copy and paste the code you linked to in to your solution
i'm guessing what you actually want is something like that though
 
2:41 PM
@War I´m trying to make x[n] , being n = 1,2,3 automatically on double x(r) = Convert.ToDouble(Console.ReadLine());
 
War
i feel like i'm missing something in the explanation
Are you looking for a way to generate the values xN through yN ?
 
I have 4 variables x1,x2,x3,x4 and I want the program to automatically increment n, so I can fill this variables with the input from the user and want to do the same with y
 
War
ok do you wnat the variables or the resulting shapes?
so you'll ask the user for new RectangleShape<DrawingAPI1>(x1, y1, x2, y2
the x and y's in that
3 times
then you just want the results
 
4 times actually so I can fill x1,y1,x2,y2
 
War
so n is what in that?
are you saying you want to ask the user for n sets of these variables?
and don't know how
 
2:50 PM
n will be substituted by the number, since it will be the int variable to be incremented
 
War
Console.WriteLine("How many rectangles to compute?");
var n = Convert.ToInt(Console.ReadLine());

var inputs = new double[n,4];
for(int i = 0; i < n; i++)
{
    Console.WriteLine("Insert x" + r + "from" + i + "rectangle:");
    inputs[i, 0] = Convert.ToDouble(Console.ReadLine());

    Console.WriteLine("Insert y" + r + "from" + i + "rectangle:");
    inputs[i, 1] = Convert.ToDouble(Console.ReadLine());

    Console.WriteLine("Insert x" + r + "from" + i + "rectangle:");
    inputs[i, 2] = Convert.ToDouble(Console.ReadLine());
like that you mean?
or did I miss something?
 
@War let me just check
 
War
if you pulled the code below the loop in you wouldn't even need the multi-dimensional array
something like this perhaps ...
var results = new List<IShape>();
var inputs = new { x1 = 0m, x2 = 0m, y1 = 0m, y2 = 0m };
var percent = 50m;

Console.WriteLine("How many rectangles to compute?");
var n = Convert.ToInt(Console.ReadLine());

for(int i = 0; i < n; i++)
{
    Console.WriteLine("Insert x" + r + "from" + i + "rectangle:");
    inputs.x1 = Convert.ToDouble(Console.ReadLine());

    Console.WriteLine("Insert y" + r + "from" + i + "rectangle:");
    inputs.x2 = Convert.ToDouble(Console.ReadLine());

    Console.WriteLine("Insert x" + r + "from" + i + "rectangle:");
 
00:00 - 15:0015:00 - 00:00

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