News for hackers. Stuff that matters.

victordg

Claude Code skill for building ChatGPT Apps

The ChatGPT Apps SDK has a steep learning curve, specially OAuth, where you're the provider and ChatGPT is the client (not the other way around). This can trip you up easily.This skill teaches Claude Code how to build ChatGPT apps correctly: - MCP server setup (Node.js/Python) - OAuth with PKCE and Dynamic Client Registration - Widget development with window.openai API - 20+ gotchas with...

( Read More... | no comments | on HN )
I had been wanting to play around in a project with dense user interfaces and Bloomberg terminal aesthetics and, so an investment dashboard seemed like a good fit.

It aggregates market indicators that have been known to generate contrarian buy/sell signals. CNN Fear & Greed, Bank of America SSI, AAII Investor Sentiment Survey among others.

A few technical details:

* vibe coded ~70% of it — the parts that not were either UI polish that was faster to do directly or points of the data scraping pipeline where Claude got stuck

* architecture: vanilla JS frontend + Python/Flask backend + background jobs that run an AI data extraction pipeline (Perplexity Sonar / Exa for search + GPT-5)

* runs on render.com as web service + two cron jobs that run the data update process and send daily email notifications

At some point I did try Codex for a few PRs that were never merged and I re-did instead with Claude.

Show HN: Contrarian Signals – market sentiment indicators

https://contrariansignals.com/

A dashboard of market sentiment indicators deliberately biased towards the opposite of whatever the crowd is doing right now.This was also partly motivated by wanting to play with terminal aesthetics and dense user interfaces.Indicators: CNN Fear&Greed, Put/Call ratio, AAII Sentiment Survey, BofA Sell-side indicator, among others — feedback appreciated on potential signals to...

( Read More... | no comments | on HN )
"2.8 million euros went to Peter Millones, the vice president. Nearly 20 million euros, mostly in shares, went to CFO David Goulden"

Goulden & Millones. You could not make this shit up.

Thanks a lot :)

Httpdiff is a really good tool and way more powerful than mine.

I've used it multiple times and wanted to try making something that focused more on the request body (which in Httpdiff are saved to temporary files) and that was also a bit more visual than a CLI.

Btw, here is the code! https://github.com/vdel26/requestdiff

Right. I was aiming to do it client-side only but I found out that web browsers restrict the headers you have access to through cross-origin XHR requests [1][2].

So it was a trade-off and I preferred showing all the headers at the expense of having to proxy the calls through a server.

[1] http://www.w3.org/TR/XMLHttpRequest/#the-getallresponseheade...

[2] http://www.w3.org/TR/cors/#cross-origin-request

I will make it available on Github later, so that you at least have the option of running it yourself.

Great questions:

1) the diff is really simple, line by line and text based. I'm just using this really awesome library to do it: https://github.com/kpdecker/jsdiff The JSON is just being pretty printed to be able to do a text diff in a meaningful way.

2) Yes, I do, and thanks for the suggestions! But I just wanted to go with the minimal version first and see if people found it useful.

I didn't know about Runscope's diffing feature. Btw, I'm using a HTTPBin for the sample requests, which is a Runscope project as far as I know :)

Not yet, but I'm planning to open source it later today. I will reply here with the Github link. Glad that you found it useful!
Re:Tinychart – simple, ready-to-go charts on Friday February 13, 2015 @12:38PM (#9045615)
oh, it uses localStorage to store your chart data so that you can refresh the page and you won't lose your changes.

But you are totally right that it should not be requirement. I will fix that today. Thanks for letting me know!

Re:Tinychart – simple, ready-to-go charts on Friday February 13, 2015 @11:22AM (#9045090)
This is my first project in React.js and it was really nice to work with.

The only part I struggled with was while building the table editor. I'm using contentEditable there and apparently React doesn't play well with it. The virtual DOM gets out of sync after user input and you have to manage it manually.

I really enjoyed making this and I'm happy to hear any feedback about ways to improve it! :)

Re:Tinychart – simple, ready-to-go charts on Friday February 13, 2015 @11:19AM (#9045069)
thanks for the feedback! I will take a look at that.
I made this simple Twitter bot for myself but I thought other people might like it.

Follow https://twitter.com/bestnytbooks on Twitter to know whenever a new book gets into the NYT best sellers list.

Only weekly book tweets, no spam or other superfluous content.

Usage of Tumblr looks surprisingly high (at least for me), according to that graph. Even though that stats are exclusively for the younger segment of users, they don't seem to correlate at all with overall data I've been able to gather. For example: - Facebook's unique visitors ~160M http://www.reuters.com/article/2012/06/21/net-us-facebook-us... - Tumblr unique visitors ~24M http://blog.compete.com/2012/10/10/pinterest-surpasses-tumbl...
Great! Java detection would be a really nice feature. Further detail in OS versions would be pretty useful as well.