Readit News logoReadit News
swdunlop commented on GPD Duo   gpd.hk/gpdduo... · Posted by u/112233
knowaveragejoe · a year ago
If you want another screen in a portable setting, there are tons of portable monitors out there, many powered and driven entirely over USB-C. I found a 2k option on Amazon for ~$100, it's about as thin and even lighter than the macbook air I use it with. Works great.

This seems unwieldy and pricey for a gimmick that may not be easily serviceable.

swdunlop · a year ago
I was thinking the same thing. There are OLED USB-C monitors on Amazon for dirt cheap that are light if a little fragile.
swdunlop commented on Zed AI   zed.dev/blog/zed-ai... · Posted by u/dahjelle
cedws · a year ago
>However, personally, I prefer to have it configured to talk directly to Anthropic, to limit the number of intermediaries seeing my code, but in general I can see myself using this in the future.

Same. I can kind of feel OK about my code going to Anthropic, but I can't have it going through another third party as well.

This is unfortunately IT/security's worst nightmare. Thousands of excitable developers are going to be pumping proprietary code through this without approval.

(I have been daily driving Zed for a few months now - I want to try this, I'm just sceptical for the reason above.)

swdunlop · a year ago
Add the following to your settings.json:

  "assistant": {
    "version": "2",
    "default_model": {
      "provider": "anthropic",
      "model": "claude-3-5-sonnet-20240620"
    }
  }
  
Once this is done, you should be able to use Anthropic if you have an API key. (This was available before today's announcement and still works today as of Zed 0.149.3)

swdunlop commented on Initial details about why CrowdStrike's CSAgent.sys crashed   twitter.com/patrickwardle... · Posted by u/pilfered
canistel · a year ago
Out of curiosity: In the old days, SoftIce could have been used which was a kernel mode debugger. What tool can be used these days?
swdunlop commented on A Few Notes on the Culture by Iain M Banks (1994)   theculture.adactio.com/... · Posted by u/Bluestein
Ekaros · a year ago
Don't some people let their cats and dogs roam free? Same people would probably give them some resources or tools if they were capable of asking.
swdunlop · a year ago
And that is where the drama is frequently found in the Culture series — when Fluffy the Pet Human meets Spot the Feral Human and disaster ensues.
swdunlop commented on A Few Notes on the Culture by Iain M Banks (1994)   theculture.adactio.com/... · Posted by u/Bluestein
arethuza · a year ago
Apologies, should have been clearer there - the Wasp Factory is not a Culture novel and isn't even SF - it's about a rather troubled teenager and his unusual circle of family and friends.
swdunlop · a year ago
When Iain (M.) Banks published science fiction (or essays about science fiction), he used “Iain M. Banks.” Other works he used “Iain Banks.”

You can sometimes separate the fans and the topic by how they refer to him.

swdunlop commented on A Few Notes on the Culture by Iain M Banks (1994)   theculture.adactio.com/... · Posted by u/Bluestein
swdunlop · a year ago
It's hard for me to read the Culture novels and not hear Porno for Pyros' "Pets" on loop in my head.

It is amusing that this essay starts with "Government" and does not get down to the intelligences until halfway through -- in my mind, it's all just the intelligences watching the funny monkeys play at still having meaningful role in the Culture and the surprising things they do at the edges of its influence.

swdunlop commented on Hired: A Modern Take on 'Ed'   github.com/sidju/hired... · Posted by u/nateb2022
swdunlop · 2 years ago
I was expecting electron in there somewhere.
swdunlop commented on Context Control in Go   zenhorace.dev/blog/contex... · Posted by u/todsacerdoti
gray_-_wolf · 2 years ago
I always thought that context should just be a goroutine local thing always available, automatically inherited when `go` is executed (obviously with the option to set an explicit one).
swdunlop · 2 years ago
I think of contexts as being Go's answer to dynamic variables in earlier languages, like Lisp, and less like thread local storage (like Pthreads). Much like how Go works with errors, explicit is favored over implicit -- being able to see the context pass through, and whether a function expects a context, tells you a lot about the function you are about to call.

If a function does not take a context, you know it probably cannot be interrupted, just like when a function does not return an error, you know it should not fail. In my work projects, this is also a cue that the function does not do any logging since we always carry a zerolog.Logger in our contexts enriched with trace information about the request and handler.

This also makes life easier for me as a reviewer -- I can see the context passing, I can spot when there is a bad pattern, like retaining a context, or failing to handle an error. It does not require me to maintain a detailed mental map of which functions employ dynamic variables or can throw exceptions.

swdunlop commented on Nushell 0.86   nushell.sh/blog/2023-10-1... · Posted by u/kytazo
e12e · 2 years ago
> The macos `open` / nushell `open` conflict

Hm, I see there's an issue and a recommendation to move nutshell open to nuopen - won't that get in the way of cross platform support? I would probably prefer to alias MacOS open (or xdg-open... Etc) to something like ”mope".

I'm guessing things like Emacs can be configured to point at an absolute path for open?

https://www.nushell.sh/book/configuration.html#macos-keeping...

https://github.com/nushell/nushell/issues/9220

swdunlop · 2 years ago
You can bypass a Nushell command by prepending "^". To use MacOS open, this would be "^open cat.gif"

This tic drives me nuts when I hop between fish (which I use for two features, better tab completion and background jobs) and nu. With 0.86, it might just be for background jobs, which is something Nushell has avoided dealing with entirely. CTRL-Z and "bg" is just muscle memory for me, much like "open."

swdunlop commented on More than 75% of Steam games tested are playable or verified on the Steam Deck   mastodon.cloud/@boilingst... · Posted by u/ekianjo
washadjeffmad · 2 years ago
Is the base model EMMC able to be removed to install NVMe? I was mulling over picking up either a Steam Deck or a Realforce R3 on Friday and still haven't decided.

Edit: Looked it up. Yes, its storage is 100% upgradable.

Edit edit: Ordered a base model + dock :)

swdunlop · 2 years ago
Good microsd cards are cheap as dirt and easy to use with a Steam Deck. I do not regret getting the lowest storage model and just using a card.

u/swdunlop

KarmaCake day503December 6, 2009
About
Lead wookiee at https://www.cmdzero.io
View Original