HN user

aj0strow

57 karma
Posts4
Comments34
View on HN

It seems like a path prefix like "/en/books" or "/es/books" could be supported with a base url config.

Localized path segments like "/books" or "/libros" could be supported with a path segment mapping configuration.

It should work fine in theory. I guess those configs don't exist yet. Or is there something else that route localization requires?

We Can Do Better 9 years ago

I don't get it either. Google reads your email to serve better ads. You grant unroll.me access to filter marketing campaigns. Now they read your email too. Selling anonymous purchase info is pretty benign given the amount of access.

I read architecture.md in the runtime package and it looks perfect for binding websocket updates into components. I was really hoping for the following example:

* create a stand-alone relay store

* query and subscribe to changes, print to console

* imperatively push updated records into store

* see updated data in console

I assume this is possible, but maybe it's not? Or you need a graphql server or container component?

I can think of a few more reasons beyond rescue.

- It's easier to find a significant other with whom to produce offspring if you exhibit kindness and charity to others.

- Generosity is often reciprocated.

- Giving implies EQ so altruistic person also likely takes care of family.

That's the issue with statistical models with finite decisions and states, they don't include enough parameters and interactions to capture anything relating to real life.

Like imagine a prehistoric human feeds a weak stranger, later that month the stranger warns them of danger. It's so obvious how kindness could be beneficial gene.

Yeah but assigning doesn't really work for nested classes.

    class Post {
       id: string;
       user: User;  // <- should be typeof User
    }
I was hoping for something like Golang json.Unmarshal.

For any parents out there: Please think long and hard before getting your kid prescribed. Get 2nd opinions, try nature or counselling, reflect if it's actually you who is the instigator. If you do go that route, know that your kid might not make it to 18, and if they do, might resent you deeply.

When experts in the same field looking at the same case can't agree even a little bit on best course of action, maybe it's not really science.

I was using that too, and switched over to Jest + Chai Assert. It was too difficult for me to replicate features like file watching, run only tests with changes for faster feedback loop, transpiling typescript and es6 in the same project, asset mocking, starting and stopping timers, etc. I only really used sinon.spy() so traded it for jest.fn().

RE: 2. Jest bundles Jasmine. It's primarily a test runner (like karma[1]) more than a framework. Jest includes mocking capabilities at the function level (like sinon[2]) and module level (like rewire[3]). It supports parallel execution, custom source code transpiling, file extension mocks (for webpack requires) and file watching. It favors large ES6 projects -- takes a second to start up.

[1] https://github.com/karma-runner/karma [2]: http://sinonjs.org/ [3]: https://github.com/jhnns/rewire

The easier imports solves my biggest issue with migrating an existing project over. I'd say TypeScript is "ready" now.

The last feature I'd want is an easy way to map nested json into classes rather than interfaces. Anyone know how?

I moved to Toronto from Seattle.

If you value street fashion, nightlife, music, no driving, etc then the bay area isn't very appealing. I wouldn't move back west until I'm married with kids.

I'm 22, rent a huge apt with two friends for ~$900/m each, live on the main subway line (15 min to work). I couldn't spend more than $4k/m if I tried (bought a roomba, tom ford shades, eat steak and berries).

Some toronto companies I admire:

- https://www.wealthsimple.com/ - http://www.uken.com/ - https://shoeboxapp.com/ - https://www.opencare.com/ - https://tophat.com/ - https://www.pagerduty.com/ - http://www.eventmobi.com/

I would agree it's not income. That's just correlation.

It's whether your parents taught you to read by age 5, cooked vegetables for dinner, encouraged you to play an instrument, drove you to tournaments on weekends, picked a neighbourhood with an IB program even if that means no yard, paid for braces, etc etc.

Patents with low income can choose to do formative things, with personal sacrifice.

Anecdotally, social mobility happens when your parents choose to prioritize you, and you also somehow get introduced to the good life and determine to 'make it' at whatever cost.

Epcylon // Toronto // ONSITE

We build desktop software for day traders. We're a small team located at King & Yonge.

Our core values are: respect, camaraderie, and excellence.

If you're reading this, let's grab coffee: aj@epcylon.com

Epcylon (Toronto financial core.) / Full Time / ONSITE / VISA

We have a winning algorithm. We have partnerships and worldwide distribution. We signed a $10M deal last week. It's time to execute! Lots of upside.

If you're great at one of the following get in touch: front end dev + design, devops, dba, stats, golang. We have 4 day traders, 2 full stack devs, 1 designer. You'll matter.

We also have baby lion and tiger day from time to time https://instagram.com/p/3ZXQ8drgvX/

Come print money with us :)

Github - @aj0strow alexander.ostrow@gmail.com