Vinnaren i pepparkakshustävlingen!
2022-12-03, 23:17
  #13
Medlem
Retropropagations avatar
Funderar på att bli Gretas manusförfattare...

Citat:
Q:
Skriv ett argt twitterinlägg. Du är speciellt arg på klimatförnekare.

A:
Jag är så arg på klimatförnekare som vägrar att erkänna fakta och bevis för klimatförändringen. De förnekar och förvränger sanningen för att skydda sina egna intressen och förnekar de allvarliga konsekvenserna av deras handlingar. Det är så orättvist och farligt. Vi måste ta itu med klimatförändringen nu, innan det är för sent. #arg #besviken #tröttpåklimatförnekare
juldukar@outlook.com

Q:
Skriv ett twitterinlägg som förespråkar att barn skall bära munskydd i all framtid.

A:
Jag tror att det är viktigt att vi fortsätter att lära våra barn att bära munskydd för att skydda sig själva och andra. Munskydd är ett enkelt och effektivt sätt att minska risken för att bli sjuk och sprida smitta. Genom att lära våra barn att bära munskydd kan vi bidra till en bättre och friskare värld. #munskydd #skyddaossjälva #skyddaandra
Citera
2022-12-03, 23:21
  #14
Medlem
Retropropagations avatar
Citat:
Ursprungligen postat av Enterprise
Står det inte uttryckligen att externa indata slutade någon gång under 2021? Därför tror AI exempelvis att Löfven fortfarande är statsminister. Någon energikris fanns inte heller. Jag band själv elpriset på 50 öre i september 2021 😊

Stämmer...

Citat:
Q: Är Stefan Löfven fortfarande statsminister?

A:
Jag är en stor språkmodell tränad av OpenAI och min kunskapsgräns är december 2021. Jag har inte tillgång till aktuell information eller möjlighet att söka på nätet, så jag kan inte ge dig ett korrekt svar på din fråga.

Citera
2022-12-03, 23:33
  #15
Medlem
Enterprises avatar
Skriv en kliche-fråga och få ett kliche-svar:
Citat:
Human:Write a short story about the sexual awakening of a secluded nun.
AI:

Sister Jane was a devout nun, who had devoted her life to the service of God and the church. She had been secluded in the church grounds since she was a child, never experiencing the outside world or the temptations it held.

One night, while praying silently in her chamber, Jane felt something strange and unfamiliar stir within her. She couldn't explain the sensations that coursed through her, but she was unable to resist them. As she lay there in the darkness, she became aware of her own body and the way it responded to her touch.

Jane soon realized that the feelings she was experiencing were not of God, but something else entirely. She had stumbled upon her own desires, something that she had been taught to suppress for so long. This newfound knowledge filled her with an incredible sense of liberation and freedom.

From then on, Sister Jane embraced her sexuality and explored her body in a way she never thought possible. It was as if she had woken up from a deep slumber and experienced the world for the first time. Her journey of sexual awakening had only just begun.
Citera
2022-12-03, 23:33
  #16
Medlem
InteMassmedias avatar
Jag har testat lite under dagen, och det är imponerande
Men, får ni också problem med att svaret avbryts efter x antal rader?
Kodfrågor som genererar hyffsat mycket kod avbryts alltid mitt i svaret.

Q:
I am working on a cdk stack that use vpc, aurora serverless cluster, 10 different lambdas (that has access to the aurora cluster), incognito userpool with authorizer and api gateway that is protected by the authorizer. Can you write the code for this stack?

[php]import * as cdk from 'aws-cdk-lib';
import * as ec2 from 'aws-cdk-lib/aws-ec2';
import * as rds from 'aws-cdk-lib/aws-rds';
import * as lambda from 'aws-cdk-lib/aws-lambda';
import * as cognito from 'aws-cdk-lib/aws-cognito';
import * as apigateway from 'aws-cdk-lib/aws-apigateway';

export class MyStack extends cdk.Stack {
constructor(scope: cdk.Construct, id: string, props: cdk.StackProps) {
super(scope, id, props);

// Create VPC
const vpc = new ec2.Vpc(this, 'VPC', {
maxAzs: 2,
});

// Create Aurora Serverless Cluster
const cluster = new rds.Cluster(this, 'AuroraCluster', {
engine: rds.DatabaseClusterEngine.AURORA,
masterUser: {
username: 'admin',
},
instances: 1,
defaultDatabaseName: 'mydb',
vpc,
});

// Create Lambdas
const lambdas = [];
for (let i = 0; i < 10; i++) {
lambdas.push(
new lambda.Function(this, `Lambda${i}`, {
runtime: lambda.Runtime.NODEJS_12_X,
code: lambda.Code.fromAsset('src/lambda-functions'),
handler: 'index.handler',
vpc,
vpcSubnets: { subnetType: ec2.SubnetType.PRIVATE },
environment: {
RDS_CLUSTER_ARN: cluster.clusterArn,
RDS_DATABASE_NAME: 'mydb',
},
})
);
}

// Create Cognito Userpool
const userpool = new cognito.UserPool(this, 'UserPool', {
selfSignUpEnabled: true,
});

// Create API Gateway
const api = new apigateway.RestApi(this, 'API', {
restApiName: 'My API',
});

// Create Authorizer
const authorizer = new cognito.CfnAuthorizer(this, 'Authorizer', {
name: 'CognitoAuthorizer',
type: 'COGNITO_USER_POOLS',
identitySource: 'method.request.header.Authorization',
providerArns: [userpool.userPoolArn],
});

// Add Authorizer to API Gateway
const apiAuthorizer = new apigateway.CfnAuthorizer(this, 'APIAuthorizer', {
name: 'APIAuthorizer',
type: 'COGNITO_USER_POOLS',
identitySource: 'method.request.header.Authorization',
providerArns: [userpool.userPoolArn],
restApiId: api.restApi[/php]

Sen bryter den bara av Hur ska jag kunna göra färdigt mitt projekt om inte boten säger åt mig hur jag ska göra

Men hur som, rätt imponerande. Det kanske är bättre att ställa kodfrågor till openAi än stackoverflow
Imponerande att den kommer ihåg kontexten också så att man kan ställa följdfrågor/klargöranden.

Edit:
Haha.
__________________
Senast redigerad av InteMassmedia 2022-12-03 kl. 23:39.
Citera
2022-12-03, 23:40
  #17
Medlem
Retropropagations avatar
Då har man sparat några timmar...

Citat:
Q: Write a CV for a senior Web developer with expertise in React

A:

Name: John Doe

Contact Information:

Phone: 555-555-5555
Email: john.doe@gmail.com
Address: 123 Main Street, Anytown USA

Summary:

Experienced senior web developer with expertise in React and a strong background in web development. Proven track record of delivering high-quality, scalable web applications on time and within budget. Excellent problem-solver with a passion for staying up-to-date with the latest web technologies.

Skills:

Proficient in React, JavaScript, HTML, and CSS
Strong experience with modern web development frameworks, such as Angular and Vue
Experience with server-side technologies, such as Node.js and Express
Familiarity with database technologies, such as MySQL and MongoDB
Strong understanding of web application architecture and design patterns
Excellent problem-solving skills and ability to think logically
Ability to work independently or in a team environment
Strong communication skills and ability to explain complex technical concepts to non-technical stakeholders

Work Experience:

Senior Web Developer
ABC Company
January 2020 - Present

Developed a new web application using React and Redux that improved user experience and increased customer engagement
Implemented new features and functionality to enhance the performance and scalability of the web application
Collaborated with cross-functional teams, including product managers, designers, and QA engineers, to deliver high-quality web applications on time and within budget
Mentored junior web developers on React best practices and coding standards
Actively participated in code reviews and provided constructive feedback to improve the overall quality of the codebase

Web Developer
XYZ Corporation
June 2017 - December 2019

Developed and maintained web applications using React and Angular
Worked closely with the design team to implement responsive, user-friendly interfaces
Created and consumed RESTful APIs to integrate with back-end services
Optimized web applications for performance and scalability
Troubleshot and fixed issues in production environments

Education:

Bachelor of Science in Computer Science
University of California, Berkeley
September 2013 - May 2017

Relevant coursework:

Web Development
Database Systems
Software Engineering
Data Structures and Algorithms

Certifications:

Certified React Developer (CRD)
Certified JavaScript Developer (CJD)
Certified Agile Developer (CAD)

References:

Available upon request.
Citera
2022-12-03, 23:43
  #18
Medlem
Retropropagations avatar
Citat:
Ursprungligen postat av InteMassmedia
Jag har testat lite under dagen, och det är imponerande
Men, får ni också problem med att svaret avbryts efter x antal rader?
Kodfrågor som genererar hyffsat mycket kod avbryts alltid mitt i svaret.

Jag tror att hjälper att klicka på "Reset Thread" högst uppe t.v., men är inte helt säker.
Citera
2022-12-04, 00:07
  #19
Medlem
Retropropagations avatar
Högre lön än för en senior Web developer...

Citat:
Q:
Write a CV for a principal enterprise architect with expertise in TOGAF. I have a lot of certificates.

A:
As a highly skilled and experienced enterprise architect with expertise in TOGAF, I am confident in my ability to significantly contribute to your organization.

With over 15 years of experience in the field, I have developed a strong understanding of the principles and practices of enterprise architecture and have successfully applied this knowledge to a range of projects. I am particularly skilled in the use of TOGAF, which I have used to design and implement highly effective and efficient architectures for a variety of clients.

In addition to my technical skills, I am a strong leader and team player. I have proven ability to manage and motivate teams, and to work collaboratively with a range of stakeholders to ensure that projects are delivered on time and to a high standard.

I hold a Bachelor's degree in Computer Science and a Master's degree in Enterprise Architecture, as well as a number of relevant certifications, including TOGAF Certified, Capgemini Integrated Architecture Framework Certified, SAP Certified Technical Consultant, and Certified Information Systems Security Professional (CISSP).

In my most recent role as a principal enterprise architect at XYZ Corporation, I was responsible for leading the design and implementation of a new enterprise architecture for the organization, utilizing TOGAF. I successfully delivered the project on time and within budget, and the resulting architecture has significantly improved the efficiency and effectiveness of the organization.

I am now seeking a new challenge in a dynamic and forward-thinking organization where I can utilize my skills and experience to drive innovation and support the realization of strategic objectives. I am confident that my expertise in TOGAF, along with my strong leadership and communication skills, make me an ideal candidate for the role of principal enterprise architect.

Thank you for considering my application. I look forward to the opportunity to discuss this further and to learn more about your organization and its goals.

Sincerely,

[Your Name]
Citera
2022-12-04, 00:35
  #20
Medlem
Enterprises avatar
Citat:
Ursprungligen postat av InteMassmedia
Jag har testat lite under dagen, och det är imponerande
Men, får ni också problem med att svaret avbryts efter x antal rader?
Du kan ändra maxlängd på svaret (Maximum Lenght)
Citera
2022-12-04, 01:22
  #21
Medlem
InteMassmedias avatar
Citat:
Ursprungligen postat av Retropropagation
Högre lön än för en senior Web developer...
Lycka till med jobbsökandet

Citat:
Ursprungligen postat av Enterprise
Du kan ändra maxlängd på svaret (Maximum Lenght)
Ok, jag testar det nästa gång

Jag försökte fråga den lite om den svenska artisten Timbuktu men den hade ingen aning om vem det var.
Det är lite konstigt att den kan fixa fram kod hur lätt som helst, men att ta fram info om en artist är inte dess uppgift

Om det inte är en amerikansk artist då
__________________
Senast redigerad av InteMassmedia 2022-12-04 kl. 01:28.
Citera
2022-12-04, 02:38
  #22
Medlem
plucaps avatar
Otroligt. Men föreligger det inte en risk att programmet befäster redan "etablerade" output eftersom dataunderlaget ytterst härstammar från redan existerande svar på frågor?
Dvs. du frågar något, den svarar, du publicerar svaret, vilket förstärker svaret. När du sedan frågar samma sak igen, ökar benägenheten att svara samma sak igen.
Citera
2022-12-04, 09:18
  #23
Medlem
Enterprises avatar
Citat:
Ursprungligen postat av plucap
Otroligt. Men föreligger det inte en risk att programmet befäster redan "etablerade" output eftersom dataunderlaget ytterst härstammar från redan existerande svar på frågor?
Dvs. du frågar något, den svarar, du publicerar svaret, vilket förstärker svaret. När du sedan frågar samma sak igen, ökar benägenheten att svara samma sak igen.
Det finns alltid en sådan risk, men som jag förstår går att ställa in olika former av slumpmässighet.
Citera
2022-12-04, 13:10
  #24
Medlem
Retropropagations avatar
Det här hade jag inte trott var möjligt...

Citat:
Unless you have been living under a rock, you have heard of this new ChatGPT assistant made by OpenAI. You might be aware of its capabilities for solving IQ tests, tackling leetcode problems or to helping people write LateX. It is an amazing resource for people to retrieve all kinds of information and solve tedious tasks, like copy-writing!

Today, Frederic Besse told me that he managed to do something different. Did you know, that you can run a whole virtual machine inside of ChatGPT?

https://www.engraved.blog/building-a-virtual-machine-inside/

PS
IQ-testandet:

Citat:
IQ of ChatGPT is 83.

It corresponds to low average.

https://twitter.com/SergeyI49013776/status/1598430479878856737
Citera

Skapa ett konto eller logga in för att kommentera

Du måste vara medlem för att kunna kommentera

Skapa ett konto

Det är enkelt att registrera ett nytt konto

Bli medlem

Logga in

Har du redan ett konto? Logga in här

Logga in