Better HN
topnewbestaskshowjobs
Log inSign up

capableweb

37,790 karma · joined Sep 7, 2019 (7y ago) · 9,208 submissions

Curabitur pretium dui sit amet quam pharetra, at condimentum turpis auctor. Maecenas vitae varius sem. Sed vel ante massa. Nulla a leo est. Morbi quis pulvinar nulla, et imperdiet nibh. Curabitur varius felis tempor nisl vulputate, id accumsan libero placerat. Sed mi odio, auctor ac lacus vel, sollicitudin mattis dolor.
Submissions

comment 3y ago · link · parent

CircleCI solved this so many years ago, allow users to SSH into the environment the build happens.

Workflow is something like:

- Guess together a random CI or CD workflow, this is just to kick off the process. You can also start with a empty config.

- Something fails, get SSH host+port to connect to

- Enter environment and manually do everything you want to be able to automatically do

- Execute `history` and copy output, trim it into something nicer and put in your config

comment 3y ago · link · parent

C++, First appeared: 1985; 38 years ago

I'm sure there are even older examples :)

Edit: Canal+ - 1984

comment 3y ago · link · parent

Well, they have equivalent functionality I assume where you can get a list of process names that are currently running, without having to resort to using ptrace?

comment 3y ago · link · parent

Couldn't you do that by just scanning `px aux` or even just `/proc` rather than running a tool that is meant for observing and control the execution of other processes? A simple name matching should be enough, rather than digging into the execution of the process itself.

comment 3y ago · link · parent

As the notice from Stripe is about Stripe customers in Europe, I thought the alternative list should be focused on European alternatives.

comment 3y ago · link · parent

> https://github.com/search?q=hermes

> 4,773 repository results

comment 3y ago · link · parent

From the very page you linked:

> Dispute fees (also known as chargebacks) will increase from €15 to €20. Due to costs for managing dispute evidence submissions, we'll no longer refund this fee if the customer's bank resolves the dispute in your favor.

It used to be that you got the fee refunded if it got resolved in your favor, but after the changes go into effect (10 April 2023), it won't be like that anymore.

comment 3y ago · link · parent

Yes, there is in fact an entire category dedicated to "Cultural depictions of Muhammad": https://en.wikipedia.org/wiki/Category:Cultural_depictions_o...

Includes a link to https://en.wikipedia.org/wiki/Super_Best_Friends (South Park episode) which contains an image of Muhammad.

comment 3y ago · link · parent

> on account of not blocking / removing sacrilegious contents

> Wikipedia was approached for blocking / removal of the said contents

> platform neither complied by removing the blasphemous content nor appeared before the Authority.

Anyone know what sacrilegious/blasphemous content they are referring to?

comment 3y ago · link · parent

You can signup and get started with a test integration: https://www.adyen.com/signup

But to be approved you need to talk with them. As long as what you're doing is a real company (and you have documentation to prove it), they'll approve you. But you do need to setup a proper business before being able to go live with payments.

comment 3y ago · link · parent

> Stripe locked us in.

PAN Migrations.

https://stripe.com/docs/account/data-migrations/pan-export

Different payment providers also can help you with the import, here is an example on how to import data from Stripe to Adyen:

https://docs.adyen.com/development-resources/migrating-payme...

2532.

Haxe – One codebase > Cross compiler = JavaScript, C#, Python, Lua, C++ and more(haxe.org ↗)

3 points · by capableweb · 3y ago · discuss

comment 3y ago · link · parent

Thanks, added that one to the list as well :)

comment 3y ago · link · parent

> Stripe is charged every time a user faces a dispute.

Is this charge returned to Stripe if the bank rules in the favor of the Stripe user? Or did that change recently as well, as now Stripe won't hand back the fee in case the dispute is overturned.

Thanks a lot for jumping into the thread with some more facts.

comment 3y ago · link · parent

Well, the same thing is true for other languages too. Some languages used to be popular to mention, because they were new and shiny (like Ruby, was a period of time when "X written in Ruby" was popular on HN), and others are seemingly always worth mentioning, like Common Lisp or Clojure.

Bunch of language nerds on here (both world and programming languages), so kind of makes sense to share a bit about the language.

comment 3y ago · link · parent

The fee gets taken regardless. Also, too many disputes (guessing overturned disputes are calculated differently than uphold ones) can lead to further fines:

> If the dispute activity for your business exceeds the thresholds set by the networks for a prolonged period of time (usually multiple months), you might be subject to fines.

https://stripe.com/docs/disputes/measuring

comment 3y ago · link · parent

Also, as far as I can understand https://stripe.com/docs/disputes/how-disputes-work, Stripe doesn't actually do anything manual in the process, it's all handled by the users bank or automatically by Stripe (notifications, taking fees and so on). So how it got more expensive for Stripe?

comment 3y ago · link · parent

Some European alternatives you might be able to find/negotiate better fees with:

- mollie (Netherlands)

- adyen (Netherlands)

- Klarna (Sweden)

- Paylike (Denmark)

- Mangopay (Luxembourg)

- Quickpay (Denmark) (added in edit)

The ones I've tried of those, have an OK development experience, maybe not as polished as Stripe, but much better than the alternatives that were around before Stripe (huge hassle back then). Ideally, you'll support at least two providers you can switch between, if you can afford the development of supporting two, as at one point or another, it'll save your ass or at least a bit of money as fee structures change between providers. It'll also be easier to integrate a third one in the future when you eventually find the perfect one (until they turn into the next Stripe).

> Dispute fees (also known as chargebacks) will increase from €15 to €20. Due to costs for managing dispute evidence submissions, we'll no longer refund this fee if the customer's bank resolves the dispute in your favor.

This strikes me as weird. User buys something from me, regrets it and issues a chargeback, dispute gets started and bank says I did nothing wrong, so the charge still sticks, but Stripe gets to keep the fee for handling the dispute?

comment 3y ago · link · parent

Not sure how a persons view of drugs, monogamy and if he has a liberal education or not ties into the rest of what you say.

comment 3y ago · link · parent

For real. I once worked with a non-IT company who just had one junior developer responsible for everything IT, including websites and their management. When I asked why they don't run everything on some dedicated instance with X GB included in the plan instead of fancy bandwidth pricing so they have static sums to pay each month (reason I was pulled into the project was to decrease spending which increased each month as traffic increased), the person said something akin to "What? How? I didn't know you could even do that"

comment 3y ago · link · parent

As an aside, my first try is always to try to clarify the code itself if someone has a specific question, so the obvious answer is in the code. But if I'm unable to signal that in code, a comment will do just fine.

comment 3y ago · link · parent

> a SQLite-backed Gitea instance is the simplest solution

Agree to disagree :)

This seems like the simplest solution:

    git remote set-url --add --push origin git@github.com:my-user/my-repo.git
    git remote set-url --add --push origin /backups/repos/my-user/my-repo.git
Now when you push to origin, it pushes to your local backup as well, everything up to date, no external sosftware at all :)

Thanks dabber for sharing this trick (https://news.ycombinator.com/item?id=34603174)

comment 3y ago · link · parent

> In recent versions of Git you can add multiple pushurls for a given remote

Woah, that's really cool, didn't know about that. This is really useful! Thanks for sharing that.

comment 3y ago · link · parent

Is this behavior new? It has been like that for as long as I can remember, certainly before Microsoft bought GitHub.

comment 3y ago · link · parent

> I guess this is a question of who should have been given further information. For example, whoever at the organization deleted the repo would have been given a very clear warning screen including the number of forks that would be deleted by their action prior to them doing it.

This is exactly how it works today already. If I try to delete a private repository people have forked, I see the following:

> We will also delete all 4 forks since this is a private repository.

Clicking on the delete button, again:

> Unexpected bad things will happen if you don’t read this!

> This will also delete all 4 forks since this is a private repository.

> [type name of repository]

comment 3y ago · link · parent

Yeah, better in terms of saving space, but I think it confuses some people, hence I didn't use it in my above example. Previous time I recommended a co-worker to use the `push to a directory` way of copying a git repository, I made them create a bare repository, and they ended up going into the directory to verify it worked and not seeing what they expected. Cue me having to explain the difference between a normal repository and a bare one. It also confused them into thinking that a bare repository isn't just another git repository but a "special" one you can sync to, while the normal one you couldn't.

So in the end, simple is simple :) Unless you're creating remote repositories at scale, you probably won't notice a difference in storage usage.

comment 3y ago · link · parent

Yes, I've tried it (and actually run a personal instance myself), but I would never try to run an application meant as an webapp when I want to copy something from one filesystem to another, when git can do it already without any external programs.

Also, the `master` is just an example, it works for `main` as well, don't worry :) The created git repository on your usb-stick works like a regular git repository, you can use whatever branch names you want.

Btw, way to focus on the absolutely least interesting part of my comment, what I chose to name the branch...

comment 3y ago · link · parent

> because I sync’d them to a usb stick with gitea

Just a tip: no need to use gitea if you want to replicate a git repository to somewhere else on disk/other disk.

Just do something like this:

    mkdir /media/run/usb-drive/my-backup-repo
    (cd /media/run/usb-drive/my-backup-repo && git init)
    git remote add backup /media/run/usb-drive/my-backup-repo
    git push backup master
And now you have a new repository at /media/run/usb-drive/my-backup-repo with a master branch :) It's just a normal git repository, that you also can push to over just the filesystem

comment 3y ago · link · parent

> Hermes: An open-source document management system

> leverages several Google Workspace services for creating and modifying documents

Sooo, it's a UI over Google Workspace? Sounds a lot less interesting than I was lead to believe.

1
848586
307