Isognoviastoma

Joined 6 years ago

Karma
110
Submissions
33
Member since
Sep 23
View on Hacker News

Recent submissions

Comment · 7 months ago
> curried functions often don't compose nicely

Same for imperative languages with "parameter list" style. In python, with

def f(a, b): return c, d

def g(k, l): return m, n

you can't do

f(g(1,2))

but have to use

f(*g(1,2))

what is analogical to uncurry, but operate on value rather than function.

TBH I can't name a language where such f(g(1,2)) would work.

Comment · 8 months ago
Current social consensus is that copyright exists and one can only use software on conditions stated in license. Thus, proprietary and copyleft have same protection.

Another possible consensus would be that copyright don't exist, and anyone can copy proprietary or copyleft work and improve it. Nobody would be harmed in such situation, original author still have its copy. I would have no problem with such state - but it must be same for everyone, not just FOSS.

Comment · 8 months ago
Copyleft is copyright held in smart way. Nobody can take code under GPL and make its _copy_ proprietary because it would be violation of copyright.

In the other thread you argued that AI output is not copyrighted.

Do you think I can take proprietary code and lauder through AI to get a non-copyrighted copy of it, then modify to my needs? How can I obtain the proprietary code legally in the first place?

Comment · 8 months ago
Most of FOSS is not a free gift, but asks for some form of repay.

MIT asks for credit. GPL asks or credit and GPL'ing of things built atop. Unlicense is a free gift, but it is a minority.

AI reproduces code while removing credit and copyleft from it and this is the problem.

Comment · 1 year ago
Easy to check: try to speak with someone talking foreign language you don't know and estimate what percentage of what they said you understood from tone of voice etc. I would guess it's less than 80%.
Comment · 1 year ago
Comment · 1 year ago
It's impressing that browser can display many levels of recursive iframe.
Comment · 2 years ago
√2 with floating point is obviously closest representable number. With fixed point it is obviously closest representable number as well. With rationals, you need to arbitrarily limit precision, and the point of using rational was to use exact values.
Comment · 2 years ago
- after few operations denominator exceeds 64-bit range, so you either need bigint, or make fractions approximate, what is in affect fixed point

- often you use decimal fraction on output and input anyway

- it's slower, even slower with bigint

- no square root, sin, and so on with rationals

Comment · 2 years ago
Thanks for sharing! A bit of css, and it's possible to read mastodon posts with a web browser!

    head {display:block; background:Canvas; color:CanvasText;}
    meta[content] {display:block; padding-bottom:1em;}
    meta[content]::after{content:attr(content); display:block;}
Comment · 2 years ago
Was nvidia driver foss or proprietary?
Comment · 2 years ago
With proprietary software, how many times a producer did fix breakage or add missing feature for you because you bought a licence (subscription)? How fast was it?
Comment · 3 years ago
Keycap displays could be used to shuffle letters, thus prevent touch typing and force neck moves.
Comment · 3 years ago
Chronosort is closer to radix sort, as both are O(n) if values are bounded. Queue-sort (aka heapsort) is O(n log n).
Comment · 3 years ago
There are two commands that do work in shebang: /bin/sh and /usr/bin/env. Everything else will break sooner or later: BSDs, Nix, Linux distros with separate /bin and /usr/bin and so on.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton