Echo JS 0.11.0

<~>

tracker1 comments

tracker1 1486 days ago. link 1 point
Would probably lean towards material-design or more common OS styling... thinking in terms of making it easier to fit in a larger component model.

Another issue, is positioning is always below, so no screen/scroll context.  Would also test on mobile as it may not work in a portrait mode phone well.
tracker1 1489 days ago. link 1 point
Edit: Found the source - https://github.com/CodeLikeAGirl29/lindsey-portfolio

It's kind of OT, but leaving it so I can comment. On github, should really prune some of your dangling repositories, or unify them into branches on one playground repository... there look to be a few dozen "profile" repositories, so it was king of hard to determine which this was.  There's no JS at all involved here.  You can make a "codelikeagirl29" repository, and that will be your default for your gh profile, you can also point a custom domain at it (regarding email mentioned below).

---

As to the profile site itself...

First, it's a bit jarring in a desktop browser... Your profile image takes up the full screen before even getting to anything meaningful.  Would reduce this down to a smaller section, with maybe a banner/header background image at the top, especially for desktop use.  Think similar header/banner to what you would see on social media.  Also, consider replacing your personal image with an avatar or caricature, there are times and companies where having actual photos can work either for or against you, so it's your choice.

The single page navigation is fine, but would suggest pinning the navigation to the top once your scroll position would otherwise shift it off the page.

Finally, should have each of the "projects" navigate or expand with more content.  Again, it's jarring with the shear size of these images vs. the content on a desktop browser.

Should also consider some of the consistency in implementation, the borders, padding and spacing are inconsistent at best.  There are options to get started with from Bootstrap to Bulma or rolling your own, but consistent CSS and markup are key here.  There also appear to be some broken html elements.

Would suggest a subtle background image as well.  Beyond this, would suggest registering your own domain name, if you use domains.google.com, there's free email forwarding, so you can use whatever@yourname.dev or similar, and forward to your icloud email.  On the domain, would go for short over descriptive, something someone is comfortable tapping into a phone keypad.  While I'm critical of the desktop view above, a lot of people do look at things on mobile devices, you need to account for both.

Most of the judgement above is on styling and layout only because that is what is presented.  I don't bring this up to discourage you.  I would suggest taking the time to re-visit it all, put your github and linked in links as social media links in the top-right of the header so it's more prominent, especially if this is for demonstration.

There's a bit more work to go before I would use this in a job search... but it's an okay start.
tracker1 1497 days ago. link 1 point
It's always been one of those things that are powerful if you're using JS for data input validation and the coersion can be useful in that way.

If you're that concerned about it in practice, I would suggest using TypeScript.
tracker1 1501 days ago. link 1 point
Agreed.  This just feels like bringing in a library to do something JavaScript already does.

My first instinct was that this would be a rough equvalent to a `Money` or `Decimal` data type/conversion to/from string for use with Larger or arbitrary values stored as a Uint8Array or similar for serialization/deserialization.  Or even BigInt with N positions reserved for "decimal" offset or something.
tracker1 1501 days ago. link 1 point
For Node.js you need to bump to a Node 14 LTS release for this, as it isn't supported in 12.x
tracker1 1501 days ago. link 2 points
You are correct, I apologize.  I will note, that `undefined` assignment is faster than deletion.  I wasn't able to get a good/consistent memory profile for comparison.  I was mistaken about how Array is implemented from a couple articles that I'd read, the impression was slice would only effect the starting index and the number of items in the array affected, not the entire series.

Depending on how big the queue might get, it might be worth exploring using a linked-list instead of object refs.

https://github.com/tracker1/queue-testing
tracker1 1505 days ago. link 1 point
I don't agree... in FF, the feature was always half baked and hidden... I actually want more/better support for PWAs.  Been using Edge a lot more lately, and my biggest complaint is that the "Install This Site As An App" option doesn't set it to it's own instance by default.  Some sites can request to become an app, and that seems to work though the header at the top is confusing and probably shouldn't be there.

Even then, the most common use of the feature is with mobile devices.

It shouldn't go away, it's the best counter to app store censorship.
tracker1 1505 days ago. link 1 point
Then use splice if you're really concerned about it... will be O(n) with an n of 2.

Also, have you actually measured the performance cost of Delete... as I mentioned, you're optimizing by using an expensive call.
[more]