« first day (2133 days earlier)      last day (3183 days later) » 

07:01
@allquixotic Yea.. hopefully not though.... These are brand new HP x2 1012's
Not that it matters I suppose. Anything can fail early.
07:22
morning
07:36
Laptop colors are way off to the point where ColorMunki is seriously distorting the black point and darker colors to get the brighter colors right. I cannot trust this laptop's display for color-critical work any more. The Acer IPS monitor is able to produce accurate colors, though.
It does not help that RGB cannot be adjusted at the display itself via ADC or otherwise.
@bwDraco that would not be great for photo editing then.
The blues and greens are seriously distorted on this display.
What display is it using?
The software was able to command the Acer display to change some of the settings and calibrated to a color-accurate state.
Not the laptop display, though.
I don't know what panel this is but the delta-E on the blues and greens seems to be so high that it's uncorrectable without seriously distorting darker colors.
As far as I know, the panel was designed for near-total coverage of the NTSC YIQ (or perhaps YUV) color space. Darker sRGB colors seem to be completely out of gamut for the display.
I might just have to forgo calibration of the laptop display. It's just not made to display sRGB correctly.
I can try to calibrate it to NTSC to see if this is indeed the case.
It seems the laptop's display panel is designed for the wrong color space.
07:55
is asking about yahoo mail security better suited to webapps?
in brief i've been getting emails for a couple of days saying:
Someone attempted to sign in to your Yahoo account from an app that doesn't meet Yahoo's security standards. We blocked this sign-in attempt, which was made on:
Tue, 7 Jun 2016 21:39 BST from United Kingdom.
but it gives no further information beyond that
I'm going to try another color calibration program. The colorimeter itself can't possibly be wrong; it seems that the delta-E for deep greens is so high that it's confusing the ColorMunki software.
The calibration system had no trouble with getting the color on a known good IPS display correct.
I'm going to see if I can get some delta-E measurements from DisplayCAL tomorrow.
also this morning is the first time that the group policies applied to my PC correctly
08:10
yay indeed
08:22
shameless plug:
0
Q: Understanding Yahoo Security Warnings

BurgiFor the past couple of days I have been receiving emails from Yahoo claiming they have stopped unauthorised access to my account. Someone attempted to sign in to your Yahoo account from an app that doesn't meet Yahoo's security standards. We blocked this sign-in attempt, which was made on: ...

08:44
morning
1
Q: Spoof/Parody design based on StackOverflow Logo

int jSo I've been looking around the communities Meta StackOverflow and Meta StackExchange, but wasn't able to find something that I think directly answers my concern. I've made a simple design that is based on the StackOverflow logo, and currently planning to have it printed. It's a spoof/parody desi...

