skysight-inc/HackerNews huggingface dataset:
Thanks! I removed the URLs and now the searchable attributes are only title, description and some author fields!

> Just a detail, if you're making a `du -sh` on your computer, the size on the disk will stay unchanged because we are doing soft deletion ;). Don't worry. It will be physically deleted after a while if you need it in the future.

Ah I was just wildy undershooting the size I gave the PVC! I just gave it much more and it's fine -- right now it's resting around 19Gi of usage, which is actually a bit of a problem considering the data set was only like 4GB or something like that originally. That said, disk is really not an issue so I'll just throw more at it, maybe leave it at 32GB and call it a day (it's around 1.6MM documents out of ~2MM), so shouldn't be too much more.

> If you kept the default configuration of Meilisearch, the maximum size of the HTTP payload is 100Mb (for security). You change it here -> https://docs.meilisearch.com/learn/configuration/instance_op...

Thanks for this, I'll keep this in mind -- so I could actually pass off HUGE chunks to Meilisearch.

It seems like the larger the chunk the more efficient? There didn't seem to be much of a change in how much time it took to work through a chunk of documents, more just that having lots of smaller chunks would go slower. I started off with 10k in a batch, then went to 1k then back to 5k, maybe I should go to 100k docs in a batch and see the performance.

There's a blog post waiting to be written in here...

> addDocumentsInBatches() is just an helper to send your big json array into multiple parts, not absolutely sure you'll need it. (Code -> https://github.com/meilisearch/meilisearch-js/blob/807a6d827...)

