Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
coder543
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
177 ms
·
1801.
▲
by
coder543
8y ago
Sounds about right. Even if we imagine that developers adopt this technology for some reason, what's to stop them from also keeping copies of any data they are granted access to? or just using it for auth and giving you no direct acces
1802.
▲
by
coder543
8y ago
At a certain point, bookmarks are just better. I also think at 60 open tabs, I'm not convinced the content was that interesting if you're never getting around to reading it. Regardless, I have been mostly Firefox for a couple of y
1803.
▲
by
coder543
8y ago
> I'd expect this code to at least run It still compiles the code to JavaScript even with the error, and you can still run it, which makes this more of a warning than anything else. That warning based on type inference seems like a
1804.
▲
by
coder543
8y ago
If you don't specify types at all, is that really opting out? This is valid TypeScript code: function foo(a, b) { if (a != 3) { return a + b } else { return "hello" } } console
1805.
▲
by
coder543
8y ago
From what I understand, everywhere that you would need to write a type, TypeScript allows you to either not declare a type at all, or put "Any" and avoid declaring a specific type. I think you can even go so far as to rename a &qu
1806.
▲
by
coder543
8y ago
TypeScript and Python 3 support gradual typing, so code can be optionally annotated with types. This makes refactoring easier, while still benefitting from how you can quickly sketch out new code dynamically and only annotate it once things
1807.
▲
by
coder543
8y ago
for the new neural engine?
1808.
▲
by
coder543
8y ago
The XR has the same CPU/GPU/NE as the XS, and it's advertised as such from what I recall. It definitely should be there.
1809.
▲
by
coder543
8y ago
Are there any apps I can use that would let me see the difference in performance? Or even just use the Neural Engine for anything outside of the built-in camera app and the Measure app. EDIT: I see that Heartbeat is mentioned in the article
1810.
▲
by
coder543
8y ago
pgFormatter formats SELECT 1, 2 as SELECT 1, 2 which is one of the core complaints the article addresses.
1811.
▲
by
coder543
8y ago
Didn't realize, sorry. I was legitimately curious, because it was such an unusually hard-lined perspective to take in this discussion, one that they repeated in several very similar comments on this thread.
1812.
▲
by
coder543
8y ago
The Apple Watch can perform an FDA-cleared diagnosis of certain forms of Atrial Fibrillation, and if what they showed on stage is to be believed, it can produce a really clear ECG that's also FDA-cleared. Just because you're redir
1813.
▲
by
coder543
8y ago
It literally only compares itself to slow, interpreted languages and other, even slower Swift frameworks, with the singular exception of Go, where they're using Gin, which is a rather slow Go framework. Gin is at literally 10% of the p
1814.
▲
by
coder543
8y ago
Swift is not seriously useful for server-side applications at this point. None of the web frameworks have even remotely great performance, and Swift is compatible with almost nothing on Linux, since Apple has put minimal effort into anythin
1815.
▲
by
coder543
8y ago
If that's the case, that's encouraging to hear.
1816.
▲
by
coder543
8y ago
it is worth noting that swift 3 support is being removed from swift 5.
1817.
▲
by
coder543
8y ago
The Swift 5 release process document specifically implies that some Swift 4 code will not compile on Swift 5. This discussion is about source compatibility, not binary compatibility, which neither Rust nor Go offer AFAIK. The number 5 _also
1818.
▲
by
coder543
8y ago
> $100/yr to file taxes Do you actually feel confident that you're filing business taxes correctly by yourself? If so, how did you get to that point? The IRS and the tax code are not things to be trifled with, and I wouldn'
1819.
▲
by
coder543
8y ago
It would have been nice for it to say "JavaScript" in the title of the blog post, anywhere in the blog post, or in the title of the video. That's what I suspected, but I had to scrub through the video just to confirm, which i
1820.
▲
by
coder543
8y ago
Nice attempt at memeing a response, but that comment doesn't work. Most SPAs that I've seen allow bookmarking, back and forward, right clicking to open a new tab... and they certainly don't introduce major security holes to a
1821.
▲
by
coder543
8y ago
This is true for client-side rendering of templates, but not necessarily true for server-side template rendering.
1822.
▲
by
coder543
8y ago
I would enjoy seeing that comparison too, but I have been too busy lately to put time into more comparisons. If someone can show that the Rust implementation of handlebars is slower than the JavaScript one, that would be really fun and inte
1823.
▲
by
coder543
8y ago
It varies from computer to computer. I could definitely see an older/weaker computer struggling with rendering the output from 10k rows, even with the truncation I implemented, but I wanted it to render enough rows that it could actual
1824.
▲
by
coder543
8y ago
It is useful, but I tried to be upfront about the limitations of the current implementation. There's no inherent reason those two features can't be supported, and I want to add support for them when I have some time.
1825.
▲
Zapper: A Very Fast Templating Engine
(ceres1.space)
72 points
by
coder543
8y ago
|
20 comments
1826.
▲
by
coder543
14y ago
The Sampler doesn't work on Chrome for Android. All clicks are detected roughly half the physical height of the screen above where the touch landed. Tested on a Galaxy Nexus.