« first day (1461 days earlier)      last day (3489 days later) » 

6:07 PM
Think I've got a solution.
 
what is reason for the market being down @ton.yeung?
 
Lets say i have a fps-game, and i want to stream data from the game to a website. What technique would be the best to accomplish this? Data that would be sent from the game to the website would be playerpositions, events etc, so it has to be fast etc. Preferably in C#
I have been looking on Websocket, and signalr. But maybe there exist better libraries?
 
6:23 PM
@Dexception that really really depends on how player position is determined in the game.
 
@Pheonixblade9 I'm not sure i fully understand?
 
@Dexception well... most FPS's use a combination of client side and server side positioning. But it's a super complicated subject
I don't actually know enough about it to help you much other than telling you it's really hard
is this a game you're writing? Do you have full control over the code/engine?
 
Ugh, I can not figure out why this won't read a value.
 
@Pheonixblade9 Nope, the game is Arma 3. But it support modding very good.
 
@Greg what's that?
 
6:27 PM
@Pheonixblade9 The front-end:
        <asp:Repeater ID="creditRightItems" runat="server" DataSourceID="sdsOrder">
            <HeaderTemplate>
                <thead>
                    <td>Qty Returning:</td>
                    <td>Price:</td>
                </thead>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td><asp:TextBox ID="txtQuantity" runat="server" PlaceHolder="0" CssClass="txtQuantity Credit-Check" data-item='<%# Eval("ProductNum") %>' /><span class="creditX">X</span></td>
 
@Dexception I'm not sure then - there would have to be specific APIs I think. Are we operating under the assumption that you have the data and you just need to broadcast it to the website?
 
