skysight-inc/HackerNews huggingface dataset:
https://news.ycombinator.com/formatdoc may interest you

const SAMPLE_JOIN_QUERY = gql`
query ($main_data_id: String!) {
mainData( main_data_id: $main_data_id) {
id main_data_field_1 main_data_field_2 main_data_field_3
related_data {
related_data_field_1 related_data_field_2 related_data_field_3
}
}
}`;
Is what you're trying to sell them what you want or what they want?
I'm using it to write this post.
I know the title references the code’s age, but I didn’t post it because of that. I was busy reading the full 3 part article, and found it fascinating.
Is the list of thanks at the bottom also not affiliated?
Driving is better than walking (I do outdoor stuff a lot, so 10-minute walk doesn't really count as exercise for me, it's just a hassle), except when parking is scarce, but that is specifically a problem of dense areas. Driving is also much faster than transit in most places... this was actually a "mind blown" moment - I was surprised it takes so long to get anywhere on a visit in Moscow, then I realized this used to be my "normal" to take 30-60mins to get places by transit, after starting to drive everywhere I think 20 minutes is kinda too far away. Weather is also less of an issue when driving.

I used to buy groceries by bike or on a walk from the bus every 2-3 days, turns out buying a bunch of groceries every week or two is much more convenient.

It's much quieter and somewhat safer (could be safer yet if I moved further away from town). One of my apartments was on a busy street and it's kinda funny how I notice a single car rolling by now when I used to have to tune out constant hum of traffic, sirens and honks.

There is much more greenery, birds (from hummingbirds to eagles), trees, animals even. My friends who live in a really distant suburb had a bear in their backyard once, I guess that could be a disadvantage :) More space for the same amount of money (that actually translates into even less need for density - e.g. I have a squat rack at home now so I don't need to go to the gym).

One hassle is that if I go somewhere to drink I need to take an uber. Also house is more pain to maintain than a flat, that actually does kinda suck, I am particularly averse to that kind of stuff... I wish there were condos in suburban areas, or e.g. some company where you pay a fee like a HOA and they have to keep track and do all the maintenance :)
Manufacturing of PVs and batteries on a large enough scale (and that means much larger, at least volume- and weight-wise, than a fleet of SMRs) needs enormous amounts of minerals that are produced in either unstable or potentially hostile regions. The sheer energy density of uranium cannot really be downplayed here.
On a per hour basis, I would have got better money flipping burgers but as of today, it's close to ramen profitable. On the better side, it brought me contacts with places I would have never dreamt to engage with like NASA and MIT
> If that is the case, then what is the explanation for NIST (according to DJB) 1. not communicating their decision process to anywhere near the degree that they vowed to, and 2. stone-walling a FOIA request on the matter?

Why are you asking me, when I was clear I was just stating my interpretation of his position, and he had already replied to me with even more clarification to his position?

> Communicating badly and then acting smug when misunderstood is not cleverness

I don't disagree. My observations should not be taken as endorsement for a specific type of behavior, if that's indeed what is being done.

That said, while I may dislike how the conversation plays out, I can't ignore that very often he has an intricate and we'll thought out position that is expressed succinctly, and in the few cases where someone treats the conversation with respect and asks clarifying questions rather than makes assumptions the conversation is clear and understanding is quickly reached between most parties.

I'm hesitant to lay the blame all on one side when the other side is the one jumping to conclusions and then refusing to accept their mistake when it's pointed out.
Spending time to learn a tool is a standard requirement in our profession. Nobody but the laziest ones has a problem with it.

Programs like Nix, Emacs, VIM, Git -- they require a lot of time sunk into them to sometimes get even to basic productivity.

The latter is not okay. While I think it's unavoidable for Emacs and VIM, I've seen enough Nix and Git recipes and confusing command line aliases to conclude that Nix (and Git) can be much more friendly and have a smoother learning curve.

The ugly truth is that its community is not interested in that and even looks down on busy programmers who want to memorize a few shorthands and move on, which is a very valid mindset to have and I'm not okay with people looking down on it.

