richhyd

u/richhyd


r/Architects•

I'm a software developer in 🇬🇧, and I've been working on some floorplan software for a couple of years now. I'm pretty good at making computers do what I want, but not so good at architecture.

So my question is: what do you wish software could do, but it can't right now? Or are there things that software can do but that should be easier?

010

r/OCD•

Techniques for managing (self-)harm OCD

NSFWSpoilerI need support - advice welcome

I have struggled with very distressing thoughts of self-harm for all my adult life (20 years), although I have never self-harmed or attempated suicide. I have never met anyone with a similar experience to me, which has let me to feel very lonely. I'm wondering if other people out there have had similar experiences to me, and how they manage their symptoms.

I think they stem from an experience I had when I was a teenager. At the time, I had a strong fear of being trapped inside small spaces, and when I went on a Ferris wheel, I felt an overwhelming urge to get out of the seat and climb down to the ground, to escape. It was basically a panic attack, but in a very unfortunate situation. I got

16

r/rust•

Whether Rust ever ends up suplanting C++ in the end, it is forcing C++ folks to think about better safety. In a recent talk (https://www.youtube.com/watch?v=I8UvQKvOSSw) Bjarne Stroustrup focuses on safety and some of the things that Rust does (RAII, fat pointers, ...), and argues for a "higher level" version of C++ that does not use raw pointers. But he acknowledges that people always reach for these low-level things. He also has a really nice catchphrase about 10mins in: "being careful" doesn't scale.

12957


r/Stationeers•

Bugs

Discussion

Just got this game a few days ago. Absolutely love it! But it is riddled with bugs(Actually I don't think there are that many, just disagreements between me and the developers how the odd thing should work, and I shouldn't call them bugs). Some of the things I've come across:

  • Tracking beacons with your monitor sometimes just doesn't work (says 0m with no arrow all the time). I tried taking the chip out and putting it back in like some suggested, with no luck yep turned out this was my fault not understanding how to use it!
  • Tutorials have lots of problems. If you deviate slightly from the instructions then you won't be able to complete the tutorial (which I think is OK personal
08

r/rust•

So the official advice is that you should never try to interpret debug output. This is good advice. However, sometimes it's worth ignoring good advice. debug_parser does this for parsing Debug output.

The library will always succeed at parsing something, even if it's just a big string with everything in. My use-case for it is to display nice tables in evcxr (see the print_evcxr function). But it could also be useful to convert a big debug dump into e.g. json with serde, so that you can explore it with a viewer that can collapse nodes. Both the parser and the evcxr printer use heuristics to try and guess a sensible parsing, which means both th

190

r/rust•

Mocking is traditionally a hard problem in systems programming, since we don't have duck typing for faking things. However, I think I have found a solution, which I have published to crates.io. The method is actually very simple, if you want to see how it works, go to the github repo to vew the source.

Usage is as simple as

use universal_mocking_library::mock;
println!("{}", mock());
5512

r/rust•

Something I'd love to see in 2019 is movement towards a good GUI foundation in rust. There are plenty of people asking for GUI libs, and plenty of people providing them, but what is needed is some organization. Evidence suggests that writing a GUI library is too much work for one person (otherwise someone would have succeeded by now). My theory is that while the problem can be broken down into sub-problems, they aren't very interesting to work on unless they are part of the bigger picture.

​

A working group or something similar would solve this problem.

​

I could list the things that I think we need to build a GUI framework, but I think there are more qualified peop

13347

r/rust•

Im going to write a short post about all the small (ish) improvements that would make my rust experience even better. It's quite a selfish list, bit then others can make their own posts.

  1. Never type - it would really help me express intent sometimes. I think there is some work to do still, but hopefully the fact that the feature is simple will bound the amount of work & design required. Also we get TryFrom/Into for free.
  2. Const generics - Would really help in the embedded space I think - and also clearer code. I can just about make a wrapper type for my array, but it's a lot of work! It would also be awesome to see n-dimension stack-allocated matrices.
  3. *Embedded code gen
227


r/SuggestALaptop•

I'm absolutely going crazy trying to find a laptop that suits my needs. They are

  1. Small and portable
  2. Light <1kg
  3. Long battery life (12+ hrs)
  4. Simple open standards-compliant hardware/firmware (OEMs always balls this up and it shouldn't be that complicated, we should be able to use generic drivers because our hardware is well designed).
  5. Runs linux reasonably fast, and supports rudimentary graphics
  6. Maintainable - I should be able to test/replace components when I need to.

This is definitely possible.

  • I want to use an arm v8 SOC chip for low power consumption, because all the software I care about I can compile for arm.
  • I want to use something like 9000mAh l
01