skysight-inc/HackerNews huggingface dataset:
Filesystem likely doesn’t have anything to do with it.

What’s more likely, is Apple’s notoriously unreliable implementation of SMB causing the problem (and that’s the only option now that AFP support on Mac is dead)

I have a Synology DS220+ and connecting to it from a Windows machine vs a MacOS machine is like night and day.

On Windows, it literally feels like the NAS is an extension of my local hard drive. Browsing huge directories of thumbnails is snappy, file and folder names appear instantly. It’s a dream.

On MacOS, connecting to anything over SMB is a total nightmare. Aside from the constant mounting and unmounting (fun!), it’s just plain unreliable and slow.

And people have been complaining about this for years.

What’s even more funny, I have a friend who works for Apple and apparently they use NAS storage in some teams and deal with the exact same annoyances!

If Apple’s own employees have this problem, it’s hopeless they'll ever fix it for customers.

I’d put my money on Apple’s SMB implementation being the root cause of this file corruption issue that has been all over the Reddit Synology user forums lately.
One thing I find that's different is that it's harder to do simple stuff like go to the toilet on the video call.

When I used to be in a physical meeting, I'd get up and leave the room if there was a lull in conversation, it signaled I had left.

On a zoom call, you could go to the toilet with your headphones or whatever, but it's harder to get a gap in conversation (there's always a speaker), and I don't like to trust mute with a poop.
I used to run my own mail server for decades.

I gave up when it became nearly impossible for my domain
not to end up on some list or some reputation.

The big cloud email providers make it a lot of work to run your own.

A friend of mine tried setting up a mail server a couple of months ago at Digital Ocean on a VPS and a couple of others and his mail bounced back all over the place.

I ended up with an account at one of the big ones, and then
using fetch mail to store all email locally. Only the very latest reside on the cloud server for a max of 10 minutes.

All outgoing mail is through my account the cloud provider.

Does Helm here provide a façade for the mail server that handles all the security setup and reputation management?

Or does each user with Helm have to try to get their email working on their own? (A huge pain)
Very True! I play guitar but i’ll never be a Tommy Emmanuel. I don’t care, I play for the joy of it :)
Well that wont be my problem after i get this big bonus!
This might have a little more chances to be real than most such announcements, because this is not really "new battery tech".

They use the same components that are traditionally used in some of the most popular non-rechargeable lithium batteries.

What they claim is that they have found a special electrode construction and some additives that allow such batteries to be rechargeable.

It remains to be seen if they will ever succeed to make these batteries survive enough recharging cycles to be competitive with the existing lithium-ion rechargeable batteries.

The claim for much larger capacity is due to the fact that the normally non-rechargeable batteries have an electrode entirely of lithium, unlike the current rechargeable batteries which store the lithium in the pores of the electrode, so the quantity of lithium is much less than in the non-rechargeable batteries.
Does a panic count as "handling" the error?

I actually agree with Rust's choice here. You, the programmer, know whether some particular error is something you can cope with or not and it's appropriate to panic in the latter case. Where you draw the line is up to you, in a ten line demo chances are "the file doesn't exist" is a panic, in your operating system kernel maybe even "the RAM module with that data in it physically went away" is just a condition to cope with and carry on.

My litmus test here is Authenticated Encryption. The obvious and easy design of the decrypt() method for your encryption should make it impossible for a merely careless or incompetent programmer to process an unauthenticated decryption of the ciphertext. This makes most sense if you have an AE cipher mode, but it was already the correct design for both MAC-then-Encrypt or Encrypt-then-MAC years ago, and yet it's common to see APIs that didn't behave this way especially on languages with poor error handling.

In languages with a Sum type Result like Rust, obviously the plaintext is only inside the Ok Result, and so if the Result is an Err you don't have a plaintext to mistakenly process.

