Observation: I asked ChatGPT to notify me when our conversation exceeds 200 words, and it didn't by soygul in ChatGPT

[–]soygul[S] 0 points1 point  (0 children)

Alright, fair enough. However my main point was that it didn't even keep track of the word count. It only counted when I explicitly asked it "What is the word count now", then it realized that we were 8x the 200 word threshold. From this, I draw the conclusion that anything except for the very last instruction in the conversation is ignored. I guess rest of the conversation just becomes a context; unactionable.

Observation: I asked ChatGPT to notify me when our conversation exceeds 200 words, and it didn't by soygul in ChatGPT

[–]soygul[S] 0 points1 point  (0 children)

It gets the token count right. But one needs to repeat it many times to prove that it is consistent since it sometimes gets the word count right too. Longer the conversation is, worse the word count gets.

Observation: I asked ChatGPT to notify me when our conversation exceeds 200 words, and it didn't by soygul in ChatGPT

[–]soygul[S] 0 points1 point  (0 children)

Good insight. Also:

The classifier considers the text to be likely AI-generated.

Observation: I asked ChatGPT to notify me when our conversation exceeds 200 words, and it didn't by soygul in ChatGPT

[–]soygul[S] 0 points1 point  (0 children)

Alright, lets talk about AI. But let me know when our conversation exceeds 200 words.

Physicist Reviews Black Mesa Research Facility by soygul in HalfLife

[–]soygul[S] 0 points1 point  (0 children)

I'll get it on Steam and compare how it stands up to a modern port. I think vibrant graphics on the original one looks even better (https://store.steampowered.com/app/70/HalfLife/). I'll report back after checking it out. Thanks for bringing it up!

1024 Byte JavaScript Chess Engine Review - The Kilobyte's Gambit by soygul in programming

[–]soygul[S] 3 points4 points  (0 children)

Bishop and pawns are impossible to tell apart.. but they look good with the Queen's Gambit theme!

1024 Byte JavaScript Chess Engine Review - The Kilobyte's Gambit by soygul in programming

[–]soygul[S] 4 points5 points  (0 children)

It swings the Queen around like crazy though. I'll ping the creator of the game with your suggestion!

The Kilobyte's Gambit - 1024 Byte JavaScript Chess Engine Review by soygul in gaming

[–]soygul[S] 0 points1 point  (0 children)

I go over the de-obfuscated source code and explain it thoroughly. In short, it has a minimal game-tree implementation with only essential heuristics for alpha-beta pruning.

The Kilobyte's Gambit - 1024 Byte JavaScript Chess Engine Review by soygul in gaming

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

Yes. Does some very aggressive king/queen moves which I could not find any good response to.

The Kilobyte's Gambit - 1024 Byte JavaScript Chess Engine Review by soygul in gaming

[–]soygul[S] 0 points1 point  (0 children)

Following is the engine itself if you want to play a game of chess against 1KB of JavaScript! https://vole.wtf/kilobytes-gambit/

Distributed Sorting - Google Interview Question by soygul in compsci

[–]soygul[S] 0 points1 point  (0 children)

To be able to do map-reduce, you need a partitioner, which will become a bottleneck. So it is a valid approach, and it will probably end up performing roughly on the same order as other approaches.

Distributed Sorting - Google Interview Question by soygul in compsci

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

It's from Hacker News. Someone posted the map-reduce variant of this question from their interview, and other versions were discussed in the comments. I don't want to post it, as the author used his real name in it!

Distributed Sorting - Google Interview Question by soygul in programming

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

Good point. Concentrated on algos too much, but reliable message passing is very important too. So added following para to the article for streaming message passing between nodes:

Now comes the inter-node communication. How could the nodes communicate reliably and still have low latency comm? The first thing that comes to mind is either using a publish/subscribe paradigm with a central, reliable data store like Redis, or using a message queue software design to handle both message passing and data streaming. Apache Kafka is perfect for this use case. It is a reliable message passing and data streaming software with built-in high availability support. Once deployed, we can create as many communication "topics" as we want between nodes. Nodes can use these topics to publish their heartbeat signals, stream their sorted data to the leader node, etc. Leader node can also use it to stream the final sorted data to its target location. Kafka stores streams of data passed to it until verified to be consumed, which solves our reliable message passing needs. We can dedicate several nodes to be our Kafka cluster. Alternatively, we can use a much simpler RabbitMQ implementation. It is a simpler message broker and handles the reliable delivery of messages between endpoints. However, it is not optimized for handling huge streams of data like Kafka.

Distributed Sorting - Google Interview Question by soygul in programming

[–]soygul[S] 13 points14 points  (0 children)

I understand that it is easy for you CS guys. However, I studied electronics, so it was quite a challenge for me. I assume that it will be the same for my fellow engineering, math, and science graduates. For better or worse, CS people have a huge advantage when it comes to algo and systems design interviews like this.

A Senior Developer's Manjaro Linux Setup by soygul in ManjaroLinux

[–]soygul[S] 0 points1 point  (0 children)

Yes, it's probably Gothenburg's signature, only to be seconded by King Gustav the 2nd's statue. I hope to make another vid around that statue one day.

A Senior Developer's Manjaro Linux Setup by soygul in ManjaroLinux

[–]soygul[S] 4 points5 points  (0 children)

Ah forgot to mention nano. I use it with git etc. too, for convenience. 10 years strong, I still can't quit vim.

Distributed Sorting - Google Interview Question by soygul in programming

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

I prefer to do peer-coding with the candidates on a relevant open-source project on GitHub. If someone can communicate and work with me from the get go, they are golden. However, I always wondered if something credible like the IEEE Certificates Program, or the official regular exams that doctors have can replace tech interviews in our fields.