skysight-inc/HackerNews huggingface dataset:
> I haven’t seen it generate anything that feels artistically interesting.

I'd disagree.

- One of the first queries I did made some interesting chairs, I would genuinely buy the first if it was sanely priced: https://www.ryanmercer.com/ryansthoughts/2022/6/17/dall-e-2-...

- One of the first H R Giger inspired works I did made some really interesting computers, I would (and may) hang some of these https://www.ryanmercer.com/ryansthoughts/2022/6/19/dall-e-2-...

- The first wood carving query I did generated solid gold of Vikings eating pizza, this is the kind of thing I'd see in a hole in the wall restaurant and absolutely love https://www.ryanmercer.com/ryansthoughts/2022/6/17/dall-e-2-...

- The first "painting" in this series I may very well print and hang in my office https://www.ryanmercer.com/ryansthoughts/2022/6/27/dall-e-2-...

- These H.R. Giger chairs 100% look like something I'd expect to see in a modern art museum https://www.ryanmercer.com/ryansthoughts/2022/6/24/dall-e-2-...

- If you want to create new characters for something, and are lacking inspiration, I think it could be extremely useful to artists. For example these variations of Don't Hug Me I'm Scared https://www.ryanmercer.com/ryansthoughts/2022/6/21/dall-e-2-...

I've got thousands of queries, and a LOT of them have generated things I genuinely see as having artistic value, I've probably got 200~ images that I would 100% hang/display in my home ('woodcarving' and 'stone carving' queries rarely disappointed me)

is it some unique form of art, no, but can it produce works I want to see in a medium or style that already exists to a level that it is believable as authentic human art, absolutely.

People like me, with zero artistic ability, are able to take part in creating visually pleasing works. I imagine artists would also find great value in it, being able to feed a few queries in with what they are thinking of creating to draw inspiration, or even putting their own work in and generating variations that may lead to inspiration for new works.
https://github.com/facebook/folly/blob/main/folly/docs/Packe...

is pretty awesome and I’ve personally gotten big wins from it.

The parent mentioned Bloom Filters, HyperLogLog-type stuff is on that family tree and also very interesting and very useful.

But the coolest thing lately by far? Swiss table (and the largely equivalent F14).

That thing is a game changer in certain scenarios.
> Good use-case: routing. Say you have a list of 1 million IPs that are [deny listed].

Apparently, bloom filters make for lousy IP membership checks, read: https://blog.cloudflare.com/when-bloom-filters-dont-bloom/

CritBit Trie [0] and possibly Allotment Routing Table (ART) are better suited for IPs [1].

[0] https://github.com/agl/critbit

[1] https://web.archive.org/web/20210720162224/https://www.harig...
The hardware wallet I use (Ledger) connects to a PC via to perform transactions, werein it interacts with PC software. This is presumably partly due to the ability to copy+paste keys. (As well as other reasons like guiding you into specific exchanges for buying and selling)

Without a careful audit of wallet firmware and/or PC software, doesn't this alone force you to trust the wallet maker?
>This confuses the point with “doing work you may not want to do”

No. An example: Maybe you find “fulfilling” work but the pay is half what you could make elsewhere in your job market.

In that case, you should be certain that you are somehow compensated non-monetarily for that “missing half” of your salary. Otherwise you are simply making a donation to the company by working for much less than market-clearing salary.
Note that ruby:

> Versions 2.0.0 and later are not vulnerable.

Was about to panic there for a second.

EDIT: Oops, I think I read it wrong, it's tzinfo version >2.0.0 that is not vulnerable, not ruby. Time to panic
Thanks to buying almost everything from Amazon, I get a nice record of exactly how much I spent and can compare to the price being offered today, so I'm going to do that. I'm just going to go to 2020 and see what I can find:

- Topo Chico 24 pack of 12 oz glass bottles: then $20.99, now not available (damn shame because it's my wife's favorite drink, but these seemed to disappear in the pandemic and never came back)

- Chameleon cold brew coffee, 32 oz: then $9.99, now $8.36

- Fire 7 HD tablet for my niece: then $99, now $139 for the Fire 8

