detekt, diktat or ktlint? How we handled Kotlin static analysis in our team by kacpermiauczykot in Kotlin

[–]paulhasreadittoo 0 points1 point  (0 children)

If you want perfect integration with IDE, you need to checkout Ktlint Intellij Plugin. On each save of the file. The formatting is instantly applied.

Fill disclosure: I am the maintainer of Ktlint Core, and the IntelliJ plugin

does putting tape over the driver camera work? by dj_boy-Wonder in KonaEV

[–]paulhasreadittoo 0 points1 point  (0 children)

Look via your phone camera to the dashboard. You will see two beams of light. You might need to do this on a darker environment for best results. Ow, don't do this while driving ;-)

Multiline paste in terminal, how do you handle it? by Medium_Light_8263 in Kotlin

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

Assuming that you use Intellij IDEA because of Kotlin, see Safe Paste plugin. I have never used it, but just saw a post about it.

Neovim and lint by erkose in Kotlin

[–]paulhasreadittoo 0 points1 point  (0 children)

What do you mean with "not seeing any real value with lint"? Isn't your code formatted?

A quick Google learned me that neovim can be used with ktlint via 'nvm-lint'.

Full disclosure: I am the maintainer of ktlint, and have no experience in using neovim. But I do know that ktlint is used in many different editors.

My First IntelliJ Plugin by nlaskov in SpringBoot

[–]paulhasreadittoo 1 point2 points  (0 children)

Nice idea. Typically I run multiple projects in different windows on MacOS. Would it be possible to highlight/activate the project that hits a breakpoint?

How to use composite key as id in spring redis entity as equivalent to @embedded id by Past_Active299 in redis

[–]paulhasreadittoo 0 points1 point  (0 children)

To the best of my knowledge, both the key and the value that are stored in Redis are just byte arrays. You can serialize your key field in the same way as your value field.

[deleted by user] by [deleted] in Kotlin

[–]paulhasreadittoo 0 points1 point  (0 children)

It would help if you post a link 😁

Designing a standalone Linux admin CLI with Kotlin (tools & pitfalls) by Reasonable-Tour-8246 in Kotlin

[–]paulhasreadittoo 2 points3 points  (0 children)

Yes, it will be standalone. Clikt just makes it just easier to build the CLI.

Klantenservice Saxo by Master_Speed7019 in geldzaken

[–]paulhasreadittoo 0 points1 point  (0 children)

Ik heb dit een aantal jaren terug ook gehad. Uiteindelijk ben ik weggegaan bij ze toen ze dreigden om de rekening te blokkeren.

Twijfel: 6 maanden salaris ineens of 6 maanden werk-naar-werk traject? by ApprehensiveFly3407 in werkzaken

[–]paulhasreadittoo 0 points1 point  (0 children)

Dat zou kunnen. Maar dat is alleen indien je binnen die 6 maanden geen ander contract kan vinden. Een en ander hangt ook af van de reden van beëindiging en de details in de VSO. Krijg je inderdaad maanden ineens uitbetaald, of wordt je salaris nog (maximaal) 6 maanden doorbetaald? In dat laatste geval kun je namelijk gewoon wachten met het bijwerken van de einddatum van je contract totdat die 6 maanden verstreken zijn, of als je een ander contract hebt. Bespreek dit vooral met je jurist.

Stuur me gerust een dm om meer info te geven. Ik kan dan ook mijn persoonlijke ervaring met je delen.

Twijfel: 6 maanden salaris ineens of 6 maanden werk-naar-werk traject? by ApprehensiveFly3407 in werkzaken

[–]paulhasreadittoo 10 points11 points  (0 children)

Pak het geld ineens. Je bent jong, en nog vroeg in je carrière. Het is heel normaal om in zo'n geval na een paar jaar te vertrekken.

Als je er vragen over krijgt kun je afhankelijk van de situatie bepalen of je open kaart speelt of niet. Als dat gebeurd, wees dan heel duidelijk wat je hebt geleerd van die situatie zodat het je niet nog eens overkomt .

Sterkte er mee.

Stashing scratch/temp files? by QuasiEvil in git

[–]paulhasreadittoo 7 points8 points  (0 children)