@Pheonixblade9 The backend:
                    foreach (RepeaterItem item in creditRightItems.Items)
                    {
                        //string product = ((HtmlGenericControl)item.FindControl(@"ProductNumber")).InnerText;
                        TextBox inputQuantity = (TextBox)item.FindControl("txtQuantity");
                        string quantity = inputQuantity.Text;

                        TextBox productPrice = (TextBox)item.FindControl("hfPrice");
                        string price = productPrice.Text;
I cut it a bit, but no matter what I do for price it always comes up as null.
 
@Pheonixblade9 Exactly. I have all data. All i need is a good way to send it from gameserver -> MyOwnServer -> website
 
@Greg you're positive you have a value in there?
 
Yes.
 
6:29 PM
@Dexception got it, cool. I thought you were asking a WAY harder question :P
@Dexception Both of those are good options. Signalr is a bit less work to get running but isn't as flexible.
you'd probably be fine using Signalr, I think. But that does tie you to a .NET stack
WebSockets makes you tech agnostic
 
new VolumeUnit(1.0, "m³"); <- is it dumb to write 3 fancy like this? ^3 is not as nice
 
@Greg I'm not sure. What is in item ?
 
@Greg hfPrice isn't a TextBox...is it?
 
@Pheonixblade9 Yes. Currently i am using signalR, but i dont know if it is the best solution
 
@JohanLarsson if it's user facing, it's nice to show the exponent. Though it might be more maintainable if it's styled :P
 
6:31 PM
What does a hidden field get generated as in the page object model?
 
@TomW No, I was just trying that for the sake of trying.
 
@Greg I think @TomW has it... hfPrice is an input, not a TextBox
 
Or fastest
 
@Pheonixblade9 Item is coming from the data source.
@Pheonixblade9 I tried HiddenField cast it still failed.
 
not sure without doing a bunch of research, then, sorry. I don't really know WebForms at all
 
6:32 PM
@Greg are you able to debug into this? Assuming you can, see if the value you entered is anywhere in the object model
 
@Pheonixblade9 how do you mean styled?
 
@TomW Product Price is coming as a null.
 
There might be rules that mean hidden fields don't get brought back as controls, or whatever
Hang on
doesn't a tag have to be an asp:whatever to exist at all in the page object model?
 
@TomW All though it does only show two items in the repeater.
 
plain html tags don't get included in the postback, I thought
 
6:35 PM
@JohanLarsson well the superscript is a UTF thing, right? I'd use an enum or something for the backend unit
 
@TomW That is what I thought, but everytime I add a asp:HiddenField it breaks the repeater.
 
or even better, just use SI units with an exponent variable. That way you can just have something like new Unit(1.0, Units.Meter, 3)
 
well don't just do something that won't work because what you want to do doesn't work either, that makes absolutely no sense
 
@TomW I'm trying to understand the issue.
 
6:48 PM
Basically all the content in the Repeater I'm not able to access, except the txtQuantity.
 
Alright, chair has literally fallen apart.
Chair recommendations?
 
oh yeah, just go to ikea. get something really stiff and non-ergonomic
 
Chair and bed, two things to not cheap out on.
Last chair was cheaped out on due to simple issue of being a poor college student, not quite the same problem anymore.
I suppose I could get some woodworking tools..
@ton.yeung Doesn't really solve the issue of the back coming apart ;)
Well, I used to.
Not anymore.
Hm, I'll be near an IKEA this weekend.
 
1/10 would not sit
 
7:07 PM
@ton.yeung angle brackets don't split over time. a small piece of wood does. It's more uniform
 
angle brackets are very important when working with XML and XML-like languages.
 
lol
Not sure where you're getting your angle brackets from, but I've always seen them fairly cheap.
 
@MrDoom I just got a bunch of those to run wires through a trellis for grapes to span across.
 
angle brackets? expensive?
they're cheaper than lumber
 
have some for free <<<<<<<<<<<<>>>>>>>>>>>>>
 
7:15 PM
hes building his angle brackets out of wood
 
@KendallFrey Missed one: <
 
@OliverSalzburg have you incorporated the tab-autocomplete-menu into the dark theme yet?
 
@KendallFrey Yeah
 
Can I have the link again?
I need to add it to my copy
 
7:19 PM
    public partial struct Length
    {
        public static Speed operator /(Length left, Time right)
        {
            return Speed.FromMetresPerSecond(left.Metres / right.Seconds);
        }
    }

    public partial struct Time
    {
        public static Speed operator /(Length left, Time right)
        {
            return Speed.FromMetresPerSecond(left.Metres / right.Seconds);
        }
    }
Is this ambiguity forbidden?
 
I don't know off the top of my head, what happens?
also, dimensional types++
 
yep, tested it
var length = Length.FromMetres(1);
var seconds  = Time.FromSeconds(2);
length/seconds;
      ^ compiler not happy here
@KendallFrey help me parse the incrementation?
 
dimensionalTypes++ fine
 
What is a good convetion for where the operator goes? Op in type for left arg?
 
I don't know of one, other than "more custom type implements custom operators"
 
user862319
7:26 PM
oh fantastic
 
i.e. Speed should know of int, but int should not know of Speed, so Speed-int operations should be handled by Speed
 
user862319
so, can anyone give me some pointers on creating mortise and tension joints in softer types of lumber? I have issues with my dado head getting all jammed up :(
 
*tenon
 
user862319
I just grabbed a bunch of words off wikipedia and tried to sound clever.
 
It was a good attempt
 
7:31 PM
I feel dumb, my issue was "" vs ''
 
24 brackets... wtf is this thing 16 feet long with 18 legs?
 
@OliverSalzburg Looked for .chosen and .mention-name, couldn't find anything. Do you know which commit it's in?
@NETscape how did you know?
 
@ton.yeung $1 each? what are they made out of, printer ink?
 
haha
gold
 
@OliverSalzburg found it
 
7:37 PM
Hello friends i have requirements to make tree structure like below image.
treeview
 
3 angle brackets per corner? you might as well just weld the thing
 
user862319
very carefully
 
the same way you weld steel
 
file:///D:/ORGchart(10-16-2014)/william/william3..png
 
i never said to weld the wood, make it out of steel and weld the steel
 
7:39 PM
it wood if you made it hot enough
 
it wouldn't melt
 
sure it would
 
file:/
 
and welding isn't melting steel
 
you'd just have to keep the oxidizer away, just like normal welding
 
7:40 PM
it would burn, thats a chemical reaction
 
@NETscape not without oxygen
steel burns too
 
so, you'd have to weld in space?
 
no
this problem has already been solved
argon welding, for example
mig and tig use argon, I think
 
user862319
why not use nitrogen?
 
@ton.yeung hmm idk
 
7:42 PM
@Bob not sure if it's inert enough
 
use the angle brackets. they're a lot stronger
you don't want a squeaky rickety old table do you?
 
user862319
Shielding gases are inert or semi-inert gases that are commonly used in several welding processes, most notably gas metal arc welding and gas tungsten arc welding (GMAW and GTAW, more popularly known as MIG and TIG, respectively). Their purpose is to protect the weld area from oxygen, and water vapour. Depending on the materials being welded, these atmospheric gases can reduce the quality of the weld or make the welding more difficult. Other arc welding processes use other methods of protecting the weld from the atmosphere as well – shielded metal arc welding, for example, uses an electrode covered...
 
user862319
too much stuff to know.
 
user862319
i seriously wouldnt mind a neural link with an offline or periodically updated copy of wikipedia.
 
user862319
id get so much more stuff done.
 
7:46 PM
good one
You'd be browsing Wikipedia all day
 
user862319
yeah but no one could yell at me for doing it
 
user862319
anything notable happen at the apple event today?
 
kendall let me know when someone starts melting wood, i'd be interested in seeing it
 
user862319
 
you guys should check out Colin Furze's youtube channel. Guy is a font of joy and innovation.
 
7:53 PM
@Bob carsandwater is pretty fascinating
 
user862319
yeah i just subscribed lol
 
^ pulse jet powered kettle
^70MPH mobility scooter
 
user862319
the red hot cannonball is cooool
 
If i have multiple servers that is running, and i want each server to send the specific data to various urls, do i need multiple hubs for that if working with SignalR?
 
helo friends i need to make tree like structure in asp.net anyone knows how we can make it ?
anybody knows how we can do this in asp.net c#
please help me
 
8:05 PM
what, the tree?
 
@ton.yeung - lol
 
user862319
d3.js
 
Nothing quite like a screenshot of a screenshot
 
i means hierarchical structure @kyle
 
8:09 PM
thanks, google
 
I"m sure there's plenty of libraries that will help you with that: asp.net hierarchical treeview
 
ok @kayle thanks for the link
 
@Kale - You are my new best friend
 
Can i achieve this piclair.com/1yaax without multiple hubs in signalR?
 
@Dexception - Are they seeing the same data?
 
8:12 PM
Where SignalR is running on "MyCustomServer"
 
@Dexception - If you want separate data, you need separate hubs.
I think there is a way to either instantiate separate hubs or logically separate them through a flag.
 
@TravisJ Hm okey. Should have mentioned also that it might be several "Arma 3 Server"
And depending on what "Arma 3 server", it should be sent to different url
so i need multiple hubs?
 
that's invalid JSON
the quotes are required
the you'll need to generate the json by hand, JSON.stringify won't do that for you
or manually replace the value afterwards
 
json.net will do that for you
but it will include the quotes
 
8:17 PM
@TravisJ Do you recommend any other technique to achieve what i am trying to do? Maybe use sicket.io, Websocket etc instead of signalR?
 
possibly, but I doubt it
 
@Dexception - Make each /1 , /2, /etc be a group
That will separate out the data
 
that's the property name. it looks like you want the value quoteless
 
@TravisJ Ah, alright. I see. I'll have a look. Thank you
 
but the approach is probably similar
you could make the value a token, then replace the quoted token after the stringify
"{replaceme}"
 
8:23 PM
i hate to be the bad news bearer but here ya go @KendallFrey: yalescientific.org/2010/05/…
because people like kendall say things like this, so of course someone did
 
@NETscape I think what that's saying is that you can't re-freeze it.
 
@vishuminhas is a help vampire :/
 
can't re-freeze it? lol.
melting is a physical change
 
and...?
 
Oh yeah, that is how charcoal is made.
 
8:28 PM
some way there would exist that you can put it back into a solid state
^not sure if thats english
 
it's not
 
if it can be turned into a liquid, it can be turned into a solid, no?
 
There is no such thing as "liquid wood"
2
 
you can't have a melting point and not a freezing point
 
when wood "melts", it falls apart
 
8:30 PM
if you melt ice, it turns into a liquid...
 
no shit
 
when you melt ice, h2o falls apart?
no its still h2o
 
OMG are you really debating whether wood can melt?
 
Wood can melt if it is a composite
 
There was a sentence written in the tunnels underneath the liberal arts building at my college
"I'm going to fight science with wood."
 
8:32 PM
oooohhh shit travis just proved a yale scientist wrong!
cut down a composite tree and bring it to me please
 
@NETscape I'm saying he's wrong, I'm just saying that he's not saying wood can't melt
@NETscape I wood, but you're an imaginary internet person. I can't give you wood.
 
the reason wood won't "melt" is because its structural integrity is based on cell walls connected to each other through fibers, rather than simple chemical bonds.
 
"No your honour, I was trying to stop him from catching fire"
 
what kind of title is that?
that looks like something i would write
 
8:38 PM
@TomW that's just Tuesday afternoon in Florida
 
That sounds like an overly contrived sentence diagramming homework problem
 
@TomW yeah, and if he did nothing, the fumes could've caught on fire and dude would be on fire and die... and then the officer is a horrible person for not doing something to save him.
ohh i think i see what you're saying... shoot him with his firearm instead... that'd be a good tactic too. either way he was a threat to society
 
For example, 3D printed "wood" is usually a composite of resin and recycled wood (wood chips). It is not pure biologic material though as pb points out.
 
if you have to put quotes around wood, it probably isn't wood. we are talking about wood... straight from a tree cut down in the forest.
 
the right move would probably have been to try and deescalate the situation rather than firing a weapon on the guy
 
8:51 PM
Perhaps if it were petrified
 
i'm sure the cop didn't walk up to him and ambush him with a taser. the guy clearly lit the match. the moment he lit the match he becomes an immediate threat to society and should be subdued.
 
@TravisJ Then it isn't wood ;)
 
Perhaps wood with large concentrations of oil would appear to melt.
 
Should I be worried if my Automapper AssertConfigurationIsValid is taking 6.377s and growing?
 
That is a very long time. It sounds like a circular reference issue to me
@Darek - How many classes are being mapped
 
8:58 PM
@Darek You should be worried if anything takes multiple seconds to perform.
 
that's the best news I've heard all day
 
does it change anything that it is mapping few hundred thousand lines of linw2db generated code?
 
ah autogeneration
 
mmmmm
 
that makes sense then
 
8:59 PM
I exagerated
 
I take it back
 
44440 lines of linq2db
 
Sounds excessive
 

« first day (1461 days earlier)      last day (3489 days later) »