Spyke

Posts

selfhosted·Selfhostedbysouperk

Do any of you have a buttload of RAM sitting around?

Hi,

I have a friend who is looking to run a few simulations he has implemented in python and needs around 256GB of ram. He is estimating it will take a couple of hours, but he is studying economics so take that with a grain of salt 🤣

For this instance, I recommended GCP, but I felt a bit dirty doing that. So, I was wondering if any of you have a buttload of memory he can burrow? Generally, would you lend your RAM for a short amount of time to a stranger over the internet? (assuming internet acccess is limited to a signle ssh port, other necessary safeguards are in place)

View original on reddthat.com
asklemmy·Asklemmybysouperk

How would you implement a dead man's switch?

After reading about the "suicide" of yet another whistleblower, it got me thinking.

When working at large enough company, it's entirely possible that at some point you will get across some information the company does not want to be made public, but your ethics mandate you blow the whistle. So, I was wondering if I were in that position how I would approach creating a dead man's switch in order to protect myself.

From wikipedia:

A dead man's switch is a switch that is designed to be activated or deactivated if the human operator becomes incapacitated, such as through death, loss of consciousness, or being bodily removed from control. Originally applied to switches on a vehicle or machine, it has since come to be used to describe other intangible uses, as in computer software.

In this context, a dead man's switch would trigger the release of information. Some additional requirements could include:

  1. No single point of failure. (aka a usb can be stolen, your family can be killed, etc)
  2. Make the existence of the switch public. (aka make sure people know of your mutually assured destruction)
  3. Secrets should be safe until you die, disappear, or otherwise choose to make them public.

Anyway, how would you go about it?

View original on reddthat.com
programming·Programmingbysouperk

Book Review: Continuous Architecture in Practice

I just finished reading this book and decided to share my experience with it.

About the Book

Continuous Architecture in Practice is a sequel to Continuous Architecture both written by Murat Erder, Pierre Pureur, and Eion Woods. The authors attempt to address feedback from their 1st book by navigating the reader through the Trade Financs eXchange (TFX) case study.

The book starts with a brief introduction to the core concepts of Continuous Architecture, including its 6 principles, as well as its essential activities:

  1. Focus on quality attributes
  2. Drive architectural decisions
  3. Know your technical debt
  4. Implement feedback loops

From then on the book switches focus to common architectural concerns:

  1. Data
  2. Security
  3. Scalability
  4. Performance
  5. Resilience
  6. Emerging Technologies

Each concern is tackled in a separate chapter that features an introductory quote, a definition along with some historical context, a list of issues an someone should keep in mind when architecting for that concern, a list of tactics, and a further reading section.

My Opinion

Overall, I liked reading the book, it gave me a lot of inspiration and a desire to learn more about particular topics. The book assumes a certain level of familiarity with software engineering which helps it focus on general concerns and avoid implemention specific details.

I particularly liked the Emerging Technlogies chapter as it offers a healthy view on AI, ML, and shared ledgers. It helps remove the fairy dust that's blinding our industry, and instead focuses on meaningful changes that actually provide value to a product.

Also, as someone with experience in software security I appreciated the focus on shifting left security concerns.

Who Should Read This

In my opinion, every software engineer can benefit from reading this at some point in their career. However, I wouldn't recommend it to a junior, if you are not already familiar with the topics covered in the book it could be intemediating.

PS I am not affiliated with the book or its authors in any way. I am just a person that read a book they liked wanted to share my experience.

Book Review: Continuous Architecture in Practicehttps://continuousarchitecture.com/Open linkView original on reddthat.com
programming·Programmingbysouperk

Any tips for finding a remote job as a senior software engineer?

Hi,

I am looking for a remote senior software engineer position. Most of my career I have been using connections to move from one job to another but this time I haven't had the luck, so I am mostly blindly applying through LinkedIn.

I know the general tips but I would like to get some more specific tips to improve my chances.

How can I make my CV stand out? I feel I am getting rejected by positions that are way below my qualifications. I have wondered if I should be updating my CV according to the stack of the position I am applying for. Throughout my career I have focused on building transfarable skills and as a result I have worked with a wide variety of technologies and it feels like I am being penalized for that.

Are there any job boards that may be better than LinkedIn? I am tired of skimming through ads about fintech and AI positions. I am not interested in those and I would prefer to work somewhere that I genuinely I am contributing something in the world. Also, I would be interested on job boards on the Fediverse, especially if it meant that my resume is read by humans and not machines.

How can I avoid time wasters? I had applied to Canonical, after 8 interviews and a bunch of offline steps, I was rejected. While the interviews were fun, I feel I have wasted a lot of time and energy for a someone that was not genuinely interested in hiring.

Anything else I should be paying attention to?

View original on reddthat.com
community·Reddthat Community and Supportbysouperk

What do you think about the recent LW controversy?

Recent events over at lemmy.world have got me thinking, and I wanted to see what the community here are reddthat.com thinks.

Most details are available at the lw admin team's latest post. TLDR A discussion about whether a vegan cat diet was viable started at c/vegan. An admin banned some comments and removed a moderator of the community. LW updated their TOS with a section about misinformation. The admin actions were reversed.

(Probably, I am misrepresenting the situation, read the link before taking up arms)

While, I prefer to enter my own opinions in a comment, I would like to add some questions to frame the discussion:

  1. What do you the new section about misinformatiom? Do you think reddthat needs one?
  2. What do you think about how the situation was handled by the LW admin team?
  3. Given that LW is the biggest lemmy instance, how do you think these changes will influence smaller instances like reddthat?
  4. Do you have any other take aways from this? Or any other questions?
  5. (bonus) Isn't it hilarious that lemmy has its own tea (=gen z for drama)?
View original on reddthat.com
adhd·ADHDbysouperk

Rant about "having ADHD is not an excuse for everything"

If you haven't heard this cliche while discussing your neurodivergency with someone, then I envy your luck. Yesterday I fucked up, I feel shitty, but also I am pissed.

Our brains are impulsive af and tend to forget the most important information. We mess up, our RSD (and empathy) kicks in, we feel terrible, we vow to be more careful, but guess what? Thats fucking exhausting.

As a result, we start overthinking our every waking moment, stressing over every little thing. Because, we are trying to be aware of the things we cannot perceive.

At some point, hopefully we realize that we cannot live like that, and we start to arbitrarily ignore our compulsion to overthink. Most often that works out great because most often the threat is not real, but sometimes we make the wrong call.

The times we overthink are still more than the times we do not, and we still mess up. Let us have our fucking peace.

View original on reddthat.com
asklemmy·Ask Lemmybysouperk

Americans would you consider wearing a Guy Fawks mask on election day?

Not an American, but I just noticed that the election day is on the 5th of November. Given the similarities between Trump and the chancellor, it seems like a good opportunity to remind people what is coming if they vote for Trump.

For those who haven't watched V for Vendetta, do it, the reference will make sense.

Remember, remember, the 5th of November,

Gunpowder, treason and plot.

I see no reason

Why gunpowder treason

Should ever be forgot.

View original on reddthat.com
asklemmy·Ask Lemmybysouperk

Lemmings do you feel like you are falling behind in your area of expertise?

As a software engineer I have adapted to the world turning upside down every couple of years and having to learn new concepts and technologies. However, I have been noticing other fields struggling to adapt as things change in a faster scale.

For example, some researchers have pointed out that the number of papers about ADHD increases exponentially every year. However, most mental health professionals, at least in my area, seem to be severily outdated, often using information that has been debunked within the last 10-20 years.

So, I was wondering if other fields are affected and how they are adapting?

Edit: Bonus question, assuming a 40hr week (a luxury for most), how much time out those 40hrs would you need to spend on education?

View original on reddthat.com
autism·Autismbysouperk

What's a moment in your life where you felt fully alive?

I am reading "Unmasking Autism" by Devon Price and the introduction has an exercise that requires you to come up with 5 moments in your life where you felt fully alive. I have spent the better part of yesterday trying to remember such moments, but I am not even sure what it means... I was hoping the community here can provide some insights, either by sharing their moments or their definition of being "fully alive".

Full text of the exercise for anyone interested:

Instructions: Think of five moments in your life when you felt like you were FULLY ALIVE. Try to find moments from throughout your life (childhood, adolescence, adulthood; school, work, vacation, hobbies).

Some of the moments might leave you with a sense of awe and wonder—“wow, if all of life was like that, life would be amazing!” Some of the moments might leave you feeling deeply recharged and ready to face the next challenge, or satisfied and fulfilled.

Write down each of these moments. Tell the story of each moment in as much detail as possible. Try to think specifically about why the moment stuck with you sodramatically.

View original on reddthat.com
community·Reddthat Community and Supportbysouperk

Trouble logging in with jerboa

For the past 3 days I have trouble logging in reddthat using jerboa. I am able to log in to other accounts, including LW. Also, I am able to log in reddthat with the web app and Eternity. When I log in, I get a message Illegal input field, public_key is required (the full message is not visible).

I am using a password manager so I am sure I am using the correct credentials. I have reinstalled jerboa and deleted all data.

Anything I can try? Anyone else facing the same issue?

Edit: I have tried every version from 0.60 to 0.65, some of them I have used successfully in the past.

View original on reddthat.com
greece·Greecebysouperk

Μπακαλιάρο θα φάτε σήμερα;

Είπα να ανοίξω ένα πιο κοινωνικό thread εδώ πέρα.

Εγώ θα πάω σε ένα φίλο που θα μαγειρέψει, δεν είμαι πολύ φαν αλλά το παιδί είναι καλοφαγάς και μου αρέσουν τα έθιμα που έχουν να κάνουν με φαγητό.

Εγώ θα ετοιμάσω brownies για την παρέα.

View original on reddthat.com
python·Pythonbysouperk

Why there isn't a "Typescript" for python?

Context

Being a full stack developer, I have decent experience with both python and Typescript. I often use python for API development and I have been trying to write code that is pep-484 compliant (aka fully typed). However, often I get the feeling that if I was using TypeScript it would be much easier.

That got me wondering why there isn't a fully typed language that compiles to python.

I am aware of some arguments, so I am going to get the conversation started by providing my thoughts on them.

ts2python

ts2python is a TypeScript to python compiler.

Unfortunately, it covers only a small subset of python's capabilities. I am not sure why this hasn't been adopted and/or expanded to cover more of python's capabilities, but I can see possible issues with some python features that are not supported by TypeScript like context managers or operator overloading.

Still wondering if it would be possible to extend the TypeScript compiles so it would support such features?

pep-484

pep-484 describes how to provide type hints for python, it's not ideal but good enough that don't have to invent a new language.

IMO that's a trap, pep-484 (and other typing related peps) are not a good enough solution, on the contrary sometimes they are straight up misleading.

For example, consider the stubs for comparisons with built-in types, you would notice that they are defined as __op__(self, other: Any) -> bool: ... which is not correct as when other implements __opposite_op__ that is called instead of builtin.__op__, and it's return value may be of a different type.

Typing tools have not caught up with it, right now only pyright has full compliance with pep-484 (and other typing related peps). For that reason, SQLAlchemy had to introduce more than a couple of workarounds so MyPy can understand what's is happening behind the scenes, even for features that are pep-484 compliant.

Use Another Language

Python was never meant to be fully typed, and they make it clear.

True, but there are a bunch of libraries unique to python that make it a mandatory choice for many tasks. Things are changing and other options become available, but it's going to take time until there is another viable alternative.

Conclusion

Interested to read your thoughts.

  1. Is there another reason typing support hasn't advanced?
  2. Are you satisfied with typing support for python?
  3. Are you transitioning to another language?
  4. Are you aware of any new and exciting typing tools?

Of course, if typing is not an issue for you, that's okay, every software has different constraints.

View original on reddthat.com
askscience·Ask Sciencebysouperk

What's the equivalent of physics constants for social studies?

In physics, it's common to develop a formula and then stick a constant to explain the unknown. For example, Newton's theory of gravity uses the gravitational constant G on the formula F = G * m_1 * m_2 / r^2, later on Einstein gave a more accurate explanation with the theory of relativity which does not rely on a constant E = m * c^2. Constants provide a good enough explanation of the laws of physics that's useful for centuries.

I was wondering what's the equivalent in social studies? How do researchers deal with the uncertainty of human behaviour?

Edit: Comments made me remember how much I don't understand the theory of relativity, terrible example, sorry for the confusion. I need to rephrase the question but I don't know how.

I am looking for "glue" concepts, things that help connect observations with theory, aka if I calculate m_1 * m_2 / r^2 the result is slightly off but if I account for G, an empirical constant derived from observation, then everything makes sense for the observable universe.

Also, as someone said, I am referring to social studies.

View original on reddthat.com

Gray matter asymmetry alterations in children and adolescents with comorbid autism spectrum disorder and attention-deficit/hyperactivity disorder

This finding demonstrates that ASD + ADHD is neither an endophenocopy nor an additive pathology of ASD and ADHD, but an entirely different neuroanatomical pathology. In addition, ASD + ADHD displayed altered GM volume asymmetries in the prefrontal regions responsible for executive function and theory of mind compared with ASD-only.

Gray matter asymmetry alterations in children and adolescents with comorbid autism spectrum disorder and attention-deficit/hyperactivity disorderhttps://pubmed.ncbi.nlm.nih.gov/38159135/Open linkView original on reddthat.com
thenetherlands·theNetherlandsbysouperk

What's the political sphere in the Netherlands?

Hi, I am thinking of studying in Eindhoven, there is a master's degree I really like. I have been interested in the Netherlands for quite some time since urbanists think really highly of the country. I got the news of the far-right winning the first round of the elections and that got me concerned.

I would like to know how local leftists view the change, abject terror? or "whatever" we got a robust system they won't be able to do much harm?

View original on reddthat.com