skysight-inc/HackerNews huggingface dataset:
I believe they're discussing commutation and idempotency in the sense of types, rather than the sense of values.

Inheritance allows you to override properties/attributes. If you inherit from 2 classes that both specify the same attribute/property, but with different types for the same attribute, one of them takes precedence and overrides the other. A inherits from B inherits from C is not the same as A inherits from C inherits from B if C says attribute X is a string and B says attribute X is an int.

From my understanding, the equivalent graph unification is invalid. If type A is a unification of type B and C, then B and C cannot have any overlap. Each property is either a member of B or a member of C, but never both. It's commutative because A = B | C (A is the unification of B and C) is the same as A = C | B (A is the unification of C and B). If x is a member of B, and I access A.x, I will always end up accessing B. With inheritance, there can be a B.x and a C.x. Which one I end up accessing depends on which one is A's parent.

Inheritance is not idempotent because if A inherits from B inherits from C, then A is implicitly also B and C. However, A can override B's and C's behavior, so I can't trust that calling C.x will always return the same value. It might return the type C has for that attribute, it might return the type B has for that attribute or it might return the type C has for that attribute. You can prevent overriding the types in children, but at that point you've basically built graph unification.

To give a concrete example, Python allows inheritance. If we are provided with this:

class MyCar:
# Epoch time for when the car was made
created_at: int

class MyCarV2(MyCar):
# Time it was created in RFC3339 format
created_at: str

class MyCarV3(MyCarV2):
# Using an actual datetime object
created_at: datetime.datetime

And we have a function like this:

def time_since_created(car: MyCar) -> datetime.timedelta:

That function has no idea what the type of car.created_at will be. Mypy will complain at you because it's bad practice, but it's valid inheritance. Even if they all start with same conceptual time, MyCar.created_at, MyCarV2.created_at and MyCarV3.created_at return different types, despite all supposedly being valid instances of MyCar.

Graph unification forces you to pick a single type for each attribute of a single type. Rather than having 3 types that behave differently, graph unification forces you condense them into one:

class MyCar:
created_at: typing.Union[int, str, datetime.datetime]

That time_since_created function now knows exactly what type created_at is. Nothing else can change the type of created_at. If you need to add another possible type you have to either add it to the typing.Union, or create a new class. You can't create a subclass of MyCar with a different type for created_at.
Problem is that unless you've actually got symptoms of low testosterone, it's not a big issue. Low T being the cause of men's problems today is a myth.
Pirate content on a stolen AWS account is less likely than crypto miners.
Stoicism seems to be the in vogue philosophy for software developers insecure about their impact or non-impact on the world. An escapist ideology at its core that usually leads people to er the stock market.
Alternate comment as there are at least 3 women in the man's life in this scenario:

A man couldn't decide which of his girl friends to stay with. As a test, he decided to give each woman $5,000 to see how they would spend it.

The first girlfriend went out and got herself a complete makeover. She told him, "I spend the money so I could look pretty for you because I love you so much."

The second went shopping and bought the man new golf clubs, an iPad and an 80-inch flatscreen television. She said, "I bought these gifts for you because I love you so much."

The third woman took the $5,000 and invested it in the stock market, doubled her investment, returned $5,000 to the man and reinvested the rest. She said, "I am investing the rest of the money for our future because I love you so much."

The man thought long and hard about how each of his girlfriends had spent the money, and then he decided to stay with the one with the biggest breasts.
That would be very helpful if I knew how to treat myself, or if some of the alternatives I might try were as safe as I should desire for experimentation. If anything, hare-brained attempts by loiscenced physicians at treatment with antibiotics, which left me with tinnitus, have made me very skeptical of any treatment until it's properly explained why I should agree. But I will leave that fight for when anyone can come up with a plausible option.
Any charities in particular you’d recommend?
I'd give the a thumbs up to smart_open. Happily used it to have our servers parse data dumps of up to several hundred megabytes on user-configurable remote storage without drama. Seems like it could handle larger files without issue, but we haven't had need to push it.

