Hacker Newsnew | past | comments | ask | show | jobs | submit | more Bost's commentslogin

That idea `function can return multiple values` was a bit of `Wait what? Ah I almost forgot :facepalm:` moment for me. (The quadratic formula function for solving quadratic equations `ax^2 + bx + c = 0` returns TWO values.)


Honestly, "norms of warfare" is just a rather ridiculous concept imposed by the winning side.


The international court of justice is irrelevant if you don't have nukes or guns to support your cause.


This story is not about viruses and vaccines, but what about the 1949 Nobel Price for lobotomy? https://www.nobelprize.org/prizes/medicine/1949/moniz/articl...

"Sure. We're smart, we're scientists, we know what we're doing... except when we don't."


> Anything that can put a dent in that is going to far outweigh any potential risks and side effects.

Ha! Explain that to the anti-vaxxers.


> Because at the end, it's all just graphs with vertices and edges.

That's not the end. At the end there are just objects and morphisms between them. Graphs (with their edges and vertices) are just a special category of... Well, have a look at "Category Theory".


Check out "Guix patch review hacking session" on meetup.com: https://www.meetup.com/guix-london/events/299176148/?utm_med...


I'm sorry, that doesn't work:

  $ echo "foo" > access.log     # create the access.log with some content
  $ < access.log | cat | head -n 5
  # no output
This works:

  $ cat access.log | head -n 5
  foo
  $ < access.log cat | head -n 5
  foo
  $ < access.log cat | cat | head -n 5
  foo
  $ < access.log head -n 5
  foo


What I see is the tens of thousands of people in troll factories producing content for 3/4 of the world population ready to believe whatever they see in the TV.

Edit: Putin on AI, 2017 https://youtu.be/aJELcvjREgk?t=29

"Whoever takes the lead in this area will be the ruler of the world."

"тот кто станет лидером в этой сфере будет властелином мира"


I think a more likely scenario is that people will be so used to it that a lot of people are going to have trouble believing that real things are real. Conspiracy theorists already suffer from this and it's going to get so much worse.

I think in the initial years there'll be some major incidents where a fake thing gets major attention for a few days until it's debunked, but the much larger issue will be the inverse.


> So what we are missing now is a 500GB framework that can write the config file for the programming language that is writing a config file for the actual program I wish to use.

That exists since 1960. It's called LISP. The e.g. https://guix.gnu.org/ uses with great success, the Guile Scheme dialect of LISP, to be precise. And FYI the "framework" is:

  $ ls --human-readable --size $(readlink $(which guile))
  16K /gnu/store/1gd9nsy4cps8fnrd1avkc9l01l7ywiai-guile-3.0.9/bin/guile
Yes, only sixteen kilos, not gigas.


Guix/Nix can use dynamic linking without risk since they know the exact dependency closure. It's not fair to compare a statically linked executable to a dynamic one.


Right, so its still just about 9 MB:

    guile=$(readlink -f $(which guile))
    sizes=$({ echo $guile; ldd $guile|grep /|sed 's+^[^/]*\(/[^ ]*\).*+\1+'; }|xargs -n 1 readlink -f|xargs du -ab|cut -f 1)
    sumsize=0
    for size in $sizes; do
        sumsize=$((sumsize+size));
    done
    echo $sumsize
Gives 9041632 here.


Thanks for the snippet. Now I have a recipe how to calculate the size of a binary file, plus the shared objects, i.e. the so-file(s), it requires directly.

Now I just need to extend your snippet so that it works recursively. A shared object can require other shared objects.


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: