skysight-inc/HackerNews huggingface dataset:
I have never been to Saudi Arabia, but my friends were, and according to them, SA is a pretty unhealthy country.

Many people do not engage in any physical exercise at all, overeating is common, consumption of sweetened beverages very high, illicit drugs are way more common than they theoretically should be.

Medical care isn't magic and cannot completely neutralize accumulated consequences of such bad lifestyle decisions.
So is Animal Farm.
> Log emission can often have a negative impact on performance, especially since peak logs and peak traffic tend to coincide. I’ve seen P95 latencies suffer just because of logs.

Only if the emissions of said logs is doing more than stdout or fs writing and it’s not done in another thread.

> Log emission can often have a negative impact on performance, especially since peak logs and peak traffic tend to coincide. I’ve seen P95 latencies suffer just because of logs.

Yes and you need to fix that terabyte per hour garbage as that is well beyond typical for a single service. We’re also talking about java so 7000 page stack traces is where i’d start…
Maybe if CSS had more features to work with pseudo element hierarchies rather than just ::before and ::after it might be viable to have the markup be the bare minimum semantic elements.
Datacenters use energy and computer resources more efficiently than a machine at home, unless the machine at home is already running some other tasks that you can't move to the datacenter. A computer that's 99% idle is wasting most of the energy it consumes.
> However, they probably need a stricter environment to function correctly, more robust control over their work – meaning they thrive when someone is looking over their shoulder. A remote gig is not a good fit for these kinds of people.

There's a lot more of those folks than you might think. We have a fairly "skewed" sample set, with geeks (especially the ones that frequent HN).

A lot of us love to work, and we'll do it; no matter the environment. Naturally, we tend to thrive in environments that reduce interruptions, and remove tangential stressors.

Other types of industries may not have a workforce with the same motivation. Also, personal self-discipline is crucial. That is not necessarily something they teach in college. I attended a vocational school, where that kind of thing was a significant part of the curriculum. It's never been an issue, for me.

As far as managers that need to have people at hand to bully? Unfortunately, they are learning to adapt, and have discovered that they can be just as bad, over Zoom, as in person. Worse, even.
The History of Web Components
Why is that called free cash flow? Shouldn't it be just called 'cash'?
Compression Is Compilation
Having an entire Website in a single HTML page was definitely possible.
Thanks for the links. Stumbled upon Otus Lisp / Owl-Lisp while looking for a sh/lua replacement for OpenWrt - the small footprint and architecture independend binary format as well as the FFI for .so files are looking great for that. Here is a complete documentation for the language: https://haltp.org/posts/owl.html that applies to both.
It's a problem with the title.
The first reply to almost every post is "how do you advertise"? Where are all the people doing side hustle advertising as a side hustle?
It's like when Panel de Pon for the Super Famicon was rebranded and rereleased as Tetris Attack for the Super Nintendo. It has nothing to do with Tetris, but Tetris was a popular game at the time.
No, I do mean 2012. The first ever macbook with a retina display. I managed to skip all those troublesome models.
> How do large email providers make it difficult to host your own email?

By randomly marking your email as spam without any recourse. This may be because they blacklist your provider en bloc, your IP address or some subnet, because they feel like it, it's Tuesday or because their spam filters suck.

But it happens and it happens often enough that running a business in that way will cost you money, sometimes lots of it.
Pubs are being phased out in favour of rooms[1]. You can totally have SSB work without pubs and rooms, it just takes longer for you to see some messages depending on how far away you are from the gossip. Rooms are much simpler than pubs, they just provide a tunnel for peers to gossip as if they were on LAN. It is more of a convenience than a requirement.

> every message needs to be public

Not at all. SSB has multiple types of private messages. They can only be decrypted by the intended recipients since the key used to sign it is a derivation of a combination of the keys from the sender and the recipients [2]. There is even a new spec for private groups[3].

[1]: https://ssb-ngi-pointer.github.io/rooms2
[2]: https://ssbc.github.io/scuttlebutt-protocol-guide/#private-m...
[3]: https://github.com/ssbc/ssb-tribes/
…But they aren’t saying what the drug is
No, there’s no way for you to view it. Apps can spin up a new keychain that iCloud will sync and you can put arbitrary strings in there. The user has no idea.

