1,676 karma · joined Jan 21, 2014 (12y ago) · 474 submissions
comment 4y ago · link · parent
Being able to do 1920x1200 at 60fps is so much more fluid and useable. 24fps is distracting to me even for simple things like text editing.
comment 4y ago · link · parent
I know some people like having them in if they have frailty or mobility concerns, which is probably the only really new usecase.
comment 4y ago · link · parent
From the proxy agreement
> cause the Equity Investor [Musk] to fund the Equity Financing, or to enforce the Equity Investor's obligation to fund the Equity Financing directly, and to consummate the Closing.
comment 4y ago · link · parent
Really the only downside, and it's likely something I could handle with more digging, is the task switching granularity of the main loop causes the desk to overshoot and then have to correct when going for a height. My desk control loop reads from the UART interface of the desk display, and activates the up and down buttons. If there's too much time in between loops, it'll have traveled too far. Worst case, I could just get a cheap dedicated controller like an attiny85 to handle controlling it with better real-time constraints.
comment 4y ago · link · parent
comment 4y ago · link · parent
Edit: Also this circuit is simpler than an adder, since there's no carry
comment 4y ago · link · parent
> You might have heard of dead-code elimination, an LLVM optimization pass that removes code proven as unreachable. I was actually interested in less-obvious situations. In particular blocks that are reachable on the control flow graph, but not when consider wider execution invariants.
I've got a trivial example here: https://gcc.godbolt.org/z/7EnPG5WM6 noinline is added to foo to demonstrate Clang is actually changing the number of arguments foo takes, and its inlined the arguments from bar and baz.
> Can we use information on the call-sites and the corresponding format strings to prove that some code paths, for example formatting for floating point numbers, are actually never taken?
Seems to already have that effect in Clang. Using Emscripten 3.1.3, compiling 2 different main's with just
printf("Hello world %d\n", argc);
And printf("Hello world %d %f\n", argc, volatileFloatArg);
For the single int arg, the top 3 symbols by size are 47.7% 2.65Ki -NAN(IND)% 0 printf_core
7.4% 421 -NAN(IND)% 0 [section Data]
6.6% 375 -NAN(IND)% 0 main
And for the one that added a float arg, 34.5% 3.04Ki -NAN(IND)% 0 fmt_fp
28.8% 2.54Ki -NAN(IND)% 0 printf_core
5.1% 464 -NAN(IND)% 0 [section Data]
So when a float argument wasn't passed into printf, it did not include fmt_fp, a delegate that handles floating point for printfOne issue that can complicate this analysis is linking multiple libraries that reference standard library (or functions in other libraries). If you're linking together object code, without more IR context, LLVM is going to have to be more conservative. So I think if you link in a WASM object code file that references printf, it won't be able to perform all the IPO that will allow it to trim the CFG.
comment 4y ago · link · parent
comment 5y ago · link · parent
While I do agree, in general a lot of novel ideas get dismissed out-of-hand, a conversation about to what extent an idea engages with the existing community/literature around that idea is valuable. For example, if I saw a paper posted here that claimed it solved P!=NP, my first question would be as to how much it addressed the existing work, as mathematical ideas tend to attract cranks.
comment 5y ago · link · parent