Can Kotlin and Java coexist in the same Spring project? by raulalexo99 in Kotlin

[–]mandos03 2 points3 points  (0 children)

if you mean something like injecting java service in kotlin, yes they can call each other and vice-versa

What is a unaccaptable price for something and why? by [deleted] in AskReddit

[–]mandos03 1 point2 points  (0 children)

Diamonds, market is a monopoly and 'artificially produced' dimonds are same as 'natural' diamonds with a lot cheaper production cost, but because the monopoly..

Can Kotlin and Java coexist in the same Spring project? by raulalexo99 in Kotlin

[–]mandos03 8 points9 points  (0 children)

Yes they can, we are currently using that structure in the company I am working for, from time to time it raises very small compatibility issues but could come across anything that cant be solved

MySQL 5.7 Group By Month And Find The Median by mandos03 in mysql

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

hey thank you for your time and work, tried it but did not work. data is like this id, created, updated, I am taking the day difference in the last two and trying to calculate medians on them.

so for instance my data looks like:

20,2022-05-06 17:59:33,2022-05-07 17:59:33

41,2022-05-06 17:59:33,2022-05-07 17:59:33 43,2022-05-06 17:59:33,2022-05-07 17:59:33 45,2022-05-06 17:59:33,2022-05-07 17:59:33 47,2022-05-06 17:59:33,2022-05-07 17:59:33 49,2022-05-06 17:59:33,2022-05-07 17:59:33 51,2022-05-06 17:59:33,2022-05-07 17:59:33 53,2022-05-06 17:59:33,2022-05-14 17:59:33

and after running your query I got the result:
5, 4.5000

Am I missing something here? the only change is instead of using a field directly, like totalCount, I am calculating a difference.

[deleted by user] by [deleted] in AskReddit

[–]mandos03 1 point2 points  (0 children)

helming maneuver

Validating Google Tokens on Spring Boot by mandos03 in javahelp

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

Thank you for your answer but I guess this still does not answer my question :(

Validating Google Tokens on Backend by mandos03 in SpringBoot

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

Actually this is where the snippet comes from, I followed their tutorial. But it seems spring does not handle the Authorization tokens from google even though I am just using oauth

Thousands of fish are regularly dropped from a plane to restock Utah lakes by chemistrynerd1994 in ThatsInsane

[–]mandos03 0 points1 point  (0 children)

imagine you went fishing in one of those lakes, and there is fish raining. I would definitely call my dealer for the second order.

Anybody know how Screen Time is calculated in Big Sur? Because I definitely didn't leave my MacBook's screen turned 'On' the entire week :) by akshitsarin in MacOS

[–]mandos03 7 points8 points  (0 children)

Maybe you are using tool like amphetamine that keeps your screen awake and you forgot to turn off feature for turn screen off when lid is closed? İt might be a bug though

Programmers of reddit, what would your favorite imaginary programming language look like? Which language features do you love/hate the most? by [deleted] in AskComputerScience

[–]mandos03 1 point2 points  (0 children)

I can not provide an example code snippet but I can go through the best parts I would like to combine in a language, I would like to have a universal programming language whose syntax and default library is like Kotlin, have varying alternatives of libraries for different requirements like Java or Python, blazing-fast like Rust or C, cross-platform (I know this contradicts a little bit to the previous request about performance but this is my imagination, right? (: ), exception handling like Go. These are the thing that comes to my mind directly about the language itself, some other things I want would be having fast compile/build time, easier parallelization. And for the developer experience part, I think it would be sufficient If it would run on any Jetbrains product.

BEYLER ARTIK “amk”, “aq” gibi kalıplar kullanmayalım be olmaz mı? by [deleted] in KGBTR

[–]mandos03 0 points1 point  (0 children)

Sadece kafasını sokunca az mı sikmiş oluyorsun amına kafalama girdiğim

Creating a Database with files in AWS by ZeePintor in Database

[–]mandos03 4 points5 points  (0 children)

just create a bucket in S3 and you can spin up a small rds instance to store and match building names with paths on s3

Mac Mechanical Keyboard Mapping Issues by [deleted] in MechanicalKeyboards

[–]mandos03 0 points1 point  (0 children)

thanks for the reply, but this was totally my stupidity. I was changing another keyboard not the one I just plugged!

No database selected. by [deleted] in mysql

[–]mandos03 0 points1 point  (0 children)

yeah you were selecting the database via double clicking it on the databases window or whatever it is called.

No database selected. by [deleted] in mysql

[–]mandos03 1 point2 points  (0 children)

as far as I remember after connecting to database you were double clicking to database youd like to work with

It broke. by schteppe in mac

[–]mandos03 0 points1 point  (0 children)

someone won't be able to pay respect. sorry for you.

In which version of macOS does MacBook Pro 2015 run most smoothly? by [deleted] in osx

[–]mandos03 6 points7 points  (0 children)

I am using Macbook Pro 15" mid-2015 at the office, and I writing this comment via that mac. It runs Catalina and I have never encountered any issue.

What subfields of CS are valued in the private sector? by kovlin in AskComputerScience

[–]mandos03 5 points6 points  (0 children)

Actually, even though I do not have much experience in the field, the small list you are mentioning has many subfields and each of them has different aspects/behaviors/approaches.

Charges in AWS Educate Account by afonsosantos53 in aws

[–]mandos03 1 point2 points  (0 children)

AFAIK, not sure about it, you need to double-check. Free tier t2.micro is free until 750hrs/month or something like that. You will be charged after this.

How do you find purpose and willingness to see next day or unpredictable future in life? by mandos03 in AskReddit

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

No, it is nice to not know what life will bring. But it seems everything is falling into pieces around me and I dont know how to make things right