skysight-inc/HackerNews huggingface dataset:
how would you even "parse" a url with a regex? dynamically defined named subpatterns for each url parameter? I think the best i could do on paper with a regex is say "yup this is a url" or maybe "yup i can count the number of params"

Unless it was a specific url with specific params?
The main point (I think) was that python is a viable language for many use cases that are not processing intensive, while also being very easy and quick to write which is often the most important thing.
Archetypal “malware,” the kind that’s illegal to distribute, doesn’t have to worry about any of this stuff. It can just patch the browser.

The problem is “legitimate” businesses that engage in scummy-but-not-illegal behavior. Stuff like the Ask toolbar being shipped with Java, and five years later my friends wind up with dozens of toolbars and they don’t even know where they came from. Those sorts of companies will not patch Firefox.exe, because that would require violating Mozilla’s registered trademark.
Yeah I'm just making it up, all those years managing analytics for tens of millions of highly engaged subscribers and dealing with scumbag databrokers pales in comparison to "advertising doesn't work on me".
Enabling any kind of ”follow links on page before I click on them” feature necessarily executes JS on those pages just to be able to prerender them. I would not trust these features, and suggest everyone I know to turn them off in browser config.
a customizable feed of indie label new releases: https://dill.vercel.app
I think this is missing the point of the article.

Yes, you can implement a faster Python version, but notice also:

* This faster version is reading all the file into memory (except comment lines). The article mentions the data being 150MB, which should fit in memory, but for larger datasets, this approach would be unfeasible

* The faster version is actually delegating a lot of work to Python's C internals by using text.count('G'). All the internal looping and comparisons is done in C, while on the original version, goes through Python

So yes, you can definitely write faster Python by delegating most of the work to C.

The point of the article is not about how to optimize Python, but about how given almost identical implementations in Python and Nim, Nim can outperform Python by 1 or 2 orders of magnitude without resorting to use C internals for basic things like looping or comparing characters.
You're right. I don't know what the right answer is, all i'm saying is the current ways don't seem to be working.
And large parts of the meat industry is a by-product of the dairy industry where I live.
Child-care workers quitting, a red flag for the economy
Trevor Milton, founder of Nikola. A scammer.
Needs (2005) in the title.
Even mild cases of Covid-19 can leave a mark on the brain
> I wish a browser offered the idea of opening windows/tabs with selectable incognito identities.

That's exactly what the Firefox Containers feature is.

It's not that easy to use, and extensions that improve the UX or automate container selection are kind of messy. But it does work. It's excellent for when you need to use multiple accounts on a service.
That are also going to be close to Janet in look and feel? Please let me know, I'm interested to try.
INO Reader - think Google Reader. Good deals around Thgiv.
Seeking arrangements: Why women want sugar daddies
I came here to say just this. The pivot at "rather than fixing tech companies, we can fix the internet" makes absolutely no sense.
When he says "Let's Fix the Internet, Not the Tech Giants", in my mind I translate that to: "capitalism doesn't care directly about human well being. Well, that's not cool, but I believe it's better to try to provide an alternative flow / dynamic / space for competition than trying to stop the immoral practices of these powerful beasts directly. Don't fight the problem face-to-face, try to make it obsolete".

Well. One should be shocked: government and laws are exactly what should protect human well-being directly and decisively when other things fail (or in prevention), but now it turns out capitalism is too powerful so we can't do that? We have to ignore morality for a while, and start to leverage government and laws just to create a side pathway that might eventually lead to the possibility to compete against the big beasts of capitalism in their own (or slightly shifted) terrain? Hope we adapt better than they do?

I'm not even saying this is stupid. It might actually be the most pragmatic way forward. I tend to take a similar view when looking for solutions... but when we reached this point, we should realize that the problem is not the tech giants, interoperability, Java's error model, APIs, EFFs, js typecasting nor the internet. If having to resort to this kind of strategies doesn't make it clear to us that we are playing the wrong game, we are doomed at a more fundamental level: money sits at the top of the power pyramid, and we have no effective mechanism to balance human well-being against it (which doesn't make patches useless, but maybe we should start prefacing appropriately or writing angry ò.ó comments about it at some point).
Yes, but you’re missing the point: in the public perception, an autopilot is a device that flies the whole plane while pilots banter and drink coffee with croissants, go to the bathroom, and in general have a good time until it’s time to land.

Telling them that a country road is far more complex than the open sky, and that air traffic is quite sparse, helps little.
It's more that the AGPL allows you to use the software without any such restriction. If they license it under the AGPL you can use it with as many users as you want. In fact it requires that if you host an instance you make the code available to the users, for them to use/host/modify/distribute themselves (section 13, "Remote Network Interaction").

They could publish it under a modified AGPL, an "AGPL with user count restriction" of some kind (which wouldn't be AGPL at all - they would have to modify it heavily for it not to be a self-contradictory mess). However:

A) They would need to own the copyright in all of the code involved so they can publish it under whatever license they want. To the extent their system contains GPL/AGPL code copyrighted by others (and I expect it does), distributing it under an incompatible license like this would be a copyright violation by them against the owners of that code. (This is in section 10, "Automatic Licensing of Downstream Recipients", where it says "You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License.")

B) There is no indication they are attempting to do this, other than that one mention on pricing page, which I suspect is a mistake. The repos simply contain the AGPL license.
But not, usually, gas mixtures that can explode without further mixing.
>If the research finds that any of that data correlates with relevant mental-health conditions, the hope is to turn those signals into an app or feature that could warn people they might be at risk and prompt them to seek care

I am worried about the part of article that mentions that they want to automate the analysis of the data to some degree and move it out a strictly clinical research setting.

I have also done some research in the field and my final sentiment is that the data is too noisy to be ultimately useful and the problem is hard to define in a quantitative way. I predict having more data isn't going to show a more clear correlation between things.
Maybe you could but there is something to be said for running your own instance of whatever platform you use to spread your thoughts. It is close to the last word in avoiding censorship as long as the network operators remain (or become in the case of AWS and probably some others) neutral. As to whether this is scalable... remains to be seen but for "normal" people with a few thousand "followers" at best it should work fine even on a single board computer like a Raspberry Pi. That same SBC could host your mail - using a smart host (which could be run as a service) to push mail to the world so as to avoid an avalanche of spam. While it is doing its thing anyway you may as well add whatever web-related thing you might want to put out for the world to see, or maybe not for the world but at least for family and friends. It can host media services, a VPN service, etc. In short, it can be a stepping stone towards a decentralised net - which I deem to be a good thing.
Newpipe is fantastic.

> there is no autoplay.

There is now, it got turned on when I installed a recent update. The option is: settings->video and audio->auto-queue next stream.
To hear it read aloud:

https://translate.google.com/?sl=fr&text=Un%20petit%20d%27un...

Using the desktop browser version of Google Translate, click on the listen/speaker icon below the French text in the left side panel
One of the later tweets says it's all "bricktext", which apparently is a thing. An old internet thing even. I may have to try it some time.
> And even I would convince my employer, if we want to start a new project how could we find programmers well-versed in Nim?

Nim's easy to learn if you have any experience with any compiled language and can understand anything along the line of C#, Kotlin or Python syntax. Also because it compiles to C and JS it makes it easy to add it to a project incrementally in many cases.
Ask HN: What's up with the influx of language learning platforms these days?
I'm a dev, and for the last one year or so I've been getting job offers from language learning platforms, to the point where 1 in 4 job offers is from one of these platforms. What's up with this influx? Are people really that interested in learning a new language online? How are they profitable? I was thinking that maybe they use the people to train AI models in different languages(?). What do you think?
So two tweets would be sufficient I guess?
Great anecdote about your friend.

As long as no health data leaves my Apple Watch + iPhone, I am OK with local deep learning (or other models) running on my devices.

I do wish there were International standards and local laws supporting: all data staying on users' devices unless explicitly shared with health care providers, and also agreed upon standards for anonymizing explicitly shared data for the public good (research, AI training data, etc.)
It’s 2021. Like it or not, what you’re describing is common slang of internet youth culture.
Plus-Size Fashion: 14 Ways to Dress Classy and Stylish as a Plus-Size Lady
Interesting, I didn’t know that!
> Suppressing something that is true makes someone untrustworthy. You don’t need a theory of their motives to explain this.

That might be true if the people developing and testing the vaccine were the same people belittling natural immunity. From what I’ve seen that isn’t close to being an accurate characterization. Lumping them together is just the same behavior of which you accuse them, political. Should we be suspicious of you?
I heard about this facility previously due to GitHub's Arctic Code Vault[1], but this is the first time that I'm hearing that they're effectively using encoded microfilm[2][3] as their storage medium. Pretty cool stuff!

[1]: https://archiveprogram.github.com/arctic-vault/

[2]: https://en.wikipedia.org/wiki/Microform

[3]: https://www.piql.com/services/long-term-information-storage/
Train self driving models from safer drivers. Encourage drivers to be safer. Seems smart to me. I'd like to see a vehicle crashes per 100k miles before and after the safety score, and by safety score quartiles.
love paint.net. so many advanced features for a “basic” app. but why is rotating still unintuitive? is there a trick that i’ve missed or using the layers menu still the way?
Show HN: Stenography; an API that uses AI to make reading code accessible
its not very likely this is whats happening here but i feel like this could be done on purpose to see how you act in this kind of situation. it kinda tells how you would act once you inevitably go into a conflict with colleagues arguing over stuff like that.
The Myth of ‘Long Covid’ – The American Spectator – USA News and Politics
I always thought Svalbard was a made up place in His Dark Materials by Philip Pullman.
People keep saying reading body language and expressions is important and so in-person or video meetings are crucial. However in my experience in the software industry experienced people don't show their emotions from behind their poker-face. If people show emotions, they are mostly fake smiles and fake enthusiasm. If you don't get honest feedback from your team in text, you're not going to get it from body language either.
Agreed. I thought gotop was cool but wow
I think you have problem with reading comprehension. Linux = kernel, in my comment, if you want a hint.
Space travel history is always fascinating. I wonder if there is any data on using animals with short lifespans to study impact across generations from space travel?
Hong Kong Has Put a Ban on Celebrating the Independence Day of Taiwan
I'm not sure your definition of "all the time" matches anyone else in the industry, quite frankly. At the architect/staff level I'm lucky if I can only spend half my time on the phone or in some sort of meeting (includes the ad hoc group chat where we're discussing something via our internal equivalent of Slack). I get maybe 5-10 hours a week of coding, and it's usually either something extremely challenging that someone else has already spent weeks hacking on, or a super basic bug I grab to keep myself sane and in touch with the nitty gritty code stuff.

An hour a day is junior dev level meeting load at almost every place I've ever worked. Seniors are 2-3, arch/staff/principal 4-6 and managers all day long (all averaged over a couple weeks or so it obviously ebbs and flows).
As a aggressive driver, my freedom is infringed by this program.
Incognito mode has always been to me just a way to prevent the local client from maintaining my history but I also recall that was the way it was marketed when it first came out. Tracking wasn't really on my mind at that point.

I wonder if some differences in perspectives are the result of when you first became familiar with the feature.
I think it's a hard sell for where you're currently at career-wise.

If you're interested in it you could approach it from a hobbyist perspective just for the joy of programming. You might find that somewhat useful later when you're the only VP over the quant department that can code or something like that. Even that is reaching.

Tech pays significantly better than most fields. Banking is not one of them.
Depressed after spending so much on a iPhone? here's your happy face emoji.
There's levels to body language, and engineers aren't typically great at hiding it. It's a soft thing, yeah, but definitely there.
> Do we really want these kind of scores to determine our insurance rates, outcomes in the case of an accident and so on?

Why wouldn’t I? Seems much more fair than criteria such as age, education and marital status that are currently used to determine rates.
If the culture you work involves people competing for credit, you've got bigger problems.
The problem is you need the extra capacity on the track because you use it more there.

In normal driving you accelerate to highway speeds and then coast, or you're in city traffic and benefit from regenerative braking.

On a track, you brake late on purpose because it's faster, but to stop that fast you have to rely more on traditional braking and can't recover the energy. Then you immediately want to accelerate back to high speeds again.

If you put a small battery in an electric track car, it would be flat in ten minutes.
@stephenhay seems to be the winner here if you don't need IP addresses (or weird dashed URLS). It's only 38 characters long and easy to understand.

@^(https?|ftp)://[^\s/$.?#].[^\s]*$@iS

The simpler the better, if you're going to use something that is not ideal.
On the health app there's a new feature to share your biometric data with your doctor, which I can see improving their accuracy and diagnoses. I'm not sure where you got the idea that the data is garbage, but even I (untrained, not a doctor) can pick up patterns and make positive changes from the data collected.
I could always suck dick behind Wendys as well.

I subscribe to a modern interpretation of investing - We're all working till we're dead anyway so why bother, gamble away.
> “The first customer we turned on in the county was the county judge,” Hales recalls. “His wife called and said, ‘Rick, Netflix is running good!’ ”

Critical infrastructure indeed.
I prefer documentation with sparse text and lots of diagrams and images. It provides the high level context and I can fill in any gaps with a short follow up conversation.

For most people, the high level information is all they really need. The few who need to dig in more can hash out the details in a smaller more effective meeting without wasting everyone else's time.
Their hell was a version of paradise where they had to eat apples all day long, for the fear of missing out and for the sake of appearances.
Or, severely regulate what they can do with your information, and make them pay their users for any material the user contributes.

It could be a few cents for commenting, but anything to stop the growth, and monopolies.

The catch is only on companies that are valued over a billion dollars, excluding credit. A company couldn't borrow heavily in order to stay below a threshold.

This would Only apply to large monopolies that are valued over 1 billion.

The small companies would be free of any regulations. I mean any. Small companies could experment, and maybe have a chance at making it.

I could just see Zucky sitting on a high chair in front of Congress crying, "But it's just not faaaair, and my wife doesn't like it either? You are penalizing Machiavellian success governor--oops--I mean Senator? The one Senator that kinda understand tech, "No Marky--we are just stopping cancer, and giving small companies a chance to get out of your shadow.". Mark, "Do you have any tissue besides this government cotten stuff. I'm used to lanolin apricot infused tissues! And where's my professional nose Wiper?"
“Do all current movie ‘toons’ have one eyebrow up?”

I was suddenly struck by this question, and think there might be something to it. Clearly it was a standard feature of the training set.
What's a list though? Why should it refer specifically to the concrete implementation?

Lists in a conceptual sense are an ordered collection of heterogeneous elements with nestings.

In that sense, code in Janet is very much represented as such and processed as such. Which in my mind makes it a LISt Processing language :p
> I also don’t want to allow every possible technically valid URL — quite the opposite.

Well, that should make things a lot easier. What does he mean here? The rest of the text doesn't make it clear to me, unless it's meant to be "every possibly valid HTTP, HTTPS, or FTP URL" which isn't exactly "the opposite".
SARS vaccine: Experiences of vaccination against avian coronavirus (2003)
In its particular field (the brute force justification of monospaced text by creative word choices), it is just as superior as Mozart's work in his field.
Tangentially related, but mentioning to hopefully save someone time: if you ever find yourself wanting to check if a version string is semver or not, before inventing your own, there is an official regex that’s provided.

I just discovered this yesterday and I’m glad I didn’t have to come up with this:

https://semver.org/#is-there-a-suggested-regular-expression-...

My use case for it: https://github.com/typesense/typesense-website/blob/25562d02...
That guy knows exactly what he’s doing. He’s hoping that more of the hivemind jumps on Luke and tries to further punish him for his dissent from the global technocracy.

Comply or face the consequences. No doubt that guy believes he’s a true individual lol.
> Sure, but this fragmentation isn't exactly new. There have always been multiple toolkits on Linux

I think that we got a little bit sidetracked. "I want my users to be able to be able to select what borders to have" -> "the user can choose to use GTK or Qt apps" -> "it encourages duplicate work for minor differences" -> "fragmentation isn't exactly new"

Fragmentation might not be new but I would really rather not re-write my UI in another toolkit just to offer a second border option.

> that will be broken if you use it outside the recommended environment as the HIGs won't match

Depends on your definition of broken I guess. If you consider the user unbinding C-q from "quit" as broken because "the HIGs won't match" then I would have to say that I disagree. If the user wants to make "breaking" chances to my applications they should be free, especially since I don't believe that any big issues will be caused. If some minor issues are caused at certain configurations then that's fine, after all the user could revert to the default config if they encounter an issue that breaks their use-case or makes the interaction feel inferior to the default one.

> Well, no it doesn't

Thank you for the correction, I take it back. I guess if I go with gtk4 I would have to use a mix of gtk4+libdecor in order to have "native" borders in all WMs, is that correct?

> Most older apps aren't like this.

What do you mean by "older apps"? Motif-era, gtk2-era, or gtk3-era? I do not think that I had a big issue with any of them but I could be forgetting something.

> GNOME is not a tiling WM

Well, yeah, because GNOME is not a WM :p

By "going out of their way" I meant specifically the decision to implement CSD.

In general I think that GNOME should be able to do whatever it wants, I just wish that they would play better with the other players (and well, the users).

> The way you're phrasing is confusing. To me it's like saying "every vehicle has four wheels except bicycles". Well I guess you could say that for some subset of vehicles, but I don't understand what the distinction here is supposed to be, or why that even matters.

More like "all (relevant) C compilers except MSVC support C99 VLAs", or "all mobile phones in the EU except apple's use a standard charger". The point is that while xdg-decoration might be an optional extension in reality it is pretty much standard except in two WMs that require special handling.
Seconding the other comment on not waiting for people. As soon as the clock changes to the start time we are beginning the meeting, and we're not catching anyone up if they're late. They can figure it out.

Obviously this gets a little slack if you're a super senior position (nobody's telling the company President they're not circling back on something already discussed) but for the most part meetings are much more efficient if you're absolutely ruthless with the clock. It's literally the only thing that nobody can control.

On the flipside you have to be equally ruthless about not going over time. At 5 min before the scheduled meeting end time we start cutting off discussions that have become circular and start determining if we need to have a follow-up or clarification meeting for something. My biggest rule for this is that it can't be the exact same group, you'll just end up having the same meeting again. These follow-up meetings are most effective if it's a subset of the original group trying to clarify some specific point.

30 minute meetings can be useful if you stick to these rules.
I've been trying to get into clojure but getting a big stacktrace of JVM junk whenever I make a mistake is frustrating.
Edgy antisemitic[0] language (like "unJewgled"), along with transphobia, homophobia, and racism, was normal when I was an internet youth, too. Then I grew up. I don't think he's an internet youth unless I seriously misjudged the photo on his website.

[0] https://www.adl.org/spelling
> Application of a SARS vaccine is perhaps best limited to a minimal number of targeted individuals who can be monitored, as some vaccinated persons might, if infected by SARS coronavirus, become asymptomatic excretors of virus, thereby posing a risk to non-vaccinated people.