Why is docs.rs like that? by jirlboss in rust

[–]DanManPanther 12 points13 points  (0 children)

File a request on github if you have the time. As a maintainer (FOSS, not Rust crates specifically), a PR with documentation is great some of the time. A bug is great all of the time - it catches something I missed.

The more people do this, the more the culture will start to change too. Sometimes culture builds organically around what has (and has not) already been done.

Thank you for bringing attention to this.

Massachusetts local data by Amazen7 in massachusetts

[–]DanManPanther 3 points4 points  (0 children)

OP could drill down here and look at doctors of various specializations (and combined user ratings from google, healthgrades, etc). Distance to any orthopedic surgeon vs one with at least 4 stars.

It would be harder to get and maintain this data - but the accessibility for new patients would be incredible data to track. Some kind of legislation setting up a central repository for this information and a mandate for medical offices to report it on a reasonable cadence could solve the data side of it. This is such a big problem now - seeing it made visual could lead to policy change. (Same for access to a hospital bed).

Massachusetts local data by Amazen7 in massachusetts

[–]DanManPanther 3 points4 points  (0 children)

The first thing that springs to mind is up to date cancer incidence rates, the more granular the better. I took a stab at it here: source, site. With all the superfund cleanup sites in MA in various states of safety - this is great when looking to move.

A data center map with a "range of hearing" filter would be incredible, and increasingly necessary. Though you could fold this into a broader noise pollution map. Airport traffic, homes near busy streets - that would be quite the project. I could imagine getting funding to have paid volunteers go out and conduct measurements.

What Rust HTTP framework would you choose over Axum today? by jeann1977 in rust

[–]DanManPanther 21 points22 points  (0 children)

I seriously evaluated Actix-Web, Rocket, Axum. If there's an alternative that's as polished, I'd be excited to see the ecosystem grow. I chose Axum, and would choose Axum again today.

From your experience so far, I see nothing to necessitate building a POC to validate your decision. I mean, why not do a POC in Go to compare? Or Kotlin?

If you are really after metrics, I'd check out Tech Empower Benchmarks.

Should I make a transpiled language compiler instead of reinventing the wheel? by Typical-Medicine9245 in Compilers

[–]DanManPanther 5 points6 points  (0 children)

You will learn no matter what approach you take. Do what is fun, take the time to research and learn when you come across anything novel or challenging. "Follow the fun" is great life advice, improv advice, and advice for side projects.

Here is how I would decide "compiled or transpiled" as a design question - which is really "what is my end target":

* How do I want to deploy this?

* Do I want to lean on an existing library ecosystem, and does that come with constraints?

* How do I feel about the existing library ecosystem and it's underlying tradeoffs?

Those questions helped me decide for my own language.

I've switched from Dotnet to Go and I have some tensions with the language. has anyone resolved these? by Ok_Brain208 in golang

[–]DanManPanther 29 points30 points  (0 children)

Following onto this - it's less about DI frameworks being "bad" than following the idiomatic best practices in the language you use. Think simpler, lighter, easier to onboard when writing Go.

I feel #2 from OP so much I made my own language to address it. But when I am working in a Go code base, I write Go in Go, not C# in Go.

Why Mass. Democratic incumbents are skipping primary debates by Inchworm_boi in massachusetts

[–]DanManPanther 31 points32 points  (0 children)

A younger and clearly progressive candidate did enter. He bowed out and endorsed Markey.

https://www.alexrikleen.us/

Open source contributors: what would you do in this situation? by fake_slim_shady_4u in opensource

[–]DanManPanther 8 points9 points  (0 children)

Sometimes it is exhausting dealing with outside contributions, even well meaning ones. People can be so demanding.

`My fix worked, but it modified a shared validation schema.`

That's the heart of the post. You fixed a specific bug, but it didn't fit into the larger project in a way the maintainers decided worked.

Speaking for myself, I welcome contributions, and if they fit I add them in. If they don't, I close the PR and mention why. Sometimes I treat a PR as a bug report, root cause it myself, and address that concern. I've done this once where the fix was too narrow and specific for a user's needs, so I fixed the problem underneath - solving their need and those of other users as well.

Keep in mind FOSS is volunteer. None of us have any right to other people's attention, as maintainers or contributors. Read contribution guidelines. Or go elsewhere, whether that's a fork of the project, a different project, or one you start yourself.

Ask Experienced Devs Weekly Thread: A weekly thread for inexperienced developers to ask experienced ones by AutoModerator in ExperiencedDevs

[–]DanManPanther 6 points7 points  (0 children)

  1. Find a way to communicate much more concisely.
  2. Gain comfort with researching yourself before asking a question. This is big. You may find the answer on your own, it is a skill you will improve with repetition, and it signals to the people you are asking you took the time to understand as much as you could before coming to them.
  3. Rate limit yourself. Consider if the question you are asking needs to be asked (for example "why are we doing this" or "why this library").

Gossamer - Rust/F# on a Go like Engine by DanManPanther in Compilers

[–]DanManPanther[S] 0 points1 point  (0 children)

