skysight-inc/HackerNews huggingface dataset:
With plain logic application, writing good unit tests is much harder than writing good code.
Probably by a magnitude of 10 or more. Think about it, you have to surround every path in code by a test case !
You have to create mocks everywhere and end up consuming pretty much the whole team time in writing and maintaining tests, whereas in less time through code reviews/rewrites you could have fixed several issues, improved readability, improved team knowledge, facilitate long term support, and so on...

In software real troubles comes from integration, not much unitary stuff (unless you praise Monkey coding).

And for Linux, it is not just a plain logic application but a kernel that runs on different hardware and has huge base of users and applications. Testing the thing as whole is the only thing that matters. Releasing alpha and beta software is a much more sound, rational and efficient approach. IT industry is (or at least was) organized to test before production.

I am certainly not against unit testing. It remains a wise approach for piece of software that need to be glued in stone forever or have super bounded in/out outcome (eg: bank transfers). But it is nothing more than a tool that you might use or not based on situations. Certainly never a one fit all solution !
I'm someone from far away, reading this unfold with curiosity. My country's variety is NotCo, who in all fairness makes damn good patties without any of the downsides told here (the fakeness sensation, the heavy stomach after eating, that strange waft when burping). NotCo uses AI for their processes, combining strange things like chicory, pineapple juice & cabbage to create milk that even froths like the real one; or strawberries, chickpeas, cocoa, beetroot & bamboo to make very passable "meat". They simply taste good, to the point sometimes I prefer to buy them instead of regular burgers. It helps that we have a healthy market of real veggie (ie. no meat-replacement) products to choose too.

Though IDK what came out of their affair with Bezos, seems it didn't gain traction in the US? Unlike the rest of the world, they're big in LatAm and expanding. I think Australia is their latest successful gig. This isn't a paid endorsement btw, I just like their stuff.

I assume Beyond, Impossible etc use another, more crude/unrefined approach.
The prior is not about an individual theory, but that, e.g., 5% of theories turn out to be correct. Yet people will still believe that 0% of theories are correct.

This is precisely the problem of labeling all theories the powerful don't like "conspiracy theories".

I'm pretty certain that a substantial percentage of the most ridiculous conspiracies are posted online by paid shills to discredit all theories, so any dissenter can be labeled a "loon".

There are many reasonable people who believe the moon landing and reject the theory that "the world is run by satanists" but have many legitimate questions about the Epstein story.

For example, the theory that Epstein videotaped his "friends" for future blackmail is not in any way "loony". So the label "conspiracy theory" is entirely useless, we can only talk about individual cases.
the overall effort could be a game changer for data science education. the barriers have dropped considerably since open source data science stacks based on python, R or julia became widely used but it is still quite a hassle to setup an environment for non-technical people
This way madness lies. It's impossible to reach 100% accuracy when evaluating the veracity of a story, we are always operating with imperfect information. How critical you are of evidence helps sets the boundary for your range of reality but if you expand that sphere to make sure you don't leave out anything that might be true you are going to start including an increasingly large amount of things that aren't.
Nope, this is way before that talk
I'm not entirely sure you understand memory hierarchy and that RAM is volatile so paging has to happen and keep in mind that reading memory from disk is a LOT slower than from main memory.
Looking for feedback on Duckbase – a new system to manage your knowledge
Hi all,

My friend and I are working on a product called Duckbase, that helps you manage your knowledge.

It appears as a note-taking app, but anything you add to it (notes, websites, reddit posts, tweets, etc) automatically gets organized. Then, as you are writing, it will resurface the most relevant snippets of that information. You also have the option to actively search for the information, either through a search bar or visually with a 2d map.

The key differentiator to existing note-taking apps such as Roam and Obsidian is how this lowers the barrier to usage by automatically organizing information rather than requiring you to link it yourself.

I would also add that we are focusing on curious and creative people that maybe haven't even heard of PKM (Person Knowledge Management) before, where we have much of our focus on creating an outstanding UX.

If you are interested in more details (and pretty pictures), feel free to check out: https://www.duckbase.io/

Any feedback is greatly appreciated! :)
I have been a web engineer for a decade. I've worked on Java Spring apps, PHP, Node.js (express), Python (both flask and Django), clojure, Rust, and now Go. I have worked on teams large and small, and on codebases old and new.

In my experience the problem with this kind of conversation is that you can actually have a pleasant experience in all permutations of the above. Since people have a ceiling on the number of projects they have worked on for a long enough time to have a reasonable opinion on the approach, they come out of this with massive biases and cannot accept that others have had pleasant experiences on the same tools and team sizes if they have had an unpleasant one.

I _promise_ you that you can absolutely have a relatively long-standing codebase without a framework that is a dream to work on and has been touched by many engineers in a huge corporate setting. Similarly I could show you absolutely unworkable travesties that have to eventually be rewritten despite being written with frameworks that claim to prevent this kind of thing occurring.
Adjacent to this, a catalog of forgotten smells. A little harder to curate.

Uncatalyzed exhaust fumes
Oily exhaust fumes
A neighbourhood full of Wood fires (still common in some places, but maybe not forever)
New car smell has changed over time, because interior materials have changed

As for sounds, one for me is weekly air raid/fire early warning siren. At least, the type of siren is different now.
Great example, this was the first time I noticed the phenomena my original comment was referring to. Everyone "normal" described this stuff as tinfoil hat and even the people slightly outside overton window never suspected it was as bad as the reality turned out. But, everyone just instantly switched to "yeah we knew that" and didn't update any beliefs or priors
Tailwind-Remix is my jam.
I'm confused why you would need the Axiom of Choice when working with computable programs.

Unless you were proving theorems about possible contents of a database? But even that seems like you wouldn't need the Axiom of Choice.

Could you elaborate on what you were doing with ZFC with databases?
No background in electrical engineering here.

The article began well, I hadn't previously heard the gas wave/pressure analogy. It helped me see current/voltage in a presumably useful way.

However, after introducing this analogy, the remainder of the article seemed to abandon it and instead load on more and more new terms without referencing them back to the analogy. This lost me, and toward the end I gave up.
Try to make a CRUD app with API and SPA. Then it's both fun and it's also for real world apps you'll build.
Good poetry "hits different".
Basically, it innovates and presents new similes, allegories and expressions that have peak emotional impact, meaning, the words are carefully chosen to create the highest amount of emotional resonance. Also, clichés cannot be present. It has to surprise the reader. If I say: "sky blue". That's bad poetry, because it's boring and predictable. If I say "skype blue" it is more memorable, since nobody before has ever used that before and it stands out. There is also the question of cadence. Basically, you will recognize good poetry when you see it due to how it resonates with your neural pathways related to speech and language centers.
These are fairly complex use-cases that aren't needed for 99.9% of CSS people write. In most cases I'm throwing together a handful of components in a flex container or right-aligning some buttons or something.

And for that typical CSS usecase, I find Tailwind way better both for quickly iterating and for hopping into code someone else wrote. I love not having to bounce between and cross-reference 2 (or more!) files (HTML + CSS) for a description of a single layout.

I started using Tailwind at my job I started 2.5 years ago and after the learning curve of memorizing the commonly used class names I have yet to run into a situation where I wished we weren't using it. I also started adopting it in all my personal projects because it makes me so much faster at getting work done and the code is easier to maintain.

I really feel like people start with their conclusion that they don't like it because it's weird and foreign and then look for excuses to justify why they think it's bad.
Common Lisp is fun!
Pong was absolutely NOT boring. Terrible clickbait title.
how does free speech differ from [some] free speech ideological purity?
In Germany using hemp fibers instead of the PTFE tape is still really common (together with a sealing paste calle Neo-Fermit). The disadvantage of the tape is that you can't turn the fitting backwards even a little bit when tightening it, or you get leaks. With hemp that does not matter so much as it swells up with water.
> PDFs were designed for typesetting, printing, and publishing documents.

That is precisely my question! With increasing prevalence of documents being processed online, why hasn't it been the case that the HTML5 option appears as prevalent as the PDF option in say research articles? I guess a complete phase-out of PDF is not currently possible, but the provision of HTML5 alongside PDF should definitely be possible? I found some online options to convert Word documents to HTML5 too so it's clearly not technically impossible, is it?
A glass is a leaky bottle.
Your own link suggests that only 23% of agricultural lands are suitable for cropland.
I wish someone would read the original article about "leaky abstraction" and then use the term correctly.