I’ve used it myself to persist auth tokens.
I run my own email. But I think it is a software problem.

It would be nice of you could just install an email program that will set all the right settings for you. DNS, database, roles and rights, certificates, firewall and so on.

There is server management software that can do this but then you have the same problem: it is just complicated for most people.
It's significant compared to the annual revenue from Tesla repairs for a typical successful car shop.
go make a pencil this afternoon
High-trust vs low-trust societies. In a high trust society you can generally get more things done more quickly and easily because you can spend less time and effort on trust structures; you can hire strangers rather than family members, etc. The downside is that there's a bigger, less heavily guarded return to cheating. And every effort to cheat to win that pot pushes the society closer to low-trust.
Or just wait for a SaaS to start using your project and then change the license to monetize.

Lol!
Why wouldn’t you just use CarPlay or Android auto?
I switched to carrying my phones naked about 6 years ago and prefer it. It seems odd to prioritize buying a thin, light phone and then put it in an Otter Box. I buy them used right after the next one is released (when the first glut of used phones is available) and keep them for a few cycles. Worst damage I’ve done is to damage a volume down button on the XS Max I’m using right now.
Airplane on a Treadmill
I've run mail servers.

These days, it's probably easier than it was, back then (about twenty years ago).

It was a nightmare. I didn't do it for a living, so I was consumed by the task. It screwed up my other work, something fierce.
Looks good. A bit out of date though
Anyone else having their M1 freeze sometimes?
Successful claims under 512(f) are rare, but that doesn't mean the section doesn't exist. There certainly is a penalty for false claims brought in bad faith.

Online Policy Grp. v. Diebold, Inc., 337 F. Supp. 2d 1195, 1205 (N.D. Cal. 2004). The defendant subsequently settled for $125,000.

Automattic Inc. v. Steiner, 2015 WL 1022655 (N.D. Cal. March 2, 2015). Court awarded ~$25,000 in damages.

*Btw, I think you meant "stratospheric." I'm pretty sure the atmosphere is everywhere.
> Since WordPress is open-source software, no company technically owns it

Uh what? This seems like a gross misunderstanding of FOSS licensing.
> Someone takes your pencil, and puts it in a really nice box with some other pencils.

Not quite, because what you're paying for in AWS for instance is not just the nice box (and AWS glue like IAM), but abstracting away all the annoying hardware stuff you'd have to deal with yourself if you went box-free.

Particularly, it's a lot easier to scale hard up and down (and thus better align your infrastructure spending with the actual demand) in the cloud than it is with on-prem hardware. So cloud providers are billing for that convenience and flexibility because maintaining all that hardware and providing the glue between the services becomes their problem.

