skysight-inc/HackerNews huggingface dataset:
You think there should be negative consequences to the founders for expertly managing the business...?

To many it looked like covid, wfh, etc resulted in a new world with a permanent step level increase in the internet economy that caused Stripe's business to dramatically increase and thus the founders grew the company to support the activity and continue being the best and most innovative internet payment service.

It turns out unfortunately the growth was temporary, inflation skyrocketed, and the world is probably heading into a recession that will further decrease or slow the growth of the internet economy and thus Stripe's business, so the founders are acting quickly and responsibly to cut costs in order to maintain a position of financial strength and continue growing the business and being the best and most innovative internet payment service.

In time, if Stripe continues to succeed and have exceptional business performance, the consequences to the founders should be financial reward for taking quick and effective beneficial action that grew the business.
This is the reason that Signal has given for not providing/allowing their client on f-droid (since all f-droid apks are signed by f-droid rather than the maintainer). I wouldn't be surprised if it were the issue here.
I thought moxie moved on from Signal? Is he still in the loop?
> Maybe because selectively caring about specific issues while ignoring others is a form of political bias.

There's generally three options when it comes to politics; do nothing, do something, do everything.

The first does not help anyone, and the last; being impossible - is a path back to the first (via burn-out, apathy or simply inefficiency ("scope creep").

So the only real option is to do "something" - and champion a few causes.
Maybe you need to reread the question. I think he's asking how this will affect you personally, not what you're doing for the people being layed of. This doesn't answer that question at all or at least comes across as a politicians answer.
Why is this complex…just take a sha3 hash of the email body + timestamp, then b58 it or format any way you want. Instant uuid per email.
A degree gets you in the door at all and starts you off with a higher salary (I would say significantly so) than someone with no comparable education. Those two things are a huge advantage, both in terms of money and in terms of the odds that you will be able to start making it at all.
Not to my knowledge. Youtube's analytics generally don't give computed magic numbers like that, they give information like "number of comments per minute when the video released" or "average watch time" or "ratio of likes to views".

The exact way these numbers are combined in the algorithm isn't revealed (and I assume is ever changing).
Yeah, I'm used to starting with a base install and building up, I just tried out Ubuntu because I'd switched from desktop to laptop, remembered the bad-old-days of getting laptops working, and figured it would be nice to have Ubuntu handle all that stuff. But now I spend as much time bumping up against their design as I used to spend hunting down wifi drivers 10 years ago or whatever.
> Giving out millions in severance, while commendable, isn't a personal sacrifice.

Do y'all expect them to cut their arm off? I'm not defending pc but the OP's comment wreaks of corporate SJW.

> but I think what they're looking for is some indication that the leadership has personally sacrificed something equal to or exceeding what they expected out of their subordinates

Millions (and billions) come out of their valuation as a result. It's not like they're getting whisked away on a golden parachute.
Matt Levine of Bloomberg has a quote about Adam Neumann that is just... amazing. It's about selling in a sellers market and basically about how he sold We Work shares to Softbank (and taking money out of it).

I see stocks as fundamentally two things. A statistical thing (something that tracks the underlying fundamentals of a business, and a probability (a belief in that company). Yes, this alludes to classical frequentist statistics vs Bayesian statistics interpretations.
> Are the advantages of std::array over C arrays big enough to add 8kloc to each compilation unit though?

I say yes, absolutely. C style arrays are _very easy_ to get wrong in many ways. Three just off the top of my head:

- iterating using a size_t instead of an iterator

- calculating the size of the array (and often using a preprocessor macro to do it)

- leaving things uninitialized

So a std::array provides iterators and works with a ranged-for loop. The only reason to use a size_t is if you truly need an index number (and I would argue: use `std::distance()` instead).

A std::array provides a `size()` giving the total number of objects in it. It also provides the type, so you can do sizeof(type) * array.size() -- though that's still error prone.

A std::array ensures that objects are correctly initialized.

And, if you still need to dangerously decay the data to a pointer, you can use .data() to grab that pointer.

> A range-checked std::array replacement can probably be written in a few dozen lines of code.

Can you provide an example?

> That's the problem with all C++ stdlib headers, they are incredibly overengineered for what they bring to the table.

I would argue that the standard library isn't overengineered. It's engineered for more than just your use case. Just because code "is there" doesn't mean that code makes it into your product. Pay for what you use, don't pay for what you don't use.
Big fan of the clean design and focus on keyboard shortcuts! Awesome work.
> m1 mini let's you build apps for the biggest OS on the market (iOS)

Mobile OS it's Android,Desktop is Windows.

> office? everyone uses a web interface, even slack has a web interface

Huh? Microsoft Word on Windows native?

> companies that are wasting energy with inefficient machines

I bet your usage of cloud office burns more energy than an native app.
But he didn't have anything to do with that. It's like robbing Peter to pay Paul!
It's too elitist now.
Here's a comment from the GAT stabilization PR that compiles a list of crates that use GATs or would like to use them: https://github.com/rust-lang/rust/pull/96709#issuecomment-11...

Here's a collection of comments from the same PR from users arguing for stabilization:

"I work on chumsky, a parser combinator crate. I've recently been experimenting with GATs internally as a way to control exactly what code Rust generates. Instead of praying to the LLVM gods that the compiler might optimise things, I use a GAT to project a particular parsing 'strategy' into the implementation of parsers. I've found that I can significantly improve the performance of the library by an order of magnitude, even beating out hand-written parsers, nom, and serde_json (with several caveats) without harming the library's expressivity (and, in fact, improving it). This all happens without the GATs themselves being exposed to library users at all."

https://github.com/rust-lang/rust/pull/96709#issuecomment-11...

"The first time I realized the Iterator trait was insufficient for what I wanted was before Rust 1.0 in 2014 when I wrote one of the first versions of the csv crate. All I wanted to do was write an iterator that lent out a borrow of an internal buffer in order to avoid allocating a new record on each iteration."

https://github.com/rust-lang/rust/pull/96709#issuecomment-11...

"I've been using GATs on nightly for a little less than a year for various experimental proc-macro crates. I can only say that GATs simplify a lot of things for me! I'm not doing things like LendingIterator, my interest is more in "DSL"s. Things like e.g. generate a struct that temporarily stores all the parameters to some function (where some of those parameters will be non-static references). The main concern will often be how much code can I avoid autogenerating i.e. is it possible to write abstractions as libraries over these things. GATs allow me to do that with ease. [...] The one I'm currently working on is unimock. The GAT stuff is only in the gat-mock branch, not released on crates.io yet. That GATified trait is MockFn."

https://github.com/rust-lang/rust/pull/96709#issuecomment-11...

"There is no way to use async traits in an embedded context (no_std) without GAT's or pulling in the alloc crate (to use async-trait). Pulling in alloc for most embedded platforms is not feasible, therefore we are currently locked to nightly for the embedded-hal-async crate."

https://github.com/rust-lang/rust/pull/96709#issuecomment-11...

"Issue #95 on the RustAudio crate for example says, "The first [solution] would be to make PortType generic over a 'a lifetime...however, this has a cascading effect, which would force all downstream users of port types to specify their lifetimes". Pythonesque made a simpler point here, "Without GATs, I ended up having to make an Hkt trait that had to be implemented for every type, define its projections, and then make everything heavily parametric and generic over the various conversions.""

https://github.com/rust-lang/rust/pull/96709#issuecomment-11...
> Instead of two ints, now your function takes two maybe-ints and crashes at runtime if they're not there.

The idea in Haskell (and many more, I'm sure), is that if you take a maybe-int, you can't get the int without unpacking it (or using a function that only operates on the int if its there), so then when you pass the unpacked int around, you are 100% sure it's there at all times. No worrying about a JS-style undefined, or some other function altering the value to become null again. It's a guarantee, which is a huge part of why all this FP stuff is so great.
Bad metaphor. There are a million wrong decisions that could be made any time at any day, and only a handful of options.
Morse code is ~180 years old, and was developed over a period of years. Figure that awareness of letter frequencies, Huffman encoding, etc. was pretty limited back then. And cruft accumulated in the developing standard. And a number of sub-optimal choices might have been made to address "very similar encoding of words with very different meanings" issues. And...
Distance travelled per driver peaked in the EU and US in the early 00s along with the sharp increase in oil prices back then and has been in steady decline ever since.

The only additional congestion you're seeing is due to increased urbanization.
I always say that one of the problems in the Canonical's strategy with Snap is not to provide the backend allowing everyone to set their own "store". Then, Canonical would focus in the added value of their one, with things such as a payment processor, malware scanning, ci/cd integration, stats, etc making it appealing.

Flatpak allows this, but, in the other hand, despite I exclusively use Flatpak these days, I dislike the fact that is not focused in CLI apps but desktop ones instead.
Even after the contracts being signed to make it complient, it was the pricing for what it is that gets us. It would be cheaper to write our own translation tool for our specific needs after 3 months of usage, and we are at a smaller scale than most for api calls.

Not sure which sweet spot they want to hit with this
Your point about the "shape" is interesting, and I think critical, to the future of AI (not to get hyperbolic or anything...).

For example, suppose we have a cancer-diagnosing/treatment planning algorithm. It's possible that it's much better than human doctors: out of a thousand patients, human doctors will save 300 and the algorithm 500; but also that the 500 is not a strict superset of the 300.

And to your point, it's possible that for some of the 300 that are not part of the group of 500, that the diagnosis/treatment recommended by the algorithm is obviously/hilariously wrong to a human.

If so, will we insert a human into the mix? How will we decide when it's correct for the human to override the algorithm? Because if they do all the time, we're back to the 300. And maybe the times when it's correct to override are not all obvious.

Or are we willing to simply accept the algorithm's judgment, knowing that an additional 200 will be saved? We know this is an unlikely outcome because a substantial portion of the population is unwilling to accept the idea that vaccines save more lives than they cost, simply because the lives they cost are different than the ones they save.
Yet Another Recommendation: borg backup to a local server daily, then rclone to S3 (or another cloud provider) to backup the whole local backup server repo weekly or something...
matrix/element.
Hi there - `jc` author here. `jc` can also output in YAML format with the `-y` flag. It is fairly trivial to add other options in the future since `jc` just turns the text into objects which can be serialized to many different formats.

For example:

% jc -y date
---
year: 2022
month: Nov
month_num: 11
day: 3
weekday: Thu
weekday_num: 4
hour: 9
hour_24: 9
minute: 0
second: 22
period: AM
timezone: PDT
utc_offset:
day_of_year: 307
week_of_year: 44
iso: '2022-11-03T09:00:22'
epoch: 1667491222
epoch_utc:
timezone_aware: false
> Seems pretty clear that he was neither aware of it being taken down nor the reason, so I think it's safe to assume that Signal didn't contact the maintainer directly.

You could be right, but I think another possibility is that the maintainer did get contacted earlier by Signal, and just didn't mentally connect the dots between that and his Snap package being pulled.

Note that I don't know how realistic this is, I'm just trying to be fair in my assumptions.
Support a new, well managed fork of Signal
It's being a while for me, too.

I remember, there was some add-on for Firefox, which can be used with python to automate actions. It was some test suite framework for web testing. But, having done a quick Google search, didn't find it again.

On the other side.. when using selenium with a f.e. Firefox driver, it is possible to fire up an instance and use it like ordinary Browser doing logins and whatever. While being on webpages in question, it's possible to run python and interactively automate things on that very site. It's already loaded, so it's possible to interact with it.

1. Fire up an instance
2. Login to Amazon
3. Have a script doing searches with arbitrary Keywords on the fly / and/ or scrap the information needed.

That's what I did with stocks.
I login into the service providers and let the script do the searches for the stocks, scraping the data, save it into db. If you leave that scraping data out, then you'll have a webrobot :)

Nice Project btw.. "just sh*t into someone's soup making a beautifulsoup" :)
Does anyone know of any good translation apps that also help facilitate learning?

One problem I face is that I use translator apps to converse with some family and (mutual) friends and don’t share common language, but when I translate a whole sentence or paragraph for example it’s hard for me to learn the meaning without typing each individual word/phrase individually which is tedious, and breaks the flow when we are conversing. Furthermore it would be nice to be able to keep a record of the conversations (which often take place in person) and I would like to be able to go back and sort of be able to practice the phrases and conversations I had in the past. Mostly just english/french and english/spanish would do for me but other languages would be cool too.
https://wiki.archlinux.org/title/Synchronization_and_backup_...
This is great! I've tried writing reliable stream implementations over UDP for games but always got lost in the weeds.

The main use case I need is to have reliable streams and unreliable datagrams that continue working even if either peer's IP address changes. Something like that would allow cell phones to form scalable p2p mesh networks, for example.

It needs to be encrypted and punch through NAT in a fully automated way, falling back to a (secure/anonymous) matching server if both peers are behind NAT. I don't know about that last part, but it appears that WebTransport over HTTP/3 over QUIC over UDP might be able to do most of that and be a potential replacement for WebRTC data channels:

https://web.dev/webtransport/

https://www.w3.org/TR/webtransport/
Let go of the most of the recruiting team and low performers. Prepping for an IPO?
Good thinking, but based on what GP said I don't think so:

> Canonical's communication to me was initially lacking due to issues in their process, the process has been amended and I'm back in the loop again.

Had they contacted the maintainer, then the maintainer would not have been wondering what the deal was.
It is a very interesting idea to decompose a diff into two diffs - one part that a computer understands (like renames, formatting changes), and one part that a computer does not understand, but that is as small as possible!

The referenced issue is only one example. There are many more (e.g. https://github.com/microsoft/vscode/issues/164574).
Rare earth elements are not absolutely necessary for clean energy applications. They're generally cited as necessary for electric motors and turbines, but there are equally efficient work-arounds:

https://eepower.com/news/eliminating-rare-earth-elements-in-...

> "Electric motors can also be made without using permanent magnets. An induction motor (also called a synchronous motor) operates on alternating current and uses electromagnetic fields produced by the stator (stationary) windings to induce a current in the rotor that produces an opposing magnetic field. By rotating the current around the stator windings, the rotor is induced to turn."

Once that's eliminated (i.e. eliminating the need for strong permanent magnets), rare earths are only used in quite specialized applications:

https://www.thoughtco.com/rare-earth-metals-2340169
No, you are reading into that comment the "Go back where you came from" intent that simply is not there unless you go into looking for that.

No where did the person say "Go back where you come from", can you read it that you if you want to sure. but I can (and do) read it in other ways.

This is part of the problem where everyone sees every comment as a "dog whistle" to racism. Sorry I reject that reading
I have been using continuously both FreeBSD and Linux since around 1995, since FreeBSD 2.0 and some Slackware Linux distribution.

In the early years, I have run many benchmarks between them, in order to choose the one that was the best suited for certain applications.

However, during the last decade, I did not bother to compare them any more, because now the main reasons why I choose one or the other do not include the speed.

Even if I have right now, besides me, several computers with FreeBSD and several with Linux, it would not be easy for me to run any benchmark, because they have very different hardware, which would influence the results much more than the OS.

For all the applications where I use FreeBSD (for various networking and storage services), its performance is adequate, and I use it instead of Linux for other reasons, not depending on whether it might be faster or slower.

In the applications where computational performance is important, I use Linux, but that is not due to some benchmark results, but because some commercial software is available only for Linux, e.g. CUDA libraries or FPGA design programs.

Many benchmark results comparing FreeBSD and Linux may be influenced more by the file systems used than by the OS kernel.

I have seen recently some benchmark comparing FreeBSD and Linux for a database application dominated by SSD I/O, but I cannot remember a link to it.

The only file system shared by Linux and FreeBSD is ZFS. With ZFS, the benchmark results were similar for Linux and FreeBSD. However, FreeBSD was faster when using UFS and Linux was much faster, when using either XFS or EXT4 (BTRFS was much slower than ZFS). Such a benchmark was much more influenced by the file system than by the operating system.

In conclusion, it is very hard to make a good comparison between FreeBSD and Linux, because you need identical hardware, which must be restricted to the shorter list that is well supported by FreeBSD, and you need to run some micro-benchmark testing some kernel system calls.

Otherwise, the result may depend more on the supported software, hardware or file systems, than on the OS kernel.
You have to be right more than twice a day to lead a company like Stripe.
Depends on the distro, I can just install all of those directly with Nix.
I believe that this is the case for all employees laid off by Stripe, including myself.
Ask HN: Have You Migrated from AWS S3 to Cloudflare R2?
If so, how did you do it? How did it go? How are the savings? I have TBs of data I need to progressively replicate to R2. The original blog post on R2 talked about an automatic migration tool for S3 to R2, but I find no mention of it anywhere outside of that blog post.
yeah, my home rolled stuff does the same with the Brewfile. chezmoi looks great though—i have a bit of cross-platform (mac os and linux) stuff happening too, so this looks really great to make those bits better. thanks!
> It is far better to be a massive underperformer at three jobs than be a good employee at one

Can you explain this? Do you mean working three jobs at once?
Show HN: My Book on Google Analytics Alternatives
I've seen plenty of threads on HN about various alternatives to GA, but you can't try them all. So I tried 15 of the most popular, including:
Matomo Cloud, Piwik Pro, Clicky, Cloudflare Web Analytics, Statcounter, Chartbeat, Fathom, Plausible Analytics, Visitor Analytics, Google Analytics 4, Mixpanel, Snowplow, Amplitude Analytics, Heap, and PostHog.

Basically anything with >= .1% market penetration in the top 1M sites that had as self-service plan.

There's no one-size-fits-all replacement for everyone, but there are a lot of good options if you're trying to get off of Google. Happy to discuss and answer any questions people have, thanks!
truth is somewhere in the middle. '996 culture' white collar work can be quite bad, including health wise even if it is much better compensated. However it is also true that a lot of people in cushy tech jobs can be pretty big divas and severely overstate how stressful their jobs are. I personally know a fair amount of people in the industry who basically work half a job at full pay.
windows has 0 market value, most of the usage comes from zombie machines

it even dropped in revenue in their latest report

https://www.wsj.com/articles/microsoft-msft-q1-earnings-repo...
Hey, I'm sorry to hear that you are having issues with Akiflow.

It would be great if you could send us a message in the intercom chat so we can check what's going on.
I appreciate both your willingness to follow the replies, and your openness to practical solution that so few seem to consider. This isn't a federal system where the cities have real powers. All the power in our state lies with the state, but the state government so seldom exercises it.
>> Personally, even if Chrome goes ahead with removing support I hope JPEG XL will "win" in the long run by being an attractive "universal" format for all other use-cases for image compression. So in other words: that it finds an ecosystem elsewhere, slowly takes over outside of the browsers, and then the browsers will adopt it after all.

> Ah, like how Chrome delayed APNG so much that there was a dedicated extension for it?

No? APNG never caught on like described in the GP.
I'm with you on this. It also occurs to me, though, that by rigorously labeling all offensive content, you give ai a huge boost in creating it with perfect fidelity.

Which inspires another really weird, super uncomfortable thought. If the CSAM producers had cheap, reliable methods of creating their awful content without the use of real people, would that reduce the harm done?

I can't remember the last time I felt so conflicted just asking a question, but there it is.