Jump to content


Photo

Programmer shizzies


285 replies to this topic

#256 Wild_Cat

Wild_Cat

    Shizz Captain

  • Members
  • PipPipPipPipPipPipPip
  • 1,266 posts
  • Location:Montreal, QC

Posted 23 May 2018 - 02:28 PM

Node is a horrible technology built upon a festering pile of rot. The only way you could get worse than Node would be to switch to PHP. Avoid at all costs.

To elaborate: Javascript, as a language, is so poorly-designed that the only reason you'd ever want to use it is that you need something that runs inside a web browser, where JS is your only choice. Why you'd want to inflict it upon yourself on the backend, where your alternatives are pretty much every programming language, escapes me.

If you want to update your backend skills with something hype-driven, learn Go.

Also, having professional experience with MongoDB and MySQL: if you think you will at any point in time need something that even remotely looks relational, go for Postgres. Otherwise Mongo is fine.
  • 3

#257 raubhimself

raubhimself

    CHAOS SPECIALIST

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

Posted 23 May 2018 - 02:41 PM

Point taken even though I don't vehemently hate JavaScript like you  :lol:


  • 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


#258 nEwT

nEwT

    Shizz Master Zero

  • Members
  • PipPipPipPipPipPipPipPip
  • 6,694 posts
  • Location:Guadalajara, Jalisco, México

Posted 23 May 2018 - 02:50 PM

So... I'm shifting my career focus to development. SO. MANY. PATHS. TO. TAKE.


That's fine tho.
  • 1
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.


#259 mooniniteG

mooniniteG

    Sleeveless

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 12,548 posts
  • Location:Seattle, WA

Posted 23 May 2018 - 03:40 PM

Point taken even though I don't vehemently hate JavaScript like you  :lol:

 

If you go the JS route, is TypeScript an option?

 

Spoiler


  • 0

T-Square_Bulbasaur_Bowie_zps3zwvagzu.jpg


#260 raubhimself

raubhimself

    CHAOS SPECIALIST

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

Posted 23 May 2018 - 03:55 PM

It is, I just don't really like TypeScript. 


  • 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


#261 Katamari

Katamari

    Shizz Captain

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

Posted 24 May 2018 - 05:10 PM

Downvote, node is fine

 

I tried to turn my company on to node+express for their web dashboard tech but the government is only allowed to use coldfusion apparently

 

 

 

¯\_(ツ)_/¯

  • 0

<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


#262 Ken Oh

Ken Oh

    Cuck Buddy GroGro

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

Posted 11 June 2018 - 10:45 PM

In 2018 CE, how would I make a (Windows) desktop GUI program that SSHs into a bunch of servers and reads/writes a bunch of shit?


  • 1

banner.png


#263 mooniniteG

mooniniteG

    Sleeveless

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 12,548 posts
  • Location:Seattle, WA

Posted 11 June 2018 - 10:59 PM

Do you have access to Visual Studio? If you do, here's a wild stab in the dark:

 

Visual Studio + SSH.NET + WinForms (if you want quick and dirty) / WPF (if you want to spend more time to make it pretty)

 

I'm sure Raub or Wild_Cat will have more to offer.


  • 1

T-Square_Bulbasaur_Bowie_zps3zwvagzu.jpg


#264 Ken Oh

Ken Oh

    Cuck Buddy GroGro

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

Posted 12 June 2018 - 03:52 AM

I don't exactly know what I'll have access to. WPF is really fucking interesting. Thanks for that.

OK, so this is for work. I deal with a bunch of high availability Linux servers (read: outages more than 5 minutes = people in charge get woken up even at 3am) spread out globally. I have a bunch of Putty terminal scopes (constantly refreshing displays) that work wonderfully except for a couple of points: I usually have to bring any newbs up to competency with Linux (and, if they've got a case of the dumbs, they may never fully get there....which is about half my team at the moment) and having to open up 50 Putty sessions each day (and whenever some layercake fucking military network loses connectivity for an instant....which is quite often) fucking sucks. A GUI client would help with both of those. My boss thinks I don't want one because I'm Linux Dude Numbaa One. That's not the case. I just don't want it to be done shittily, as I've seen it be done with another system very much like ours.

Everything I've coded has mainly been text mode or at least static graphics. I've not done a constantly refreshing, interactive, GUI interface. To be fair, I would do most of the processing in Bash/Perl on the side of the servers. From there they would just present the GUI files to check and the GUI can display things however it will.

I know my boss wants this very badly. I just don't know if he'd be cool with letting me make it since software engineering is a different team. He wants to pawn it off onto a company that already does some stuff on the servers, but I use one GUI app they've made for a small sub-system and it's steaming hot garbage. I'm hoping my boss would have some other team lend me the framework with which to work, but I want to research it a bit so I have something in my back pocket if needed.
  • 0

banner.png


#265 tibone

tibone

    Shizz JediMaster

  • Members
  • PipPipPipPipPipPipPipPip
  • 4,227 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 ?

http://tibone.bandcamp.com

 


#266 Ken Oh

Ken Oh

    Cuck Buddy GroGro

  • Shizzadmin
  • PipPipPipPipPipPipPipPipPip
  • 8,751 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


#267 raubhimself

raubhimself

    CHAOS SPECIALIST

  • Shizzadmin
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 35,281 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


#268 nEwT

nEwT

    Shizz Master Zero

  • Members
  • PipPipPipPipPipPipPipPip
  • 6,694 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.


#269 tibone

tibone

    Shizz JediMaster

  • Members
  • PipPipPipPipPipPipPipPip
  • 4,227 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 ?

http://tibone.bandcamp.com

 


#270 Ken Oh

Ken Oh

    Cuck Buddy GroGro

  • Shizzadmin
  • PipPipPipPipPipPipPipPipPip
  • 8,751 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




Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users