« first day (1825 days earlier)      last day (3122 days later) » 

1:08 PM
Hey folks, this may be a weird question but is there a way to "password protect" compiling in Visual Studio? For example, compiling should only be allowed when a password is provided etc? This is for scenarios where code is shared amongst various parties but one would want to control the "compilation rights". Does that makes sense?
I entered "stop others from compiling my code" (LOL) in Google but the results are not even remotely about what I'm wondering about. I am assuming its because you can't control that, but I am wondering just the same.
 
@NicolásCarlo Code is text.
If anyone has the code, they can run it in VS, or in a different IDE, or directly in CSC.exe.
If you share the code, compiling is irrelevant.
 
Yeah, if you have the code, you can use it. It's just text. And if it's readable, it can be used.
 
This is a legal/contract issue, not a technical one, and should be resolved on the legal level, not has a half-assed technical solution.
 
right so nothing I can do in VS (VS is provided by me)...
lol true, my only recourse then would be to sue someone's ass in another country
 
1:20 PM
friggin "globalized world"
 
If you want to make sure only one party distributes binaries, you can have them compile and sign the assembly, while keeping their signing key private. This will prevent any other party from signing their own version of the assembly and look authentic. Of course, others can compile it just fine, but they can't sign it with the same key.
(Which is how the entire open source world works)
 
thanks @AvnerShahar-Kashtan
ah @RoelvanUden I'm going to look into that, thanks!
 
There is absolutely nothing you can do to prevent someone from compiling your code if they have it. Unless "have it" means you only show it to them in a controlled environment (in a different application that gives read-only access to code, printed out on paper, etc.)
 
If it's visible, it can be transformed back into text and compiled :P
 
so legal recourse and make sure no one I don't trust has access to the code
or rather, just don't trust anyone :|
 
1:25 PM
@NicolásCarlo Perhaps this is a XY problem. What exactly are you trying to solve?
 
Pssst, you can trust me ;)
 
@RoelvanUden Yeah, but then it becomes a numbers game. Is it valuable enough for someone to photograph in secret on their phone, screen by screen, class by class, then retype into VS and compile? Maybe.
 
OCR that fucker
 
@Squiggle Yeah! pub!ic Iong nΘde1dentifier
 
If i was a ninja i would kill the whole skype team
 
1:29 PM
pubic class
 
If its something like your working with a remote team if they dont need access to all code you could split it into difernt repos and then have a server compile and test all commits
 
@Squiggle I can't even count how many times I've typed that.
 
@RoelvanUden The code was placed on a repo, I was trying to see if there was a middle ground without having to yank all the code out (somewhat what @AlexL alluded to). I think I'm just going to take the code out and save myself legal headache down the road
I am the principal dev anyway, I choose junior devs or develop the application on my own, I found out the company I'm building the application on is training devs on exactly the same technology I'm using to build their application...me no like that situation so paranoia sets in lol
application for*, not on...
contract says code and application is my property anyway...its just a matter of trust, and I want to avoid having to chase down people half way across the world
 
@NicolásCarlo seems quite clear-cut. Deliver the binaries, not the code.
@NicolásCarlo unless you're supplying stuff for my company, in which case give us the codez ;)
 
@Squiggle haha
 
1:36 PM
morning
this training starts at 9am not 8am
not a fan
 
Guys does this error makes sense to you? The breakpoint will not be currently hit. Unexpected symbol reader error while processing App_global.asax
Googled it, could not find anything
 
@Obviously your symbols are out of whack. Clean/rebuild.
 
Yea your pdb's are not correct
or out of date
yea just clean
YES ADOBE
THANK JAYSUS
oh no
i dont do flash
isnt chrome disabling it everywhere now?
im sure steve gibson will be talking about it on security now
that twitter post is on point
 
Adobe are moving heavily toward JS these days. They know Flash is numbered.
 
its not like they make a lot of money off of it
 
1:45 PM
@ton.yeung yeah I posted it an hour ago
 
most of their money comes from their suite
flash is trash
its the only way i can install OS's
i literally dont have a disk drive in my home rig
i used to have one but i had to repurpose the sata cables for more important things
like SSD's
 
So I have a static controller with a method in area A in my solution that's converting HTML to PDF. Is there any difference in performance if I were to call that method from a controller in area B vs duplicating the method in area B and calling that one?
 
