HNHacker News
TopNewBestAskShowJobs

patelpankaj

130 karma · joined September 26, 2014

Frontend Engineer

Blogging and Photographing experiences out of curiosity.

submissionscomments
patelpankaj··on Lessons from Linguistics: Internationalization Best Practices
Really interesting read on i18n.

I always think of implementing i18n as incremental effort. What this post has mentioned is definitely a worth noting while preparing UI with complex grammar but implementing languages is always with 1-2 languages and then market expansion follows and we pick up more languages.

Such deep dive in linguistics is definitely a good plus along with good understanding of i18n tools/libraries.

What translation managers do you know/use that helps in aiding with the complexities of particular grammar?

patelpankaj··on Keytap: Acoustic Keyboard Eavesdropping
This is really interesting, how do you overcome the acoustic differences of different key board and also the pressure differences among users
patelpankaj··on What Is JAMStack?
Above post is general introduction on JAM Stack and Jargon related to it.

Though I got to thinking that there is a part of community which does not prefer to use JAM Stack.

Please share your dislikes or complications about JAM Stack

patelpankaj··on GitHub Profile READMEs
TLDR; create a new Repo with the same name as your Github username
patelpankaj··on What's wrong with WiFi in iOS?
It will never be off from the Control Center
patelpankaj··on You don't need libraries for internationalization of dates
These differences exist because of the freedom given to everybody about their choice. So countries make their operating standard and citizens follow it.

It is simple to think that this format would work but the people who are not familiar with this format will be completely lost with it. People who are not educated but somehow learnt to follow one format; ask them to learn a new format; it will be so complicated.

patelpankaj··on You don't need libraries for internationalization of dates
Author of the post here; the gist of above post:

You can use Date.prototype.toLocaleString and its customizable API to get the localized output easily. Like in the following example, we will use the Locale String to easily get the Readable Date desired by the user

patelpankaj··on Ask HN: Electron Cross Platform
There you go: https://www.electron.build/multi-platform-build
patelpankaj··on Ask HN: Electron Cross Platform
I know one from GhostCMS; Desktop tool for editing the posts: https://github.com/TryGhost/Ghost-Desktop
patelpankaj··on Ask HN: Electron Cross Platform
Maybe you can look into the build scripts of some opensource tools built on top of electron.
patelpankaj··on Different Ways to Create Arrays in JavaScript
Any other way that you know and wanna share with others?
patelpankaj··on Why aren't you using Aliases in webpack config?
What other tricks do you use to make your code refactor-ready or new-team-mate-friendly?
patelpankaj··on Why Data Is Not the New Oil
I think this comparison is from an Economic point of view and how Oil is directly equal to money. And the way the world's economy is pushed with Oil.

But important factor to consider is that data without context is probably useless; though you can develop the context over time. Amazon has been collecting data and using it to optimize how to suggest more productsto be bought as a group.

And probably that's why it might the Oil of future; even if we can argue about the statement from both sides.

The reason for Google, Facebook being free is that data is Oil for them. And they are using it the best they can to get more of it.

patelpankaj··on Show HN: Extract Text from Webpage
I agree with capabilities; though might not need it most of the time. I appreciate the creation of these tools.
patelpankaj··on Append only development with React [video]
Interesting talk. Though how would you put Behavioral Programming in the context of Reactive Programming?
patelpankaj··on Show HN: Extract Text from Webpage
I like the Tweet/FB/Insta post to image app more than the text extractor itself.

All you have to do is print to PDF to convert any webpage to PDF

patelpankaj··on Creating REST API in Node.js with Express and MySQL 🧩
What were your initial challenges when creating REST API with Node.js?
patelpankaj··on Creating REST API in Node.js with Express and MySQL 🧩
Yes, totally agree with you about the SQL injection; though if you have noticed, there is no SETTINGS table there. I had left it like this to show the example cases rather than making it a full-fledged solution.

The goal was to demonstrate the creation of REST APIs with Node.js, Express, and MySQL; I am pretty sure there are so many packages out there to efficiently generate the query for MySQL engine.

By keeping things more crude, the reader who is willing to try it out will get a better idea of what is going on, rather than plugins taking care of it.

patelpankaj··on WebComponents with CustomElements, ShadowDom, HTMLTemplates and HTMLImports
Are you currently using WebComponents?

If yes, what are your challenges while using them?

If no, what do you think about using it in the next project?

patelpankaj··on Best JavaScript Editors: Tools Ranked by the Developers Worldwide
And actually that can be a good topic to write about
patelpankaj··on Best JavaScript Editors: Tools Ranked by the Developers Worldwide
I guess you are right
patelpankaj··on Best JavaScript Editors: Tools Ranked by the Developers Worldwide
Do you agree with this list? If not; what's your favorite?
patelpankaj··on Free Image Hosting with Gitlab or GitHub - Time to Hack
What ways do people here store images which cost as low as possible?
patelpankaj··on GraphQL Conf 2019 in a Nutshell – Some Takeaways
Totally agree with you about the whole conference.

I definitely experienced some new aspects on GraphQL.

More importantly, I was so amazed the community being together for one thing, GraphQL.

patelpankaj··on GraphQL Conf 2019 in a Nutshell – Some Takeaways
Awesome. I would definitely give it a try.

And I totally agree; the community has grown exponentially. I have been following the graphql since 2017 and am totally amazed by the power of community and growth of GraphQL itself.

patelpankaj··on GraphQL Conf 2019 in a Nutshell – Some Takeaways
If you had been to the conference or watched it live-streamed or watched later on youtube; which talk/part is your favorite?
patelpankaj··on Different Result from Array.sort() on Chrome and Safari with Same Input 🧐
Try running the following (modified) example from Array.sort() MDN on Chrome and Safari

var array1 = [1, 30, 4, 21]; array1.sort(i => i%2 === 0); console.log(array1);

patelpankaj··on Simple Tutorial for Drag and Drop in HTML5 with JavaScript
Demo shows element drop and file drop
patelpankaj··on DRY HTML or DRY CSS?
what do you guys think?
patelpankaj··on Introduction and Quick Guide to GraphQL for BackEnd and FrontEnd
valid point, but are you talking about the schema or the results. For Schema, it makes sense to have a different DSL as JSON's cons include the inability to describe types on values.

Just with 3 types (string, number, boolean), we can not cover more advanced types.

Page 1 of 2Next →