News for hackers. Stuff that matters.

ringofchaos

I already know software engineering and can code web applications and use genai sdk in my apps.

But I still can't easily figure out to deploy my apps to a VPS.

So far I have manually set up my server and database.

I want learn more on devops to deploy it using containers.

This will enable me to host mutiple service in a VPS and I don't have to use PAAS solutions.

I can also easily switch providers too.

Re:Ask HN: What are you working on? (March 2025) on Sunday March 30, 2025 @05:03PM (#43527613)
To aid my process to shortlist house for purchase I am creating a web app for this.

The app will use genai to extract the details of houses listed for sale and then update my custom database.

For example I can input a youtube url and it will fetch the transcript and use llm to generate Json response based on predefined schema.

I can review and shortlist the houses based on various custom parameters using the web interface.

The mvp is done in a proprietary tech stack, I just need to port it to open source tech stack with React and FastAPI

Re:A love letter to the CSV format on Thursday March 27, 2025 @03:30PM (#43497176)
I have been just splitting my head to parse data from from a erp database to csv and then from csv to erp database again using the programming language user by erp system.

The first part of converting data to csv works fine with help of ai coding assistant.

The reverse part of csv to database is getting challenging and even claude sonnet 3.7 is not able to escape newline correctly.

I am now implementation the data format in json which is much simpler.

Re:Ask HN: Share your personal blog/website on Wednesday November 20, 2024 @03:21PM (#42197730)
I took a 5 months break to create a web app for personal finance. It calculates the amount you need for achieving financial Independence and simulates the expenses, networth, and income with time based on investment returns and inflation rate

https://zerotoinfinity.org

You can turn off some safety filters off when using gemni pro api. I use it on my own custom chatbot
Re:A love letter to Apache Echarts on Sunday February 18, 2024 @09:52AM (#39419503)
I tried at least 5 Charting Libraries before settling for Echarts.

I used it with React. My app is mostly financial data simulation and analysis and echarts fit the need

The documentation is great and with some tweaking you can make it look great. The customizing options are quite good.

I prefer it to some react only charting libraries .

Using pandas or numpy is more than uisng optimal syntax

There is a reason why python is used for ML for mathematical calculations. You could do all low level matrix multiplication using custom functions uisng any language. But is that optimal way to dob that.

My use case is similar

Hmm looks like similar to python. I hope something like pandas also come to, so that I can do all complex claculations client side instead of doing it with python backend
Web app is possible with Django but creating mobile version will be challenging as options are not much.

Your best option is to create backend api with python frameworks like Django Rest Frameworks or FastAPI. Frontend can be React which can be used for both web and mobile using React Native.

I had previous experience in python but had to learn React to handle similar requirements.

It's always best to use the right tool for right job.

I am actually satisfied that I went this route, added new skills and possibilities

Astro is great, using it for my blog site and. I have a mono repo setup React SPA and Astro For Blog. I can create a reusable component in React Repo and reuse in Astro blog.

You could also write native astro components which are very close to vanilla html css with added benifit of making reusable components and scoped css. And you can also use svelte or vue components.

Re:Gemini Ultra Released on Thursday February 08, 2024 @08:02AM (#39301448)
Can acess it in india. Will be using until free trial of 2 months. 20usd plus taxes is unaffordable for most of indians . Amazon prime for example cost 1.5 usd per month here
Re:Ask HN: What have you built with LLMs? on Tuesday February 06, 2024 @02:33AM (#39271820)
I am working on a RAG based chatbot to answer the queries based on contents of my main website and blog which is fintech related .

I would also in future try to make it generic so that it can crawl any website and store new contents in vector databases. Response to user query then can be returned by combining the vector search and llm

Re:Ask HN: How many of you are self employed? on Monday February 05, 2024 @08:07PM (#39269475)
When adjusted for usd returns might not be that great. Indian currency have been depreciating a lot against usd.

On the other hand my own portfolio has a mutual fund that invest in US stocks for more diversification.

Re:Ask HN: How many of you are self employed? on Monday February 05, 2024 @10:35AM (#39262238)
40 year index return from Indian stock market have been around 15 percent without dividend reinvestment.

The long term inflation rate has been 7 to 8 percent and bonds have returned par with inflation rates

Re:Ask HN: How many of you are self employed? on Monday February 05, 2024 @10:33AM (#39262216)
Long term inflation rate has been 7 to 8 percent in india.
Re:Ask HN: How many of you are self employed? on Monday February 05, 2024 @08:23AM (#39260962)
I am based out of India 70% of my portfolio is in equity mutual funds, and the rest in safe instruments. The Indian stock markets have given good returns and my equity portfolio has been doing 17% CAGR (10% inflation-adjusted)

But I have planned for conservative returns of 12 percent overall

Re:Ask HN: How many of you are self employed? on Monday February 05, 2024 @06:39AM (#39260113)
Would living on investment income be considered as self employed. I quit my management job of Tech department of my company.

Saved enough money to generate 80 percent of my last drawn salary from my investments.

Now focusing on creating my own fintech web app, with generative ai integration.

I like the feeling of working independently and years of corporate job had taken taken toll on mental health.

Currently building skills in fullstack web development and generative ai. Would take freelance job for some extra cash

Re:VueJS turns 10 years old on Saturday February 03, 2024 @10:30PM (#39247274)
CRA is officially not supported and the official react documentations do not mention creating spa with Vite. They mention using next or remix.
But bing provides dalle3 free. What's the difference.

Any one who wants to test image generation would want more samples 10 to 20 before making any decision.

Also anyone can use api key with pay as you go model and there are chat uis that let you use your key.

Not sure if user will save user money, but would definitely make you good money if it takes off

Similar experience here and worked on large enterprise company.

I produced my best work when working with my Lead Architect and no Project Management Oversight. Did a complex POC and completed it ahead of expected timeliness and was working alone for most parts.

That POC was approved for incorporating in production and has to be done in agile manner with daily status meetings and biweekly sprint, demos , reviews and whatnot.

Killed my enthusiasm and let another developer take the lead while I moved away from the project

Re:Python types have an expectations problem on Monday January 29, 2024 @11:19PM (#39186361)
A personal anecdote of using javascript and getting a function variable wrong ended up taking 30 minutes to find out what went wrong.

The error won't exactly point me to the source of bug and I was getting vague message that some data was missing .

And there were many instances of same throughout my project experience.

With typescript you will know instantly. The javascript being weakly typed compared to python necessitates use of typescript.

Re:Python types have an expectations problem on Monday January 29, 2024 @11:57AM (#39178662)
I have been using python library Pydantic with FastApi for input and output data validation for Rest API and it solves some of the problems.

I wanted to check if the use case can be generalized for all situations. For example, the code below will throw a runtime error

* Input should be a valid integer, unable to parse string as an integer [type=int_parsing, input_value='A', input_type=str] *

```

  from pydantic import BaseModel

  class User(BaseModel):
     id: int
     name: str

  def print_user(user: User):
     print(user.name, user.id)

  user_1 = User(id="A", name="John")

  print_user(user_1)
```

I have also been using typescript with React Application and really find it better compared to python due to type checking. But I can still imagine a future when type-checking gets incorporated in native python, unlike javascript/typescript. The groundwork has been laid already with type hints.

Re:'Scalene' offers efficiency suggestions for Python coders on Monday January 29, 2024 @03:58AM (#39174226)
The security check takes forever to complete. I tried two times and cant get through.

Sure way to drive traffic away from site. Must be some better way

Depends on how you use it.

I use a similar vscode assistant bit only for shorter code. I am able to complete code faster than an instructor on video.

What I find amusing is the article quotes SAP having difficultly finding university graduates. This is is same company which has been trying to get rid of older employees in Germany by means of voluntary attrition.

And this year they announced restructuring of 8000 employees and would try to do same again in Germany

Re:Apple to EU, Drop Dead on Saturday January 27, 2024 @06:01PM (#39160761)
Epic has its store on windows where it charges 12 percent. And it also regularly gives away some AAA games for free
I can't test my web app on safari as apple won't let install mac os on any other PC. They won't even release safari for other os like android and windows.

Now those in non EU countries won't be able to acess other browser's too which will present similar challenge.

Older »