skysight-inc/HackerNews huggingface dataset:
Ask HN: What’s optimal VPS required for fast WordPress hosting?
Hi, I am using shared webhosting for an ecommerce site (https://indicbrands.com)

we want to increase our performance in terms of loading time and i found that next step is to move to VPS.

Based on your experience can you share which is minimal requirement of VPS which can fast up the loading time in less then 1.5 or 2 second.

We dont have much visitors, may be daily 200-300 Max as of now.
yep. for better or worse (it is security-wise), a federated platform has taken over way more of my chatting than Signal ever reached, and Signals insistence on "we know what client people want" plays a large part in that.
Different Ways to Initialize Go Structs
But if the video is sponsored then the whole video is about a sponsored product/service.
Fantastic read isn’t it!

Loving the Foundation series sofar as well on AppleTV, but the books are great ofcourse.
Mind expanding on your experience and how are websockets more reliable than SSE? one of the main benefits of SSE is reliability from running on plain HTTP.
SSE EventSource also has built-in auto-reconnect, and it doesn’t even need to support failover to long polling.

Neither of those being built into a third party websocket library are actually advantages for websocket… they just speak to the additional complexity of websocket. Plus, long polling as a fallback mechanism can only be possible with server side support for both long polling and websocket. Might as well just use SSE at that point.
I think they are planning to use wasm as target for Web. They don’t have any reason to compile to wasm on mobile when they already can compile to native. WASM is equivalent of JVM and I doubt they will start providing binding to different languages. Even if they do Dart would be the still main language on this platform in similar vein like Java/kotlin is the main language on JVM - JPython, JRuby, Groovy are irrelevant. I also don’t think JavaScript/Typescript will get irrelevant in WASM - for the same reason even though you currently can compile CPython to wasm
"Any darn fool can make something complex; it takes a genius to make something simple. — Albert Einstein
Nah. I don’t think its relevant to debate about whether they understand it since they modified the firmware successfully.

The audience they write for doesnt understand “ASIC resistance”, its a meme within that community that has always relied on a misunderstanding of how processors work and is taken advantage of by people that do understand. It would unnecessarily dilute the article to proselytize to the desired audience just because someone that also understands computer architecture might happen to read it.

I would just say you’re late to this one. Like, you would have had an argument in 2012 when there actually was a chance to frame the lingo in the crypto space, but in 2022 for an article from 2019? No.

You should have just sold some hardware or software to miners sometime over the last 10 years.
How about Hilbert‘s 16th problem, would that satisfy your conditions for a counterclaim to your assertion? For a short summary, see https://mathoverflow.net/a/116530/60775 or https://valentermz.github.io/documents/slides/olivetti-2013-... for instance.

In any case, there is still the foundational crisis in the late 19th and early 20th century that‘s worth a mention.
I dunno about now about back when I was in Australia (about 10 years ago), over there swe felt a very under appreciated role. One company's non compete was so eggregious it forbade even ludicrous scenarios like "after leaving us thou shall not work with another ex-employee (who did not overlap in tenure with yours) even in an unrelated field (say pig farming) for atleast 9 months". Wtf!
You managed to not address any point in the article, instead insinuating poor motives by the author.

I want federation to work. But this is a fair critique of the tradeoff and competition between centralized and federated services - and the dynamics of network switching instead of host switching.
Yup, and unfortunately with covid, it's very very difficult to use miles :)
I think I don’t quite understand why the baseline is so fast. ;) But the article answer this question directly, and has a link to a longer explanation with data… “The reason why unidirectional and bidirectional memory accesses would perform differently is that they share the cache and memory buses and other CPU facilities. In the case of RAM, this causes a twofold difference in performance between the pure read and simultaneous read and write scenarios because the memory controller has to switch between the modes on the one-way memory bus, thus halving the bandwidth. The performance drop is less severe for the L2 cache: the bottleneck here is not the cache bus, so the incrementing loop loses by only ~15%.” https://en.algorithmica.org/hpc/cpu-cache/bandwidth/#directi...
Planting a Parkway Tree? Here’s What You Need to Know
Ask HN: Are you using Twirp for internal service communication?
Hi folks, I’m curious if your teams have adopted Twirp (https://twitchtv.github.io/twirp/docs/intro.html) for inter service communication. How has your experience been with it? What are some pain points you’ve had to overcome tabooed adopting it? And while operating Twirp services? What benefits have you realised by adopting Twirp?

Thanks!
> Are there any use cases where its beneficial to compile frequently?

Writing software?

It's very useful to check your work. If can only verify your work slowly, then you will verify less frequently. This means you will work on a large feature but only check at the very end. This can be very inefficient, and checking for mistakes as you write code is much more efficient.
I agree with that. Watching YouTube TV on your phone feels a lot closer to watching TV than playing streaming or DVD movies on a big screen.
I don’t have actionable advice but want to say to those saying this is a wrong forum that - maybe OP is needing a community to vent or simply share feelings, away of reaching out.
Well "illegal gold mining" is banned kind of by definition. Admittedly it seems Peru and places aren't enforcing the laws as well as they could but it's kind of a different category of problem. And I'm not sure you can regard the US as responsible for making gold valuable as it was for thousands of years before the US existed.
Ask HN: Fighting Facebook Clone Scammers
My moms account got hit by a clone attack where someone cloned her account and is now impersonating her. It’s there any way to force Facebook to take action using dmca request on pictures or other means?
Corporations are headless. A Sole Proprietorship like the one in your example is tied to a single human agent. The Corporation will swap out any human agent who gets out of line.

Although this definition, like all definitions, brings to light uncomfortable corner cases…

Like, is Facebook a corporation, or a Sole Proprietorship?

(I know legally it’s a Corp, but spiritually, is it just Mark Zuckerberg, since he has the controlling stake?)
You devalue the currency like a central bank.
>> but it’s undeniable that once you federate your protocol, it becomes very difficult to make changes.

He opens by talking about how everything keeps changing, the denigrates the stuff "stuck in the 1990s" then complains that you cant change a federated protocol. Not sure what he's in favor of.
The article uses two titles; I chose the <header> title (ie: "Trucker Convoy") instead of the <body> title (ie: "Rage"). The former is more useful since HN doesn't include article previews.

"Clearly men should not be in power"

Yes, I rolled my eyes at that particular line.

compulsion to express literal disgust of other humans

Well, in context, it makes sense that he would stress that. A major point of the article is that our political environment increasingly features hatred and blame. The implication is that angers begets anger. I sympathize with the sentiment; our zeitgeist probably isn't helping humanity solve problems.
This is particularly obvious on American Airlines. EVERY flight I took last year had the FA's telling how this one special flight qualified for a very rare offer... to open a credit card and get some base miles for free. I feel bad for them having to hawk this stupid credit card constantly, though I bet they get some kind of extra bonus for suckering people into signing up.
I see, so there is no silver bullet to make it work, as long as you can fake it.
Cant be ad revenue, it would be stupid. But going into a pot Spotify style is also evil and not fair.
In the UK the media often touts the idea of "beating the bookies", which has a "sticking it to the man" appeal to Joe Public

With tote/paramutual betting the operators assume no risk or volatility. They're not market making. In my view it's exploitative, which I guess is why in the UK it's offered as a state run monopoly on horse racing.

With fixed-odds sports betting there is at least volatility to contend with, and the bookmakers do take a position, even if over the long term they do price to make a profit and will ban you if they think you're even remotely sharp.

Sports betting has been legal in the UK forever, including online. The US is very much behind in this industry
Evidence that it would’ve helped my brother: https://pediatrics.duke.edu/news/umbilical-cord-blood-improv...
Evidence that people of color have a harder time finding a match: https://www.cancer.net/blog/2021-03/why-bone-marrow-registry...
Using interest rates and comparing old prices isn’t the comparison I was using to illustrate that we’re cheaper. I was using current cord blood banks’ prices. Cord blood banks in the US.
Since they released the CAD files can anybody even reverse engineer and sell new shells?

Valve can now easily claim that their CAD files were used even if they were not.
Thomas Edison: Electrocuting an Elephant – 1903
I remember walking into a small village store in Costa Rica to be confronted by about 10 named varieties of bananas, and noticing in the core a box just marked "apple". It was a cool inversion of the usual pattern in the US (and Europe).
Where are we going with this? In the best case scenario the complete decoding of how brain signals work meaning true telepathy, flawless alternate reality generation, human distributed computing, instantaneous knowledge transfer, cure for persistent mental illness, consciousness transfer, immortality, intelligence argumentation etc. The list is pretty much endless.
> You're arguing that no culture celebrated that days are finally getting longer in winter (e.g. complete with family gatherings and evergreen trees), and that no culture had spring/fertility (rabbit!) rituals, millenia before Christinity? Don't be ridiculous.

Oof, I don't think we can have this conversation until you familiarize yourself on a basic level with even the most superficial aspects of Christianity (the holidays).

> Well, you think wrong then.

Lol.

> You're barking up the wrong tree then - religious people should simply stop doing that. Why do they feel so threatened and keep bringing it up again and again?

Lol, you're the only one in this thread bringing it up :)

Anyway, I'm not getting baited into your holy war. You can have the last word. Enjoy your weekend.
HTTP headers must be written before the body; so once you start writing the body, you can't switch back to writing headers.

Server-sent events appears to me to just be chunked transfer encoding [0], with the data structured in a particular way (at least from the perspective of the server) in this reference implementation (tl,dr it's a stream):

https://gist.github.com/jareware/aae9748a1873ef8a91e5#file-s...

[0]: https://en.wikipedia.org/wiki/Chunked_transfer_encoding
See also the response from the people who are working on the federated protocols:

https://matrix.org/blog/2020/01/02/on-privacy-versus-freedom
Absolutely, and they are only on version 1 yet, with 10 free updates.
Please make actual arguments, and not just Bulverism. After all, building a centralized system and an organization that can run it is the behavior you would expect from someone who sincerely thought it was a better way to make a messenger.
It doesn’t take a full extra hour to let scenes breathe. It was poorly paced, the number one complaint. About as objective as a criticism gets.
I’ve always wanted someone to calculate inflation in frequent flyer miles
I think a simple heuristic would be who is using it internally.

It’s their payment platforms and Ads platform and a centrepiece of their upcoming operating system. It has literally billions of dollars depending on it. It’s not going anywhere.
As someone who has been developing in React Native for the past 3 years: please don't. Debugging on RN is ridiculously bad and sometimes you get completely unrelated errors, not to mention the horrible memory usage.
Race to idle is good in a compute heavy workload (up to thermal limits), but I'm not sure it is when the CPU is mostly waiting for memory. Also IIRC, the point of using "performance" in the first place is that it keeps the CPU at its design frequency even when idle - so it will be less able to boost further when needed.
It has been almost 9 months since I came home from my hospitalization with COVID. Prior to that, I'd have thought the same as citizenpaul.

Now that I'm dealing with "long COVID" in a big, big way… I thought the same as you, and wondered if it wasn't something like that going on.

Priorities have shifted, for sure. Having come >< close to death, the things you used to think were super important just don't seem to matter as much in the grand scheme of things.
Charity won't solve poverty you muppet
Here is an idea: you have to return books with interest, i.e. by adding thoughtful annotations.
Hey there! Very happy to see someone here with the same recommendation, hopefully that will boost the credibility of this recommendation to OP and others.
I have yet to see a federated chat app my tech illiterate family can download and use. Sure I have set some up to test out but the UX is terrible on all of them. Matrix was the most polished but still horrible compared to signal.

Everyone loves to rag on signal here it seems. They would rather something be correct in ideals than help the largest amount of people. It’s a strange and holier than thou stance to take in my opinion.
Thank god for VLC and 1.25x speed. :-)
I'd argue that it's not too significant of an issue, as generally most clients do a good job of presenting themselves with completely normal behaviour to the discord api.
Most people are banned because of API limits, such as attempting to spam without keeping in mind the limits, (Random delays with around 1 msg/s last I tried), or there's a bug in the client, such as ripcord once causing a login loop for me.
If you keep it sensible, it's fine.
Most people using these custom clients know the dangers and keep information on how to get back into everything, so there's not too much of a black hole effect.
While mastax's explanation is correct, it's not really "like you're 5."

These low end VNAs have two connectors. A signal comes out of connector 1 and goes to connector 2. What happens to that signal is measured, including the change in amplitude (up or down) and phase shift (left or right.) Also, whatever signal bounces back to connector 1 is measured for amplitude and phase.

With that you can tune antennas, characterize filters, measure attenuators and amplifiers, measure distances on transmission lines, measure resonators, capacitors and inductors and some other stuff.

That's about as simple as it can be explained without resorting to baby talk.
Pedantic, but 7 times in one post suggest wrong-word rather than typo: “brakes”/“braking” not “breaks”/“breaking”.
It may not be a 'drug' in the traditional sense, but you can still become very addicted, and it can still harm you. Sugar addiction may even be more dangerous to society because of how common it is.
short term sexual encounters will outnumber introverted long term ones, this thread is about the option of choosing where you want to find connection being better, within a comment thread about only HIV spread going down, not all STIs. I think its an ok observation just not really what we’re going over or trying to imagine an optimization for
It takes 1 read port for 1 clock. Any AVX2-capable processor has at least 1 read and 1 separate write port, therefore we should get 1 processing cycle per clock, the reported number is only around a third of that.
At least back in the mini super era, Fortran was (far) easier for the compiler to optimize than C. Yeah, you could add all sorts of #pragma indicating that pointer/array are not overlapping in memory but that equivalence was a problem. But then, trying to do I/o in Fortran was annoying so lots of compute codes ended up with c front ends.
The credit card bonus to the customer can be upwards of $400 or more - so it’s clearly worth it to the credit card company and they make it worth the airline’s while also.
1. M-x info
(Major or minor modes) 23.1 Emacs Manual - Major and Minor Modes

Two major modes can not be active at the same time, one major mode, N minor modes to a buffer.

For me, my emacs config, less is more. I think often about which packages can be commented out of my .emacs.

2. I rarely debug issues-- I dont really program my editor much, preferring macros or regex to manipulate buffers, though if I am having editor / external package issues and am in a rush I'll just use a temp emacs -Q, but my config doesn't change that often anymore, so I havent yet had to do that this year. I've been through several emacs bankruptcies over the years, at least one because I couldn't figure out why everything sucked/was slow.

3. I used spacemacs for a while (6m-1y ish), I liked the layers concept and it was easy to use, but there is a lot more to it, so its more complex than emacs. Further, emacs+use-package+which-key got me most of the experience I liked from it, with less resource use, less tricky bugs, and I was already more comfortable with emacs bindings than vi.
As the article says at the beginning, this is intended for per-CPU data structures, not shared ones. For example, buffer pools where you don't care exactly which pool a given thread takes its buffers from, but you do care about maximizing performance and minimizing contention.
> Where I grew up poor folks go to the market because it’s cheaper than a supermarket.

It is very difficult, in fact almost impossible, for individual farmers to beat supermarket prices any more, largely thanks to vertical integration within agriculture and food processing.

This means that by and large, the point of farmers markets now has to be mostly about what you declaim: "bourgeois bohème type". If you don't have much money to spend on food, you won't be buying it directly from farmers anymore. That's sad, and seems weirdly wrong, but that's one of the paradoxes of scale in an industrialized, fossil-fuel enhanced agricultural system.
I hope you're right. You're certainly right in my case: I will switch completely to FF when that happens. I was an early adopter of Chrome and while I do use FF quite a bit as my "work" profile, breaking extensions that make the web usable will cause me to leave and never look back (unless you are rate and the walk back v3)
does this actually increase sales? I’m pretty sure i’ve heard of services trying things like this before (HitBliss) and they ended up failing
Seems like they're called "servers" now. I imagine "guilds" felt a bit too gamer centric for them after they saw how popular their service was becoming.
>It's not possible to disable these notifications in this country, as far as I know.

custom ROMs can work around that.
I wasn't aware of this, so thanks for the heads up.
I come from the former Czechoslovakia and I dare to say : The Soviet Union did not liberate us, they conquered us.

We exchanged one occupier for another.
> Chrome without uBlock (or any browser really) is unusable.

I use a recent version of Safari and uBlock origin doesn't work there. I rely on Ka-Block![1], which blocks popular ad serving domains. For other annoyances like newsletter popups, etc., I use a "Kill sticky headers" script[2], with some hacks; I'll try to post my version of that script sometime soon.

It works good enough for my needs. I also have Firefox with uBlock installed, but with that earlier setup I end up still using Safari.

[1]: https://github.com/dgraham/Ka-Block

[2]: https://alisdair.mcdiarmid.org/kill-sticky-headers/
I don't think this is true, otherwise I could see the power on wifi bands with my 2.4ghz rtl-sdr device, instead of only up to 1200mhz.
Clearly my Google Fu isn't as strong as yours. Could you share a link about Real Engineering?
If you remember IDAPI?
I couldn't see any fsync (or similar) in your filesystem code (sorry if I missed them) -- it doesn't seem like a completely fair comparison, as sqlite has various promises about commits being completely made, etc, which you won't get from just chucking files on a filesystem.
> You don’t get to only hang out with Democrats. Former Trump voters are the people who drag your car out of the sand when it gets stuck, or help you fix your bathroom, and they are extremely nice, and don’t turn their noses down at your fussy jute rugs or purple sofa.

I guess I’ve always assumed that (like myself) many US city dwellers grew up in rural areas and migrated to the city because of the lack of economic opportunity. Many others grew up in generally conservative working class urban areas. So I’m constantly surprised that Substackers feel the need to constantly remind their audience that rural people are ordinary folks and don’t have forked tongues or whatever.

At the same time I feel articles like this one miss a lot of the real tragedy that goes on in US rural areas. For city migrants with fancy remote jobs there’s plenty to enjoy. But your children will have to leave the area when they grow up, at least to maintain a similar quality of life. Having moved to a medium-size city (and left my rural home at 18) I am contemplating the idea that my own children might live close to me after they grow up - or at least they could choose to. That’s exciting and I think trumps any amount of natural beauty I miss living in Baltimore. And over the course of my lifetime politics has become polarized in a very nasty way, largely due (I think) to the economic circumstances. You can ignore this but it’s still there.

Finally: if your friends in the city are pretentious, make some new friends.
A lot of this is due to many services doing autoplay with no way to turn it off (YouTubeTV, ESPN+ on Roku, etc). There's a utility to autoplay for the consumer when they are binge watching a particular series. But when autoplay is picking random other shows to "simulate linear TV" then really its the service scamming advertisers taking advantage of this playing ads to an empty room effect just to get more impressions. I don't understand how advertisers don't bust them for it.
> If you’re using tokens for auth and don’t want to use session cookies

That sounds like a self-inflicted problem. Even if you’re using tokens, why not store them in a session cookie marked with SameSite=strict, httpOnly, and secure? Seems like it would make everything simpler, unless you’re trying to build some kind of cross-site widget, I guess.
I found a tool that has similar functionality, but a better free tier. Check out MockPlus https://mockplus.com
Is there anything like Quasar that supports React? (Question directed at the hive, not you specifically)
Studied too. First thing my teacher said “You have the world of artists, we create whatever we feel the need to create. And there is a completely different world of the art critic. Never let the two meet. There is no license to paint.”