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
I

Indrora

@Indrora
About
Posts
11
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Fonts
    I Indrora

    I generally use (when I want to mess with someone) the tiniest font I can find installed on the system. I keep a list, too. Here's just a sampling:

    • Coolvetica at 8pt
    • Monotype Corsiva at 6.7pt (Unreadable unless you have a high-DPI monitor)
    • if I can get away with it, MS Mincho, since it substitutes \ for (YEN SIGN). Set that at 10pt for the app interface font. watch people squirm.
    • while lovely other places, Arma Five And Its Siblings can be deadly, as many of them don't have capital letters.

    Being kind, I use Monaco, Roboto, Droid Sans, etc. UIs on vista+ demand Segoe UI.

    "Pinky, are you thinking what im thinking?" "I Dunno brain, how many licks DOES it take to get to the tootsie roll center of a tootsie pop?" "You want me to calculate that? or should we take over the world?" "ooh! OooooOOOooH! lets find out!"

    The Lounge com question

  • Why String?
    I Indrora

    AspDotNetDev wrote:

    I was just thinking that it seems a bit odd that "string" is so commonly used by programmers to refer to some text. I would think "text" would be more appropriate.

    you have to take into consideration the fact that string refers to a very specific thing, depending on the language:

    • A sequence of chars, terminated in a NULL(0x00)
    • A sequence of chars, pre-pended with their length as a uint8(This is how Pascal and .NET BinaryReaders do it)
    • A fixed-width space that is assumed to have character data in it (MySQL VARCHAR)
    • an N-Length columnar space containing character data (SQLite's TEXT field)
    • a String literal, in C* defined as a sequence of characters wrapped in '"'.
    • a Verbatim String in C#, allowing for '\n' and other punctuation to be preserved.
    • A descriptive element attached to an object (Z-Code/Inform)

    String, I feel, is used to encompass more of an idea, since "text" is ambiguous (is it a certain length? A certain kind? UTF?

    AspDotNetDev wrote:

    If we are using "string" just because it refers to a string of characters (aka, a sequence of characters), then why not also call numbers "strings" (as they are strings/sequences of digits and some other characters)?

    Because ints aren't strings of numbers. Sure, in TCL and a few other languages, things are natively strings, but that counts only for convencience (and in the case of TCL, efficiency). In C* languages (this includes Java, Python, etc), int and float are stashed as their binary values -- the value 128 isn't stored as "128" -- its as 0x80. If we did store them as chars, think of how much memory it would take to store the Uint64 maximum value: 18,446,744,073,709,551,615 (thanks, MSDN!). That's 0xFFFFFFFFFFFFFFFF in hex, a much, much smaller value in-memory.

    ---- "Pinky, are you thinking what im thinking?" "I Dunno brain, how many licks DOES it take to get to the tootsie roll center of a tootsie pop?" "You want me to calculate that? or should we take over the world?" "ooh! OooooOOOooH! lets find out!"

    The Lounge com question

  • looking for a faster compiler for compiling c++ code under a Cygwin into .exe used run under Windows
    I Indrora

    Try compiling either using -w0 or some of of the other G++ optimization fixes :)

    ---- Morgan Gangwere Lead programmer, Unknown Software "Pinky, are you thinking what im thinking?" "I Dunno brain, how many licks DOES it take to get to the tootsie roll center of a tootsie pop?" "You want me to calculate that? or should we take over the world?" "ooh! OooooOOOooH! lets find out!"

    Linux, Apache, MySQL, PHP c++ linux performance help question

  • looking for a faster compiler for compiling c++ code under a Cygwin into .exe used run under Windows
    I Indrora

    Cygwin is *not* an emulator. What Cygwin is is a library that gets linked in agaisnt a big UNIX<->Win32 interface.

    ---- Morgan Gangwere Lead programmer, Unknown Software "Pinky, are you thinking what im thinking?" "I Dunno brain, how many licks DOES it take to get to the tootsie roll center of a tootsie pop?" "You want me to calculate that? or should we take over the world?" "ooh! OooooOOOooH! lets find out!"

    Linux, Apache, MySQL, PHP c++ linux performance help question

  • Ubuntu command for Sharing folders
    I Indrora

    or find the samba config files...

    ---- Morgan Gangwere Lead programmer, Unknown Software "Pinky, are you thinking what im thinking?" "I Dunno brain, how many licks DOES it take to get to the tootsie roll center of a tootsie pop?" "You want me to calculate that? or should we take over the world?" "ooh! OooooOOOooH! lets find out!"

    Linux, Apache, MySQL, PHP sysadmin linux

  • kubuntu kate and utf-8 encoding
    I Indrora

    I thought Kate was a well behaved plaintext editor? Meh, I've used Komodo Edit which can handle such odd things as Shift-JIS if I want it to...

    ---- Morgan Gangwere Lead programmer, Unknown Software "Pinky, are you thinking what im thinking?" "I Dunno brain, how many licks DOES it take to get to the tootsie roll center of a tootsie pop?" "You want me to calculate that? or should we take over the world?" "ooh! OooooOOOooH! lets find out!"

    Linux, Apache, MySQL, PHP help python linux question

  • Anyone still use the Classic appearance? [modified]
    I Indrora

    to be completely honest, I have learned to embrace the XP styling engine. I'm using an extremely light theme called 74 (yeah, thats the entire name) and more often than not on my laptops I run FourMinusTwo (an extremely light theme, of which I cannot remember the name) on my windows 7 machines its either glass or classic (running as black a theme as I can with as green a text as I can)

    ---- Morgan Gangwere Lead programmer, Unknown Software "Pinky, are you thinking what im thinking?" "I Dunno brain, how many licks DOES it take to get to the tootsie roll center of a tootsie pop?" "You want me to calculate that? or should we take over the world?" "ooh! OooooOOOooH! lets find out!"

    The Lounge hardware question announcement

  • Is there a way out?
    I Indrora

    Christian Graus wrote:

    In fact, just deleting the bin and obj folders should do it.

    Just what i was going to say -- the Obj folder is making its own choices... it sees a "newer" version and tries to use that but it cant because the dates dont match. Thats what I call a "clean all" :)

    ---- Morgan Gangwere Lead programmer, Unknown Software "Pinky, are you thinking what im thinking?" "I Dunno brain, how many licks DOES it take to get to the tootsie roll center of a tootsie pop?" "You want me to calculate that? or should we take over the world?" "ooh! OooooOOOooH! lets find out!"

    Visual Basic help tutorial question

  • crystal report problem
    I Indrora

    the reason its taking so long to work is that you are doing 115 INDIVIDUAL queries... thats 115 new connections to a server and 115 questions of the server.... thats a LOT of data.... Consider using a BackroundWorker of some kind, OR using a berrer query structure... thats why its taking so long. to make it simpler, think of a query as a conversation. You make a query to a server, you start a whole NEW converstion with it. you ask one question ( ie select all from * where foo equals bar) you end the conversation. repeat 115 times. better way to do it: connect to server. ask it "select from * where ( foo = bar) OR (baz = bar) OR ...." parse that data. end connection. no repeat. you only have to understand the data that you are being fed. but the only thing you have to do once is ask the query... not 115 times because you've asked it a really well refined question that can easily be answered. Hope that helps.

    ---- Morgan Gangwere Lead programmer, Unknown Software "Pinky, are you thinking what im thinking?" "I Dunno brain, how many licks DOES it take to get to the tootsie roll center of a tootsie pop?" "You want me to calculate that? or should we take over the world?" "ooh! OooooOOOooH! lets find out!"

    Visual Basic help database

  • VB code
    I Indrora

    fgarcia90 wrote:

    i need a vb code to pop-up the save dialog box in some time i inicialy put in antoher simple dialog box in a start of all the programs i work

    EH? I would assume you want a system.windows.forms.FileSaveDialog to jump up at startup? that would be simple enough... ' our File Save form dim ourFSForm as windows.forms.filesavedialog = new windows.forms.filesavedialog 'Set the filter ourFSForm.Filter = "INSERT FILTER HERE| *.*" ' Set the initial (blank) filename: ourFSForm.Filename = "" ' the result of showing the form. dim ourFSResult as windows.forms.dialogResult = ourFSForm.ShowDialog() dim fileLocation as String = ourFSForm.Filename switch(ourFSResult) case windows.forms.dialogResult.OK: ... End Swich Now also, theres Already an email link on the bottom of each post!

    ---- Morgan Gangwere Lead programmer, Unknown Software "Pinky, are you thinking what im thinking?" "I Dunno brain, how many licks DOES it take to get to the tootsie roll center of a tootsie pop?" "You want me to calculate that? or should we take over the world?" "ooh! OooooOOOooH! lets find out!"

    Visual Basic com

  • Single Instances share Data space?
    I Indrora

    I'm writing a .NET version of Panorama (it changes your backgrounds in win98 but has Issues on XP/Vista -- i dont maintain it... i just like it) I have to handle It as a single instance application because i call the "ChangeDesktopBackground" command in user32.dll alot -- anywhere from 6 SECONDS to 4 HOURS... and i dont want a user going crazy because the desktop just changed 3935974958607367 times... it takes some doing too... I was considering DDE, but its dead. OLE automation is near imposible without killing the filesize (its 200kb right now -- and only takes up 400kb in memory.) I would like to have a command line param, say -a, that adds files to a listbox. Heres how i have it set up: FormMain FormMain.Desks(ListView) FormMain.AddSingle(Button) FormMain.AddDirectory(button) FormMain.RemoveItem(button) formMain.clearAllItems(button) FormMain.Timeout(spinCtl) FormMain.TimoutTimer(Timer) FormMain...... I want to be able to have it set up so that when the user calls something like "PanoNet.exe -a C:\Epic Files\Some File.jpg" "C:\Mpre FIles\Some Other FIle.BMP" the new instance tells the old instance to add the two files to the top of the end of FormMain.Desks.Items Can this be done? "Pinky, are you thinking what i'm thinking?" "I Dunno brain, who really came up with the idea for cheeze sticks?" "... apparently not ..."

    Visual Basic csharp com testing tools performance
  • Login

  • Don't have an account? Register

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