Better HN
topnewbestaskshowjobs
Log inSign up

localhost

2,512 karma · joined Apr 30, 2011 (15y ago) · 551 submissions

I work on making Python more awesome across the company, now including Excel!

My alias is jflam (at the company I work for).

Submissions

comment 3y ago · link · parent

This tweet has a lot of additional details with timelines for releasing weights of LLMs: https://twitter.com/swyx/status/1579551634832883712?s=20

comment 3y ago · link · parent

Not that I know of. But my understanding is that's their intent.

comment 3y ago · link · parent

I don't have an opinion on this one way or another, but if the RAIL license concerns you, then perhaps you can take it up with the organization behind it? https://www.licenses.ai/

comment 3y ago · link · parent

This is the text of the license from this repo [1]. Seems pretty open to me?

About this license

The Responsible AI License allows users to take advantage of the model in a wide range of settings (including free use and redistribution) as long as they respect the specific use case restrictions outlined, which correspond to model applications the licensor deems ill-suited for the model or are likely to cause harm.

[1] https://huggingface.co/CompVis/stable-diffusion-v-1-4-origin...

comment 3y ago · link · parent

RE: Open Source models, there is the AnthropicAI model making the rounds on Twitter[1] and Stability.ai (makers of Stable Diffusion) are working on one [2].

If we use recent history as an example, OpenAI announced DALL-E in Jan 5, 2021 [3], announced v2 and a waitlist for public use in July 20, 2022, and Stable Diffusion shipped an open source model on August 22, 2022 [4] using ~$600K of compute (at retail prices on AWS) [5].

I don't see how it's likely that any company can acquire a durable technology moat here. There are scale barriers to entry, but even VC sized funding can overcome that.

[1] https://twitter.com/goodside/status/1611556749726605312

[2] https://humanloop.com/blog/stability-ai-partnership

[3] https://en.wikipedia.org/wiki/DALL-E

[4] https://en.wikipedia.org/wiki/Stable_Diffusion

[5] https://twitter.com/emostaque/status/1563870674111832066?lan...

comment 3y ago · link · parent

Another way to think about these kinds of requests in a future AI world is to ask yourself why you're asking these questions? My take:

"Computer, can you write and deliver a message to my kid that explains how GPS works?"

"Computer, can you tell me what risks there are at dining at McDonalds down the street?"

"Computer, can you read this paper [link] and tell me why it's referencing Claude Shannon?"

"Computer, I need to waste some time - please use HN to help me"

"Computer, tell me about any plans that I have for today"

comment 3y ago · link · parent

I did some calculations this morning after reading The Information's (paywalled, sorry) article [1] on the Apple VR device which has 4K per eye resolution. My 27" 4K monitor sits about 28 inches away from my eyes on my desk. This translates into about 46 degree field of view, or about 83 pixels per degree. I can't see pixels at that distance.

If we take 60 pixels per degree as the Apple "Retina" standard, and if we assume that the field of view of the Apple VR device is ideal (120 degrees), then we would need a horizontal resolution of ~7k to match my setup at the "Retina" standard. If you compromise a bit on FOV, you can squeeze it down to 6k, which is within the reach of "today's" current display technology [2].

The Apple VR device is rumored to be powered by some custom silicon with foveated rendering optimizations (render only what you are looking at with the highest resolution) and is maxing out an M2 class GPU with unknown # of GPU cores on the device per The Information article. A doubling of GPU performance may get us to the 6K display per eye, optimistically the v2 of the Apple VR device?

[1] https://www.theinformation.com/articles/inside-the-tech-powe... [2] https://www.roadtovr.com/pimax-reality-12k-qled-announcement...

98.

Hardware for Deep Learning. Part 4: ASIC(blog.inten.to ↗)

3 points · by localhost · 3y ago · discuss

comment 3y ago · link · parent

