Revert "Nvidia GPU support in the buildah-remote task"

Added in #1529 due to https://github.com/tektoncd/pipeline/issues/8388 as this is not yet deployed in the cluster.
This reverts commit 51cb7249f1a48a92d0098560aa418bb2025c1659.

Look for any open pull requests in the repository with the title "e2e-tests update" and
see if there are recent e2e-tests updates that will be applicable to your change.

@arewm when can I submit a copy of https://github.com/konflux-ci/build-definitions/pull/1529?

Once the underlying issue is resolved (tracked by KFLUXBUGS-1865), you should be able to resubmit the change to this repository.


configure: nexus host should be "nexus URL" since you need to include scheme

Thank you. The 404 error solved.

i hard forked the project anyway, sorry. There is no real movement here, at least not enough for my use case. Anyway great you move on here


Question about using framework to create backend output visualization page.

To visualize the json file, which is backend output, we want to use webview in visual studio extension, and we want to implement it using the React.js framework in webview, is that okay?
If we use React.js, we want to use the relevant chart library that uses React.js. :)

@yesfordev
Concern about license and copyright is handled in #11 :)
Except this one, do you have another questions or concerns?

No, i don't have any questions :) Thank you!

You can close this :D

There is no more problem to solve, so I will close this issue. :)


New defaults for optvis

@ludwigschubert Not sure why this is failing?

Nothing to worry about, this PR passes—see the third check—it just failed at push time because I hadn't actually set up the .travis.yml file on master when you pushed this commit.
Now tests are passing. I'll merge. :-)


Taskbar flickers (or flashes) when the Acrylic style is on

Hello!
I am using the Acrylic style. It makes me really happy. There's an issue, though. Whenever I click on the Windows logo and the start menu comes up, the taskbar flickers to dark (I guess because the system default color theme is Dark mode). The taskbar also flickers after closing the start menu clicking somewhere else.
Here's a video on Google Drive:
https://drive.google.com/file/d/1nDP-iQDfXSQWi6xUAJ3vG-2FWv7_zANd/view?usp=sharing
Is there a way to fix this?
There's another detail. When using the Blur style, it seems that the blur sharpens at the bottom of the taskbar. Here's also a pic of this.

I'm thrilled with my icons in the middle of the taskbar.
Thank you.

TaskbarX/FalconX had this issue for a long time now and i haven't found a fix for it yet 😓. This only happens with Acrylic. While transparent and blur work in the exact same way as Acrylic the taskbar reacts differently to it. I am still trying to find another way.
Does TranslucentTB give you the same issues?

Yes. There's the same issue with TranslucentTB (it's called "Fluent" there). The rest of the effects are ok. Just that one flickers. I'm sure that answer will come to you soon! It is a great app already!

I'm on the latest stable <IP_ADDRESS> and also experienced the same issue.
The issue reproduction:

Click Start button to open Start menu -> flicker
Click Start button to close Start menu
Click Start button to open Start menu -> not flicker
Click on another area to close Start menu -> flicker
Click Start button to open Start menu -> flicker


Sema/SIL: NSError has no special powers without ObjC interop.

In particular, it doesn't "toll-free bridge" to the Error existential on non-ObjC-interop platforms, and we would miscompile as if it could. This should fix SR-585.

@swift-ci Please test

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 69f322255e47d7885ec2efd4517ee28c48334e64
Test requested by - @jckarter

@swift-ci Please test Linux

@swift-ci Please test Linux

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 43a559e9aafe1405e85b33e37e2cabe3f3c10aa4
Test requested by - @jckarter

@swift-ci Please test Linux

@swift-ci Please test Linux

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 7f2b77892d0c61000661587b82365d499ee3d9c1
Test requested by - @jckarter

@swift-ci Please test Linux

@swift-ci Please test Linux

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - eb8e7bc3092a8eec9c97ec8a0fae78c5b4a98d40
Test requested by - @jckarter

@swift-ci Please test Linux

@swift-ci Please test Linux

Thank you! This is a huge fix in terms of usability of Swift on Linux!

@lupinglade I have to ask, why do you need NSError on Linux in the first place?

@swift-ci Please test OS X

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - 69f322255e47d7885ec2efd4517ee28c48334e64
Test requested by - @jckarter

@jckarter We're catching NSErrors thrown by corelibs-foundation. I think this is a common use case.

I can confirm this fixed the crash for me. As for fixing Foundation not to throw NSError on Linux, I may be able to find time this weekend to do that pull request myself... I hope so anyhow.

@swift-ci Please test OS X

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - e7fde8123ebc786c83a68e66c77240cada1842f0
Test requested by - @jckarter

@swift-ci Please test OS X

@swift-ci Please test

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - e7fde8123ebc786c83a68e66c77240cada1842f0
Test requested by - @jckarter

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - e7fde8123ebc786c83a68e66c77240cada1842f0
Test requested by - @jckarter

@swift-ci Please test

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - d998692b60c72976eac83cd0616babe7567a9a19
Test requested by - @jckarter

@swift-ci Please test Linux

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - d998692b60c72976eac83cd0616babe7567a9a19
Test requested by - @jckarter

@shahmishal Looks like the Linux builders might be hitting resource limits on the validation test suite:
[ RUN      ] ThreadSafeCachingTests.ReturnGetExpression
terminate called after throwing an instance of 'std::system_error'
  what():  Resource temporarily unavailable

Can we get this into the swift 3.1 branch?


Update to 2.0 fails with Docker and Git

After doing a git pull, I get the following error message, maybe a migration script is not executed?
Apr 19 06:19:38 tharg.myown-it.com start.bash[62352]: db_1     | 2023-04-19 04:19:38.476 UTC [1] DETAIL:  The data directory was initialized by PostgreSQL version 12, which is not compatible with this version 15.2.
Apr 19 06:19:38 tharg.myown-it.com start.bash[62352]: umamigit_db_1 exited with code 1
Apr 19 06:19:39 tharg.myown-it.com start.bash[62352]: umami_1  | ✗ Unable to connect to the database.
Apr 19 06:19:39 tharg.myown-it.com start.bash[62352]: umami_1  | error Command failed with exit code 1.
Apr 19 06:19:39 tharg.myown-it.com start.bash[62352]: umami_1  | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Apr 19 06:19:39 tharg.myown-it.com start.bash[62352]: umami_1  | ERROR: "check-db" exited with 1.
Apr 19 06:19:39 tharg.myown-it.com start.bash[62352]: umami_1  | error Command failed with exit code 1.
Apr 19 06:19:39 tharg.myown-it.com start.bash[62352]: umami_1  | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Apr 19 06:19:40 tharg.myown-it.com stop.bash[64164]: Stopping umamigit_umami_1 ...
Apr 19 06:19:40 tharg.myown-it.com stop.bash[64164]: Stopping umamigit_db_1    ...
Apr 19 06:19:46 tharg.myown-it.com stop.bash[64164]: Stopping umamigit_umami_1 ... done

Start-Script:
#!/bin/bash
set -o errexit

cd /srv/umami/umami.git
git pull
docker-compose up

need upgrade pgsql 12 to 15

It is updated, but the contents are not:
# docker image ls
REPOSITORY                     TAG                 IMAGE ID       CREATED        SIZE
postgres                       15-alpine           ddc12ac7fa27   2 weeks ago    243MB
ghcr.io/umami-software/umami   postgresql-latest   5aaadf4d9c15   2 months ago   339MB

Look at https://umami.is/docs/migrate-v1-v2

https://github.com/umami-software/umami/issues/1887
use this way to migrate-v1-v2 base docker-compose


Support transformations?

There are a lot of issues about supporting ES6 features, however, most people are compiling these into ES5 anyway. I wonder if it wouldn't make sense to give flow the ability to run transformations before checking. Then you could, for example, tell it to preprocess your JS using Babel without type stripping and get the benefits of flow's checking without having to wait for it to support whatever features you use in your transpiler.

@matthewwithanm You should be able to do this today if you run babel on your code with the flow transform blacklisted, then run flow on the compiled code.
I think this support belongs in your build system, not as a part of flow.

That's the same page I linked to, so I do know about blacklisting the transform (;
But what you're describing requires you to actually write the compilation result to disk, no? That's what I'd like to avoid.
Also, to be clear, I'm not suggesting that Flow should know anything about Babel specifically, but that it be able to run arbitrary transforms prior to checking. Any transform could output type-annotated JavaScript could then be used.

Personally, I don't think adding this complexity to flow adds anything over what is currently possible. Even if it were possible to do this without writing compiled JS to disk (I'm skeptical—do the transform process and flow share memory? Sounds funky.), that doesn't seem like a huge value-add here.

@samwgoldman I thought about this for a while and this is the best solution that I could come up with:
Flow currently lets you pass in the file contents using flow check-contents. You just have to pass in the filepath along with it to make it work in the context of your project. So maybe it should be possible to pass in an entire project via std-in. This way, babel can send the entire compiled project directly to flow, and then a linter can update files as you type.
That said, I don't see why this is any more efficient that compiling to disk, and doing the same thing. You just need to map the file paths back to the original files. (and possibly use sourcemaps to correct the ranges)
I think a tool, such as my linter-flow-plus can handle such a use-case. It would need to:

bundle in babel (but also be able to use a globally installed version)
have a setting, which one turned on will compile your entire folder with babel into a temporary directory. (using the --watch flag)
start a flow server for the temporary directory.
As you type, compile your file contents with Babel and feed them to flow using check-contents, and use the corresponding file path from the temp directory.
Convert file paths in the result back to the original directory to show you inline errors.
BONUS: source map support. (It may be possible to support only inline source maps since the compilation is all automatic)

All this isn't a lot of work, but it is hard to put it into a tool for a general case. It may be easy to compile all ES6 features that flow doesn't support and reduce the amount of config needed. If this sounds like a good idea, I can take a crack at it when I get some time. Number 2 and 3 seems like the only thing that sounds kind of hard. (it can be tricky to start and stop the flow server reliably from linter plug-in)

Doesn't seem like a major issue anymore. And there are some dups with similar requests.
(I'm trying to clean up issues so ping me if this issue should be re-opened)


Fix PrettierAsync segmentation fault

Summary
This pull request fixes #135 where the command PrettierAsync causes Vim to crash due to segmentation fault.
The following is a summary of the involved fixes:
Transportation fix:

Change the jobs in_io back to the default of pipe
Read the selected buffer lines and write them to the jobs channel
Close the in channel to tell the job we have finished sending

Performance fix:

Use a simpler method to delete all lines in the buffer
Loop through and append all the lines we want to write to the buffer

Test Plan
Error Reproduction Steps:

Copy the crash.js file from @nerfologist reproduction example - https://raw.githubusercontent.com/nerfologist/vim-prettier-async-segv-bug/master/crash.js
Open crash.js in vim
Execute PrettierAsync
Notice the seg fault!

NOTE: If the seg fault doesn't occur, increase the number of lines calling someFunc('something', () => {});. Eventually you will reach your platforms magic buffer size to cause the seg fault.
Test Steps For Fix:

Clone pull request commit
Copy the crash.js file from @nerfologist reproduction example - https://raw.githubusercontent.com/nerfologist/vim-prettier-async-segv-bug/master/crash.js
Open crash.js in vim
Execute PrettierAsync
Notice there is no seg fault!
Make the file much bigger and try again
Notice there is still no seg fault!

Please note: I have not tested this fix on NeoVim. The only changes that overlap with that code path relate to the performance fixes.

I think this looks good to me feel free to merge this once we test neovim and vim 7.4 sync formatting.

I have just tested this out on vim 7.4, vim8 and neovim for regression and most of it worked, the only regression that I noticed is that after your change we seem to get an extra line on the end of the file.
Once that is fixed this should be good to go!

I just pushed a fix to remove the extra trailing newline introduced by using the append function.
Looks good on Vim 8. Please confirm Vim 7.4 and NeoVim.
Thanks!

Looks good on neovim and vim 7


fix: crash for alerts flow on android

The type of this PR is: Fix

Description
Due to the added changes in PR #6072, there was a crash on Alerts List screen on android

PR Checklist (tick all before merging)

[ ] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have tested my changes on iOS and Android.
[x] I have added tests/stories for my changes, or my changes don't require testing/stories, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a changelog entry below or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Fix crash for alerts flow on android - dimatretyak

This PR contains the following changes:

Dev changes (Fix crash for alerts flow on android - dimatretyak)

  Generated by :no_entry_sign: dangerJS against c67fdbce53919b509c93b1299f23d87c24676526


Optimize the copy method in TexasHoldEm class

That looks interesting. Does this work whatever the state of the hand ? (Preflop, Flop, Turn, River). Also does this keep the right game turn ?

Yes. For now this does what we want: it will copy the basic attributes of the TexasHoldEm object and then replays the last hand so that the generators are in the correct state.
A better future implementation would somehow be able to copy attributes directly without needing to replay the previous hand
Originally posted by @SirRender00 in https://github.com/SirRender00/texasholdem/issues/199#issuecomment-1596249803

Hello,
Did you find a way to copy attributes directly without needing to replay the previous hand ?

Not yet. Unfortunately, with my current obligations, this python package has been way down on my priorities. I'll still prioritize bug fixes but I won't be able to personally work on new features / enhancements at least in the near future


[5.6] Add new comparison validation rules

Modified #23807 to handle 'equals to' and support passing of integers, note that i only allow passing of integers only when the field under comparison is of the integer type

These will need new language lines in the laravel/laravel repository. Thanks.

@Alymosul , Could you please create a PR for docs repository?


add forEachIndexed for list

Many times we would need index along with value. This extension could help a lot when added to a list.

It's already implemented for Iterable, therefore also for List
https://github.com/leisim/dartx/blob/bbfb05da04d2b596eaa097ddc98f302e8f09bb92/lib/src/iterable.dart#L159-L164

i guess its not documented in the readme 🤔

Thanks for bringing it up. Wanna open a PR to fix it?

Sure :) would love to ✌


Update our default font formats

We shouldn't need the svg font format, and should add support for woff2.
Status: Ready for review

[x] +1 @ry5n
[x] +1 @jeffkamo

Reviewers: @jeffkamo @ry5n @mediumjones

+1, but do we need to make changes to the webfont mixins in tandem?

doesn't look like the webfont mixin needs updating

OK, cool. +1’ed!

Looks good to me! :+1:

Yay!

@ry5n @jeffkamo sorry i just reopened to tweak the file order. Should be good now!

you'll have to create a new PR, I think?


Startup Error

Hi - any ideas on what might be causing this startup error? I had the earlier December release and updated to the latest... but am now getting this error message.
2021-05-22 23:32:08 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/winix/__init__.py", line 117, in async_setup_platforms
    await self.async_update()
  File "/config/custom_components/winix/__init__.py", line 156, in async_update
    await device.update()
  File "/config/custom_components/winix/WinixDeviceWrapper.py", line 40, in update
    self._state = await self.driver.get_state()
  File "/config/custom_components/winix/WinixDeviceWrapper.py", line 243, in get_state
    payload = json["body"]["data"][0]["attributes"]
KeyError: 'data'

It sounds as if Winix server did not return complete json data. The data parsing is based on the work done by https://github.com/hfern/winix. Have you been continuously running into this?

So the answer is yes - this was definitely repeatable. I do have a non-code root cause. I had left my machines unplugged for an extended amount of time (weeks... months?) I would get this error message consistently every time I restarted Home Assistant and I believe the components did not load at all. After plugging my devices back in AND restarting Home Assistant, it seems to have fixed the issue.
Ideally, this would not be the case... but I'll leave it in your hands as to whether you document it as a known issue and close it. Thanks for your work on this integration!

Having the same issue, but in my case only 1 of 2 filters was left unplugged for a few days, the other was on all the time, yet both are not available in HA. Both are on now and I've restarted multiple times, but still neither work.

This error originated from a custom integration.

Logger: homeassistant
Source: custom_components/winix/driver.py:126
Integration: Winix Air Purifier (documentation, issues)
First occurred: 8:18:22 PM (1 occurrences)
Last logged: 8:18:22 PM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/winix/manager.py", line 100, in async_setup_platforms
    await self.async_update()
  File "/config/custom_components/winix/manager.py", line 139, in async_update
    await device_wrapper.update()
  File "/config/custom_components/winix/device_wrapper.py", line 58, in update
    self._state = await self._driver.get_state()
  File "/config/custom_components/winix/driver.py", line 126, in get_state
    payload = json["body"]["data"][0]["attributes"]
KeyError: 'data'

Winix was not available as an integration when this issue was written, 1.0.0 introduced config_flow and made it available as integration from Add Integration. That release also attempts to resolve some starts issues. Winix does not allow simultaneous login from 2 sources and I wonder if that had something to do with what you were seeing.


Propagate timestamps in SLEAPInterface

Right now the sleap-io library (and sleap) does not write the timestamps of the video in their output files. For us, this is important for sychronaization and visualization so I am adding the ability to extract timestamps and propagate them to their correct place in the write-to-nwb corresponding function of sleap-io.
I added a new test that checks that the timestamps were written to the correct place.
This is waiting for a merge and release in the sleap-io repository. They are a bit behind their release schedule but they say it should be soon.

Looks like the new release (10 hours ago) of sleap-io is breaking tests on other branches (likely also main right now)
Hoping this branch fixes it, if not I'll have to threshold the version

Trying to retrigger tests...

@h-mayorquin Looks like something got deprecated in the new sleap-io version, any idea how to fix? https://github.com/catalystneuro/neuroconv/actions/runs/3686865596/jobs/6239693270

@h-mayorquin Looks like something got deprecated in the new sleap-io version, any idea how to fix? https://github.com/catalystneuro/neuroconv/actions/runs/3686865596/jobs/6239693270

Yes, they change the name of a function, testing a change now.

@h-mayorquin Great, thanks!


Fix hardcoded MerkleMine proof size for transaction data in explorer

What does this pull request do? Explain your changes. (required)
Properly construct the ABI encoded Merkle proof size for the transaction data used to generate tokens.
Specific updates (required)

Instead of using a hard coded Merkle proof size (currently 704 bytes), construct the ABI encoded Merkle proof size based on the provided hex encoded proof by taking the proof size and left padding with zeros until we have 32 bytes

How did you test each of these updates (required)

I ran the explorer locally and hardcoded the variable defaultAddress here https://github.com/livepeer/livepeerjs/blob/f3094301de6e1cf0f203c8affa0731b06ad8a605/packages/explorer/src/views/Mining/index.js#L24 to 0xd3bbe001d3044e78b068244aae95bafe75744233 which has an associated proof of size 640 which is different from the currently hardcoded 704. I logged the transaction data created when clicking "Claim Token" while using this default address to observe that the proof size was properly encoded in the transaction data.
Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.

🚢


Build failure for v1.2, v1.1 and v1.0

Bug description
version 1.2, 1.1 and 1.0 is failing with this errors:
Run<EMAIL_ADDRESS>  with:
    projectPath: Dual
    unityVersion: 2019.4.8f1
    targetPlatform: StandaloneOSX
    kubeContainerMemory: 800M
    kubeContainerCPU: 0.25
    kubeVolumeSize: 5Gi
    versioning: Semantic
    androidAppBundle: false
  env:
    UNITY_LICENSE: ***
##[warning]
      Library folder does not exist.
      Consider setting up caching to speed up your workflow,
      if this is not your first build.

##[warning]Fetch --unshallow caught: Error: Failed to run "git fetch --unshallow".
 In-command error caught: Error: There was an error when attempting to execute the process '/usr/bin/git'. This may indicate the process failed to start. Error: spawn /usr/bin/git ENOENT
##[error]Failed to run "git fetch".
 In-command error caught: Error: There was an error when attempting to execute the process '/usr/bin/git'. This may indicate the process failed to start. Error: spawn /usr/bin/git ENOENT

This doesn't happen if I use v0.15 (it build successfully) but this one generates an empty build (as reported on this issue). I've tried searching for this issue but I haven't found anything
Also to mention, this error happens for all my targetPlatforms
How to reproduce
This is my config file:
name: Actions

on:
  pull_request: {}
  push: { branches: [master] }

env:
  UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}

