skysight-inc/HackerNews huggingface dataset:
Ask HN: Better options than SendGrid For Transactional Mails
Hi HN. I've been an client of SendGrid for many many years, but they have since become impossible to work with. We have always fitted into their free tier, but now that we want to move up to a paying PLAN, they send us some nonsense email about compliance, and if we don't reply with-in 72 hours. They will disable our account. Problem I have with this is:

1) What if I were someone now reachable for 72 hours or the mail got filtered to my SPAM box ? Bye Bye SLA and my clients

2) We did explain to them that we are a simply a enterprise ticketing system, for store maintenance. Think JIRA but for fast-food-stores like KFC (They actually one of our customers). https://littlebigstats.com/

I am happy to pay a premium for a REAL Email-Sending Service, that DON'T send you emails over the weekend threatening you with account suspension.

Please note this "threat" was in response to us wanting to UPGRADE TO A PAYING PLAN, after years of using their free TIER. Same product, same emails we just want to send more and have better analytics.
The code uses a 256 byte array to store the file name, and to determine the length of the name it iterates through the array looking for the first 0.

func blen(b [256]byte) int {
for i := 0; i < len(b); i++ {
if b[i] == 0 {
return i
}
}
return len(b)
}

Is it not better to use a slice with 256 capacity and access to `len()` than for every file to iterate through the array until you find the end?
This is survivorship bias. Plenty of old Victorian-era businesses vanished without a trace, and today you’re seeing just the small fraction of things that survived, not the entire records of the business.

Meanwhile, in current businesses some employees keep diaries, some records get out through litigation, others are filed with governments, etc.
What you've done there is add some extra text saying that this is not a current status - it's an action you could take. You could just as well have added "(this is a button)" instead. Why not just make it visually obvious that it's a button?

Edit: You could say something similar about any non-verbal cues. Why not say "error" instead of using a red error icon? Why not say "left" instead of using a left-pointing arrow? Etc. The answer is always that (if used appropriately) it lowers the user's cognitive load. Admittedly sometimes it's reasonable to use both e.g. usually you do say "error" in words too, and maybe your suggestion would also be useful for this button.
Thank you. The article didn't make that very evident.
> Is there anything they would do if the filmmakers decided to eschew the payment and give a villain an iPhone anyway?

Then the product placement contract would be violated and the filmmakers wouldn't get any money from Apple for the placement of iPhones in their movie.
They havent learned anything.
Ask HN: How to delete an old Facebook Account without email/phone number access?
Hi HN (posting anonymously),

I'm seeking help on deleting a Facebook account created long whole ago with an email and phone that I no longer have access to. This account contains my personal details as well a lot of images, which now has become a concern for me.

I've tried going through FB recovery system but it says it's not possible to recover without access to the email or phone number. I've deleted the email address long while ago, and no longer have access to the phone number. However, I can prove that account was mine because there is a lot of images of mine (all of them are taken even before I'm 18 yo). And, account hasn't been active since 2015.

Has anyone been in a similar situation? Thanks for any help.
Why? Because the US thankfully left behind the era of blatant cronyism, and regulatory agencies are allowed to do their jobs again
Could you explain please, for those of us unfamiliar with ASP?
> The reasoning involved is deeper than what an automatic tool can accomplish.

Not for the part where you have to use something else than lines(). It's ~10% of the time spent in the code. As I said, it's not the biggest improvement, but for something that can easily be automated, 10% is great.

For the part about unicode, I agree that it's harder to find a solution. Maybe the library for JSON could first check if a \u or \U is in the object, and if so decode it as unicode? I may be missing something here, but that doesn't seem too hard. Of course it would be a bit slower than just decode unicode if everything is unicode. But if the majority of JSON is like the one in this article, this would be a sensible default.

For sure, we can't replace humans. That's not the goal. The goal is to offload easy and repetitve tasks to tools, and also to encode tacit knowledge in them.
Hmm,

