For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | V41frQo1SccpfHI's commentsregister

Out of curiosity, how do you deal with changing exchange rates in that case?


You never want to be lossy with user inputs. Save what they told you and then convert for internal logic.

The OP just described a language feature where you want to multiply euros with usd one place and yen and dinar in another.

You don’t need to do that which is why a decimal or 64 bit int is a fine language approach.


it depends, if it was a currency exchange, it'll be labeled in one of 3 ways, either average rate per unit, absolute, or it'll be a reference to a MSSQL table containing exceptional spot transactions. Otherwise, a complete history of exchange rates is stored in KDB, most days you can take the average, and for small amounts on weekends or days the exchange is closed you can just interpolate, there's also a half dozen XLSXs full of certain exceptional days, so you'll have to check that you're not on one of those lists. Then if you're not dealing with USD->X or CAD->USD->X things start to get hairy.


Maybe a bit of a stupid question, but wouldn't it have been enough to just buy the domain and then configure a redirect to the old domain?


Not if you want to build SEO authority on the new domain


Wow thanks, I was stuck with the iterating part and your solution really helped me :)


what a strange name, "KINDERLULU" in german could be translated to "children's pee"


If that's any indication of what could be on that system I say it's good it got ransomware


It's an Indian brand of cookies.


That's KinderJoy


That's a German brand of sweets LOL


That's Kindergarten


Do not want.

:)


Thank you, ransomware warlords, for the service you've done the world today.


Whats the function of "gluetun" in this setup? Would the VPN-Tunnel then also run via Cloudflare Tunnel?


Hi,

Gluetun has no link to the actual tunnel setup, but since many people seemed to struggle with a vpn container I just used that as a bonus example!


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:

HN For You