Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
R

RichardGrimmer

@RichardGrimmer
About
Posts
1.7k
Topics
179
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • You're fired...
    R RichardGrimmer

    OriginalGriff wrote:

    In the UK you can't request a criminal record check unless the role directly requires one

    No longer the case I'm afraid- since it was oursourced to private companies rather than the CRB, any Tom, Dick and indeed Harry can run a check. The other trick is to leverage the concept of an enforced subject and make the job offer conditional on agreeing to fill in the form requesting disclosure.....

    OriginalGriff wrote:

    which normally takes a couple of months and doesn't give you full details, just a "yes / no" on relevant convictions.

    Or a couple of days, depending on who you use

    OriginalGriff wrote:

    doesn't give you full details, just a "yes / no" on relevant convictions.

    Again, not quite - it will give details of any unspent convictions, or all convictions in the case of enhanced disclosures (think in terms of working with vulnerable people, kids etc). I personally think that it SHOULD be restricted in the way you outlined - but then companies would find ways around it - a wise man once told me "there's what's legal, and then there's what you can get away with" - for instance a "friend" was asked do you have any spent or unspent convictions (which you're not supposed to ask - that's the point of spent convictions!), and when he answered honestly (not realising that in that case you're permitted to "present yourself as someone without convictions", the company suddenly decided that the job for which he was applying didn't exist.....which is rather naughty.

    C# has already designed away most of the tedium of C++.

    The Lounge question

  • Backup...
    R RichardGrimmer

    Is it plausible that your suggested setup would be massive overkill for some photos of the kids? If you were talking about operational data in a business, then possibly, but hey, it's not..... If it was me (and obviously depending on the quantity), then copying them between a coupe of phones (mine, Mrs Wife's, grandma's etc) would do me - but then I don't have any kids and if I did they'd likely be so ugly nobody would want to keep photos of them... Point I'm making is that not everything has to be military grade hardened, fireproof, malware proof and hacker proof at all times..

    C# has already designed away most of the tedium of C++.

    The Lounge hosting cloud

  • Comparing Hashed Passwords - Part 2
    R RichardGrimmer

    That's precisely why you should never send or load ANYTHING over http if it's got anything to do with passwords (or other sensitive data) - Https encrypts which protects the plain text that you send to the server, and prevents eavesdropping via a man in the middle - hence why everything is loaded via https (if it's not, then you can't guarantee anything) Troy Hunt has some good explanations on the whys and wherefores

    C# has already designed away most of the tedium of C++.

    C# question database sysadmin cryptography help

  • Windows Defender : What do you mean?
    R RichardGrimmer

    Free edition[^] If you're feeling a little more adventurous, you can run UTM (Unified Threat Manager) licensed in a home setting with negligible restrictions - it's quite the beast, but does give some useful features...You do need a dedicated machine / VM / coupe of network cards, but I'm running it (actually in consort with pFSense / Unifi USG and Snort) both on my main net and in my virtual Pen testing lab and quite impressed with it Sophos mobile security is also free for android and ios - I cna recommend the android version

    C# has already designed away most of the tedium of C++.

    The Lounge question announcement java com data-structures

  • Fake SMTP
    R RichardGrimmer

    You can, but you end up on shaky ground, and they reserve the right to remove it without notice or compensation etc...

    C# has already designed away most of the tedium of C++.

    The Lounge csharp sysadmin cloud javascript question

  • Why is Git so complicated?
    R RichardGrimmer

    All you ever need to know about GIT[^] Although, coming from TFS to GIT, as I did many moons ago, the Atlassian GIT tutorial was worth its weight in gold - really good and simple to follow Local branches are great - just remember to rebase regularly so they don't get stale (rebase essentially crops your commits out of your branch, then puts any commits from the source branch into is, then puts your commits back on top of the updates....means you don't have huge merge problems when you integrate back into source)

    C# has already designed away most of the tedium of C++.

    The Lounge collaboration help html database com

  • Fake SMTP
    R RichardGrimmer

    Couple of options, SendGrid do a free Azure account with limited traffic for testing (search the Azure marketplace for Sendgrid free), VM with something like hMailServer or even just set something up elsewhere (e.g. your dev machine) and point the app to it... It's worth pointing out however that you won't be able to run an SMTP server on azure in the long run - not only is it against the license, you won't be able to get appropriate reverse dns set up and the azure IPs are on pretty much every spam list going, so even if you set it up, hardly anyone will be able to receive the mails you send.

    C# has already designed away most of the tedium of C++.

    The Lounge csharp sysadmin cloud javascript question

  • Smokers around here? Do not read this in case your age is below 18 ;P
    R RichardGrimmer

    And typically got trickier as the night rolled on as I recall ;)

    C# has already designed away most of the tedium of C++.

    The Lounge question css help learning

  • Your pair-programmer's code causes massive server failure: you get fired ?
    R RichardGrimmer

    It's common over here in the UK for people to be charged with supply in such cases....(as some might know, I have certain experience in this area), and in some instances with reckless manslaughter...which can be rather terrifying

    C# has already designed away most of the tedium of C++.

    The Lounge html com sysadmin question learning

  • Is there any risk in installing Linux on top of Windows?
    R RichardGrimmer

    I'm currently dual-booting Kali and windows 10 - the only problems I've run into relate to no sound when I reboot from Kali to win (I need to shut down and power on again - no idea why, and not that much of a drag TBH)..... HOWEVER - be aware the pretty much every time there's a major windows update (such as the April 2018 one recently), windows will probably screw up your boot loader meaning you can't boot either - apparently it's been an issue since the windows 7 days, but MS aren't fixing it - windows assumes it's the only OS and overwrites GRUB.....it's pretty simple to fix, but does require some searching to find the correct incantations lol... If you just want to user Linux, and your processor supports it (most do), then I'd suggest switching on hyper-v and installing to a VM.....or even Windows Subsystem for Linux - not the full smash, but close enough to learn the terminal etc...

    C# has already designed away most of the tedium of C++.

    The Lounge linux json question

  • Aha A new Work PC...
    R RichardGrimmer

    lopati: roaming wrote:

    chuck a text file on the desktop for your less important passwords, as you get (or reset) passwords add it to this file. once in a while drag it onto a thumb drive or email it to yourself so *next time* you get a new machine you'll have them all a couple of clicks away.

    Please don't do this - bite the bullet and use a password manager - doesn't matter which one, have one for work and one for personal if you must.. There's not much reason to not use one these days, even last pass has a free version...

    C# has already designed away most of the tedium of C++.

    The Lounge

  • Microsoft Samples (useless)
    R RichardGrimmer

    Well it appears then that I found all of the other ones...seriously - I'm with the OP here, both the docs and the samples are almost all broken for anything outside of the most basic stuff, cos, y'know, make changes quickly and don't document is how we all work now right....right? Bloody kids lol

    C# has already designed away most of the tedium of C++.

    The Lounge csharp help asp-net visual-studio announcement

  • Webmail
    R RichardGrimmer

    I'm currently running Afterlogic's free client against a hMailServer install on the same VM on Azure....it's nice and clean, works well, has a couple of themes etc. Only restriction I've bumped into with the free version is that it can only deal with a single mail account, but the paid version AFAIK removes that restriction. There's also a .NET as well as a PHP version :) (Click the Download link top right and pick the one you want) AfterLogic WebMail Lite PHP[^]

    C# has already designed away most of the tedium of C++.

    The Lounge php com sysadmin announcement

  • When someone says like..
    R RichardGrimmer

    There's a couple of points here - for web APPLICATIONS (think LOB), then I think it's legitimate to request JS being switched on. HOWEVER, I also tend to subscribe to the "make it work then add the jazz with JS" school of thought. i.e. don't use JS for core functionality, always provide a fallback. For public web SITES however, I really do think JS should be kept to a minimum. I have it switched off for most of my browsers, and have no intention of switching it back on any time soon. For those sites that don't function correctly / at all without JS, I have the opinion that there are plenty of other places to look for the info I need .... Blame the ad industry / malware / bad JS coding.

    C# has already designed away most of the tedium of C++.

    The Lounge javascript sysadmin question

  • Windows Media Player - Play MP3.
    R RichardGrimmer

    Are you using a trial version of a library with a hard (trial) limit? Seen this sort of behaviour before, along with only playing the first few seconds of a track

    C# has already designed away most of the tedium of C++.

    C# help

  • free backup tool
    R RichardGrimmer

    Take a look at windows file history - basically mirrors & versions files from specified directories to another location - I have mine set up to write to an SD card on my laptop and a nas drive....works like a charm for me and completely transparent....when you want to restore a file / folder, just go to the previous versions tab on props dialog

    C# has already designed away most of the tedium of C++.

    The Lounge com hosting cloud tools question

  • Have you ever come up with a programming idea so bizarre...
    R RichardGrimmer

    Yes, Yes I have, and I've also implemented it...(assuming what you're aiming for is drag n drop coding on a "design surface".... I used the VS DSL Tools SKD (now part of the visualisation and modelling SDK) to provide a tool which allowed the user to drag n drop a table / view / sp etc from Server Explorer's Sql server node, which generated all the Data Access code you'd need, then allowed dragging various UI "types" from the toolbox (List view / editor view / list & detail view). Once you'd got it how you wanted it, you right-clicked and selected "Generate Code". This then popped up a dialog which asked you how you wanted the code generated (new project in the existing sln, new sln, add to existing projects)....I was working on allowing actual proper code (i.e. business logic rather than boilerplate) when I lost interest a little (new girlfriend - nuff said ;) ), but by a strange coincidence, I'm revisiting it as a private project right now - if you're interested, drop me a pm and we can discuss it further....

    C# has already designed away most of the tedium of C++.

    The Lounge javascript python php com sysadmin

  • LOL!
    R RichardGrimmer

    See Here for more hilarity[^]

    C# has already designed away most of the tedium of C++.

    The Lounge question com adobe sales architecture

  • .NET Remoting connection timing out after many invocations
    R RichardGrimmer

    Hi guys, So I have an object that I'm exposing via .NET remoting (for historical / political reasons I can't just drop this and go to something more modern), which I use to process a list of items, one call per item in my list. The remoting server is set up as Single call rather than Singleton, and so my understanding is that I should get a new instance of the server class on each invocation - i.e. for each item in my list. This seems to work just fine for small datasets, but when I push it a little by processing a list containing approx. 200K items, it reaches around 19K processed, I see a timeout, and the call fails with a socket exception - "A connection attempt failed because the connected party did not properly respond after a period of time or established connection failed because connected host has failed to respond". The next call then succeeds and processing continues...but then fails again later. There seems to be no significance in the number of records processed - this varies from around 19K to 19.1k and fails at different points and with different records. Additionally, when I run the system in multi-threaded mode (Parallel.ForEach() & MaxDegreeOfParallelism == -1), then I'm seeing the same "profile" of failures, but instead of a single record fail followed by the next "working", I'm seeing about 10 failures before it comes back to life - which leads me to believe it's something like the server actually dying and being re-instantiated. Anyone have any ideas? I can batch out the data and get a "new" remoting connection if I create a factory to do so (I'm injecting my remoting client), but this seems like avoiding the problem rather than understanding the cause and fixing it. Ultimately this will be used to process > 1.2M records Cheers guys!

    C# has already designed away most of the tedium of C++.

    C# csharp c++ sysadmin help question

  • Ultimate proof that creationists might have a point!
    R RichardGrimmer

    COUGH....Genetic Algorithms[^]...COUGH

    C# has already designed away most of the tedium of C++.

    The Lounge com
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups