Readit News logoReadit News
binkethy commented on Rust needs a web framework   ntietz.com/blog/rust-need... · Posted by u/dcminter
BikeShuester · a year ago
I'd rather see Crystal on Rails. Combines the elegance of Ruby with the performance of a compiled language. And of course: macro support.
binkethy · a year ago
Amber or Lucky, already well established...
binkethy commented on Rust needs a web framework   ntietz.com/blog/rust-need... · Posted by u/dcminter
binkethy · a year ago
What about loco.rs?
binkethy commented on Rust needs a web framework   ntietz.com/blog/rust-need... · Posted by u/dcminter
jillesvangurp · a year ago
The advantages of a language like Rust where most interactions are blocked on either user input or network IO are fairly limited. Rust shines when things are CPU or memory bound primarily. Web applications are mostly IO bound. Which is why people have been getting away with fairly poorly optimized interpreted languages for decades. Even when computers were a lot slower than they are today, this worked fairly well.
binkethy · a year ago
Strict typing can enforce proper composition from models to the request responses.

Rust is a high AND low level lego due to type composition and ability to directly address memory with no hacky garbage collection required.

Garbage collection is a bad idea when your state machine is basically a stateless request response cycle that can fit in n stack frames and has a defined lifetime ending in the response.

Interpreted languages calculate runtime code paths on an ad-hoc basis and are subject to bugs that a binary executable will never encounter.

One can objectively state that Interpreted languages and their virtual machines are LESS DETERMINISTIC than binary executables whose runtime code already exists at compilation time.

Of course, shared libs and other things that violate the spirit of the above can wreak havoc with even binaries, however the executable is a finite artifact.

binkethy commented on Why Gumroad Didn't Choose Htmx   htmx.org/essays/why-gumro... · Posted by u/rmason
binkethy · a year ago
Another false dichotomy is server rendered vs single page app, when the happy place is both. One builds a bundle to embed in a server rendered page, as distinct from other bundles served up with other distinct pages. Ones rollup file would have an array of build objects, input output params. The user doesn't have to wait an eternity to download a monolithic single page app bundle. One doesn't get brain damaged by trying to maintain a monolithic state in a giant monolithic blob of javascript, urls work again, routing is returned to the server, and you could use a different framework on each page if you want to, thats how little it matters at that point.

Why is no one mentioning embedding a js bundle in an htmx rendered page?

binkethy commented on Dance training superior to physical exercise in inducing brain plasticity (2018)   journals.plos.org/plosone... · Posted by u/Tomte
binkethy · a year ago
What a weird human mistake to create such a false dichotomy. Don't tell me longboard surfers aren't dancers. Lessons schmessons, move your body and learn how to control its movements to better express yourself and better manipulate it with respect to its context, whether in water, suspended from a giant sash, or rolling on a wooden floor.
binkethy commented on Go and my realization about what I'll call the 'Promises' pattern   utcc.utoronto.ca/~cks/spa... · Posted by u/ingve
zer00eyz · a year ago
> But must its users be this defensive?

Go is to programing what Brutalism is to Architecture. It is striped bare of everything down to the most basic of forms. It is structure is laid bare, put on display and free of decoration.

If you come in and try to write Golang like other languages your going to be unhappy, your going to tell us how go sucks because NPM/PIP/Gems is better (a common lament). It's not defensive rolling up the news paper and wacking new devs to Golang and telling them "don't do it like its java/c/ruby/js/python do it like this..."

Embrace the less is more of Go and it makes more sense and gets much more pleasant.

binkethy · a year ago
Garbage collection screams: "look elsewhere if true brutalism is what you seek; maybe C or Pascal deserve that mantle more than a high level language like Go."
binkethy commented on iPhone 16 demand is so weak that employees can already buy it on discount   qz.com/apple-iphone-16-pr... · Posted by u/elorant
binkethy · a year ago
Perhaps Apple should take a hint that no one wants so-called AI features training on a device with intimate access to their lives.

Whatever the final reality of feature availability, the conceptual damage had been done: Apple was bandwagon leaping and we had no choice.

I will never buy another Apple device for other reasons, not least of which are the short support period and ever increasing enshittification of the operating system.

I have not been a fan of anything developed since roughly steve jobs passing. Touch bar?! No thanks.

The truth of the matter is that i see the light and insist upon a world where open source software, standards compliance, and end user choice MATTER, and matter more than corporate profits for an already too large and corrupt behemoth.

Apple is a company, not your friend

binkethy commented on Please stop putting cookie pop-ups on your website (2022)   olivergrimsley.com/2022/0... · Posted by u/peter_d_sherman
binkethy · a year ago
Stop using Google Analytics and your need to place cookies and thus need for cookie popups vanishes.

Goatcounter or Plausible will do fine. Some decent frontend log parsing will also be a viable strategy.

Stop feeding Google your customers data for free.

binkethy commented on Microsoft Rolled Out AI PCs That Can't Play Top Games–and There's No Quick Fix   wsj.com/tech/microsoft-ro... · Posted by u/bookofjoe
binkethy · a year ago
I hope they do. I'm tired of seeing that windows malware preloaded onto all the non-apple laptops.
binkethy · a year ago
In other words, i dont think deliberately induced scarcity in windows would increase demand for windows, if anything we will breathe a collective sigh of relief and move on.
binkethy commented on Microsoft Rolled Out AI PCs That Can't Play Top Games–and There's No Quick Fix   wsj.com/tech/microsoft-ro... · Posted by u/bookofjoe
sidewndr46 · a year ago
Presumably the goal is to entire what is a low margin market today and convert it into a high margin market. Microsoft has the option of simply limiting the number of Microsoft Windows licenses sold to prevent their competitors from selling more units.
binkethy · a year ago
I hope they do. I'm tired of seeing that windows malware preloaded onto all the non-apple laptops.

u/binkethy

KarmaCake day130April 17, 2024View Original