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
C

ColinBurnell

@ColinBurnell
About
Posts
14
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • AI will replace everyone
    C ColinBurnell

    I see AI could replace people in call centers.

    Not such good news for the Indian economy then.

    The Lounge business tools regex announcement learning

  • I love C where types are basically a suggestion rather than a rule
    C ColinBurnell

    You could always use a union, no need to even cast then (: I wouldn't want to program in C targeting a PC these days; but it is good for 8 & 16 bit embedded work, where you need to get at hardware registers and only have maybe 2K RAM and 16K or 32K ROM.

    The Lounge data-structures

  • Windows 10 semi-rant / question
    C ColinBurnell

    The operative word there is 'laptop'. Windows assumes you want low power on a laptop; and they do default back to enhanced power saving after some updates. It's not unreasonable though, the point of a laptop is to provide mobile computing, not act as a static server. IMO applying updates is sensible, using a laptop to run 24/7 systems is where you have gone wrong; use 'tin', ideally with a server OS.

    The Lounge hardware question help

  • Its time to buy a new development machine
    C ColinBurnell

    Unless you need fancy graphics or something more esoteric, even £1200 sounds excessive. You can get a pretty decent workstation for 700 to 800 quid, add a decent SSD and call it £900 to £1000; forget the VAT and save yourself 600 to 700 notes.

    The Lounge question

  • Great Britain and the United Kingdom
    C ColinBurnell

    That presumably dates from when one of the Hapsburg's - AKA Habsburg - ruled both Spain and the Low Countries.

    The Lounge help question

  • Over a week with Windows 10 - some observations.
    C ColinBurnell

    Indeed, I switched to Kubuntu; so thank you Microsoft for finally pushing me to make areal effort with Linux.

    The Lounge help tools question

  • What is so bad/wrong/terrible about Windows 8.1?
    C ColinBurnell

    But I though Windows 8 was the new name for Vista... (:

    The Lounge question com tutorial learning workspace

  • Would you people seriously just *stop* doing unpaid work already?!?!
    C ColinBurnell

    What's a bonus? - Oh sorry just remembered, I work in the UK...

    The Lounge business sales help question

  • android anti-virus
    C ColinBurnell

    Then you really would need AV! Have you seen MS's App Store? You can pay for lots of App's that 'download' Firefox, and various other publicly licensed free software? Mmmm - Malware heaven.

    The Lounge android security question

  • Can you run a mile? (1.6km)
    C ColinBurnell

    Should get yourself to the UK then; the Postman puts it through the letter box in your front door here. :)

    The Lounge question

  • Why MSDN?
    C ColinBurnell

    If your code installs on multiple OS's and / or outside the 'Anglo Saxon World', then access to all the different Windows versions in multiple languages can really help in traking down OS and localisation specific problems. As a mater of course, I now test install my releases on Virtual Machines running x86, x64, XP, Win7 and at least one non-English languages.

    The Lounge business question

  • Help with serial data display
    C ColinBurnell

    I expect it wants a carriage return followed by a line feed - 0x0d 0x0a Reading a byte array is not that low a level; the SerialPort class gives you a method to read byte data - SerialPort.Read Method (Byte[], Int32, Int32). You can use the BytesToRead property to see how many bytes there are in the buffer.

    C# csharp help tutorial question

  • Help with serial data display
    C ColinBurnell

    I suspect your problem is with how ReadExisting() handles the carriage returns; it may well be expecting a carriage return line feed pair of characters, to indicate a new line. If I am using Serial port for text data, I get the data as a byte array; and then convert it to a string, either using Encoding - Encoding.ASCII.GetString(myByteArrray) or manually processing each character if I need to handle specific bytes individually. Off the top of my head, I can't remember if GetString will convert a striaght carriage return to a new line; but if not you can process each byue of the array in turn, detecting the carriage return and adding Environment.NewLine in it's place to the string. Hope this helps.

    C# csharp help tutorial question

  • The Code Project Hardware and Server Survey
    C ColinBurnell

    Small problem with the servey. if you do not answer "Currently in use" in Q1 which answer do you select in Q2? If you leave the Q2 selection blank you get a warning! Q1. Is Microsoft SQL Server currently in use or planned to be used in your organization? Please choose an option Currently in use Plan to use in next 3 months Plan to use in next 6 months Plan to use in next year No plans ot use in next year Q2. Which versions and editions of Microsoft SQL Server are currently in use in your organization? Please choose 1 or more options SQL Server 2005 SQL Server 2008 SQL Server 2008 R2 SQL Server Express SQL Server Standard SQL Server Enterprise SQL Server Developer

    Site Bugs / Suggestions database sql-server sysadmin hardware help
  • Login

  • Don't have an account? Register

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