Thanks! Was this something someone requested? Is there a tangible benefit (were there some customers that didn't want to split up the payloads themselves)? Because it seems like unnecessary cruft in the API otherwise.
You could have also looked for pigs and cows at their tea plantations. Kinda surreal view.
I find head easier for these, replace the first part of your commands with

head -c 1024 < /dev/urandom
Autopilot is not the same as FSD. There are no recorded deaths related to FSD.
TIL about <mark>, <meter>, and <progress>!
As a consultant, I almost fell into the curse of knowledge.
I'm working on instructions for manufacturing, namely drawings. There is a law that must never be violated: Never give the shop a choice.

Choosing the most specific instructions clarifies your own thoughts and prevents many unfortunate mistakes. And when a mistake occurs, or a part doesn't work in application, changes are simpler since the documentation, proven wrong or incomplete, is already relatively unambiguous.

Now I thought everyone knew this. I learned it in the first Mechanical Engineering textbook I bought, as physicist, where many concepts are unknown. I was amazed that my boss, who has owned his company for 25 years, and sourced many components, had never heard this.

I explained all the reasons. Now he knows it.
Right!

Apparently Linux has a facility for 'optimal IO size' of block devices (see 'lsblk -o NAME,OPT-IO') but on my system I only have a value for Linux md RAID devices (which happen to be RAID0, and the OPT-IO value is the stride). All of the other devices have OPT-IO 0.

Perhaps more work needs to be done to bubble some value up from the hardware.
I shall come and represent the other segment.

I've used 5+ macs at this point and I've barely used the graphical UI. Personal or professional the default and preferred interface for local interaction on the mac is the terminal, and then there's the browser for online stuff. `open` is a wonderful command.

I've also found Finder very annoying to work with when I had to use it for file upload etc. But I never had to do that too often.
At the end of the day, it's about providing value to businesses. If the same value can be provided with less intensive skillsets and more efficiently, this is a good thing.
You're gonna want that TrueCoat though...
That neglects all the other ecosystems in your body that lead you to behave the way you do.

Have you ever been hangry? How about the experience of chronic intestinal irritation worsening your depression? How do you feel in your head when you can’t stop your heart from racing after a stressful day of work? Those are all examples of the inverse.
I really wasn't bragging about load. Of course 5k requests is nothing. It was mostly to emphasize that those 5k requests would bring at least 5k pieces of malware if I didn't spend the time to stop them.

The guide was missing this which I think cheapens the guide a little to me because security can be a large portion of the cost of a SaaS service you might pay for.
There is a wide range of high quality music apps that only run on iOS. Wireless audio is not an option for playing instruments, because of a noticeable delay between pressing a button and hearing a sound. They already killed the audio ports, but with dongles musicians can at least still use wired headphones.

Killing all ports would also kill all instruments on iOS.
Have you heard about Xapian?
Most people will just choose a small set of tools they have experience with, or those that have been recommended (friends, salespeople, horror stories). If you care about doing better, rank the benefits and consequences of using them to take a decision. When time is not a constraint you should build a theory of which tools are the best to solve the problem, put them together in a quick way and test them (i.e. do performance testing) to find the bottlenecks and weak spots. Make plan B, C, D... to migrate to other tools in case something goes wrong. Learn from the experience, and hope you will choose better in the next project.
How did 2016 or the election affect that? Was it related to quickly put in place immigration law changes?
Emotional language aside, it was disappointing to see how ineffective the CDC was at emergency response. At their budget and with their mandate there’s really no excuse.
> password, the things that check passwords or do other kinds of validation like that (if you want to use Google Authenticator TOTP codes, you’d do that here)

password is for workflows that change passwords. It is not used for TOTP, that is an `auth` module. From the Google Authenticator PAM module docs:

> Add this line to your PAM configuration file:
`auth required pam_google_authenticator.so no_increment_hotp`
Problem with Windows is that, if you're running Linux containers on them, it launches inside an embedded virtual machine (at least last I checked). This means that networking and storage suddenly has to go through another hop, making things that should be trivial extremely annoying.

E.g. a service binding telling you "please connect to http://127.0.0.1:8088" and for the love of god you don't know why it doesn't work, but it's because the container, while using --network=host, thinks you're on the same host, while that's actually the virtual machine which is almost entirely inaccessible to you.

Windows + docker is a minefield.
It really has enabled me to “get” medieval life more. How people and society worked together and what was important to them. And by proxy how my ancestors lived. Absolutely one of the best games!
The companies apparently weren't able to decide in the interest of the consumer, so they needed a bit of help here.
I'm in a similar boat. I hate Docker. I haven't used it myself but seen it used at various companies, and to me as a programmer, it's a nightmare.

Docker "solves" the problem of Linux system configuration, but the solution it provides is literally the equivalent of "shove it under the rug". It doesn't solve the problem; it just attemps to hide it.

The way I solve the problem is by eliminating it; by making programs that don't require any system configuration.

Most people like to program in an interpreted language and use a separate engine to store and manage the data. The language runtime only has a "debug" server, so you need a separate http server and you need to configure it so that it can execute scripts written in your favorite language.

So this means the system/environment needs to be setup so that 1) an http server is installed and configured 2) the specific version of the interpreter is installed on the system 3) the database engine is setup and configured. I wish it stops here, but it gets much worse.

So what I do instead is use libraries for all the above. I use a compiled language. The http server is a library. The database engine is a library. Therefore, nothing needs to be configured in the environment. Just upload the binary and run it.
Framework, I will give you so much money if you release an AMD version. I'm begging you.
Ah - here's the link - https://impossible.co/blogs/health/melatonin-side-effects
Removing a traumatic incident from your conscious memory doesn’t remove the trauma from you. The body keeps the score, and your brain is only a small part of the feedback loops that make you you.
The obvious confounder of income/wealth was apparently not accounted for.
One trick is to know that spotlight indexes content and metadata separately, and most search interfaces default to content. Typing in "README.md" in system spotlight will look for documents that contain a reference to that name, while "name:README.MD" will look for ones marked as _having_ that name.

The search interface in finder has a builder for predicates (start a search then hit the plus on the right side of the search bar). There you can start to see some of the friendly prefixes for filesystem items such as extension:, kind:, date:, tag:.