jobs:
  buildAndTestForSomePlatforms:
    name: Build for ${{ matrix.targetPlatform }} on version ${{ matrix.unityVersion }}
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        projectPath:
          - MyGame
        unityVersion:
          - 2019.4.8f1
        targetPlatform:
          - StandaloneOSX # Build a macOS standalone (Intel 64-bit).
          - StandaloneWindows # Build a Windows standalone.
          - StandaloneWindows64 # Build a Windows 64-bit standalone.
          - WebGL # WebGL.
    steps:
      # Checkout
      - name: Checkout
        uses<EMAIL_ADDRESS>        with:
          lfs: true

      # Cache
      - name: Getting cache
        uses<EMAIL_ADDRESS>        with:
          path: ${{ matrix.projectPath }}/Library
          key: Library-${{ matrix.projectPath }}-${{ matrix.targetPlatform }}
          restore-keys: |
            Library-${{ matrix.projectPath }}-${{ matrix.targetPlatform }}
            Library-${{ matrix.projectPath }}-
            Library-

      # Build
      - name: Build project
        uses<EMAIL_ADDRESS>        with:
          projectPath: ${{ matrix.projectPath }}
          unityVersion: ${{ matrix.unityVersion }}
          targetPlatform: ${{ matrix.targetPlatform }}

      # Output
      - name: Uploading artifacts
        uses: actions/upload-artifact@v2
        with:
          name: Build
          path: build

Looks to be a duplicate of https://github.com/webbertakken/unity-actions/issues/84 (or at least related)
By the way it's not like v1.0, v1.1 and v1.2 are all not working, it's related to your configuration and the image used.
Please note that you're also setting a lot of values to the defaults, including kubernetes variables that only work if you do a full k8s setup.

@betomaluje could you verify that inside your repository, the project is indeed inside a folder called MyGame and not in the root?

My project looks like this:

what should I put in the projectPath then?
# Build
      - name: Build project
        uses<EMAIL_ADDRESS>        with:
          projectPath: ./
          unityVersion: ${{ matrix.unityVersion }}
          targetPlatform: ${{ matrix.targetPlatform }}

In your case you can use the default, as your project is in the repository root. (just leave away projectPath).

ok, sorry for the late reply. Everything works perfect if I remove the projectPath. I just wish that somewhere I could had read that (most definitely I missed it). Sorry for the inconveniences!

Glad to hear that solved your problem @betomaluje,
Project path is documented on the documentation page for builder.
Could you please give some input on what would have helped you find this or better understand this documentation? It could help us improve.


[Suggestions] Artist and Tittle name of Gallery Downloaded.

Excuses me, i have a request.
When you download a gallerys, The Gallery name in NClient and Folder downloaded in the directory named like this.
Now:
"Seiso Kanojo, Ochiru"
And what i want is, like this.
"[great mosu] Seiso Kanojo, Ochiru"
Maybe, just like the original tittle on the Website nhentai.net
"(C97) [MOSQUITONE. (Great Mosu)] Seiso Kanojo, Ochiru || The Pure Girlfriend’s Fall"
Yea like this.
It have a "[Artist name] Tittle" or like the original tittle on the website. (Please add it as a feature. User can use simple tittle or long tittle like at the website.)
I think its feel easy to recognize.
Because i copy downloaded gallery to my computer and sort it by artist name.
Sorry to interrupt and Thank you for developing this app.

The gallery folder uses the current title type (english, japanese and pretty), so you could change the default from retty to english and it will have the complete title


style: format code with Autopep8, Black, ClangFormat, dotnet-format, …

…Go fmt, Gofumpt, Google Java Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt, Scalafmt, StandardJS, StandardRB, swift-format and Yapf
This commit fixes the style issues introduced in d186624 according to the output from Autopep8, Black, ClangFormat, dotnet-format, Go fmt, Gofumpt, Google Java Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt, Scalafmt, StandardJS, StandardRB, swift-format and Yapf.
Details: None

create a pull request and redeploy the code and perform all the tasks and deploy the code in good improvement manner and merge after merging squash the code and pull the all the code s that should be deployed and mad e all the squashes and done the former
fixes


Migrated Test: verify_initrd_modules

This test case covers the functionality tested by LISAv2 test INITRD-MODULES-CHECK.
This test case ensures all of the necessary modules are present in initrd.

Is it draft PR?


C# Export: System.IO.FileNotFoundException; Missing System.Drawing

Godot version:
3.2.3.stable.mono.official
OS/device including version:
Windows 10
Issue description:
I'm trying to export a game that contains QR code scanning and generation capabilities using a C# library called ZXing.Net. However, when I try to load or save a QR code on the HTML export, the game hangs with this error in the console:

System.IO.FileNotFoundException: Could not load file or assembly 'System.Drawing, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.

Steps to reproduce:

Create a Godot project, which contains a C# script that uses System.Drawing.
Export the project to HTML, and attempt to use that script.

Minimal reproduction project:
Test_Project.zip
Test_HTML5.zip

Hey,
System.Drawing is not compatible with Web assembly:

That's not an issue with Godot.

Oh, great. How can I deal with QR codes?

@neikeq Any idea where we should document this limitation?

These limitations seem to be described in the System.Drawing documentation: https://docs.microsoft.com/en-us/dotnet/api/system.drawing#remarks (and I hope this is turned into a compiler warning with .NET 6: https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1416).
I'm closing this since it's not a Godot issue.

How can I deal with QR codes?

I can't help much with that. I did a quick search where the last comment seems to have managed to make it work with ImageSharp: https://github.com/micjahn/ZXing.Net/issues/273#issuecomment-830017377
The relevant parts I found in his project were the package references to ImageSharp and ZXing.Net's ImageSharp bindings, and the image loading and QR decoding code:

https://github.com/sabitertan/BlazorWasmBarcodeScanZxingNet/blob/d8fce2f4bf60e6069229fa7a81ee6d4e1b2bdcc2/BlazorWasmBarcodeScanZxingNet/Client/BlazorWasmBarcodeScanZxingNet.Client.csproj#L10-L12
https://github.com/sabitertan/BlazorWasmBarcodeScanZxingNet/blob/d8fce2f4bf60e6069229fa7a81ee6d4e1b2bdcc2/BlazorWasmBarcodeScanZxingNet/Client/Pages/Index.razor#L125-L130


Label for browser default  displayed incorrectly

Here is a demo page reproducing the issue:
http://codepen.io/julienM/pen/mVEKRK

Hi, I fixed your issue. I'll synchronize the PR when I will have fixed another issue.


langugage problem

Environment
Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]
Windows Terminal version (if applicable):

Any other software?

Steps to reproduce

idk
Expected behavior

Actual behavior

i have korean langugage out of german

Okay, so there's almost nothing to work with in this issue, so I'm gonna have to use psychic debugging here. I'm guessing that what you're seeing is "The Terminal is localized in one language, but my OS is set to another one". That's an issue we're tracking over in /dup #5497. (There are lots of similar issues linked to that one)
If that's not the issue you're seeing, feel free to provide more info and we can reopen this. Thanks!


Beautify the README!

Now that the game is (almost?) done it would be cool if you updated the README. How to download, screenshots, IGN reviews etc. You get the point :)

Already on a branch. I'll merge when I can take screenshots, which is when the wall textures are done.

Ah, great 👍

Link to app will be put in README when available.


Build issue

@sharwell I started getting following build error:

:question:  Am I doing something wrong?

Close as not reproduces any more.

This is a weird case due to the build configuration for various solution configurations and platforms. I believe you chose a pair where the Adornments project was not selected for build, but one or more of the projects which use it was. When the dependent project tried to build, it couldn't find the dependency.

Ok. Sounds good.


set appropriate schema reference if schema id is provided by an object

At the moment in-browser projects when using parsing inline object schemas, the base URI is being taken from the current URL versus what is actually defined in the schema via the $id tag.
http://json-schema.org/latest/json-schema-core.html#rfc.section.9.2

Coverage decreased (-0.2%) to 94.778% when pulling be4d60c175d1d9229ad94c067d3811b1801394bb on Azerothian:set-local-uri into 4780ddb4e88965a3708f9394c17a7c6e4678a3b5 on BigstickCarpet:master.

still needs some work


GetWorkflowStateAsync throws an exception when instanceid is not found

Expected Behavior
When calling GetWorkflowStateAsync and the instanceid is not found, I expect it to return a WorkflowState with the property Exists being false
Not sure yet about my approach here yet but I'm trying to schedule a workflow during startup but only if it is not yet scheduled and / or its inputs have changed. (Basically replacing a backgroundservice by a workflow that calls ContinueAsNew

note that catching the exception myself is not a good workaround as WorkflowState only has an internal constructor so I cannot pre-declare the type and pass null

Actual Behavior
Grpc.Core.RpcException: Status(StatusCode="Unknown", Detail="no such instance exists")
Steps to Reproduce the Problem
var myWorkflow = await daprWorkflowClient.GetWorkflowStateAsync("myNonExistingWorkflow");
myWorkflow.Exists == false;

Release Note

RELEASE NOTE:

Moved this to the runtime repo since I don't think there's any work we need to do in SDKs.


e2e: Fix exit code on failure.

Signed-off-by: Matthieu Nottale<EMAIL_ADDRESS>
- What I did
Fix e2e's main function to properly return the test's exit code.
- A picture of a cute animal (not mandatory but encouraged)

oups 😅


Tests user interfaces

Basic Info

Info
Please fill out this column

Issue(s) this addresses
format tests user interfaces

ROS2 version tested on
Humble

Aerial platform tested on
-

Description of contribution in a few bullet points

Tests passed for alphanumeric viewer
Tests passed for keyboard teleoperation

Starting >>> as2_keyboard_teleoperation
--- stderr: as2_keyboard_teleoperation
=============================== warnings summary ===============================
test/test_flake8.py::test_flake8
test/test_flake8.py::test_flake8
  Warning: SelectableGroups dict interface is deprecated. Use select.

-- Docs: https://docs.pytest.org/en/stable/warnings.html
---
Finished <<< as2_keyboard_teleoperation [1.13s]	[ with test failures ]

flake8 python-10.0 bug.

Starting >>> as2_keyboard_teleoperation
--- stderr: as2_keyboard_teleoperation
=============================== warnings summary ===============================
test/test_flake8.py::test_flake8
test/test_flake8.py::test_flake8
  Warning: SelectableGroups dict interface is deprecated. Use select.

-- Docs: https://docs.pytest.org/en/stable/warnings.html
---
Finished <<< as2_keyboard_teleoperation [1.13s]	[ with test failures ]

Warning is a flake8 python10 bug.
In my machine:
test/test_flake8.py::test_flake8
  Warning: SelectableGroups dict interface is deprecated. Use select.

-- Docs: https://docs.pytest.org/en/stable/warnings.html
---
Finished <<< as2_keyboard_teleoperation [0.80s]

