skysight-inc/HackerNews huggingface dataset:
I wonder how much of this is linguistic dependent.

Many languages don’t even have different words for sex and gender, Hebrew and German come to mind.

I also find sex as in the act to be quite different.

At least when it comes to male on male sex “sadomy” was complicated through history, it was used to show dominance even in societies where homosexuality wasn’t acceptable especially in adulthood - this is an example of a Japanese propaganda poster following the battle of Port Arthur https://imgur.com/a/t9RtebX

In general it seems that same sex sexual activity has more to do than just sexual orientation, it’s far more common in sexually segregated environments wether it being prison or boarding schools.

And it’s just as commonly used to establish an intimate human connection as it is to assert power.

However I don’t particularly see this as related to what we normally call homosexuality which seems have much more to do with proper sexual attraction and sexual mating.
Agreed. It's good to learn and do it a few times, because it teaches you a lot about how objects in orbit behave in relation to each other.

Docking itself has always been my favorite part, though I "cheat" by using a mod[0] that gives me a display[1] of relative velocities and orientations. My brain isn't designed to eyeball relative velocities from an outside-ship camera. But that's just the final part, applicable when you can literally see the target out of your window.

Approach, now that's another story. Took me a while to learn how to match orbits without carefully planning a series of maneuvers. My new way is slightly less Δv-efficient, but much faster in terms of both in-game and wall clock time. I plot a "good enough" intercept (say within 5-50km separation, relative velocity doesn't matter, as long as it's less than my remaining Δv), and then as my ship is a couple dozen to couple hundreds kilometers from the target, I start doing small adjustment burns to minimize distance at flyby and relative speed. The goal is to eventually reduce flyby separation and relative speed at intercept to something reasonable (say, flyby at 100 m, 10 m/s relative speed). From there, I can just dock easily.

It's not the way real docking happens today (though it's how it might in the future!), but I can execute a full intercept and docking in less than one orbit, which is more fun. Doubly fun to do this with transfers between celestial body - docking straight out of a transfer orbit, without first establishing a proper orbit around a moon/planet.

EDIT: Triply fun with planetary landers, if you don't have enough Δv to reach orbit, much less to transfer to a station/orbiter module. You launch the lander into ballistic trajectory that intersects your target's orbit at its peak, and pray you time it right, so that the orbiter/station can decelerate and do a suborbital docking, and then boost back to safety. One mistake here, and you can lose both ships. God, I love this game.

--

[0] - Docking Port Alignment Indicator.

[1] - https://i.imgur.com/J69AYEw.png. It looks trivial, but it packs enough information that you can easily dock looking only at that display. And something like this is what real astronauts would use, so it's actually making things more realistic :).
Yes, all allocators (except perhaps OpenBSDs from what I see in this thread) do this. It is also why `calloc` exists - because zero-initializing every single allocation is really, really expensive.
I owned an ad agency for a a decade. We treated licenses like this as unusable and I even had our legal team draft up a white paper we would share with our clients about these kind of licenses and the hidden expenses and difficulties using them would create. I can only imagine trying to figure out how many cpus in even a modern small business...
Just read that. This redefinition is so dumb. This metric is now worthless for statistic models.
Math.tan will never throw exceptions because, for the exact same reason as above, it won't check its input.

But again for the sake of argument, the return type of tan() could be "Either<Error, double>".
Federal investigators blast Tesla, call for stricter safety standards
Sixels aren't widely supported in modern terminal emulators, and where they are supported I've found them to be super slow. Fun to play with for sure, but not something I've found any real use for.
I had the same issue buying an electric kettle for my 87 year old mother who had been boiling water on the stove and forgetting she had it on. I didn’t want her to burn the house down.
Verification of Self-Signed Certificates
It seems like Zero-3 doesn't work for them:

https://github.com/EleutherAI/gpt-neox/issues/171
> Exercising sucks.

Running sucks, rowing a little as well. Lifting weights, swimming, walking are all great almost from the get go.

