[{"data":1,"prerenderedAt":385},["ShallowReactive",2],{"project-30531621":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":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":35,"aspects":36,"strip":43,"post_text":46,"what":47,"said":91,"maker_in_thread":214,"shape":226,"grid":230,"attempts":342,"same_week":349,"maker_shows":215,"maker_hidden":378,"reader_version":379,"card":380},"30531621","WAPM","WebAssembly Package Manager","title","Show HN: WAPM – WebAssembly Package Manager","https:\u002F\u002Fwapm.io\u002F","wapm.io","syrusakbary",1646248958,2022,186,47,316,2570,13,"notable","dev_tools","package manager","web_app",[24,21,25,26,27],"webassembly","wasm","wasmer","wasi","curious",-0.25,{"positive":31,"neutral":32,"mixed":33,"critical":34},1,15,2,11,29,{"idea":37,"execution":38,"design":41,"privacy":42},{"positive":31,"critical":31},{"positive":39,"critical":40},0,4,{"positive":39,"critical":31},{"positive":39,"critical":33},[31,39,31,31,44,44,31,39,31,39,44,44,44,44,39,31,39,44,44,31,44,39,44,39,39,44,39,44,31,45,44,44,39,31,31,39,31,44,39,39],3,5,"Hi HN!\n\nI’m Syrus, from the Wasmer team. We just released the new version of WAPM that is an order of magnitude better than the previous one (that we also announced here in HN two years ago! [0]), enabling an incredible experience for using and publishing WebAssembly packages.\n\nThe tech stack that we are using includes:\n\n* Python and Django (for the backend) with Graphene (for the open GraphQL API [1]) and Django Channels with websockets over GraphQL [2] for subscriptions\n\n* Next.js [3] with React-Relay [4] and Tailwind.css [5] for the frontend\n\n* WebAssembly and Wasmer [6] (for the online she",{"problem":48,"audience":54,"pricing":54,"motivation":54,"time_to_build":54,"stack":55,"openness":88,"stage":89,"team_size":90},{"value":49,"source":50,"evidence":51},"Using and publishing WebAssembly packages","maker",[52],{"id":53},"post",null,[56,60,64,68,72,76,80,84],{"value":57,"source":50,"evidence":58},"Python",[59],{"id":53},{"value":61,"source":50,"evidence":62},"Django",[63],{"id":53},{"value":65,"source":50,"evidence":66},"Graphene",[67],{"id":53},{"value":69,"source":50,"evidence":70},"Django Channels",[71],{"id":53},{"value":73,"source":50,"evidence":74},"Next.js",[75],{"id":53},{"value":77,"source":50,"evidence":78},"React-Relay",[79],{"id":53},{"value":81,"source":50,"evidence":82},"Tailwind CSS",[83],{"id":53},{"value":85,"source":50,"evidence":86},"WebAssembly and Wasmer for the online shell",[87],{"id":53},"unknown","launched","company",{"praise":92,"objections":105,"requests":150,"questions":174,"alternatives":197},[93],{"value":94,"source":95,"evidence":96},"Interest in a cross-platform WebAssembly package ecosystem","commenter",[97,101],{"id":98,"by":99,"text":100},"30532000","miloignis","I'm a big fan of WebAssembly and the idea of WAPM! It's very cool, and I'm hopeful for a more interoperable future. A quick bug report: the \"Open in Shell\" feature seems to fail…",{"id":102,"by":103,"text":104},"30534762","mostly_harmless","It looks like this is focused on primarily on executables, but there is a mention of libraries. I was looking into WASM libraries recently, specifically WebAssembly Interface…",[106,117,128,139],{"value":107,"source":95,"evidence":108},"Wasmer seen as a bad actor after trademark attempts on WebAssembly",[109,113],{"id":110,"by":111,"text":112},"30544669","lioeters","> Wasmer..wants to own the Wasm ecosystem They tried to trademark the terms WASM and WebAssembly. https:\u002F\u002Fuspto.report\u002Fcompany\u002FWasmer-Inc…",{"id":114,"by":115,"text":116},"30535011","a27a2b","Wasmer is considered a bad actor by many, and there are many in the WASM space who want nothing to do with them. It's no accident Wasmer isn't a part of the Bytecode Alliance…",{"value":118,"source":95,"evidence":119},"Cross-origin errors in Firefox broke packages and shell, since fixed",[120,124],{"id":121,"by":122,"text":123},"30536061","jeroenhd","Looks very interesting, though the Javascript demo doesn't seem to work (Firefox 97.0). The following error gets logged into my console: > Cross-Origin Request Blocked: The Same…",{"id":125,"by":126,"text":127},"30533652","sbeckeriv","irb in firefox gives me: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at…",{"value":129,"source":95,"evidence":130},"Source code not available or GitHub org has few repos",[131,135],{"id":132,"by":133,"text":134},"30537721","xx__yy","This is basically a package repo of WASM file(s), which seem to have been compiled from Rust source mostly, but other language that can be compiled to WASM would work too. And…",{"id":136,"by":137,"text":138},"30533830","mfer","I was surprised that I couldn't read the source for it. Doesn't appear to be open source.",{"value":140,"source":95,"evidence":141},"Lacks package signing and lock files with hashes",[142,146],{"id":143,"by":144,"text":145},"30532320","rdxm","In this day and age, it's arguably irresponsible to publish any tooling that does not organically integrate a requirement to use Sigstore for all packages allowed to be uploaded.…",{"id":147,"by":148,"text":149},"30541120","no_circuit","IMO just signing packages is a weak form of trust. Even without potentially using Sigstore, does WAPM now let you lock based both on the versions of dependencies, as well as the…",[151,159,167],{"value":152,"source":95,"evidence":153},"Support for Windows and library interface types",[154,158],{"id":155,"by":156,"text":157},"30533854","kybernetikos","Just trying to run some things on windows and it does look like maybe it's not fully formed. quickjs panicked with 'not implemented: VirtualFile::poll is not implemented for…",{"id":102,"by":103,"text":104},{"value":160,"source":95,"evidence":161},"Package signing via Sigstore",[162,163],{"id":143,"by":144,"text":145},{"id":164,"by":165,"text":166},"30532945","jacques_chester","In fairness, Sigstore is a pretty new technology. Existing package managers haven't integrated it yet, though are working towards it. For example, I've been working with…",{"value":168,"source":95,"evidence":169},"Better explore and search UI",[170],{"id":171,"by":172,"text":173},"30533163","eyelidlessness","I found this yesterday and, maybe it’s because I’m viewing on mobile, but the Explore functionality is very confusing. For instance sorting alphabetically… doesn’t. Search shows…",[175,186],{"value":176,"source":95,"evidence":177},"How the package format and linking work",[178,182],{"id":179,"by":180,"text":181},"30532385","skybrian","It seems WebAssembly itself defines text and binary formats for modules, but I'm wondering what this particular package format looks like. A directory of files? What are they?…",{"id":183,"by":184,"text":185},"30532674","CyberRabbi","With NPM I can install packages, develop with them, and then use webpack to bundle everything into a single JS file. How can I bundle the WAPM packages I install into a single…",{"value":187,"source":95,"evidence":188},"How it differs from npm and other package managers",[189,193],{"id":190,"by":191,"text":192},"30533218","almet","Thanks for the info and the work done. I don't quite understand how this fits in the picture of other package managers. If it's capable of being a multi-platform package manager,…",{"id":194,"by":195,"text":196},"30532260","timmit","Wait, I thought originally it was a NPM for WebAssembly. But it looks like a WebAssembly version of Homebrew.",[198,206,210],{"value":199,"source":95,"evidence":200},"npm",[201,205],{"id":202,"by":203,"text":204},"30539897","sitkack","Wasmer Inc (they run wapm.io) basically wants to own the Wasm ecosystem the way that NPM has owned the JavaScript world. This isn't run by an org like Apache, or CNCF. They are…",{"id":183,"by":184,"text":185},{"value":207,"source":95,"evidence":208},"Homebrew",[209],{"id":194,"by":195,"text":196},{"value":211,"source":95,"evidence":212},"Native Rust builds",[213],{"id":132,"by":133,"text":134},{"comments":18,"answered":215,"key":216},7,[217,220,223],{"id":218,"text":219},"30532567","Fixed! Thanks for the feedback!",{"id":221,"text":222},"30535129","We have a PR that addresses the poll issue in both Windows and JS environments, but it's not yet merged (although that's what the WAPM online shell uses!) :)",{"id":224,"text":225},"30536920","I just dug a bit into the issue. It seems Firefox is not treating the COOP\u002FCOEP headers as it should, and it's interpreting `Cross-Origin-Opener-Policy: same-origin` as to only…",{"commenters":227,"max_depth":45,"maker_replies":18,"first_comment_mins":228,"lifespan_hours":229},31,18,321,[231,233,237,239,241,243,247,249,250,251,252,253,255,257,260,262,264,266,267,269,270,272,274,277,281,283,286,287,290,294,298,300,303,306,310,314,318,321,324,325,327,330,333,334,335,338,340],[132,39,31,232,133,39],"project\u002Fcritical\u002Fidea",[234,39,39,235,236,39],"30538235","commenter\u002Fneutral\u002Fnone","kamilafsar",[202,39,31,238,203,39],"project\u002Fcritical\u002Fexecution",[110,39,31,240,111,39],"maker\u002Fcritical\u002Fnone",[102,31,44,242,103,39],"project\u002Fneutral\u002Fnone",[244,33,44,245,246,39],"30532463","project\u002Fneutral\u002Fexecution","danenania",[218,33,39,248,11,31],"maker\u002Fneutral\u002Fnone",[155,33,31,238,156,39],[221,33,39,245,11,31],[121,44,31,238,122,39],[224,44,39,245,11,31],[254,44,44,245,122,39],"30537231",[256,44,39,245,11,31],"30537344",[258,40,44,259,148,39],"30534297","project\u002Fmixed\u002Fexecution",[190,45,44,261,191,39],"project\u002Fneutral\u002Fidea",[98,263,44,259,99,39],6,[265,263,39,245,11,31],"30532059",[125,263,31,238,126,39],[268,263,39,245,11,31],"30537351",[194,215,44,261,195,39],[271,215,39,261,11,31],"30532820",[179,273,44,242,180,39],8,[171,275,31,276,172,39],9,"project\u002Fcritical\u002Fdesign",[278,279,44,242,280,39],"30532334",10,"octopoc",[282,279,39,242,11,31],"30532451",[284,279,44,242,285,39],"30533674","derefr",[183,34,44,242,184,39],[288,289,39,248,11,31],"30531885",12,[291,18,39,292,293,39],"30537966","other\u002Fneutral\u002Fnone","int_19h",[295,296,44,248,297,39],"30534015",14,"eli5pppls",[299,296,39,248,11,31],"30536572",[301,32,44,248,302,39],"30533919","tmp_anon_22",[136,304,31,305,137,39],16,"project\u002Fcritical\u002Fnone",[307,308,44,242,309,39],"30533103",17,"kapilvt",[311,228,45,312,313,39],"30537391","project\u002Fpositive\u002Fidea","aghilmort",[315,316,44,248,317,39],"30533245",19,"rackjack",[319,316,44,248,320,39],"30533519","throwa92582236",[322,316,39,292,323,39],"30533692","encryptluks2",[114,316,31,240,115,39],[326,316,39,248,11,31],"30695131",[143,328,31,329,144,39],20,"project\u002Fcritical\u002Fprivacy",[331,328,39,332,11,31],"30532694","project\u002Fneutral\u002Fprivacy",[147,328,31,329,148,39],[164,328,44,332,165,39],[336,328,39,337,285,39],"30533687","commenter\u002Fneutral\u002Fprivacy",[339,328,39,337,11,31],"30534327",[341,328,39,337,165,39],"30534546",[343,348],{"id":344,"t":345,"points":346,"comments":347},"19732794",1556053127,171,78,{"id":4,"t":12,"points":14,"comments":15},[350,355,360,365,369,374],{"id":351,"name":352,"points":353,"category":354},"30517626","Almost Pong",1135,"games",{"id":356,"name":357,"points":358,"category":359},"30503197","booqsi.com",478,"consumer_social",{"id":361,"name":362,"points":363,"category":364},"30529262","Huemint",335,"creative",{"id":366,"name":367,"points":368,"category":359},"30489003","Messages for Macintosh",211,{"id":370,"name":371,"points":372,"category":373},"30457900","Programming Time",203,"learning_science",{"id":375,"name":376,"points":377,"category":364},"30467328","erlj.notion.site",185,false,"v2",{"id":381,"name":5,"line":6,"ai":378,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":29,"top":18,"kw":382,"maker":11,"domain":10,"tier":19,"attempts":33,"strip":383,"url":9,"mix":384,"praise":94,"objection":107,"sub":21},30531621,[24,21,25,26,27],"1011331010333301033130300303153301101300",[31,32,33,34],1794036617642]