541 karma · joined Dec 11, 2009 (16y ago) · 139 submissions
[ my public key: https://keybase.io/nathanhammond; my proof: https://keybase.io/nathanhammond/sigs/R8aq_5n728eDFXos9Ffd28y_lV_ltZ9Wa-YxB0FxIpU ]
comment 5mo ago · link · parent
https://thecollectivehk.com/%e7%a7%91%e6%8a%80%e5%88%b8%e8%a...
comment 9mo ago · link · parent
As an 外國人 who learned Cantonese as an adult (I moved to HK) I'm jealous of the quantity and quality of materials that exist for learning (not Cantonese). That being said, there are _enough_ materials so it's nowhere near as rough as e.g. Shanghainese.
My opinions on hard language reduces to "is this the first language you're learning from a particular language family?" If so, it's hard to learn. But "is ontologically hard" isn't something that I think is really worth ranking. Any four year old can speak their mother tongue just fine.
But the perception of "hard to learn" did work in my favor for learning Cantonese: as a 鬼佬 who speaks Cantonese I was given lots of latitude to be bad while learning because of that perception. And now I could go back and learn Mandarin now and it would be _much_ simpler than the task that I had in learning Cantonese.
That being said I still write in 口語. Slowly learning 書面語 as I read more and more of it.
comment 1y ago · link · parent
Ideographic Description Characters: https://www.unicode.org/charts/PDF/U2FF0.pdf
The fine people over at Wenlin actually have a renderer that generates characters based on this sort of programmatic definition, their Character Description Language: https://guide.wenlininstitute.org/wenlin4.3/Character_Descri... ... in many cases, they are the first digital renderer for new characters that don't yet have font support.
Another interesting bit, the Cantonese linguist community I regularly interface with generally doesn't mind unification. It's treated the same as a "single-storey a" (the one you write by hand) and a "two-storey a" (the one in this font). Sinitic languages fractured into families in part because the graphemes don't explicitly encode the phonetics + physical distance, and the graphemes themselves fractured because somebody's uncle had terrible handwriting.
I'm in Hong Kong, so we use 説 (8AAC, normalized to 8AAA) while Taiwan would use 說 (8AAA). This is a case my linguist friends consider a mistake, but it happened early enough that it was only retroactively normalized. Same word, same meaning, grapheme distinct by regional divergence. (I think we actually have three codepoints that normalize to 8AAA because of radical variations.)
The argument basically reduces "should we encode distinct graphemes, or distinct meanings." Unicode has never been fully-consistent on either side of that. The latest example, we're getting ready to do Seal Script as a separate non-unified code point. https://www.unicode.org/roadmaps/tip/
In Hong Kong, some old government files just don't work unless you have the font that has the specific author's Private Use Area mapping (or happen to know the source encoding and can re-encode it). I've regularly had to pull up old Windows in a VM to grab data about old code pages.
In short: it's a beautiful mess.
comment 6y ago · link · parent
- Reasonable English corollary. (Doesn't have to be 1:1.)
- English-pronounceable Cantonese romanization.
- English-pronounceable Mandarin romanization.
- Doesn't diverge too much between the three.
- Characters that are identical in Traditional and Simplified.
- Pleasing to the relatives.
6.
Medium blog covering Uyghur Camps returning 410 (Gone)(medium.com ↗)
3 points · by nathanhammond · 7y ago · discuss
comment 10y ago · link · parent
We're making Ember accessible by default.
Monthly Goals:
- Support Ember.js' internal upgrade to the new rendering engine.
- Adopt dynamically scoped variables to make ember-a11y function.
Skills needed: Ember.js, Glimmer, AccessibilitySlack: https://ember-community-slackin.herokuapp.com/
Ember A11y: https://github.com/ember-a11y Ember A11y Addon: https://github.com/ember-a11y/ember-a11y
License: MIT
comment 10y ago · link · parent
We're building a tool that makes it easy to build and maintain Ember applications.
Monthly Goals:
- Finish moving off of Bower and onto our npm infrastructure.
- Upgrade our internal npm usage from 2.X to 3.X.
- Make our story for caching using Broccoli far more efficient.
- Improve the Node ecosystem's publishing patterns for the projects we use.
Skills needed: Node, npm. Familiarity with Ember.js & Broccoli unnecessary but a bonus.Slack: https://ember-community-slackin.herokuapp.com/
Ember CLI: https://github.com/ember-cli/ember-cli
License: MIT
9.
Asmodee (board game company) Pitch Deck(drive.google.com ↗)
2 points · by nathanhammond · 11y ago · discuss
10.
Reporting on cyberattacks: the media's urgent problem(medium.com ↗)
6 points · by nathanhammond · 11y ago · 1 comment
11.
The Programming Interview(nathanhammond.com ↗)
2 points · by nathanhammond · 11y ago · discuss
12.
Mecklenburg County District Attorney's office to review surveillance cases(charlotteobserver.com ↗)
1 points · by nathanhammond · 12y ago · discuss
13.
Mr. Miller Doesn't Go to Washington(politico.com ↗)
1 points · by nathanhammond · 12y ago · discuss
14.
Why I Went from Queasy to Hopeful at MIT's Breast Pump Hackathon(fastcompany.com ↗)
2 points · by nathanhammond · 12y ago · discuss
15.
Mailbox stickers let communities display items they have to share(springwise.com ↗)
2 points · by nathanhammond · 12y ago · discuss
16.
Curiosity Rover's Wheels Are Falling Apart (And How It's Being Addressed)(gizmodo.com ↗)
6 points · by nathanhammond · 12y ago · discuss
comment 12y ago · link · parent
2. The typical pattern is lots of computed properties. They're lazily calculated, so that makes them pretty cheap.
comment 12y ago · link · parent
https://docs.google.com/document/d/1ZWYq3gwkPTzUiyqr4x_asSj8...
comment 12y ago · link · parent
how much code the browser needs to parse and execute on every page load
The caveat being that that code only needs to be parsed and executed once in a single page application. weight of execution payloads across operations in your app
Presumably this cost is providing value to the developer in terms of reduced development time, reduced complexity, or improved correctness. You shouldn't typically incur significant wasted cost in execution, just a selection of tradeoff. Besides, rendering to DOM is still the longest tentpole by far compared to microseconds for JS execution.EDIT: With regards to the "independent test," that is in no way a realistic use case. You would never add items to the DOM individually when you're in that tight of a loop. You would instead build up a cache and write once. The only thing of consequence that is being measured in that benchmark is each framework's DOM insertion speed.
comment 12y ago · link · parent
comment 12y ago · link · parent
If I wanted to add "roman" mythology to that filter I would imagine something like:
var mythologies = ["greek", "norse"];
// ... create a collection with filters
mythologies.push("roman");
PourOver.makeExactFilter("mythology", mythologies);
But you don't get that last statement for free, nor the one where you join it into a collection, nor do I see a way to replace the previous mythologies filter. Any time you need to reprocess a filter you've got to run it through a series of imperative actions triggered from one of the events, and possibly throw away the collection and regenerate it (if you can't remove disjoint filters).I would be pushing for a Object.observe/dirty checking/get-set version of this to take PourOver to the next level of utility. (?/Angular/Ember)
comment 12y ago · link · parent
In Ember that might look like this:
Ember.ArrayController.extend({
filterA: Ember.computed.filter('fieldName1', function comparator() {}),
filterB: Ember.computed.filter('fieldName2', function comparator() {}),
joined: Ember.computed.union('filterA', 'filterB'),
filtered: Ember.computed.uniq('joined'),
sorted: Ember.computed.sort(function comparator() {})
});comment 12y ago · link · parent
There is absolutely a place for this kind of library and if you pay enough attention to the details (sweat every pixel and animation) I fully believe that you can achieve an experience that would be completely indistinguishable from iOS.
Notes:
1. For this to work you should be using something like Ember as your front-end framework, not jQuery Mobile.
2. I'm not pushing this as dogma, I'm just very glad that it exists within the ecosystem.
comment 12y ago · link · parent
Simple's funding likely only increased their runway while they were building a product that I'm guessing was net-negative. I don't feel like they could generate enough revenue to cover their burn rate using their holding bank strategy. If they could I suspect they would have continued down this path as a fearsome (future) competitor.
Once some bank builds the underlying technology in-house correctly they're going to be nigh untouchable.
comment 12y ago · link · parent
Most banks use what we term "bank-in-a-box" software provided by one of two vendors:
FIS - http://www.fisglobal.com/ Fiserv - http://www.fiserv.com/
In fact, just about the only ones who aren't using a complete bank-in-a-box solution are the megabanks, for example: BofA, Wells Fargo, Chase.
The upside of using a bank-in-a-box solution is that you can spin it up almost immediately and at very little cost (relatively). The downside is that you're running technology that, very often, was written last decade. For example: https://secure.ally.com/allyWebClient/login.do uses jQuery 1.3.2, released in 2009.
But worst of all, you can't really differentiate yourself from your competitors–they're using the same thing under the hood. In order to begin the process of differentiation you typically see banks progress through stages out of dependence upon these solutions.
1. First you enable service calls into the system of record (SoR).
2. Then you Balkanize your services, calling back and forth between your BiaB solution and your own custom component which reaches out to the SoR through services instead of the hosted, white-labeled BiaB. This is terribly slow. Remember what I said about last-decade technology?
3. Eventually a bank completely migrates completely to service calls on the backend to the SoR. But they still haven't implemented any of the reporting or back-of-house processing.
4. The ambitious banks then start trying to move the SoR and the back-of-house processing and reporting (this is a big deal) in-house. However, to work, this has to be a one-time switchover since "eventually consistent" is not a valid state for bank data.
Almost everybody stops before attempting Step 4. It starts getting expensive and hard really fast at that point–and almost no bank has that appetite for risk. However, even if you attempt Step 4, the legacy of your technical decisions has resulted in loosely coupled and often poorly integrated experiences wherein even pulling your data in-house likely doesn't fix it. At this point Step 5 is digging out of your technical debt, and I've yet to see any bank succeed at that.
Simple skipped Steps 1 & 2. They never incurred Step 5. They were insulated from Step 4 by using a holding bank. Step 3 was why they took so long to launch. On a technical level Simple is years ahead of every bank out there. Features they had the data for could be implemented in no time. Organizationally their mission was clear enough that everybody bought in. Their race, which I've said numerous times, was to catch up to Ally's marketing and deposit assets before Ally (or others) catches up to their technology. It's an asymmetric race, but not being a bank means that Simple couldn't leverage fractional reserve banking to its fullest which cuts into profit margins and makes it much harder to succeed. Their acquisition price implies to me that their burn rate was too high for their revenues to make the long game sustainable.
Contrast with BofA: "We spend, just overall, about $3 billion and change in annual technology development."