Readit News logoReadit News
kerneis commented on Show HN: Markwhen: Markdown for Timelines   markwhen.com... · Posted by u/koch
AlanYx · 9 months ago
That is a great project! I wonder if anyone has created a visualization that uses a "life in weeks" format (like https://waitbutwhy.com/2014/05/life-weeks.html) rather than a linear horizontal timeline.
kerneis · 9 months ago
https://newsletter.pnote.eu/p/life-in-weeks and it's interactive (you can make your own timeline)
kerneis commented on Unified versus Split Diff   matklad.github.io/2023/10... · Posted by u/ingve
JNRowe · 2 years ago
That kinda feels like how I review with vim.

* A little scripting around opening the PR, which basically performs a "vimdiff <(git show baseref:file) file"-style dance on the changes(see :h diff). Using vim's tabs is great for this as they're really only views, so you can hold individual buffers open in distinct states at the same time.

* Scroll locking still works as expected in the main view, but you can avoid it in a separate tab when needed.

* [c and ]c move between hunks from the set of changes as they exist in the PR not in the working directory.

* dp and dg allow you to mark hunks as "done" by pushing/pulling the hunk in to the read-only diff buffer so that they're now hidden from the highlighted changes in the live buffer.

* Changes you make in the live buffer are available to commit directly, or push as a comment.

* All your regular editor things work as expected in the current state of the tree; go to definition, build integration, popup docs, etc.

Working like this means you're viewing changes against the PR's base, but have a clean working directory. That, to me, feels like a significant improvement over matklad's solution of having the working directory be in an unclean state to view the changes.

The environment I work in makes this behaviour super nice as changes will often be added with a --fixup commit, and then the tooling mangles them back together with a git-interpret-trailers call to attribute the fixup commit's author to the original commit at merge time. It also pulls text comments out of the PR and attaches a Reviewed-by trailer where appropriate, or the +1 equivalent to tack an Acked-by trailer on.

kerneis · 2 years ago
What do you mean exactly by "push as a comment" and "pulls text comments"? Is it some sort of custom logic specific to your work place?
kerneis commented on The Tyranny of the Marginal User   nothinghuman.substack.com... · Posted by u/ivee
a-dub · 2 years ago
> And the backend was a DARPA project.

the similarity/CF stuff? what was the DARPA project? other than that it seemed a rather ordinary consumer webapp?

kerneis · 2 years ago
Not sure if it was DARPA, but the web server used Tame, a custom event-driven framework at a time where the thread vs. events debate was all the rage in the academic community. (I did a PhD on the topic and that's how I learned about Ok Cupid!)

You can read the paper they published: "events can make sense" https://www.usenix.org/legacy/events/usenix07/tech/krohn.htm...

I met some ex-OkCupid engineers at a later company who said the framework was smart but a pain to maintain in then long run.

kerneis commented on Domain registrar Gandi gets bought out, removes free mailboxes   social.afront.org/@pbarke... · Posted by u/insomniacity
jacquesm · 2 years ago
Maybe edit the original in case there is someone with that actual name?
kerneis · 2 years ago
Both exist.

Trivia time: Laeticia (née Laetitia) was married to Johnny, the famous French rock singer; Estelle was married to David, son of Johnny. Note that Johnny is dead now, Laeticia has been remaried twice but kept Johnny's last name, Estelle is divorced, and David is not the son of Laeticia as Johnny got married several times (David's mother is the French actress Sylvie Vartan).

kerneis commented on ARM64 Linux Workstation   jasoneckert.github.io/myb... · Posted by u/jasoneckert
jorvi · 2 years ago
It’s been a while since I’be owned a MacBook, but the speakers sounded significantly worse on Linux (and if you own a MacBook you know they can sound pretty decent) because they are EQ’d in macOS, not the speaker firmware.

Never has there been any effort taken within Linux to apply a generalstic ‘small speaker EQ’ to anything with detected internal speakers.

Similarly, the Linux kernel by default is optimized for server style workloads (throughput) instead of smoothness. It would be so easy to check for an internal battery and if true apply a few kernel parameters so your laptop stays smooth under load.

Linux as a desktop (well, laptop) OS is terrible not because it is incapable of being great at it, but because people don’t seem to care for the death-by-a-thousand-cuts issues.

kerneis commented on My experience with check fraud   obliviousinvestor.com/che... · Posted by u/Amorymeltzer
rippercushions · 3 years ago
> Seriously, these days nobody should be writing personal checks

FTFY. The US is the only country in the world that I know of where writing personal checks is still commonplace. In Europe they're thoroughly obsolete, and in Asia, where they were mostly uncommon in the first place, even the few once check-happy countries like Singapore have pretty much migrated off.

kerneis · 3 years ago
They're still used in France even if mostly by old people.
kerneis commented on Lite XL: A lightweight text editor written in C and Lua   lite-xl.com/... · Posted by u/firstSpeaker
xmcqdpt2 · 3 years ago
People grow very attached to their editors. I had a professor in university who paid 100$ every year for his subscription to

https://crisp.com/

which he used for email and notes. He has a windows workstation set up with KVM (because the department is Linux based) solely so that he can use Crisp.

Sublime could easily survive another 30 years in some reduced capacity.

kerneis · 3 years ago
Slight tangent: it looks like Crisp is also available on Linux, according to their website.
kerneis commented on Reinventing backend subsetting at Google   queue.acm.org/detail.cfm?... · Posted by u/yarapavan
flowblok · 3 years ago
> For instance, in table 3, it looks like they excluded backend tasks {0,1} (for frontend tasks {0, 1}) then {2,3} (for frontend tasks {2,3}) in the N=10 case, but backend tasks {1,2} then {3,4} in the N=11. Why the discrepancy?

With N = 10, there will be N mod k = 10 mod 4 = 2 leftover tasks, and so the round-robin fashion excludes {0, 1} then {2, 3}. However for N = 11, there will be N mod k = 11 mod 4 = 3 leftover tasks, so the round-robin fashion excludes {0, 1, 2} then {3, 4, 5}.

But as joatmon-snoo correctly said, the more important point is demonstrating how bad backend churn is with this algorithm.

kerneis · 3 years ago
OK, that makes a lot of sense. Thanks for taking the time to clarify!

> But as joatmon-snoo correctly said, the more important point is demonstrating how bad backend churn is with this algorithm.

Yes, again the overall point came across clearly, but faced with specific examples I like to dive into the details to check my understanding of how things work. Otherwise, it's easy to overlook key but subtle details.

u/kerneis

KarmaCake day782July 20, 2012
About
https://www.linkedin.com/in/gabrielkerneis
View Original