skysight-inc/HackerNews huggingface dataset:
OT: I have a question about Neanderthals and other non-modern humans that early modern humans interbred with.

People of Asian or European ancestry have 1-2% of their DNA from Neanderthals. People of African ancestry usually have no Neanderthal DNA.

But consider the identical ancestor point [1] (IAP) for humans. The IAP is the most recent point at which each individual then alive either (1) has zero now living descendants or (2) every now living person is one of their descendants.

Most estimates put the human IAP at less than 20k years ago (some estimates much less).

Neanderthals went extinct around 35k-50k years ago.

I have Neanderthal DNA (23andMe tells me I have 240 markers with at least one Neanderthal variant, about average for 23andMe customers). Therefore I have a Neanderthal ancestor who must have lived 35k or more years ago.

Unless the estimates of the human IAP are so far off that it was actually before my Neanderthal ancestor lived, I therefore must have an ancestor who was alive at the human IAP and who had Neanderthal DNA.

Since that ancestor of mine has at least one living descendant (me) and was alive at the IAP, everyone now alive must be a descendant of theirs. Thus I can conclude that everyone alive now has Neanderthal ancestry--including all those Africans with no Neanderthal DNA.

This at first seems contradictory, so what's the deal?

Is it simply that humans have about 30k genes, your children each only get half of your genes, and so after about 16 generations it is possible for someone to be a descendant of yours but not have any genes that came from you?

[1] https://en.wikipedia.org/wiki/Identical_ancestors_point
I was hoping this might be a document to send to some colleagues who are trying to get their feet wet in the Linux world.

I cannot say if it is because the anti-adblock let's me read the page - so not interested - thank you.
This is a trivial and obvious implication of Turing completeness. Why do you even bother making the point?

With the right amount of indirection/abstraction you can implement everything in Assembly.

But you don't. Because you like all the heavy lifting the language does for you.

First Class citizens is what we are actually interested in when we talk about programming language paradigm-choices.

https://en.wikipedia.org/wiki/First-class_citizen
Honestly, paying for API might be a better monetization strategy then just actively shitting on their users.
Sabine Hossenfelder: How Artificial Intelligence Reads Minds
The US is just crazy. This is especially after I've seen the people who've stormed the Capitol with Qanon t-shirts.

We're practicaly neighbours with the Mormon mission here but they seem all right. Friendly, very clean, tall. It's true that they're all white.
„Doesn‘t familiarize themselves with the UI, complains about not being familiar with it“. That‘s almost meme-ish, to be honest.

What‘s a discoverable UI? Does it count to have options in a context menu? That’s very discoverable to someone like me, much less for some of my less computer-savvy relatives. A toolbar with unlabeled icons is not that different in that regard. I think it really boils down to how familiar someone is with the UI already and half of the solution is being willing to familiarize themselves with it.
you can just put in any random email and it works, e.g. asdflkjasdfljasdlfjasdf@gmail.com
No. There is no reason for Teams to be the dog that it is other than it being terribly written.
The non-monetized user would still give content and attention to reddit. It seems to me that reddit moved from growth to monetization / exploitation.
I used to have a similar attitude - most typically applied to rules & laws, etc. “If you don’t like the rule, go run for office and get the law changed.”

But then I realized that’s just a cop out. A lot of structures and systems are in place specifically to make it difficult for people to change things and specifically to maintain monopolies.

Nobody’s going to lobby government to resolve this issue. That’s the point. Real estate companies are super happy to keep the status quo.

Sometimes you have to break some rules to innovate. There is a line of course (where you draw it depends on your own ethical code). But I certainly wouldn’t put “scraping real estate data” behind the line.
From early stage startup to engineering management
Ask HN: What backend metrics system do you use in 2021?
Hey HN,

My app is starting to get a ton of users using it very quickly and I am currently using raw logs from Heroku to track usage but there isn't enough to know what my users are doing on my app.

An example is that sometimes I deal with payment disputes from my users and have no records to fight against it.