- Optimum Nutrition Whey Protein, 5 lbs: then $58.64, now $59.36

- A wireless keyboard: then $29.99, now $27.99

- Deep conditioning hair mask: then $25.00, now $25.55

- Organic Valley heavy whipping cream, 16 oz: then $4.79, now $5.69

- Set of 3 floating shelves: then $14.99, now $13.69

- Fage full-fat greek yogurt, 32 oz: then $5.49, now $5.99

- 1 pint organic blueberries: then $4.49, now $4.49

- 2 pack of 3.4 oz Sensodyne toothpaste: then $20.48, now $12.79

- Cabinet mounted USB fans, 12": then $39.99, now $39.99

This isn't cherry picked in any way, not pulling from memory or looking back after sticker shock. It's just everything I bought in December 2020.
Ask HN: Experience when it comes to SSH-key rotation?
Hi, I'm looking for a way to rotate SSH-keys in an infrastructure. I have no experience when it comes to rotating SSH-keys.

Today I use SSH Key-based authentication to authenticate to my servers, tho I have been wondering if I should take a look SSH Certificate-based authentication, or if it is just an "idea" that seems nice.

This is far from a well structured question, but I appreciate anyone who contributes.

Thanks.
Iterating with async/await means you wait for every result before making another call. You basically execute the async calls one by one.

Promise.all runs them all simultaneously and waits until they are all complete. It returns an array of results in the same order as the calls, so it's usually pretty straightforward to use.

Both approaches have a purpose, so it's not like you "should" strictly use one. But you should be aware of both and be able to use the one that fits the need.
Not sure how tall the child is but an insulated rainwater catchbasin with a small sink attached that drains back to the basin might slow your loss rates. You’d need to make sure it was pulling from a relatively clean system (i.e. not gutters).
<Money available> is a simplification, yes: https://en.wikipedia.org/wiki/Money_supply
IBM made it easy for Microsoft.
Ask HN: Which questions you ask yourself while developing backend?
As an example. When I’m developing some requests handlers I ask myself those questions:

1) how do I handle multiple same requests

2) What happens if database fails

3) What happens if server fails

4) How do I work with time if users are from different timezones

Etc

Do you have some kind of cheat sheet?
>Maybe KneesOverToesGuy is a scientologist and knows a lot about knees!

He seems to have good advice, my point is more that I don't want to give ad revenue to people like him.

>It's not like being a scientologist makes you completely incompetent.

No, but the thing I've always disliked about him is the "cult-ish" (ha) tone of his videos, like he's showing us the secret sauce only he knows and not a series of exercises that people have been doing for decades but fell out of fashion.

I'm not impressed by his boasting at all and I've seen similar advice to his on many channels.
Not sure if you realize this is coming off a pedantic, but everybody realizes what you are getting at. It's just not useful or relevant.

Define information being available as what people are able to load up into working memory to make the decision. You can maximize with those factors easily.
"DALL-E being trained on artists content"

Well, I can't go ask Caravaggio or Gentileschi to paint my query since they've been dead hundreds of years. But being able to to feed a query containing much more modern concepts in and get a baroque style painting in that specific style is wonderful.

Plus what has already been said about a lot of art being an imitation/derivation of previous works.
Ah, the terminology is indeed completely unfamiliar to me. I didn't understand events for holding persistent data. I was thinking about event busses. I would imagine reconstructing data from a list of event is quite difficult in many circumstances.
"don't worry you're just imagining it, the market will correct itself"

We're now into the early 1920's stage of potentially a huge depression which will probably end (at best) in a cold war with China/Global-East. At worst more and more proxy conflicts as superpowers turn back to expansionism rather than fixing the fact that the bubble around an exponential growth based economy will eventually burst.
> Oil and gas prices are up, and they're a factor in pretty much every other product's price.

