skysight-inc/HackerNews huggingface dataset:
Easy. https://repl.it was made for exactly your purpose, and even allows multiplayer editing like a google sheet.

It’s free, it’s hosted for free, and you don’t even need a domain, unless you are unhappy with the random generated one you get on the site:)
I looked into Nomad, did not understand much. I am pretty OK with docker and docker-compose, me and my team use docker to develop data workflows in python locally. So out of Docker I am much less comfortable. For instance, would JupyterHub for Kubernetes run on Nomad?

https://zero-to-jupyterhub.readthedocs.io/en/latest/customiz...
A nitpick: The Mac mini doesn’t have an external power brick right? So this isn’t really smaller than a Mac mini, it just moves the power supply outside the computer.

I like what Purism is doing in regard to disabling the Intel ME and having more open source boot components, but there’s something about the company that rubs me the wrong way (especially with the continual overpromising on the Librem 5, and really, releasing it in its current state at all).
Agreed.

I have a google account, but I only use it for signins to places I could easily create other means of signing in.

If its for a place I know I want to always have access to and never have to worry about re-creating then I use my personal email.

Google SSO is a convenience only. The world will go on without google and you can certainly use the internet without having a google accout
Just out of curiosity, does anyone have similar experience or have seen reports from people being banned from outlook.com in a similar fashion (random bans for no reason)?
Note that Rust and Go programs differ in a seemingly insignificant, but actually important detail.

Rust does this

next_dist = std::cmp::min(
dist_if_substitute,
std::cmp::min(dist_if_insert, dist_if_delete),
);

Go does this

nextDist = min(
distIfDelete,
min(distIfInsert, distIfSubstitute)
)

The order of minimums is important for this dynamic programming loop. If I change Rust version to take minimums in the same order (swapping substitute and delete), runtime drops from 1.878696288 to 1.579639363.

I haven't investigated this, but I would guess that this is the same effect I've observed in

* https://matklad.github.io/2017/03/12/min-of-three.html

* https://matklad.github.io/2017/03/18/min-of-three-part-2.htm...

(reposting my comment from reddit, as it's a rather unexpected observation)
Nice yea I would agree with the vast majority of this, only thing I would add is that Adam/gradient methods are still useful in a graphical model e.g. to get a MAP estimate (and then you can get a rough posterior estimate using variational methods or Laplace approximation once you find the MAP). But I agree I wasn’t clear about what I mean when I say graphical models since I think most people would understand graphical models to mean a full MCMC sampling of the posterior and marginalization over hyperparameters. I would say it’s useful to understand why people do that and why that is useful, but many times that is (1) overkill and (2) inspires overconfidence in the result because once we marginalize over our prior distribution people tend to forget that our prior may have been a complete fudge. I just mean graphical models as a tool for model building, understanding how different models relate to one another, and as a recipe for deriving a loss function.
I'm generally an FP advocate but F# on the CLR has always been an uphill battle in terms of development of the language (especially lately) and providing a compelling case to outsiders to spend resources on F# over C#.
I'm glad they shrunk the image to make space for the HUGE documentation link.
I like the idea but I think it's applied in the wrong end of the stack. Learning that z-index requires a defined position value is just part of learning CSS, however frustrating that may be. The answer to the question “How do I make a form like this?” is one that involves the pros/cons of using flex or grid or floats or tables, class name hierarchy, style inheritance, etc. Instead, what we have are junior devs thinking "I know how to do this with Material UI but I've never done it from scratch" so they search for 'booking bar layout' and only learn how to tweak other people's code and not have the confidence in writing their own. What's worse is that this tool is further encouraging devs to reverse-engineer first and learn later, rather than learning as you engineer.
I misread this as: "I recovered a lost email from my client’s memory". It made me think of the Black Mirror episode 'Crocodile', and I was quite amazed. Then I saw 'email' client... haha
Ok, the basic question: what is dom and cod and why does this article spend the time explaining the basic concepts but never gives a definition of the only obviously unknown concept?
There are many managed services, which is great, but how does this work when your storage is somewhere else? For instance I might decide to put the storage (postgres and minio) on a cheap Hetzner dedicated server, how would this work with EKS? I am especially trying to understand doing analytics and ML with dask.distributed. I think running compute on managed Kubernetes with storage inside another server could (hybrid?) should be ok, but I haven't figured this part yet.
Nice catch, thanks for pointing this out. I've updated the cache initialization to use `len(targetChars)` rather than `len(target)`:

cache := make([]int, len(targetChars)+1)
for i := 0; i < len(targetChars)+1; i++ {
cache[i] = i
}

AFAIK this makes them equivalent (fingers crossed). It seems to not have made much of a difference (-0.03s)
AIUI that's only if you "factory reset" from outside the installed OS. You can explicitly remove the existing account from your device, and I think the OS-level "factory reset" function actually does this for you.
If you've cloned your repos you've already got your most important data (except issues, wiki, and releases, which may be unused or non-critical).
Interesting point, that hadn't occurred to me. Luckily that won't be a problem for the other parts. I updated it to III which hopefully should make it a little more clear. The title is so long already!
It might be worth talking to the folks at https://reclaimhosting.com/ or https://neocities.org/ (they might do a package deal for a bunch of student sites if the free thing with a subdomain isn't enough. But as much as I always advocate for having your own domain, for young students getting started a subdomain is probably fine)
I recommend multiple Google accounts. One per service or device.
Nvidia’s top scientist develops open-source ventilator
I had a class that was even more intense, CSC324H at the University of Toronto. We learned Scheme emphasizing on higher-order functions, ML emphasizing on static typing, Haskell emphasizing on lazy evaluation, and Prolog emphasizing on {Horn clauses, unification, backtracking}. All in the span of a 12-week semester.
It seems like humans are going to launch into orbit from America again
GitHub is also much newer. Microsoft, its parent company, isn’t all that better as well.

I think there were OneDrive-triggered killing spree at some point when they made backup to it more or less silent and offended by what people were “uploading to website”
> I generally only tackle learning new things if it provides me immediate value to do so.

In general I agree with you, but I think this is taking it a bit too far. My journey was similar, except PHP was my starting language and I was doing frontend (so HTML+CSS+JS) at the same time.

But, now I'm doing Clojure full-time. But not until I spent 2-3 years on-off learning it. It wasn't until 1.5 year ago I actually sat down and started writing things in Clojure.

But if I had the "only if it provides me immediate value" mindset, I would never have learned Clojure. It's not until now I'm more productive than I ever been, but that required a bit of uphill fighting.

But I'm so glad I stuck with it, now I can't imagine programming in something else. Which has ruined me a bit, but I'm happy with that.
I wonder what would happen if Apple would ban my account. My iDevices will become useless bricks?
I think if your customer representative doesn't want to connect with the customer, you should fire them and get a new one.

Contrary to whatever business model motivated that comment, the entire point of the business is to encourage customers to return. Its not the private living room of the barrista where they share their weekend with the counter staff while ignoring the line, the tables needing bussing, the overflowing trash.

The personnel are to attend to the business 100% of the time they are being paid to do so. That includes chatting up the customers, deflecting flirting, asking about preferences and generally making the customer feel at home.

Don't like all that? Get a job hauling trash or digging ditches.
Google is known to trace and connect those and applying bans to all of them, so this isn't necessarily helping.
> There are no mainstream alt-coin OTC desks

That’s completely false. Circle Trade did like 30 alts including DOGE. That’s where all the money is for OTC as BTC has razor thin margins.
Isn't that in itself against the TOS?
Most of us don’t.
Making Rust As Fast As It Can Go
Sorry, this is the third part of a series. I think I said what those were in the first part but I'm not sure

dom and cod are the domain and codomain of a morphism. They are functions that given a morphism will return the object at the head or tail of the morphism.

I don't think that these articles are a very good self contained explanation of category theory. At the moment, I've been aiming at a supplement written in concrete python to something more thorough.
> Numerous trials investigating similar hypotheses risk duplication of effort, and droves of research papers have been rushed to preprint servers, essentially outsourcing peer review to practicing physicians and journalists.

I’m curious about this point. Often we have the opposite problem, that we can’t get anyone to replicate studies with strong looking but potentially specious results. Isn’t perhaps a small amount of duplication of effort a good thing, especially if studies are rushing and letting standards slip a little? Aside from coordinating and not using too much of the funding to investigate a particular hypothesis, what are the other reasons to avoid duplication of effort?
A lot of these differences are simply due to underreporting because people aren’t being tested. We really need to be looking not at confirmed case rates but at rates of death above the average for the time of year.
Herbie was also in several movies titled The Love Bug e.g. https://www.imdb.com/title/tt0064603/
You seem helpfuless in the era self help. Informationless in the information age.

Did you build your own car? Are you asking us to compare building a car to using a gmail account. The comparison is did you build your own google mail provider. Very few have.

But most of us went to different dealships test drove different cars, looked up tech details and reviews. Reviewed recalls and decided for ourselves.

What kind of special degree do you feel you need to pick a different email provider?

And most people don't uses a sass. I would expect a slightly more tech enabled person to be using a sass (not too many grandmothers or average internet need a sass). Can those people figure out how to signed up without google if they want to? I would hope so. If your sass doesn't offer any other way to sign up it won't be around for too long anyhow.

If you are going to put everything under your google services for your saas pay a few dollars and get a business account if it's important to your business.
> But I’ve also come to the conclusion that Rust relies on libc way too much.

How did you come to this conclusion?

People using Rust rely on libc a lot.

For example, #![no_std] means "no standard-library", but it doesn't mean "no libc, no libunwind, etc.".

So a lot of people like to advertise their crates as "#![no_std]" compatible, because they compile with #![no_std], but then the first thing the crate does is linking against libc, against liballoc, against libm, .... or even the standard library itself...

So... if you are trying to build a binary that does not depend on libc or libstd, then there is no language feature to help you there.

#[no_std] binaries are not only unstable, but also probably not what you want, since that won't prevent you from linking any library that links libc, or the standard library, etc.

If you want to avoid libc, you have to enforce that, e.g., by checking in your build system that your binary doesn't contain any libc, libstd, etc. symbols (I just use nm for this). #![no_std] helps a bit here, but making sure you don't link any library that violates this is up to you.
https://blog.golang.org/strings
For a static site Node is a compiler not a runtime dependency.
> " ... the most interesting fact for me is that none of the best stories were submitted on Tuesday or Wednesday."

Certainly interesting. Anyone have any ideas/suggestions about why this is so?
If your payment method can be auto charged each year, and is paid for out of something like investment income, your domain is essentially perpetual (I do this).
I work at an f500, and I have worked in other data science groups at companies in the same industry. It's no huge thing for a large consultancy to be thrown 500k-3M for a 6 month "predictive" project whose deliverables are some python code that trains simple scikit models.

Absolutely grinds my gears too because the consultants turn in dreck that we're expected to fix to help the VP who hired them save face.

Not sure why I'm sharing except that the last line of your comment really hit home for me.
> I operate on the realization that google will one day arbitrarily destroy my gmail account for absolutely no reason.

No! We need to demand more from Google (or, at least our lawmakers). I have a business that relies on a Chrome extension to be on their web store.

Say I accidentally trip off something in their opaque machine learning algorithm that determines my extension (or even a YouTube comment!) breaks their terms of service. They would have the right to completely block my account and remove the extension. Effectively, wiping out how I make a living with a single automated bit flip.

It hasn't happened to me, but the people that share horror stories of how it happened to them scares the $#!7 out of me.

As the Internet gets more privatized and less "open", I just wish there was something that required a fair "trial" of my account being suspended. The balance of power online is slowly shifting and I feel there needs to be something protecting the rights of individuals (the public) online.
As far as I know, the official system interface on Windows and several Unix systems is via the standard library, not via direct syscalls. I don't know about the MacOS. But in general, you may be required to dynamically link the standard library on many platforms.

Linux guarantees syscalls are stable. And on Linux, you have the option of telling Rust to cross-compile using a statically-linked musl-libc. (If you also need to statically link OpenSSL or a few other common libraries, I maintain https://github.com/emk/rust-musl-builder, and there's at least one similar image out there.)
Great links! Thanks! am looking into them now :)
> I think one only risks being rude by making eye contact and trying to exchange some small conversation outside of simply conveying one’s order

Ok, so dehumanizing is the polite thing to do. Got it.

In seriousness, that is a customer facing profession, and you don't need to enjoy people, but you sure do need to be able to act like you do. And most people would consider a warm, personal interaction the ideal. If it makes a barista uncomfortable, it's probably more likely because it highlights how rude every other customer is.
“Diagram chasing”, which is the standard method of reasoning in Category Theory, turns out to be very useful in other branches of mathematics, such as topology. (By the way, do not underestimate the power of abstract algebra, it’s widely used in the rest of mathematics, and its applicability to computing is more obvious.)
It may be that the system allocator is making an excessive number of syscalls to do work, whereas most custom allocators will allocate in slabs to avoid this. You could try using dtruss or strace to compare the differences.
huh, yeah if I switch the rust version to target.len() the execution time drops by more than 10%

edit: and if I switch to source.bytes().enumerate() it drops by 20% more
They could make JoeDocs sites (joedocs.com) and have them either publicly editable or only viewable. They feel like GoogleDocs to edit, but have video chat, public visibility, custom domain names, etc.

Disclaimer, I am on the founding team of JoeDocs.
This strikes home. I too noticed in public, I talked only with people I was comfortable with. Chatted up folks who looked like me, acted like me.

I am changing. I talk weather with the next person in line regardless of their culture (if they're receptive). Make eye contact with everyone. Smile and nod even if there's no time to talk. Notice people's kids and make faces at babies.

So far, very good responses. Some new friends, the proprietor of the diner I frequent, the waitstaff there, some distant neighbors who frequent my gas station. Random senior woman who was looking at the hole where the old dance hall used to be (construction downtown). Craig, the homeless guy who lives under a bridge and asks for change on the mall. He has told me some very interesting stories about life on the road!

Some folks are stunned when I 'see' them. People from different cultures are accustomed to being invisible. I try to be respectful of this too, brief comment, the weather, wish them a good day.
They might be equivalent (perhaps apart from other issues pointed out in other comments), but both implementations are still either

1) incorrect if UTF-8-strings are supposed to be valid input, or

2) very inefficient if only ASCII-strings are supposed to be valid input.
I can't blame someone for wanting to filter for SQL expertise. I don't know if these questions are a good way to do it. Maybe they'd be good bonus questions for when you're trying to different between two good enough applicants.
Om Malik: The Inevitable has happened. And in a hurry
Where I live has WNV, Lyme disease, black bears, black widow spiders (thousands in wood piles), Africanized honey bees, forest fires, 40m/120 ft tall leaning dead trees, rolling power outages, impoverished homeless people, meth dealers, AR15-armed conspiracy wingnuts, and porch pirates. The squirrels, hummingbirds, finches, turkeys, deer, and crows are mostly cool, except for the occasional plague, anthrax, rabies, avian flu, and hantavirus, and bugging me to refill the sugar water and suet.
You can probably shrink it even more. The Caddy alpine image is 14MB compressed.

