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.
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?
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.
I have an open-source web testing framework that I've been working and I'm preparing to launch.
I you're interested, I'd love any feedback on using it or where to improve the documentation.
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.
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, 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.
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.
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.
29 comments
[ 3.3 ms ] story [ 75.6 ms ] threadFor 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.
const newobj = insertIntoObject( obj, ["name:John", "hobby:*"], newdata )
In general I need help launching.
https://github.com/pagemodel/page-model-tools
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...
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.
Have you tried to run the API examples or connect to IBKR using the API.
My last job was game dev but I'd rather do things I previously was doing, Python/perl/C/Matlab scientific computing.
https://www.debugandrelease.com/how-i-gained-1k-stars-on-my-...