Open Side Menu Go to the Top
Register
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

12-06-2017 , 01:00 AM
It's bouncing around because it is refreshing every second
you can hit s and then put in the number of seconds you want between refreshes if you want

bolded means it's running. The "S" column is status
D = uninterruptible sleep
R = running
S = sleeping
T = traced or stopped
Z = zombie

you should be able to hit "F" and then choose the columns to display, and choose the C to show cpus

Last edited by blacklab; 12-06-2017 at 01:07 AM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-06-2017 , 01:06 AM
You realize memorizing **** like that pushes your grandkids' names out of your brain right? (when you have them)

There's a reason we invented the GUI and context menus people.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-06-2017 , 01:15 AM
If you press "q" top doesn't bounce around anymore.

Your CPUs will automatically be balanced. DO droplets are really VM's, so you are getting virtual cores, not real cores, which I guess is more confusing, lol. You are really using a shared server, conceptually no different than the old HostGator days, albeit with more power.

If you are using Windows, the task manager bounces around just the same as Linux does (and you need to click 15 times just to see anything useful), so not sure what the complaint is. I guess Apple is some amazingly different machine that has no varied resources and continues to amazing the universe with rainbow scented farts.

For your actual question, why don't you put a timestamp field in your MongoDB? That way, you can just use a query to at least delete the offending file path. You can then use whatever NodeJS has for file I/O to remove the specific file.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-06-2017 , 01:20 AM
+1 to the entry to this thread of 12 year old sub 1000 posts account btw.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-06-2017 , 01:21 AM
Quote:
If you press "q" top doesn't bounce around anymore.
Duh, that's just common sense.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-06-2017 , 01:25 AM
pressing q during top on both git bash (cygwin) and ubuntu windows subsystem both == control+c but I'm a luddite who does most of his personal dev on a win10 machine because I like to play overwatch.

I'm not saving files with mongo(?), just node fs.writeFile.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-06-2017 , 01:27 AM
Yea just add a timestamp and then delete after a certain moment, ez.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-06-2017 , 01:35 AM
Quote:
Originally Posted by Grue
+1 to the entry to this thread of 12 year old sub 1000 posts account btw.
blacklab? He's been around.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-06-2017 , 01:38 AM
Sure you're not thinking of Blackize?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-06-2017 , 01:39 AM
Quote:
Originally Posted by suzzer99
You realize memorizing **** like that pushes your grandkids' names out of your brain right? (when you have them)

There's a reason we invented the GUI and context menus people.
I cut and pasted the chart, but did know most of the other stuff in that post.

I only post what I think I know, hence the low post count. I also own a fairly large UT board and post over there a lot more than here.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-06-2017 , 01:45 AM
a few weeks ago I posted this

Quote:
so I got two job offers.

A) - large, old company, would be a sales engineer/proof of concept builder for their partnership team. Should be good work that keeps me interested, pay is slightly higher than B. Lots of room and areas for advancement. Office is a ***** of a drive but would only have to go in 1-2 days a week. Would involve coming up with business ideas as well as building the POCs.

b) smaller company, provides support for open source database solutions. Job is a technical account manager. Buddy of mine had the job and got promoted so I'd fill his role. He actually worked about 10 hours a week and was always picking up side gigs, skiiing or doing other **** while on the clock. Room for advancement, but I'm not sure I'd want any of the higher paying jobs there. Seems like a cool culture and it's growing by leaps and bounds.

which would you take?
ended up taking A and started Monday. In the interview they said they didn't really care what I coded in, as long as it worked and looked good.

Monday I go in and the group has 5 projects going, all in Java. I haven't done **** in Java in about 10 years. FML
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-06-2017 , 02:06 AM
Quote:
Originally Posted by Grue
pressing q during top on both git bash (cygwin) and ubuntu windows subsystem both == control+c but I'm a luddite who does most of his personal dev on a win10 machine because I like to play overwatch.
How are you SSH into DO? I used to use PuTTY from a Win7 machine.

Quote:
I'm not saving files with mongo(?), just node fs.writeFile.
How do you know what card back belongs to what player?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-06-2017 , 02:22 AM
? I use git bash/cygwin to open a terminal most of the time, some times "bash on ubuntu" aka windows subsystem. I save these files to a generic `{username}.{extension}` based off of their auth from passport.js.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-06-2017 , 03:06 AM
Suzzer, if you want to know just man it. *nix is by far the easist system to get around for me. I was tempted to get a mac when it became a skin for FreeBSD and finally you could get to a command line and get something done.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-06-2017 , 03:10 AM
Really? You mean there's instructions? Wow this changes everything.

Scrolling through endless man pages obviously >>>>>>> clicking on something that obviously does what you want it to do, or even worse, right-clicking for a context menu.

There's clearly a reason why the thick instruction manual you can bludgeon someone with won out over the thing that didn't need instructions because it's use was mostly self-evident. Or maybe it's the other way around. I forget.

** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-06-2017 , 03:17 AM
Honestly I've never found mac icons intuitive at all.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-06-2017 , 03:22 AM
Along those lines, way back in the day I loved that you could view and edit the markup in wordperfect. I always hated word. Also along those lines, vi is the greatest.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-06-2017 , 03:24 AM
Quote:
Originally Posted by microbet
Honestly I've never found mac icons intuitive at all.
Sure, but you don't have to memorize them like learning a foreign language.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-06-2017 , 03:28 AM
Quote:
Originally Posted by suzzer99
Sure, but you don't have to memorize them like learning a foreign language.
If the images aren't obvious you're just as stuck and instead of a million options to memorize you just can't do what you want. Sure, there's no reason to know how to search for an expression in a directory and all subdirectories and pipe it into a reader. It's impossible. Memorization problem solved.

Different strokes I reckon, but I've had a much harder time figuring out how to do something on a mac than anything else.

Back in the day in sttf I was often browsing on lynx. A big plus in that world is less carpal tunnel. Mice suck.

Last edited by microbet; 12-06-2017 at 03:37 AM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-06-2017 , 03:34 AM
I complain about GUIs all the time. But once I figure out how to do something I never forget it.

I've forgotten 90% of the nix stuff I ever learned. I actually used to administer a network of macs hooked up to an AIX mini-computer. We developed on emacs. I've forgotten everything except top, cd, ls, ls -al, rm -fr, pwd and ps aux | grep XXX (which I still get wrong half the time because I type -aux instead of aux).

I haven't developed in UltraEdit for 10+ years. But I could pick it up tomorrow no problem.

We have limited brain space for this ****, and memorization seems really inefficient to me. Seems like people who do it have an emotional investment bias to feel it's worthwhile - due to all the time and effort spent learning.

Last edited by suzzer99; 12-06-2017 at 03:41 AM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-06-2017 , 03:41 AM
lol this is ridiculous
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-06-2017 , 03:43 AM
Meh, I don't think it's really that much to learn as a simple user. And you memorize how to operate your windows machine or mac as well. It's just in a different form.

Vi is a good example. You may have to just memorize things, but if you know like 10 or so things you can do a lot. The other 50 tricks are just a bonus and things you could never do with a reasonable gui.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-06-2017 , 03:44 AM
Lemme put it this way, if this site gives you a hardon rather than makes you want to hurl, you're a good *nix candidate: https://distrowatch.com/
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-06-2017 , 03:47 AM
Quote:
Originally Posted by microbet
Meh, I don't think it's really that much to learn as a simple user. And you memorize how to operate your windows machine or mac as well. It's just in a different form.

Vi is a good example. You may have to just memorize things, but if you know like 10 or so things you can do a lot. The other 50 tricks are just a bonus and things you could never do with a reasonable gui.
How do you do compile-checking or syntax error highlighting in real time with vi? How do you search and replace using regex across 100s of files at once? How do you pretty format a JSON object? How do you see all files in multiple folders in one glance? I don't even use most advanced IDE features and I'd be hamstrung with vi.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-06-2017 , 04:03 AM
I use an IDE with vim bindings. Best of both worlds imo.

That said, I'm sure there are plugins that replace almost all the functionality you're used to.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote

      
m