orac

joined 1 year ago
[–] [email protected] 1 points 4 months ago (1 children)

thanks so much for your help.

[–] [email protected] 1 points 4 months ago
[–] [email protected] 1 points 4 months ago* (last edited 4 months ago) (5 children)

I am no git- expert; I mostly just branch and commit, that's the extent of my knowledge. Can you point me into the direction of some information regarding this (specific commands I could use?)

And 'Odd' is an understatement ;P these files are fairly old (I oldest was made in 1999 and the last version was from 2002) and the client was lucky they found the initial set and the last version on separate backups (floppies !). What we initially did was commit the initial version and then overwrite them with the latest version and commit again. So we now have a git history of the difference between the originals and the revisions. My job is to check if the final version is correct e.i either conform the work specification of the time (report), or any of the revisions (as-built) since then. And then create a comment that can be read by both the operator console and the archive-system. My best guess is someone's nephew created this program because why anyone would use XML for this is beyond me, although I guess in 1999 this was state-of-the-art? And no one wants to touch that codebase with a 5ft pole, lol. Anyway, the comments are parsed in a specific and precise way.

EDIT: As for your question about #ACCEPTED. The rules are "simple" each comment should start with either %ATTCHANGE, %REM, %ADD or %NOTE then 2 colons, then the old element (complete) or the ols attribute (seperated) or the note, then again 2 colons and last either #ACCEPTED, #DENIED or #REVIEW. Reveiw is followed by any text explaining why it needs reviewed, and denied and accepted are followed by either "see report xxxxx" or "as-built xxxxx" where xxxx is some reference.

[–] [email protected] 2 points 4 months ago (7 children)

They are XML files and changes would be things like added or removed elements or changed attribute values. So e.g.: Version 1:

[...]
<Dynamo vendor="Siemens" max-rotation=12>
[...]
<Light colour="white">
[...]

Version 2:

[...]
<Dynamo vendor="Siemens" max-rotation=16>
[...]

The comments would look like:

[...]
<!-- %ATTCHANGE :: max-rotation=12 :: #ACCEPTED see report 12.24/2 -->
<Dynamo vendor="Siemens" max-rotation=16>
[...]
<!-- %REM :: <Light colour="white"> :: #ACCEPTED see report 12.24/4 -->
[...]

I make the changes while going through the report (hardcopy only) which is basically an engineering report that outlines changes made to a factory (12.24/4 means chapter 12, section 24 item 4 which would list the old and new device/machine or the changes made etc. in a technical manner). It's manual work, which is fine (I get paid by the hour). Just want it to be a bit more streamlined.

[–] [email protected] 3 points 4 months ago* (last edited 4 months ago) (10 children)

