nshipster / nshipster.com Goto Github PK
View Code? Open in Web Editor NEWA journal of the overlooked bits in Objective-C, Swift, and Cocoa.
Home Page: https://nshipster.com
License: MIT License
A journal of the overlooked bits in Objective-C, Swift, and Cocoa.
Home Page: https://nshipster.com
License: MIT License
Hi @mattt! I want to translate NSHipster in russian, what do you think about the idea?
"Localizing String Resources from Apple's Internationalization Programming guide"
-> Sorry, that page cannot be found.
Hello, I've tried loading the JSON Feed (https://nshipster.com/feed.json) into a couple of different readers and they all seem to be having a problem parsing the JSON. Looking at the response, I think the problem might be in the content_html
properties. It looks like there is a leading line-break in each of the values.
The following category names are English words that should be localized for translation sites:
Here are the steps needed to do this:
Posting from my iPhone, so I can't take a picture, but this week's NSHipster is a good example of the problem.
Hi Matt,
I noticed that you've prepared to introduce the chinese translation of your NSHipster. I'm interested in translating page to polish language. What do you think about it? Do you agree to create the nshipster.pl page?
Michał
I suggest not using the .cn TLD, 'cause there are so many limitations and requirements by the GOVERNOR.
maybe nshipster-china.com or nshipster-cn.com
The feed at https://nshipster.com/feed.json includes HTML that is escaped as if it was being served in an HTML or XML file. The result is that RSS readers show the raw HTML instead of formatted text.
I think the issue is this in the feed.json file:
"content_html": {{ post.content | escape_once | jsonify }}
I think escape_once should be removed.
大家好!
With the latest redesign of NSHipster, I added a large section at the bottom of each article to credit its translator. It would be great if each of you would fill out your personal details in this translators.yml file (in Chinese). Bio is Markdown-formatted, and supports links just like in GitHub. I can fill out the Gravatar URL once the bio is in place. (You can use this authors.yml file as an example).
Thanks again for your amazing work so far. I would be honored to have you recognized for it on the site.
谢谢
To go along with support for multiple authors on nshipster.cn, I've switched from having translator information as Jekyll "data" to a "collection", and have added individual pages for each translator with a bio. Please take a look and make sure your page looks okay—you can make changes and additions in the _translators directory.
Thanks again for all your hard work!
In the following sentence of the WatchKit article (published December 1, 2014), "their" should be replaced with "there".
There's a lot of overlap, but their are important differences.
When viewed on a Mac in Dark Mode, the graphics on https://nshipster.com/language-server-protocol/ are very hard to read:
The good news is that browsers are able to change fill and stroke colors for simple inline graphics and Jekyll supports inlining SVG assets.
I propose the following changes:
@inline
argument, eg. {% asset lsp-languages-plus-editors.svg @inline %}
article svg { max-width: 100%; }
to match img
's behavior.fill="currentColor"
to the SVG element.stroke
and fill
to currentColor
anywhere they are currently set to black.A cheaper alternative would just be to throw a white background on these graphics.
The work should be relatively straightforward to implement and if no one has tackled it, I could probably find some time later in the week. Someone with a set up environment would just have a quicker go of it.
Navigation to https://nshipster.com/
fails:
Would be nice if we can know an article is updated via RSS.
I'm more or less a long-time OS X hacker, but a beginning/intermediate coder (particularly with regard to Objective-C APIs).
I'm particularly intrigued by the idea of being able to use the wealth of Cocoa APIs from dynamic languages, applications and scripts. Since RubyCocoa, PyObjC and friends are now deprecated, it seems like this is would be "the suggested" way forward here. I confess I don't really understand fully what's happening in "AppleScriptObjC" — it seems to maybe be availing itself of XPCServices, but neither do I fully understand fully what XPC offers over older IPC routes like Apple Events.
I should note that while I've been pondering this for a while, I've largely been waiting for the revised version of this book to be released, and it appears it finally has. But before I drop $60 on two new ebooks, I'd love some perspective here, or whatever your thoughts are on this?
As described by @kylinroc in #42:
Currently the website use italic widely, but Chinese font don't have a real italic. In post I translated, I usually use bold over italic. (I think this maybe also an issue in Korean.)
Currently, <em>
and <dfn>
are styled using italics. These styles should be overridden in CSS with a more specific language query.
Either as part of the build pipeline on Netlify, or a separate GitHub Action.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.