skysight-inc/HackerNews huggingface dataset:
People needing to query huge amounts of data discovering technology that's been developed over the past 45 years for querying huge amounts of data efficiently; news at 11.

Seems all these shops starting out with MongoDB or the like always need to do a huge, complicated migration to a /proper/ optimized data store, when they could have started with a sane design in the first place...
Waking up is solved for me now - I'm married, my wife is an early bird (and our kids are the worms, they get up even earlier, or am I getting that adage wrong?), and she makes sure I get up (and stay up).

Right now, the bedtime is a problem - revenge bedtime procrastination + everyone getting used to me doing extra work overnight during some more busy times (I work remotely, so sometimes I handle kid emergencies during the day) + various other issues --> even if I had an "insta-sleep" pill, I'd have hard time getting myself to take it before 02:00.

A SAD lamp is something I'd like to try in general, maybe it'll improve my overall mood or something. I seem to function best in either near-complete darkness (i.e. only light being the screen, indicator LEDs and some street lamps in the distance outside), or very bright environments. The average brightness people I know keep at home makes me instantly sleepy, and I spend most of my cognitive resources on forcing myself to stay awake.
Climate crisis costing $16M an hour in extreme weather damage
Another step toward a two-hour marathon
TBH I find it difficult to understand:

1. How do you compile the C++ code? E.g. what flags do you use with GCC, clang and MSVC

2. How exactly is C++ binary run through a Rust benchmark suite? FFI?

3. Is it possible for rust code-under-test to be at any advantage here because it is run and built natively from the benchmark written in the rust itself?

What I find questionable though is the actual C++ code found in the benchmark:

1. Exception-handling code around std::sort and std::stable_sort - nobody does that. What problem are you trying to solve with this? Comparators do not throw exceptions.

2. Using function pointers for the comparators - surprising to see such code in C++ benchmark - it's very non-idiomatic and essentially making it impossible for a compiler to inline the code. std::sort is rarely used like that.

3. Passing over some magical third argument to the comparator function - ?

4. Passing over the context to the comparator "function" - I fail to see if "ctx" has been used anywhere?

5. "Making" the comparator function with make_compare_fn which in turn instantiates a lambda that, again, throws an exception from its body.

6. Storing a comparison result - why? You only need to return true or false from a comparator.

7. Modeling rust "panics" by storing a boolean is_panic plus exception-handling code plus throwing exceptions when is_panic is "ON" - why?

8. Confusing exceptions with rust panics - even if you wanted to do so, which still would be an arguable thing to do, std::abort or std::terminate is a replacement for std::panic. Not throwing exceptions and implementing the is_panic logic around it.

9. What is https://github.com/Voultapher/sort-research-rs/blob/main/src... being used for?

I think you're making a bit dishonest representation here for the reasons above. And I have not delved very much into depth nor have I covered all the code but just the fragment of it. Also, it is not quite clear how everything is put together and run because, ideally, you would want to have multiple binaries built with their representative toolchains/scripts _regardless_ of your benchmarking framework. And only then I would want to point the benchmarking framework to the respective binary to run the test. Here, it seems it's the other way around.
It's common to have external crew, who might not be on your team's Teams/Slack.
There's some element of survivor's bias here. You only see the items that survived long enough and draw a conclusion on all the products they had then. Also the price/income ratio for any such item might have been quite different.

Beyond this, metal too has serious resource and energy implications. Think mining, smelting, production of the final shape, treatment against rust, paint, transport, etc. There are many steps, many inputs (notably chemicals and energy), and quite some demanding work going into it.

I have no answer to these questions: is it more or less resource efficient to produce 20 plastic can openers or 1 metal can opener? Is it more/less environmentally harmful? Is it more/less socially harmful?
This sounds all true, but on Twitter - I never had the issue before so it seems more than a coincedence.

