242 karma · joined Nov 22, 2016 (10y ago) · 70 submissions
comment 9y ago · link · parent
Many of these posts seem timeless and often very prescient.
In fact, at the bottom of this one, he points out the strategic dead-end Sun was heading down with commoditizing software while also making/promoting Java that commoditized their hardware...
comment 10y ago · link · parent
Surly they don't mean _unmodified_ binaries do they?
My guess is that programs must be compiled down to asm.js or WebAssembly, but they provide the compile-time library hooks/fake-library-headers/runt-time harnesses for those programs to _potentially_ not have source level changes _if_ they stick to the OS call supported subset.
Very cool proof of concept, if it really does work and can be generalized, it could be a killer app for the WebAssembly effort!
33.
All animals can jump to the same height (almost)(bio.miami.edu ↗)
1 points · by hackcrafter · 10y ago · discuss
comment 10y ago · link · parent
I really enjoyed the blog post on it when it was developed [0].
Very cool to see a real-word pragmatic solutions to this common/hard problem developed in the open (and in a very readable code-base). I've read through it thinking about my own LRU use in my own applications!
There are only two hard things in Computer Science: cache invalidation and naming things.
-- Phil Karlton
[0] http://antirez.com/news/109comment 10y ago · link · parent
> All the functionality that was previously part Amazon Mobile Analytics is now included in our Amazon Pinpoint service.
I'm not quite sure if it is mostly server-side goodness and still uses the mobile analytics parts from the current Mobile SDK[1] or if it requires a new client-side SDK?
[0] https://aws.amazon.com/mobileanalytics/
[1] https://aws.amazon.com/mobile/sdk/
Edit: Looks like they pushed new SDK components an hour ago! https://github.com/aws/aws-sdk-ios/tree/master/AWSPinpoint
I hope the React Native SDK gets some update love soon :)
comment 10y ago · link · parent
Lambda is for shared-compute. You don't need a dedicated server to run a "function" that takes < 60 seconds and can be called in a stateless manner as an API endpoint.
This is dedicated host compute-heavy batch processing. It's a pain to do this at scale!
I've built systems for running large scale life science embarrassingly parallelizable problems on EC2 and wish I had something like this!
Imagine you have a set of input S3 files, each needs multiple-hours of compute to produce output S3 files. Doesn't seem that hard, until EC2 instances fail, programs crash, etc. etc.
comment 10y ago · link · parent
I'm having a hard time conceptualizing what kind of logic you would run on these edge functions?
You have access to headers, so also things like client cookies, so could you use that to potentially personalize/templatize the body (once they have body mutation abilities)?
Or is it really just about static content routing? Detect google bot user agent and send them to resource A versus B etc...
comment 10y ago · link · parent
I tell you, I feel for their CEO Eric Migicovsky.
SV lore is strong on how Mark and Larry&Sergey turned down offer after offer that in retrospect makes them look like prescient leaders and underdogs-turned-heroes. These are the stories that movies are made out of.
And how can you not want to follow in those footsteps?
And then you hand your company over at a fire-sale price, and for the rest of your life keep thinking... 700M... 700M... ugg it hurts.
comment 10y ago · link · parent
There is some case study at the bottom of the Lex[0] page that had a disconnected "Polly" thing that I didn't' quite get, but that makes sense.
And it looks like Lex takes voice as input, although I don't know if you can put your app into a "always listening for trigger word" mode for truly hands-free operation or not. Will have to play with it.
comment 10y ago · link · parent
Basically, Alexa as a service?
Is there something out there that does this?
For certain things that require hands-free usage, this would be a killer feature.
ex. a workout-app that tells you your next rep and weight, and you can respond with what weight/reps you did to add to your log!
comment 10y ago · link · parent
Unlike VMs, which statically allocate mem whether you use it or not, containers have the chance to grow and reduce mem as workfloads go up and down, which means you could pay for GB/h of mem usage on the right-sized # of vCPU base.
Not sure if any IaaS/PaaS is doing this.
Joyent pricing[1] is still for static resource allocation and not cheap compared to these larger players.
[0] https://www.joyent.com/triton [1] https://www.joyent.com/pricing
comment 10y ago · link · parent
They have built a great open source product, but now that there has been a collective shift to understanding the benefits of containers, the docker runtime + container format will/should be commoditized by infrastructure companies (Google, RedHat, MS etc).
So where is the value-add of Docker the company going to come from?
edit: s/evaluation/valuation
comment 10y ago · link · parent
- Cloud-based apps used to mean managing VMs, keeping kernels up to date, setting security settings on server configs. It doesn't have to[0]
- Mobile dev used to mean compiling platform-specific code and shipping it to app-store review. It doesn't have to[1]
- Storing state server-side used to mean running your own DBs and worrying about their persistence and multi-host-scaling. Don't even need a reference here since there a so many choices.
[0] https://www.ibm.com/developerworks/cloud/library/cl-bluemixf...
comment 10y ago · link · parent
I think this is the root of the sentiment that is expressed as "JS fatigue" and bullet train rides etc.
I'm torn though. On one hand, this is equivalent to saying: Nobody is ever going to know everything about an operating system and how a machine performs the operations we expression a high level language like, you know, C!
The thing is, we still were able to teach the abstraction of the single-machine computation model that C is abstracting in a single semester to the point of making new coders _operational_.
But I can't imagine trying to construct a course to teach "modern web architecture" in a single semester.
On the flip side, a lone developer who can chose their battles wisely has more leverage to produce something of value today than was ever freaking possible, ever!
I'm betting on the the new "OS" abstraction as cloud-native services (DB as a service, event streams as a service, mobile syncing as a service, heck, everything but your core logic as a service).
But by it's nature this world is redundant, competitive, multi-vendor, fractal-specialized and I only see that trend increasing.
So yes, one person will never know everything there is to know, the new skill will not be learning every framework, platform or service, but being able to grok the core nature and characteristics of your problem so you can apply the closest matching tool with the maximum leverage.
Essentially, the new skill will be to optimize for laziness :)
comment 10y ago · link · parent
One key is getting decent render performance on low-spec hardware (i.e. a Rasberry Pi). Not something you usually think about when building/evaluating a web app, but those low-spec "boxes" crawl on most modern web-sites.
Yet there shouldn't be any reason why a dashboard couldn't be rendered on them!
I wonder how Cyclotron performs with it's JS heavy front-end on those types of dedicated dashboard devices?
comment 10y ago · link · parent
If you like it, great, if you don't, you have company[2]
[0] https://learncodethehardway.org/c/
[1] https://web.archive.org/web/20141205223016/http://c.learncod...
comment 10y ago · link · parent
I did find the You Don't Know JS[0] book series extreamly helpful as a C++/Python coder who has only done enough JS to get by. But that is the extent of my prep for learning React Native.
Interestingly, the YDKJS author (Kyle Simpson) is very down on the adoption and heavy usage of ES6 class notation and the over-reliance of the syntactic appearance of a OO-language class systems in JS.
His argument is the abstraction will leak the in-its-own-right powerful delegation system of JS prototypes, so why not just learn/use raw objects or his OLOO (objects-linked-to-other-objects) pattern.
I find it hard to mentally map the ES6 class to the equivalent object+prototype structure it is syntax sugar for, so just throw my hands up and for the most part pretend they are Python style open-objects.
comment 10y ago · link · parent
I run into this often, it is amazing the speedup MKL provides for linear algebra heavy scientific computations and it is under this weirdly commercial, but permissively redistrubutable framework which means a lot of folks are using it unkowningly in a gray licensing area.
See the pre-build python Numpy/Scipy packages that use it and are often use by data science types:
comment 10y ago · link · parent
Even more useful would be compiler-level feedback of how to stay within the constraints needed to auto-vectorize your C/C++ for loop. (I need to make this data access const etc)
As far as I know, the Intel compiler is ahead of MSVC/clang on this front without reverting to OpenMP or other annotations on your code.
comment 10y ago · link · parent
Or is this tutorial sufficiently stand-alone without React (web) experience?
comment 10y ago · link · parent
Maybe a more fair comparison is to IBM's CloudantSync[0] which is the managed service version of Couchbase compliant Cloudant.
[0] https://developer.ibm.com/clouddataservices/offline-first/
comment 10y ago · link · parent
I vote with a mail in ballot. My signature is checked by a human being (I know as a family member was audited when their signature differed from historical).
Couldn't web-based replace paper-based mail-in ballots?
With an on-file signature that generates a "voting token" that could be mailed to me for goodness sake, I don't see why mailing in a piece of paper with ink on it is a necessary step.
59.
The One Cent Blog: Static Web Content on the Cheap(hugotunius.se ↗)
3 points · by hackcrafter · 10y ago · discuss
comment 10y ago · link · parent
In my work deploying desktop software to institutions, often academic and medical, I had to disable client-side certs to allow for connections to be made.
Apparently, even though it should be technically more secure, client-side certs are so infrequently used, these types of gateway monitors block connections made with them!
Maybe not as surprising, but non-browser software making connections to servers with non-publicly-signed SSL certs (but embedded CA chains) were also blocked.