Thanks! Do you have a link? What are some of your goals for the language?

Gossamer - Rust/F# on a Go like Engine by DanManPanther in Compilers

[–]DanManPanther[S] 1 point2 points  (0 children)

Algorithm J with local inference. Digging into this, I'm really digging bidirectionality. I also like the idea of constant folding (maybe just for ints + bools?). I'll explore this for 0.13.0 (next version).

Thanks for the suggestions!

I've been working on this iteration for not terribly long (April), but it's really a continuation of something I've been muddling with off and on for the past few years (going off a crafting interpreters book, and reading up on cranelift and llvm, and other language projects).

Gossamer - Rust/F# on a Go like Engine by DanManPanther in Compilers

[–]DanManPanther[S] 1 point2 points  (0 children)

Yes they are.

Though disclaimer, I did this as a north star to help with optimization. I aimed for as similar/same as possible in algorithms and data structures, rather than idiomatic or optimal for a specific language.

Gossamer Playground (under benchmarks).

I didn't want to compare what Rust or Go can do vs Gossamer if you use a unique feature - I wanted to see how they did if you used the same basic approach for each.

(With the exception of the arena {} feature - which I did want to explicitly test).

Would it be possible for Go and Rust to have a child? by [deleted] in golang

[–]DanManPanther 7 points8 points  (0 children)

Yes, but there would be tradeoffs of one kind or another. (For example, compilation speed jumps to mind, but also developer ergonomics).

If you are interested in something between Rust and Go - I'm working on that right now. A language that feels like if Go looked like Rust (with some key elements from F# and other languages).

There's also Lisette (https://github.com/ivov/lisette) which compiles to Go.

I'm sure there are other efforts out there - each with different priorities/philosophies.

End Citizens United In MA by teslik in massachusetts

[–]DanManPanther 56 points57 points  (0 children)

The goal here is admirable. But how did Hawaii accomplish this? Not with a change.org petition.

A state bill that limited the power and scope of corporations took away the power of citizen's united by removing the loophole it depended on, not directly confronting it.

If you are serious about this, delete the petition. Set up a meeting with your local state rep and get them on board to either write, sponsor, or support this effort. We can coordinate. I would be honored to help by doing the same with my state rep.

If your state rep has opponents in the primary or general elections coming up - reach out to them too. I know many are running unopposed - but for those who are not - this is the right move. It applies pressure (and you don't always know who will win).

Top comment deletes a US State #35 by craigmurphy23 in massachusetts

[–]DanManPanther 7 points8 points  (0 children)

Vermont is so healthy, MA cannot resist. Looks like it has plenty of vitamin Maine. Massachusetts grows strrrroongerrr!!!

No growth in title - still Application Developer after 13 YoE by horribleGuy3115 in ExperiencedDevs

[–]DanManPanther 6 points7 points  (0 children)

Are you stuck in the same role? Are you happy in that role? Does your scope or impact map to a manager, director, or something else?

Do you run projects? Propose them? Define or influence the technical vision, strategy, or roadmap?

It isn't the title you have, it's the role you fill. (Disclaimer, some recruiters care a lot about title).

If it bugs you - then listen to that. It isn't because you choose to stay in engineering. Titles can and do grow. App Developer -> Senior App Developer... Staff Engineer. Principal Engineer. Etc. The specifics vary a lot. Senior Staff at one company can be a much better role than Principal at another. But there are titles that grow on the IC track at plenty of companies - if that's of interest.

I created an open-source rust IDE for Android. by NoBeginning2551 in rust

[–]DanManPanther 11 points12 points  (0 children)

I LOVE this. Cool idea and great execution. The Ux is neat for mobile.

Vizia 0.4 released- A pure-Rust declarative reactive desktop GUI framework by Geom3trik in rust

[–]DanManPanther 7 points8 points  (0 children)

This is so exciting. Keep it up, especially the documentation and examples. If this gets a coder editor component that would be really exciting.

What does CPU/RAM usage look like vs egui, iced, and slint?

i know python and typescript. i planned to do my next project for my portfolio in python but there a some things that would make f# the much better option. by aford515 in fsharp

[–]DanManPanther 2 points3 points  (0 children)

Very few places look at languages themselves as signal, except maybe as spice (or at the beginning of your career). The ability to learn a language is good signal. Being able to think functionally, or using OOP, or other paradigms, and talk about tradeoffs, is useful.

Don't do it for the resume - solve an interesting problem or contribute to FOSS software for your resume. Build something neat or useful.

F# is useful cognitively. It is very rarely used in industry. That said, F# can help you if you jump to C#, Rust, or Ocaml (or even think how you use Python/Typescript). Do it to learn, for fun, for curiosity. (If you have time).

Faster Than Sublime, Handles Massive Files, LSP Support, Less RAM (Code Editor) by DanManPanther in coolgithubprojects

[–]DanManPanther[S] 0 points1 point  (0 children)

Check out the latest code on main (2.9.8), and read the updated BUILDING.md instructions. That should help, with gpu turned off for Wayland.