Sounds similar to what I read a long time ago about a big tomato farm in the Netherlands... Have you tried talking to actual farmers of that produce? Universities? Agricultural faculties do a lot of research in that direction.

Expensive, quickly perishable produce might be able to compete, otherwise I guess free water and energy from above in the "remote" classical farming will be hard to beat.

And then my naive guess would be that to generate enough data for a "ml" approach not only by name might be somewhat expensive.

This sounds so negative, but this is not my intention... I wish you all the best and hopefully will stumble upon a success story in the future :-)
So putting a jammer in someone else's car could make them a target for military action?
This is the exact kind of FuD that I'm talking about. There is a whole world of low-calorie sweeteners, Aspartame isn't the only one by a long shot. As you pointed out It's uncanny potency means that the amount of metabolites you end up with is vanishingly small. For most people it does not cause any problems. Certainly fewer than the 100% of people who art consuming calories when they consume sugar.

My suggestion is that for any food, read the ingredients! If you don't like Aspartame and won't trust anything made in a lab go with Stevia.
Someone: wield extremely disproportionate political power.

You: House owners don't have any additional political power than renters.

Me: one dude has 67 properties and connections to political elite, so he probably has more political power than renters. Implicitly: chances are the entire political system amassed a huge amount of properties, and are in one bed with prominent businessmen, who have the capital to acquire even more properties than said politicians.

You: u R M0v1nG tHe gO4lPoStS. You are a clown xD
The Sunk Cost “Fallacy” Is Not a Fallacy
Policy and legal sphere of hacking: https://www.hackerslist.co/policy-and-legal-sphere-of-hackin...
What tools to use for your next web based project?
I will give Sheets another go soon to see how it's progressed but I've always run up against a deal breaker before. And I say "soon" because I thought I'd have a Sunday-morning nosey around right now after reading your comment (I was inspired) ... and ... :

**
Google Docs encountered an error. Please try reloading this page, or coming back to it in a few minutes.

To learn more about the Google Docs editors, please visit our help centre.

We're sorry for the inconvenience.
- The Google Docs Team
**

... It went away 10 minutes later, but I can't have that in the middle of a working day.
Airheads are vegan, in fact I would say you're likely to eat more sugar on a vegan diet.
Hire a Facebook Hacker – Need a Professional Facebook Hacker?: https://www.hackerslist.co/hire-a-facebook-hacker-need-a-pro...
Man in my 40s, got two Moderna jabs produced in Spain, suffered fever after my second one, and I lived to post this…

“Eleven deaths had been reported by Aug. 8 after 12,261,354 Moderna jabs were administered in Japan, which works out to 0.9 death per 1 million shots.”

I will take those odds again.
And then ... :

Sorry, the file you have requested does not exist.

Make sure that you have the correct URL and that the file exists.

Get stuff done with Google Drive

Apps in Google Drive make it easy to create, store and share online documents, spreadsheets, presentations and more.

Learn more at drive.google.com/start/apps.

....

The above is actually an error produced by me just trying to create a new blank page.

Sorry, I won't be going near Sheets for anything I care about. I'll try again in a year. The above annoyed the hell out of me.
Maybe django-components, if you need something a bit higher level than plain include or inclusion tags:

https://github.com/EmilStenstrom/django-components/
I wonder what was wrong with the shell script thing really, other than it didn't have the panic button.
I had a funny issue with Windows 10 a few years ago.

I tried to start cmd.exe and nothing happened. Tried a bunch of times more. Still nothing...

I was connected to a WiFi network that allowed ping to the entire Internet but not TCP connections. Then I switched to a WiFi network that allowed TCP connections to the Internet and 20+ cmd.exe instances started all at once.

I thought: "Wait, that can't be true", but it was reproducible.

This makes me wonder if launching programs takes longer on a slow internet connection.

I do not know if this still happens as I have only used Windows 10 on a handful of occasions since then.
I think this approach is a bit backwards. The world needs more competence, and people should be encouraged to admit their gaps in knowledge and learn from others.
Road safety: Europe’s roads are getting safer but progress remains too slow
> Why would we? And how should they be different, and what useful properties would that provide?

