skysight-inc/HackerNews huggingface dataset:
Although with RAID10, the disk that absolutely can't fail is the one under all the restore stress. And likely to be the same age as the failed disk.

There is also RAIDZ3 for those who want more safety, which is ZFS triple parity.
Tell HN: Happy Thanksgiving Everyone
I have been really thankful for hackernews. This place has been full of great knowledge and people.

I really appreciate the efforts of the people who are running this platform.

HAPPY THANKSGIVING
Not an expert, but I don't think it's necessarily a weakness in the current applications of cryptography. In something like RSA a typical key is >=1024 bits, which is 1.7e308 possible number so even though primes are more "limited" the actual reduction in security (if non-primes could have been used by magic) the primes that are left are still plentiful. One reason RSA is not really used anymore is because other algorithms such as elliptic curve cryptography provides much better efficiency (partially due to it not requiring primes keys). So it's less efficient than more modern technologies, but not necessarily weaker.
Storm in the stratosphere: how the cloud will be reshuffled
I've work on projects where we did it the opposite way, with multi-tenancy as the default. It didn't work. For a couple customers, we had to carve out their own dedicated resources. A few of them were absolutely murdering the performance of the rest of the cluster(s), and some had business requirements to be completely isolated. Customers with similar requirements and workloads we kept in a multi-tenant pool.

Even though some of the benefit of multi-tenancy is (supposedly) simpler management (one set of resources), multi-tenancy can actually become more difficult as the customer pool gets bigger, or workloads get more uneven. Maintenance on the whole pool becomes more and more problematic, and you try to patch around or delay it by scaling vertically. You basically run into every possible problem and hit limits you hadn't thought of sooner than with single-tenancy. And worst of all, it's impacting more and more customers.
The General of the Space Force Has Heard Your Jokes
Programming a gzip (deflate) decompressor is a really good learning project. I did it last year, ultimately producing a pretty poor but working implementation [0]. I ended up modifying Mark Adler's puff example program to see the intermediary tables it produces to help debug my own implementation. I wish I had known about infgen (also by Adler). The other resource I would recommend, beyond the official specs is this article by Joshua Davies[1], also mentioned in the original post here.

[0]: https://github.com/davecom/nflate
[1]: https://commandlinefanatic.com/cgi-bin/showarticle.cgi?artic...
This is the funniest post I’ve seen on here in a long time. Cheers!
How would property development work? How are the much needed and widely adored characterful European style duplexes and lowrises in city centers going to get built if one person can only own one property?
It strikes me as kind of a bummer that I'm not aware of anybody making a shell that functions as a MUD-like text interface.

I suppose directions would get very monotonous and negate some of the implementation. . .
"Once i've got the base of the system solid and working I will then implement proper security measures on-top of that."

I understand your sentiment, but it's wrong. You need to take into account your userbase, potential or otherwise.

There are those which will be overzealous and not concerned about security and will use your stuff anyways, then there are those people who find themselves compelled (against their will) to use it, secure or otherwise.

Because this software strongly facilitates the later group, releasing it in this fashion represents a security risk and is unethical, wrong, even.

Just because you can manufacture a bomb does not mean you should, not should you be distributing bomb making kits.

Also, perhaps your time would be better spent building this functionality into existing package managers, rather than this one? There are certainly enough package managers out there, I'm not convinced this is even a good idea.
More or less the same, and I have a nearly-new M1 iMac, so it's not your old netbook.

Chrome appeared to work somewhat better than Brave, but it was still pretty frustrating.

I did manage to get it to work in a half-assed manner eventually, but the UI definitely needs a great deal of work.
I missed that, thanks! I'll have to take another look.

When I think of neural networks that evolve changes in their topology and the weights between those connections, over and over towards optimizing a solution to function, I get the vision of the recursive Life in Life video[1] where Conway's Game of Life is emulated in Game of Life.

