Better HN
topnewbestaskshowjobs
Log inSign up

Sn0wCoder

273 karma · joined Jan 1, 2021 (5y ago) · 189 submissions

Snowboarding, MNT bike, onewheel, fish, hiking, and respect. TypeScript, JavaScript, HTML, CSS & Java.

codersnow337(at)gmail.com

Submissions

comment 2y ago · link · parent

Douglas J. McCarron head of the Carpenters Union Las Vegas, they own the most expensive piece of property in the USA (or thought to be) right across from the White House. The carpenters also do welders, carpet layers, ceiling tile, and a few others. Mostly in the upper US, as the south is known for being right to work. Some government contracts will pay prevailing wages even to non-union workers to make the bids fair.

comment 2y ago · link · parent

Wow, thank you. I cannot count how many times I have tried to get in the correct spot of a long message by using my fat fingers and never ending up in the right spot and just deleting a few words to correct one letter lol.

comment 2y ago · link · parent

Looks like all the products have a different licenses

https://cheerpj.com/licensing/

The X version seems to be minified CDN hosted .js file but no other info about usage. The only comment in the file indicates that its some sort of C/C++ file presumable ported over to JS

/Compiled using Cheerp (R) by Leaning Technologies Ltd/

comment 2y ago · link · parent

Not sure if this is for all the products but this is found on the main page.

Licensing

Cheerp is free open-source software, actively developed and maintained by Leaning Technologies. Commercial support, feature fast tracking, sponsored development and consulting packages are available for Enterprise customers.

comment 2y ago · link · parent

You are correct they are images besides the CodePen, I did not inspect them before commenting (hope the images is at least the output of the code). Guessing it must have something to do with the companies hosting platform tools and authoring code to it but have no idea why.

comment 2y ago · link · parent

The very first chart is a ‘bar’ chart running horizontally, not sure what’s missing (Firefox 127.0.2 64-bit). There are code examples down below….

comment 2y ago · link · parent

Just want to add that these are all good points and good discussion. Ultimately, I think we agree that DeOps is needed no matter how it’s used. The details of how exactly it’s used per product, per team, per organization is always ‘it depends’. Some of us need to jump through more hoops and there is no way any of our products would be updated in production multiple times per day much less multiple times per month unless it was a hot fix of a critical bug. CI/CD is something to strive for as if you can release to develop multiple times per day it’s only the surrounding process that prevents you from releasing to production multiple times per day.

comment 2y ago · link · parent

Development should never be broken, ever. Ready to ship and broken are two different things. By ready to ship it more like v2 has 8 total new endpoints and only 2 are ready, then 4, then 6, then 8.

When the tests fail, or the code quality goes down, the deployment fails. I would rather have DEV broken than PROD. Not sure how going directly to PROD would make anything better in this scenario. That is what Integration is for never broken always ready for promotion to prod. Plus a few broken dependencies means ‘yellow’ === impairment not unusable. If the app is unusable for any one dependency that is another issue.

Mocking data when you are ahead of another team is always the reality…

comment 2y ago · link · parent

Fair enough.

Guess that is why Netfix is so Glitchy every other day j/k.

I should have kept that last sentence out but I will not edit it now as I asked….

comment 2y ago · link · parent

Congratulations on moving fast! If possible ‘trunk’ is best.

Long lived branches are a problem if you are doing hot fixes to prod. The goal is the process avoids hot fixes and critical bugs.

Some industries would not allow software to be released more than every few months. SQA needs to sign off. Users need to UAT. 2-week notice, 15-minute notice to log off. Downtime needs to be communicated to multiple time zones. Software versions need to be auditable for regulatory.

The only point I was trying to make is ‘publishing’ multiple times per day with a team of developers requires ‘devops’ and that release does not always mean to prod. The same setup for releasing to prod multiple times per day is the same as releasing to develop multiple times per day.

Long live DevOps

comment 2y ago · link · parent

DevOps and releasing multiple times per day does not always mean to PROD and in most industries that is impossible. Continuous Integration and Continuous Deployment should and do mean to the development branch and container. Locally I can write code and skip all the tests, skip the linter, skip prettier, etc.….

When I do a commit prettier is run. When I PR into develop other dev’s review the code. When its approved and completed a build is run (including all tests and sent to Veracode and SonarQube for analysis). The build is deployed to the development container where the developers can smoke test and then when SQA is ready promote to Integration for real testing. Fail fast! If the tests fail, we can fix them. If code quality goes down, we can fail the gate === no deployment. Without DevOps and CI/CD these steps get skipped.

