Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ICodeSometimes
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
ICodeSometimes
4y ago
yeah essentially i was trying to remove backgrounds on the scraped jpegs by just swapping pixel colors which worked horribly, decided to just keep it as a plain white background till i setup some fancier solution to remove backgrounds
62.
▲
by
ICodeSometimes
4y ago
Actually i've got the price data all in the DB but was just worried it would get out of sync pretty often and since i've only got a few sources. Once i've got more sources per knife i'll go ahead and add in "Where t
63.
▲
by
ICodeSometimes
4y ago
Wow what a dope service, love it. I'd love to get access to the data, can totally drop a "Powered by looria" thing on the site as well :D Can you shoot an email to hello@knifegeek.io w some details? Can take a CSV, JSON, api
64.
▲
by
ICodeSometimes
4y ago
Done! Just released the update. You can set it either - in the footer - on the advanced search page - on a knife details page it's global for your user and stores it locally in the browser :)
65.
▲
by
ICodeSometimes
4y ago
Done! Just released the update. You can set it either - in the footer - on the advanced search page - on a knife details page it's global for your user and stores it locally in the browser :)
66.
▲
by
ICodeSometimes
4y ago
working on this now (pushing updates every 10 minutes or so). should have it done within 30! (apologies about using big mac units).
67.
▲
by
ICodeSometimes
4y ago
100% a good point. will get it done!
68.
▲
by
ICodeSometimes
4y ago
also using fp-ts to try out functional programming, it's really perfect for this type of thing, pipe reads really nicely here.
69.
▲
by
ICodeSometimes
4y ago
Scraped 15 websites, got a good pipeline that ingests and cleans the data once the scraping is done. images get positioned according to simple logic (find top, find bottom, rotate, etc...) data is cleaned and units are stripped accordingly
70.
▲
by
ICodeSometimes
4y ago
> But, proper drop downs would help a lot, I can’t always remember all the terms. Just shipped an update to list all values! That's a good point. > And, once I’ve found a knife, showing one’s with similar features would be really
71.
▲
by
ICodeSometimes
4y ago
I think the main problem here is the lack of datasets! the most annoying part of this whole project is writing the scraper
72.
▲
by
ICodeSometimes
4y ago
Used nextjs so this was Link component weirdness in action. swapped it out now and good to go!
73.
▲
by
ICodeSometimes
4y ago
Ah, yes, totally planned pun :D
74.
▲
by
ICodeSometimes
4y ago
> A small friction point is that middle click, ctrl-click, and right-click / open in new tab are all unavailable to access details for a knife. just fixed it as soon as i got home. Should be good to go! --- Select-to-compare functio
75.
▲
by
ICodeSometimes
4y ago
Scraped my way through 15 sites so far. It's wildly boring stuff but someones got to do it There are some general sellers (bladeHQ, knifecenter, mountain) where you can scrape thousands of brands at once which is helpful too.
76.
▲
by
ICodeSometimes
4y ago
This made me laugh quite a bit, took over an hour to do that hover thing and i felt fancy for it too. I just removed it as i agree it looks a little shoddy
77.
▲
by
ICodeSometimes
4y ago
> The white aliased border around the thumbnails looks really really bad, and really turns me off from staying on the site. That is completely fair, looking into ways to improve the images now. Agreed that blades are quite beautiful and
78.
▲
by
ICodeSometimes
4y ago
That is a completely fair point, i'll bump up the interaction limit to 1000 while i figure out another way to rate limit interactions with the advanced search page. Yeah you're right, i've been working on this for two weeks s
79.
▲
by
ICodeSometimes
4y ago
> Back button is broken, for example search for balisong knives, click on one, click back - your search is gone. Not so much broken as non-existent XD. That's a great point though, will add in functionality to keep search state. Yep
80.
▲
by
ICodeSometimes
4y ago
That is... a great point. Thanks a ton! Planning to add pages for each brand (Kershaw, Benchmade, etc...) listing their knives as well as each attribute (steel, handle material, colors, etc.)
81.
▲
by
ICodeSometimes
4y ago
Oh snap, just pushed an update that should fix that. thanks for the feedback!
82.
▲
by
ICodeSometimes
4y ago
Glad you like it :). Yes, i'm actually working on that at the moment. Should have filtering by lock type, blade color, handle color, and use case out by tomorrow.
83.
▲
by
ICodeSometimes
4y ago
Thank you! Actually thats a great idea and should be doable! I already do some analysis on the images. Will take a stab at it in the next few days and post back here.
84.
▲
Show HN: KnifeGeek – Online Database of Pocket Knives
(knifegeek.io)
140 points
by
ICodeSometimes
4y ago
|
88 comments
85.
▲
by
ICodeSometimes
4y ago
looks very slick! are you planning to do the typical SAAS route with this? or is it actually free forever?
86.
▲
by
ICodeSometimes
4y ago
TIL! It definitely struck a cord with my old rubik's cube solving days
87.
▲
by
ICodeSometimes
4y ago
Interesting. I wonder why James didn't attempt to sell it at the very least? 36K ARR means you could have rather quickly found a buyer for 60k+ and gotten rid of the thing for a small but not in-significant payday. Also i wonder if the
88.
▲
by
ICodeSometimes
5y ago
The scariest part of this isn't the 11K lines of code, it's the lack of automated tests. It IS impossible to make any sort of substantial change without breaking another part of the darn thing. My favorite quote has got to be: &qu
89.
▲
by
ICodeSometimes
5y ago
Hey Folks! Introducing writemore.io. A free, easy to use, online writing platform that encourages you to write every day via gamifying the process, analyzing your progress, and providing utilities opinionated towards daily writing. If you&#
90.
▲
Show HN: Writemore.io – Build a daily writing habit
(writemore.io)
2 points
by
ICodeSometimes
5y ago
|
1 comments
More ›