I lived in a perfect OOP bubble for my entire life. Everything was peaceful and it worked perfectly. When I wanted to move that player, I do player.move(10.0, 0.0); When I want to collect a coin, I go GameMan -> collect_coin(); And when I really need a global method, so be it. I love my C++, I love my python and yes, I also love...
My dear friend - what if I told you that every call to Player.move should return an entirely new instance of a Player? One with an immutable position, and a helper function that takes a position delta - and constructs yet another Player!
What if I told you that all user interfaces are a function of application state; and all interactions apply a transformation that is then re-rendered? (We have gotten very good at only re-rendering the parts that change.)
Welcome to FP! There’s a whole world here for you to explore. You’ll be telling your friends about monoids and endofunctors before you know it :)
Lol this is the wrinkle - FP is great for humans, but under the hood, what is memory but a big block of mutable state? Sometimes we have to dig into the specifics for performance.
That being said - Rust knows that the instance of Player passed in is the only reference, and it can re-use that memory - maybe even mutate it in-place ;) while still presenting an FP interface to the user.
I’m so glad society has teams allocated to identifying these hard-hitting issues. It’s true - we don’t have enough consumer protections in place for space tourists. A poor innocent space tourist could “go to space” without fully understanding that “space can be dangerous”. Thankfully, these analysts discovered this issue before too many people were “at risk”. Future space tourists will have to sign a waver, or watch a presentation, or something.
The interesting question here is who paid for this “study”, and who from the register accepted the bribes to get this dogshit published.
Thank you, that’s an excellent read! This reminds me of the “expected value of perfect information” - sometimes it is worthwhile to answer a question, and sometimes it isn’t. Every once in a while I find myself in an engineering call discussing a minor problem, and I run the numbers to see if the change we are discussing is even worth talking about. One time the combined salaries of the people on the call had already outpaced the cost savings of the change over the next 10 years. We quickly stopped that discussion lol
You’re out here solving impossible problems. You’re “The Fixer” from Pulp Fiction. Fools look at story points. Pros see an unsolvable story that languished for years until you came along and defeated it. A single point for you is an entire epic to other teams.
Everything is a differentiator that can be spun to your advantage. The points aren’t accurate, and you’re the only one with enough guts to step up to the plate and finally work these neglected tickets; even if it won’t “look good” on some “dashboard” - that’s not what’s important; you’re here to help the organization succeed.
If the system doesn’t make you look good, you have to make yourself look good. If you weren’t putting in the effort, it would be hard - but as you say, everyone who takes a deeper look clearly sees the odds stacked against you, and how hard you’re working / the progress you’re making; despite those odds.
Don’t let some metrics dashboard decide your worth, king!
On the one side I really like c and c++ because they’re fun and have great performance; they don’t feel like your fighting the language and let me feel sort of creative in the way I do things(compared with something like Rust or Swift)....
Indeed, and good points. How many users do you have? I assume this isn’t just for you, and setting up multiple nfs shares with tailscale access policies isn’t feasible. SMB might be the best play. I’ll have to refresh my memory on file sharing protocols
What else is the “remote HTTPS connection”? Is it possible to stream my stream OUTWARDS to WAN? (With port forwading) So I can just give friends a link to stream from my stream? Easy peasy? Would be super handy
Your current setting is the “loopback” address. You’re listening for traffic to this address, and the only thing that can send to the loopback is yourself. This is a safe default, it means only the computer running the software can talk to it. Generally 0.0.0.0 listens on all available addresses. If that doesn’t work, use your local / internal ip.
This ui smells like it’s trying to hide the implementation details, but that makes things extremely difficult when troubleshooting
I’m a career transitioner looking to get a higher paying job working as a Web Developer. I’ve been self teaching for a bit over 3.5 years now and am currently working part time at a very small start up while still working on my own personal projects and slowly researching and studying CS topics....
Linkdin is effectively a personal website generator with social features. Your profile page is the important part, but only if you’re optimizing for “searchability” / random discovery. If you’re doing that, then you’re competing with everyone else who is also doing that.
A personal website is fine; better even. It’s a project all on its own, and you can do cool stuff with it. Show off your projects on it. You can host your code on any platform that supports git, but you’ll get bonus points for using a self-hosted instance.
I have a linkdin account only to reserve my name and link to my website.
Absolutely - self-hosting something like that is in and of itself a project!
I wouldn’t worry about discoverability - you want to hunt for the job you want, not necessarily wait to be discovered. Once you have a position in your sights, you get to point at your site / projects / git host via everything - your cover letter, resume, business cards, etc.
Having a blog is fantastic. You get to showcase your interests and skills in whatever areas you want, and a good combination of technical capability and enthusiasm will get you in most doors easily.
I’m skeptical of certs, they don’t represent much more than a shallow baseline of knowledge and a minimum initiative to go get them. That being said, they’re much better than nothing.
Imo understanding networking fundamentals is huge. If you google “overthewire banditlabs”, there’s a series of challenges that test / teach you important skills.
Personally, I would rather see banditlabs over a cert, a cert over nothing, and tbh enthusiasm / teachability over everything.
I've actually had people try to "gotcha" me like the second panel ... like, yeahhhh (i.ibb.co)
Anarcho-Capitalists ☭ (midwest.social)
Fellow C and Rust programmers, how do you live without classes? (lemmy.blahaj.zone)
I lived in a perfect OOP bubble for my entire life. Everything was peaceful and it worked perfectly. When I wanted to move that player, I do player.move(10.0, 0.0); When I want to collect a coin, I go GameMan -> collect_coin(); And when I really need a global method, so be it. I love my C++, I love my python and yes, I also love...
Bathroom Scale Caddy (midwest.social)
Our bathroom has very little extra floor space so the scale has been leaning up against the wall....
Huehuehuehuehue (lemmy.zip)
Regulation needed to protect space tourists from cosmic rays (www.theregister.com)
EBNF Grammar for ANSI C (+ Guide on reading EBNF) (gist.github.com)
This is EBNF grammar for ANSI C (C99) and it contains almost every rule. It may be missing stuff, please tell me if you notice something missing....
rule (lemmy.ml)
Lua rule (lemmy.blahaj.zone)
A ruler with the logo for the Lua Programming language
What is your socially unacceptable guilty indulgence?
Mine is plain/lightly salted Doritos/tortilla chips dipped/scraped in unsalted butter....
I studied political science and jazz... (i.imgur.com)
I rule that we should post something other than USA politics please (beehaw.org)
Positive Affirmations for Site Reliability Engineers (www.youtube.com)
Cannot Get Points in Sprints..
Edit : I appreciate all the PoVs and I will reply to everyone. This is important to me. Just going to go rest a bit and I’ll be back....
White House: Future Software Should Be Memory Safe (www.whitehouse.gov)
On the one side I really like c and c++ because they’re fun and have great performance; they don’t feel like your fighting the language and let me feel sort of creative in the way I do things(compared with something like Rust or Swift)....
What would be the suffix for "group"?
We have “triangle” “rectangle” “pentagon”…etc “tetrahedral” “cube” “octahedron” …etc...
authenticated remote filesystem access for home/SOHO use?
(sorry in advance for the long post)...
is it possible with Streamio to stream to WAN? (lemmy.dbzer0.com)
What else is the “remote HTTPS connection”? Is it possible to stream my stream OUTWARDS to WAN? (With port forwading) So I can just give friends a link to stream from my stream? Easy peasy? Would be super handy
Possible to get away from LinkedIn and Github?
I’m a career transitioner looking to get a higher paying job working as a Web Developer. I’ve been self teaching for a bit over 3.5 years now and am currently working part time at a very small start up while still working on my own personal projects and slowly researching and studying CS topics....
Very cool: trees stalling effects of global heating in eastern US, study finds (www.theguardian.com)
Pivot Out of Tech? New Grad Seeking Advice
Hey everyone,...