11,264 karma · joined Oct 8, 2017 (9y ago) · 2,949 submissions
#!/bin/bash
name=chris
user=divbzero
email=${name}@${user}.com
code=https://github.com/${user}
website=https://${user}.com
[ my public key: https://keybase.io/divbzero; my proof: https://keybase.io/divbzero/sigs/o74zfvmaYGlCRV0hSUGRNdI1y03rbNP65tL072qROtg ][ my kismet code: ef956b ]
comment 6y ago · link · parent
And as another comment mentions, GitHub Pages now offers HTTPS certificates [1] for custom domains, so GitHub Pages alone is sufficient for most static websites.
[1]: https://github.blog/2018-05-01-github-pages-custom-domains-h...
comment 6y ago · link · parent
That said, the “big list” here is directed towards managers and, for a manager, picking out one of these questions now and then as a conversation starter could uncover issues or opportunities that you could address early and make someone just a little happier at work.
comment 6y ago · link · parent
[1]: https://en.wikipedia.org/wiki/Electric_vehicle_warning_sound...
[2]: https://electrek.co/2018/03/07/jaguar-i-pace-artificial-moto...
comment 6y ago · link · parent
This exactly is the challenge. If your first computer is a mobile device, you would not have that “bigger brother” available.
iOS does have Swift Playgrounds [1] and Android has the excellent Termux [2] but access to the built-in JavaScript engine would open a whole new set of possibilities.
[1]: https://www.apple.com/swift/playgrounds/
[2]: https://termux.com/
I was introduced to programming on a dinky little graphing calculator. My hope is that other “first computers” could offer similar opportunities for tinkering.
comment 6y ago · link · parent
For this same reason, I’m disappointed that mobile browsers such as iOS Safari have yet to enable DevTools, e.g. a page inspector, network inspector, and JavaScript console. Especially for younger generations, there are many whose first computer will be a mobile device.
comment 6y ago · link · parent
The FAQs for Microsoft for Startups [1] list the following requirements:
- You must be engaged in development of a software-based product or service that will form a core piece of you current or intended business - this software must be owned, not licensed.
- You cannot have received more than $10,000 of free Azure in the past.
- Your headquarters must reside in the countries covered by our Azure global infrastructure.
- You must be a privately held company.
- You must operate a public website on your own domain.
- Your contact email address domain must match your public website.
- Your funding information must be verifiable.
The FAQs also add that:
> The qualified offer is designed to help companies that are focused on growth, so it’s less applicable for consultancies and small businesses. If you are a small business or consultancy you can get started with a free trial.
[1]: https://startups.microsoft.com/en-us/benefits/#faq
Note also that Microsoft’s new offer is for GitHub Enterprise Cloud, not self-hosted GitHub Enterprise. GitLab is probably your best bet for a self-hosted GitHub alternative. [2]
comment 6y ago · link · parent
The author appears to be using his own functions written in vanilla JS. The Gears page loads a custom Canvas library base.js [1] plus an page-specific gears.js [2]. iOS graphics appears to be an area of expertise [3] for the author.
[1]: https://ciechanow.ski/js/base.js
[2]: https://ciechanow.ski/js/gears.js
[3]: https://github.com/Ciechan?tab=repositories
(P.S. <canvas> is an interesting choice, I had expected <svg> before opening the page inspector. Separately, I love the creative use of TLD in the domain name.)
comment 6y ago · link · parent
The other week a store clerk failed to look up my purchase when using my physical credit card, but succeeded when using the same credit card via Apple Pay. I would have been out of luck if I had rotated my Apple Pay number.
comment 6y ago · link · parent
[1]: https://github.com/git/git/graphs/contributors
One technical error in the article was understating the distributed nature of Git:
> With distributed VCS, a copy of the most current version of the code resides on each developer’s device, making it easier for developers to work independently on changes to the code.
Replacing s/most current version/all versions/ gives us the technically correct statement:
> With distributed VCS, a copy of all versions of the code resides on each developer’s device, making it easier for developers to work independently on changes to the code.
Having all versions of code is what allows local branch, rebase, merge, and conflict resolution before pushing those changes to the shared repo.
comment 6y ago · link · parent
[1]: https://en.wikipedia.org/wiki/Flush_toilet
Technically invented in the 1500s but not widely produced until the 1800s.
comment 6y ago · link · parent
comment 6y ago · link · parent
[1]: http://todotxt.org/
[2]: https://lifehacker.com/geek-to-live-reader-written-todo-txt-...
comment 6y ago · link · parent
The ordered dict for Python was originally an implementation detail, part of a more compact dict representation that was first proposed for Python in 2012 [1], implemented for PyPy in 2015 [2], and merged into CPython 3.6 in 2016 [3] [4].
[1]: https://mail.python.org/pipermail/python-dev/2012-December/1...
[2]: https://morepypy.blogspot.com/2015/01/faster-more-memory-eff...
[3]: https://mail.python.org/pipermail/python-dev/2016-September/...
[4]: https://news.ycombinator.com/item?id=12460936
The decision to add it officially to the language spec wasn’t made until Python 3.7 in 2017. [5]
[5]: https://mail.python.org/pipermail/python-dev/2017-December/1... "Guido says ‘Make it so.’"
comment 6y ago · link · parent
Second, as noted by nkurz the contrast between bacterial and viral treatments is striking. Whereas we expect bacterial infections to be treatable and are alarmed when they aren’t (MRSA), we expect viral infections to simply run their course except for the few instances where they’re treatable (HIV, influenza) or even (gasp!) curable (HCV). We explain away the sad state of antivirals by pointing to the inherent biochemical challenges of fighting viruses [1] but maybe what we really need is a breakthrough — perhaps a miraculous fortuitous “penicillin” moment — so 100 years from now antivirals will also be a matter of course.
[1]: https://en.wikipedia.org/wiki/Antiviral_drug#Approaches_by_l...
comment 6y ago · link · parent
[1]: https://www.facebook.com/notes/facebook-engineering/using-ht... "Using HTML5 Today"
[2]: https://appleinsider.com/articles/12/09/11/facebook_admits_h... "Facebook admits HTML5 not competitive with Cocoa Touch"
[3]: https://techcrunch.com/2012/12/13/facebook-android-faster/ "Facebook Speeds Up Android App By Ditching HTML5 And Rebuilding It Natively Just Like The iOS Version"
I have always rooted for mobile web apps, but the lack of feature parity and distribution challenge (“Add to Home Screen”) puts them at a constant disadvantage and companies who control mobile OS’s have little incentive to change this.
comment 6y ago · link · parent
However, in rare cases if you’re foolish (aka me) you might:
1. Unintentionally open a new Safari window via iPadOS multitasking.
2. Unintentionally close the original Safari window with your 400+ tabs.
3. Lose 400+ tabs permanently.
I’ve learned the hard way to just use the Reading List.
comment 6y ago · link · parent
Internal Server Error