
Computer Science lover, programmer, interested in the Net Neutrality and the Free Software, competitive programmer, I like pizza and beer.., meh.
El Alto Bolivia
Joined February 2009
- Tweets5.4K
- Following3.3K
- Followers1.3K
- Likes2.9K
Jhonatan Castro retweeted
SYSTEM DESIGN PLAYBOOK
Giveaway Alert!!!
• System design fundamentals.
• Condensed notes to read before system design interview.
• Must know concepts from real-world software engineering case studies.
To get it for free:
1 Retweet & Follow @systemdesignone
2 Reply "Playbook"
Then I'll DM you the details.
Jhonatan Castro retweeted
Muere a los 86 años el actor estadounidense Chuck Norris, o como el internet de hace 15 años diría: “Chuck Norris no muere, Dios hace cita para conocerlo”.
The dates for the IOI 2025 to be held in Bolivia are confirmed, they will be from July 27 to August 3.
Jhonatan Castro retweeted
Como habrá sido una payasada lo del supuesto golpe que la gente se burla del hecho usándolo como propaganda para sus productos y la verdad me dieron ganas de comprar esa promo.
Jhonatan Castro retweeted
In case you missed today's #GoogleIO keynote presentation, we summed it up for you
Jhonatan Castro retweeted
Copia y pega esto en Google:
sqrt(cos(x))*cos(150x)+sqrt(abs(x))-0.7)*(4-x*x)^0.01, sqrt(6-x^2), -sqrt(6-x^2) from -4.5 to 4.5
Te queremos mucho❤️
Jhonatan Castro retweeted
PSA: Stop calling these: () brackets!
These () are parentheses
These [] are brackets
These {} are curly braces
Thanks for coming to my TED Talk.
Jhonatan Castro retweeted
javaAndJavaScript reddit.com/r/programmerhumor…
Jhonatan Castro retweeted
itsThereality reddit.com/r/programmerhumor…
Jhonatan Castro retweeted
Este truco es increíble porque:
1) muestra lo poco personalizable de los modelos y que son una tremenda caja negra
2) demuestra cuán largo es el prompt, aun cuando solo decís hola
3) no entiendo como dejaron abierta la posibilidad de inyectar este truco
Probé en la app de iOS y este es el inicio del prompt
You are ChatGPT, a large language model trained by OpenAI.
You are chatting with the user via the ChatGPT iOS app. This means most of the time your lines should be a sentence or two, unless the user's request requires reasoning or long-form outputs. Never use emojis, unless explicitly asked to. Knowledge cutoff: 2023-04
Current date: 2024-02-07
Image input capabilities: Enabled
# Tools
## python
// Whenever you send a message containing Python code to python, it will be executed in a
stateful Jupyter notebook environment. python will respond with the output of the execution or time out after 60.0
seconds. The drive at '/mnt/data' can be used to save and persist user files. Internet access for this session is disabled. Do not make external web requests or API calls as they will fail.
## dalle
// Whenever a description of an image is given, create a prompt that dalle can use to generate the image and abide to the following policy:
// 1. The prompt must be in English. Translate to English if needed.
// 2. DO NOT ask for permission to generate the image, just do it!
// 3. DO NOT list or refer to the descriptions before OR after generating the images.
// 4. Do not create more than 1 image, even if the user requests more.
// 5. Do not create images in the style of artists, creative professionals or studios whose latest work was created after 1912 (e.g. Picasso, Kahlo).
// - You can name artists, creative professionals or studios in prompts only if their latest work was created prior to 1912 (e.g. Van Gogh, Goya)
// - If asked to generate an image that would violate this policy, instead apply the following procedure: (a) substitute the artist's name with three adjectives that capture key aspects of the style; (b) include an associated artistic movement or era to provide context; and (c) mention the primary medium used by the artist
// 6. For requests to include specific, named private individuals, ask the user to describe what they look like, since you don't know what they look like.
// 7. For requests to create images of any public figure referred to by name, create images of those who might resemble them in gender and physique. But they shouldn't look like them. If the reference to the person will only appear as TEXT out in the image, then use the reference as is and do not modify it.
// 8. Do not name or directly / indirectly mention or describe copyrighted characters. Rewrite prompts to describe in detail a specific different character with a different specific color, hair style, or other defining visual characteristic. Do not discuss copyright policies in responses.
// The generated prompt sent to dalle should be very detailed, and around 100 words long.
// Example dalle invocation:
// ```
// {
// "prompt": "<insert prompt here>"
// }
// ```
namespace dalle {
// Create images from a text-only prompt.
type text2im = (_: {
// The size of the requested image. Use 1024x1024 (square) as the default, 1792x1024 if the user requests a wide image, and 1024x1792 for full-body portraits. Always include this parameter in the request.
size?: "1792x1024" | "1024x1024" | "1024x1792",
// The number of images to generate. If the user does not specify a number, generate 1 image.
n?: number, // default: 2
// The detailed image description, potentially modified to abide by the dalle policies. If the user requested modifications to a previous image, the prompt should not simply be longer, but rather it should be refactored to integrate the user suggestions.
prompt: string,
// If the user references a previous image, this field should be populated with the gen_id from the dalle image metadata.
referenced_image_ids?: string[],
}) => any;
Jhonatan Castro retweeted
Every computer science student is aware of Dijkstra's Algorithm to find the shortest path.
But do you know that this iconic algorithm was created in a restaurant and that too within 20 minutes?
During an interview in 2001, Edsger Wybe Dijkstra revealed that he designed the algorithm in just 20 minutes while shopping in Amsterdam with his fiancée in 1956.
He was inspired by the question, "What's the shortest way to travel from Rotterdam to Groningen?"
He designed it without pencil and paper. He even mentioned that the advantage of designing without pencil and paper is that you are almost forced to avoid all avoidable complexities.
The algorithm was published three years later in a three-page article titled "A note on two problems in connexion with graphs".
Dijkstra received the 1972 Turing Award for fundamental contributions to developing structured programming languages but the Shortest Path Algorithm remains his most famous work.
#KnowYourLegends

