I'm not really AWS's biggest fan (I go full self-hosted on my personal projects and when I must use AWS for work I'm careful to avoid vendor lock-in), but neither do I think it's fair to characterize them as just putting pencils in a box.
> This way the big players can just carve out a bigger market for themselves.

Or it’s because there is a near infinite number of domains so it’s relatively simple for spammers to avoid bad rep blocks by grabbing new domains and starting fresh.
Looking at this issue and then trying Qalculate! as some of the other commenters to this post have mentioned.... I tried 1/2(-9.8) and it calculated it as -0.05102040816 as I was doing the entry. As soon as I hit enter, however, it popped open a dialog box saying "The expression is ambiguous" and asked me to select an interpretation of expressions with implicit multiplication, setting a preference for later use. The choices were:

Implicit multiplication first: 1/2x = 1/(2x);
Conventional: 1/2x = (1/2)x;
Adaptive: 1/2x = 1/(2x); 1/2 x = (1/2)x

So their answer is to just ask the user what to do! It won me over with that.
White Guilt, by Shelby Steele. Gave me the conceptual tools to actually understand the political dynamics of racism in the US, rather than mere activist propaganda (as offered by other, similarly titled books). Plus it’s really well-written, and enjoyable to read.
I used to want to personalize my laptops. Due to same vague notion it'd reduce confusion in the office. (Which proved to not be a problem.)

Not big on product stickers. Because "No Logo".

I haven't liked any of the cases I've tried. Among other problems, accumulation of grit and scuz.

I once tried that spray rubber stuff (on an old sacrificial laptop). PlastiDip? Didn't work well. I'm dumb about this stuff. Someone with more experience could probably make it "nice". I plugged stuff into the ports I cared about. Then tried to tidy all the edges with an exacto knife. Looked terrible.

You know those fancy vinyl car wraps? I keep expecting someone to do that for laptops.
To most, including Gmail, it's actually no problem with DMARC in my experience too.

However, one of my servers IPs is on a Microsoft blacklist since many years now.
It sends <10 messages / day. I've tried every unlist form I could find, even called MS but it does not get taken of that list and they "won't disclose why".
I'm routing SMTP to MS via another relay now :)
i kinda have to disagree. i decided to take the plunge and i used a cheap racknerd vps and used Mailinabox. 5 minutes setup and occasional updates.

i got set as spam by google for the first few months but nothing since then. sure, one day i managed to spam like 200 emails in quick succession and that put me into spam but a quick "please select as unspam" solved it.
i've been running this for like a year and it has been a good experience. i recommend people try this out, it doesn't cost a tonne
Disagree. Pixelmator is awesome, huge cottage industry of niche MacOS app and marketshare of Windows+Linux much bigger for the “less fortunate” to choose from.

Might be tricker for a chat app tho…
The problem with e-mail, and with other forms of communication, is that two parties (or their service providers) need to co-operate. You can run your own e-mail server just fine, but Google, Microsoft and friends might consider you to be a spammer or silently block your e-mail just because.
That was Foxconn, a contract manufacturer.
There is such thing: https://maddy.email/
Quit being prejudiced toward Native Americans, man.
When visiting a historical, oil baron's house the guide said the painting they had was a routine copy of a certain work and it was the ornate frame that truly demonstrated their wealth. Cultural signaling is a 'value' all its own.
Fastmail is, IME, an excellent email service provider. No, it's not really "running your own", but it's exactly what most people who want to avoid gmail are looking for, re: deliverability, featureset, privacy, UX, etc. Highest recommendation, from an unaffiliated happy customer.
If everybody at work has the exact same laptop model, it allows distinguishing between laptops.
If you want to deliver email to other domains then you need to connect to port 25 on the destination domain MX server. As far as I know, best practice for the other ports (465, 587) is to require authentication and to reject anonymous submissions.
Google does this for the same reason coca cola advertises during the super bowl. It's not because they're afraid of competitors. It's to reinforce their position in your mind as a household name.
> If you put some decent effort [...] it works

Well, I put in more than some decent effort, and I didn't get it "to work". I detailed my efforts here:

https://www.attejuvonen.fi/dont-send-email-from-your-own-ser...

Please stop spreading falsehoods. If you were able to somehow get your own email server to deliver email to Gmail and Outlook, great, good for you - but stop pretending that anybody can do it.
All those quotes are funny. "Smaller" as in the amount of keyword? Because you definitely need to type a lot more to get the same thing done. "Lighter" as in executable size? I'll give you this for the basic hello world apps. "Faster" ? That's just not true.
Using Chrome Dev Tools I'm seeing around 150-200KB actually transferred on each search page result (2MB resources, though most are cached).

I'm also seeing content loaded happen in under 1 second.
I definitely feel like a sucker already for diligently paying off my school loans. A giant loan forgiveness program is probably coming.
A lot of the complexity of the python code is hidden by the Geo* methods you have here; a more representative comparison would show how those methods are implemented (eg with the shape files).
If that's what you want to do and what you have the personal time for, that's fantastic. For others, being obligated to reach that level of polish means a ton of code will simply never happen.

I'd liken it to an artist's sketchbook. If every piece is required to have the appearance of a master work, lest you be judged by it, then the sketches must remain private or else be destroyed (which they often were). But the masterpieces don't jump to the canvas without sketches. Forgo one, forgo the other. And an artist's sketches often have an elegance that's lost in the translation to a finished piece. I see similar parallels in the rough line art for animation, and certainly in an architect's studies. Not all of it is destined to be finished, either, but such work is often prized regardless.

So why (aside from fearing for our careers) should we be afraid to share?

Some code is inherently low-stakes. Some code will only ever be useful, even to the public, for a few months. Sometimes I just want to express an idea, where the proof of concept matters far more than making something shippable, which might imply strapping it down to a particular platform or ecosystem where no one outside those walls is likely to see it.

Even on the job, there's a time and place for the quick & dirty script, where anything more would be an over-engineered waste of time.

Back to the artist analogy, the best advice for maintaining a good portfolio is edit, edit, edit. Constantly be looking to remove work, leaving only your best, as you'll be judged by the worst. Does that model really work for GitHub? If everyone started withdrawing work they were no longer satisfied with, we'd all be worse off, if not actively harmed. So that's where I believe my artist analogy ought to end.
> biggest source of spam is gmail itself

[citation needed]; is this actually going out from gmail or does it just use gmail return addresses?

I too used to run my own email from about 2000-2010, but the maintenance overhead is quite stressful especially because it always happens for critical times or critical emails.
> Not seeing how this could be clickbait or even misleading.

The upthread comment was from someone who clearly assumed that this was intended as a driver feature, even to the extent of supposing that it was designed to be used under autonomous control. And that's clearly not the case.

That mistake is a direct result of headlines like the one here, which talk about "allowing drivers" to play games. It's technically true, but it leads to the wrong conclusion. And that's the intent!
The “dignity” part applies less to Apple’s Messages, and more to using ad-funded software where you are the product being “monetized” and manipulated. I find that repulsive and degrading.

Messages and Tact come from the same place in that both aim to just enable people to communicate, without any further sinister or degrading motive.
Greenspun's Tenth Rule of Programming
Personally, I'd prefer to have to deal with the spam than to have to deal with the duopoly in email that we have today.
> Datacenters use energy and computer resources more efficiently

That is both true and misleading. Once the datacenter and all surrounding infrastructure (optic fibers, fuel pit, dedicated electricity lines, cooling equipment) and all server/networking hardware has been built, then you start having a better efficiency. If the whole cycle is taken into account, there's no way VPS can be as "green" as selfhosting.

A computer will usually take more energy to build than it will consume over its entire lifetime, so repurposing an existing machine is a good way to go (if you consider minerals-related pollution, even more so).

Also, when you're in a datacenter, servers will be changed every few years. For something as simple/lightweight as email, a 20y old computer will do just fine. A datacenter will renew its entire hardware a few times in that timeframe.

> A computer that's 99% idle is wasting most of the energy it consumes

That is true whether it's in a datacenter or at home. But of course you can share/mutualize resources with other people in order to mitigate this.
Ask HN: What do you think of this type of “terminal based programming tutorial”?
Often when I read documentations or tutorials about a technology, I wish it was just a list of commands and not a textual description which tells you which programs to open, which files to edit, where to save them etc.

I made a demo how this could look like here:

https://www.gibney.org/from_debian_to_web_app

It shows how to create a Django web application from scratch. Starting with a fresh Debian installation or container.

Do you find this useful? It could be expanded to compare different frameworks setting up the same project. Django, Flask, Symfony, Laravel ...
Their email referenced AS3150 ... Here is what the (clearly frustrated) RamNode support person had to say last time I enquired:

AS3150 is NTT, a large backbone provider: https://bgp.he.net /AS3150
RamNode runs AS3842 and AS198203. We have contacted them before - they don't know why nor care why their system is raising issue with AS3150 in regard to emails from our network.
But this issue isn't exclusive to our network either, and no other major email provider blocks emails like this.

I have no reason not to believe him. :)
Because I have a free unblemished sticker and an unavoidable desire to reduce entropy in the universe. Gotta stick something.
dbrand sells vinyl "skins" for laptops and phones
Yeah, I only read so far into the article before losing interest in it. Great title, but it fails to deliver.

