HNHacker News
TopNewBestAskShowJobs

mark_and_sweep

598 karma · joined November 17, 2017

submissionscomments
mark_and_sweep··on A Node, TypeScript, TS-Node and ESM experience that works
Being using Deno for new projects for years now. Not looking back.
mark_and_sweep··on A software epiphany
Firefox reader view helps with that.
mark_and_sweep··on WASM by example
Also, the back button doesn't work properly for navigations on the site.
mark_and_sweep··on Any sufficiently advanced uninstaller is indistinguishable from malware
To be honest, in my ideal world, mshta, Electron and the like would be discontinued and, instead, there'd be a cross-desktop-platform HTML/CSS/JS app-runtime (_not a browser!_). This runtime should support a sensible, large subset of modern Web APIs plus a set of cross-OS and OS-specific APIs so it's easy to work with for developers. To be easy to use for users, it should be installed by default on all major consumer-facing OSes. So yeah, it's probably not gonna happen anytime soon...
mark_and_sweep··on Any sufficiently advanced uninstaller is indistinguishable from malware
For the curious: Here's a completely unfinished guide to how you might start developing such an application: https://marksweb.site/hta/ From HTAs, you have access to the file system, the network, the registry, the shell - everything. It might be a bit different than normal web dev, but it's not too bad either.
mark_and_sweep··on Any sufficiently advanced uninstaller is indistinguishable from malware
Well, you can use IE 9 in HTAs - that browser is plenty capable. :) Been using this as a Windows-only Electron alternative for years.
mark_and_sweep··on Any sufficiently advanced uninstaller is indistinguishable from malware
Been using this for years. Mostly really useful. Sometimes tricky to get right since the available APIs are semi-well documented and it's JScript, which is some sort of old Internet Explorer-ish version of JavaScript.

By the way, there are also HTAs, which are Microsoft HTML Applications. You can create a simple double-clickable GUI with these using only HTML and JScript.

mark_and_sweep··on Deno 1.36
Don't think that's the case. Deno is older and more mature than Bun in many respects. For example, Bun does not support Windows yet.
mark_and_sweep··on Bun v0.7.0
You're reiterating Deno's feature list. Plus Deno's far more stable and works on Windows. So I'd suggest you go ahead and try Deno.
mark_and_sweep··on Plane: Open-Source Alternative to Jira
The biggest issue, in my experience, has always been its performance. Perhaps I have only worked in organisations that have completely misconfigured their Jira instances or the servers are underpowered, but even with the Atlassian Cloud, I am used to waiting 10 seconds to move a ticket from one column to another. Or add a ticket to the backlog, click the backlog, ticket isn't there yet, refresh the backlog, it's there. Add a ticket to the sprint, click the sprint view, ticket isn't there. Refresh the sprint view, it's there. This sh*t. Every day. Is driving me insane.

I don't want the perfect tool, just one that isn't horrendous.

mark_and_sweep··on Node.js built-ins on Deno Deploy
Note that import maps are optional. I mostly just open my editor for a Deno project and I'm good to go. :)
mark_and_sweep··on Node.js built-ins on Deno Deploy
I think you are both right. Some people love innovation, others love stability.
mark_and_sweep··on Node.js built-ins on Deno Deploy
Personally, I haven't heard of any Kotlin devs going back to Java nor of any Deno devs going back to Node.
mark_and_sweep··on Bun 0.6
Have you tried Deno yet? I've been using it for years now, without any config. It's fast, too.
mark_and_sweep··on Deno 1.33: Deno 2 is coming
I'm not sure you understand the point of Deno if you say that the Node ecosystem does something strange so Deno should do it, too... Magic file resolution was one of the regrets explicitly mentioned in Ryan's first talk introducing Deno.
mark_and_sweep··on Deno 1.33: Deno 2 is coming
Which other tooling allows you to import a `.ts` file from a `.js` import? Not knowing much about the issue, this seems like a rather strange decision to me: If I'm importing a `.js` file, and it does not exist, I'd prefer an error message rather than the sort of magic that you're suggesting: "Oh, but I found a `.ts` file with the same name, so let me just go ahead, transpile the file to JavaScript and let you import the result!" That's rather unexpected IMHO.
mark_and_sweep··on Node.js 20 is now available
Don't think there's ever gonna be a merge, but both Deno and Node contribute to the Web-interoperable Runtimes Community Group (WinterCG) so at least their JS Web API surface should converge.

https://wintercg.org/

mark_and_sweep··on Node.js 20 is now available
Not needed at all. In fact, I've never used and will never use a package.json in any of my Deno projects.

They added the feature to "enabl[e] developers to transition from existing Node projects with ease."

https://deno.com/blog/v1.31#packagejson-support

mark_and_sweep··on No Lodash
The back button doesn't work on function detail pages. (Using Firefox 110 on Android.)
mark_and_sweep··on ChatML: ChatGPT API expects a structured format, called Chat Markup Language
I wonder why they are not using XML.
mark_and_sweep··on <3 Deno
> without npm, where would Node be now? Probably nowhere.

I disagree. There were and still are good competing package managers and registries. Perhaps, in an alternate universe, yarn might have won. Or in yet another universe, node would have package management built-in, as deno does now. In any case, node would be fine.

> what is the problem with calling the TypeScript compiler? I have a build setup anyway

Just because your project has a build setup, doesn't mean all other projects must have one, too...

mark_and_sweep··on <3 Deno
> Deno seems to be a solution looking for a problem

On the contrary. Ryan Dahl, the person who created node, came up with deno, specifically to address a number of problems (or regrets) he had with node: see https://youtu.be/M3BM9TB-8yA.

mark_and_sweep··on <3 Deno
Agreed. Deno Deploy is actually a great product. I'm using it for all of my side projects now.
mark_and_sweep··on <3 Deno
No, most web devs use Windows: https://fossbytes.com/windows-still-the-leading-os-for-softw...
mark_and_sweep··on <3 Deno
Fetch is not included in v8. If it were, node would have had it earlier...

Deno doesn't mean 'destroy node', it's just node reordered.

mark_and_sweep··on Ask HN: Is TypeScript worth it?
Regarding iv), I disagree that one should not expect this to happen. There's a stage 1 ES proposal for allowing TS-like syntax in the browser: https://github.com/tc39/proposal-type-annotations So there's good reason to believe this may actually happen in the next couple of years.
mark_and_sweep··on HTML with Superpowers: An Introduction to Web Components
Take a look at Declarative Shadow DOM: https://github.com/mfreed7/declarative-shadow-dom This is basically the SSR spec for web components.
mark_and_sweep··on AI will replace middle management before robots replace hourly workers
> JIRA is constantly improving itself

It surely is. Just look at their new pricing tiers: https://news.ycombinator.com/item?id=33244978

mark_and_sweep··on Bun v0.2.0
Are there any plans for releasing a native Windows executable?
mark_and_sweep··on This page is a truly naked, brutalist HTML quine (2019)
Try viewing the source of this: Firefox "View page source" quine: https://firefox-view-source-quine.deno.dev/
← PreviousPage 2 of 6Next →