HNHacker News
TopNewBestAskShowJobs

OlivierLi

846 karma · joined March 20, 2012

submissionscomments
OlivierLi··on Claude is a Contrarian
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.

OlivierLi··on Shared Memory Versioning to improve slow interactions
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.
OlivierLi··on Shared Memory Versioning to improve slow interactions
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!
OlivierLi··on Shared Memory Versioning to improve slow interactions
Right now it’s falling back on a mojo IPC. Next step is indeed shared memory mutex :)
OlivierLi··on Shared Memory Versioning to improve slow interactions
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.
OlivierLi··on Full-scale file system acceleration on GPU [pdf]
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.

OlivierLi··on Orbit: C/C++ Performance Profiler
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.

OlivierLi··on Orbit: C/C++ Performance Profiler
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.

OlivierLi··on Merry Christmas HN
Joyeux Noël :D
OlivierLi··on C++ Ecosystem: Compilers, IDEs, Tools, Testing
No mention of any LanguageServer implementation?

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

https://github.com/Andersbakken/rtags

OlivierLi··on Ask HN: Who is hiring? (September 2017)
The high tech finance sector is non negligible also.
OlivierLi··on Know Your Tools – Terminal and Bash
Tip : Setting cd as an alias for pushd make the whole thing much more intuitive.
OlivierLi··on C++ is not a legacy language anymore
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
OlivierLi··on Shadertoy adds procedural GPU-generated music in the browser
I have heard good things about this book : http://www.amazon.com/Graphics-Shaders-Theory-Practice-Editi...
OlivierLi··on Inside the Incubator – Silicon Valley is satire, but feels like a documentary.
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.

OlivierLi··on Amazon Fire TV
Warning: the link above is highly NSFW.
OlivierLi··on Show HN: Deaf? My iPhone app wakes you up if it hears an alarm
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."
OlivierLi··on Genetic Algorithms Produce Winning StarCraft II Build Order (2010)
Maybe backtracking would be used to reduce the search space.
OlivierLi··on Man Walks Nearly 3000 Miles Through China
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.
OlivierLi··on Popcorn Time – Watch torrent movies instantly
I think you mean redbox.
OlivierLi··on Your Path to a $16B exit? Build a J2ME App
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.

OlivierLi··on GitHub goes to school
You know you can pay for more repos right?
OlivierLi··on Footage released of Guardian editors destroying Snowden hard drives
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.

OlivierLi··on LibreOffice 4.2 released
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.

OlivierLi··on My first six weeks working at Stack Overflow
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
OlivierLi··on My first six weeks working at Stack Overflow
I'm right there with you when talking about web programming and the likes.

My main interests are system and games programming though so there might be a case of different points of views here.

I'm just imagining a situation where someone needs their OS to be realtime for example. They're not going to be swayed by the "All options are equal when seen from afar" argument.

OlivierLi··on My first six weeks working at Stack Overflow
OSes are complicated and gigantic engineering projects.

Some of them are most definitely better than others in some respects. Saying that they are all absolutely equal is like declaring every CPU ever designed completely equal.

It's true that most users will be well served by most OSes but that's more a statement about users than about OSes.

OlivierLi··on The shittiest project I ever worked on
I like the way it works here in Québec. To hold the title of Engineer one has to have an actual engineering degree.

For example I am getting a "Software Engineering" degree. It has all the same math and science classes as other engineering majors.

If I ever want to use my title as engineer I will be held to the same standards as other engineers.

https://en.wikipedia.org/wiki/Software_engineering_professio...

OlivierLi··on Don't Fly During Ramadan
Appaling : http://dictionary.reference.com/browse/appalling
OlivierLi··on Javascript is making all other languages irrelevant. You must master it now.
I really think the JS madness is getting to an absurd level here on HN.

I understand how it's geting more popular but there really is a whole world outside of webdev.

Systems programming, AAA games, simulators and embedded software are not switching over to JS any time soon.

Page 1 of 2Next →