Hacker Newsnew | past | comments | ask | show | jobs | submit | estebarb's commentslogin

Personally I would suggest that the "easiest S3" would be simply using NFS. You can get replication with RAID.

S3 is simple for the users, not the operators. For replicating something like S3 you need to manage a lot of parts and take a lot of decisions. The design space is huge:

Replication: RAID, distributed copies, distributed erasure codes...

Coordination: centralized, centralized with backup, decentralized, logic in client...

How to handle huge files: nope, client concats them, a coordinator node concats them...

How will be the network: local networking, wan, a mix. Slow or fast?

Nature of storage: 24/7 or sporadically connected.

How to handle network partitions, pick CAP sides...

Just for instance: network topology. In your own DC you may say each connection has the same cost. In AWS you may want connections to stay in the same AZ, use certain IPs for certain source-destination to leverage cheaper prices and so on...


NFS in practice is too different from S3 to make this work.

I’ve been at a couple companies where somebody tried putting an S3 interface in front of an NFS cluster. In practice, the semantics of S3 and NFS are different enough that I’ve had to then deal with software failures. Software designed to work with S3 is designed to work with S3 semantics and S3 performance. Hook it up to an S3 API on what is otherwise an NFS server and you can get problems.

“You can get replication with RAID” is technically true, but it’s just not good enough in most NFS systems. S3 style replication keeps files available in spite of multiple node failures.

The problems I’m talking about arise because when you use an S3-compatible API on your NFS system, it’s often true that you’re rolling the dice with three different vendors—you have the storage appliance vendor, you have the vendor for the software talking to S3, and you have Amazon who wrote the S3 client libraries. It’s kind of a nightmare of compatibility problems in my experience. Amazon changes how the S3 client library works, the change wasn’t tested against the storage vendor’s implementation, and boom, things stop working. But your first call is to the application vendor, and they are completely unfamiliar with your storage appliance. :-(


> but it’s just not good enough in most NFS systems.

NFS is just an interface. At the end of the day it's on top of an FS. It's entirely possible and sometimes done in practice to replicate the underlying store served by NFS. As you would expect there are several means of doing this from the simple to the truly "high-availability."


Why would you use S3 on top of NFS?

I mean you can, it would simplfy the locking somewhat.

But if you are doing file sharing for apps inside a network you manage, just use NFS, and maybe worry about the locking later.


At this point the protests should be against the matches themselves. But let's be honest: nobody cares anymore.

I didn't understood "your five-hour usage" I thought plans were per interaction or per token, not per hour.


There's a limit that resets every five hours and one that resets every week.


My usage only shows daily and weekly, though. I never got that.


It has "current session" and "weekly". If you notice, "current session" is never more than five hours away from expiration.


Oh, you're right. I don't know why I've always misread "current session" as daily.

Thanks for clearing that up. It'll help me schedule stuff in the future.


For Claude Code, you use up 12% of your weekly allotment every session, so 8 sessions per week.

If you are only using a session a day, you're wasting a session. :)


You can pay either for API usage or a fixed monthly plan (which is way cheaper but you can't use it for applications, just personal use).


I tried to put my postal code and it wrongly assumed that I live in the United States.

The zip first suggestion seems that would be really inconvenient for around 95.8% of the world population.


If this was in Costa Rica the appropiate way was to contact PRODHAB about the leak of personal information and Costa Rica CSIRT ( csirt@micitt.go.cr ).

Here all databases with personal information must be registered there and data must be secure.


> If this was in Costa Rica the appropiate way was to contact PRODHAB about the leak of personal information and Costa Rica CSIRT ( csirt@micitt.go.cr ).

They did. It's in the article. Search for 'CSIRT'. It's one of the key points of the story.


They reached Malta CSIRT. Costa Rica and Malta are totally different countries.


I'm really surprised OpenAI went with LaTeX. ChatGPT still has issues maintaining LaTeX syntax. It still happily switches to markdown notation for quotes or emph. Gemini has a similar problem as well. I guess that there aren't enough good LaTeX documents in the training set.


Please read about the history of the region. This seems to be a good unbiased source, which is hard tobfind these days: https://www.theguardian.com/world/2023/nov/09/why-israel-pal...

In particular, put attention to this:

""" What happened to the Palestinians who were living there?

About 700,000 Palestinians were expelled or fled – about 85% of the Arab population of the territory captured by Israel – and were never allowed to return. Palestinians called the exodus and eradication of much of their society inside Israel the Nakba, or “catastrophe”, and it remains the traumatic event at the heart of their modern history.

Arabs who remained in Israel as citizens were subject to official discrimination. They were placed under military rule for nearly two decades, which deprived them of many basic civil rights. Much of their land was expropriated and Arab Israeli communities were deliberately kept poor and underfunded. """


Let's not pretend that the Jews just appeared there. 800k Jews were kicked out of middle eastern countries. If we rewind the clock shouldn't those Jews also get their Middle East land back? Or did they not terrorize enough people and hijack enough airplanes to qualify?

Source: I was born in Baghdad. Father and other relatives were tortured and murdered there.


At this point, aren't we all descendants of Abraham with high probability? Maybe we should just give the land we identify as Israel to the world.


Sorry that happened to your family. The Zionist project has killed a lot of innocents.

> 800k Jews were kicked out of middle eastern countries

As a result of the creation of Israel.

As for Jews killed or terrorized into leaving Baghdad: Israeli historian Avi Schliem (whose family fled Baghdad to Israel after the Baghdad bombings) says Iraqi Zionists were responsible for some of those bombings in his latest book.

Finally, should Jews who had their lands stolen in the name of Zionism have their lands back? In a just world, yes.


[flagged]


I’m saying the creation of Israel caused the expulsion of the Jews from the surrounding countries. No Israeli state, no expulsion.


“How did the occupied Palestinian territories become occupied? In 1967 Israel launched what it said was a pre-emptive defensive war against Jordan, Egypt and Syria, as they appeared to be preparing to invaded.”

The problem with these summaries is everyone can always somewhat legitimately claim a prior offence. The 1967 offense resulted from the shitshow that was the 1948 war [1], which itself resulted from a history of French, British and Ottoman control.

[1] https://en.wikipedia.org/wiki/1948_Palestine_war


It sounds like they both suck.


> It sounds like they both suck

They both suck and they both have legitimate grievances.

They’re also both proxies on like four major axes (Iran vs Saudi Arabia, America vs Russia, America vs China and whatever Turkey is up to) and more minor axes than I’ve seen anyone even bother keeping track of.

It’s a deep and deeply fucked conflict that doesn’t lend well to armchair border drawing from an ocean away from first principles.


Not only search: titles and description of Youtube videos are being translated. Colab UI is now in Spanish (using technical terms that make no sense).

Some people may want translation, mostly people that only speak a single language. But for most bilingual people, being forced a translation (a lower quality one), is a worse experience. I'm surprised that no one at Google has pushed back this anti-user behavior. It is like no one at Google knows more than one language.

The worst part is when traveling. Google ignores the browser settings, so it throws me Japanese or German website, even if my browser settings clearly says English then Spanish.


> The worst part is when traveling.

They are trying so hard to be smart that the Chrome locale is determined from your GPS location, which creates obvious problems. I tried to change it once using the Sensors in dev tools in order to get rid of the AM/PM in time input fields, to no avail. You do not simply get the 24h time format.


FWIW, I once complained about this and they told me it's a "hard problem".


I'm confused. It was sarcasm?


Hard to say these days!


Concentration camps where people is incarcerated without trial?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: