skysight-inc/HackerNews huggingface dataset:
Author here.

> replace command-tab instead of adding control-tab

Currently there is no UI to customize hotkeys. I have a ticket to frame work that can be done here: https://github.com/lwouis/alt-tab-macos/issues/8

However, you can switch keys in the code and get this working today. In `Application.swift` at line 16, replace

let metaKey = 0x3B
let metaModifierFlag: NSEvent.ModifierFlags = .control

with

let metaKey = 55
let metaModifierFlag: NSEvent.ModifierFlags = .command

I tested, and it overrides the default macOS app-switcher, so no need to use something like Karabineer Elements which is what I use to disable the default app-switcher in addition to add the new control-tab hotkey shortcut.

> I do prefer the command-tab, hold command, hit Q or M or H, continue holding command and hitting tab again

You can already hit control-tab then hold, and cycle with tab or shift-tab. What's missing is the option to hit Q/M/H.

I have a ticket to frame work that can be done here, inspired by the creative UI of another app called WindowSwitcher: https://github.com/lwouis/alt-tab-macos/issues/9
Yeah tell that to brexiteers
Researchers find just two plague strains wiped out 30%-60% of Europe
1. Redundancy is not necessarily bad. Just learn to recognize the balance (that’s where seniority comes in) 2. LOC is a pretty outdated measure of productivity (forget about estimations of deliverability). It’s fun to watch tge stats but in no way LOC stats can tell you about productivity, performance, or reliability.
I have three children too, I kind of like timing sales. It also makes me think creatively about meals: "Oh, London broil cuts are on sale, maybe I'll make beef stew" etc. I also hate having to make multiple grocery store stops. Totally comes down to preference though, I freely admit.
These hashes also reveal domain names. Most users visit many URLs on a small set of domains. If a user requests 1000 hashes that all can map to Reddit, it's very likely that the user is indeed reading Reddit. Another way to look at it: if the same person appears in a crowd on hundreds of photos, it's trivial to notice that there is something special about this person, even though in all cases the person was k-anonymous.
I did it. Can confirm. My legs stopped working and it was a sensation like I’ve never felt before, but literally everyone was fine. And everyone did it.
An assembly-level read or write will always be atomic anyway, and in fact a relaxed atomic read/write typically compiles down to the exact same assembly as a normal read/write. However, there are compiler optimizations that can break atomicity, such as splitting accesses into multiple parts; using (relaxed) atomics instructs the compiler not to perform those optimizations.
Why are Canadian cheese prices so high?
In game theory, we call this a "precommitment mechanism" [1]. I have to say that, before reading this comment and viewing it through incentives, marriage did seem to me as an outdated institution.

[1] https://en.wikipedia.org/wiki/Precommitment
i don't wanna be that guy but the demo app is almost 300MB - for a note app. for comparison, vscode is 227 MB
the homogenisation is the problem. and it's hard to find non-homogenised milk in the US.
What's more interesting to me is the fact that people are still sticking to this idea of expressing one's intelligence with one number. Just one. Using IQ as the degree of intelligence is like using one's weight or blood pressure as the degree of healthiness. It may be an important metrics, but only one of million variables.
American milk also has anti-biotics and bovine growth hormone in it. I was fairly disappointed when they recently started allowing American milk to be sold here. Luckily it has to be labelled.
And if a Chinese airplane manufacturer out-competes a US one, causing it to fail, its workers go unemployed, weakening the US economy, and making it more dependent on China?

How long does an average company last, if it gives away all its IP and know-how? Why should the result differ on the scale of countries? I assumed these dynamics are obvious to everyone.
You have to have added the other email addresses from your Gmail web page first, under Settings, Accounts and Import, Send Mail As. It will ask you for the server address and credentials etc.

Then when you compose a message from either the website or the Android app, your From address is a dropdown containing the addresses you set up.

https://support.google.com/mail/answer/22370?hl=en
The only software I've written in Python that's been sold was written against 2.5 and has long been out of my control. We sold the source to the sole client (was a financial services migration tool for a very specific domain during a joint venture; I can't divulge anymore).

I know longer work at the company, but i'd wager that the client wouldnt have been willing to pay $500/hr (the rate my company billed me out at for support, features, etc), 10 years ago, to have me port the app and the handful of 3rd party dependencies to Python 3.

Moving from 2 to 3 took a while. I moved once the libs I used moved. For an "app" developer, the migration was easy once my dependencies were ready. Most of the changes were straightforward. The print statement becoming a function was easy. str becoming Unicode and introducing bytes has been a headache. Still having issues time to time with text encoding, especially with encoded text dealing with SQL Server (looking at the default CP-1252 for US English). Another one that still trips me up is is needing a "newline=''" argument when opening as CSV file.

That said, I love Python 3. Ita mostly about forgetting/relearning old syntax, which is going to happen for anything youve been using for decades and undergoes a significant change. I started with Python over 15 years ago, at version 2.2, for reference.
> The 'dark path' for most seems to be an ironic world view, which leads to a sarcastic mindset and ultimately nihilism if not contained.

This is a perfectly fine coping mechanism for big-picture stuff (environ. protection, climate change, genotoxic materials, migration, politics); it only becomes highly problematic when you use it as the coping mechanism for everything.

> Stoicism

Depending on the construction stoicism can come quite close to nihilistic world views, actually.
"If you're keeping up, you either already had a foundation or you're self-teaching. The actual school is not effective at teaching. People are going outside to get what they need."

That sounds like a lot of technical education.

More than maybe any other discipline, classes have such a wide curve of expertise, they become almost impossible to teach to everyone at once.

On the need for outside study, I guess I've heard similar things about, of all things, tough music schools. You just end up in a race to see who can practice every waking hour.

Maybe there's an analogy there. We talk about computer science in terms of concepts and problem solving, but undersell how much muscle memory is involved. There is a ton of training your brain to reflexively handle certain common problems.
These things would have to be at least as safe as cars, and I just don't see how that's possible. They can't glide like an unpowered plane; anything goes wrong and you're immediately plummeting to your death.
The old trope is that there is a "fine line between genius and insanity". I was testing with above average IQ at a young age (6th grade, 11yrs old) of 160 or in that range many times since. But I have noticed that many of my family members, friends, associates and coworkers seem to look at my behavior with skew towards that bias. In my view, I think this idea that genius and insanity or abnormal behavior has been so ingrained in peoples minds that when they meet someone with elevated IQ they look for indicators to support their bias (bias confirmation). I think I am no weirder than other people, I know several people who clearly do not have elevated IQ's and they seem to "get away with" various strange behaviors but because they are "normal" it goes without notice. In my experience, once you are labeled with the big brain you come under more scrutiny than norms.
Also, I don't think Mensa is a good sample, my experience is that people who seek the big brain recognition through things like Mensa may also have personality traits that trend towards those types of disorders. A true double blind study would need to be peer reviewed before I would lend any credence to this hypothesis.
ctrl + `
> Wait, so the UK isn't part of the West now? Since when?

I didn't say that. I am pointing out America is even more extreme about this than other traditionally western nations.

> Have you not looked at Japan? Shonen there has to be censored to be shown in the states. No showing Goku with a hole through his chest for American kids!

Weird how no one had effective guns until Super, but sure. Of course in the narrative of DBZ no one could die, so it's a bit different...

> And violent video games are popular practically the world over these days. It's true that America makes a large number of them, but it's hardly specific to the US, and certainly playing them isn't. To suggest otherwise is to betray deep ignorance on the subject.

> It's true that America makes a large number of them, but it's hardly specific to the US, and certainly playing them isn't.

I can't even work out what you mean by this. I didn't say they don't exist, just that alternatives do.

It's pretty clear to me you're having a conversation with me about something other than what I said. I'm not sure how I can fix that since your only positive statements are misrepresenting what I said.

So, good luck and good bye.
Costco rolls their own brand for things so it's generally the closest equivalent. Paper cups was one thing I particularly remember ticked me off, because their price per 100 was like 20% higher for no dicernible difference.
I Created a $18K/Month Referral Marketing Software
The animation comparing the helical engine with same mass vs with relativistic masses was super helpful, I wish more articles that went into physics had these kinds of simple illustrations.

>“I know that it risks being right up there with the EM drive and cold fusion,” he says. “But you have to be prepared to be embarrassed. It is very difficult to invent something that is new under the sun and actually works.”

This was actually my favourite part of the article and a beautiful reminder that it's OK to fail.
Yeah... this kinda seems like an overly sensationalized piece that's just much ado about nothing. From what the article claims vs. what Apple responded with, it sounds like they're interpreting Apple's statement in the most negative manner possible. What's probably actually happening, if Apple is being honest about how similar it is to Google's use of the prefixes, is that the prefixes are sent to Google/Tencent and a bulk list is sent back. Safari checks the list against the actual hash completely locally and blocks whatever matches the list.

So, for example, if someone wanted to visit freehongkong.com with their language set to mainland Chinese, Safari would hash the URL which would give something like "ba7816bf 8f01cfea 414140de 5dae2223 b00361a3 96177a9c b410ff61 f20015ad" and then Google/Tencent would send back every hash and the URL that matches only "ba7816bf" which could be in the order of thousands of URL, or even potentially millions. Safari would then check the URLs that are returned to see which one is the actual matching URL and it blocks the content in the browser without sending any more information to Google/Tencent.

Unless Tencent keeps an active profile and uses machine-learning to create models for every single user of its systems and attempts to tie those models to IP addresses that are assumed to be static, this still maintains complete privacy for the end user. I fail to see how this method is in any way equivalent to what the article is claiming.
We Built Proposify and Grew to $7M ARR
Does violate the laws of physics, not may. No need to give quack ideas unmerited deference.
One of the features I'm looking forward to using is the kwdargs support in dataclasses. Honestly, find it so much more useful and intuitive than the 3.7 positional only.
I often spend an hour or two cooking in the evening for my family. It's tough to find things which are cheap, healthy, and convenient to prepare.

Sandwiches are fine but not as a large percentage of our diet.
Have to mention Apetor

https://www.youtube.com/watch?v=GmIoZxdwLTY

There are a bunch more videos more or less just like that.
> Not getting married or having an overly aggressive lopsided prenup can result in enormous power imbalances that inhibit having the true partnership which is necessary for a successful relationship.

I agree with this --If a prenup is creating/enforcing a large power imbalance, at least one (likely both) people need to seriously consider what they're getting into.

I disagree with the rest of the things you said after that though:

> true partnership which is necessary for a successful relationship

> Unless your relationship never was and never is intended to be a partnership between equals. But if so you owe it to yourself and your partner to be clear about that.

> to the purpose of your relationship in the first place.

This argument seems like it is very subjective. To be fair I do think most societies have generally gotten to consensus on what successful relationships looks like in broad strokes, but I think that kind of consensus falls apart when you really start looking closely at it. Even simple things like "how is the burden of child rearing split" start to create huge fractures.

The phrase "partnership between equals" does not preclude prenups -- the details of the partnership are between the people entering into it. It's quite possibly extremely naive but ideally both people have a clear understanding of the nature of the relationship and agree on the future enough to put that into written terms they agree with. If someone is creating a lopsided prenup in an attempt to hoard wealth on one side because of a lack of trust... Maybe you shouldn't bind yourself to that particular person for life?

People get into relationships for lots of reasons. Some cultures pair people up for social advancement, others try to pair for love, others pair with a sense of duty/obligation/necessity, and some cultures don't pair up at all.

Marriage is a covenant -- saying/writing what you expect down is the best way to make sure another person knows it, whether finances are involved or not. I'd say a prenup is a really good indicator to both sides of the potential power imbalance -- just like a proposal, it shouldn't be a surprise.
This was sort of my experience with Mensa. Their three purposes supposedly are:

1. to identify and to foster human intelligence for the benefit of humanity;

2. to encourage research into the nature, characteristics, and uses of intelligence;

3. and to provide a stimulating intellectual and social environment for its members.

It's not entirely clear to me how anything they do benefits humanity (1), the "nature, characteristics, and uses of intelligence" seem to revolve around games for them which is a pretty meaningless measure of any form of intelligence I care about (2) and while I'm not a member so I can't say whether it's stimulating to them, I can certainly say that all the materials I've come across from Mensa have soon bored me(3). So from where I sit, Mensa fails on two of their purposes, and only succeeds in their third because of a technicality in their wording.
Have you tried thunks using async/await? IMO its all the benefits of being easy to read and understand without having to learn a totally new concept (generators).
More proof that Indian e-commerce festive discounts are a sham
This post is kind of offensive to me, as if we're all corporate slaves who skip """proper""" lunch for "productivity". Most of us eat that way even during weekends and holidays, so it's clearly not true. I wouldn't eat elaborate meals at lunchtime even if I never had to work at all.

The last thing we need is people in other countries who have nothing to do with us telling us our food culture isn't "proper".
> Just remember they moved to Ultra High Pasteurization because 2 weeks was simply not long enough.

That wasn't the idea. It was supposed to sit unrefrigerated on normal shelves. They haven't had great success with the product in the US as people don't trust non-refrigerated milk.
Something I've found helpful is to make a list every day of the tasks you completed, and circle anything you could've delegated. This is then an iterative process to help you improve your delegation skills, which should allow you to focus specifically on business tasks that provide the most leverage.
How do smaller groccery shops catalogue all their items. I need to access it
Hey,
How do smaller groccery shops catalog all their items and how would I go about accessing it.
Except that the problem with that is that these hashes likely won't reveal domain names.

For example, the hash for reddit.com/r/gifs would be different from reddit.com/r/funny and so the prefixes would be different for both of them. Unless the requested hashes are saved for every single user, it would be way too computationally expensive for them to get anything useful out of that. Not to mention the fact that hashes would return the same prefix for any thousands of URLs. Narrowing down which domains those URLs are rooted on would be incredibly hard.
Good to hear, I was thinking about using Vue for a new project, but now decided to give Web Components (LitElement) a try. I didn't really need all the SPA functionality anyway, just wanted small and fast components.
Crookes Radiometer
If they're using the same method that they use with Google, then this is not the case: https://developers.google.com/safe-browsing/v4/urls-hashing

The URLs are canonicalized first and then the full URL is hashed.
See, cereal is one area I hated Costco for. Very little selection, first off. And while their retail price was cheaper than local supermarket retail, the brands at local stores all rotate sales about once a month and I can get 40% to 60% (and often a free gallon of milk) over a much larger selection. So I stock up then, which is what I'd have no choice but to do buying in bulk from Costco. I'll admit I borrow the in-laws Costco card now and again to buy their whole briskets.
Look more closely at Latin gendering rules, not romance language gendering rules. In Latin, gender comes from the suffix.

It's typically carried over in suffixes from Latin: Words ending in "a" are feminine, words ending in "um" are masculine.

Or, look through common English names and see how often they follow Latin gender suffixes. Adam / Ada is an example. ("Am" is a male suffix.)
I'm not sure you're correct about solarisation. The reversal of tone found in solarisation is due to overexposure, see https://en.wikipedia.org/wiki/Solarization_(photography)

Solarisation would be a likely outcome of a too slow shutter when photographing the nuclear explosion on typical film stocks without sufficient filtering. It was at least as important to achieve sub-millisecond shutter speed as it was to properly expose the film.

One thing that does typically affect film, either with too short or too long exposures is reciprocity failure https://en.wikipedia.org/wiki/Reciprocity_(photography)#Reci... so perhaps that's what you're thinking of. It's hard to know how relevant that is to this discussion. I'm not sure it was a consideration given how energetic a nuclear explosion is, and reciprocity failure is found when there are not enough photons to convert the silver halides into a latent image.

I think you're on the right track with Sunny 16, but why not use this method to take photos of the sun itself? I've seen 16 stops recommended as the minimum for solar filtering, so that puts it in the range of standard ISO and f-stops, but without filtering, a high shutter speed like with the Kerr cell is possible.
Definitely not going to disagree with usage being frequent, but I wouldn't say Ruby is well-supported internally with respect to IDE support
All the milk that are sold at my grocery store, no matter the size, is ultra-pasteurized. It's not unusual at all, in my experience. They sell common East Coast brands like Organic Valley.

(According to various sources I can find when googling this, there's no difference between ultra-pasteurized and UHT.)
I think it's beneficial to see it as: secession (in the US) became definitively illegal because of the Civil War.

It was specifically left out of the Constitution, for a few complex reasons, but from a de facto / de jure perspective, was ambiguous at best, until decided by war.
Doing command-tab, then selected an app icon, then pressing down; this UX is a drill-down approach where you already know the window belongs to a particular app, and you drill-down from there.

I personally prefer the Windows approach where I'm shown all windows at once, in chronological fashion, and can use my performant human vision system to quickly identify the window I'm looking for. I believe that visual pattern matching beats other approaches such as thinking about which app is involved, typing first letters, etc.

To clarify, I think that if your flow if very static, then hotkeys for you apps (e.g. command+1 -> chrome, command+2 -> terminal) is pretty optimal. I would even buy one of those dedicated keypad like a supermarket/fast-food cashier would use. Direct access is best there.

But if your flow is more dymamic/organic; let's say you open a PDF, then work on something else, then want to focus on that PDF again; then I believe visual matching is best.

My opinion is not based on scientific studies though, it's just my own observation, so take it with a grain of salt.
I'd really like a way to refer to a variable in a outer scope (like global... but not just for global variables).
>A prefix of URL hash more or less gives away the site you are visiting, given a large enough database.

That database would be ridiculously huge. If they truly are using the same method for Tencent as they are for Google, the prefix has would give you several thousand different domains potentially. According to Google's docs, the full URL is hashed, not just the domain. (https://developers.google.com/safe-browsing/v4/urls-hashing)
You can be as into for better or for worse as you want, but it doesn't matter if your spouse isn't.
Yes, but to make up those lower profits Acme Inc. could just reduce compensation for its employees. And I think that is what TheRealDunkirk was trying to say. That when corporate taxes are levied, eventually it is the employees who end up taking the burden.
At this point it's about as true as G not being evil.

Which is fine by me, it was a silly idea to begin with. What you really want is separated concerns that compose well, obvious here doesn't mean anything over there.
Thank you! I didn't know you guys were even attempting to tackle this problem.

Looking forward to seeing more improvements in this area.
Part of why I only find React+Redux tolerable with TypeScript. Too much bouncing around, too many files open, otherwise. And that's before you layer any other crap on top of that (Saga and such). TypeScript makes it feel as simple as it actually is.
Interesting! Thanks for the share!
Scientists pinpoint cause of harmful dendrites and whiskers in lithium batteries
unpaywalled full version: https://web.archive.org/web/20170602064548/https://theparisr...

(psst...I encourage people to subscribe for access, but most older Paris Review interviews are accessible through archive.org.)
Anyone have any idea if someone can just install the old version in their home directory and enjoy the bypass?
surely this is pretty easy to debunk?
So it gains mass while you accelerate it.
But the reaction force required to accelerate it as it gains mass increases at exactly the same time in the opposite direction.
f=ma holds just the same if you change the mass as when you change the force.