Better HN
topnewbestaskshowjobs
Log inSign up

RandomBK

1,543 karma · joined Sep 22, 2014 (12y ago) · 319 submissions

Submissions

comment 3y ago · link · parent

Given much of this comes from English Common Law, we get to blame time immemorial for how our legal system works.

comment 3y ago · link · parent

Why is it a gotcha? These kinds of treaties in general only care about the 'feelings' of nation-states, not individuals. The rule exists because countries often have some say in whether to extradite, and they make that decision based on known facts.

In this case, it's a statement from the US to the Bahamas about what they intend to do to SBF once he's in custody. If the US then goes on and punishes SBF even harder than what they originally told the Bahamas, the Bahamas might feel lied to. Think of it as a "we wouldn't have extradited if we knew he was facing the death penalty" kind of scenario. This rule thus exists to give the Bahamas a chance to remedy that.

comment 3y ago · link · parent

And let's not forget Alpine, which is a fairly common minimalist distro clocking in a ~5MB

comment 3y ago · link · parent

This complexity is a security nightmare.

I write SPAs. I use Keycloak OIDC as the authentication layer. I have the SPA set up as a client using the 'Standard Flow' with no Client Authentication[0]. I've carefully set my valid redirect URIs. I use the official Keycloak JS client and the standard JWT authentication implementation in my API server.

To this day I still have no idea if I'm doing everything correctly. I guess I'll have to eventually hire some expensive security consultant to go over everything, but every step of this setup is filled with hidden gotchas:

* There's multiple overlapping standards, each with a dozen different variants. The Keycloak OIDC config refers to OAuth2 over a dozen times.

* There's thousands of blogs and articles, each 1000s of words long and each recommending different things. I have yet to find a concrete guideline for what a 'sane default' set of choices are.

* Am I vulnerable to the issue described in the article? I guess I must be, given I don't see the server-side JWT validator doing anything special beyond validating the signature, so there's no validation of whether the token was generated for my app.[1][2]

* What are best practices for "client scopes"? I notice that the more I add the larger the JWT, but are there any gotchas to watch out for?

I think much of this boils down to there needing to be a published set of recommended defaults for common use cases, alongside some cleanup around deprecated/not-recommended config options.

[0] Given client secrets can be trivially extracted.

[1] Though I guess the fact I'm only using my own auth server and there's only one client means this isn't a problem.

[2] Isn't this how SSO works? One set of tokens to grant access to a bunch of different services?

comment 3y ago · link · parent

Dbus says hi

comment 3y ago · link · parent

On (2), I think there's some general policy discussions we should have around government spending rescuing people willing and knowingly doing obviously dangerous/stupid things.

Americans fucking around in North Korea or active war zones is another example that comes to mind.

I think that would be a better use of time than spinning up a 100-person government licensing program to regulate the 1000 people playing with submarines.

comment 3y ago · link · parent

Instead of targeted regulation specific to submarines, I would look at the laws around legal liability and depth of disclosures. That would scale across many more types of activity rather than any single one.

1. Is what you're doing dangerous?

2. Did you tell your customers about the danger?

3. Do they really understand the danger, including past incidents?

4. Is anyone else being harmed or are you just gambling your own life?

Even then, I would posit that this case probably passes this bar - OceanGate was quite clear in their waiver and there's a level of due diligence that a reasonable person spending 250K should be expected to make.

comment 3y ago · link · parent

Is anyone else hitting errors submitting the request?

comment 3y ago · link · parent

The aforementioned Sarbanes-Oxley act, plus the principle of "negative inference" in civil suits which dictates that a court can infer that someone refusing to testify (or destroying evidence) has something to hide. There's no 'plead the 5th' in civil suits.

comment 3y ago · link · parent

It's worth asking just how small did scientists in the era consider the contamination risk. Was this a case of willful ignorance of a legitimate risk, or a begrudging theater to placate a general public's overactive imagination?

Even based on what was known 50 years ago, what was the hypothesis for how microscopic particles with billions of years of geographic isolation might hurt the biosphere?

I'm reminded of the "LHC might create a black hole and swallow the earth" craze in our more recent memories.

comment 3y ago · link · parent

In the case of DNSSEC, the ultimate 'root key' is handled quite carefully and is interesting to read up on.

https://www.iana.org/dnssec/files

https://www.cloudflare.com/dns/dnssec/root-signing-ceremony/

comment 3y ago · link · parent

This of course, only works for your own internal use. I feel this disclaimer needs to be called out explicitly.

If you're trying to do something that will be trusted by the global internet, you'll need to use an official CA, ergo the complaints of DNSSEC being too 'centralized'.

comment 3y ago · link · parent

Yes, you will be able to train an AI model that is capable of beating Doom using this machine.

comment 3y ago · link · parent

I'm still rocking a Brother DCP-7060D from over a decade ago, using an aftermarket toner I bought from my university tech store.

comment 3y ago · link · parent

It's not just the ability to correctly answer this, but the consistency.

