Better HN
topnewbestaskshowjobs
Log inSign up

datadeft

1,184 karma · joined Feb 21, 2023 (3y ago) · 483 submissions

everything data

datadeft.at.hn

Submissions

comment 2y ago · link · parent

In summary:

Accidental complexity, accidental complexity, accidental complexity and when we use a tool that is designed for problem A for a problem B it is not sufficiently dealing with complexity. This is why we need a new tool.

¯\_(ツ)_/¯

comment 2y ago · link · parent

Does Pulumi still use Terraform under the hood?

comment 2y ago · link · parent

And how does anybody know just looking at this line what is the actual implementation? Creating new names like sst.aws.Cluster that hides actual details is problematic for me. ECS has three flavor as of 2024. How should I know which is in use when writing that line of code?

Amazon ECS capacity is the infrastructure where your containers run. The following is an overview of the capacity options:

- Amazon EC2 instances in the AWS cloud

- Serverless (AWS Fargate) in the AWS cloud

- On-premises virtual machines (VM) or servers

One more intresting detail I found that another services are not trying to hide the implementation detail.

    const api = new sst.aws.ApiGatewayV2("MyApi", {})

comment 2y ago · link · parent

I am wondering if this is actually a pattern that we can use to build a production system:

    const cluster = new sst.aws.Cluster("MyCluster", { vpc });

comment 2y ago · link · parent

I thought those are the same and I realize that there is a difference.

comment 2y ago · link · parent

It had it since the first version as far as I know.

comment 2y ago · link · parent

For those who are interested:

https://static.googleusercontent.com/media/research.google.c...

I am not sure what differences k8s has compare to Borg. At the concept level these are pretty comparable.

comment 2y ago · link · parent

> each part 3 times.

True.

So most projects just use SIMDe, xSIMD or something similar for such use cases?

comment 2y ago · link · parent

The original k8s paper mentioned that the only use case was a low latency and a high latency workflow combination and the resource allocation is based on that. The generic idea is that you can easily move low latency work between nodes and there are no serios repercussions when a high latency job fails.

Based on this information, it is hard to justify to even consider k8s for the problem that gitpod has.

comment 2y ago · link · parent

Not a C coder but isn't there a way to embed platform specific optimizations into your C project and make it conditional, so that during build time you get the best implementation?

    #if defined(__ARM_NEON__)
    #include <arm_neon.h>
    ...

comment 2y ago · link · parent

Is it using Tor to download content?

(The second part of your comment was just normal log rotation as it turns out)

102.

Recraft V3 SVG, a text-to-image model with the ability to generate SVG images(replicate.com ↗)

2 points · by datadeft · 2y ago · discuss

comment 2y ago · link · parent

> China is 92% Han Chinese.

I am not sure if I understand. You have a country on Earth where the vast majority of people is one kind and happily co-exists with 56 minorities.

Can you point me to another country (the size does not even matter) where this happens like this?

> Soon after the establishment of the People's Republic of China, 39 ethnic groups were recognized by the first national census in 1954. This further increased to 54 by the second national census in 1964, with the Lhoba group added in 1965. The last change was the addition of the Jino people in 1979, bringing the number of recognized ethnic groups to the current 56. The following are the 56 ethnic groups (listed by population) officially recognized by the People's Republic of China.

comment 2y ago · link · parent

> The US is allowing NVIDIA to keep selling strategic assets to whoever can afford them

You mean free market capitalism? That would be way to crazy.

comment 2y ago · link · parent

They are doing roughly the same as J6 people ¯\_(ツ)_/¯

comment 2y ago · link · parent

I think China does not need cutting edge of everything to be successful. If they build a nuclear power plant that has turbines from 5 years ago they are still going to be ok. The question what kind of power plant to build is much more important.

comment 2y ago · link · parent

> BastionZero just builds on top of that to provide a “seamless” UX

Isn't this what many of the companies do?

comment 2y ago · link · parent

Isn’t solar energy a SPOF? It goes to zero MW roughly every 12 hours at any given location on Earth where most people live due to the availability of the Sun’s light.

comment 2y ago · link · parent

Yep. Btw the threat model for me is this:

- against random 3rd party, even WeChat is ok

- against random black hats, most of chat software is ok, maybe even WeChat

- against gov agencies, nothing is going to protect you

When I am in China, i happily use WeChat including the gazillion of services available through it. Buying metro pass, ordering food, getting a battery pack and so on.

Btw no country could replicate this outside of China, which is an interesting phenomenon. We have endless ads including actual scams and malware distributed by Google Ads yet I cannot buy train tickets in the EU through a single app and order food as well, let alone getting a cab. It would be great though.

110.

Ask HN: What is your monitoring stack on AWS?

2 points · by datadeft · 2y ago · discuss

comment 2y ago · link · parent

Please no. Frameworks are the breeding ground of accidental complexity.

Rust already has excellent libraries that are easy to use in many different stacks.

comment 2y ago · link · parent

I think there is more than just the Gilgamesh story. Don't the clay tablets mention that the first man was created by a god?

https://www.reddit.com/r/AcademicBiblical/comments/hxqchw/co...

comment 2y ago · link · parent

Absolutely. I was just referring to the invention of writing which is based on current understanding was done by Sumerians. It raises many questions in me, how did we end up with such a sophisticated language (and many other things like the sexagesimal number system for example).

comment 2y ago · link · parent

I think the Sumerian clay tablets (that is the bible is partially based of) reveal a lot more about the origins of human civilizations.

comment 2y ago · link · parent

Amazon needs slaves or robots whichever is cheaper.

comment 2y ago · link · parent

> python can outsource that work to Pandas or NumPy.

Exactly. So C/C++/Fortrant is better in this regard than Python.

comment 2y ago · link · parent

> You really do not know what you are talking about

> it is not about the language

Sure how about these people?

https://thenewstack.io/which-programming-languages-use-the-l...

comment 2y ago · link · parent

Sorry but you can't blame the medium for this. If you do please also blame everybody else: keyboard producers, monitor manufacturers etc. Do not just cherry pick one vendor.

comment 2y ago · link · parent

Scaling a non-scalabe by default framework that should have been few services written in a performance first language at a billion+ USD company.

I am not sure why are we boliling the oceans for the sake of a language like Ruby and a framework like Rails. I love those to death but Amazons approach is much better (or it used to be): you can't make a service for 10.000+ users in anything else than: C++, Java (probably Rust as well nowadays).

For millions of users the CPU cost difference probably justifies the rewrite cost.

12345
17