Readit News logoReadit News
danielsamuels commented on Zed now predicts your next edit with Zeta, our new open model   zed.dev/blog/edit-predict... · Posted by u/ahamez
as-cii · 7 months ago
Hey! Zed founder here.

We totally agree with this and that's why Zed will switch the keybinding for accepting an edit prediction to `alt-tab` when the cursor is in the leading whitespace of a line. This way you can keep using `tab` for indenting in that situation.

Also, when there's both an edit prediction and and LSP completion, Zed switches the keybinding to `alt-tab` to prevent the conflict with accepting an LSP completion.

Curious to hear what you think!

danielsamuels · 7 months ago
For reasons that should be obvious, that's not going to work on Windows.
danielsamuels commented on Starlink Direct to Cell   starlink.com/business/dir... · Posted by u/tosh
marcus_holmes · 9 months ago
This is the nomad dream. Have a single phone service and wander anywhere on the planet with it. No more having to swap SIMs out on every border, being unable to use text-based 2FA, forcing friends to contact only via messaging apps, system messages in a foreign language, etc.

It's not the coverage; that's mostly good. It's not the price; mostly SIM cards and plans are cheaper when travelling than they are at home. It's the hassle of swapping SIMs every time you cross a border.

danielsamuels · 9 months ago
There are already services like Firsty[1] that use an eSIM to achieve this.

1. https://www.firsty.app/

danielsamuels commented on Ask HN: How do you security-audit external software using NPM packages?    · Posted by u/BjornW
TekMol · 4 years ago
What I would do if I wanted to use "is-buffer" is I would copy this index.js to a new file called "isBuffer.js" and it would look like this:

    export function isBuffer (obj) {
        return obj != null && obj.constructor != null &&
        typeof obj.constructor.isBuffer === 'function' &&
        obj.constructor.isBuffer(obj)
    }
Imho, there is no need to pull 10 files into my project to use one function.

danielsamuels · 4 years ago
You would, of course, preserve the copyright and license notices too. Otherwise that would be a violation of the license.
danielsamuels commented on Ask HN: How do you security-audit external software using NPM packages?    · Posted by u/BjornW
TekMol · 4 years ago
Independent of the language, I only use external code if it is small enough that I can manually review it. Often I refactor it into a single file during this process.

This of course excludes the majority of packages out there. But apart from security, it has another benefit: These dependency very rarely break and need updates. So compared to projects with a more complex stack, projects with a lean stack are easier to maintain.

It would be great if there was a "single small file packages" movement so that more lean open source software will be created.

danielsamuels · 4 years ago
> It would be great if there was a "single small file packages" movement so that more lean open source software will be created.

There are certainly npm authors doing this already, feross[1] is a good example. That means you get packages like is-buffer[2].

[1]: https://www.npmjs.com/~feross [2]: https://github.com/feross/is-buffer/blob/master/index.js

danielsamuels commented on My £4 a month server can handle 4.2M requests a day   mark.mcnally.je/blog/post... · Posted by u/mark_mcnally_je
danielsamuels · 4 years ago
Can it?

> Service Unavailable

> The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

danielsamuels commented on Billionaires-in-space critics are 'largely right', Bezos concedes   edition.cnn.com/2021/07/1... · Posted by u/Tomte
sideshowb · 4 years ago
It's worth noting that Elon, for all his faults, does seem to be leading innovation. But I agree with you about Branson and Bezos.
danielsamuels · 4 years ago
I think it's a shame that people have bundled Elon into the Bezos / Branson battle. What Musk is doing is far more useful (and has been for a while now) than the measuring contest that's happening between the other two.
danielsamuels commented on Free Software: An idea whose time has passed?   medium.com/@r0ml/free-sof... · Posted by u/altsalt
EdwardDiego · 4 years ago
...do we all have telemetry in our cars, really? I mean, we have data that can be read via ODBII, but it's not exactly connecting via the cell network, it has to be retrieved with a plug.

I can't think of anyone I know who has a car that needs to phone home. But that's a very limited sample size, so you know. Also, I'm most likely in a different market to you, we've never had anything like OnStar make inroads here into domestic vehicles - some commercial operators are using telemetry on their trucks etc.

But rest assured, if all our cars were phoning home, I'd be making a massive fuss.

For example, an insurance company in my country has recently launched an app that will "measure" your driving and offer lower premiums if your driving is "safe" according to their algorithms. It's obviously opt-in, but at some point, the difference between a discount for opting in, and a penalty for opting out, becomes hard to differentiate.

You don't have any rights to review their algorithms if you feel that they got it wrong, it's a combination of Hail Corporate and Hail AI, and context is lost because it's impossible to capture that. E.g., does heavy braking indicate you were driving poorly, or did you encounter a situation where heavy braking was necessary, such as the damn cat down the road that thinks it's invincible deciding to make a sprint for it in front of you? Is acceleration in excess of their defined limit unsafe? Or were you accelerating more than you normally would, because someone gave you space to turn into the road and you didn't want to needlessly hold them up, given their courtesy?

And given what I've seen of the FAANG algorithms, I don't want algorithms from companies nowhere near FAANG level making decisions about me. A personal favourite of mine was FB removing a comment of mine, because my sister said she'd totally marry my wife, on account of how, well, pretty damn awesome my wife is, and I'd replied "Haha, I'll fight you" - and FB had flagged that as "hate speech/incitement to violence".

Anyway, thank you for coming to my TED rant.

danielsamuels · 4 years ago
> ...do we all have telemetry in our cars, really? I mean, we have data that can be read via ODBII, but it's not exactly connecting via the cell network, it has to be retrieved with a plug.

Nissans do, my Leaf does. They connect to a mobile network or WiFi and upload data.

https://www.nissan.co.uk/ownership/nissan-infotainment-syste...

danielsamuels commented on No support Linux hosting shutting down from hack   nosupportlinuxhosting.com... · Posted by u/ourmandave
danielsamuels · 5 years ago
They don't help anyone, including themselves
danielsamuels commented on Barcode scanner app on Google Play infects 10M users with one update   blog.malwarebytes.com/and... · Posted by u/decrypt
captn3m0 · 5 years ago
It is 2021 and Android still doesn't have a QR code scanner by default.
danielsamuels · 5 years ago
It's built into the camera app
danielsamuels commented on Teamspeak 5 to be based on the Matrix protocol   community.teamspeak.com/t... · Posted by u/circularfoyers
jhgg · 5 years ago
I don't think this is true, sorry. TS5 is definitely not built on Matrix.

EDIT: Am wrong, see below! Maybe we can update the original post to one of the links below.

danielsamuels · 5 years ago
Hmm, their developers seem to imply otherwise:

> TS.ChrisR - TeamSpeak Staff - 30d

> We use the Matrix protocol only for the messenger part.

https://community.teamspeak.com/t/beta-signup/13749/50

Other mentions of it here:

https://community.teamspeak.com/t/teamspeak-development-stat...

https://community.teamspeak.com/t/teamspeak-development-stat...

Matrix themselves talked about it: https://matrix.org/blog/2020/10/09/this-week-in-matrix-2020-...

u/danielsamuels

KarmaCake day1533September 6, 2012View Original