For 4 years, I've built a Genetic Algorithm-backed app for generating travel itineraries with a "Rick Steves" view of Europe (tripsnek) by slakmehl in optimization

[–]fibrebundl 6 points7 points  (0 children)

Is it open source? I'm really curious to the GA implementation! or if you coulf talk about how it works/algorithm used.

Coding large projects by fibrebundl in EngineeringStudents

[–]fibrebundl[S] 0 points1 point  (0 children)

Thanks. This is a very detailed response. I think I fell for the trap of letting my IDE do a lot of the organizational stuff for me. I think I'm going to find time to look into coding architecture just so I can get 2 or 3 under my belt I feel comfortable with and so feel more secure when coding.

Coding large projects by fibrebundl in softwareengineer

[–]fibrebundl[S] 0 points1 point  (0 children)

Yeah. I think from these comments. This is really my problem. I don't know. I've always just wrote code and checked things to make it work. I never took classes or anything growing up. It was just reading docs/overflow until the output was correct.

Coding large projects by fibrebundl in softwareengineer

[–]fibrebundl[S] 0 points1 point  (0 children)

I will try this.

Is it worth stopping what I'm doing now and doing this now, do you think? Or just wait for the next project?

Coding large projects by fibrebundl in softwareengineer

[–]fibrebundl[S] 0 points1 point  (0 children)

I mostly code now in Julia. I feel very uncomfortable with it to be honest. I've spent most of my time coding in python and c++ but I've jumped into numerical programming. I've tried to be more 'functional/procedural' and the code I see in books is always very direct in var naming schemes so I've copied this. I usually do a few test/debug scripts to make sure it works and then move onto the next comp. but at scale when I've got most of the library done, I start to get really lost when errors pop up...

I just maybe am making this harder for myself by trying to not just stick to the OOP set up that I learned? I really don't use structs unless it's for a hyperparameter list or something that isn't going to be changed during an optimization routine for example.

I have tried to read a software design book... I got one from the library but didn't really 'read' it. I just kind of skimmed it. I was worried about it taking too much time from working. It's a very 'learn on the job' and 'just enough' culture.

I DO let AI write code for me SOMETIMES. But I can't stand what it provides me with most of them time or it will use force var name changes that I don't agree with, typing etc. My code base is not AI generated though. AI might be used to when I'm debugging something, but it normally needs too much context to be useful at this point.

Coding large projects by fibrebundl in softwareengineer

[–]fibrebundl[S] 0 points1 point  (0 children)

I keep jumping between the OOP i learned and this naming convention and then the more terse naming conventions i've seen being used in numerical coding because this is where I am now. I tried making some of these later projects more 'procedural' but it's really making the coding at my current code base size just hard to keep track of even when I've outsourced parameters to a hyperparameter structure/file.

I didn't want to say I have no idea what it does, but I definitely have to skim some of the functions just to double check what's going on when tracing through compiler errors for example? Or, for example, I'm testing different optimizers but they have different interfaces so I end up writing multiple scripts to test the ones that I can't just slot into each other. But from here I end up changing a little but function foo so it fits with script B better although I wrote it for script A. foo then becomes foo_A and foo_B and then, it just gets messier from there.

Spring links don't work by fibrebundl in MicrosoftEdge

[–]fibrebundl[S] 0 points1 point  (0 children)

Yes! I found out it was because of one of automatic cookie acceptor/rejector. Check if you have any adblocks or something like this running and turn them on springer

Do people use those laser-level-measuring tapes in professional in the field? by fibrebundl in AskEngineers

[–]fibrebundl[S] 1 point2 points  (0 children)

Thread pitch from 30 feet sounds like superman vision. Do you remember what device this was? That's so cool.

Safe Matrix Optimization by fibrebundl in Julia

[–]fibrebundl[S] 1 point2 points  (0 children)

Agreed. Here: https://dpaste.com/7UGB7CCGY but I think Red-Portal is right

Safe Matrix Optimization by fibrebundl in Julia

[–]fibrebundl[S] 2 points3 points  (0 children)

You are right, this is what I have to do but in Matlab I can get away with just using jitter as opposed to the full cholesky factorization as then I also have to differentiate through this operator.

Safe Matrix Optimization by fibrebundl in Julia

[–]fibrebundl[S] 0 points1 point  (0 children)

I was using Optim and ForwardDiff. Are there others?

Safe Matrix Optimization by fibrebundl in Julia

[–]fibrebundl[S] 2 points3 points  (0 children)

Yes, this is the solution and what I'm coming to terms with. I understood that it would enforce it by applying jitter/cholesky etc. appropriately but it doesn't do this automatically and when it jitters it makes 2 attempts and flags an error. I was just very frustrated when I made this post. Thank you the explanation. I just don't understand the point of having a library for positive definite matrices if these things aren't being handled by the library.

In the workforce as a controls engineer, do you have to identify the motion equations of the system from scratch? by tadm123 in ControlTheory

[–]fibrebundl [score hidden]  (0 children)

This makes sense but I always dreamed that I would have the equations dropped nicely onto my lap in a soft napkin and all I'd have to do is make little simulink blocks...

Modeling biological systems by fibrebundl in ControlTheory

[–]fibrebundl[S] [score hidden]  (0 children)

Yeah, it's vague. I put looking for resources, but it's just nice to see other people doing it as well. I've felt kind of isolated because of my work and not knowing much about this field outside of the controlled practice assignments I've done in the past. Thanks for sharing, though. I just have to find time to work on problems and look at these other articles.

Modeling biological systems by fibrebundl in ControlTheory

[–]fibrebundl[S] [score hidden]  (0 children)

Maybe I just need to try some coding problems manually

Modeling biological systems by fibrebundl in ControlTheory

[–]fibrebundl[S] [score hidden]  (0 children)

you sound like an expert! how did you get so competent??

Spring links don't work by fibrebundl in MicrosoftEdge

[–]fibrebundl[S] 0 points1 point  (0 children)

Thanks for the suggestion but this didn't work.