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 1y ago · link · parent

Thanks for the Christmas fun! Was not going to click as thought it was like an actual snowflake maker (like you know each one is unique generator), glad I did. Could actually make a real one if I was feeling like making a mess ;)

comment 1y ago · link · parent

Sorry for your loss. Hope they lived a great life, and you can make it to the funeral.

comment 1y ago · link · parent

Without doxxing myself or getting too deep into what I actually do there are some key points to think about.

For very simple to mid complex tasks, I do think LLMs will be very useful to programmers to build more efficiently. Maybe even the average joe is building scheduling apps and games that are ok to play.

For business apps I just do not see how an LLM could do the job. In theory you could have it build out all the little, tiny parts and put them together into a Rube Goldberg machine (yes that is what I do now lol) but when it breaks not sure the LLM would have a prompt big enough to feed the entire system into to fix itself.

Think of this theoretical app.

This app takes data from some upstream processes. This data is not just from one process but several that are all very similar but never the same. Even when from the same process new data can be added to the input, sometimes without even consulting the app. Now this app needs to take this data and turn it into something useful but when it doesn't it needs to somehow log this info and get it back to the upstream app to fix (or maybe it's a feature request for this app). The users want to be able to see the data in many ways and just when you get it right, they want to see it another way. They need to see that new data that no one even knew was coming. To fill in the data that comes in this app needs to talk to 20 different APIs. Those APIs are constantly changing. The data this app takes in needs to send it to 20 different APIs through a shared model, but that model also takes into account unknown data. The app also sends the data from the upstream process to native apps running on the users' local machines. When any of this fails the logs are spread out over on-prem and hosting locations. Sometimes in a DB and sometimes in log files. Now this app needs to run on-prem but also on Azure and also on GCP. It also uses a combination of Azure AD and some other auth mechanisms. During the build the deploy process needs to get the DB, Client Secretes and roles out of the vault somewhere. Someone needs to setup all these roles, secrets, ids. Someone needs to setup all the deploy scripts. Now with every deploy / build there are automated tools to scan for code quality and security vulnerabilities. If they are found someone needs to stop what they are doing and fix the issue. Someone needs to test all this every time a change is made and then go to some meetings to get approval. Someone needs to send out any down time notices and make sure the times all work. Also, the 20 apps this one talks to are the same as this app.

I could keep going but I think you get the point. Coding is only ¼ of everything involved in software. Sure, coding will get faster, but the jobs associated with it are not going away. Requirements are crap if you even get requirements.

The way to future proof your job is get in somewhere where the process is f-ed up but in a job security type f-ed up. If your job is writing HTML and CSS by hand and that is all you do, then you may need to start looking. If your job has any kind of process around it, I would not worry for another 10 – 20 years, then we will need to reassess, but again it is just not something to worry about in my opinion.

I also know some people are building simple apps and making a living and the best thing to do is embrace the suck and milk it while you can. The good thing is if LLMs really get good like good you will be building super complex apps in no time. The world is going to have a lot more APPs that if for sure, will anyone use them is the question.

comment 1y ago · link · parent

Think you are being downvoted because technically an LLM stands for Large Language Models, while image generation is something like LDM latent diffusion models or most people just say Stable Diffusion. If you would have said the more generic ChatGPT then the answer would have been maybe since its supposed to be Multi-Modal. If you are asking if Stable Diffusion could generate pictures based of the article description the answer is most likely yes given the prompt correctly parses the context correctly (maybe using an LLM for getting the prompt before feeding into the next tool).

I hear almost everyone call everything ChatGPT no matter what they are using (MS, Google Gemini, Ollama, etc…) ChatGPT made me a PP, ChatGPT made this image, so maybe if you want a general term ChatGPT would be more correct. I typically say ChatGPT for LLMs and Stable Diffusion when talking to normal people since most are familiar with the big two. Predicting the next pixel to draw is sorta like predicting the next word (token) I guess

Most people know what you mean, but still good to use the correct term. Disclaimer so I do not get downvoted with you: Please do your own research as I just wrote how I understand these concepts and am not an expert.

comment 1y ago · link · parent

Same issue need to turn off VPN / AdBlock....

comment 1y ago · link · parent

