Recent submissions

Comment · 3 years ago
What do you use to index image vectors? Does a "retrieval based modal" not require an index?
Comment · 3 years ago
Maybe because other people search in different places. Events/Businesses: Google Maps, Instagram Trend/Tutorials: Tiktok, IG Reels News: Twitter/Social Media/News Outlet of choice

Google is for searching new sources of information and either it’s instant (google info box) or takes too long which makes a lasting memory about it being painful.

Comment · 4 years ago
Comment · 5 years ago
So many interesting findings in the post.

The tantivy binary search & rust binary search only has one different at the end, knowing the size of the slice ahead of time, right?

Could the rust compiler infer the size ahead of time?

Comment · 5 years ago
Even if your current employer let's you talk about specific numbers, without context they don't tell the recruiter anything.

"The API latency was 10 seconds, now it's 8.5 seconds."

or

"I reduced the p99.9 latency from 1 sec to 400ms" (by removing input validation)

Comment · 6 years ago
So costco pays a small companies to sell their product and extract sales data.

Should amazon start paying small companies at the same margin that costco does?

Comment · 6 years ago
i suggested building this at a bigco where i work last year, built a prototype using postgres and wrote the design doc.

sadly it wasn't picked up.

Congrats on product, there is a big market for it

Comment · 6 years ago
zoekt is absolutely awesome, I was reading it’s code yesterday to figure out how it does ngram indexing and search.
Comment · 6 years ago
Capitalism is the way a system set of connections between subsystems and politics is a way to reorganize a system from within itself.

> can the system still be simplified enough to grasp it well enough to change it?

That would be a model of a system not the system itself, and as George box said "All models are wrong, but some are useful"

> where would an individual who has grasped it find the power to change anything?

If an individual is able to change connections between subsystems, they can change the behavior of the higher level system. But the impact of the change is dependent on the systems being changed.

Comment · 6 years ago
I am all for the Go idiom that variable name length should be directly proportional to it's scope, the code samples in the post have take it a bit too far and make the code harder to read.

it would be so much more readable if the struct had more descriptive names

    type Cuckoo struct {
       buckets           []bucket
       numBuckets        uint
       entriesPerBucket  uint 
       fingerprintLength uint
       capacity          uint
    }
Comment · 7 years ago
Why do you hope so? Vala is a decent language which let's users build Gtk applications easily.
Comment · 7 years ago
Sometimes it's not about show how smart they are, developers aren't clear about the code they are writing.

when I write code for a concept i don't understand completely, it tends to be complex and cryptic. I'll go back to it after trying to understand the problem and the problem space more and be able to write simpler code.

Comment · 7 years ago
Comment · 7 years ago
> the evolution of slave labor is going to make the H-1B horror stories from the 90's to the present sound like fairy tales.

Sorry, english is not my first language. can you please elaborate on what you mean?

Comment · 7 years ago
Immigrant here, and I can read, write & speak english.

If i don't have a job with a company willing to sponsor my visa I would have to get back on the boat and leave.

My friends, who are from smaller countries have the privilege but I do not.

Stats from travel.state.gov

https://travel.state.gov/content/dam/visas/Statistics/Immigr...

    Waiting list size by country
    Country             Applicants
    Mexico              1,229,505
    Philippines         314,229
    India               298,571
    Vietnam             231,519
    China-mainland born 231,519
    Bangladesh          169,231
    Dominican Republic  146,160
    Pakistan            115,625
    Haiti               94,506
    El Salvador         64,868
    Cuba                55,847
    All Others          840,393
    Worldwide Total     3,791,973

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton