Readit News logoReadit News
mayank commented on Colossal Cave Adventure (1976)   github.com/wh0am1-dev/adv... · Posted by u/shakna
russellbeattie · 4 months ago
Browsing the code, I've never seen this form of goto:

   GOTO(1100,1004,1013,1020,1004,1004)(IKIND+1)
I just looked it up. It's a multi-way branch: GOTO(label_1, label_2, label_3, etc.), integer_expression.

If the integer value is 1 (not zero), control flow transfers to label_1, if the value is 2, it transfers to the second label, etc.

Interesting! It's like a simplified switch statement.

mayank · 4 months ago
Indeed! It’s a form of a branch table: https://en.m.wikipedia.org/wiki/Branch_table
mayank commented on Technical debt vs. technical assets: What's the difference?   liblab.com/blog/accruing-... · Posted by u/mbastos
alexpetralia · 8 months ago
Technical debt is a former technical asset without its owner.
mayank · 8 months ago
Got a source for this? Because it’s brilliant.
mayank commented on     · Posted by u/jimminyx
johnfn · 9 months ago
Pretty poor article - not a single code sample, just vague generalities that I could have listed off without ever touching a LLM. I suspect this is just a disguised advertisement for Qodo.
mayank · 9 months ago
Agreed and flagged, this almost seems LLM written, not a bit of data.
mayank commented on Launch HN: Fresco (YC F24) – AI Copilot for Construction Superintendents    · Posted by u/arvindveluvali
arvindveluvali · 9 months ago
This is a really good point, but we don't think hallucinations pose a significant risk to us. You can think of Fresco like a really good scribe; we're not generating new information, just consolidating the information that the superintendent has already verbally flagged as important.
mayank · 9 months ago
This seems odd. If your scribe can lie in complex and sometimes hard to detect ways, how do you not see some form of risk? What happens when (not if) your scribe misses something and real world damages ensue as a result? Are you expecting your users to cross check every report? And if so, what’s the benefit of your product?
mayank commented on Slack AI Training with Customer Data   slack.com/trust/data-mana... · Posted by u/mlhpdx
zmmmmm · a year ago
> For any model that will be used broadly across all of our customers, we do not build or train these models in such a way that they could learn, memorise, or be able to reproduce some part of Customer Data

This feels so full of subtle qualifiers and weasel words that it generates far more distrust than trust.

It only refers to models used "broadly across all" customers - so if it's (a) not used "broadly" or (b) only used for some subset of customers, the whole statement doesn't apply. Which actually sounds really bad because the logical implication is that data CAN leak outside those circumstances.

They need to reword this. Whoever wrote it is a liability.

mayank · a year ago
> They need to reword this. Whoever wrote it is a liability

Sounds like it’s been written specifically to avoid liability.

mayank commented on The lifecycle of a code AI completion   sourcegraph.com/blog/the-... · Posted by u/tosh
mayank · a year ago
Very interesting! I wonder to what extent this assumption is true in tying completions to traditional code autocomplete.

> One of the biggest constraints on the retrieval implementation is latency

If I’m getting a multi line block of code written automagically for me based on comments and the like, I’d personally value quality over latency and be more than happy to wait on a spinner. And I’d also be happy to map separate shortcuts for when I’m prepared to do so (avoiding the need to detect my intent).

mayank commented on How to find the AWS account ID of any S3 bucket   tracebit.com/blog/2024/02... · Posted by u/tracebit
tuananh · 2 years ago
aws s3 bucket needs to match the domain for website hosting.

let's say if apple uses s3, they need to create bucket name "apple.com", and then we can find what aws account which apple is using.

mayank · 2 years ago
> aws s3 bucket needs to match the domain for website hosting.

This is outdated information, and not required anymore when using CloudFront.

And even in the past, you could use the S3 API to implement a reverse proxy without matching bucket and domain names.

mayank commented on The One Billion Row Challenge   morling.dev/blog/one-bill... · Posted by u/madmax108
stabbles · 2 years ago
For performance benchmarking the minimal runtime is typically the best estimator if the computations are identical, cause it measures perf w/o interrupts.

If the language is garbage collected, or if the test is randomized you obviously don't want to look at the minimum.

mayank · 2 years ago
> the minimal runtime is typically the best estimator

Depends what you’re estimating. The minimum is usually not representative of “real world” performance, which is why we use measures of central tendency over many runs for performance benchmarks.

mayank commented on The One Billion Row Challenge   morling.dev/blog/one-bill... · Posted by u/madmax108
JohnKemeny · 2 years ago
> The slowest and the fastest runs are discarded. The mean value of the remaining three runs is the result for that contender and will be added to the leaderboard.

I think it's better to discard the two slowest, or simply accept the fastest as the correct. There's (in my opinion) no good reason to discard the best runs.

mayank · 2 years ago
This is a pretty standard measure called the Trimmed Mean: https://statisticsbyjim.com/basics/trimmed-mean/
mayank commented on UK plan to digitise wills and destroy paper originals "insane" say experts   theguardian.com/society/2... · Posted by u/ilamont
notthemessiah · 2 years ago
Even ignoring the historical value, it's easier to hack into a server and edit a file than it is to forge a legal document and break into an archive. Suddenly, you're the legitimate heir to a castle.
mayank · 2 years ago
Very debatable, if both are done right.

u/mayank

KarmaCake day2703September 11, 2010
About
Digital Commerce @ Meta

Former Twilio, Oracle, Google

https://www.linkedin.com/in/mayanklahiri/

View Original