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
A

AnonimityPreferred

@AnonimityPreferred
About
Posts
3
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • SSD... is it worth it in an old computer?
    A AnonimityPreferred

    If you don't want to spend a full 100€ on a large SSD, you use a small SSD (60-120GB) for the operating system only. If you have at least 50% free on the existing HD, you could do this as follows:- 1) Shrink the existing partition (C:) to the smallest feasible size. 2) Create a new partition in the free space (D:) 3) Move the user folders to the D: drive. There are instructions on the internet for moving "My DOcuments", "Desktop" etc to a new location. 4) Clone C: (and small boot partition if any) onto the new SSD. Make sure the SSD partition is marked as active. 5) Boot via the SSD and remove the old C: form the HD. 6) Expand the D: partition to the full size of the HD. This should give you decent boot times while storing documents on the slower, cheaper HD. I have a Windows 10 PC configured this way on a (now aging) 60Gb SSD. I previously used the same SSD in a Pentium 4 based Dell running Windows XP. One consideration is that larger SSDs are typically faster.

    The Lounge asp-net performance question learning

  • Coding Challenge Of The Day
    A AnonimityPreferred

    My previous code after some Herbalife:-

    FUNC rr(c)
    r=0;p=0;b=len(c)
    WHILE b>0
    v=at(c[b],'IVXLCDM')-1
    f=10^int(v/2)*(v%2*4+1)
    r+=if(fp,p:=f,)
    b--
    END
    RETURN r

    Compiles with xHarbour.

    The Lounge c++ architecture

  • Coding Challenge Of The Day
    A AnonimityPreferred

    FUNCTION Roman2Dec(cRoman)

    LOCAL nPointer := len(cRoman)  
    LOCAL nPos := 0,nFaceVal := 0,nLastVal := 0, nReturn := 0
    
    WHILE nPointer > 0
        nPos     := at(substr(cRoman, nPointer, 1),'IVXLCDM') -1 
        nFaceVal := (10 ^ int((nPos)/2)) \* (1+((nPos) % 2 \* 4))
        nReturn  += iif(nFaceVal < nLastVal, -nFaceVal, nFaceVal)
        IF nFaceVal > nLastVal
            nLastVal := nFaceVal
        ENDIF
        nPointer--    
    ENDDO
    

    RETURN nReturn

    The Lounge c++ architecture
  • Login

  • Don't have an account? Register

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