The author looks more like: I heard leaky abstraction, tailwind is an abstraction, therefor it is leaky. Then shows "problems" with Tailwind (tailwind wasn't supposed to solve) that are not leaky.

Also several of the commentators here misunderstand leaky abstraction

"This is what I call a leaky abstraction. TCP attempts to provide a complete abstraction of an underlying unreliable network, but sometimes, the network leaks through the abstraction and you feel the things that the abstraction can’t quite protect you from."
I'm a tailwind fiend, ie I like tailwind, but I can say it won't save bytes in the source if you use it the way that the docs intend. Tailwind is not very DRY so you'll probably end up repeating classes in source resulting in extra bytes if you just used a custom class repeated on similar components.
C-a, C-k are probably my most used shortcuts on the mac
Does Telegram have a branch in India? What is the teritorial limit of the Indian court decision? Internet is very tricky in this regard, but an Indian court has no jurisdiction over entities that are in other countries (this is also a very complicated matter).
C-f(orwards) C-b(ackwards)

The reason you use them is that they allow you to not leave the home row. So say you're writing something and need to move back and delete a mistype, it's much faster to do that with C-b C-b C-b backspace <letter> M-f than moving your right hand to the arrow keys and moving it back to type the letter and then moving it to the arrow keys again.

Now, lot's of people can't be bothered to take the time to learn them. You need to go through the Emacs tutorial and perhaps spend a day or two getting used to them. That's all it takes.

Similarly, most programmers I personally know can't touch type. That takes a few hours of practice with a fun, gamified touch typing program for a couple of weeks, and then you have set part of your mind free. But people can't be bothered.
Tailwind is essentially the CSS equivalent of eval’ing a huge string of minified code that is littered throughout your markup. It would be completely unacceptable in any other domain of programming.
In much of the world, for the government at least, that is a given: you can't get a phone number without presenting legal ID, and the issuer of the phone number is required by law to maintain this association. This is true in much of Europe, for example.
I dont see a problem with big teams at all. You opne up the components HTML and see the styling right there, no doubts in your mind where to edit the styling (no stylesheets to find etc.).
Of course, this requires the team to have disciplin and make proper components so their not copy pasting tailwind classes 100 times
Although the author mentions some interesting points the biggest advantage that I find using tailwind is avoiding context switching. Going from the markup to css and then trying to remember what was the name of the class I was working with? And the thing inside, was is just text or a div?

It is true that I can have divs with a ridiculously long class, but that’s the moment that I know is time to make, say, an input component or a card or whatever and move up one layer of abstraction.

There are trade offs for sure but I’ve never been more productive or had less headaches implementing a design than with tailwind.
Going inside Cairo to add color management
This is a good move in my opinion. Content moderation for small groups can and should be handled by a few members of the community. Once a community becomes a public platform, content moderation should be governed by a country's constitution.
Why would Y==1 for email spam? In spam, the same message is sent many times. Entropy to try to make spam messages different is generally merely meant to. circumvent spam blockers.
I think the Industry rather likes heavily constrained languages. There's a sense in which that's the point of a language - it's an abstraction that cannot be breached, which limits what you can ask the underlying machine to do.

C++ won't let you define new types at runtime, but the advantage there is you know that the rest of your C++ codebase won't be doing that. It won't let you reflect on runtime data, but that means various changes you make to your program are undetectable outside of bounds (class or translation unit, sometimes shared library).

Forth or assembly will let you do whatever the hardware is game for because either can emit raw bytes and then interpret them as machine code. The cost is you have, at best, conventions about what the rest of the codebase is doing.

If you push too hard towards high performance in C++ the language lets you down. Aliasing rules mean data must be always atomic or never, and can't sometimes be an array of simd values. Or fno-strict-aliasing which costs you elsewhere. No control over calling conventions, instruction selection, register allocation or scheduling. On the bright side you can usually force partial evaluation well enough with template instantiations, but you can't have the inverse where you explicitly fold equal machine code implementations on different types. Plus trivial stuff like the embarrassment of unique_ptr imposing overhead if you pass it to a function. So C++ will get you within N% of optimal, most of the time, and that's usually good enough.
Other than being shorter, what's the benefit of Tailwind over style attributes on HTML tags?

(I am no frontender, though I was a "full stack developer" up to CSS 2.0)
> At that point, you might as well host it on that cheap VPS instead of at home.

This is the better option sometimes.

Buying multiple TB of storage in the cloud will typically be more expensive, whereas you can have ample storage locally on the cheap. The same goes for CPU/RAM, which you'll need for some applications (like local runners for CI servers) or games. Furthermore, you might prefer that the data stay on your local device for whatever reason (either there's a lot of it, like a voxel video game world files, or something else).

My current homelab setup would cost me hundreds of dollars per month from AWS/GCP/Azure, even though it's just devices that would otherwise be e-waste. The round trip time between my local devices and where the servers are is around 20-30 milliseconds, so not at all bad, even decent for gaming.

It's also far more cost effective than buying a static IP from my ISP and if someone DDoSes me, the VPS will probably be the first to crumble (though this is not guaranteed), which is an acceptable failure mode.

Of course, for things that need better uptime, just going for the VPS directly is generally a good idea.
Yes.

The app store is called "Connect IQ".
To be fair, the fact it got that far - as a proposal delivered by the JCS to the President - is itself concerning. That's not some dumb intern's daydream.
Ask HN: Do older devs buy lighter notebooks to reduce pain while carrying them?
And if so, at what age do older devs start doing this?
I sort of agree, but he's been predicting our lives half a century in advance, so to him it's maybe not a big deal.
Problem with matrix is ip address. Even with VPN, fingerprinting your messages is a issue. You can't delete your messages, whose copies maybe stored in multiple servers.
This field is extremely fad driven.

Whenever a huge hype wave hits HN, I now just wait for the huge catches to appear... especially if it has anything to do with web platform stuff.

