skysight-inc/HackerNews huggingface dataset:
Complete hogwash. Not everyone sold their privacy. There were and are loud and clear voices that warn against closed ecosystems. Any company is open to blackmail or pressure.

Also I don't trust institutions. This is axiomatic and why separation of power is essential. So

> the only thing preventing that is the integrity of the people on your society and the institutions both public and private that they work for

is plainly wrong in my opinion. If you let people abuse this, they will. Also I don't think that can meet with reality. Police departments alone have quotas they must match, so they have to find criminals... It doesn't take a genius to figure out the repercussions. But it is still practiced in many countries.

Separation of powers is plainly ignored for everything under the guise of safety and a disease infecting politics the last few decades. That is due to incompetent leadership. Another reason why you should not trust "institutions". Instead, you check them and burn their asses if they fail as often they do today. The reaction that trust is falling in press and public officials is completely rational on the other hand.
I had a case of a program that had to run with admin rights, it was storing the info in some of the first sectors of the HD (yes it's possible without direct hardware access, you "just" need admin rights). Of course it corrupted my GRUB... they didn't think that there might be useful data between the MBR and the first partition. This happened around 2010, so no need to go back to Windows 9x to find very weird stuff ;)
Try searching for Linagora. They have solutions that are open source and caters to this particular problem.
Is There a Tool to Automatically Extract Someone's Email from Websites?
I think everyone has their own definition of boring. For example I wouldn't call C++ boring, but would call C boring. Java would also be a boring language.

For me a boring language is a language that has a single paradigm, and there's one way to implement most stuff. With C and Java, there is little room for making "fun" code, you just write lines and make it work. Java forces you into the OOP paradigm and every problem is just a few design patterns away. With C++ you can have a lot of fun with OOP, templates, compile-time magic, old C APIs, new C++ APIs, even if you solve the same problem, two codebases in C++ will look completely different.
PG is great for this. Should handle ~100 or more events per second without much work (but set up a retention policy, and watch out for tables growing to > ~1M rows, as that will kill you during autovacuum).

You can use txid_current_snapshot() and friends to track the last "timestamp". Proper use of locks will help you avoid the complexity associated with long-lived transactions.

Exactly-once semantics can be tricky to guarantee if you do it at the wrong layer of abstraction. Sometimes building exactly-once semantics on top of at-least-once semantics is the way to go.

Kafka and rabbit MQ are both overkill under 100 events/sec. The extra ops overhead isn't worth it. Besides, with PG it'll be nice to be able to always query a couple tables to completely discern the state of the system.
I've become unenamored of the "Measured Human" lifestyle.

This is where everything we do is metered, and our lives become "data-driven."

It does bring results, but I feel there are significant costs; usually difficult to measure.

One of the things that I will do, as I write software, is evaluate the code I'm working on, for reusability.

Often, to make something reusable, I need to avoid optimizing it for a specific application, and "generalize" it. I'll add specializations into an "adapter" or "façade" layer, over the module.

Most of my little SPM modules were developed this way. If I think it deserves it, I'll stop work on my principal project, and break out the subsystem into its own project and repo. Once I have it standalone, tested, and ready, I will re-integrate it, as an external SPM module.

In more than one instance, I have removed the code from the principal project, because it was not something that would contribute to the main goal.

But I now have this neat little SPM module, ready to be used in other projects. Here's an example of a project that never made it into any of final results, but I think is pretty neat[0].

Some of my modules are basically my "baseline." These are used in everything I do.

Many would consider my workstyle "wasteful," but it works for me.

[0] https://github.com/RiftValleySoftware/RVS_Spinner
> You can't tell who's looking at you or not, so that mean anyone could be looking at you, so you act like everyone is looking at you all the time, you feel the need to control your presentation more,

so you keep staring at your own image, which means everyone is staring at their own image, which means no one is looking at your image, which means you don’t need to care what you look like,
Show HN: Computer vision Blackjack basic strategy web app (with Tensorflow.js)
Which is then "sold" by the project lead/sales/pr on some conference/show to great success, unaware that they are the ones trading in project time for publicity. Deadlines of course remain fixed.
> I wish we had the same thing for Python or JavaScript! :D

Try Mission Python - the books assumes you don't know how to program and teaches you Python while building a game.
Keeping an eye out for when their "fantastic journey" ends.
"Innovative hardware"? It says it's an ARM, with a secure root of trust. There's this Bluetooth "proximity token". Looks cool, I guess.

It's running Linux, Dovecot, Postfix and Nextcloud.

"Email senders now support sending emails over an encrypted SSL/TLS channel where the email is only decrypted once it reaches your personal email server. Helm is not able to decode these emails because we don't have access to the encryption key."

Yabbut, Helm is that personal email server; Helm is the terminator of the TLS encryption. The email is in plaintext by the time it reaches Postfix. Postfix then stores it in an encrypted disk, but Helm can decrypt the disk. Please try again!

Then there's this business about email deliverability. My experience is that if you have run a nice, clean email domain for (say) 8 years, then you won't have serious deliverability problems for personal email. But if that's the case, then you already know how to set up and run an email server, right?

People on HN are saying that Helm retains the root account on this device, but I can't find that information on the website. If it's true, then that would be completely the opposite of retaining control of your own data. Here is a pile of FOSS software, running on commodity hardware, where I have complete control; and here's Helm, with the same stuff, but - a proximity key, and offsite backup - in exchange for $100PA subscription, and I have to hand over root.

What's the benefit, and how come they're sold out?
…and make that very game you expected! :)
No, nobody kept my stuff, the game was published commercially so I lost my other programs, including an awesome graphing program that could print your graphs to a dot matrix printer. It is a bit sad.

I didn't know the Amstrad used character graphics, they were uncommon in Australia.
An AI bot that makes English village names
man im curious if zerotier got rbac, so far they're more stable and easier to setup than tailscale.
> bowtie risk model (google it).

I regret googling it.
Good point regarding ILP—that had slipped my mind.
It feels like some sort of a tree shaking solution in most of our modern development stacks is long overdue.

If only we could get rid of dynamically called code and instead could evaluate which code paths the code actually can call, then we'd be able to throw out about 90% of the contents of libraries, since most of the time noone actually uses all of that functionality.

Doing that with separate scripts is another approach, but it feels like the problem should be solved at its root.
Consider Using Docs-as-Code
Also worried about pictures of the little ones.

My solution was for the LR database to live on local SSD, and the library/catalog on an SMB share on a ZFS server, with weekly backup to AWS Glacier. Other than having to reconnect anytime I wake up the machine from sleep, it works pretty well, and I never have worried about corruption.

Only flaw in the plan AFAICT is that if a bug in LR or the Mac introduce corruption XFS will happily store the checksummed corrupted file. I should probably add ZFS snapshots.
The book Guesstimation leads to a good very rough approximation mindset, both in terms of how one computes as well as understanding the innate roughness of an answer to a question. They may already be comfortable with that approach, but if, not, it is a very useful place to begin though it is more of a preparation for those ideas.

https://press.princeton.edu/books/paperback/9780691129495/gu...
"> Some errors are unexpected and should stop the program; you want to use exceptions for those.

Precisely the opposite: exceptions are a fail-fast mechanism that gives you an alternative to terminating the program."

I don't see how this logic flows.

Exceptions do give you the alternative to recover, sure, but the author is saying 'the kinds of errors that produce states where you should stop the program ... use exceptions'.

You're not really disagreeing it seems.

