skysight-inc/HackerNews huggingface dataset:
I have started buying clothes from USA _because_ they are of higher quality. Even though they are made in my India, they are usually not available for sale here. The quality and variety available for exports is drastically different from what is available for the local market. Mine have lasted at least 2-3 years before I buy a new set of clothes.

I wonder why there is a huge churn in USA to keep buying new clothes. Is it just more affordable/cheaper to buy than to mend your clothes? Easier access that makes it binge buy quickly? Too many special occasions? I am confused cos I feel they haven't seen inferior quality of clothing that they don't keep their belongings longer.
You're not going to learn anything useful by turning it off. If that's what's stopping you, don't bother.
> We've had employees choose us over other offers with higher salaries

I guess the question here is, how much higher?

If I was offered a good package with sizeable equity and/or options, in a startup with a good outlook and decent valuation, I could forsake a slightly better cash offering.

But if I was to be paid say 25% more in cash, I doubt I would have gone for the startup gig.

Mostly because I have a family to feed and a mortgage to pay. I would love not to have to think about money, but realistically, I can’t afford to say “no” to cash.
I’ve been playing around with a similar project and it surprised me how hard map matching actually is. I’ve also been using OSRM, but no matter how I tweak the settings, it never gets it 100% right.

Some examples: the GPS error is often more than the distance between a road and a cycling path next to the road, so it often confuses them.

The default cycling profile of OSRM actually takes into account the possibility of dismounting and walking with the bike. This is very useful when that is what you did, but it also creates a lot of extra possibilities. For example, a one way cycling path can then be used in the opposite direction by walking.

There’s also a limit to how many points it can process at once (and it becomes quite slow if you increase that). Should I slice up the trip in multiple segments and then somehow connect them, or is it better to drop some of the points? Still haven’t found out what the best option is.

It also helped me spot some subtle errors or missing data on OSM, but that's easy enough to fix.
We have always been in such an age, including console vendors.

Apple support for OpenGL is a side effect of NeXT's acquisition, had Copland's efforts succeeded, they would have kept using QuickDraw 3D.
Not really, because they are more likely to lie about how much alcohol and or drugs they take. I have lived in two Muslim countries now and I don't know any Muslims who don't drink in private. I doubt they'd admit to it on a survey though.
Even though I have 10 years of experience writing, shipping, maintaining and operating production systems for 10k RPS scale and also having OSS contributions in some very popular projects, I'm still intimidated by the LeetCode-style problems.

I'm planning to interview for a large company the coming weeks, and I'm truly disappointed that I struggle even on the Easy level. I guess I never needed to solve such issues in my previous jobs (backend, SRE).
I disagree, the two-breadwinner model is mostly overstated. The new common model is the breadwinnerhomemaker/breadwinner, that is, one spouse working and doing most of the house/kids stuff, while the other spouse focuses solely on work.
Would Rust be the most suitable language as a drop in replacement for Python? I have always thought it would be Go.
For more info, look at:

https://github.com/chalk/chalk/releases/tag/v5.0.0

https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3...

And for the problems with esm and TypeScript:

https://github.com/microsoft/TypeScript/issues/46452
He was saying that there should be an increased % of smoking-related cancers among people who drink, due to smoking smoking being a confounding factor when trying to determine causality with alcohol-related cancers.

I.e. People who drink, smoke.
Don't worry. 90% of the interview processes are broken. Don't take it too personally :)
Which is so funny because in Latvian the recent trend is to avoid using older person because it sounds ageist and disrespectful and replace it with senior citizens which sounds more dignified.
In germany there was a similar project the "CargoLifter" which sadly never succeeded: https://en.wikipedia.org/wiki/CargoLifter
Any job ive had regardless of pay, regardless of how good its been for how long, what the job market is like... after about 5-10 minutes wondering if I am adding value I will look for another.

I have one life, I need to have money to live but thats easy, actually having a positive impact is a reason to do something for someone else.