In languages with a Product type or Tuple returns like Go, it's still easy to do this correctly, but now it's also easy to mistakenly fill out the plaintext in the error case, and your user may never check the error. Dangerous implementations can thus happen by mistake.

In languages with C-style simple returns, it's hard to do this properly, you're likely using an out-buffer pointer as a parameter, and your user might not check the error return. You need to explicitly clear or poison the buffer on error and even then you're not guaranteed to avoid trouble.

In languages with Exceptions, the good news is that the processing of the bogus plaintext probably doesn't happen, but the bad news is that you're likely now in a poorly tested codepath that isn't otherwise taken, maybe far from the proximate cause of the trouble. Or worse, your user wraps your annoying Exception-triggering decrypt method and repeats one of the above mistakes since they don't have better options.
> Traditional cars are owned on average for 6 years.

I have no clue about such statistics, but in any case they don't mean the car itself becomes useless after that period.

> And maintenance is definitely required

Yes but that's an entirely reasonable cost, at least compared to new cars. Even if you need to change significant parts of your car every few years (which is usually not the case), it would cost you a few thousand euros at most. A budget of, let's say 1000€/year maintenance (high estimate) is still an order of magnitude cheaper than buying a new car (20-100k€). That 1000€ yearly budget estimate is a very high estimate which accounts for expensive parts to change at most once every decade.

Of course, many people who buy second-hand cars will just buy another second-hand car for 100-1000€ instead of changing expensive/hard-to-reach parts for over 1000€. It all depends on how easy finding the parts are, and whether you or a person close to you has the equipment and knowledge to change the part for free (or in exchange for other services).
Looking at the study: https://d2ouvy59p0dg6k.cloudfront.net/downloads/plastic_inge... their overall estimate includes 10x the plastic from drinking water that I am likely to be getting from their statements about the water I drink. Drinking water is their #1 contributor.