[1] https://www.youtube.com/watch?v=xP5-iIeKXE8
The first image would make an excellent /r/writingprompt
Great catch! The Wikipedia article for MonoGame lists Hades, but is evidently wrong. Hades used The Forge for graphics. Ctrl/Cmd-F "Hades" on the Github page has some info:

https://github.com/ConfettiFX/The-Forge

The Forge is graphics only; audio, input, etc., have to be handled by something else and Hades used a custom C++ engine apparently.
Those benchmarks run the program once from a cold start, right? When people talk about JS nearing c++ performance I think they generally mean cases like the steady-state performance of a game loop, after the JS engine has had a chance to observe the hot code for a little while.
Pardon my saying so, but what a bunch of horseshit. Don’t blame “evolutionary biology” for your own preferences or those of people around you.

Source: am a dad (on parental leave) who loves spending time with his young kids.
That's a bit out of context. My comment was a reply to:

> We all need a place to live but we all didn't take a risk in taking out a mortgage like Bob did.

My point is it wasn't necessarily a risk Bob has voluntarily taken. I'm not saying that we shouldn't do something to fix this but we shouldn't cause Bob to go bankrupt while trying to help younger generations as Bob may not be the opportunist here.
Preventing cases does not help create more mutations

Having more cases which means more replication which means more possibility for errors, THAT is how you get mutations.
San Diego community meetup / happy hour, December 1
This is a bad faith reply. Non-existent hypothetical devices are not worth considering when talking about the morality of something that someone does today.
Is "young and restless" your signature? Name calling? A favorite TV show?
> they are on the same level as the ccp

Nonsense.
It participates, but you’re still short the house, so essentially it’s a bear on house price. In this analogy rent is borrowing fees.
That Koreans and Japanese only choose one answer would suggest to me a poorly worded form that made most of them think they were only supposed to choose one.
> That said, some countries might experience their population plateauing sooner than others

And all of these countries (except japan/Switzerland) are planning to bring more immigrants in to make sure the population is always increasing faster. Something that most people in first world countries don't realise is that the entire population of their country is smaller than the number of millionaires in china+india. Even if all if america+EU became sterile, there would still be enough foreigners to buy more unit and push the bubble further if they open borders. And they would, because the entire economy depends on it.
Wow! This program is really cool and I'm honestly not surprised it's written by Mark Adler, the guy who wrote zlib, that guy is an amazing programmer.

Thanks, this would have saved me a bunch of time and I wish I'd known this before writing this article. I'll add it in as a footnote later on.

For anyone who's curious, here's the output of the infgen program on the gzip file in the article (I remade the file so the timestamp is different)

$ cat test.out.gz | ./infgen -ddis
! infgen 2.6 output
!
time 1637813470 ! UTC Thu Nov 25 04:11:10 2021
name 'test.out
gzip
!
last ! 1
fixed ! 01
literal 'a ! 10010001
literal 'a ! 10010001
match 6 1 ! 00000 0000100
literal 10 ! 00111010
end ! 0000000
! stats literals 8.0 bits each (24/3)
! stats matches 66.7% (1 x 6.0)
! stats inout 5:6 (4) 9 0
! 00
! stats total inout 5:6 (4) 9
! stats total block average 9.0 uncompressed
! stats total block average 4.0 symbols
! stats total literals 8.0 bits each
! stats total matches 66.7% (1 x 6.0)
!
crc
length
I missed the part where it said it was trained only on landscapes. So I retried it with just those and got this:

"river flowing through desert": https://i.imgur.com/QSjH5hk.png

"sunset waterfall": https://i.imgur.com/wS3EEci.png

Or how about a lovely "green shoreline": https://i.imgur.com/RkbTV99.png
Markets for a fixed number of goods work fine in general; concert tickets, limited edition shoes, rare antiques. The housing market is heavily absolutely distorted but not because land is a fixed quantity.
Being able to code puts you in the top 10% of the IQ bell curve. Being able to see the value in automating something and being able to implement it puts you in the top 1%.

That’s not meant as flattery, it’s just pointing out that the efficiency gains of universal computer literacy will not be realized.
The Interactive Fiction Archive (2019)
For multi-tenant architecture, the following topics are always top priority for me:

