« first day (3987 days earlier)      last day (953 days later) » 

12:00 AM
This is a good time to punt work. (source)
 
 
2 hours later…
1:36 AM
nods off
 
 
6 hours later…
7:33 AM
Moooooooooooooin
 
7:49 AM
ohai
 
How are you doing good Sir?
 
doing fine
how about you?
 
Tired but that's a normal by now :D How is Wietlang moving forward? I forgot the new name again, I'm sorry
 
Kodian
im just waiting a bit until Kotlin Native is moving more to a more production ready state
basically speaking, Kodian generates Kotlin Native code, which then gets compiled further down via the LLVM chain
so I depend on the stable features and designs of Kotlin Native which is still in development
 
Ah damn! Is there an ETA for anything you can work with?
 
7:58 AM
not sure
Kodian currently is in a working state, I can make applications, but the possibility of Kotlin Native to change some core features is present
I dont mind having to refactor stuff, but others are not so happy about such changes
I am king of used to use bleeding edge technologies anyway
 
8:12 AM
Hi, I wondered if anyone knows how I can get the difference between two nio Paths? If I have path A = "A/B/C/D/E/F/Data.txt" and path B = "D/E/F/Data.txt", is there a way I can get "A/B/C"? The only think I can think to do is by calling get parent directory on path A, N times where N is the length of path B. Cheers!
 
8:56 AM
you could do an endsWith validation
but to be fair, it is a rare situation you find yourself in
how do you get those two paths without having the root base path?
 
Zoe
9:46 AM
@Wietlol What?
It still isn't?
that's weak
 
10:33 AM
weak
 
 
2 hours later…
12:22 PM
@Wietlol thank you, I ended up using if (a.endsWith(b)) { return a.subpath(0, a.getNameCount() - b.getNameCount()); } which seems to do the trick at the moment :)
@Wietlol In my scenario I need to determine an appropriate "source root" for a java project when we cant guarantee they are under "src/main/java/". For example, given a directory "/repos/some-project", I find the first java file, e.g. "/repos/some-project/sources/com/company/my/File.java" (A). Extracting the package declaration yields "com.company.my", or as a path "com/company/my/File.java" (B). So "subtracting" B from A should yield "/repos/some-project/sources/".
 
12:58 PM
posted on September 22, 2021

archive - contact - sexy exciting merchandise - search - about ← previousSeptember 22nd, 2021nextSeptember 22nd, 2021: This is a sequel to this comic from 2017! Did I spend every waking minute between then and now obsessing over a sequel? Nope but I made one anyway!!– Ryan

 
 
1 hour later…
2:20 PM
Good evening
 
 
6 hours later…
8:20 PM
dreams of electric sheep
 

« first day (3987 days earlier)      last day (953 days later) »