Based on my reading of the docs (I haven't looked at the code), it appears that it uses the existing langchain[1] (which I have used and is excellent) library for constructing longer prompts through a technique known as prompt chaining. So for example, summarizing long documents would involve a map/reduce style effort where you get the LLM to summarize chunks of the document (with some degree of overlap between chunks) and then getting the model to summarize the summaries.

For answering "queries", it appears like it iterates over the documents in the store, i.e., NOT using it like an index, and feeding each document as part of the context into the LLM.

[1] https://github.com/hwchase17/langchain

comment 3y ago · link · parent

The gpt_index project looks very promising in this area.

"At its core, GPT Index is about:

1. loading in external data (@NotionHQ, @Slack, .txt, etc.) 2. Building indices over that data 3. Inputting a prompt -> getting an output!"

https://twitter.com/jerryjliu0/status/1608632335695745024

comment 3y ago · link · parent

Quite a few of us got our start by writing for PC Mag. Don Box offered me a job at DevelopMentor on the basis of having read an article I wrote on ATL in PC Mag on the flight up to Microsoft to attend the COR design review in 1997 (the tech that the COM team was building that would pivot to became .NET years later). I wound up owning COM at Microsoft over a decade later.

There was a wonderful community of people who made PC Magazine happen. It was fun to see their names in the credits to some of those issues. I even got a chance to meet them in person one time I was in NYC on business, sadly after they moved out of their iconic 1 Park Avenue offices.

comment 3y ago · link · parent

I've taken to calling Obsidian "The VS Code of Text" for this very reason. Thanks for all you do for building a fantastic tool that I use every day!

comment 3y ago · link · parent

After reading your reply here, I did the same with a question that I've calibrated over 100s of in-person interviews with college candidates at Microsoft. This is for both intern and full-time candidates. The goal of the question was to probe for technical competence (my role in the loop). The assumption was that anyone who can remember their data structures and algorithms class can make it through maybe 50% of the question. The question got progressively more challenging so that I could see what happens when the candidate reaches the edges of their knowledge.

It starts very fizz-buzzy and if the candidate makes it to the end, there's a deeper discussion of caching impacts on performance and optimizing algorithms. ChatGPT nailed it. Even when I said things like:

"can you optimize this program further to maximize the utilization of L2 caches in modern CPUs?"

And it did it in <10 minutes. The best candidate I ever saw took 25 minutes and the rest of the candidates took the full allotment of time 45 minutes and none of them got to the discussion of L2 cache optimization. These are candidates from the best schools in the country.

This was really impressive.

comment 3y ago · link · parent

Effort has nothing to do with it. I don't see anything about effort in the FTC's definition of monopoly. [1]

"Courts do not require a literal monopoly before applying rules for single firm conduct; that term is used as shorthand for a firm with significant and durable market power — that is, the long term ability to raise price or exclude competitors."

[1] https://www.ftc.gov/advice-guidance/competition-guidance/gui...

comment 3y ago · link · parent

Cool to see quite a few ex-DevelopMentor folks on the list of "Who Inspired me this year"!

106.

Show HN: Use ChatGPT in Jupyter notebooks via a Chrome extension(github.com ↗)

2 points · by localhost · 3y ago · 1 comment

comment 3y ago · link · parent

I like your extension of the argument towards standard libraries. I guess one way of thinking about this is that the standard library hasn't made programmers obsolete.

Charlie ends his post with an intriguing question - what is the abacus for programming? Some way of reasoning about programming that isn't a black box. Perhaps raising the abstraction level even higher?

Assignments that are like "design an app that makes it really easy to share photos" and then "reason about how you would test that app" and "what countermeasures would you create to prevent abuse" and then have the student(s) come up with specific pieces of implementation of parts of that solution that would fit the allotment of time?

comment 3y ago · link · parent

It looks like the ChatGPT APIs that work well are the ones that are implemented as a browser extension and reusing the bearer token that you get by signing into ChatGPT from the same browser. I'm guessing since you're using pyttsx3 that you wrote a Python app instead and not in the browser?

comment 3y ago · link · parent

Last night I had ChatGPT write a streamlit app for me and I felt it was like talking to an enthusiastic junior dev who takes feedback really well and works incredibly fast. This is an incredibly high leverage technology and we're just figuring out how to use it.

comment 3y ago · link · parent

There are even entire applications written this way - Adobe Lightroom was originally built from some core C++ imaging code lifted from Photoshop but with all of the UI built in Lua. The dev builds of Lightroom have an entire integrated Lua dev environment in them.

comment 3y ago · link · parent

I don't have notifications / alerts for anything besides family trying to contact me. For everything else, I poll. This has the benefit of allowing me to focus on what I'm doing (which sometimes requires looking things up in a browser) without being interrupted while doing so.

comment 4y ago · link · parent

This is a great idea; my go-to approach is the "I'll use PowerPoint to do that and take a screenshot" mindset since I don't have a need for publication quality output.

I really like the comparison site that you have created - it's great for learning these languages. I would love to see a plugin for Obsidian for the times where I need to add a custom drawing to my notes. It looks like there already are plugins for PlantUML[1] and graphviz[2] today.

[1] https://github.com/QAMichaelPeng/obsidian-graphviz

[2] https://github.com/joethei/obsidian-plantuml

comment 4y ago · link · parent

Yes. The problem was that the interpreters for both languages did not have a well-defined FFI. From a native library you could reach up into the interpreter and party over the AST to your heart's content. We couldn't in any practical sense emulate those data structures from the CLR which meant that native libraries couldn't run. That meant that existing scripting code that used those libraries would need to be rewritten to use an equivalent .NET library (e.g., regex). We naively thought that was what people would do and that turned out to be a mistake :(

comment 4y ago · link · parent

Our funding was gone by April 2009 IIRC, which was before Windows 7 shipped. Jim Hugunin and I shopped the team around and eventually landed in the Technical Computing org. The only thing that survived from that era was Python Tools for Visual Studio.

comment 4y ago · link · parent

Hi Nat! Long before I joined the company, I remember fondly the COR Design Review meetings from ... 1998(?) after you ruined the world with ActiveX :)

comment 4y ago · link · parent

Wow. Thanks for sharing this! I had no idea that it was still being used somewhere. I'll share with folks on the team that I'm still in touch with!

comment 4y ago · link · parent

My first job at Microsoft was to build IronRuby, which was an implementation of Ruby on top of the Common Language Runtime. I got the job because I had built a bridge that connected MRI (Matz's Ruby Interpreter) to the CLR before I joined the company. This project ultimately failed because of a principle that we learned from the school of hard knocks: respect developers' existing code investments. Developers couldn't use it because many of Ruby's existing libraries were thin wrappers over native code, and we couldn't get them to work for many reasons.

It turns out that the project was more of a demonstration of our ability to get dynamic languages to run efficiently on the CLR. To that end, I think we were successful. But once we achieved that there was not much of a path forward so the project was eventually shuttered.

comment 4y ago · link · parent

That same driver of the stripped Model S Plaid put a lighter friend (60lbs lighter) and clocked an 8.77 @ 162.55mph. See: https://www.youtube.com/watch?v=gvcmHUZ7jPU

comment 4y ago · link · parent

Flash fill is an implementation of program synthesis, a technique invented by Sumit Gulwani formerly of Microsoft Research. Here's a paper that explains more about how it works [1]. It's not a very discoverable feature of Excel though [2]

[1] https://arxiv.org/pdf/1703.03539.pdf [2] https://support.microsoft.com/en-us/office/using-flash-fill-...

12345
19