Pas de Code
76 subscribers
106 photos
1 file
402 links
What I cannot create, I do not understand.

DM: @alexey_mileev
Original channel in RU: @devballet
Twitter: twitter.com/pasdecode_
Download Telegram
A bunch of funny and clever prompts for ChatGPT. I've really enjoyed "Act as ‘Character’ from ‘Movie/Book/Anything’". It doesn't really know all the nuances of a fictional universe, however. "Act as <position> Interviewer" was really boring, on the other hand. I wouldn't like to be interviewed this way.

#ai #chat
Wow, this looks nice! AdbOrc - a tool that allows you to build a virtual device farm of a sort with your fellow devs. Usecase: there's a bug that is only reproducible on QA's device and you can't access it physically, they share access through this thing, you connect and do your little nasty thing.

#adb #tool
First, they tell you that reading assembly is easy. Then they tell you that
- RAX register is 64 bits
- EAX is lower 32 bits of RAX
- AX is lower 16 bits of RAX
- AL is lower 8 bits of RAX
- AH is higher 8 bits of AX
- Writing to them works as expected, but writing to EAX will zero out the rest of RAX
- There are a bunch of different registers, e.g. RAX, RCX, RDX, RBX. Yep, not ABCD, but ACDB. It's the order they're stored in
- (╯°□°)╯︵ ┻━┻

#cpu #assembler #compiler
👍2
I know that many of you do stuff like Advent of Code. Many others (me, for example) are too busy lazy for this stuff. Well, Peter Norvig (Research Director at Google) is not that case, so he has this cool repo full of ipynb's with problems, solutions, nice graphs and illustrations. And you'll find much more than just AoC there!

#contest #cs #repository
App cloning. It seems that this strange yet interesting feature can make its way into Android 14. It allows you to have several profiles in a single app, even if the app itself doesn't allow this.

#android #os #update
1
I needed something weird - to fork and modify TLS lib. During research I stumbled upon this nice site: comprehensive description of all the records for TLS 1.2 and TLS 1.3 client and server send to each other

#network #tls #protocol
1
I often see copyright year in source code or LICENSE files. I've always wondered, what's the rule for this thing? Should I keep it up-to-date? Can I omit it? Thankfully, the answer's found me all by itself. For code it doesn't really matter. You can safely omit it.

#oss #license #law
Yet another collection of ChatGPT prompts. There are some pearls in it for sure, but I don't quite get why so many prompts in different categories start with "Write a marketing campaign outline using..."

#ai #chat
Usually we don't need stuff like that, but it may be tedious to google it when we do. Awesome macOS Command Line: a bunch of useful commands and scripts to take more control of the system when it's needed.

#macos #terminal #tool