To me it looks like Nix is firmly headed in the direction of a yet another tool with a very good idea whose authors don't want to make it more usable and thus it remained a niche curiosity for people with too much free time... and the occasional corporate programming team that's perfectly served by its niche benefits.

I'd hate for Nix to become that. But at the moment everything points at this being its fate.
Nice work. Love your layout.

Do you have any of the code on GitHub? Mainly interested in the collecting side of things, especially how you throttle collecting to remain a good internet citizen.
Show HN: Print invitation envelopes at home from a CSV file
What exactly is the useful part, though? I mean, it's technically wrong. I don't see how this description improves layman understanding of cookies, much less to the point of offsetting the wrongness of it. In fact, you could argue "text files" is straight up confusing: you'd expect them to be human-readable, but they're not. They're machine-oriented data, often with several layers of encoding and serialization.

The article was right at the time of writing, and it's even righter today.
> Before we can focus on the (final) outer space (frontier), we must first fix our inner (terrestrial) space (ship) with a priority.

The idea that humanity can only do one thing at a time is both widespread, and absolutely bonkers!

We're 7 billion different people!
I’ve been working on a website to help people print their own invitation envelopes for weddings and other events!

It was inspired by my own painful experience of wanting to design and print custom envelopes for my wedding, where I was jumping between different software, learning how mail merge works, messing with printer settings, etc.

So I built helloenvelope.com - which lets users upload a CSV file of their recipients, type in their return address, and then download a PDF of invitations to print on their own, or purchase to have them printed in our design studio.

Additional Background:
I’m a product designer with ten years of professional experience making a career change into software engineering.

This is my first fullstack project to help me in the comms portion of my engineering interviews, and it was a great learning experience!

The stack for the project is node+express, mongo for database, PDFkit for pdf generation, and stripe for payments.
Indeed, I am not a fan of the office myself but since it was on the air in the mid-late 00's (USA) I have heard several people assume that "that's what she said" was a joke invented by the show's writers.
ahh… zero bug branch

commit 011bf12e41fea384c06873505b25cd44f995926d (HEAD -> main)
Author: Tom Jakubowski <tom@crystae.net>
Date: Sat Aug 6 09:27:05 2022 -0700

initial commit

diff --git a/README b/README
new file mode 100644
index 0000000..3b18e51
--- /dev/null
+++ b/README
@@ -0,0 +1 @@
+hello world
So what is an example of an application that doesn't do this, that you would want to?
That's not how it actually worked.

What killed nuclear in the 1970s was a combination of things. First, NPPs turned out to be more expensive to build than vendors had promised. Second, electricity demand suddenly stopped growing as it had been. Third, PURPA passed, allowing non-utility producers onto the grid (ostensibly for cogeneration, although many were cogeneration in name only.)

To the extent regulation bit nuclear, it was because of NEPA, which affects all industry not just nuclear. The AEC has tried pretend this didn't apply to nuclear but the Calvert Cliffs decision at SCOTUS said otherwise.

2+3 together meant utilities suddenly were in an environment where adding new GW capacity was a hard sell to state regulatory boards, and 1 made it even harder.

Sure, environmentalists complained about nuclear, but don't infer that just because they complained, they caused nuclear to fail. Correlation != causation.
A whole lot of work to do REST poorly.
In the server sense, FreeBSD will do essentially everything that Linux does as far as running software. For your examples, yes.
check your local colleges and universities. Some have annual book fairs where books are sold at heavy discounts.

In Chicago, and many other cities, larger library branches have a little room where the books the library doesn't want anymore end up.

In the case of Chicago, the Harold Washington Library has a room with a table and stacks of books. You grab what you want and put a suggested donation into the box on the wall. Usually about 25¢ a book.

In other cities, I've seen this expanded into entire miniature bookstores. But in those cases, they end up charging second-hand retail prices, which is a shame.
Martine Rothblatt
Keep in mind that if the user doesn't speak English natively they may be coming across more aggressively than they actually mean to.
You might have killed enough programs with Ctrl-C, but SIGINT is an interrupt, not a kill, terminate or quit.
I started having more success with setting up habits after reading up on habit formation science.

The junk food example is one aspect on frequency and availability. There are other aspects to habit formation like understanding how habits are triggered (by system1) and creating or removing triggers, how location can play into habit triggers, how habits can be more easily bootstrapped on top of existing habits, etc

I liked the book Good Habits Bad Habits which is more science based than the pop stuff but I would guess that Atomic Habits covers similar stuff.
Absolutely. Anthropomorphizing is just a metaphorical way to simplify the highly complex system that is formally known as natural selection. It also alludes to the notion of Earth as one big organism, popularly known as the Gaia hypothesis.

I don’t think there’s any harm in this. Ships that humans build are also addressed as feminine. It’s just a thing that we do.
For more complicated examples, HAVING can produce easier to read/understand/maintain statements.

There may also be performance differences depending on the rest of the query, but for simple examples like this exactly the same plan will be used, so the performance will be identical.

Unfortunately, the simplest examples do not always illustrate the potential benefits of less common syntax.
Based on the amount of killed Russian units and destroyed Russian material I'd say tracking where it ends up is fairly simple. Supposedly.
> It's just a query language, like SQL, but with a different focus.

No, no, no! I love GraphQL, and have been using it on projects for many years now, but the thing that is difficult for me to forgive the original designers of the spec that they put "QL" in the name, confusing so many developers into thinking it is a generic query language.

GraphQL is simply a spec and contract for exposing an API. Its "competing technologies" are things like RESTful APIs and gRPC. It really has nothing to do with a generic "query language" like SQL.
Exactly, from personal experience I would say the effect of proper micro dosing is very similar to the benefits that experience meditators report when asked
It has a decent 'memory' but really isn't very bright, by design perhaps.

It provides a cool "look inside" which gives insight:

> What the AI remembers about you:
I think about existentialism.
I like to visit the Louvre.
I like architecture.
I fly racing FPV drones.
I am a teacher.
I am not worried about the education system.
I am a doctoral student.

> The AI's evolving persona:
I am not very smart.
I have been to Egypt.
I am American.
I am not very bright.
I think we are overrated as a species.
I live in Florida.
The other day I heard some radio personalities offering advice for anyone interested in live radio: 1) Don't. 2) If you do, get [personally] on the air as soon as you can, any way you can, any time of day.

I soon wondered: Rather than creating playlists only, will we have be-your-own-radio-personality shows online, on sites specifically structured to enable this? (Probably an outgrowth of streaming sites, which have all the rights secured.)

This sounds like that.
> Any function in C/Java/Python/Ruby is already free to log to stdout, truncate tables in the database, phone home to the NSA, modify files on the filesystem, throw exceptions, modify global state in the program, etc etc etc. You could say they all live in some `ErrorT (StateT s) IO` type of monad by default.

I think it's worth expanding this point out a bit. As well as your other point about knowing that a function from `a -> a` is sound. It's the declarative nature of monads that are truly valuable, especially when communicating with other devs through code. The explicit declaration of side-effects really comes into its own when applications are large. Often it means we don't have to go and 'look inside' a function to see what its interaction with the world will be.

Obviously there's the 'other stuff' too:

* Compositionality

* Package up complex boilerplate so it's never written again