I dont necessarily apply but its its all i am thinking about untill I have value to add again: what am I doing here?
Aha! Totally makes sense why you’d want it to snap to the actual roads, looks much neater that way.

I wonder if I could do something similar with my Garmin data.
Also, he sold Atari (to Time Warner) in order to finance the development and roll-out of the Atari VCS (AKA Atari 2600). – He sacrificed the company for its product becoming reality.
That is correct. Only you need a code signing certificate (EV is even better). And renew them every third year.
I think comparing it to a plane is misplaced. They call it a crane. Presumably the load and the craft arrives on a truck and you use it to hoist the load up the last few maybe hundreds of meter max. Do i read that wrong?

Edit: yes! I was reading that wrong. To quote the relevant part: “SkyLifters fly from job to job, so they can do work in locations that would be challenging for land cranes.”
Interesting factlet; in Thailand chicken feet sell for over twice the price by weight compared to chicken breast (which is the cheapest part!). Despite a tiny amount of that weight being actual edible meat.

I have also seen them sold in supermarkets in Portugal, to my surprise.
Work-life balance is much more important than money.
This isn't the 1950s anymore people want to be involved in their kid's upbringing and have a social life.
Maybe it's easier to explain on HN as being about founders. A marriage is a single legal entity, like a startup, where the two founder share equal equity (by default) with no vesting. It doesn't matter that one founder does the sales and brings in revenue and the other builds the product: the equity split is still 50/50.

Obvs prenups etc tweak the split/vesting schedule effectively, and that's fine, but don't expect to be a CEO of a startup, sell £1M of product and be able to walk away with the entire value of the business.
Docker-compose doesn't need "served" per-se - it lets you run some containers, and handles some lightweight orchestration around them, so that you have groups of containers for a service (i.e. a Wordpress service compromises a mariadb container and a Wordpress container). The compose file handles port bindings/mappings.

If you then want to put a reverse proxy in front of the docker containers (you almost invariably will), then you can look at different options like caddy, Traefik, nginx etc. I, for one, like to be old-fashioned and have my docker containers' ports bound to localhost, then manually maintain my own "outside of docker" instance of nginx as a reverse proxy that uses these as upstreams. That's not the most "container-first" way of working, but it worked for me. Caddy can do similar. Traefik is more integrated with docker and the docker ecosystem, but that might do what you need better.
Ask HN: Appeal Facebook's unpublishing my account
Hi everyone, a friend’s ecommerce store has had its facebook page unpublished for violating guidelines against sexual content. They sell furniture though, and those images are being flagged for some reason.
They haven’t been able to run ads the last few weeks and there is no way to appeal the decision through the app.

Does anyone have ideas on how one might try to rectify this?
No we don't, there's no way for a v4 only network to talk to v6. Basic interoperability failure.

Pretty shit transition plan if we've only managed to get 35% of devices on v6 in 25 years.
Lebanon has a drinking culture, as does Turkey, Syria, etc., so that's not really the best example. Drinks such as anise-based spirits are popular across that part of the Mediterranean.

http://www.lpalebanon.org/wp-content/uploads/2017/06/Prevale...

In this study, rate of alcohol abuse is lower in Muslims than Druze or Christians, but the rate of alcohol dependence or alcohol use disorder wasn't too different.
Plants Fight for Their Lives
It's pretty common for animal communities in captivity in Japan!

For example, a lot of zoos or aquariums will have a large penguin community and they'll keep track of the family trees and relationships, friendships, enemies, all that, on a chart.

Here's one for the Sumida Aquarium: https://www.sumida-aquarium.com/sokanzu/assets/img/img_sokan...

And a similar one for the Kyoto Aquarium: https://www.kyoto-aquarium.com/sokanzu/assets/img/img_sokanz...

Note that even the staff are included in this chart...
This confuses me even more than C++ usually does. From the first answer:

> struct foo{ int const x; };

> void some_func(foo*);

> int bar() {
> foo f { 123 };
> some_func(&f);
> return f.x;
> }

> bar will always return 123. The compiler may generate code that actually accesses the object. But the object model does not require this. f.x is a const object (not a reference/pointer to const), and therefore it cannot be changed.

I like to think I know quite a bit about C++, but I don’t get this at all. Why is f.x a const object even when accessed through a non-const variable? f isn’t const; there’s no const_cast here. At first glance, this looks like a bug in the spec, roughly like confusing

int const *p

(pointer to const) with

int const *const p

(const pointer to const). Only the latter will always point to the same thing.

What am I missing?

(Edit: Since it’s a bit hidden in the SO question, the idea is that some_func does something like this:

void some_func(foo *f) {
new(f) foo { 42 };
}

Note that there’s no const_cast here, and f’s storage isn’t const, so this isn’t UB to the best of my knowledge.

BTW, in case it’s not obvious, it’s not all that helpful to reply to the question why the spec is a certain way by tautologically repeating the spec.)

(Edit 2: Unfortunately also very typical for C++ discussions, I just love how people think that C++ confusing me must mean that I’m dumb, and then condescendingly post a wrong answer. Rule of thumb: If you’re confident in your ability to understand C++, you don’t understand it very well.)
Lighter-than-air is still largely untapped territory today, and it's a shame because it should scale in size very well. Without going straight away into more ambitious projects that were fantasized the past century [0], I'd love for a resurgence of it.

0. https://en.m.wikipedia.org/wiki/Cloud_Nine_(sphere)
Open sourcing models that are used for significant policy decisions (affecting others) is somehow required to protect and maybe enhance democracy in the digital age. Applies obviously to the public sector but also to private sector when it operates at large scale as a de-facto regulator / controller / planner of society.
It's mostly a function of the rubber, while it's not a great conductor it's also not a great insulator. So the water will release heat relatively rapidly, and once it's cooled down to ambient temp the rubber will pull water from your skin if you touch it (it also tends to feel somewhat clammy in my experience).

That's why wrapping the rubber container in a woolen or padded cotton cover mitigates the effect a lot, it will slow down the heat release, and once the water has cooled down it'll limit the heat transfer back into the container, and thus won't feel cold.
Seem great why undervote it?
I recently wanted to give my current RPi4 home server a GitOps makeover, migrating services (Home Assistant, Nextcloud and others) to k3s in the process.

What has been an obstacle is the availability of officially maintained Docker images for some of the components I've been wanting to use - afaict neither Argo CD nor Rook have official armv7/aarch64 images (though it seems Argo will release one soon).

Until then, I'll hold off on that pet project until I get my hands on a reasonably priced x86 SFF PC (the ThinkCentre M700 Tiny from TFA looks interesting!).
Is there similar repo for SAAS apps ? Not too fancy, just Django and a db.
You know what would be sweet? If Apple used the new 2021 Magsafe connector on the iPhone. If you're going to have a proprietary connector, how about making it something that provides additional benefit.
Its probably not the heroin but the lifestyle attached to an expensive illegal drug
UX. Compare the quick start of Wireguard[0] and Tailscale[1].

[0]: https://tailscale.com/kb/1017/install/

[1]: https://www.wireguard.com/quickstart/
Alimony laws affect the lifestyles of the middle income earners, not the wealthy (who have ready access to legal advice).

I doubt alimony is a significant contribution to assortive mating among the then-wealthy.
I have worked in the music industry for a short time. Most people who claim they are artists, are not.

Let‘s talk about this differently. The impact of real art is way more important than a few plastic pseudo-art creating „i am special“ people not making money to live a life as an „artist“ / influencer on instagram…
Buuut: anyway.
Well, i have worked at Amazon, for less than a year; My rather limited impression was, that this is a very dysfunctional organization. Now if this impression is correct, then the leetcode appoach has some merrit; the leetcode approach would select for people, who stick to the technical part in the narrow sense of the word, and who would not question the state of things too much.

But I guess, that this is all speculation..
I don't think you are a victim because you don't agree with the the terms of an offer. As you said, the actual changes are minimal. You can just reject the deal and stick to your old version, if you don't think it's worth it.
The performance is pretty good, but I didn't get a chance to test the reliability because I keep nuking the cluster to try new things :P
You should know me then. No drugs, no alcohol. Only caffeine which I am trying to downregulate with. Though perhaps you should have tried in the mosque rather than the bar :)
What do you disagree with? CAP has a long history and was originally provided without a proof. The proved version of CAP has a very strict definition, but it's not that useful in practice because most systems don't actually follow that model. Most notably, the CAP theorem is often still true when "consistency" is defined as weaker than "linearizable".

And to quote the two authors who actually proved CAP, Seth Gilbert and Nancy Lynch. (Emphasis mine):

> Consistency, informally, simply means that each server returns the right response to each request, i.e., a response that is correct according to the desired service specification. (There may, of course, be multiple possible correct responses.) The meaning of consistency depends on the service.

https://groups.csail.mit.edu/tds/papers/Gilbert/Brewer2.pdf
When I worked at amex, I cringed at the fact that anyone who managed people were by default called “leaders.” People management does not equal leader by default and whenever I quipped about this, people looked at me as if I was talking out of my ass and playing semantics. Corporate culture can engrain whatever vocabulary in the companies interest, and I find that pretty depressing.
NAT has done more than the promise of IPv6. As much as NAT sucks to have at least it's been mostly frictionless to transition to -- that can't be said about IPv6. The design of IPv6 is what has held it back for 25 years, and I don't think we'll ever see a proper transition to it, so I'd say embrace NAT.
Love jihad: India's lethal religious conspiracy theory
Please be civil and avoid flame wars. I'm posing this because it's interesting and because it shows what's going on in an important part of the world that many on HN don't often consider.
It's not quite the same as a VPN, but in addition to Tailscale and some of the alternatives suggested in other comments, it may be worth looking at using HTTPS client certificates.

Done right, you get a pretty simple second line of defence - you can validate the client has an appropriate certificate (running your own CA is pretty straightforward for small-scale home use or for a small group of users). Without such a certificate, users can't access the web service.

If your goal around a VPN is a second line of defence against the application's own authentication logic failing, client certificate authentication might be worth a look. If your threat model needs to cover a major issue in your web server, you might still want to stick with a VPN-based setup.

(You can of course do both, and bind services to an internal-only IP that you can only reach via a VPN, then have certificate auth on that too if you so desire)
It's less LLVM itself and more the amount of work that rustc gives to LLVM. Formerly for example, rustc did not do any kind of constant propagation itself and relied fully on LLVM to propagate them and say, remove any unused branches in the final expanded code. This wasted a lot of work and propagating them earlier was able to reduce compile times significantly.

So while most of the compile time is indeed usually in LLVM, there are still a lot of things rustc can do to give LLVM an easier time.
The issue tracker is only temporarily disabled to prevent issue spam. We had a lot of that lately.
Whoever reads this , note that its a very outdated rant (although some parts are still true).

> Well, the standard library doesn't have matrices or regular expressions, either

C++ does provide a standard regex library now, matrices can be made either with vectors or you can use boost libs for it.

> The standard library doesn't support listing directories

Same for filesystems, it now comes with the standard set of libraries

For C++, it’s time and time again seen, that Boost libs are used as the experimentation stage to filter things and add to the C++ standard library, and boost is pretty feature rich with all sorts of utilities you might need to build a robust program.

> In C++, things are different - there are no modules.

C++20 is adding features related to modules support like in other programming languages (haskell, etc).

Sure C++ is an old programming language with too many weird features, which end up hurting devs , but as long as you stick to the fine features.

C++ is pretty fun to use.
It has type inference now, those ugly looking long type-declarations, can easily be fixed by appropriate use of the “using” keyword in local scope (if you’re that worried about polluting the global namespace i.e)

I think C++ gets unnecessary hate , every language has its quirks, you just avoid the bad stuff and stick with the good bits.
A recent video about -fdefer-type-errors: https://www.youtube.com/watch?v=hPVjA3TO9OI
My guess is in part is that because it's nearly 10p% speculative, and ungrounded/not anchored in any high resolution way (say to specific companies' product or service sales, e.g. no real demand proven regarding sales) that's primarily an unsophisticated ideological mob who buy Bitcoin, and the clever hodlers make millions - while chanting for the mob to "HOLD!" - by selling at the beginning of significant downtrends in stock market knowing that the mob will soon follow crashing the price at which point the clever ones can rebuy with just 50% of what they sold to 1) come out owning more Bitcoin, 2) making themselves whole again, 3) and actually with a profit; rinse and repeat, buy low sell high.
Ask HN: Any advice in returning investment? We believe we have a good product
Over the last year, we built Padka.com from the ground up.

We have developed: A virtual camera for video meeting platforms like Zoom, which can add layers of photos, animation, and videos directly in the streaming video.
The product is ready for macOS (you can download directly from our website - test it out) and in Beta for Windows.

Now due to some personal reasons, we can not continue... We will be so happy if some of you guys can find applications and will continue building this great product that we believe so much in. Of course, you will get all the technical help that we can give you.

All of these can be exchanged for equity or the return on our investment. Any other advice on these please feel free to email me (in About section). Thanks so much for reading :)
I was once at a talk given by James Gosling. He said that Java-the-language was «a trick to get C++ programmers to use the Java Virtual Machine». He deliberately made Java very similar to C++ but removed what he saw as the hard and risky parts (memory management, operator overloading, etc) that are typically not required for standard applications.

Well, that was my interpretation of what he said, errors are my own etc. But this would make Java a direct descendant of C++, in my mind.
Yes it is a joke, but something that is now unavoidable as a reality of DevOps workflows.
I really like it when they put spare parts directly into the product.
This is an amazing piece of writing. I’m grateful to the author for publishing it, and for the poster bringing it to HN. It’s heartening to see high quality writing on a personal blog. Definitely subscribing.
I turned into a type A/introvert to a type B/extrovert-ish and lead people in both situations; give me the latter any time. I didn't like my former self much and I apologised to many of my 'minions' (as I called them back then) on how I treated them. Type B/introvert works better, but I'm still trying to get more extrovert as it opens a lot of doors with people.
I'll reopen it for editing. If you have any trouble email hn@ycombinator.com.
Irishman faces 20 years in jail after exposing himself on flight to New York
I thought it might be something like that. I started my career writing label printing software but that was in the days before Windows/macOS or even Zebra printers.
I'd like to hear more about the 10% that are not broken :)
Gopher and Gemini would be better than a site with huge png images.

Also, I don't like some non commercial licenses for sw.

Tildes/SDF got it better in this case.
https://www.padka.com/
I'm quite sure he knew what would happen if he didn't accept it. I would rejoin the queue and use another counter.
This happened to me with Fitbit. The first lasted longer than 3 years, and I was happy with that. The second didn't, and I wasn't... But I bought another. When that failed early, too, I gave up on them.

For a tool, I don't want it to fail on me, ever. I don't enjoy learning to use a new tool for the same old purpose. I want it to just keep working. When I'm ready for a new way of that tool working, I seek it out. I do not want it forced on me.

That said, I also treat clothes as a tool. I buy new ones when I want something different, but until then I want them to continue as they had. When I'm sick of them or they wear out, I use them for woodworking, painting, etc, until they finally just are too ugly or damaged.
Because at the time it was pretty clear.

'At that stage, C and C++ "absolutely owned the universe"' - https://www.zdnet.com/article/programming-languages-java-fou...

They took a lot of inspiration from C/C++'s syntax and seemed to be pretty concerned with improving memory management, security and developer velocity.