Better HN
topnewbestaskshowjobs
Log inSign up

shanebellone

767 karma · joined Aug 16, 2022 (4y ago) · 603 submissions

Submissions

comment 3y ago · link · parent

If the problem seems vague, then the solution is not for you.

The concept of a "mom test" is condescending as well. Many moms code.

comment 3y ago · link · parent

Yes, but multiplexing does minimize the problem. You could multiplex batched requests for hundreds of resources with my strategy.

comment 3y ago · link · parent

They don't reduce request count. For example, Chrome only allows 6 concurrent connections (requests).

If you load 10 images in 1 request, you've reduced network latency and avoided the connection limit.

comment 3y ago · link · parent

As a publisher. One who seeks to decrease load times on pages that require many resources.

5.

Ask HN: Would you pay to reduce HTTP requests?

2 points · by shanebellone · 3y ago · 8 comments

6.

Ask HN: Have you sold or licensed tech? Share your story

3 points · by shanebellone · 3y ago · discuss

comment 3y ago · link · parent

I already have a working prototype that batches media requests. In my example case, I'm sending 1 request and receiving 6 images in return.

comment 3y ago · link · parent

I'm familiar with css sprites too. That's still just 1 image per request though.

Say you wanted to populate a social media feed... you'd need to dynamically call media. That produces a huge amount of requests.

What if you want to batch 10 images per request? Does anyone currently do that?

9.

Ask HN: Retrieving multiple images with a single request?

1 points · by shanebellone · 3y ago · 6 comments

comment 3y ago · link · parent

"I haven't understood why apps are not what you ask, so I tried to remember some well-known technologies/approaches."

I'm talking about websites that function like apps but have the privacy/security benefits of being sandboxed inside the browser (accessed by URL or link).

It seems we may be talking about different things. I am not advocating for downloadable apps (I've never liked the app store paradigm nor the access it grants random developers). I'm advocating for more capable websites (which IMO "ought" to protect user data--not leverage it).

comment 3y ago · link · parent

Why such archaic examples?

Imagine visiting this website, Hacker News, to read a few posts/discussions. Does the idea of circumventing a refresh offend you? You could click into a threaded discussion (from the homepage) and back without triggering a reload or needing the data beforehand.

Other than the indexability problem, it seems like an ideal solution. In many use cases, the indexability problem is actually a feature too.

comment 3y ago · link · parent

Ah, but that's not that case here at all. It's not an app. It's still a sandboxed web page. The only difference is the communication method. Rather than a transactional client-server relationship, we adopt the media-steaming approach post-load.

That is to say: You would load your desired website (the standard way) and then experience a "refresh-less" session for the duration of your visit.

comment 3y ago · link · parent

It does sound like it, but no it's just plain JS. I recorded a short clip; showing is better than attempting to explain.

Edit: It is almost AJAX. The more I think about it the more the boundaries get blurry. Essentially, it's AJAX that does not fetch or receive resources directly. It interacts with a buffer that holds JSON which describes the next batch of cards. The images are streamed via <img> tag, so the buffer is small relative to the media it represents.

https://www.youtube.com/watch?v=6eSDuAe3pHA

comment 3y ago · link · parent

By snoop-phone, do you mean stalkerware? I have not heard this phrase before. Thanks in advance for the clarification.

comment 3y ago · link · parent

Let me clarify with some context. I've been tinkering with an infinite grid concept that consumes a streamed JSON feed (plus a sufficient data buffer to hide any delay from the user) to create and then display content with the help of a JS factory. All related media is then streamed to the browser and lazy loaded when needed. With this setup, you can traverse a database without refreshing the page by redrawing the window.

The only potential drawback I see is whether or not search crawlers could index content that's introduced via JS after a page load.

Edit: It also appears to protect from scraping... so I suspect it would conflict with indexability. That's a pretty big downside if true.

16.

Ask HN: Why don't we stream websites like movies?

1 points · by shanebellone · 3y ago · 14 comments

comment 3y ago · link · parent

Really?

Delete my account.

comment 3y ago · link · parent

"State is fundamental to how these models produce coherent output."

Incorrect.

comment 3y ago · link · parent

Partially, I suppose.

The risk vs. reward component also needs to be managed in order to deter criminal behavior. This starts with regulation.

For the record, I believe regulation of AI/ML is ridiculous. This is nothing more than a power grab.

comment 3y ago · link · parent

"Prompts very obviously have influence on the output."

The LLM is also discrete.

comment 3y ago · link · parent

"We arent meant to know exactly what it will output because that’s what it was programmed to do."

Incorrect, we can't predict its output because we cannot look inside. That's a limitation, not a feature.

comment 3y ago · link · parent

'If you have some data and continuously update it with a function, we usually call that data state. That's what happens when you keep adding tokens to the output. The "story so far" is the state of an LLM-based AI.'

You're conflating UX and LLM.

comment 3y ago · link · parent

I view it as long-form autocomplete.

comment 3y ago · link · parent

"On a very fundamental level the LLM is a function from context to the next token but when you generate text there is a state as the context gets updated with what has been generated so far."

Its output is predicated upon its training data, not user defined prompts.

comment 3y ago · link · parent

"Copyright infringement is not stealing, full stop. It is just that, an infringement on a commercial interest that the government grants."

This perspective is incredibly obtuse. You use the law (that you fundamentally reject) as a justification for a semantic debate that no one is having.

Whether you label it as infringement or theft, the impacts are identical. Regardless of the terminology, you are withholding a payment that is owed for something you've unlawfully taken.

Check your footing, your moral high ground is located in the Mariana Trench, alongside debtors and fraudsters.

comment 3y ago · link · parent

"Neither is text generation as you continue generating text."

LLM is stateless.

comment 3y ago · link · parent

Regulation is the only tool for minimizing crime. Other mechanisms, such as police, respond to crime after-the-fact.

comment 3y ago · link · parent

I expected them to recognize and assess risk.
12345
21