Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dosisod
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
WA state DOR guidance on removal of the penny
(dor.wa.gov)
3 points
by
dosisod
7mo ago
|
0 comments
2.
▲
Show HN: Reportobello – Typst-Based PDF Generator API
(github.com)
6 points
by
dosisod
2y ago
|
0 comments
3.
▲
by
dosisod
3y ago
Creator of Cicada here. Thank you for the feedback! I've mentioned this in a few threads already, but the reason for making a new DSL for writing the workflows is that YAML makes it hard/cumbersome to express more complex workflow
4.
▲
by
dosisod
3y ago
Creator of Cicada here. I created a new DSL because I wanted a more declarative, expressive, yet capable file format, something like Dockerfile but with programming capabilities. In terms of "just running commands", Python (or any
5.
▲
by
dosisod
3y ago
Creator of Cicada here. I mentioned this in another thread, but I have an experimental "GitHub Actions to Cicada" converter tool I'm working on that makes it easier to import GHA workflows to Cicada. GitHub already has an imp
6.
▲
by
dosisod
3y ago
Nice product! I haven't heard of Garden until now. Adding a CLI for Cicada has been on my todo list for a while, and is long overdue! This should be easy enough to do.
7.
▲
by
dosisod
3y ago
Creator of Cicada here. Currently I am using GitHub SSO to reduce spam for the logins. When installing Cicada locally though you need to create an admin account, though there is no way (in the UI) to create new local users. Adding more sign
8.
▲
by
dosisod
3y ago
Creator of Cicada here. Thank you for these questions! I'll try and answer them all: 0: Secrets are stored using Vault. Read this commit message [1] for a full breakdown. 1: Currently you cannot include other .ci files. I have been in
9.
▲
by
dosisod
4y ago
Thank you for the feedback. What in particular is making it hard to start trying it out? I'm curious because lowering the barrier for entry is important for getting people to start using this.
10.
▲
Show HN: Cicada: A FOSS, Self-Hosted Alternative to GitHub Actions and Gitlab CI
(cicada.sh)
11 points
by
dosisod
4y ago
|
2 comments
11.
▲
Show HN: Cal9000 – A Vim enabled version of cal(1)
(github.com)
3 points
by
dosisod
4y ago
|
0 comments
12.
▲
by
dosisod
4y ago
I cannot seem to find any references to "goto refs" in GitHub Actions, where is this documented? I've never seen this before so I am curious
13.
▲
by
dosisod
4y ago
I havn't heard of any products or services that test the actual CI pipelines themselves, which seems like an interesting target market. I can't say how many times I have wanted to test out some CI workflow on some throw-away clone
14.
▲
by
dosisod
4y ago
I think these are all great points! I have came across Concourse CI, but have not looked too deeply into it yet. I hadn't thought to use TOML for configuring CI pipelines, I'm curious what that might look like. TOML is indeed very
15.
▲
Ask HN: How can we make the current CI/CD ecosystem better?
10 points
by
dosisod
4y ago
|
21 comments
16.
▲
by
dosisod
4y ago
In addition to some of the other answers about the match statement, mCoding has this excellent video[0] explaining the match statement, specifically using it to match complex AST trees, like Refurb does. Note, not all of these checks use th
17.
▲
by
dosisod
4y ago
I think this would be a good change. I agree that the imported names should be spelled out: You shouldn't have to go hunting down the docs before you go and change anything. Again, this would increase horizontal space, but I think it i
18.
▲
by
dosisod
4y ago
I think that using Refurb on new projects would be a great use case, but even for existing/old/legacy projects, Refurb can still be a good option, it really just depends on what is already there. I agree that going and updating yo
19.
▲
by
dosisod
4y ago
I have never heard of Sourcery, but I will take a look at it. From what I can tell, Refurb is a CLI only tool (at least, for now), whereas Sourcery is more aimed at IDEs. Refurb should play along nicely with most other linters, though you m
20.
▲
by
dosisod
4y ago
Refurb can take any number of files or folders, for example: refurb file.py folder/ another_folder/ Hope that helps!
21.
▲
by
dosisod
4y ago
The reason I didn't just create a pylint/flake8/mypy plugin is because they all use a very specific methodology, whereas I wanted the freedom to architect it the way I wanted. Also, I really needed good type information, whic
22.
▲
by
dosisod
4y ago
Also, I don't know if this was part of your critique, but are you also mentioning that the "a" variable is not in the suggestion? The reason behind that is long names, such as "super_special_file" would greatly incr
23.
▲
by
dosisod
4y ago
Yes, Refurb error messages are not gospel: Make sure the changes make sense! Thank you for bring this bug up, I will make sure to address it tomorrow.
24.
▲
by
dosisod
4y ago
Interesting, I have never heard of this project before! From looking at the README, Refurb is more focused on simplifying the codebases, making them more expressive, whereas pyupgrade seems to have the goal of upgrading you from version A t
25.
▲
by
dosisod
4y ago
You're right! I guess you can't rely on sets being iterated over in order (not that you ever should rely on that). Moreover I was trying to show that you can use lists, tuples, and sets as temporary iterable objects, though but no
26.
▲
by
dosisod
4y ago
Something that I forgot to mention in the other answers similar to this is that the Path().read_text() check only applies if the open() block is a single line, and that line is only used to read the contents of the file. If you are doing ot
27.
▲
by
dosisod
4y ago
Yes, there is a --explain flag for explaining the checks in more detail. I thought about adding a "use --explain ERR for more info" at the bottom if there is 1 or more errors, probably would be best to add this in.
28.
▲
by
dosisod
4y ago
Thank you! I have found that pattern matching has made this project a whole lot easier. One of the other cool features about this project is how the check() functions are loaded based off the type of the node argument: https://gi
29.
▲
by
dosisod
4y ago
Because tuples cannot change over time, they are (slightly) faster to create compared to lists. Like you mentioned, they are being created just to be iterated over. It is a small enough of a performance improvement that it more of a style c
30.
▲
by
dosisod
4y ago
I agree, better clarification/classification of errors would be nice, as well as the different tradeoffs you should expect from using a particular check. In particular with the Path() related checks, they can seem contrived when used i
More ›