lachezar on Nostr: The hardest thing in computer science is reading a file by path from the project ...
The hardest thing in computer science is reading a file by path from the project folder of an SBT project and having the same code work when you package the application.
You will eventually give up and read the content of the file directly with ‘Source.getResource’ 😭
#scala
Published at
2024-07-12 19:48:12Event JSON
{
"id": "6bce02c1d3c7f7d30376e73889a57fa858a9e1e53899af966c487b9cd1ab5b61",
"pubkey": "9ac8ca04063011ae014293b0b640d391c1adabc21f1934c9f2cbac589298a4d0",
"created_at": 1720813692,
"kind": 1,
"tags": [
[
"t",
"scala"
],
[
"proxy",
"https://mastodon.nu/users/lachezar/statuses/112775246172513543",
"activitypub"
]
],
"content": "The hardest thing in computer science is reading a file by path from the project folder of an SBT project and having the same code work when you package the application.\n\nYou will eventually give up and read the content of the file directly with ‘Source.getResource’ 😭\n\n#scala",
"sig": "cd77869bcee3f807fdc9e8df7c1ca9dccb2709b5af59eede656bf23f0bdb6ba558e19e804d3d774a85d9bc10f745194c49f333a55a82b88eb11653c3822ad537"
}