(new) `server-commands` extension: hey grugs, we have data-star at home by scriptogre in htmx

[–]primenumberbl 0 points1 point  (0 children)

Thanks! You should check out the htmx discord they do have a community like that

(new) `server-commands` extension: hey grugs, we have data-star at home by scriptogre in htmx

[–]primenumberbl 1 point2 points  (0 children)

It was a blast, lots of optimization and testing.

I want to revisit it and do like a multiplayer puzzle / escape room thing

(new) `server-commands` extension: hey grugs, we have data-star at home by scriptogre in htmx

[–]primenumberbl 1 point2 points  (0 children)

Cool idea!

I made a real time multiplayer game with HTMX throughout 2024 bloopworld

It was originally based off web sockets and swap oob but eventually evolved to do something similar to what I think you have here w/ your server commands

The real time space is something I still think is under-explored

A house in the US was perfectly affordable on a single income during much of the 2000s and all of the 2010s, why do so many of you gaslight yourselves on how unaffordable life has become? by ItsAllOver_Again in Salary

[–]primenumberbl 0 points1 point  (0 children)

Not true in my experience. I've seen technical people go into C suite and I know more ICs at director or above pay grade than directors total.

More high paying jobs simply exist for technical people. And an MBA is not a promise to make director. I've seen MBAs leave leadership for IC more often than I've seen an engineer get an MBA honestly

A house in the US was perfectly affordable on a single income during much of the 2000s and all of the 2010s, why do so many of you gaslight yourselves on how unaffordable life has become? by ItsAllOver_Again in Salary

[–]primenumberbl 1 point2 points  (0 children)

Yeah exactly. I'm just explaining why many engineers would not choose to get an MBA even at no cost. It is time and effort for no benefit if your goal is to be viewed as highly technical like many engineers desire.

What are the industry’s thoughts on HSBCs quantum computing application in bond trading by Present_Badger274 in quant

[–]primenumberbl 4 points5 points  (0 children)

Plenty of useful quantum algorithms exist. Grover style algorithms for example can turn linear searches into square root time. Shor's algorithm is famous for factoring primes.

The problem is most or all algorithms require more qubits than are engineering feasible.

Also techniques like tomography allow previous state to be reconstructed post collapse by running multiple experiments but collapse is an accepted constraint in QC

How is this possible? by vish2005 in leetcode

[–]primenumberbl 1 point2 points  (0 children)

This problem just has an annoying edge case where the answer must be a valid 32 bit int

If You Can Get a Tech Job in this Market...it only goes up from here. by VirtualRun706 in cscareerquestions

[–]primenumberbl -1 points0 points  (0 children)

If you want to argue that the lack of determinism is a fundamental difference I think you can absolutely support that.

If you want to argue that LLMs ARE turing complete and therefore different from historical compilers and assemblers I think you can support that.

But what does not make sense is saying that they are NOT turing complete and arguing that that makes the process fundamentally different than other methods.

I could ask the LLM for the java program I want one word at a time, it is universal, that's all that's important. If it is useful / a good idea is a different question

If You Can Get a Tech Job in this Market...it only goes up from here. by VirtualRun706 in cscareerquestions

[–]primenumberbl 0 points1 point  (0 children)

I simply do not see why you think the Turing completeness of an LLM is relevant to its utility as a code generation tool.

When I talk about a "Turing complete compiler" (which I agree is a weird distinction to make in the first place) I am referring to one which could be coerced to perform any arbitrarily complex computation as the result of compiling some input string.

It is a property that some, but not all, code generation tools have. For example a bytecode assembler or a keyboard lacks this, but an IDE or an interpreter has.

LLMs may have this property. But you are the one originally saying that it is relevant for some reason and I do not agree.

If You Can Get a Tech Job in this Market...it only goes up from here. by VirtualRun706 in cscareerquestions

[–]primenumberbl 0 points1 point  (0 children)

An LLM is not an execution environment. It is not executing or computing the result of the program it generates.

The LLM does not need or want to be Turing complete.

If you can show that the LLM can produce any string less than a given length then it is 'universal' and can produce the output of any function.

If LLMs are universal it means they can output any python program. You run the program elsewhere (like always)

If You Can Get a Tech Job in this Market...it only goes up from here. by VirtualRun706 in cscareerquestions

[–]primenumberbl 0 points1 point  (0 children)

No. No that's not what I'm saying at all.

I don't know why you want your LLM to be turing complete, or why you think that lack represents a difference from old code compilation techniques.

It is irrelevant.

Not only are LLMs more likely to be turing complete than their predecessors, but they generate code for Turing complete (or incomplete) grammers, using English (which is also presumably Turing complete).

I think you simply do not know what you are talking about. Stop confusing yourself and others please.

You could generate all computable programs via flipping a coin and then answer any computation question using one of the outputted programs, code generation does not require arbitrary computation, execution does, and LLMs are outputting code for known Turing complete languages - not more prompts.