I can't speak to fsspec, but their filesystem functionality (eg. `ls`, `cp`) isn't something that smart_open has and it does look cool.
The law is very straightforward and can be quite easily implemented by anyone. Notable exceptions are finance institutions where GDPR is superseded by relevant financial laws of each country.

There are explainers, compliance checklists, whatever you want to implement it. It was three years before it went in effect, and it's been 3 years since it went into effect. If you don't understand it by now, you definitely don't deserve to be handling personal data.
I agree with everything you wrote except "trying to hide". In these situations, it's impossible to hide "I told you so". :)

Also, the nice thing about wfh is the possibility of screaming about the stupidity of your organization more conveniently...
I use a design doc for this in the style of a append journal. I made this decision a/e/i/o/u based on this and that. the why and the why not. Then I keep appending. easy reference.
Even if motor start capacitors are safe to touch, if you don't know what you're doing you might accidentally make contact with a dangerous capacitor. And the parent comment didn't clearly state to only change motor start capacitors -- they seem to endorse changing all capacitors without any warning.

Please don't accuse others of spreading FUD when this type of repair is legitimately dangerous.
Actually I just remembered we don't have copyright fair use here in Australia so I can't legally scrape websites. Oh well.

Also, my search engine will be called "Jays Favorite Websites" and the right side of politics can bite me.
For this I use console.error (red) or console.warn (yellow).
ISPs are run really badly. I know ISPs, they are not run by the best and the brightest. They all wish they could do more with their access to networks and data but in reality, they just dont matter compared to Google, Apple, Facebook, Twitter, Amazon. ISP not the ones indexing all your info and using it to target you with ads. ISP not the one algorithmically censoring you.

They are also not the ones building platforms, buying their competition (startups), putting small businesses out of work. No idea why people are so angry about ISPs - Dumb pipes for the most part.
Be sure to use capital S when talking about the philosophy. The dictionary definition and the philosophy seem to be not actually related, inversely related in many places in fact
Twitter loses legal protection in India due to non-compliance of new IT rules
I found this funny because I did very briefly consider driving to the layover airport. Agency is a great thing to have, and I think it's much more important for a happy life than efficiency, but there are limits. My limit is apparently somewhere under 7 hours (the time for the drive to the first airport).
Come on, it's an AC single phase assist cap, not a DC cap of >1000 uF like those found in camera flash units. Just short it with a load before you touch it to be 100% sure.
Influenza can be mild, even asymptomatic, so unless you are really able to test; you probably don't have good numbers for how often you've caught the flu.
Once again, those popups are illegal under GDPR. So yes, it's a failure of law enforcement, but doesn't make the law itself unreasonable.
The Collar Bomb Heist
Yep, I have "invented" this myself as well :)
If you own a Word Perfect license and misplaced the disks or the disks went bad, you'd have to get a copy off the Internet or buy a new one from eBay.
Human nature is going to give those comments more upvotes, which automatically moves them to "top comment" position, so at the risk of being facetious: yes, obviously?
I have a different opinion regarding Altavista search results quality. The results were so bad that most of the times I had to also try Hotbot, Ask Jeeves and various directories (Yahoo, dmoz, etc). They were not good search engines but the web back then was way smaller and there was a high chance that you could have different content on the other engines.

That’s the reason why Google, a very small newcomer, crashed the entire search engine market.
This is the weirdest part of the article by far. And absolutely no explanation.
Well AFAIK, I dont think Apple or any exec ever publicly state their unconditional support of LGBTQ. So I think that is fine in my book. Unlike their "Privacy is a Fundamental Human Right." which they keep repeating.

And giving the evidence I am inclined to believe their repetition of privacy is more of an attack to Google and Facebook more than anything else. A similar tactics used against Qualcomm. Which basically align with your view, it is all about their bottom line.

Interestingly enough I guess this also describe the difference between Steve Job's Apple and Tim Cook's Apple. Steve was all about the Top Line [1]

