This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-01-05
Channels
- # announcements (1)
- # babashka (61)
- # babashka-sci-dev (1)
- # beginners (54)
- # biff (17)
- # cider (4)
- # circleci (1)
- # clj-commons (39)
- # clj-kondo (26)
- # cljdoc (40)
- # clojure (41)
- # clojure-europe (32)
- # clojure-norway (4)
- # clojure-portugal (1)
- # clojure-uk (2)
- # clojurescript (59)
- # clr (69)
- # conjure (7)
- # cursive (22)
- # data-science (16)
- # datalevin (1)
- # datomic (19)
- # docker (31)
- # funcool (1)
- # honeysql (6)
- # hoplon (1)
- # hyperfiddle (41)
- # introduce-yourself (1)
- # juxt (2)
- # leiningen (5)
- # nbb (14)
- # nextjournal (38)
- # off-topic (47)
- # polylith (2)
- # rdf (5)
- # re-frame (4)
- # reitit (27)
- # releases (6)
- # scittle (10)
- # shadow-cljs (24)
- # sql (11)
- # squint (1)
- # tools-build (33)
- # tree-sitter (4)
- # vim (39)
Email from CircleCI just now: > We wanted to make you aware that we are currently investigating a security incident, and that our investigation is ongoing. We will provide you updates about this incident, and our response, as they become available. At this point, we are confident that there are no unauthorized actors active in our systems; however, out of an abundance of caution, we want to ensure that all customers take certain preventative measures to protect your data as well.
dammit
Only saw the blog post, no Email for me. Spent the morning rotating tokens…
Folks, I'm using GitHub actions and some of my test runs are not running at all - they get stuck, show no output, etc. I've confirmed that the code does run under normal circumstances, only GH actions that is misbehaving. Do someone have the same problem, or have a tip on how to solve it?
What kinds of tests and what kind of code? Does it interact with external services at all?
My immediate guess is you have some service like a database or something running locally and have a test fixture or even a top level side effect that is trying to interact with that service that doesn't exist in the action and it is retrying in a loop forever
Normal circumstances is that I just changed the reporter of a test library, tested locally with the same script (and same Linux version) that actions run, and it does run correctly
I also had a test matrix, and in one of the elements it uses macos, and on Mac the code runs all the time (again, same commands to run both tests.)
@U3Y18N0UC what are your tests doing? Anything complex? Relying on anything external? Web browser? Shelling out to an executable that might be different from your local dev env? Are you tests using lots of RAM? GHA, last time I checked had about 7gb available. Doing much network stuff (even localhost)? This can sometimes be finicky. The GHA environments are pretty well described. Under Action output, you'll see Setup Job -> Runner Image -> Included Software.
The problem is not in my tests, @UE21H2HHD - they run just fine. The problem is that when I changed the reporter of these tests, GH actions got stuck.
I tried some random edits, and it seems that the problem is the command I'm using to run the tests - I'm passing some parameters that either GH actions or Bash is not interpreting correctly. I'll probably never know what's wrong, but tomorrow I'll try to change this command and see if it works
@U3Y18N0UC what exactly do you mean by "reporter". Like a clojure.test
report
function? Or something else? And yeah, shell escaping rules on the cmd line can be a bear, especially on Windows. Anyway, I don't think I have enough info to help, but maybe you are more venting than asking for help? That's fine too.
Like Junit test output, etc. I was not really venting - it's just that I saw some Clojurians complaining about the same issue last week and I though it was something GH related, basically 🙂
An update on this: there were two problems on the test script I was running, which made it hang. The script I was using to run the tests were working fine and everything was ok too.
What makes me mad is that GitHub actions wasn't showing any of the output that it should be shown. In fact, it still isn't - it's literally a blank page just saying "Running tests" and then, suddenly, all output appears at once
Ah... so it was just a slooooow feedback loop which made you assume things were broken. I can usually see output as tests are running via GHA. Maybe a temporary issue? Maybe buffers are not being flushed?
Yes, a reeeeaaaaly slow to the point of "never completing" honestly :rolling_on_the_floor_laughing:.
I had to cancel the tests because after 2 hours, nothing appeared on the buffer.
I'll try to investigate if there's any way to manually flush stdout
. Worth a try 🙂
It is just the 5th of January, and my infinite love for web browser discrepancies has already grown stronger.
In the context of web audio, I create a buffer, a buffer source, attach the buffer to the source, fill the buffer with some data, and use it via the source.
In Chrome, the data is there. In Firefox, it's missing.
Spent 2 days refactoring all sorts of stuff that seemed related (couldn't even think of blaming the data at the start). In the end, it turned out that Firefox copies the data on assignment of the buffer, so you can't fill the buffer after you've assigned it. Which doesn't correspond to the spec at all that says "If start() has previously been called on this node, perform the operation acquire the content on buffer" (and I didn't call start()
).
Ah, there we go: https://bugzilla.mozilla.org/show_bug.cgi?id=1655336
The immediate practical reason is that I was using it to help me solve a much nastier bug - Chrome also has issues with web audio, just different ones. A longer term practical reason is that eventually I'd like to move to Firefox, both for personal use and for development. The parts of DevTools that I use seem to be better there and the only thing that I'm missing is custom data formatters, which are in the works. A meta-reason is that I'd like for it to be more relevant. A world with just one browser is worse than the one where there's a choice.
If anything, I'd prefer for Safari to actually cease to exist. :D In my experience, that's pretty much IE of the modern era. Even plain HTML layout there is godawful, let alone CSS/JS stuff.

And all in all, my OP wasn't a complaint about Firefox. But rather about the inconsistencies that we still have between browsers, which is a symptom of a few things, one of which is the immense size of all the web standards.
Bloody hell, even the standard has blatant issues, unless I'm reading it completely wrong.
E.g. this section https://webaudio.github.io/web-audio-api/#smoothing-over-time says:
> for k=0,…,N−1
But our frequency data has only N / 2
elements, as defined in the previous paragraph.
Couldn't believe it, decided to double-check with Chromium source - and yep, it should be in [0; N / 2)
.
And when you clicked on the log file
link, did it say "Log file not found?" Or "ERROR 0x80244019"?
Yes, the second one 🙂
After I clicked "Verbose" or something, because the log also said something like "failed"
Does anyone know of a desktop log file viewer like Kibana that lets you browse and filter structured JSON logs the way cloud consoles do? I know I can self-host elasticsearch but that seems like overkill. Does Zipkin work on local log files instead of the output of a cloud system?
maybe this? https://lnav.org
I find that linux tools (e.g. grep
+ jq
) can be very effective for analysing log files - also processing it in clojure REPL can help too.
some days I really miss doing clojure all day
are you not a full time clojure dev? i thought you were
I was! had to job hop and went back to ruby
aw dang, that's tough
i like ruby a lot but it's got some deeply annoying parts
I'm working on saving the planet, which is nice, and the pay is incredible, but I really miss the simplicity
everything is a mixed bag to some degree, I guess. if the grass could stop being always greener on the other side that would be really nice
and I like ruby, and the community has matured a ton since I was part of it last. there's a lot to like
> I’m working on saving the planet, which is nice, and the pay is incredible, but I really miss the simplicity If you don’t mind me asking where exactly do you work nowdays?
wunder capital. we're trying to put solar installations on as many commercial buildings as possible (it's a pretty underserved market)
using the huge lever of capitalism against the worst parts of capitalism