solrize
@solrize@lemmy.world
- Comment on Is there a less stinky way to cook broccoli? 2 days ago:
Generally put 1 cup of water into the instant pot to let it make some steam pressure. I usuall put the broccoli on the little wire platform but putting it the water should be fine. Older models let you set the timer to 0 minutes which is fine too. Unless the stems are pretty thick, by the time the pot comes up to full pressure it’s ok to stop. Also, use the steam release button to let the steam out as soon as it’s time, so the broccoli doesn’t overcook.
- Comment on Is there a less stinky way to cook broccoli? 3 days ago:
I’ve never noticed a bad smell, but instant pot for 1 minute high pressure is quickest way to cook.
- Comment on New Terms for Firefox from Mozilla 3 days ago:
Besides the privacy issue, the TOU is ridiculous. They supply a tool (the browser) and you use it. It’s not a collaboration between you and them. You can use it whatever way you want.
- Comment on Life isn't easy if your last name is 'Null' as it still breaks database entries the world over 6 days ago:
Yes but it’s a dangerous process. You should use paramatrized queries instead.
- Comment on Intel says first two new ASML machines are in production, with positive results 6 days ago:
It took Intel seven years to put those earlier machines into full production, which contributed to it losing its lead to Taiwan Semiconductor Manufacturing Co (2330.TW), opens new tab. Intel struggled with the reliability of those previous EUV models in the initial stages of production.
Um no, that’s Intel trying to shift blame for its own botched 10nm process. Did that even use EUV? I kind of recall not.
- Comment on Life isn't easy if your last name is 'Null' as it still breaks database entries the world over 6 days ago:
/me changes name to
'); DROP TABLE STUDENTS; –
. - Comment on Hetzner announces price hike for cloud servers and bandwidth cut of up to 95% 1 week ago:
I’m satisfied. Virmach has had ups and downs but their network is fast too.
- Comment on Hetzner announces price hike for cloud servers and bandwidth cut of up to 95% 1 week ago:
That article is almost 4 months old and yeah, the internet in EU is better than in the US. But you can get US plans with plenty of bandwidth. I’ve been happy with buyvm.net and there are many others. Hang out on lowendspirit.com for a while to get a sense of things.
- Comment on Amazon is changing what is written in books 1 week ago:
Wait, if you have the old edition on your kindle, do they reach into your kindle and change what is there? Or do they just change the version in the store to the new edition, preferably with a new ISBN, if Kindles have ISBN’s?
I remember about the Roald Dahl thing and it seemed pretty clear which edition people would be getting. And some of this stuff (according to another internet poster I mean) may have been intended to keep the books in copyright longer rather than to merely mess with the content. Blyton died in 1968 so her stuff could enter the public domain in the next few decades otherwise. That’s nefarious too.
I remember for sure that Huckleberry Finn had the N word. Maybe little kids shouldn’t be reading it, I’m cool with that, though I read it as a kid myself. But grown-ups who do read it can deal with an unexpurgated version.
- Comment on Not only is Substack right-wing broligarchy garbage, it's way more expensive than Ghost 1 week ago:
I don’t think the software makes any different tbh. It’s about payment aggregation, search hit aggregation, and for some “prestige” substack writers, actually getting paid by the platform.
- Comment on Not only is Substack right-wing broligarchy garbage, it's way more expensive than Ghost 1 week ago:
The attraction of substack for at least some writers is that substack actually pays their morre popular writers. I don’t know how many or whether there is a published list of them, but at least a few of them are getting paid pretty well. If they are recruiting and paying Nazis, then that is of interest and concern. Most writers there aren’t getting paid by substack, though they may have readers who buy subscriptions. That is open to pretty much everyone and the fanfiction saying “don’t like, don’t read” works for me here. Saying Ghost is a more attractive platform because it has more censorship is kind of a head scratcher. And calling Taibbi and Greenwald Nazis is ridiculous. Disliking the Democrats doesn’t make someone into a Nazi.
That said, I don’t personally like substack very much and am always glad to hear about alternatives.
- Comment on BlackBerry's iconic keyboard patent has expired 1 week ago:
There have been a bunch of other phones and devices using that style of keyboard. I used a Nokia E63 for years. Were they under license? What about the one Lilygo sells now? Maybe whoever manages RIM’s portfolio just stopped caring. Anyway this is kind of interesting. I always liked that keyboard.
- Comment on why do most people on deviantart act the same? 1 week ago:
I guess they all gather there because they are all into the same things. I’ve found that site unbearable to look at.
- Comment on Rust is Eating JavaScript 1 week ago:
I’ll probably have to read through it or maybe the Ferrocene standard, but for now, Comprehensive Rust is pretty good. I’ve been busy today but hope to finish it soon. Is it really true as someone mentioned that Rust binaries are always statically linked? That has its attractions but I would hope it’s controllable. Can you use the regular linker (ld) with it?
- Comment on Rust is Eating JavaScript 1 week ago:
Thanks, “Comprehensive Rust” is readable so far, though I haven’t gotten to the “fun” (memory management) parts yet.
- Comment on Rust is Eating JavaScript 2 weeks ago:
I know that the “project” approach to learning a language works for some people, but I’ve found l greatly prefer to read a book from beginning to end before undertaking any projects. It helps me start out with a clear picture. I’m finding “Comprehensive Rust” to be fairly good so far. Thanks for all the help, everyone.
- Comment on Rust is Eating JavaScript 2 weeks ago:
Thanks, Rust by Example looks ok, and I’m acquainted with one of Programming Rust’s authors, which is cool. I’m currently looking at “Comprehensive Rust”. All these though seem to be about the Rust software ecosystem (compilers, package tools, libraries) as much as they are about the language. I had hoped to start by just reading about the language, if something like that exists. I don’t particularly want to write any Rust programs until I’ve finished reading some kind of language overview, which means that all the stuff about build tools are just a distraction during that stage. As another commenter in this thread said though, ecosystems and languages have become pretty much inseparable, so maybe that’s why the books are that way.
This also looks interesting:
dr-knz.net/rust-for-functional-programmers.html
This says nothing about Rust, but it’s a humorous classic. I’d be interested to know how to describe Rust in these terms.
- Comment on Rust is Eating JavaScript 2 weeks ago:
Thanks, Roc sounds interesting. Ocaml also maps more closely to machine operations than Haskell does, so it has always seemed like another alternative. AMD has something called ROCm which is their version of CUDA, but I assume that is unrelated.
- Comment on Rust is Eating JavaScript 2 weeks ago:
True, but of course it’s always a trade-off. At a certain point I have to defer to your judgment, at least until I’ve written some Rust code. But I’ve written a fair amount of C++ and a little bit of Ada and don’t find them all that convenient compared to Python or Haskell or whatever. We’ll see. ;)
- Comment on Rust is Eating JavaScript 2 weeks ago:
Thanks, I was looking for a more straightforward academic-style textbook for non-beginning programmers, but I’ll make do with what is out there.
- Comment on Rust is Eating JavaScript 2 weeks ago:
Yes it’s on my infinite todo list. I’m just being too much of a curmudgeon about the available textbooks, and had a sinking feeling when the main one didn’t get “hello world” out of the way on page 1, and shift to the specifics of the language.
- Comment on Rust is Eating JavaScript 2 weeks ago:
No I haven’t, I’ll take a look at it, though I felt suspicious of “task.async” as shown on the front page of gleam.run.
- Comment on Rust is Eating JavaScript 2 weeks ago:
Thanks, Rustlings doesn’t sound like what I want either. I was hoping for a counterpart of Stroustrup’s C++ Reference Manual, or Riehle’s “Ada Distilled” or even K&R’s book on C. Something that systematically describes the language rather than distractions like the toolchain, mini projects, cutesey analogies, etc. I’m being too persnickity though, mostly because it hasn’t been important to me so far.
- Comment on Rust is Eating JavaScript 2 weeks ago:
Sure you can spawn threads but now you have all the hazards of shared memory and locks, giving the 2.0 version of aliasing errors and use-after-free bugs. Also, those are POSIX threads, which are quite heavyweight compared to the in-process multitasking of Golang etc. So I would say that’s not really an answer.
- Comment on Rust is Eating JavaScript 2 weeks ago:
True about Google ;). Yes, there are programs that really don’t want GC. I consider those to mostly be niche applications since most of us are fine with using e.g. Python, which has automatic storage management (won’t quibble about whether it is GC per se) that has occasional pauses. SImilarly, tons of important programs are written in Java, which is GC’d. Of course Java is tied up with Oracle just like Go is tied up with Google.
Go’s main problem from what I can tell is that the language itself is too old fashioned. I’ve used it but am not expert. It feels like an improved version of C, rather than a modern, type-safe language.
- Comment on Rust is Eating JavaScript 2 weeks ago:
I had the impression Rust doesn’t handle concurrency particularly well, at least no better than Python, which does it badly (i.e. with colored functions). Golang, Erlang/Elixir, and GHC (Haskell) are way better in that regard, though they each have their own issues. I had believed for a while that Purescript targeting the Erlang VM and with all the JS tooling extirpated might be the answer, but that was just a pipe dream and I don’t know if it was really workable.
- Comment on Rust is Eating JavaScript 2 weeks ago:
Interesting point about Wasm if that is important. You can also compile C++ to wasm but then its C++ ;). I don’t know about Ada to Wasm.
I don’t think Rust is quite mainstream yet either. My impression is that its type system has not caught up with Haskell’s except in a few areas, but of course nobody pretends Haskell is mainstream. I haven’t yet tried Idris.
Golang seems to have a decent runtime model (lightweight threads, GC) though the language itself is underpowered. There is a Golang backend for Purescript that sounded interesting to me. The thing that turned me off the most about Purescript was the JS tooling. Purescript (purescript.org) is/was a Haskell-like language that transpiles to JS, intended for use in browsers, but Typescript filled this space before Purescript got much traction. That felt unfortunate to me.
I don’t think HLL (high level language) has an official definition, but informally to me it has generally meant that the language is GC’d and that the native integer type is unbounded (bignum). By that standard, Rust and Ada are low level. I’ve so far thought of Rust as a modernized Ada with curly braces and more control of dynamic memory reclamation. Maybe there is more going on than that. Ada is still ahead of Rust in some ways, like generic packages, but Rust is working on that.
If you have a suggestion of a no-nonsense Rust book, I’d be interested in looking at it. doc.rust-lang.org/book/ beat around the bush way too long before discussing the language, but I guess I should spend more time with it.
- Comment on Rust is Eating JavaScript 2 weeks ago:
The JS tooling universe has always seemed like a Lovecraftian hellscape to me. I’ve managed to stay away from it so far, but if I were caught in it, of course I’d be trying to escape any way I could. It sounds like Rust’s attraction here has been as a viable escape corridor rather than anything about Rust per se.
In particular, I get that everyone wants their code to be faster, and I get that certain bloaty apps (browsers) need to get their memory footprint under control, and a few niche areas (OS kernels, realtime control) can’t stand GC pauses. Other than that though, what is the attraction of Rust for stuff like tooling? As opposed to a (maybe hypothetical) compiled, GC’d language with a good type system and not too much abstraction inversion (Haskell’s weakness, more or less).
Has Golang fizzled? It has struck me as too primitive, but basically on the right track.
Rust seems neat from a language geek perspective, but from what I can tell, it requires considerable effort from the programmer handle a problem (manual storage reclamation) that most programs don’t really have. I do want to try it sometime. So this post is intended as more inquisitive/head scratching rather than argumentative.
- Comment on Bad UX is keeping the majority of people away from Lemmy 2 weeks ago:
old.lemmy.world looks just like reddit. It’s not the UI. It’s network effect and there’s not a lot to be done.
- Comment on In light of recent events, here's OpenStreetMap editors discussing naming of the Gulf of Mexico 2 weeks ago:
Let’s rename Montezuma’s Revenge to Trump’s Revenge while we are at it.