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

Nope, this analysis is wrong. Decompile your code and look at what's going on: https://godbolt.org/z/f1nx9ffYK

The thing being returned is a slice (a fat pointer) that has pointer, length, capacity. In the code linked you'll see the fat pointer being returned from the function as values. in C you'd get just AX (the pointer, without length and cap)

    command-line-arguments_readLogsFromPartition_pc122:
            MOVQ    BX, AX     // slice.ptr   -> AX (first result register)
            MOVQ    SI, BX     // slice.len   -> BX (second)
            MOVQ    DX, CX     // slice.cap   -> CX (third)
The gargabe collection is happening in the FUNCDATA/PCDATA annotations, but I don't really know how that works.

Seems to be working so well all those demographic numbers are going up and to the right! That correlation between wealth and number of children is staggering it's almost causal if only I could prove it. Let's double down on it!

Let's take the beautiful state of Massachusetts where I live. For foreigners: it's a liberal mecca, a pocket of Americans with a yearning for european lifestyle. Let's look at the government from a systems perspective and say that we prioritize individuals based on dollars spent on them, shall we?

- How much does the state spend for a pre-k child? <10k/year/child

- An incarcerated inmate? >100k/year/inmate

- Drug-use rehab? >50k/year/user-seeking-rehab

- How much does that leave parents to pay? >30k/year/child (again average, any place where there's a job it's closer to 50k pre-tax)

We don't prioritize children and our societies are actively hostile towards them in terms of dollars spent. As simple as that.


Doesn't explain countries like Japan, China, SK where drug use is extremely low and incarceration rates are far lower. Still no babies.

That's a fine argument, but if we're trying, let's start by spending on it first. We're america, that's what we do when we have a problem.

Actually what America usually does first is prioritize GDP growth over the interests of natural American citizens. I expect that trend to continue.

I find it really hard to buy that this is the reason people have 0 kids. Less sure, but if youre worried about cost youll just have 1 instead of 2 or 3. Seems to me that some people are just less interested in having kids now because theyd rather do other stuff.

This is my thought too. They de-risked any other AI startup from choosing AWS as their platform. If the hype continues AWS will get their 30% margin on something growing like rocket emoji, if they don't at least they didn't miss the boat.

Honestly, I don't. I go through phases. I have a tampermonkey script that blank-screens sites and that's been very effective. Reddit is a tough one because there's a ton of useful information on there, but once you're on it it's easy to start scrolling. You could be extreme and get a device just for work, perhaps with google voice and wifi only to save on a membership fee

Here's my script: https://gist.github.com/matthewaveryusa/8257de0083abdecc612c...


The only caveat being this assumes all your data can fit on a single machine, and all your processing can fit on one machine. You can get a a u-24tb1.112xlarge with 448 vcores, 24TB RAM for 255/hour and attach 64TB of EBS -- that's a lot of runway.

Or rent a bare-metal machine from hetzner with 2-3x performance per core and 90% less costs[1].

[1] Various HN posts regarding Hetzner vs AWS in terms of costs and perf.


In my experience, a decently managed database scales very hard.

3x EX44 running Patroni + PostgreSQL would give you 64GB of working memory, at least 512 GB NVMe of dataset (configurable with more for a one-time fee) at HA + 1 maintenance node. Practically speaking, that would have carried the first 5 - 10 years of production at the company I work at with ease, for 120 Euros hardware cost/month + a decent sysadmin.

I also know quite a few companies who toss 3-4x 20k - 30k at DELL every few years to get a database cluster on-prem so that database performance ceases to be a problem (unless the application has bad queries).


There are no Hetzner servers that have 24TBs of RAM

This might be true in terms of direct monetary costs.

I want to like Hetzner but the bureaucratic paper process of interacting with them and continuing to interact with them is just... awful.

Not that the other clouds don't also have their own insane bureaucracies so I guess it's a wash.

I'm just saying, I want a provider that leaves me alone and lets me just throw money at them to do so.

Otherwise, I think I'd rather simply deploy my own oversized server in a colo even with the insanely overpriced hardware prices currently.

edit: And shortly after writing this comment I see: "Microsoft won't let me pay a $24 bill, blocking thousands in Azure spending" https://news.ycombinator.com/item?id=46124930


Yes there is some bureaucratic paper churn to deal with them, but it's a one time cost. I did it once probably more than 10 years ago. Since then, login to the website takes me <10s (with OTP) every couple of days and then finding what I'm looking for in the web UI or the API doc is usualy just 3 or 4 clicks away (their website is a bit messy).