[1] https://www.youtube.com/watch?v=E5d0q1QseaQ
Before this fan fiction gets too elaborate, it's probably easier for anyone in China to just look at CNN http://www.chinafirewalltest.com/?siteurl=cnn.com than spending the time to become a hacker.
We had a fun one at my first job where the same Java webapp was behaving differently on a couple of servers (this is back when servers were administered manually by sysadmins). We did a recursive md5sum of the homedir on each server and got the same results.

Turns out that by default tomcat will use filesystem order when loading jars from its library directory, and some of the servers used different filesystems, so even though each one had the same set of jars in the library directory, they would be loaded in a different order which lead to different behaviour.
It seems to already support that - see the section "Working with generated and conditional content"
>Conventional psychiatric drugs and talk therapy are backed up by decades of robust scientific evidence.

While it's true that there's plenty of evidence for 'conventional' psychiatric treatment working, the problem is with how it works in practice. There are few real objective tests involved and patients are prescribed various drugs to try to see if some of them would help. I'm surprised psychiatrists don't have dartboards in their office to decide on what to use.

Throwing in some antibiotics just on an off-chance seems like it would be a reasonable thing to try. Sure, there's a problem with antibiotic resistant bacteria, but this treatment doesn't have to be done immediately. If a patient has been prescribed various different meds for 6 months and none of them help, then why not try?
I’d love to see a gallery of these kinds of bugs and the actual solutions. This was an awesome story— thanks for linking to it.

Also I didn’t know about the units cli program!
Oh my god, a $100k salary would be taxes at 42%, plus a 25% VAT on general spending, that's just insane...
Not just you, there's definitely been some sort of hook to stoicism that I've seen at a few different levels.

"what's in your control and what's not?"
It has. People have rediscovered its importance and some have decided there was an opportunity to cash on it. Like anything else that has some success, it attracts some opportunists.

It shouldn't detract anyone from looking at stoicism though. You can get everything you need from it for free, although a few books and helping the Patreon of a few philosophers who work on making it accessible is still a worthy cause to spend some money on.
IDK about currently popular religions, but the old Aztec religion included deities who cared little about human business, except one who was an unpleasant trickster, like Loki.

It's still pretty strange to expect a human coping / structuring mechanism like religion to not put humans on a prominent (though usually not very respectable) place.
> “That’s a made-up disease,” she recalls the doctor saying.

This is an unfortunate consequence of physicians treating many patients with underlying psychiatric problems. They want a diagnosis (or in some cases are drug-seeking) and they leverage these syndromes in order to get the attention or drugs they're after. The syndromes are poorly understood and are only relevant if you can rule out several other possible explanations using tests. If a physician treats 100 patients claiming to suffer from $SUPER_RARE_SYNDROME maybe ninety nine have a history of claiming other unique diseases. It's too easy to sweep the level-headed patients in with the crackpots. "House, M.D." was an interesting and compelling drama but there's no way you could devote the kind of time to investigate interesting cases like that.
Surveillance under Surveillance shows you the location of surveillance cameras
i think it's supposed to be funny, which would be against HN regulations; on the other hand it's something "that good hackers would find interesting".
https://news.ycombinator.com/newsguidelines.html (or rather http://www.5z8.info/-49exploit-begin--_j0k3gm_uniqueinvestme... - or www.5z8.info/-49exploit-begin--_j0k3gm_uniqueinvestmentopportunity in all it's glory)
Inflation devalues debt. I don't have the answer either but I don't think doom & gloom is the #1 scenario. But it's definitely a possibility.
Past threads:

How to Be a Stoic (2016) - https://news.ycombinator.com/item?id=19279613 - March 2019 (79 comments)

How to Be a Stoic - https://news.ycombinator.com/item?id=13728197 - Feb 2017 (237 comments)
Current Indian mythology has a lot of differences from ancient Indian mythology. The nature of asura is among them. Many of the then major gods were described in Rig Veda as asuras. Wikipedia gives a good overview: https://en.wikipedia.org/wiki/Asura
> Not directly console.log related

Don't worry, neither is the article. Words don't mean much I guess.
Except they are: Google undoubtedly uses the set of WiFi networks near you for location-based tracking on Android, even if your GPS is off.
I have been looking for note taking apps and shorted listed Joplin and Trilium [1].

I'm currently experimenting with Trilium since couple of days. While it looks complex at first, it seems to have a lot of extensibility which might make it "future proof" for extensive data.

So far it looks good.

[1] https://github.com/zadam/trilium
Read up on Walter Bright
Scientists have proved what causes the northern lights
Keras development will be separated from TensorFlow
Hmm? From https://developer.apple.com/xcode/swiftui/ :

> Xcode includes intuitive design tools that make building interfaces with SwiftUI as easy as dragging and dropping. As you work in the design canvas, everything you edit is completely in sync with the code in the adjoining editor. Code is instantly visible as a preview as you type, and any change you make to that preview immediately appears in your code. Xcode recompiles your changes instantly and inserts them into a running version of your app — visible, and editable at all times.
Yeah, I'm not 100% sure when our mob was founded, but it's a spin-off org from the main company to handle the software side of our shutdown management. Just gave me a giggle to see the name come up
> Native south Americans had barely scratched the Amazon

The Amazon basin had millions of inhabitants in the 15th century. Population declined precipitously after European diseases arrived, and did not recover to prior levels for 300+ years afterward.
Most shocking thing about this article was no mention of CKY. I guess Knoxville wasn’t in it, but it was several of the same folks.
Sorry, where are you pulling this quote from? It's certainly not in the PR, and if you google for that quote, nothing official shows up, so... where in the official AWS S3 docs is this supposed to come from? Because without first party (not third party) sources, this quote is a made up bit of text, with zero validity.
The reason for the number 3900, is that most British historian who were the authority were Christians.

They refused to accept any civilizational could be older than 4000 years because of the great flood.

So often they tried to fit the evidence into their narrative. As we know today very many civilizations can be dated to much further in time.
There is policy that can be enacted based on the idea of putting a price on carbon to account for the externalities it generates. You can 1) cap and trade, 2) tax it.

California has gone with the cap and trade system, and has basically put a price on emitting carbon. It also has an offset program, which incentivizes carbon and greenhouse gas sequestration. This of course has the problem that you need to account for how much carbon a particular land use pattern in a particular region reduces. Regardless, California has the lowest carbon emissions per capita in the US [1].

Carbon taxes will result in less carbon emissions. They will disproportionately affect the poor because it is a flat tax. Canada gets around that by returning carbon tax revenue to tax payers [2] so you benefit financially if you emit less carbon. Contrast this with Australia, where the party that enacted a carbon tax was voted out of power and the tax repealed in 2014 [3].

Regardless, these are incentive structures to support reducing carbon emissions. What we really need is to eliminate the emissions and they way to do that is by making considerable and necessary changes.

[1] https://www.mercurynews.com/2020/07/21/california-way-ahead-...

[2] https://en.m.wikipedia.org/wiki/Carbon_pricing_in_Canada

[3] https://en.m.wikipedia.org/wiki/Carbon_pricing_in_Australia
Yeah, I am not condoning writing HTML for most things, but for a personal blog where creativity is probably the top thing that matters, it's funny how tightly bound our thinking gets. Sometimes, I just sit back, step out and completely dismantle the status quo.
The bugs I hate the most are the ones that you struggle with for days and then figure out 20 minutes after posting a StackOverflow question or sending an email. So embarrassing yet it happens so often...
He’s around here somewhere … oh, there he is!

https://news.ycombinator.com/user?id=WalterBright
ASCII Art with Ruby
This.

So claiming "pretty much any" windows software runs in wine, is the "very bold assumption", not backed up by reality.

Because yeah, there is a lot of windows software somewhat running ... but somewhat running is not enough, when you want to work with it.
This is really missing at the moment.

I wish there was a "debugger snapshot" functionality that does not pause execution and creates a snapshot of the current DOM and state.

Probably a performance nightmare but being able to continue and inspect what happened in retrospect is what makes console.log a powerful debugging tool IMO.

