Better HN
topnewbestaskshowjobs
Log inSign up

itsuka

1,480 karma · joined May 15, 2022 (4y ago) · 137 submissions

artificier
Submissions

1.

I love you, Hacker News, but you’re toxic (2022)(kg.dev ↗)

16 points · by itsuka · 3y ago · 8 comments

comment 3y ago · link · parent

You can see the glass material I was referring to in this video (timestamped): https://developer.apple.com/videos/play/wwdc2023/10076/?time...

comment 3y ago · link · parent

(deleted)

comment 3y ago · link · parent

Updated resources on June 21st:

- SDK on Xcode 15 beta 2: https://developer.apple.com/download/all/?q=xcode%2015

- Developer documentation - visionOS: https://developer.apple.com/documentation/visionos/

- Plan your visionOS app: https://developer.apple.com/visionos/planning/

- Human Interface Guideline - Designing for visionOS: https://developer.apple.com/design/human-interface-guideline...

- Apple Design Resources - visionOS: https://www.figma.com/community/file/1253443272911187215/

- App icon tool (Parallax Previewer): https://itunespartner.apple.com/assets/downloads/Parallax%20...

- visionOS Beta Release Notes (new features, known issues): https://developer.apple.com/documentation/visionos-release-n...

5.

Thoughts from “Meet Safari for Spatial Computing”(blog.jim-nielsen.com ↗)

4 points · by itsuka · 3y ago · discuss

comment 3y ago · link · parent

Demo: https://smart-placement-demo.pages.dev

7.

Smart Placement speeds up applications by moving code close to your back end(blog.cloudflare.com ↗)

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

comment 3y ago · link · parent

I am an advocate for knowledge sharing and have previously contributed (a tiny amount) to the community mentioned above, Reactiflux. There, I was able to share my knowledge freely without fear of being penalized or judged through a voting system, or being heavily moderated as is the case with Wikipedia or StackOverflow. I also didn't have to worry about my contributions being eternally indexed on the internet. As a contributor, this is a feature (much less so for the lurker).

On that note, I recently had to request a deletion from Internet Archive because I shared content on my personal website that violates a ToS (it's a Slack archive that I have already anonymized). Unsurprisingly, my request went unanswered.

9.

What’s New in SwiftUI for iOS 17(hackingwithswift.com ↗)

2 points · by itsuka · 3y ago · discuss

10.

Your first WebGPU app: Conway's Game of Life(codelabs.developers.google.com ↗)

3 points · by itsuka · 3y ago · discuss

comment 3y ago · link · parent

Are you referring to the text-gecko model? I don't think it's released to the public yet.

> If I remember correctly gecko is small enough to run on device.

Yes, I also remember reading that it's designed to be lightweight enough to run on a mobile device.

comment 3y ago · link · parent

textembedding-gecko reached GA on June 7th, together with text-bison.

You can view all the models available to you on Model Garden.

13.

Modern CSS for Dynamic Component-Based Architecture(moderncss.dev ↗)

3 points · by itsuka · 3y ago · discuss

comment 3y ago · link · parent

For those who are curious (like me), Human Interface Guidelines and design templates for visionOS will be published later this month alongside the first visionOS developer seed.

(source: WWDC23 Slack)

comment 3y ago · link · parent

If I remember correctly, Safari addressed many transform-related bugs two years ago, which resulted in me noticing fewer bugs (quite drastically). Around that time, Safari became my primary development browser, which may have also contributed to this observation.

Based on Web Platform Test [0], it looks like Chromium browsers are not performing any better in this area.

[0] https://wpt.fyi/results/css?label=master&label=experimental&...

But I feel the pain of having to carefully test 2D/3D transform and animation on all browsers across platforms (even Safari on iOS and macOS can have different behaviors).

16.

News from WWDC23: WebKit Features in Safari 17 Beta(webkit.org ↗)

55 points · by itsuka · 3y ago · 24 comments

17.

Safari 17 Beta Release Notes(developer.apple.com ↗)

4 points · by itsuka · 3y ago · 1 comment

comment 3y ago · link · parent

How about prompt construction? I first heard about it from the maintainer of LangChain, and I also came across it in Azure docs: https://learn.microsoft.com/en-us/azure/cognitive-services/o...

comment 3y ago · link · parent

I'm not sure what you're trying to build, but by the end of the second course, you should be able to create a customer service chatbot that is equivalent to what others have built. If you're interested in building/fine-tuning an LLM, that's totally beyond my knowledge.

comment 3y ago · link · parent

I have taken Andrew Ng's courses on DeepLearning.AI and I highly recommend them if you are interested in quickly building LLM-based apps.

I suggest taking them in the following order:

- https://www.deeplearning.ai/short-courses/chatgpt-prompt-eng...

- https://www.deeplearning.ai/short-courses/building-systems-w...

- https://www.deeplearning.ai/short-courses/langchain-for-llm-...

Note: although I only have basic Python skills, I am still able to follow these courses

comment 3y ago · link · parent

I have never built an agent before, nor am I knowledgeable about the latest studies in this field. So what I am saying below is likely to be nonsensical.

I was thinking that perhaps we have been working with abstractions that are too low-level. Instead of providing a set of tools such as API calls or text splitters, wouldn't it be more reliable to give agents templates or workflows of successful tasks, such as trimming videos or booking restaurants?

These templates would consist of a set of function calls, or a graph of connected components in low-code tools like LangFlow. I believe auto agents already use a similar concept where they cache successful tasks for future reuse. The idea is to populate these caches with the most common use cases, and use retrieval if they become too large, so that we don't experience cache-miss most of the time and work with lower-level abstractions (tools) as the baseline. Templates, like prompts, should be portable (e.g. JSON) to avoid the need for everyone to reinvent the wheel. While this solution may not be as impressive as a full autonomous agent and may not work for a generalized case, it should produce a more predictable outcome, I think.

22.

Design a superior user experience with the new Side Panel API(developer.chrome.com ↗)

2 points · by itsuka · 3y ago · discuss

comment 3y ago · link · parent

I maintain a list of OpenAI-powered OSS UIs: https://github.com/itsuka-dev/awesome-chatgpt-ui

This one seems to have gpt-4-0314 model: https://chatgpt.nextweb.fun

24.

The Future of AI Interfaces – With Linus Lee of Notion(latent.space ↗)

5 points · by itsuka · 3y ago · 1 comment

comment 3y ago · link · parent

For gradient tool, I can recommend https://gradient.style by Adam Argyle

Not only is it easy to use (IMO), but it's also more powerful than what design tools offered today, with new color spaces being one of my favorite features.

Intro: https://twitter.com/argyleink/status/1649124742463623169

comment 3y ago · link · parent

Thank you for taking the time to explain things so clearly to me. Considering the reuse, having values in a separate page makes sense now.

comment 3y ago · link · parent

To celebrate React 10th anniversary, Next.js interviewed Andrew and Sebastian from React core team: https://www.youtube.com/watch?v=g5BGoLyGjY0

comment 3y ago · link · parent

You're right. I am not as familiar with MDN's organization and CSS as you are (I only recently discovered that CSS is a typed language). However, I find it confusing that some pages have their own page for values, while others don't. As a reference page, I expect the valid syntax for all values to be provided. But I agree that specific examples can be linked to other resources.

comment 3y ago · link · parent

I wish they'd update their docs with better examples before creating content in other areas, such as tutorials and blogs.

As an example, when comparing these two pages:

- Blog: https://developer.mozilla.org/en-US/blog/css-color-module-le...

- Reference: https://developer.mozilla.org/en-US/docs/Web/CSS/color

It is apparent that the reference page lacks any mention of features from level 4 such as oklch, display-p3, and color function. Also, a search for "display-p3" in the search bar returns no result on that page.

12345