Is there a bootstrapper friendly metrics system that collects this sort of information?

If you roll your own system for this, how did you do it and what do you use?

Thanks.
Qt is about as ideal as you can get for cross platform apps. Unfortunately the licensing is an impediment for a lot of usecases.
I have a Trello board with a "To read" column (along with various other columns for items in my TODO list). If I find an interesting page that I don't have time to read right now, it goes into that column.

The crucial thing for me is to recognise that I won't read everything that goes into that column and that's ok.
Teddit.net or Apollo are the only ways to use Reddit without goong crazy.
Previous HN discussion on the topic:

https://news.ycombinator.com/item?id=27559832

That's true regarding 'residing' in home bases. I still remember how much personalities each different forums of specific interests have, but that's mostly filled by subreddits now.
Isn't that basically Medium?
Hey, thanks for sharing this info, and your suggestion of virtualizing.

Given the risk you mentioned, it sounds tricky to commission without finding one of the team who had worked on the device previously and knew they could have it wrapped quickly. Or someone with a shared interest in getting it done.

At the risk of being told to Google it ... may I ask you a little more about your suggestion of 'virtualizing' the driver?

Would this involve running another full OS within the OS? Like, running a Mojave install from within a Big Sur install? VMWare type thing?

Latency is always a thing with audio routing, might this be a bit resource-intensive / slow?

Would there be implications with the M1?

Any hints welcome. Thanks
You’re right. I thought these would apply internationally but it seems like it’s only if one of the party is a US citizen: https://www.jdsupra.com/post/contentViewerEmbed.aspx?fid=f66...

At least for ofac
If I can't access it, I can't share the posts nor will I click on ads. So it's not a clear easy win for them.
Here's how reddit's business model probably works: you have power users which create or submit the content and write the witty comments and then you have the lurkers which just browse. what reddit is trying to monetize is the interaction with the latter user group: comments provide little space to promote ads, so most of them are hidden by default. instead they promote lots of posts with images interspersed with ads. the power users on the other hand use dedicated apps and have a custom interface anyway. they are (so far) not really bothered by the changes and continue to create and submit content.
I'd like to see an independent check of this claim, like 50% memory reduction, but under what circumstances?

If that's at startup when the app doesn't consume a huge amount of memory that's not a particularly interesting claim.

If that's after hours of app usage when the previous Electron app used to consume let's say 1GB that's really impressive, but if the app is consuming 1GB of memory it's because the app itself is allocating a huge amount of stuff in the heap, you can't just swap browser engine under the hood and cut that in half with no downsides, otherwise every browser maker would do just that.
In most languages you will lack the Monad type and helper functions, and you'll have available many shortcuts that undermine efforts to set up monadic expressions.

So something can behave similarly to a monad, but the type systems don't stop you self-sabotaging your code or misunderstanding good composition.

Best way to learn is to learn Haskell deliberately. Better than Go, the language forces you to compose better code, and even learn the values of FP.

If one is uninterested in learning CS or expanding one's toolbelt, it'll take some years until industry catches up.
>What's the underlying goal you want to achieve

Performance, small bundle sizes and native UI widgets. And judging by all of the Electron apps failing in these departments, I guess you really do need native apps.
> This is one of the reasons I wish there was more bigger European companies. Then we wouldn't need to deal with the bullshit US sanctions and cancel culture.

I'm afraid you'd simply get wound up in their own national policy and need to peep through keyholes.

Pretty wild on github to see national policy kinks worm their way through the system. What happens if it's hosted in a neutral country?
I have the same feeling after spending a few years with Haskell, StandardML, Agda, Idris, Coq, etc.

One trick I've found very useful is to realise that Maybe (AKA Option) can be though of as "a list with at most one element". Dynamic languages usually have some notion of list/array, which we can use as if it were a Maybe/Option type; e.g. we can follow a 'parse, don't validate' approach by wrapping a "parsed" result in a list, and returning an empty list otherwise. This allows us to use their existing 'map', 'filter', etc. too ;)

