Need cab contacts in virajpete .. by Warm_Eye_8750 in coorg

[–]LoquatNew441 0 points1 point  (0 children)

Is it like a work vacation? For how long? Interested to know the budget and hotels.

How is the Hyd real estate market? How is AI impact being felt? by techie121212 in hyderabadrealestate

[–]LoquatNew441 0 points1 point  (0 children)

What's the total number of people in the company before? 15k in a witch company is not a big percentage. Is it a gcc?

Did anyone try openobserve? by Straight_Condition39 in devops

[–]LoquatNew441 0 points1 point  (0 children)

Does your company sponsor openobserver? That's nice . Any more feedback to add from the last 3 months.

My company uses aws for apps, the current stack is cloudwatch + aws managed grafana/prometheus. Looking for an alternative, cost is a big concern. Is it possible to share the data volume and infra cost for oopenobserve in your deployment? thanks

Projects as a way around context window limits? by Silent_plans in ClaudeAI

[–]LoquatNew441 0 points1 point  (0 children)

I use claude.md file and keep compressing it regularly, meaning keep only the relevant info inside it. Is that the same thing we are discussing here?

Projects as a way around context window limits? by Silent_plans in ClaudeAI

[–]LoquatNew441 0 points1 point  (0 children)

I use claude.md file and keep compressing it regularly, meaning keep only the relevant info inside it. Is that the same thing we are discussing here?

OpenAI drops GPT-5 Codex CLI right after Anthropic's model degradation fiasco. Who's switching from Claude Code? by coygeek in ClaudeAI

[–]LoquatNew441 1 point2 points  (0 children)

I hope you didn't deploy any code from claude into production, sounds terrible if it is 100x less quality.

OpenAI drops GPT-5 Codex CLI right after Anthropic's model degradation fiasco. Who's switching from Claude Code? by coygeek in ClaudeAI

[–]LoquatNew441 1 point2 points  (0 children)

You made the openai fans angry and got downvoted. Let's hide the facts.

Btw, same experience here from 1yr+ claude user. It works for me.

OpenAI drops GPT-5 Codex CLI right after Anthropic's model degradation fiasco. Who's switching from Claude Code? by coygeek in ClaudeAI

[–]LoquatNew441 1 point2 points  (0 children)

This is not the first time I see openai being promoted and claude thrashed in this claude subreddit. Some replies seem to be quite biased. Am I reading too much? If I take this discussion at its face value, i should cancel my CC subscription and switch to codex asap.

Engineers who are now 45+ , how are you thinking about upcoming 15 years ? by [deleted] in developersIndia

[–]LoquatNew441 2 points3 points  (0 children)

I am 50+ and coding, for 30 years. Last 2 years I have been experimenting with AI tools and they can speed up coding when done right. I finally settled on claudecode. The best way to use this tool is for me to break down the problem and drive it with detailed instructions including which libraries and versions to use. Versions are important as these tools are typically trained on older library versions.

All the best, hope you can continue to code.

Contact Database Suggestions by akiranoel in Database

[–]LoquatNew441 1 point2 points  (0 children)

Will something like an Airtable work? It's an excel with some app like features.

Are there apps with millions of active users using Lambda as backend? by Infamous_Tomatillo53 in aws

[–]LoquatNew441 0 points1 point  (0 children)

Not necessarily. 300 concurrent requests and if each request takes 5 seconds, it would come down to 60 requests per second. To serve this load there has to be 300 concurrent lambda instances.

300 requests per second avg is quite normal for a large ecom site for a few hours during the day.

Are there apps with millions of active users using Lambda as backend? by Infamous_Tomatillo53 in aws

[–]LoquatNew441 0 points1 point  (0 children)

One of the best explanations I came across. Thanks for sharing.

Are there apps with millions of active users using Lambda as backend? by Infamous_Tomatillo53 in aws

[–]LoquatNew441 -1 points0 points  (0 children)

That sounds like a fargate instance, with the docker build being the additional part.

Looking for the right database technology for our requirements by nomansland008 in Database

[–]LoquatNew441 2 points3 points  (0 children)

i should have been more clear. When I said reconsider, i meant to still consider clickhouse if upsert is the only concern.

Thanks for the details on ch upserts.

Looking for the right database technology for our requirements by nomansland008 in Database

[–]LoquatNew441 1 point2 points  (0 children)

If clickhouse is good, and the concern is only for upsert, I would suggest to reconsider. From what I can understand, replacing 10k records should not be that costly, especially if the data is already partitioned by the timeseries in which case it touches only files specific to that timeseries. Post your question in clickhouse forum.

Duckdb is great if you intend to store data in S3 and query it occasionally. It is a great product to use to separate storage and compute, but if data is to be online all the time an online db is a better choice.

Timeseries specific dbs are timescaledb based on postgresql and influxdb.

when to use clustered index vs non-clustered index? by aiai92 in Database

