sisyphean

joined 1 year ago
MODERATOR OF
[–] sisyphean 1 points 1 year ago

It seems really interesting, thanks for sharing it! I'll definitely check it out.

[–] sisyphean 6 points 1 year ago* (last edited 1 year ago)

#1

I started using GPT-4 for summarizing YouTube videos: I download the transcript (there are websites where I can do it but I'm sure it can be automated easily), which I feed into GPT-4 and get a really nice summary.

#2

I implemented documentation querying using a vector store and GPT-3.5 at my day job. Here is a simple example in Langchain's docs.

#3

My wife and I are both huge fans of the "His Dark Materials" trilogy by Philip Pullman. The story of these books starts out in a parallel world where everyone has a "daemon", an animal companion that is the embodiment of part of their soul. What kind of animal a person's daemon "settles" as after puberty reflects their personality. We asked ChatGPT to ask a few questions about our personalities, which we answered, then it determined what kind of animals our daemons would be, and wrote Midjourney prompts to visualize them. This was a really fun game, we enjoyed it a lot!

[–] sisyphean 9 points 1 year ago* (last edited 1 year ago)

As AI hype is approaching fever pitch, "Prompt Engineering" has become another buzzword, with an insane amount of guides and tutorials cropping up on the internet. Unfortunately, a large portion of these resources offer little more than cookie-cutter strategies, contributing to a growing skepticism around the term itself.

It's easy to dismiss it as just another fad, but doing so overlooks the genuine engineering behind effective communication with LLMs. This guide shows some strategies that really work and are based on sound principles instead of guesswork by AI-bros compiled into yet another useless infographic.

I hope it will be just as useful to you as it was for me.

[–] sisyphean 3 points 1 year ago

You can also use it as a PWA, it will be just like a normal app

[–] sisyphean 3 points 1 year ago (5 children)

The author is here on Lemmy, see their comment on the original post

[–] sisyphean 11 points 1 year ago (2 children)

My favorite, the formalizer:

[–] sisyphean 17 points 1 year ago* (last edited 1 year ago)

This describes 99% of AI startups.

The company I work for was considering using Mendable for AI-powered documentation search. I built a prototype using OpenAI embeddings and GPT-3.5 that was just as good as their product in a day. They didn’t buy Mendable :)

[–] sisyphean 6 points 1 year ago (1 children)

They’re complaining that if there is a single word in an entire file that Copilot considers “bad”, it will not work at all in that file.

[–] sisyphean 1 points 1 year ago

That’s why there’s a daily limit, hopefully I’ll be able to increase it as the API gets cheaper.

[–] sisyphean 12 points 1 year ago

I don’t use it often, but when I do it saves me hours.

For example, I used it recently in a large project that had no CI. The build failed, and I could find the first commit it failed on using bisect in a couple of minutes.

[–] sisyphean 3 points 1 year ago

First, thank you for the detailed response.

Second, I think you finally convinced me to delete my FB. I will link to this comment wherever possible to show people what a terrible company Meta is.

[–] sisyphean 5 points 1 year ago* (last edited 1 year ago)

Good humor is based on reality

 

I didn't cross-post because the comments are also interesting.

 

cross-posted from: https://programming.dev/post/102011

We discover that DALLE-2 seems to have a hidden vocabulary that can be used to generate images with absurd prompts. For example, it seems that Apoploe vesrreaitais means birds and Contarra ccetnxniams luryca tanniounons (sometimes) means bugs or pests.

 

cross-posted from: https://programming.dev/post/107386

From the article:

symbex inspect_hash | llm --system 'explain succinctly'

Output:

This function calculates the hash of a database file efficiently by reading the file in blocks and updating the hash object using SHA256 algorithm from the hashlib module. The resulting hash value is returned as a hexadecimal string.
 

Quote from the article:

And the terrible, horrible thing about it is THIS IS A GOOD LETTER. It is better than most letters of recommendation that I receive. This means that not only is the quality of the letter no longer a signal of the professor’s interest, but also that you may actually be hurting people by not writing a letter of recommendation by AI, especially if you are not a particularly strong writer. So people now have to consider that the goal of the letter (getting a student a job) is in contrast with the morally-correct method of accomplishing the goal (the professor spending a lot of time writing the letter). I am still doing all my letters the old-fashioned way, but I wonder whether that will ultimately do my student’s a disservice.

 

From the article:

symbex inspect_hash | llm --system 'explain succinctly'

Output:

This function calculates the hash of a database file efficiently by reading the file in blocks and updating the hash object using SHA256 algorithm from the hashlib module. The resulting hash value is returned as a hexadecimal string.
 
 
14
submitted 1 year ago* (last edited 1 year ago) by sisyphean to c/auai
 

I wanted to see if Midjourney also has a "hidden language" like DALL-E 2 in this post: https://programming.dev/post/102011

So I ran a little experiment.

I gave this prompt from the article to Midjourney:

Two farmers talking about vegetables, with subtitles --q 2

But it didn't produce any text:

Then I tried this:

text logo of fitness company including motto --q 2

This gave me what I wanted: logos with text.

Then entered the nonsensical words from one of the logos:

FRVNE MIASE --q 2

This triggered an abuse detection filter which I appealed. Then Midjourney produced these equally nonsensical but absolutely wonderful images:

First I thought that the results had nothing to do with the original prompt, but if you look at the logo, it has mountains in it, so maybe "FRVNE MIASE" means mountain?

I don't have more time to play around with this but if someone else can get further with it, I would love to see the results!

13
submitted 1 year ago by sisyphean to c/auai
 

We discover that DALLE-2 seems to have a hidden vocabulary that can be used to generate images with absurd prompts. For example, it seems that Apoploe vesrreaitais means birds and Contarra ccetnxniams luryca tanniounons (sometimes) means bugs or pests.

123
submitted 1 year ago* (last edited 1 year ago) by sisyphean to c/programming
 

Whenever you store a value that has a unit in a variable, config option or CLI switch, include the unit in the name. So:

  • maxRequestSize => maxRequestSizeBytes
  • elapsedTime => elapsedSeconds
  • cacheSize => cacheSizeMB
  • chargingTime => chargingTimeHours
  • fileSizeLimit => fileSizeLimitGB
  • temperatureThreshold => temperatureThresholdCelsius
  • diskSpace => diskSpaceTerabytes
  • flightAltitude => flightAltitudeFeet
  • monitorRefreshRate => monitorRefreshRateHz
  • serverResponseTimeout => serverResponseTimeoutMs
  • connectionSpeed => connectionSpeedMbps

EDIT: I know it’s better to use types to represent units. Please don’t write yet another comment about it. You can find my response to that point here: https://programming.dev/comment/219329

 
view more: ‹ prev next ›