skysight-inc/HackerNews huggingface dataset:
I have a "notes.txt" file that I keep at every job. I paste all the links snippets into the note, alongside with my personal note. I use the same file to jot down things I need to do, and also use it as scratchpad.

i find the file to be very easily searchable, even if it has 10k+ lines.
And in the future -- space goblins:

https://en.wikipedia.org/wiki/Ferengi
Technically, nothing prevents you from extending Basic Auth and to make it a usable better auth protocol.

You could write an extension and make a case for login/logout/session management and/or generalized hotkeys and go with that into the w3c or ietf to propose an auth mechanism.

I mean, it can be something as simple as having more meaningful aria-attributes on the HTML tags that you parse out and make usable via hotkeys.

It's hard to talk about an idea not yet finished enough so that it can be specified, but I'm sure there is a HUGE need for accessibility improving browser extensions to begin with.
> The equivalent React simple counter example [...] is much more understandable IMO/.

Eh, I'm a backend dev, and it isn't more understandable for me. setCount is a constant yet we're calling it as a function? And what the hell is useState?

I've written a fair bit of Elm on some toy projects and enjoyed it.
Reminds me of https://github.com/darius/ichbins/blob/master/ichbins.scm#L2... but written for a wider window, which helps in this style.
Amsterdam bans cannabis in its red light district
You realize that Elm is for Frontend, right? It doesn't prevent backend runtime errors.

Edit: When I see errors like this, I think it's gaining some interest/popularity and try to remember to come back later.
"We still don't know why."

That's the point though. Even if this fact is true it doesn't mean that drinking is healthy for these moderate drinkers. There could be other reasons that they're living longer and that drinking is actually working against them, not for them.
I particularly like the nose spray application. If even non-susceptible people get in the habit of using a nose spray before starting their day, any contagious viruses that they may already have could be covered with an inactivator upon sneezing them out. Hypothetically this could protect susceptible people who inhale the sneezed out viruses.
It is just not that serious.
Mutual TLS is pretty cool. You can install client certificates into your browser issued from a CA that a server accepts, and the server can then use the details in your client certificate to authenticate you to an application specific user.

When you visit a server using mutual TLS, you'll get a prompt showing all your client certificates that match CAs that the server accepts. Once you select one, all your future requests will use that client certificate and be associated with that identity.

The client certificates can even be placed into smart card hardware devices (which can be USB or actual smart cards) that require a PIN or some other factor to use.

Because it's all built on public/private key encryption, the server has no credentials to lose in a data breach. Nobody can steal your credentials and reuse them to attack your other accounts.

And this is supported by all browsers today.
A problem with this attitude is how schools and their grading systems are teaching children the exact opposite. What matters are your grades in the end.