If something hangs around for a long time like Go, Rust, etc. and I see really serious non-hype-driven people buying in, that's when I figure there might be something to it.
Good luck buying bitcoin with cash. I mean it is possible, but hardly anyone does it, thus you can't really anonymously pay for Threema, you have to jump through way too many hoops to use Threema compared to other apps, which is why it's difficult to recommend it.
systemd is a significant improvement over script-based inits (and upstart, which I always found buggy). Nobody sings its praises because they don't have to: it "won" a long time ago.
Of course multidimensional arrays are an important part of the language, just as the ability to have structs inside structs.

> The above code looks like it's indexing into an array of pointers. If you want a flat array, make a few inlined helper functions that do the multiplying and adding. Your code will be much cleaner and easier to understand.

It is a "flat" array already, not an array of pointers: [0]. No need to write the code that compiler generates for you already.

[0] https://godbolt.org/z/x3cPf3TvT
Mailing list where cgroup was discussed
I'm looking for the mailing list where the whole idea of cgroup was discussed. any idea where can i find it? Need it to learn how such ideas are generally discussed/debated upon
Research papers: you want your paper to look the same for everyone. Equations, tables, and many elements of typography need to be preserved among devices. PDF is the only format we have, aside from just distributing images, that does this; HTML certainly does not. It’s a shame, though, that there’s no standard for embedding video that works for everyone.
It is supposed to have, but apparently cheap flash storage does not have this logic, or it's not working. That's what GP is referring to.
The Evolution of Mathematical Software
The proper annotation for a function that can run at runtime or compile time is unannotated.
Right, _now_ they believe that. This is my whole point! Previously if you said that a powerful man who became a finance billionaire with nobody in industry knowing him had a secret island where he hosted presidents, royalty, billionaires, intellectuals and they did drugs and raped kids those same people would have dismissed it as "conspiracy theory"
> Tailwind is for people who don't want to learn CSS

I wholeheartedly disagree with this. You need to understand CSS to be able to use tailwind. Tailwind's class names are close (most of the time identical, even!) to the pure css equivalents. Furthermore, concepts like flex and grid need to be understood to produce what you want.
Good they are nothing but refined seed oils which is junk food. Eat a mushroom or bean burger instead, duh!

Go woke, go broke.
So you’re losing money now, speculating on future gains.

That is different than leveraging capital for positive cash flow, and one that has historically burned folks bad during downturns.

But we’ll see how it goes!
For instance he is "like" msft CEO, which is also starbucks CEO, both companies steered and managed by vanguard/blackrock ppl (that include very probably the CEO as biggest share holders weight a lot on CEO choice then on the whole hierachy of management).

It is the same for "alphabet"(google)/apple and many other companies in big tech.

There are the "same" networks of people.
Flu is not harmless. Not at all. It is a bad disease when symptomatic (30-40% cases may be asymptomatic). In particular for young children and the elderly.

Flu for me was way worse than a SARS-CoV-2 infection (think 40C fever).

SARS-CoV-2 was deadly for a specific part of an immuno naive population (60+). The age stratification was known since February 2020 (first Chinese paper on that from the Wuhan data). My country had zero excess deaths in the 0-50 range since the start of the pandemic.

EDIT: Anti-SARS-CoV-2 vaccines do not block transmission, certainly not now. And as thus, their protection is primarily for one's own benefit.
Spring works really nice when working on monolithic services, but Golang is on the complete opposite side of the spectrum - Go is really good for microservices.

Spring is more like traditional application development, where you revisit your code multiple time during its long life cycle. In comparison, Golang is more like spit it out fast and forget. Its syntax is so dumb that you can’t possibly misread the code from any angle, so maintenance is also brain dead simple.

In this aspect, using frameworks in Golang simply defeats the point of using the language, because frameworks make codes harder to read. The language is to be used like C, where (almost) everything is manual and explicit.
> everyone can tell what equivalence class E has been assigned even without knowing their own hat color

As is usual for such AC-dependent things, telling the class here is not (Turing) computable, right?
Archive link: https://archive.is/tPPYh
I'm in the process of making a digital version of a known dice/board game. Idea is to create a main unit that controls the game state with 5 or more handheld controllers.

Think quiz/reaction time/mario party type minigames

Doing pcb design, soldering, network communication and state management between microcontrollers, 3d-modeling and printing, (to protect the bare pcbs), etc. is new to me. Also creating expansions or twists on existing games keeps my mind going and does not feel like work.
I hope what you describe will eventually be true for me, but so far the purported benefit of not jumping around isn't being realized. After 5 weeks of using Tailwind every day, I still have to switch between my file and the Tailwind docs fairly often to look up whatever shortcut classes I need.

So far I just miss CSS modules. Having my .tsx and .scss files both visible in split screen wasn't so bad.
Well, maybe the problem is in gRPC and Protobuf?