HNHacker News
TopNewBestAskShowJobs

Sn0wCoder

261 karma · joined January 1, 2021

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

codersnow337(at)gmail.com

submissionscomments
Sn0wCoder··on An oral history of "We Built This City," the worst song of all time (2016)
Did not see a single popup - looking at the list 5 trackers and 3 add blocked.
Sn0wCoder··on USFS decision to halt prescribed burns in California is history repeating
You are correct that there is typically more to wildfires than dead wood, as in they typically start with dry pine needles, leaves, tall dry grasses, and spread quickly via slightly taller vegetation up to the trees. There is a science to when a prescribed burn can happen, and there are seasons that will not be right for any given location, so the burn is a no go. The conditions need to be just right (wind so it does not cross a highway / blow into a farmer’s livestock, humidity, time since last rain fall. This has a lot to do with the rate at which the fuel will burn. Fuel less than 0.25 inches will burn within an hour of the last rain and may burn for an hour after igniting. 0.25 – 1 inch 10-hour, 1 - 3 inch 100-hour, 3 – 8 1,000 hour. So, the smaller stuff burns quickly but may or may not start a larger hour fuel. Once the larger fuel starts is when it becomes a serious problem since now it’s hotter and hotter and eventually starts the living trees on fire. If you were to manually remove the 100 – 1000 hour fuels, some of which are dead trees still standing or held up by living trees (unable to fall / stuck sideways). The risk of an all-out forest fire starting would go down, but still not be zero (like you say in a drought / super dry conditions). In the end you can only reduce the risk, never eliminate it (short of clear cutting).
Sn0wCoder··on USFS decision to halt prescribed burns in California is history repeating
Prescribed burns do more than just burn up the dead wood to prevent forest fires. One of the other main goals is to kill invasive trees / plants while they are young. Doing burns in the fall after they have already spread their seeds for the next season would do nothing to prevent this. Another goal of spring burns is to stimulate the germination of specific tree species like the Giant Sequoia, Closed-cone coniferous, and some berry trees (maybe others). Most prescribed burns are done in early to late spring, not sure about summer burns.

If the only goal is to prevent forest fires, then in theory you could just send a hoard of people in to gather up all the dead wood at the end of each season, pile it up and have some nice fall bonfires, which might be fun. The main issue is the terrain harsh and would be very time-consuming.

Sn0wCoder··on The web I want vs. the one we have
Agree 100% with everything you said and the comment I left was very low quality. It would be interesting to see a ChatGPT summary for each submission to HN and the comments to give you an overview of the content that was auto generated. The main point was the time it takes to cut, and paste is not zero. Personally, spending that time reading the top comments seems more useful (to me) than reading a ChatGPT summary of the article, but like you say two different streets.
Sn0wCoder··on Local TypeScript Super SDK to Call 200 LLMs
Very neat, bookmarked. Read through the readme.md and would be nice to show an example of using with Ollama or LM Studio running locally. Would guess you just setup an OpenAI model, set the baseUrl to the local instance / API and go from there? For something that is Fully Local connecting to a provider with an API key is iffy at best, unless you are paying for enterprise keys. I guess the first line says used by ‘Enterprises’ but to be fully local that would include running the LLM locally also?
Sn0wCoder··on The web I want vs. the one we have
Hate to admit this but reading the comments will give a person way more knowledge than any given submission and if the comments are good the article is required reading before adding your own comment. Not sure ChatGPT is worth the effort here. By the time you cut and paste then read the gibberish one could have already read the top few comments (you can use the minus to minimize them and read the next thread). Like the time spent leaving this comment would be better used any where else, but yet here it is (all 300 seconds or if you like 300,000 ms)
Sn0wCoder··on Show HN: A CLI tool I made to self-host any app with two commands on a VPS
Hey indigo,

Thank you for pointing this out. When I was looking to install caddy, I was specifically looking for something without using docker since my VPS is 1g / 1cpu and that is what I based my comment off. When was reading the sidekick docs seemed by running one command that it would first install sidekick and then install the cert/app all with one docker file but now I am not even sure about that.

Appreciate you pointing that out, now I am back into analysis paralysis on which one I should use

Sn0wCoder··on Tortured by regrets? A new study details how best to overcome them
Hey Zack just checked out your linked-in and honestly it would be worth contacting a professional resume specialist. You have a double Bachelor in CS/EE and tons of relevant experience. A wordsmith could make you look like gold on paper. Grab the book ‘Cracking the Coding Interview’, do some leetcod practice. If you can grab a couple Google Cloud certs great and/or build a web app with the latest version of Angular, Next.js, whatever so you can update your tech stack perfect. Not sure why you believe C++ is not relevant anymore the concepts have not changed only the syntax.

Like others have said, just some random on the internet, but at a minimum seriously find a wordsmith to update that resume and some recruiter will be contacting you. Also, more is not better no need to list the Test Tech or Mac Repair since other jobs overlap with those years and makes it seem like you were only part time. Everyone fibs a little bit no one is going to ask if you were part time or full time on a job from 20 years ago. Also, if you have self-employed listed make sure you have the tax# and LLC cert from the state as they are going to want to see that as proof to count as relevant experience.

I know you did not ask for my advice, but after reading your reply got me curious about why so gloom. As programmers we need to market ourselves and fake it till, we make it.

Sn0wCoder··on Show HN: A CLI tool I made to self-host any app with two commands on a VPS
This looks great. Just bookmarked and then had to double check that I did not just bookmark it a few weeks ago. Turns out I had bookmarked Caddy which is similar but does not deploy the app and don’t think supports Docker. It was the auto CERT that was what I was interested in and what had stuck out in my mind. Have certbot setup and never think about it again, until my server needed to be rebuilt, and I started researching. Good to go for a few months, but my hosting will be up here in a year and going to switch providers and upgrade my setup to 2+ gig so I can run docker reliably. Thanks for posting this one just moved to the top of the list.
Sn0wCoder··on Qwen2.5: A Party of Foundation Models
This might be what you are asking for... https://qwenlm.github.io/blog/qwen2.5-coder/

Ctrl F - Code Reasoning:

Sn0wCoder··on STORM: Get a Wikipedia-like report on your topic
Not sure how it prevents hallucinations, but I tried inputting too much info and got a pop-up saying it was using Chat GPT 3.5 The article it generated was OK but seemed to repeat the same thing over and over with slightly different wording
Sn0wCoder··on AMD records its highest server market share in decades
System 76 has some AMD desktop / laptop options https://system76.com/desktops

Sounds like its a no go anyway, but just in case this is not the one you already found.

Sn0wCoder··on Building a highly-available web service without a database
Not sure I would call that setup simple, but it is interesting. I have honestly never heard of ‘Raft’ or the Raft Consensus Protocol or bknr.datastore, so always happy to learn something on a Friday night.
Sn0wCoder··on Apple has reached its first-ever union contract with store employees in Maryland
Yes, the non-union employees will end up taking more home (paid the same but like you say less goes back to the Union, Insurance, Retirement, Training) than their union counter parts (assuming the boss is honest), but the idea is the Contractors need to base their bids off that number as to make the bids fair to all contractors both Union and Non-Union. Guessing the government has some auditing to ensure the employees are paid according to the Union wage of that location/trade. Without a prevailing wage would be very difficult for Union shops to get work on some of these Government projects.
Sn0wCoder··on Apple has reached its first-ever union contract with store employees in Maryland
Las Vegas is where the International Training Center is and where Douglas is usually based out of but you are correct he is the head of the whole union not just in Las Vegas.
Sn0wCoder··on Apple has reached its first-ever union contract with store employees in Maryland
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.
Sn0wCoder··on Ask HN: Got my first iPhone. What should I know?
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.
Sn0wCoder··on CheerpX is x86 virtualization to run executables and OS client-side
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/

Sn0wCoder··on CheerpX is x86 virtualization to run executables and OS client-side
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.

Sn0wCoder··on Responsive bar charts in HTML and CSS
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.
Sn0wCoder··on Responsive bar charts in HTML and CSS
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….
Sn0wCoder··on A Eulogy for DevOps
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.
Sn0wCoder··on A Eulogy for DevOps
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…

Sn0wCoder··on A Eulogy for DevOps
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….

Sn0wCoder··on A Eulogy for DevOps
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

Sn0wCoder··on A Eulogy for DevOps
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.

Sn0wCoder··on HN-text: an easy-to-use, text-first Hacker News terminal client
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….

Sn0wCoder··on Feynman's Garden
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…

Sn0wCoder··on Ask HN: Who is hiring? (May 2024)
Made me look…. lol. While virtually over the top I do like the site.
Sn0wCoder··on Enzymes open new path to universal donor blood
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.

← PreviousPage 3 of 6Next →