2,577 karma · joined December 29, 2019
> [Thomas Sebeok] proposed the creation of an atomic priesthood, a panel of experts where members would be replaced through nominations by a council. Similar to the Catholic church – which has preserved and authorized its message for almost 2,000 years – the atomic priesthood would have to preserve the knowledge about locations and dangers of radioactive waste by creating rituals and myths.
The best textbook I've ever read: Nonlinear Dynamics and Chaos by Steven Strogatz.
Completely ignoring the JT discussion, the argument that something is trivial in some area does not really hold. 1) Science is mostly "just" connecting the dots, and 2) landmark discoveries tend to look trivial in hindsight almost by definition, because they have to be straightforward enough to be widely adopted.
def d(x): N = arange(1, x + 1); return N[x % N == 0]
def m(x, n): return x * arange(1, n + 1)
def gcd(x, y): return max(set(d(x)) & set(d(y)))
def lcm(x, y): return min(set(m(x, y)) & set(m(y, x)))
def test(x, y): return gcd(x, y) * lcm(x, y) == x * y
all([test(x, y) for (x, y) in randint(1, 100, (1000, 2))]) # True
I am not a good golfer. Now I want to look at the codegolf stackexchange for this...It's fun to translate terse APL to somewhat terse numpy. The result still can be very compact and you can parse it easily if you're used to looking at numpy:
s = arange(2, 50); p = outer(s, s).ravel(); sorted(set(s) - set(p))> Pueue is not designed to be a programmable (scriptable) task scheduler/executor. The focus of pueue lies on human interaction.
So I also don't really see its usecase and probably would opt for tmux instead. If you had many workers to run, but still do it manually, you would use pueue? I would be interested in such a scenario!
Do you have a source for this? I have not seen it in the numba docs.
Numba is designed to speed up code where looping is unavoidable, i.e. the code can't be (easily) expressed as array OPs.
You can't decide to be black or Irish. You can very well decide to not have a smartphone.
Which is a fine decision and I happen to support it. But it is a very different level of discrimination. Depending on your definition it might not be discrimination at all.
But at the same time, at some point it is not feasible to enforce support for non-smartphone by law. You have to realize that your own freedom only goes so far. Society grants you the right to live without a smartphone/car/whatever, but it is your decision, and you can't force the rest of society to put up with it.
I am happy that such people exist, because I don't have the energy for that lifestyle these days.
I just realized that I never want to work in a job where me and my boss would not just laugh together at this absurd situation.
https://github.com/XuehaiPan/nvitop?tab=readme-ov-file#insta...
I just skimmed the readme. It states a "local network" multiple times. So in this example, the firefighters need a Wifi network to connect the devices. Not because the files are sent over the internet, but because LocalSend doesn't create an ad-hoc network unlike to Airdrop.
So OP: technically yes, but the experience is not quite the same.
Of course, I once was that physicist! Now I prefer working with arrays and functions that receive arrays and return arrays, even in the top-level, user-facing script.
But who knows, maybe there will be a next stage in the journey!
My only gripe is that you can't control the scroll speed. Especially in Firefox it feels way to fast. There are config options for that, but they also apply to a mouse scrollwheel, which in turn will feel too slow.
I guess the lack of this setting on the OS level is caused by the ongoing discussion what the "correct" place for advanced touchpad settings would be (application/compositor/libinput), which has been mentioned in multiple comments here.
The desire for hibernation seems to be constant and widespread though. Honest question, what do you expect from hibernation that you don't get from standby?
Thinkpad fans spin up quite aggressively in my experience. You can use thinkfan to set higher threshold temperatures.
Screen tearing has been solved for me after switching to Wayland.
A very handwavy final remark: some problems might vanish on their own by using a recent kernel, e.g. on Fedora instead of the Ubuntu LTS release.