(This is explored in more detail, including links to logic programming, in https://link.springer.com/chapter/10.1007%2F3-540-15975-4_33 )

If we want to keep track of useful error messages, I've found Scala's "Try" type to be useful ('Try[T]' is isomorphic to 'Either Throwable T'). Annoyingly, built-in sum type; the closest thing is usually a tagged pair like '[true, myFoo]'/'[false, myException]', which is pretty naff.
Edit: apparently I’m misreading the traffic page and third party apps are not included. So disregard this paragraph. I really doubt they’ll kill API access. From the stats on my (medium sized) sub a full third of uniques (desktop and mobile combined) are from unofficial clients.

And that’s not to mention the number of near-essential bots used by many subs for community management.

Now, what they are doing is not putting new non-core features into the API, like chat and RPAN. But while that’s still irritating, it is a bit different than killing API access.
Concorde RC Model 1/6 scale
That's more than my living expenses for an entire year in Manhattan... wtf
I run and develop on the x64 versions of dotnet core 3.1 and dotnet 5 on my M1 Macbook Air every day and don't have problems. It runs via Rosetta 2 translation, and probably isn't as fast or memory efficient as it could be, but I don't have major issues and it runs a lot faster and keeps my mac cooler than if I try to run in Windows on ARM in Parallels.

I use VS for Mac 2019 (x64) and VS Code (arm64) for development work on a near daily basis.

That said, I tried installing the arm64 dotnet 6 preview and it broke the x64 versions I had installed and although I could debug/attach in VS Code, I could not get it to debug in VS for Mac 2019.

From what I understand, the issue is that the dotnet binary for x64 got replaced with the arm64 one. There is only one on the system at a time and the arm64 version doesn't know how to work with the x64 architecture sdks/runtime. There is some discussion and links to related issues in this GH issue: https://github.com/dotnet/sdk/issues/16896

Regarding SQL, I use the Docker Azure SQL Edge arm64 image and it works okay for most thing but doesn't support some of the more advanced features like full text search or spatial types.

For Database Projects (dacpac), Azure Data Studio with the Database Projects extension works okay for basic editing and deployment. However, it's not nearly as complete or refined as the database project edit/deploy experience in the Windows version of VS 2019. As far as I can tell it doesn't create new refactorlog entries for renamed objects and I can't figure out how to create a new deployment profile so I have to select the database connection every time I deploy.

I have been running the x64 build of dotnet 6 preview 4 and now preview 5 for a while and have not many issues. One thing that happened is that it broke the dacpac deploy in Azure Data Studio but there was a relatively simple workaround -- added a configuration setting in Azure Data Studio to override the dotnet SDK path to point to a folder where I had put dotnet 5.
If I understand correctly, Telegram has native apps on all platforms, and they are super fast and slick.
>I hate with a fiery, burning passion every site that attempts to do any kind of email validation beyond simply sending me an email and letting me click a link to verify my email exists.

Yet at the same time, that's the one important validation that infuriatingly many sites don't do.

I once lost a protracted argument with the US Department of Education who absolutely refused to stop sending me private personal financial aid and academic details of a complete stranger who mistakenly gave them a common outlook.com email address that I have. As far as I can tell, in their view, since the user had put in a valid email address, that was their email address, and just because it was my email address didn't mean I was authorized to have it removed from the account. I continue to receive the person's private information from the state, colleges, and predatory businesses.

In fact, the number of mistaken accounts that get linked with that email address is fascinating. Paypal UK apparently does not send email validation requests before associating email addresses with accounts. Nordstrom does not. Internal divisions of the North Carolina Department of Insurance does not. UK Revenue and Customs apparently does not. Many of the larger organizations that, even more infuriatingly, always send emails from noreply addresses, and give no other way of contacting them other than logging into your account.
CSGO and Overwatch come to mind. I watch a talk on the latter, how the devs transitioned and optimised their anticheat system.

It makes sense the cheat I wrote would run as admin. It's my PC after all. I also don't have access to the server in any meaningful way and modify other people's data, either. It's a good trade-off. Devs can also write arbitrarily good statistical analyses for the game. It's their responsibility.

The question is simple - is this person performing abnormally? Well, games gather tons of telemetry nowadays, and the harder-to-detect cheats like wallhacks or fluorescent player textures are also the least useful. I am a hard silver I in CSGO. With or without aids, when I see someone run around the corner, I'll duck and magdump. Any gold nova will overpower me either way.
I had not seen this, I'm definitely going to try it out. How often do changes made by Slack break it?
How does it keep forgetting? I just change that in settings and it’s never forgotten or reverted for me.
// These “kosher” phones designed to help haredim hide from the outside world are paid for by your tax dollars.

Would you feel comfortable saying in polite society "whenever you see one of these (insert race/group) talking on their Obama-phone, these are paid for by your tax dollars?"

Whatever your background, you are spewing vitriol that says much more about you than anyone else.
People pay for junk food all the time. Maybe internet companies are being too greedy and they are pricing themselves incorrectly.

Would you pay $2 USD for all of reddit for a year?
How many users does reddit have? It'd probably be a lot of money, but not super profitable. Hence they use adds because they won't shift on price.
As if Electron is the actual problem hay. I am forced to have this junk running on my work PC at all times. As far as I know, everyone hates it.

I only know a couple of people who like it and I definitely don't value their input since we disagree on pretty much everything

I know Discord is supposed to be for gamers but I've only used it for work and it's hands down the best thing out there
> No one forces this phone on them

If by "them" you mean religious community as a whole, this statement is true.

If by "them" you mean actual users, this statement is a lie

This kind of devices are forced on users by community leaders as a method of limiting access to independent information.
What advantages does a user account have over anonymous session ids? User accounts survive users clearing cookies, but I doubt users clear their cookies often enough for that to be a problem.
Sorry for this pedantic comment, but he is asking for signifiers not affordances. He wants affordances to be more perceptible. See Design of Everyday Things.
Doesn't Amazon have an API? Why everyone wants to scrape Amazon? Honest question.
It makes sense - there will be greater revenue for a few years maybe, in which time the team/product VP responsible would have been promoted. By the time the site culture/userbase dies (maybe in 5 years) these people would be long gone. Maybe even the higher management don't care about a timeline longer than 5 years tbh.
There's still a lot of Angular in there right now. Presumably standardizing on one stack will trim a not trivial amount of bloat out.
Unpoly 2.0
> > IME, people in dynamic languages almost never program this way, though—they prefer to use validation

I wonder how many people the author met.
Telegram's mac app is pretty good at least, but I don't think it's a serious contender for any 100+ seat company.
I've been using Android since the pre-release versions.

Every Google app has a different share UI. If I hit share in YouTube, the panels scrolls vertically. Google Drive's share looks different, but also shares vertically.

Google Chrome's share panel looks identical to Drive, but behaves completely differently.

So, I'd say that I'm very familiar with Android's UI - but I don't think Google is.
...assuming you don't cave and log in anyways.
> small bundle sizes

Space are not precious anymore. Nor is bandwidth.
I don't have a reddit account but some small subreddits are quite good. I use https://teddit.net/ on the desktop and RedReader from F-Droid. Teddit doesn't have infinte scroll and RedReader can be limited to how many are loaded each time and you have to press to load more. This way it's much easier to not doomscroll, there are far fewer dark patterns, it's lighter, less tracking. You can bookmark subreddits on a browser and pin them in RedReader. Subreddits also have RSS feeds although I wouldn't advise it for popular ones because of the amount of hits you'll get.
old.reddit.com is not mobile optimized at all, but still infinitely better than reddit.com. Alternatively, get one of the non-official apps (on Android I use rif).
Those are not the same. I'm referring to two problematic things with US companies: in one hand sanctions, in the other political censorship based on "woke" biais. Some French politicians got/are being canceled by Twitter and Facebook for their political opinions. This is a big problem for democracy.
So you are saying you cannot describe what a Monad is without the presense of a FP language?
Microsoft is a $2T company, I feel like they could afford to do it right.
> it's putting the collateral damage of these measures on the honest people to deter a few.

It's putting the collateral on _everyone_ to deter a few who have a substantial impact. It's completely different to DRM where there is no knock on impact to other legit customers.

> Some even keep running after you close the game.

They all do. If they don't, then the cheat just needs to run first.

> game developers can profit without having to design a game that is safe when dealing with untrusted clients.

This isn't about profit, and thinking it is is pushing your agenda. On the most extreme side you can just pixel stream a rendered video feed, but the latency is awful for many kinds of games. You inevitably need to let the client have some sort of say (I shot at X), and it _will_ be abused.
You forgot Alexa.com, for both the product and the name. (in mindshare at least)
Some may claim that laypeople like the new UI better, but anecdotally, among my social circle of non-techy people, that's not the case. In fact it is becoming something of a meme that Reddit is now impractical to use on mobile if you're not registered.
I wonder how related to Microsoft Pluton this change is. I suppose it's going to be very beneficial for Microsoft to have a security chip to rely on for all sorts of uses, beneficial to the end user or very much not. This change may or may not be a precursor. Personally, I've always disabled TPM on Windows machines — I've never seen any benefit in keeping it enabled and possibly letting applications use it against me, furthermore the decent-against-thefts-on-non-critical-devices BitLocker (in its GUI form, CLI doesn't need the registry fix) really wants you not to use a password to decrypt the drive.
Mercedes-Benz Customer Data Flies Out the Window
Still beginning and already shilling the language. What is it about Haskell that induces this fanboyism?
Says who? A Surface Laptop 4 comes with a 256 GB SSD. And the Surface Pro 7 comes with a 128 GB SSD.
What you’re describing is a hand-wavy caricature of the actual definition of Ponzi scheme. Let’s be precise in our language here, please.
Not really relevant but I need to vent.

