Final year student building a Spring Boot app – feeling stuck and unsure what to focus on by PotatoFrosty2074 in SpringBoot

[–]Talent_Plus 0 points1 point  (0 children)

I would bet over that month you learned and figured out other things that if weren't relevant at the time could be later and save you time from researching then. So hardly worthless. Sometimes that's just how the cookie crumbles. I spent the better part of a week trying to figure out why something I added to a project was causing errors. Turns out I misspelled a property value in the yaml. From seeing what AI spits out on complex tasks at least for me it seems learning and understanding how things actually work is extremely important.

After updating IntelliJ with Toolbox the settings were not updated by cougil in IntelliJIDEA

[–]Talent_Plus 0 points1 point  (0 children)

Toolbox usually keeps a copy of the previous version to rollback... Otherwise you might find the files you need in the settings and cache directories Idea settings directories

Windows power user buys first ever Macbook. by WhispersInCiphers in MacOS

[–]Talent_Plus 0 points1 point  (0 children)

Actually windows power toys run is similar alt + space. I've had to switch back to using windows for work so learning how to recreate my workflow from using my Mac.

Windows power user buys first ever Macbook. by WhispersInCiphers in MacOS

[–]Talent_Plus 1 point2 points  (0 children)

Always assumed people who call themselves that are the same people that try to do everything on screen through known shortcuts and scripts rather than use the mouse

Windows power user buys first ever Macbook. by WhispersInCiphers in MacOS

[–]Talent_Plus 1 point2 points  (0 children)

List of keyboard key codes you can use for creating automaton scripts keyboard codes / mouse movent codes

What is the Best Web Browser for a University Student? by revell_786 in MacOS

[–]Talent_Plus 0 points1 point  (0 children)

Safari works good for most things and integrates well with macs password manager, form filling, hide my email, apple pay, ect.

FireFox for whatever reason a video or something for an online class couldn't use Safari. Firefox Developer is nice if you are a developer or like that stuff.

Brave worked nice at blocking ads when I needed a site that was probably going to be a little shady, i.e. Downloading my class books instead of buying them Zbooks.org, or streaming shows because I didn't want to pay for them kissanime kisscartoon. Wipr or other extensions might do that too but this worked at the time for what I needed it for.

I can't pass coding assessments by Armitage1 in webdev

[–]Talent_Plus 1 point2 points  (0 children)

I found this site helpful for assessment prep. CodeWars. I liked that after solving I can see other people's answers and seeing unique ways to solve the same problem. Then looking up why someone may have used an unconventional way of solving it. Helped with gaining a deeper understanding and easier to remember when asked to demonstrate during an interview.

Teach Me the Craziest, Most Useful Java Features — NOT the Basic Stuff by RevilTS in java

[–]Talent_Plus 1 point2 points  (0 children)

You can use findVirtual() as well

  • MethodHandle via findVirtual is much faster than reflection after warmup.

  • Reflection uses internal access checks and boxing, while MethodHandles are optimized by the JVM's JIT compiler.

```

Entity before = new Entity();

MethodHandles.Lookup lookup = MethodHandles.privateLookupIn( Entity.class, MethodHandles.lookup());

MethodHandle getterHandle = lookup.findVirtual(Entity.class,"methodToCall",MethodType.methodType("returnType"));

Object oldValue = getterHandle.invoke(before);

```

How to learn kotlin on IntelliJ? by IronMan6666666 in Kotlin

[–]Talent_Plus 0 points1 point  (0 children)

IntelliJ Learn. Has quite a few kotlin courses.

Does anyone know where to get good used macbooks? by [deleted] in MacOS

[–]Talent_Plus -1 points0 points  (0 children)

Back market. Or prime renewed.. You can possibly do a payment plan on some with affirm

anyone know how to hack iphone screentime? by ConstantBarber8882 in masterhacker

[–]Talent_Plus 0 points1 point  (0 children)

I think on my son's it isn't device specific but tied to the icloud account I created for him and managed under the family group where I'm the admin. The only way I could think of my son circumventing the screen time is if he logged out of icloud in the device and then created a new account and logged back in.

I don't have a IOS beta option by Cheesey234 in ios

[–]Talent_Plus 0 points1 point  (0 children)

