skysight-inc/HackerNews huggingface dataset:
Does anyone have any recommendations if I want to keep using macOS, but I'm not tied to a MacBook?

I realized I hadn't taken my main MacBook off the dock in 9 months. When I go out, I have an older one that I'm happy to use away from my desk. Since it's acting like a desktop now, I though maybe I'd replace it with a higher-spec mac desktop. But a high end mac mini isn't much different than a high-end MacBook.

It seems if you want a high-performance mac but don't want to spend 6k+ on a mac pro, a specced-out 16" MacBook is the best choice. Is that correct?
As a hobby experiment I did something similar: ported generic containers and algorithms to C89.

Unsurprisingly, what I found was that it was an uphill battle to replicate behaviour and performance that would be found under a better type system.

Things like "aggregate values matching this predicate with this folding lambda into this target container" were clumsy as hell.

But I like your approach of abusing preprocessor definitions prior to including the container header. Neat!

https://github.com/dleslie/dl/tree/master/include

https://github.com/dleslie/dl/blob/master/src/test_dl_algori...
I mean... this is what I'm trying to get at and why it is complicated. The issue I see is that the conversation has become reductionist. I see a few options:

1) Business as usual (i.e. private entities make their own rules on their own property).

2) We classify these as public spaces. We then run into problems of "all" or "of a certain size." Both of which will have weird effects. "All" makes it difficult for competitors or niche groups (do we allow all articles on HN?). Of a certain size means companies have to transition and creates a new major speed bump in companies going through that transition.

3) We create a government owned platform. Now we'd be legally required to have free speech protected as this is clearly public property and free speech applies to government controlled platforms. But this has the downside of potential for abuse and turnkey tyranny. This becomes a bigger problem because these platforms tend to be multi-national. So does each nation run their own? Do we connect them? Does the UN run it?

4) We radically restructure the internet to be privacy forward. No one can dip their fingers in the pudding and taste it. No governments, no private entities. Do we do this centralized? Federated? Mixture? Do we do domain fronting? Do we force large private entities to facilitate such techniques so that we have a cultural fight? (i.e. encourage secure communications in oppressed countries) Or do we leave everyone alone?

There's a lot of other options too, but I see these as at least covering a few major points. The conversation is really difficult and we need to think about how to solve it and what the problems are instead of just shouting about it being a problem. I think everyone agrees that it is a problem, so let's move the conversation forward. Especially on a form for people that are able to solve many of the technological challenges to some of the above options. But society needs to decide the societal parts of the solutions and that requires discussion.
I don't mind the CCP's paternal approach to platform content and I don't find it unethical for a company to comply with them.

I don't live my day worried that people won't discuss one event from 30 years ago without reprisal.

I understand that the idea of a public sector entity being a parent is a line in the sand, but it doesn't offend me that it is done - over there - and that some companies - over here - create a user experience that is congruent with that.

I find the user experience pretty pleasant.

The simple reality is that not every topic is about whats happening on the other side of the Gobi desert, or what happened 30 years ago. There are just other things to talk about and it is more normal to compartmentalize this sentiment, instead of conflating every action occurring in China with things grimmest things that party did. Because we don't do that anywhere else.
The naming of the txt files is of mixed to good usefulness for you. First ten listed as example.

- 0/0.4 - Mike Lancaster.epub.txt
- 0/0.721 - Gary Webster.epub.txt
- 0/01 - Alec Dunn.epub.txt
- 0/01 Kai_ Ninja Of Fire (Scholastic) - Greg Farshtey (retail).epub.txt
- 0/02 Crescendo - Becca Fitzpatrick.epub.txt
- 0/03 Cole_ Ninja Of Earth (Scholastic) - Greg Farshtey (retail).epub.txt
- 0/03 - Jean-Christophe Valtat.epub.txt
- 0/04. R. W. Peake - Antony and Cleopatra Part I Antony (Marching With Caesar, Book 4) [Retail].epub.txt
- 0/05. R. W. Peake - Antony and Cleopatra Part II Cleopatra (Marching With Caesar, Book 5) [Retail].epub.txt
- 0/05 LEGO Ninjago - Snake Attack! (Scholastic) - Tracey West (retail).epub.txt