I tried that, it has different ways of looking at a diff/history, but none where you can just have it open while still working (unless you do split I suppose, but that is not practical as I need to go through hundreds of files. But perhaps it helps if I describe the problem. Maybe there is another solution I am not thinking of: I have almost 2000 files that all have had 1 change (so there is an initial commit and a recent version). What I need to do is go through each file and add the changes made to the file as a comment. So what I would like is: When I open a file, see immediately which lines were changed., and then be able to see what it was that changed so I can either copy/paste or retype it as a comment. Each change I review and I either add a #ACCEPTED, #DENIED or a #REVIEW to the comment as well.

So having to switch to different views and opening/closing tabs for each file is something I would like to avoid. Just open the file, see what I need, type and close the file again.

 

I need to be able to see the difference between the current working file and the previous commit as I am editing the file. The only history plugins I can find either use pop-ups (which disappear when I start typing) or a dedicated diff-view which takes up too much space on my small monitor.

[–] [email protected] 4 points 5 months ago (1 children)

Thanks. I will probably end up keep using gimp and krita.

[–] [email protected] 9 points 5 months ago

Looks interesting, hadn't heard from it. Thanks.

 

I managed to get Photoshop CS6 installed on Lutris, using the script on their site. The problem is however, that whenever I open a file (doesn't matter if it is jpg, png, psd, etc.) the screen remains black. I can see the picture in the Layer thumbnail, but not in the main work-area. Does anyone know what the problem might be? (Also, sorry if this is the wrong place to ask).

[–] [email protected] 2 points 6 months ago

This does not remember the position of each individual window, though. i.e. all programs will (still) open on the same position.

[–] [email protected] 28 points 6 months ago* (last edited 6 months ago)

Personally I self-host on a raspberry pi. It took me a few weeks to setup, but it has been running without problems for almost 2 years now at practically no cost (beyond purchase and electricity).

[–] [email protected] 36 points 6 months ago (5 children)

Are you familiar with the theory of predictive processing? If not, look it up esp. In relation to autism. Tldr: human brains do not process information to form an image of the world, but we predict what the world may look like at any given moment. We use our sensory input only to correct errors in our prediction. There are two thing at play with autism here. 1. We are aware of more errors than NTs (inability to sift critical errors from non-critical ones) 2. When human brains detect an error it can choose to believe the input or the prediction. NT brains assign higher value to normative rules (sometimes they value input more and other times the prediction (internalized belief)) While autistic brains give more value to sensory input. Anyway, this is what I know of the current state of neurological difference, but I'm no scientist.

[–] [email protected] 6 points 8 months ago (2 children)

I tried lsd once in my tweens. Didn't really like the trip itself but remember feeling good for a week afterwards. Never tried shrooms. Might consider it. Just not sure where to get it (safely). Thanks for the advice.

 

I recently built a new pc and since I switched from Windows to Lunux (Kubuntu) I got an amd gpu (6700 XT). Because people told me it is less of a hassle than Nvidia. It works fine out of the box, but the choice of drivers confuse me. For gaming is the default amdgpu good enough? Is amdgpu-pro the same as the official Radeon drivers from amd? Are they better for gaming? Is Mesa yet another driver or something in addition to a driver? Why are there no settings/gui anywhere (using the default amdgpu)?

 

Inclusion is when everyone can be who they are and together you form a community. But that is not how inclusion seems to work in today's world. It seems more to be about 'participation' which is like 'adapt to our way of life so you can join us'. I am 54, and only since the past 7 years have I sought professional help (beyond psychologists, which I have had since I was 15). And in those 7 years I have noticed a disturbing pattern of something I can only describe as victim-blaming. It's like they say "we have methods and systems, if they don't work; well, that's because of you." The system seems built around avoidance of responsibility; pushing consequences down instead of up. They keep moving the goalposts and gaslight when you confront them. I don;t know how to deal with it anymore.

223
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

I used linux in the past, both privately and work-related, but the last time was over 10 years ago, so I'm a bit out of touch. I am in need of a new PC, but it'll be a good year before I have the funds, so for now I am making due with an i5 7500 and a gtx 1660. I do have 32 GB so there's that. I finally feel confident enough to make the permanent switch to linux from windows as all of the programs I use are either available on linux or have a good/better equivalent. The only thing I fear will hold me back is games. I know Steam has Proton now which will run most games, but how does it compare? The games I play most are Skyrim (heavily modded) , RDR2, Witcher 3, Transport fever, Civilization, Crusader kings 3 and Cities Skylines (uninstalled atm waiting for 2). I'm on the fence to either wait until I can afford a new PC and dual boot or make the switch now and deal with a few gaming problems. Thing is, what kind of problems may I expect? Anyone able and knowledgeable to give me some advice?

EDIT: Wow, those are a lot of replies; thank you everyone! You really helped me. I will make the switch sooner rather than later.

 

Ik heb zelf in de jaren 90 eens een vrijstaat uitgeroepen. Ik snap deze mensen heel goed. Wel vervelend dat ze blijkbaar rechts-extremistisch zijn. Ik stem altijd links en "mijn vrijstaat" ging vooral over vrijheid en gelijkheid, niet over individualisme. Wat me vooral kwaad maakt in deze rapportage is dat iedereen spreekt over verplichtingen alsof het een natuurverschijnsel is. Onze natuurlijke staat is die van een zoogdier in een natuurlijke omgeving zonder (sociale) constructies. Niemand heeft gevraagd geboren te worden. Regels en wetten zijn uiteraard nodig om een overbevolkte wereld in goede banen te leiden, maar controleer wel even vooraf of een persoon aan die regels en wetten wil en kan voldoen voordat je het door hun strot boort. Feit dat deze beweging bestaat geeft m.i al aan dat het systeem faalt op een heel primair en basaal niveau.

view more: next ›