You could extrapolate this to the time-traveling debuggers we've seen for Redux and other tools. That stuff is super powerful.
Gnome: Add an “icon view with thumbnails” mode (like Nautilus)
Dreamweaver is still around actually.

https://www.adobe.com/products/dreamweaver.html
> 1/ Regarding the comments about remapping keys as the first thing people do: there are several issues with this. What if I am using a new machine? For example, every time I log into a new EC2 instance or a Cloud 9 environment I would need to do this remapping.

The common Emacs solution to this is to use your local Emacs to edit files on the remote machine, through TRAMP. That's not always available, but surprisingly often.
What does that mean? A BV protects you unless you pierce the veil. You are negligent or a malicious if you do so; otherwise it does protect you. But maybe you mean something else.
These things are being made by people mostly for free. I know there's corporate funding and donations amongst bigger projects, but they're being made by people, for free, so that a free alternative to expensive software can exist.

It's one thing to complain about software you pay for negatively.

When I used alphaCAM and Park Industry software I expected to be able to phone them any time and they'd hop on TeamViewer and help me with any and every minor problem, but alphaCAM costs $10,000/year. For that $10,000/year i have every right to complain or ask for any bit of customer service I want, for $0/Ever, I can deal with it, make a polite suggestion and hope for the best, or submit a patch.
Exactly. And then the question remains: why? Why hate comments so much? I never got that
I thought that's what they do …
I suspect that our biggest dental hygiene issues originate from sugar decaying our teeth. Maybe I should ask my dentist.
No, it is based on both linguistic and archaeological evidence. For example, read The Horse, The Wheel, and Language, which corroborates these two kinds of evidence

Fwiw I’m Hindu.
Thankfully this living experiences is not how we conduct science. Some people get euphoria and done don't, there is no relationship between someone diagnosed.
It is interesting on desktop linux ecosystem file pickers are not standalone binaries, but rather integrated into toolkits in a awkward way, this makes them hard to be replaced with custom ones or even called from scripts.
It's in the spirit of not wasting.
Very many Indian words that have exact meaning loose their meaning when they get translated to English.

A Rakshas is just someone blinded by the need to accumulate wealth and power, they may be kind but often take the wrong path.
That suggests that they are keeping it safe, not that they are not storing or using it.
Show HN: Java Scripting with Jeval
jeval allows you to execute Java code straight from the command line (same as you would do with perl -e, bash -c) as well as run Java scripts. It does not require you to write class body with main method and all boilerplate code (but you still can do it if you want).

jeval allows you to include dependencies to any artifacts from Maven repository into the Java script files without need to create pom.xml or build.gradle for that.

For example here is a simple script yaml.java which declares dependency on snakeyaml library and uses it:

//dependency org.yaml:snakeyaml:1.21
import org.yaml.snakeyaml.*;
Yaml yaml = new Yaml();
String document = "\n- Hesperiidae\n- Papilionidae\n- Apatelodidae\n- Epiplemidae";
List list = (List) yaml.load(document);
System.out.println(list);

https://github.com/lambdaprime/jeval
This seems to be an external HDMI to MIPI converter based on a custom ASIC (with a link to a different FPGA-based implementation).

Since the Raspberry Pi already has a MIPI-DSI interface on board, this seems unnecessary. However, AFAIK the Raspberry MIPI-DSI interface only supports a small number of "official" LC displays and there is no documentation how to configure the interface so other displays can be used.

It's time for a really open computer with open documentation and driver code down to the last bit. RISC-V won't help here, since all the peripherals on a typical RISC-V SoC are also proprietary.
We have 7 billion people now that all need food and shelter. I absolutely oppose any action to bring that number down.

If we do nothing about global heating, that number may drop to 1 billion regardless through tremendous suffering.
Some of us actually have agents which represent us to recruiters.
Tether Chain Swap Fraud – Non Existent Burns
get a mechanical pencil and use all the lead?
I like this article, it has interactive simulations. It is a bit long however: https://meltingasphalt.com/interactive/going-critical/