Apologies, I had included the wrong corpus originally, the correct list is this one.

Second edit - Books3 is much cleaner than Books1, I am editing my negative opinion to a more positive one to reflect that.
Not the person you responded to, but I too run my own resolver on my router. I also have the router configured to drop [1] all outgoing packets to any DoH IPs; there are a bunch of lists for those, like https://github.com/Sekhan/TheGreatWall

[1]: Specifically, to reject them, which means sending a TCP reset / ICMP unreachable response back rather than blackholing them.
The day of the Linux desktop is Windows with WSL2.

The irony.
I think the novelty here that justifies the article is that this article challenges the oversimplification of "unsustainable" into "useless".

This is an argument that bicycle generators can have value in some specific, non-critical instances, like when you already cycle daily and aren't very familiar with how to build and maintain a wind or water turbine (as you suggest).
I've came across websites that return a 403 to ANY IP located in Russia for some reason. Official website for NSA's Ghidra is one example. Had to use a VPN because I was having none of that bullshit.
I never left. Assuming a full Laptop with secure boot disabled, running Linux (Fedora) counts.

Unlike the author I do use recent Laptops with Linux.
Like the author I like to actually own my machine.

I would never trade this for a "gadget" running Android, ChromeOS, or IOS - other than my phone that is.
> I ask this with no malice: What makes people work on projects like this?

There is market for these kinds of phone. Check out the "Classic Phone" segment of Nokia - https://www.nokia.com/phones/en_in/classic-phones ... they've even recently released a 4g "dumb" phone.

Not everybody can afford a smartphone. And "dumb" phones like this provide the much needed mobility and connectivity to low-income group of our society (especially in a developing country like mine). Apart from this, the other reasons to consider these phones is the long battery life, and the less distractions they offer.

> I'm willing to bet that the phone is bound to fail and their OS will be doomed to obscurity. How do the creators not see this?

Yes, the phone will fail. But not for the exact reasons you cited.

They will fail because they are targeting a niche market - people with good income who have chosen a minimalist lifestyle. And that's why it is priced at the nonsensical price of $314 dollar ("discounted" from the "original" price of $369). The pricing makes no sense when you consider that Nokia offers 4g capable dumb phones for $40 to $48.
NYT and MSNBC are left of center in the USA. As is Twitter, which is what's relevant here. Which is what makes them left-wing media.
Hi Sean, yes - that is the case. I've regrouped the documentation to make this clear. Happy to have any suggestions for improvements. This is just a starting point.
This will be true for a long time - the design constraints are so totally different it would be foolish to use the same design in desktop and laptop systems.

The most limiting thing is TDP, which in the highest performance laptop processors is still capped at 45W, whereas a maxed out desktop processor can draw 100W or more.

See these tables for i9, for example, compare Coffee-Lake-S (Desktop) with Coffee-Lake-H (Laptop)
https://en.wikipedia.org/wiki/List_of_Intel_Core_i9_processo...
Another angle is educational.

With the kid, I want to get a motherboard, power supply, RAM and disk and build it all up to a prompt.

Then do Linux From Scratch on it.

Not practical for daily usage, but invaluable for teaching what is at stake with the stack.
> Who says apple hasn't built a viable alternative already?

A decent search engine is not worth the massive amount of 12 billion dollars. The advertising platform Google build is!

Apple 1) can't recreate that 2) it shouldn't as advertising is not in their DNA and opposite of their privacy core values.

Apple can build a search engine (or just switch to Bing) but they wouldn't be able monetize that for $12000000000.
My last 4 machines have been Alienware laptops. I enjoy the freedom to travel and take my machine with me. I still use external monitor/keyboard and mouse. It's basically a modular, portable computing machine. Perfect for graphic design, web development and light to moderate gaming.
There's a large chunk of enthusiasts between "the masses" and the hard core of people who "actually care" enough (and are rich enough) to go out of their way to have their own machine at home no matter what short of it being illegal.
I'll take that exact bet for you. I like those odds because I know that the chance of california going red is effectively 0
They have improved by a lot. My contexpr double(JSON) parsing in regular C++ is able to run with hand vectorized parsers. The compiler's autovectorizer is amazing.
I've been testing a way to improve emotional health without recording any private information to try to avoid the challenges of hacked/leaked info.