lol
Nice Design.
@NetworkKingPin And nice idea. I hope he is allowed to use it :)
I think he should be ok
i want one
It should be fair use. I dont see why it would be in any copyright infringement. the Logo is drastically changed yet people will still get the idea of what its referred to.
08:55
@NetworkKingPin I'll leave that to the lawyers ... :)
Me too. Not my cup of tea.
If you pay a lawyer enough money any question always has two answers - "yes" and "no".
Hello!
I've problems with Windows 10
Can I ask here about system problems?
It's superuser community
09:02
We tend to talk about stuff
actual problems should (eventually?) be asked on the main site
I don't want to my question was marked an unclarify
post a sandbox version on meta.SU to check the suitability
where is sandox version?
@hubot well, being able to explain a problem is pretty essential to be able to solve it
@Burgi I think that's more if you're unsure its on scope
But I don't know how to name my question.
I've more different problems with Windows 10
09:07
I think this seems a but circular
Well, what's the problems?
1. Wheezing in speakers and lagging mouse when system is downloading updates
That looks like a question title already
how's your resource usage like?
2. suddenly some programs is unrespoding
Actually: 66% CPU, 63% RAM
that seems high but not hugely so.
HDD or SSD?
I have SSD disk with 120 GB capatity
09:10
also what kinda system? What specifications?
More processor and ram
My system is Windows 10 Pro 64-bit (before installing Windows 10 for C# programming I had Ubuntu 16.04 LTS and I programmed in Java in those days).
Read this
Processor: AMD Athlon II P340 Dual-Core 2,2 GHz
RAM: 3 GB (available: 2,75 GB)
ram's a little low
but not hugely so
My model of computer is Toshiba Satellite C660D-102
It is discontinued model
This laptop was many times under warranty
yeah. Not seeing anything obvious
I've run windows on far worse
32 bit though, since my worst systems only have a gig of ram
@NetworkKingPin did you try it?
09:28
@JourneymanGeek What are you think about Windows' systems and other product from Microsoft?
@hubot Well, I have little trouble with it
Bob
Bob
@hubot I suspect your CPU is simply too slow :\
It's not much more powerful than a current-gen Atom.
@Bob I've run it on a current gen atom, and c2ds >_>
@Rahul2001 NO!!! my bad. Thank you for reminding me though.
Bob
Bob
@hubot What are the temperatures? Could be the CPU is throttling.
09:29
;)
done a malware sweep?
Bob
Bob
@JourneymanGeek But not lag-free. Also, that thing has 10x the TDP of an Atom, and especially on an older device... dust bunnies!
0_0
yeah, there's that
My mother has netbook with Intel Atom Asus EEE PC and this netbook is far far worse than my laptop
Intel Atom is the worst processor
My CPU's sometimes reach 79 celsius
When I run for example Visual Studio and Unity3d
Bob
Bob
@hubot Uhm. Y'know, it's technically the bottom of the current range, but you're basing your opinion off what was probably the first Atom ever released.
09:31
Teaching my sister HTML is surprisingly easy...
Bob
Bob
It's like saying Pentium 4 is bad therefore a Core i3 is bad.
@hubot I have windows 10 on a modern atom
Its pretty usable
Bob
Bob
@hubot Here's a comparison: cpubenchmark.net/…
What's your opinions about Linux based systems?
Bob
Bob
First-gen Atom of eeepc vintage, your CPU and a current-gen Atom.
09:32
@hubot most folk here are at least a little platform agnostic
I run at least two distros of linux
Bob
Bob
@hubot Yea, 79 is a bit high... might be starting to throttle around there.
main box(en) are windows cause they came with it
Bob
Bob
You comfortable with opening it up and clearing dust out of the fan?
@JourneymanGeek Heh. I still use Windows as my main OS for program compat and because most Linux GUIs annoy me.
Spent quite enough time working out weird bugs in KDE, and that was just to get it running!
But Linux is still probably my first choice as a server/headless OS.
Eh, lines are blurring these days (Ubuntu on Windows, anyone?)
I'm just going to use DisplayCAL and Argyll CMS at this point. I can't trust the ColorMunki software to correctly calibrate the display if it's getting the darker colors wrong.
@bwDraco I vaguely remember that's what we were using
Bob
Bob
09:36
Another thing I have to say... personally, I wouldn't even bother trying to run VS and Unity on an Atom-class computer :S
That sounds painful
That one was probably before on-die iGPUs were a thing, either
I missed that
I'd be very surprised if the colorimeter is bad.
displaycal that is
we were using some custom thing for linux
09:46
That took a while
6500K, 80 cd/m².
Bob
Bob
@JourneymanGeek You had a Moto G, yea?
@Bob still do
Bob
Bob
@JourneymanGeek First gen?
09:50
@Rahul2001 Tested it on a Note 5. Works to get into safemode is a little different but it does allow you to open up apps that were open that do not show up when in safe mode.
@NetworkKingPin Thanks! which version of android id it running?
5.1.1
chilling at 5.1.1 waiting for an exploit for root.
@Bob looking at changing it eventually but no rush, nor anything that I'd prefer so far.
Bob
Bob
@JourneymanGeek Yea... both my mother and brother want new phones.
I was given a "$100-$200" range.
Which sucks.
@Bob @ThatBrazilianGuy has a newer moto G, but yeah, they're great phones for the price
er. retail or on contract?
Bob
Bob
09:54
@JourneymanGeek I was actually looking at the Moto E 2nd gen.
@JourneymanGeek retail
Moto G... only 3rd gen is readily available and that's too expensive.
Bob
Bob
G 2nd gen seems worse than E 2nd?
Bob
Bob
quad-A7 vs quad-A53
oh. cause E was released a generation later?
so makes sense, vaguely
Bob
Bob
09:55
@JourneymanGeek Half a year later, yea :P
I may pick up a HTC 10, or a one plus 3, when they come out
of course, getting a job would hasten that decision
@Bob the E's better other than screen res
Bob
Bob
@JourneymanGeek Eh, that's acceptable :P
@JourneymanGeek I'm trying to figure out the specs of this one but Alcatel 'models' are basically names made up on the fly by every retailer.
Ow
I see what you mean
Bob
Bob
lol
oh, I'm also probably switching phone companies, when my republic starts mobile services here
assuming they get it
10:05
I may switch soon. After a little research. I did like Verizon when I worked there. But not so sure anymore.
Is the change to open source solutions good idea?
for a home user or corporate environment?
For home user
@hubot as in Operating Systems?
10:20
Yes
And commonly used programs
What do you want to do with the OS? what appeals to you as in uses.
its certainly possible but very difficult
@hubot most people buy a laptop or tablet with most of the stuff they expect already on it
the 'linux' for most muggles is android or maybe chrome
switching OSes is for power users
@JourneymanGeek ubuntu?
so, wouldn't matter outside 'change is hard'
@Burgi I'm not exactly a fan of unity
and android has significantly better market penetration, and since it has a phone-heritage, dosen't have all the stuff that makes linux powerful and confusing for a non technical person
Bob
Bob
10:23
@hubot Depends what you want.
Are you idealistic or pragmatic?
Scientific Linux?
Bob
Bob
If you're idealistic, maybe you want to use open source software for the sake of promoting open source.
Hannah Montana Linux
Bob
Bob
If you're pragmatic, you use whichever is easier for you/you prefer.
I want to programming mainly in Java and PHP.
10:24
@NetworkKingPin SL is just yet another RHEL clone
@jokerdino you know TAYTAY Linux is the best right?
Bob
Bob
shrug doesn't really matter, then. Personal preference.
@JourneymanGeek true about that.
Bob
Bob
*nix might be easier for hosting PHP. On the dev side, it doesn't matter all that much.
@hubot I run my servers on ubuntu VMs atop fedora
10:24
explained in this article well. dedoimedo.com/computers/scientific-linux.html
I'm rather pragmatic
I'm considering switch with C# to Java because Java is more multiplatform.
@hubot that said, I'd really consider more up to date hardware
as well ;p
then you don't need to choose
@JourneymanGeek but I'm a fan of the open source programs
@hubot a good chunk of what I run by preference in windows is FOSS
some cheeky bugger on webapps.SE tried correcting my spelling to american!
10:31
@JourneymanGeek Just that I'm fan
10:54
@Burgi I read that as "some cheeky burger"...
11:05
@burgi No rain here last night but flooding 8 miles away ...
all the roads still had massive puddles this morning
11:24
"Long Path Tool" spammer is back again (multiple spam answers - flagged) :/ superuser.com/users/603821/rejohn
11:43
Hey guys...
how you'all doing
@OluDouglas Hi. Careful, we do have women here as well ... :)
heh
grumpy ones
is there a chatroom for c#?
Bob
Bob
Yea. Over at chat.SO.
found it, cheers @Bob
Bob
Bob
11:57
@Burgi If you have a question about C#, though, I'd be happy to try to help.
Been doing too much JS/Java/etc. recently... want to keep up with C# :P
and ladies..
here in Uganda, even some ladies prefer to be called guys.. keeps me wondering
Bob
Bob
"guys and ladies" sounds weird :P
@Bob, its mightly off-topic though here...
Bob
Bob
"ladies and gents" / "guys and gals" sound more natural to me
@Bob i agree
Bob
Bob
12:06
though I usually use "guys" in a more gender-agnostic sense
so ladies and gents it is
Bob
Bob
@Burgi We have a topic? :P
touché
Bob
Bob
I don't think anyone here really minds, especially since it's kinda quiet right now.
i need to learn more coding
Bob
Bob
12:07
Also, it's gotta be more on-topic than English language usage :P
i'm like a uber newb level in python and php
finding the time is the hardest thing
so i have an asp.net webform
normally in php i'd use something like mysql_real_escape_string to cleanse the data prior to inserting into a database
Bob
Bob
@Burgi Uhm... don't know if you got the memo, but please don't do that -_-
The way to go these days is parameterised queries.
(and that goes for just about any language)
@djsmiley2k I think if you can't find time.. then it will be alot tougher for you to learn coding
better yet programming
yup i know
Bob
Bob
12:10
@Burgi So you just want DB access in ASP.NET?
EF6 (code-first) is a fairly neat way to do it, iirc.
i have my parameterised query, do i still need to escape/cleanse the inputs?
Bob
Bob
@Burgi Nope.
Escaping is a hack to clean things up when you concatenate user input into SQL - which is just about never recommended now.
wow it's gone so dark
it was 25c
now it's like it looks 8pm at night :/ (it's 13:10)
@djsmiley2k Where are you located?
Coventry, UK
12:13
coventry
@Burgi you remembered or?
Bob
Bob
As long as you're not doing manual string concatenation, escaping shouldn't be necessary.
of course i remembered!
:O
impressive.
its 15:13 here in East Africa.. how came its that time in UK
Bob
Bob
12:14
Oh, I should warn you: ASP.NET has some stupid unsafe-chars filtering at the page level in an attempt to protect against SQL injection... which rejects some passwords. You might want to disable that, if your queries are safe.
this is my simplified insert
cmd = new SqlCommand("INSERT INTO table(FirstName)VALUES(@firstname)", conn);
cmd.Parameters.AddWithValue("@firstname", Request.firstname);
cmd.ExecuteNonQuery();
conn.Close();
@DavidPostill 15:13 is 2 hours ahead
Bob
Bob
@Burgi Looks decent. Recommend you wrap it in a using statement.
@bob its in my button_click method
Bob
Bob
12:17
using (cmd = new SqlCommand(...))
{
    // do stuff with cmd
    // you can now leave out the .Close()
}
@Burgi I missed that :/
Bob
Bob
The using makes sure exceptions, etc., don't leak a connection
Heh, I still like my ORMs :P
Saves me from having to deal with raw SQL statements
EF6, DbLinq... some people like NHibernate (see Java Hibernate)
so the parameters are automatically cleansed?
Bob
Bob
@Burgi Yup. Actually, IIRC they're dealt with on the SQL server side.
The answers on SO about it were really vague on if additional escaping was needed
thanks
Bob
Bob
12:22
29
Q: How do parameterized queries help against SQL injection?