- Shared compute with tenant context passed via JWT

- Data isolation by either physical separation (i.e. separate database) or logical separation (i.e. separate schema, table, or column association) depending on requirements

- Enforcing tenant context at the API gateway

- Always leveraging policies and ACLs via JWT to enforce secure data retrieval

- Sometimes using RLS within the database

- Either universal data encryption or per tenant depending on requirements
Given that description, you might want to consider consulting or technical sales/architecture as well. I did it for years in the services arm of a big tech company. The bureaucracy is going to be a lot higher, but a broad skill set with “softer “ skills is valued and rewarded that domain, at least once you are in the door.
> Mitigating issues you missed thus requires a backfill, which may not be scalable.

My understanding of this is that you leave data that is effectively an exploit in your database, and rely on the rigor of everyone using that data to validate it correctly? Have you had to do this in real life - can you provide an example?

I guess I've seen something like "<b>This is bold</b>" rendered after someone has fixed a bug, but I've also seen that rendered as bold text because it wasn't fixed everywhere (which is terrifying to me, knowingly not fixing malicious data).
> then and only then the human race should throw tens of billions at that.

Yeah we should hold out before spending tens of billions on fusion research... Meanwhile, 1.5 trillion gets spent on a failed fighter jet program...

The amount of money spent on other projects is so, so much greater than that spent on fusion.
Admittedly, I read it a long time ago, as a teenager, and it didn't resonate with anything in my own experience. I would certainly defer to your analysis.

Did I imagine the plane crash, or mix it up with some other book?
Those are at least weird and interesting. I tried 'dog running by a river' and it just kept giving me astronomical images ¯\(°_o)/¯
I‘m from Europe and never been to SF, but imo taxation isn’t necessarily needed. Instead the „american dream“ should be adjusted.
Not every human needs their own family home. Build more apartment complexes.

I’ve recently seen in a youtube video by the NYT that there are actual lobbies against changing low density housing zones to high density housing zones:
https://youtu.be/hNDgcjVGHIw?t=253

I’d recommend to give it a watch :)

Imo the soviet apartment complexes are a good idea. I live in one as well (Germany), and I can afford rent without hassle.
I have a 4 unit apartment building. I live in one unit and make the others available for people to rent out. My alternative, which I am strongly considering due to what a pain in the ass this is, is to convert it to a single family home. Would you prefer me to take these units off the market?

I can afford the mortgage by myself. I won't have to deal with the city over problems $600 / month rent control tenants create when they were mad at the last owners. I won't have to pay $6k going on $20k to evict a tenant who requests a jury trial, not to mention house them for free for 6 months. My city already has a housing shortage and I am strongly considering just having an awesome SFH instead of this.

Every incentive seems to be against the use of this property. Rent control causes individual landlords to subsidize the poor societal zoning policies. Legacy rent control tenants also distort the market, raising the price of other units at market rate. It also lowers the income that would be put toward building more units. This property is zoned for 15 units and I would love to build those. Any extra income would be going toward that (as is my personal income). Instead the incentives are for this property to limp along so no one has to move ever.
The resource / explanation that really sold me on crypto was this specific podcast episode: Welcome to Bankless 2021 edition. I'm curious to know what you think after listening to it.

https://open.spotify.com/episode/1SI7tFrzOXyeQ8NLVFgIRU?si=o...
I think you'll find that even in those "community oriented" cultures, many people don't like random strangers taking photographs of them, although unlike Westerners they may not be as forthcoming about it, especially to a foreigner.
Decision fatigue is a thing and if you're an executive then there's more important decisions to be made.
I'm willing to bet that trading desks can make more money in person than working from home, for a given market regime. An astonishing amount of real-time information flies around on a bank's trading floor. If I were a risk manager at one of those banks, I'd want to be as close to that information as possible.
You can also use this as an opportunity to start over/ try something new.
> However, it's definitely wrong to allow me to pass `const o = {}` into a function that wants `Record<string, string>`. How in the world does TypeScript (with the strict flag set!) think that an empty object is able to return a string value for any arbitrary string key? That's absurd.

It's not. `Record<string, string>` doesn't mean it has a mapping for every string key (that's not possible), it means it might or might not have a mapping for any given string key; it really is analogous to a Map, and it's perfectly valid to pass an empty map to an argument that takes a map of a particular type. The only thing wrong with it is that `MyRecord[someKey]` will by default have type `string`, not type `string|undefined`. This it presumably to help with JS code that commonly indexes objects by strings without checking that the keys return values. Luckily, there's a compiler option to make it return `|undefined` (and it works on arrays too, which have the same problem by default): https://www.typescriptlang.org/tsconfig#noUncheckedIndexedAc...

> Because it turns out that you can always take a Readonly value, assign it to a non-Readonly variable and then just mutate the hell out of it

I am surprised and disappointed that this works without casting, but I think with casting it's reasonable. TypeScript has to give you trap-doors to work around its checks when they don't serve your purposes; this is part of the "being overlaid on an imperfect language" thing. The important thing is that those circumventions are explicit and stand out.

Though I will say, you definitely can't pass a readonly object/array to a non-readonly object/array function argument, so I'm doubly surprised your example works. I may dig into it further later just out of curiosity.
Just for the comparison, the French submarines Australia didn't want in the end were 65 billions
To be clear: the lobby against such high density buildings is the neighborhood itself.
Not really all that relevant, but your comment reminded me of how quickly the Western Hemisphere was explored after Columbus. I’ve always been surprised at how accurate maps were from the 1500s; this one from 1550 just astonishes me.

https://www.maphouse.co.uk/antique-maps/the-americas/M3908-m...

Once a significant opportunity presents itself, we really can move mountains.
Vaccination slightly reduces the risk of transmission in any single interaction but over the long run that's irrelevant. Eventually everyone will be infected. Fortunately the vaccines are pretty effective at preventing deaths.

https://www.medicalnewstoday.com/articles/delta-variant-vacc...

https://www.medpagetoday.com/opinion/vinay-prasad/94646

There are 4 other endemic human coronaviruses that cause common cold symptoms. Evidence indicates the previous one emerged in 1889 and killed a bunch of people worldwide. Now most of us get infected with those viruses as youths and the resulting natural immunity protects us later in life.

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7252012/
Except his mortgage is still under water and the banking system will fail (also rational Bob should just walk away from the house to lower his debt through bankruptcy and house repurchase). This is kind of similar to what happened in 2008, except 2008 was still “small” scale.
Okay -- but tell that to the people living within the system today.

I'm from a smaller American city with abysmal public transportation. Cars are how you get to work, end of sentence. They are required for life.

Yes, the city should be doing more to make that better. Yes, the system is backwards. But the woman driving to work in a beat-up 2009 Civic that she bought for $1500 certainly doesn't feel luxurious or privileged.

In many places in America, the ability to live without a car implies 1) the ability to work from home 2) a greater amount of time to devote to travel 3) the ability to have someone else take care of "car-required" things 4) the ability to get access to a car if you really need one.

You can see where I'm going with this. Privilege is a factor of the system, and that system is a car-based one for most people.
Post-Brexit scheme to lure Nobel winners to UK fails to attract single applicant
> - Sometimes using RLS within the database

When is it not a good idea to leverage the database's RLS for access control?
> I was just thinking about a putting all my music and a mpd on my pi then running clients on tv/computers/phones

I actually do something similar to this to run music for an online D&D campaign I'm in, except I use the http output so none of the other players have to install a client.

I do like the idea of the home audio server use case, I think it'll go on my back burner!
Yup, after this, I would not let my 13 year old use it. I get that sometimes policies need to be updated, but when you're dealing with minors, you better find a way to protect their privacy regardless. This language that suggests privacy can be taken away at any old whim of your own choice does not fly. Especially since you've literally claimed the right to remove their right to privacy without their knowledge even while they are still using the service.

