86 karma · joined Nov 29, 2012 (13y ago) · 52 submissions
comment 5mo ago · link · parent
https://github.com/RsyncProject/rsync/commit/30656c5e
Someone using AI to bisect recent rsync. https://github.com/themgt/rsync-compare-link-dest-341-343-re...
Someone trying to fix it with more Claude Code: https://github.com/RsyncProject/rsync/pull/930
Related ticket: https://github.com/RsyncProject/rsync/issues/915
I'd recommend putting in more regression testing in the commit before 30656c5e, and rebase it forward while keeping functionality.
comment 11mo ago · link · parent
Basically anything in a social network needs to learn to defend itself against threats. Make computer a hermit, and it can go without updates for a long time.
(Oh, but you don't like that? Well, Microsoft doesn't like getting in the news for some worldwide botnet of all Windows 10 machines. I bet they'll figure this out sooner or later.)
comment 1y ago · link · parent
https://gist.github.com/HenkPoley/8fa7a4a8e25f106585584463c1...
Sadly mostly north oriented.
Did some more vibe coding: https://gist.github.com/HenkPoley/0a0eac0e81c53145dec8c19568...
comment 6y ago · link · parent
But usually a JIT is made in a way that you can then move forward with your optimizations in small tested steps. So it makes sense for JITv1 to have a very similar performance as the non-JITed version. It probably generates highly familiar code. First make it do the same, then optimize.
comment 10y ago · link · parent
Phi is basically a complexity metric that tries to put a number on the effect of memory in a system. I'm unsure wether this has any relation to 'consciousness', but it's at least interesting to measure effects of having a low or high Phi.
For example functional programming languages favor a low Phi. Everything is defined by the input, memoization is possible (sort of what you call 'mocks' in other programming languages). There are no side-effects (memory of past events elsewhere), or at least they have to be invoked explicitly as 'unsafe' operations.
Also, code that calculates Phi: https://github.com/wmayner/pyphi/blob/develop/pyphi/examples...
comment 10y ago · link · parent
Eve: https://twitter.com/with_eve Chris Granger: https://twitter.com/ibdknox
comment 10y ago · link · parent
Basically they run R, a single threaded statistics tool which is setup to hog a core, and in some other cgroup a wildly multithreaded tool. If you have a NUMA system (check with `lstopo`) then it's possible that the scheduler thinks the many tasks in one domain of cores is balanced with just R on one core of another domain. Meaning you can have several (ex: 7 out of 8) cores idle. It has to do with the way hierarchical rebalancing is coded, and that their 8x 8-core AMD machine has a deep hierarchy.
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
E.g. this is just being readied: http://blog.cerowrt.org/post/fq_codel_on_ath10k/
(also note higher throughput as result)
comment 10y ago · link · parent
Probably just before rcu_read_unlock() in that function: http://lxr.free-electrons.com/source/kernel/sched/fair.c#L51...
comment 10y ago · link · parent
Off-topic, but high-performance long running processes are mainly programmed in C, C++ & Java. Maybe stuff like Rust and Swift in the future. Fortran if you are doing mathematical computation, but then you'd probably already use it if you need it.
For what I estimate that you mean with high traffic on PHP or node systems on multiple servers, probably you want to look at Elixir and it's Phoenix web framework. It's more appropriate for responsiveness (as in low latency). And less boilerplate than Java. |> http://www.phoenixframework.org/docs/overview
comment 10y ago · link · parent
https://events.linuxfoundation.org/images/stories/slides/lfc...
comment 10y ago · link · parent
E.g. the the two cores in the dark grey box can steal work from each other. But they will only see load averages of the neighbouring domain. In certain cases the current scheduler calculates the load figures sort of odd, so the idle core decides that a neighboring overloaded 'scheduling domain' is not overloaded.
comment 10y ago · link · parent
Though from my understanding of the patch they walk over all CPUs which is not precisely constant time, and it doesn't seem to be just the list of idle CPUs; for_each_online_cpu(_cpu): https://github.com/jplozi/wastedcores/blob/master/patches/ov...
That said from what I grasp of the code it also doesn't bail out when power management is enabled, so maybe the public code or the paper are not at the same stage of development.