skysight-inc/HackerNews huggingface dataset:
I decided to have a deeper look at this during my lunchbreak. I found a bit of a smoking gun: they claim that "probability distribution function of our temperature-based velocities are consistent with those described previously when uncertainty is accounted for (Supplementary Table 2)" If you look at Supplementary Table 2, it looks like their estimates are in line with existing studies (Malcolm 2002).

If you actually look at the source of this comparison table (Table 2 Malcolm 2002), you will find that their estimates do not align well. E.g. for 0-315m/year they estimate 37.6/90/15 % for mean/lower/upper. The equivalent measure in Malcolm 2002 is 71.1 but has uncertainty of only +/-1.23%! So their model is "consistent" with existing models because 71.15 is within their range of 15-90%. Figure S23 looks even worse.

So essentially they have proposed a model which doesn't really match existing literature and can't really be easily compared or used by others. They explain the differences away with assumptions but don't explain why their assumptions are better/worse. They might have produced a worse model but we don't have any data to tell!

But maybe I'm completely wrong and this paper is super-useful to those in this field. I'd still have to see at least 1 paper actually use their model to be convinced.
Yeah, if they can't scroll tiktok they might die!
At least they patched out the effect where Curse stacked with each death to the debuff. Imagine playing the game with half health, then a quarter health, then an eighth health...
I think what a lot of countries, like Germany (German here), for a lesson, is that your current stock of weapons is most useful in the beginning of a conflict as the conflict rapidly changes weapon development and your weapon will need heavy upgrades or they are no longer useful.

All western weapons get less useful by the minute.
Well if you want to read a book in its original language, it’s mostly because some idiosyncrasies don’t always translate easily, right? Learning a new language to the point where you get its idiosyncrasies will require a lot of time. Just to read one book? That doesn’t make much sense to me.
Funny they should put mirrors on the walls to make numbers appear greater.

I'm sure drones are a breakthrough, but using Russia (which lost perhaps hundreds of armored vehicles to drones) as the one making the breakthrough is rather funny.
Are you talking about https://www.reddit.com/r/aliens/comments/14rp7w9/comment/jqy... ?
Oh, but dear sir, you forgot about the AI!
I own a couple books on Make and it's a great tool, but I learned how to use Mk by just reading the manpage. It's a huge improvement and simplification at the same time.

There's a solid, stand-alone implementation of mk in golang. No plan9 environment needed.

https://github.com/henesy/mk
> I've been using vim for years, switched to neovim, and at this point I'm ready to throw in the towel and just use vscode for anything beyond simple text editing.

I’ve done that a couple years ago after ~15 years of happy vimming. Still yearning for the text manipulation language combined with macros, but all the other gains significantly outweigh the worse editing capabilities.
I'd imagine it depends on street rules.

Here in California I used to work for San Jose State University when I was attending. I worked an oncampus job where I was expected to drive a golf cart to and from campus (the job office itself was located off campus, about a mile away, during my tenure there). So I drove up to 25mph with that electric cart max on the street, and then also drove it all over campus on sidewalks. Very usable and pretty roughly equivalent to a kei car.
neovim extension + vscode is a great pairing. full neovim in normal and visual mode but you can call out to vscode anytime you want in those modes and you also get neovim extensions too. it's great and fast... worth a try.
This is interesting, but why don’t they link to the paper?
Or at least give its title?

The paper is «“Low-Resource” Text Classification: A Parameter-Free Classification
Method with Compressors»:

ACL Anthology, has PDF link: https://aclanthology.org/2023.findings-acl.426/

Arxiv, has PDF link: https://arxiv.org/abs/2212.09410

arXiv Vanity, HTML render of it: https://www.arxiv-vanity.com/papers/2212.09410/

ResearchGate, has PDF link: https://www.researchgate.net/publication/366423949_Less_is_M...

This is Listing 1: ”Python Code for Text Classification with gzip.”

import gzip
import numpy as np
for (x1, _) in test_set:
Cx1 = len(gzip.compress(x1.encode()))
distance_from_x1 = []
for (x2, _) in training_set:
Cx2 = len(gzip.compress(x2.encode())
x1x2 = " ".join([x1, x2])
Cx1x2 = len(gzip.compress(x1x2.encode())
ncd = (Cx1x2 - min(Cx1,Cx2)) / max(Cx1, Cx2)
distance_from_x1.append(ncd)
sorted_idx = np.argsort(np.array(distance_from_x1))
top_k_class = training_set[sorted_idx[:k], 1]
predict_class = max(set(top_k_class), key=top_k_class.count)

Abstract: In this paper, we propose a non-parametric
alternative to DNNs that’s easy, lightweight,
and universal in text classification: a combi-
nation of a simple compressor like gzip with
a k-nearest-neighbor classifier. Without any
training parameters, our method achieves re-
sults that are competitive with non-pretrained
deep learning methods on six in-distribution
datasets. It even outperforms BERT on all five
OOD datasets, including four low-resource lan-
guages. Our method also excels in the few-shot
setting, where labeled data are too scarce to
train DNNs effectively. Code is available at
https://github.com/bazingagin/npc_gzip

Ah, this was already mentioned a few days ago in HN:

73 comments: “Gzip and KNN Outperforms Transformers on Text Classification” https://news.ycombinator.com/item?id=36707193

7 comments: “Plain old gzip+kNN outperforms BERT and other DNNs” https://news.ycombinator.com/item?id=36705472

7 comments: “A Parameter-Free Classification Method with Compressors” https://news.ycombinator.com/item?id=36707509
> some of us don't have time to play games?

So don't. See the next part you quoted from me. But also, IIRC you're in grad school (too), right? Little time is kinda part of the deal. It sucks, I know.

But like others are saying, vim is useful right away. But I do disagree immensely with your premise. A good tool has no requirements to be immediately useful. There's lots of carpentry tools that require training to use, let alone use well. You can be good at vim or emacs in 30 minutes after using vim tutor, but like all specialty tools, it takes time. And that time really comes from using it, not from sitting down and reading about it. The same way you learn how to use a jigsaw, experience. Every carpenter has their custom set of jigs and way of organizing. Same is true for any engineer, or realistically any profession. Whatever it is that makes __you__ most effective, that's what you should do. Maybe that isn't vim at all and that's okay. I never even implied you needed vim, I'm just saying you should customize your environment. And like I implied, start with something someone else has put together, but learn to customize it to you. That'll take time and that's okay. There's no difference in using one of these than just using someone else's dotfiles. But making your own dotfiles is going to make you better in the long run because your tools will match you.
Helix is quite nice, with some sensible defaults and an easier setup. The keybindings take a bit of getting used to if you are coming from it with years of vim muscle memory, but kind of make more sense when you think about it (select+action vs action+select). It's still rough around the edges but one to keep an eye on.
Not as much stuff baked in. They are very similar. AstroNvim uses Lazy as the package manager as well.
A few years back, unstated on a farm with no electricity and I couldn’t got phone signal. As a result, I had no phone for a week.

I loved it.

The days passed more slowly, I wrote more freely, read more deeply, and spent more time being aware of what was around me.
There's a small coastal town near San Francisco where a bunch of the farmers/ranchers/other locals imported a fleet of Suzuki Carry's, IIRC. I was chatting with one owner and they told me most haven't bothered registering them since they're basically only used on private properties or the very small, low traffic roads into and out of town.
I dallied in this briefly, but couldn't get a good rust setup exactly how I liked, so went back to vscode pretty quick. Perhaps there's a good lazy+rust guide somewhere? I ran into the usual sorts of problems of some random plugin with instructions for how to install it in some other plugin manager for nvim, which means you have to learn two plugin managers and both their underlying concepts in order to port the config.
The Climate Game – Can you reach net zero by 2050?
> i mean imagine how little carpentry would ever get done if every hammer, drill, and tablesaw needed to be personalized

This kind of metaphor gets thrown around so often in this context. The editor is not your hammer, it's not your drill, it's your entire workshop.
I disagree, given the tooling and how REST, graphQL and gRPC are a mess of lego blocks put together via clunky tooling without structure.

Also the reason why Google had to come up with gRPC, kind of proves the point how HTTP based protocols don't meet the performance demands of those protocols.

Also why Linux distributions use D-BUS, Android has Binder, Fuchsia FIDL, and Apple platforms XPC.
congratulations, you've optimised a snippet that never ran – it was typed into the post form from memory
>I think it's just easier to notice "misleading or false statements" when they contradict what we like to think rather than when they are going in the same direction.

That is likely true, but what is your point? The statement I said was false and misleading was in the message that started this thread:

>After 70 years of trying we haven't built an economic traditional nuclear reactor.

Are you saying that was a true statement?

>For example, are you 200% sure of your sentence "The only issue with consumer roof-top solar is that it is the most expensive form of power ever created"? Is that true everywhere, all the time? Because if not, how is that not as much as "misleading or false statements" than the original sentence you quote? But of course, this sentence of yours does not strike you as misleading, because you truly believe it's not misleading.

This sort of incessant questioning is a form of sealioning. I guess I could have been more clear I meant that the obvious energy policy issue with consumer rooftop solar is that it is the most expensive form of power thus it has been given huge subsidies. (The money used for such subsidies is not unlimited and this money is fungible - obviously a dollar going to subsidize an extremely expensive rooftop solar installation could have gone much, much farther if it had gone to support a utility grade solar installation.) I think a charitable reading of my sentence would have understood what I meant.
> In fact vos Savant messed this up herself.

I don’t think it’s _that_ bad.

She writes that “the host, who knows what's behind the doors, opens another door which has a goat.”

Why would the problem statement say that the host knows what's behind the doors (devoting 10% of the description to making this clarification) if not to indicate that he knowingly opens another door which has a goat?
The principle of sufficient reason states that everything must have a reason or a cause. This is not a principle to lazily toss aside to avoid some more difficult question, it is a foundational idea.

Our understanding of the world (aka science) is largely based on causality, and if things existed without any cause or reason, our understanding of "science" would probably be very different.

(I'm not a physicist, but this is how I understand things.)
Point to point WiFi links are pretty accessible nowadays. I bought a €60 no-name set from Amazon to link two buildings 250m away that don't even have line-of-sight (other buildings and trees are in the way) and it works good enough for my needs (CCTV).
I imagine some people worry how they would deal with getting lost or being injured. It’s a fair point because so much now assumes you will have a smartphone with you at all times.

That’s why it’s nice having somewhere that doesn’t assume that.
One of the first places I worked ended up creating quite a nice framework where components would ask for data that was all put in a single SHAPE query, and the view layer was just XSLT (which is a perfectly nice functional language once you understand it). Was pretty productive.
It is a pretty well-documented strategy that has been done several times: https://en.m.wikipedia.org/wiki/Texas_two-step_bankruptcy

Not sure why you are treating it as an absurd concept.
> That’s just another way of saying that we live in a society, not in a social vacuum.

Well, that was my point. It's pointless to say people should be allowed to do what they like unless there are externalities, and then, classify everything as an externality.

It's just a more wordy way of saying that people shouldn't be allowed to do what they want.
Statamic is great for simple sites but for larger or multilingual sites it has lots of problems. I have a 5000+ page website that the static site generator takes 3 hours to build and there's been no improvement since v3 launched. You can use their "Static Caching" as an alternative to static generating but for my project requirements I need a purely static site. I'm busy doing a huge rewrite and switching to using Statamic in headless mode with NextJS in the front... which takes just a couple of minutes to generate the static sites instead.

I'm also still waiting for RTL support for languages in the CMS and multi-site permissions which has probably been on the roadmap for over a year but keeps getting delayed. I've submitted many ideas and bug reports on how to improve the multilingual experience but I don't think it's a priority for the team.
Tesla Semi will use the MCS connector, an industry standard connector for anything in the MW-range. Luckily we've managed to choose a proper connector before things hit mass market.

In theory there's nothing that stops both CCS2 Type 2 and NACS to deliver up to 1MW, both have the required cable cross section and cooling to allow for it. Everyone that has used both NACS and CCS2 will admit that NACS is superior in handling, something that is important if you suffer from any kind of disability, and point I've also admittedly not fully acknowledged.

The NACS as it is today simply wouldn't be a good fit for Europe, it lacks a couple of leads, and CCS Type 2 doens't offer any significant advantage in the NA due to the lack of widespread residential 3-phase power in North America. In a dream scenario we'd have the NACS connector with the capabilities of the CCS Type 2.
I'll give you an easy useful command: smart completion. In insert mode use <C-x> then <C-p> for a word or <C-l> for a line, or <C-f> for a directory path. You can repeat them because it is contextual. See `:h ins-completion`.

Also, get away from the arrow keys. And use <C-[> for escape. But it is also okay if you don't like vim. If you want to learn, there's a community out there and we're happy to help, but if you don't then that's okay too. You just do you and that's all cool :)
Since the Kiev regime (whose SBU is tightly interconnected with the Azov nationalists) directly funds and provides with weaponry such as 152/155mm artillery and shells (including cluster munitions) to their organized right wing nationalist groups who persistently conduct warcrime after warcrime for the regime, they lost any legitimate claim to the Donbass. The Azovs have shelled civilans in Dontesk for now nearly a decade and on a daily to weekly basis.

Imagine if China funded and armed right wing nationalist groups, who build forts on artificial islands near Taiwan and shelled Taipei weekly for nine years straight to "punish" seperatist citizens of the Repubic of China.

If that happened, you can be pretty sure China would loose any legitimate claim to Taiwan that it once had.
Where I live it is illegal. In a car, basically any accident at 50 km/h is survivable, even being seriously injured is rare. With a bike you just need one mistake to die.
I also went through this phase about a year ago, then just gave up and went with VSCode for its superior out of the box experience. That said, I still fire up vim to read files in a server or make one line config changes, but everything else....VSCode.

Related: Imagine having to remember the full scp / rsync command to sync source file(s) between your local machine and server, but it's just a drag and drop on VSCode.

I've just come around to accept that we've been blessed with great hardware over the years, and it's a waste if those extra CPU / GPU cycles aren't translated to significant dev productivity improvements. I'd take slower (~ ms) editor paint times over saving hours messing with vim configurations.
Not at all. Is around 12 years old, and seems still quite far from hitting 1.0. I'm a bit amazed by that.
> A declaration can only declare that a variable exists.

Yes; that's the only correct thing in your comment.

A declaration can declare that a variable exists, and nothing more, which is useful in some language that has a strict rule that variables must have been indicated as existing before they can be used.

If a declaration causes the variable to exist, then it's a definition.

However, about that specific example, "let foo;" in Javascript is actually a definition. It causes foo to exist in the scope where it appears, with a value of undefined.
Right? We're so sorry that you can't stand the thought of other people not being on their phones in order to find out what plant they are looking at, but there really is a very simple solution. Don't go there, and don't be one of those people looking at those plants.
Maybe back in Windows 9X days, nowdays the protocol has evolved enough that I seriously doubt it.
I found this conspiracy uprising talk to be a excellent firehose when it comes to scammers. Just pretend a CIA Händler contacting some revolutionary. They might be not afraid of the justice department but they do fear the ministry of the interior.
Very informative. I guess I'm still bitter about what happened with the Microsoft antitrust case in 2001.
It feels like you just told me that the thing that works without extra steps isn't cool. Is the problem that you're worried about not being cool?
May I ask what makes you more productive with vscode? Coming from decades of emacs I'm always wondering if I should try it. If anything because emacs is a huge time sink. You can get lost customizing it to your needs and forget that what you needed in the first place was get the work done.
I switched to LazyVim from nvChad because it was the only Neovim flavor that had actual documentation for how to get Copilot set up.
Do you think it's normal for medical studies to name their participants?
You can make the exact same example, except someone without a driving license finds a car. I doubt you're opposed to mandating driver licenses, though.
Interface seems convenient.
Interestingly, despite the burden of uninsured/unpaid medical costs, many in America view universal health coverage as antithetical to "forcing people to take responsibility." Given how many people are provided insurance by having (or being married to someone who has) a full-time job (half the population), there are many who feel that not being covered means you don't have a proper job, and perhaps you should, and why should I pay into a system so that you can get coverage easier? This is, of course, completely absurd, but you'll have no trouble finding people who think this way.

In case you're wondering why having to foot the bill for all those uninsured hospital visits doesn't make the "taking responsibility" thing super obvious, it's because most people aren't aware of how much they are paying for it. Like many things here, uncompensated medical care is ultimately paid out of a combination of many different local, state, and federal sources. While we are all paying for it somehow, it is not obvious to an individual how many of their dollars went to it. Therefore, while unfortunate, many believe that an increase in monthly healthcare premiums (they know exactly how many of their dollars go to that) means they will be paying more overall, not the same or less, because they are either unclear on how much of their money is going to the uncompensated costs now, or they don't trust that their tax bills will actually decrease.

We're once again at a place where most Americans believe healthcare coverage should be guaranteed, but are miles apart on who they trust to actually handle it. [1]

[1] https://news.gallup.com/poll/468401/majority-say-gov-ensure-...
Running DOS Software from the Command-Line
If the aliens from Arrival landed in 2023, perhaps we would be generating our replies with a finetuned Stable Diffusion model.[0]

[0] https://github.com/siraben/heptapod-diffusion
"Travellers who don’t use digital travel credentials must not be discriminated against. This condition includes that border controls for travellers with physical documents must be equally accessible and sufficiently staffed to enable travel checks in a reasonable amount of time."

Is it a reasonable amount of time today? If digital documents allows someone else to go faster is that discrimination?
There's also the hidden danger of temperature. If soup gets hot enough, it can burn the inside of ANY mouth
Oh, I can definitely agree that it is easy to get caught in it. I think we've all done it. I'm not sure if it is wasteful or not because there are at least worse ways to procrastinate. I'm pretty sure if you weren't procrastinating configuring your dotfiles you'd be procrastinating by doing something else haha
It riled you up, marketing strategy perfectly executed.
Show HN: Weekly Charts of Strong Stocks and ETFs
Hi HN users,

My project is weeklycharts.org.

This project generates and shows a weekly list of strong stocks and ETFs. My definition of a "strong" stock is a stock that is rising, upward trending and advancing stock.

This project is based on an idea which I have after reading the book, "How I Made $2,000,000 in the Stock Market" by Nicolas Darvas.

I have used UNIX shell scripts and GNU Awk to calculate the statistic; and HTML, CSS and SVG for presentation; and GNU Make for building this project. The stock prices and industry profile of the companies are sourced from finance.yahoo.com.

I intent to open source the code, on github, but have not decided on a license that best fit this project. I would welcome your suggestion.

Initialy, I hope to setup this project as a paid subscription service, maybe say, between one to ten dollars per month. But after much consideration, maybe a open source model is better, as I do not want to turn my hobby project into a business and the hassle of managing it. I prefer to share this project with everyone, with a contribution model.

I hope this project is useful to you, as it is for me.

All suggestions, feedback and questions are welcome.

And I thank you for your time and attention, and support.

nano17c
(maintainer of weeklycharts.org)

PS. I am a long time passive reader of HN. Just create an account recently to show case my first side project.