Functions should be similar to mathematical functions and come with guarantees like purity, referential transparency, and totality.

Another reason they should be different is they've got different names! Might seem trite to say that, but what's the point in having the same concept with different titles?

Pure functions are very powerful concepts, especially when it comes to composition, if the consumer of a function can't rely on that, then the consumer must investigate the internals to know what it does. Once you're several layers deep into your composition that becomes exponentially harder to do.

So, there is value to having a concept (with a suitable name, like 'function') that indicates to the consumer what it is they're dealing with. Some languages, like Haskell, bake this in; others like JS really don't - making the whole process of dealing with 'functions' (really procedures) much harder once an application is more than a toy project.
ls from gnu coreutils uses readdir(3), which only populates a small buffer of dirents inside glibc from the result of getdents. So running ls in any way on a very large directory runs many syscalls and calls into the vfs, which will be extremely slow if you're using FUSE or a network filesystem
Developed countries have fibre between every major city, and through every major city, but they have only been pushing fibre out in the 'first/last-mile' in the last few years:

* https://en.wikipedia.org/wiki/Fiber_to_the_x

For the last few decades it has been copper, either twisted-pair or co-axial, to just about everywhere.
Here's a much more efficient algorithm that runs in O(n*√2^n) time and space:

1. Spilt the toys in two sets (A and B) of similar size.

2. Generate a list L of all the possible sums that can be made with the toys in set A.

3. Sort the list.

4. Generate all the possible sums that can be reached with the toys in B and binary search L for a sum that will solve the problem.
Chrome alread does this. To privent you from getting viruses.
One of my cats has taken an interest in one of my ferns which has been fun to watch it almost completely get eaten.

I'm trying to see if I can grow and keep growing cat grass indoors. Somehow it keeps dying :/
From a technical perspective, forum software is easy enough to use.
It sounds like an interesting project, good luck and I hope someone reaches out!
Are programmers really UI/UX experts, though? If you said a programmer pointing out how stupid programming is shown in film you might have a point but I really don't think many of these people pointing out their perceived flaws in UI/UX are experts.

In any thread that mentions UI/UX something like this always comes up where someone is bemoaning current UI/UX and hearkening to the good old days of when UI/UX was good, which just so happens to coincide with when they really started getting into computing.

That isn't to say that laymen can't make arguments with regards to poor UX/UI because it's ultimately a subjective experience and what is intuitive to one person isn't necessarily going to be the same for another. I just think you're conferring expertise to undeserving recipients.
Go Find Duplicates: A fast and simple tool to find duplicate files
AMP Runtime Self-Hosting
What is it about SQL embedded languages that made them so hard to get right? I had to port a stored procedure from MySQL to Pl/PSQL once and it was nuts how much better the PSQL one was once it was finished.
Why You Suddenly Need To Delete Google Chrome
Perhaps the No true Scotsman fallacy?

https://en.m.wikipedia.org/wiki/No_true_Scotsman
Just like Perl, those are of Write-Only variety.

https://en.wikipedia.org/wiki/Write-only_language

https://en.wikipedia.org/wiki/Write-only_memory_(joke)
..or down the columns instead of across the rows! It is indeed likely that the kids who got it (as claimed by the child) probably lucked into it in the afore-described way. But don’t you think that thinking about it first makes more sense than “just start summing”? And if you think about it, and know what an NP hard problem is (as this kid, shockingly! apparently did), you quickly realize that it’s impossible. Then, you need to have the meta-reflective insight that no one would give a third grader an NP hard problem, and that there must be a trick, so then, and only then, do you start to look for patterns, .. and then the bell rings and class is over and you spent the whole time meta-reflecting and looking for a trick in just one stupid problem. Sucks to be smart!
It's illegal to jam signals but it's not illegal to make your classrooms Faraday cages. Some relatively cheap metal mesh put up behind the drywall would be somewhat more expensive but would solve the problem.
A bad solar storm could cause an “Internet apocalypse”
The complicated reality of doing what you love
If someone's quadcopter keeps hanging around your windows at night, this would be a good way to knock it out of the sky.
In jurisdictions under the GDPR that is indeed the case.
The world’s first electric autonomous container ship
OK, but is Google's ability to "share user-specific data" with an credit-reporting agency or any high-enough bidder, merely a matter of changing a policy clause and turning on the spigot?
Regular air duster cans work just as well and are significantly less expensive than their refill cannisters.