https://hub.docker.com/_/caddy/

You also get automatic TLS certificate management and tons of other goodies that nginx doesn't offer out of the box.
Leak of New MBP Specs
If someone gets $100 of value per seat, and you charge $15, why is that great? Are you leaving money on the table or facing competition? And shouldn’t you react strategically to either situation?
The Easy Questions That Stump Computers
Kotlin Flow Binding APIs for Android UI Widgets. New Stable Release v1.3.2
I'm slightly late to the party and also slightly off-topic but usually I get very good answers from the HN crowd so here goes nothing:

Does anyone have any recommendations for open-source alternatives to Notion? I'm mainly looking for a Notion-alike that works offline but still has the same flexible structure and "database views" of other pages like Notion.

Closest I've found is TiddlyWiki, but it's documentation and data structure support is a bit all over the place. Not impossible to get through, but maybe there is something more polished out there?
This seems fishy - if your data has a whole day gap somewhere for whatever reason (e.g. I'm thinking sales data where certain emergencies might result in an unusual, unplanned 'zero day') then that query silently gives a wrong result, IMHO a trailing week total should always include a specific date boundary calculation to ensure that it's really a week.
Rick and morty returns tonight at 11:30pm
Node is a compiler too..
Aren't the cases low because the temperatures were high when the virus first hit (and are still comparatively high)?

I'm sure Italy would have done better in the summer with 30 degrees Celsius.
When I saw the title I was prepared for a great hack. Something that truly belonged on Hacker News. But this seems a lot more lame.

"I made lighting controlled by a ESP32, then put it inside the brush and connected the button to it."

But reading the twitter replies further down the chain, it seems the toothbrush sends data to the charging base, and the ESP resides there and analyzes the signals sent to the base? Much more interesting. Twitter's character limit really killed this post.

Unrelated, all the hashtags and @s make Twitter quite hard to read. The @ and # characters should be hidden for readers.
Many data analysts use exclusively SQL and R/Python
The flaw was the entire security model of Windows 95. The "virus" was a VBS script that the email convinced humans to double-click on, which ran the script immediately with enough privileges to access virtually anything on the computer.
The problem with this is that not every system makes their system call ABI stable. You have two choices here: use the interface that is stable (which is libc), or track changes and fix things up when they break.
Even fixing cars gives your mind a technical workout that translates to other domains.

Or I could spend the time improving in the technical domain directly by bringing my laptop to the service department instead of fixing a car where they have people who can do it faster with better equipment and somehow hope that it will make me a better developer, team lead, overpriced consultant or whatever rabbit I’m chasing at the time.

I’m sure the farmer would also look in disdain because you don’t grow your own food and instead go the grocery store.
How can you work on a "proof of concept" prototype without access to their data?
My point is that it sucks to discriminate against people just based on where they live. One day you're in Sevastopol working remotely for some company that uses GitHub. The next day some politicians decided your in a "bad" place and your permanently banned. It sucks, and hopefully it won't happen to you or me, but it totally could.
your reminder is appreciated :) I had forgotten
That’s true. But going the no_std route is very hard (the ecosystem isn’t big, and relying cargo and crates.io you’re almost guaranteed to link in the std or liballoc by accident at some point). Even when using the std intentionally, I really wouldn’t have expected that basic std functions like println require the libc.
US Embassy Shopping List
The final Python 2 release marks the end of an era – Stack Overflow Blog
Mutt 1.14 Release Notes
In my first attempt at a PlayStation emulator I did something similar to what you describe, with the shared state in a separate struct that's passed around and the rest of the code embedded in member function for the various GPU, CPU, SPU and other classes.

In the end I found that it was more trouble that was worth. I didn't feel like it made the code significantly clearer and if you realized later on that something actually ought to be shared between two modules it required a ton of refactoring.

Also having everything in a single struct that's passed everywhere can make debugging slightly easier. For instance if I encounter a situation where some bogus command is sent to the GPU I catch it in the GPU code and dump the CPU state right there instead of having to notify the condition upstream and add some hook in the higher layers to handle the CPU dumping for instance.

It's probably not the most elegant solution but I find it simple and rather effective.
Static site and docker shouldn’t be seen together.