(I drink US tap water, so ~20 fibers a day, 140 fibers a week, based on that vs 1769 fibers a week based on their stated typical drinking water consumption. There's of course the potential that my water has less fibers than the US average, in which case my consumption of fibers from that source would be lower again.)

So the link is scrubbing the soft language used in the study report "as much as" or "could be" and turning it into an unqualified average globally people ingest an average of 5g of plastic every week.
In the other words: get locked down with our small tech. But seriously, they own the root account means you have a backdoor to your data vault, are their customers ok with that?
>It's likely I messed up by not checking the "Enable data checksum for advanced data integrity" option when I created the shared folder. Still, this option is unchecked by default and it's not really clear that leaving it that way could lead to data corruption

What's the point of using btrfs if Synology disables one of its signature features?
> Programming with exceptions is difficult and inelegant. Learn how to handle errors better by representing them as values.

Funny how exception were invented because handling errors as values was considered to be tedious. And now, more and more languages are going backward.
Sounds interesting.

I don't know how much district heating there is in in the cities, I've not heard that much about it. It's one thing to hook a system into district heating, but another to build out district heating in the first place.
2016.

I've watched videos in the past that showed bioluminescence blooms. The equipment was highly specialized (low lux, large 2" CCDs). You're not going to find that type of camera fro <$1000 in your typically electronics store.
I've got my photos in a directory that I sync between all of my devices (that have a large enough hard drive) and a VPS using Nextcloud. I have Photoprism installed for organizing and viewing my photos on the web/Android. Daily backups with Restic to Storj DCS via an s3 API, and monthly manual backups with Restic to my USB hard drive. My photos are currently about 100GB and VPS/s3 storage is cheap.

I think it's a solved problem, just lacking in good turn-key solutions.
The intent of the "under the terms of this License" clause here is to require the conveyed "Corresponding Source" to be GPLv3 licensed as well.

On a lay reading, this could also be interpreted as "in the manner specified by this license". Whether that's how the courts would understand it is a question for a lawyer. It may hinge on what, specifically, was originally licensed under the GPL: the source code or the binary artifacts.
Except modern fruit variants are not what we evolved to eat.
Some zoos have stopped feeding fruit to some animals because they are too high in sugar.
https://qz.com/1408469/humans-have-bred-fruits-to-be-so-high...
That last iPhoto update killed my album, and I've lost a shit tonne of photos and videos. And I couldn't even use my backups either because when I open then up, they too needed to read the entire album to do facial recognition etc... took a few days for each backup, but I only knew photos/videos were gone after all drives had been "updated".

One of these days, I'll plan on writing my own photo management system, with recoverable indexing, optional facial scanning, and zero phoning home.
S3 allowing customers to incorporate a "domain" or any part of it as part of the bucket's name is a contributing factor here, in my opinion.

The name of the bucket (which ends up being a part of the bucket's URL) should be entirely outside of the user's control. Make it a random 32 character string (and make it such that old strings can't ever be recycled).

This way people can't "register" buckets for domains they don't own.
Xenix had competition in offices: most people wanted wordperfect and Lotus 123 and some way to share their files. In an office with a netware or banyan vines server, xenix really didn't have a place.
The netware network stack was tiny compared with a full blown tcp stack to talk to xenix, which used to matter a lot before windows for workgroups. The graphics in a PC were pretty ordinary compared to a Sun or an SGI box, so as a workstation xenix couldn't compete there either.
Point taken, although Base64 feels "easy", the guy's "About Me" says he's in uni doing computer science, IMO he should've learnt a bit of history of how some systems were only ASCII-compatible and mangled the 8th bit, etc. But "shoulds" are subjective, obviously.

True about ignorance, if you asked me, I don't know how GZIP works (I skimmed through the explanation, it looked hard, I didn't bother with it further), although recently I learned how the JPEG compression works (with discrete cosine transformations), and yeah, to agree with you, that's more than 2 decades after I started tinkering with computers.
> Contrariwise, when you are speaking/presenting, use an external camera (the one in your laptop/ipad/phone is optimized for thickness and thus the lens sucks) and a good soft key light.

I recently did a fair bit of research into this exact setup and landed on a Logitech StreamCam and a Elgato Key Light.

Well worth the money if you’re interested in achieving a high consumer grade level of quality, just be sure to purchase an adapter for the StreamCam as it is (infuriatingly) wired with a USB C connector.
At one point I was exposed to an identity management web UI originally developed at Barclays (and still littered with references to their internal systems).

It was based on some completely Byzantine web framework and was incredibly slow. I checked the web requests it was making once while trying to add a user to a group and found that the UI was loading every group from our directory server (~22000 groups) into some JS object that then loaded them all into an html list element. Then it had a separate request to the web server for field validation for some reason.

It also didn’t have an API, much to the chagrin of every attempt to automate any infrastructure system.
Well, on the other hand there's difference between handling errors with values like:

-1, 0, 1 and other obscure things

and using proper types like

Result<T>
Something Solaris (and its derivates) has had for a rather long time.. (as of 2005, Solaris 10 release: https://www.oracle.com/technical-resources/articles/custom-r... ), and further refined in current versions.
That's somewhat promising, as manufacturing is why new consumer batteries are always years behind the tech.
What chemical engineers can learn from shrimp (2018)
I solved a similar problem last year. As others have said, your bottleneck is the compression scheme that PNG uses. Turning down the level of compression will help. If you can build a custom intermediate format, you'll see huge gains.

Here's what that custom format might look like.

(I'm guessing these images are gray scale, so the "raw" format is uint16 or uint32)

First, take the raw data and delta encode it. This is similar to PNG's concept of "filters" -- little processors that massage the data a bit to make it more compressible. Then, since most of the compression algorithms operate on unsigned ints, you'll need to apply zigzag encoding (this is superior to allowing integer underflow, as benchmarks will show).

Then, take a look at some of the dedicated integer compression algorithms. Examples: FastPFor (or TurboPFor), BP32, snappy, simple8b, and good ol' run length encoding. These are blazing fast compared to gzip.

In my use case, I didn't care how slow compression was, so I wrote an adaptive compressor that would try all compression profiles and select the smallest one.

Of course, benchmark everything.
I made https://stevenwaterman.uk/musetree which is a custom frontend for OpenAI's MuseNet. I've used that to generate music that I use on my Twitch streams, games, and other things. I'm not kidding myself that it's as good as human-written music, nor is it truly ai-written music (as there's a lot of human selection in the process), but people frequently comment on the music and enjoy it, without realising it's AI-written

Some examples:

https://github.com/stevenwaterman/Twitch-Overlay/raw/master/...

https://github.com/stevenwaterman/NoTimeToStalk/raw/master/c...

* Edited to fix the link, my bad
> Essentially nobody needs Lightroom until they try it, after which it easily becomes impossible to live without and there is no replacement

I’ve tried Dark Table, but I’m afraid you may be correct. Trying to switch after 7 yrs of LR feels really challenging.
Alternative low-effort solution that might break some websites (only issue I've run into so far is U2F based 2FA with Duo):

privacy.firstparty.isolate -> true (in about:config)

Effectively acts as a separate 'container' for every website.
Yeah when I said nobody I meant nobody in data centres. This isn't a desktop chip and there's no point using passive cooling in a data centre.

Anyway my point is that you can lower the voltage on any chip so the fact that this runs at a low voltage isn't noteworthy.
For how important it is to modern society, the somewhat stagnating state of battery technology in comparison is baffling. Obviously there is a lot of $ thrown on this problem (securing the constant flow of such hopeful articles in the since the 2000s) but per feeling most of the gains since the Nokia days comes from improving HW/SW efficiency.
》Why did ISIS need to destroy the temples? Because these were places where pagans before Islam came to adore mendacious idols? No, I don’t think so. It seems to me that the temples and artifacts of Palmyra were destroyed because they were venerated by citizens of the West. ISIS wanted to show that it doesn’t respect what Western culture admires.

Wrong! Islam was destroying old monuments long before modern West even existed. If anything West and ISIS fought on the same side, against Syria!
As a somewhat experienced Mac developer, I'm not sure what Electron brings to the table for a project like this.

Why not create a simple Mac app with a web view? AFAIK the overhead of electron is more than 100MB, for an app that could probably be distributed as a ~10MB ZIP archive.

A native Mac app with a web view would also have much less RAM overhead -- and you wouldn't need to worry about updating Electron, since you would just be using frameworks bundled with macOS.

Sure, Electron is theoretically cross-platform. But you are going to need a lot of platform-specific code to package the app for macOS, Windows, or Linux anyway.

Anyway, just my two cents. Maybe Electron is less scary to get started for a web developer. But if you start a project like this, I really recommend giving AppKit and Swift a try. There's lots of examples out there. Native development is easier than you think.
No. Small n in only 21. You split the toys in a set of 10 and a set of 11. What I'm really describing is the Meet In The Middle algorithm:

https://en.wikipedia.org/wiki/Knapsack_problem#Meet-in-the-m...
Shopify as well that said when you are big enough to care you likely are big enough to have the resources to fix it.

Much like Facebook did with PHP at scale (Hack).

I liked Hack, never used it but it drove a huge amount of change in the PHP ecosystem, 7 was a huge step forward and so was 8 in part because of Facebook.
Singapore startup is using insects to turn trash into treasure
> meanwhile 0 may be valid value! so we aren't sure whether it is error or an actual value

This function is useful when you don't really care whether it's an error or the value. Imagine you're querying the view count of an item of the user. If the user is anonymous, the select might give an empty result, but you only care about showing a number to the user. So 0 is absolutely fine in that case.

If it's important to you whether the item actually exist, you're using the method in the wrong place.
Isn’t passing in pointers to slices considered an anti-pattern? I thought the go way would be to take the slice as argument by value and return possibly a different slice, like append does. I don’t think I’ve seen any (idiomatic) code that took slices by pointer.
I'm firmly in the camp that believes that exceptions are a false economy.

The post links to an "Exception Smells" post that doesn't mention one of my pet peeves: exceptions as control flow. For example, Java's parseInt [1] throws a NumberFormatException if the string can't be parsed. IMHO this is terrible design. As a side note, checked exceptions are terrible design.

I wrote C++ with Google's C++ dialect where exceptions were forbidden. Some chafed under this restriction. It was largely a product of the time (ie more than 20 years ago now when this was established). Still there's debate about whether it's even possible to write exception-safe C++ code. In the very least it's difficult.

So Google C++ uses a value and error union type, open sourced as absl::StatusOr [2]. The nice thing was you couldn't ignore this. The compiler enforced it. If you really wanted to ignore it, it had to be explicit ie:

foo().IgnoreError();

But here's where the author lost me: this chaining coding style he has at the end. To make it "readable" a bunch of functions had to be created. You can't step through that code with a debugger. The error messages may be incomprehensible.

I much prefer Rust's or Go's version of this, which is instead imperative.

[1]: https://docs.oracle.com/javase/7/docs/api/java/lang/Integer....

[2]: https://abseil.io/docs/cpp/guides/status
I don't know, I'd pay for something that gave me music I loved, 100% of the time (or, hell, even 2% of the time). Beats sifting through the infinite trove of music just so I can stumble upon something I like by chance. My success rate there is more like 0.1%.
It might have been true about Unity some 5 years ago, but during last couple of years Unity has been improved significantly.
Hum... Oracle has its service names and SID, MS SQL server has instances, PostgreSQL is actually what you'd expect from a network server, SQLite is obviously completely different from anything else. I don't remember the MySQL connection parameters, but I remember the username is a crazy multi-part string.

And that's just the basic connection parameters, you will want to set some advanced ones once in a while. I don't see what you gain by creating an universal interface, since they are all completely different from each other.
Not even sure that that super tight inner loop stuff would be in C++ - I think C still rules what hasn't been moved to FPGA's/ASICs.
While I use Photoshop CameraRAW to edit RAW files I don’t use Lightroom or any file library management software. Everything goes into folders on my PC on a dedicated drive which is shared so our Macs can access them and also backed up to BackBlaze. Any JPEGs that I want to share with family are then copied to iCloud photo album or posted to Flickr etc.

I was using a WD myCloud that I retired when we moved house a couple of years ago as a secondary backup but that’s not a runner anymore. I’ve 32TB RAID6 volume on my personal office server and I’ll probably use that as a separate offsite backup.

We do use Time Machine with a Time Capsule that I’ve recently replaced the disk in. I don’t really trust it and also pay for iCloud Drive for most of my other data. Work also provides Google Drive which I use for data that is shared with others.

It’s all a bit of a mess but I think I’ve got some protection in place.
https://ieeexplore.ieee.org/abstract/document/7985711

Basically they took random JavaScript bugs and annotated them with Flow and Typescript type hints and then checked whether the bug was detected.

Pretty clever methodology really.
That site is not working for me. Port 443 isn't open.
The first thing I read on the landing page is:

"Encrypted backups for your photos and videos"

But you show apps with images that for me implies that
I can you an application you provide to look at the photos
that are stored?

I dont think of Google Photo as my backup, though I presume it is that as well, but as a way to look at photos, organize them, do some quick editing, and show the same photo collection on all my devices.

Is this mostly pure backup?

Is there a means to search for photos per keyword, location, or any other meta data.

If I wish to export all photos with the keyword "Good dog" can I do that?

If so what all meta data is stored and can I adjust what I want to be revealed or not?
Content is an unattributed copy of https://www.medicalnewstoday.com/articles/covid-19-vaccine-i...