News for hackers. Stuff that matters.
Re:Getting Your DBA Teams Scripts into Git by fnord123 on Wednesday July 03, 2024 @08:02AM (#40865128)
I've never seen so many screenshots for a git tutorial. Are windows users ok?
Re:Getting Your DBA Teams Scripts into Git by okasaki on Wednesday July 03, 2024 @08:17AM (#40865221)
Have you ever seen a book about a Windows app? 1200 pages, 1000 of them screenshots.

An insane way to do computing.

Re:Getting Your DBA Teams Scripts into Git by tempaway4512641 on Wednesday July 03, 2024 @09:25AM (#40865751)
its how we roll in Windows land, GUIs over command line mostly

true, you need some screenshots to teach someone a new trick

but then when they've done it once they'll remember it because GUIs really help for that kind of stuff

whereas for command line you'll have to google it every single time for the rest of your life unless its something you do regularly

Re:Getting Your DBA Teams Scripts into Git by safety1st on Wednesday July 03, 2024 @09:48AM (#40865937)
...Or just commit the terminal commands and/or resulting dotfiles to git.

Which the GUI paradigm has no built in equivalent to

Re:Getting Your DBA Teams Scripts into Git by humanfromearth9 on Wednesday July 03, 2024 @10:29AM (#40866253)
Equivalent GUI paradigm : macro recording?
Re:Getting Your DBA Teams Scripts into Git by tichiian on Wednesday July 03, 2024 @11:34AM (#40866989)
Not really, at least not in Windows. There are no cross-application macros in Windows, just intra-application ones, and that only for some applications.

It is a little better on MacOS with AppleScript, which can be used to bind different applications together. But not all of them, and it is far from ideal.

In the end, nothing of this is command-line equivalent.

Btw, if you want to see a GUI application that can do really really good macros, learn Blender! E.g. you can bind any button and knob to keyframes to change them in animations. That would be the level of macro-integration required to be CLI-like...

Re:Getting Your DBA Teams Scripts into Git by pjmlp on Thursday July 04, 2024 @04:49AM (#40873402)
I rather roll with Xerox, Dec, Apple and ETHZ way of computing with OLE Automation, COM, WMI, .NET, VBScript and PowerShell REPLs and scripts.
Re:Getting Your DBA Teams Scripts into Git by fragmede on Thursday July 04, 2024 @12:19PM (#40876058)
there's AutoHotKey on windows, among a ton of other automation tools.
Re:Getting Your DBA Teams Scripts into Git by fnord123 on Thursday July 04, 2024 @05:36AM (#40873594)
Until the UI changes and a button moves or is renamed.
Re:Getting Your DBA Teams Scripts into Git by hobs on Wednesday July 03, 2024 @08:12AM (#40865183)
Generally the word DBA has a pretty broad meaning - and one of them is that you were a click admin that got hoisted into being responsible for your database servers, and things like software engineering tools (git, shell scripting in general) are a few years off.

The number of databases I have seen out of source control is too many to count, the number of times I had people who understood SQL very well but couldn't use git worth a damn. Some of them have been modifying the top of the file of a stored procedure for decades

  2024-01-01 hobs - changed even more shit
  2023-07-24 hobs - minor tweaks
  2001-02-04 hobs - created
Re:Getting Your DBA Teams Scripts into Git by cafard on Wednesday July 03, 2024 @02:05PM (#40868509)
I am reasonably confident that Oracle keeps its code under source control, but the PL/SQL packages it supplied start with a lot of this. The package WWV_FLOW, central to the APEX/ORDS product has more than 500 lines like

  --    MODIFIED   (MM/DD/YYYY)
  --      mhichwa   08/04/1999 - Created
  --      mhichwa   09/30/1999 - Removed g_show_reset global
  --      mhichwa   10/09/1999 - Added g_last_query_text global for error reporting
  --      mhichwa   10/09/1999 - Removed g_success_procedure, g_success_url
  --      mhichwa   10/09/1999 - Removed g_step_sub_title_font_color   --
  --      mhichwa   10/14/1999 - Added 10 extra inputs v26 ... v35
Re:Getting Your DBA Teams Scripts into Git by hobs on Thursday July 04, 2024 @12:08PM (#40875962)
Thanks for the good laugh, but yeah, the time before source control is not that far behind some of us.
Re:Getting Your DBA Teams Scripts into Git by shortrounddev2 on Wednesday July 03, 2024 @08:36AM (#40865361)
It's a very old way to use git, too. There's a CLI client for windows which doesn't require the old git bash program or mingw. You can install it via widget, scoop, or chocolatey and run it in windows terminal
Re:Getting Your DBA Teams Scripts into Git by way0utwest on Wednesday July 03, 2024 @01:24PM (#40868088)
It's that lots of db people don't understand anything about VCS period. They don't use them. (it's my piece)