Lifting weights is by far the best. You can keep a leisurely pace, have plenty of time to talk to people, listen to a podcast, or just fiddle with your phone between sets, so it's psychologically easier. You become stronger so you feel the benefits all the time. And you gain muscle which means your base metabolic rate goes up, you have much more latitude in your diet and room for lapses.

Most importantly (yes), you look better in the mirror. Both instantly thanks to the pump and in the long term. Which is by far the best motivation to show up again.
I expect vegans get the same, I know getting rid of my car led to some people thinking I was the green police and they had to justify why they still owned theirs.
>GameStop thing was some trying to emulate the shitty behaviour of hedge funds and succeeding

The narrative is that hedge funds manipulate prices downward to profit from shorts - this was an opposite effort. And when Robinhood suspended trades, all they did was freeze out retail traders whild institutional traders had time to run the price down and trade amongst themselves. It was shady given the alleged links between Robinhood and market makers and hedge funds and such. I really don't think anyone was being protected by that move.
Browser zero day or some kind of malicious linux package that gets distributed mostly. Don't think i've a profile that would make people bother to do physical attacks.
Just to be clear: there exist lots of other screenshot tools which has supports Wayland, so this isn’t the first or only tool which does so.

Always nice to see more tools support Wayland though.

For now I’m still happy with grim and how it integrates into my swaywm setup.
It looks like Aegis so I don't see what's been missing...

Aegis does backups, biometrics and is open source.
I am always amazed as I look back at cga and ega graphics how incredibly versatile the designers were. Working with extreme limitations and still able to produce a mood and look that blows my mind.

Same with really good ansi artists.
By that time we either break SHA256 or burn the entire planet to fuel the virtual greed.
Can't argue with you there.
Your browser does not support this site

How presumptuous. How about "this site doesn't support your browser" instead?

Using Firefox 78.8 esr, btw.
I submitted. When does it appear in the directory?
No, certainly not: the ramp-up in price directly corresponds to trade and the load on the mining network. Hence, we've seen quite a significant increase in energy consumption, recently. The problem isn't going away, as long as BTC is traded in volume (for which valuation is an indicator).
Everyone running docker in their homelab should be reading this.
Why though? People who are price insensitive enough to pay 120 bucks a year for a menu bar widget are not your target audience, they are a tiny tiny minority.
How significant is it really? There will be less than 15% change in the total supply and the majority of that actually will happen in the next few decades.
> This costs heap allocations and pointer indirections.

Heap allocations, yes; pointer indirections no.

A structure is referenced by pointer no matter what. Remember that the stack is accessed via a stack pointer.

The performance cost is that there are no inline functions for a truly opaque type; everything goes through a function call. Indirect access through functions is the cost, which is worse than a mere pointer indirection.

An API has to be well-designed this regard; it has to anticipate the likely use cases that are going to be performance critical and avoid perpetrating a design in which the application has to make millions of API calls in an inner loop. Opaqueness is more abstract and so it puts designers on their toes to create good abstractions instead of "oh, the user has all the access to everything, so they have all the rope they need".

Opaque structures don't have to cost heap allocations either. An API can provide a way to ask "what is the size of this opaque type" and the client can then provide the memory, e.g. by using alloca on the stack. This is still future-proof against changes in the size, compared to a compile-time size taken from a "sizeof struct" in some header file. Another alternative is to have some worst-case size represented as a type. An example of this is the POSIX struct sockaddr_storage in the sockets API. Though the individual sockaddrs are not opaque, the concept of providing a non-opaque worst-case storage type for an opaque object would work fine.

There can be half-opaque types: part of the structure can be declared (e.g. via some struct type that is documened as "do not use in application code"). Inline functions use that for direct access to some common fields.
Massively Manipulated, Monitored, and Moderated Media

MMMMM
Modern C, by Jens Gustedt is one of the best books on C that I have read. That said, I don't think it scratches the surface of backing up the parents claims––though if anyone know of such a text please let me know.
A letter to all crypto holders [video]
Huggingface has been working on implementing this into their library, and it has some pretty amazing effects on the size of models you can train on a simple Colab.

https://huggingface.co/blog/zero-deepspeed-fairscale
His definition of counterculture sorta seems limited. When punk and being a rebel is fully co opted by those in power, doesn't that kinda defeat the whole image part of being counter culture.

Like in a fashion counter culture could be the Amish if the culture is extremely anti Amish.
You're right. But you're missing an argument about why Toronto should be the one to take that hit.
Maybe it’s users fault but wouldn’t that imply that buying good ratings on sites like Amazon would be fruitless? If users don’t care that is.
The UI of Authy on the Mac is terrible. One of the worst examples of adapting a mobile UI to a mouse+windows interface I’ve ever seen. Also not native. And its iPhone interface isn’t particularly good in the first place.

I was desperate for an app like this a couple years ago, but 1Password wound up adding mfa. Regardless, I wish the creators luck, this looks very good! A real “mac-assed app” https://daringfireball.net/linked/2020/03/20/mac-assed-mac-a...
Are you saying that nobody lives in New Mexico? I know some people who will be surprised to learn their family does not exist.
Yes, and that NFT had value because it could be proven that it came from Beeple, and represented a specific piece of art. It’s as simple as that.
Tho it's hard to define, it's pretty easy to distinguish.

I think this could be said about much of reality.
To be fair it was only Flameshot that was kind of missing Wayland support. There were / are other alternatives specifically made for Wayland: saying that the whole ecosystem was lagging behind becaude of this specific app is a bit of a stretch.

But the meme is good, I'll give you that
Faceblock, Twatter, Instaglam, Discard, Snapper, TikTak, LinkedOut

I really hoped that Clubhouse would corral all the hardcore narcissists away from all other social media, but it's made them worse, they spend all their time on Twitter bragging about how they're on Clubhouse now. Pathetic.
With respect to deadlocks, there’s little practical difference between an infinite loop and a loop that holds the lock for a very long time.

Languages like Idris and Agda are different because sometimes code isn’t executed at all. A proof may depend on knowing that some code will terminate without running it.
I vastly prefer RememBear for this use case.
Plus, who doesn’t love having their own bear?

Edit: Choice is great! Keep up the fantastic work.
I found the user interface to be clean, a big plus in my book.
Even higher-performance mallocs like jemalloc had heap debugging features (poisoning freed memory) before Heartbleed, which -- if enabled -- would catch use-after-frees, so long as libraries and applications didn't circumvent malloc like OpenSSL did (and Python still does AFAIK).
There is no way a puzzle with such a narrow solution path is anything but handmade.
What is left to do with the Technical Interview?

I have yet to see anything more horrifyingly beautiful (or, beautifully horrifying) like this: μkanren in lisp in prolog ?!!

https://gist.github.com/aphyr/4d41e7655b10a68e753f729bdc1c5a...
The problem is that countries tend to lie about how much gold they actually have. In 1965 the French wanted their gold in exchange for the dollars they had and others followed but then in 1971 Nixon moved the US off the gold standard. It was supposed to be temporary but ended up permanent.
Having a gold standard is backward because you tie the value of your currency to an arbitrary asset that changes in value for reasons other than the attractiveness of your currency.

It means for instance that the value of your currency goes down because people dig more gold bearing dirt out of the ground. Or maybe some better thing that replaces gold is discovered or made and your currency is suddenly worthless.

The reason people think gold is a good idea is because they think money should have some sort of absolute or immutable value (your 'fixed supply'), because they do so much real work to earn it, but money, like any other asset, is worth what people will pay (or give) for it, or in other words, what you can buy with it.

Like everything else money is subject to the laws of demand and supply. That's driven by the US economy (and others) and the Fed. You have to have faith that the Fed knows what they are doing, at least more so than a bunch of gold miners mostly in Australia and Canada.
Is something else producing better kettles than capitalism?

Because I've got a pretty awesome kettle "from capitalism"
Are there any cities where the citizens don’t think the city council, government, etc is all “incompetent”?

Like what is a city which is well functioning, where the citizens like the government?
Proof of stake technology wasn't good enough in 2014, so POW was the only option.
> Imaginary number is irrational

