Jump to content


Photo

Programmer shizzies


261 replies to this topic

#241 tibone

tibone

    Shizz JediMaster

  • Members
  • PipPipPipPipPipPipPipPip
  • 4,428 posts

Posted 12 June 2018 - 04:45 AM

can't you use some ready monitoring solution, like nagios?

 

Or, if you're presenting static files (you mentioning doing the processing in perl on the server-side), maybe logstash?

 

I usually like to code my own solutions, but for some stuff, like server monitoring, i just prefer to not waste time debugging it, and going for a established solution.


  • 1

Can you Jam with the Console Cowboys in the Cyberspace ?

 


#242 Ken Oh

Ken Oh

    Cuck Buddy GroGro

  • Shizzadmin
  • PipPipPipPipPipPipPipPipPip
  • 8,973 posts
  • Location:Bodymore, Murderland

Posted 12 June 2018 - 05:19 AM

It's not server monitoring as much as it is system monitoring and management. We do have ScienceLogic EM7 for server/network appliance monitoring, but it can't do the bulk of what needs to be done on the system itself.
  • 0

banner.png


#243 raubhimself

raubhimself

    CHAOS SPECIALIST

  • Shizzadmin
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 35,570 posts
  • Location:Phoenix, AZ

Posted 12 June 2018 - 09:09 AM

Without telling you exactly how to do it, I suggest breaking things down into different areas. If you use Visual Studio there are GUI templates that will help. So maybe look at it in the following steps:

 

- How to create a Windows GUI project in Visual Studio

- Create the GUI interface

- Integrate some sort of SSH library (the one linked above or surely many others)

- Run commands through SSH from your GUI

 

You could break it down further than that but the key is just breaking it down from "How do I make a GUI to SSH into linux systems" into discrete chunks that you can handle. 


  • 0
sanitize.deodorize.pulverize
MINIBOSSIES NEVAR SAY DIE!
Good-Evil.net
 

'the smuggest amongst us will always be the quickest to point out the most minor transgressions of others around them'- a quote i just made up and put quotes around to make it seem slightly fancier


#244 nEwT

nEwT

    Shizz Master Zero

  • Members
  • PipPipPipPipPipPipPipPip
  • 7,155 posts
  • Location:Guadalajara, Jalisco, México

Posted 12 June 2018 - 09:15 AM

I'm looking forward to the solution to this.
  • 0
Spoiler

Kain, only you can mention your mother's death and your new awesome MMX NES rom hack in one post... so condolences :( and high five :o


There's a big difference between a show being good and a shoe being enjoyable.


#245 tibone

tibone

    Shizz JediMaster

  • Members
  • PipPipPipPipPipPipPipPip
  • 4,428 posts

Posted 12 June 2018 - 10:16 AM

You want to manage systems through ssh, using a GUI. Sorry, i completely misunderstood the original question.

 

I've built my own dashboard for that. Using PHP to handle the ssh functions and dear old html+css for the gui.

Also, that way, i can have a centralized place for everyone in the team to work from, also it's mobile friendly, and only one codebase for all systems (we have both linux and windows stations here).

 

My dashboard is very simple, but it works okay. I'm using asyncronous jquery to update the "modules" i created in php, without having to refresh the whole page. I know that should've used pure js, but in this case, since it's all lan, jquery is faster for me to develop and the overhead is not a problem.

 

Take a look at the php ssh2 extension (which is what i used).

 

http://php.net/manua...sh2-connect.php


  • 0

Can you Jam with the Console Cowboys in the Cyberspace ?

 


#246 Ken Oh

Ken Oh

    Cuck Buddy GroGro

  • Shizzadmin
  • PipPipPipPipPipPipPipPipPip
  • 8,973 posts
  • Location:Bodymore, Murderland

Posted 13 June 2018 - 03:10 AM

Thanks, guys. I see now there's a bunch of ways to go about this. Everything that my work dev team builds is browser-based, even if it looks like a client application, so it might be something like that. If it goes with that, fine. But what you guys let me know is there are GUi frameworks out there and I don't have to build everything from scratch. Thanks for that.
  • 0

banner.png


#247 Sagnewshreds

Sagnewshreds

    Shizz JediMaster

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,436 posts
  • Location:New York City

