Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mythz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
451.
▲
by
mythz
4y ago
Not sure why you'd self-host a public site from home when you can get a VM from https://www.hetzner.com/cloud for € 4.81 /mo (1vCPU / 2GB RAM / 20 TB bandwidth) with much better internet access. Resident
452.
▲
by
mythz
4y ago
> I don't think so. Vue places almost it's entire rendering logic into HTML strings. I don't know what this is supposed to mean. The logic in Vue 3 components is maintained in its JavaScript setup function. The template sy
453.
▲
by
mythz
4y ago
Yep, also what the template does on install [1] [1] https://github.com/NetCoreTemplates/vue-mjs/blob/main/MyApp/...
454.
▲
by
mythz
4y ago
IMO it's a weird claim to make that invalid JavaScript is much closer to native JavaScript than actual valid JavaScript. They're just stylistic preferences, both have valid JavaScript expressions inside their component event handl
455.
▲
by
mythz
4y ago
Except neither of these examples are "just" JavaScript and require a preprocessor to convert it to valid JavaScript that the browser can actually run. Unlike Vue templated components which is just JavaScript that's executable
456.
▲
by
mythz
4y ago
They have different trade-offs sure, where bundling typically creates large opaque blobs of JS used by the entire SPA resulting in large initial download & parsing/execution time which is why it's preferable to only download &
457.
▲
by
mythz
4y ago
> which seemed like a lot of generic jquery like magic binding glue They're just a few lines helper [1] to avoid needing to verbose boilerplate of `document.querySelector()` and `Element.addEventListener()` everywhere when wanting t
458.
▲
by
mythz
4y ago
No it's purpose is basically to define an alias for a JavaScript module so your source code can import by package name whilst the physical location of where it should import modules from is defined in an external importmap where it can
459.
▲
by
mythz
4y ago
What you can do in a Vue SFC you can also do in a templated string component, if the component gets too big you can always break it down into smaller components as normal. Sure you can benefit from a smart IDE which understands templated st
460.
▲
by
mythz
4y ago
"An approach for building simpler JavaScript Multi Page Apps without an npm build system" Effectively we can use modern browsers native support of JavaScript Modules and Import Maps to create modular JavaScript Apps without a bund
461.
▲
by
mythz
4y ago
The `/ html /` annotation is just a type hint for VS Code plugin to enable intelli-sense in literal strings to improve the authoring UX although this isn't required for JetBrains IDEs like Rider which can infer without it, so
462.
▲
by
mythz
4y ago
The website is actually a Live Demo of its new npm build-free project template and the post is documentation for the approach and features used by the Project Template. The page itself also serves as a working demonstration for the features
463.
▲
by
mythz
4y ago
What new game changing framework? The post talks about how it’s using JavaScript Modules and Import Maps to avoid needing an npm build system, how it’s gone back to traditional MPA server rendered pages to avoid SPA client routing and heavy
464.
▲
by
mythz
4y ago
Safari support is enabled with https://github.com/guybedford/es-module-shims
465.
▲
Simple Modern JavaScript Using JavaScript Modules and Import Maps
(vue-mjs.web-templates.io)
175 points
by
mythz
4y ago
|
113 comments
466.
▲
by
mythz
4y ago
Vue.js seems to be the natural choice for progressive JavaScript Apps without a build system. We've also removed npm build systems from our newest .NET Project templates which uses JavaScript, Import Modules to progressively enhance Ra
467.
▲
by
mythz
4y ago
What are some good image upscaler libraries that exist? I'm assuming the high quality ones would need to use some AI model to fill in missing detail.
468.
▲
by
mythz
4y ago
Also worth mentioning Fly.io's work on LiteStream [1] and LiteFS [2] giving SQLite important S3 DR/reliability & multi-node replication and scalability - opening SQLite up to even more use-cases. We're making use of this
469.
▲
by
mythz
4y ago
> The point I was making is that what was once called .NET Core is now just .NET Right, IMO it's important to use these official correct labels when correcting someone. "Dotnet" looks like an unintentional Autocomplete err
470.
▲
by
mythz
4y ago
> it's not called Dotnet Core anymore; just Dotnet. The platform has been renamed to ".NET" (since v5), the SDK is ".NET SDK" the executable is named "dotnet", but it has never been branded that way.
471.
▲
by
mythz
4y ago
This doesn't speak to the cross-platform .NET Core runtime as Unity3D is built with C++ and still uses their modified fork of Mono to run C# code whilst their WASM uses their IL2CPP tool to convert .NET byte code to C++ before using Em
472.
▲
by
mythz
4y ago
.NET 5+ (fka .NET Core) is cross-platform. We've been developing on Windows and have been deploying exclusively to Linux since 2017, everything runs flawlessly. Only time where the deployed version was different was when the locale w
473.
▲
by
mythz
4y ago
If you like R#, you'll love JetBrains Rider.
474.
▲
by
mythz
4y ago
Yeah I wouldn't say it's very close: Tried it on last image I generated on: https://blazordiffusion.com/artifacts/50/50418_studio-ghibli... Original Prompt: > Studio ghibli, rocket explosion, jungle,
475.
▲
by
mythz
4y ago
Also informative is the article's 1 comment is from Alan Kay: > Roger and I were “friends” — kind of “New York friends” — since we met at the Stanford AI project in late 69 or early 70 — so about 53 years or so. He was really great
476.
▲
Show HN: StableDiffusion front-end written in C# and Blazor
(blazordiffusion.com)
1 points
by
mythz
4y ago
|
0 comments
477.
▲
by
mythz
4y ago
It's already released under our AGPL/FLOSS OSS License. We maintain both Blazor Server [1] and Blazor WASM [2] versions of the App at: [1] https://github.com/NetCoreApps/BlazorDiffusion [2] https://
478.
▲
Show HN: StableDiffusion front-end written in C# and Blazor
(blazordiffusion.com)
3 points
by
mythz
4y ago
|
2 comments
479.
▲
by
mythz
4y ago
> I chuckle every time I read claims about Go (or whatever) being amazingly productive. I don't think it's possible to beat this stack with regards to both productivity and ease of long-term support It's easy to beat Open
480.
▲
by
mythz
4y ago
The price increase of Digital Ocean is what prompted us to evaluate different US Cloud providers in which we found Hetzner offering by far the best value [1], what's even nicer was that the prices for the instances ended up being ~25%
More ›