I asked this exact question to the `oasst-sft-6-llama-30b` model and it was able to consistently get the correct answer. I then tried the smaller `vicuna-7b` model, and while it usually gave the correct answer, there was the occasional miss.

Interestingly, `oasst-sft-6-llama-30b`'s ability to answer correctly seems to be fairly stable across multiple configurations. I tried various temperature settings from 0.2 up to 1.2, different topP configs, and they all answered correctly.

comment 3y ago · link · parent

This is very useful for running containers in lightweight untrusted environments.

I personally use this setup for my GitLab CI runners, using a mix of podman and buildah to build containers. I can't 100% trust the container build script, so avoiding having to expose a Docker socket to that untrusted code is a critical safety layer.

comment 3y ago · link · parent

Unfortunately [2] is just a placeholder for now, but it does look like the intent is to publish the weights.

comment 3y ago · link · parent

Plus there's bound to be false starts, reverts, crashes, etc that bump up the actual reproduction cost. Most training cost estimations take an extremely rosy best-case view assuming everything goes smoothly on the first try and no gpu cycles were wasted.

comment 3y ago · link · parent

Depends on the backup. Accidentally backing up a couple of `node_modules` folders would be sufficient to hit the 5M limit.

comment 3y ago · link · parent

I can't speak to Parent's situation, but temp tables are common practice in OLAP workloads across many database engines (personal experience with Postgres, Presto, Spark, Netezza).

At a certain level of query complexity, no query planner is able to accurately predict the characteristics of sub-queries or CTE, resulting in query plans that are ill-suited to the problem. More often than not, materializing CTEs inside a large query into 2-3 temporary tables results in order-magnitude performance as the database now knows exactly how many rows its dealing with, stats on # of nulls, etc.

comment 3y ago · link · parent

Ignoring the policy side of things for now, as I'm sure we'll get plenty of discussion in other comments...

On a technical level how well do these adversarial attacks survive trivial transformations on the original pixel data? I would imagine even a simple JPEG compression pass would ruin the effect.

comment 3y ago · link · parent

>There is nothing stopping a 400 lb programmer, to quote Donald Trump, from bootstrapping their own product.

With the cost of training such models from scratch dropping every year, this type of legal shenanigans will only encourage model development to move into the shadows where there's be even less accountability and AI ethics.

comment 3y ago · link · parent

>the moment you step out of FAANG

Even in FAANG, most data is going to be extremely messy.

* There's usually very little incentive for good documentation, so you have to guess what the table contains based on column names and exploring patterns in the data.

* Enforcing a single pattern/process for data across the entire org is a pipe dream.

* Logging tables are written to by hundreds of engineers across dozens of teams, with no standardized naming scheme.

* The product contains multiple edge cases/special overrides for very specific circumstances, so there's very few simple queries that don't come with 100 footnotes attached.

FAANG is not immune to large-organization problems, and data quality is no exception.

comment 3y ago · link · parent

Apple (and to a lesser extent Android) have already gone this route, and Windows 11 originally wanted to push _hard_ on enforcing the presence of more platform security. DRM schemes already perform remote attestation before you can stream 4K Netflix.

Linux and Open Source may be one of the last remaining barriers to this becoming widespread. It's one of the main reasons I whole-heartedly support Valve and their Steam Deck ambitions, and encourage everyone to do the same. Money trumps everything else, so as long as the money to be made from supporting SteamOS > money thought to be saved from piracy, I believe we can still thwart this.

comment 3y ago · link · parent

Every time I hear about the XBox's platform security, I think back to this talk [1] about how Microsoft protected the XBox One. A lot of it boils down to clear requirements and good engineering, and many of these technologies are now showing up via Project Pluton.

[1] https://www.platformsecuritysummit.com/2019/speaker/chen/

comment 3y ago · link · parent

There's no official announcement yet, but some people are given an option to "Upgrade Plan".

Mods: Please feel free to change the URL once something official comes out.

117.

ChatGPT Pro Is Priced At $42/mo(twitter.com ↗)

2 points · by RandomBK · 3y ago · 3 comments

comment 3y ago · link · parent

It depends on whether they actually lowered the price by $1500, rather than simply bumped the price by $1500 across the board then 'graciously' canceled it out if you subscribe.

Of course, barring legal discovery or a leaked email we'd never know.

comment 3y ago · link · parent

Securities and Exchange Act of 1934, Section 10b-5 [1]. You'll commonly see this shortened to just "10b-5" in common parlance.

There's quite a large industry [2] involving lawsuits anytime someone can credibly claim that an executive knew or (the real kicker) should have known they were making a false statement.

The vast majority of cases settle - there's rigorous and standardized models for computing how much to settle for. The special thing in this case is how it's actually gone to trial.

[1] https://www.investopedia.com/terms/r/rule10b5.asp

[2] https://securities.stanford.edu/

Edit: The specific case here is https://securities.stanford.edu/filings-case.html?id=106701 (Docket 18-CV-04865)

12345
11