Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
ultrafilter
Aug 23, 2007

It's okay if you have any questions.


https://twitter.com/sharifshameem/status/1283322990625607681

This is just a toy for now, but in ten years it might not be.

Adbot
ADBOT LOVES YOU

Xik
Mar 10, 2011

Dinosaur Gum
All you need now is the end user to know exactly what they want and how to describe it.

Bongo Bill
Jan 17, 2012

A quick feedback loop can help them get there, at least.

Macichne Leainig
Jul 26, 2012

by VG
Can’t wait for the brain implant that will let me generate entire websites with a thought.

Canine Blues Arooo
Jan 7, 2008

when you think about it...i'm the first girl you ever spent the night with

Grimey Drawer

Protocol7 posted:

Can’t wait for the brain implant that will let me generate entire websites with a thought.

I'll preorder that.

Volmarias
Dec 31, 2002

EMAIL... THE INTERNET... SEARCH ENGINES...

Xik posted:

All you need now is the end user to know exactly what they want and how to describe it.

Until there's a descriptor implemented for making it "pop" I don't think anyone has to worry

Slimy Hog
Apr 22, 2008

Xik posted:

All you need now is the end user to know exactly what they want and how to describe it.

And something that implements all the backend logic...

Doom Mathematic
Sep 2, 2008
Can't wait for the job listings requiring 6 years of experience of with GPT-3.

csammis
Aug 26, 2003

Mental Institution
I haven’t really been following this except for the first announcement which I think was posted here or the Coding Horrors thread, and this tweet. Have there been any demonstrations of GPT-3 other than short demo videos by the creator? I’m not saying it’s full of poo poo but I’m thinking it really hard.

Macichne Leainig
Jul 26, 2012

by VG
It’s always good to be skeptical but at the same time something like this is inevitable. The skeptic in me says it’ll probably get rolled into some Wix-like site builder and stamped with some Powered By AI marketing bullshit though.

csammis
Aug 26, 2003

Mental Institution
Oh I believe there's parsing that's translating the demonstrated sentences to CSS or whatever to make the two buttons have more padding. It might even be a decent NLP engine, but whooooo boy is there some poo poo-rear end vague language employed by programmers of every description. I'm just highly skeptical of the ability to handle to anything remotely underspecified and/or actually complicated. I think the first canned demo I saw was "is a string a palindrome," and the Google homepage isn't exactly a model of complexity.

Xik posted:

All you need now is the end user to know exactly what they want and how to describe it.

"Okay GPT-3, make the padding between buttons like Google but from 2007. I took a picture on my phone and you can download it here: C:\Users\Dipshit\Desktop\GoodGooglePicture.doc"

Canine Blues Arooo
Jan 7, 2008

when you think about it...i'm the first girl you ever spent the night with

Grimey Drawer

csammis posted:

"Okay GPT-3, make the padding between buttons like Google but from 2007. I took a picture on my phone and you can download it here: C:\Users\Dipshit\Desktop\GoodGooglePicture.doc"

I laughed at this uncontrollably for way too long. Oh dear this is too real.

Xik
Mar 10, 2011

Dinosaur Gum

csammis posted:

C:\Users\Dipshit\Desktop\GoodGooglePicture.doc"

This except it's a blank outlook saved message which has that document as an attachment. The doc itself has two page breaks and on the third is a shrinked screenshot with all the important text unreadable.

Slimy Hog
Apr 22, 2008

Protocol7 posted:

It’s always good to be skeptical but at the same time something like this is inevitable. The skeptic in me says it’ll probably get rolled into some Wix-like site builder and stamped with some Powered By AI marketing bullshit though.

The language processing is cool and all, but I don't think it's the future. Something that can take mocks and turn it into a page is probably more likely to be useful, and even then only for static pages.

Vulture Culture
Jul 14, 2003

I was never enjoying it. I only eat it for the nutrients.
It's 2020. Screenshots from clients come in as phone camera pictures of another phone, over text message, at 12:45 AM

lifg
Dec 4, 2000
<this tag left blank>
Muldoon

Vulture Culture posted:

It's 2020. Screenshots from clients come in as phone camera pictures of another phone, over text message, at 12:45 AM

How far we’ve come from 2000’s: “email has an attached word doc, that contains a screenshot of an image to be uploaded to the website.” What a brave new world!