the static one will be faster
you probably wouldnt even notice a difference
 
ok, just... part of me is screaming at the idea of going to different areas in the solution to do stuff
but i don't want to violate DRY anymore than it already is
 
well, compartmentalizing your code is a good thing
thats why there are transaction layers, business layers and ui layers
the rule of thumb usually is if you use something more than once in different places put it somewhere common
i usually have a class called Global.cs
 
1:53 PM
thanks, i'm in agreement. just dreading this cleanup process
 
ew
 
usually just in small tools
 
i typically name mine Shared, or SharedMethods or AllTheThingz
 
obviously folder structure will differ depending on the size of the project
 
@ton.yeung That's not technically a flash drive
ofc not
How is it a flash drive?
 
1:55 PM
I hate "shared" files or folders - it just ends up being a big cludge of core functionality
 
lol "Dark Purple"
 
It's just a USB device
 
@Squiggle Thats why i said it differs based on project size
if im writing a 1 pager im not having 7 different common classes
yes
 
@ton.yeung That has nothing to do with whether a device has flash memory or not
no
 
i went to a security conference where one of the speakers, for months, dropped $1 usb drives around his office to see how stupid his coworkers were in terms of security
 
2:01 PM
@ton.yeung no
 
he was able to rootkit like 100 something computers
and his presentation was on social engineering
its really scary when you think about it
 
@ton.yeung no
thinking something doesn't make it true
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
better?
 
yea but it's a incredibly effective problem
scarily so
i love learning about it though
it's so simple
 
it's just social engineering
one of my bosses used to be a pen tester for our company
before he became an architect
the shit he did to get passwords was so stupid
none of it was technical
1. run jacktheripper
2. copy paste login web page, stand it up with a slightly similar url, email employees
3. drop rootkit usb drives around parking garage
its literally amazing the amount of apathy people have towards this stuff
@ton.yeung yea, standard and incredibly effective
@ton.yeung like tom hanks in cast away?
oh lol
hahaha
!phish.Equals("fish") FTFY
 
2:10 PM
"ghoti".Equals("fish", new PhoneticEqualityComparer()); // also true
 
!!urban phish
 
@tweray phish Real Rock N Roll, not a tatoo and piercing teenage angst band, the real deal, they play instruments, and their concerts are filled with love, not broken bones from the mosh pit. Phish is ROCK N ROLL
 
lol
 
>they play instruments
 
My debugging skills sucks big time
Do you guys have good debugging skills? How did you improve/develop it?
 
2:12 PM
classic
On a work machine, "Windows is not activated."
@Obviously write code that breaks and fix it
I don't really know, i thought it just comes with experience really
the more code you write the better you know where to look for certain things like properties you know exist for certain IFaces and classes
 
Debugging is programming 101.
I mean, without debugging, there isn't any proper programming.
 
@RoelvanUden backstabbing intensifies
 
i know all that basic debugging
i want to be a pro
 
@Obviously pro ISO 639 code for Old Provençal.
 
go ask a recruiter if they are hiring senior debuggers
 
2:16 PM
I wish my coding skills were as good as my interview skills
People just love me at the interviews
 
That's suprising
 
I can bs my way easily through any interview
I renegotiate my rate after the interview
Nah
Also I have done it twice
Which is kind of an asshole move, but I do not care
I like coding
 
@ton.yeung going to apply at web.com to do sales next
I am Woops
Thanks -- Hope! I would do a better job
have sold something since I was 14, selling PWC and boat parts
 
coffee not working
crashing hard
right now
 
Still going to code, that will just be the $$
@Failsafe Red Bull, won't give you wings - but you won't crash now
spontaneously - like cold fusion
 
2:24 PM
@juanvan I never drank an energy drink and i am not starting now
i sipped redbull once and it was disgusting
 
I HATE them - makes me want to run 3 miles
really, kinda like red bull all the other ones are like ass
 
it also tastes like my teeth/organs are dissolving as i drink it
 
Ya could see that
 
.Net related question. I'm evaluating an enterprise application which also has a web interface connected to the core application on the server. With many applications now built around separation between logic and layout, why do companies still build UI tied into the system code
 
Because they don't like MVVM?
 