I think for the country I live in, most of this isn't even legal.

I suspect your argument would be that none of the information you keep on these minors is of the type that could be exploited. If that's the case, then the policy is extremely misguided, and says a lot that doesn't need to be said in such haphazard terms.

There is a heightened level of diligence that needs to be put into a service that caters to minors. This needs to be aligned with something that can be underwritten, or it is potentially very harmful.

I didn't look deeply at anything else on offer, because this was a full-stop right off the bat. Your policy shouts "Stranger Danger" big time. The rest looks fine and really useful, but not worth looking at under such a policy.
A region for AWS or GCP (and surely Azure) is more than one physical data center. A given data center (availability zone) can fail with no data loss. You have to choose very specific storage tiers with warnings galore to get to a point where one data center will cause data loss.

There is also multi region buckets which go across regions.

I use RClone and Duplicacy to backup to S3 Glacier and Google Workspace. Kopia is also another up and comer.

For a simple copy type setup RClone is a good one to look at, by default it copies the files and doesn't do any snapshots, packing, splitting, etc.
Ah, makes sense, thanks for satisfying my curiosity!
A tip for people who get lost in the interface:

1. Just close the tutorial
2. Scroll down to the ToS checkbox and check that
3. On top in the "input utilization" row make sure only text is checked
4. Enter your text (use only landscape terms)
5. Press the arrow to the right inside a rectangle button located below the text input.
6. Maybe zoom out a bit because the result will be the image on the right which for me was out of view by default. Had to zoom to 50% to see the whole UI.
Researchers recover ancient mammoth tusk during deep-sea expedition
Make sure "Input utilization" is set to "Text" if you're entering a text prompt.
Implied volatility on buying a house is lower than on renting, we are discussing policy changes that cause realized volatility to be different. If you use the government to change the market then you cant claim “free market.”
I really don't have anything constructive to say. I think in general we're getting too soft on shitty things, so I'm going to be harsh.

I clicked through to the demo site ( http://gaugan.org/gaugan2/ ) and it was horrible.

The interface is clunky, slow, and confusing. I actually had to zoom out in my browser to see the whole thing. Had to click through a non-HTTPs warning. The onboarding tutorial is pretty bad.

I got a generic picture of the milky way for any prompt I tried ("rocks", "trees"). If you press Enter in the prompt field it refreshes the page.

This feels like a hackathon front-end hooked up to an intro to PyTorch webservice. It's only neat because, unlike the other 20 copies of this same project I've seen, it was the only one that didn't immediately throw its hands up and say "server overloaded, please wait."

If I'm meant to be impressed or fearful of "big data deepfake AI," this isn't it.

[0] https://imgur.com/BNLDt6A
Mozilla used to run a free STUN service, but it looks like they killed it after it after it was abused to conduct certain attacks[0].

[0]: https://bugzilla.mozilla.org/show_bug.cgi?id=1324520
> excellent (though not leading) restaurants

The variety is leading though. You’ll have a hard time finding such a variety of high-end restaurants anywhere else.
You requirements for a good life change as your age changes - what you value during your 20's is not the same as what you value in your 40's, in the same way what you value in your 20's isn't the same as what you valued in your toddler years.
Scale Applications by Optimising DNS Configuration
Cool indeed!
My college just removed Calculus as a requirement...Although that could be partially because they have such a crazy high dropout rate for the compsci program. Graduation rate at the school as a whole is < 50%. I think they average like 10-30 comp sci majors a semester with an average student population of 4,000. Most students get scared off by the psychotic "teach as though this is an ivy league school" new teachers who get fired in two to four semesters because not a single student gives them a positive review.
That'll be another hundred billion dollars and five years tho. Maybe by then they'll install some functioning cannons on these.
> There is a reason it's not in the Constitution.

Indeed, DRM hadn't been invented yet. The simplicity of manufacturing technology available was what gave people the ability to repair things. And, don't forget the Ninth. The enumerated rights are not exhaustive.
I don't see what's wrong with incentivizing old people move to LOCL areas.