Macichne Leainig
Jul 26, 2012

by VG
He's building basic application functionality into the GPT-3 description-based builder now:

https://twitter.com/sharifshameem/status/1284095222939451393

prom candy
Dec 16, 2005

Only I may dance
Time to break into the factory and break all the GPT machines

Bruegels Fuckbooks
Sep 14, 2004

Now, listen - I know the two of you are very different from each other in a lot of ways, but you have to understand that as far as Grandpa's concerned, you're both pieces of shit! Yeah. I can prove it mathematically.

Protocol7 posted:

He's building basic application functionality into the GPT-3 description-based builder now:

https://twitter.com/sharifshameem/status/1284095222939451393

Ah, yes, that solves the hard problem of software development, actually getting your users to tell you what they loving want.

Macichne Leainig
Jul 26, 2012

by VG

Bruegels Fuckbooks posted:

Ah, yes, that solves the hard problem of software development, actually getting your users to tell you what they loving want.

Clients have no problem describing things. The problem is that what they actually want and what they describe are two different things.

So as long as it supports phrases like “make it pop” or “make an app that does x... but not like that” it’s fine! :downs:

Queen Victorian
Feb 21, 2018

This thing seems cool, but I can’t help but think it’ll get all out of whack once you take it outside softball demo cases a la Hotdog Not Hotdog.

As a UI designer in the enterprise data analytics space, I can imagine a lot of scenarios where it would be easier for me to just write the drat component directly than to dick around with natural language input that basically needs to legalese-level watertight to correctly get your point across to the AI.

And then once you have the AI generate you a component, how does manual tweaking work? If you wanted to be able to tweak it and still be compatible with modification efforts by the AI, I imagine it would have to keep track of manual changes so it continues to be in the correct context.

And what if I wanted to make something more complex than an “online business card” type website or toy app? Would it be able to build you an app with CMS functionality, like for a portfolio you can add projects to? What if I want the component’s parameter to be a complex data object? Would I have to describe how the app/component is to interpret the object? Or does it even work for that level of description? How can I instruct it to talk to the API? Does it consider security? If I’m a restaurant and I want to post an online menu, do I have to spell out how it’s to format each entry or can I give it a text doc or CSV with the menu items and just tell it the display rules? The more I think about it the more questions I have.

Anyhow, the natural language space in AI is fascinating to me. At a previous job I got some exposure to bleeding edge agricultural/industrial robotics and would daydream what the human-robot interface would be like - the ultimate one was just natural language and maybe showing it a map, just like how you communicate with a human worker. I think we are still a ways off from that, though.

Macichne Leainig
Jul 26, 2012

by VG
I can’t help but notice that all the output is class components, which seems like a bit of a regression since functional components have been the new hotness for a while now.

The earlier versions output raw HTML which probably would be more useful in the long run. I mean it wouldn’t take a skilled React developer very long to write a fully functional increment/decrement or todo app, and I agree beyond that it’s limitations are likely to be painfully obvious.

I’m more interested in GPT-3 itself, seeing as it supposedly can generate articles that are nearly indistinguishable from human-written pieces.

Volmarias
Dec 31, 2002

EMAIL... THE INTERNET... SEARCH ENGINES...

Queen Victorian posted:

This thing seems cool, but I can’t help but think it’ll get all out of whack once you take it outside softball demo cases a la Hotdog Not Hotdog.

As a UI designer in the enterprise data analytics space, I can imagine a lot of scenarios where it would be easier for me to just write the drat component directly than to dick around with natural language input that basically needs to legalese-level watertight to correctly get your point across to the AI.

And then once you have the AI generate you a component, how does manual tweaking work? If you wanted to be able to tweak it and still be compatible with modification efforts by the AI, I imagine it would have to keep track of manual changes so it continues to be in the correct context.

And what if I wanted to make something more complex than an “online business card” type website or toy app? Would it be able to build you an app with CMS functionality, like for a portfolio you can add projects to? What if I want the component’s parameter to be a complex data object? Would I have to describe how the app/component is to interpret the object? Or does it even work for that level of description? How can I instruct it to talk to the API? Does it consider security? If I’m a restaurant and I want to post an online menu, do I have to spell out how it’s to format each entry or can I give it a text doc or CSV with the menu items and just tell it the display rules? The more I think about it the more questions I have.

Anyhow, the natural language space in AI is fascinating to me. At a previous job I got some exposure to bleeding edge agricultural/industrial robotics and would daydream what the human-robot interface would be like - the ultimate one was just natural language and maybe showing it a map, just like how you communicate with a human worker. I think we are still a ways off from that, though.

Protocol7 posted:

So as long as it supports phrases like “make it pop” or “make an app that does x... but not like that” it’s fine! :downs:

Vulture Culture
Jul 14, 2003

I was never enjoying it. I only eat it for the nutrients.
There's a lot of opportunities to use this kind of tech to make websites accessible, but I'm certain this tool will only ever be used to create inaccessible websites.

Would be interesting to see how it fares in the hands of someone like Glitch though

smackfu
Jun 7, 2004

Isnt it just just ML text generation, where the text happens to be JSX?

Macichne Leainig
Jul 26, 2012

by VG

smackfu posted:

Isnt it just just ML text generation, where the text happens to be JSX?

It uses GPT-3’s NLP features and probably some very very very strict rules on how to build and structure a “React App.”

At this point I’m not convinced the app won’t just break or just generate useless code in 90% of situations and all we are seeing is just the best case examples to generate hype.

Macichne Leainig fucked around with this message at 04:32 on Jul 19, 2020

Rocko Bonaparte
Mar 12, 2002

Every day is Friday!

Bruegels Fuckbooks posted:

Ah, yes, that solves the hard problem of software development, actually getting your users to tell you what they loving want.

Bro, bro, bro! I have this awesome idea. Make, like, Twitter, but faster.

Che Delilas
Nov 23, 2009
FREE TIBET WEED

Protocol7 posted:

It uses GPT-3’s NLP features and probably some very very very strict rules on how to build and structure a “React App.”

At this point I’m not convinced the app won’t just break or just generate useless code in 90% of situations and all we are seeing is just the best case examples to generate hype.

I can fix this issue, all we have to do is put it on the blockchain.

Macichne Leainig
Jul 26, 2012

by VG

Che Delilas posted:

I can fix this issue, all we have to do is put it on the blockchain.

Why stop there? I won’t be satisfied until we have serverless artificial intelligence IoT applications powered by the blockchain to provide actionable insights into natural language processing.

Canine Blues Arooo
Jan 7, 2008

when you think about it...i'm the first girl you ever spent the night with

Grimey Drawer

Protocol7 posted:

Why stop there? I won’t be satisfied until we have serverless artificial intelligence IoT applications powered by the blockchain to provide actionable insights into natural language processing.

Can we get some machine learning to help with this? My grandson says that it can play mario, so it seems like it could do business.

Macichne Leainig
Jul 26, 2012

by VG
In all seriousness, I think it’s important to note that the Debuild tool has an official site complete with generic landing page elements and a link to a Google Form for “signing up.”

Very official!

beuges
Jul 4, 2005
fluffy bunny butterfly broomstick

Protocol7 posted:

In all seriousness, I think it’s important to note that the Debuild tool has an official site complete with generic landing page elements and a link to a Google Form for “signing up.”

Very official!

Was the official site generated by the Debuild tool though?

ultrafilter
Aug 23, 2007

It's okay if you have any questions.


https://twitter.com/yoavgo/status/1284645259935461383

I'm not sure that I completely agree with this, but I can't say it's wrong either.

vonnegutt
Aug 7, 2006
Hobocamp.

Queen Victorian posted:

This thing seems cool, but I can’t help but think it’ll get all out of whack once you take it outside softball demo cases a la Hotdog Not Hotdog.

As a UI designer in the enterprise data analytics space, I can imagine a lot of scenarios where it would be easier for me to just write the drat component directly than to dick around with natural language input that basically needs to legalese-level watertight to correctly get your point across to the AI.

...more good points...

The devil on my shoulder says that all product owners should have access to this tool so they learn how to ask for things better...

My actual opinion is that this will go the way of Dreamweaver for writing HTML. It will work as expected, but the generated code will be so hyper-specific and bloated that it will be unmaintainable spaghetti, and that many devs will be employed strictly to clean it up. There are thousands of low-paying PHP positions doing exactly that for people's Wordpress sites.

vonnegutt fucked around with this message at 23:11 on Jul 20, 2020