sqlchildIn both queries 1 and 2, the text from the textbox is inserted into the database. What's the significance of the parameterized query here? 1.>------------- SqlCommand cmd = new SqlCommand("INSERT INTO dbo.Cars " +"VALUES(@TagNbr);" , conn); cmd.Parameters.Add("@TagNbr", SqlDbType.Int); cmd.Pa...

Basically, rather than telling the SQL server "here, run this", you're telling it "here, run this and I'll give you the data separately" "data" "data"
I'm back
Bob
Bob
In the first case, the server can't really tell the difference between data and code, so the data can contain code (injection)
see coding in isolation is so bad, you miss changes in best practise
Bob
Bob
@Burgi That's what browsing SO is for! :P
im back
morning
stored procedures help more against sql server injection attacks imo.
12:28
i should do server-side validation but this simple form is taking ages
hard coding queries in .net code = bad practice and is VERY scary
its a single, standalone form/page
1 quick question on connection strings
Bob
Bob
Hmm... Whoops, misread. The thing I said about using above should wrap the whole connection, not just the command
68
A: Setting up connection string in ASP.NET to SQL SERVER

AristosYou can also use this, that is more simple. The only think that you need to set is the YourDataBaseName <connectionStrings> <add name="ConnStringDb1" connectionString="Data Source=localhost;Initial Catalog=YourDataBaseName;Integrated Security=True;" providerName="System.Data.SqlClient" /> <

