Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shawnz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
331.
▲
by
shawnz
4y ago
This solves the #1 concern I had with tailscale. Now I feel comfortable recommending this software to anybody.
332.
▲
by
shawnz
4y ago
For non-office workers it's not always convenient to make coffee while you work, so perhaps that's the difference. And to be clear, I don't think it's harmless (but I think the degree to which it is more harmful than caf
333.
▲
by
shawnz
4y ago
Surely the fix there is to improve the regulations rather than banning it?
334.
▲
by
shawnz
4y ago
That still seems like a big improvement to me?
335.
▲
by
shawnz
4y ago
Nicotine is a mild stimulant and we have practically built a society in which stimulant use is nearly essential (see caffeine for example)
336.
▲
by
shawnz
4y ago
There is an informal standard in which copyright notices are annotated with a leading "/*!” to let minifiers know that they should be preserved. See https://stackoverflow.com/questions/11248363/the-purpos
337.
▲
by
shawnz
4y ago
I might be bringing new money to movie publishers by pirating their movies and sending clips to my friends, but that's not a valid basis for calling it fair use
338.
▲
by
shawnz
4y ago
But what about when you're also reproducing the content on your own page like what's being done here?
339.
▲
by
shawnz
4y ago
Sure, but most plastics aren't made with any kind of bisphenol related compounds at all.
340.
▲
by
shawnz
4y ago
> I strongly suspect BPA-free plastics have similar endocrine effects Based on what? BPA is the monomer which makes up polycarbonate plastic, and it's a simple molecule which has been known to be an estrogen analogue for nearly 100
341.
▲
by
shawnz
4y ago
Compare: "In Western countries vegetarianism is already naturally rising" ... "What's needed first and foremost is a culture shift so that we stop seeing meat as a necessity" ... "We have no choice because live
342.
▲
by
shawnz
4y ago
But won't focusing on population control have a similar dystopian outcome?
343.
▲
by
shawnz
4y ago
Sure, but for any given number of people there are significantly more efficient ways to feed them than meat products.
344.
▲
by
shawnz
4y ago
Neither, I'm simply saying your argument applies just as well to harmful products as it does to harmless products, so I don't see how it can be used to argue for the harmfulness of any given product
345.
▲
by
shawnz
4y ago
The person you are replying to isn't saying anything about the probability of individual events. They are talking about the probability of at least one of many events occurring, which does change with the number of events being conside
346.
▲
by
shawnz
4y ago
It's advantageous to use such language to defend harmless products too?
347.
▲
by
shawnz
4y ago
No ADHD diagnosis here, but to me amphetamine feels essentially the same as the feeling I get on a very productive day, only stronger and constant.
348.
▲
by
shawnz
4y ago
What makes that explanation more likely than the other? Imagine there was no optics problem here, and it was just a highly publicized tweet of some internal comms with no PR consequences, it would still obviously need to be removed, right?
349.
▲
by
shawnz
4y ago
Surely if they don't have that context, then it's even less likely they'll be able to roll their own optimization to fix the issue without swap.
350.
▲
by
shawnz
4y ago
No, that's exactly what I'm saying: swap was never meant to let you run workloads bigger than your physical memory capacity.
351.
▲
by
shawnz
4y ago
I'd argue that the fact such a simple and elegant solution as virtual memory is able to effectively cover such a wide range of use cases while eliminating the need for every application developer to duplicate their efforts is the exact
352.
▲
by
shawnz
4y ago
So why not address those edge cases with something like "madvise" style configuration rather than just saying application developers need to reinvent the wheel any time they do something outside the golden path?
353.
▲
by
shawnz
4y ago
All these problems you're describing are way more complicated than "just don't allocate the memory" and would involve sophisticated logic to optimize (like predicting exactly what features are or are not going to be used
354.
▲
by
shawnz
4y ago
If you are suggesting that your applications are allocating a bunch of memory which they literally never use in any way, then I don't think that is really a common issue in practice. In practice I expect the typical scenario you'r
355.
▲
by
shawnz
4y ago
Swap is a performance optimization , so why would you remove it if you care about performance? Contrary to popular belief, swap isn't a way to get extra memory for free: it won't help you if your workload size is bigger than your
356.
▲
by
shawnz
4y ago
> "but it can swap out unused areas" in which case you should fix the program to not allocate a ton of memory it doesn't need Isn't this basically asking every application to independently reimplement their own swap-s
357.
▲
by
shawnz
4y ago
That's exactly what I would like to know -- what are the trade-offs involved in going with my preferred solution of changing modified non-enumerable properties to be enumerable? Every possible solution to the problem could create break
358.
▲
by
shawnz
4y ago
You can specify the value as part of the options to defineProperty, and also it is legal to call defineProperty twice on the same property but with a different value.
359.
▲
by
shawnz
4y ago
> here’s the kicker — if you overwrite a non-enumerable property, e.g. Array.prototype.sort = whatever, it remains non-enumerable. One thing I never understood about this problem: Why not change the behavior so that overriding non-enumer
360.
▲
by
shawnz
4y ago
What makes you say that the normal support channels are ineffectual? Of course no support channel is going to perfectly capture and resolve 100% of cases, right? So why shouldn't Edwin et al pay attention to these alternate channels to
More ›