Posted 13 June 2018 - 06:46 PM

I like Node. Also a lot of people I know in the .NET community have been shifting to building micro services in Node, and just generally using more JS/TypeScript. In terms of hiring people, you'd probably have a better time looking for Node devs than Go devs. I guess I just don't like Go because every brogrammer douche I know has a Go-superiority-complex, but it handles concurrency really well. 

 

JavaScript is only a garbage language because it maintains backwards compatibility with previous versions of the language so every website doesn't break all the time when browsers update. But the newer ES6/ES7 versions of the language are pretty good. Anyway I'm mostly a Python dev so I don't really care what you do :P That's just my take. 

 

Also postgres rules. 


  • 1

#248 Ken Oh

Ken Oh

    Cuck Buddy GroGro

  • Shizzadmin
  • PipPipPipPipPipPipPipPipPip
  • 8,973 posts
  • Location:Bodymore, Murderland

Posted 13 June 2018 - 08:18 PM

I like Node. Also a lot of people I know in the .NET community have been shifting to building micro services in Node, and just generally using more JS/TypeScript. In terms of hiring people, you'd probably have a better time looking for Node devs than Go devs. I guess I just don't like Go because every brogrammer douche I know has a Go-superiority-complex, but it handles concurrency really well. 
 
JavaScript is only a garbage language because it maintains backwards compatibility with previous versions of the language so every website doesn't break all the time when browsers update. But the newer ES6/ES7 versions of the language are pretty good. Anyway I'm mostly a Python dev so I don't really care what you do :P That's just my take. 
 
Also postgres rules.


Well, what about Python with something like Qt?
  • 1

banner.png


#249 Katamari

Katamari

    Shizz Captain

  • Members
  • PipPipPipPipPipPipPip
  • 1,719 posts
  • Location:Maryland

Posted 18 August 2018 - 03:58 PM

I've realized that every single computer/programming thing that I've been afraid of is not as bad as I made it out. I was scared of libraries for years when I started programming, I was scared of frameworks until I took a webdev bootcamp using Express (which also cured my fear of server technologies utilizing Node), and now I'm learning C which always loomed over me like some holy grail of programming that you needed to have a PHD to even use (which is the farthest thing from the truth, lmao). If I had been experimenting with all of these levels of tech back right when I was starting college then I would be so much farther along :'(

 

But!! There is no reason to mull on what could have been and only to instead focus on improving the present and the future. And the future looks bright :)

 

The next "scary imposing tech" that I see on my horizon currently is machine learning, but it can't be that hard if a bunch of Twitter jokesters can feed Olive Garden scripts to a robot and get 500k retweets.


  • 1

<tibone> 120bpm in 4/4
<tibone> PROG AS FUCK

 

sfWV4OE.png1306536299140-dumpfm-DurkFunk-katamari_pkirby_roll_by_spazmaster6000-d6bt3h3.gif0Pn6mR8.png  JIEXWZw.png
PC Game Metal


#250 Sagnewshreds

Sagnewshreds

    Shizz JediMaster

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,436 posts
  • Location:New York City

Posted 14 September 2018 - 07:21 PM

Yo Katamari I actually started with C! It was the most frustrating thing ever, but the moment I wrote code that worked I was like "WHOA I can tell this computer what to do!" I am still terrified of having to write code that close to the machine though. I was less afraid of C when I started than I am now lmao.

 

Also I was just thinking about how much I love the JavaScript community. For all the faults of the language and all of the haters, every time I go to a JS conference or meetup everyone is so nice and it's so much fun! I went to JSConf a few weeks ago, and I am kicking myself in the ass for not going before. That was literally the best conference I've ever been to. The content was amazing, it was really well organized, the people were awesome, and it was a lot of fun! There were so many dips in the hotel pool too where we all bought the convenience store connected to the hotel out of their beer/alcohol at like 2am (not literally but it felt like it). Oh and I finally got to try a California burrito in San Diego (and then saw Bit Brigade and hung out with the BB/KDB boiz, Daemon, and Linda!) Good shit! The only thing that stresses me out is how often paradigms shift in the JS community in terms of popular frameworks and stuff. That doesn't actually matter for most engineers, but part of my job is to keep up with the newest hot stuff™ so whatever.

 

Also for Python, there's this really cool thing called uvloop using asyncio that puts Python up there with Go in terms of speed/concurrency. They even made a Flask-like web framework for it called Sanic, because it goes fast. I also contributed to their docs last year! Yay open source! But I have been kind of burned out on technology so I've not been keeping up as much. I think my chops are suffering for it because some basic shit that used to come second nature to me is starting to feel more difficult. I should start a new side project or something.

 

Anyway I just felt like I wanted to rant about technical stuff on theshizz because I haven't in a while.


  • 2

#251 raubhimself

raubhimself

    CHAOS SPECIALIST

  • Shizzadmin
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 35,570 posts
  • Location:Phoenix, AZ

Posted 14 September 2018 - 08:40 PM

I should try to attend JSConf next year.
  • 1
sanitize.deodorize.pulverize
MINIBOSSIES NEVAR SAY DIE!
Good-Evil.net
 

'the smuggest amongst us will always be the quickest to point out the most minor transgressions of others around them'- a quote i just made up and put quotes around to make it seem slightly fancier


#252 tibone

tibone

    Shizz JediMaster

  • Members
  • PipPipPipPipPipPipPipPip
  • 4,428 posts

Posted 15 September 2018 - 07:22 AM

I should start a new side project or something.


Make a demo for the NES or another retroconsole, nothing keep you on your toes in terms of memory management, then having close to memory available. It's frustrating, but when it works, it's rewarding as fuck.
  • 0

Can you Jam with the Console Cowboys in the Cyberspace ?

 


#253 Katamari

Katamari

    Shizz Captain

  • Members
  • PipPipPipPipPipPipPip
  • 1,719 posts
  • Location:Maryland

Posted 16 September 2018 - 07:36 AM

I'm taking an Operating Systems Design course online for my bachelor's, which is the reason I started learning C. The assignments have the option of being written in C, C++, C#, or Java, and this latest one had a bunch of aspects of it that would have been so easy to write in a typical OOP language, but since I want to be "teh 1337" I decided to put my C skills to the test and power through it. It turned out pretty sweet, taking me maybe 6 hours to get the whole thing up and running. About half of that was me learning how to read from a file, parse input strings correctly, and load that into a struct (containing ints, pointers, and pointer pointers). This is what really was the most "C" part of the project, since pointers and structs aren't a thing in Java, which I'm most experienced in. The other half was implementing a recursive Banker's Algorithm (and then slamming my head against a wall for an hour because i had made a typo). Luckily I had spent all of Friday's drive home from work mentally devising how the algorithm would function, so I could just take the psuedocode and write it out with few changes. I'm pretty proud of how well I was able to design the function just in my head :lol:. I've already turned in the assignment, but I'm thinking I might go back to refactor some of the code to make it run better and use less memory.

 

I'm almost done with the C book that I'm reading, and maybe once this course is done and I have some free time I'll mess with the microcontroller I bought (or take tibone's idea and work on some suuuper low level hardware, I also bought the PICO-8 and have been thinking of trying to do some stuff in that, although it only pretends to be low level)


  • 6

<tibone> 120bpm in 4/4
<tibone> PROG AS FUCK

 

sfWV4OE.png1306536299140-dumpfm-DurkFunk-katamari_pkirby_roll_by_spazmaster6000-d6bt3h3.gif0Pn6mR8.png  JIEXWZw.png
PC Game Metal


#254 SSS key

SSS key

    Shizz Captain

  • Members
  • PipPipPipPipPipPipPip
  • 1,617 posts
  • Location:WA

Posted 26 September 2018 - 11:55 AM

I haxd github

 

 

 

 

zLWMqb3.jpg


  • 0
Bingo... O ho ho ho!!

#255 ryuhayabusa

ryuhayabusa

    Shizz JediMaster

  • Members
  • PipPipPipPipPipPipPipPip
  • 3,582 posts
  • Location:Yellow

Posted 26 September 2018 - 05:45 PM

I'm becoming a victim of Stockholm Syndrome, I'm afraid. I both love and hate being tethered to RM/COBOL-85 now. What's next? FORTRAN?


  • 0

<ZioMatrix589> Everyone, watch out for RYU HACKABUSA!

Chip Tunes has revived them all.




Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users