Giter Site home page Giter Site logo

peterpeterparker / daviddalbusco.com Goto Github PK

View Code? Open in Web Editor NEW
24.0 1.0 5.0 11.67 MB

Freelance Web Developer

Home Page: https://daviddalbusco.com

License: MIT License

JavaScript 1.69% SCSS 19.21% HTML 2.23% Svelte 50.47% TypeScript 26.41%
freelancer ux-consulting it-consulting contractor personal-website portfolio website

daviddalbusco.com's People

Contributors

donroyco avatar nmattia avatar peterpeterparker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

daviddalbusco.com's Issues

Replace "full stack" wording

According context with "web developer" or no mention. Don't put in front "Java".

Regarding recent years, I specialized my self in web development with frontend technologies.

invisible characters

hi David,

Thank you for the article, I was troubleshooting some Rollup + TS code of mine and stumbled upon your article (which helped, thank you) and noticed two things there:

1. Invisible characters in the raw markdown sources

There are raw invisible characters in the markdown. For example, in https://github.com/peterpeterparker/daviddalbusco.com/blob/master/src/blog/sometimes-you-just-need-a-dumb-library.md there is a BACKSPACE, \u8, visible even on GitHub GUI:

Screenshot 2020-11-08 at 17 07 17

If you wonder how am I able to identify culprits, I paste code into https://detergent.io of mine, it shows invisibles as red clickable bullets (under scenes that's Code Mirror doing the heavy lifting, I set a regex in its config to catch all characters that trim to zero length).

In theory, you could find-and-replace on all blog post markdown files with a regex. Long-term, a plugin in your code editor to highlight invisibles would help too, for example, VSCode's Highlight Bad Chars, https://marketplace.visualstudio.com/items?itemName=wengerk.highlight-bad-chars or Atom's https://atom.io/packages/highlight-bad-chars or similar, whatever code editor you use.

2. Invisible characters in the generated HTML

There is also more serious problem with how your Gatsby setup renders code blocks into HTML. The same article, https://github.com/peterpeterparker/daviddalbusco.com/blob/master/src/blog/sometimes-you-just-need-a-dumb-library.md is rendered with \u200b, very visible when copy-pasted into Detergent:

Screenshot 2020-11-08 at 16 56 44

The \u200b don't exist in the markdown source, Gatsby is adding them!

Rollup freaks out when I copy paste the code and errors until invisibles are removed:

Screenshot 2020-11-08 at 17 19 25

So the code examples do work but with "a catch". My Gatsby is limited and my own projects use Eleventy so you'll have to find the exact cause and solution yourself.

PS. There's also good invisible character inspector web app, https://apps.timwhitlock.info/unicode/inspect/hex/1F1EC/1F1E7

All the best and greetings from UK!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.