HN user

alfredxing

1,018 karma

https://x7f.ca

Posts36
Comments87
View on HN
radar.cloudflare.com 3y ago

Cloudflare Radar

alfredxing
4pts0
slack.engineering 6y ago

Building Slack Dark Mode on Desktop

alfredxing
6pts0
slackhq.com 6y ago

Dark Mode for Slack

alfredxing
166pts115
www.bloomberg.com 8y ago

Sonos files for IPO

alfredxing
4pts0
www.nytimes.com 8y ago

CryptoKitties, Explained (Mostly)

alfredxing
1pts0
slack.engineering 9y ago

Rebuilding Slack’s Emoji Picker in React

alfredxing
1pts0
sebastien-gabriel.com 9y ago

Designer's guide to DPI

alfredxing
66pts11
urbit.org 9y ago

Urbit in 2017

alfredxing
141pts147
slackhq.com 9y ago

Introducing Slack Enterprise Grid

alfredxing
3pts0
albertxing.com 9y ago

Rudolph Runner: A Holiday Game

alfredxing
3pts0
www.tesla.com 9y ago

Tesla Software Update 8.0

alfredxing
115pts89
www.android.com 10y ago

Help Name Android N

alfredxing
16pts16
qz.com 10y ago

Google Chrome overtakes Internet Explorer in market share

alfredxing
2pts0
code.facebook.com 10y ago

Facebook Terragraph and Project ARIES

alfredxing
1pts0
www.digitalocean.com 10y ago

DigitalOcean Block Storage

alfredxing
3pts2
slackhq.com 10y ago

Slack is turning two

alfredxing
2pts0
aws.amazon.com 10y ago

Gzip Compression Support for Amazon CloudFront

alfredxing
1pts0
beta.speedtest.net 10y ago

Ookla Speedtest Beta

alfredxing
3pts0
jekyllrb.com 10y ago

Jekyll 3.0 Released

alfredxing
11pts1
bits.blogs.nytimes.com 10y ago

Encryption Is More Important, and Easier, Than Ever

alfredxing
1pts0
officialandroid.blogspot.com 10y ago

Get ready for the sweet taste of Android 6.0 Marshmallow

alfredxing
1pts0
www.apple.com 10y ago

What’s New in OS X El Capitan

alfredxing
2pts0
arstechnica.com 10y ago

Google Announces the LG Nexus 5X and Huawei Nexus 6P

alfredxing
9pts1
github.com 10y ago

Show HN: mq, sub-200 byte DOM manipulation

alfredxing
13pts5
techcrunch.com 11y ago

Slack Has Seen 8-10 Acquisition Offers So Far

alfredxing
1pts0
www.cbc.ca 11y ago

Bill C-51 passes in House of Commons

alfredxing
168pts76
www.teslamotors.com 11y ago

Powerwall – Tesla Motors

alfredxing
74pts2
www.lg.com 11y ago

The LG G4

alfredxing
2pts0
urbanfibre.ca 11y ago

Urbanfibre: Gigabit Internet in Vancouver

alfredxing
2pts0
fortune.com 11y ago

Slack raises $160M at a $2.8B valuation

alfredxing
3pts2

I love Sublime and am probably the only one at work still using it. LSP support is nice but there doesn't seem to be great support for a TypeScript LSP server that works reliably with large projects. VSCode is slow here, too, but there are some specific optimizations they do I think that help a bit.

In the keynote Apple said the M1 Max should be comparable to the performance of an RTX 3080 Laptop (the footnote on the graph specified the comparison was against an MSI GE76 Raider 11UH-053), which is still quite a bit below the desktop 3080.

To be clear (and this is mentioned but not highlighted in the article), the previous Business plans were never guaranteed unlimited storage for orgs with fewer than 5 users ($60/month), the 1TB limit those orgs were supposed to have was just never enforced.

I was one of those users, and the thought that the storage limit could start being enforced at any time was always in the back of my mind. Now I'm on the Enterprise plan and can worry a bit less.

Netlify CDN Outage 7 years ago

Their CDN hostname, `cdn.netlify.com`, resolves to a DigitalOcean node, so it seems like they are rolling their own instead of delegating to a third party.

The custom emoji upload flow now includes previews for both light and dark mode! Doesn't help with existing custom emoji, but is hopefully helpful when adding new ones.

This might be an unfair comparison — the AMD numbers are from a single benchmark, and the article is comparing this against the aggregated scores of the i9-9980XE. A few i9-9980XE multi-core scores on Geekbench reach higher than 60k as well, with the highest being 77554 multi-core.

Thinkpad X210 7 years ago

Electron is built with Chromium. It's usually behind by a few versions (though the team is really focusing now on getting things up to date), and there are differences and additions.

I agree they aren't universal, so it's not so useful for first-time users, but once you get to learn them I find they help a lot with scanning and recognition.

I don't love the design, but what bothers me more is that I disagree with many of the premises informing the decisions, for example:

  - Github tab icons are purely decorative
  - Because we simplified the whole header, we don’t need that color coding anymore
  - Commits often touch files for completely arbitrary reasons, so the last commit tells you almost nothing
  - Get rid of gradients, dirty washed-out colors, unnecessary separators
Finally, cramming so much into one view makes it harder to navigate, not easier.

I agree jQuery was very useful early on, especially since it abstracted cross-browser differences and APIs.

However in my experience, a couple of things were key to creating a negative view of jQuery:

1. Security and unsafe defaults, for example: evaluating remote JavaScript by default [1]; and unsafe DOM parsing by default [2]

2. Not really to blame on jQuery, but its ease of use for DOM manipulation led to programming patterns that aren't easily scalable, for both code and performance

[1] https://nvd.nist.gov/vuln/detail/CVE-2015-9251 [2] http://api.jquery.com/jQuery.parseHTML/

Being limited by CPU/GPU depends a lot on what kind of hardware you have for each. For example, I have a 1070 and an i5-4690k and I'm CPU limited in some games (below 80-100fps)

FAT/exFAT have good support across the three OS's, but they are very far from being "modern" filesystems. One of the most fundamental cons for me is the lack of journaling on these filesystems; it's very easy to corrupt a drive formatted as exFAT, especially if it's a portable device (which is probably one of the most important uses of a cross-platform filesystem)

What's interesting to me is that there doesn't seem to be a modern filesystem that works across all major platforms. btrfs has Linux and this (unofficial) Windows driver; ZFS has Linux and OS X support but nothing for Windows. NTFS is pretty much Windows and Linux only for good write access, and APFS is macOS-only.

I realize that designing a filesystem and writing drivers for it are very difficult tasks, but surely it would be extremely beneficial to have at least 1 open source filesystem that has good support across all platforms?

To www or not www 9 years ago

I'm surprised that the article doesn't mention anycast, which is more or less the "correct" way of using a CDN on an apex domain, since for the user's purposes it's just a static IP address.

I find anycast to be convenient even for subdomains, since it isn't affected by things like DNS caching, (although things like edns-client-subnet apparently help with that).

I'm actually currently looking for a CDN for my website. I don't like www (just personal preference) so anycast is pretty important to me, but there don't seem to be a lot of providers offering anycast for decent price. The closest I've seen is Google's Cloud CDN, which out of all the CDN's I've tried (a lot), is one of the best, but for a small site like mine I tend to get more cache misses than hits (simply due to eviction).

Maybe I'll write up a blog post about this issue :)

I run a "hackintosh" system with similar specs as in the blog post, and it works very well (after quite a bit of initial setup).

I still far prefer macOS to Windows for development because it's an actual Unix, the UI is still much better, and the quality of apps available is quite a large difference.

My dream though, is a Linux with an actually decent GUI, desktop environment, and good apps. But one can only dream...

I think in general we can classify websites into 3 categories: static sites with no dynamic content, static sites with dynamic content (through, for example, REST API calls), and non-static sites (where the delivered HTML/front-end code is server-generated).

When there is no dynamic content, using a static site tends to make the most sense. For example, a WordPress site with no moving parts (i.e. no comments) can be easily converted into a purely static site, though adding a cache in front achieves basically the same result.

Things get more complicated when a site or app needs dynamic content. Using API calls, the server doesn't need to generate the HTML every time, but performance-wise, you would also need to factor in the additional round-trips performed to fetch the data.

I have a Ubiquiti setup for WiFi at home (though not as complex as in the blog post - just an EdgeRouter X and UniFi AC Lite). It has never gone down once, and performance is the same as on day 1:

  ubnt@ubnt:~$ uptime
   06:16:26 up 140 days, 13:15,  1 user,  load average: 1.08, 1.03, 1.05