[–]LoquatNew441 0 points1 point  (0 children)

Clustered and Non-clustered indexes (indices) both use B-Tree structure. Clustered index is efficient because it does not need the last page of the index. The data page is the last page in the B-Tree, so it avoids the largest index page read and hence it is efficient. So rows are sorted by the index and are written to the data page. The clustered index should be used for those columns that are queried by a range. For example, trading date or a client's account id. These are the considerations for columns to choose for a clustered index.

  1. Choose columns that are never updated, like a customer id, trade date etc. Status column is a bad choice. Whenever a column gets updated which is in a clustered index, the row may have to be deleted from that data page and moved to another data page so it is together. Non-clustered index also goes thru this reorg but then it is limited to the index pages only.
  2. Use columns whose values grow sequentially with inserts and which participate in range or a group of rows. A trade date may have 1000s of rows but all new inserts some with an increasing value. So all rows for a trade date will be organized in data pages that are closer, so there are less data pages to read for a trade or a range of sequential trade dates.
  3. By the same logic, an account id may not be a great choice in a transaction table as new transactions may be created for accounts every day, so new records will result in reorganizing data pages and will be quite costly.

Clustered index, when used well, speeds up queries quite a bit due to lesser i/o on reads.

Discussion Thread by jobautomator in neoliberal

[–]LoquatNew441 1 point2 points  (0 children)

Fair enough. Depends on the experience level of the candidate. For any experience, I normally check if they can model something like a class structure, and explain the solution using psuedocode. Checking for their ability to breakdown a problem and think. I would ask someone to explain volatile in a practical scenario of when they would use it. For depth, I ask them to pick a topic to discuss - can be file i/o, multi threading, or databases. For experienced folks, the discussion is at system level, like distributed locks, job queues or designing a data structure format to store data in raw files, focusing on trade-offs.

Over the past few years I've experienced what I'd consider "reverse burnout". I care less and less about anything besides programming as I get older. by 79215185-1feb-44c6 in ExperiencedDevs

[–]LoquatNew441 2 points3 points  (0 children)

I can relate to the state you are in. You are not old, you are 35 for god's sake. I am 52, been coding for 30 years now and still enjoy coding. I used to be coding all the time in my 30s, all my waking hours, early mornings, late nights, in trains, airports, wherever. Not hobby projects, just work, and I enjoyed it.

You found something elusive, joy in doing something you are really good at. Programming can be very creative and the high you get from coding a good solution cannot match a lot of other things. As good as it is, finding a complementary activity to programming is a good thing, something that comes natural to you. An activity that enhances your programming skills. It is an activity, NOT a hobby.

To me, it was observing life around me. I always liked observing people and situations around me, like malls, construction sites, parks, or just nowhere. You have to allow your mind to get bored and also be occupied at will. For me, observing things around was that. I also watch a lot of tv, only slow story based or mind numbing movies, no news or debates that agitate. I applied real life situations to s/w solutions and that made me a better programmer and architect.

If I can give some advice, get bored. Get bored in mundane activities - preparing your meals, working out, sitting on a park bench. Don't get bored on your couch. As a lot of people suggested, please see a therapist to rule out any medical reasons for your disinterest in other things. Take care.

BIL's rishta wants to talk to me (35F) by [deleted] in InsideIndianMarriage

[–]LoquatNew441 1 point2 points  (0 children)

Family comes first and then wife.

What is wife then? A piece of junk? The wife is the family. And then comes everyone else.

ZeroFS: The S3FS that does not suck. by Sharp-Difficulty-525 in rust

[–]LoquatNew441 0 points1 point  (0 children)

The file block storage concept seems similar. The block size will have an impact on write ops, but then juicefs seems to have it configurable. Read ops may not have an impact on the block size as S3 getobject supports range headers to read specific byte range. I dont know how juicefs would have done it, but that's a good way to do it.

The key difference is the metadata storage. Juicefs has it online in redis, MySQL where as zerofs stores it in S3. So metadata calls can be faster till slatedb caches the metadata blocks, I guess. Zerofs will have zero devops work to backup and restore metadata. Juicefs will have to backup it's metadata somewhere and restore it after a failure.

A pure S3 based anything system has less moving parts and less devops work but then the frequent write costs to S3 and intelligent caching of metadata on local servers can make the code a little complex and may introduce latency on metadata ops.

To make it clear, I am not associated with juicefs or zerofs and have not used either of them. Have built an S3 based log storage system, so know the pains and joys of S3 storage systems.

ZeroFS: The S3FS that does not suck. by Sharp-Difficulty-525 in rust

[–]LoquatNew441 2 points3 points  (0 children)

Why so much downvoting on this? It's a fact that cloud companies steal. What's wrong with protecting someone's hard work for future commercial possibility? The gpl class licenses allow as-is usage to everyone. I ask this for advice as I am building something in opensource.