skysight-inc/HackerNews huggingface dataset:
> I want my own keyboard, which I have selected for its ergonomic properties.

^This. I enjoy using a nice electromechanical keyboard, but the noise from typing (even on a model with quieter/damped key switches) is incompatible with a shared/open plan office space.

But the greatest reasons are privacy, a sense of spatial ownership, and freedom from distraction and interruptions.
When working on the perl ORM DBIx::Class and its underlying SQL generator SQL::Abstract, we always took the principle "if you can't get it to generate the exact SQL you'd've written by hand, it's a bug" and lots of people I know who have since (for entirely understandable reasons) moved on to other languages as their daily driver continue to periodically complain about everybody else's ORMs to me (though when I've had beer with sqlalchemy devs at conferences they've been notable for having the same attitude, more power to 'em).

I have a horrible feeling I'll end up cracking and porting the whole stack to typescript at some point if nothing else because peer pressure/nerd sniping (and if I can make that work, probably also golang) but that's said in the spirit of "you are doing the right thing where so many people aren't".

I'm kinda waffling and not entirely sure how to best end this comment but I both hope you have great success and also that we get to have beer at a conference sometime to share war stories and trade-offs because you sound like you have the Right Ideas (because they're similar to mine and I'm always right, obviously, but still ;).
This sounds similar to what is now done to button cell batteries to deter kids from putting them in their mouths.

I’ve never tried tasting either but I wonder if the process is the same?
> there's no technical reason to use poison

Yes, there is. Methanol and ethanol are very chemically similar and small amounts of methanol in your ethanol is usually acceptable from a chemical standpoint. But denatonium benzoate is not like ethanol, and can be a contaminant that destroys the process.

To get around this, you either have to find old-fashioned methylated spirits in very high purity, pay the alcohol taxes (which are stratospheric on 200 proof...), or file a crapton of paperwork to buy ethanol tax-free because you're doing chemistry things with it, not drinking it. The latter is what big operations do, but it's a giant pain in the ass if you are not a big operation and you just need moderate volumes of high purity alcohol for your critical cleaning operations....
Did Game theory prove that Nixxon's Madman theory was the best approach to handle a scenario of mutually assured destruction? I would have expected that playing an irrational, trigger happy bluffer would not be the best approach. Conversely, I do think that the Soviets expected to play rationally.

Let's compare it with the COVID response. Did world leaders listen to their scientists, or did many act irrationally because they have the last word? If some of them don't follow science, why would they follow game theory perfectly? What about their whole pyramid of underlings?
Yeah there are "external SATA" style USB solid state drives that are fake too. A colleague discovered this after someone we knew purchased a few and all of them failed within 10 minutes, and were extremely slow.

Opening one up explained it all- it was a cheap "USB flash drive" PCB/internals hooked to a USB A 2.0 to USB-C conversion board (so that it looked faster/better than it is). Amusingly, they used masking tape to hold some pieces together inside the drive.

Just, completely made for fraudulent purposes.

The brand is made up, the "storefront" name changes periodically (was VHSGUUDS CO. and now CSGARH CO.,LT), and the listings are super generic.
Tumblr didn't have to censor its Android app last month.
Yeah, relying on operator precedence makes for some of the most infuriating to read code.
Mapped: Corruption in Countries Around the World
Something like Microsoft does with the their interfaces

They have multiple versions of calls. The older one function as before and never change. Want different behavior - here is your_interface_v1(), your_interface_v2(), etc.

You still alert team about new functionality but they're free to consume it at their own pace. This of course involves a boatload of design and planning.

I am in general against microservices and consider those as the last resort when nothing else works. To me a microservice is mostly my monolith interacting with another monolith.

When monolith becomes big enough that it needs 2 teams I usually handle it by each team releasing their part as a library that still gets linked into the same monolith. That is my version of "microservice" when the only reason for it to exist is to have two or more "independent" teams.
I'm amazed that Lineage OS still supports Pixel 1 while Google can't provide support and updates for Pixel 3. Google just doesn't care about long term support which makes business sense since most people want to upgrade phones in 2-3 years. However it is completely antithetical to themselves calling an environmentally responsible company.
Yes, this is exactly why I don't run any of this crap on my distro. No dbus, no polkit, no systemd, nothing. Computer security is already enough of a nightmare without all this crap added on and linked in to everything.
> if you want US wages live in the US. But within the US it's pretty ridiculous

What are "US wages"?

A police officer in SF or NYC makes substantially more than a police officer in Oklahoma City or Topeka.

Even the US has large regional variations in wages, standards of living, and economic productivity.
Chrome proposes Topics API (FLoC v2)
Monolith vs microservice is not a dichotomy, it's a spectrum (as it is with so many other things). Individual microservices can still become monolith-y and become responsible for doing a Lot of Things (TM).

