• 2 Posts
  • 113 Comments
Joined 2 years ago
cake
Cake day: July 10th, 2023

help-circle
  • Then next I would examine the redirect and check your stack, is it a 302, 304, etc, is there a service identifying header with the redirect?

    After that I would try to completely change your setup for testing purposes, greatly simplify things removing as many variables as possible, maybe setup an api server with a single route on express or something and see if that can be faithfully served

    If you can’t serve with even a simple setup then you need to go back to the drawing board and try a different option


  • You set the A record to your internal ip address from within your router?

    Nginx configs have a lot of options, you can route differently depending on the source context

    So a couple questions:

    1. Do you only want to access this from your local network? If so setting up a domain name in the broader internet makes no sense, you’re telling the whole world what local ip within your switch/router is your server. Make your own dns or something if you just want an easier way to hit your local resources
    2. do you want to access this from the internet, like when you’re away from home? Then the ip address you add to your a record should be your isp’s public ip address you were assigned, it will not start with 192.168, then you have your modem forward the port to your local system (nginx)

    If you don’t know what you are doing and have a good firewall setup do not make this service public, you will receive tons and tons of attacks just for making a public a record.





  • Good:

    1. I have high hopes that Nepal’s new government will bring positive change
    2. Crispr science combined with some new good results with protein models may help us develop some incredible new health technology
    3. In the financial world, less reliance on the US, and a shift away from usd in general would be a huge boon to the international community

    Bad:

    1. Massive economic instability worldwide, inflation everywhere, people will have an even worse time affording things once the worlds petrol distribution eases up
    2. taiwan’s troubles are likely to pick up the pace with more international events to smokescreen their bully to the west
    3. The transition to ai will likely push more of our society to crime, and lower the payment bar for many professions








  • 0x01@lemmy.mltoTechnology@lemmy.worldWhy LLMs can't really build software
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    7
    ·
    3 months ago

    I use it extensively daily.

    It cannot step through code right now, so true debugging is not something you use it for. Most of the time the llm will take the junior engineer approach of “guess and check” unless you explicitly give it better guidance.

    My process is generally to start with unit tests and type definitions, then a large multipage prompt for every segment of the app the llm will be tasked with. Then I’ll make a snapshot of the code, give the tool access to the markdown prompt, and validate its work. When there are failures and the project has extensive unit tests it generally follows the same pattern of “I see that this failure should be added to the unit tests” which it does and then re-executes them during iterative development.

    If tests are not available or if it is not something directly accessible to the tool then it will generally rely on logs either directly generated or provided by the user.

    My role these days is to provide long well thought out prompts, verify the integrity of the code after every commit, and generally just kind of treat the llm as a reckless junior dev. Sometimes junior devs can surprise you, like yesterday I was very surprised by a one shot result: asking for a mobile rn app for taking my rambling voice recordings and summarize them into prompts, it was immediately remarkably successful and now I’ve been walking around mic’d up to generate prompts.




  • Paywall, so replying based on the headline:

    Blue collar jobs are not a holy grail of safety from ai or refuge for prior white collar workers who have been displaced.

    1. You can’t just suddenly become an expert in a physical job, electricians require trade school and apprenticeship, heck even the easiest jobs in the construction world, painting or hanging drywall, require expertise and a random qa engineer will be genuinely terrible at the job.
    2. The culture of blue collar work generally incredibly misogynistic and requires a very hardy insensitive personality for women especially. There’s this sort of cultural inertia that has seeped into many blue collar jobs that sees a lot of love for trump and hate for soft handed people (the irony is incredible)
    3. Supply and demand are not just principles of product sales, a sudden massive influx of blue collar workers will push down wages for everyone, an economy requires balance and adaptation, there is never a single golden answer
    4. some blue collar jobs are more likely to be replaced with ai than others, but pretending that all blue collar jobs are perfectly safe from the impending storm is an uninformed and irresponsible take. Are indoor painters of new builds safe for now? Yes. But you can feel quite comfortable assuming that if some company comes out with a bot you can rent that does a phenomenal job at painting and costs 1/5th of a human painter the owners or managers of the companies who were contracting out the humans will absolutely switch to bots. Money talks and maybe some will hold out for a while but eventually other companies will offer their services for cheaper because of the cheaper labor and the human workforces will be unable to compete.
    5. blue collar jobs generally pay less and the future prospects compared to white collar jobs are significantly different. You don’t start out as a framer and end up as a partner, the attitudes of the managers of construction companies and similar often simply view the laborers as replaceable machines.
    6. blue collar workers sucks, for many you work in crazy harsh weather conditions (outside in 100 degree f) the jobs often require heavy physical labor, your coworkers are often drugged up conspiracy theory nutjobs, there are no watercooler breaks at 10am, you work hard or you get yelled at or fired. Imagine being an hvac repair technician in the peak of summer. Where exactly do you think you’re going to be? In the hottest part of the house in stifling conditions with all the pink fiberglass insulation without any ppe, all goddamn day.