skysight-inc/HackerNews huggingface dataset:
Windows INI format is going to be easier than any of those. You can parse it in a couple lines in a bash script.

I personally find it silly to need more than that. YAML, JSON, etc. What are we even doing here, besides trying to make life more difficult? Are we doing configuration or are we doing plugins and calling it configuration?

We'd all be better off if we just admitted we really want an extension language and went with embedded Lua or Scheme. With Dockerfile and others you have to run a separate lint program, assuming anyone even bothers doing that. At least with a proper language you would have built-in robustness. Most of these configuration formats/DSLs are half-assed and unnecessary anyway.
I have a long history of suicidal thoughts, and I’ve even acted on them a few times when I was younger (albeit half-heartedly-if I’d been really serious about it I wouldn’t be here now.) I don’t know if that makes me “at high risk of suicide” but likely people like me are at greater risk than people who don’t have that history.

And yet, having kids has actually made it easier for me to resist those thoughts. They haven’t gone away completely, but I feel more confident that I’m not going to act on them, and their frequency and intensity has definitely declined as well. Maybe I could do that to my wife or family or friends, but I could not do that to my own children. I think that, if there is such a thing as hell-if I did that to them, I’d be going straight there.

Having children has given me a new and very compelling reason to not kill myself. The best reason I’ve ever had. It also has given me a new motivation to try to keep a lid on my own “craziness”, which I think has helped my mental health as well. OTOH, it has also led to a lot of stress, and no doubt that stress has aggravated some of my mental health issues. Still, I think overall, the positive benefits of fatherhood on my own mental health have outweighed the negatives.

The only situation I can foresee myself now actually going through with suicide, is if both our kids died (say in a car accident), or if I’m terminally ill and trying to hurry along the inevitable. Outside of those two scenarios, I’m definitely not doing it. I don’t think I could have been so firm about that before having children.
Called an emergency line after hallucination episode. Woman meant well but was very limited in her suggestions and empathy.

I don't blame them though. That said whether or not they're optimal.. it's often a good last resort option. Many people might have avoided tragedy through some mild listening. I've seen it happen on other venues.

[0] To be fair.. most psychology professional I ran into were far from perfect.
i'm far from hn cynic regarding crypto, but wholy shit, some of crypto projects/ICOs/NFTs are so dumb you have to have literally no brain cells to buy into them. including the one this post is about.
I use GA on my landing page and Amplitude inside the product.

GA is good at tracking traffic sources, and that's all I need. Plus, there are tons of materials on GA out there, so even a noob like me can install and use it.

What I like about Amplitude is that it's event-based. You can analyze users' behavior with it.
> has caused a lot of people to forego their vaccinations

Citation needed. I think people forego vaccinations due primarily to how hard they are being pushed, and due to almost 2 years of pretty much nonstop incoherence (or even outright lies sometimes) from the health authorities and the press worldwide.

Case in point: we're still being told by talking heads that "vaccines can stop covid" whereas the reality is nothing can stop it - it's endemic. And that was clear to any sane person back in February of 2020.
I've wondered about a lot of these features and how they would be ubiquitous if only every brand of camera has a standard way of loading applications and interfacing with the sensor and lens.

Sadly such an interface doesn't even exist on Android.
So, Bin Laden: the one guy with a cowboy hat in Asia. Probably easier to recognize from space than his face.
> On the other hand CIA handled instigators killed far in excess of 45,000 people during the 'cold' war.

It doesn't look like a comment about nukes. It's more like "OMG, CIA killed 45,000 enemies during the war!" It's CIA job to kill mad Russians to protect USA. What's wrong with that?

> I suggest that you would not post about it here as this forum is monitored and this information would be identifying to the FSB.

They know that I know.
I’m ashamed to confess that licking those pretty cubes was the first thing that passed through my mind.
Not really, I want to inline /*: ... */ type annotations with terse ts code _and_ use /*:: ... */ to escape into normal typescript language where I can define arbitrary number of intermediate types and just use typescript as normal typescript, not some stripped down nonsense at limited positions.
I hope OP realizes this is a toxic work environment
Good point. I guess the only time someone should care about your dietary preference is if you're having a dinner party or going out to eat.

That's appropriate use of the "I'm a vegan" line...

Just don't go over the top and tell people they're bad for eating a hamburger or inject your veganism into otherwise irrelevant conversation.
> For some time proponents of unit testing have asserted that unit tests should not touch a real database

Is that still a belief in some circles? I feel like the shift away from this started like 15 years ago (largely because of RoR in my mind).

Anyways, this essentially launches a pg instance with a postgresql.conf that is aimed for speed (at the risk of possible data loss/corruption). DO NOT DO THIS IN PRODUCTION, but I just bake the following in local/test/CI:

fsync = off
synchronous_commit = off

Some other things I've seen / done in the name of testing with PG:

- Use unlogged tables. Maybe it's a bit faster, never really seemed to make much a different.

- Drop all foreign keys. This has significant non-performance impact. On the downside, it materially changes the environment that your tests are running vs your system: test could now pass for otherwise invalid code. On the plus side, it makes setting up fake data _a lot_ easier.

- Run tests with a pool_size of 1. This catches cases where you start a transaction, but forget to use the transaction object, e.g.:

db.begin_transaction(tx ->
tx.query("update x")
db.query("delete y") // should have been tx.query
)

- A robust Factory library (NIH or OSS) is pretty probably the most important thing you can do

- If you can't pre-seed all the test data, try to write _all_ your tests without ever having to truncate/delete tables between tests. This (a) avoids the slow delete/truncate and (b) lets you run tests in parallel. This means using random keys to avoid duplicates (obviously uuid is the simple answer here) and not selecting all data from a table when verifying/asserting (since who knows what's going to be in there).
They're trying very hard, but we have the same education. I knew one of their trainers. He was a nice guy.
Epsom salts! Yes! Another good one.
> fwiw I think #2 isn't a real concern

Thanks, good to know.. I guess I can relax a bit if my kids ever ask about a specific online games and pester me a bit :)

I do kind of agree with the rest of your comment also...
If you aren't already working with a therapist, I would encourage you to do so. I think it would really help, but either way I hope you find what you're looking for.
I have done 30 minutes exposures with digital (5D mark II and magic lantern) with very little noise, so I doubt sensor heat is the problem. Try to bump ISO and you got so much more noise.

I often need it for HDRs at night. I know I can do like wayloads of high iso noisy short exposures and average them in post, but it's clunky and even harder to set up automatically. I would prefer something user friendly. When I'm shooting at night, it's often cold and even not so safe. Fiddling with apps and cable releases is not something I'd like to do.

I know that the hardware is capable of it, but they just have to sell you that cable release or what not in order to unlock the capability, which is what I'm not happy about.
And how would this case work against you in the FTC’s legislation? Seems pretty clear that if it doesn’t work to unsubscribe but it would work to subscribe then it’s against the ruling.

If the website can’t actually add subscriptions then good luck to that company surviving!
This is not how a blockchain works though. Transactions are appended to the blockchain by a 3rd party that has discretionary power, not by some computer code.
I don't think your example works - when a valuable item is broken beyond repair that is a fact (based on known physics / science). If I snap a ruler into two pieces I know there is no way to bring it back to the state it was originally in - a single piece. We can glue it back and use other mechanisms but it won't be exactly the same - we know this definitively. The same cannot be said about mental illness.

We do not have the knowledge and science to make such a statement about mental illness. In fact, medical science and research shows the opposite, that we are learning more and getting better at treating mental illness.

Mental illness is usually not a downhill spiral to death, but a roller coaster that you can jump out of. Your perception of being beyond repair depends where on the roller coaster you are.
TPM 2.0 allows communications over the bus to be encrypted specifically to prevent this attack, though Windows apparently does not actually use this feature[0].

