HackerLangs
TopNewTrendsCommentsPastAskShowJobs

codetrotter

no profile record

comments

codetrotter
·w zeszłym roku·discuss
How about on an MacBook Pro M2 Max with 64GB RAM? Any recommendations for local models for coding on that?

I tried to run some of the differently sized DeepSeek R1 locally when those had recently come out, but couldn’t manage at the time to run any of them. And I had to download a lot of data to try those. So if you know a specific size of DeepSeek R1 that will work on 64GB RAM on MacBook Pro M2 Max, or another great local LLM for coding on that, that would be super appreciated
codetrotter
·w zeszłym roku·discuss
One use-case is digitising receipts from business related travels for expenses that employees paid for out of their own pocket and which they are submitting pictures to the business for reimbursement.

Bus travels, meals including dinners and snacks, etc. for which the employee has receipts on paper.
codetrotter
·2 lata temu·discuss
Thank you. I’ll probably go with sticking their suggestion into my ssh client config

  SetEnv TERM=xterm-256color
mentioned in the end of your link. I’ll put it next to the line where I set RemoteCommand and include a comment for myself that this SetEnv is for being able to still use RemoteCommand tmux thing even when using Ghostty.
codetrotter
·2 lata temu·discuss
When I try to ssh into one of my servers using this terminal I get the following:

  missing or unsuitable terminal: xterm-ghostty
  Connection to xxx.xxx.xxx.xxx closed.
(IP address removed by me.)

It turned out that this is associated with how I automatically run tmux by having the following kind of config for how I connect to that server.

  Host server3000
   IdentityFile ~/.ssh/host_specific/foo/bar/server3000/id_ed25519_baz
   RequestTTY yes
   RemoteCommand /usr/bin/env tmux new-session -A -s '%L'
Whereas if I outcomment the RemoteCommand setting in my ~/.ssh/config of the laptop I'm connecting form, I can connect fine even using Ghostty as my terminal and from

  env | grep ^TERM=
I get output

  TERM=xterm-256color
in the initial normal shell.

And if I run tmux, then inside of it from

  env | grep ^TERM=
I get output

  TERM=tmux-256color
So there seems to be some termcap stuff I'd have to figure out if I want to use Ghostty and still be able to run tmux automatically in the way I'm currently doing without problem when using the Terminal that ships with macOS and ssh'ing into my servers.
codetrotter
·3 lata temu·discuss
True, but defaults are worth a million
codetrotter
·3 lata temu·discuss
Either you are prompting it wrong, or you got unlucky, or you are stuck on GPT3.5 still and it’s less capable compared to GPT4 than I remember.

Me:

> Give me a short list of five top things that OpenBSD is superior over Linux for

ChatGPT:

> OpenBSD is known for its strong emphasis on security, simplicity, and code correctness. Here's a brief list of five aspects where OpenBSD is often considered superior to Linux:

> 1. Security by Default: OpenBSD is renowned for its security-oriented design. The system is configured with secure defaults, and security features are integrated directly into the core system, not as add-ons.

> 2. Code Quality and Audit: The OpenBSD project places a high priority on clean, readable, and well-documented code. Regular code audits are conducted to identify and fix security vulnerabilities and bugs.

> 3. Integrated Cryptography: OpenBSD includes various cryptographic tools and libraries as part of its base system, making it easier to implement secure applications.

> 4. Pf (Packet Filter): OpenBSD's native firewall, pf, is highly regarded for its flexibility and efficiency. It's often considered more straightforward and powerful than iptables, commonly used in Linux.

> 5. Documentation and Man Pages: OpenBSD’s documentation, especially its man pages, is extensive and well-maintained. It provides detailed and up-to-date information on system commands, configurations, and daemons.

> It's important to note that while OpenBSD excels in these areas, the choice between OpenBSD and Linux depends on specific use cases and personal preferences.

And then for the cons, flip the question around and ask ChatGPT for a list of five ways in which Linux is superior over OpenBSD. (Left as an exercise for the reader.)
codetrotter
·3 lata temu·discuss
It would have cost them nothing to unveil a hypothetical ~/Uploads directory in the process of patching it to unveil ~/Downloads
codetrotter
·3 lata temu·discuss
> As a Dvorak user, I prefer desktop keyboards in which it's possible to pry off and rearrange the keycaps to match

There are keyboards with no printed letters on them whatsoever. That's even better :)
codetrotter
·3 lata temu·discuss
Gotta flex them thumbs in alternating rhythm, you know.
codetrotter
·3 lata temu·discuss
But the question everyone is asking is: Do they have a Dvorak version
codetrotter
·3 lata temu·discuss
I installed task-spooler just now, because I’ve been wanting something like this for a long time.

It looks like the actual name of the task-spooler command on Debian after install is “tsp”, not “ts”. So no collision :)

Now it just remains to be seen if the package by default allows the tasks to continue to run after I log out, or if systemd will annoyingly kill the tasks after I disconnect from ssh the same way systemd annoyingly kills my “screen” sessions when I disconnect ssh, and there is some cumbersome thing you have to do on each of your systems to have systemd not kill “screen” :(
codetrotter
·3 lata temu·discuss
But computer software can. Worms, viruses, etc

Heck, even the operating system could reproduce in some sense. If the operating system on one machine is set up to regard itself as DHCP server, it would begin responding to DHCP requests in the local network. And in the DHCP response it can provide network boot instructions telling other computers to network boot a copy of the OS image of itself that it is serving. Any other computer that is configured to net boot could then boot the OS. Of course most computers are not set up to net boot out of the box. But on a network where they use net boot already you might be able to race their own DHCP server and get some of the clients to boot your OS image instead.
codetrotter
·3 lata temu·discuss
Also relevant: “How an Algorithm Feels from Inside” (2008)

https://www.lesswrong.com/posts/yA4gF5KrboK2m2Xu7/how-an-alg...
codetrotter
·3 lata temu·discuss
Humans often like to compare the brain to technology.

For example, when gears were high tech there were people that drew heads with gears turning inside of the head, likening the act of thinking to the motion of gears. And I think in cartoons etc we still see this sometimes.

:D
codetrotter
·3 lata temu·discuss
Did you run the Fedora installer in the VM, or just boot from live-CD?
codetrotter
·3 lata temu·discuss
Ironically his manifesto is apparently what led to FBI arresting him.

> The big break in the case came in 1995. The Unabomber sent us a 35,000 word essay claiming to explain his motives and views of the ills of modern society. After much debate about the wisdom of “giving in to terrorists,” FBI Director Louis Freeh and Attorney General Janet Reno approved the task force’s recommendation to publish the essay in hopes that a reader could identify the author.

> After the manifesto appeared in The Washington Post, thousands of people suggested possible suspects. One stood out: David Kaczynski described his troubled brother Ted, who had grown up in Chicago, taught at the University of California at Berkeley (where two of the bombs had been placed), then lived for a time in Salt Lake City before settling permanently into the primitive 10’ x 14’ cabin that the brothers had constructed near Lincoln, Montana.

> Most importantly, David provided letters and documents written by his brother. Our linguistic analysis determined that the author of those papers and the manifesto were almost certainly the same. When combined with facts gleaned from the bombings and Kaczynski’s life, that analysis provided the basis for a search warrant.

https://www.fbi.gov/history/famous-cases/unabomber
codetrotter
·3 lata temu·discuss
Agreed. But aside from that I could easily see someone using PostgreSQL on their server, and storing data client side in SQLite
codetrotter
·3 lata temu·discuss
But PostgreSQL is still known for being very compliant with the SQL standard right? At least that’s what I recall hearing.

I use PostgreSQL a bit and I like it. I am not generally concerned about the SQL standard though. The PostgreSQL official docs are good, and you can find a lot of PostgreSQL specific questions and answers on the internet.

But it is my impression that people were saying that it follows the standard pretty closely.
codetrotter
·3 lata temu·discuss
> They advertise the 633 to hold 1.3 charges for an iPhone 13.

I think you have a typo there. The product page for 633 says 1.8 charges for the iPhone 13.

I was confused why 60% extra would seem low for half capacity of 1.3 charges (130%). Dividing 130% by two gives 65%.

But since it’s actually 180%, I agree that 60% extra seems low. Should have been about 90% extra one would think.
codetrotter
·3 lata temu·discuss
Interestingly the 633 is priced at $79.99 in the US, and €79.99 in EU. The EU price is therefore equivalent to about $88.30.

On top of that, they currently have a $10 discount voucher in the US. https://www.anker.com/products/a1641?ref=select_your_product...

Whereas the EU does not get any discount currently https://www.anker.com/eu-en/products/a1641?variant=415101967...

So that’s $69.99 for the US vs $88.30 for the EU, for the same product.