Client dropped Slack for Teams. I hate it, and information exchange has dropped precipitously since everyone switched. So slow, half the time text markup doesn't work, and the UI is inconsistent depending on if you're typing in a chat, meeting, or channel.

Oh and none of the Slack logs were kept, losing years of information. (But that's not the fault of the Teams software)

I loathe Teams.
+1 to Jon Gjengset; I learned a lot about clearly explaining programming concepts and a theoretical problem!
I mostly read reddit on a desktop. Lots of people complain about the new UI, but I don't mind it. What I don't understand is how after all this time basic functionality of the site still doesn't work. Like, at least once a week you get logged out and can't log in or you click on a subreddit or a post and it won't load the content. I just don't understand how this is still going on and they are putting resources into avatar microtransactions and the live streaming. Does anyone use the live streaming stuff on reddit?
Desert plants are struggling in higher heat
Teams sucks.

It's user interface is unintuitive and messy. I find it difficult to find the context I want.

Search doesn't seem to work.

It takes a long time to load.

When it eventually loads, it pops itself up in front of whatever I've opened and started working on (whilst Teams is busy loading) to take all my keystrokes until I notice the keystrokes aren't showing up in the program I was already using - I've seen at least one person's password entered into a chat session because of Teams "grabbing the front".

And, finally, Teams has taken the initiative to redefine "full screen" such that even that unambiguous terminology is now meaningless. Full screen now means "zoom in, just a little bit". Fuck you Teams.

Screen sharing / video conferencing works fine, however. Except the full screen thing, so even the decent bit has a large caveat.

My apologies for the outburst, but I had to get it off my chest. Teams fucking sucks.
Embedded programming is such a different world than web backend stuff. I don't think I ever had a Ruby program not work after moving it to a different type of machine, let alone that I spend any time at all thinking about endianness these days.

(OK, it happened 1 time: at a previous workplace we created a docker image on CI which compiled some C extensions for a gem. The CI machine had some AVX instructions that the production machines did not and they got included in the object files, which led to a crash at runtime. This was easily solved by recompiling on the target infra.)