Where you might disagree, is that the author is indicating the 'recovery cases' are more suited to being straight error returns while you're hinting at exception recovery.
Actually many programs write license/demo expiry/... data to very hard-to-find registry keys... maybe just in plain sight under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion which has so much stuff that basically nobody knows what actually belongs there, unless you are monitoring it for changes...
A null doesn't contain any information about what went wrong and unless you religiously check your objects for null values at every turn you just turned a clear stack trace into a search for waldo at the international waldo impersonators meetup.
Hey, are you talking about this article: https://www.ams.org/journals/notices/202007/rnoti-p1007.pdf?
Batteries haven’t stagnated. Costs have come way down, densities have gone up, and recharge times have gotten faster. It’s just been more incremental than revolutionary.

Totally new battery ideas are in development but usually it takes 10-20 years for them to mature and have the potential to compete with existing tech. The hard parts are usually reliability, safety, and most of all manufacturing.

Manufacturing is the hard part for a lot of things. We can make 1nm and even smaller chip nodes today but not in quantity. The yield is really low, so these are prototypes and would be fabulously expensive if you tried to get some made. The “latest” node is the one we can manufacture with sufficient yield to be economical.
> errors by bubbling them up to some top-level event loop and presenting some variant of abort/retry/fail to users

The pros and cons of this approach have been covered extensively in the last decade.

the points discussed were --

// <well what's the point of arguing on the net anyway??>
Why would you allow customers to purchase hardware with storage capacity that you can’t fully support on the back-end yet?
You might find electrolocation in fish interesting :)

https://en.wikipedia.org/wiki/Electroreception
Exact same experience.

At this stage I think Time Machine is barely fit for purpose for backing up over the network. I've lost days on this issue over the years too.

I have always been totally confused as to whether I should be using AFP or SMB (tried both). As others have said, SMB often seems very unreliable, and AFP is supposedly being deprecated...

Mounting network shares from my Synology to Mac(s) is never flawless either. As other comments have noted, this experience is very much worse than what it used to be like in Windows (not that I've mounted network shares in Windows for a while).
We're quite happy with what Linagora [1] offered a few years back. It's a French company so they work within EU framework of law. Their products are all open source, they only sell support services.

[1] : https://www.linagora.com/en/
Brytlyt Awarded U.S. Patent for Relational JOINs Algorithm
There are other options:

1) Print more money. Inflation affects the rich more than the poor.

2) Stop pouring money into the pockets of defense contractors. The !@#$%@#$^ stupid "War on Terror" cost us $6T over 20 years. https://en.wikipedia.org/wiki/War_on_terror . To say nothing of all the other military money pits.

3) Stop supporting the needlessly costly US medical system - switch to single payer now. We spent about $4 T/year on a medical system that's less effective than countries spending half that per capita.

4) 100% tax on wealth over $100 million would raise $3T just from the 400 richest Americans - https://en.wikipedia.org/wiki/List_of_wealthiest_Americans_b... .
That's less strict than my parents' limits, but I find it really odd that the state is exerting this level of control on what people do with their own* time.

*this may not be a valid assumption
China Slashes Kids’ Gaming Time to Just Three Hours a Week
You can quickly build relational graphs if you know which devices contain media that shares hashes. Sure, theoretical danger and not how this is implemented as hashes are just compared locally. This is different from accessing peoples contact lists they upload anyway because you want to group people in information bubbles that not necessarily correspond with real life contacts. This is very valuable info, isn't Google trying something similar?
Grokking Fenwick Trees
>> You could equally say that the House of Representatives is undemocratic because democracy would require all laws to be approved by referendum.

I do say that, I know its probably a shock but I am not a fan of democracy. I believe democracy is 2 wolves and a lamb voting on what is for dinner. I do not support the generally popular idea that democracy is the best form of governance.

>>anyone still thinks that representative democracy is antithetical to the goal of a republic

It can go against the goals of the republic, democracy itself needs to be balanced against other powers. The US was setup to be a careful balance of interests, over the years we have upset that balance and today the democratic elements of our republic are antithetical to the goals of the republic as founded, which was to promote and preserve the Lockean philosophy of individual rights.

The democratic elements in our current system have replaced this idea of Individual rights, with the idea of collective rights... Has replaced the philosophy of negative rights, with positive rights. Has replaced individualism, with collectivism

