Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jcparkyn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
jcparkyn
3y ago
1: You could absolutely use gyro/accel for detecting taps, but for proper pressure sensitivity (i.e., changing pressure in the middle of a stroke), there's not much you can do except have a pressure sensor. It's theoretically
92.
▲
by
jcparkyn
3y ago
Thanks! I'll get results in about two weeks (fingers crossed)
93.
▲
by
jcparkyn
3y ago
Currently it's not quite at the level of graphics tablets, but it's not too far off, and I think there's quite a bit of potential to improve it using similar techniques [1]. In terms of absolute accuracy, I measured an averag
94.
▲
by
jcparkyn
3y ago
I knew it would have an effect (most of the literature for similar projects just uses global shutter cameras for this reason), but wasn't sure how significant it would be. It turned out to be small enough that it usually wasn't su
95.
▲
by
jcparkyn
3y ago
I should point out that I'm not the first person to use camera tracking for this [1], but to my knowledge there hasn't previously been a serious attempt to combine it with inertial or pressure sensors (which are both necessary for
96.
▲
Show HN: Open-source digital stylus with six degrees of freedom
(github.com)
583 points
by
jcparkyn
3y ago
|
108 comments
97.
▲
by
jcparkyn
3y ago
Ironically, that's a fantastic example of just how unachievable full test coverage actually is in most projects. > By comparison, the project has 590 times as much test code [as program code].
98.
▲
by
jcparkyn
3y ago
I think you are confusing Gleam with Gren (a fork of Elm)?
99.
▲
by
jcparkyn
3y ago
I think there are two main reasons: - Early versions of SQL were actually called SEQUEL (Structured English QUEry Language). - Sequel is just much easier to say than SQL, especially within a sentence.
100.
▲
by
jcparkyn
3y ago
To be fair, 12/20 _is_ closer to 2/3 than 1/2.
101.
▲
by
jcparkyn
3y ago
Interesting read. I was very surprised by the mention of adding editing features at the end. That sounds like a proverbial black hole of potential feature requests and "bloat".
102.
▲
by
jcparkyn
3y ago
Counterpoint: Everyone had to "get used to the patterns" for the first programming style they learnt (even if they've been programming long enough to forget that). That shouldn't be a reason to avoid learning a different
103.
▲
by
jcparkyn
3y ago
I wouldn't describe blender as following this formula. The only thing they sell (last time I checked) is blender studio, which as far as I'm aware is more just another way to donate while getting some things in return.
104.
▲
by
jcparkyn
3y ago
30+ second compile times is definitely not something inherent to statically typed languages. 200ms is rare, but plenty of static languages manage <5s for large projects and much less for small ones. Not to mention that a good IDE will in
105.
▲
by
jcparkyn
3y ago
That's exactly why the author says to check for warnings in CI. Most warnings will be noticed and fixed by the dev before pushing, and the rare ones that get missed will be caught in CI before merging.
106.
▲
by
jcparkyn
3y ago
I had the same question, and I think this FAQ entry answers it fairly well: http://prize.hutter1.net/hfaq.htm#addcomp
107.
▲
by
jcparkyn
3y ago
> Otherwise you could just store the whole text in the decompressor. I don't think GP was asking about the decompressor, but specifically the compressor. The FAQ has a fairly detailed answer for this though: http://prize.
108.
▲
by
jcparkyn
3y ago
Visual studio does give a fairly detailed explanation of what was compiled each time, in the output>build view.
109.
▲
by
jcparkyn
3y ago
Interesting, seems like things are more complicated than I thought.
110.
▲
by
jcparkyn
3y ago
Also worth noting that just about every javascript engine uses ropes internally to represent strings (most of the time). https://docs.google.com/document/d/1o-MJPAddpfBfDZCkIHNKbMiM...
111.
▲
by
jcparkyn
3y ago
It sounds like you'd be much more comfortable in an IDE with a debugger. Any reason you're not using visual studio or clion etc? Even vscode should be able to give you a decent debugging experience if you're not doing anythin
112.
▲
by
jcparkyn
3y ago
You completely missed my point. You aren't "the other party" once you start making claims of your own. "I can assure you that caste had absolutely nothing to do with OPs election..." If your argument was just "
113.
▲
by
jcparkyn
3y ago
But you are also making your own claim, by asserting with absolute confidence that caste-based discrimination doesn't exist. If you were just questioning the reasoning of the author, then sure, the burden of proof would be with them. A
114.
▲
by
jcparkyn
3y ago
I find that pure functional loops with reduce or fold often get a lot harder to read/write as soon as you have more than one variable to keep track of. Imperative loops don't really have this problem.
115.
▲
by
jcparkyn
3y ago
This one's part of windows, but in case you're not aware of win+v for clipboard history I'd probably put that at number one. (There are also some third-party alternatives with more options). Aside from that: PowerToys (I most
116.
▲
by
jcparkyn
3y ago
>You would like a home from 1969 The average floor area per person (in the US) has roughly doubled since 1969. Not the most reliable source, but from skimming census data it seems to correlate: https://supplychenmanagement.com
117.
▲
by
jcparkyn
3y ago
Interesting, I haven't used Vue so I wasn't aware that some frameworks do it differently.
118.
▲
by
jcparkyn
3y ago
IIRC it's something to do with the account being permanently locked due to too many failed password attempts, so windows basically throws up its hands and lets you log in anyway. (This is just a vague recollection from last time I inst
119.
▲
by
jcparkyn
3y ago
Windows is particularly odd, because the file explorer menus are so similar that you wouldn't see the difference if you weren't looking for it.
120.
▲
by
jcparkyn
3y ago
> nothing is stopping you from making a wrapper component like... I'd suggest avoiding that, since the inner JX expression will be evaluated even if cond is false. In the best case this just means some unnecessary allocations, but i
More ›