HNHacker News
TopNewBestAskShowJobs

wrnr

507 karma · joined December 16, 2018

submissionscomments
wrnr··on Today’s JavaScript, from an outsider’s perspective (2020)
No it is not, that it what the esm.sh is for. It transforms a npm package into a ES module. Just make sure that when you have the dependencies A@2 and B@1 where B@1 depends on A@1 (in package.json) then you end up with 3 dependencies A@1, A@2 and B2 which results in bugs if your code expect the versions of A to match. Similar for using the same version of A but a different version of the api like esh.sh/v10/A@1 and esh.sh/v11/B@1 this will result in esh.sh/v10/A@1, esh.sh/v11/A@1 and esh.sh/v11/B@2.
wrnr··on Today’s JavaScript, from an outsider’s perspective (2020)
Deno uses ES modules and has a build in TypeScript compiler and solves these issues. Just be careful when using different versions of different packages and always use the same version of a service like esm.sh that translates CommonJS modules to ES modules, it has a versioned API so esm.sh/v70/lodash@1.2 != esm.sh/v71/lodash@1.2. I hit my head on this problem for a couple of days.
wrnr··on The problem with hard and soft skills
Thank you for putting software engineering into the soft skill bucket, but I think the word soft skill sort of means social/interpersonal skills. What you describe is more the difference between open and closed problems.
wrnr··on Tell HN: Job interview canceled due to looming recession
My anecdata is that it seems tech is where the bubble has bursted, other sectors are still looking for people. It is late state valuation where the squeeze has happened and this has impacted in turn how VCs raise their funds, we could see contagion in other part of the economy but i hear almost nothing in the regular press about this problem (except for inflation/stagflation warnings). Maybe it is wishful thinking on my part but I for one welcome the return of "rationality" to this marked. Everyone was playing fast and loose, AI generated NFT and other BS like that, but as a slow and tight player I prefer it this way.
wrnr··on Toxic Positivity
This article is fine and all, but maybe we should also have a warning about toxic empathy. This is all a lot of emotional work, guess it is something we can all work on but so much other stuff going on.
wrnr··on The Turkish drone that changed the nature of warfare
Why are these things as effective as they are in the ukrain-russian war? Don't these things show up on radar and therefor vulnerable to conventional anti air defence. Before the start of the war experts where warning that russia could lock down the air space of the whole of europe. These single propeller planes can not be as fast as jet engines and need to be almost on top of their target to drop bombs on them? What is preventing Russia from building these things in the thousands and I don't know patrol the skies of eastern ukrain with it?
wrnr··on Robots are writing poetry, and many people can’t tell the difference
There was an art movement called dadaism in the 20th century where poets would cut up a newspaper and randomly rearrange a selection of letters, syllables and words into verse. People where flabbergasted as to how such a random process could produce such profound statements. Language already encodes meaning and our brains are wired to read into it. I always think of this when I read how amazing language models.
wrnr··on Using a game engine to write a GUI to the OpenBSD package manager
Does the UI toolkit support basic text operations like copy-pasting or selecting text? This is a common problem in the alt-UI scene, basic stuff doesn't work after years of development. I don't want to ship an electron app either but at least it has everything everyone has come to expect.
wrnr··on Why I don't miss React: a story about using the platform
Only web components if you don't control the rest of the page, like someone embedding your component on their page, but I would still give them the control to name the component. That is a lot of work just so you can write my-tag instead of .className in your css file. I think the react way of styling each component inline is the way to go.
wrnr··on Why I don't miss React: a story about using the platform
I've come to the conclusion that web components (with or without shadow roots) are not the best "elementary particle" to build a webapp out of. Most of the time you want simple divs and sometimes you want custom-tag. The important thing is to have a setup where you can quickly promote a component into a web component proper. I think solid.js has a nice solution this, where you just call a function that wraps the component into a web compoent and registers a tag for it.

One issue I have with lit is that it just forces you to turn everything into a web component instead of a carefully deliberated choice.

wrnr··on Ask HN: What are your favorite examples of elegant software?
https://github.com/enkimute/ganja.js/

Geometric algebra for any R{p,q,r} dimensional space. Has it own custom JS to JS transpiler so the literal number "1e10" becomes a bivector. The code is just around a thousand lines while it lets you do amazing things like this right in the browser:

https://enkimute.github.io/ganja.js/examples/coffeeshop.html...

wrnr··on UIs are streaming DAGs [video]
Maybe also the 7 GUIs https://eugenkiss.github.io/7guis/tasks
wrnr··on An automatic theorem proving project
I don't know about theorem provers but computational algebra systems work a bit like a blockhain. At least they both use a merkle tree to store their graph/tree/list, but somewhere in your description there is a reformulation of the halting problem. It is impossible to know what rule is going to be useful next, CAS systems will often just use the length of the expression to decide this order. Like knuth said once, maybe P=NP but P is just impractically big.
wrnr··on The underwhelming impact of software engineering research
One might just write an article about the underwhelming impact of commenting on the internet.
wrnr··on Induced Demand Is Real
No one has mentioned Breass's Paradox yet:

