HNHacker News
TopNewBestAskShowJobs

kevindqc

581 karma · joined April 13, 2016

French Canadian Software Developer currently living in Toronto.
submissionscomments
kevindqc··on Tim Sweeney on the First Version of the Unreal Editor
>So I figured out that I needed to compute the line integral from the eye to every point on the screen. I learned some calculus in college, so I said to myself "I should be able to do this." So I figured out the formula for it with some crazy complicated trigonometry. I implemented it, but it was 100 times too slow. Then I realized, "Oh wait, I can do this in the lightmap space”, because the lightmap is a discretization of geometry into bite-sized chunks. I did that with lightmaps, so it was real-time.

What is lightmap space?

kevindqc··on The day I accidentally killed a little boy
What a stupid comment - I hope you're just a troll.
kevindqc··on CPU Usage Differences After Applying Meltdown Patch at Epic Games
Interesting. I know World of Warcraft uses TCP, but I imagine it's less "real-time" than shooters (ie: no hitscan) so a few dropped packets wouldn't have a huge impact (ie. if you're standing casting a spell for 2sec, the game can recover the lag easily). Didn't know some shooters used TCP
kevindqc··on CPU Usage Differences After Applying Meltdown Patch at Epic Games
Are you sure? I would be extremely surprised if it wouldn't use UDP.

For things like getting stats, probably from a HTTP endpoint, sure, but for gameplay? The lag would be very bad, no? Lose a packet and everything is slowed down

I see this, which indicates it uses UDP: https://imgur.com/al6KTwT

and according to wireshark it's used heavily when in a game, so I assume that's the gameplay protocol. Also when I left my game (but stayed in the lobby), immediately the port 61879 stopped listening.

I'm not sure about UE4, but previous versions of the unreal engine used UDP for replication and RPC.

kevindqc··on In Raising the World’s I.Q., the Secret’s in the Salt (2006)
I imagine because it's in everything, which means people don't really have to go after a specific food to get their iodine?
kevindqc··on Ask HN: Writing cover letters for tech jobs
Why did they laugh? Often the job posting even asks for one...
kevindqc··on Ask HN: What is your profitable side project story?
Oh, that's what I started doing. haha..ha
kevindqc··on Ask HN: What is your profitable side project story?
I know this is not a get rich kind of thing, but how long did it take before you saw significant amount of money coming your way?

I would LOVE to be financially independent. I'm just wondering, if I get into quantitative trading, how many years that would take

kevindqc··on 6-year-old made $11M in one year reviewing toys on YouTube
http://www.apa.org/monitor/2012/04/spanking.aspx
kevindqc··on System76 ME Firmware Updates Plan
Intel Management Engine
kevindqc··on Ask HN: Best time series database currently
I don't know anything about this, but it might help if you provide information on what you want to do with the data.
kevindqc··on Ask HN: How did slack beat hipchat?
Moved from slack to hipchat, or from hipchat to slack?
kevindqc··on Ask HN: Which TypeScript codebase should I study to get better?
Opening the VS Code inside VS code? I would feel watched, like my VS Code is wondering what the hell I'm doing.

Is it not good enough for me? Is it failing me in some awful way that I feel compelled to change it? Maybe it should get out of the IDE business if its not good enough? Maybe become a farmer, take a break from technology

kevindqc··on Ask HN: Which TypeScript codebase should I study to get better?
and please break the codebase of people using these types by not following semver (keeps happening to me with typings -_- should really start using a lock file)
kevindqc··on Voters say “yes” to city-run broadband in Colorado
As someone else pointed out in the comments, then why not have the city put the fiber in the ground, but let private ISPs run the network devices and ISP stuff (ie: a bit similar to TekSavvy in Canada which uses other ISP's infrastructure - I assume they use more than just the fiber though)
kevindqc··on Savitech USB audio drivers install a new root CA certificate
A CA certificate by itself is not malware? Am I missing something?
kevindqc··on 'Big Void' Identified in Khufu's Great Pyramid at Giza
Yeah... I've been there shortly after arab spring when there was next to one there. Camel ride people tried to steal from me, had to tell them I was going straight to the tourist police over there before they gave me back the extra money they took straight from my hands...
kevindqc··on 'Big Void' Identified in Khufu's Great Pyramid at Giza
Egypt's main pyramid sites in Giza are accessible to the general public every day, all year long. Although you can go inside the Great Pyramid of Khufu when you visit, one of the smaller two pyramids usually is closed for restoration work. To further complicate your tourist plans, at the time of publication, only 300 tickets are sold per pyramid, per day. You must arrive early to secure your visit inside
kevindqc··on Computers are fast (2014)
>The movdqa instructions have to do with accessing memory, and it spends 32% of its time on those instructions So I think that means that it spends 32% of its time accessing RAM, and the other 68% of its time doing calculations.

I think that's wrong? The first movdqa (15%) moves from RAM to a register, but the second movdqa (17%) moves from one register to another?

17% seems a lot for something that simply moves from a register to another register! It's even slower than the first movdqa, moving from RAM to register, but registers are supposed to be something like 2 orders of magnitude faster to access than RAM (don't remember exactly).

Maybe it's because there are data dependencies? The 3 instructions before the 2nd movdqa use the register xmm0, so the movdqa has to wait for these to finish before it can execute (aka bubble or pipeline stall)

https://en.wikipedia.org/wiki/Bubble_(computing)

kevindqc··on How Unreal Renders a Frame
> For stationary lights and dynamic props, Unreal uses per object shadows, meaning that it renders one shadowmap per dynamic prop per light

Isn't that a TON of shadowmaps?

kevindqc··on 'Anemic' iPhone 8 demand drags Apple shares lower
Just you wait until the next iOS :)
kevindqc··on Bootstrap 4 Beta 2
What is scary about it?
kevindqc··on TerrariaClone – An incomprehensible hellscape of spaghetti code
Those SetDefaults methods.. ouch.

On the plus side, it's fun to press the page down and see the code 'animate' from left to right

kevindqc··on KeePass 2.37 has been released
Are they planning on using .NET Core? With no UI?
kevindqc··on The Depression Thing
God forbid someone mentions their own experience, especially if they have a disclaimer it's only their own experience!
kevindqc··on The web at maximum FPS: How WebRender gets rid of jank
>For a typical desktop PC, you want to have 100 draw calls or fewer per frame

Don't PC games use thousands of draw calls per frame?

kevindqc··on Remote code execution in Apache Tomcat 7.0
Why does that return a shell?
kevindqc··on Building the Linux kernel with clang
ah! thanks
kevindqc··on Building the Linux kernel with clang
Maybe he's talking about the sanitizers? eg: https://clang.llvm.org/docs/AddressSanitizer.html
kevindqc··on GraphQL Patent Infringement Issues
I just installed this and now carussel's comment is empty, but I can see it in incognito mode. Also the textbox where I'm typing this doesn't even fit and has a scrollbar.. gonna skip this one..

Edit: Oh. Never mind, there seems to be two buttons to expand/collapse?

← PreviousPage 5 of 9Next →