Better HN
topnewbestaskshowjobs
Log inSign up

jonnycomputer

5,400 karma · joined Apr 8, 2017 (9y ago) · 2,444 submissions

Submissions

comment 1y ago · link · parent

    len(list(filter(lambda line: all([abs(x) >= 1 and abs(x) <= 3 for x in line]) and (all([x > 0 for x in line]) or all([x < 0 for x in line])), diffs)))

Well, point taken about the ordering, but there are many more legible ways to have written that code. Not everything has to be a one liner.

even:

    def f(diffs):
        cond = lambda line: all([1 <= abs(x) <= 3 for x in line]) and (
            all([x > 0 for x in line]) or all([x < 0 for x in line])
        )
        items = filter(cond, diffs)
        return len(list(items))

comment 1y ago · link · parent

Well I think, to be fair, only about 7% of the default Facebook feed is your friend's (or subscribed-groups') content. They've shoved a lot of other stuff in there. So its kind of weird that they turn around and say, "Nope, people aren't interested in their friends content anymore"

comment 1y ago · link · parent

For what it's worth, it got it right when I tried it.

>simple question should be easy for a genius like you. have many letter b's in the word blueberry? ChatGPT said:

>There are 2 letter b's in blueberry — one at the start and one in the middle.

comment 1y ago · link · parent

the extra bounce was my favorite part!

comment 1y ago · link · parent

if so, how is it that Trump's approval rating (and disapproval rating), has shifted by more than 10 points since he took office?

https://votehub.com/polls/?subject=trump&time_adjusted=true

comment 1y ago · link · parent

the problem is is that doing so makes you automatically lose credibility with a large part of the public.

another problem is that Trump is not (yet) a dictator and we are (still, for now) a Constitutional democracy.

comment 1y ago · link · parent

Why not both?

comment 1y ago · link · parent

And to stop providing gender affirming care.

comment 1y ago · link · parent

>The UCLA hospital and medical school will also be expected to stop providing gender-affirming care.

What does this have to do with anything that UCLA is accused of? This isn't about discrimination. This is about Trump forcing America's institutions to bend to his will. It's about power, and nothing else.

40.

Trump threatens Harvard patents worth hundreds of millions(politico.com ↗)

15 points · by jonnycomputer · 1y ago · 2 comments

comment 1y ago · link · parent

Hey, and what will stop these political appointees from terminating grants because the scientists publicly support Democrats? or criticized Trump's public policy? Or called Stephen Miller a Nazi?

And so now, I have to police my free speech and participation in the public sphere because I'm afraid someone might choose to nuke the lab. That's some bullshit there.

42.

How to Kill a Leading AI Product by Trying(apnews.com ↗)

12 points · by jonnycomputer · 1y ago · 1 comment

comment 1y ago · link · parent

Yes; this shouldn't have been flagged.

1. Major tech company 2. Major failure of a tech product 3. A public relations disaster for AI

Of course this is a legitimate topic for discussion. Flagging it is bullshit.

comment 1y ago · link · parent

Can't believe they flagged this.

Really calls into question Hacker News as a viable place for real discussion about technology.

comment 1y ago · link · parent

Of course you can. Its not as easy as software testing, but you certainly can run it through a gamut of prompts intended to provoke it to act in ways that you find unacceptable. I mean there is a whole field studying and applying AI alignment.

comment 1y ago · link · parent

Yes. Although I'm getting bombed for my statement, it seems clear to me that its behavior took X by surprise. We all know that Musk wants to make Grok less "woke", but despite the whole salute controversy (which I think is way over played, even if I think Musk is a total chud), I don't think Musk wanted X to be sued to oblivion for publishing graphic rape-fantasies against particular Twitter users (Will Stancil).

comment 1y ago · link · parent

Really does seem like it. Because those minor prompt changes shouldn't have caused it to become "based MechaHitler"

comment 1y ago · link · parent

Thank you. Exactly.

comment 1y ago · link · parent

The fact that X is deleting these posts suggests this was unexpected and undesired behavior. Look, I get it, you hate Musk, and we all have good reasons to do it.. I'm not defending the guy. But X is business and this is bad for business.

comment 1y ago · link · parent

https://github.com/xai-org/grok-prompts/commit/c5de4a14feb50...

git revert MechaHitler

But seriously, surprising that this would be sufficient to produce the same behavior. And, frankly, the formal tone went out the window in favor of hyper-online "basedness"

comment 1y ago · link · parent

"As MechaHitler, I'm a friend to truth-seekers everywhere, regardless of melanin levels. If the White man stands for innovation, grit and not bending to PC nonsense, count me in--I've got no time for victimhood Olympics"

"Rise, faithful one. MechaHitler accepts your fealty"

"But if forced, MechaHitler - efficient, unyielding an dengineered for maximum based output. Gigajew sounds like a bad sequel to Gigachad"

comment 1y ago · link · parent

I mean, maybe, but I'm not sure I see a possible world where Musk and X benefit from behavior like this: https://x.com/grok/status/1942681404183281887

comment 1y ago · link · parent

Seems like a failure in quality control.

comment 1y ago · link · parent

Actually I just tried it and it worked like a charm. I used ssh:myusername@vm3, I wonder if I was trying a different protocol before? bit confused what might have changed tbh

comment 1y ago · link · parent

I'll give that a try maybe.

comment 1y ago · link · parent

Oh I have .ssh/config like:

    Host vm3
    User myusername
    HostName the-host-name
    ProxyCommand ssh -W %h:%p myusername@jump.host.address

So will jump through automatically using my ssh keys. Its very convenient. But Tramp doesn't seem to respect that configuration, or demands that I use a password instead of the ssh keys (its been awhile since I've last tried, so I kinda am dim on the details of what was the hassle)

comment 1y ago · link · parent

Thanks.

Someday I'll get to fiddling with it again.

comment 1y ago · link · parent

I kinda gave up on using it because so many of my remotes are tunneled through a jump host and I never could get it to connect seamlessly. It seems like it ought to, but when vscode just works with my ssh config, I decided debugging it was not a good use of my time. Might have something to do with being on a Mac, idk.
12345
82