https://www.youtube.com/watch?v=cALezV_Fwi0

This also happens in simple physical systems, as shown in the video later on.

wrnr··on TypeScript as fast as Rust: TypeScript++
I've tried AS for a while but then just learned Rust. The wasm ecosystem is a lot more mature on Rust (probably the best of all languages) so I'm glad i'v learned it. AS syntax looks like TS, but under the hood it's another language with a lot of open problems like testing, sending data back and forth between wasm and js. AS supports operator overloading, but only for for values of the same time, like Vector * Vector, but not BiVector * Vector, and Rust does.
wrnr··on Life’s preference for symmetry is like ‘a new law of nature’
Nature uses symmetrie when it is useful, but if it isn't it doesn't. Many such examples, L-sucrose vs R-sucrose, male-female differences. The same in physics and mathematics, Higgs mechanism is dependent on symmetry breaking of the weak force, and in mathematics the very nature of symmetry (group theory) has all sort of random exceptions of the pariah group of the sporadic simple groups.
wrnr··on Fornjot – The world needs another CAD program
Libfive does something similar but uses lisp instead of rust.

https://libfive.com/studio/

wrnr··on EU Demands Interoperable Messaging
ok thx
wrnr··on EU Demands Interoperable Messaging
What is the technical requirement for this to be interoperable, what if I have my own walled garden that doesn't use xml or json but it's own spin on s-expressions, and all messages are in a markle tree, and the messages are displayed using my own graphics stack instead of html/css, and all of this with e2e encryption, what do these jokers expect me todo, asking for a friend?
wrnr··on Crypto is an unproductive bubble
The opposite is true of the metaverse in my opinion, it is stupid gimmick that puts form over function and all that, but computer graphics is still a very rewarding field with a lot of useful technologies ranging from GPU programming to game design.
wrnr··on The Software Foundations: mathematical underpinnings of reliable software
There is this story by the famous physicist Steven Wolfram who asked the infamous mathematician Grigori Perelman who proved the Poincare conjecture and was awarded, and subsequently declined, both the millennium price and field medal, what axiom set he used in proving the Poincare conjecture, to which Perelman answered, I don't know and I don't care.
wrnr··on SPAs Were a Mistake
At this point most articles like this or tools addressing the problem discussed here replace one local optima with another, I'm holding out for something radically different, maybe something like makepad or bevy like ECS with good support for UI.
wrnr··on Four Secret Novels by Brandon Sanderson
I'm a big fan of the Stormlight Archive where all main characters have some form of mental disorder. That said the last book was getting a bit repetitive, always waiting for the same character to snap out of his seasonal depression in order to save everyone just in time. I'm still a fan, I even watched some of his lectures on creative writing but there is definitely a formula to how he works.
wrnr··on We're choosing Rust, and not Go, C++, or Node.js
I would like to apologise on behest of the Rust community, we are not all like this. Java would have been a fine choice.
wrnr··on Australian magpies help each other to remove tracking devices
I just find this strange, someone who liters the environment is clearly an ignorant person, but if scientists come together and are harmful it is ok because it was reviewed by a bio-ethics comity that did some cost benefit analysis and was like yea I guess this is alright otherwise we're out of a job.
wrnr··on Australian magpies help each other to remove tracking devices
Do you remember that picture on reddit of a turtle with his head stuck in one of those plastic six-ring-beer-can-holder and the entire internet was like we humans are assholes for ruining the environment, why is it any different when science does it? Should this behaviour be proof of how annoying they find these devices.
wrnr··on Ukraine Conflict Live Map
I wonder what Putin will do next, he might annex Donetsk a third time.
wrnr··on Why Vladimir Putin and his entourage want war
This article strikes me as rather uninformed

> The problem is that the same logic was just as true eight years ago when the fateful decisions were made to annex Crimea and to stir conflict in Ukraine’s Donbas region.

Crimea is the location of Russia's Black Sea navy fleet, and the population there is majority Russian speaking and sided with the pro Russian government during the Euromaidan protests.

The other day the US envoy to the UN, warned in an official speech that Russia might make the discovery of a mass grave as a casus belli for invading Ukraine, a few hours later Russia Today reported on having found a mass grave of native Russians.

This is not counter espionage, it is counter trolling, watch these joke by Putin how these scary KGB people think: https://www.youtube.com/watch?v=V0oic-ix9bM

wrnr··on What do you really get from IDE-driven development?
One thing I've learned over 10 years of doing this is how much code is actually required to do anything, having more expressive language is one thing but tools that can help me cram out this stuff are also appreciated.
← PreviousPage 2 of 15Next →