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

I have no idea why this is the case, and would love some insight if anyone has it.

Rails has this behaviour (which is where I spotted it) but it seems very counter-intuitive

> ActiveSupport::TimeZone['Etc/GMT+12'].now

Wed, 21 Jun 2023 13:07:24.082417000 -12 -12:00


> This site is usually much classier and intelligent

we must be on different sites


> Tell me how you do the control/auth and allow certain users to access a resource while others

how would you do this with REST? or any other kind of API? graphql, at it's core, is a tool for the frontend to describe to the backend what data it wants. how the backend replies to that is completely up to the backend.

> formulate complex queries where they ask for the kitchen sink

most concrete implementations i've seen include a way to limit complexity. in `graphql-ruby` for example, you can limit how many nodes, and you can apply a "cost" to a particularly expensive-to-calculate node if you like. Say you give an API only 10 "complexity points". You could make most nodes cost 1 point, and expensive nodes cost 3 points. Now, someone can _request_ the kitchen sink, but you can respond with a "no".


there was a point in time when you could run nvidia gpus in mac pros. there were first-party drivers for nvidia cards on macOS


This is not true, at least in Chrome. I've tried with an object with the `toString` property set, and tried with a function with an updated prototype. In both cases, Chrome just...displays the object.


I just ran the poc I posted in this sibling comment[1] on Chrome Version 111.0.5563.65.

[1]: https://news.ycombinator.com/item?id=35240559


surely not if the customer _explicitly requests_ that the communications are blocked? iirc in Aus it was possible to have your provider block messages to premium rate numbers back in the days when it was popular to buy ringtones.


> Everyone can see all the demos, but only sponsors can see the code for demos marked with . Locked demos are unlocked for everyone after being sponsored by five sponsors.

i think the demos are visible to everyone, but the _source_ is only viewable by sponsors.

that said, still seems weird to lock away code that could make people use your product.


the op is saying "if we autofocussed, we'd need to load all the JS involved in performing the search"


that's pretty much what the comment above is saying. Bootstrapped founders may take money, if they aren't told "you need rocket growth now"


Ahh yeah I misread the comment.


There is no lowering of your rates if you have too much. It's just that the bonus interest rate only applies to the first $50k you have in your Saver accounts (cumulative). I.e. if you have $51k, you'll only get the bonus interest rate on $50k of that. The remaining $1k only gets the base interest rate. You can see more on the pricing page [1]

Disclosure: Up employee. Not financial advice, etc, etc.

[1]: https://up.com.au/pricing/


Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: