Ask HN: What problem can I help you with?

21 points by bobblywobbles ↗ HN
I'd like to offer up my expertise as a web/software developer and work through a problem of yours that I will post to my blog.

29 comments

[ 3.3 ms ] story [ 75.6 ms ] thread
What is a state of the art tech stack to sync backend session state to multiple browsers simultaneously with push messages?
I'd be interested to work on a post regarding this. My blog is in my profile. Bookmark it or sign up for updates and when I write it, you'll be notified.
I'm not sure what you're looking for, but a fun problem I ran into one day (one that I solved, but ultimately we went a different route) is to find an existing key in a js object, and insert a new key/value js object after that key.

For example:

const userdata = [ { name: "Emma", age: 21, hobby: { reading: true, gaming: false, sport: "tennis" }, class: ["Java", "Go", "Nginx"] }, { name: "John", age: 22, hobby: { reading: true, gaming: false, sport: "football" }, class: ["JavaScript", "HTML", "CSS"] }, ]

const newdata = { knitting: true }

And then, the task is to make a utility function to find "name: John", then "hobby" and append newdata in the "hobby"object. Try to apply immutability. Try to do without the overhead of JSON string conversion.

Maybe I’m misunderstanding the problem but any reason why you can’t just call .map on the input array and if el.name === John -> el.hobby[knitting] = true, then return el regardless?
You could if the object was a known structure, but I needed a function that could be a utility for any object (some were quite large), something like:

const newobj = insertIntoObject( obj, ["name:John", "hobby:*"], newdata )

Interesting, yes I think that would make a good post - what's the best way to get a hold of you? Do you prefer email?
I need help building Wixsharp deployments of my note-taking app that hasn't seen the light of day, and/or otherwise migrating the code to Github to allow others to build from source.

In general I need help launching.

That's a neat idea, get in touch with me? Let's see what we can figure out. Let me know - my contact detail is in my profile.
How can I refactor a monolithic codebase when every change breaks everything?
Very carefully. But seriously, check out the book "Working Effectively With Legacy Code" by Feathers. It has helped me tremendously in multiple refactorings.

His thesis is that Legacy Code is code without tests. So to make it not Legacy you need to add tests then refactor safely. Then he explains the very complex patterns that can arise and how to deal with them.

This book is one of a few that changed my career.

https://www.amazon.com/Working-Effectively-Legacy-Michael-Fe...

Thanks for the recommendation! Exactly what I was looking for. Yup, the problem is that large chunks of the code are useless and must be removed, but I don't really want to write tests on those. Other parts have to be decoupled and removed and I end up needing to write end to end tests.
Great idea! I really like it, I have worked in a few places where that happened as well. Can we collaborate a little bit more on what specific you are looking for - my contact details are on my blog (link is in my profile). Hope to hear back from you.
First write tests without touching existing code. Once tests are complete, do refactor.
For context, it's Android, and it'd doing weird threading stuff that makes tests crash.
First, getting this right without unplanned downtime can be hard to achieve and as well as lots of diligence it also really requires the right level of general application architecture plus hands on engineering experience.

The general process is assessment and understanding the system, refactoring and improving code without program changes, and re-achitecting key pieces to enable the testing, then getting test coverage to where it gives you the required confidence to make the change.

Autotrader in IBKR, with this strategy: selling 1-3 dte spx put at 6 delta with profit 70%.
I'm not fully sure what all of these acronyms mean, but I can look into it - can you reach out to me on my profile for my contact?
This sounds interesting. As I understand, IBKR does provide an API and examples. Although I am also a newbie, may be we can collaborate and try to write something like this together.

Have you tried to run the API examples or connect to IBKR using the API.

Coding wise I'm definitely not that proficient that is why I'm asking OP to help :)
Employment. I'm old enough to wonder if it's age discrimination. I've got a messed up work history that it probably isn't, but I never had problems finding work until after I was 35 (I'm 47 now). I've done enough crazy things that I've added additional obstacles to normal sane employment. But, I'd like a stable job, one that pays well enough to import my wife, in the UK/Ireland or US based working remote (EU would also be great but brexit took that away from me). I've been working short term contracts that are okay and I live in a cheap place (I am living in Turkey), but my last contact just ended.

My last job was game dev but I'd rather do things I previously was doing, Python/perl/C/Matlab scientific computing.

I'll consider writing a post to try to help you out! I don't have similar experiences so my potential help isn't with actual experience though. I will see!
A way to visualize what a gicen salary means in a given country (in my case just Germany). See my latest submission for a better description of the problem.