Summary: 1 package finished [0.93s]
  1 package had stderr output: as2_keyboard_teleoperation


Is the v18.02.0 patch still available?

Hi,
The link to the v18.02.0 patch on https://geodesicsolutions.org/resources.php now 404's.
Is there anywhere to get this patch?
Thanks!

Website has been updated to correct the broken download link.


guerillapoop now is guerrillapoop

Fixed the missing R

Travis tests have failed
Hey @AshleyPikachu,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.
Node.js: 7.7

     npm test

><EMAIL_ADDRESS>test /home/travis/build/Lycanium-Z/Pokemon-Showdown
> eslint --cache . && tsc && mocha

/home/travis/build/Lycanium-Z/Pokemon-Showdown/mods/digimon/random-teams.js
  16:36  error  Parsing error: Unexpected token ;

✖ 1 problem (1 error, 0 warnings)

npm ERR! Test failed.  See above for more details.

Woah


Update component versions for CAPI, Kind, and other dependencies

Now that our EL9 build clusters are up and running and we can use newer versions of kind to spin up bootstrap cluster, we can finally update the CAPI, Kind, and other component versions in our toolchain.

/hold

/retest

This is the underlying failure before the CI build cluster upgrade
INFO: Creating a kind cluster with name "test-q1ktgr"
Creating cluster "test-q1ktgr" ...
   Cgroup namespace setting discarded.
  125a72046af9e1b497c484ed5327bc245fee1ec2d935fdbae313d777bd7b6b64
  docker: Error response from daemon: OCI runtime create failed: cgroup namespaces aren't enabled in the kernel: unknown.

Next week we are planning on adding a new build cluster to prow that's a EL9 NKE-X which shouldn't have this issue.

/hold cancel

/test e2e-capx-conformance

/test e2e-capx-controller-upgrade

/test e2e-k8s-upgrade

/e2e-capx-controller-upgrade

/e2e-capx-controller-upgrade

/test e2e-k8s-upgrade

/e2e-capx-controller-upgrade

/test e2e-capx-controller-upgrade

/retest

/hold

/retest

/retest

/retest

/test e2e-capx-conformance

the PE credentials had expired causing CSI failures and had to be rotated.
/test e2e-capx-conformance

/hold cancel

/retest

@thunderboltsid  assuming we did verify with following:

https://cluster-api.sigs.k8s.io/developer/providers/migrations/v1.3-to-v1.4
https://cluster-api.sigs.k8s.io/developer/providers/migrations/v1.4-to-v1.5
https://cluster-api.sigs.k8s.io/developer/providers/migrations/v1.5-to-v1.6

/retest

/test e2e-k8s-conformance


Add an option to control the resync period

What this PR does / why we need it:
This makes the resync period of our main conrrollers configurable just like we did with QPS. In large deployments updating the caches every 30 seconds could be problematic. Running tests with 5K certs this gave no issues.
Special notes for your reviewer:
@wallrj while discussing noticed that 30 seconds is quite short, worth thinking about changing the defaults?
Release note:

Add an option to control the resync period

/kind feature

Yeah, I thought the resync period should be much greater than 30 seconds.
Here's where controller-runtime sets this to 10 hours:
https://github.com/kubernetes-sigs/controller-runtime/blob/5c2b42d0dfe264fe1a187dcb11f384c0d193c042/pkg/cache/cache.go#L97-L108
And note the comment about them adding jitter to prevent all the resources resyncing at the same moment.

Do we need to make this configurable? In what instances should a user ever want to set this themselves?
+1 to increasing it however 🙂

There's a good discussion about it starting here: https://github.com/kubernetes-sigs/controller-runtime/pull/88#issuecomment-408500629
You might even consider setting it to 0 to disable resync altogether as they do in the work queue example: https://github.com/kubernetes/kubernetes/blob/2be8f3c9a870cea54f554f7f8a739fbe087a5cad/staging/src/k8s.io/client-go/examples/workqueue/main.go#L177

In what instances should a user ever want to set this themselves

For very large scale like 100 000 certs this can help, especially when it is 30 seconds like it is.

Here's where controller-runtime sets this to 10 hours

will add a longer default also!

For very large scale like 100 000 certs this can help, especially when it is 30 seconds like it is.

What I mean is, why would someone with a small cluster want to have this set lower? It seems like just setting it to some high value/no resync at all, and not exposing it as an option makes more sense? Why does this need to be tuneable?

/close


remove uncompatibility bug of gemini_install.py

last version of gemini does not support the annotationdir argument anymore in the update function and the install script still pass this argument during the update. This is crashing the instalation through the install script.

Thanks for the report and sorry about the problem. Could you provide some details about how you're running the install script and what kind of traceback error you get to cause the annotation-dir problem? We did have a transition period where this was not working cleanly but it should be fixed now and gemini should accept this argument globally:
https://github.com/arq5x/gemini/blob/master/gemini/gemini_main.py#L117
Happy to try and improve or clean things up to get your install working properly.

this is what I get we running the uncorrected gemini_install.py:
/lb/project/mugqic/analyste_dev/software/gemini/tmp/gemini-0.18.0/anaconda/bin/gemini update --dataonly --annotationdir /lb/project/mugqic/analyste_dev/software/gemini/tmp/gemini-0.18.0/gemini_data --nodata --tooldir /lb/project/mugqic/analyste_dev/software/gemini/tmp/gemini-0.18.0
usage: gemini [-h] [-v] [--annotation-dir ANNOTATION_DIR]
{examples,load,amend,load_chunk,merge_chunks,query,dump,region,stats,annotate,windower,db_info,comp_hets,pathways,lof_sieve,burden,interactions,lof_interactions,autosomal_recessive,autosomal_dominant,de_novo,mendel_errors,browser,set_somatic,actionable_mutations,update,roh,bcolz_index,fusions,gene_wise,qc}
...
gemini: error: unrecognized arguments: --annotationdir /lb/project/mugqic/analyste_dev/software/gemini/tmp/gemini-0.18.0/gemini_data
Traceback (most recent call last):
File "gemini_v0.18.0.install.py", line 184, in
main(parser.parse_args())
File "gemini_v0.18.0.install.py", line 81, in main
install_rest(gemini, args)
File "gemini_v0.18.0.install.py", line 142, in install_rest
subprocess.check_call(cmd)
File "/sb/programs/analyste/software/python/Python-2.7.10/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/lb/project/mugqic/analyste_dev/software/gemini/tmp/gemini-0.18.0/anaconda/bin/gemini', 'update', '--dataonly', '--annotationdir', '/lb/project/mugqic/analyste_dev/software/gemini/tmp/gemini-0.18.0/gemini_data', '--nodata', '--tooldir', '/lb/project/mugqic/analyste_dev/software/gemini/tmp/gemini-0.18.0']' returned non-zero exit status 2
I think the bug come from the correction made for the issue:
https://github.com/arq5x/gemini/issues/633

Thanks much for the details. I believe you have an older version of the install script. Can you try getting the latest and re-running:
wget https://raw.githubusercontent.com/arq5x/gemini/master/gemini/scripts/gemini_install.py

The latest fixes the issue (moving --annotationdir to --annotation-dir) and should work cleanly. Sorry about the confusion with the changes. Hope this fixes it for you.

I was using the released 1.18.0. I will test the master version and let you know if the problem is solved

It works with the master version:
[      COMPLETE      ]|###################################################################################################################################################################################| 100%
/lb/project/mugqic/analyste_dev/software/gemini/tmp/gemini-0.18.0/anaconda/bin/gemini --annotation-dir /lb/project/mugqic/analyste_dev/software/gemini/tmp/gemini-0.18.0/gemini_data update --dataonly --tooldir /lb/project/mugqic/analyste_dev/software/gemini/tmp/gemini-0.18.0
Upgrading associated tools...

downloading https://s3.amazonaws.com/gemini-annotations/hg19_fitcons_fc-i6-0_V1-01.bed.gz to /lb/project/mugqic/analyste_dev/software/gemini/tmp/gemini-0.18.0/gemini_data

