Ask Experienced Devs

1484 readers
29 users here now

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 2 years ago
MODERATORS
1
 
 

I work at a giant tech company. I'm in the upper levels (the CTO is my bosses boss).

I think our C-suite has truly lost its mind around AI. Last year I thought their delusions were just optics for the market. I thought they were hedging bets, playing the short game for their RSUs, and I forgave any low IQ moments and off key messages as being due to fear, caution, or divided attention from allowing AI grifters to infect their circle and feed them bad lines

But Iately I've been seeing stuff that's so catastrophically stupid, and all in, that I think they really have lost their minds.

I know how this works in big co systems of people. Their stupidity is amplified one thousandfold to lower levels like a game of crack the whip. I'm used to them firing leagues of people for no reason other than deciding contractors are good this month, no wait, now they are bad. And lately they've been so incredibly and almost unbelievably stupid. It will take a year for this to trickle down from the top to everyone, but this whole company has already started recentering and orbiting a new sun. This new sun has nothing to do with making money, making things people want to buy, or reality. Our whole center of gravity is moving to internal optics and politics around AI. I can already see pathological low skill people from long ago enshittified companies starting to win this new game.

AI is not going to kill this company. This company will kill itself because it has lost it's mind thinking it needs to be "AI-native."

Is this everywhere, or can I go somewhere that's still smart? Is this a temporary cycle, are people just freaking out because of WWIII?

2
 
 

Apologies if this isn't the right place to ask this, but I thought actual developers with a deep understanding of how technology actually works would be the people to ask!

If you were tasked with setting up a safe and secure way to do this, how would you do it differently than what the UK government is proposing? How could it be done such that I wouldn't have to worry about my privacy and the threat of government suppression? Is it even theoretically possible to accomplish such a task at such a scale?

Cheers!

EDIT: Just to be clear: I'm not in favour of age verification laws. But they're on their way regardless. My question is purely about the implementation and technology of the thing, rather than the ethics or efficacy of it. Can this seemingly-inevitable privacy hellscape be done in a non-hellscapish way?

3
 
 

Youtube would be a prime example: I'm guessing the storage required for the metadata of all videos is too large to be stored on a single server, so how do they achieve millisecond-level performance on searches and handle millions of queries routinely?

What kind of infrastructure and technology is required for this?

Do you have any resources I could use to learn more on this subject?

4
 
 

And how to do it? Looking for a tutorial.

5
 
 

I'm currently learning js as my first programming language. I want to learn DSA and leetcode for getting a job

6
 
 

I'm guessing that we'll see lots of news in 2026 about how companies are hiring developers to help improve the memory efficiency of their software because they just can't get enough servers. Also, the servers they do get will have reduced RAM compared to what they wanted.

7
 
 

cross-posted from: https://lemmy.world/post/39022576

At work we run an app on an iPad in the ambulance. It had an automatic update on Monday.

It no longer connects to the host server. As seen in snapshot.

Do you think it's an App glitch?

Or, iPad settings/security glitch?

Thanks for any input.

8
 
 

I'm looking for a way to wrap up a cloudrun API that does an automated analysis behind a paywall, and I've never done any of this kind of billing etc.

Has anyone used Lago or do they have anything to say on what a good or recommended way to do this is? Ideally I want to be able to provide 'tiers' where a customer buys a minimum number of monthly calls to the API which are use it or lose it, and then they can surpass this number and are billed in addition. Lago seems like a good solution for this, but I'm wondering if there is a more straightforward, or more common way of doing this.

Thanks.

9
 
 

Decentralized Architecture: https://positive-intentions.com/blog/decentralised-architecture

While my approach here could be considered overly complicated (because, well, it is), I'm trying something new, and it's entirely possible this strategy won't be viable long-term. My philosophy is "there's only one way to find out." I'm not necessarily recommending this approach, just sharing my journey and what I'm doing.

Potential Benefits

I've identified some interesting benefits to this approach:

While I often see module federation and microfrontends discouraged in online discussions, I believe they're a good fit for my specific approach. I'm optimistic about the benefits and wanted to share the details.

When serving the federated modules, I can also host the Storybook statics. I think this could be an excellent way to document the modules in isolation.

Modules and Applications

Here are some examples of the modules and how they're being used:

This setup allows me to create microfrontends that consume these modules, enabling me to share functionality between different applications. The following applications, which have distinct codebases (and a distinction between open and closed source), would be able to leverage this:

Sharing these dependencies should make it easier to roll out updates to core mechanics across these diverse applications.

Furthermore, this functionality also works when I create an Android build with Tauri. This could streamline the process of creating new applications that utilize these established modules.

Considerations and Future

I'm sure there will be some distinct testing and maintenance overhead with this architecture. However, depending on how it's implemented, I believe it could work and make it easier to improve upon the current functionality.

It's important to note that everything about this project is far from finished. Some might view this as an overly complicated way to achieve what npm already does. However, I think this approach offers greater flexibility by allowing for the separation of open and closed-source code for the web. Of course, being JavaScript, the "source code" will always be accessible, especially in the age of AI where reverse-engineering is more possible than ever before.

10
 
 

It’s an iOS engineer position, private company, 3 of their people on the call, going over the iOS app take home project I made + whatever else they want to talk about. It’s my first time getting a second interview. Here is the GitHub project for those interested:

https://github.com/jcuberdruid/StravaDemo

Thanks for any advice you have!

11
 
 

Introducing Dim – a new framework that brings React-like functional JSX-syntax with JS. Check it out here:

🔗 Project: https://github.com/positive-intentions/dim

🔗 Website: https://dim.positive-intentions.com/

My journey with web components started with Lit, and while I appreciated its native browser support (less tooling!), coming from ReactJS, the class components felt like a step backward. The functional approach in React significantly improved my developer experience and debugging flow.

So, I set out to build a thin, functional wrapper around Lit, and Dim is the result! It's a proof-of-concept right now, with "main" hooks similar to React, plus some custom ones like useStore for encryption-at-rest. (Note: state management for encryption-at-rest is still unstable and currently uses a hardcoded password while I explore passwordless options like WebAuthn/Passkeys).

You can dive deeper into the documentation and see how it works here:

📚 Dim Docs: https://positive-intentions.com/docs/category/dim

This project is still in its early stages and very unstable, so expect breaking changes. I've already received valuable feedback on some functions regarding security, and I'm actively investigating those. I'm genuinely open to all feedback as I continue to develop it!

12
 
 

https://positive-intentions.com/blog/decentralised-architecture

Creating webapps is easy enough, but in my app, im kinda going against the "best-practices".

For example, im using browser-based cryptography exclusively. while it can be easy advice to suggest to consider using a server to generate keys, i want to contrast it against a webapp that would be sandboxed within the browser.

I'd appriciate if you would be interested to share your thoughts on the approach. I'm aiming for this project to be the foundation towards the most frickin' secure messaging app in the universe. It might be too ambitious, but I'd like to set the bar high.

13
 
 

im using peerJS and its configurable as described here: https://peerjs.com/docs/#peer-options-config

in my app, the peerjs-server used as the connection-broker is configurable (on the landing page). id also like to introduce configurable ice-servers.

i often notice difficulties connecting when not on the same wifi. i think introducing things like turn/stun servers would help.

which of the options makes sense:

  1. a text input to specify your own turn server url

  2. same as option 1 along with some default set of turn servers as a default redundency (because most users wont care about this)

  3. same as option 2 with all the servers togglable.

  4. ???

i understand there are a few free public ones available out there, but i dont know the privacy and security implications of using those. id like to think there is a set of trustable turn/stun servers i can use for option 2. this way, the app connection could be more stable and resiliant. but i'd need to investigate more about any set of servers i introduce into my project.

14
15
16
 
 

Title, mainly aimed at a Blackberry 9800

17
 
 

hope this question doesn't sound too vague.

18
 
 

I've absolutely grown to hate everything AI/LLM related.

It's sole marginal benefit is to senior devs,
with generating some boiler plate code,
which you usually still need to adjust.

For the rest it's been a waste of:

  • Time during development, with wrong answers.
  • Time during reviews, with garbage generated PRs from junior devs.
  • Energy, contributing to global warming.

But lately M$ has been intrusively shoving Copilot down our throats on Github, which I'm quite unhappy with.

So if any of you have some uBlock Origin filters,
or any other ideas on how I can block this Copilot slop out,
please do enlighten me!

Edit: Did some searching of my own.

Go to: https://github.com/settings/copilot
Block + disable everything you can under there.

Then go to uBlock Origin => Open the Dashboard => My Filters => Add:

github.com##.copilotPreview__container
github.com##.AppHeader-CopilotChat
github.com##li.ActionListItem:has-text(Copilot)
github.com##li.ActionList-sectionDivider:has-text(Copilot)
github.com##li.TimelineItem:has-text(Copilot)
github.com##div.pb-4:has-text(Copilot)
github.com###copilot_free_global
github.com###copilot-button-container
github.com###blob-view-header-copilot-icon
github.com##a[href*="/resources/articles/ai"]
github.com##a[href*="/settings/copilot"]
github.com##a[href*="/features/copilot"]
github.blog##a[href*="/features/copilot"]
github.blog##a[href*="/ai-and-ml"]
github.blog##article.changelog-label-copilot
github.blog##article.changelog-label-models

github.com##article.js-feed-item-component:has-text(LLM)
github.com##article.js-feed-item-component:has-text(OpenAI)
github.com##article.js-feed-item-component:has-text(ChatGPT)
github.com##article.js-feed-item-component:has-text(GPT)
github.com##article.js-feed-item-component:has-text(Llama)
github.com##article.js-feed-item-component:has-text(Gemini)
github.com##article.js-feed-item-component:has-text(Grok)
github.com##article.js-feed-item-component:has-text(DeepSeek)

It's not perfect, but at least it's a start of getting rid of the unwanted content.

19
 
 

For context, "no hello website" is a term I'm using to describe websites like https://nohello.com/. The gist is that it's trying to get people to no only say "hello" but also ask whatever it is they're trying to ask you about. (In my opinion, this can even extend to generic conversations, like "hey, how are you?" versus just "hey!")

The problem is, many of these websites seem pretty rude. At the end of the day, I don't think it's possible to make one not seem at least a little rude because telling someone not to say hello just sounds rude lol. That said, even my favorite one (https://nohello.club/) has phrases like

  1. Unnecessary pleasantries
  2. useless phrase like "Hello"

But I like it because it doesn't say things like this that the original http://nohello.com/ says

please be prepared to be ignored if you only say "Hello!".

Some context, I'm not necessarily looking to include this on any corporate messaging app bio (unless it was 100% polite, which as I said I don't find possible). But the closer to something that polite, the more useful I think it is.

20
 
 

I'm a Senior Principal Engineer at a large tech company. My work is to define the 1-3 year future for a $1B slice of the company's revenue, that 1% of it's employees work on.

There is nearly zero code in my daily work. The closest I get is being occasionally tagged into a pull request to resolve a dispute or clarify the long term vision, but even then that's usually API contracts or data schemas that cross code bases-- and not actual code. I spend about 1/5th of my time with the engineers who actually do things and write code, but it's to talk through math, CS fundamentals, algorithms, or system design on their current project -- not code.

Day to day the bulk of my time is trying to convince non technical people, mostly in our Product organization, that we can actually make certain evolutions. Or to drop innovators dilemma type assumptions that add a year to our time to market. I get them to agree and then collaborate with them on large documents that define these futures. I vouch that we can do it, at what cost and on what timeline, and they vouch for how much it will make. We spend months writing documents like this and then pitch them up to the stratospheric leadership of our company to ask for 10-20% more resources to make 20-50% more money 2-3 years from now. I simultaneously do system design for these evolutions and sketch out the high level details of new components or what needs to change in existing components, to make the beginnings of a workable execution plan if we do get resources.

This is all fun and I'm grateful my career has kept changing and being different. Though I do miss the pure joy I find in coding all day, alone. But I am worried that the longer I stay this high level the more I will be full of shit, technically. I'm only effective at finding this intersection of customer desire and engineering reality if I know what is easy, or hard, to do. And I have a lot of examples of high level "technical" people at my company being full of it. It's usually odd details, like they don't know that certain problems were solved 10 or 20 years ago. So they twist designs and projects into knots to avoid or re-solve problems that the modern cloud or whatever language or library just has out of the box. Or they prevent profitable market opportunities because they think something is impossible, based on a gap in their knowledge of algorithms or newer tools or realities about how fast computers are these days.

I don't want to be full of it. People like me eventually get fired if our Big Bets can't actually be built, or enough people realize we are often wrong about details.

And I also worry that, as an IC, the longer I stay so non-technical the less likely I am to pass the technical portion of any interview. I also think it's unlikely folks are directly hired into this kind of high level position, anyways, so I need to be able to slip back into a more technical role.

So how do I keep up? How can I be less full of it next year than I am now? I can leetcode, and I should, but that's far removed from what I feel is the important part of my atrophying technical skills: the small details in tools that determine how large systems fit together and evolve.

21
 
 

They seem to be from 80', and somehow made their way into a french university. Has anyone here gotten a chance to read them? Some of the chapters seem interesting, lots about DOD stuff.

22
 
 

Hello fellow devs.

I'm in need of a new machine as I had a little mishap with my notebook. For a long time, I thought on buying a gaming notebook as normally they should have the best hardware for my personal (gaming, light video edit) and professional (full stack web dev) needs.

Next week, Asus will launch the ROG Ally X officially on my country. So, I'm wondering if it could be a viable alternative.
The other possible devices would be ROG Ally (Z1 Extreme) and Lenovo Legion Go, as Steam Deck is not available here.

I work from home for a foreign company. I have a monitor, a wireless keyboard, and a usb trackball already. I bought them to use with a mac mini my previous company lend to me. I do not have a desktop and do not intend to buy one right now.

So... My questions: Does any of you have experience using a handheld device as a main dev machine? Are there any cons I'm not considering?

Thank you!

23
 
 

I work in research (uni) and am writing a framework for heat processes to optimize their costs. This goes both for private houses and industrial processes. The goal is to enable industry players to see that/when renewable energies and heat reuse with heat pumps are cheaper than fossil fuels. I do this using digital twins for components and on a system level.

My boss hesitates because he thinks this must already exist. I want to pursue that path with my research, so any insights there are welcome, too, but this is primarily about the open-source project.

I searched GitHub and came up empty, but that is only a subset of the search. Do you have any idea how I can find this, one way or another? It would also be great if I could show that it likely does not exist.

24
 
 

I'm looking to set up a server of some kind that I can use to store more or less arbitrary files on demand.

While I have quite a bit of programming experience, I have little-to-no experience in the server-space, so I don't really know where I should be getting started/what kind of pitfalls I should be looking out for/what kind of design choices I should be making early on.

In short: I want some system that allows me to take more or less arbitrary files, send them from either my laptop or phone, and have them stored on a drive that I can have lying around somewhere hooked up to some setup. I don't need any automatic backing up, sending files manually is sufficient. The individual files I'll be sending probably won't be exceeding the MB range of sizes. Remotely downloading files from the storage is not an immediate requirement, if I need to retrieve them I can plug directly into the disk. What I want to protect myself against is the "freak accident" type of thing where all the devices I currently have copies of a file on are lost in a fire, while travelling, or something like that.

Does anyone here have any tips for where I should be looking to get started?

25
 
 

I'd like actual examples instead of "I work faster", something like "I can move straight to the middle of the file with 7mv" or "I can keep 4 different text snippets in memory and paste each with a number+pt, like 2pt", things that you actually use somewhat frequently instead of what you can do, but probably only did once.

view more: next ›