News for hackers. Stuff that matters.

antoaravinth

Re:You don't need that CORS request on Monday January 03, 2022 @11:23PM (#29791290)
This is exactly, what I wanted the frontend developers to do. Junior developers introduce new library/framework just because it looks "cool to work with", later it becomes a problem, which will then be replaced by another library (its a endless loop these days).
Thanks for the reply. Also, when I run in an microservice architecture, how does hasura handles say for example websocket across the services? Do we need to depend on any other library?

Can you share some samples for these things if available. I will be glad to look at it.

Does hasura supports database replication? When I looked last time, it wasn't. Also I feel these tools are not enterprise ready, IMHO.
Re:Build Your Own React on Friday November 15, 2019 @08:28AM (#21544560)
This is great. I did the same for Express.js last year. If anyone interested in it, here is the link: https://github.com/antsmartian/lets-build-express
Re:IT Runs on Java 8 on Sunday May 12, 2019 @01:19AM (#19890299)
This is so true that I can relate this myself and my co-workers. We work on javascript side most of the time and daily there will be set of developers talking about new bundlers, react features, hooks etc and they plan to use it in the production. The one thing I see and relate to this article is that, few team have used flow stating its a great tool for static typing in js world and now they are forced to change now to typescript. The same developers who introduced flow into the codebase, now in a position to say flow has huge drawbacks compared to typescript. Now they are moving to typescript, but who knows, typescript can change too. We never know. I always fight against these tech updates, without understanding its cost, but in most cases I fail to.
Re:Ask HN: YouTube down? on Tuesday October 16, 2018 @09:24PM (#18234831)
Not working here in India as well.
Re:Why the New V8 Is So Damn Fast on Tuesday July 31, 2018 @02:53AM (#17651077)
Does anyone used Chakara core? How does it compares itself with V8?
Re:A collection of free datasets from Microsoft Research on Wednesday July 04, 2018 @11:43PM (#17460726)
Well if you are looking for a huge dataset, I would suggest stack overflow.

https://archive.org/details/stackexchange

I remember I wrote a node script to download all question and dump into my Postgres instance. It was fun, Postgres with an index could able to fetch results super fast

How many answers for this question?

How many questions are unanswered?

With gin index, I could do a free text search as well.

Re:ActorDB – Distributed SQL database on Sunday June 17, 2018 @11:30AM (#17332765)
Slightly off topic but I see Go is better fit too. When i started learning go I read the source of Buntdb

https://github.com/tidwall/buntdb

It was very well written and easy to pick up as well.

Re:ActorDB – Distributed SQL database on Sunday June 17, 2018 @11:28AM (#17332752)
I don't quite get this, you are saying Erlang is fault tolerant? I'm confused here because fault tolerance is something that the application using a particular language needs to make sure right? Sorry if I mistaken your statement.
Re:How to become a dramatically better programmer on Monday June 11, 2018 @10:34PM (#17290284)
That's excellent point. When I digged into express source I understood several things like how it extends the response object via prototype to add methods like send etc. Also you will understand how exactly next function is implemented and then you can literally understand anything about the library.
On a side note, if someone asks me to prototype anything on Java world, will pick Grails. Getting a webpage up and running in Grails is so easy.
Same issue on mobile Chrome.
Re:Proxy, a new JavaScript ES6 feature on Saturday May 19, 2018 @09:32AM (#17107820)
Cool. I was seeing source of inner js, which in deed uses proxies to create structural sharing.

https://github.com/mweststrate/immer

I love this idea. I always, take a famous open source project and try to re-create or go through the source of it. Its very tough, but when you do so the learning is very immense. Thanks for the link.
Re:My struggle to learn React on Thursday May 10, 2018 @10:31PM (#17044572)
With react context in place now starting from 16.3, I guess we can start using them for app level storage rather going to tools like redux.
It looks very similar to Either functor (left which always return nothing). Looks cool though.
Re:Show HN: Share Files Over Same Network via QR Code on Monday March 26, 2018 @10:21AM (#16679085)
Yup saw that few days ago. But I wanted to build this for a long time.
Re:Practical Go benchmarks on Wednesday March 07, 2018 @10:07PM (#16541980)
I always wanted to ask this. I'm a full stack developer with good knowledge on Java and JavaScript. I'm currently reading Golang especially for its concurrency idioms. It is good and easy to write concurrent code but people always come and say about actors which are very good when compared with channels. I have never used actors before.. Whats your thoughts on this?
Re:Golang Developer on Sunday March 04, 2018 @11:00PM (#16518637)
Well not sure, if this helps. But I wrote a simple tutorial on locks and RWMutex. The project builds a simple in memory database, may be helpful to you: https://github.com/antoaravinth/go_concurrency_tutorial
In Chennai, India where I live many government school doesn't have a computer. For these students computer is a dream. I remember how students from these schools visited our office and touched a computer for their first time. Its really sad to see this at my hometown.

Ask HN: Big Open source projects to Learn From

Hello HN,I was looking @ how reddit repo[1] evolved in the past, as we all know its closed now. I was just wondering, if there are any other open source projects that is very good at architecture level (like reddit which was very good) that is interesting to read on.Thanks for your answer.[1]:https://github.com/reddit/reddit

( Read More... | 1 comment | 6 points | on HN )
Re:The State of Vacuum in Postgres on Saturday January 06, 2018 @10:08AM (#16085553)
Well this might not answer your question directly, but it shows how VACCUM solves problem such as transaction etc. Its a great video to watch, covers topic in depth : https://www.youtube.com/watch?v=ZxhBkBNxvR0

Older »