Hacker News new | past | comments | ask | show | jobs | submit | xaro's comments login

I configured Reddit as a "Lense" (similar to what Kagi uses for things like searching across Forums, or news). With that, now I have a simple toggle at the top of Kagi which allows me to immediately turn a search into a Reddit search.


I did the same and added a custom bang so I can use it from the address bar directly (!r pointing at https://kagi.com/search?q=%s&l=8 where 8 is the lens id).

Probably least a third of my queries are preceded by an !r now. A third of the rest are now question mark queries that activates their AI fast answer. It's like the google info box on steroids since it can answer any query and it works with lenses to restrict the fast answer to specific domains.


By the way, you don't have to manually add a custom bang and point it to your lens id, you can configure a bang for the lens directly in the settings of your lens


You can also define r as a “quick bang” which means you can just use “r” without !


It took me way too long to start using Lenses. I've been a Kagi user for a while now, but lenses never really seemed that useful. The unlock for me is that I'm often looking for 3D models, so I added one for all the usual 3D model suspects (Thangs, Printables, etc).


Do you find that works better than using Thangs directly? It’s a meta-search engine itself.


I similarly added one that is for the recipe websites I like the most. It was a game changer!


I have !sgn to search sourcegraph for nix code.


Forgive my ignorance. I'm curious as to how that works.


For extra fun, add a rewrite rule to change every result from reddit.com to old.reddit.com: https://help.kagi.com/kagi/features/redirects.html


i just pinned reddit, wikipedia to top so my searches will usually display them first.


Thats the best way, because then what you're looking for gets surfaced rather organically, and its right there, so you don't have to go out of your way to find it.

Generally I've started using bangs and lenses for changing searches in a wholly categorical manner. I.e. the !i bang for image search.

I did change the !p bang from podcasts to activating the programming lens, because programming tends to have a lot of terms that overlap with more general language, and so sometimes its nice to swap in and out of that mode.


I've been using site:reddit.com for ages now on ddg.


oooh, I didn't know I could do this. Doing it now. Thanks!


can you share your reddit's lense?


That's kinda true, but we can request to get our copyright back on a per-project basis.


I experienced this just the other day. My father was looking at a price in his computer that I couldn't get (I was getting one that was $500 extra). I erased the cookies of the AA site, refreshed (exactly the same flights, the same days, everything the same) and bam! $500 dollars cheaper.


I bet you can't reproduce that result ... As someone else here stated, nobody can prove this happens


I met the creator (http://en.wikipedia.org/wiki/Ludvig_Strigeus) the other day, and he LOVES to micro-optimize. He's a genius, and made a vere light uTorrent (it was supposed to be a really light bittorrent client) and then he sold it to bittorrent and stopped developing it (and that's why it stopped being lightweight).

Awesome and interesting guy.


The first one is Megaman?



Many thanks! A few too many old versions, really ;-)


That's what Stripe do.


But isn't that just between Stripe and the company requesting payment?

e.g: Acme, Inc. sends Stripe your CC#, Stripe sends them some unique token, and they store that; correct?

So Stripe still has your CC#, and is at risk.

So this is really just risk mitigation; what I think TP is suggesting we need is unique authorizations at the banking level.

Something on the order of virtual credit cards, or temporary tokens, which are ultimately verified by your bank [or in other words: the lender(s) making anti-fraud guarantees, etc.]

(e.g: this token is authorized for 24 hours up to this limit; this token is authorized indefinitely up to $xx/mo.; this token is authorized for 1 year; etc.)


No. Customer sends Stripe their CC number, via AJAX in the browser. Acme, Inc. never has it even transiently. Stripe return a token to the browser, which is sent in a POST to Acme, Inc., then they verify it server side with a private API key.

Edit: yes Stripe has your number, but since their sole business is about securing that information, they probably do a better job of it than your typical online merchant.


Does it look fine in a Kindle with E-ink?


I don't have JoC 2e yet, but I've read several other Manning books (including the first edition of JoC) on my e-ink Kindle and they looked good. You lose a little formatting and sometimes particularly wide tables or code samples get screwed up, but that's the nature of reflowed text and multiple target devices.


You'll get an .epub when the final book is out.


What I don't like about it is that it always returns the same image (not a random one) for a given size.



Yeah, they seem to be static images stored on the server, rather than generated dynamically via, say, Google Search. Personally I would have gone via that route. Have the word "kitten" and the pixel size as parameters, and serve a random photo out of the first 50 results.


This would mean no caching, so your computer would have to download the image every time, even if it was the same as one you'd already seen.

Unless you're only using these images for client demos, it can be very slow and frustrating waiting for them to load every time you refresh while trying to do html, css or js tweaks.


Also, licensing.


Well, Rotten Tomatoes offers an API, and IMDB offers all their data for download in text files.


Not sure about RT, but IMDB has some fairly strict rules about how their data can be used. http://www.imdb.com/help/show_article?conditions

IANAL but from my reading it sounds like non-commercial use is ok.


I'm also not a lawyer, but I think you'd have a very hard time litigating for user-contributed content that has no creative value and is publicly available for download.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: