[{"data":1,"prerenderedAt":487},["ShallowReactive",2],{"project-36472854":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":15,"shown_in_year":16,"top":17,"tier":18,"category":19,"subcategory":20,"format":21,"keywords":22,"reception":27,"sentiment":28,"stance_mix":29,"scored_comments":33,"aspects":34,"strip":43,"post_text":44,"what":45,"said":74,"maker_in_thread":168,"shape":177,"grid":182,"attempts":449,"same_week":450,"maker_shows":32,"maker_hidden":479,"reader_version":480,"card":481},"36472854","WinGPT","AI assistant for Windows 3.1","title","Show HN: WinGPT – AI assistant for Windows 3.1","https:\u002F\u002Fwww.dialup.net\u002Fwingpt\u002F","dialup.net","dialupdotnet",1687729116,2023,382,90,3109,3,"legend","ai","chatbot client","desktop_app",[23,24,25,26],"windows 3.1","openai api","retro computing","tls 1.3","curious",0.255,{"positive":30,"neutral":31,"mixed":32,"critical":17},11,22,1,37,{"idea":35,"execution":38,"performance":40,"docs":41,"design":42},{"positive":36,"critical":37},5,0,{"positive":39,"critical":17},2,{"positive":39,"critical":37},{"positive":37,"critical":37},{"positive":32,"critical":37},[17,37,17,36,17,37,37,37,17,37,37,37,37,37,36,37,37,37,36,17,17,37,17,36,17,17,37,36,32,17,32,36,17,32,36,17,36,17,17,17],"Hey HN, I didn't want my Gateway 4DX2-66 from 1993 to be left out of the AI revolution, so I built an AI Assistant for Windows 3.1, based on the OpenAI API.\n\nThe most interesting parts of building this were:\n\n- Getting TLS 1.2 and 1.3 working on Windows 3.1 so that WinGPT could directly connect to OpenAI's server without relying on a modern machine for TLS termination.\n\n- Learning about the memory segmentation architecture on 16-bit Windows, including the difference between far and near pointers.\n\n- Building the UI in plain C code with the Windows API and limited selection of controls in Windo",{"problem":46,"audience":52,"pricing":52,"motivation":53,"time_to_build":52,"stack":57,"openness":72,"stage":73,"team_size":72},{"value":47,"source":48,"evidence":49},"Brings a ChatGPT-style AI assistant to Windows 3.1 machines","maker",[50],{"id":51},"post",null,{"value":54,"source":48,"evidence":55},"Did not want its 1993 Gateway 4DX2-66 left out of the AI revolution",[56],{"id":51},[58,62,66],{"value":59,"source":48,"evidence":60},"C",[61],{"id":51},{"value":63,"source":48,"evidence":64},"Windows API",[65],{"id":51},{"value":67,"source":48,"evidence":68},"JSMN JSON parser",[69],{"id":70,"by":11,"text":71},"36475952","Yep! I'm using JSMN (https:\u002F\u002Fgithub.com\u002Fzserge\u002Fjsmn), which is a streaming parser that visits each token sequentially, so there's only one copy of each JSON response in memory. I…","unknown","launched",{"praise":75,"objections":103,"requests":118,"questions":144,"alternatives":149},[76,92],{"value":77,"source":78,"evidence":79},"Native TLS 1.2\u002F1.3 on Windows 3.1 is impressive","commenter",[80,84,88],{"id":81,"by":82,"text":83},"36475498","grishka","Native TLS is the most impressive part. I remember being told that modern cryptography isn't usable on old CPUs simply because of the amount of unoptimizable number crunching…",{"id":85,"by":86,"text":87},"36510796","1970-01-01","If you got TLS 1.3 to work in Win 3.11, you deserve an award from Microsoft.",{"id":89,"by":90,"text":91},"36474212","userbinator","Getting TLS 1.2 and 1.3 working on Windows 3.1 so that WinGPT could directly connect to OpenAI's server without relying on a modern machine for TLS termination. That's in a…",{"value":93,"source":78,"evidence":94},"Fun retro concept and nostalgic UI",[95,99],{"id":96,"by":97,"text":98},"36473893","dangrover","Such a cool project! Also the example conversation in the screenshot is hilarious.",{"id":100,"by":101,"text":102},"36476582","coolgoose","I maybe feel nostalgic, but the old ui is so much... Better :)",[104,111],{"value":105,"source":78,"evidence":106},"Does not run on 64-bit Windows",[107],{"id":108,"by":109,"text":110},"36475109","2h","> It will not work on 64-bit versions of Windows ouch",{"value":112,"source":78,"evidence":113},"Writing Windows 3.1 apps in raw C is painful compared to Delphi or VB",[114],{"id":115,"by":116,"text":117},"36476185","pjmlp","Cool project, but as the author quickly found out there was a good reason why non masochists were already using C++ frameworks, TPW, VB, Delphi, VF, VO,...instead of raw C.",[119,126,133],{"value":120,"source":78,"evidence":121},"Make the system prompt customizable",[122],{"id":123,"by":124,"text":125},"36477478","einr","This is extremely neat and I will probably try it on one of my actual Windows 3.1 machines :) A suggestion (which seems easy enough to implement, I might give it a try if I can…",{"value":127,"source":78,"evidence":128},"Publish the source code",[129],{"id":130,"by":131,"text":132},"36474009","colesantiago","Would be nice to see the source :)",{"value":134,"source":78,"evidence":135},"Port to Windows NT 3.51 or Win 3.11",[136,140],{"id":137,"by":138,"text":139},"36517180","scrutinizer80","So cool! Can it run on Windows NT 3.51? Would doing so solve some of the memory limitations?",{"id":141,"by":142,"text":143},"36477521","hulitu","How about Win 3.11 ? It has networking support, you know.",[145],{"value":146,"source":78,"evidence":147},"Would it run on Windows NT 3.51?",[148],{"id":137,"by":138,"text":139},[150,161],{"value":151,"source":78,"evidence":152},"Clippy integration suggested",[153,157],{"id":154,"by":155,"text":156},"36474135","solarkraft","Have you considered building it into Clippy?",{"id":158,"by":159,"text":160},"36478281","RobotToaster","Shame microsoft agent (clippy) is 98 or later only, could be pretty fun integrated into that.",{"value":162,"source":78,"evidence":163},"Win32s for Windows 3.1 instead of segmented memory",[164],{"id":165,"by":166,"text":167},"36475440","Grom_PE","If you used Win32s for Windows 3.1, you wouldn't have to bother with the segmented memory model and it could also work on 64-bit Windows.",{"comments":36,"answered":32,"key":169},[170,173,174],{"id":171,"text":172},"36475246","Good idea :) Clippy is Office 97 and later though, so I'll need to make a version that fits in with the Windows 95\u002F98 (or even Windows Me) look!",{"id":70,"text":71},{"id":175,"text":176},"36481221","That's a great idea. Please do give it a try!",{"commenters":178,"max_depth":179,"maker_replies":36,"first_comment_mins":180,"lifespan_hours":181},72,6,102,81,[183,187,190,194,197,199,202,205,207,211,215,219,222,226,230,233,236,240,242,246,247,251,254,256,259,262,264,267,270,273,276,278,281,283,286,289,291,294,297,300,302,306,308,310,312,314,319,322,325,328,332,335,338,340,343,346,349,352,355,358,361,364,366,370,374,377,379,382,384,387,391,394,398,400,404,406,408,409,412,416,418,421,423,428,430,433,437,440,443,446],[184,37,17,185,186,37],"36474031","project\u002Fneutral\u002Fidea","ineedasername",[188,37,17,185,189,37],"36474642","rapind",[191,37,37,192,193,37],"36476563","other\u002Fneutral\u002Fnone","brtknr",[195,37,37,192,196,37],"36477686","blackoil",[171,37,37,198,11,32],"maker\u002Fneutral\u002Fdesign",[200,37,17,185,201,37],"36482043","juliangoldsmith",[203,37,37,192,204,37],"36504353","quickthrower2",[89,32,36,206,90,37],"project\u002Fpositive\u002Fexecution",[208,32,36,209,210,37],"36475194","project\u002Fpositive\u002Fidea","fouc",[212,32,17,213,214,37],"36476441","project\u002Fneutral\u002Fexecution","kazinator",[216,39,37,217,218,37],"36476921","other\u002Fneutral\u002Fdesign","blackhaz",[220,39,37,217,221,37],"36477302","scrlk",[223,39,37,224,225,37],"36480218","commenter\u002Fneutral\u002Fnone","achr2",[227,39,37,228,229,37],"36477676","other\u002Fcritical\u002Fdesign","izacus",[231,39,37,192,232,37],"36478103","InCityDreams",[234,39,37,228,235,37],"36479065","haspok",[237,39,37,238,239,37],"36490524","commenter\u002Fneutral\u002Fdesign","pjc50",[241,39,37,224,229,37],"36494073",[243,17,17,244,245,37],"36475638","project\u002Fneutral\u002Fperformance","ashleyn",[70,17,37,244,11,32],[248,249,37,192,250,37],"36476080",4,"com2kid",[252,249,37,224,253,37],"36476168","razemio",[255,249,37,192,250,37],"36476325",[257,249,37,228,258,37],"36476589","movedx",[260,249,37,217,261,37],"36478078","black3r",[263,249,37,224,258,37],"36478752",[265,249,37,217,266,37],"36478994","wildrhythms",[268,249,37,192,269,37],"36476575","jchw",[271,249,37,192,272,37],"36477054","mike_hearn",[274,249,37,224,275,37],"36480860","pjerem",[277,249,37,224,272,37],"36483283",[279,36,37,192,280,37],"36473947","29athrowaway",[81,179,36,282,82,37],"project\u002Fpositive\u002Fperformance",[284,179,37,192,285,37],"36475824","Shawnj2",[287,179,37,288,82,37],"36475973","other\u002Fneutral\u002Fperformance",[290,179,37,192,285,37],"36476029",[292,179,37,293,82,37],"36476470","commenter\u002Fneutral\u002Fperformance",[295,179,37,224,296,37],"36478939","nick__m",[298,179,37,288,299,37],"36493223","kjs3",[301,179,37,192,299,37],"36493118",[303,304,36,209,305,37],"36477741",7,"fsiefken",[123,307,36,209,124,37],8,[175,307,37,309,11,32],"maker\u002Fneutral\u002Fnone",[165,311,17,213,166,37],9,[313,311,37,192,116,37],"36476170",[315,316,17,317,318,37],"36476739",10,"project\u002Fmixed\u002Fexecution","speedgoose",[320,316,37,224,321,37],"36476765","vorticalbox",[323,316,37,224,324,37],"36477190","iraldir",[326,316,37,224,327,37],"36478595","collinvandyck76",[329,316,17,330,331,37],"36476843","project\u002Fneutral\u002Fdocs","HeckFeck",[333,316,17,330,334,37],"36489305","djgl",[336,316,37,337,334,37],"36504376","commenter\u002Fneutral\u002Fdocs",[96,30,36,339,97,37],"project\u002Fpositive\u002Fnone",[341,30,17,185,342,37],"36474057","netsharc",[344,30,37,192,345,37],"36474607","LeoPanthera",[347,30,17,185,348,37],"36476077","zgluck",[350,30,17,185,351,37],"36474637","mitchdoogle",[353,30,37,192,354,37],"36476893","column",[356,30,37,357,11,32],"36475103","maker\u002Fneutral\u002Fidea",[359,30,37,360,11,32],"36475132","maker\u002Fpositive\u002Fnone",[100,362,36,363,101,37],12,"project\u002Fpositive\u002Fdesign",[154,365,17,185,155,37],13,[367,368,36,282,369,37],"36477740",14,"nXqd",[371,372,37,192,373,37],"36505969",15,"philluminati",[108,375,32,376,109,37],16,"project\u002Fcritical\u002Fexecution",[378,375,17,213,82,37],"36475509",[380,375,17,213,381,37],"36482855","Narishma",[383,375,32,376,109,37],"36487308",[385,375,17,213,386,37],"36515647","roytam87",[388,389,36,209,390,37],"36473686",17,"hoofedear",[392,389,37,192,393,37],"36474129","CharlesW",[395,389,37,396,397,37],"36474186","other\u002Fneutral\u002Fidea","sailingdarter",[158,399,17,185,159,37],18,[401,402,37,192,403,37],"36477516",19,"SergeAx",[115,405,32,376,116,37],20,[137,407,17,213,138,37],21,[85,31,36,206,86,37],[410,411,17,185,299,37],"36492801",23,[413,414,37,192,415,37],"36477355",24,"al_be_back",[130,417,17,330,131,37],25,[419,417,37,337,420,37],"36474080","gary_0",[422,417,37,337,348,37],"36476059",[424,425,36,426,427,37],"36476435",26,"maker\u002Fpositive\u002Fidea","iJohnDoe",[141,429,17,185,142,37],27,[431,429,37,224,432,37],"36495599","ok123456",[434,435,17,185,436,37],"36474266",28,"web3-is-a-scam",[438,435,37,192,439,37],"36474474","didgeoridoo",[441,435,37,192,442,37],"36474504","BizarreByte",[444,435,37,192,445,37],"36475019","replwoacause",[447,435,17,185,448,37],"36476974","lionkor",[],[451,456,461,465,469,474],{"id":452,"name":453,"points":454,"category":455},"36480687","Mofi",708,"creative",{"id":457,"name":458,"points":459,"category":460},"36470297","OpenResume",656,"productivity",{"id":462,"name":463,"points":464,"category":460},"36446045","Vrite Editor",460,{"id":466,"name":467,"points":468,"category":19},"36505859","background removal",395,{"id":470,"name":471,"points":472,"category":473},"36447871","React Graph Gallery",297,"dev_tools",{"id":475,"name":476,"points":477,"category":478},"36469297","Hypersomnia",270,"games",false,"v2",{"id":482,"name":5,"line":6,"ai":479,"cat":19,"year":13,"points":14,"comments":15,"rec":27,"s":483,"top":17,"kw":484,"maker":11,"domain":10,"tier":18,"attempts":37,"strip":485,"url":9,"mix":486,"praise":77,"objection":105,"sub":20},36472854,0.26,[23,24,25,26],"3035300030000050005330353305131531535333",[30,31,32,17],1794036637420]