Better HN
topnewbestaskshowjobs
Log inSign up

wesammikhail

681 karma · joined Nov 1, 2018 (8y ago) · 277 submissions

Submissions

comment 2w ago · link · parent

I never dug into it but I suspected memory optimization to be the reason. Thanks for confirming.

comment 2w ago · link · parent

I had this happen to me yesterday in spite of knowing about it because I was rushing. I added phone numbers as array keys to deduplicate the whole set. Some ended up as ints and some as strings.

PHP arrays are the most versatile part of the language. They're what actually makes the language so good in so many ways.

But typed arrays are a freaking requirement at this point and I've been screaming about it for years now... alas no response.

comment 2w ago · link · parent

Isnt that... what circular financing often refers to?

If I invest in you and you use my stack and pay me for it. It's circular. I don't think it should be illegal to do this type of vendor financing/investment or what not as it has its legitimate uses.

But it is circular.

comment 2w ago · link · parent

Hmmm not much changed you say... Lets take a look at https://wiki.php.net/rfc

ooh wait, you couldn't be more wrong. Pikachuface.png

comment 2w ago · link · parent

inb4 "Rewrite bitcoin in Rust" comments stars pouring in

comment 2w ago · link · parent

That's exactly it but PHP Core refuses to address the typed array issue in wait for a consensus on Generics even though those two things serve different audiences.

I haven't actually run into a single issue with PHP's type system in the last few years. Literally the only thing that remains is typed arrays but that seems to be ways off due to fragmentation in how the core devs want it handled.

comment 1mo ago · link · parent

wrong! it was the death of Harambe that caused it.

comment 2mo ago · link · parent

> and for choice mode it can only select from 10 choices.

Rip there goes my excitement. I have a task that something like this would be great for but the list of options is a zero or two larger than that xd

comment 2mo ago · link · parent

https://x.com/kyanyang_/status/2097211154669998337

Just saw this a few mins ago.

comment 2mo ago · link · parent

It's not a "Zitron claim". it's literally in the filings...

comment 2mo ago · link · parent

What? no human in history has gotten anything 80% right. You're doing exactly what this piece complains about.

comment 3mo ago · link · parent

I dont use open router so can someone explain to me how it works in that different vendors have different api parameters?

is the selling point that they just give you access to a unified access in where you get to write each request toward the particular api provider's api spec? if so why not just sign up with the vendor directly?

comment 3mo ago · link · parent

Appreciate it. Really looking forward to your feedback.

I have my own infra setup and started with 25k seed domains including major known startups, YC companies and things like that. I collected some of the data via scraping and then merged it with 3rd party enrichment sources. Once the crawling per domain is finished, it is put on a 30 day schedule to repeat the crawl just to keep things fresh.

If you are on desktop and click on a result entry, you'll see expanded data for each domain. In reality that's just a small portion of the total data I collect.

Anyway, really looking forward to hearing your thoughts!

comment 3mo ago · link · parent

Thanks :)

It's mostly for navigational search. Say you're looking for a tool that does X, this engine will match your query against all the domains in the database to find you the closest matching domain that solves for that pain point you have.

It's like a discovery engine to help you find tools, products, services, or domains that cater to (or market themselves as a solution for) the problem you have.

Curious to hear if you have any feedback on the concept as is or if you can see any potential changes that would make it work better?

comment 3mo ago · link · parent

Cheers!

I first thought about this approach back in 2011 when I was in college. But never did anything with the idea because I did not have the resources at the time to build something like this.

As of late however, it has become rather clear that the current distribution channels for businesses, both organic and paid, are getting squeezed.

- Google doesnt send you traffic anymore

- Search results are infested with SEO optimized content that no one can compete with

- LLMs cite the same garbage

- Distribution via advertising is getting more expensive each day

- Social channel are all about clickbait and maximize following which encourages quantity over quality

It's clear that the relationship between product-sellers and potential-buyers is completely out of whack today. Most of the time they can't even find each other.

That's why I decided to crawl a small index of 25k websites and try this out.

The idea is to profile a domain as a whole (single entry) and match the user's query to find the best fitting product/service that solves their pain point. This ignores any SEO optimized content, spam, black hat garbage, and instead focuses on finding the best match making the distribution playing field more equal.

Is this a good idea? I still don't know. That's why I'm looking for feedback. I could easily improve the search result quality by like 5-10x but I'm trying to ascertain first if this approach is even helpful to people.

Curious to hear if you have any feedback for me?

16.

Show HN: A new type of search engine(galefox.com ↗)

4 points · by wesammikhail · 3mo ago · 6 comments

comment 4mo ago · link · parent

I've had an idea for a different type of free & open search engine for the last 15 years. I ended up pursing other ideas instead over the years.

Last month however I decided to go back to the idea and give it a shot. Right now I'm in the process of scraping and building a huge index. The technical challenges have been plenty. But I should be ready to publish an alpha version by end of month or so.

comment 4mo ago · link · parent

It's been working for tens of thousands of years. What changed in the last few decades wasn't parenting or technology. It was the rise of the nanny state where the parents gave up the parenting of their kids and entrusted that to educational institutions instead.

comment 4mo ago · link · parent

Funny you bring this up.

Back in the day when I was like 15 and DC++ was still a thing, I used to browse people's shared folders. One day I came across a file called "the paradox of false positive". It was a 1 pager that described how a machine which is 99.9% accurate at identifying terrorists would be completely useless due to this false positive base rate fallacy you're describing.

It really stuck with me throughout the years. It's kind o remarkable how even a 99.9% accurate heuristic is insufficient at scale.

Which begs the question: lets assume the intentions are pure (which we know they're not but lets be generous), what other options are there when 99.9% heuristic is not good enough? how do you design systems when they're guaranteed to fail as they scale up?

edit: and what do you know, I just saw this as I scrolled down on HN https://news.ycombinator.com/item?id=48816959

comment 5mo ago · link · parent

if("false" === true) echo "PHP sucks";

else echo "You're full of shit!";

// output

> You're full of shit!

comment 5mo ago · link · parent

Been using PHP for 20 years and have built multiple startups with it that went from ideas to exits.

Today's PHP is better than it has ever been. Are there some things that are rough around the edges? yes ofc. But there is no language that doesn't have that. It's all trade-offs.

Last week I switched from Nginx+FPM to FrankenPHP and my god even the deployment experience got 10x better.

Safe to say that if you haven't tried the language, give it a shot. Within a few days you'll know if it's a good fit for you or not!

comment 6mo ago · link · parent

I dont know what it is with products names these days. Antigravity, Antimatter, Composer, Clay, Ramp, Bolt, etc.

You'd think the founders would Google for naming conflict before choosing a name.

comment 6mo ago · link · parent

Models consume more tokens than ever for the same tasks.

comment 7mo ago · link · parent

you'd be surprised how good small models have gotten. Size of the model isnt all that matters.

comment 7mo ago · link · parent

I've seen sources like this before. It's all hearsay and promo. I was asking for any publicly available verifiable information regarding the cost of inference at scale. I haven't seen any such info personally which is why I asked.

I'm dying to see S-1 filing for Anthropic or OpenAI. I don't actually think inference is as cheap as people say if you consider the total cost (hardware, energy, capex, etc)

comment 7mo ago · link · parent

“people start with a k8s cluster for 5 users” doesn’t really exist

Most people in the BiP these days barely know how to deploy a database or host something using nginx. it's all vercel, supabase, aws, clerk, yada yada. Cost aside, I think that people are addicted to complexity.

comment 7mo ago · link · parent

source?

28.

Finetuning Activates Verbatim Recall of Copyrighted Books in LLMs(arxiv.org ↗)

2 points · by wesammikhail · 7mo ago · discuss

12345
10