i've used that in my web.config
Bob
Bob
12:30
@GuitarShoeDave heh, that's why I use ORMs
@Burgi: Integrated security = nt authentication
Bob
Bob
The problem with stored procs is versioning
^---- +10
@Burgi: Likely authenticates via the application pool user for the .net site
so what if i have multiple DB users with different permissions?
12:32
Are they NT users or database users?
local user accounts or nt user accounts?
db users
then you wouldnt use Integrated Security
ah
12:33
so in that case you would use the conn string with the user/pass in it?
Correctomundo
Handle the user / pass via forms authentication. Store in session or however / pass into connection string for datasource.
form*
I dont know much .net :(
Bob
Bob
Wait, why does each external user correspond to a db user? O.o
hmm...?
Bob
Bob
Normally db users are just for db access control
Website users are independent
db users (and the connection string) are static and only ever changed by the admin, in the vast majority of sites
oh yeah this is just the connection between the page and the DB
12:36
Some people prefer using mixed mode authentication i guess.. If they want to give external access to an instance without having a network account having a sql server local login still allows them to access a db.
I dont recommend it though.. NT Authentication all the way imo.
even on a web facing DB?
Bob
Bob
I get the feeling Dave's having a different conversation from me :P
NT authentication + application roles with explicit permissions to exec certain stored procedures only.. no reader/writer access to tables.
@Bob: possibly lol
Bob
Bob
@GuitarShoeDave that level of db-defined security is rather unusual
Well, for public websites anyway
@Burgi: Webserver that's egress facing, remember the IIS server communicates with the database.. not the EU.
12:39
oh yeah i see what you are saying
Bob
Bob
I'm still confused :P
i'd still do it @Bobs way
specify a DBuser totally separate from the NT users
@Bob: Not really.. Users wouldnt have access to see any objects that are present within the database other than maybe a couple stored procedures granted by specific application roles.. a login procedure.. potentially some IUD procedures that take in some paramters to write data to tables that arent accessible or apparently visible by anybody if someone was able to directly access the database.)
I donno, i guess we see things a bit differently.
Bob
Bob
@Burgi That's not what I said o.o
@GuitarShoeDave did you lose a lot of rep recently?
@Bob i'm totally confused now
12:43
I just never post.
Bob
Bob
@GuitarShoeDave I suppose that makes more sense when you have a limited number of (ad) users... with different privileges
Not so much for a public website?
@Burgi uhm. What I'd do is... well, webserver talks to sql server with a static user stored in a config. Doesn't matter if it's nt auth or not. All website users use the same credentials for database access.
In this scenario the db is purely there to support the webserver
Heres a good example that I just wrote up of an example with remote users.
Sorry for the spam.
USER_TECH when logged in wouldnt have access to the same procedures as USER_ADMIN
Bob
Bob
But we're talking website users here
Not domain users
nods
My example is mixed, remote and domain
Bob
Bob
12:52
Outside a corporate environment, a website user generally does not correspond to a domain user...
It may be egress facing on the domain (not best practice if its only intended for external access)
what is best practise for an external only site?
Bob
Bob
^
If its external then you would be using only sql server authentication and not mixxed mode..
for example if you had a simple blog for your shoe guitar playing band?
Bob
Bob
12:55
Incidentally, if you ever set up some webapp, they'll do what I described above. GitLab, ownCloud, various forum packages, etc
Then it would be sql server auth only.
thats what i was talking about
Bob
Bob
I've never seen one that associates different db users to different website users
S'pose it exists somewhere
sharepoint, maybe?
Bob
Bob
That's generally domain auth
AD auth
Typically going through AD FS
12:57
i just ate a mouldy cherry :(
Bob
Bob
I don't know if SharePoint even uses SQL
But the problem is if you have one 'application user'.. it would need grant access to all the stored procedures in your database... which compromises the database if that application user account was figured out (given the database is listening on an egress interface and not loopback / localhost only)
Bob
Bob
@GuitarShoeDave and why
Would the database be listening externally?
@Bob: Because some database admins are clueless. And they click next on all defaults.. lol
Bob
Bob
Also, how do you guarantee they won't guess the password for a privileged account?

« first day (2133 days earlier)      last day (3183 days later) »