skysight-inc/HackerNews huggingface dataset:
I run my game servers using `network_mode: service:tailscale` and every time the game server needs to restart (or crash) Tailscale will permanently lose connectivity and needs to be recreated (restart doesn't work).

To solve this problem I add another container which should never need to be restarted, and both the game and Tailscale use the networking of that container. This is also the exact use case of Kubernetes' pause containers, so I just use the EKS pause image from ECR public gallery.

Another tip I'd recommend is to run the Tailscale container with `TS_USERSPACE: 'false'` `TS_DEBUG_FIREWALL_MODE: nftables` (since autodetection fails on my machine) and give it `CAP_NET_ADMIN`. This allow Tailscale to use tun device instead of emulation, and it supposed to be more performant. But the clear benefit is that the game server will see everyone's Tailnet IP instead of 127.0.0.1.

In Thai: https://blog.whs.in.th/node/3676
That improves only the storing part of the UI, not the accessing data part. And you can still not define keyboard shortcuts.
> music file storage gated behind a paywall

This is what streaming services have done to artists - the idea of "paying an artist for their music" is such an alien idea to some people that it ends up phrased like this.
You can go into Shortcuts and set up an Automation to automatically lock/unlock orientation when you open/close any app (including this one).
Isn't defining byte = char a bit wrong? char may be signed or unsigned, and may be more or less than 1 byte, right? So why that?
> In the popular jest test runner, each test file is executed in its own child process.

Is that confirmed?

I've been following this issue:

https://github.com/jestjs/jest/issues/6957

And what Jest actually does is still kind of muddy.

In contrast to that, other test runners like AVA have a clear description what happens when:

https://github.com/avajs/ava/blob/main/docs/01-writing-tests...
Note-Taking Lessons from America's Greatest Biographer
Coinbase Is Unrecognizable
Trying to change a phone number is impossible. Backup phone numbers aren't useful for 2FA. Customer service recommends deleting your account instead of changing your phone number, that is after they've wasted 30 minutes of your time on security theater. A 2FA method is used to delete itself. Yubikey isn't supported by Coinbase Commerce, making using it a liability and self-defeating.

You can't buy and use funds immediately. There's a 9 day wait to use funds even the smallest amounts from PayPal.

It's totally defeated its purpose for transactional convenience.

Better off with PayPal or Zelle.
If you have a real professional bank account, you own (not rent) all the $100,000 camera systems you could possibly want (5-10?), but for everyone else, money is fairly limited. To be able to take advantage of the video cameras you do have to get extra camera angles for a scene, configured with the proper settings - ISO/shutter/white balance, is easily worth the $50 tripod and using your phone.
I'm not a C developer, so I have to ask: why in the world would you not use const?
Or they’re like 7 years old already when you buy them and actually don’t work :(
Cold welding is a concern that we have to account for during spacecraft assembly, sometimes you really really don't want two pieces of metal to weld themselves together after all.

To prevent it we wither ensure a reasonable gap (if possible). Which has serious impacts on heat transfer. Or use dissimilar materials to prevent it from happening.
Love this tip! Never had that issue before, must be lucky!!
> Why is there no manufacturing equivalent of a general contractor?

There absolutely are such places. They're called product development companies, and I work for one. We do just about everything, which is nice for people who like variety!
Halo by Prophetic wants to help you control your dreams
> with you now admitting that you are here in bad faith

I never admitted any bad faith because I never argued in bad faith.

However, this claim of yours perfectly describes how you approached the thread in the first place: you immediately assumed the worst of the person, assumed that person is arguing in bad faith, and presented your own negative bias and dislike as fact.

Since you are actually arguing in bad faith, I will not engage in this discussion any further.

Adieu.
Mac really only works in the ~110 or ~220 ppi sweet spots which most people don't realize. The only monitors I've seen that fully work are the LG UltraFines and the Mac displays. I'm on a ThinkVision display now and it's middling.
> Typedefs and variable namens don't live in them same namespace, do they?

Depends. See this snippet: https://www.godbolt.org/z/5T5jz47q4

Cannot declare a variable called `u8` when there is a typedef of `u8`.

And even when you can declare a variable called (for example) `int`, that effectively "breaks" the program by not being even a tiny bit readable anymore.
Streaming service DAZN took almost five years to answer a simple access request
I still use Ukulele and a custom Swedish Dvorak keyboard layout without any problems (in fact, the layout I created 10+ years ago still works out of the box, on every release of macOS).
personally lg webos is by far the best tv os.
I successfully trained myself to fall asleep using deep brown noise.

This obviously is not a cure-all against sleep deprivation, but it's easy to try out and, at least for me, it made falling asleep so much easier.
Actually margins are razor thin. Most of the hard part is compliance, and you're paying out huge sums for audits.
Wired retracted their article: "After careful review of the op-ed, "How Google Alters Search Queries to Get at Your Wallet," and relevant material provided to us following its publication, WIRED editorial leadership has determined that the story does not meet our editorial standards. It has been removed."
I will never give Epic a penny. Their purchase of Bandcamp was such a scumbag move.
For me it's the other way around -- I use const for global variables because it makes a real difference, the data will be put in a .ro section.

Pointer-to-const on the other hand (as in "const Foo *x") is a bit of a fluff and it spreads like cancer. I agree with the author that const is a waste of time. And it breaks in situations like showcased by strstr().

I use pointer-to-const in function parameter lists though (most of the time it does not actually break like in strstr()): as documentation, and to be compatible with code that zealously attaches const everywhere where there (currently) is no need to mutate.

But overall my use of const is very very little and I generally do not waste my time (anymore) with it. I almost never have to use "const casts" so I suppose I can manage to keep it in check. In C++ it is a bit worse, when implementing interfaces, like const_iterator etc. That requires annotating constness much more religiously, and that can lead to quite a bit of cruft and repetition.
Because he didnt, and his predictions fell all flat.
AFAIK (I'm American), the UK has a VAT rate for any good a consumer might find in a shop: 20%, 5%, and 0%, depending on product type. Because this rate is country-wide, the manufacturer can include VAT in their RRP. For example, if I go to the Sony website, a PS5 is £479.99 incl. VAT. If I go to the Amazon UK site, it's £466, or 3% off, incl. VAT.

If we locate the same product on the Amazon US site, it's $499.99 before tax. Amazon has two choices: show their price before tax or require shipping information from the user to see a price at all. (An estimated geolocation is not precise enough to determine a price.) For most consumers, I suspect seeing a pre-tax price upfront is better than having to provide personal information to see a price at all.

That explains online sales, but let's address brick and mortar retail. Imagine you go to Best Buy to comparison shop against Amazon and the price says $550 including tax. Is tax on this item in this location 10%? Or is it 5% but Best Buy's base price is higher than MSRP? It's up to me to find out the local tax rate and do the math. Let's say they agree to price-match Amazon; the clerk will need a function on the register to input a pre-tax price to facilitate this.

So, given this complexity and disparity, US manufacturers list MSRP without tax. Retailers display pre-tax prices for marketing and competitive reasons, generally never exceeding MSRP. Customers have come to expect this nationwide, so changing now would be challenging. (There are other good reasons to stick with pre-tax, too. In grocery stores, for example, pre-tax prices are very useful for SNAP beneficiaries.)

Do I think it would be useful to display tax calculations on signage in-store? Absolutely, and for some goods in some states, they do. But without laws or customer demand, retailers have no incentive to put themselves at a competitive disadvantage.
Close agree on 1 and 2, not well educated enough on 3.

Current mechanisms of computing and the way things like security build up from them seem so unnatural, so unbeautiful. I think we'll see something soon.
Employers are sometimes over-expansive on that allowance: https://btlaw.com/insights/alerts/2023/dojs-suit-against-spa...
More than happy to chat, if you drop a email at debarshi [dot] adaptive [dot] live.
I'll probably copy everything in the post for my next C project. Super nice stuff.
In my experience, if a company is majority software, it's a weird combination of hubris and ignorance that I don't really see in other sectors.

I consult on product development and I'd say about 50% the time, software majority companies think you are trying to rip them off somehow when you try to explain everything that is NOT software that needs to be done, what it costs and how long it takes (and how important it is to lock things in early as you can't just "push out a patch" for a $50,000 molding tool or that you can't just "slap bluetooth in later" and not redo all of your EMC certs).
Tax depends on the location the item is shipped to.
Being Open about Openness
I don't understand how that is a problem, you want the person managing feature trade offs to be mindful of the budget. If the business itself is sound, delivering the most valuable features will increase the budget. So those two must be aligned.

I think the problem with an open ended contract is that you, the developer, don't have any significant incentive to create value for the client: as long as the client has budget and likes what you're doing, you are good. Once it ends, it doesn't matter if your code falls apart because you are not there to pick up the pieces.

So you have to drive your consultation business on reputation and honor only, not on the value of what you create, at least not directly. It is possible but not ideal.

My preferred way is to have skin in the game. Perhaps not so much that a single project's failure will kill your company, but enough to get rewarded for success in the mid- to long term.
I delay sleep because there are a couple of coworkers that are impossible, and the more I delay sleep, the later I will have to deal with them.
Isn’t USB 4 largely just TB3 without Intel certification and branding requirements?
The EU Just Kicked Off Its Biggest Climate Experiment Yet
The question was: how did we accept this change? Answer: laptops that were non-repairable were far better in various ways.

Now we've got good at all those things, the next step might be reintroducing owner-replaceability of batteries etc, but there's no point pretending a lot of people didn't prefer the advantages of the sealed ones.
There is some gold in Norway, there have been some small gold mines, and you can find alluvial gold. Although you'd think it would be a lot more effective to import it, they did make use of bog iron, so who knows.
Food Hacks I Learned In Restaurants [video]
That sounds interesting. Can you post some example? How do you share 'collections'?
Does this have any relation to cold welding?
And wax cylinders should come in higher quality wax
Seen this in Slovenia almost 20 years ago.
So the blind users commenting here saying Apple is not the best are, what, lying? Or maybe you are not the target for those features and could instead listen to both sides of this argument and stay on the sidelines? Apple is not the clear winner (if a winner at all) in the eyes of the people commenting here that use the features discussed. Several are pro Apple but at least as many write long comments about how Linux and Windows are better for them.

I think we should listen to these commenters and not just tell others to go away and look at a list of features, with no background to tell if it is good or bad.
> My first SNES games, Super Mario World, is a 5 hours long game, 9 if you are going to 100% it https://howlongtobeat.com/game/9387

That is is you have already mastered games. It takes years to get good enough to beat those games in the time those sites says, if you have already spent years playing games then yes you play through those games quickly.

For example, that site lists Super Mario Bros as a 2 hour game. Do you think me as a kid beat that game in 2 hours? No, of course not, I spent hundreds of hours playing it in total and never beat it. At that time games were made arcade hard, they weren't meant for kids to beat, they were meant to provide a long lasting challenge so you can try over and over.

https://howlongtobeat.com/game/9371

Edit:

> And I did beat it back then. Not a super complicated game.

Yes, SNES games were significantly easier than NES games in general. I beat the SNES games earlier than the NES games even though I had the NES games for longer, games becoming easier was a long process and SNES was a step in that direction. There were still SNES games that were hard and few managed to beat, but it wasn't the norm at that point.
Would be nice if they recommended a capture card that can actually take advantage of iPad's native resolution. The one they recommend is 1080p. That's good for Xbox, not productivity.
Congratulations on running it successfully for 10+ years.

Could you share some light on the unit economics of your PaaS?

I would assume the cost of acquisition is fair low now that you have a fix trial but how is the customer retention cost. I would assume theres huge amount of support cost as generally there always various edge cases that you wouldn't accommodate in your generic PaaS.
It's worse in some ways because if you read the source and then work on another open source project in the same field you could end up in legal trouble.
It looks like it uses Qt under the hood, so it likely leverages it. Haven't tried yet though.
> every year dozens broken resolution by Israel.

It does not matter. Even if they gave up on the occupied territories, the problem cannot be solved because the solution, according to the involved theologies, is a genocide of one of the parties involved.

> west should blockade Israel

This will never happen. Jewish over-representation in Western power structures makes this a non-starter.

> there is clearly nationalistic and ethnical element in the way West applies the law and projects its power

They have always done this. The dual-standard adopted by the West on a multitude of issues is well known. Racial and cultural affinity is a big component of such decisions.

Just look at media coverage. There are multiple wars going on in Africa, and there was an earthquake in Afghanistan 24 hours back. But all coverage is primarily about Ukraine or Israel-Palestine.
Yes, and I'm saying that the US tax "burden" as a percent of GDP is a misleading way of looking at it.

When it comes to real people and real "burden", what matters how much you have to hand over, and how hard you have to work for it. In this context, Americans pay more than most Europeans to their governments, and work far more hours.

This relates to upthread discussion:

>"If Americans knew what Europeans get for their tax dollars, they (Americans) would riot in the streets"... It's really insane to see Americans pay the same tax as Europeans (and Canadians, and Australians) but get so, so much less for that money.

And of the responses claiming that Americans pay less, and generally implying that Americans have it easy with respect to taxes.
The issue for geo search is here: https://github.com/quickwit-oss/tantivy/issues/44
May I ask why ProRes isn't practical for you? Would help others to suggest a workflow that would work better than what you tried before.
try clicking pause on a lesson
> Research shows that nearly 70 percent of chimney smoke reenters nearby buildings.

Which research ? Has this guy ever been in a village ? When 70% of "smoke reenters nearby buildings" than the chimney from one house gets to the door of the other.

Will be nice a little common sense before making such statements.
As an Azerbaijani I must speak out of my country's ethnic cleansing of Armenians
>But a new product must offer something that's not found in the existing products on the market.

how is it then the case that there are multiple versions of products on the market that differ very little from each other?
Only because of the network effect. But once enough people I follow on Twitter switch to something else, I will happily follow.
What! I grew up in the UK and it was everywhere. For years you couldn't get on a bus or a train without seeing someone listening to MiniDisc. The little inline remotes were very obvious.

They stuck around for a long time, only finally being killed by the iPod.
I think a lot of users acquire the Studio license similar to myself as well, being a free user for a long time and when I finally went looking for my own shooting device, BlackMagic Pocket Cinema was a no brainer and includes a Studio license.
> They really shouldn't be advertising false claims in the first place.

Just to be clear, you're suggesting that all pricing be removed from all advertising nationwide. This would clearly be to the detriment of the consumer.

> That one has an easy solution: Just ask for the destination.

Again, this is to the customer's detriment. They have to provide their personal information just to see the price of any item on any website they visit? And that's somehow worse than having to mentally add a percentage to any price they see until checkout? You must be kidding.
It means you have to triplicate each mutable class, because besides the immutable variant you also need the common interface (e.g. CharSequence), in order to pass mutable instances to read-only functions.
Is Finder Turing complete?
Most people want a house that is the same or very similar to others around town. You want to be unique on your block but otherwise the same as houses a few blocks away. Just enough that you don't try to get into the wrong house those first months after moving in.

Houses that are the same as ones across town are cheaper as the builder has experience with it and knows the tricks to build it with less labor. They also are designed with years of feedback about what other like and dislike. They don't have weird corners that are not usable because after putting things in that is what fit.
I haven't checked in on it in ages, I thought it was doing what it always did, I really wish a service would just stick to what it's good at. Catalogue my vinyl and give me the opportunity to interact with fellow enthusiast
I don't know, I don't think I'll ever feel hyper competent, the way I think of some of these people you come across.

I certainly know a lot more than 20 years ago. But I always feel like there's more and more layers. Just browsing this site I find something every few days to add to my reading list.

In a way that's good, not feeling like I've hit some experience ceiling.
I think people are starting to understand, when they hear about gangs of Muslim men raping and killing women and children, in war and otherwise, which is exactly what this vile religion promotes. They do this just as their 'prophet' did this. It's one of the religions that deserves to be wiped off the map completely for the betterment of humankind.
I coded professionally for more than 10 years without thinking about ergonomics, and without any problems. But then I started to feel pain in my arms, and it took a lot of effort to get it under control. In the end, what helped me the most was using a break program (to remind me to let go of the keyboard, and to do stretches), in combination with an ergonomic keyboard and mouse.

I've written more details about it here:

https://henrikwarne.com/2012/02/18/how-i-beat-rsi/
Well they just explained that they created kind of a content consumption subsystem and that having that system is fun in and of itself.

Besides, with something like media consumption, having an idiosyncratic system doesn't to my mind present any conceptual issue where it's necessary to interrogate it for consistency, so I'm a bit confused as to what motivates that kind of question.
That is likely worse for you since chances are you will have to pay it yourself + administrative fee when your products arrive
A single bug that stops you using the internet at all is far worse than hundreds of bugs that simply inconvenience you.
If your content is mostly static, you might want to consider pre-building an index and shipping it as a whole. You could look into something like

* https://stork-search.net/ (Rust/WASM)

* tinysearch: https://github.com/tinysearch/tinysearch (Rust/WASM)

* https://lunrjs.com/ (JS, simple, stable)

* http://elasticlunr.com/ - based on the former, slightly more sophisticated tuning options
> AFAIK, Macs are the best out there (by quite some way) for accessibility.

Well, now you know different :-)
nice project, reminds me (a lot) of astrobotany on gemini

[1] gemini://astrobotany.mozz.us

[2] https://github.com/michael-lazar/astrobotany
This one might make sense for production crew. Easy reference of specific clips/shots, maybe lossless video clip transfers, things like that
The concept I struggle with is

"the desired state, the last known state and the current state"

Why do you need to know the last known state. You have the desired state and the current state, you run your code and you reconcile the current state to the desired state

I get why this is impossible/expensive to get the current state with AWS, which doesn't expose a simple "show state" API, but managing a state store is extra work and thus extra fragility.

However ideally I'd like to list credentials and providers to manage, then say "manage all resources with some form of tag "managedByTerraform=12345" (this could even be in the resource name -- for my fortigate management my scripts manage firewall rules, addresses, etc which start with AUTO_, and ignore the other objects)

It would then run, generate a lock resource, find the current state, compare with desired state, create/delete elements to reconcile actuality with desire, implement, free the lock

Then all I need to do is have that human readable file and I can get back to where I am

If I lose the state, or it gets corrupt, I'm in for a world of hurt with terraform.
i love this blog, i hold Chris Wellons to a very high estime BUT i utterly disapprove the usage of macros so much, especially to wrap cstd types, functions, etc.
I'd love to have him in a team. He truly cares exactly how code works and analyzes/fuzzes the hell out of everything.

I don't agree with all stylistic choices in his code, but the level of experience and skills are far above most C developers.
Should we avoid this topic, at least at this time, on HN?

I really think there is a rational conversation to be had but I do not see how we could achieve such at feat without heavy moderation and even then.
I looked into temu but their catalogue was paper thin. Couldn't find much I wanted at all.
I wonder if anyone who gets Flappy Dird running at work is ever really likely to be 'in a rush'?
Sharing preferences and opinions on code ergonomics certainly has value for me, and I bet it has to other people too. This is, after all, a developer's forum.

I'm certain your opinion on petunias and your possible distaste for orchids will be welcomed in a flower-news type orange site. :-)