Better HN
topnewbestaskshowjobs
Log inSign up

OlivierLi

846 karma · joined Mar 20, 2012 (14y ago) · 54 submissions

Submissions

comment 2mo ago · link · parent

I tried it for the first time today for stuff I'm well versed in.

It said something along the lines of "remember $USER five runs of Chrome is not enough for high quality benchmarks! What you're doing is called a _trial run_".

To have a useful continuation to the conversation I had to remind it that I was the one that wrote the documentation it was quoting back at me.

It's not actually an intelligent being so I didn't get angry at it but it was a piss poor experience.

comment 2y ago · link · parent

Yep that’s pretty much it. There’s no pushing of the version from the privileged process to the renderer, only pulling. So there’s not many renderers unblocking at the same time to create any kind of herd.

comment 2y ago · link · parent

This is interesting stuff. I’m one of the author of the change and working on the next iteration. If you have an example of what you describe I’d love to have a look!

comment 2y ago · link · parent

Right now it’s falling back on a mojo IPC. Next step is indeed shared memory mutex :)

comment 2y ago · link · parent

Hey, one of the authors here. That’s pretty much it. That said I’m currently working in the next iteration of this which would indeed share more. That said for now it’s not super trivial because it needs a cross-platform condition variable like abstraction that works across shared memory. The pthread based one is not that bad and I’m hacking on it.

comment 2y ago · link · parent

In systems performance I would advise to never think of any workload as unidimensional (ie: Any file system optimization can either improve IO latency or be useless)

Issuing individual truncates of 1B files can be just as much of a CPU problem then an IO one for example.

comment 2y ago · link · parent

You start with a trace event you care about. You see it’s too slow. The first step is that you see explicitly that it’s not because the code is slow, you constantly get descheduled because there are thread state indicators above your event.

Then you navigate to the CPU tracks find the thread(s) that were running instead of the one you care about and directly inspect their stacks. Sometimes almost nothing is running. Maybe contention is not on even on the CPU.

So the “parsing styles was slow” conclusion you would get from only looking at histograms turns into “parsing styles was slow because I couldn’t get my fonts and that was slow because IndexDB was hogging the hard drive on another process”

Edit: I should mention the user provided trace events are very important here. You get flow arrows really underlining task posting and IPC response as well as user interactions. Entry/Exit style uprobes on function are great but I found won’t get you all the way there on a large application.

comment 2y ago · link · parent

Using some scripts/parsers to take DTrace/perf/Instruments/ETW data and transfer it to perfetto was one of the most exciting moments of my performance engineering career. It’s such a powerful thing compared to every single other workflow I’ve ever used.

It just shows contention in a way that so hard to see otherwise.

If this tool packages some of that in an easier to use package it’s going to be a great tool for some.

comment 6y ago · link · parent

Joyeux Noël :D

comment 7y ago · link · parent

No mention of any LanguageServer implementation?

I highly recommend rtags (even if it's not stricly LSP)

https://github.com/Andersbakken/rtags

comment 9y ago · link · parent

The high tech finance sector is non negligible also.

comment 11y ago · link · parent

Tip : Setting cd as an alias for pushd make the whole thing much more intuitive.

comment 11y ago · link · parent

I doubt this will be a surprise to anyone but the latest book by Scott Meyers is truly a pleasure to read and allows you get up to speed with c++11 and c++14. http://shop.oreilly.com/product/0636920033707.do

14.

Unreal engine free ressources(unrealengine.com ↗)

1 points · by OlivierLi · 12y ago · discuss

comment 12y ago · link · parent

I have heard good things about this book : http://www.amazon.com/Graphics-Shaders-Theory-Practice-Editi...

16.

The future of Unreal Tournament begins today(unrealengine.com ↗)

803 points · by OlivierLi · 12y ago · 141 comments

comment 12y ago · link · parent

I will be checking this out for sure but I really hope they get the tech terms right.

It's going to be hard to stand if they do the usual technobabble.

They could win major points with their target audience simply by namedropping Vim or BSD.

comment 12y ago · link · parent

Warning: the link above is highly NSFW.

comment 12y ago · link · parent

From the description : " It stays up all night, listening out for loud and repetitive noises like fire alarms, and vibrates to wake you up when it hears anything similar."

comment 12y ago · link · parent

Maybe backtracking would be used to reduce the search space.

comment 12y ago · link · parent

I also would have liked to know why he didn't leave from where he lived. I bet the slow change of lifestyle and landscape going from western Europe to Asia would have been really interesting to experience.

comment 12y ago · link · parent

I think you mean redbox.

comment 12y ago · link · parent

I have to congratulate you for including Canada in the "Francophonie".

Usually people equate the French speaking world with France,Switzerland and Belgium.

Which is surprising since Canada has almost 7 million French speakers.

comment 12y ago · link · parent

You know you can pay for more repos right?

comment 12y ago · link · parent

Very good points. A valid option would have been to release a torrent of encrypted files and then slowly release ways to decrypt the files one at a time.

This way the information is out there but only gets revealed a little at a time.

comment 12y ago · link · parent

I think the most interesting thing about this release is the use of OpenCL.

With more and more popular applications using GPGPU techniques it's possible that normal users will start noticing the difference soon.

27.

What are move semantics?(stackoverflow.com ↗)

1 points · by OlivierLi · 12y ago · discuss

comment 12y ago · link · parent

I think we might not be on the same page as to what Real-time means : http://en.wikipedia.org/wiki/Real-time_operating_system
12