I don't think that's the case. `i` is not irrational, it's just perpendicular to 1.
Offering open source software as a service with support seemed like a solution to this problem for a while. Hipsters use your stuff for free, but then pay for support and hosted offerings once they have more money than time.

But AWS is killing this model by just offering popular open source products as a service themselves, cutting out the original developments.
Ah, thanks burntsushi, I believe you are the ripgrep author even?

Great work btw. Ripgrep is the best

... I will have to restrict my comment to just LLVM being a larger, c++, dependency

... Just angling for more downvotes ;) Thanks for the reply
>>The standard of living and affordability has objectively dropped for young people today. [...] But according to some people, hey you can still get into the market! Just buy a condo!

I remember the frenzy of the '89 housing bubble & early 90's bust especially in Toronto when mortgage interest rates were in the low teens and everybody and their dog was flipping property. The subsequent crash was painful but also allowed new families to get into a more affordable market.

I stand by my comment that it's still possible to buy something for a new family even if it's smaller than what they grew up with. The driver for the reduced affordability is, as you eloquently noted, because of our very liberal immigration policy that allows for continued regional growth coupled with low interest rates.

If you're a homeowner, you want the value of your property to continue to rise. But then this crowds out a younger demographic looking to purchase their first starter properties (condos or houses). We can't have it both ways.
I can’t speak for every industry, but many Bay Area technology employers have set up satellite offices in Toronto and Waterloo and are paying significantly higher wages (note: I represent one of them). This is having a net effect of driving wages up; I see it in the candidates we lose to other companies who are doing the same. Consider looking for a new gig.

Also, Sentry is hiring in Toronto: https://sentry.io/jobs.
Really impressed with Ableton continuously creating easy-to-use / easy-to-learn music tools for 2 decades by now. Spent so many hours experimenting in Ableton when I was in high school, already more than a decade ago. Which indirectly taught me a lot about electronics, computers & programming.
I guess I would get used to that, but it seems broken to me. The way to deal with that is out of band, checking for the type to change to "Error"

In Pascal tan(pi/2) or tan(3pi/2) causes an overflow. The way to deal with that is out of band, to handle an exception of type E_Overflow.
All of these isolation techniques (and much more) can be used inside systemd units. Write your .service as usual, then run this command on it:

$ systemd-analyze security service-name

It prints out a long list of hardening flags that can be applied inside of your service, like so:

NAME DESCRIPTION EXPOSURE
PrivateNetwork= Service has access to the host's network 0.5
User=/DynamicUser= Service runs as root user 0.4
CapabilityBoundingSet=~CAP_SET(UID|GID|PCAP) Service may change UID/GID identities/capabilities 0.3
CapabilityBoundingSet=~CAP_SYS_ADMIN Service has administrator privileges 0.3
...

Here's what I typically use for a .NET 5 application:

WorkingDirectory = /opt/appname/app
ReadWritePaths = /opt/appname/data
UMask = 0077
LockPersonality = yes
NoNewPrivileges = yes
PrivateDevices = yes
PrivateMounts = yes
PrivateTmp = yes
PrivateUsers = yes
ProtectClock = yes
ProtectControlGroups = yes
ProtectHome = yes
ProtectHostname = yes
ProtectKernelLogs = yes
ProtectKernelModules = yes
ProtectKernelTunables = yes
ProtectSystem = strict
RemoveIPC = yes
RestrictAddressFamilies = AF_UNIX AF_INET AF_INET6
RestrictNamespaces = yes
RestrictRealtime = yes
RestrictSUIDSGID = yes
SystemCallArchitectures = native
ProtectProc = invisible
CapabilityBoundingSet =
SystemCallFilter = ~@clock @module @mount @raw-io @reboot @swap @privileged @cpu-emulation @obsolete

ReadWritePaths should be replaced with a combination of DynamicUser + writing local persistent data to $STATE_DIRECTORY, but I'm too lazy to do that yet.

See systemd.exec(5) for more.
> People have set oil fields on fire and killed millions of people to protect fiat currencies. Bitcoin is a mere blip in my opinion.

Agree completely. I simply don't understand all this noise about bitcoin energy consumption. It doesn't add up to even 1% of the damage these entrenched organizations cause. The only explanation I can come up with is they are too powerful to be messed with while cryptocurrencies are a safe target.

> Prof of stake is coming and eventually bitcoin will not be able to keep up with others that have switched. So it will be fork or die.

Absolutely! Once they all switch to better proof systems, we'll enjoy lower transaction fees and even higher decentralization. Proof-of-stake is already threatening to fork Ethereum, hopefully the miners will lose in the long run.

Bitcoin is outdated tech by now. Only reason it's still around is its history as the first and most well-known cryptocurrency.
Is 1% immigration per year a lot?
Electric kettles in America seem to be something of a boutique item. I often had to say “tea kettle” before anyone even understood what I was looking for.

They are definitely 100% available to buy. However, they cost more and seem to be of lower quality than the range available in the UK.

I suspect the voltage difference is the underlying reason. If you have a gas burner then an old fashioned stovetop kettle is almost as fast as an electric kettle in the US.
We're not in the mania phase yet. Lots of things build in price over a long period before they go crazy.
Ah yes, in the article.

Though his brother Doug, the current premiere of Ontario, isn't that much better.
Bring on the Fear
Mururoa is not in New Caledonia. The situations of French Polynesia and New Caledonia are quite different for a whole bunch of reasons.

I am not quite sure what you mean by “other territories do not have the opportunity to vote in their independence”. French Polynesia has its own parliament and government, which has been dominated by “independentists” for quite a while. Nothing is stopping them from holding a referendum every other year, just like in New Caledonia.
> validate that we were delivering enough value to our users

This seems like an odd and ineffective way to validate that. It seems more likely that you will just mix in price insensitive users who aren’t making conscious decisions.

Would it be better to validate value by seeing usage levels, referrals, and drop offs?
> which is who is who if anyone is regulating these things for safety

Great question! Perhaps it's been asked before: https://www.loc.gov/law/help/restrictions-on-gmos/usa.php

This seems like the most relevant bit:

> The FDA regulates the safety of all human and animal food products in the US (other than meat, poultry, and eggs), as well as drugs and biological products.

As to licensing:

It may be worth considering that while a quite jarring experience for a home gardener, the prospect of buying seed anew every year is likely a familiar one to most modern farmers.
They want to have their cake and eat it too.
Remember when it began to make the modem connecting noises, and pulling the cable just in case it was connecting me to a foreign number.
Substack: Why We Pay Writers
Japanese forestry firm wants to put wooden satellites into orbit
> Great example... because guess what happens with TLAB allocation during optimisation? It will do exactly what you say and combine multiple allocations into a simple bump, like it would with any other arithmetic!

Before you were saying it isn't a problem at all, now you are saying it isn't a problem because a single java allocator tries to work around it? That's a bandaid over something that you are trying to say isn't even a problem.

> I'm not going to keep arguing on this forever. But I have a PhD in language implementation and optimisation and I've be working professionally and publishing in the field for almost a decade. I'd be surprised to find out I have deep misconceptions on the topic.

But are you profiling and optimizing actual software? That's the real question, because as I keep saying, anyone optimizing software knows that lots of small allocations are the first thing to look for. You still haven't addressed this, even though the whole thread is about decreasing allocations for optimization and you seem to be saying it isn't a problem, which is misinformation.
What do you honestly expect me to answer? That's kind of a moot point: the entire reason we have type systems in the first place is that they are partial, machine-checkable proofs of correctness. The entire discussion is how to strike the best power/practicality balance while keeping the thing decidable. Keeping you from shooting yourself in the foot is exactly the type system's job.

Why do you even bother with static types if you seriously believe that?
>No economy survives a sudden injection of trillions of dollars

Really? Why not? The current package and the last one amount to about 10% of the total economy. That seems survivable, especially when the alternative is a lot of people not surviving.
Is this intended to fix the misaligned body panels I constantly see on other Tesla models?