That being said, the biggest hurdle in a re-architecture project like this is usually in the "n=1 -> n=2" stage, and "n=2 -> n=5" is a lot easier: once you add service #2, you learn how to set up telemetry, permissions, billing/chargeback, alerting, etc. The next few are just repeating the same process.
This is just arguing over the service boundary definition and not the architecture. There are multiple comments here trying to differentiate between a "service" and a "microservice" which seems like a fools errand to me.
Many countries levy a tax on alcohol in beverages. One way around that is to put something in it that makes anyone who drinks it sick. If you have an industrial process that can use denatured alcohol, then you don't have to pay the alcohol tax.
Microservices shift complexity from code to operations - microservices don't remove complexity - they spread it wider, making the whole more complex.
No mil. experience myself, but I'd say that while the officers may technically 'manage' the NCO's, that with few exceptions it is the NCO's that actually get things done.
I take small pride in the idea there’s something I can taste better than my dog. All I ever hear is how their senses are orders more heightened than our own. Do you know if there are any smells that humans can detect better than dogs?
> It understates vaccine efficacy or overemphasizes omicron severity. At this point, we have enough data from regions with varying vaccination rates to conclude that it's the latter.

Huh? I don’t think you understand these tables
How is excluding tax frauds a "net loss for the nation"?

If you want to say that ID documents should be something that's much less painful for individuals to acquire (and should be free!), completely agreed.

But the idea that a modern society can function without a safe identification system is somewhat far fetched to me.
What else is new? AT&T recently forced me to dump my perfectly good OnePlus 6.
Thanks, reported it.
In my case, I'm the senior engineer and the rest of the team are juniors. There's generally not much I can ask them that they'd know the answer for. On the other hand, looping them in is a good learning experience for them even if they can't help me solve the issue. But due to time constraints that isn't always possible.
Could not agree more. All the different people I met and environments/situations i encountered during my travels where quite a formative experience.

- if COVID and money allow travel to places with many different cultures in a small space (e.g. Europe, SE Asia)

- work at surf Camp. The number of people I met with extraordinary life storys/carrier choices and/or high achievers/corporate heavyweights was unexpected to me. Great for building a network.

- if money is an issue consider WOOFING, work at a permaculture farm or a diving school.

- try all kinds of different activities. I wish I would have started surfing and Swing dance not in my 30ies but 20ies instead. So go out there, learn dancing, surfing, climbing, self defense, archery, carving, diving, pottery, wood working, cooking, singing, sailing, horse riding, blues harp, build a permaculture garden/do guerilla gardening, build a race bike from parts. If you can do this in clubs/shared Workshops/schools/etc and get to know people, the better. Often out can work there (like in dance/diving/surf/climbing schools) in exchange for lessons.
I added a contact email to my public HN profile. Send me an email if you like, I'm definitely interested in talking with someone who has more 3D modelling experience than I about what features might be useful.
If security updates were truly that critical, Google would push a play services update that would immediately kill all Google service connectivity to underscore that a no-longer-supported device is forbidden to use and force everyone in poorer countries to go forth and purchase a new one.
That would make even more companies bail from ARM to RISC-V than NVidia. While NVidia tends to be hostile and lay out traps for competition, Apple downright shuts down anything external facing of the companies they acquire. Just as the parent is saying, that would make ARM less valuable, for sure.
Sure we do, it's been /v1.0/ for the last 2 years!
JWST is around 1.5 million km, but that just illustrates my point. Being off by a factor of two makes no practical difference if you're not working on the mission.
> "This research resulted in 4 0day bugs (CVE-2021-30861, CVE-2021-30975, and two without CVEs), 2 of which were used in the camera hack. I reported this chain to Apple and was awarded $100,500 as a bounty."

Writing a secure browser for today's web appears to be a technological challenge comparable to a level 5 self-driving car. It has not been shown to be feasible. So such cars are not permitted to be deployed on the world's roads. Today's web sites and browsers should similarly not be deployed on the world's infobahns.
It was SOA (Service Oriented Architecture) where you would split them up, that predates Microservices by quite a bit. I remember doing that in the early 2000s.

What I think he is saying is that Microservices people pitch their service against monolith as better, but monolith hasn't been in vogue for 20 years. I saw the same tactic with scrum people pitching against waterfall which hadn't been in vogue for quite a while either.
Doesn't this just mean you picked a bad service boundary? You shouldn't have to join across services, ever.

Seems like a straw man.
how did it taste? i'd imagine horrible otherwise some pre-Sweetgreen would use them up for $15 salads
Why isn't the Bank of America account in his name? I was under the impression that know your customer laws would require them to match up the individual taking the loan and the individual holding the bank account.

Is it really just a simple as an ACH transfer?
Execs is a tactical podcast for founders and operators experiencing hypergrowth
Many law firms are incredibly well paid sweatshops.
Why would you consider microservices if you are only 12 developers?
Microsoft Earnings Release FY22 Q2
Humor is not allowed here.
My experience is different in that large patch sets usually get a “looks good” while smaller sets get a lot of varied feedback.

Depending on what your personal goals are (and your tolerance for accountability should things go wrong) doing the work up front can be a good approach.
It could be that way on some of them, or maybe even the earlier ones, but all the ones I've tested are nasty tasting on the plastic as well.
Different fats do different things and there's nothing inherently special about omega 3 or 6, they just have double bonds in specific places. Sometimes certain fats are used as precursors for other compounds or making the cell membrane more or less fluid or modifying proteins but the way people talk about these fats its like they're mythologizing them. Its a little ridiculous.
esbuild is > 125x faster than Webpack, doing the exact same job. It's not some theoretical microbenchmark, you'll see it when converting a project from one to the other. If a software hasn't been designed with speed in mind, and I don't think tsc has, there can be massive performance improvements possible if you create a new implementation with performance as a top goal.
Going dark alone does not very often yield results - even if the right solution comes out getting others up to speed will remove any time gained before easily.

Going dark as a team is a different story.
In 8 states in the US

https://twitter.com/hubbubworld/status/1486042247976022021?s...
Paywall Free Version - https://webreader.app/?url=https://www.bloomberg.com/graphic...
> To download a file over Hypercore, you need to know the content hash. Without the original content hash, you can’t generate the discovery hash, and you won’t know which hash to ask other clients to transfer. Once you’ve found some peers using the discovery hash, you establish an encrypted connection to them and request the content hash.

Hypercore (Dat) doesn't use content hashes, it uses ed25519 public keys (which work more like IPNS—the data they refer to can be changed). The discovery hash is a hash of the public key, which isn't sent to the peer as part of the request, it's looked up on the data provider's side using the discovery hash. If the provider doesn't already know the public key then it can't negotiate a successful connection since all subsequent messages are supposed to be encrypted with that key.

If the public key (or IPFS content ID) were sent to the peer as part of the request then one could learn the content IDs for "interesting" discovery hashes simply by pretending to have the content, announcing the discovery hash to the network, and waiting for peers to show up and request the data by its content ID. At that point you could request the full content from other peers using the content ID.

One could perhaps employ the Hypercore/Dat protocol for IPFS using the content ID for encryption instead of a public key, but it would be critical to avoid revealing the content ID itself as part of the request. Only the discovery hash can be sent to the peer. It might be safer to negotiate a session key with something like SRP[0], with the content ID as the "password".

[0] https://en.wikipedia.org/wiki/Secure_Remote_Password_protoco...
Hey thanks! :D

It’s almost all custom (you can see the source on my GitHub https://github.com/brundonsmith/website)

Most of the site is statically generated at startup using regular JS template strings, and then served as static files (cached in-memory) by Express. Posts are written in Markdown, and code blocks are processed into language-highlighted HTML using Prism.

The only dynamic bit is the HN comments, since I want those to stay fresh. My Node server queries the Algolia HN API to get all comments for the top HN link for the post (since there could be more than one), munges the data a bit, renders it as HTML, and then caches it for one minute. Some client-side JS just hits the endpoint and dumps the HTML into the page.

Any rich rendering inside comment bodies, like for code blocks and italics, actually comes directly from HN itself! The content I get has already been processed from HN’s special markup syntax into HTML, though of course the structural content around the comment bodies is custom.

Basically what I’ve found is that people often ask good questions under my posts, and the discussion/my responses end up being a valuable part of the post itself (clarification, expansion, etc), so I wanted that extra context to be available for people who don’t find my posts via HN. That’s also why I highlight my own comments in that view; I see them as a part of the blog post.

This site is my relaxing project that I tinker with occasionally, so sometimes I over-engineer parts of it a little bit for fun :)
"If you do it with C++ templates using the traits machinery, it generates quite a lot of bloat. "

That's exactly the part that I don't understand. How does using traits machinery generate more bloat than some other way to de-duplicate the same code? And what kind of bloat do you have in mind -- source code or binary?
Videogames are just getting started. The Breath and depth of games is growing, and like with novels and moving pictures not all games are great.
Sigh... Because systemd, dbus, polkit, pulseaudio, rtkit, etc are invasive weeds. Apps now depend on them exclusively so often that you have to provide some shim to replace their ABI if you don't want to use those components. I can't remember the specifics but pipewire probably only casually references it as part of a compatibility layer. In Alpine I'm pretty sure you can run pipewire without polkit but I'd have to check.
Can you say more about that ? I'm a DotNet developer and I don't see how this could be possible without having several applications
Fight Club’s new ending in China: Changes were made
ROFL. I did read the book.
I have some of the seeds from this variety of kale. It’s called walking stick kale. I’ve been trying to find a place to plant it.
I don't think it was "splitting monolith" it was more like connecting separate applications.