You can also see the mass of file specific metadata - like width, audio bit rate, city, genre.

I have not, however, found a handy way to translate between English description, friendly prefix, and the internal query names like kMDItemContentType.

Fun aside - some of these used to work in the Mac app store - for instance, you could search for listed applications which could open exotic document types.

The "uselessness" IMHO is mostly in that it exposes the most simplistic interface possible, and people just don't know where to go from there (other than terminal users going `man mdfind` I suppose). That gap is only widened by how different it is from other filesystem-based mechanisms for power users, which have more established commonalities like regex and filesystem globbing.
hrm, interesting... by that definition I would argue that the business model of car dealerships is specifically rent-seeking. They not only don't contribute anything of value, they actively detract from the value proposition by marking up far over MSRP and, like someone posted in another comment, engaging in shady tactics like selling your vehicle to someone else after waiting for 3mo because your bank isn't open until tomorrow. Just to scratch the surface.
What about Spanish olive oil?
Most of your criticisms can be explained by unfamiliarity with longstanding Mac conventions. But this is fair:

> Search within finder does not search the current context by default, it searches your entire computer. "But you can change this setting!" You shouldn't have to change this setting, and most people don't know it's even there.

The default behavior used to be great, ~10 years ago (extremely snappy search scoped to the current folder). The change to searching the whole computer with significant lag was an absurd and mysterious regression.
My dream is an internet with no censoreship. Because if we allow thems to set a reasonable restrictions, their definition of reasonable quickly starts to grow like a cancer.
If you volunteer enough, your salvation is all but assured.

Doesn't exactly sound like volunteering to me.
Yes - they're both great compounds for helping improve sleep performance - (which unlike knockout pills you can improve over time). Most of our customers tracking their sleep with an Oura ring, Whoop band, or Eight sleep see improvements in both their scores and energy levels when adding our product to their nightly routine.

- https://impossible.co/blogs/health/magnesium-and-sleep
- https://impossible.co/blogs/health/l-theanine-for-sleep
I'm in the process of setting this up with multiple SD cards as locker[1]. I got SD card storage with credit card like form-factor so that it fits in my wallet. The tricky thing is to figure out how to keep the instructions unencrypted. I'm thinking about making a half-yearly ritual like a fire-drill which also allows me to rotate keys and improve the process. Not sure how to make it feel less morbid than it is :)

[1]: https://john2x.com/blog/managing-pgp-keys.html
Yet, is it ok that so many web developers use bloated JS libraries that causes websites to be multiple MBs in size when it could easily only be 10s of KB?
How is that not a bigger waste?

You’ll get no argument from me regarding bloated JS libraries. But the reason why preload was created to make page downloads faster, not reduce asset sizes.

I keep hearing the argument that it’s a waste to prefetch assets that might not get used.

Preloading assets you don’t use can be a waste of bandwidth because that bandwidth could have been used to download something you’re going to actually use. Also, preload bumps up the priority of that resource, perhaps jumping ahead of an asset you really need.

For users with the latest devices on broadband connections, it may not make much of a difference. But when you’re cell connection is two bars and you’re on 3G instead of 5G, it matters.
> There’s as much evidence supporting the theist’s belief in their afterlife as there is evidence supporting the atheist’s belief in a lack of an afterlife: none.

I agree, but in general, no positive evidence means no reason to consider the existence of such a phenomenon seriously.

> a lack of evidence is the weakest form of evidence to the contrary

I'm not asserting that there is evidence to contrary, but there is as much evidence for an afterlife as there is for fire-breathing dragons, yet I am not required to declare agnosticism or a fence-sitting position on that front. Instead I am permitted to say “I don’t believe in those absent evidence, and I will happily change my mind when some is found”

> Agnosticism gets it right ...

