Click here to Skip to main content
16,003,611 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Have You Ever Eaten a Neighbor's Pet? Pin
Daniel Pfeffer14-Sep-24 8:32
professionalDaniel Pfeffer14-Sep-24 8:32 
GeneralRe: Have You Ever Eaten a Neighbor's Pet? Pin
Nelek14-Sep-24 10:41
protectorNelek14-Sep-24 10:41 
GeneralRe: Have You Ever Eaten a Neighbor's Pet? Pin
11917640 Member 15-Sep-24 4:02
11917640 Member 15-Sep-24 4:02 
GeneralRe: Have You Ever Eaten a Neighbor's Pet? Pin
kmoorevs15-Sep-24 8:08
kmoorevs15-Sep-24 8:08 
GeneralRe: Have You Ever Eaten a Neighbor's Pet? Pin
den2k8815-Sep-24 21:53
professionalden2k8815-Sep-24 21:53 
GeneralRe: Have You Ever Eaten a Neighbor's Pet? Pin
Sander Rossel15-Sep-24 23:48
professionalSander Rossel15-Sep-24 23:48 
GeneralRe: Have You Ever Eaten a Neighbor's Pet? Pin
Choroid16-Sep-24 6:02
Choroid16-Sep-24 6:02 
PraiseI've mentioned this before, but the peeps behind this deserve some adulation... Pin
Jeremy Falcon13-Sep-24 12:33
professionalJeremy Falcon13-Sep-24 12:33 
Linux From Scratch!

So, I'm making an app (huge shock), and this app will be the only thing hosted on a dedicated VPS when all is said and done. It doesn't need much umph right now during development, so I'm putting it on a cheapo VPS with one VCPU for now. Ok cool, but that's essentially one core with no guarantee it'll be hyper-threaded. I mean, lscpu reports more than one, but it's a cheapo VPS I've had lying around for years that I never used. So, there's gotta be throttling.

These days, every dependency is built with multithreaded support by default, say if you use system packages from Debian or Ubuntu. And that makes sense, BUT... If your machine is only rocking one core, multithreading is actually slower. So, it would behoove me to rebuild the dependencies like libcurl to only use a single thread. Or, just get a beefier VPS for this app, but I got this VPS for another year, so may as well use it for testing.

Dunno if anyone has ever built libcurl from scratch but it's a long, painful process if you want proper support with protocols and whatnot. However, dun dun dun...

The folks at LFS (Linux From Scratch) pretty much give you step-by-step instructions on building curl... which in turn means building libcurl. And it's kept up to date every six months. These folks are awesome and this and Gentoo are the only distros of their kind.

Note: Ok, realistically I'll just pay more for a better VPS when this thing is ready to go live and the performance delta during testing is acceptable. Which means its back to multithreading any way I slice it. But... but but but... there's still the cool factor of building your own deps for static linking. Never forget the cool factor.
Jeremy Falcon

GeneralRe: I've mentioned this before, but the peeps behind this deserve some adulation... Pin
jmaida13-Sep-24 17:14
jmaida13-Sep-24 17:14 
GeneralRe: I've mentioned this before, but the peeps behind this deserve some adulation... Pin
Jeremy Falcon13-Sep-24 17:38
professionalJeremy Falcon13-Sep-24 17:38 
GeneralRe: I've mentioned this before, but the peeps behind this deserve some adulation... Pin
jmaida13-Sep-24 17:56
jmaida13-Sep-24 17:56 
GeneralRepost of the repost of the repost, piano related ... Pin
0x01AA13-Sep-24 10:29
mve0x01AA13-Sep-24 10:29 
GeneralRe: Repost of the repost of the repost, piano related ... Pin
Mike Hankey13-Sep-24 10:46
mveMike Hankey13-Sep-24 10:46 
GeneralRe: Repost of the repost of the repost, piano related ... Pin
Dr.Walt Fair, PE13-Sep-24 14:17
professionalDr.Walt Fair, PE13-Sep-24 14:17 
GeneralRe: Repost of the repost of the repost, piano related ... Pin
BernardIE531713-Sep-24 14:22
BernardIE531713-Sep-24 14:22 
GeneralRe: Repost of the repost of the repost, piano related ... Pin
0x01AA14-Sep-24 6:46
mve0x01AA14-Sep-24 6:46 
GeneralThere is a poll on YouTube... Pin
OriginalGriff12-Sep-24 23:49
mveOriginalGriff12-Sep-24 23:49 
GeneralMy uncle fell down the stairs... Pin
Sander Rossel12-Sep-24 23:45
professionalSander Rossel12-Sep-24 23:45 
GeneralRe: My uncle fell down the stairs... Pin
Daniel Pfeffer13-Sep-24 1:48
professionalDaniel Pfeffer13-Sep-24 1:48 
GeneralRe: My uncle fell down the stairs... Pin
Alister Morton13-Sep-24 3:02
Alister Morton13-Sep-24 3:02 
GeneralRe: My uncle fell down the stairs... Pin
Sander Rossel13-Sep-24 3:08
professionalSander Rossel13-Sep-24 3:08 
GeneralRe: My uncle fell down the stairs... Pin
Alister Morton13-Sep-24 5:53
Alister Morton13-Sep-24 5:53 
GeneralRe: My uncle fell down the stairs... Pin
jeron113-Sep-24 5:57
jeron113-Sep-24 5:57 
GeneralRe: My uncle fell down the stairs... Pin
Sander Rossel15-Sep-24 23:52
professionalSander Rossel15-Sep-24 23:52 
GeneralRe: My uncle fell down the stairs... Pin
jeron116-Sep-24 6:26
jeron116-Sep-24 6:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.