In fact, I used to be very surprised to read that Twitter had been previously widely used for porn adverts. I was kind of deluded into not even thinking about it. But scratch the surface and it was there. But it never appeared in my daily use.

Prior to the takeover I had been oblivious to it. After the takeover, the surface was scratched and what had previously been "underground" really made itself known in my twitter feed.

That isn't what made me leave the platform, but just my observation at the time.
Yeah, I guess I was thinking "safe against this happening"
I did the same, but using plugins to track the time I spent working for each client. It removes the need for "time tracking habits".

https://wakatime.com/blog/1-why-i-built-wakatime
Plenty of unintuitive results in science. Economics is especially prone to fallacies, so proof and data is welcome.
WinPython -- run Python, Spyder, SciPy etc out of the box on any Windows PC
aurora serverless v2 now supports io optimized mode. which increases the pricing for instances by constant amount but makes the io pricing to 0

https://aws.amazon.com/about-aws/whats-new/2023/05/amazon-au...
First, the APIs don't expose raw controls for everything, but it exposes a heck a lot more than the stock camera app.

Second, for high-value developers like Blackmagic, Adobe, etc, there are very regular communication between engineers and product managers in both respective companies. I wouldn't expect private APIs (although they have certainly happened in 3P apps over the years; just check undocumented entitlements of IPAs from major developers), but these apps can be years / iOS releases in a making with a lot of Apple support.
I don't think a beginner should use Home Manager, because that's an extra layer on the already not-beginner-friendly Nix ecosystem.
I also think that this is the old Planetscale pricing. The new one has unlimited reads (https://planetscale.com/pricing)
Agreed, if you have some sort of limit, then it seems that AWS Lambda has a limitation you could hit with Prisma.

Prisma has some support for joins with relations: https://www.prisma.io/docs/concepts/components/prisma-schema...

Also, you need to specifically create a transaction to encompass your Prisma calls to limit them to a transaction. This is the default for PostgreSQL as well.
With “Cinematic” video mode on the iPhone you can edit focus in post with the iPhone Photos app. It does a good job for this two person talking scenario.
The store knows what to charge, they chose not to put it on the shelf label. When prices change, people change the shelf label, whether it is paper or ePaper tags is irrelevant to having the tax added in or not. What seems 'bonkers' to you has been standard practice in most of the world for decades.
Another Nobel for BxSci. They gotta have the record (nine) for high schools right?
Read the article and found myself nodding along. If you work with larger Contract Manufacturers, they often have design for manufacturing centers that will perform mold analysis and suggest modifications. They often have the advantage of having worked on lots of different designs.

And even further down the road: make sure to account downtime in your production schedule for mold maintenance.

I see others commenting on registration, certification and approval matters and I’ll only say: do not underestimate the time and cost of that for a global product. This landscape changes all of the time. One minute a country will accept evidence of an FCC filing; the next minute they require in country testing with a local authority.
A couple of years ago my setup was three 27" 1440p monitors, these days I am down to one 13" laptop screen and am way more productive! With all that screen real estate, it's way too easy to have your "work" on two of the screens, then Reddit/Hacker News on the the third screen and kid yourself that you are "working".
Agree with all. TIL: One way I know I'm behind on my sleep is I can't stop eating (noshing).

My insomnia journey...

I had turrible insomnia for decades, worse over time. I tried All The Things, multiple times. Which everyone should try, if only to learn more about oneself.

But if you try All The Things and still suffer, do not give up. Keep looking, keep asking.

Turns out my root cause was bone spurs on my spine. Tiny little pinches of my nerves, which prevented my mind and my body from ever relaxing.

It took years to get a proper diagnosis, separate from the insomnia concern, and then even more time to get an effective treatment.

Happily, "fixing" those bone spurs resolved most of my anxiousness and insomnia. Now I sleep like a corpse. It's glorious.

This is my personal example of an apparent phantom chronic illness. Where care providers offer what they know and then basically give up.

Which makes sense, for them, because healthcare is basically triage. A care provider does their best in moment given the knowledge and resources they have. Then they do the same for another dozen patients, every single day.

But you shouldn't give up.

If you're suffering, there's a cause. Keep asking. Keep searching. Someone out there has the answers you need.
I have a directory on my drive called `sandbox` where I basically throw together small toys for anything with some unknown complexity. Anything from how an ORM might model a specific type of relationship (throw together a basic replica with a Docker compose file) to replicating the deployment model (poking AWS Copilot, for example) to testing out some tooling flow (e.g. local build process change).

The main thing with a toy model is speed. You can build/deploy/test with a smaller scope and progressively scale it up some reasonable scale of the full thing (whatever you're testing for) and you can iterate your testing faster. But many times, the key issues show up quite early in the process of grokking the toy model.
Maybe they should take one of their courses.
Yup, that's the speed. It can be dangerous. During races they are required to wear impact vests and helmets.

Another innovation is a new kind of harness for the connection to the sail that releases above a certain force. A lot of the injuries are related to still being attached to the sail and being thrown into it during the crash, where you hit the hard carbon boom or mast instead of being flung clear into the water. That harness prevents that kind of catapult.
It's not just free to install, basically everything is free except for cloud service they provide.
Wow just one look at this issue was all I needed to see. https://github.com/prisma/prisma/discussions/12715
“Please open an issue if something really is unusable or breaks in any way so we have these concrete cases recorded. In our knowledge Prisma works just fine and returns the data that was requested, just using a different method.”

Good lord
Show HN: Explore doctors' disciplinary history
Sounds like it's basically explained in the gh-ost readme https://github.com/github/gh-ost#how

I think it amounts to "use views to decouple access to the table with a fixed interface" and "use triggers for migrating data between tables"
Chinese police overseas service stations
The upside is that it is like AirTable, except you have to stand up a server with a custom service if your logic or computation doesn't fit into their no code tooling.
They have supposedly rolled out a fix a little under half an hour ago, but I'm still getting 503 errors.
almost all, for example: I support my mastodon instance admin with like 3 Euro's a month for keeping the place running and well moderated.

I also pay a writer (he goes by Wildbow) a couple of bucks a month, for posting weekly chapters of his webserial.

Both have no relation to rewards, it's just because I love the stuff they create for free and want to support them.
It sounds like gh-ost is supposed to offer more control over the process but I question how many companies need that level of sophistication in DB migrations.
Are the science Nobel equivalents for Maths, CS, etc under very different rules from the Nobel?
Often I see someone who will design something in CAD but not think about how the product will be manufactured. Design for manufacturing isn't a buzzword.

It happens with both plastic and other type of enclosures (metal etc). The better designers understand the manufacturing process and build their designs thinking about how they will be created in a production line. As others have mentioned, most manufacturers will say 'yes' to anything you request and charge accordingly. They'll just figure it out somehow, but you'll be unaware that you've doubled the cost of your part due to a lack of understanding of construction.

I guess it happens in other fields as well, i.e. architects vs builders in the construction industry.
I did something similar, but instead of building out a whole app I just insert data into a Postgres database directly. It turns out if you know SQL, you don’t need any kind of frontend really to manage your business. Coming up with new features is as simple as building out new views or writing functions on the fly.
Dunning Kruger effect at organizational scale

https://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
What is annoying is coreutils has deprecated egrep, fgrep, and now made them print stupid messages.

$ egrep foo /etc/motd
egrep: warning: egrep is obsolescent; using grep -E

There's no reason why we can't keep egrep and fgrep around forever, but instead we have to change all existing scripts and programs that might use them.
Just one year ago, I created Blowfish, a Hugo theme crafted to build my unique vision for my personal homepage. I also decided to make it an open-source project. Fast-forward to today, and Blowfish has transformed into a thriving open-source project with over 600 stars on GitHub and a user base of hundreds. In this tutorial, I’ll show you how to get started and have your website running in a couple of minutes.
I'd rather pay the taxes this year, than have us continue digging ourselves into our environmental debt hole. Money is fungible, climate change isn't.
Serious comment: a pop socket can help a lot.
And some companies don't hire DBAs so programmers do the things programmers know/understand
Can you please clarify your ask?
Does Anna have control over benjamins inbox?
On point and genuinely funny. Five stars.

The envisioned duckdb/parquet/arrow/rust journey is so 2023 HN it could be satire.
I started doing documentation driven development a while back (with FOSS code) I wrote and I realized at some point that my tests and my how to docs were doing the same thing - one was just an easier to read version of the other.

Moreover, when one went out of date so did the other.

So, I tied them together - I wrote integration tests such that with a jinja2 template I could autogenerate readable markdown how-to docs from the tests and their artefacts.

Setting that up led me to the realization that writing docs isn't actually tedious at all. It's the writing things down 3 times (spec, test & docs) and keeping them in sync that is tedious. And that part can be automated.

If there is a framework to build the whole bundle of docs from integration tests, integration test metadata, integration test artefacts, schemas, code and an assortment of high level explanatory texts then it stops being a chore. It actually becomes fun.

It means that DDD becomes integration TDD. The only difference is that I will write an additional 3-4 explanatory sentences alongside the integration test I write before the feature and run a "docgen" script afterwards.
> rather than some risky unknown potemkin token like 'stablecoins', which nobody accepts or wants.

I know many, many people in many countries who accept stablecoins as cash-equivalent. I think perhaps you underestimate the market.
The fundamental UI is just a single row based table at a time and their initial DB was a graph database.
This is the right wing mind virus that has infected the peasants leading them to promote the best interests of the lords over their own.

The most telling aspect that this really is a "virus" is the fact that they've adopted this mentality and course of action without the results even being fully considered.

Here is a clue to the results --- peasants get perpetually screwed. Lords get 40 percent raises, peasants get 2 percent.

Now get back to work wage slave and don't forget to convince yourself that this is somehow "fair".
New origin trial for fullscreen popup windows
My dad was (amongst many other things) a toolmaker who made plastic injection molds. These things can be hideously complicated, especially if the designer doesn't understand how it will actually be built, and as a result he once spent a year on one. In his days everything was manual, no CNC, no 3D models, no simulations, and probably no contact with the designer to make improvements.

He had to cut milling bits with custom profiles to cut custom tools such as a series of graphite and copper spark eroder forms to cut just some of the corners and shapes in the (paper) technical drawings, then repeat for the next ill-advised bevel or interior sharp angle or even lettering which is too close together to get a milling bit inbetween two letters. Figuring that out was his responsibility alone. Instead of computer control, he'd have to do something like first create a scale model of part of the tool out of a block of plastic, then use a pantograph (a mechanical linkage allowing you to trace a shape with a pen and have the movement magnified/minified) to copy the shapes on a milling machine -- even shapes that seem simple. And then maybe throw away (actually, take home as a souvenir) a month or two's work if you cut slightly too deep -- these were high precision parts. Not because the plastic had to be so precise, but because the completed dies are made out of many steel parts that have to fit tightly together and slide past each other, as you can see in the article.

Considering the ~two months quoted in the article for this mold, I'd think a lot of that complexity is still essential despite modern computerized machining. I'm sure a great deal of ingenuity and many steps are still needed.
A whirl doesn't exist, the river does. The river whirls.
> I don't like having to copy kitty's terminfo data to every single system I connect to in order to have my terminal work.

You can put LocalCommand directive in your ~/.ssh/config to scp something to the remote machine. I use it to have my .vimrc synced on all my systems.
It is critical to maintain transparency, equity, and the preservation of both parties' interests while dealing with third-party paperwork. In this blog article, we will discuss the problems, hazards, and mitigating measures associated with third-party paper.
In addition to what the other poster said, the actual monetary prize comes out of the inheritance of one the wealthiest persons of the day. The prizes that are fully under control of some scientist's organizations that could change their rules IIRC don't have nearly the same prize amount. Not sure how much the scientists care though.
For prose, it probably is the best, but have you tried it for programming?
I find that my keyboard usage is dominated by text-editing shortcuts and punctuation characters. Not sure how well stenography would fit in.

On a similar note, though, I have amassed a "dictionary" of 50+ bash aliases, 1-, 2-, or 3-characters long.

Some "theories" emerged as well - I have groups of aliases whose names follow a pattern and depend on what subcommand (e.g. in git or kubectl) or options are included in the alias. This is good for mnemonics.

For extremely common commands, I ditch mnemonics and just choose a 1- or 2-character name that has no connection to the name of the command. For example r='cd -'. I chose "r" simply because it's on the opposite side of Enter, and I get to alternate my hands. (I guess this is a "brief".)

What got me into the alias hoarding business was the discovery of complete-alias[1] and, later, the progcomp_alias bash option. Turned out, you don't have to choose between aliases and programmable completion, you can have both.

[1]: https://github.com/cykerway/complete-alias
A startling revelation in the article for me was that drug companies that produce SSRI's do not publish (easily accessible) guidance for stopping them. That made me deeply suspicious because to my layman's perspective of pharmaceuticals, it is as if the companies do not intend for a person to stop taking them.
> It's always been amazing to me how many different projects I've worked on (not that I've been in professional C for about 7 years now)) that include their own painstaking recreation of this file.

How many of them started before stdint.h existed? AFAIK, it's a somewhat recent addition to the C language, and IIRC, for a long time even after it became part of the C standard, some popular C compilers still didn't have it.
https://www.politico.com/news/2023/04/17/china-police-statio... that's pretty crazy.
Works fine until you try to do it on a mobile device
Having to use the mouse frustrates me. Have you tried an ergonomic keyboard?
There seems to be a bug where adding your music to up next adds it to a random place in your playlist.

It's so prevalent, I thought it was a feature I didn't know about. It's been years. This makes the platform almost unusable.

It's pretty amazing to see such fundamental usability issues never get fixed. It's astonishing to see in flagship software from a major company. It just doesn't work at all in a basic sense.
Let's design a new form element
In theory tech firms should cause disintermediation. But we have seen in practice, once they get large enough they don't drop prices either. Big tech is not the answer. Federal govt must just use financial muscle to buy a few board seats. Thats the only way to influence pricing behavior.
No problem changing font size in Safari
The companies I worked at with external facing documentation for their product (specifically APIs) had technical writers. One created a product with open source/closed source mix and had a dedicated person. The other worked with a contracting service to pay for a few weeks here and there when they were releasing something new.
Granted, the merit of some of the awards is questionable, but I think e.g.: Nash's work on game theory or Kahneman/Tvservky's on the pyschology of judgment definitely fall under the umbrella of "science".
Can you recommend gear for this? I also have a major interference issue on my street and I'd like to locate maybe vendors by MAC or some information about what's causing spectrum issues.
That is exactly what I came here to say as well. In my datatable custom query layer, I can pull down 1 million rows and view them instantly displaying them in a continuous list on the client, lazy load related table rows, and neither the web client nor the traditional web server on a traditional SQL Server, where I dynamically build the queries and can filter on any column, break a sweat. And the server is on 10 year old hardware that still runs spinning disks and the clients are often older lower powered computers. And that's with me not optimizing performance, other then thinking about it lightly up front.
EDIT: Yes, the tables are sometimes medium wide, 20-50 columns buffered on the client on those rows.
There is this bar in the center of Tokyo which hosts live coding sessions:

https://metropolisjapan.com/hackers-bar/

To be honest, I've only heard of this place, but it sounds very promising.
1/3 Nike Shoes in the World Are Faked in China [video]