Hacker News new | past | comments | ask | show | jobs | submit | IlGrigiore's comments login

I have used Tracy to improve the performance of a latency sensitive application. The main advantage of this tool, in comparison to something like the Visual Studio profiler, is the fact that it can highlight the inter thread dependencies and synchronization between the threads. The other main feature, in my opinion, is the statistical tab that is associated to the recorded events: it can show the statistical distribution of the duration of all the invocations of functions and it allows to identify patterns in the performance of the application. Furthermore, a table can be used to sort the invocations of the functions and quickly jump to the point in time when the sample was recorded.

Other notable tools that implement a functionality similar to what is provided by Tracy are Optick https://github.com/bombomby/optick and Intel VTune (sadly specific to only Intel processors) in the Threading analysis.


There are thermal pads that perform equally or better than thermal pastes, due to their design. In particular, something like https://thermalmanagement.honeywell.com/us/en/products/therm... can be better than a good thermal paste like https://www.thermal-grizzly.com/en/products/16-kryonaut-en. The thermal conductivity is improved due to the use of a phase shifting material. Reliability is improved due to the fact that it will naturally return to solid without cracking during heat cycling.


The trick is to use shift+right click to access the old context menu. Incidentally, shift+right click also enables to copy the full path to any file in file explorer.


CppCon, one of the major C++ conferences, has started some years ago a series of presentations, called "Back to basics", that are aimed at people that are just starting out with the language. Each presentation is thematic and can be watched independently from the others. The presentations can be found on the CppCon youtube channel:

- CppCon 2021, https://www.youtube.com/playlist?list=PLHTh1InhhwT4TJaHBVWzv...

- CppCon 2020, https://www.youtube.com/playlist?list=PLHTh1InhhwT5o3GwbFYy3...

- CppCon 2019, https://www.youtube.com/playlist?list=PLHTh1InhhwT4CTnVjJqnA...


nice!


They have shipped a new default merging strategy, 'ort', that is supposedly better than the previous default strategy at resolving this kind of issue. You should probably try and see if it makes any difference.


My understanding was that `merge -sort` is generally faster and has less buggy edge cases, but does it resolve conflict any differently than -s recursive ?


That's correct, there may be some very obscure edge cases where it has different behavior (known merge-recursive bugs), but in the general case if you've got UX problems with rebase or merge it won't help.

Unless that UX problem is helped by it being much, much faster, but that's usually only going to be matter for larger repositories.


There are two types of subtitles: for the hearing impaired and normal subtitles. English subtitles are usually for the hearing impaired, which means that they also add information about the sounds of the scene, like the phone is ringing or the music is playing.


I like to use Mailspring [https://getmailspring.com]. It does what it needs to do, without too much fuss. The UX is clear and I can connect multiple email accounts and use the unified inbox without any issue. I am in no way affiliated to the product.


If you use the Chrome sync phrase, Google cannot access your passwords and thus they are not visible in the online password manager. Furthermore, if you delete passwords client side, i.e. from the password manager in Chrome, you are also deleting the passwords server side. This allows you to delete all passwords at the same time using the classic Ctrl-Shift-Canc.


This https://www.dropbox.com/s/s3tzbree2ddjnar/Screenshot%202020-... is the password manager I see in chrome, and I see no way to delete more than one at a time, or to select more than one at a time. I assume by "Canc" you mean the DEL key? Regardless, there's no way to multiple-select items.


Usually you use an ID in place of the title of the note, because you may want to change the title at a later date. If you were to change the title, then you would have to also change any of the links. Therefore, you keep the ID the same and can change the title of the note without breaking any links.


So, just rename all occurrences or create a named hyperlink? Why do we keep coming up with already solved problems.


The main difference between a FSM and a statechart is the compositionality aspect of the two formalisms. The FSM can be combined using the OR and the AND operators: the AND operator produces a number of states that is equal to the cartesian product of the original states of the two FSMs that are conjuncted. This means that you are limited in the usefulness of the FSM by the number of interactions between systems, because the number of states increases exponentially.

The statechart solves this problem by using a representation that allows both OR and AND avoiding the state explosion. Multiple states can be combined in a super-state, which allows to model common properties of the enclosed states, provided that the internal substates are XOR-ed, i.e. only one of them can be active in a given time. The advantage of the super-states is that they allow the specifier of the system to proceed in a top-down manner by specifying iteratevily the complete behaviour of the system. These super-states can also conjuncted, to model the interactions between the systems and to represent their parallelism. This conjunction creates implicit interactions between the two subsystems, which substitute the need to create the product FSM.

Both FSM and statecharts can represent the same behaviour of a system, but they differ in how easily understandable their representation can be for complex systems.


Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: