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

Region blocked for me. How weird.

This is only for US tourists. International visitors are not welcome - you might overstay your visa.

Or just get randomly selected by an ICE goon to hit their target for their bonus and get put in some processing facility for a few weeks.

I guess this is for our own protection.


What a dick move. Making that prompt open source will probably mean that every other model that doesn't want to cheat will scrape that and accidentally cheat in the next models.

The point of this test is to check if an AI system can figure out the game. This isn't what happened here. A human figured out the game, wrote in their prompts exactly how the game works and THEN put the AI on the problem. This is 100% cheating and imo quite stupid.

The harness would be fine if the agent coded its own harness in a controlled environment while observing the game.

Not sure if the specific rules of this prize allow that, but I would accept that


"What did the Romans ever do for US?" :P

Ukraine was too...

It's wrong. Python3 eliminated mountains of annoying bugs that happened all over the code base because of mixing of unicode strings and byte strings. Python2 was an absolute mess.

You think so but then you write a function with a default argument pointing to some variable that is a list and now suddenly the semantics of that are... what?

you could just treat argument initialization as an executable expression which is called every time you call a function. If you have a=[], then it's a new [] every time. If a=MYLIST then it's a reference to the same MYLIST. Simple. And most sane languages do it this way, I really don't know why python has (and maintain) this quirk.

What are the semantics of the following:

    b = ComplexObject (...)
    # do things with b

    def foo (self, arg=b):
        # use b

    return foo
Should it create a copy of b every time the function is invoked? If you want that right now, you can just call b.copy (), when you always create that copy, then you can not implement the current choice.

Should the semantic of this be any different? :

    def foo (self, arg=ComplexObject (...)):
Now imagine a:

    ComplexObject = list

I wonder, why that kind of ambiguity or complexity even comes to your mind at all. Just because python is weird?

def foo(self, arg=expression):

could, and should work as if it was written like this (pseudocode)

def foo(self, arg?): if is_not_given(arg): arg=expression

if "expression" is a literal or a constructor, it'd be called right there and produce new object, if "expression" is a reference to an object in outer scope, it'd be still the same object.

it's a simple code transformation, very, very predictable behavior, and most languages with closures and default values for arguments do it this way. Except python.


What you want is for an assignment in a function definition to be a lambda.

  def foo (self, arg=lambda : expression):
Assignment of unevaluated expressions is not a thing yet in Python and would be really surprising. If you really want that, that is what you get with a lambda.

> most languages with closures and default values for arguments do it this way.

Do these also evaluate function definitions at runtime?


yes they do. check ruby for example.


I am using Claude Code with Elm, a very obscure language, and I find that it's amazing at it.

I wouldn’t call Elm obscure. It’s old, well understood, well documented, and has a useful compiler. This is nearly the perfect fit for an LLM.

I picked up a change that had broad consensus and quite a bit of excitement over even by some core devs.

That ticket now just sits there. The implementation is done, the review is done, there are no objections. But it's not merged.

I think something is deeply wrong and I have no idea what it is.


Looking at your PR, the ticket is still marked as Needs documentation: yes Patch needs improvement: yes

If this is done, you should update it so it appears in the review queue.


Aha. Damn, I always miss stuff like this in trac. I really with they'd move over to github tickets!

Have you tried pinging in the Discord about it?

I'm banned for expressing my opinion that harassing new joiners who say "hey guys" is a bad idea. They claim it's anti-women to do that, even though the dictionary clearly says it's a gender neutral expression and you can see it in countless movies being said by women to only women.

Imo it's not inclusive to harass people for using English properly. But they think it's inclusive to ban me for that opinion. To each his own I guess.


I'm sure you believe that's the reason you got banned.

I'm sure you don't believe me. To each his own. In any case I'm banned.

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

Search: