skysight-inc/HackerNews huggingface dataset:
JavaScript library that converts a string to gender-neutral language?
I'm working on a project that anonymises resumes to reduce bias and discrimination of things like location, gender and age.

One of the options I'd like to provide is the ability to ensure that the content is gender-neutral to avoid bias.

For example, a summary that includes the text: "She is an esteemed archaeologist and writer based in Greece. Her primary residence is in Athens, but she spends much of her time in Marrakech."

Should be converted to: "They are an esteemed archaeologist and writer based in Greece. Their primary residence is in Athens, but they spend much of their time in Marrakech."

I started by just creating a function with a bunch of .replaceAll() statements, but quickly realised that changing from "he"/"she" to "they" changes pretty much every verb that follows the word (e.g. he runs > they run, she does > they do, etc...).

Just wandering if anyone has heard of a library to tackle this or has any other ideas on how to tackle the task.

Thanks!
My number one rule for parents is to not listen to anyone else’s parenting advice. Do what you think is right and don’t second guess yourself.
The title is clickbait. If anyone forced here anything, then it was not IE but - once again - webmasters who don't deserve that "title" ;)
It’s super helpful and intuitive when you’re flying. Took me a while to get the compass visualized in my head but now if I’m making a visual approach and they give me a runway I can look at my current magnetic heading on my heading indicator - which you periodically sync to your magnetic compass - and know exactly what direction relative to my current heading I’ll be landing. So that’s the fundamental reason why most things flight related are magnetic except rare items like winds aloft reports. Wind direction reports at the field? Magnetic, so that you know how many degrees off the wind is from your landing direction and can do a bit of mental math to get the crosswind component. If you’ve just taken off ATC may say fly runway heading - again an easy one using your heading indicator which is synced to your magnetic compass.

As a side note, modern avionics like G1000 auto sync your heading indicator to magnetic. So if we started flying with electronic avionics that are auto synced and have a database of magnetic variation around the world, then it’s feasible to always show true on the heading indicator and have runways and everything else be true bearings. But that’s not the case and I still fly some of the many steam dial planes out there as do others, so we’re stuck with magnetic runways and magnetic everything else used in real-time flight and situational awareness for pilots.
Reducing logic density will still allow for lot's of more SRAM for a chip of the same size. Even if SRAM won't scale. More SRAM is almost always a cheat code for squeezing more performance out of a design.
>humans are not bees and living in beehives doesn't work for humans

BEES ARE COMMIES?? Good thing the pinko bastards are dying en masse, I was worried about that for a second.
Most of those seem like technical specifications but I get what you are saying. I just don’t understand how this is a winnable case unless they prove that Apples approach is actually worse than other oximeters. And that seems incredibly unlikely.
Romans relied on a few different omens for a lot of things which reduced to injecting randomness into a lot of decision making. I wonder if such things would be valuable to add back to modern life… roll dice to determine which tickets to add to the next sprint, legislatures have to flip a coin to trigger a floor vote for a piece of contentious legislation, that kind of thing.
Good use case, like the idea
I’m on mobile so kinda limited search capacity, but it looks like IE was using “Mozilla” in its UA string for a couple years before the trademark was published (granted it was filed a few months prior to that IE release, and granted I have no idea how to read uspto.gov with any confidence that I understand it, and also granted I have no idea how much prior usage of trademarks overlaps with concepts like prior art for patents and copyright).
Yes, that's basically the rationale behind not closing borders in case of a pandemic: You can't close all the holes. Someone, and inevitably the pathogen with them, will pass through.

However, and very much absurdly, the same people and organisations opposing closing borders were those supporting prolonged and repeated lockdowns, which pretty much puts you in the same situation, just with no clearly defined perimeter to control.

Closing borders will just buy you additional time. That's it. Imposing lockdowns on the other hand in the end will achieve nothing.
Assuming devices like this get their IP via DHCP, there is a solution that does not involve hard-coding IPs into software.

