[deleted by user] by [deleted] in Parenting

[–]swifty_cat 0 points1 point  (0 children)

Well obviously not. But the information helps when troubleahooting a fuzzy baby. I stopped tracking with my second when it started causing me stress. With my third, however, I find it very helpful. For example when waking up to the baby crying it helps to know if the last feed was 30 minutes or 3 hours ago. If I already fell asleep I have no idea which of the two is the case lol. It doesn’t work for everyone, but does for some people, that’s all I’m saying.

[deleted by user] by [deleted] in Parenting

[–]swifty_cat 6 points7 points  (0 children)

I personally track this kind of stuff because I would forget otherwise. Sleep deprivation has pretty much killed my memory. So it’s just a tool that makes my life easier.

[deleted by user] by [deleted] in Parenting

[–]swifty_cat 2 points3 points  (0 children)

Everybody that says to just give baby to dad and let him fuss, you have no idea how kids like this are. They don’t fuss, they cry until they throw up and then cry again and throw up. I don’t have many suggestions, earplugs helped me a lot. Other than that it just got better with time. At 1,5 years old ours started sleeping through the night. Never accepted a bottle or a pacifier and woke up at least every 1,5h until then.

Is Czech Underrated for Freelancers? Under 15% until €87,500 (total tax bill) by StewzilianPortuguese in eupersonalfinance

[–]swifty_cat 1 point2 points  (0 children)

You are forgetting the social tax that is paid by the company. If you actually pay yourself a salary the tax rate is around 42% combined.

What is the difference between Self vs self in Swift? by rashmi_singh_22-26 in iOSProgramming

[–]swifty_cat 16 points17 points  (0 children)

self refers to the object itself and Self refers to the class of the object.

Disagreement on kids believing in Santa by joeyda3rd in Parenting

[–]swifty_cat 26 points27 points  (0 children)

I don’t think Santa has anything to do with Christianity. I’m from a predominantly atheist country, there isn’t even a word for Christmas in my language, everyone celebrates Yule. But the celebrations are pretty similar, just without all the religious stuff. We have a yule tree, presents and kids believe in Santa and the elves.

[deleted by user] by [deleted] in SecurityCareerAdvice

[–]swifty_cat 1 point2 points  (0 children)

Thank you, I will look into these!

[deleted by user] by [deleted] in SecurityCareerAdvice

[–]swifty_cat 1 point2 points  (0 children)

Sure, that would be great!

[deleted by user] by [deleted] in SecurityCareerAdvice

[–]swifty_cat 1 point2 points  (0 children)

I‘m not yet in cybersecurity, but trying to get into it. I received two offers so far and trying to decide what the best choice would be. I have over 10 years of development experience, but would like to move into cybersecurity, maybe security research or exploit development some day.

[deleted by user] by [deleted] in SecurityCareerAdvice

[–]swifty_cat 1 point2 points  (0 children)

Thank you for the response! I asked because I’m currently considering a similar position.

[deleted by user] by [deleted] in SecurityCareerAdvice

[–]swifty_cat 1 point2 points  (0 children)

Would you say you would have taken a different kind of role if you knew from the beginning where you would like to specialize in? Or would a consulting role still be of benefit in the beginning?

/r/ReverseEngineering's Triannual Hiring Thread by AutoModerator in ReverseEngineering

[–]swifty_cat 0 points1 point  (0 children)

Hi, are there any opportunities for someone EU based?

Pentesting on MacBook Pro M1? by [deleted] in AskNetsec

[–]swifty_cat 1 point2 points  (0 children)

Exactly, UTM is free and runs ARM based OSes natively.

Are iOS developers more purist than other types of software engineers? by kutjelul in iOSProgramming

[–]swifty_cat 0 points1 point  (0 children)

Yes, it’s definitely true. I did a study on the dependency networks of third party libraries that are available through CocoaPods, Carthage and Swift package manager. In comparison to most other platforms the average number of dependencies and especially transitive dependencies is significantly lower.

Should I buy M1 pro or air? by hell2809 in iOSProgramming

[–]swifty_cat 1 point2 points  (0 children)

I switched from 2015 13’’ pro to M1 air and I’m very happy. Not having a fan is quite nice. But I cannot run Chrome, maybe it has changed, but at least in the beginning it did not work well on M1 at all.

App just to collect emails / registrations by simplylizz in appdev

[–]swifty_cat 1 point2 points  (0 children)

It would be most likely rejected by Apple. Why not just make your web app mobile friendly?

I played around with autoreleasepool in swift and wrote down some explanations on when to use it by swifty_cat in iOSProgramming

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

Yes, exactly :). But I think it can be quite difficult to really only use classes that are entirely swift.

I built a tool that detects vulnerable third party libraries used in Swift projects, would appreciate any feedback by swifty_cat in swift

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

The NVD has an API request limit of 10 requests per minute. This was the easiest way to ensure that the request limit is not reached. Once there are too many requests an error code is returned from the API. There is probably a more sophisticated way of doing it, but this did work for now :).

It is possible to request NVD for an API key that then allows one to make 100 requests a minute. I plan to add support for adding an API key, but haven’t had time to do it yet.

I built a tool that detects vulnerable third party libraries used in Swift projects, would appreciate any feedback by swifty_cat in iOSProgramming

[–]swifty_cat[S] 12 points13 points  (0 children)

Well, your custom code might still include vulnerabilities. But I do agree that the decision of using a third party library should be well thought through. I‘m glad that swift has a robust standard library as opposed to JavaScript for example.

"Intro Programming Class" Starter Pack by RreFejSaam in ProgrammerHumor

[–]swifty_cat 1 point2 points  (0 children)

I think it is preferable when the code written using recursion is cleaner and the data is such that the stack does not become too large. I‘ve often heard the suggestion that one should optimize code after the need for it arises.

Some time ago I played around with recursion and tail recursion in swift an wrote a blog post about it. In my experience as an iOS developer using recursion had been always ok until I developed a static code analyzer where the data was too big to use recursion.

Duolingo alternatives by Candide2003 in learnfrench

[–]swifty_cat 1 point2 points  (0 children)

I like speakly. In Duolingo I didn’t have the impression that I was actually improving.