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

riced

@riced
About
Posts
557
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • CCC 13/8/13
    R riced

    Maybe NASA scientist does but non-existent pages don't. I got this: Sorry, the page you were looking for in this blog does not exist.

    Regards David R --------------------------------------------------------------- "Every program eventually becomes rococo, and then rubble." - Alan Perlis The only valid measurement of code quality: WTFs/minute.

    The Lounge performance

  • CCC 30/1/13
    R riced

    Coprosecutor Policeman - cop promoted - rose hewn - cut nothing - o right - r

    Regards David R --------------------------------------------------------------- "Every program eventually becomes rococo, and then rubble." - Alan Perlis The only valid measurement of code quality: WTFs/minute.

    The Lounge

  • activity-selection algorithm in c#
    R riced

    Here's an activity selection algorithmm coded in C# - probably not what you want. :) But you have not explained what you want.

      static void Main(string\[\] args)
      {
         Random rndGen = new Random();
         var activities = new List() { "bake bread", "mow lawn", "read book", "sleep", "don batman costume", "sneeze",
                        "have a beer", "code furiously", "make excuse for late assignment", "plead for help"};
    
         for (int i = 0; i < 3; i++)
         {
            int act = rndGen.Next(activities.Count);
            Console.WriteLine((i+1).ToString() + ". " + activities\[act\]);
         }
         Console.ReadLine();
      }
    

    Regards David R --------------------------------------------------------------- "Every program eventually becomes rococo, and then rubble." - Alan Perlis The only valid measurement of code quality: WTFs/minute.

    C# csharp algorithms

  • Sign Language
    R riced

    Out patients' or Out patient's or any of your variants with an apostrophe. :-D

    Regards David R --------------------------------------------------------------- "Every program eventually becomes rococo, and then rubble." - Alan Perlis The only valid measurement of code quality: WTFs/minute.

    The Lounge html com

  • Local Haunted House
    R riced

    I wonder if Tarsky or Kripke would agree. In any case it's also the case that Lies are Lies no matter how old you are. In fact it's generally true that 'X' is 'X' no matter how old you are for all values of 'X'. :-D

    Regards David R --------------------------------------------------------------- "Every program eventually becomes rococo, and then rubble." - Alan Perlis The only valid measurement of code quality: WTFs/minute.

    The Lounge question learning

  • Word play
    R riced

    Celtic and retired. :laugh:

    Regards David R --------------------------------------------------------------- "Every program eventually becomes rococo, and then rubble." - Alan Perlis The only valid measurement of code quality: WTFs/minute.

    The Soapbox com discussion

  • Word play
    R riced

    When I first heard this it was the Greeks who invented it and the Romans who introduced it to women. :-D

    Regards David R --------------------------------------------------------------- "Every program eventually becomes rococo, and then rubble." - Alan Perlis The only valid measurement of code quality: WTFs/minute.

    The Soapbox com discussion

  • Buzzword Guru
    R riced

    Perhaps he's a Peter Drucker guru: “I have been saying for many years,” Drucker once remarked, “that we are using the word ‘guru’ only because ‘charlatan’ is too long to fit into a headline.”

    Regards David R --------------------------------------------------------------- "Every program eventually becomes rococo, and then rubble." - Alan Perlis The only valid measurement of code quality: WTFs/minute.

    Buzzword Bingo com

  • Need Help with this program
    R riced

    gamemaker825 wrote:

    just tell me what you would like on a program and what language you want me to use.

    I'd like a program that generates next week's winning lottery numbers for UK lottery - must guarantee they are winning. You can choose between a Lisp or APL implementation. :-D

    Regards David R --------------------------------------------------------------- "Every program eventually becomes rococo, and then rubble." - Alan Perlis The only valid measurement of code quality: WTFs/minute.

    Visual Basic csharp c++ com help

  • Mommy, mommy
    R riced

    From enidblyton.net re Famous Five: George is actually a girl who wants so desperately to be a boy she crops her hair and struts about doing boy things. She hates it when people call her by her correct name, Georgina. She has a dog called Timmy—oh yes, and an island. Most kids just have a dog, but George's parents own Kirrin Island and let her run around on it as if it were her play-thing. Her parents are known to Julian, Dick and Anne as Uncle Quentin and Aunt Fanny. :-D Corrected blyton.

    Regards David R --------------------------------------------------------------- "Every program eventually becomes rococo, and then rubble." - Alan Perlis The only valid measurement of code quality: WTFs/minute.

    The Soapbox question

  • How to store data(images, Text, Music) in one file? like.dat
    R riced

    Try here: http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/6fb159cb-b195-409b-b8ad-702e457b0692[^] :-D

    Regards David R --------------------------------------------------------------- "Every program eventually becomes rococo, and then rubble." - Alan Perlis The only valid measurement of code quality: WTFs/minute.

    Visual Basic help tutorial question

  • Challenge: the fastest way to filter doubled items from a list.
    R riced

    Don't know if it's faster but I'd use the Exists() method to see if it was already there rather than loop through UniqueList. :) I'm sure there's also a neat way to do this using LINQ. :-D

    Regards David R --------------------------------------------------------------- "Every program eventually becomes rococo, and then rubble." - Alan Perlis The only valid measurement of code quality: WTFs/minute.

    Clever Code learning csharp java help question

  • Thank god.!
    R riced

    It was (probably) the cheapest beer Newcastle Breweries produced. As a lad, most of my mates drank it while I drank Ex. I had one pint in a pub in Felling when Mungo Jerry were in the top 10 with In The Summertime. It was disgusting.

    Regards David R --------------------------------------------------------------- "Every program eventually becomes rococo, and then rubble." - Alan Perlis The only valid measurement of code quality: WTFs/minute.

    The Lounge

  • Thank god.!
    R riced

    Or someone who drinks pints of Newcastle Scotch - about the foulest beer I can ever recall drinking.

    Regards David R --------------------------------------------------------------- "Every program eventually becomes rococo, and then rubble." - Alan Perlis The only valid measurement of code quality: WTFs/minute.

    The Lounge

  • [Solved]vb.Net front end, Access back end in Multi User App = bad idea?
    R riced

    Long time since I used Access so this may not apply. When backups were done we always did a compact of the database (it's a menu choice IIRC). In a similar situation to what you describe never had any real problems with Access in 5 years or so. The front end was VB6 and the back end was just tables and queries on the server. So may be something in your set up you can tweak. However, I'd support the suggestion of looking at SQL Server Express. I've had a little experience with MySQL (on Linux) and found no problems with it. So I would not rule it out completely. I think however that SSE is probably a better bet. There are others like SQLite around(though I don't think that's appropriate for what you describe) so may be worth investigating.

    Regards David R --------------------------------------------------------------- "Every program eventually becomes rococo, and then rubble." - Alan Perlis The only valid measurement of code quality: WTFs/minute.

    Database database help csharp mysql

  • Best picture
    R riced

    It's Schroedinger - I think someone just gave him a wave.

    Regards David R --------------------------------------------------------------- "Every program eventually becomes rococo, and then rubble." - Alan Perlis The only valid measurement of code quality: WTFs/minute.

    The Lounge csharp html com tutorial

  • Linq2Horror
    R riced

    Notepad++ is very good. Shows tabs, spaces, does column deletes and highlights matching brackets, braces, parens etc. Also has modes for different languages C#, C++, VB, Lisp etc. And it's free. :)

    Regards David R --------------------------------------------------------------- "Every program eventually becomes rococo, and then rubble." - Alan Perlis The only valid measurement of code quality: WTFs/minute.

    The Weird and The Wonderful csharp database linq question discussion

  • Linq2Horror
    R riced

    I think the problem is when the two are mixed in the same line. Then it does not seem to matter how you set them lines don't align. :) I also worked on a VMS system where the default was to use tabs - but it had stops at every 8 columns and if you set yours differently it was a mess.

    Regards David R --------------------------------------------------------------- "Every program eventually becomes rococo, and then rubble." - Alan Perlis The only valid measurement of code quality: WTFs/minute.

    The Weird and The Wonderful csharp database linq question discussion

  • Issues of Making MS-Access Schema
    R riced

    Using Interop you should be able to do this. That assumes you know how to create databases, tables etc using Access objects. You might be able to do it running SQL queries in Access - again assuming you know the required SQL. You can pick up some of it in the Access designer for queries - just create a make table one then switch to SQL view.

    Regards David R --------------------------------------------------------------- "Every program eventually becomes rococo, and then rubble." - Alan Perlis The only valid measurement of code quality: WTFs/minute.

    C# database help csharp xml tutorial

  • Applications for designing or composing multiple choice tests.
    R riced

    It's relatively straight forward to write an app that displays questions, accepts answers and marks them. It's also pretty straight forward to write an app that accepts a question, answer choices and which one is correct then saves them (so first app can read them). How you do this depends on the first app. This type of app is often set as an assignment for students so I guess there's a lot of them about. The hard part comes if you have to validate the test. There's a whole bunch of statistical analysis to do to filter out bad question/answer combinations. The last time I did this was in COBOL some 20 years ago and it was a pain.

    Regards David R --------------------------------------------------------------- "Every program eventually becomes rococo, and then rubble." - Alan Perlis The only valid measurement of code quality: WTFs/minute.

    The Lounge question learning
  • Login

  • Don't have an account? Register

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