Hacker Newsnew | past | comments | ask | show | jobs | submit | hparadiz's commentslogin

I'm only using it until I can make my own TUI from scratch in C or Rust.

Thank you for your thoughts.

I made this as a joke with AI in about two hours because I kept seeing this pattern where code bases were grepping for classes because it was faster than anything else available to PHP userspace.

This is a runtime extension so it doesn't preclude you from using it as it would not be considered part of your proprietary code. Similar to how running grep through shell_exec is not the same as incorporating GPL code in your code. I suppose that is a matter of philosophical and legal opinion but I believe my interpretation is the de facto reality.

As for benchmarks there is a thing in the docs folder talking about that. I spend some time on it. The tldr is the PHP runtime is slower to startup so the overall slowness for PHP was 20% slower compared to the grep CLI but that's an apples to oranges comparison because if you already have a php thread running doing an extra ggrep call in userspace is going to be faster then grep because the binary doesn't need time to load into memory.

I just wanted to throw this code out there in case it's useful to anyone but I was considering write a new one for ripgrep or ag because they are both faster than GNU/Grep.


Can you prove your work was used in any of these models? And if so what percentage of your work constitutes the model?

> Can you prove your work was used in any of these models?

They admit it themselves. We also know how aggressively they scrape everything they can get their hands on because projects like Anubis[0] exist

> And if so what percentage of your work constitutes the model?

That should absolutely be quantified, yes. My part is tiny but together with other people whose work was taken without consent, we make the vast majority. Last time I napkinned the math, I estimated making the models took 10^12 hours of work (nearly all being scraped public and possibly even private projects), out of which only 10^6 was paid (work by the employees of the LLM companies). So roughly 10^12 remains unpaid.

[0]: https://github.com/TecharoHQ/anubis


Sounds like a no.

"They admit it themselves."

"Sounds like a no."

This level of discussion does not belong on HN.


That's part of why the shift to renewables. I have a 12kw system on my roof and I pay $220 in December and get $150 back in July.

The economics are getting interesting cause now you can get a 2kw hr battery for like $350 and plugin 400 watts of panel into it and run at least a laptop and basics peripherals forever so the draw on the grid is gonna diffuse over time.


For peace of mind I'd like to be able to run my EV (24kwh battery) and spare fridge / freezer off home solar. Anything more than that is gravy, and I'd rather invest in things like Oregon Community Solar.

The hardware for a Linux laptop right now is not great. Especially for an arm64 machine. Even if the hardware is good the chassis and everything else is typically plastic and shitty.

That is a surprising sentiment. Most dell and Lenovo laptops work just fine and are usually of reasonably good build quality (non-plastic chassis etc.).

arm64 is however mostly bad. The only real contender for Linux laptops (outside of asahi) was Snapdragon's chips but the HW support there was lacking iirc.


They give us Dell Linux machines from work. They suck so bad and we have so many problems. Overheating, camera is terrible, performance is bad relatively to the huge weight of the device. Everything is a huge step down from Macs.

Whenever I see Linux people comparing Linux and Mac I'm amazed at the audacity. They are not in the same league. Not by a mile. Even the CLI is more convenient on the Mac which is truly amazing to me.


How is the Mac CLI more convenient? There isn't even a package manager in the box, they ship loads of old outdated tools too. Plus there's the whole BSD/GNU convention thing you have to watch out for.

I don't find my ThinkPad running Linux overheats, nor is it particularly heavy. And performance is comparable to the similarly priced MBP at the time. Camera sucks, but compared to my Surface so do the Macs...


Prefer my Konsole setup on KDE and I use both interchangeably all day tbh. Camera yea. The irony is heating issues become less of an issue with arm.

We are lucky in that we can choose our machines (within reason, and no real support if things get broken) and run an arch flavour.

I use thinkpad x1 carbons and have nearly 0 issues. The hardware is not quite as nice as a macbook but it does the job and is nice enough.


Recently an article on HN front page was about a guy who had to file down his MBP because the front edge of it was too sharp and resting his wrists on it hurt his hands. At least two people in the comment section noted how the sweat on their hands over time caused the sharp edge of the MBP chassis to pit and it caused it to turn in to a sharp serrated edge that actually cut their hands.

You can say other laptops are "plastic and shitty" all you want, but Apple's offerings aren't necessarily the best thing out there either. I personally like variety, and you don't get that from Apple. I can choose from hundreds of form factors from a lot of vendors that all run Linux and Windows just fine, plastic or not.


[flagged]


Well they do have the Max+ 395 - 128GB beast https://frame.work/desktop

Which is none trivial. The laptop scene is particularly difficult though.


I have a personal Framework 13 and a work-issued MacBook Pro. I love Framework’s mission of providing user-serviceable hardware; we need upgradable, serviceable hardware. However, the battery life on my MacBook Pro is dramatically better than on my Framework. Moreover, Apple Silicon offers excellent performance on top of its energy efficiency. While I use Windows 11 on my Framework, I prefer macOS.

Additionally, today’s sky-high RAM and SSD prices have caused an unexpected situation: Apple’s inflated prices for RAM and SSD upgrades don’t look that bad in comparison to paying market prices for DIMMs and NVMe SSDs. Yes, the Framework has the advantage of being upgradable, meaning that if RAM and SSD prices decrease, then upgrades will be cheaper in the future, whereas with a Mac you can’t (easily) upgrade the RAM and storage once purchased. However, for someone who needs a computer right now and is willing to purchase another one in a few years, then a new Mac looks appealing, especially when considering the benefits of Apple Silicon.


What love? I think this is bullshit.

Prime directive doesn't apply because they are part of our home planet. Our actions or in-actions can improve or worsen their living conditions. Their natural world is gone anyway. We've changed it already.

Mint lags upstream by years. Lol

I legitimately think this is exactly the type of thing that amounts to destruction of property with actual criminal penalties warranted.

I used to help run an art website and had to figure out how to do taxonomy for art. Imagine if someone asked you to put all art into categories.

One major truth discovered:

Art is always in the eye of the beholder.


> Art is always in the eye of the beholder.

I like to think of fine art as a subjective human expression to stir emotion.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: