For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | more tritiy's commentsregister

The article stated that this has nothing to do with it and the click would technically not even be necessary. It is just a way to start the procedure where Turnstile verifies your browser.


Well, so much for my reading comprehension skills...


While the article is technically correct it avoids the most common issue with 'pure' typescript libraries in that you still need a bundler if you have multiple .ts files. Once you enter that territory you realize how much more complex everything becomes.


You don't necessarily need a bundler. You could use index.ts files to re-export all the exports of your source files.


I don't see how that changes the problem that OP describes.

TS module resolution looks almost like ESM, but neither the syntax nor the semantics are the same.

And or course you need a compiler to transpile TS, even if you wish to ignore the typings (often wrapped in a bundler like Vite which in turn wraps swc or ESBuild... because tsc is not as practical for large projects)

Really, having dealt with this kind of problem on Friday, it can make you go crazy.

E.g. having to deal with CJS-specific settings for some tool in a project using TS and exporting to ESM JS...


You don't need a bundler with multiple .ts files any more than with multiple .js file - which is that you don't "need" one at all.

Libraries especially don't and should be published to npm unbundled. Bundling is purely an application concern.


So consumers are forced to use a bundler/ts just because some random dependency decided they're too lazy to deal with a bundler?

> Bundling is purely an application concern

by this logic all compiled languages' repos should just be source, no precompiled binaries.


yes. Always include source and let the user/client decide. Include a bundled version is OK, but it should be only there for convenience.


so explain to me again why I have to change my entire toolchain for simply consuming a library? What if I consume a wasm library written in Rust, suddenly I have to add rust into my build script? What is the point of bytecode if people are going to repeat the same build over and over again anyway?


it's unfortunate that javascript (and typescript) is not bytecode.


It's the same in that js is the standard runtime, and typescript is something that compiles to it, that's NOT used in all codebases


Is this an AI generated piece? I get tripped when I see sentences like this 'To see this word list more clearly, this is illuminating:'


I always like to view pricing information first. It usually tells me the scope of the service and roughly gives me an idea if the service will make it or not.

However, there is no pricing information on the page. Where is this information?


Very nice, I like it lot! Great job. Is this on Github so that I can take a look?


Tritiy, glad you like Swurl. Swurl isn't on Github, it isn't open source. But it is mostly JS, you can just view source to take a look.


Number 6 was really surprising:

SELECT max(salary), first_name, last_name FROM employee;

This returns one row! AFAIK all other databases would return one row per record in the table where first_name, last_name would be from the row while max(salary) would be the value from the row with max salary. Is this SQL ANSI compatible?


I've always considered that you pay extra for the cloud for scalability and security. First one you may not need but the second one is a must.


Was this written by a nnet? I found it so hard to read as if it author has written it in another language and then used some weird translation engine.


Well, my questions are pretty basic but since you offered :) 1. In text note I make a code block and I do not know how to 'exit it'. How can I 'finish' it and make another paragraph? 2. Is there a shortcut to insert a checkbox (like Evernote does with Ctrl+Shift+C 3. Is there a way to change the font? I like Mono fonts for notes. 4. Can I reduce the margin between paragraphs in text notes?

Thats all for now, thanks.


Hi, sorry for being late:

1. Code block is exited by double enter (so two new lines)

2. No shortcut for the checkbox unfortunately

3. Only Themes can change the fonts - see e.g. "Steel Blue" in the demo document to see how it's done. https://github.com/zadam/trilium/wiki/Themes

4. You could use custom CSS to change it however I can't recommend this: https://github.com/zadam/trilium/wiki/Themes#custom-css


So much stuff. The difficult thing is to figure out which one to use. With programming you are (somewhat) aware of the limitations and difficulty. Here you have to pick one tool, invest time to figure out how it works, how hard it is to use, what are the limitations etc.

I wish there was a review site for such software :(


That's exactly what I want to do with this site, actually.

I don't want to do a "standard" review site, though... I want to help people answer the question "which no-code tool should I use for my specific task?" in the most efficient way I can.

Ben from Makerpad has the "how to build things" side covered, and I want to focus on the "which software should I choose" step that comes right before building.

I think showing real world examples and some type of standardized assessments (by category) might be the first steps, but I'm not sure how it will look yet... still figuring it out.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search:

HN For You