Better HN
topnewbestaskshowjobs
Log inSign up

rasguanabana

219 karma · joined Jul 6, 2015 (11y ago) · 45 submissions

Submissions

comment 2mo ago · link · parent

I wonder why they went for ECDSA and RSA and how a freshly initialised sensor obtains enough randomness to create an unrecoverable private key. Other than that the overall protocol looks very interesting.

comment 7mo ago · link · parent

> So anything that would be destructive in git (e.g. rebase, pull, squash, etc) can be undone.

It’s possible to recover from these with git reflog, though.

comment 8mo ago · link · parent

Asking for a number between 1–10 gives 7, too.

comment 10mo ago · link · parent

An alternative to just exporting a variable is to prepend it to the command. This will keep it unexported for subsequent calls in current shell.

var=value some_command

This will still show up in /proc, but a lot of internal tools often rely on environment variables, so it’s kind of inevitable.

comment 1y ago · link · parent

There is a live view, but it looks like the machine has broken down

comment 1y ago · link · parent

The only thing that comes to mind for me is simpler header, but not sure if it makes much of a difference anyway.

comment 1y ago · link · parent

Wouldn’t VLM be susceptible to prompt injection?

comment 2y ago · link · parent

For sure string like "zqb" would give me a pause with this letterform, because it looks a lot like "ząb". Maybe it would be clearer in surrounding text, though.

comment 2y ago · link · parent

My first instinct was that JPEG XL would produce bigger images, probably for better quality.

comment 4y ago · link · parent

I doubt it. There’s a reason you can’t call from iPad (despite having SIM card variant). There’s a reason you cannot use Pencil with Mac on touchpad. There’s a reason you have very limited multitasking support on iPad and none on iPhone.

Apple wants you to buy more devices to fill gaps that another one doesn’t support.

comment 4y ago · link · parent

Why go that way. I’m no digital signal processing expert, but images (and series thereof, i.e videos) are 2D signals. What we see is spatial domain and analyzing pixel by pixel is naive and won’t get you very far.

What you need is going to frequency domain. From my own experiment in university times most significant image info lays in lowest frequencies. Cutting off frequencies higher than 10% of lowest leaves very comprehensible image with only wavey artifacts around objects. You have plenty of bandwidth to use even if you want to embed info in existing media.

Now here you have full bandwidth to use. Start with frequency domain, set expectations of lowest bandwidth you’ll allow and set the coefficients of harmonic components. Convert to spatial domain, upscale and you got your video to upload. This should leave you with data encoded in a way that should survive compression and resizing. You’ll just need to allow some room for that.

You could slap error correction codes on top.

If you think about it, you should consider video as - say - copper wire or radio. We’ve come quite far transmitting over these media without ML.

comment 4y ago · link · parent

How about Fourier transform (or cosine, whichever works best), and keep data as frequency components coefficients? That’s the rough idea behind digital watermarking. It survives image transforms quite well.

comment 4y ago · link · parent

I don’t clearly see how it’s ground-breaking. Non-repudiation could be achieved long before blockchain, because we have cryptography and can sign stuff.

comment 5y ago · link · parent

Often it might be as simple as routing right wavelength through right path, as in WDM systems. Optical amplifiers, such as EDFA [0] are interesting thing, too.

[0]: http://www.fiber-optical-networking.com/the-application-of-e...

comment 5y ago · link · parent

It’s not all about computing. It’s about avoiding conversion from electrical to optical signal (and back) at every network node, which is costly.

comment 5y ago · link · parent

> professionals like Cesar Milan

The man is simply harmful, tho [1]. His methods promote aggressive approach where you take control by threatening your dog with your body language.

[1]: https://www.youtube.com/watch?v=ppLnTlF8s0k (huge number of dislikes, but talk to anybody who works with dogs professionally)

comment 5y ago · link · parent

I just open more browser windows.

comment 5y ago · link · parent

Everyone has said everything wrong about it already. Nevertheless, Apple can sugarcoat it as much as they like. There’s no technical control (no actual nor possible one) making this exclusively about targeting CSAM.

comment 5y ago · link · parent

You do realize that in order to get milk from a cow there is a precondition that ultimately leads to slaughter anyway? Unless you can afford keeping every calf and won’t exploit them for milk further.

comment 5y ago · link · parent

Also, function body can be any compound command, so instead of braces {}, you can have parentheses (), which causes each function call to spawn a subshell. Very useful if your function needs isolated state or you change working directory and don’t want to affect global state. You can have exit command in such function, because it terminates the subshell only, not the whole script.

for, while and until are also compound commands, so they also can be used as function body directly without braces, but there’s no practical use for that, really.

comment 5y ago · link · parent

That’s why you need more than one layer of security over your critical assets. Network based access control to me always feels easy to misconfigure. Basic auth would delay attacker. Encryption of data at rest would render stolen data unusable to attacker.

General advice - perform threat modeling of your services to uncover weak links.

comment 5y ago · link · parent

IMHO it’s far less intuitive in comparison to radicals lookup on jisho.org. Most notably, it lacks stroke count in radicals and found characters.

comment 5y ago · link · parent

This may be very different in countries different than yours.

comment 5y ago · link · parent

Not all traffic is http.

comment 5y ago · link · parent

Well, http(s) isn’t the only traffic going through network.

comment 5y ago · link · parent

On one hand you have people setting wildcards in IAM policies for development phase (and forgetting to close them down afterwards). It’s hard to figure out permissions beforehand - this would help in these cases, but still taking IAM setup deduced from your traffic does not mean this setup is secure.

On the other hand you have complex architectures and no real overlap in their authorization patterns. It’s impossible to automate creation of secure "sandbox" setup for your specific use case.

You can’t really delegate security of your architecture to a single service - you need to address it yourself. Security can be implemented only in the service, not as a service.

comment 5y ago · link · parent

Oh I was referring to the other part of article about document recommending usage of algorithms such as 1024 bit RSA and SHA-1.

comment 5y ago · link · parent

Hard to blame non-technical people when even programmers happen to use md5.

Anyway, why such documents don’t refer to auxiliary standards with big ass year of creation somewhere on top? That might ring a bell if you’re about to use something from 3 decades ago and you have a hint it’s security related.

comment 5y ago · link · parent

Fortunately email was designed back in a day when mail servers could fail. Don’t worry - proper SMTP servers will retry patiently.

comment 6y ago · link · parent

> Isn’t Cassandra basically DynamoDB 2, but open source?

Yet you need to deploy it somewhere and maintain it. DynamoDB just works and that’s why people will happily pay extra because they can put effort on something more meaningful that maintaining a database.

12