Like you had a payroll in your enterprise of 1000 employees and you needed that same data in 5 applications in 3 different departments. So you would wrap payroll into a service and have that data accessible in multiple places.

I think that is still a valid approach to build monolith app and use multiple services if they are internal apps.

For customer facing and quickly changing stuff you might want to add microservices to be able to build new features quickly when ideally microservice should have its own database with what it needs to operate.
Well this a blow for the "Rewrite it in Rust" movement.
> One day I looked at my hands and then at my keyboard and realized that that can't possibly be the best there is.

The same can absolutely be said about the entire paradigm of consumption/production when using a computer. Designers were up in arms a few years ago when apps would use skeuomorphic design, but nobody seems to care much about the actual, physical interface.

We force our bodies into a perpendicular posture that, while more supportive these days, is still largely based on right angle construction that was simple to build. We use keyboards that are based on limiting the throughput of the typewriter. Mice are one of the most precise, simplest designs we have, but the usefulness collapses when you add three need to place objects using depth.

My personal belief is that VR as a workspace can be where we come up with the best new ideas to kill this old way of thinking, but it HAS to happen at the beginning. We cannot and should not tolerate old ways of thinking just to make the transition easier.
Can confirm. I just checked Debian 7/8/9/10/11 servers and none has pkexec (or policykit-1) installed.
Blizzard announces new survival game while still reeling from controversies
Sorry I meant the 'lottery ticket' hypothesis.
https://arxiv.org/abs/1803.03635v1

The lottery tickets are random but they are basically - as I understand - smaller graphs that have the same strength as a larger graph.
I’m skeptical because they’re on IIS in 2022.
You nailed it. Senior engineers build things on their own because their company can’t afford to hire enough advanced enough people who can learn the system and take over the work without being trained for 6-12 months, and often there is no budget for this kind of ”distraction” from the core moneymaking path.
Apple’s updated Personal Safety User Guide addresses the AirTag stalking problem
>The golden rule is to never break API backwards compatibility. If you must, create a new version of the API and leave the old version functional

It also helps with zero-downtime deployments:

1) spawn a new instance of the service with the new API, side by side with the old one

2) now incoming traffic (which still expects the old API) is routed to the new instance with the new API, and it's OK, because it's backward-compatible

3) shut down the old instance

4) eventually some time later all clients are switched to the new API, we can delete the old code
This doesn't seem to have a history, but a fun page to waste some time on none the less: https://unicode.org/emoji/charts/full-emoji-list.html#1f4b9
>I'm talking about odd specialized programs shipped by hardware manufacturers (like the one TFA talks about

In that case, open source rarely has even one possible replacement, so there's no comparison.

>but if you have the source code, it's often reasonable to read

As someone working in code daily, I disagree. I find lots of open source projects once you get out of the few big ones to be a massive mess of code.

And most programs of much use are simply too big to do any sort of audit. I have lots of friends in open source - I doubt a single one has ever read over the source for an entire program to inspect.

Have you honestly read over an entire open source program to check it? Or is this a myth that gets repeated but no one does it....

As to modification, I've reverse engineered many, many programs to add hooks and interoperability. It's not that terribly difficult once you've done a few and get to know how to do it.

So sure, nice clean code is good. But open source software I find to be crappy for all but the few big uses. GIMP vs photoshop? No real good OS CAD, or finance, or comparing Octave to Mathematica? Buggy video editor of the week to DaVinci Resolve? Tax software? Inkscape vs AI? So as a result of lacking quality in OS, I prefer closed source solutions since paying for them gets me vastly better quality for a lot of things I want software for.

And in the rare case I want to hack something, I still can and do.

Open source is honestly a you-get-what-you-paid-for solution for most stuff.
Rephrasing: "this person, who is probably solving a very different problem with different design constraints than me, is doing things differently than the handful of ways I have ever seen in my limited career, and is therefore stupid."
My daughter was sucking her thumb even on the first ultrasound. When she was a baby, thumb sucking was cute and she never needed a pacifier. However as she got to be a toddler it became a problem in terms of hygiene (her thumb was often not clean). Plus her thumb was pushing her front teeth out of line, which was affecting her speech.

We pleaded with her to stop.

We bribed her.

We got special pretty thumb covers for her to wear at night. She always pulled them off.

Finally we got the special nail polish containing the bad taste agent and put it on her thumbnails.
One application was enough. The first try tasted so bad it put her off thumb sucking for life. It's been years now and she is cured. Thanks, denatonium benzoate!
Even better if Russia has giant squids:

https://cnc.gamepedia.com/Giant_squid
Are Companies Desperate for Workers?