Better HN
topnewbestaskshowjobs
Log inSign up

DandyDev

809 karma · joined Sep 28, 2011 (15y ago) · 263 submissions

[ my public key: https://keybase.io/dandy; my proof: https://keybase.io/dandy/sigs/f9hZ-r5W3dhYxKx3uc1itA_aeF-_T-TN_OfibSDOUos ]

https://github.com/DonDebonair

Submissions

comment 3y ago · link · parent

I think the point of the article is that you should not want to build a type-B workplace. If you want innovation - and healthy companies should want that - you should hire people asking critical questions

comment 3y ago · link · parent

You can use the mkdocstrings plugin with mkdocs which will generate api docs from your functions and classes and their docstrings just like Sphinx does. It even supports inv files just like Sphinx so you can reference third party libraries in your own reference docs

comment 3y ago · link · parent

Can you name some examples of these bias issues?

comment 3y ago · link · parent

This is so true! I see people in this thread talking about the contempt that "idea people" have for programmers/software engineers, but at the same time I have experienced Product Managers (the quintessential idea people?) who were really good at turning their ideas into super detailed specs.

As an aside, I'm getting a bit tired from the "programmers vs product/business people" trope. The average software engineer would be nothing without a good product manager in my experience. And going by this thread, there seems to be at least as much contempt from programmers/software engineers for product people than allegedly vice versa.

155.

Source.ag raises $23M to raise the bar on raising crops with AI(techcrunch.com ↗)

1 points · by DandyDev · 3y ago · discuss

comment 3y ago · link · parent

Congrats on the launch of V2!

What are the main differences between Permify and Authzed/SpiceDB?

comment 3y ago · link · parent

I understand the reason for using Javascript as the scripting language here, because of its mass appeal, but to me personally it's super disappointing and a missed opportunity.

Python to me has always been the ultimate glue and scripting language and it's sad to see it is not leveraged more often.

comment 3y ago · link · parent

This looks really cool and clever. I do have a question about security though. The FAQ states:

> Today, we encrypt all sensitive data on your computer before it is sent to our servers, your data is encrypted in transit and at rest. Our employees do not have access to the private key to decrypt sensitive data.

I wonder how this works. I assume Plus works by storing the cookies present in the user's browser so that it can inject those cookies in a headless browser to take a Snapshot. In order to do that, it would need to decrypt the cookie (if it was encrypted in the first place, which the FAQ seems to suggest). For that, the headless process needs the encryption key. That would mean that employees can also access that encryption key.

What am I missing here?

comment 3y ago · link · parent

Fellow Dutchie here. This has also been a tradition in my family for as long as I can remember. My parents would actually act out parts of the sketch sometimes.

comment 4y ago · link · parent

For us plebs that don't fluently read phonetics, can you spell it with equivalent sounds from English?

comment 4y ago · link · parent

This feels like an uncalled for ad-hominem attack. Also, I might be in the minority, but I actually _like_ brew?

comment 4y ago · link · parent

That is true _at the moment_, but do you think that when Elon starts charging money for the check mark, he's going to leave money at the table for something as small as authenticity?

comment 4y ago · link · parent

Off topic, but can we please be civil and stop with the strong language?

How about: "I personally don't like the palette"

comment 4y ago · link · parent

Gitea was a fork of Gogs. I'm assuming we'll see a fork of Gitea now?

165.

What devs and doctors wish you knew about writing bug reports(howtoai.fyi ↗)

3 points · by DandyDev · 4y ago · discuss

comment 4y ago · link · parent

You have left multiple comments now om this post with disparaging remarks about the Clickhouse team without any evidence to backup your claims.

Not super classy if you ask me.

comment 4y ago · link · parent

That seems like hyperbole to me. Did you do concrete research/calculations to prove that for example Google in this case would not be able to turn a profit in the EU when they'd comply to regulations?

comment 4y ago · link · parent

I think you're confusing installing the compiled package and using it (which doesn't require anything else) with _compiling_ the package, which requires XCode on MacOS

comment 4y ago · link · parent

I think you make a good point. I removed that word from the description.

comment 4y ago · link · parent

It's not a naive question at all! The 2 biggest differences I can see:

- Errbot being chat service agnostic, also makes it feel a bit "non-native" for Slack. For example, you cannot say "@mybot deploy webapp to production", but you have to say "!mybot deploy webapp to production". slack-machine can work that way as well (with command prefixes like ! or %), but it also responds to actual mentions (@mybot). There are more differences like that, where Errbot tries to be agnostic of the chat service it's running against, but that also means it has to cater to the lowest common denominator in terms of integration with a chat service. slack-machine can for example add "reactions" to messages, which Errbot cannot.

- slack-machine seems more feature-rich. Errbot seems to be focused only on commands that are triggered by sending certain chat messages. slack-machine lets you listen to any type of event Slack emits. Examples could be: someone joins a channel, a reaction is added to a message, a message is pinned. slack-machine also has built-in scheduling to trigger plugin functions on a cron-like schedule (Errbot has something similar with pollers, but it's not as flexible as a cron schedule)

For me it was a clear design choice to focus only on Slack, so the bots you build with it feel as "integrated" as possible with Slack. You can really leverage all that the Slack API has to offer.

comment 4y ago · link · parent

That is an interesting use case! The solution you propose, could work.

I've also been meaning to add support for webhooks as well, so you could trigger plugin functions by calling an HTTP endpoint. It's a small step from having messages on a queue and triggering webhooks from them.

comment 4y ago · link · parent

Anywhere you can run Python code basically. Sadly, with the decline of Heroku, I don't know of any places you can run Python code 24/7 for free.

Myself, I run Slack bots on AWS inside a Docker container on ECS (for $day_job) and inside a Docker container on my Synology for personal use.

173.

Show HN: A framework for building Slack bots in Python(github.com ↗)

114 points · by DandyDev · 4y ago · 40 comments

comment 4y ago · link · parent

Imports from 3rd party packages are always absolute. That's why I prefer imports from first party packages to be absolute as well

comment 4y ago · link · parent

As mentioned in reply to another comment of yours, Budibase is your project. Please be transparent about that when you mention the project, especially as comment on a post that is about a competitor.

comment 4y ago · link · parent

Can you explain why this is a bad thing?

comment 4y ago · link · parent

Directories with an __init__.py are not modules, they are packages. Modules are .py files

comment 4y ago · link · parent

No, the Dutch and Belgian governments are saying you CAN play the game as long as it's changed to remove gambling aspects or is sold as a gambling product with all the consequences that entails.

Activision Blizzard doesn't want to do that. Not the fault of governments

And as for the (im)possibility to develop games that follow the laws of all countries: that had been successfully done for decades. It just doesn't involve predatory microtransactions

1
56789