Newer CPUs (since about 5 years ago) have the TPM embedded in the CPU. Intel calls this PTT and AMD calls it fTPM.

[0] https://pulsesecurity.co.nz/articles/TPM-sniffing
>Unless Apple's lying

It is called a spin? Or you could call that a lie.

If you count the programme started when they were opening up to 3rd party repair it is well over a year.

That is the same as Apple ( or specifically Tim Cook ) spoke on record, under oath, in court, that their 15% App Store Small Business Services discount idea started well before the trial.

And Apple has been caught many times doing this. From Qualcomm trial to IMG PowerVR Trial. Either lying by omission or spinning.
Very similar philosophies re building up abstractions, DSLs and DSL-enabling syntax (half of Thinking Forth is essentially proselyzing DSLs), very different philosophies re lowest level of abstraction accessible in the language and compound datatypes. I’d say that neither of those are superficial.
While I know to well that a lot of tools don't support it well aren't stacked changes the standard??? (Which now that I think about it makes it even more strange that github doesn't support them.)

I mean yes, e.g. on github it's somehow pain-full as you have to manually select only the last "n" commits (excluding commits from the previous stack) and then the "file viewed" function might not work correctly anymore :(, oh and the "changes since last review" function also like won't work well anymore (not that it does work well normally).

Still even with the drawbacks stacked reviews tend to be faster in small teams (e.g. startups) with a lot to do.

Through often you only start reviewing thinks "later in the stack" after a initial review of the first PR and any "major change requests" are done. Similar you have often a less strict security model/more trust into your co-worker to not maliciously abuse it to sneak something in.
manager-tools.com : a series of superb podcast. Pay for the personal license; $200/year is worth it.

Read "The Alliance" by Reed Hoffman.

My best advice:

- weekly 1:1s
- accept that you will not be as knowledgeable about everything (lack of time)
- establish expectations at the very beginning
- start off with realizing that no one will retire from the current company. Let your directs know that at some point you expect they will move on. This is so liberating.
> org-mode blog! How do you like it?

I've just gotten started! I think it's comfortable in the sense that I won't need to copy and paste stuff to and from the terminal and can just code from the same file and see how the result changes. That's really neat!

I imagine I'll be feeling restricted at some point, since I'm not doing custom HTML for each post, and I want to keep the org file readable on its own, so no excessive markup.

> I like the theme you built.

Thanks, though it's really almost no styling. The syntax highlighting is done by the ruby library `rouge`. The colors were just black on white, but the Dark Reader Firefox extension I have installed would change that to these off-black and off-white colors, and I liked it, so I set them in the CSS.
That's what PDF is for ;) But yes, that's an obvious objection and if I had good responses to all the obvious objections, I would have something more than a crackpot theory.

At the same time, I think the web as it is now is the worst possible state of affairs. There's no clear distinction between content and UI. You can theoretically use predefined UI elements, but nobody ever does and if they do, they can (and almost always do) completely change their behavior.
I hear you on JS. Nothing against it or the people that love it but I don't enjoy it at all. I will look at Netlify. They have been active here because they just raised a round.
Eating what biology intended you to eat is not an ideology.

Making a conscious decision to go against biology and select a different dietary preference is indeed an ideology (unless there is a real medical reason you cannot eat something, such as allergies).
except of course there is literally zero voting power from participating in this project because the "power" bit is always assigned by a source of authority and nothing about this project tells you how can this power be realized or enforced.
Manjaro is a great distribution. I love the team. It's fucking Disney's fucking Small World over there, right? People from all over the world coming together to build something together that we can all enjoy. The amount of work and dedication is inspiring.

And they provide several pre-built distro releases that provide great defaults. The i3 background alone has been a great help. Just a small thing that continues the philosophy behind the Arch wiki on education and help.

But I am wary of pacman update speed. Even with a "fast-track" rule, I only seem to get updates every couple weeks. Then it's a page-long dump of packages. I've tried multiple mirrors.

Probably some innocuous committee design decision of course. Or overworked testing team. There are reasons.

So I wander once again.
Faster Fluid Dynamics on the GPU
This is a good point, and phrased better and more openly than the other replies.
Variations of the Navier-Stokes equations are ubiquitious in many domains in scientific computing.
[Chapter 38. Fast Fluid Dynamics Simulation on the GPU](https://developer.download.nvidia.com/books/HTML/gpugems/gpu...) in GPU Germs
is concerned with solving these equations efficiently on the GPU.

There, the numerical version of Poisson's equation involves solving a massive but sparse linear system,

<img src="https://latex.codecogs.com/svg.image?Ax=b" title="Ax=b"/>

In GPU Germs this system is solved with Jacobi iterations. These work well for many applications but might converge slowly,
especially for large matrices. In GPU Germs it is mentioned in passing, that multigrid schemes are a possible way to solve such matrices
more efficiently.

It took me some time to understand the concepts but I now have a working GPU accelerated multigrid formulation for the Poisson problem. In some situations, this has
accelerated my simulations at times more than twofold. In order to help you avoid making the same mistakes that I did, I published my notes and source code on

[keinefirma.xyz/documents/fluid_tutorial](keinefirma.xyz/documents/fluid_tutorial)

For now, I continuously update these notes and rectify errors and more.

I hope to help somebody with this!
That's not how it works in real life. Family (and maybe generous government healthcare) will take care of "too broke" to give any yield, in the future, people. Anyone else who isn't lucky to have that kind of support will find himself in the streets.

And that's fine. Societies can only function if the yield from the people it invested in is higher than the investment. This is why socialized healthcare is tricky. If you invest too much, you might be wasting resources and endangering all of your society. If you invest too little, you might be leaving people who would otherwise be productive once the investment is made.

> Are some simply too broken to fix?

There is no one too broken to fix but how compatible people are with their environments. A duck will leave its baby if it thinks it can't cross the river. Its brothers did cross, and thus it has to go forward, carry on and leave the weak behind. On the other hand, if the duck was living in your backyard and eating from your food; it would not have to do such a difficult choice. Its baby will not need to cross any river and thus it'll keep taking care of it.

> I feel awful thinking this, but I wonder if there is some truth to it.

It's life. Netflix has great series (Planet Earth) that you can watch. We are not really different from animals, we just happen to live in a different environment.
At my last job, I found our code review process was terribly slow and set about analyzing it and coming up with solutions. I found a lot of developers were blocked on reviews. They either task switched (expensive) or babysat their review (expensive). Even though we were using Phab, few did stacked commits because of how unfamiliar the tools were which made them feel brittle.

Improving the stacked workflow is one part of the equation but I'd recommend being careful of letting that mask other problems

I identified a series of busy-waits including:

- Post, wait, CI failure, fix, post

- Post: wait for reviewer, ping reviewer, wait, find feedback was posted, fix, post

Some of the root causes included:

- Developers weren't being pinged when the ball was in their court (as author or reviewer)

- Well, some notifications happened, but review groups were so noisy no one looked

- The shared responsibility of review groups is everyone assumed someone else would look.

- The tools we were using made it hard to identify active conversations

My ideal solution:

- Auto-assign reviewers from a review group, allowing shared responsibility of the code base while keeping individual accountability of reviews

- Review tools that ping the person the review is blocked on when they are ready to act

- Review tools that give a reminder after a set period of time

- Azure DevOps' tracking of conversation state with filtering (and toggling between original code and the "fixed" version)

- Auto-merge-on-green-checks (including reviewer sign off)

With this, responses are timely without people polling the service, letting machines micro-manage the process rather than humans.
I'm going to try using this to update certs on my Brother printer. It is one of the few that I have been unable to automate/hack together something for LE cert rotation.
There are a lot of unfortunate combinations. Trying to achieve in an obedience-oriented system causes depression, I'm convinced, whereas simple obedience can lead to a fairly stress-free life. In a company I'm familiar with that transitioned quickly from a nimble startup that rewarded high achievers to a bureaucratic beast that saw ICs as chess pieces to be moved around by managers, the early ICs who stayed and kept trying to achieve were afflicted with depression, anxiety, feelings of being gaslighted, and simultaneous contempt for and jealousy of "lazy" newer ICs who understood the new nature of the company and enjoyed comfortable and predictable employment.
Modern web development has gone off the rails. Old-school website design was far superior, where we just used the styling provided for us and a trickle of CSS for some simple layout and colors. It's absurd that box-shadow even exists, let alone have a generator for it.
does the sun emit emf particularly strongly in the infrared band? or is the infrared band particularly good at heating our stuff on earth?

Because, there's energy across the spectrum of the refracted prism light, so why does the invisible emf do the most heating of what it strikes?
There are a lot of Lisps out there, but even more Forths (like the one you've written), although people like to argue what it means to be a Forth.

One desktop/server Forth that I have enjoyed is 8th and it is a Forth in the since that it is a concatenative language using words and a stack, but it also is like GForth in that it comes with garbage collection, while it also has support for various data structures like arrays/maps/JSON/matrix, file IO, GUI, database, cross compilation...etc. It still takes my brain awhile to use, but my workflow is pretty similar to the one I use with Python.
I love that they appear to have made quantum pixel art.

Yesterday we discussed the announcement of IBM’s 127 Qubit quantum computer:
https://news.ycombinator.com/item?id=29244732

If we keep doubling at this rate, we will have useful quantum computers by Christmas
It isn't just about pressure. I've told people things like this while not caring about the stigma and it has always negatively affected the relationship, because I'm perceived as acting too vulnerable too soon. As a result, none of my friendships have advanced past a superficial level.

From my experience, it seems there is a good reason for the stigma. Depressed people with pessimistic worldviews don't make good friends. The worst time for me to make friends is when I need other people the most (such as when I'm depressed), but when I don't need people my interest in them becomes almost nil.

Also, I highly empathize with the idea that when the fear of failure can be linked to the risk of one's life spiraling out of control potentially all the way to suicide, whether or not those consequences logically follow, it takes away a lot of options that might sound common-sense to someone of a healthy mind (aiming for challenging side projects, putting yourself in front of others). For such people, I believe shielding yourself from those signals is a valid option for survival, even if it means having to deceive yourself temporarily.
The number of things that could increase the costs of providing a service beyond willingness to pay for the service is essentially unbounded.
> Most decent teachers can see through this (assuming they care).

I entered the science fair as a kindergartner with a poster project explaining how (the output color-mixing of a) color TV worked.

Principal accused my parents of doing it; they had no idea what he was talking about and protested that I’d done it. So he interviewed me about it and left convinced I’d done it. ;)
front page all day: https://news.ycombinator.com/item?id=29250063
only a tiny fraction of those $ gains can be realized.
While I agree with you technically, there's something icky about a community full of older, wealthy men talking about how maybe it's actually ideal for older, wealthy men to wife up young, fertile women.
This is such a good point. This is my first thought whenever I see a new "blockchain for x", where x involves some real-world product or activity.

Suddenly the promise of "trust-less" makes no sense, and we are just left with poor performance and immutability of human errors.
the right answer here IMHO is "depends on your viewers with their devices"

there is nothing broken about simple HTML table for a minimalistic and standards-compliant page, right?
Add drop shadows with the text-shadow CSS Property
Pretty sure you can choose DR100, DR200 or DR400 since the X-T1. My X-T4 definitely has it.
> It cannot be taken for granted that they have good intentions.

This is where I pull back and kinda laugh with irony at the effort. Much of this process (most likely because of the hurried pace) seems to be "just trust us" but wasn't the whole point of the Constitution to build a system of checks and balances so we didn't have to just trust one group of people?