As an agnostic atheist, I find your caricature very funny and entirely misguided. Agnosticism and atheism are two separate axes. One is a declaration of knowledge (there's no evidence, so I am agnostic) the other of belief (there's no evidence so I have no belief either).
Isn't it an IP issue? I thought maybe MS patented this
Docker dev means he takes care of other team members. Selfishness in dev env setup only kills others.

It's not about Docker, it's a tool. But with Docker, you know how team work is done.
> As someone who has seen pay discrimination work in action first-hand

What kind of discrimination do you refer to here?
Nope I hadn't, but it was mentioned here:

https://news.ycombinator.com/item?id=33318533
Its obvious you are just trying to agitate them.

But to entertain you the last two wouldn't be "resurrected" so to speak (even though this is something some denominations believe it is not universal). To accept Christ you need to, in every denomination, say some form of a prayer of salvation. This excludes the last two regardless of the purity of one of them. The first man could be saved if he turned his life towards Christ and quit his evil. Second man is a shoe-in.

I'd recommend reading the bible. I've done it once for bible school many, many years ago and once more for my own edification. Even if you don't believe in Christ, in order to construct a salient argument in the framework of the religion you should at least know what you're arguing.
Is Parallels that much faster?
John is in the pantheon for my favorite people that I do not know. I hope he never tires of sharing things with us via podcast or writing.
So you pay money for cardboard with ink on it, and it’s worth thousands? Sounds sus
Almost nothing would be different at a glance. All the major trends that took place, with very little exception(VR, for example, still pushes hardware; and ML-based AI likewise), were already possible with mid-2000's hardware, just at lower fidelity, with less generous unit economics on the backend, and with less power efficiency on portable devices. This may have moved the attempts to run such services back by a few years, but I can't imagine that Twitter, for example, would be substantially different. I fully believe we would still end up with smartphones even if they had to run a much more stripped-down OS. You would still get attempts to make smart gadgets and freezer-fridge displays, because these gimmicks have been part of the economic backdrop ever since we started selling disposable razors and ballpoint pens.

More market pressure to reinvest in the inner software stack would have taken place, a move which actually would have commoditized out incumbent platform monopolies earlier(Microsoft et al.) - there would be less of a web focus and more of a systems/apps one.

There would still be an unhealthy adtech/surveillance sector, but it would consolidate under the thumb of high-capital players more readily. This would actually encourage more P2P-style solutions to appear in response. You would still have proof-of-work algorithms floating around searching for applications in this space; Bitcoin was always possible, the computing effort just reflects what proportion of physical capital is being deployed to secure transactions.

The obvious main downside would be with more extravagant uses of ML. Apps that depend on it as the core tech wouldn't pencil out. But some version of "algorithm-mediated" would still be possible.
I will not go on your podcast. Stop asking me to do this.
Cloud gaming is an option as well.
I'm a code pasta chef. Spaghetti everywhere!
I am in a walkabout through the Balkans and Central Europe. I’ve been using Maps.Me, which is great. I would love to contribute places and corrections.

Do you think Every Door is a good way to do that? Is this [1] wiki the right place to look for the data model/tag guidance you are talking about?

1- https://wiki.openstreetmap.org/wiki/Beginners%27_guide
Sometimes technology, procrastination, and caffeine combine in a perfect storm.
A data pipeline person who does their work in SQL, rather than batch/stream processing tools.

It's not hype, it's just a role built around a different data architecture. It's less powerful than the old big data toolkit, but it's also probably perfectly suitable for many businesses.
I’d be curious to see the salary distributions for SWE and PMs. My guess would be that SWE has a greater range and variance, since for example (according to Blind) target compensation for Meta PMs is a percentage (something like .8) of SWE target comp.
https://cactusconservation.org/2021/03/26/number-of-greenhou...