I feel like judging myself by my results and not by the process im going through was so deeply ingrained in me that even after years of trying I cannot get rid of it.
Tom Clancy would disavow having served as inspiration if the story did not feature secret prototypes! (I know nothing about Tom Clancy and his works, that's just how I imagine them to be like: not full-out "future gear porn" but a well-balanced moderate dose of it?)
> This has the added benefit that on a standard 1080 monitor you can see two Python files side by side without horizontal scrolling.

Isn't that a function of font size rather than screen resolution?
This is the setup you are looking for, to be honest I can't quite remember the optimal setup to get there but that's a more straightforward problem when you are convinced you can solve it.

https://pasteboard.co/E9w43hwrvRwU.jpg

From there:

White right
White up
White left
Black up
I wear an N95 when I go out but only my regular glasses. I too haven't been sick since January 2020. I used to get colds pretty much quarterly, and so it's absolutely worth it to me. If it bothers someone else to see me wearing one that's their problem, I'm not asking them to wear one.
I don't care because I'm not Medium.

Medium is trying to be a two-sided marketplace. In any such marketplace, the producers want the audience to be as big as possible, and the consumers want the inventory to be as big as possible. Neither cares about Medium making a profit, except to the extent it incidentally furthers their own goals.

To succeed, either they monetize the transaction as a middleman (e.g. ads when transactions don't involve the exchange of money), or they figure out how to establish a direct financial relationship with the producers and/or consumers (like Costco's annual fee).

Medium has chosen a pathological route of using the two-sided marketplace principally to advertise a fee for their own product. (Yes, "principally" is fair. I believe their conversion rate is low, so the vast majority of impressions represent potential members of the two-sided marketplace that they're OK turning away, even though that frustrates both the producers who wanted the audience to grow, and the consumers who wanted to read the article.)

The fact that they can't figure out a better way to make money than to turn away customers is not my problem. There are plenty of other places for me to read or publish content that have figured out how to be sustainable operations.

My personal viewpoint is that Medium is in a death spiral. If their paywall is abrasive, which I think it is, then I won't join, because I would question which content publishers would be OK being behind an abrasive paywall. Medium's real offer to me -- that they're where to find content from publishers I like -- has failed. That was their one and only job from my perspective. They failed.

I can't be the only one who feels this way.
https://www.who.int/teams/mental-health-and-substance-use/al...

https://www.who.int/teams/health-product-and-policy-standard...

https://www.who.int/news-room/questions-and-answers/item/can...

https://www.who.int/publications/m/item/ecdd-41-cannabis-rec...

https://apps.who.int/iris/bitstream/handle/10665/251056/9789...
By radiation here it is meant ionizing radiation, which comes in 3 major forms (exceptions do exist):

1- Alpha radiation: Basically helium atoms. Pretty harmless on the outside of your body, really really bad if inside your body. Do not eat/inhale.

2- Beta radiation: Electrons. Harmfulness varies, kinda. Stay away from it.

3- Gamma radiation: Likely what you're thinking of. These are photons. Harmfulness increases with frequency/energy of photon, mostly. Think X-rays, not UVa radiation.

Aside: UVa/b isn't ionizing, it just so happens to be the same wavelength as the short channel of your DNA strand and has a small, but noticeable, chance of breaking up your DNA. The biology of a sunburn is somewhat complicated, so please research on your own. Wear sunscreen and you're fine. With ionizing radiation you need to wear a lot of lead to be fine.

Other forms of harm exist for every known particle, but you'd need to stand right inside of the LHC to experience it or be cosmically unlucky (for say, neutrino based ionizing radiation).
https://www.theguardian.com/artanddesign/2020/jul/11/skyscra...
I personally don't believe a single thing about chatgpt and any ai that pops up around it. To me it's the same as google search - instead of truly enriching our lives, it simply made us dependent and then more lazy to the point where we rather search instead of thinking for a brief moment. Now that google became unusable, ai is supposed to step in or what...

I hope the volumes of worthless content it generates destroy the internet as we know it, so we can finally move on to better things and start building communities again.
I don’t understand what you mean by hijacking copy paste and highlighting and I’d like to. Could you say more?
That's a great suggestion, thanks for that. Especially if I went for a less demanding and remote-friendly role I'll bet that would work really well to keep a decent work-life balance.

I'm just going to tough it out one more year, and hopefully I can get out of this hamster wheel forever after that. I managed to save about $500k in 4 years, so I should be able to move somewhere normal, buy a house, and live in it with my family while working on a revenue stream
Measuring boats in feet is a tradition. Also, these numbers are bigger. 50 feet is a big boat. Compare with mere 15 meters. BTW, docking price lists are still in meters.
Partly this is the price of defense in depth, so that a compromise of one account does not affect other accounts.

Partly it's poor ergonomics: a password manager should fill in the credentials for you, and 2FA could be a one-touch token.

I wonder what industry are you in with such intense security requirements.
In Oracle, Tom Kyte's advice is to never rebuild them, unless there are reasons for structural change or physically relocating the storage.

I have occasionally seen performance gains by rebuilding a composite index with key compression, for example.

Indexes do tend to return to their natural size in heavy use, so repeatedly shrinking them will just tax performance for a temporary gain in storage.

https://asktom.oracle.com/pls/apex/f?p=100:11:::::P11_QUESTI...
How much of this do you think is caused by legacy browsers? If you view the browser as a general purpose OS then it makes sense the features are pretty pared down on it.
Show HN: Frankenfit, a Python-based DSL for predictive data modeling pipelines
Envy can be a positive and healthy force. E.g., I've always wanted to work with people whose skills I envy. That gives me reason to learn more and progress.

I think what the article refers to "envy" is a complete lack of self-esteem. Envy is healthy when you acknowledge your limitations.

> But envy is one of the most pervasive problems in today’s world, especially as social media normalizes the successes of others, making you feel like you’re “underperforming” the average when in reality you’re being shown a highlight reel of outliers.

This isn't really "envy", or not on its own.
That sounds like the protection the police get! Look out for your own, screw everyone else.
Caves of Quds storytelling feels very superficial or shallow due to the procedural generation imo.
The documentation is still very much in progress, but I thought I'd share this
library/DSL that I've been working on, which is inspired by my experiences in academia
and quant finance, as well as a desire to improve on scikit-learn's "pipeline" module.
I'm hopeful that others might see the benefits of this style of writing data-modeling
pipelines, or perhaps critique it mercilessly :)

One point of inspiration here is my experience that many researchers and data
scientists in industry, while fastidious about the in-sample/out-of-sample distinction
for the predictive "core" of their model (i.e. the regression or the ANN or whatever),
are often less conscious of the same distinction for all of the feature-preparation
steps and prediction transformations that may precede or follow that core in their
over-all pipeline. For example, before fitting your regression or whatever, you might
z-score some of the predictors, and when you later apply that now-fit regression to make
predictions on some held-out data, you really ought to z-score the held-out feature
values using the same means and standard deviations that were "learned" at fit-time
(they should be considered part of the "state" of your model). But this is often
inconvenient or overlooked by practitioners, who might naively z-score the held-out
batch using its own means and SDs, before feeding it to their trained model.

But if you imagine receiving the held-out data not as a batch, but as a stream of
observation one at a time, and needing to generate a prediction for each as it arrives,
it's clear that this is not correct! (As you make each prediction, you can't know what
the held-out batch's means and SDs "will be".)

So with Frankenfit, I wanted to make it easy to write end-to-end data modeling
pipelines where this distinction between fit-time and apply-time is baked in all the
way through the intermediate transformations, be they z-scores, winsorizations,
imputations, or whatever. And it turns out that this can also make for very elegant
expressions of common resampling workflows like cross-validation, hyperparameter search,
sequential learning, and so on.
system76 is using it to develop their new cosmic desktop environment for linux. The code is here https://github.com/pop-os/cosmic-epoch

We'll see how it starts panning out this year or next.
Precisely because the web browser environment is rife with state and side effects, that is exactly the reason why a purely functional language is a good idea for it.
The EU is set up to regulate already giant companies, which means it's not possible to create new ones because they can't afford the regulatory risk. (Mostly because the regulations are intended to troll American companies, not to do anything useful.)

And there isn't sufficient venture capital to build up new ones either. Maybe they can all adopt Yandex and VK.
I don't know how that is a surprise. That's what unions have almost always done. Especially if someone had seniority. Public Unions are even more egregious in this regards, just look at Police Unions.
Fastest way to get the well-known file used would be to get people to believe that not having one or having an inaccurate or incomplete one will cause Google to downrank you.
> Americans are much more compliant now

American health issue are mostly class based.

Black and brown people are poorer on average, hence they face more issues regarding health issues in general.

Alcohol abuse is a well known addiction among people of lower classes, while higher classes prefer other more expensive substances.

Also with more money available come higher quality alcoholic beverages.
> How is having chunks of code smashed into the tops and bottoms of a blocks good for improving readability?

How is having a random newline at the top and bottom where there is already a clear separation between function signature and implementation via braces and the guide of the first indentation, helping readability?

All it does is steal valuable vertical space away from things that matter.
*Gulf feast, there isn't really a fixed feast in islam
This is a complicated subject to me because I loathe the type of regressive attitude that comes with "I won't eat anything that has an ingredient I can't pronounce!" but at the same time we cannot and should not trust large corporations to produce food that is safe for us. They've shown time and time again that as long as the effects are not immediately and can't be easily traced back to them, they do not care.
I've been having a blast writing plain old HTML templates for the past few weeks. It's a traditional Django app. I also use plain old CSS instead of frameworks like Tailwind (well, I use Bootstrap, but I don't use its utility classes).

It's practical, pragmatic, and allows me to ship faster.
Bones need load to grow properly, and they will use the same mechanisms to grow strong.

Poisons are neutralized but are not energy source (nutrient). Turns out, alcohol is.
Sure you can, it's the order button on Amazon.
The NTSB doesn't do "consequences", FWIW.

But I don't see the big deal here. This appears to be a situation where we have a clearly at fault party, the NTSB isn't going to provide any big insight.

The pilots are trying to avoid civil liability (and maybe criminal, and maybe keep their jobs, though it seems very likely they'll be fired), for some clear reasons. They aren't keeping secrets, they're just trying to avoid giving written testimony on something they'd want to take the fifth on later.

To wit: this is just "don't talk to the cops". Your insurance company will give you the same advice. No, it's not the best way to help an accident investigator, but it might save you some money.
You and I are represented by the NTSB in this process. The pilots unions represents the pilots.

If the pilots won’t talk, they may be subpoenaed. Not sure if that means the 5th Amendment would apply.
The author clearly knows this based on the sentence you quoted. I’m very confused as to what your complaint is.

> I have almost no fruit, just a few apples.

Indicates that I do know that apples are a fruit. Not that I don’t.
> As a result of the flight crew’s repeated unwillingness to proceed with a recorded interview, subpoenas for their testimony have been issued.

They’ll get their interviews.
Should we expect a union to support the views of anyone other than its members? The needs of the public are well-represented by the NTSB and any other involved government agencies.

This is also part of a decade-spanning issue re audio recordings. Pilots have long fought to keep recorders out of cockpits. This is an extension of that fight. (Black boxes are different. They are only used in event of a crash and are generally not released publicly unless people are dead.)
Mapbox's free tier is an order of magnitude less permissive. They even charge for loading their JavaScript: $5 per kiloload! Feels like the best approach if I'm not trying to commercialize is just to encourage people to self-host using their own API key.

Assuming the service ever even gets to 2M tile requests/month. That alone would be quite the accomplishment.

Though with Gaia going to hell, something new needs to come along.
I get that with my kids. I'm not an iPhone user, so I don't know the app store. But my very young kid will know how to open the app store on my wife's iPhone. With Android I type "open source" or use FDroid if I don't want ads. However with the iPhone it seems like every seeming game is just an ad for more games. My poor son will get nested 3 ads or more deep (for a new game) deep sometimes.

People make a big deal about the App store being all curated, but it all junk when I looked.
Controversial answer- Ubuntu LTS is very stable. Now that being said I would not recommend Ubuntu to anyone really. I was never fan of their take on desktop (Unity) and transition to systemd but it was ok on headless servers. Now their latest pushes for Snap and Ubuntu Advantage is a solid “k-thx-bai”.

If you want server grade stability and Debian/Ubuntu-like feel, then go with Debian. Basic install is quite clean (not gentoo/arch level but very clean compared to *buntu).
Then you should indemnify them against all harm caused by the models.

I love progress, and it’s an important thing, but progress can cause harm. We need to work to balance the two.

If you wave a hand and say there is no liability at all, the harm doesn’t go away. In fact, it dramatically increases. So, you’re actually just shifting the liability from one party (who caused the harm) to another party (who likely has no control over it at all).

So, while I agree that liability will impede progress to some extent, I would push back and say that to value progress at all costs is simply a mistake that doesn’t align with the values of most members of society.
>Mostly because the regulations are intended to troll American companies

Which one?
I have had chatGPT simulate an adventure game, the first day or two it came out. It was very good at generating a story, and pretty bad at working the mechanics of a game. Inventory didn't work reliably, predictable stuff like that.
The article says they have been subpoenaed.
Is it obvious that refusing to participate in a safety investigation is good for the members as a body?
But until most of my users update I’m stuck with still maintaining the old implementation anyways.
Moving these libraries into the on-demand userspace was done intentionally for a long list of reasons, but by far the biggest advantage to me as a developer is control over the updates.
From the issue on GitHub, Russ believes it would be "clearly inappropriate" to push telemetry into user code, so yes, they have communicated their opinion on this

> To be clear, I am only suggesting that the instrumentation be added to the Go command-line tools written and distributed by the Go team, such as the go command, the Go compiler, gopls, and govulncheck. I am not suggesting that instrumentation be added by the Go compiler to all Go programs in the world: that’s clearly inappropriate.
> One of the greatest tragedies of the Web is that all its basic building blocks have been stagnant for decades.

Improving the web hurts app store commissions. Apple/Google can't monetize your super awesome fancy web app, but they can snipe 15-30% of your revenue through their stores.
There's lots of perfectly legal commerce that middlemen like Wise refuse to facilitate: https://wise.com/acceptable-use-policy
UK must quit climate-harming energy charter treaty, experts say
They’re not trying to avoid giving written testimony. They’ve already done that. They’re trying to avoid giving verbal testimony.
I went to login to twitter the other day and the login button was at the bottom of the page. I don't know why that made me rage so much, but because of that I fully second this request, but there is a top level comment here pointing out mutual TLS and I think that is the solution
> Envy can be a positive and healthy force. E.g., I've always wanted to work with people whose skills I envy. That gives me reason to learn more and progress.

My understanding of the word is borne out by the formal definition, e.g., in Wiktionary (https://en.wiktionary.org/wiki/envy): “Resentful desire of something possessed by another or others (but not limited to material possessions).” That ‘resentful’ part is key to why I think that envy is (almost?) always negative. It is good to work with people whose skills you admire; if you envy their skills then you not only want to have those skills yourself, but resent that they have them.
Yeah the AFS thing is a mistake. Ousterhout graduated from CMU (PhD) in 1980; the Andrew project (from which AFS sprung) began in 1982 or so.

Ousterhout did work on Sprite (a distributed OS and file system) in the 1990s at Berkeley, and then, as another mentions, the log-structured FS (LFS).
Thanks. I have a low attention span with GitHub repos, so I felt I should at least try to meet the expectations of someone like myself.
Here’s a newer article with much the same content: https://www.crunchydata.com/blog/exposing-postgres-performan...
I currently build my nixOS packages with musl, clang, and uutils, and the difference from gcc/coreutils/glibc is unnoticeable. The uutils project is great
I'm sorry for being blunt, but if you are mistaking a database server being down (or CDN issues, or faulty backend code, or...) with the frontend code misbehaving then either you are very ignorant to how "computers" work or you are being (very) intellectually disonest. Don't do that.

For the record: yes, as much as it may sound bold or marketing-y, the statement is mostly true. You can have runtime errors if you write a bad regex though. After almost 3 years working full-time with Elm on a daily basis, I have not faced a single runtime error.

And by the way, this is coming from someone who moved away from Elm for the same reasons mentioned throughout this thread, so I'm definitely not an "Elm fan boy", but I do vouch for this programmer's statement.
Was one of these on NES? With maybe six characters you could swap between who had different talents (like different jump heights)?

Game was impossible.
> But you probably knew all that and I have been concern trolled. Oh well, I try.

I think the less than hour old account with random username might've given it away. :-) Unfortunately a seemingly unusual amount of that on this story.
Unions should be interested in the reputation of their members. By supporting bad pilots they're making them all look bad.