2:26 PM
One of the questions we posed to the vendor was whether we could customize and rebrand the UI on the web and they said you can change logos but you can't say upload custom themes like you can on other web platforms
 
@Alex Most enterprise apps are SOA, or service oriented architecture, which is composed of UI -> Transaction -> Data
 
Because the layout is tied to the SQL Server database and .Net logic of the software on the server
 
so it could be that that application is the transaction layer
or "business logic" layer
 
because ppl who don't know how to do SOA programming want to keep their jobs, so they simply threat everybody that "if you get rid of this everything will be broken", and for some reason, their boss somehow believed them
 
MVC is kind of like a compressed SOA
 
2:28 PM
Themes, only colors like the CSS Sheet? or the layout?
 
small scale
 
Its just annoying. They want $3K/user but we can't change the web portal UI
and it costs $340K to setup
 
@Alex Are there customers? are people paying for this?
 
And they told us for the time being the UI is tightly coupled to the logic and they don't have plans to decouple it for 3 years.
 
Because if so I wouldnt change either
thats fucking 340k per sale
are you crazy
 
2:30 PM
Brb... walking into a meeting
 
@Alex RIP
if I could sell bloatware and make a profit i wouldnt give a shit about setup
in fact i'd charge more for it
 
Bet they get a tech onsite for a year or something
 
also there is $0 development cost
all the cost is reimbursement
totally worth it
it's considered a write off anyway tax wise
 
$340k per sale SOUNDS like much, but also includes maintenance, support, etc? Then how much are even sold and how many people are occupied with maintenance/etc?
 
not necessarily, because who says im not developing something on the side
and using those sale funds to fund the new project
then sell both products once it's done
i didnt say everything had to be spent on the new project
if i sold the product with a year support for like, say, $340k + $40k for support for 1 year
hire a developer to develop a new product for 1 year
you still have spending money
thats a very vague question
 
2:35 PM
10k if you hire from russia/india
 
@ton.yeung yes
@ton.yeung wait im not saying pay for the new product
the 350 was for the old shitty product
 
I have seen a startup surviving its initial few years by hiring off shore russian developers
For 10k a year
 
why duplicate
 
because if you don't duplicate it, they're losing functionality for no corporate gain
 
the new project != old project
 
2:38 PM
Losing functionality is an absolute no-no.
 
are you talking about rewriting the old project
i was talking about 2 seperate projects that are not the same at all
i think we should restart this convo because we've been talking about 2 different things
@ton.yeung doesn't matter, it's purely hypothetical
 
=_=
 
the old product was just to be used for the rest of its small lifespan to put capital into the new project
 
TODO: This code will have Real Authentication - 01/01/TenYearsAgo
 
2:43 PM
Should have marked it with TODO.
 
That's better.
 
now you get some excuse to round back home once
 
Mmmm Graze snacks
 
Rereading that convo I agree where you're coming from if the app was being rewritten.
 
2:49 PM
isn't there a shortcut to replace all commas at the end of each line with a semicolon...?
 
I didn't know we were talking about that
whoops
 
within a selection
10 am onwards
 
yea
 
@ton.yeung but you can tell your boss you live 30 minutes away, so you can enjoy a nap and some beer at home
 
i mean you could do what most start ups do and sell out then rebrand
theres a company by me that makes engineering software that sells and rebrands every 8 years
its ridiculous
 
2:51 PM
@NicolásCarlo regex to the rescue! ,$ to ;$
 
@RoelvanUden thanks!
 
don't forget multiline mode
 
@ton.yeung how do you deal with your PM if you don't drink alcohol?
 
@ton.yeung one of my old college roomates is a sysadmin and he snapchats me everyday with a different type of beer/alcohol
 
PM = Prime Minister?
 
2:52 PM
he drinks regularly on the job
i mean PM(Prime Minister) too
 
@ton.yeung no wonder
 
right @TomW
 
@Failsafe he work in England?
 
@juanvan Nope he works 10 minutes from me.
company is made up of like 4 people
 
and you don't work there b/c?
 
2:54 PM
im not a sys admin?
aint about that life son
 
@ton.yeung yeah, i thought he was about to get drunk then assault 10 downing street something
 
ohh..
 
gunpowder treason and plot
i think
i need to watch that movie
V for Vendetta
 
static is the root of all evil
 

« first day (1825 days earlier)      last day (3122 days later) »