Better HN
topnewbestaskshowjobs
Log inSign up

cyrusand

52 karma · joined Nov 15, 2014 (12y ago) · 25 submissions

Submissions

1.

Show HN: Fracker – PHP function tracker(github.com ↗)

1 points · by cyrusand · 7y ago · discuss

2.

Show HN: Comb – Grep annotation tool for manual static analysis in Emacs Lisp(github.com ↗)

3 points · by cyrusand · 8y ago · discuss

3.

Show HN: GTFOBins – Curated list of Unix binaries to bypass security controls(gtfobins.github.io ↗)

2 points · by cyrusand · 8y ago · discuss

4.

Show HN: Zoom – Fixed and automatic balanced window layout for Emacs(github.com ↗)

3 points · by cyrusand · 9y ago · discuss

5.

Show HN: mysql-unsha1 – MySQL authentication without cleartext password(github.com ↗)

4 points · by cyrusand · 9y ago · 1 comment

comment 9y ago · link · parent

Thanks! There's a link to a live demo in the README, after the embedded D3.js bundle you'll find the actual graph code. Or you can just take a look at: https://github.com/cyrus-and/chrome-page-graph/blob/master/e...

7.

Show HN: chrome-page-graph – Chrome extension to generate page dependency graphs(github.com ↗)

5 points · by cyrusand · 9y ago · 2 comments

comment 10y ago · link · parent

The poor man solution: https://gist.github.com/cyrus-and/713391cbc342f069c149

comment 10y ago · link · parent

[-Hacker-]{+Pope+} News

comment 10y ago · link · parent

I see, well I've never performed any benchmark but it's quite possible that an ad hoc headless browser performs better for what concerns repeated tests. On the other hand, in this case you're instrumenting a real (really employed by the final user) browser. Possibly things will improve with this new headless mode for Chrome.

In any case this JavaScript module should not introduce any performance degradation, but if it does and you happen to give it a try in the future, feel free to open an issue.

comment 10y ago · link · parent

Actually I didn't notice such thing when I used it extensively around 2013 for instrumenting some page loads. Which part was slow in your experience?

12.

Show HN: Chrome Remote Debugging Protocol interface(github.com ↗)

38 points · by cyrusand · 10y ago · 7 comments

comment 10y ago · link · parent

Or just:

    setInterval(function() {game.check(is_prime(game.current_n) === 'prime')}, 0);

comment 11y ago · link · parent

I'm just throwing this here:

http://blog.mattbierner.com/stupid-template-tricks-template-...

comment 11y ago · link · parent

Thanks! This is a good advice, I'll surely do it, if it will ever be enough demand.

comment 11y ago · link · parent

Glad to hear that! I'm the guy who wrote that thing. You can change the syntax with the built-in GDB command `set disassembly-flavor intel`.

comment 11y ago · link · parent

You can simply disable it by default with `dashboard -enabled off` in, say, `~/.gdbinit.d/my-init` then just `dashboard` to show it on demand.

18.

Show HN: gdb-dashboard – Modular visual interface for GDB in Python(github.com ↗)

3 points · by cyrusand · 11y ago · 1 comment

19.

Show HN: gproxy – googleusercontent.com as HTTP(S) proxy(github.com ↗)

2 points · by cyrusand · 11y ago · discuss

comment 11y ago · link · parent

Yes, including "prof.h" is enough, but you can try using different events, by default Prof uses `PERF_COUNT_HW_REF_CPU_CYCLES`. For example try defining before #include "prof.h":

#define PROF_EVENT_LIST PROF_EVENT_HW(CPU_CYCLES)

or

#define PROF_EVENT_LIST PROF_EVENT_SW(CPU_CLOCK)

Which kernel version are you running? Are you running this from a virtual machine?

Feel free to open an issue (https://github.com/cyrus-and/prof/issues) with these information if you can't manage to make it work.

21.

Show HN: Prof – Self-contained C/C++ profiler library for Linux(github.com ↗)

22 points · by cyrusand · 11y ago · 2 comments

22.

Ask HN: How “technical” Is a Technical Solutions Engineer Position at Google?

9 points · by cyrusand · 11y ago · 2 comments

23.

Show HN: Go GDB/MI interface(github.com ↗)

1 points · by cyrusand · 11y ago · discuss

comment 11y ago · link · parent

alias dired='emacs -Q -nw .'

25.

Show HN: Trace – Simple modular performance analysis tool(github.com ↗)

4 points · by cyrusand · 12y ago · discuss