True. So why did it make sense for USA to restrict oil pipeline build and reduce oil drilling permits in past 18 months? USA was energy independent a few years ago, and now POTUS asks Saudi Arabia and Venezuela for energy. This is a strange turn.
The modern GOP has some racists in it, but at least apologizes for it. The modern Democratic Party has mainlined racism and institutionalized racism in routine interactions business and education. I would 100% rather deal with a Steve King who worries about white replacement, than with all the ways white progressives find to center race, use them as clubs against other white people, and disrespect the autonomy of minority groups.
ICBMs make this a moot point
Clj-commons/etaoin: Pure Clojure Webdriver protocol implementation
As I said in the comment below, my point is more that I don't want to give ad revenue to people like him.

>What he teaches has solid foundations, with multiple testimonies from legitimate athletes.

There are many channels with similar advice, I'd rather give clicks to them. Fitness FAQ comes to mind first.
It feels like in every American city that I've lived in, there was at least one "dead man's curve" that locals would tell me about. In some places, like up in the mountains, there were entire stretches of road that only consisted of such dangerous curves.
The software is fast where it's needed - it makes the right trade-offs. There's little point in building IDEs capable of handling terabyte-sized source files, because just having a terabyte source file is ridiculous.

Scenes like Moana are not intended to be handled as a whole, they are assembled from little pieces - semantically independent and assignable to different people with different skill sets. It's not the matter of software performance, it's the matter of process organization.
It seems to me that the project is still active,: https://sourceforge.net/p/judy/bugs/29/
What I gathered from the days of peak pandemic stay at home media consumption is that there is no practical reason to meter the average household’s data consumption via fiber or coax.

(thank you to the people who kept that working btw)
That is not an air gapped wallet then and therefore beyond the scope of the discussion at hand.

In fact, I don't even know if there are air gapped wallets on the market.

There are some that claim to be air gapped but then use QR codes to transfer data. Which makes them not air gapped at all. A QR code displayed on one device and scanned on another is no less a communication channel than a cable. If it has a malicious helper software on the computer, the wallet could transfer your seed phrase over the image just fine. But that is a different attack vector than the one discussed here.

The discussion here is about whether an actually air gapped wallet could phone home or not. Independent of the question if one exists.
Whenever someone is promoting "The Truth" which is so much better then the stuff other people offer, I'm immediately suspicious and repulsed.

In my experience the best experts are humble.
I love this approach and have used it many times in JavaScript. I often end up adding an additional map in front with the resolved values to check first, because awaiting or then'ing a Promise always means you will wait until the next microtask for the value, instead of getting it immediately. With a framework like React, this means you'll have a flash of missing content even when it is already cached.
"Their generation's name has become..." is (and pardon my insistence) what racist people have said about blacks forever. "Black people's name is synonymous with theft", for instance.

That is why those kind of expressions in an abstract and intellectual (hopefully, here in HN) setting do harm.
> their entire military doctrine revolves around defending themselves from us.

I mean, Russia invades and China taunts its neighbors pretty regularly, so clearly their military is focused on more than defense from the US (as if we have any interest in an offensive war against them in the first place). The US military keeps those countries in check, so of course they focus on how they can “defend” against our military. The extent to which Russia and China are scheming against the US military is the extent to which they aren’t invading their neighbors, which is precisely the value the US military provides, and indeed that Russia is invading Ukraine is a failure of the US government to respond firmly to previous invasions (no, not direct military conflict with Russia).

The idea that the US or the world can enjoy meaningful peace while withdrawing from the global theater is dangerously naive. There’s no world in which we pull back without oppressive dictatorships rushing to fill the void.
BMCs can also be patched. HP updates iLO regularly. I even got a major update on my servers adding things like HTML5 consoles (previously it only had .NET and Java which is a pain in this day and age)

And this is for a server I paid $150 for after cashback from HP.
Yes, and we knew covid-19 was of the covid class of virus, people still treated it like it was an alien contageon asif it had never been documented and studied pre-2019 extremely well how this class of infection spreads and what the full risk profile looks like.

The biggest problem here is the risk of "those who don't know history are doomed to repeat it" is cropping up in all forms of public, opinion driven politics and it's in all likelyhood not going to end well. I wish and hope that I'm wrong.
I've been doing AEM projects for a decade. You are not wrong.
High Housing Costs, Remote Work Leading People to Move Out of the Bay Area
Short-term profit seeking behavior leads to companies raising prices far more than they should while keeping wages stagnant. So they raise the prices on food and other common goods, consumer buying power goes down while overall profitability goes up.

Smaller businesses in the middle like restaurants fall apart because they don't have access to the benefits of economy at scale and they can't pay people enough nor can they raise prices (because they're servicing people that have smaller and smaller buying power).

The solution to this problem should've been done decades ago and that's tying minimum wage to inflation. But now we're seeing the end result of what happens when you don't. A lot of restaurants skirted by on extremely low cost labor but in times when said labor market gets fed up, they move on to the larger chains that can afford to pay 15+ an hour and a large correction occurs which kills small town restaurants.
I care about risks. The problem is that when the risks are complicated and google tries to dumb it down or hide information to simplify it they inadvertently make it more complicated and stupid at the same time.

I'd rather they just put all the information out there on full display and maybe create an API that lets apps compete over explaining it clearly/warning users.
Ask HN: What Is the Purpose of Publishing a Nonsense CG Article?
A "recent news" article referencing the defunct "Sports Authority" caught my attention today. The entire text appears to be computer generated nonsense. Is there a business case for publishing this?

Article for reference:
https://medium.com/@f3eulca622/15-reasons-why-you-shouldnt-ignore-baltimore-ravens-super-bowl-apparel-at-sports-authority-cheap-2b1a1166dc60
Ah c'mon, it's not THAT hard.

The major issue is that it's so centralised already that everything outside of the oligopoly is considered untrusted, but it doesnt take long to get trusted- even if you run marketing campaigns over email like I did for years in the mid 2010's.

I'm not sure if we're all collectively incompetent or if we're completely overblowing how difficult it is.

granted; while I managed email systems of various sizes... yeah I outsource it now myself; but that's MAINLY because I'm lazy, I don't want to deal with it and I don't have an obligation on those emails to preserve privacy or anything like that.

if it was my job to do that because there is a risk to the company; sure, not a big deal, sanitise some IPs slowly over time, configure your PTR records, DMARC/DKIM and SPF everything, ensure you're not an open relay and you probably have to look at it once a month for an hour or two to make sure you're not on a blacklist. -- people do this all the time (or used to) with active directory.

Yeah, its stateful and your deliverability is affected by idiots sending spam-like things, but it's not "hard".

Collective (learned) helplessness here is really going to fuck us over, we already forgot how to run servers it seems, now we're not even able to host services.. soon we won't know how to write code, I'm sure.
U.S. probes China's Huawei over equipment near missile silos
The SO question "What are the lesser known but useful data structures?" has a good list

https://stackoverflow.com/questions/500607/what-are-the-less...

[edit: the link above has been discussed on HN multiple times https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...]
That's why you use public key cryptography, for example with a Precursor.

Problem with ProtonMail is its JavaScript. If we want to use e-mail with public key cryptography (perhaps we shouldn't), we need to use standards which work in any MUA, and are completely FOSS.

I believe we are better off with a protocol which has a FOSS reference spec, is federated, and from the ground up build with privacy and security in mind.
Finding Inner Harmony: The Underappreciated Legacy of Karen Horney
https://trends.google.com/trends/explore?date=all&q=%2Fm%2F0...
It might be very interesting to write the "no value" comments automatically. It can help us focus on and emphasize the part that we think is missing from the autogenerated ones.
Sure - I should have given some sources in my original comment. The order of my list of purported mechanisms is also not really ordered by significance. I think generally, more and more mechanisms of AD efficacy are discovered, and it can seem that the more we know, the less we know. Additionally of course, there are like 15 different classes of ADs, with hundreds of different compounds in total. What we know for sure I think is that the serotonin and also the monoamine hypotheses of depression are highly oversimplified and even internally contradictory, and many more targets and way more general biochemical mechanisms in the brain must be involved in depression.

But anyways, here are some pointers:

- Serotonin and Depression: A Disconnect between the Advertisements and the Scientific Literature (https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1277931/)

- Wikipedia: Biology of Depression (https://en.wikipedia.org/wiki/Biology_of_depression#Monoamin...) has some good sources

- One source covering the 5-HT1A autoreceptor downregulation part in particular there is "Serotonin autoreceptor function and antidepressant drug action" (https://pubmed.ncbi.nlm.nih.gov/10890313/)

- This is also covered in "Mechanisms underlying the speed of onset of antidepressant response": https://link.springer.com/chapter/10.1007/978-3-0348-8344-3_...

- I personally like the books "Antidepressants" by Leonard (that the previous paper is a chapter of) and "Anxiolytics" by Briley and Nutt. These discuss really a wealth of observed/purported mechanisms, also for example including the significance of late gene products.

- Wikipedia: Pharmacology of antidepressants (https://en.wikipedia.org/wiki/Pharmacology_of_antidepressant...) has great sources, especially on the anti-inflammatory and immunomodulative pathways, and introducing HPA axis modulation as another possible pathway.

- Here's something about the significance of common ADs being FIASMAs: https://www.semanticscholar.org/paper/High-activity-of-acid-... - also check out the related articles below for more interesting material.

- ADs and neuroplasticity: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3025168/

- ADs and neurogenesis (this is not clear-cut in its clinical significance, and many ordinary things like exercise can promote neurogenesis): https://www.sciencedirect.com/science/article/abs/pii/S01637...
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3155214/
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3230505/
Show HN: humble-cli – A CLI tool to download Humble Bundle purchases
humble-cli allows you to list all your Humble Bundle purchases, see their details, and download them from the comfort of your terminal.

It can also limit downloads based on their size and format.
Mercurial just has better UX so less need to Google
I am not aware of him, or George W. for that matter, being tried in Den Hague so. Not defending what they did by any stretch, but facts matter. Should "we" measure ourselves by the same standards we apply to, say, Millosevic? Sure we should. We are not so, we even happily deal with the Saudis to get gas and oil.
He is trying to say that he was an Assistant US Attorney (federal prosecutor), an Assistant District Attorney (local prosecutor), and that he held the top DA job somewhere (elected DA). It's really quite a brag.
economics*.edu , microsoft word, economics combined with statistical correlation...

I've got a nice bridge to sell the author...
Pervasive monitoring of private communications doesn't sound like the right tradeoff - more like "something must be done, this is something, therefore we must do it"[1].

[1] https://en.wikipedia.org/wiki/Politician%27s_syllogism
Amazon sells usb powered water pumps, that with a 5 gallon jug and some diy can make a reusable sink (google camping sinks or portable handwashing stations)
If you use Basecamp you can climb with hill charts: https://basecamp.com/features/hill-charts
Not technically a data structure, but Reservoir Sampling is an interesting probabilistic sampling technique used to choose a random sample from a population of unknown size N in a single pass, so useful for a data structure that does not fit in memory.

https://en.wikipedia.org/wiki/Reservoir_sampling
AFAIK it still uses Unity
Vital is awesome. I’ve built various integrations for health services for Conjure[0], and the implementation and maintenance of these does not bring much joy to my life.

Having worked with Vital’s API and Webhooks, I am so excited for our use of it in Conjure to go live. I really love their normalization of data (such as sleep[1]).

[0] https://conjure.so

[1] https://docs.tryvital.io/api-reference/data/sleep/
Powerful argument.
> If they go to that effort why not, you know, fix the intersection/road?

It's several orders of magnitudes different amounts of effort. Putting up a cross can be done one person in an hour. Fixing a road or intersection is months of work for tens of people,several machines, tonnes of material. Source: I've worked on making several dangerous intersection less dangerous
The main log provides CoW-like functionality, & archive logs provide snapshot-like functionality. Having the DB & the file system duel over these responsibilities is trouble waiting to happen.
Spotify Model vs. Team Topologies
Well that’s just not true. And a webpage of “European Alternatives” that 99.99% of Europeans have never heard of, much less come even remotely close to adopting, means nothing.
I used hg for years at BigCo, and it’s good, but damn did I miss the git index. Which is kind of amusing given that the git index took a bit of getting used to.