News for hackers. Stuff that matters.
Re:GPT-Migrate converts repos from one lang/framework to ano... by DaiPlusPlus on Sunday July 02, 2023 @01:47AM (#36558592)
I'm tempted to point this at the Linux kernel repo and tell it to convert it "to work on Windows" and see what happens...
Re:GPT-Migrate converts repos from one lang/framework to ano... by olalonde on Sunday July 02, 2023 @02:33AM (#36558845)
Rewrite in Rust for guaranteed 1st spot on HN's front page.
Re:GPT-Migrate converts repos from one lang/framework to ano... by EGreg on Sunday July 02, 2023 @02:42AM (#36558913)
Or in Brainfuck
Re:GPT-Migrate converts repos from one lang/framework to ano... by TT-392 on Sunday July 02, 2023 @03:34AM (#36559180)
As far as I have tried, at least chatgpt basically cannot do brainfuck. I think it might just be too far from natural language. It basically just gives you hello worlds with randomly injected characters.
Re:GPT-Migrate converts repos from one lang/framework to ano... by tylercrompton on Sunday July 02, 2023 @04:13AM (#36559421)
Doesn't ChatGPT excel at providing step-by-step instructions? That's kind of what Brainfuck is with only eight options for each step. I'd imagine that it could reach the end result using a combination of those eight options. Can it not?
Re:GPT-Migrate converts repos from one lang/framework to ano... by TT-392 on Tuesday July 04, 2023 @05:55AM (#36584435)
Idk, I'd get nonfunctioning code. With explanations of what every piece of code does. Just that the code it is explaining, is actually gibbrish.
Re:GPT-Migrate converts repos from one lang/framework to ano... by YeGoblynQueenne on Sunday July 02, 2023 @09:00AM (#36561078)
I wonder why. GPT-3 could do brainfuck just fine:

https://papers.nips.cc/paper/2021/hash/0cd6a652ed1f7811192db...

(though worse, for complex cases, to one of the compared systems - see figure 2) (oops, fully disclosure: the system in question is my PhD work).

Re:GPT-Migrate converts repos from one lang/framework to ano... by gailees on Sunday July 02, 2023 @03:10AM (#36559058)
Has anyone tried it yet? Would be crazy if it worked.
Re:GPT-Migrate converts repos from one lang/framework to ano... by cwalv on Sunday July 02, 2023 @03:27AM (#36559146)
I remember when Siri was first demoed, a dev I worked with was convinced it was just like having human personal assistant. I hadn't seen the demo, but I was confident he was wrong. Haven't tried this either, but I'm equally confident it wouldn't work .. or even kind of come close to working
Re:GPT-Migrate converts repos from one lang/framework to ano... by DaiPlusPlus on Sunday July 02, 2023 @05:07AM (#36559713)
Siri was objectively better in the past - I remember using it when I got my iPhone 4S and being impressed with how it returned very relevant data from WolframAlpha and other sources - then it all dried-up and all Siri is useful for now is voice-control for my bedroom lights and phone alarm...
Re:GPT-Migrate converts repos from one lang/framework to ano... by 0xpayne on Sunday July 02, 2023 @03:18AM (#36559093)
Will use GPT-Migrate to migrate to rust ;)
Re:GPT-Migrate converts repos from one lang/framework to ano... by transitivebs on Sunday July 02, 2023 @03:18AM (#36559098)
this would be legendary.

prolly going to fall on its face for something of this complexity, but "the next big thing always starts out looking like a toy"

Re:GPT-Migrate converts repos from one lang/framework to ano... by jayd16 on Sunday July 02, 2023 @01:53AM (#36558622)
Will it spit out WSL1 or WSL2?
Re:GPT-Migrate converts repos from one lang/framework to ano... by PrimeMcFly on Sunday July 02, 2023 @01:54AM (#36558631)
It will be rewritten in .NET and rely on HyperV.
Re:GPT-Migrate converts repos from one lang/framework to ano... by gailees on Sunday July 02, 2023 @03:12AM (#36559066)
Did you try it yet? Curious how far it could get.
Re:GPT-Migrate converts repos from one lang/framework to ano... by sigotirandolas on Sunday July 02, 2023 @08:17AM (#36560760)
Funnily enough, it seems like someone already attempted to do this around 20 years ago - search for "Umlwin32"