(Napkin math for factory farming peyote)
What's missing is what distro they're using. I've got a Framework running Pop! and I've got none of the hardware issues the author describes. In fact my biggest issue (aside from battery life and speakers) is that the 22.04 Gnome DE seems to be less capable than my Ubuntu 18.04 work machine: system configuration applets have been simplified to the point of near uselessness, I can no longer make screenshots via hotkey, etc. Oh, and somehow Steam still isn't able to handle hidpi in 2022?
The problem isn't so much what work looks like, but how to measure it. I'm kind of surprised with the shift to work from home (and in some cases back again) we haven't seen any large companies come out with analytical data about what is more effective and how they measure it. I'm guessing the reason why is because they don't, and any return to office policies are driven soley by pointy haired managers with no real data.

My company measures performance based on the company reaching its sales target, but as a lonely software engineer whose projects can still be months once I've finished them until they reach customers, my impact on that measure (in the short term) is basically nothing. We also do OKRs but somehow my team never get assigned any. Sure as an engineering team you can try to estimate cards and measure your velociy at the end of the sprint, but how do you do the same for a product manager or creative roles like a copywriter?
Very interesting. I’m not sure if it’s actually the case, but I end up doing a ton of maintenance on BUILD files every day. I’ve become a sort of mini-master of designing target DAGs - in a way that’s upfront costly, but pays for itself over time with fast(er) rebuilds: I get very conservative with structure.

When deps are automatically gathered, do you tend to see that developers’ discipline becomes softened and code becomes highly interdependent again?

> In Guice, this would involve maintaining 23 BUILD files containing 622 individual java_library targets, each with many dependencies and exports listed. In larger monorepos, there’d be even more.

I’m all too familiar.
Ask HN: Any Americans Working as Independent Contractors in France?
Hi HN,

I'm an American software developer working for an American company outside of the US. I live in a country where I don't really have to worry about taxes and work permits and such. I am currently a full employee, not a contractor.

In a few years, I'd like to live and work in France for the same company, if possible. They are already international, but there is no official France or EU registration.

I'd consider switching to contracting if that made it possible to live in France. Is anyone here doing it, or do you know if that would be allowed by France? I want to do it all legally and pay the correct taxes.

Let's assume that my company will not have any issues with where I am located and will leave legalities up to me.

It's also possible the company would incorporate a French office if I could handle it all for them. Is that any easier than registering as a contractor?
> Have we banned wood stoves…?

wood burning stoves are absolutely required to be updated now with certified emissions stoves. all four wood burning stoves/fireplaces in our cabin had to be replaced before we could finalize the purchase. also it would have been considered uninsurable if the stoves were not updated to meet the new wood burning standards.

these weren’t like antique stoves either, if i’m remembering correctly they were new in like 2000ish.

honestly, the region of our cabin is noticeably more pleasant to be in since they started requiring this—when i used to go there as a kid, the air was just awful to breathe when everyone was using the previous gen wood burning fireplaces.
> That's discoverable by holding down Option while the Edit menu is open. This pattern of "revealing" additional functions with modifiers in menus has existed on macOS for a very long time.

Ironically, holding down "Option" to see hidden menu items is not discoverable at all. Most people will only ever do it by accident. The point is that anything commonly desired should not be hidden like that.
People have been buying and consuming 5-apb as a"research chemical" for almost a decade at this point.
I once tried to post an image to Discord over and over, only to keep receiving one of those "there's been a problem" messages.

It turned out the untextured 3D pig's head in my image was tripping Discord's porno filter. I can only assume it was the shape of its snout.
Nothing wrong with not remembering syntax for a rarely-used functionality. It's not like you install a plugin every day to warrant a muscle memory. I use tar once or twice a month and still need to double check the parameters.
My current company touts (internally at least) that they use "market data" to determine how competitive we are with salaries. We're near the top so everyone thinks its "justified" ¯\_(ツ)_/¯
That honour goes to 927 in my circles, and it's not even close.
Warning on all studies published in Nature: they changed their policies recently to only publish studies that agree with their political opinions. This is now an opinion mag, not a science publication.