You raise an interesting point, about the fall of the Soviet Empire. Perhaps an extremely effective tactic, right up until the truth catches up and gets it's pants on.
On further thought, banning duplicates is just begging for trouble. It's a loophole you can drive a truck through. Just append a random throwaway property to every item and bam, "unique".

So yeah, regulate it as gambling. Don't let them advertise to minors. Don't allow them to knowingly let minors participate.
Liquid mode only works we for a subset of PDF files. And sometimes it doesn't work at all.
Awesome, so cool you are sharing it and that's exactly the goal I have (both for myself and to inspire others).

I had the idea of adding a "time travel" feature to it, so you can see literally how terrible the numbers were early on. My hourly rate for the first year was about $3!
Those I usually forward to their legal department with a little extra bit that says that I have stopped doing business with them on account of their UCE.
>You know those fancy vinyl car wraps? I keep expecting someone to do that for laptops.

Sounds like something dbrand[1] does.

[1]https://dbrand.com/shop/dell-xps-13-skins-9380
It's unfortunately not. The CPUs of the 2019 16" Intel MBPs are right at the thermal wall, and after removing so much mass, the Macs have no way to remove heat other than cycling fans extremely aggressively.

We hear almost nothing but complaints about them from long-time Mac users who are used to historically quieter devices. Under any load, like a few minutes of Zoom or Teams while connected to an external display, the fans are persistently and disconcertingly audible. It's become almost a meme in video conferences over the past two years when someone unmutes to speak and the fan noise overwhelms the noise suppression that you know they have a Mac.

Display artifacts and connection issues to USB-C displays aren't uncommon on the 2017-2019s either, but it still sounds like a torture test when running two 4k TB3 displays or a single 5k on one. The M1s are the first Macs I've recommend to friends and family in almost a decade.
Yeah, I'm sure it would but it would also increase the complexity a lot. I like how simple and low-touch the business is - it's one of my primary criteria for choosing projects!
Related: https://penrose.ink/siggraph20.html
And even if you did get it to work there is absolutely no guarantee that they won't block you tomorrow morning for no reason at all.
Brexit: One year on, the economic impact is starting to show
In case I switch books, mainly, although it is convenient to be able to share a passage from a book sometimes.
I think both Docker and Gitlab have gone this way. Docker for Windows requires a commercial license for a company over a certain threshold in revenue/employees. Gitlab has a free community edition and an enterprise edition with the bells and whistles you'd probably want in that context. IMO, this is the future of open source in general: different licensing terms depending on the user/application.

However, both Docker and Gitlab have professional teams behind them. It might not be the case that a particular important FOSS gizmo's creator is interested in writing up/enforcing better licensing terms or providing the maintenance a commercial client would expect.
Ask HN: Show your failed projects and share a lesson you learned
I guess no body is doing this, everyone talks about making money.
So, let's use this post to share our failed projects and the learnings with other founders.
Christmas Carol Written in Jq
Does it matter anymore? I haven't used the Google homepage to use Google in years. It's integrated into the search bar now...

Also, the Google home page loads dependent services (single sign on, lots of JS for XHR searches, etc.)
I use an app called toggl: https://www.toggl.com/. Highly recommend it!
FYI you can use VSCodium, the de-Microsoft version, with the neovim plugin, which uses real neovim and not emulation.

https://vscodium.com/

https://marketplace.visualstudio.com/items?itemName=asvetlia...

https://www.youtube.com/watch?v=g4dXZ0RQWdw

(As a newb I'm finding this to be a good way to learn vim without massacring my productivity.)
Another one for the SSO Wall of Shame:

https://sso.tax/

With Microsoft M365 and Google Workspace available for startups, it’s a serious shame sites want to make you store additional credentials with them instead of getting started on security right leveraging SSO.

- https://support.google.com/a/answer/60224?hl=en

Kudos to SaaS offerings like Pipedrive CRM for including SSO from the basic plans, and to Azure for recognizing that:

- https://docs.microsoft.com/en-us/azure/active-directory/saas...

Managing AAA isn’t only for Enterprises at $10K a month. It’s for 3 devs in a garage too.