Compare that with AWS, where login is slow and unreliable (anyone else got an error message after every login and has to refresh to get in?), the website is a giant mess collapsing under its own weight, and slow like it's still running websphere.

Over the last 10 years, I've certainly lost way more time working through aws paperless bureaucracy than complying with Hetzner paper bureaucracy. And I'm not even using aws for that long.


Can you elaborate on what the bureaucracy is you experienced? I'm a Hetzner customer since last month and so far I thoroughly enjoy it. Have not encountered any bureaucracy yet.

I think I was still being a bit too harsh even after throwing into my comment that other providers aren't perfect either.

But basically after the initial paperwork I had some issues with my account getting flagged even though I wasn't using it 99.999% of the time. It's not a huge deal for me because I wasn't trying them out for anything serious. I just questioned how often that might happen if I was actually using it seriously and what kind of headaches it could cause me while re-verifying everything with them.

From people I know if everything is going good then their service is great. Server performance is good, pricing is good, etc.


You’re renting an entire infrastructure, I think a bit of KYC is reasonable.

I had more trouble onboarding AWS SES, with a process that felt more like me begging. With which I said fuck it and went with self hosting ever since (on a bare metal server no less)


I was asked for a passport photo when I tried to open an account. They literally asked for a passport photo immediately after the signup form. Like WHAT? I couldn't believe my eyes. The most insane shit I've ever seen.

Quite commonly required by law in Europe; but often times not implemented very seriously by hosting providers, but Germany seems to be an exception.

I remember a time in France for instance, about 15years ago, it was mandatory to provide your ID when bying a mere prepaid sim card. No seller would actually check, and a coworker of mine who used to work for one of the largest french telcos at the time told me that once they ran some stats over the customer database and noticed that most names where from popular comics and TV show. They laughted and moved on. These days, the seller would at least ask for some ID.

aka circling the cattle.


If I was letting some random person rent one of my servers without oversight, I'd sure want to see some ID first.

It's weird seeing people on HN complain about this aspect regarding Hetzner because it's the complete opposite of my experience. Two years I've rented a dedicated server for around 40 euros monthly from Hetzner as a business customer and I had no issues whatsoever. They didn't ask for a business license or personal ID or anything really, I provided a VAT ID along with a business name and address but it wasn't anything extra compared to what I also provided Migadu or Porkbun for example.

I suppose they might have more KYC procedures for personal accounts based outside the EU otherwise I have no clue.


Same, Hetzner has always been very flexible with me when it comes to practically anything. It's always been humans answering my queries, with of course various quality but overall quite good especially for the price. I gave them some VAT number to get reduced prices at some point and that was it :shrug:

Used them for more than 10 years. There was a one off, straightforward process of providing some details back then, and then nothing more.

I'm based in the US and I tried twice to create an account for Hetzner (a personal account as well as a company / startup account). They rejected all my attempts. I don't quite understand their business model :)

similar experience, as well. not sure what's going on with hetzner.

I love their pricing and the simplicity, but they don't give the impression of being highly skilled. They have zero managed services, not even managed K8. Their s3 (very mature tech at this point) is utterly garbage even one year after their launch.

Then the bureaucracy you mention which is just a reflection how they work internally as well.


> I want a provider that leaves me alone and lets me just throw money at them to do so.

That’s been my experience with Hetzner.

A lot of people get butthurt that a business dares to verify who they’re dealing with as to filter out the worst of the worst (budget providers always attract those), but as long as you don’t mind the reasonable requirement to verify your ID/passport they’re hands-off beyond that.


That's fair and I don't have any major issues with that.

I guess my concern on the bureaucracy is if you are unlucky enough to get flagged as a false positive it can be an annoying experience. And I can't really blame them too hard for having to operate that way in an environment of bad actors.

You're definitely right that the budget providers do attract the types of people trying to do bad things/exploit them in some way.


It’s too bad that there does not seem to be a comparable provider with datacenters in North America.

Heh, the documentation calls out the limits. Maximum (theoretical) DB size is 281TB: https://sqlite.org/limits.html

> This particular upper bound is untested since the developers do not have access to hardware capable of reaching this limit.

> However, tests do verify that SQLite behaves correctly and sanely when a database reaches the maximum file size of the underlying filesystem (which is usually much less than the maximum theoretical database size) and when a database is unable to grow due to disk space exhaustion.


Scale-up solves a lot of problems for stable workloads. But elasticity is poor, so you either live with overprovisinoed capacity (multiples, not percentages) or fail under spiky load which often time is the most valuable moment (viral traffic, Black Friday, etc).

