HNHacker News
TopNewBestAskShowJobs

wentin

573 karma · joined December 5, 2014

submissionscomments
wentin··on Show HN: Coding Font – A game to find your favorite coding font
Great idea! I took it and implemented it, now there is a toggle button to turn on “Blind Mode”

Try it out!

wentin··on Show HN: Coding Font – A game to find your favorite coding font
Yes, I hit the limit for Google Fonts API. It is fixed now. I moved off the API service. :)
wentin··on Show HN: Coding Font – A game to find your favorite coding font
Sorry I went to sleep and woke to the app not working. Stupidly used Google Fonts API when I really don't have to, was being lazy. It is fixed now! Please try again?
wentin··on Show HN: I made a 3rd party Paper.js API Reference site with search
I LOVE paper.js, it is the most powerful vector graphic js library right now. However, it took me a long time to learn its API. One of the pain points I have with the official API site is that it doesn't have search functionality.

I rely heavily on good search in other API sites like vue.js reference website. It makes the learning curve flatter. So I made a third-party API site with search function for paper.js, check it out: https://paper-api.wentin.co/

wentin··on Show HN: Font Playground updates
hi HackerNews community, I am the creator of Font Playground https://play.typedetail.com/, which debuted right from here as a Show HN post! Font Playground is a web app that allows you to experiement with variable fonts. I have just updated the app with a bunch of new features, you can now create interesting compositions with variable fonts and save it to CodePen. You can reopen saved compositions later as well. Try out the font “Spooky”, it is ... spooky! It is part of 13 newly added fonts designed by the Black Foundry.
wentin··on Show HN: Font Playground – Play with variable fonts
I will support adding your own fonts to font menu soon! Stay tuned and thanks for the suggestion!
wentin··on Show HN: Font Playground – Play with variable fonts
Thanks for your review! I passed along the goods words to the designer of Cheee, I am sure he is delighted. Interesting story on Adobe Type history! The good old days!
wentin··on Show HN: Font Playground – Play with variable fonts
I love how you go directly to the source code to dig it out! Actually the answer if also hidden in the code tab of the app. It you switch to Code, you can get the code snippets to make the setting work in css!
wentin··on Show HN: Font Playground – Play with variable fonts
I add a temporary fix to this overflow issue. it is caused by a flexbox issue on firefox. On firefox the behavior is a little different from chrome/safari, but at least the axis are not hidden from overflowing anymore :) thanks for the report!
wentin··on Show HN: CSS Mono – A Typeface Designed for CSS Coding
yes! I will add more to the website. This is a temporary site I put up before my talk at dotcss.

____

I am working on a monospaced typeface design, working name "CSS Mono". Unlike other monospaced fonts, it is a humanist serif, wider (more extended) than most fonts used in code editor. It is named CSS Mono because I design it with the typesetting of CSS(cascading stylesheet) in mind.

All programming languages are different, typesetting-wise. Similar to German to English, CSS is different from, say, Javascript. The letter arrangement defines the typesetting character. We have typeface just designed for German because the upper case is more frequently used in German, therefore the typeface will make upper case lighter to compensate that. The same delicacy should apply to coding language. Instead of using the same monospaced font for all language, CSS is its own unique flower and I treat it with love and care.

Different from most other programming languages, CSS code break lines very early. We don't have long lines in CSS. In result, we end up with half of our screen on the right side empty, unused. Those space can be claimed by using a wider typeface, then the users will be able to set the code to a smaller size and still make it legible, then the users can read more lines of code on the same screen real estate.

-- wentin

wentin··on Show HN: CSS ICON, an icon set crafted by pure CSS
like I said in the video, I admit it is not a replacement technique of SVG for icons, but it does have its niche use cases. When I prototype, or I need some simple icon that I want to animate when hover, CSS is easier. You can see a lot of hamburger icon out there are done by css. This is a reference so that someone else don't need to redraw the hambuger icon in css again and again.

Beyond that I have positioned it as an CSS learning tool. I spent more time making the web app than doing the icons, with angular.js, so that one can click on any icon and inspect and learn these css tricks within 10 mins or so. The easiest way to learn any programming language is to do a hands-on project, and I find cssicon is bite-sized project that give the learner some learning satisfaction within the ideal short time span. I hope this helps someone

wentin··on Show HN: CSS ICON, an icon set crafted by pure CSS
> css icon has less code

this is just not true. using svg you can have a single string describe an arbitrarily complex path.

reply: unless you count code by lines, but that single line of string for paths feels really really long and not readable. see below

> the code is more editable

<svg id="beard" data-name="beard 1" xmlns="http://www.w3.org/2000/svg" width="14.096" height="4.063" viewBox="0 0 14.096 4.063"><title>Untitled-1</title><path d="M10.529,0.563a2.245,2.245,0,0,0-2.972,0,1.806,1.806,0,0,0,0,2.716c1.8,1.643,4.343.514,6.539-1.63C13.461,2.269,12.136,2.032,10.529.563Z" fill="#fff"/><path d="M3.567,0.563a2.245,2.245,0,0,1,2.972,0,1.806,1.806,0,0,1,0,2.716C4.741,4.922,2.2,3.793,0,1.649,0.635,2.269,1.959,2.032,3.567.563Z" fill="#fff"/></svg> vs. in css http://cssicon.space/#/icon/mustache-solid

to change its shape you need to use illustrator for SVG vs. in css just some property change. Yes they are just text, but are you really smart enough to edit the above SVG code by hand?

> and managable

managable as you can have clean html, all you need is a div, vs. svg you have to insert the whole chunk of svg code in your html.(Using <img/> won't give you flexibility, svg has to be inline) you can have package tool to insert svg programmatically but when you just prototyping, not gonna do that whole process to just get some icon showing up. CSS ICON is grab and go icons.

> arguably better performance (because i haven't tested it)

It is not true rendering time wise, as someone else analyzed CSS need more rendering time. But you have less HTTP request comparing to icon fonts or external SVG files. Download time is faster

wentin··on Show HN: CSS ICON, an icon set crafted by pure CSS
your solution is genius! thanks so much!
wentin··on Show HN: CSS ICON, an icon set crafted by pure CSS
can you say more about this approach? very curious
wentin··on Show HN: CSS ICON, an icon set crafted by pure CSS
awww, thanks so much for you nice words!
wentin··on Show HN: CSS ICON, an icon set crafted by pure CSS
there are design cases like, I want to make everything minimalistic, so everything should be consistent of 1px stroke weight, then i need to have a special + sign drawn :) Designers are this this. like developer has to indent 2 spaces instead of 4 or 8. similar thing
wentin··on Show HN: CSS ICON, an icon set crafted by pure CSS
this sucks! I am trying to figure out why, could be the angular app's performance?
wentin··on Show HN: CSS ICON, an icon set crafted by pure CSS
this sucks, it is on github gh-pages, should be fine on the hosting side, probably the domain name. http://wentin.github.io/cssicon maybe try this but probably won't work because it redirect to cssicon.space immediately.
wentin··on Show HN: CSS ICON, an icon set crafted by pure CSS
this made my day! like what I said in the video, I struggled finding use case of it for other people, and decided to spend more time than what I spent on crafting these icons to make this an educational web app with angularjs. I am very glad it is doing what I want it to do. I recorded these tutorials long time ago and never posted it anywhere, i think maybe this will interest you https://www.youtube.com/watch?v=TNCngP8w284 https://www.youtube.com/watch?v=go3P1Op9tF8 https://www.youtube.com/watch?v=EuO21HanS6k
wentin··on Show HN: CSS ICON, an icon set crafted by pure CSS
this is awesome analyze, thanks!
wentin··on Show HN: CSS ICON, an icon set crafted by pure CSS
css icon definitely win on the download wise. It has much less code.
wentin··on Show HN: CSS ICON, an icon set crafted by pure CSS
i struggled a lot finding use case for everyone. I talked about that in the video. The short version is, less code, more manageable, you can style it and animate it easily, while it is not as powerful as SVG. And it is a good start point to learn CSS
wentin··on Show HN: CSS ICON, an icon set crafted by pure CSS
CSS ICON is good for cases like, if you want to animate it, or style it on hover state in a particular way, of you need to prototype something fast on codepen where you don't want external assets files or long long pasted-in SVG code, this is much better.

The shortcoming is that you can't do any icon in the world with css. But if you already find this is equivalently appearance wise, the performance and code hygiene is much better than SVG or icon fonts.

also icon fonts are the worst way to do icon, here is the article about why: https://github.com/blog/2112-delivering-octicons-with-svg

wentin··on Show HN: CSS ICON, an icon set crafted by pure CSS
oh yeah! thanks! this is fixable, I just have to draw it in a different way, logging a bug.

I haven't tested it but I am guessing it has better rendering time, it has much less code than SVG (with their path, it is often quite long) and you can style it (such for hover state) and animate it more easily.

With SVG, you can do the same, but it has to be inline in HTML, no img tag embed SVG and such, so if you have 2 of the same icons on the same page, the code has be to repeatedly inserted twice in the html, but with css it just share the same classname.

wentin··on Show HN: CSS ICON, an icon set crafted by pure CSS
css icon has less code, the code is more editable and managable, argumentably better performance (because i haven't tested it)

in the intro youtube video I said more about that. But to be honest, I just had a lot of fun dealing with the constraints that comes with css and loved the creating process, I spent a few weekends keeping designing and coding those tiny icons and skipped a lot of sleeping and still had fun.

wentin··on Show HN: Re-innovate the resume to the modern digital age
I started working on more templates, but it was extra hard because the only resume content I have is mine, BUT I want to target at other career type this time.

So I thought, if you guys want a custom designed resume, please contact me at wtzdesign@gmail.com, I will work with you to create a resume for you, I will give you the design source file in exchange of you allow me to use it for promotion material (key info like name and company info will be substituted with fake info if desired.)

I will pick one to work on first

wentin··on Show HN: Re-innovate the resume to the modern digital age
update, I fixed the first error, by supporting auto save now!

for 2, ideally, it would support revert by cmd+z for those changes, what do you think? Confirming each time could be too windows-y

wentin··on Show HN: Re-innovate the resume to the modern digital age
OMG, I forgot the preview mode! Thanks! working on fix that now! for 2, how would you feel for browser print (then pick pdf)? I don't have better technology to generate pdf than the default browser print right now :< for 3, great point! I can see that happen a lot, I will fix that for 4, yes, that is on the horizon for sure! More to come when i launch! for 5, great idea! I thought about it, I am currently working on adding more, along with new template that emphasize on different aspect of resume

Thanks so much!

wentin··on Show HN: Re-innovate the resume to the modern digital age
Hello, the founder of profession.is here, happy to answer any questions! Let me know what you think about the web app. Thanks MegaLeon, I knew it was about to happen, queen of typo I am. Thanks mathgeek! More customized themes are on their way in the future. before I go to town designing 10 more resume templates, want to hear some feedback on the foundation of the webapp first from YC community
wentin··on Hack the hackpad: transform hackpad to a blog CMS
hey, happy new year! This is a side project I have been working on in the holiday.https://github.com/wentin/Hack-the-Hackpad Very excited that it gets to a point to be (at least) usable! If you are a hackpad user/fan, I am sure you will enjoy it! Even if you don't have hackpad account, you will still be able to generate articles using other people's hackpad padId! How to use it? http://wentin.github.io/Hack-the-Hackpad/#JVgfJHOyu6O
← PreviousPage 3 of 4Next →