--2016-01-12 10:03:10--  https://s3.amazonaws.com/gemini-annotations/hg19_fitcons_fc-i6-0_V1-01.bed.gz
Connecting to <IP_ADDRESS>:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 92010942 (88M) [application/x-gzip]
Saving to: `hg19_fitcons_fc-i6-0_V1-01.bed.gz'
Thank you !
when do you think the next release will be ?

Great, glad it's working for you. I'm not sure about next release plans, @brentp or @arq5x would be able to provide timelines. Sorry again about the hiccups and thanks for the reports.

Thanks @chapmanb! We are shooting for an 0.18.1 release this week.


[SPARK-6886] [PySpark] fix big closure with shuffle

Currently, the created broadcast object will have same life cycle as RDD in Python. For multistage jobs, an PythonRDD will be created in JVM and the RDD in Python may be GCed, then the broadcast will be destroyed in JVM before the PythonRDD.
This PR change to use PythonRDD to track the lifecycle of the broadcast object. It also have a refactor about getNumPartitions() to avoid unnecessary creation of PythonRDD, which could be heavy.
cc @JoshRosen

Test build #30192 has started for   PR 5496 at commit 9a0ea4c.

Test build #30192 has finished for   PR 5496 at commit 9a0ea4c.

This patch passes all tests.

This patch merges cleanly.

This patch adds the following public classes (experimental):

  case class Assignment(id: Long, cluster: Int)

This patch does not change any dependencies.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/30192/
Test PASSed.

This fix looks good to me.  There are two contributors to the bug here:

In certain Python-driver-side operations, like groupBy(), we create RDDs that implicitly reference the previous RDD via its JavaRDD rather than by holding an explicit reference to the parent Python RDD object, which may result in a Python driver's RDD object being garbage collected even though the Java PythonRDD object sticks around (due to the reference from a child RDD).  To see this more clearly, notice that there are places in rdd.py where we call RDD(self._jrdd, ...) without actually storing a reference to self in the new derived RDD.
When an RDD is garbage-collected in the Python driver, the __del__ call here manually unpersists the Java broadcast variable even though there are still references to it.

This problem only manifests itself if Python closures are very large (large enough to trip the 1MB threshold which causes us to broadcast them) and are referenced by intermediate Python RDDs that are garbage-collected.
The fix implemented in this patch is to remove this __del__ call and leave it up to ContextCleaner to manage the Broadcast cleanup.  To verify that this won't introduce memory leaks, I took a look at how we track references to the Python broadcast in branch-1.2:

When we create a Broadcast object in Python, we capture a reference to the Java broadcast: https://github.com/apache/spark/blob/964f5447898ab53d5db0b9d7e63cced162dbac08/python/pyspark/broadcast.py#L66.  Aside from this reference, we don't keep any other references to the Java broadcast inside of the Python driver.
We do not maintain a Python-driver-side registry of these Python broadcast objects, so I don't think we have to worry about leaked references keeping the Python broadcast alive and preventing the Java broadcast from being garbage-collected.

An alternative fix would be to prevent Python-side RDDs from being garbage-collected until their corresponding Java RDDs are no longer referenced, but even if we did make this change I think it's a good idea to leave the cleaning of broadcasts to Spark's ContextCleaner rather than trying to manage it here.
I tested this out manually in an IPython REPL and broadcasts seem to be cleaned up at the right times.
Since this looks good to me, I'm going to merge this into master (1.4.0) and branch-1.3 (1.3.2).  I'll try to cherry-pick into branch-1.2 (1.2.3), but we may have to open a separate PR if I can't fix the conflicts easily.  Thanks @davies for fixing this!

Finished the 1.2 backport as well.

@JoshRosen Thanks!


Update docs

Hi Galen,
Would like to update 3 doc pages -

[ ] Online Accounts https://arcade.makecode.com/identity/sign-in
Arcade - Online Accounts.docx

[ ] Cloud Sync https://arcade.makecode.com/identity/cloud-sync
Arcade - Cloud Synchronization.docx

[ ] Sharing Project https://arcade.makecode.com/share
Arcade - Sharing your project.docx

Can you also make entries for these pages in the documentation Table of Contents? Maybe under Miscellaneous?

Related - https://github.com/microsoft/pxt-microbit/issues/5366


CQL-to-ELM Translator - Signature annotations missing from included libraries

When Signatures are enabled, only the referencing library when translated to
ELM has the signature annotations whereas the included libraries don't. I see that the translator is not passing the signature information while processing the included library at [1] and hence it is defaulting to SignatureLevel.None
[1] https://github.com/cqframework/clinical_quality_language/blob/master/Src/java/cql-to-elm/src/main/java/org/cqframework/cql/cql2elm/LibraryManager.java#L95
Example:
You can reproduce the issue by executing the translator on the top-level cql library i.e., ReferencingLib.cql shown below.
RootLibrary.cql:
library RootLibrary

define RootLibrarySum: Sum({1,2,3})

BaseLib.cql:
library BaseLib

include RootLibrary called Root

define BaseLibSum: Sum({10,20,30})

ReferencingLib.cql:
library ReferencingLib

include BaseLib called Base

define ReferencingLibSum: Sum({100,200,300})

The ELM generated from the above CQL is attached to this ticket.
cql_elm_without_signature.txt
Is this an issue with the translator or am I missing something?

I submitted a PR that addresses this issue.

@brynrhodes Thanks for the review and merging the PR. Could you please let us know when will be the next CQFramework release?


Add Reading List

This is a different page, and is a live list of books I'm reading / have read

Have a page live, but now need a way to get there from the home page. May require a menu.


3

Current dependencies on/for this PR:

main

PR #4

PR #5

PR #6   👈

This comment was auto-generated by Graphite.


Improving the documentation website

This issue will be tracking the progress in improving the documentation website plus.fluttercommunity.dev.
TODO list

[x] Add getting started section with overview of Plus plugins
[x] Battery➕ docs
[x] Connectivity➕ docs
[x] Device Info➕ docs
[x] Network Info➕ docs
[x] Package Info➕ docs
[x] Sensor➕ docs
[x] Share➕ docs
[x] Android Alarm Manager➕ docs
[x] Android Intent➕ docs

All docs are up now https://plus.fluttercommunity.dev/docs/overview


hotfix for ignored --env flag issue (#269)

Not fully sure if the issue happen again or if the previous patch does not fill all the cases. Anyway, the same issue happens again:
$ soda reset -e test
pop v6.0.2

[POP] 2022/06/04 20:40:03 info - drop app_development (...)
Error: couldn't drop database app_development: error dropping...

Issue Description
Even though the --env (or short -e) flag is given, the command just follows the environment variable.
Root Cause
It seems like the issue was caused by confusing naming and the behavior of PersistantPreRun field of cobra.Command and PersistentFlags() function. I added a detailed comment on the code so easy to check later.
(One unrelated commit is also included :-)
Related: #282
Fixes #269

Hi @stanislas-m! Thanks for the comment.
I added the explanation of the changed test more clearly (I think :-) and added commits to fix

the typo on the test name, and more test condition
fix for the Github action (recent windows runner has a memory allocation issue when race detector is on)

Please take a look at the commits and the last comment I added.
Thanks!


Final is a proposition

Very naive port of http://rs-.bitbucket.org/m-types-proofs/Agda/Indexed.Coalgebra.html
Feel free to improve it ;)

Great, thanks!


Fix templates for nodejs 16

This fixes a typo in https://github.com/nodeshift-starters/nodejs-rest-http-crud/pull/393, tested locally.
/cc @helio-frota

Coverage remained the same at 85.625% when pulling d6693c3c4ab6cb07e9c7e7b052f7b08e7dd45bdb on yselkowitz:samples into 15264fa85051e862007f9a87177d922212c3a64e on nodeshift-starters:main.


AddAuthorization Add Policies Need Clarification Please

Upgraded to Core 3 and in the past releases (1-2) you had to pre-define the policy names in StartUp AddAuthorization > Options aka AuthorizationOptions before you could use in controller annotation [Authorize(Roles = "Utilities_Navigation")]. It would seem now that are dynamically found?
I spent time converting my old:
...
scopeFactory = services.BuildServiceProvider().GetRequiredService<IServiceScopeFactory>()
...DbContext Get Data...
options.AddPolicy(item.Name, policy => policy.RequireRole(item.Name));
...

to the new improved:
...
services.AddSingleton<IConfigureOptions<AuthorizationOptions>, ConfigureAuthorizationOptions>();
...
ConfigureAuthorizationOptions(IServiceScopeFactory serviceScopeFactory)
...

Can someone explain if this is even needed anymore?

Just need confirmation on this, we used to get an error when using the [Authorize(Roles = "Utilities_Navigation")] on a controller if it was NOT added to the AddAuthorization(options => options.AddPolicy... from StartUp, now it would seem it is able to grab those from the code and set all that up automatically which is cool, but I want to confirm is all, before I scrap unneeded code.
Hoping this is the correct place to ask.

@Pilchie can you help here?

Seems to be working. Don't really have any issues no reason to keep this open.


Add SSID scan and validation

Resolves https://github.com/adafruit/Adafruit_Wippersnapper_Arduino/issues/328 by adding a function to perform a WiFi scan and check if the user-defined SSID within secrets.json is within the list of scanned SSIDs.

@makermelissa

Would having the code in a base class function and then maybe checking an overridable variable to see if the class has been loaded make it easier to maintain?

I'm not sure because each network interface includes its own board-specific implementation/API of the WiFi class

@makermelissa

Would having the code in a base class function and then maybe checking an overridable variable to see if the class has been loaded make it easier to maintain?

I'm not sure because each network interface includes its own board-specific implementation/API of the WiFi class

Fair enough.


feat: add video on storybook doc

final touch to release 1.0.0

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (2779064) to head (c442220).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@               Coverage Diff               @@
##           release/1.0.0      #654   +/-   ##
===============================================
  Coverage         100.00%   100.00%
===============================================
  Files                 85        85
  Lines               1553      1553
  Branches             539       539
===============================================
  Hits                1553      1553

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


index.js Cannot read property toString() of undefined

The third line of index.js results in the browser console error:
Cannot read property toString() of undefined for crypto.pbkdf2Sync.

Fixed with https://github.com/crypto-browserify/pbkdf2/issues/60


Set go_import_path in Travis

Signed-off-by: Gábor Lipták<EMAIL_ADDRESS>

What's this about? :)

Allows Travis builds to work for forks.

Ah, interesting! Thanks for the explanation, I did not see this use case before. It'll also be addressed in #2237 though, we'll then run all tests using Go Modules, so the GOPATH is not relevant any more.

thanks for the pointers. i see that Azure runs Linux/Mac/Windows from a single config.
but it might have a similar issue, as forks' checkout locations isn't their "real" Github project name


Heterogenous alternation

Introduce oneOf combinator, which takes a builder block and joins all elements into a regex alterantion. Fix the legacy VM to support alternation with captures.

Example:
oneOf {
  "a".capture()
  "b".capture()
  "c"
} => `.Match = (Substring, Substring?, Substring?)`

@swift-ci please test Linux

@swift-ci please test Linux

@swift-ci please test Linux


blocked when re-submitting consent

Describe the bug
When clicking submit consent for a second (or more) time - through the setting part of the phone - the rest of the app was closed off. also experienced by a couple of fishers who may have deleted the app and then redownloaded the app.

Gary McKie,
Alrescha DS9
Kirkudbright


change static local time to a clock

I really like Terr0y's local time feature. I thought it would be interesting to turn it into a clock and have it update in real time.

The currency exchange is giving a '429 too many requests' error. I signed up to the website sidm97 used to re-establish access so I will complete the request.


fix: minor broken code due to package versions

librosa's newest version has changed some function names and variable calling, this branch fixes broken code regarding this issue.

hi, actually only 2 lines of the code have been changed. in the first version I ran every cell of the notebook and since the output was included in both notebooks too much of the source code was considered to be changed.
Two lines are:
librosa.display.waveshow(y=y, sr=sample_rate);
S = librosa.feature.melspectrogram(y=y, sr=sr)

Yes, I understand. This is due to your environment. It is best to run jupyter notebook locally. Change the lines, and clear all cell and kernel before saving. Try that.

Yes, I understand. This is due to your environment. It is best to run jupyter notebook locally. Change the lines, and clear all cell and kernel before saving. Try that.

In my second commit i only changed the lines without running it, therefore the notebook output must be the same as source code. But since you mentioned clearing all the outputs, in the 3rd commit the changes were made and all the outputs were cleared.

addressed in #959


BUG: GH10392 bug where Table.select_column does not preserve column name

To close #10392

tests are green

thanks you siir!


Fix "02 - Building a message" link

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Check import-image response and retry if needed

In some cases, the container registry used may return a 500 error
response when image is fetched by OpenShift via ImageStream. This has
been seen when using pulp+crane container registry.
This change will verify that each requested imported tag was successful.
If not successful, and container registry has returned a 500 error, the
import image operation is retried.
Signed-off-by: Luiz Carvalho<EMAIL_ADDRESS>

Updated release notes draft:

Check response when importing images and retry if needed


Issue installing from git

I'm having a problem installing stable retro from the git repository.
I'm able to install stable retro using pip. Although when I try to install from git I get this error.
src/core/config.c: In function ‘mCoreConfigMap’:
src/core/config.c:334:47: error: passing argument 3 of ‘_lookupIntValue’ from incompatible pointer type [-Wincompatible-pointer-types]
334 |         _lookupIntValue(config, "rewindSave", &opts->rewindSave);
|                                               ^~~~~~~~~~~~~~~~~
|                                               |
|                                               _Bool *
src/core/config.c:82:85: note: expected ‘int ’ but argument is of type ‘_Bool ’
82 | static bool _lookupIntValue(const struct mCoreConfig config, const char key, int* out) {
|                                                                                ~~~^
make[4]: *** [Makefile.libretro:306: src/core/config.o] Error 1
make[3]: *** [CMakeFiles/gba.dir/build.make:79: build/lib.linux-x86_64-cpython-310/retro/cores/mgba_libretro.so] Error 2
make[2]: *** [CMakeFiles/Makefile2:556: CMakeFiles/gba.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 62%] Built target 32x
make[1]: *** [CMakeFiles/Makefile2:873: CMakeFiles/retro.dir/rule] Error 2
make: *** [Makefile:485: retro] Error 2
Traceback (most recent call last):
File "/home/flippy/.pyenv/versions/3.10.15/envs/test310/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/home/flippy/.pyenv/versions/3.10.15/envs/test310/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/home/flippy/.pyenv/versions/3.10.15/envs/test310/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "/tmp/pip-build-env-x3b63sni/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 434, in build_wheel
return _build(['bdist_wheel', '--dist-info-dir', metadata_directory])
File "/tmp/pip-build-env-x3b63sni/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 422, in _build
return self._build_with_temp_dir(
File "/tmp/pip-build-env-x3b63sni/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 403, in _build_with_temp_dir
self.run_setup()
File "/tmp/pip-build-env-x3b63sni/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 516, in run_setup
super().run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-x3b63sni/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 318, in run_setup
exec(code, locals())
File "", line 84, in
File "/tmp/pip-build-env-x3b63sni/overlay/lib/python3.10/site-packages/setuptools/init.py", line 117, in setup
return distutils.core.setup(**attrs)
File "/tmp/pip-build-env-x3b63sni/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 183, in setup
return run_commands(dist)
File "/tmp/pip-build-env-x3b63sni/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 199, in run_commands
dist.run_commands()
File "/tmp/pip-build-env-x3b63sni/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 954, in run_commands
self.run_command(cmd)
File "/tmp/pip-build-env-x3b63sni/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 991, in run_command
super().run_command(command)
File "/tmp/pip-build-env-x3b63sni/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-x3b63sni/overlay/lib/python3.10/site-packages/setuptools/command/bdist_wheel.py", line 407, in run
self.run_command("build")
File "/tmp/pip-build-env-x3b63sni/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "/tmp/pip-build-env-x3b63sni/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 991, in run_command
super().run_command(command)
File "/tmp/pip-build-env-x3b63sni/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-x3b63sni/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/tmp/pip-build-env-x3b63sni/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "/tmp/pip-build-env-x3b63sni/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 991, in run_command
super().run_command(command)
File "/tmp/pip-build-env-x3b63sni/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
cmd_obj.run()
File "", line 62, in run
File "/home/flippy/.pyenv/versions/3.10.15/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', '-j12', 'retro']' returned non-zero exit status 2.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for stable-retro
Failed to build stable-retro
ERROR: Could not build wheels for stable-retro, which is required to install pyproject.toml-based projects
I'm running arch linux, python 3.10.15 "although tried version 3.9 to 3.12 and get the same error".

I tried installing an older version of gym-retro and ended up with the same errors.
looking online for similar issues, I found the issue is with gcc version 14.
I did try setting environment variables to gcc-13, but this was unsuccessful
I found I had to install gcc13 and to simlink cc to gcc13.
sudo ln -sf /usr/bin/gcc-13 /usr/bin/cc
I was able to succesfuly install stable retro after this.
I also removed the gcc-13 symlink when I was done, by setting it back to the regular gcc. So I would not run into other system issues later.
sudo ln -sf /usr/bin/gcc /usr/bin/cc


Disable "locking" during animation

Thanks for the fantastic plugin. Works wonders.
Have you got any idea if it would be possible to disable the "lock" users experience during the scroll animation rendering them unable to scroll until duration is over?
I've been able to accidentally create this effect while experimenting with resizing, maximising and minimising but I can't reproduce it. Would be great to get some insight on this.
Thanks again!

If scrolling were not locked while the page is animating then it would be very easy for users to accidentally skip sections.

It would be great as an option I think. The snapping is so useful when working with full screen sections to line up the viewport just right for a uniform experience, but I think users should never feel locked and unable to move around the page when they use the scroll wheel.
Would really appreciate it if you could help with this!

Without locking during scroll animation all users using kinetic srolling (mac users) would scroll from the top section to the bottom section in a single swipe, without seeing any sections in between.


[C#] Add support for boolean columns

Describe the enhancement requested
Currently the C# library can't decode boolean columns; it would be great if it could to put it on par with the other language bindings.
Component(s)
C#

Can you clarify what you mean by this? There is a BooleanArray and there are tests which validate that it interoperates with other implementations.

Hi @CurtHagenlocher I was getting an exception when trying to read arrow data where one of the columns is an array of bools. I didn't see booleans listed anywhere on the C# readme so figured it must have been not implemented however if it is meant to be supported then perhaps it's a bug instead. I'll see if I can create a simple test to reproduce for you.

Actually it looks like this may be a bug in the MS DataFrame library we are using to read the values, e.g.
public void DataFrameDecodeBooleans()
{
    BooleanArray boolArray = new BooleanArray.Builder().AppendNull().Append(false).Append(true).Build();
    Field boolField = new Field("col", BooleanType.Default, true);
    Schema schema = new Schema(new[] { boolField }, null);
    RecordBatch batch = new RecordBatch(schema, new IArrowArray[] { boolArray }, boolArray.Length);
    DataFrame df = DataFrame.FromArrowRecordBatch(batch);
    DataFrameColumn boolCol = df["col"];
    Assert.Equal(boolArray.Length, boolCol.Length);
    for (int row = 0; row < boolArray.Length; row++)
    {
        Assert.Equal(boolArray.GetValue(row), boolCol[row]);
    }
}

fails.
I'll double check that our actual data looks correct when using the direct methods and not via the Dataframe and report back.

Yes I can see that library is broken. It assumes that an Arrow bool is 1 byte long when it's actually one bit long.

Yeah that does seem broken. Have verified that our data is being read correctly in C# without that library.
I'll close this issue however it would be good to update the README to explicitly mention that you support boolean arrays.


TRANSCEIVER-9 Telemetry: 400ZR TX laser bias current telemetry values streaming.

Test script for test case TRANSCEIVER-9 Telemetry: 400ZR TX laser bias current telemetry values streaming.

Pull Request Functional Test Report for #2694 / dcbcd20dbb7659d5176699517f303a82642165be
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

TRANSCEIVER-9: Telemetry: 400ZR TX laser bias current telemetry values streaming.

Cisco 8000E

TRANSCEIVER-9: Telemetry: 400ZR TX laser bias current telemetry values streaming.

Cisco XRd

TRANSCEIVER-9: Telemetry: 400ZR TX laser bias current telemetry values streaming.

Juniper ncPTX

TRANSCEIVER-9: Telemetry: 400ZR TX laser bias current telemetry values streaming.

Nokia SR Linux

TRANSCEIVER-9: Telemetry: 400ZR TX laser bias current telemetry values streaming.

Openconfig Lemming

TRANSCEIVER-9: Telemetry: 400ZR TX laser bias current telemetry values streaming.

Hardware Devices

Device
Test
Test Documentation
Raw Log

Arista 7808

TRANSCEIVER-9: Telemetry: 400ZR TX laser bias current telemetry values streaming.

Cisco 8808

TRANSCEIVER-9: Telemetry: 400ZR TX laser bias current telemetry values streaming.

Juniper PTX10008

TRANSCEIVER-9: Telemetry: 400ZR TX laser bias current telemetry values streaming.

Nokia 7250 IXR-10e

TRANSCEIVER-9: Telemetry: 400ZR TX laser bias current telemetry values streaming.

Help

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 53.035%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1730

Relevant Lines:
3262

💛  - Coveralls


Add missing TOC(Table of Contents) in install_with_flink_and_spark_cluster.md

What is this PR for?
Add missing TOC(Table of Contents) in install_with_flink_and_spark_cluster.md
What type of PR is it?
Documentation
What is the Jira issue?
no Jira issue for this

LGTM


wat should support a --version flag

I was writing a bug report and wanted to include the version of wat I had installed.
This is what happened:
 $ wat --version

  Sorry, there's no command like that.

Goodbye!

Haha - good point :)
I'm also thinking of doing a notification when a new version comes out. Do you think that would be a good idea?

That sounds like a great idea!

Okay it's in the plan :)

This is now supported.


How to handle switching "workspaces" in a single Neovim instance.

Describe the feature
Currently, when you open a scala file in one project and metals attaches and loads up, and then you switch to a file in a different scala project, metals maintains the project root from the first project it was loaded into. You can restart metals to pick up the correct project root, but it would be nice if nvim-metals noticed the change and recalculated the project root and picked up the correct scalafmt file and other config files. The example below is from the discord conversation about this topic.
├── mill-example
│  ├── build.sc
│  └── millexample
└── sbt-example
   ├── build.sbt
   ├── project
   └── src

Starting inside millexample and then switching to sbt-example leaves metals running off of the configuration files in mill-example.
Potential ways to implement
Per the discord comment, if nvim-metals recorded the current project root and was able to detect a new valid project root, the user could be prompted to restart metals, or perhaps have a config option to automatically restart metals upon detection of a new root. I'd prefer it to just take care of itself to match the workflow I'm coming from in emacs.

Thanks for creating this @beem812!

I'm wondering if there isn't some heavy lifting going on from the emacs "workspaces" in my other setup.

I'm not incredibly familiar with how emacs handles this, but indeed in Neovim the idea of a workspace is pretty fluid seeing that it's just a bunch of buffers that are open and can be from all over the place. In nvim-metals we sort of artificially create a workspace since Metals itself needs this concept mainly to know where the root of the build is. Once it knows that, then everything is is good to go.

I can flip between project and get correct type info from either project without restarting there which maybe suggests two running instances of metals?

Yup exactly, in this scenario you have 2 different Metals processes running. You'd see the same behavior if you used something like tmux, opened a new pane, and opened another project. That's actually my current workflow, and one that seems to be pretty popular in the Neovim ecosystem.

Yea it seems clear that if I'm getting the behavior from something other than the lsp in emacs then it's probably not the concern of the lsp here.  If nvim-metals were to start prompting when a new root is seen I assume people already comfortable with how it works currently would want a toggle to prevent seeing it when they are just fliping to another project to reference some code. Kitty tabs are actually working pretty well given I can setup a command to open a new one directly to nvim.

I was just passing by, but I'll put my two cents in
I quite enjoy the possibility of developing multiple tightly coupled projects in a single Neovim instance (e.g. scala server and its React frontend) as sometimes they share the same environmental variables, launch scripts, etc. It feels that tmux panes/windows provide a larger switch latency than project.nvim with a telescope picker, which I use to wander among projects.
Here we might also look at behaviour of other language servers. For example, tsserver in its default lspconfig configuration is run in multiple parallel instances, one for each opened project. It works well according to my observations. Thumbs up to the issue :)

Could https://github.com/scalameta/metals/pull/5033 be used to implement the desired behavior described here??

Could https://github.com/scalameta/metals/pull/5033 be used to implement the desired behavior described here??

Absolutely. I plan on documenting this better. I'll do it soon, but it's not in a stable release of Metals yet, but it will really help in situations like this.


The Part Time Creator Manifesto

source: devto
devToUrl: "https://dev.to/swyx/the-part-time-creator-manifesto-46i1"
devToReactions: 132
devToReadingTime: 12
devToPublishedAt: "2021-03-14T21:56:04.965Z"
devToViewsCount: 2584
title: The Part Time Creator Manifesto
published: true
description: Why we need more people creating Part Time and how you can do it too.
category: essay
tags: Creators, Reflections
slug: part-time-creator-manifesto
canonical_url: https://swyx.io/part-time-creator-manifesto
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hkvir806a2jsyqtsqsoh.png

2021 updates: Featured on the Compressed.fm podcast! I also wrote a followup about the Swipe Files Strategy.
2022 updates: I expanded on this with Jess Sachs (on getting started) and Stripe DevChats  (on making money)

Something unexpected happened when my side project crossed $100k in sales:
I didn't want to quit my job.
No urge to blog about leaving the "rat race". No tweet about how becoming a creator "changed my life (and yours can too! Buy my course!)". No Jerry Maguire letter.
I wondered if something was wrong with me. Being on social media exposed me to a lot of hustle porn constantly telling me to quit my job. That freedom is an all-or-nothing nirvana, and once you taste it, you don't go back. Isn't that how this movie script is supposed to go?
I want a new script for Part Time Creators. We need to define what it is, why it's worth doing, make it work, then make it cool.
More Than Just Money
Making $100k a year has always been my bar for successful "independent income". It's more than my parents ever made at their peak earning, and in most cities it's enough to support yourself and even raise a family on. Even better if totally passive — I harbored dreams of traveling the world and making money in my sleep.
But after 4 years of Learning in Public, I got there — and realized my desires had shifted. Part of this is surely due to the hedonistic treadmill — I had reached Senior level at a FAANG by then. But I realized it was mainly because I enjoy applying myself to hard problems and working with smart people, that I would never have encountered on my own.
Yet, while employment is great, I enjoy the growth that successful side projects afford. It isn't just about the money — side projects do NOT need to make money right away to be successful.

It's about self-sufficiency: what you learn shipping something from end to end.
It's about self-actualization: having creative control and autonomy and not ending the week with nothing.
It's about long term games: building a personal network and reputation that will outlast any employer.
It's about optionality: having a backup plan if something goes wrong, and incubating dozens of business ideas that could be big, creating luck for yourself.

It's about having a job while not being your job.
#PartTimeCreator
I like the term Part Time Creator for what I'm doing. The creator economy has many one-percenters — full-time Indie Hackers making well over $1m a year all by their lonesome. These are remarkable accomplishments and should be celebrated.
But the majority of us will never get there. 90% of creators on Gumroad make less than $20k a year. It's not a full-time income, but they should not feel like failures. They built something valuable on their own and that is awesome.
Because I don't derive all my self worth from my employer, I stand a little taller. Dream a little bigger. Negotiate a little harder.
I want to clearly acknowledge that this path requires privilege and is not for everyone. The cards are stacked against you from the beginning:

Existing creator platforms mainly reinforce the Economics of Superstars.
Parents are already achieving superhuman feats balancing family and work.
Many IP assignment agreements are actively hostile to Part Time Creators — Employers want to pay you for 40 hours a week but own your output for all 168.
Independent creation has far less health, safety, diversity, accessibility, or other forms of protection offered by traditional employment.

Part Time Creation must get easier for the less privileged, and its rewards must be more equitable, which is why all creator platforms should explore the ideas Li Jin published in her seminal article on the Creator Middle Class, and eventually legal and banking reforms made to democratize access.
Still, being a Part Time Creator is a viable path for many thousands of people, who can feel this possibility and desperately want to figure this out. I think there will be many more Part Time Creators in future, and courses and platforms will evolve accordingly. There's already signs of extreme demand: Ali Abdaal's Part-Time YouTuber Academy sells out in seconds, Ryan Hoover's Weekend Fund specifically invests in side projects, and Andrew Gazdecki's Microacquire makes it easy to sell them.
Making Part Time Work
There are a lot of objections to working outside of work, even if that work is for yourself. Many of them are valid. I only write for people like me, who have the energy and desire to make this work but have been lacking a guide.

The first thing that needs to happen is to get an employment situation that doesn't completely drain you of after hours productivity. I am no stranger to this kind of job — before 2017 I worked in finance, which completely consumed my life and intellectual output. I didn't know this was a red flag because I didn't know better.
If part time creation is something you want, just know that there are companies, like ConvertKit, where side projects are not only tolerated, but encouraged. Your current company may be actively hostile to side projects, but there are plenty of companies that will see it as a plus (though it should NOT be a hiring requirement). If you are open to not working full time, there are plenty of startups that are only looking for part time help.

 Talk is cheap.  If you say you want to be a Part Time Creator but spend almost 40 hours a week watching Youtube/Netflix, then you're really a Full Time Consumer. Make the time. I have some pointers below, but here are a few thematic inspirations for you:

Five for Them, One for Me: aka the "Weekend Warrior" approach. Pick Saturday or Sunday, but do take one day to rest. This is a long game; do not burn out.
Personal 20% Time: Google is famous for allowing employees to work on side projects 20% of the time, but employees joke that it's really "120% Time" because they still have to do their full day jobs anyway. That works out to an extra 1.5-2 hours before work.
Batched Time: Ben Orenstein is known for taking Codecations - holidays where you work on shipping a side project. Take a week off work (and family) obligations and just go ham. This is a great option for those who simply cannot make a weekly commitment, or if you must accumulate context rather than context switching every day or week.

For those extremely worried: You don't have to make money right away. There are plenty of ways to create valuable personal assets without monetizing right away, from writing a newsletter to building a YouTube channel. The point is to learn to create, and build your network. Have a chat with your manager if in doubt — you may be surprised how okay they are with this. Some may even offer you an intrapreneur opportunity, like Jenn Hyman before Rent the Runway or Ben Orenstein before Tuple. As the Part Time Creator movement grows, this will be increasingly accepted.
This post is already longer than I intended and borders on generic productivity advice you can find elsewhere, so I'll just drop six principles and resources on you:

Before Work: Alex West (my Creators interview here) and Swizec Teller both note that working on personal projects before the day job begins is the best way to ensure you actually work on it (this is what I do). Of course the opposite - 2 hrs after the family goes to bed - works for some folks as well.

Start Now: It's easy to desire something long term, but have barriers short term. I have news for you: There's never going to be a perfect time to start.
{% twitter<PHONE_NUMBER>600598016 %}
Pretend you've already been a Part Time Creator for 5 years straight and run into whatever your situation is today. Would you stop? If no: then why put off starting? Figure out how to make it work even when things aren't ideal, because things are never ideal.

Keep Shipping: It's natural to want to sink a lot of time into creating something great, and many people find success doing so. However I find that most people get stuck in a perfectionist loop, and never ship. I explored the Quality vs Consistency tradeoff in a separate post, but TL;DR, when in doubt, choose Consistency, and work your way up to Quality rather than expect to jump there from a cold start. Ship at least every month. If you can't, scope down until you have no excuse not to ship. Part Time Creator is an identity, and you are what you do repeatedly. If you repeatedly find ways to not ship, that's what you are.

Productize Yourself: Part Time Creation is distinct from taking on a Part Time Job where you sell time for money like you do in the day job. Focus on formats that deliver value disconnected from your time. Friendcatchers, Writing, podcasting, drawing, and some categories of software. If you are a developer, apply to teach for Egghead.io - they take extremely good care of their part time creators. I still get $100-300 a month from courses I made 3 years ago. Note: Most beginners aren't able to productize right away — they need to stair-step up to it with some sweat equity. That's normal.

Shameless Plug: My book has an entire chapter dedicated to Side Project ideas and productivity methods!

Making Part Time Cool
Part Timers will never get their due as long as they are perceived to be the minor league shadow of Full-Timers. Customers instinctively equate "part time" with "not committed". Of course, you can dispel that notion by doing your thing for 10 years. But that'd take 10 years.
To really make a strong case for Part-Time Creators, it's interesting to consider what Part-Timers can do better than Full-Timers. The best way I know how to phrase this: The work informs the side hustle, the side hustle informs the work.
Everyone draws the line on what is acceptable. You should definitely NOT compete with your employer or share trade secrets. But there are a zillion other ways to create without conflict of interest, in a way that also adds value to your employer:

Oren Ellenbogen runs Software Lead Weekly, one of the most popular newsletters on engineering leadership. This surely helps in his day job as a VP of Engineering. Likewise with Rosie Sherry's work on the Rosieland community informing her work as Community Manager at Indie Hackers.
Julia Evans built a massive following writing programming comics based on surprising facts based on generalizable lessons from her work at Stripe. She's since left, but her work surely helped Stripe burnish its reputation as an attractive employer.
Kent C. Dodds bootstrapped his Consume-Build-Teach cycle at Paypal for 4.5 years, where he generalized lessons from solving Paypal problems into popular open source, and a successful teaching career. Both these "extracurricular" efforts improved the engineering culture at Paypal, which was only too happy to let him do his thing.
Janel Loi's authority putting NewsletterOS and PodcastOS together with No-Code tools informs her new job at On Deck, where she will meet more creators to serve, and also serve them better because she has her ongoing side projects.
Jack Conte's bands Scary Pockets and Pomplamoose give him the deep empathy,  credibility, and outlet he needs in his day job as CEO of Patreon.
Troy Hunt blogged and wrote online for years before finally finding his ultimate niche as "the Security Guy" with his side project HaveIBeenPwned.com. It isn't a straight line to success - you have to allow for months and years of wandering in the wilderness before you find your thing. Stay employed.

For Part-Time Creators, the ultimate source of synergy with the day job is expertise. Expertise is specific and tacit knowledge. Everything that cannot be taught: all the judgment you hone by doing, all the untold stories and relevant data recalled at your fingertips. Your work history will also give you credibility, although you must not over-represent what you can speak to.

If you can deliver your expertise concisely, you are now a viable consultant.
If you can package it into a repeatable process, you have a productized service.
If you can create something valuable disconnected from your time, you now have a product.
You don't have to choose; you could offer all three as three different tiers (1x, 2x, 5x) to suit different customer needs, also known as Do It Yourself, Done With You, Done For You pricing. Higher revenue, but more complexity.

The other side of the feedback loop works too. Venture Capitalists often hire "Entrepreneurs in Residence" — former or future CEOs who simply sit in on meetings, give counsel, and look for ideas. I'd like to see a democratization of this to all sorts of employers and expertise fields. The power dynamic completely shifts if a Part Time Creator is hired as an "Expert in Residence" rather than being "given" a job.

Lastly, Part-Time Creators with "real" jobs are infinitely more relatable than Full-Timers. This lets them stay grounded and avoid the Meta Creator Ceiling. This is a trap that many premature Full-Timers run into, because they run out of interesting problems and unique expertise.
A Creator Middle Path for the Creator Middle Class
I think there's a LOT of folks that want a middle way between being a "My Company is My Life" salaryman and "Stick it to The Man" ronin. We indulge the social media escapism, but we kind of like our normie careers.
Yet, the days of spending 45 years with one company and retiring on a pension, like our parents' parents were promised, are long gone. We need to establish independent value because our employers simply do not have our long term interests at heart.
I'm hopeful for growing acceptance of Part Time Creators from employers, but ultimately, I think more people can already be Part Time Creators in their existing situations. This is not only viable today, but sorely needed. We are all fed up with over-SEO-ed content and generic lowest-common-denominator products. Part Time Creators can offer far more diversity, creativity, and unique expertise to fulfil every niche need of humanity. And they can make money, share valuable knowledge, and have more dignity doing so.
This is my utopian dream for a thriving Creator Middle Class. There's already dozens of us doing it. Join us!
Further reading:

Steph Smith's You Don't Need to Quit Your Job to Make has some important mindset shifts to undergo this process.
The usefulness of Purposeful Side Projects by Mark Birch
Zeno Rocha's journey to 100k in a year with Dracula Pro
Weekend Club is a paid community of weekend warriors - I have not personally tried it.
Ask HN: How do I find energy to work on hobbies after the work day ends?
Working on random side projects may have helped Claude Shannon invent information theory https://timharford.com/2021/05/cautionary-tales-fritterin-away-genius/
My AMA on long tail infoproducts as a Part Time Creator
(2022) Brian Lovin’s design crits  are a perfect part time project for designers!

This was such an awesome read.
Thank you very much for being that open! Very glad to have found your content.


Sway compiler optimization register usage tracking

From https://bugs.immunefi.com/dashboard/submission/32269
Brief/Intro
The sway compiler wrongly modeled register usage of WQAM instruction in def_registers, which makes the compiler emit wrong code during optimization pass. An attacker may leverage that vulnerability to manipulate pointer to point to an arbitrary address and potentially gain arbitrary write in callee memory.
Vulnerability Details
The def_registers function and use_registers function are used to define which registers in the argument will be written to or read from by the given instruction. This information is be used by dce optimization to decide which instructions only write to "dead" registers and could be removed. In the extracted snippet shown below, we can see that WQAM is incorrectly thought to modify r1 while not relying on its value, while the actual behavior using r1 as a memory pointer.
pub(crate) fn use_registers(&self) -> BTreeSet<&VirtualRegister> {
    use VirtualOp::*;
    (match self {
        ...
        WQAM(_, r2, r3, r4) => vec![r2, r3, r4],
        ...
    })
    .into_iter()
    .collect()
}

pub(crate) fn def_registers(&self) -> BTreeSet<&VirtualRegister> {
    use VirtualOp::*;
    (match self {
        ...
        WQAM(r1, _, _, _) => vec![r1],
        ...
    })
    .into_iter()
    .collect()
}

During dce optimization pass, sway compiler eliminates any instructions that write to registers without any dependency. The incorrect WQAM modelling creates a chance where the compiler may mistake an actual useful instruction for an useless one.
To show what this means, we look at the test case below. We write a simple script that emits the WQAM instruction. The script is then translates into abstract instructions before going through the optimization passes. Notably, the abstract instructions before dce includes an addi $r6 $$locbase i400 instruction before WQAM, which is responsible for setting up the pointer for WQAM output buffer.
However, after dce optimization, this instruction is removed, since the compiler thinks that wqam writes to $r6, and thus the result of addi is never used and could be considered "dead". This results in the compiled program never initializing the wqam output buffer ptr, and ends up using the left-over value within the register as the output destination.
Source Script
fn main() -> u256 {
    let c : u256 = 1;
    c % c
}

Abstract instructions before dce
;; --- Entries ---
.program:
.0                                      ; --- start of function: __entry ---
move $$locbase $sp                      ; save locals base register for __entry
cfei i520                               ; allocate 520 bytes for locals and 0 slots for call arguments.
load $$tmp data_1                       ; load initializer from data section
addi $r1 $$locbase i432                 ; calc local variable address
mcpi $r1 $$tmp i32                      ; copy initializer from data section to local variable
.2
addi $r2 $$locbase i240                 ; get offset to local
load $r3 data_0                         ; get local constant
addi $r4 $$locbase i432                 ; get offset to local
load $r5 data_0                         ; get local constant
addi $r6 $$locbase i400                 ; get offset to local
wqam $r6 $r3 $r4 $r5
...

Abstract instructions after dce
.program:
.0                                      ; --- start of function: __entry ---
move $$locbase $sp                      ; save locals base register for __entry
cfei i520                               ; allocate 520 bytes for locals and 0 slots for call arguments.
load $$tmp data_1                       ; load initializer from data section
addi $r1 $$locbase i432                 ; calc local variable address
mcpi $r1 $$tmp i32                      ; copy initializer from data section to local variable
.2
addi $r2 $$locbase i240                 ; get offset to local
load $r3 data_0                         ; get local constant
addi $r4 $$locbase i432                 ; get offset to local
load $r5 data_0                         ; get local constant
wqam $r6 $r3 $r4 $r5
...

Impact Details
In the best case scenario, this would lead to unexpected failures of the script / contract due to an illegal write. It the worst case scenario, the uninitialized register and wqam calculation result could be controllable by caller, which would lead to a 32 byte arbitrary write within the memory space of callee contract.
References

https://github.com/FuelLabs/sway/blob/7b56ec734d4a4fda550313d448f7f20dba818b59/sway-core/src/asm_lang/virtual_ops.rs#L580
https://github.com/FuelLabs/sway/blob/7b56ec734d4a4fda550313d448f7f20dba818b59/sway-core/src/asm_lang/virtual_ops.rs#L697
https://github.com/FuelLabs/sway/blob/7b56ec734d4a4fda550313d448f7f20dba818b59/sway-core/src/asm_generation/fuel/optimizations.rs#L247

Proof of Concept
This minimal sway test panics. We don't further demonstrate arbitrary write since that should be obvious from the details above. We can provide a PoC later is necessary.
#[test]
fn incorrect_def_modeling() -> u256 {
    let c: u256 = 1;
    c % c  // this emits a WQAM instruction
}

This should be fixed by #6203


Client has to answer with a oadrRegisteredReport even if it doesn't has to send any report

As per specs, actually in DR Programming guide:
_Note that both VENs and VTNs are capable of being both a report producer and a report
requestor, so all the payloads below can be initiated by either party.
oadrRegisteredReport -Acknowledge the receipt of oadrRegisterReport, optionally
request one of the offered reports_
The current implementation doesn't do anything if there's no reports to register, so the conformation tests fail.

Even when the received oadrRegisterReport has reports, it tries to call an non-existing self.register_report method. Assuming it's a bug and it should be "on_register_report", that doesn't work neither because it cannot be added as a handler, since "'handler' must be either on_event or on_update_event"

it tries to call an non-existing self.register_report method

This method does exist in client.py: see here.
Are you talking about the VTN code?

Are you talking about the case where the VTN is offering reports to the VEN? That is a use case that is not (yet) supported in OpenLEADR. I've understood that it is a very uncommon use case.

Yes, I'm talking about that case. It may be uncommon, but it's needed for compilance. In any case, the poll expects oadrRegisterReport messages (here), so IMHO it should return something even if is not yet supported. I assumed it was a typo and it was supposed to call on_register_report, so I changed the code to make it work for the tests. I can do a pull request with this changes, but it's not very clean, and I'm far for being a python expert.

All right, I'll make sure that the oadrRegisterReport request is handled properly for now, and implement receiving reports from the VTN at a later time (as well as sending reports from the VTN, which is not supported right now either). Thanks!


Benchmarks for glob pattern extract

closes #1693

details are documented here : https://www.notion.so/rilldata/S3-GCS-file-listing-5a79678c53ce46b68dce40cafdaff939


How can I get the jar of Alink_core?

mvn.aliyun.com and mvn central all don't exist it.

I just mvn it myself in this project.