565 karma · joined Feb 7, 2012 (14y ago) · 170 submissions
comment 7y ago · link · parent
Since then, you've been able to get a cheap, reliable watch for next to nothing. Quartz movement, combined with mechanization of production, ensured that. The whole industry had to adapt to making watches themselves sort of an aesthetic statement, not a practical tool to keep you from being late.
At this point, any watch costing more than $25 is itself an aesthetic piece. Part of that aesthetic is where and how it's made. There's probably a market for watches made in Antarctica because of whatever sense of taste that "story" appeals to.
comment 7y ago · link · parent
https://www.economist.com/graphic-detail/2018/07/26/python-i...
126.
Show HN: Python email delivery using Jinja2 templates(github.com ↗)
1 points · by bouncing · 7y ago · discuss
comment 7y ago · link · parent
And no, companies don't give tours to randos. You have to do it with a lot of money on the table. Buffet isn't rags to riches; he's medium-rich to super-rich, and he got his start in much smaller businesses.
comment 7y ago · link · parent
He invested one-on-one, in businesses he thoroughly understood, after a lot of research and understanding of the business. Think less scanning a spreadsheet or stock data and more CNBC's "The Profit" -- walking around a factory floor, looking through accounts receivable, talking to the assembly team, talking to customers. THEN making a decision to invest a lot of money and steer the direction of the business.
comment 7y ago · link · parent
comment 7y ago · link · parent
For one, the most major http client library (Axios) doesn't have support for that kind of pipelining.
But also, you don't necessarily know what to pipeline until you get the first request through. Most web apps will make a REST request, look at the contents of the response, then make another REST request. Maybe you could keep the socket open through that, or you could even use websockets to bypass HTTP altogether and use jsonrpc, but still, you don't know what you need to fetch in the second round until you finish the first one, so either way you're looking at a waterfall of requests, one after another. Pipelining them would scarcely help.
What would help is having one API request that basically says, "here's who I am and here's the page the user wants. Give me everything for it." Then you're moving the controller back to the server, and leaving only the view on the client.
comment 7y ago · link · parent
Something to consider:
1. If the server render is slow, everyone notices.
2. If the client download is slow, only people on slow connections notice and only then if it's not cached.
So in other words, your CUSTOMER on a fast connection might notice #1, but probably won't notice #2.
I'm not defending unoptimized code exactly -- I'm just pointing out that if the person paying the bills doesn't notice a problem, it's far less likely to get fixed.
comment 7y ago · link · parent
A lot of that is likely because of the way most REST APIs are laid out.
Suppose you're looking at a page that displays an invoice for an accounting system. With a traditional non-SPA app, you'd do a bunch of SQL queries and build a page from an HTML template.
With a REST API, you're doing one HTTP call per entity, at least, and then subsequent HTTP calls for aggregate entities.
When I've made SPAs before, I've often eschewed REST and just made a single Ajax call for "everything I need to display X to the user," not just out of efficiency, but also out of laziness -- it's easy to build. As long as you internally use your API only and don't publish keys for third parties, it's easy to maintain too.
There are some solutions to address the whole problem on a grander scale (GraphQL comes to mind), but overall, that's the cause of slow SPAs in my experience.
comment 7y ago · link · parent
Same thing happened in Chicago. Before there was the CTA, there were private, for-profit rail roads connecting the city, owned mostly by the Chicago Rapid Transit Company.
So, if Via is unsustainable and unprofitable, and was acquired by local government, that wouldn't really be any different from how the LA Metro got started.
comment 7y ago · link · parent
It does work on every major desktop platform. It takes a while to load, uses more RAM, and is noticeably slower. Its apps have basic native features, like system tray/indicator support, but never support them very well and break metaphors used by truly native apps.
Electron is great for having an "offering" of a native app that's really just your web app with an installer. But the experience is never great.
comment 7y ago · link · parent
Apple's original position on third party apps was that they deserved on the web, in what would eventually become known as "progressive web app" form. That position was abandoned not just because it was a mediocre user experience, but also, it actually prevented device lock-in, which is something Jobs obviously craved.
You can argue that some apps are time-sucks, or bad for your overall well-being, and I'll be right there with you. But that has relatively little to do with whether they're shitty web apps or native code apps.
And also, the fact that smartphones do way more than originally imagined is a great thing. In most parts of the world, I can pull out my phone, tap a few characters, and a car will magically pull up where I am and take me wherever I need to go. Or bring me food. I can translate anything to anything. I know the second a flight is delayed, which lets me be more present in life. My life is assuredly better because my smartphone is turing-complete and runs third party software.
comment 7y ago · link · parent
The private sector one paid more, I remember, but my mother brought up to my dad something interesting: You're less likely to get laid off, and you'll always have more job security, with the stable paycheck provided by a government job.
It's weird to think about it, but at this point in time, the United States Government may be one of the worst major employers in the country. Two missed pay periods, unstable leadership, no yearly budget, massive deficits, constantly changing its mind.
comment 7y ago · link · parent
There have been some concerns with their security:
https://www.schneier.com/blog/archives/2016/03/imessage_encr...
https://www.pandasecurity.com/mediacenter/technology/need-kn...
https://www.tomshardware.com/news/imessage-weak-encryption-m...
Additionally, iMessage doesn't have any means of out-of-band key verification, so you actually have to trust Apple to faithfully exchange keys and there's no way to verify that it's done so.
iMessage also tells you after a message is sent (via the color of a bubble) whether the recipient received it using iMessage. That's not very good assurance if, say, you're messaging a journalist in an authoritarian country. Will it go out over SMS or iMessage? You can find out, but even a little bit of doubt about that can have significant consequences.
I'm glad iMessage does do encryption like it does, but it's no replacement for Signal and WhatsApp uses libsignal for its encryption.
comment 7y ago · link · parent
Sort of.
Yes, they could serve you a MITM key, but it would be easily discoverable when you compare security codes in the client. And since the client is widely distributed on major app stores, it would be very risky to ship a compromised client.
Ultimately key exchange is a hard problem to solve. Notice that Signal doesn't do anything that much different; Signal does the key exchange and unless you verify each user's key offline, you have to trust it. Both WhatsApp and Signal have an option to display a notice when keys change, but Signal's is on by default.
Overall it's still pretty damn good. WhatsApp is perhaps the only major form of consumer communication where, by default and with no opt-out, every single chat really is fully encrypted using a widely respected protocol (libsignal). That's not nothing.
comment 7y ago · link · parent
Sure they would. Flow has nothing to do with Facebook's business strategy, or its marketing campaigns, or even its corporate strategy. I'd be surprised if anyone on VP or higher even knows what it is.
Insofar as "NIH" wins at big companies, it's when there's a business motive to promote a certain technology or FUD about what other technologies might exist.
But engineering team A deciding not to use engineering team B's tools despite working at the same company? Happens all the time.