32,405 karma · joined Jan 3, 2008 (18y ago) · 8,297 submissions
comment 8y ago · link · parent
I have not had a chance to try it out for myself yet, but I have recently learned that webkit includes a direct-to-opengl renderer such that one can skip the Qt or GTK backend and write HTML/CSS/JS that outputs to the framebuffer directly.
comment 8y ago · link · parent
What security agencies have done is scan and collect all envelope info (metadata) which was ruled to be not private (makes sense) but with powerful enough cameras, lights, and enhancement software that most letters sent in standard envelopes can leak their contents.
5015.
Microsoft is trying to kill passwords(washingtonpost.com ↗)
2 points · by ComputerGuru · 8y ago · discuss
5016.
The Girl Who Turned to Bone(theatlantic.com ↗)
9 points · by ComputerGuru · 8y ago · discuss
comment 8y ago · link · parent
comment 8y ago · link · parent
It's a shame that it requires X11 on Linux, though. As the renderer must already be decoupled from the rest of the code to support Windows and Linux, I imagine it shouldn't be too hard to rip out the X11 bindings and write to a framebuffer directly instead.
I have not had a chance to try it out for myself yet, but I have recently learned that webkit includes a direct-to-opengl renderer such that one can skip the Qt or GTK backend and write HTML/CSS/JS that outputs to the framebuffer directly.
comment 8y ago · link · parent
comment 8y ago · link · parent
> Because we run 200 invocations or so in parallel we’ll only need to download the model once and save it there
From my own reading of the Lambda docs, it seems that a simultaneous request for the same Lambda may or may not spin up a new container, ie while serial requests within the 15 minute timeout will likely reuse the same instance with the same frozen/cached tmp data, parallel requests do not have that assumption.
Was this your finding in practice? If so, were your CloudWatch “keep warm” events a series of just 1 Lambda invocation ~10/15min apart of 200 simultaneous requests serially spaced to keep the instances spun up?
comment 8y ago · link · parent
It’s why lz4 compression of a file system can be faster than no compression even with an ssd on fast machines; I wonder if that would boost your performance vs the uncompressed image (though I don’t know if the kernel supports lz4 decimal at boot time)?
comment 8y ago · link · parent
“To date, we've shaved the Bionic Beaver minimal images down...”
comment 8y ago · link · parent
After learning and using many other "modern" Makefile replacements of various complexities (ninja, cmake, scons, tup, meson, bazel, and others) I realized if you're not using exactly what the tool was designed for, you end up recreating a Makefile (e.g.: meson is awesome for cross-platform C++ builds, but if you try to use it to build an environment composed of output from various processes that aren't C++ compilers, writing a Makefile is easier). CMake, apart from also being too C/C++-specific, would be nice if it didn't require a million different files and didn't have such a god awful language.
The only one I liked as a general purpose build system was ninja but it is too restrictive to code in (requires duplication of code by design, not meant to be written by hand though I still do from time to time) and tup, but tup is built around fuse (instead of kqueue/inotify/FindFirstChangeNotification) and so is a no-go for anything serious.
Once I embraced Makefiles, it turned out that most things traditionally built with shell scripts should actually be Makefiles for determinism. For example, I just used bmake to take a clean FreeBSD AMI and turn it into the environment I need to perform some task every n intervals (the task itself was turned to a Makefile rule), in place of where Puppet and other tools would normally have been needed, but would have been overkill for my needs.
The only drawback to Makefiles that I haven't found a clean solution to is when you need to maintain state within a rule (without poisoning the global environment). The only solutions I can see are either a) using a file to store state instead of a variable, which is just stupid, b) calling a separate shell script (with `set -e; set -x` to try and mimic Make behavior) which sort of defeats the point of Make, and c) multiline rules with ;\ everywhere, which is hideous and error-prone but works (though it makes debugging a nightmare as the rule executes as one command, again defeating some of the benefits of Make).
comment 8y ago · link · parent
In their zeal to gain IM users, they replaced messages with chat, removing the inhibition that kept people from using messages for one liners. Then they made you always online, supplanting Facebook itself entirely with something that could be replaced by any other real-time communication app. Once phones became nicer to use and there were alternatives to the lag and limitations of SMS, people had no reason to log into Facebook to chat with their friends because Facebook has trained non-IMers to IM and they no longer needed Facebook to do it.
Users would have killed for high-resolution photos (Facebook would make pictures so tiny and so low resolution that they’d become unrecognizable and all talent that went into composing them or editing them would be lost, and they couldn’t contain text or captions because that would be compressed away) or the ability to create albums. A dozen apps existed to shoehorn that functionality in via the Flickr api. Then they had to go buy Instagram to win those users back.
Now people just post major life events to share with people they didn’t bother communicating them to via another, more personal means of communication once a year or so.