I record short audio exercises, where I ask a series of questions with a format like "How do you feel when you think about ___?" and put different scenarios in the blanks, related to a theme.

If you listen to the audios, you can answer in your own head, say them outloud (not recorded), or even write them down wherever you want.

I'm not sure if any of you would like to try, but I figured people reading this may be interested in super-private ways to try to get better at dealing with emotions.

Currently at www.jimkleiber.com/drills

edit
The main benefit is helping you get better at saying how you feel and imagining how others might be feeling, which can help you release emotions, process them, better understand them, clarify them, and communicate them to yourself and the people around you.
Agree on most of the points, but...

>6. The desktop has an optical drive I still use.

for what? You're probably better off (in terms of both convenience and IO performance) to store it on a hdd/ssd as an iso and mount it.
What's better is reading HN and walking. I have been walking around 11km each day the past week, reading HN or some articles for my work/side project on Medium. I usually walk in the early morning, before 7, or in the evening in a park, so being distracted isn't an issue.
> I keep trying to use Wayland, but it never fully works. Everyone keeps saying how well the highdpi stuff works

I use Wayland daily and have for a few years. It’s clearly gotten better, and I rarely encounter problems. I do have my load of applications still running in XWayland though.

But yes. Support for varying DPI in my multi-monitor setup is handled much better on Wayland than on X11. I would say much better than on Windows too.
The winner of the Giro d'Italia stage today was doing nearly 600W for just over 17 minutes.
Thanks very much for the pointer to PuzzleScript. I was not aware of it. It's very cool to see a rewriting-based system in practice. I chose to work with a more imperative style of guarded commands in TileCode, but it's very close to a rewriting system.
We can't find a way to stop them + huge insects = unsolved problem

This seems contradictory to me as a beek. 5/16 holes as a mouse guard should also keep huge insects out of the hive. It also should be easy to create pheromone traps if it is true that the hornet's seek out the scent of other dead hornets.

On a side note, I see mites as a genetics issue. I would rather see commercial outfits using selection rather than treating with chemicals and shipping packages with weak genetics all over the US. Spearding weak genes is kind of the opposite of Darwin...
I'm going to go a step further and say that I absolutely adore UEFI. Why should I have to install my own bootloader to multiboot? Why can't the motherboard do that for me?

With UEFI I can set up my own boot entries and boot directly into whichever Linux kernel I like with whatever arguments I like. I can write a script that easily boots me into another OS exactly once. And it's a delight to not have to think about traditional bootloaders anymore.
Javascript has bigint support.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
You certainly seem to have had reasons to be concerned but suggesting that a piece of software is inherently vulnerable because it's written in PHP has no basis in fact.
We haven't even seen the extent of the depression yet. Combined with congressional inaction on social spending a lot of people are going to be in very deep finanical issues. This is a systemic problem that we needed fixed 3 months ago.
> I know that new "open" laptops are still available, but most of them--the System76's, the Purisms, etc.--are overpriced in my opinion

This quote suggest to me the author is an integral part of the problem.

Companies are ALWAYS trying to increase their profitability. If they can lock down the computer, they can drop the price while _increasing_ CLTV.

That’s why System76 is more expensive. They’re NOT overpriced. They’re priced as “general purpose computers” must be to be competitive.

I agree with this author, but this suggests that the strength of his conviction is maybe $400.
I plan to. But I'll still use Sailfish OS on them.
No self-respecting author would write "We'll always have access to typewriters without built-in censorship. Sure, we might not be able to pay consumer prices for them, but they are not going anywhere."

What makes you so sure the restrictions will stop somewhere you're comfortable with? What happens when unlocked machines are only available to "enterprise" (not unlike a certain Windows version), and you have to agree to audits when buying them? What chance do free operating systems stand, when 99% of users don't even have access to computers that could run them?

We need not worry as long as somewhere, in some dark basement, a sysadmin is able to assemble an unlocked personal computer from his company's old hardware?
This is only slightly true: if you buy a well-designed system and don't disable power management, a desktop will use more power but not substantially so unless you're actually using that extra capacity. If you buy some massive gaming / ML rig, yes, that'll use a lot more but it's a lot closer if you buy a comparable capacity and quality system.

The best way to see this is to buy a watt-meter and test it while doing what you normally do. Also remember that two decades ago you'd probably have had the computer _with_ a CRT sucking several hundred watts constantly, probably with some nice incandescent / halogen bulbs to keep things extra toasty, and a decade ago if you weren't using a Mac you probably had most of the power savings features disabled for system stability and/or compatibility. By now even the faster components have great power management when they're not fully loaded.
Cool stuff! I definitely try this out. Im looking forward for some inspiration.

I recently created very similiar project to simplify web dev.

In just 100LOC I came up with (I think clever) way of writing web apps without webpack or npm. Reactive, declarative, Elm-y style.

if you are interested: https://github.com/SandroRybarik/nameless
I mean, could it help if we mercilessly threw away all the code from Xorg that is there to support all the Unixes from the 80s and 90s, all the code paths for kernel-bypassing direct hardware access, and reimplemented the protocol on the same stack Wayland compositors live? Wouldn't it have solved the problems that were not about the protocol design?

Sure if someone wrote it in Rust it would be also safe and secure /s
In other news, water is wet.

Is it surprising to people who are working from home, that the office they used to work in and cannot yet return to is now vacant?

People have been calling the collapse of San Francisco since the gold rush. It's clearly had its ups and downs, but the overall trend is clear too.
>tries to define quality
>splits it into objective and subjective

Someone hasn't read Zen and the Art of Motorcycle Maintenance
Many of them can't because they don't have sufficient plumbing everywhere (apartments would have far more bathrooms and kitchens) and most buildings can't be retrofitted.

Plus, land-use laws would have to change, which is also extremely difficult.
I didn't see any specific numbers in reply to your comment, so I just want to point out that base clock Ghz for Intel and AMD is much higher for desktop CPUs than laptops. For your average click-read cycle, this feels better.

At full load, it depends on the heat dissipation; Dell's Precision 7XX0 dissipates heat well enough to keep the CPUs from throttling, but the 5XX0 does not.
> Most people are not content creators, they are consumers.

I don’t think this is true at all, everybody that has a Twitter / Facebook / Instagram / YouTube / TikTok account is a content creator. There’s a reason the term “browsing the web” has died out, it’s not about passive consumption anymore.

Writing code is just about the only thing you can’t do on an iPad. And while I think we can all agree on HN that having a gateway to programming is super important, you can’t expect most people to care.

Typed on my iPhone. In bed.
What kind of hacker cannot bypass an IP block, but is capable of hacking the election?
A little box like this could allow you to plug big big monitors to any laptop though [1] (been using it and works fine). I almost never open up the laptop and use it directly.

... You can put a big disk on a laptop, USB3 hub, etc etc

I think main thing missing for me is a beefy GPU and maybe a bit more RAM.

1: https://www.amazon.com/gp/product/B0838WTFD1
You are correct that if you run your own resolver, then all the DNS traffic from your resolver to other nameservers is in cleartext. DoH and DoT only get used by forwarders.
What’s Going Wrong with Chinese Literature in Translation?
Operators of social medias are judge, jury and executioners by full right. But corporations are not democratic entities. They are subject to the democratic (or not) laws of the countries where they operate, but they also are subject to unwritten profit laws.

I think the answer is in decentralized networks, because they are controlled neither by governments nor by companies.
But how do you store it as an iso without making the iso in the first place?
The alternative would be to rely on void* for all data types,
which was really nicely presented in Mastering Algorithms with C by Kyle Loudon, but after working through it the lack of type safety for even basic types was a huge pain.

At least with a bit of pre-processor magic, type safety and contiguous data is promised. Also, getting crafty with precompiled headers, one could dump all the expansions into a single templates.h, compile a .gch, and reap the benefits of hundreds of containered types with instantaneous compile times.
> Weaponising open source is a new low, even for this particularly clueless US regime.

You assume it's about open source in particular. It isn't. US sanctions are very sweeping in scope.
20/30% more is much faster (just check desktop/notebook results at https://www.cpubenchmark.net/ to name one)
Also snakeheads, spotted lantern flies, [insert name of other costly free-trade pest here]
>> claiming more than half of the market in May 2020.

Market share /= number of devices.

Apple owns the "market", ie the money. Apple owners spend vastly more on their OS (via playstore). Android might be running on vastly more devices, but the people who matter, the rich people with money to spend on camera apps, spend that money via iPhones.

We live in a world where whales matter more than customers. The legions of android users who use their phones to make phonecalls, as internet browsers, and as navigational tools ... they don't matter as much as any single iPhone user who regularly drops a few hundred every month on eye candy iPhone backgrounds.
You still can. This takedown is just the first shot across the bow. It remains to see if the repo will remain down - it's likely to be reinstated. Hosting will probably move along. The program is still available from its website and from a million linux distros and other places where it is bundled.
Where would be the demand for thousands of extra apartments if folk are mostly remote?
I love desktops, but I have to admit that it's pretty great having a built-in UPS. To get the equivalent for my desktop is an extra $200+ and a big honking box that apparently will only last for 30 minutes when the power goes out.
I went to the apple website and they have new iMacs for <$2000
That all sounds very uncomfortable.
Andrew is doing a very good job at recording/documenting a lot of facts there.
I hope he finds a good path out of this situation.

I wonder how many other people have similar things like this happen to them, but are helpless to fight it because they are unaware of the required documenting/recording posture needed to have a fighting chance in a situation like this.
It's hard to find a full size bluetooth keyboard. I think I went through every keyboard on Amazon and found only one. If you use a USB wireless keyboard, well, there goes one of the two USB slots on the laptop.

It's not just the monitor being big, I want lots and lots of pixels. I'm currently running 3840*2160, and have a second monitor attached set up in portrait mode (so I can display a manual page while I work on the other one).

Of course, I'd get an even bigger monitor with more pixels if they didn't cost so dang much :-) How big, you ask? A wall size retina display! I've wanted one for 40 years.
Ive been told in a lot if cases this is virtually impossible due to cost and structural constraints of office construction vs residential... notably ceiling heights, plumbing and floor plans are poorly designed for residential conversion.
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6763680/

> HIIT (high-intensity interval training) and sprint interval training (SIT) for 6-8 wk increase VO2peak more than or at least comparable to MCT (moderate-intensity continuous training).

> The clinical and physiological benefits of HIIT compared with those of MCT are shown in Table Table1.1. In multiple RCTs, a wide range of targets, including skeletal muscles[19-22], risk factors[21], vasculature[19-22], respiration[22,23], autonomic function[24], cardiac function[20,22,25-27], exercise capacity[26], inflammation[27], quality of life[27], physiological markers such as VO2peak, and endothelial function, showed better improvements with HIIT than with MCT.

This is true even though the HIT groups were spending just minutes sprinting a few times a week, vs the MCT groups that spent 30 minutes to an hour running or jogging.
His paintings feel extremely nostalgic to me because they remind me of Amiga graphics in the 1987-1993 era.

It's probably due to three factors: 1) Elson's bright colors with limited color blending evokes the Amiga's limited 32-color palette; 2) the texture detail is often similar in granularity to a low-resolution hand-pixelated image; 3) scifi and fantasy paintings were often recreated by young Amiga artists.
Is this a worldwide trend? Wonder what it means for city tax incomes.
Now that you phrase it that way, I guess I prefer a desktop too, because I have most of those things, but split between my NAS in the closet and my laptop docked to my big monitor, keyboard, and mouse.