Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>two liner to scrape a web page, parse it and call a REST endpoint with the parsed data as JSON in PowerShell

Can you post this 2 liner? Sounds interesting.



I can't post the one-liner as it's earning me a shit ton of cash every month but in concept it's the same as what I've posted here:

https://news.ycombinator.com/item?id=9649090


How can two lines of code be earning you shit tons of cash? Can you show it if you swapped out specific details with generic placeholders (which page you're parsing, which endpoint you're hitting)?


It merely exploits some fundamental differences on how humans operate between two markets and turns that into real-time information for me on which I can make trade decisions.

This isn't stocks, shares, futures etc for ref either.

I don't want to say any more nor post any code as it's unique and a good earner at the moment.


> It merely exploits some fundamental differences on how humans operate between two markets and turns that into real-time information for me on which I can make trade decisions.

Now that's teasing ;)


> It merely exploits some fundamental differences on how humans operate between two markets and turns that into real-time information for me on which I can make trade decisions

Let me guess: arbitrage applied to sports gambling. Wink my way if I'm on the right track.


No wink. Doesn't involve betting. Although that's a good idea :)


Understandable. Sounds really interesting.


I feel as if this comment is an exemplar of Microsoft itself.


I wouldn't post the old python version of it (using urllib2, BeautifulSoup) that ran on a Linode Debian VM either for reference.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: