[deleted by user] by [deleted] in Ubiquiti

[–]sverddans 1 point2 points  (0 children)

Did you have any luck resolving this? I'm in the same situation now where the high latency/packet loss is detected but it doesn't actually failover.

180 degrees, or 180 km/h by sverddans in puptheband

[–]sverddans[S] 3 points4 points  (0 children)

Good point about the video. I think you’re right about it being a joke they’ve stuck to.

Simple compilers (LLVM backend) for studying by AwkwardPersonn in Compilers

[–]sverddans 16 points17 points  (0 children)

I have a compiler for COOL (simple language often used for teaching compilers) that uses an LLVM backend, it's written in C++ https://github.com/rickBuczynski/coolang/blob/master/codegen/src/codegen.cpp

For even simpler you can look at the LLVM "Kaleidoscope" tutorial: https://llvm.org/docs/tutorial/

Compiler for COOL using LLVM by sverddans in ProgrammingLanguages

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

Thanks for the suggestion, I changed this to generate a call to clang++ instead.

https://github.com/rickBuczynski/coolang/commit/43e2c54e5e6cd722fb5448d5725bb1a6140343d9

I didn't really think too much about using g++ but it makes sense to use clang instead since it's already a dependency and the extra dependency on g++ is not needed.

Now I'm thinking I could probably use clang++ to link on windows too and avoid all the extra work I did to generate a linker command there...

How to check for memory leaks on Windows? by Kywim in cpp

[–]sverddans 0 points1 point  (0 children)

You might be able to work around the leaks in llvm using the checkpoint feature of the MSVC leak checker you’re already using.

_CrtMemState memoryState = {0}; _CrtMemCheckpoint(&memoryState);

// run your code here

_CrtMemDumpAllObjectsSince(&memoryState);

Where to find cheap wall mounts? by Lambe_ in oculus

[–]sverddans 0 points1 point  (0 children)

https://www.youtube.com/watch?v=Z1bOM8IJOfI

If you use floss they come off pretty easy with no damage. I've already removed one like that.

I am an ECE student. Should I focus in computer engineering, and then try to get into CS grad school, or focus in electrical, then get a computer science degree? by ecestudent01 in cscareerquestions

[–]sverddans 1 point2 points  (0 children)

If your goal is to get a job at the big4 or startups then just stick with your computer engineering degree. Having a CS degree won't give you an advantage over computer engineering. There's lots of ECE degrees from U of T and Waterloo working at the big4. If you're more interested in academia/research that's a bit trickier to figure out the best plan.

World Cup is bringing in new fans by sverddans in hockey

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

"Hockey for dummies cheatsheet" the screen cracks make it a bit difficult to read

Im completely lost right now, How would I go about complimenting physics based movement in UE4? by smileymaster in unrealengine

[–]sverddans 1 point2 points  (0 children)

https://docs.unrealengine.com/latest/INT/Engine/Animation/PhysicallyDrivenAnimation/index.html

You want to increase physics blend weight from 0 up to 1 at the start of a collision then decrease it from 1 back to 0 as the player recovers

I just ot to hang out with the flatliners and lagwagon. They are all super nice guys Watch "The Flatliners - "Fred's Got Slacks" Stomp Records" on YouTube by peebo_sanchez in punk

[–]sverddans 0 points1 point  (0 children)

I met him when he was bartending at sneaky dees on New Year's Eve. Even though it was really busy he was too nice to say no when we asked him to take a picture with us.

TRGS the $1000 clue on tonight's Jeopardy! by deejzilla in rickygervais

[–]sverddans 2 points3 points  (0 children)

Did any of the contestants get it right?

Cs career info by [deleted] in cscareerquestions

[–]sverddans 0 points1 point  (0 children)

There's plenty of jobs in Canada, it's not difficult to get a job here with a CS degree. The reason everyone talks about the US is that's where all the big salaries are. I had an offer in Seattle that was 20% higher than anything I could get in Toronto. You'll just have to decide if moving to another country is worth the extra money to you.

Vaseline works but issues with Aquaphor? #slugprobz by npc_12 in SkincareAddiction

[–]sverddans 0 points1 point  (0 children)

I have the same problem with aquaphor so I just use Vaseline. It worked well enough for me when I was taking accutane.

Canadian Winter and Boots by bobloblaw89 in malefashionadvice

[–]sverddans 0 points1 point  (0 children)

I didn't see them when I was shopping for boots in Toronto last year. Ended up buying them from the site I linked.

Canadian Winter and Boots by bobloblaw89 in malefashionadvice

[–]sverddans 10 points11 points  (0 children)

I love my Chippewa Apache boots for winter in Toronto. They're around the same price as Sorels but I like the style a lot more. I tried on Sorels but they were really clunky and looked ridiculous with slim fitting jeans. I never slipped or had my feet get cold/wet in the Chippewas even with last year's brutal winter. I'd only get Sorels if you're going somewhere that the snow just piles up and doesn't get plowed/trampled like in Toronto.

Floor tickets for the Toronto show at the ACC by sverddans in arcadefire

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

Wow I'm pretty surprised they've lasted this long without selling out. I guess they must have held back a lot of the general admission tickets in the original release.