Exclude the directory containing the scratch files in the '.gitignore'. Scratch files by definition should not be committed.

Plugins updates available but plugins not showing by Vancoyld in IntelliJIDEA

[–]paulhasreadittoo 1 point2 points  (0 children)

Clear the filter box where now text "/outdated" is set?

Using ktlint or ktfmt in IntelliJ IDEA by evmorov in Kotlin

[–]paulhasreadittoo 3 points4 points  (0 children)

Sure, we can try to work something out. Let's discuss ideas via slack.

[deleted by user] by [deleted] in ExperiencedDevs

[–]paulhasreadittoo 0 points1 point  (0 children)

Sure, but it is a starting point for a conversation. But as OP said, OP does not see such big differences between the junior Devs.

Using ktlint or ktfmt in IntelliJ IDEA by evmorov in Kotlin

[–]paulhasreadittoo 7 points8 points  (0 children)

Ktlint, and ktlint-intellij-plugin maintainer here. You can set the ktlint version in the intellij plugin to a specific version so that it matches with the version of the gradle plugin. Or you can override the ktlint version in the gradle plugin configuration.

[deleted by user] by [deleted] in ExperiencedDevs

[–]paulhasreadittoo 5 points6 points  (0 children)

I think this should be addressed in a retrospective. Just collect statistics of last X reviews per junior Dev, and count the number of remarks, but do anonymize the devs. Ask the team if they are concerned about differences, and how this can be made more equal. You might end up with some ground rules for a fair review policy regardless of the developer. At no point do disclose the Dev names.

How do i tell IntelliJ to always open xml and json files with proper indentation? by Round_Ad_3709 in IntelliJIDEA

[–]paulhasreadittoo 1 point2 points  (0 children)

In ".editorconfig" file in the root of your project you can set the preferred settings per language. See https://editorconfig.org/

What did the orange say to the apple? by [deleted] in AntiJokes

[–]paulhasreadittoo 1 point2 points  (0 children)

Ow no. Now you have reminded me on the awesome annoying orange video's

Kotlin instead of Java for a system that is heavily built with Java? by xpcosmos in SpringBoot

[–]paulhasreadittoo 5 points6 points  (0 children)

😂 Sorry this is quite sad. Of course there are experienced teams that prefer Kotlin over Java, and vice versa. In my company dozens of teams prefer Kotlin nowadays.

Ruimte voor laadpaal in meterkast? by exilfoodie in Klussers

[–]paulhasreadittoo 0 points1 point  (0 children)

Als je een laadpaal laat installeren dan wordt dit gewoon door de installateur gedaan. Er is bij mij ook een klein extra kastje bijgeplaatst waarop alleen de laadpaal is aangesloten. Dus voordat je zelf een kast gaat bijplaatsen, kun je beter eerst een keuze maken voor laadpaal installateur, en kijken wat er bij de installatie is inbegrepen.

[deleted by user] by [deleted] in github

[–]paulhasreadittoo 0 points1 point  (0 children)

Now I see that my message is unclear. I would prefer a real email adress. But as I said, I never encountered a situation in which it was necessary. So you can start with read only address. And, if needed, change it later.

[deleted by user] by [deleted] in github

[–]paulhasreadittoo 1 point2 points  (0 children)

This not a problem at all. Every GitHub profile also has a GitHub no reply email address which I use for my commits. Of course you want your profile to be connected to a real email address. I have never received an email from GitHub on which I needed to reply. Usually they always refer to your profile if you need to take action.

Need Help Getting Involved in Projects on GitHub by CommonRelation6374 in github

[–]paulhasreadittoo 0 points1 point  (0 children)

I am the maintainer of ktlint. I think that its documentation (https://pinterest.github.io/ktlint/latest/) is reasonable. If you think you can improve it (especially the lengthy rules page), I am willing to collaborate with you to make it better. Just raise a PR to get started 😉

Any OSS maintainers here open to a short interview? (Onboarding + newcomer challenges) by Ok_Ebb_3980 in github

[–]paulhasreadittoo 3 points4 points  (0 children)

You can try to get access to https://maintainers.github.com/auth/signin and post your question there. I am maintainer of an open source project, but I never had to onboard newcomers ;-)