After a few times the cats avoid the sprayer, so you don't churn through them as fast as you'd think.
That example is one I have seen in nearly every article I have read on the sunk cost fallacy, and every time a thought occurs: "can anyone come up with a better one?" If I am truly sick on the day of the concert, I call my friends and give them the ticket. It seems trivial.
The thing is, few companies are looking to make "good" software, but profitable software instead.

I would link most software today as the Starbucks or McDonalds of food. Low-ish implementation quality, but reaching as many consumers as possible at the lowest possible cost and time to market and maximum profit. There's few companies that are in the market for 3 star Michelin style software.
As a pedant myself, i find this rather pedantic. Language use evolves and insisting it is only correct when words are used with their original meaning won't win you much. If you distinguish between produres and functions or functions and effects, many will get what you mean and it is more elegant IMSubjectiveO.

Same goes for im/mutability, i think val/var is more elegant than let/let mut but that is only my opinion on aesthetics. I like good design but still think function is more important than form.
You wouldn't need a Pi at all with a PIR motion sensor.
The guy above and all other volunteers
Yes, Looks like one engine failed. The rest carried on and adapted to continue. The lower thrust produced an initial hover/drift and as weight was reduced by propellant burn the mission continued, but failed( shut down) to reach orbit as there was not enough fuel to offset the initial loss of thrust. So it all went well, except for that failed engine - a critical failure. Solve that....per ardua ad astra.....
Facebook is doing this for a while. Pretty sure they always checked privately sent links. Some years ago I sent a .tk domain to a few friends and it got shadow banner after a few minutes (it was a harmless meme site).
The US version flamed out, in spectacular fashion.

The European one, however, worked.

Another poster put up links ([0], [1]).

[0] https://web.archive.org/web/20160601100527/http://www.bloomb... (Unpaywalled)

[1] https://www.skybrary.aero/index.php/Central_Flow_Management_...

It wasn't a ding at Ada. However, big projects (regardless of the toolset) need to be well-managed.
KULeuven (Belgium) used Ada in the mid 90s for some of the programming-in- the-large CS courses. (So not as first programming language. That was Scheme or Pascal). It (Ada) got replaced by Java later.
That took me back a bit, I still remember the speculations about what IT was. I didn't knew (or didn't remember) that a leaked book chapter proposal was what had started it all.

I think the conclusion is spot on though, nowadays electric scooters are pretty much where Segway wanted to be (and I have to think this may have more to do with battery tech not being there at the time). And while we didn't completely rethink cities, one can argue the significant increase of bike lanes in some parts of the world had been fueled, at least a bit, by those newer electric "people movers".
I’m tired of these kind of space themed exploration games. Why not do some kind of exploration game where you get shrunk down to microscopic size and explore a human body and fix problems or deep sea exploration aboard a submarine?
Best example for me is in windows 10 professional, the blue screen shows you a sad smiley face.

Someone designed this and thought it was a good idea to have this in a 'professional' distribution of an OS.
I hope she gets away with it, it's a good mirror for society. The self righteous are as bad as the con man.
So why can't I stand my ground for something? That action seems to be supposedly why the US is divided or something?
I suspect social networks have a lot to do with it.
I specifically mentioned arithmetic, which is often confused for mathematics.
> left behind the era of blatant cronyism