DHCP option 42 (defined in RFC 2132) can be used to specify multiple NTP server IPv4 addresses.

(There’s also DHCP option 4, but that’s used to specify the IP for the older RFC 868 time protocol.)

DHCPv6 has option 31 for SNTP (via deprecated RFC 4075), and option 56 for NTP (via RFC 5908).

So, that would probably be the best option: Get an NTP address from DHCP or DHCPv6, use that to set your clock, bring up DNS over TLS/HTTPS, re-configure NTP with your preferred source, re-sync your clock, and then continue booting!
Did you have problems with malware, or something like uBlock installed? Normally you won’t see issues with shared IPs unless there’s something unusual about your traffic.
I'm starting to think I'm in minority having Wi-Fi, data, Bluetooth, NFC, GPS et cetera turned off while not actively using them...
You probably want to qualify "single chip processors" with "small".

Single chip processors with over 100 billion transistors have been possible for years. We've had trillion-transistor single chip processors since 2019[1].

1. https://www.cerebras.net/blog/introducing-the-cerebras-cs-1-...
For what it's worth, I "naturally" got up to 110-140wpm (depending on a lot of factors) but can't seem to break into 150, ever. I see people easily go 170-180, but I seem to just hit a wall and make tons of mistakes. Maybe a genetic thing, who knows :D Or maybe those people just train a TON.
> Carrefour is one of the largest retailers on earth utilizing a big box model.

In the 70s already, the one near Toulouse was for some time perhaps the largest superstore in the world (at least the largest in Europe).
Your comment and others in this thread illustrate a different problem. Discourse around this topic (and some other parenting topics like breastfeeding) is out of control and not recognized as such. Regardless of your experience, it's not your place (nor anyone else's aside from maybe their physician), to tell parents what to do - and most of the time these admonitions are misinterpreted anyway because you're trying to boil down a complex set of behaviors and constraints to a rule that you propped up using some moral framework that you religiously believe in. People may well try to apply your rule in a different set of circumstances and get disastrous outcomes. To be clear, there are plenty of irrationally strong opinions on the opposite side of each of these issues too.

The researchers in the article were conducting an actual RCT, they are the only ones who should be speaking to this. Anyone else's anecdotal opinion should be discounted just as much as things like religious fundamentalist views on contraception.

Just let parents be. Stop with the admonitions. If something worked well or poorly for you, you're free to relate that without passing judgment.
Far less spammy and more readable presentation:

https://johncarlosbaez.wordpress.com/2011/12/02/babylon-and-...
Hmm, they also loaded sequentially for me but didn't cause any reflow.
That's correct then :) I suppose I could prevent typos before the game even started, hm.
TeXmacs isn't based on TeX but nonetheless produces documents of similar quality.
your hypothetical model of reality.

But that's a lot of work so businesses don't want to pay for it.
Can you explain it like I am 5 ?
NOAA has a neat tool to determine the difference (declination) [0]. Looks like it's about 16° for me in Vancouver, BC.

[0] - https://www.ngdc.noaa.gov/geomag/calculators/magcalc.shtml#d...
Those caches are SRAM which has not improved much the last few generations.
That's not true, even as a joke about Pythagoras.

√2 is just a name of a relationship, not a measurement, which implies finding its place on the number line.

No one will ever know √2 to 100% accuracy, in the sense of answering every question of the the form "is x^2 < 2^n", for all exactly known x (rationals), computing each within a constant time limit.
On the other hand, the whole reason UA strings are such a mess is because they have a long history of confusing humans who program computers. And being used sometimes intentionally for that purpose. And being used sometimes intentionally to mitigate that.
TLDR: Golang uses TCP_NODELAY by default on sockets. Seems wild. I guess it's time to disable TCP_NODELAY in Linux to fix bad software.
I get the feeling that poor authors stand to lose the least from this kind of thing
> By the way, the answer to your questions is yes.

You say it's theft to take pictures of the pages of a library book? I would need you to cite your sources please.

If it matters, I recently ordered 6 hardcovers from an author who's book that I downloaded from libgen was so impressively written, well sourced and thought provoking that I just had to put his best works (the book I "stole" by downloading, and 5 of his other works) in my physical library.

On the flipside, I recently wanted to read a book (different author) so badly but it wasn't available anywhere for less than $100 since it's out of print, so I downloaded it and don't feel bad at all. I haven't read that one yet, and if I love it I might spend the money for a physical copy, but it wouldn't matter since it's out of print and used and wouldn't make a difference to the author (also, he's dead).
I'll add to the chorus of people fondly remembering net send from their school days.

I seem to remember there was an option you could pass to override the sender's name so you could anonymize yourself and have the messages come from JESUS or MY BUM or something equally hilarious. You could even set it to the genuine ID of a nearby computer and watch the chaos unfold once the IT guy came running in.

I like to imagine there was some twinkly-eyed old trickster at Microsoft who saw to it that net send came enabled by default.

There was also a program that let you enable any disabled button in Windows by clicking on it. Turns out a lot of the security was only implemented at the GUI toolkit level.

There was something magical about those insecure school networks. It was amazing to watch how it affected the teachers, when you pulled some minor prank. They would flip out, not because you did anything particularly dangerous, but I guess just at the loss of control.

Good times.
There’s also a bit more historical info in:

https://en.wikipedia.org/wiki/Methods_of_computing_square_ro...

It would seem we don’t know exactly what method they used.

I would like to propose: really, really long and accurate ruler, just because the mental image is funny. The Greeks hadn’t come around yet to make everybody’s homework harder by insisting on compass and straight-edge (Note: this comment is not historically accurate).
Event Modeling • Adam Dymitruk
> Consensus algorithms do not solve bugs.

Not yet, but that's definitely an open problem that needs good solutions, and bugs aren't an excuse for allowing centralization.

The "solution" to bugs being used by Ethereum is simply: move very slowly and try very hard to not create bugs in the first place. But others, i.e. Polkadot, are trying to come up with ways of reaching consensus around reverting or patching bugs.

> I would argue that many people would not have, and even if they did, they would not anticipate other potential bugs.

Well, tough shit. This isn't a space with room for errors, certainly not ones this big.

> This does not mean the design is centralised: it's just that it's a peer-to-peer design with bugs. Like all software, ever.

It does mean it's centralized.

If you are skeptical that it's even possible to avoid bugs, well yeah, me too. That's why crypto is a high-risk space: bugs aren't really acceptable, but so far we really haven't found a way to completely avoid them.
My point exactly. It’s almost impossible to maintain these kinds of standards with our modern global supply chains.
Psychiatrists do not know what they are treating (2022)
Huh, after he concluded the story, it got a bit rambling and pop-philosophical. Featuring that Steve Jobs quote that might as well be printed on wood and be sold as kitsch decoration...

Wahey, it's the season to be nice and jolly!
I love how you can instantly tell who's European by who is willing to exclude financial privacy from discussions of privacy and/or criticize absolute privacy altogether.
There is a gotcha here if you use:

set -o errexit

Because *any bash arithmetic expression that evaluates to zero returns the exit code of 1*.

So this works:

#!/usr/bin/env bash
set -o errexit
i=0
((++i))
echo $i # 1 will be printed to stdout

But this doesn't:

#!/usr/bin/env bash
set -o errexit
i=0
((i++)) # terminates here with $? of 1
echo $i

The relevant doc is for `let`:

let arg [arg ...]
Each arg is an arithmetic expression to be evaluated (see
ARITHMETIC EVALUATION above). If the last arg evaluates
to 0, let returns 1; 0 is returned otherwise.

https://www.gnu.org/software/bash/manual/bash.html#index-let
This made me think of AIM away messages. Probably some matrix of technical ability and age could determine your point of comparison.
Right now they are stored as plaintext on a VPS server (or in localStorage in your browser if you aren't signed in).

I was wondering whether encryption might be compelling as a premium feature if this ever got enough users to think about monetizing it in future. What do you think?
For MacOS, Boxer (http://boxerapp.com/) is great. It creates executables (self contained distributable with zero dependencies) that include dosbox and the app to run - the creation is super easy drag n’drop.
Dosbox footprint is very small. It’s just amazing to double click and start the app or game without having to worry about setting up dosbox.
No shame. Good ideas get reinvented and implemented frequently.

You can almost always find analogs to the most popular contemporary things dating back hundreds of years.

Hell look at European news parlors in the 1800s. The newspapers would be delivered by train and "influencers"
would be waiting at the station to rush to a specific popular cafe where they would hop up on the table, read the headlines and give their hot takes. Audiences would follow them by coming around daily as merchants hung out near the best ones selling produce.

Sound familiar?

The deeper you look into the past the more it's just the same stuff reinvented. It's crazy how similar some of the stuff is
The 2nd edition JACT Reading greek course is excellent, I highly recommend it.
Binary search three 6 bit symbols, that is 18 multiplications. A bit less if you do not blindly pick the centre but estimate - or guess if you will - what the correct digit should approximately be. I would assume they could have done this to much larger precision if they had cared enough as I find it hard to imagine that they would have been limited by having to test every candidate. If I asked you to find the square root of two to eight fractional digits, you would probably come up with the idea of skipping ahead more than 0.00000001 each time pretty quickly. I guess my point is that it might be interesting that they knew about the idea of the square root of two but the precision does not really surprise me.
Why don't you just change it all to she?
It does also matter where the plus signs are:

$ i=0
$ echo $((++i))
1
$ echo $((i++))
1
$ echo $((++i))
3
$

((++i)) does add 1 before the command is run, and ((i++)) does add 1 after the command is run.
> Applying wanton black and white thinking is a sign of a mind incapable of nuance, and rich, deep thought.

Can't think of one instance where a group was able to politically accomplish something on the basis of "nuance"

If someone is making an appeal to "nuance", they're losing
I quit midway because I found the article overly rambling and failing to get to the point.

Also the presentation is distracting. Various fonts, styles, mixed with pointless medias, large quotes, a very high noise floor. In the content, too much mixing of reported speech with data. It makes it a hassle to remember who is being quoted, what their role is, why they're relevant, what the data means in the context. Not enough summarized tabular data. Too much verbiage.

And overall I feel like I got the gist: crying it out is probably bad. The article doesn't motivate me to power through it and waste a lot of mental energy getting the finer points.
RIP King.
So I did already know that TeXmacs is not a LaTeX frontend (LaTeX being a set of TeX macros concerned with content organization, e.g. it's what gives you complex notions of things like "chapter" and "section" that you don't get from tex-core or tex-plain), but rather a WYSIWYG/M editor similar to LyX (LyX uses LaTeX under the hood).

But I thought it does use the TeX engine under the hood for typesetting? I figured it's a WYSIWYG frontend that maps some sort of internal representation to a TeX output and throws it at TeX in the end, with its own LaTeX-type ideas for higher organization?
But what if we don't have a free market, never have, and never will have. Also most misunderstand 'survival of the fittest' which Darwin never said.

Evolution is about creatures fitting to their environment. If you have a complex environment, you have complex animals. If you have a simple environment, you have simple animals. It has nothing to do with 'robustness' or 'strength' or any notion of 'good'.

Similarly, if free markets are an optimizing system, they are a deeply flawed one. The constraint of spot trades and singular prices. And of course externalities, make them poor at optimization where it matters. So if we had free markets (we don't), what 'optimal' is very constrained and simple relative to what people need.
Additionally, the magnetic pole is actually in northern Canada
There's no completely offline version. But if you don't sign in then none of your notes are sent to the server, they stay in localStorage in your browser.
Yes, goals re ethics are rooted in emotion. The actual problem, which is definitely occurring on this topic, is when acting on snap emotional judgements compromises the longer term emotional desires that matter more. It's using emotions to work forward from your emotional goals, instead of logic that would actually acheive them. This is definitely still a case of (specific and qualitatively different) emotions triumphing over logic, so I don't think it's crazy to talk about it that way.

I mean, you're right in the big picture, but in a practical sense with the way people usually think about "emotion", it's not a terribly effectual perspective.
Except I specified the original devices are accessed, not that a third party intercepts.
For me the greatest pain point with Python is that you are never sure about what any line of code does, because basically everything can be redefined.

It might not be a big issue in a small script, but as soon as you get a biggish codebase, with mixins or magical utilities written a couple of years ago by a developer who in the meantime left, it takes hours just to track the control flow in the mess of patched methods, dunder stuff calling nested supers, etc.

To say nothing of big frameworks like DRF. There isn't even an agreed-on way to mark methods that are overridden from a base class.

Plus, simply changing the order of imports can violently change the semantics of the exact same code.

A fetish for hidden magic, state everywhere, and basically global coupling of code vastly override the supposedly simple syntax: it might be easy to read, but it is impossible to understand, locally.
NYC traffic deaths up from pre-pandemic levels, near equal to shooting deaths
He's a football player that kicked about a bit of leather and had an excellent life thus.
I give to local and overseas church work. Why? To give back where I have received so much and help others in need. Where I give is private but I do keep the details in a journal. It's encouraging to look back and remember. I'm pretty sure I would forget without the journal.
You don't, because most voters do want FBI and CIA and NSA and ATF to do their jobs and want the government to assign sufficient resources to stay the same or get more powerful. Politicians explicitly argue for such policies, and gain votes because of them, not despite them; this direction isn't one of those where politicians verbally support one thing and act otherwise, they put this stuff in their speeches and ads.

You should convince other voters to agree with your policy first, and if you can't, then you should concede that FBI/CIA/NSA/ATF shouldn't get voted out even if you want them to.
Large pdf and djvu files generally means low quality scans.
From TFA:
> We knew that we wanted to avoid using integer IDs so that we wouldn’t reveal the count of records in all our table

In order to attain that property the seed must be kept secret, right? A secret that cannot be rotated is hard to work with.
I mean, yeah, could do. Kinda defeats the gender-neutral part though?
One of my friends figured that out a few days after someone sent a net send message to * (they got away with that one by logging in as another user who wasn't in the room before the IT staff VNCed into the machine to see who it was). We ended up getting messages from "GOD" for a while before net set was disabled entirely. One of the teachers knew about this, and his only comment was "if you're going to mess around with this, don't get caught".

A group of people did get caught messing around with the network a while later, but only after they'd privesced their way to a domain admin account, then screwed up with a script that reset a bunch of local admin passwords rather just the one they wanted. Somehow, the existence of a new domain admin account didn't get spotted for weeks before that.
I had such a bad experience with Filmora in the past that I am not the least bit surprised by their lack of honesty and integrity here. I’m also consistently disappointed by the number of folks on HN that are so quick to defend clearly fraudulent actions on the part of a company. It makes me really sad because these are the same kinds of people applying for YC or who call themselves “entrepreneurs”. It’s terrifying how fucking spineless some of you really are.
Yes, that's what I was asking. Your previous comment indicated the homeowner needed evidence in order to sue for trespassing. But it seems there was no crime committed after all.
This is not a new discovery
You’ve successfully expressed the “parent in whatever mechanism makes me emotionally fulfilled” style. Many others take a more scientific viewpoint more oriented around child outcomes.
> As far as actual data that would be strong enough to justify imposing public policy on everyone, I don't think it's there.

In 2020, 26.3% [1] of cyclist fatalities were caused by hit-and-runs. That's a bit over 1/4 of cyclist fatalities. What more would you need, 1/2?

[1]: https://www.outsideonline.com/outdoor-adventure/biking/what-...