Hacker Newsnew | past | comments | ask | show | jobs | submit | nerdywordy's commentslogin

What router are you using? One in the svelte ecosystem or a vanilla js router?

Also in the process of writing an app that has no ssr needs. There are some minor annoyances with SvelteKit and interested in other options.


I'm still using https://github.com/TehShrike/abstract-state-router which I wrote years ago after thinking "ui-router is great, but I need a version that can keep using no matter what component library I want to use in the future"


RE: Microsoft

1) MSFT has already used React for far longer than 2 years.

2) They have basically never used the technologies you mentioned (WPF, Silverlight, WinUI). They offer them as UI toolkits that run in their Windows environment and that’s it. Their failure to market and support these technologies is independent of what they do for their own development strategy.

3) They bought GitHub and effectively own electron now. Many of their biggest apps are on electron (Teams, VS Code, Azure Data Studio).


1. Correct.

2. Yes they have. Half their developer tools were rewritten in WPF, they offered huge stacks including CRM on top of Silverlight and a huge chunk of windows 11 front end is WinUI.

3. Teams fucking sucks. VS Code is heading in the same direction. I've never used Azure Data Studio.


> Many of their biggest apps are on electron (Teams, VS Code, Azure Data Studio).

Huh? Those are Microsoft's biggest apps? Not, MS Word, the NT Kernel or ... windows 11? The XBox operating system project? Outlook express? Visual Studio? ... Github?

I'll grant that Electron is used by a few teams at microsoft. But I'd be surprised if even 1% of microsoft's engineers worked on products built with electron.


We were on Hasura Cloud and really did not have a problem with it. But we moved away to self-hosted Hasura for more control over deployment and cost as we have 10s of same-schema MSSQL databases that we were orchestrating and the management and synchronization of metadata was becoming a bit of a pain.

They just announced dynamic connection routing[1] which is a feature we have sorely needed as it would allow us to run a single instance. Fantastic stuff.

It is marked as "cloud / enterprise" only feature. Fine. Just yesterday we began to explore moving back to the hosted cloud service to prepare ourselves for availability of the feature.

And then today they announce this pricing change that 10x's the amount we would pay! On top of that the max for dynamic connection routing for the Pro plan is listed at 1! What's even the point???

Our opinion of Hasura has always been high and we've been quick to recommend it. But with the strategy and pricing in flux it's hard to justify picking it for future API needs. They seem to pushing aggressively towards Enterprise or bust deals which is a shame because the features they are gating off behind the Enterprise wall are fundamental to many application architectures.

[1] https://github.com/rakeshkky/graphql-engine/blob/dynamic-con...


No, it's not a bad thing.

It's how (nearly) everyone using React (or any frontend framework) + Tailwind will structure their code. And I'm not sure the author is arguing against Tailwind's utility in static styling scenarios.

I think the article's author would argue that once you move beyond static classes that Tailwind's class building becomes messy.

So <SideBarItem padding={4} active={true} /> would be cleaner in the authors mind if the exposed props get applied by some other tooling better suited for dynamic styling instead of simple string manipulation.

There is some merit to that argument. Building the class string can be cumbersome in some scenarios. But Tailwind "clicks" for me where other solutions do not. So I do it anyways.


We (tacinsight.com) are rebuilding our entire front end from scratch and are looking for a senior javascript engineer. Preferably with prior experience in a large React project.

This is a greenfield rewrite of a tightly coupled ASP.NET frontend to React+API.

Email in profile if interested.


We have a Windows POS app for mines, quarries, sand and gravel, etc.

When we broke ground on this version Microsoft was hardcore pushing UWP. We were building for the future so we built our app within the constraints of UWP with the expectation that it would grow with Microsoft’s vision…

Fool me once, as they say. UWP is dead.

We are currently redeveloping the entire thing with a series of Win32 base classes and intend to layer on a WPF front end for now. WinUI is early and promising. But so was UWP.

Long term we’re exploring outside the box UI options like running a local server and popping a browser. C# and .NET are very powerful. But the fractured landscape for desktop development gives little hope for the future.

If your goal is to build a rich UI, then you may have to suffer through learning whichever flavor of XAML you decide to go for. But if your goal is to interact with local hardware functionality I’d probably steer clear and use WinForms, a browser interface, or a console interface.


> Long term we’re exploring outside the box UI options like running a local server and popping a browser.

So... basically Electron?


Sort of. But not an embedded browser. And .NET instead of JS.

There are some promising developments with Blazor and .NET MAUI. But it all seems too speculative to build on at this point.


> .NET instead of JS

If you don't use JS, wouldn't that mean reloading the whole page for every action? Or do you still use some minimal JS to improve the experience?


Some of MS own apps are written on Electron. Think about that when considering their awesome native UI frameworks


Which ones?


VS Code and Skype are the two I know about.