The UI is very nice. Congratulations on the release, with all the articles about releasing the last few days must feel good.

Does not like my VPN / AdBlocker, getting a few CORS errors connecting to the Amazon S3. If you really want people to use the site would recommend proxying the request through the server. If you are already running a node.js server straightforward to do, if not still a huge leap but would also want to configure Caddy (NGINX) [or run on the same server and block the port] to run the proxy locally and forward only your requests so it does not get abused.

A lot of the audience here is running AdBlock and / or VPN so others are most likely to hit the same issue.

comment 1y ago · link · parent

Watched a documentary on one of the first people producing the lab grown diamonds for rings (jewelry) and he ended up needing to go to China where they were already doing the process for drilling and sandpaper type applications. His process was to add flaws of the right type as to make it almost impossible to tell the difference between lab and non-lab diamonds. From what I can tell from it, about half of diamonds being sold as non-lab are actually lab. When we purchased lab was not big yet so guessing its non-lab (not that it matters other than might have over paid). If we (I) were to do it today would just do lab and be done with it as to ensure did not overpay and end up getting lab anyway. From what I can tell no one can tell the difference other than tiny (id markings/ flaws) that can be faked.

I know there are sellers that claim to know the provenance of the diamonds (can trace them back to the mine), but that would be the best place to introduce them into the chain. For every truck that goes out half could come from another truck and half from the ground.

comment 2y ago · link · parent

https://docs.netlify.com/platform/what-is-netlify/

comment 2y ago · link · parent

Ok spent way too much time fiddling with the options and testing out different sort algorithms. It’s fun to start with one sort and then halfway through switch to one that is very different and see if it helps or hurts the performance. Almost makes me want to break out the old Algorithms and Data structures book to remind myself of which one to use when you know the data could already be half sorted vs when you know the data is going to be completely random.

Bookmarked but guessing I will never use it again but who knows if I ever need to do another leet code test this would be a good resource for sorting. This could be useful for those of you that are still in college to have one of those aha moments when it comes to the sorting algorithms you are learning about. If you are going to look at the code, go to src -> lib -> sort-algorithms to see how they are implemented. Note the asterisk after the function* keyword which signifies a generator function.

comment 2y ago · link · parent

LOL, I passed by the article a few times reading the same thing. When I finally clicked in thinking it was something to do with the windows package manager. Something about the capital E. As soon as it was spelled with the little e, it clicked.

comment 2y ago · link · parent

Great point thanks for calling USING out. Since you end up putting table_name_id for FKs it totally makes sense to just use that in the main table. Seems I am just so accustomed to having id as the default PK over the years it become habit (my DB professor was an old time IBM-er who preached all tables will have an ID). With auto complete in just about every tool these days and ORM limitations improving will need to update my thinking on this reality. 95% of the time living in the MSSQL world so USING is not something that can even be used (I don’t think).

comment 2y ago · link · parent

If the table names are all short one word like that, they are already basically aliases. What do you do when you end up on some legacy project (you did not make the schema) where_the_table_names_look_like_this? Seems some sort of alias might be more appropriate. Also, when you are writing longer / sub queries or using Common Table Expressions it’s impossible to not use an alias.

comment 2y ago · link · parent

Not bad advice. The one about “where possible avoid simply using id as the primary identifier for the table” stood out to me. In the past with multiple ORMs (ya, ya, we all hate them) the default was to map to a column named id. Also when doing joins its cleaner to use the table_name.id or alias.id then table_name.table_name_id or alias.table_name_id or whatever else besides id is used. The best is when multiple people have worked on the project over the years and the columns are a combo of camel, snake, camel_snake, all UPPER / lower. Must look at the table definitions or ERD every time you want to write some non-trivial query. So having a consistent style guide is better than having any one specific style guide. This would be a good starting point and adjust with your team as needed.

comment 2y ago · link · parent

Did not see a single popup - looking at the list 5 trackers and 3 add blocked.

comment 2y ago · link · parent

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).

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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?

comment 2y ago · link · parent

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)

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

This might be what you are asking for... https://qwenlm.github.io/blog/qwen2.5-coder/

Ctrl F - Code Reasoning:

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.
1234567