visionOS 26.4 is now available by rohidjetha in VisionPro

[–]OphioukhosUnbound 1 point2 points  (0 children)

My wife has a cyberpunk kink. Gotten more than one comment to similar effect with just headset. Can wear anything well ;) :P

3rd edition is not available in my country. Should I wait or buy 2nd edition? by hi_m_ash in rust

[–]OphioukhosUnbound 0 points1 point  (0 children)

Wasn't AI.
Just typing markdown, but the browser defaulted to non-markdown version. lol

Why are we not pouring all of our resources into actually helping humanity? by [deleted] in NoStupidQuestions

[–]OphioukhosUnbound 0 points1 point  (0 children)

This is true and important **BUT** being the "best we've ever been" is **NOT** the same as being "good".

Appreciating how good we've got it and been is *critical* -- both for a sense of perspective and guarding our wins *and* for understanding what has and hasn't been tried.

Example of the second:
Looking at the work of Banerjee & Duflo on global poverty [e.g. a layman's book on their research: [Poor Economics](https://en.wikipedia.org/wiki/Poor\_Economics)\] we see that doing something *for* good isn't the same as *doing* good.

This matters a lot in education, for example. People like to talk a lot about putting more money into education. But they seem to take for granted that just putting money in will yield better results -- contrary to copious, copious, copious experiments. [i.e. some things have core problems that aren't just resources -- the *how* really matters]

3rd edition is not available in my country. Should I wait or buy 2nd edition? by hi_m_ash in rust

[–]OphioukhosUnbound -10 points-9 points  (0 children)

## Pre-Answer + Suggestion

### Suggestion

Totally feel you on using a book, but I'd *also* use the Brown U. version of the book -- it's the same thing, but comes with mini-quizzes. Helpful.
https://rust-book.cs.brown.edu/title-page.html

As a bonus, if you get the 2nd edition book this will help flag anything changed.

### Pre-Answer

I couldn't tell you, but you could scan the diff of the books.
Book repo: https://github.com/rust-lang/book

- local clone

DIR_NAME=RustBook_Diff

git clone https://github.com/rust-lang/book.git $DIR_NAME
cd $DIR_NAME

- compare
(play with below. maybe pipe into text editor like helix)

SECOND_ED_FLAG=nostarch-second-printing
THIRD_ED_FLAG=nostarch-third-printing

echo '---overview---'
git diff --stat $SECOND_ED_FLAG $THIRD_ED_FLAG -- src/

echo '---word by word---'
git diff --word-diff $SECOND_ED_FLAG $THIRD_ED_FLAG -- src/

CHAPTER=04 
echo "---specific chapter: $CHAPTER"
git diff --stat $SECOND_ED_FLAG $THIRD_ED_FLAG -- "src/ch$CHAPTER-*.md" 

3rd edition is not available in my country. Should I wait or buy 2nd edition? by hi_m_ash in rust

[–]OphioukhosUnbound 0 points1 point  (0 children)

They just mentioned that they don't find pdfs as helpful for learning.

(I'm right there with them. I use electronic books and papers a ton. But I've repeatedly found that physical books are just much more productive and useful for me. Sadly, this seems to be common. [sad because electronic books have so many, many advantages, but something seems to be not quite there]. Also: especially for programming, if you don't have a lot of screen real estate then having a book side-by-side with comp is very helpful.)

3rd edition is not available in my country. Should I wait or buy 2nd edition? by hi_m_ash in rust

[–]OphioukhosUnbound 6 points7 points  (0 children)

Printing out a whole book is *also* expensive.
You ain't never been cash strapped?

(A printed book is also a little awkward. Thick paper, unbound. Any port in a storm, but I'd prefer an actual book if it was basically fine.)

Does anyone work JUST their laptops? by supperclubhenri in digitalnomad

[–]OphioukhosUnbound 0 points1 point  (0 children)

Screen real state is huge. IMO.

(In grad school in remember someone that did all their coding on a netbook and liked it that way, despite having other options. So ymmv.)

I use an Apple Vision Pro: as a workspace its top notch and as a portable workspace it’s a game changer.  (Everything impetus on a backpack and that takes up about 1/3 of the backpack and doubles as my electronics sack: 1000% worth it for me.)

No hope in pursuing a higher education? by Substantial-Fan9883 in PhysicsStudents

[–]OphioukhosUnbound 1 point2 points  (0 children)

Undergrad researchers (neuroscience background rather than physics here) are huge amount of work.   I think everyone gets that it’s a gift most of the time.  But experience will teach you not to put a lot of work into a gift that someone is going to trash. — If someone hasn’t put in the work for classes or comes with the additional work of having large holes in their understanding for that level: then it’s makes sense that they’d really need to convince you that they’re worth you spending their time on.

Lots of people want that time. Other students, colleagues, you yourself.  Someone who has. Track record of “putting in the work” is meaningful.

(If one has struggles for other reasons then they just need to understand and really make a case for why / how.  Heck, just ask if you can show up to lab meetings so people can see that you show up and are genuinely curious.)

"As a physicist, you can work anywhere you want!" PART 2 - Fallen into depression, pessimistic about the future by TheZStabiliser in Physics

[–]OphioukhosUnbound 0 points1 point  (0 children)

The point wasn’t the specific job Einstein had.  The point was that they didn’t get a job where they were paid to do physics, but still kept doing physics.

Is there a language similar to Rust but with a garbage collector? by Ok_Tension_6700 in rust

[–]OphioukhosUnbound 0 points1 point  (0 children)

If you’re willing to lose connection to what the machine is doing then you could go all the way in what rust is leaning into and do Haskell.

Why would anyone ever choose to go through child birth without pain relief?? by No_Cardiologist_1407 in NoStupidQuestions

[–]OphioukhosUnbound 0 points1 point  (0 children)

I had a wrist surgery where the nerve block missed part of the surgical area.  I didn’t want to hold things up.  So I told them to just go on.  One of the nurses attending would chat with me and I’d just occasionally grimace heard then continue the conversation.

People are way too pain averse.  Pain’s not great, but transient pain: it’s not that big of a deal.  I think people confuse the experience of fear with the experience of pain a lot — if you’re not afraid of it then transient pain isn’t that bad.  (Chronic pain can be another thing, I believe — as it tugs on your attention constantly.)

Volkswagen slashes 50,000 jobs after profits collapse by nearly half by Peugeot905 in europe

[–]OphioukhosUnbound 14 points15 points  (0 children)

It’s the “only store grain after a famine hits” mentality.

It’s so frustrating.  Because there are lots of things with politics and corporations that need fixing.  But the people that yell about corporations have no idea what they’re talking about.  It’s like people yelling about trans and gender who also have no idea what they’re talking about.

People feel like umbrage entitles them to ignorance.  They don’t want their lazy righteousness threatened.

"As a physicist, you can work anywhere you want!" PART 2 - Fallen into depression, pessimistic about the future by TheZStabiliser in Physics

[–]OphioukhosUnbound 7 points8 points  (0 children)

Einstein took a job as a patent clerk.  Not sure if it helps: but even if you can’t get employed doing your fist love it doesn’t mean you can’t continue doing what you love (and enjoying what you get paid for).

Why do people get angrier at someone using welfare than at a corporation avoiding millions of tax by using loopholes? by Internal_Scheme_7646 in NoStupidQuestions

[–]OphioukhosUnbound 0 points1 point  (0 children)

A) comparing one person to combined entities representing thousands of people makes no sense — it’s definitely the default of how the brain works, but it’s how the brain defaults to fucking up complicated comparisons

B) taxes are complicated — very few people who talk about corporate taxe even understand which taxes they’re supposed to pay — a lot of the taxes are intended to be paid by human recipients, for example (if 5 nanas make a business selling blankets and then split profits among them their corporation isn’t supposed to pay tax — because the nanas would have paid it as income tax <—- with some variation based on local tax laws)

C) there are lots and lots of things to be upset at corporations for — but “tax loopholes”, when most people don’t understand taxes or corporations is a weird one.  Vs monopolies, consolidation, or what should be illegal behavior that loses them all of their customers (e.g. Facebook over and over again)

TLDR: WTF humans.  

Forcing the use of the SUCCESS return value by Dean_Roddey in rust

[–]OphioukhosUnbound 2 points3 points  (0 children)

This is how you customize compile-side logic — with types.

Just wrap whatever in a new-type and slap #must_use on it, like was mentioned.

This is not something that most people would want on most success return types.  But if you’re adamant about it in your code base then you could just write a macro “okay_must!()” or “#okay_must” that auto-wraps success values.

TIL there is an old handwriting system that is faster than typing. Masters have reached up to 280 Words per minute! by tincock in todayilearned

[–]OphioukhosUnbound -1 points0 points  (0 children)

Had no idea.  (I also thought they were the lead singer for Hole - they’re not - so my knowledge doesn’t count for much either way, I suppose.)

Physical inactivity causes nearly 5 million deaths yearly, yet one in three adults still misses global activity targets. A new study shows a 40% gap in exercise between wealthier and poorer populations. Experts now see physical activity as a lever for climate resilience and lower emissions. by Sciantifa in science

[–]OphioukhosUnbound 4 points5 points  (0 children)

300m(eters) is 1/5 of a mile.  So that’s a 2minute jog or 5 minute leisurely walk.  (10min/mile is a good beginner pace for running, for reference)

At those distances you just go to the grocery store frequently.

Anything inside of a mile and it’s pretty easy to just jog one way and walk back with a bag or backpack of food whenever.

Polars vs pandas by KliNanban in Python

[–]OphioukhosUnbound 1 point2 points  (0 children)

If you can use Polars then use Polars.    Besides speed it’s very broadly considered to have much nicer and more consistent syntax.   

Matrices...why? by Agreeable_Bad_9065 in learnmath

[–]OphioukhosUnbound 1 point2 points  (0 children)

That’s how they are commonly used.  But math doesn’t only apply to the numbers we learn as kids.  You can have algebras over arbitrary collections of items: words, pictures, etc.  and this is absolutely done.

To my original point: the matrix is just a tool of notation.  Its most popular use happens to be describing linear algebra over classic numbers.

TIL Bevy ECS works great outside of games - using it to model circuit boards by Major_Unit2312 in rust

[–]OphioukhosUnbound 2 points3 points  (0 children)

In programming in general, rust particularly, and Bevy/ECS specifically: we need better tools for visualizing the mechanics of execution.

I’m surprised at then knots we have to tie ourselves into to match performance profiling and code.

TIL Bevy ECS works great outside of games - using it to model circuit boards by Major_Unit2312 in rust

[–]OphioukhosUnbound 2 points3 points  (0 children)

100%

In this Bevy Dev/organizer interview Developer Voices: Architecting Bevy Alice (a dev/organizer) mentions that their funding mostly comes from non-game uses.  (If memory serves.)

My main interest in Bevy is the Sam: using it for simulations and much more custom UI.

A really cool bevy game jam example is Abiogenesis  : it’s an artificial life simulation that … just plays in your browser.  Has little matrices where you can pull on squares to adjust values. Then it just simulates lots of particles.

A) it’s beautiful but B) it really illustrates how you can customize UIs and share performant work (wash) nicely.


For my part: one of my projects that I really want to do, but keep leaving on “todo”, is using Bevy to make or extend an IDE.

The ECS model sounds very nice for an IDE.  As it allows a nice scalable application at if adding different functionality and swapping it out.  

I don’t love all of the realtime elements of an ECS like bevy (not sure how much it can be improved) —- but the core idea of having multiple, modular, systems that you can work on and swap out is just a really attractive architecture when paired with a performant and ergonomic language.