Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
atwood22
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
241.
▲
by
atwood22
4y ago
I don’t think you can create native bindings in WebKit. You can only interact with something like WKWebView using serializable messages. QuickJS let’s you create native objects and expose them directly to the JS API. QuickJS also let’s you
242.
▲
by
atwood22
4y ago
You can perform the same thought experiment by pretending you can only “see” in 2 dimensions. Using the MRI example, pretend you “see” sequential slices of the MRI. Prior slices still don’t cause later slices even though one of the dimensio
243.
▲
by
atwood22
4y ago
I’m not convinced the relationship between poor vision / hearing and dementia is causal. Couldn’t poor brain function also lead to a decline in vision and hearing? What’s the evidence that one causes the other?
244.
▲
by
atwood22
4y ago
It’s really good as an embedded JS engine. Like let’s say you want to make an iOS app that executed JS. If you use V8 (Node’s JS engine), then you’re app is at a minimum 28M in size just from V8. If you use QuickJS, your app size increases
245.
▲
by
atwood22
4y ago
For some reason I remember the compiled size for Duktape being smaller, but I could be misremembering. It's been a few years since I've used both libraries.
246.
▲
by
atwood22
4y ago
This solution would work if there were only one valid configuration for your set of possible guesses, but there will be many valid configurations. But you're right, it's not an exponential in the number of possible guesses, rather
247.
▲
by
atwood22
4y ago
As is the case with most things, there is probably some power-law in effect. 90% of the population likely disposes of the wipes appropriately. But 10% of people probably cause 90% of the issue.
248.
▲
by
atwood22
4y ago
Causality is always hard for me to understand. Imagine an MRI, where you take a 3D object and slice it into a sequence of 2D slices. When you view the 2D slices, is it really true that slice N has any causal relationship to slice N+1? No, o
249.
▲
by
atwood22
4y ago
Having used both QuickJS and Duktape, I have to say that QuickJS is a lot better. Mostly because it's faster and has newer language features. QuickJS has full support for ES2020, whereas Duktape is on ES2015. I guess Duktape is a littl
250.
▲
by
atwood22
4y ago
In your contrived example, you only know the right answer after considering all four possible combinations. That is a combinatorial explosion when there are only two choices to make.
251.
▲
by
atwood22
4y ago
How do you decide which guess to prune? Likely almost every guess would have a conflict, so if the space of possibly changes would be combinatorially large.
252.
▲
by
atwood22
4y ago
Have you tried profiling the app? What is taking so long to initialize? You could try creating an empty Spring Boot application to see what the lower bound is. One thing I've found with with DI is that precompiled solutions like Dagger
253.
▲
by
atwood22
4y ago
His lawyer advised him not to end sentences.
254.
▲
by
atwood22
4y ago
Hmm based on your comment, I think people understand better than you think. Obviously if the life expectancy is 40, then some people live longer. Half of all people who live to 20 dying before 40 is probably what most people think of when t
255.
▲
by
atwood22
4y ago
Go’s HTTP routing is very primitive. That’s one big area that I’ve always needed to use a 3rd party dependency. The main issue is that it doesn’t support placeholder values in route paths.
256.
▲
by
atwood22
4y ago
Another example is interface usage. You may have a commonly used interface with only one implementation. The implementation is the important part, but almost no usage depends directly on the implementation.
257.
▲
by
atwood22
4y ago
I think you’re missing the point. No one is saying that shorter men will never be desirable to any woman. What this study suggests is that being short is a disadvantage, so short people either need to have some other traits that compensate
258.
▲
by
atwood22
4y ago
Didn’t Coinbase cut its marketing budget? Advertising companies are going to feel that trend immediately, even if the quarterly numbers aren’t out yet.
259.
▲
by
atwood22
4y ago
Can you get your equity wiped out at a big corporation? Probably not!
260.
▲
by
atwood22
4y ago
Yes, it’s possible that Tether is suddenly unable to be exchanged for dollars, but it’s pretty impressive they’ve been able to handle a sudden outflow of 20B. They’ve certainly proven their most harsh critics wrong, but there is still risk
261.
▲
by
atwood22
4y ago
No offense, but with no experience being short, you’re completely out of touch.
262.
▲
by
atwood22
4y ago
Yea, I had no idea. The other day, I soaked dried chickpeas overnight to use for dinner the next evening and munched on the soaked beans throughout the day. TIL...
263.
▲
by
atwood22
4y ago
I don't understand the outrage at this art style. Granted, I've never played any of the Monkey Island games, and have no emotional attachment to the content. To me, the art style seems very similar to a Cartoon Network cartoon, an
264.
▲
by
atwood22
4y ago
There's nothing wrong with reference counting. Manual reference counting using a technique like pointers into a generational array is fine. When the reference count goes to 0, release the generational memory. Any dangling pointers can
265.
▲
by
atwood22
4y ago
HN tries to be a forum for topics that aren’t widely discussed elsewhere. There are plenty of other places to discuss politics.
266.
▲
by
atwood22
4y ago
> Are public employees not allowed to pray on the job? In this case, I would say yes, the coach should not be allowed to pray because the prayer was done as part of his role as a coach. Like if a social worker prays that a child is ok wh
267.
▲
by
atwood22
4y ago
I really don’t understand this ruling. > “Respect for religious expressions is indispensable to life in a free and diverse Republic—whether those expressions take place in a sanctuary or on a field, and whether they manifest through the
268.
▲
by
atwood22
4y ago
Honestly, ARC in a game engine sounds miserable. Circular references are a common occurrence in game development.
269.
▲
by
atwood22
4y ago
True, but I meant that fan runs when the compressor is running to blow air over the coils. That movement of air will allow more transfer of heat from the stuff in the freezer.
270.
▲
by
atwood22
4y ago
Unity's asset store is a pretty cheap and convenient way to get assets if you're on a budget.
More ›