HNHacker News
TopNewBestAskShowJobs

happyslobro

649 karma · joined February 18, 2016

submissionscomments
happyslobro··on Malaysia Digital Free Trade Zone
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.

happyslobro··on Why F.E.A.R.’s AI is still the best in first-person shooters
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.
happyslobro··on Malaysia Digital Free Trade Zone
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.
happyslobro··on Streaming Databases in Real-Time with Kafka, Debezium, and MySQL
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...
happyslobro··on Show HN: Redux Offline – Build Offline-First Apps for Web and React Native
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

happyslobro··on Ask HN: Does it matter which deep learning framework I use?
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.
happyslobro··on LocalStack – A fully functional local AWS cloud stack
Thank you for confirming the accuracy of the AWS Lambda test model.
happyslobro··on Ask YC: Any Updates on the Basic Income Project?
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.
happyslobro··on Frink – A practical calculating tool and programming language
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...).
happyslobro··on GraphicsMagick Image Processing System
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.

happyslobro··on Twitter Has an Old Media Problem, Here’s a Solution
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.
happyslobro··on Ask HN: What cool development languages/tools changed your career?
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.
happyslobro··on Ask HN: What cool development languages/tools changed your career?
(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.

happyslobro··on Ask HN: What cool development languages/tools changed your career?
K lang was featured here a few months ago: https://news.ycombinator.com/item?id=11561573
happyslobro··on CPP: A Standardized Alternative to AMP
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?
happyslobro··on CPP: A Standardized Alternative to AMP
Welcome to the world of "$lang-lang" queries. Go, Rust, please make room.
happyslobro··on CPP: A Standardized Alternative to AMP
Or Canadian Pension Plan
happyslobro··on Samsung to Permanently Discontinue Galaxy Note 7 Smartphone
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.
happyslobro··on What If the Newspaper Industry Made a Colossal Mistake?
I think I see a way to save print news, but it won't be pretty...
happyslobro··on What If the Newspaper Industry Made a Colossal Mistake?
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 ;)

happyslobro··on SHA3-256 is quantum-proof, should last BEELLIONS of years
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.
happyslobro··on No Man’s Sky – Procedural Content
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...

happyslobro··on I Won $104M for Blowing the Whistle But Was the Only One Who Went to Jail
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.
happyslobro··on WTF is a container?
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.

happyslobro··on Millions of Men Are Missing from the Job Market
The only reason not to downvote, is to ensure that the rebuttal to this common attitude remains highly visible.
happyslobro··on Ask HN: To those who became fluent in a second language, what did you do?
Haha, I never even considered that angle. Sorry for jumping to conclusions. Paris was amazing, and the people were merveilleux :)
happyslobro··on Ask HN: To those who became fluent in a second language, what did you do?
As a guy who grew up in French immersion schools in Canada, I consider myself to be fluent in French, although my grammar isn't quite perfect. I don't mentally translate it to English in order to understand it, at any rate.

Recently, I took a short trip that included a few days in Paris, and I made a point of defaulting to French when starting conversations. However, for the most part, as soon as a French person realizes that French is not my first language, they switch the conversation to English, even if their English is worse than my French (according to my perception).

I wonder if this is unique to the culture of France, or at least Paris, that they do not like to hear their language from a foreigner? Maybe the language is part of a group identity, used to identify locals who can be trusted to follow local customs? It was a little saddening. In Africa and the Middle East however, when I am in predominantly French speaking communities, the locals seem quite happy to have conversations in French, even though our accents differ greatly.

happyslobro··on Design and Implementation of a 256-Core BrainFuck Computer [pdf]
Whatever, man. When all that falls on its face, CTOs will be googling for peeps with low level brainfuck debugging skills. But they can't hack BF themselves, so I'll ace the interview with no prep, and scoop a six fig salary. Remote, from Amsterdam. Part time, because, priorities.
happyslobro··on GitLab reinstates list of servers that have malware
It's worse than that, more like blocking the fire lane before the ladder truck can begin evacuating people.
happyslobro··on Learn Relay – A comprehensive introduction to Relay and GraphQL
Open source, hosted as a service. The world needs more of this. Major props for having the courage and wisdom to open source your product.

My weekend is packed already, but I'll be back to check this out. I'm just starting to take a second look at GraphQL and co. Last time I looked at it, the conclusion was "extremely interesting, but too alpha for work."

Did you notice that Facebook's ad / business manager uses a mix of GraphQL, REST, and RPC over HTTP POST? Watching the traffic in major production applications is fascinating.

Page 1 of 8Next →