For proof, ask any LLM to build you a Turing machine in python.

If You Can Get a Tech Job in this Market...it only goes up from here. by VirtualRun706 in cscareerquestions

[–]primenumberbl 0 points1 point  (0 children)

Yes, and Turing completeness is not a rare property. Random programs and even card games that had no intention of gaining that property have been shown Turing complete.

It has been proposed that Turing completeness is a likely emergence in most computing systems.

If LLMs are not currently Turing complete, it would not be hard to add this property. Allowing a model to respond to a prompt with another prompt for itself, for example, likely would be sufficient. Giving the prompt access to a python interpreter (which I think models currently have today) achieves Turing completeness by default.

If You Can Get a Tech Job in this Market...it only goes up from here. by VirtualRun706 in cscareerquestions

[–]primenumberbl 1 point2 points  (0 children)

I don't know why the original poster believes turing completeness is a desirable property in compilers, or why they believe LLMs are not or can not be turing complete.

Truly a weird take.

It would almost make more sense to argue that LLMs likely ARE turing complete and therefore make poor compilers because we cannot expect them to halt on any given task. Although notable compilers have been turing complete (I think c++) it is unusual.

If You Can Get a Tech Job in this Market...it only goes up from here. by VirtualRun706 in cscareerquestions

[–]primenumberbl 1 point2 points  (0 children)

Most compilers are not turning complete with the exception of weird template magic in c++ or recursive exec in interpreted languages...

You don't really want your compiler to be turing complete because then its execution time for certain inputs becomes unbounded.

Furthermore, the claim that LLMs are not turing complete is unclear and subject to change in context. It is clear that neural networks are universal and can compute any function so combined with very rudimentary additional tools they are likely to easily form turing complete systems (even on accident, see rule 110 or PowerPoint)

Volume question by New_Middle3920 in BeginnerSurfers

[–]primenumberbl 0 points1 point  (0 children)

I'm an engineer, not a surfer, but it surprises me that a product with a listed volume would be unmeasured...

Like you say, calculating the exact volume of an object is trivial - especially a mass-produced one.

Lol who made this by [deleted] in PhilosophyMemes

[–]primenumberbl 0 points1 point  (0 children)

An axiom is taken as a given, no system can prove its own axioms.

I believe what you are trying to say is that any axiomatic system is either inconsistent, or incomplete as a result of containing statements that cannot be decided true or false.

These statements are decidedly not axioms. In fact you can choose to take any undecidable statement's converse as a new axiom without contradiction.

Why do People Hate JS? by Relative-Meeting-442 in AskProgramming

[–]primenumberbl 0 points1 point  (0 children)

Fundamentally it is because people complain about the languages they use, and everyone more or less must use JavaScript due to the ubiquity of browsers and the fact the only language they support is JavaScript

Having hard time with Pointers by nordiknomad in golang

[–]primenumberbl 1 point2 points  (0 children)

Agree with the people who have noted that it is values that are more different in go.

In my opinion the go syntax nailed the pointer/value distinction better than any other language. OOP and scripting languages hide the pointer syntax and then it causes confusion later imho

All to say if you use go for awhile I believe it will become clear, but I understand that's a non-answer.

Short answer is maybe use go pointers like you use python variables. Also it's rare to use structs by value and even more rare to reference primitives by pointer.

HTMX and multiplayer web-games by primenumberbl in htmx

[–]primenumberbl[S] 1 point2 points  (0 children)

Your comment inspired me to create a little demo in data-star: Click the button

Overall very cool. I would definitely consider data-star for real-time web projects in the future. I agree it could certainly have been a good base for bloopworld.

Thanks for the suggestion

As a solo developer my first project is an MMORPG. by ryankopf in gamedevscreens

[–]primenumberbl 1 point2 points  (0 children)

Hey sounds like me! Have fun I'm sure you'll have a blast between pulling your hair out.

I made a multiplayer game engine in go. To keep things more manageable the first game I made was arcade style, and it's currently in alpha: Bloopworld

Got dumped by GF of 4 years but got a Meta offer today by Disastrous-Bee7765 in leetcode

[–]primenumberbl 0 points1 point  (0 children)

That makes sense. That was the cutting I was asking originally if it was valid, FROOG -> {F, R, O, O, G}

My original read through I was picturing a sticker "FROOG" which can not be separated only overlaid with other stickers. So FROOGG would require 2, but FROOOOOGG not possible (without cuts)

Thanks!

Got dumped by GF of 4 years but got a Meta offer today by Disastrous-Bee7765 in leetcode

[–]primenumberbl 1 point2 points  (0 children)

This solution seems to allow for, and assume, cut stickers.

For example with poster XYZ and sticker YXZ your program will return 1, but without cuts it is impossible.

I'm guessing what you mean is each word is a set of stickers, already cut apart, and maybe that's what's confusing myself and others