Individualist like myself see this has a problem.

>>goes against the wishes of the Founding Fathers, they should consider Hamilton's words:

Personally I am not a big fan of Hamilton, and he hardly spoke for all the "Founding Fathers". Many people seem to have this idea that the "Founding Fathers" all sat in a room agreeing with each other. Far far from the case. They largely disagreed with each other, and many hated each other. Personally I am more of a Jefferson, and Franklin supporter than a Hamilton supporter. Hamilton had the desire to create a much stronger and more centralized federal government than many of the other Founders were comfortable with, He had to make many concessions that reduced the power of the federal government. Most famously he was opposed to the Bill of Rights even being included as he saw it as unnecessary...

No to me Jefferson was better founder... and if I was alive then I likely would have been a part of the Anti-Federalists...
Those v += 1 implement the exact specification given above:

1. Parse an integer N from a string.
2. If N is NaN, fail with an error. Otherwise, increment N by 1.
3. If N is > 3, fail with an error. Otherwise, increment N by 1.
4. If steps 1-3 failed, set N to 3.
5. Increment N by 1.

Those are quite strange requirements, and the resulting second code looks strange too, but... it faithfully and obviously correctly represents the given specification.
Pen Plotter Art and Algorithms, Part 1 (2017)
I found a compromise by hosting my email with a company that makes their money out of selling email hosting and stuff instead of advertising. Not being American companies is a bonus to me, as much as I loathe facebook and google, the government is always a far more sinister threat.
Hardly stagnating. Improving rapidly, perhaps. Not an exponential curve, but steady linear growth in capacity.

https://arstechnica.com/science/2021/05/eternally-five-years...
> To make it "readable" a bunch of functions had to be created.

and in doing so created code that was far more self-documenting and evidently correct. the counter-example was no where as easy to reason about (imo), even for the simple example.

> You can't step through that code with a debugger.

i don't think it's fair to comment the content of the idea based on the quality of existing debuggers. in any case, i don't think it's true that you can't step through this code on a debugger (generally): VSCode & Roslyn have no issue with this sort of structure in C#.

> The error messages may be incomprehensible.

the ones in the example may be. i've worked in a large code-base using this approach before, and there was rich error information. transformations of failure states (i.e. the Error values) are easier to do with context, as opposed to your catch-block which has no knowledge of the context in which an exception was thrown.

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

go's (err, val) "error handling" paradigm is, imo, it's worst feature. i can't talk for rust. whilst your assertion that a failure condition is impossible to reach may be true for the code you write today, it almost certainly wont be in the future..

how many error dialogues have you seen saying some variant of "unreachable state reached"? :)
I feel much less like an impostor when I read this. Thanks, HN!

Is it even worth it adopting ci/cd for my small craft or am I fine sticking with push, ssh, pull, [vi config.json]? What do they actually achieve with it?

Edit: incorrect idiom
But you're right about August, which was 0.1C colder than the reference period, for the first time since 2014. Though first and foremost, it was very rainy. The report was released today: https://www.dwd.de/DE/presse/pressemitteilungen/DE/2021/2021...
Are containers still necessary? Does the Firefox built in privacy (Strict privacy protection policy) provide same or similar functionality?
Yes they still do, at least for floating licenses, I'm running a FlexLM server for our lab with several Autodesk floating licenses on it. MATLAB also uses it, and so do many others scientific software packages (e.g., ANSYS).
The Lusaka High Court granted leave to apply for judicial review of the decision of the Zambia Information Communication Technology Authority to block access to social media in an order dated 13 August.⁰ The order also ordered the authority to restore internet access ‘pending determination of the matter’. I am unable to find any further records in this connexion on the websites of the Zambia LII and judiciary, but it seems that the order was obeyed, because access was restored on 14 August according to the post.

0: https://www.facebook.com/Chapter-One-Foundation-119869378367...
No joke, taking this approach to work improved my mental health immensely. I do all the due diligence I can, but at the end of the day I have to recognise that I'm not in complete control, which is kind of liberating, actually.
I use lightroom and i have over 3TB of photos. This is my current workflow. There's no reason why it would not work on a Mac

1. Lightroom runs on Windows 10 system

2. I add new images onto it from one set of cards. The cards are pulled out and sat on a desk. A previous set of cards is added back to the camera and wiped. At this point there are images in the Lightroom and images on the the cards.

3. Every night, windows box rsyncs the Lightroom catalog and raw data onto a Linux box running in a RAID-1

4. Every night, after the rsync is completed Linux box triggers a backup of the rsync'ed catalog and files into S3 compatible remote bucket.

This means that I have all images and catalog stored at least twice locally and once remotely. I have also validated that I can recover from a failure of Windows disk, Linux server and remote backup.
I don't quite get what the advantage / goal of this is.

I find the fact that neovim runs in a terminal an advantage; they share font configuration and colour and other settings, and I can quickly jump in and out of nvim from a terminal.

Having it run in a separate window just means I now have an extra window lying around (the terminal where I typed `nvui`).

And smooth scrolling works on regular neovim with https://github.com/psliwka/vim-smoothie
The Depressing Challenges Facing the Julia Programming Language in 2021
The beauty in human creation doesn't rest entirely in the artefact. A large part of it rests in the knowledge (of the beneficiary) that another skilled human has dedicated time, effort, and intelligence to uniquely produce what is in front of them.

It doesn't stop at music. You see it everywhere: fashion (hand-made), food (famous chefs), music (live performances), coffee (moka pots), sex (orgasm stimulated by other humans), etc. It isn't a pursuance of the best (or perfection), but of what has more soul in it. And unfortunately AI music lacks any soul.
The Time Machine over NAS situation is very frustrating.

It used to be over Apple's proprietary AFP protocol. With the exception of Apple's now-discontinued Time Capsule product line, all NAS implement AFP using the open-source Netatalk, presumably with reverse-engineered AFP protocol. And it's unreliable.

With recent versions of macOS, Time Machine switches to SMB protocol. Apple has a custom SMB implementation, and all NAS use Samba. And it's still unreliable!

I guess the only reliable solution to use Time Machine over network is to use a Mac with File Sharing over SMB enabled. At least both ends run Apple's SMB implementation.
I think the idea is great, I'm looking for a E2EE photo service already for a long time.

Although I'm not a security expert, I have some worries about your security concept.

1. When the user wants to change the password, all photos&videos have to be reencrypted and uploaded
which is absurd for most people because ~100GB of photo-storage is not an exception these days anymore.

2. When your database is leaked, it is very easy to compare with leaked passwords, putting users with
reused passwords in great risk.

My proposal:

Masterkey: Random key encrypted with users password

Device A creates a masterkey and short-living rolling keys.
Device B creates private/pub keys.
If the user wants to add another device (B), he has to enter the current rolling key (from A).
Device B sends its public key to Device A, encrypted with rolling key.
Device A sends back masterkey encrypted with Device B public key.

en/decryption-key = masterkey decrypted with users password

With this method a database leak would be much less of a problem and a password change much less painful.
In 100 years we will probably look like we are “terraforming” Earth with atmospheric processors removing CO2 and ocean water filtration plants removing both dissolved CO2 and plastics.

An extraterrestrial visiting might initially wonder if we came from another star. “They seem to be in the final stages of terraforming the third planet and are starting with the fourth.”
Yes, I can always use First and catch Exception, which is meh.

First returning Result<T> or something like FirstOrNull would be better, because FoN would work for ref types - classes and stuff the same way (afaik) as FoD does, but it'd make error handling for value types like ints more precise
> But ia it ne ot ia the english strange and slightly pretencious?

Oh, the irony...

For what is worth, as a non
native English speaker the article sounded just fine.