HN user

unhammer

2,353 karma
Posts87
Comments781
View on HN
www.furia.com 2y ago

Individual initiative, corporate inertia, good bad advice (on caring about work)

unhammer
2pts0
www.theguardian.com 2y ago

We can’t afford to be climate doomers

unhammer
3pts2
pubmed.ncbi.nlm.nih.gov 3y ago

Association of ADHD Diagnosis with Adolescent Quality of Life Life

unhammer
4pts1
librearts.org 3y ago

Gimp 2.99.14 review / Goodbye, floating selection. Hello, stroked text

unhammer
2pts0
serwisy.gazetaprawna.pl 3y ago

Westinghouse building nuclear power plant in Poland

unhammer
2pts0
en.wikipedia.org 3y ago

Edifice Complex

unhammer
1pts0
www.ncbi.nlm.nih.gov 3y ago

Oral birch pollen immunotherapy with apples: Results of a phase 2 clinical pilot

unhammer
2pts0
en.wikipedia.org 3y ago

Torrey Canyon oil spill (napalm cleanup attempt)

unhammer
1pts0
en.wikipedia.org 4y ago

Judge Rotenberg Education Center / Behavior Research Institute

unhammer
1pts0
arxiv.org 4y ago

Fusing Industry and Academia at GitHub (Tree Sitter/Semantic)

unhammer
1pts0
www.nrk.no 4y ago

TikTok does'nt show the war in Ukraine to users in Russia

unhammer
6pts0
eclypsium.com 4y ago

Researchers Identify Weakness in Microsoft WPBT

unhammer
35pts14
www.howtospotapsychopath.com 5y ago

You're never too young for thermite (2012)

unhammer
9pts2
climate.nasa.gov 5y ago

There Is No Impending 'Mini Ice Age'

unhammer
8pts0
blog.patchgirl.io 5y ago

Create a Windows installer for your Haskell project

unhammer
3pts0
www.ncbi.nlm.nih.gov 5y ago

Empirical Failures of the Claim That Autistic People Lack a Theory of Mind

unhammer
2pts1
www.effectivealtruism.org 5y ago

Effective Altruism talk and Q&A on Climate Change

unhammer
1pts0
medium.com 5y ago

Applying effective altruism to climate change

unhammer
1pts0
onlinelibrary.wiley.com 5y ago

Adverse events in meditation practices and therapies: a systematic review

unhammer
2pts1
lydiacambron.com 5y ago

2020: An Isolation Odyssey

unhammer
21pts2
www.theguardian.com 6y ago

‘More scary than coronavirus’: South Korea's health alerts expose private lives

unhammer
13pts2
news.sky.com 6y ago

How peak of cases is cut by social distancing; too much crashes with flu season

unhammer
2pts1
en.wikipedia.org 6y ago

Javelin Software

unhammer
2pts0
lists.gnucash.org 6y ago

GnuCash 3.8 Released

unhammer
2pts0
journals.plos.org 6y ago

Digital Language Death

unhammer
1pts0
two-wrongs.com 7y ago

Buying into the Emacs Platform (2018)

unhammer
247pts133
simon.shimmerproject.org 7y ago

Colour Profile Support Coming to Xfce

unhammer
1pts0
alternativebit.fr 7y ago

Ex-Hack: Haskell code examples automatically generated from reverse dependencies

unhammer
1pts0
en.wikipedia.org 7y ago

Braess’s paradox

unhammer
134pts37
two-wrongs.com 7y ago

Buying into the Emacs Platform

unhammer
2pts0

It's the humans fault for not being lawful and considerate to the AI murderbot:

a former Baidu executive, Drive.AI board member, and one of the industry’s most prominent boosters — argues the problem is less about building a perfect driving system than training bystanders to anticipate self-driving behavior. In other words, we can make roads safe for the cars instead of the other way around. As an example of an unpredictable case, I asked him whether he thought modern systems could handle a pedestrian on a pogo stick, even if they had never seen one before. “I think many AV teams could handle a pogo stick user in pedestrian crosswalk,” he told me. “Having said that, bouncing on a pogo stick in the middle of a highway would be really dangerous.”

“Rather than building AI to solve the pogo stick problem, we should partner with the government to ask people to be lawful and considerate,” he said. “Safety isn’t just about the quality of the AI technology.”

https://www.theverge.com/2018/7/3/17530232/self-driving-ai-w...

Yes! I learn from listening to podcasts and such, and it's somehow more fun, instead of being told "floob means chair, now say floob after me" (one new word out of eight) and being in language-learning-mode, you're just listening to someone talking about something interesting and they're trying their best to convey the information – but it happens to be in a language you don't really know. The https://www.russianwithmax.com/ podcast does this very well (though you need a bit of basics, e.g. Pimsleur, first) – I'm still trying to find comparable podcasts for other languages. https://en.wikipedia.org/wiki/TPR_Storytelling seems to be an adjacent method, TPRS .

See also LINGVA LATINA PER SE ILLVSTRATA https://en.wikipedia.org/wiki/Hans_%C3%98rberg#LINGVA_LATINA... / https://archive.org/details/lingualatinapers0000oerb_x3i0/ :)

Is it possible to use this libgourou to fix this situation? So that it's possible to both pay for books and read them without wasting hours? I didn't quite understand from the readme if this is specific to library things. So far all solutions i've seen are either

1. Pay and not be able to read (on device of my choosing)

2. Not pay and be able to read wherever

3. Pay and spend hours fiddling with weird windows-only software and forget why i wanted the book in the first place

In the beginning of Unix, m4 was created. This has made many people very angry and has been widely regarded as a bad move.

autoconf creates a shell script by preprocessing with m4. So you need to know not just the intricacies of shell scripting, but also of m4, with its arcane rules for escaping: https://mbreen.com/m4.html#quotes

If autoconf used m4 to generate python scripts, they would also look like https://pyobfusc.com/#winners

Yes! "Moominpappa at Sea" is wonderful. There's melancholy, sea horses, mischief, the creeping gothic horror of the Groke, whisky and pipe smoking, existential crises, dilapidated lighthouses and confused fishermen. Something for kids of all ages.

Useful Uses of cat 2 years ago

I have an old note named the same as this blog post:

    cat /dev/sdb > backup.img # make a disk image

    cat /dev/sdb > /dev/sdc   # clone disk

    cat ~/Downloads/*         # play Russian roulette with your terminal

    cat > file                # minimalistic text editor, ^D to exit saving, ^C to exit erasing the file

    cat << wq > file          # nearly complete emulation of ed

    grep -r bongo . | cat     # shorter than typing --color=never

    cat -v file               # cause 20 points of damage to wizards of bell labs

    cat file > file           # empty a file without removing the file

    cat meow meow > meows     # duplicate file contents

Though the new-vehicle sales figure is high, data from Statistics Norway indicates the total share of EVs on Norwegian roads in 2022 was only about 20%

I followed the link buy couldn't find the source for this claim. The linked page talks about Registered vehicles (many of which will be car#2 etc), while https://www.ssb.no/en/transport-og-reiseliv/landtransport/st... about miles driven isn't split into EV/fossil. Anyone see where the 20% comes from?

People want to believe that govt and big tech are this omniscient, monolithic entity.

    The main thing that I learned about conspiracy theory, is that
    conspiracy theorists believe in a conspiracy because that is more
    comforting.
    The truth is, that it is not the Jewish banking conspiracy, or the
    grey aliens, or the twelve-foot reptiloids from another dimension
    that are in control.
    The truth is far more frightening; no-one is in control.
    The world is rudderless.
    -- Alan Moore
PeerTube v6 3 years ago

also from P2P via WebRTC

Does this mean the list of IP addresses of people currently watching a video is necessarily public?

That seems handy, maybe this way I can keep using jq on the command line without ever having to learn jq's syntax.

I made a pure bash version since I don't always have php installed:

    gpt () {
        api_key=$(cat ~/.config/openai.key)
        verbose=false
        if [[ $1 = -v ]]; then
            verbose=true
            shift
        fi
        userinput="$*"
        # shellcheck disable=SC2016
        system='You are an interactive shell command line shell agent.
    You just get things done, rather than trying to explain.
    Do your best to respond with 1 command that will meet the requirements.
    Start a line with `$ ` to have it sent directly to the shell VERBATIM.
    All other output is just echoed.
    Favor 1 line shell commands.
    Be terse.
    Important: Every command you output will automatically be executed in this env: bash'
        systemj="$(jq -Rs . <<<"${system}")"
        userinputj="$(jq -Rs . <<<"${userinput}")"
        payload='{ "model": "gpt-3.5-turbo",
                "messages": [{"role":"system", "content": '"${systemj}"'},
                                {"role": "user", "content": '"${userinputj}"'}],
                "temperature": 0.15,
                "stream":false }'
        if $verbose; then
            set -x
        fi
        if ! res=$(curl -Ss -f https://api.openai.com/v1/chat/completions \
                        -H "Content-Type: application/json"               \
                        -H "Authorization: Bearer ${api_key}"             \
                        -d "${payload}"); then
            echo "ERROR: ${res}" >&2
            return 1
        else
            $verbose && echo "RESULT: ${res}"
            jq -r '.choices[0].message.content' <<<"${res}"
        fi
        set +x
    }
-----

I even tried using GPT to help me develop it!

    $ gpt -v get the actual completion from an openai /completions request using jq
    RESULT: {
      "id": "chatcmpl-8IZvb4lQaFgcDdnSnsU4t6zhFRrbN",
      "object": "chat.completion",
      "created": 1699438703,
      "model": "gpt-3.5-turbo-0613",
      "choices": [
        {
          "index": 0,
          "message": {
            "role": "assistant",
            "content": "$ jq '.choices[0].text'"
          },
          "finish_reason": "stop"
        }
      ],
      "usage": {
        "prompt_tokens": 116,
        "completion_tokens": 9,
        "total_tokens": 125
      }
    }
… there's probably a lesson in there.

See also: - https://aisnakeoil.substack.com/p/the-bait-and-switch-behind... - https://predictive-optimization.cs.princeton.edu/ But see https://www.sciencedirect.com/science/article/pii/S026736492...

    > human oversight policies provide a false sense of security in
    > adopting algorithms and enable vendors and agencies to shirk
    > accountability for algorithmic harms.

    > propose a shift from human oversight to institutional oversight as
    > the central mechanism for regulating government algorithms.
    > First, agencies must justify that it is appropriate to incorporate
    > an algorithm into decision-making and that any proposed forms of
    > human oversight are supported by empirical evidence. Second, these
    > justifications must receive democratic review and approval before
    > the agency can adopt the algorithm.
Also https://predictive-optimization.cs.princeton.edu/