Not sure where the idea that software is released to production multiple times per ever came from. Yes, the develop branch should in theory be ready to be promoted at any time but we know that is not reality.

comment 2y ago · link · parent

Haxor-news was the first terminal client I used for HN. Since then, I have tried a few of the others but haxor is the one I used the most. When I worked in the office and people see you fiddling around in the terminal, they usually leave you alone assuming you are on the HPC or doing other work. Now that I work from home have not used a terminal client even once. Maybe check this one out just for fun.

PS – thanks for the reminder of this one, was searching to post the exact same comment….

comment 2y ago · link · parent

I have often thought about writing a blog from my experiences, but after I write the thoughts down seem like common sense in nature or just plain ranting. Writing it down gets it off my chest / mind, but publishing has never happened. I do keep all the notes so I can revisit them. Often do this with emails too but I delete them if I do not send them after 48 hours. It has taught me to never send an angry email in the ‘heat of the moment’ and to reflect on the content as if I were to receive such an email.

The best one I have is letting others fail, they are going to anyway. When put on a new project with a new team who has been working together for a while, they are NOT going to listen to you no matter how much experience you have even if you consider yourself a SME. I often find myself fighting against what I think is the correct solution as the team will want to do the opposite of the ‘new guys’ suggestions…

comment 2y ago · link · parent

Made me look…. lol. While virtually over the top I do like the site.

comment 2y ago · link · parent

I have never heard of the H-allele. Not sure if @Buttons840 has seen this but “It became a family joke because me and my siblings are all O blood type. If my dad really did have AB blood then we are not his children. The hospital later confirmed it was a mistake.”

Thank you for the information as I always love learning more from the comments than the articles.

comment 2y ago · link · parent

Thanks for the link. This one was also posted awhile back in a rust comment and when I first read it, I thought Google had used Rust in the V8 sandbox, but re-reading it seems that the article uses Rust as an ‘example’ of a memory safe language but does not explicitly say that it uses Rust. Maybe someone with more knowledge can confirm that Rust was (or was not) used in the V8 Google Chrome sandbox example….

https://v8.dev/blog/sandbox

comment 2y ago · link · parent

Second Liquibase. Plugins like JPA Buddy can generate the scripts (Liquibase/flyway) from the DB or JPA Entities. The XML scripts are not difficult to write by hand and can use straight SQL when needed. Since you can generate the actual SQL script from XML it’s great for org’s that need a DBA to run the script on PROD since you can send them a copy for review and they just need to hit run, while keeping the XML in the projects code repository. There may be other tools for solo development that might be more straightforward and look forward to the answers posted here.

comment 2y ago · link · parent

Thank you. Been doing the Rust book https://rust-book.cs.brown.edu/ Super interested in building CLI tools (HPC) and WASM to use Rust from JS (do a lot of front end work) and this appears to cover all of that plus some. Looking at the code is obviously over my head now, but nice to have examples that I can clone and build to learn.

comment 2y ago · link · parent

IMO taking Calculus later in life is probably easier for most (study of 1) people (assuming you have seen some of it before). I took Calculus at 19 years old and passed but I did not have any idea what it was really used for. Taking it again during Grad School (mid 30s) Calculus made way more sense. Ideas would click (mostly not CS related) but more in the general world view (think washers for nuts and bolts – area under a curve). I will be the first to admit that making front ends and tuning a DB will almost never need any calculus (but it does happen) and admit I did horrible in high school but turned it around in college (I was behind when I got there the first time for sure). How much do I remember right this second (not much), but I do feel its worth doing as if only a right of passage to say we deserve that 6-figure salary and maybe not feel too bad about calling our self’s engineers. Good luck with the singing lessons and new job, but if your married (or have children) do NOT quit that day job just yet If not, well hell go for it my friend!!!

comment 2y ago · link · parent

This is great. Code seems to have good comments / jsdoc from the bit studied, tests and all. Will take a closer look in the morning but congratulations on the release.

comment 2y ago · link · parent

Wow, thanks for the link.

comment 2y ago · link · parent

Been on HN off and on for about 9 years with different accounts. I do believe the comments are getting more difficult to parse (find the good vs noise) but still the best site I have found - is hand curated links and people willing to offer solid advice given a question in the comments. I use Reddit from time to time but only for pure time killing purposes. I have learned more from the comments on HN than any course, book or (other) web site. Hopefully it will stay that way for years to come. A smaller community could offer more quality responses but less chance of finding the person who has the answer to your question.

comment 2y ago · link · parent

If this is for real would-be game changing. The problem with alcohol is it works but the more often you drink the more it takes to feel the same effects. Hence being over the legal limit but not feeling ‘wasted’. The unnecessary calories are also a problem, did you eat; why pork chop in every beer. Seems that people who already have an alcohol tolerance will not feel much if they use synthetic Gaba, so a 2/3-week break is needed to experience the pleasure of Alcarelle (based on my reading). Social drinking is a great way to have some fun with co-workers and old friends, but something like this would give those who do not drink an opportunity to open without the guilt of drinking. I love a good buzz but also want to set a good example for my children and really hate the empty calories. Seems Alcarelle will have the same problem with the tolerance but seems like it will just not work anymore and require another break (which is not a bad thing). Very interested in the product but seems to be 3-5 years out before its mainstream.

Has anyone tried this product that seems to be using the same technology but is already on the market?

https://sentiaspirits.com/collections/non-alcoholic-spirits

Seems to be the ‘natural’ version of the substance. I also have heard people talk about taking straight Gaba in pill or powder form and wonder how Alcarelle differs (is not clear from a quick search).

comment 2y ago · link · parent

Agree with you about needing to click the site and about reading comments. I always read the comments first to see if the link is worth the click (paywall, waste of time, huge banners, scam site, etc.) Big shout out to those folks who are reading the articles and leaving comments for the rest of us. I am guilty of not commenting much on this platform mostly because even with all my experience rarely will my comment add to the discussion.

I have made the game of life at least a dozen times in every new language I learn and am already thinking about how this is done. Even having a few example patterns the user can start with is sometimes a hassle depending on the implementation. This site has almost still life’s, oscillators and spaceships combined into an infinite number of layers (not sure it has all did not verify). The pattern does appear to be repeated but just getting the base layers is very impressive.

comment 2y ago · link · parent

I find this idea interesting ‘These are possible in JavaScript in browsers, but implementation quality varies a lot and many web devs just never bother.’

Do you have any examples that you consider good implementations? I ask because tables seem to be the biggest offenders of slow components in say Angular / PrimeNG. I am going to a legacy app soon that is being updated (Angular but not PrimeNG). Would like to see if we can build a feature rich table that is more performant than the PrimeNG one that I know looks amazing but is the cause of many headaches.

NOTE: its not Angular or PrimeNG specifically that make the tables slow/hogs, but the amount of DOM elements inside and some of the implementation details that I disagree with (functions that are called withing the HTML being evaluated every tick). Would be great to see if this idea of a ‘recycler widget’ can help us. Cheers.

comment 2y ago · link · parent

I guess since I am linking to weather dot gov will just give their API a try. If anyone has suggestions, I am open since there are so many…. https://www.weather.gov/documentation/services-web-api

comment 2y ago · link · parent

Been slinging code since 1999 (practicum/internship). Started writing InstallShield scripts and Junit tests (Junit 1.0). Next 10 years were Java / C++ / VisualBasic. Was always trying to avoid the JavaScript revolution (I am a real programmer I said lol). Fast forward to today and I sling TypeScript / Angular / Java as a Senior Software Engineer. Had the chance to move up about 2 years ago and did not even apply (need to apply for promotions at the company I am at). Everyone asked why and I see what happens to my coworkers once they do. Still expected to support every app they have ever worked on and do 8+ hours of meetings a day. The pay is more but so is the stress. I have a great family and just want to enjoy my life. I also work a second job facilitating online courses for a major University when I want to pick up a course and make my fun money (plus get to learn more than any of the students in the courses). I still love coding be it evergreen or legacy. I am not ruling out moving up the ladder, but for now still happy slinging code…. I guess if you have 20 years in I only have slightly more, but man I see the burnout above me (talking to people who were once joyful and fun to be around, now snippy and stressed) and just want to enjoy life.

comment 2y ago · link · parent

I second weather dot gov mapclick. This makes me want to finally fix my PWA that used the Dark Sky API that quit working in 2023. This PWA also had a feature to click an icon and feed the long/lat into the mapclick URL which is the feature I used most often. I had a bookmark for a free replacement API for Dark Sky (that I got from HN) but have since re-formatted my computer. I know slightly off topic, but does anyone have a recommendation for a good free (couple users a day) weather API? Any suggestions would be appreciated as this has given me the motivation to hook it back up. Cheers.

comment 2y ago · link · parent

Thanks for leaving the link to the PDF and web site. Already had some fun playing with the site and think I will give the book a shot.
1234567