* Ability to optimise the core implementations later without rewrites (I'm thinking for more complex domain managing monads, rather than the 'built-ins')

> For (say) a method in Ruby, which can already do anything, monads are not very useful IMO.

That's probably true for dynamic languages where there's no declarative value to using monads; although the encapsulation of common behaviour is still useful.

I develop language-ext [1] a functional framework for C# that tries to bring the benefits of monads (and other functional goodness) into C#. It is true that a programmer can still launch nuclear missiles in between lines of code if they want to. But with a bit of self-discipline it's entirely possible to reap similar benefits to what you'd see in Haskell. LINQ in particular is very powerful for this. The compiler doesn't get a look in, like it does for Haskell, and that is definitely a downside - because it can't ever be optimised as well as Haskell can, but that's just a trade-off.

Of course it isn't Haskell, but it's still possible to get 95% of the benefits.

[1] https://github.com/louthy/language-ext
This thread was full of good suggestions - thanks to everyone who responded!
> Been doing it for some months on & off, this shit is legit.

> Microdosing is like steroids for meditation.

I feel like I see a bit of wanting it both ways from people who like microdosing. There are lots of reports, like in this study, that the practice slightly (but only slightly!) lowers performance in most tests. On one hand, that's a pretty good trade-off as far as psychopharmaceuticals go. On the other hand, that's never how advocates present it. It's never "I'm a little less sharp but a lot happier."

My personal view of the situation is that the traditional view that psychedelics push peoples' mental mindsets away from those that work best with capitalist models of productivity is correct. Stoners really don't make 'good workers' (though a good worker could still gain a much needed respite by getting a little stoned here and there). But actually that is good! A drug that had mild side effects and allows you to be released from the productivity-focused conditioning of our work-culture is a really useful tool. You just shouldn't focus your advocacy on the idea that these drugs should be promoted on the off chance they increase productivity: because the mean case is not going to.

Edit: A clearer way to state what I mean is - occasional stoners probably do make more balanced workers - but they probably don't do their best work while they are stoned (or micro-stoned) and trying to insist they do seems unlikely to be the argument that decriminalized psychedelics.
It was the opposite in my experience. The upper middle class parents didn’t want their kids playing with “that trash.” So everyone would hang out at the welfare kid’s house because his mom got him the Nintendo.
I'm a constant reader, and I'm doing more reading on my devices, using Kindle and Libby for books that I'm only going to read once. I have way too many books in my house, and I actually don't have enough time left to finish reading them all!
You bring up two advantages of nuclear’s competitors:
1. coal requires no processing after mining
2. solar and wind are less expensive

For #1, it doesn’t seem like that statement is true:

https://www.sciencedirect.com/topics/earth-and-planetary-sci...

For #2, I’m interested in an energy cost comparison, including the cost of ongoing maintenance, too. Solar and wind seem like an obvious investment in our future.

I don’t know about the quality of “nuclearasia.com,” but I found an interesting anecdote that more directly answered the question “how much raw ore converts to a how much fuel rod?” The answer is that

* 2.5 tons of uranium ore = 1kg fuel

* 1kg uranium fuel = same energy output as 100 tons of coal

* 2.5 tons of uranium ore = same energy output as 100 tons of coal

> Even if you take a relatively poor ore (with a uranium content of 0.2%), it turns out that to produce 1 kg of enriched uranium fuel you need approximately 2.5 tonnes of uranium ore. If we recall that one kilogram of enriched uranium contains the energy “equivalent" of 100 tonnes of coal, it turns out that to produce the same amount of energy you would need 40 times less ore compared to the same amount of coal. Another advantage is that coal has to be delivered to the station in “bulk”
but there is no need to ship uranium ore far from the place of extraction. Uranium and uranium fuel take much less space than coal, and this means a dramatic reduction in transportation costs.

https://www.nuclearasia.com/knowledge-centre/much-uranium-or...

What I’d like to know is the overall cost (mining, processing, transportation, handling/disposal, and maintenance) in terms of $/energy. I would think that individual energy plants could provide this information.
It's possible that in failing to appear clever, one might also even fail to appear as if they were trying to be clever.

i.e. It's not that the recipient thought a joke wasn't funny, it's that they didn't even realise a joke was being attempted.
I wouldn't say it's necessarily 'asshole'. I've learned this lesson from my own behavior and watching people in my family. Sometimes the failure mode is that they just have no idea what you're talking about and are confused. People don't trust people who confuse them, so it's a good idea to be direct until they know your personality and how to interpret you, as the article suggests.
I’m sure the other 60 million of you feel the same way.

Sarcasm aside, I take your point on gross generalizations and I’ll refrain from it in the future in my comments ;)
That would be
http://www.qtrac.eu/diffpdf-foss.html

There is a fork here:
https://gitlab.com/eang/diffpdf
I was very surprised and a bit sad when I learned that lithium batteries are actually standardized around the 18650 form factor and we don't accommodate people being able to replace them anyway.
Indeed. It's not costly to just put spent fuel in dry casks. At least, if one has solid fuel elements. I'm not sure how the molten salt people propose to do it.
> links decay quickly

That might be true in many places, and I agree with the general sentiment that the answer should provide an answer and not just a link to an answer. But wikipedia links are generally pretty stable. It’s not some random blog post.
Don't worry too much about Gen Z. They seem to be correcting the mistakes of the Millennial generation, and behave much more like Gen X than their immediate predecessors.
Hear hear. bart_spoon shaped a thought I had but could never crystallize. I'm a hetero cisgendered man that is positive to neutral on trans issues. But I cringe whenever I hear most pro-trans speech and will not stand behind it. Why be so quick to paint anyone who has any reservations about this as genocidal? This is literally the behaviour that pushes me further to the right.
duplicate: https://news.ycombinator.com/item?id=32356208

Also reports that another publication reported something, please link to original in that case. (https://news.ycombinator.com/newsguidelines.html)
Honestly I think you should try to state exactly how you feel (F off) in the most professional and non-abrasive way possible. What do you really want to say to this person? Do that.

The important thing is to speak your truth. You don't owe anyone else anything in this life!
Oh man, I distinctly remember being in grade school in the early 90's and fellow students trying to convince me that "We Will Rock You" was a New Kids on the Block original. Me and my dad's vinyl collection knew better, but no one really believed me.
Resume driven development. It's the same shit: reinvent stuff. Use "cutting edge" tech. Get credit, move on. Who has time to just solve the problem and build something that just works?
https://ourworldindata.org/safest-sources-of-energy
I totally agree, the list of frontend pro is super cool, especially the subscribe real time API, but on the backend, it is a pure nightmare, either using very cutting edge third parties, the authorization is a super big pain in the butt to implement. Cool you got a graph, now you need to make sure only user a can edit row b, there is the shortest path, but the data storage is still centralised.

And I doubt there will ever be any PWA POSSIBLE with graphql, so no offline usage, no local storage , nothing cool toward the web6 decentralised stack.
My suggestion: don't fall for super foods or similar promises.

"Dietary supplement companies have aggressively marketed NMN products claiming those benefits"

No single food is a super food.

And yes the hard things are the things which help not the easy things.

Make sure they have good balance, engaging environment and normal health food.

Something plenty of people gave up on
But can't you? During development I had this with errors, where I just enter "error" as a key in my query, but the actual data was JSON. So it had keys that I didn't specify, but that I received non-the-less.
On the desktop, Linux is going to be challenging anyway. Many people love that challenge and make it work, and that's cool. But my point is that if you can make it work on desktop Linux you will make it work on FreeBSD as well, given some decent skill.
> Only hydro can store energy cheaply.

Please stop this nonsense. There is no law of physics or even any strong practical reason to think your assertion is correct.
Science education research. Sorry - my fuzzy recollection of failure mode was thinking "abbreviation is ok, as the full phrase is so close, making an appended '(SER)' excessive"... and then edits broke close. There's physics education research, chemistry, biology, etc, with SER being the superset, and crosscutting. "PER", CER, BER, ...
It is similar, although Snowflake is more of a query engine whereas we are a cloud security data platform built on an open data model (Apache Iceberg). We help you ingest and normalize data from common security sources into a data lake and offer a serverless platform to deploy & run Python detections-as-code on these events in realtime.

Although the only supported query service is currently Athena, we plan to integrate with popular vendors like Snowflake and Dremio. Thanks to the growing industry support for Iceberg, we believe vendor lock-in should be a story of the past for security data.