Teams and Azure Data Studio.


Also their entire office suite is migrating to an webapp. I use it at work and it's quite impressive even though it has issues and is inferior to native. But hey, it's only the beginning and can be used on every platform without the need to install. Web tech is awesome.


I'm mainly on WPF, so I might say something wrong, but I think adjusting your UWP app for WinUI would be a breeze compared to redeveloping everything with Win32.


Only up to WinUI 2 apparently, WinUI 3 doesn't support UWP anymore:

https://microsoft.github.io/microsoft-ui-xaml/about.html


> UWP is dead.

Why do you think UWP is dead? Please post links.


If UWP would be alive, Microsoft wouldn't advice on how to migrate away from it:

https://visualstudiomagazine.com/articles/2021/10/19/uwp-mig...

Also apparently WinUI3 won't get UWP support at all:

https://www.theregister.com/2021/07/02/uwp_microsoft_winui3/

Nobody at Microsoft is going to come out and admit that UWP is dead, but it's easy to read between the lines.


Can this CRDB Serverless offering handle the burst connections of a serverless function based app? Are pooling or query queueing features built in?

Or would users face connection limits at some upper bound until the old function connections get spun down?


https://jumpstartrails.com/

It's very polished. Kept up to date. Follows best practices for RoR. The author is one of the most active RoR community members.

https://excid3.com/

edit:

If you like PHP then https://spark.laravel.com/ is an official Laravel project. I haven't used it but I've seen discussions where folks recommend it.


A hard +1 to Jumpstart. I stan Chris a lot in the comments here, but Jumpstart combined with Hatchbox[0] is a pretty awesome mix to get started. Especially with the recent upgrades, the whole process of getting the framework up takes minutes.

[0] https://www.hatchbox.io/


Another +1 from me.

Also used Hatchbox in another project (startup w customers), it definitely was worth the money.

For fun and giggles: this is what happened when I wanted to quickly build a side project after not coding for a while (using jumpstart to go faster) https://twitter.com/ddccffvv/status/1430967157404340228


Is there anything similar to jumpstart for go?


+1 for Jumpstart. I really like it is kept up to date. It also has a forum which is relatively active. Other do not have this.

I considered this too: https://www.getsjabloon.com/.


Spark is no longer really a SaaS starter kit. It's now just a payment provider they open sourced lots of the original Spark.


Intrigued by this approach!

Is the source shareable?

We have an enterprise app that was originally built as a UWP application via Xamarin.Forms (Hot mess, I know. But the decision predates me).

We've been prototyping a rebuild in React and Electron but if we could port into WebView2 and reuse a lot of our existing business logic with a port into a local api layer a lot of time could be saved.

I'm a web guy, so not sure how the nuts&bolts of this would work. Does the WPF app bootstrap a REST API on localhost on startup that is callable?


I'll fire a POC onto Github and edit this comment with the link...

Edit: Here you go - https://github.com/jmkni/HnPocWebview2


We have layered Hasura over an existing set of SQL Server databases to provide a public facing API for our product. [1]

Overall the experience has been fantastic. The performance and authorization scheme is very good. It has allowed us to wash our hands clean of bespoke endpoint writing for our enterprise customers with complex integration requirements (for the most part... waiting on mutations!).

One thing I wish was handled differently would be Same Schema, Different Database support.

We have multiple multi-tenant databases as well as many single tenant databases. All share the exact same table structure. As it stands, we have to maintain a separate Hasura instance for each of these databases as the table names conflict and there is no way to rename or reference them differently. That leaves us with the minor annoyance of needing to instruct users on their appropriate server prefix (server1.fast-weigh.dev/graphql vs server2.fast-weigh.dev/graphql... etc). Yes, we could proxy in front of these and route accordingly. But that's just one more layer to deal with and maintain.

It sure would be nice to have a single instance to maintain that could handle database availability based on the role of the incoming request.

Even with the minor inconvenience of multiple instances, I 10/10 would recommend. It's a huge timesaver assuming you've got the data access problems it seeks to make easy.

[1]: https://fast-weigh.com / https://docs.fast-weigh.dev


> We have multiple multi-tenant databases as well as many single tenant databases. All share the exact same table structure. As it stands, we have to maintain a separate Hasura instance for each of these databases as the table names conflict and there is no way to rename or reference them differently.

We have the exact same scenario and solved in with the exact same workaround. As things stand, spinning up the Hasura instance is currently the last piece of the process we need to automate before we are fully able to onboard new clients without manual ops action.

Hasura V2, currently in alpha, is supposed to support multitenancy as its flagship new feature. However, the "same object name in different database" issue is still open and on the roadmap, so presumably it's a _very_ early alpha.


https://hasura.io/blog/announcing-hasura-graphql-engine-2-0/

Multi-tenancy seems like their main 2.0 push


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

Search: