1,185 karma · joined November 3, 2010
[ my public key: https://keybase.io/haldean; my proof: https://keybase.io/haldean/sigs/b8iMYgBztqHNxdzpE22mUbizveJMjo8AbBnxJimUpIU ]
I still get a couple hundred failed login attempts every day. Reasonably strong passwords and fail2ban mean that it's nbd.
Also, my phone number is on my website (it's 320 584 9293) and most of the spam calls I get are through whois, not the fact that there's a tel: URL out there pointing at it.
In regards to assembling the stream: when the list is actually materialized, I assume it's done one element at a time, but the LLVM backend that GHC uses might be doing some loop unrolling, but I'm not sure.
Stream fusion doesn't require that all of the streams be the same type, though! Elements at different points in the stream can have wildly different sizes. For example, this would be fused:
sum . map length . map double $ ["hello", "Symmetry"]
where double x = concat [x x]
That will never materialize a list of Strings, even though at two points in the stream you had a stream of strings. for (int i = 0; i < N; i++)
a[i] = 2 * b[i];
for (int i = 0; i < N; i++)
c[i] = 2 * a[i] + b[i];
t = 0;
for (int i = 0; i < N; i++)
if (b[i] % 2 == 0) t += c[i];
Would be rewritten to the equivalent of: t = 0;
for (int i = 0; i < N; i++)
if (b[i] % 2 == 0) t += 5 * b[i];
Lots more info on the GHC optimizations page: https://wiki.haskell.org/GHC_optimisations#Fusion sta $1
jmp ($1)
which just moves the PC forward by the offset stored in a register (I only know 6502 assembly, sorry everyone). There's no function call here, it's a goto where you calculate what label to go to at runtime. The closest C equivalent would be a switch/case; switch/case has the relative disadvantage that you have to make an explicit label to be targeted for each one, and it becomes difficult to express anything other than "the thing I'm jumping to is parameterized by only this one integer".GCC: https://gcc.gnu.org/onlinedocs/gcc/Integer-Overflow-Builtins...
clang: https://clang.llvm.org/docs/LanguageExtensions.html#checked-...
It's true that it exists, but its intentionally well-hidden, and if you were in a flaming car you probably wouldn't think to rip off the speakers to try to find a latch.
> The products were only available in three states until Tuesday, when the company expanded to 17. Packs can’t be shipped long distances because the contents are perishable.
[14863.014481] usb-storage 2-4:1.0: USB Mass Storage device detected
...
[15045.488440] usb 2-4: USB disconnect, device number 34
They do, though, have quite a bit of pretty impressive logging!I can solve your scientific computing and 3D visualization problems! I've worked with companies from 10 to 10,000 people in manufacturing, robotics, consumer electronics, and software infrastructure. Past projects include a fully-automatic CNC milling system, an aerial robotics path planner, and a smartwatch OS used by hundreds of thousands of users. More info at http://haldean.org/cv/
Let's talk! me@haldean.org, 320 584 9293
@jv22222: in your opinion, does this blog post fall under any of these categories? And if not, why bother having a privacy policy at all?
As a person interested in programming language design, that makes me wonder if visual programming might be the sort of thing that we as programmers don't use because it is, in some sense, "beneath us". You can argue that the complexity of a standard Max patch is much lower than your production system, but many production systems are "render database to JSON", which seems far less complex than, say, a feature film, many of which are made almost entirely in Houdini.