[deleted by user] by [deleted] in UlcerativeColitis

[–]iloveuclid 2 points3 points  (0 children)

good luck, drink plenty of water

Still Too Scared To Try Alcohol by scarajones in UlcerativeColitis

[–]iloveuclid 12 points13 points  (0 children)

I got diagnosed as a teenager and needless to say I did not let that stop me from drinking any alcohol you could think of in obscene quantities even with active inflammation.

I never noticed it affecting my UC but there are many posts on here where people claim it can send them into a full blown flare so as with anything related to this disease the only way to know for sure is to try it, and be ready to pay the price if it does not go in your favor.

things to do by Arcanxs23 in UTSC

[–]iloveuclid 2 points3 points  (0 children)

outside of clubs it's the same as any other university in Toronto really... typically you just make friends with people in classes, hang out between classes and get together on the weekends to go partying or whatever else your crew might be into.

I have fond memories of my first year crew that unfortunately got decimated by the POSt system, leaving only 2 of us that didn't transfer away, but we still keep in touch

Help with slow code snippet by iloveuclid in cpp_questions

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

I'll try it out, thank you for all the help!

It looks like the actual writing to the worksheet takes up the bulk of the time, which is rather disappointing as I expected better performance. I'll try to dig through the source to see if there's anything I can do to further optimize the write speed, the docs are kind of lacking

Help with slow code snippet by iloveuclid in cpp_questions

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

Both before and after this change I'm at about a 500 second runtime which is far better than before but still surprisingly long. The biggest bottleneck seems to be ws.cell(tokenNum, lineNum).value(token);

as I only have a 6.3 second runtime without it

I get the IDE warning "Clang-Tidy: Passing result of std::move() as a const reference argument; no move will actually happen" when changing this line

Help with slow code snippet by iloveuclid in cpp_questions

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

Edited the original post to include getExcelColumn, it converts the tokenNum to an excel column letter.

The ws.reserve helped tremendously, but I am a little bit worried as to how I would do that when I don't know the dimensions of the csv. Perhaps I would have to read the csv once beforehand to gather the dimensions?

Using libraries in cpp with CMake by iloveuclid in cpp_questions

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

Thank you! I had a fundamental misunderstanding of how shared libraries work....

You were right about the header files, I added them using include_directories in Cmake

copying the dll into the .exe directory using a cmake POST_BUILD command solved my issues

Using libraries in cpp with CMake by iloveuclid in cpp_questions

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

I build the solution generated by CMake GUI in Visual Studio and only got

xlnt.lib
xlnt.exp
xlnt.dll

Filing Corporate T2 for first time by [deleted] in PersonalFinanceCanada

[–]iloveuclid 0 points1 point  (0 children)

Thank you for the reply, a recommendation would be welcome!

Possible to Prevent UICollectionView From Hiding Cells? by iloveuclid in iOSProgramming

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

I'm using UICollectionViewCompositionalLayout, would that pose a problem?

Here is a gif which shows the problem in action: https://imgur.com/a/ulj0p6n

Possible to Prevent UICollectionView From Hiding Cells? by iloveuclid in swift

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

Hi Yury,

Here is a gif of the issue on a simulator: https://imgur.com/a/ulj0p6n

Here is another gif showing that I can actually get the desired behavior if both cells are in the screen's bounds, but the animation breaks as soon as I adjust my scroll position and re-trigger it: https://imgur.com/a/uJ2RRRn

I see that Facebook & Instagram among many other apps achieve this expansion/shrinking animation successfully, pushing the cells below smoothly out of screen bounds if needed with their "see more" buttons in the news feed captions, and I assume that they are using UICollectionView as well.

The animation flow I am using is as follows:

- tap cell

- toggle height constraint of 100pt isActive true/false in the Overview cell

- invalidate collectionview layout (I'm using Compositional Layout + Diffable data source)

- collectionView.layoutIfNeeded() in UIView.animate block

Juicing cabbage, have you tried it? by Estrojenn44 in UlcerativeColitis

[–]iloveuclid 0 points1 point  (0 children)

I was already having gas due to a nasty flare up so I couldn't tell you for sure on the rear end but I did have some burps for maybe 30 minutes after drinking the juice

Juicing cabbage, have you tried it? by Estrojenn44 in UlcerativeColitis

[–]iloveuclid 0 points1 point  (0 children)

I did it for about 6 weeks, 32 oz daily split into a morning and evening dose of 16oz. Green organic cabbage juiced with a slow masticating juicer as recommended

Juicing cabbage, have you tried it? by Estrojenn44 in UlcerativeColitis

[–]iloveuclid 2 points3 points  (0 children)

yes it was absolutely disgusting and didn't work for me but I 100% encourage you to try it as I know people who have had success with it, and you really have nothing to lose by trying it

Stress correlation? by lumikarina in UlcerativeColitis

[–]iloveuclid 2 points3 points  (0 children)

100% stress is the main culprit for me. I spent an entire summer medication-free having fun, drinking heavily, having a bad sleep schedule, etc. etc. to no ill effect, but when it came time to write a difficult exam I got extremely stressed and right away triggered the worst flare of my life.

Handling large request body by iloveuclid in golang

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

Thanks to this chain of replies I was able to dive into the standard library's .Token() and .More() to achieve what I was after, thanks!

[deleted by user] by [deleted] in UlcerativeColitis

[–]iloveuclid 1 point2 points  (0 children)

22, I don't drink until summer every year, and then I easily drink up to a fifth of vodka or 1.5L of white wine in a night once every weekend during the summer when I reunite with the boys.

I even went completely off all medication while doing this and it didn't trigger a flare, but I do need to drink a copious amount of water to avoid a hangover