How so?
Stripe paid us after closing the account, what do you mean by legal leverage. There is nothing we can do, or sue.
The link to the tutorial site gives a 404 error
What makes pl/sql an abomination of a language?
I got a VPS and installed Nextcloud with Docker. I would self-host on my own server, but I'm too nomadic for that at the moment. I think the /e/ foundation has a decent managed Nextcloud setup.
Yeah, I've heard about how it's "possible" to piece together information about individuals from data-brokers (see nytimes article https://www.nytimes.com/interactive/2019/12/19/opinion/locat...).

But has any entity (outside of the CCP in China) ever done this on a large-enough scale that it would even begin to make sense for a "customer" like a credit reporting agency?
I got the same feelings. From the article:

> January 29, early: there's this team that nominally owns dashboards, and they got wind of us wanting a dashboard. They want to be the ones to do it, so we meet with them to convey the request.

> January 29, late: asked "dashboard team" manager if they had been able to get the network stuff talking to our server yet via chat. No reply.

Am I the only one to think this is completely unreasoanble to message the other team later that day? I mean it's not as if I am sitting and dangling my legs waiting for a Karen to come, drop everything I do and do her dashboard. They might have had stuff planned for weeks/months in advance...
Much more likely it's obesity, highly processed foods, lack of physical activity due to sitting at the computer, etc.
But pir can't avoid people
It uses a 32K buffer, sure (at least that's what strace shows me on my machine; EDIT: glibc dynamically chooses buffer size in opendir() based on reported st_blksize, up to 1MB)

But I've run ls on systems with several orders of magnitude slower drives than what we're used to today, and it really isn't generally what causes people to complain of ls being slow on large directories in practice.

Even with ext2fs which was notoriously bad at handling large directories, exported via NFS filesystems over 10Mbs ethernet backed by 90's era IDE drives, the buffer size was rarely enough of a problem to matter once you turned off the sorting.

(To be clear, I'm not saying it won't ever make a difference; but in practice, over decades of running into this complaint, it's just not been the issue - most of the time peoples problem is interactive use where they run into having to wait for ls to read the whole dir to start getting results, not total throughput)
Can Killing Cookies Save Journalism? (2020)
If I understand the point of it, having a militantly unfriendly install process would be a feature, not bug. A Kobayashi Maru if you will. In that sense they probably hit the right audience. Almost enough to make me try it. Problem is I can't justify nerding out on a spaceship ...even if I actually had to work to get there.
Let's hope making a MagiskHide module is as easy as John Wu claims it to be, because Magisk without it is going to be a strong deterrent for me to root my phone in the future.
So will the Biden admin handle big tech as forcefully and skillfully as it did Afghanistan?
And if your leverage isn't that great you should unionize.
> I will click like on something then Facebook opens a popup that says that I cannot like or react to posts because they will my liking has been harmful to others

Do you have this on screenshot by any chance or can you make one? It seems way too ridiculous and out of place - but then, I stopped using fb few years ago so things could "change"
This is related to a specific lot number, Spanish manufacturing and the Japanese recall of 1.6M doses,

> The Ministry of Health, Labor and Welfare instructed health experts to investigate the cases. The move followed the ministry’s Aug. 26 announcement that 1.63 million Moderna doses under three lot numbers manufactured at the Spanish plant will be halted after a metal substance was discovered in 390 shots scheduled to be administered at mass vaccination centers in Tokyo and four other prefectures.

> Nobody received the tainted vaccine, whose lot number was 3004667, as the contamination was detected by health workers before shots were administered. The lot number of the vaccine the two men were given was 3004734. The ministry opted to go public about the two men’s deaths to “enhance transparency” in the vaccination program as there was more than one death among those who were given shots under the same lot number.
Or, as they say in the actual article, "...reflects concerning worldwide trends in unhealthy lifestyle choices such as high fat, sugar, salt and alcohol intake, sedentary lifestyles with avoidance of exercise and smoking”.
it changed the world of private security in malls and universities indeed