Better HN
topnewbestaskshowjobs
Log inSign up

happyslobro

649 karma · joined Feb 18, 2016 (10y ago) · 265 submissions

Submissions

comment 9y ago · link · parent

It probably could be fast, if you have all your ducks lined up. UAE immigration wanted me to go back to Canada to pick up a fresh notarized copy of my educational and criminal records.

I really don't understand why this kind of thing can't be done over a video conference, and then printed, stamped, scanned, emailed, printed locally. But, I got a nice little trip to my hometown out of it, so whatever.

comment 9y ago · link · parent

I bet that a game AI model of a human mind's executive function would actually be embarrassingly simple. Something like a 7 element ring buffer of tasks and their parameters, with interrupts. When the bot tries to remember or do more than 7 things, it just starts forgetting stuff, which it might notice again later. Just like me.

comment 9y ago · link · parent

Ditto, relocated there from Doha. It is conveniently close to a large cluster of AirBnBs, which helps out big time while waiting for a resident's permit.

comment 9y ago · link · parent

I guess if that became a bottleneck, they could set up a queue for write requests. Maybe even something more sophisticated that automatically batches similar writes that pile up in the queue. They could use something like Kafka for this...

comment 9y ago · link · parent

I just came across Vue.js the other day, while exploring options for quickly banging out small tools. Getting tired of the clutter in a full-featured React project.

It offers more than one strategy for managing state; there is simple two way binding between a JS object and the DOM, there is the Elm-inspired vuex, and also it can integrate with Redux. http://vuejs.org/v2/guide/state-management.html

comment 9y ago · link · parent

What? Youtube requires you to add captions manually, or the video is taken down? That's brutal! I thought YT had automatic captioning. Wow, lame.

comment 9y ago · link · parent

Thank you for confirming the accuracy of the AWS Lambda test model.

comment 9y ago · link · parent

If the majority decide that you should pay a tax, and you then become obligated to to pay that tax, that's democracy, not dictatorship. That doesn't mean it's good, it's just democratic.

comment 10y ago · link · parent

This is what I never got about the Java and C++ type systems. If you claim to value static typing, why are you not typedefing your generic floats / doubles to meters and seconds and stuff? It looks like there is a thorough implementation of standard units in Boost ( http://www.boost.org/doc/libs/1_55_0/doc/html/boost_units/Un...).

comment 10y ago · link · parent

Does node-canvas allow you to select high fidelity algorithms over fast algorithms? A while ago, I wrote a crop tool using browser canvas, and found that the results of a scaling operation were unacceptable, due to its fast downsampling algorithm.

The gory details and a few attempts at higher quality scaling algorithm implementations are on SO: http://stackoverflow.com/questions/18922880/html5-canvas-res.... TL;DR: sending the image to the server and having GM scale it is faster and more reliable than your own scaling algorithm in single-threaded browser JS.

comment 10y ago · link · parent

I think that this real value will ensure that it never really dies. If anything happened to twitter.com, then dozens of little MVP short message boards would spring up. In fact, that might actually be an ideal outcome in the long run, especially if it leads to the formation of a standardized tweet data format and competing public APIs.

comment 10y ago · link · parent

Where did you get this financial data for your first project? Is it a public feed / API? This sounds like exactly the sort of thing that I would like to start playing and eventually working with. I had been assuming that this type of data would only be available to the kind of entities that have a compliance officer, but I would love to have that assumption proven wrong.

comment 10y ago · link · parent

(15 minutes later) Just started playing with this, it is much fun. I'll definitely be golfing more on the weekends now :)

For anyone else just starting out, I suggest using readline with the REPL: `rlwrap q`. It gives you history, search, familiar line editing commands, etc.

comment 10y ago · link · parent

K lang was featured here a few months ago: https://news.ycombinator.com/item?id=11561573

comment 10y ago · link · parent

Having browsers intelligently render `text/markdown` sounds like a great idea. And while we're waiting on the browser implementation, maybe we can find some sort of temporary workaround to send a markdown parser to the client?

comment 10y ago · link · parent

Welcome to the world of "$lang-lang" queries. Go, Rust, please make room.

comment 10y ago · link · parent

Or Canadian Pension Plan

comment 10y ago · link · parent

LOLolol I just got off a Qatar Airways flight, where they made an announcement asking any passengers with a Note 7 to hand it over. But then when disembarking in DXB (Dubai), I noticed a floor to ceiling ad for the Note 7. Epic fail.

comment 10y ago · link · parent

I think I see a way to save print news, but it won't be pretty...

comment 10y ago · link · parent

Local news isn't going to be pushed at you front and center, at least not until Google knows most people's home town (or most relevant town). However, when I google $hometown+news, I get a pretty decent listing.

Not sure if this works well for cities that are large enough to cause world news themselves. And, if you did this for San Francisco, I imagine that you would simply be directed back to HN ;)

comment 10y ago · link · parent

That's a pretty bold statement. A billion years should be enough time to convert the entire galaxy into computronium and deploy all over it. Mind you, the author probably won't be around by then. Probably.

comment 10y ago · link · parent

Do you mean that the detective player's analysis would be, say, an input to the fitness functions of a genetic algorithm? That sounds super interesting. Would you care to elaborate on what form the analysis would take, in order to be both parsable by the system and writable by a player?

I have an idea for a fairly simple possibly: The user just declares that certain features of the scene are interesting and relevant, maybe by "taking a sample", so that the algorithm can boost the weight of inputs that have a relationship to those features. But, I suspect that you have something much more interesting in mind...

comment 10y ago · link · parent

I used to see ads on TV for pardoning services, that implied that they could restore your ability to travel. Does anyone know if those actually work? If they do, then you might really be clear and free with a bit less than $100MM after, say, 5 years.

comment 10y ago · link · parent

We have similar stories. We even brought in a devops consulting firm, who insisted on a pure AWS / Docker (ECS & co) stack. After a couple months of shocks, crises and occasional all-nighters, I just started deploying backup instances on Heroku, so that the QA and design teams wouldn't get blocked by the weekly clusterforks. After a few weeks of smooth sailing on that front, we just activated logging and auto scaling addons, and blessed the Heroku stack with the production domain name and CDN.

Heroku gets expensive quickly at scale, but the engineering required to make "the future" work on AWS was unmeasurable (because it never really succeeded for us).

I don't even know what to blame for the whole episode. Docker's incomplete architecture (2015)? AWS's inability to abstract and manage complexity into something that just works as described on their product pages? The consultants? Myself, for putting faith in that triad of unfamiliar but crucial people, services and products? Whatever, it's no longer a current problem for me.

comment 10y ago · link · parent

The only reason not to downvote, is to ensure that the rebuttal to this common attitude remains highly visible.

comment 10y ago · link · parent

Haha, I never even considered that angle. Sorry for jumping to conclusions. Paris was amazing, and the people were merveilleux :)
12345
9