No one has solved this problem. Scale out is typically more elastic, at least for reads.


That's a good point, but when one laptop can do 102545 transactions per second, overprovisioned capacity is kind of a more reasonable thing to use than back when you needed an Amdahl mainframe to hit 100 transactions per second.

As compute becomes cheaper your argument becomes more and more true.

But it only works if workloads remain fixed. If workloads grow at similar rates you’re back to the same problem.


Well, it doesn't work for the newly added workloads. But for the most part we instead have the same workloads performed less efficiently.

I love hetzner for internal resources because they're not spikey. For external stuff I like to do co-processing, you can load balance to cloudflare/aws/gcp services like containers/Run/App Runner/etc.

I suspect that for a large number of orgs accepting over-provisioning would be significantly cheaper than the headcount required for a more sophisticated approach while allowing faster movement due to lower overall complexity

and that your application doesn't need to be resilient to host or network faults

> The only caveat being this assumes all your data can fit on a single machine

Does my data fit in RAM? https://yourdatafitsinram.net/

Not sure using EC2/AWS/Amazon is a good example here, if you're squeezing for large single-node performance you most certainly go for dedicated servers, or at least avoid vCPUs like a plague.


That site is a bit questionable. I entered "64TB" as the answer and it was very happy to show me a bunch of servers that maxed out at 6 or 8TB. Even the one server that listed 64TB of RAM might be questionable since it's not leaving room for the OS or your applications. That said 64 TB is a gargantuan amount of data, so I'm not too worked up over it not fitting in RAM. Lord help you if you have a power outage and have to reload the data from disk.

Getting on for ten year's worth of forum posts on https://rangerovers.pub/ comes to about 32MB of SQL dump.

So yeah, easily.


How does 25 TiB fit in RAM when the max machine has 24 TB?

That's true of PG as well.

So what's the issue here (I know what the issue is in terms of the subresource not loading, a bit like an oauth redirect not executing properly if a user needs to log back in.)

Is it because of a misconfiguration on blender's end that should allow css to passthrough without verification, the query param messing a cloudflare passthrough default, or something else?


They might be allowing global public caching of their /news/ blog posts (because WordPress is slow?), but not of the static /wp-content/ directory.


I attribute project euler for instilling the playful enjoyment of writing programs in college while I was studying electrical and computer engineering. I owe my career to it!


Just to play devil's advocate with some pointed questions:

What is so important about the Vietnam war for the day-to-day of the Vietnamese young?

It's the generation that have fallen prey to today's social media and garbage news outlets telling us that history is important -- why should the young be credulous to the gullible?

If the old adage "Those who cannot remember the past are condemned to repeat it" is to be acted upon, it is without a doubt not to study history and try to remember the past because clearly we're always repeating it.

So what is important and constant across time? Those that have empathy (or fake empathy) for the masses and can galvanize them have the power to drive society. Perception is reality more than facts are reality in all but the sciences. If the world were to reset and humans were stripped of all tools, they would re-invent math, science, biology, physics. I doubt that our laws, traditions and zeitgeist would be replicated.


Oh yeah my polish grandmother (100 and still kicking!) cooked some. Tastes like spinach and was great.

Fun story (semi related) she visited us in the US in 2015 and my sister served her kale. She amusingly said: “I haven’t had this since ww2” apparently when food was scarce they grew kale which was easy to grow in Poland and packed with nutrients


Funnily enough around a decade ago or so it was fashionable in some circles in Poland to eat kale and it brought all kinds of ridicule from people questioning the plant's purported benefits.

A lot of the more recent examples of Polish cuisine are dishes originally invented out of poverty and made largely out of cheap ingredients and which now took a new form using stuff unheard of at the time because the real recipe is not to contemporary taste.

My favourite example of that would be cold cheesecake - originally made largely from cottage cheese, nowadays has mascarpone as the main ingredient.

Mascarpone! Hardly anyone knew what mascarpone even was in the 70s.


> Mascarpone! Hardly anyone knew what mascarpone even was in the 70s.

Behind the Iron Curtain and no trade with the Decadent Bourgeoisie Westerners


My family in Belarus used to make a soup with it. Exactly like spinach, maybe more fibery texture.


Yeah it's not as common here (Zurich) as the USA. Also, collard greens just don't seem to exist here.


"I came close to madness trying to find it here in the States but they just don't get the spices right."


Yes, my grandmother told me how the "Greek diet" was the one they ate while the Nazis tried to starve them out.


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

Search: