[-] janAkali@lemmy.one 2 points 1 day ago

No one tell them that they can monopolize solar panels.

[-] janAkali@lemmy.one 1 points 4 days ago* (last edited 4 days ago)

Meanwhile Nim:

echo "I am still worthy"
let a = r"I hate the ugly '\' at the end of " &
         "multiline statements"
for x in 0..9:
  if x == 6: echo x

echo x # this is error in Nim, but not in python. Insane!
assert false + 1 # this is an error (python devs in shambles)
assert true - 1 # see above

Thanks for coming to my Ted-talk.
More here: Nim for Python Programmers

47
submitted 6 months ago by janAkali@lemmy.one to c/linux@lemmy.ml

Probably a long way from being daily-driven, but I really love the idea.
Interview with creator: https://www.youtube.com/watch?v=uMzbVBpjFiM

[-] janAkali@lemmy.one 73 points 6 months ago

Who said Pi is infinite? If we take Pi as base unit, it is exactly 1. No fraction, perfectly round.

Now everything else requires an infinite precision.

[-] janAkali@lemmy.one 34 points 6 months ago

The account age is public. Yours is 2 weeks old.

[-] janAkali@lemmy.one 108 points 6 months ago* (last edited 6 months ago)

WTF?! Is that a bird or a starship?
shape of hetzigopteryx from above

[-] janAkali@lemmy.one 44 points 7 months ago* (last edited 7 months ago)

I would accept discord/irc over mailing list. But nothing beats a proper forum website.
And no, subreddit is not a proper forum.

[-] janAkali@lemmy.one 62 points 9 months ago* (last edited 9 months ago)

Yes the compiler/interpreter can figure it out on the fly, that's what we mean by untyped languages.

Are there untyped languages? You probably meant 'dynamically typed languages'.

But even statically typed languages can figure out most types for you from the context - it's called 'type inference'.

[-] janAkali@lemmy.one 36 points 10 months ago

That's a human weakness, most animals eat poop for breakfast

[-] janAkali@lemmy.one 60 points 11 months ago

Wake up -> wash face, brush teeth -> piss -> shower -> (optional: smoke) -> 180 turn -> take a dump -> wash hands. No time wasted, optimal morning routine bathroom.

[-] janAkali@lemmy.one 59 points 1 year ago

Just tell me actual errors like a professional OS would.

Professional OS:

[-] janAkali@lemmy.one 36 points 1 year ago

Why I hate snaps/flatpak:

  • 1
    • package/appimage ~80mb
    • snap/flatpak >500mb
  • 2
    • p/a - app + dependencies
    • s/f - app + minimal linux distribution
  • 3
    • p/a - can be easily run from terminal
    • s/f - flatpak run com.very.easy.to.remember.and.type.name
[-] janAkali@lemmy.one 37 points 1 year ago

This worked for me, but for OP: don't forget to enable it back on after login. It's not required to watch Twitch, only for 'the first' login.

view more: next ›

janAkali

joined 1 year ago