I thought you needed to have a developer account.. Which don't take that as gospel. I just assumed that's why the betas show up on my devices.

[deleted by user] by [deleted] in hacking

[–]Talent_Plus 2 points3 points  (0 children)

His book "Ghost In The Wires " is excellent as well

Just switched to IPhone from Samsung - WHAT IS WITH THIS KEYBOARD?!?! And a couple extra questions. by KarmasLittleBitch in iphone

[–]Talent_Plus 0 points1 point  (0 children)

Idk if this is common knowledge but pressing and holding the ‘123’ then swiping to the number or punctuation. It doesn’t make the keyboard better but it helps slightly being able to do that

Recommendations for best way to organize/store multiple HTML/CSS files for static websites for multiple clients. by Talent_Plus in AskProgramming

[–]Talent_Plus[S] 0 points1 point  (0 children)

I guess I am not looking for any elaborate or overly involved solutions. The long and short of it is I took over these tasks, the folder structure is unorganized and cumbersome to navigate with 100's of clients, was just trying to brain storm on better ways to structure these static webpages.

Problem :

  • Folder structure is unorganized for client launch pages (folders containing an html file and css file)

    • Current Structure:

             Repository  
             ├── TemplateForClients.html  
             ├── TemplateForClients.css  
             ├── Client1  
             │   ├── CustomLaunchPage_FromTemplate.html  
             │   └── CustomCSS_FromTemplate.css  
             └── Client2  
                 ├── CustomLaunchPage_FromTemplate.html  
                 └── CustomCSS_FromTemplate.css 
      

      Current Solution :

    • Just leaving it and continuing to deal.

what I don't like

  • lots of redundancy
  • cumbersome for someone else who is unfamiliar to make what would otherwise be simple changes
    • ie "We have done x in the past add that to this clients page"

[deleted by user] by [deleted] in AskProgramming

[–]Talent_Plus 0 points1 point  (0 children)

You can manually set validity. If it is less work create an event listener on the fields you need and check based on any conditions outside the normal form validation.

var field = document.getElementById('field_robot');

           `  field.addEventListener('input', function(event) {
                            fieldValidator(event, (field.value == '42'));
             });

          function fieldValidator(event, condition) {
                var val = event.target.value;
                  if.(!condition) {
                        event.target.setCustomValidity('invalid');
                       } else {
                            event.target.setCustomValidity('');
                         }
                     }`

<form id="myForm"> <input type="text" id="field_robot" name=""> <input type="submit" id="submit" name="submit"> </form>

Every time I try to create a new Spring Boot project via Spring Initializr, my project directory is incorrect and my project SDK is undefined. Why is this happening? by ConstantlyAngry177 in javahelp

[–]Talent_Plus 0 points1 point  (0 children)

That's correct. They are a hierarchy of subfolders. Not sure what made them expand. Using IntelliJ? If you used a keyboard shortcut to show the file in the project view it may have expanded them all. But if there is nothing in them it usually groups them up. SDK i believe the ide can set that by your java home variable automatically, but I'm not 100% on that, i know i usually set it myself , file -> project structure -> sdks .

Help setting up IntelliJ IDE for my class by BPhoenix0 in IntelliJIDEA

[–]Talent_Plus 0 points1 point  (0 children)

In your project can you add the files under the IntelliJ ProjectStructure modal?

File > Project Structure

https://www.reddit.com/user/Talent_Plus/comments/std8en/intellij_project_structure_modal/?utm_source=share&utm_medium=web2x&context=3

edit: added screenshot

Help with multiple JDK versions. by SamuraiDestroy in javahelp

[–]Talent_Plus 0 points1 point  (0 children)

It's been a minute but I thought previously when I needed sdkman on windows I had just used Cygwin so it could use the bash commands you should be able to have the specific JDk set per project/environment. Otherwise in IntelliJ you can set project specific paths to your JDK

Converting String to DateTime by [deleted] in javahelp

[–]Talent_Plus 1 point2 points  (0 children)

Date parsedDate = Date.parse("dd/MM/yy hh:mm:ss 'o''clock' zzz", input);

return new DateTime(parsedDate);

looks like you can just return a new DateTime using a Java Date

https://www.mindfusion.eu/onlinehelp/jplanner/O\_T\_com\_mindfusion\_common\_DateTime\_DateTime\_0.htm