Readit News logoReadit News
p5a0u9l commented on New Mersenne Prime discovered (probably)   mersenne.org/... · Posted by u/sdsykes
p5a0u9l · a year ago
Are there statistics on the scale of compute available to GIMPS for this search? Is there any evidence that by crowdsourcing the clients, we are searching faster than, eg, a dedicated cluster financed by a government or a corporation? What is the impact of GIMPS as a distributed problem solving tool? Like, if there was a practical application, how much money would it take to exceed GIMPS throughput, that curious people provide for free?

I’d like it to be astronomical, but given the niche of this, and the low cost of cloud compute, the answer is predicable depressing, like, “$50k/year in AWS costs would equal current GIMPS search throughput”

p5a0u9l commented on Terminal colours are tricky   jvns.ca/blog/2024/10/01/t... · Posted by u/chmaynard
lsllc · a year ago
I've used Apple's Terminal for a long time, way back when there was a set of color schemes called "Terminal Fructose" that was nice, I would have different colored backgrounds for different tasks. Apple at some point built that in with their themes.

However, Apple have languished with their Terminal support, they don't to >256 colors and some of the other more modern stuff is lacking and it doesn't really work with a Neovim+LazyVim setup.

I've been trying to find a "better" terminal and have bounced around between iTerm2, Kitty, Alacritty and Wezterm, but while they all are more "modern", I find that none of them seem to have that basic "New Window with Profile ..." option that lets me quickly open windows with different background colors/themes (at least without some screwing around).

Currently settled on Wezterm, mostly because it also works on Windows and I can share my wezterm.lua configuration (I should note that Windows Terminal is actually pretty good too). I still do find my self running Apple Terminal for quick things (e.g. using python3 as a REPL to do math or testing hex/binary stuff out etc).

p5a0u9l · a year ago
> none of them seem to have that basic "New Window with Profile ..."

iTerm has exactly that.

p5a0u9l commented on     · Posted by u/geox
p5a0u9l · a year ago
Umm. Well, mostly because tiktok is the only major social media company associated with a government that has a history of trying to steer US elections one way or another.
p5a0u9l commented on Bash-Oneliners: A collection of terminal tricks for Linux   github.com/onceupon/Bash-... · Posted by u/alexzeitler
dijit · a year ago
Also related: bash_history is your best productivity tool; https://martinheinz.dev/blog/110

I have a weird story about that.

When I was a junior sysadmin I worked for a company providing a SaaS solution for e-commerce.

The environment I worked in was bare-metal (as was the style at the time), with a 2 tier network architecture, lots of internal tooling (mostly in Perl fwiw) and highly complex interactions between components (cache items recorded in MySQL, centralised job control through a pair of activeMQ servers that had a postgres proof of record etc).

During this time, I fancied myself the growing expert, and thus I created the most gnarly one-liners you could imagine. But they did everything. I annotated them with a “function parameter” comment at the end

    $ if []; then x; fi ## FUNCTIONDOES: THING
then I would control+R constantly from the bastion host to do my daily work. I had managed to automate a huge amount of common requests this way.

The existing team was disgruntled and started leaving, eventually making me the most senior in the team.

Of course, I also left.

I kept good contact with the team that onboarded as I was leaving, and one day while drinking I was told (off-handedly but in no uncertain terms) that I was the author of “the bash_history”.

After enquiring to what they meant, they indicated that after I resigned, someone found my bash_history file (because I had been onboarding them and they had seen my workflow) and it had been immortalised by:

A) Being copied to everyones profile and placed in /etc/skel

B) being chattr +i (immutable)

I was honoured. and horrified.

p5a0u9l · a year ago
What is your definition of bare metal?
p5a0u9l commented on Ask HN: Any tools to do generic WiFi imaging?    · Posted by u/selfsimilar
bmenrigh · a year ago
5 GHz WiFi has a wavelength around 6cm so it can’t “see” anything smaller than approximately that. The things you want to see in your walls are below the diffraction limit for WiFi.
p5a0u9l · a year ago
Yes it can. Diffraction limit relates to resolution in space, not scattering.
p5a0u9l commented on Use a work journal   fev.al/posts/work-journal... · Posted by u/charles_f
p5a0u9l · a year ago
Prose writing in any form is super useful. The challenge is having a unified tool to impose some structure. Instead, thoughts are divided across email, slack, confluence, quip, etc.
p5a0u9l commented on Use a work journal   fev.al/posts/work-journal... · Posted by u/charles_f
nlawalker · a year ago
What finally got this to stick for me was abandoning all notion of structure and organization (and formal concepts like “logging” and “journaling”) and optimizing fully for capture over retrieval, then relying on search tools and proximity for the latter.

I have the OneNote icon in the notification area configured to create a new quick note and use it liberally. Occasionally I look through all the pages, especially the recent ones, aggregate and reorganize some, move others to an “archive” tab, and that’s it.

The faintest - and most disorganized - ink is more powerful than the strongest memory.

p5a0u9l · a year ago
This is the way. I’ve used zettelkasten, which is similar philosophy. Dump a thought and tag it for retrieval later. I prefer making this work with simple files and markdown. I have a colleague who uses email drafts well. My problem with OneNote and similar is the bloat of it. But, having images alongside text, when needed, is super nice.
p5a0u9l commented on Rye: A Hassle-Free Python Experience   rye.astral.sh/... · Posted by u/jcbhmr
chefandy · a year ago
Cross-platform applications that rely on binary libraries have always been the beginning of my Python dependency misery. It usually works fine, but when it doesn't, it's miserable.
p5a0u9l · a year ago
I get that, but isn’t that a problem with dependency management itself and not the tools?
p5a0u9l commented on Zed on Linux Is Here   zed.dev/linux... · Posted by u/0xedb
p5a0u9l · a year ago
I don’t think I could ever switch to a windowed app as editor, vs a TUI, eg neovim. The remote story is never great for me. It forces your editor to slowly bloat to become your entire IDE. Native remote dev using tmux is so nice. Can anyone persuade me otherwise?
p5a0u9l commented on Zed on Linux Is Here   zed.dev/linux... · Posted by u/0xedb
poetril · a year ago
I've kept my neovim config, vscode, and zed configs in parity for a while now. To the point that the keybinds and behaviors are the same (or as simliar as they can be) across all three. In my personal experience zed is eating into the time I use vscode, but not really touching neovim as much. It really has come a long way, and I'm excited I'll be able to use it on my Linux machine without having to jump through hoops.
p5a0u9l · a year ago
Tips please, esp configure vscode like nvim.

u/p5a0u9l

KarmaCake day204July 27, 2019View Original