prom candy
Dec 16, 2005

Only I may dance
Bring back MM_swapImgRestore()

Vulture Culture
Jul 14, 2003

I was never enjoying it. I only eat it for the nutrients.

ultrafilter posted:

https://twitter.com/yoavgo/status/1284645259935461383

I'm not sure that I completely agree with this, but I can't say it's wrong either.
Yeah, we could all live in prefab/modular homes too, but there are some advantages to not doing that

marumaru
May 20, 2013



ultrafilter posted:

https://twitter.com/yoavgo/status/1284645259935461383

I'm not sure that I completely agree with this, but I can't say it's wrong either.

using bootstrap and jquery should be more accepted.

Woebin
Feb 6, 2006

So I'm sitting with what feels like an embarrassingly dumb question rolling around my head. In the project I'm working on, we've got selection controls populated with arrays of key-value pairs - one part to show the user, and one part to use in the logic. For example, let's say the user is asked to select an amount of money from a dropdown. They select "$100.00" and we run with the other part of the KVP, "100".

Now on to my dumb question: what should be the key and what should be the value? My gut instinct says the string shown to users should be the key and the logic-related data should be the value, but the opposite is more often true in the existing code (but that's also inconsistent). Am I just being an enormous idiot here?

Also, a fun side note: I say these are KVPs, and functionally they are, but for some reason before my time the team rolled their own "IKeyTextItem<T>" interface instead. Which is just a KVP except with "key" and "text" instead of "Key" and "Value". Which, again maybe I'm just wrong, but this seems... stupid.

This is in Typescript by the way, but I figure my question has the same answer regardless of language.

Jabor
Jul 16, 2010

#1 Loser at SpaceChem
Neither of them is the key - or rather, the concept of a "key" is meaningless without any context around what the key actually means.

You have a text string, and a numeric value. In some parts of your code, you may take a text string as input, and return the corresponding value, which would make the text the key in that particular context. In other parts of your code, you may take a numeric value and look for a matching text string, which would make the value the key. In yet more parts of your code, you might just take a collection of pairs and use it to populate a list of options, in which case neither is acting as the key. Not every pair is necessarily a key-value pair, sometimes it's just a pair.

Even if your language provides Pairs (or Triples, or higher-dimensional Tuples), it's often still a good idea to create a new type to represent a specific combination of data (in this case, a selectable item in a dropdown). This allows you to give meaningful names to the individual pieces of data (instead of just "first" and "second" or whatever the default names are), and makes code a lot clearer to read. I might quibble with the name they've chosen a bit, but their overall approach seems fine.

Adbot
ADBOT LOVES YOU

Woebin
Feb 6, 2006

Jabor posted:

Neither of them is the key - or rather, the concept of a "key" is meaningless without any context around what the key actually means.

You have a text string, and a numeric value. In some parts of your code, you may take a text string as input, and return the corresponding value, which would make the text the key in that particular context. In other parts of your code, you may take a numeric value and look for a matching text string, which would make the value the key. In yet more parts of your code, you might just take a collection of pairs and use it to populate a list of options, in which case neither is acting as the key. Not every pair is necessarily a key-value pair, sometimes it's just a pair.

Even if your language provides Pairs (or Triples, or higher-dimensional Tuples), it's often still a good idea to create a new type to represent a specific combination of data (in this case, a selectable item in a dropdown). This allows you to give meaningful names to the individual pieces of data (instead of just "first" and "second" or whatever the default names are), and makes code a lot clearer to read. I might quibble with the name they've chosen a bit, but their overall approach seems fine.
A very good reply to a pretty bad question, thanks! I think you have a good point re: custom types, although the thing about this one is that it's used pretty generically. My made-up example was a string and a number, but the "key" can be any type, and the interface is used in a lot of different contexts. Like, there are multiple arrays of IKeyTextItems throughout the code where the keys are just booleans while the text is "Yes" and "No" (and yeah this exact array is defined in multiple places).

So I think that threw me off and I approached the question from the wrong starting point, ultimately. Thanks a lot for the reply, it's a great help!

E: also I realize there are threads better suited to questions like this, it's just that this is one of the few threads I manage to keep up with properly even if I rarely post.

Woebin fucked around with this message at 13:34 on Jul 29, 2020

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply