Team Review Ticket

Group Members: Ian, Srijan, Hayden, Ryan
Analytics: https://github.com/iwu78/binary/graphs/contributors
Commits: https://github.com/iwu78/binary/commits/main
Video: https://drive.google.com/file/d/1ghLJigFjx0HCcfbWqNPND6knnyCCXCrg/view?usp=sharing

Name
Runtime
Key Commits
Analytics

Ian
Image Encryption
CSS background CSS button Columnar Transposition Encryption Steganography
Analytics

Hayden
Image AND
Colors AND binary switching JS Colors AND Number Processing
Analytics

Ryan
Colors AND
Colors AND Number Processing Colors AND display boxes Colors AND Buttons
Analytics

Srijan
Steganography
Steganography Canvas Steganography Decoder
Analytics

Ian
Key Commits:

CSS Buttons + Background

Greatly improved the look of our website, issues faced described in below paragraph regarding button CSS not applying to file inputs

Columnar Transposition Encryption

This commit shows our other encryption method, which converts the image to a string of binary, then encodes and decodes it using two functions written to use one of the most secure scrambling encryption ciphers. These are particularly effective due to the impossibility of frequency analysis, since there are two possible characters only, 1 and 0.

In this project, I worked mainly on the image encryption systems. Our first system uses XOR gates to AND each pixel RGB value with a randomized key. I wrote JS to create a random image using a pseudorandom number generator, and to XOR this random key with the provided image, this is went over more in detail in the video. I also worked on the button and background CSS. While doing this I faced various issues with CSS, such as how the background was below, and not behind the title. The solution was to set the z-index of the background to -100 to place it behind all the other elements. Another issue I faced was the formatting of the file inputs, which wouldn't work with button CSS. The resulting fix was to set the input's display to none, apply the button CSS to the label of the input, then use JS to change the name of the label when a file is uploaded. Overall, this project helped improve my CSS skills and give a better idea of how logic gates work with images.
Hayden
Key Commits
commit 1
Issue faced:
Pressing the buttons did not update the decimal values of the R, G, and for the colors.
Fix:
Create function buttonClicked() to handle the event that user presses button. Add the power of two if it's 0 to 1, and subtraction the button goes from 1 to 0.
Second issue faced:
the 2^0 button added/subtracted 2^8
Second Fix:
The math function used was not correctly handling this case. Instead of just taking mod 8 of the button number and subtracting it from 8, it should be subtracting button number from 8, taking mod 8, adding 8 in the case it being negative (since mod of a negative number in JS is negative) and take modulo 8 again. This is shown on this line:
val.innerHTML = String(parseInt(val.innerHTML) + Math.floor(2**((((8-buttonNumber)%8)+8)%8)));
where the value of the decimal number is increased if a button is clicked to go from 0 to 1. A similar solution (- instead of +) was implemented for updating if the button goes from 1 to 0.
commit 2
(Note: the commit name is off because my computer was about to die)
Issue faced:
The buttons didn't change the box colors when pressed. console.log() did not work at this point because the CSS broke it somehow.
Fix:
Realized that the new variables being created for the R, G, B values of the color box were being parsed as binary when they were in fact just decimal:
var r1 = parseInt(document.getElementById("num1").innerHTML, 2);
deleted the , 2 at the end of the parseInt to change into
var r1 = parseInt(document.getElementById("num1").innerHTML);
This was a key commit because of simply how hard it was to debug the site without the console.log() utility available for troubleshooting.
These two key commits demonstrate my contribution to the Colors AND portion of the project, including the CSS and JS skills gathered along the way. Without these commits, Colors AND would not be functional at all, it would just be an array of 48 buttons and 3 big black boxes. The Colors AND project is a user-friendly visual representation of binary to decimal conversion as well as a display of RGB colors and represents my learning and usage of jQuery and CSS through the first few weeks of this trimester.
Ryan
commits: https://github.com/iwu78/binary/commit/2d80c26aa21b0f5cedd11ae029c3ac9afbdde27e
https://github.com/iwu78/binary/commit/660115629d6118d09bc43ed31628c6cf70cf0b87
https://github.com/iwu78/binary/commit/7660910fc2aa15b72f67b670a167be6dd197b7fd#diff-dd58ef4e643b9af2d87948d4ef0d7315879efd72c39d1619cb9ef72f7c7fa105
commit 1. Each of our RGB values was being converted from a binary number to a decimal number in order to create colors of the color boxes, but we stored these values as variable in binary which wouldn't allow our colors to show up (1000000 in binary is 64 which is not a possible number in base 2). By changing the base from 2 to 10 our values were now valid and able to show up on our color boxes.
commit 2. Created the final color box for the ANDed color. The RGB values for the ANDed color is the RGB values of the two user-inputted colors ANDed together - using &. Then the final color is shown as a combination of these newly ANDed RGB values. Created and formatted a new colorbox beside the original two to clearly showcase the ANDing (Also caught missing semicolons error that legit stopped the entirety of our code from running)
commit 3. Created a css.css file to contain the css required to display our Colors AND project. This includes stuff like background formatting, as well as button formatting. Also added the 48 original buttons needed for this project with 6 sets of 8 buttons for the six RGB values needed. I also made it so that the buttons defaulted at the '0' value and changed to '1' upon each click, essentially allowing the user to choose their own 8-bit binary numbers.
Srijan
Key Commits:

commit - Fixed the sizing of the canvas element containing the decoded image for the steg decoder project.

Issues faced:

Originally, the canvas element dimension was too small, causing the image display to "squeeze" the output.

Fix:

Divided output canvas by 2 to rescale to "original" image size and output properly

commit2 - Added the steg decoder project to blogs and created the decoder itself.

Issue faced:

Decoder had originally attempted to use a parsing method to decode rather than using masks -> caused it to take a long time and didn't work

In this project, I worked collaboratively alongside Ian to create the steganography and encryption related projects. Throughout the project, Ian and I used a system in which we spent 15-20 minutes at the start of every class brainstorming ideas and possible solutions to problems we faced. One example of this was when we were creating our steganography project. We were facing an issue in which the image being written to the HTML canvas was not being displayed properly. Through these early minutes of every class, we were able to determine that the size of the canvas in which the image was being written to was too small since we were upscaling the image by a factor of 2 to hide data within. Over these past few weeks, I mainly managed the image steganography project. In the future, we aim to add support to different sized images. As of right now, images must be of the same dimensions and if they aren't, the encoded image output will be severely malformed.

Individual Review Nathan Obodovski grading Ryan Liu

[ ] Individual should show that they were key contributor and example to team.  This includes their participation in ideas, plans, creating individual issues, providing code commits to project, crossover grading participation, being on task and positive example in the classroom.

Individuals Video, Issue(s), Commits(s)

[ ] Video in CPT caption style , includes Web demo of key contribution to project, 1 minute
[ ] Issue(s) that show plans/progress to team objectives
[ ] Highlights of key commit(s) in Issues, summarizes code contributions
[ ] Review GitHub analytics for key commits in each weeks during the project, shows consistent participation for 3 weeks

Per check.
0.55 not attempted/no check
0.7 attempted, incoomplete, but some runtime
0.8 mastery and runtime
0.9 above and beyond.
Freeform comment.
Provide positivies and growth summary.
Justify or comment on final score.
Be sure to provide extra details on anything below 0.7 average or above 0.8.

Team Review Rayyan grading Ian

[ ] The team should have a Web Pages that teach: Binary, Data, Data Structures, Data Abstraction.

Team Review ticket containing key Team and individual contributions

[ ] Growth/Accomplishments in work is according to historical Team Plan, or they show revisions to plan according to work
[ ] Short falls/Improvement that could be made in Work or Team Plan, team highlights next steps or improvements that could be made
[ ] Showing key accomplishments according to requirement in Frontend such as Binary Math, ASCII, Unicode, Color Codes, Logic Gates, etc.
[ ] Showing key user interaction and learning(s).  For instance how you visualized  Algorithms, Data, Data Structures.  Or, how you provided response and Feedback to user on their success in learning.

Per check.
0.55 not attempted/no check
0.7 attempted, incoomplete, but some runtime
0.8 mastery and runtime
0.9 above and beyond.
Freeform comment.
Provide positivies and growth summary.
Justify or comment on final score.
Be sure to provide extra details on anything below 0.7 average or above 0.8.

Individual Review "My name" grading "Their name"

[ x] Individual should show that they were key contributor and example to team.  This includes their participation in ideas, plans, creating individual issues, providing code commits to project, crossover grading participation, being on task and positive example in the classroom.

Individuals Video, Issue(s), Commits(s)

[ x] Video in CPT caption style , includes Web demo of key contribution to project, 1 minute
[x ] Issue(s) that show plans/progress to team objectives
[x ] Highlights of key commit(s) in Issues, summarizes code contributions
[ x] Review GitHub analytics for key commits in each weeks during the project, shows consistent participation for 3 weeks

Per check.
0.55 not attempted/no check
0.7 attempted, incomplete, but some runtime
0.8 mastery and runtime
0.9 above and beyond.
0.87, Clearly worked on by all teammates and had a clear focus on the projects success.  Very impressive features and felt very complete and ready to present. There was clearly a lot of teamwork that went into this project

Individual Review "Will Bartelt" grading "Hayden Chen"

[ x] Individual should show that they were key contributor and example to team.  This includes their participation in ideas, plans, creating individual issues, providing code commits to project, crossover grading participation, being on task and positive example in the classroom.

Individuals Video, Issue(s), Commits(s)

[ x] Video in CPT caption style , includes Web demo of key contribution to project, 1 minute
[ x] Issue(s) that show plans/progress to team objectives
[ x] Highlights of key commit(s) in Issues, summarizes code contributions
[ x] Review GitHub analytics for key commits in each weeks during the project, shows consistent participation for 3 weeks

Per check.
0.55 not attempted/no check
0.7 attempted, incoomplete, but some runtime
0.8 mastery and runtime
0.9 above and beyond.
0.88, Had a good project and a succesful section he worked on. His section of code was working and detailed. Clearly spent a lot of time on it and it also looks good. I think it would of been cool to have a section that explains what was going on when the images overlayed in his page of the project. Overall, it was very good and their team worked well together.

Individual Review: Jason grading Srijan

[X] Individual should show that they were key contributor and example to team.  This includes their participation in ideas, plans, creating individual issues, providing code commits to project, crossover grading participation, being on task and positive example in the classroom.

Individuals Video, Issue(s), Commits(s)

[X] Video in CPT caption style , includes Web demo of key contribution to project, 1 minute
[X] Issue(s) that show plans/progress to team objectives
[X] Highlights of key commit(s) in Issues, summarizes code contributions
[X] Review GitHub analytics for key commits in each weeks during the project, shows consistent participation for 3 weeks

Per check.
0.55 not attempted/no check
0.7 attempted, incomplete, but some runtime
0.8 mastery and runtime
0.9 above and beyond.
Definitely a 0.9. This project is wonderfully creative and very impressive, I did not expect to see a project about image steganography and see it done this well. Srijan presented very expressively, explained the code clearly, and had all the requirements linked onto the issue. Commits and code were major to the functionality of the decoder, analytics were consistent, and video was well done and concise. Srijan also talked about the issues he encountered (the decoding not working very efficiently or at all, so they used something similar to masking) and how he overcame them, and mentioned some things to work on in the future as well.

Individual Review Rayyan grading Ian

[ ] Individual should show that they were key contributor and example to team.  This includes their participation in ideas, plans, creating individual issues, providing code commits to project, crossover grading participation, being on task and positive example in the classroom.

Individuals Video, Issue(s), Commits(s)

[ ] Video in CPT caption style , includes Web demo of key contribution to project, 1 minute
[ ] Issue(s) that show plans/progress to team objectives
[ ] Highlights of key commit(s) in Issues, summarizes code contributions
[ ] Review GitHub analytics for key commits in each weeks during the project, shows consistent participation for 3 weeks

Per check.
0.55 not attempted/no check
0.7 attempted, incoomplete, but some runtime
0.8 mastery and runtime
0.9 above and beyond.
Freeform comment.
Provide positivies and growth summary.
Justify or comment on final score.
Be sure to provide extra details on anything below 0.7 average or above 0.8.


Failed to transform react-native-reanimated-66-jsc.aar

Description
Build not working on Android and Ios
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:mergeDebugAssets'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Failed to transform react-native-reanimated-66-jsc.aar (project :react-native-reanimated) to match attributes {artifactType=android-assets}.
Execution failed for JetifyTransform: /Users/mike/Documents/GitHub/seeed-realm/seeed/node_modules/react-native-reanimated/android/react-native-reanimated-66-jsc.aar.
Transform's input file does not exist: /Users/mike/Documents/GitHub/seeed-realm/seeed/node_modules/react-native-reanimated/android/react-native-reanimated-66-jsc.aar. (See https://issuetracker.google.com/issues/158753935)

React Native version:
System:
OS: macOS 11.6
CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
Memory: 544.87 MB / 8.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 15.3.0 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 7.23.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.2 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 15.0, DriverKit 20.4, macOS 11.3, tvOS 15.0, watchOS 8.0
Android SDK:
API Levels: 27, 29, 30
Build Tools: 28.0.3, 29.0.2, 30.0.2
System Images: android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 4.2 AI-202.76<IP_ADDRESS>22048
Xcode: 13.0/13A233 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_275 - /usr/bin/javac
npmPackages:
@react-native-community/cli: ^5.0.1-alpha.2 => 5.0.1
react: 17.0.2 => 17.0.2
react-native: 0.66.0-rc.3 => 0.66.0-rc.3
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps To Reproduce
Upgrade react-native from 0.65.1 to 0.66.0-rc.3
"react-native-reanimated": "^2.2.2"
Expected Results
Build succeed

I think the reanimated team is the one responsible get this fix, not a react-native team. If you are trying to use a pre-release version of RN together with reanimated, you are most likely going to hit a similar issue.
FYI, https://github.com/software-mansion/react-native-reanimated/issues/2452

I just successfully tested react-native 0.66.0-rc.4 and reanimated 2.3.0-beta.2, everything seems to work.
Be careful to make sure you have followed their instructions for install though!
Otherwise it won't work and you'll waste time like me. Don't be like me ;-)
https://github.com/software-mansion/react-native-reanimated/pull/2462#issuecomment-931615100


Allow dashboard template vars with multiple options. Resolves #43

This PR does some unmarshal magic to allow either a string. or an array of strings for text and value.
The TemplateValue struct remains unchanged. If the value is an array, the first element is used for the value.

LGTM with minor nit

Ahh right, I suppose I wouldn't need a conditional if I'm returning an error 😂


replace &str by Into

There is no point to do &format() if function do a to_string on the &str. Into<String> will allow both &str and String directly so this avoid useless allocation.
Fix some warning too.

I tried doing that before but it broke some stuff. I will need to revisit this.

I've taken a slightly different approach in https://github.com/mitsuhiko/indicatif/commit/e49c83e1221ed6198c89d0d1b99faef284cc72da, which stores Cow<'static, str> instead of String. Thanks for the suggestion!


Git commands to the README.md file

When changes to this README.file is followed, it allows one to easily navigate through git commands that are necessary to contribute to open source .

Brilliant, I think you might've forgotten to add code blocks to the git commands but that's all fine, I'll merge and add them. Thank you :)

Thank you so much for the encouragement, this is my first time contributing to a project. I will do better next time, thanks for the encouragement


[CLOSED] FocusLost error on Cmd-Tab

 Issue by GoogleCodeExporter
Monday Mar 16, 2015 at 09:15 GMT
Originally opened as https://github.com/douglasdrumond/macvim/issues/30

What steps will reproduce the problem?
1. Run MacVim-snapshot-0710B.
2. Switch to another app.
3. Read the error at the bottom.

What is the expected output?
No error.

What do you see instead?
Error detected while processing FocusLost Auto commands for "*":
E121: Undefined variable: colors_name

Error detected while processing FocusLost Auto commands for "*":
E15: Invalid expression: colors_name == "macvim" | hi Visual
guibg=MacSecondarySelectedControlColor | endif

What version of the product are you using? On what operating system?
0710B on Leopard 10.5.0

Please provide any additional information below.
I isolated all of the lines in my .vimrc & .gvimrc files, and it only happens
if I have "set bg=dark",
which is very useful when switching between gui vim and console vim.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 14 Nov 2007 at 9:26

 Comment by GoogleCodeExporter
Monday Mar 16, 2015 at 09:15 GMT

Thanks for the report.  I've pushed a fix to the Git repo so the next snapshot
will include this fix.

Original comment by<EMAIL_ADDRESS>on 15 Nov 2007 at 7:43

Changed state: Fixed


vue build src/main.js --prod cant resolve @/components/Hello

vue build src/main.js --prod doesnt build because it cant resolve the include path '@/component/Hello'
Using npm 4, latest vue-cli and it happens on fresh install of vue init webpack my-project
npm run dev works just fine

I am experiencing the same issue, any update on this?

I am running the latest vue-cliand vue-loader and am seeing this issue when I run the command vue build src/main.js --prod:
ERROR in ./src/router/index.js
Module not found: Error: Can't resolve '@/components/User' in 'path/to/file/here'
 @ ./src/router/index.js 4:0-37
 @ ./src/main.js
 @ multi src/main.js

ERROR in ./src/router/index.js
Module not found: Error: Can't resolve '@/components/Hello' in 'path/to/file/here'
 @ ./src/router/index.js 3:0-39
 @ ./src/main.js
 @ multi src/main.js


config file can't be a symlink

So far azurectl requires the config file to be a real file, symlinks are not accepted

This already works. See
https://docs.python.org/2/library/os.path.html#os.path.isfile


Bump to SDK35

Works with Files app ✔

Lacks bump of the other sub projects still being on 34

Lacks bump of the other sub projects still being on 34

I tested with integrating it in Files App and this works without problems:

implementation 'com.github.nextcloud:android-common:sdk35-SNAPSHOT'

So we can merge it.

@AndyScherzinger shall we do a release only with this change?

with this one and the ktx lib bump, yes I'd say let's ship v0.24.0

DONE via https://github.com/nextcloud/android-common/releases/tag/0.24.0


Need more docs.

I found this issue, it help a lot
#26 Fully understand the Strategy building & backtesting sample
but still have question.
Maybe experienced trader will understand, but i don't understand a lot of in code.
var result = await runner.RunAsync(10000, 1);

What is principal here? It like the initial amount of money?
btw readme looked outdated
Console.WriteLine(string.Format("Transaction count: {0:#.##}, P/L ratio: {1:0.##}%, Principal: {2:#}, Total: {3:#}",
    result.TransactionCount,
    result.ProfitLossRatio * 100,
    result.Principal,
    result.Total));

not compiled
at least it should be
            Console.WriteLine(
                $"Transaction count: {result.Transactions.Count():#.##}, " +
                $"Buy: {result.TotalBuyCount}, Sell: {result.TotalSellCount} " +
                $"P/L ratio: {result.TotalCorrectedProfitLossRatio * 100:0.##}%, " +
                $" Principal: {result.TotalPrincipal:#}, Total corrected balance: {result.TotalCorrectedBalance:#}");

@lexruster do you mind putting in a PR with the documentation to make this clear?


Create Categories for symbology is inconsistent with large datasets

IF BUG, INCLUDE THIS PART:
Steps to reproduce

Open a large dataset
Set the symbology using natural breaks
repeat - note that the break values change each time you repeat

DotSpatial version: 2 (most recent)
Expected behaviour
We should see consistent replication of break values
Actual behaviour
The break values vary each time you compute them

This is fixed with pull request https://github.com/DotSpatial/DotSpatial/pull/1241


Multiple outputs don't count for fee calculation

This affects the old wallet, which is being deprecated.


Implement dumping of lwAFTR conf file and binding table

Dumping of lwAFTR conf file and binding table was partially done. Dumping of configuration file was working but dumping of the binding table was using the old binding table format, so it didn't work.
There were also hooks to send a signal to a Snabb instance, requesting dumping of lwAFTR configuration file and binding table:
sudo ./snabb lwaftr control `pidof snabb` dump-configuration

Dumping of the configuration file is done by reading a parsed configuration file and dumping its keys and values to a text file. Dumping of the binding-table needs a different approach. A compiled binding-table doesn't allow access to its internal data. Iterating through a binding table's keys and values and printing them to a file is not possible. So I used a different approach.
Since a binding-table doesn't change during runtime, a compiled binding table and its equivalent in text format should match. The dumping reads the compiled binding table and the text version and checks whether the compiled version is up-to-date, in other words, whether the compiled binding table is the result of compiling the text file version. In that case, the text version is copied to /tmp.
This PR solves #161 and outdates #175 and #244.

I'd prefer the test to read one of the config files we use for testing, rather than have yet another series of hardcoded values that will need updating as the config file formats change.

I redid the test. I made it like the opposite of apps.lwaftr.conf's selftest.
I attempted reading the conf file from one of out test files (icmp_on_fail.conf). What I realized is that the dump of a config table is not equals to the conf file in text format. In other words, this doesn't hold:
local conf = lwconf.load_lwaftr_config(conf_file)
assert(do_dump_configuration(conf) == as_text(conf_file))

The reason is that, for instance, conf parser changes the relative path of the binding table to an absolute path. Also comments are not present in the parsed table.
It would be necessary to compare do_dump_configuration(conf) to a hardcoded string. And this has the disadvantage that if the external config file changes, it would be necessary to change this test for no reason.
After considering the pros and cons, I think it makes more sense to write the conf file within the selftest as in apps.lwaftr.conf's selftest.

I'd rather have to change the test than have this feature silently bitrot because the test remains valid while the config format actually changes.

I updated the test so it uses lwAFTR's conf parser to read a configuration. If conf's parser syntax changes the test will break.

That sounds like an ok middle ground, thanks.

LGTM.


USER_DISABLE_TESTS=true not working

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

Region
us-east-1
Amplify Hosting feature
Environment variables
Describe the bug
I have USER_DISABLE_TESTS set to true for quite a time and it was working fine (skipping test phase in build), but from today (7th October 2022), this just does not seem to work and test cases are being executed regardless of USER_DISABLE_TESTS = true for all branches
Expected behavior
if USER_DISABLE_TESTS is set to true, amplify should not run test phase
Reproduction steps
run build
Build Settings
test:
  phases:
    preTest:
      commands:
        - ls -l
        - rm -rf node_modules
        - ls -l
        - npm ci
        - npm install wait-on
        - npm install pm2
        - npm install<EMAIL_ADDRESS>mochawesome mochawesome-merge mochawesome-report-generator
        - npx pm2 start npm -- start
        - "npx wait-on http://localhost:3000"
    test:
      commands:
        - npm test -- --watchAll=false
    postTest:
      commands:
        - npx pm2 kill
  artifacts:
    baseDirectory: test_artifacts
    configFilePath: "**/mochawesome.json"
    files:
      - "**/*.png"
      - "**/*.mp4"

Additional information
No response

Today I am also facing the same problem AWS Support please provide some solution it's very urgent for me.

Hi @kwanso-mohsinali @rlembo06 @kwanso-salman 👋🏽 we are investigating this issue now and will respond with an update shortly

@kwanso-mohsinali Can you please share your app ID?

I noticed all tests are skipped now. I used to have this environment variable to run tests only for dev. Something changed?

I just performed a quick test with the USER_DISABLE_TESTS environment variable set to true for all branches and the tests were successfully disabled on the app. Closing this thread.


Fix virtual destructors

This is necessary because otherwise derived classes
are potentially deleted incompletely, using the destructor
of the interface.

Merge requested by authorized user pifon2a. Merge queue now has a length of 3.


patched ocamlbuild for windows

Allow ocamlbuild to build with OCaml 5.2 on windows.
Upstream work is https://github.com/ocaml/ocamlbuild/pull/329

replaces https://github.com/ocaml/opam-repository/pull/25939

https://github.com/ocaml/opam-repository/pull/25939 was merged, closing


ansible-galaxy: command not found

I am getting the following error:
eric@debian:~/internet-pi$ ansible-galaxy collection install -r requirements.yml
-bash: ansible-galaxy: command not found
From my ENV information:
"PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
_=/usr/bin/env"
I have read the other post here indicating to reboot the PC; no joy.  Also, I do not have  flaky internet ISP - it is solid.  I am getting this same error on both my Raspberrypi4 and on my Debian desktop PC.
Other than this situation- I am enjoying working on building the internet-pi monitor!
/Eric G.

Additional info:
"eric@debian:~/internet-pi$ pip3 -V
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.5)"
"eric@debian:~/internet-pi$ python3
Python 3.5.3 (default, Apr  5 2021, 09:00:41)"

Try to restart you Pi.
Before you do the command ansible-galaxy: command not found
That worked for me.

That did it!  Resolved.    Ok, the correct answer is several times + 1.   Hahaha
Onto the next steps.
Thank you!
/Eric
From: DJJeffP @.>
Sent: Tuesday, July 27, 2021 9:20 AM
To: geerlingguy/internet-pi @.>
Cc: Eric G. @.>; Author @.>
Subject: Re: [geerlingguy/internet-pi] ansible-galaxy: command not found (#157)
Try to restart you Pi.
Before you do the command ansible-galaxy: command not found
That worked for me.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/geerlingguy/internet-pi/issues/157#issuecomment-887506644 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AFTA7HNVCQBGMXEW4OYLVETTZ2XBTANCNFSM5BA35ZJA .

Same problem here Pi 3 fully updated v9 Stretch and we get to the same error.  Rebooting doesn't help.

Try this order:
Here all the first steps then you get the line:
Pip3 install ansible
After a successfull install of ansible type sudo reboot, the pi will reboot.
Do not reboot with unplugging the power. Because that will mess some stuff up and will not work!
Login to your pi with your username and password  then
cd internet-pi
While being in te folder ~/internet-pi ansible-galaxy install -r requirements.yml
And when thats succesfully done then round it off with all the last steps.
Thats the order I did an that worked for me in those steps. I think its because te Pi needs a reboot to successfully roundup the installation of Ansible and make it runnable.

Your suggestion is exactly the way I proceeded.  I always use sudo reboot
Perhaps starting with a fresh clean install of new fresh Rasbian would be best.  Here is the previous part of the installation for your reference.  Python3 was already installed on this RPi3 from another project.
sudo apt-get install -y python3-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-pip is already the newest version (9.0.1-2+rpt2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Here is the git results.
pi@raspberrypi:~ $ git clone https://github.com/geerlingguy/internet-pi.git
Cloning into 'internet-pi'...
remote: Enumerating objects: 366, done.
remote: Counting objects: 100% (113/113), done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 366 (delta 100), reused 89 (delta 89), pack-reused 253
Receiving objects: 100% (366/366), 231.73 KiB | 0 bytes/s, done.
Resolving deltas: 100% (227/227), done.
Here is the ansible install.  Note that I was in the internet-pi directory already when installing this.  I have rerun this from root directory and then sudo reboot.  Still have the same issue.
pi@raspberrypi:~/internet-pi $ pip3 install ansible
Collecting ansible
Downloading https://www.piwheels.org/simple/ansible/ansible-4.3.0-py3-none-any.whl (57.8MB)
100% |████████████████████████████████| 57.8MB 2.7kB/s
Collecting ansible-core<2.12,>=2.11.3 (from ansible)
Downloading https://www.piwheels.org/simple/ansible-core/ansible_core-2.11.3-py3-none-any.whl (1.9MB)
100% |████████████████████████████████| 2.0MB 73kB/s
Collecting jinja2 (from ansible-core<2.12,>=2.11.3->ansible)
Downloading https://files.pythonhosted.org/packages/7e/c2/1eece8c95ddbc9b1aeb64f5783a9e07a286de42191b7204d67b7496ddf35/Jinja2-2.11.3-py2.py3-none-any.whl (125kB)
100% |████████████████████████████████| 133kB 521kB/s
Collecting PyYAML (from ansible-core<2.12,>=2.11.3->ansible)
Downloading https://www.piwheels.org/simple/pyyaml/PyYAML-5.3.1-cp35-cp35m-linux_armv7l.whl (45kB)
100% |████████████████████████████████| 51kB 152kB/s
Collecting packaging (from ansible-core<2.12,>=2.11.3->ansible)
Downloading https://files.pythonhosted.org/packages/3e/89/7ea760b4daa42653ece2380531c90f64788d979110a2ab51049d92f408af/packaging-20.9-py2.py3-none-any.whl (40kB)
100% |████████████████████████████████| 40kB 686kB/s
Collecting resolvelib<0.6.0,>=0.5.3 (from ansible-core<2.12,>=2.11.3->ansible)
Downloading https://files.pythonhosted.org/packages/6b/f5/1b4375dbe7e3dddf074d206054ab3e27de0fdb2d32e64a1d5da25f813927/resolvelib-0.5.5-py2.py3-none-any.whl
Collecting cryptography (from ansible-core<2.12,>=2.11.3->ansible)
Downloading https://www.piwheels.org/simple/cryptography/cryptography-3.2.1-cp35-cp35m-linux_armv7l.whl (723kB)
100% |████████████████████████████████| 727kB 192kB/s
Collecting MarkupSafe>=0.23 (from jinja2->ansible-core<2.12,>=2.11.3->ansible)
Downloading https://www.piwheels.org/simple/markupsafe/MarkupSafe-1.1.1-cp35-cp35m-linux_armv7l.whl
Collecting pyparsing>=2.0.2 (from packaging->ansible-core<2.12,>=2.11.3->ansible)
Downloading https://files.pythonhosted.org/packages/8a/bb/488841f56197b13700afd5658fc279a2025a39e22449b7cf29864669b15d/pyparsing-2.4.7-py2.py3-none-any.whl (67kB)
100% |████████████████████████████████| 71kB 719kB/s
Collecting cffi!=1.11.3,>=1.8 (from cryptography->ansible-core<2.12,>=2.11.3->ansible)
Downloading https://www.piwheels.org/simple/cffi/cffi-1.14.6-cp35-cp35m-linux_armv7l.whl (317kB)
100% |████████████████████████████████| 327kB 339kB/s
Collecting six>=1.4.1 (from cryptography->ansible-core<2.12,>=2.11.3->ansible)
Using cached https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl
Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography->ansible-core<2.12,>=2.11.3->ansible)
Downloading https://files.pythonhosted.org/packages/ae/e7/d9c3a176ca4b02024debf82342dab36efadfc5776f9c8db077e8f6e71821/pycparser-2.20-py2.py3-none-any.whl (112kB)
100% |████████████████████████████████| 112kB 635kB/s
Installing collected packages: MarkupSafe, jinja2, PyYAML, pyparsing, packaging, resolvelib, pycparser, cffi, six, cryptography, ansible-core, ansible
Successfully installed MarkupSafe-1.1.1 PyYAML-5.3.1 ansible-4.3.0 ansible-core-2.11.3 cffi-1.14.6 cryptography-3.2.1 jinja2-2.11.3 packaging-20.9 pycparser-2.20 pyparsing-2.4.7 resolvelib-0.5.5 six-1.16.0
pi@raspberrypi:~/internet-pi $ ansible-galaxy collection install -r requirements.yml
-bash: ansible-galaxy: command not found
pi@raspberrypi:~/internet-pi $ ansible-galaxy collection install -r requirements.yml
-bash: ansible-galaxy: command not found
pi@raspberrypi:~/internet-pi $ sudo reboot
l

I was able to get this working on my RPi4, but not my RPi3.  Perhaps a fresh Raspian might help.
Is the Grafana Internet Connection dashboard require me to create it? PiHole is working fine.

@trad01 - You need to click the little set of four boxes on the left toolbar, then go to dashboards and click on the Internet Connection one under there.

@trad01 I'm running it on a RPi3B with no issues during the installation.
But mine was a fresh installation of the OS.
You can try that maybe?

JEff, you cleared-up my original problem situation.  I am CLOSING this.


Update toc.yml

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@cichur PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


#141409267 brief tour for effective onboarding

What does this PR do?
A brief tour of how the game is played and the important controls#### Description of Task to be completed?
How should this be manually tested?
Once a user just signup he will be taken on a brief tour of the gam
Any background context you want to provide?
N/A
What are the relevant pivotal tracker stories?
Users should be quickly and effectively onboarded onto the app
Screenshots (if appropriate)
N/A
Questions:

Not up to date.


Producer Plugin runs into the future without limit...

If you have a single producer responsible for all future blocks and you spam the blockchain, the producer will still fill blocks way into the future.
It should start rejecting transactions and apply back-pressure to the sender.

On a related issue, if a single transaction "overflows the block" simply because it is big and not because the block is almost full, it should be deferred until the next block and the current block should remain open.

How do we determine the line between the TX being too big or the block being too full? Should we designate a percentage threshold?


gradle flags param not working as documented

Question Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Question Subject
gradle flags
Perhaps docs are wrong
Question Description
As per docs https://docs.fastlane.tools/actions/gradle/#parameters and this issue https://github.com/fastlane/fastlane/issues/6930 the flags parameter should be legal
Fastfaile
platform :android do

  desc "Runs a debug build"
  lane :debugbuild do
    gradle(task: "assembleDebug" flags: "--stacktrace")
  end

$ bundle exec fastlane debugbuild
[13:33:16]:     25:	  lane :debugbuild do
[13:33:16]:  => 27:	    gradle(task: "assembleDebug" flags: "--stacktrace")
[13:33:16]:     28:	  end
[13:33:16]:     29:

[!] Syntax error in your Fastfile on line 27: Fastfile:27: syntax error, unexpected tIDENTIFIER, expecting ')'
le(task: "assembleDebug" flags: "--stacktrace")
                              ^
Fastfile:27: syntax error, unexpected ')', expecting keyword_end
Debug" flags: " --stacktrace")
                              ^
Fastfile:66: syntax error, unexpected keyword_end, expecting end-of-input
Error: Exited with code 1
Step failed

I plan to use the flags this way to debug a non related CircleCI issue

✅ fastlane environment ✅
Stack

Key
Value

OS
10.14

Ruby
2.4.0

Bundler?
false

Git
git version 2.3.0

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.14 (18A391)

Ruby Lib Dir
/usr/local/Cellar/ruby/2.4.0/lib

OpenSSL Version
OpenSSL 1.0.2l  25 May 2017

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
10.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:android)

platform :android do
  desc "Runs all the tests"
  lane :test do
    gradle(task: "test")
  end

  desc "Runs a debug build"
  lane :debugbuild do
#    gradle(task: "clean")
    gradle(task: "assembleDebug" flags: " --stacktrace")
  end

  desc "Deploy a new version to the Google Play"
  lane :deploy do
    ensure_git_branch(branch: "master")
    gradle(task: "clean assembleRelease")
    upload_to_play_store
  end
end

`./fastlane/Appfile`
json_key_file("") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one
package_name("secret.package") # e.g. com.krausefx.app

fastlane gems

Gem
Version
Update-Status

fastlane
2.108.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.1.2

rouge
2.0.7

xcpretty
0.3.0

multipart-post
2.0.0

word_wrap
1.0.0

public_suffix
2.0.5

tty-spinner
0.8.0

babosa
1.0.2

colored
1.2

commander-fastlane
4.4.6

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

gh_inspector
1.1.3

mini_magick
4.5.1

multi_xml
0.6.0

rubyzip
1.2.2

security
0.1.3

emoji_regex
0.1.1

tty-cursor
0.6.0

tty-screen
0.6.5

faraday
0.15.3

openssl
2.0.5

json
2.1.0

highline
1.7.10

io-console
0.4.6

excon
0.62.0

CFPropertyList
3.0.0

plist
3.4.0

atomos
0.1.3

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.7.0

faraday_middleware
0.12.2

signet
0.11.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

httpclient
2.8.3

google-api-client
0.23.9

unf
0.1.4

domain_name
0.5.20180417

memoist
0.16.0

googleauth
0.6.7

fastimage
2.1.4

bundler
1.16.0.pre.2

terminal-table
1.8.0

unicode-display_width
1.4.0

addressable
2.5.2

retriable
3.1.2

mime-types
3.2.2

mime-types-data
3.2018.0812

multi_json
1.13.1

jwt
2.1.0

os
1.0.0

psych
2.2.4

uber
0.1.0

generated on: 2018-11-09

You are missing comma between params
gradle(task: "assembleDebug" , flags: "--stacktrace")

Indeed. Did adding the comma fix your issue @jaimeagudo?

Sorry guys, yes, I realised it! Thanks

On 18 Nov 2018, at 15:14, Jan Piotrowski<EMAIL_ADDRESS>wrote:
Indeed. Did adding the comma fix your issue @jaimeagudo https://github.com/jaimeagudo?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/fastlane/fastlane/issues/13661#issuecomment-439696105, or mute the thread https://github.com/notifications/unsubscribe-auth/AD3bmnKrXPaIINeP_rgW7o74c_5_kMQuks5uwWtagaJpZM4YUw2M.


added course learning material from course category in english

What does this PR do?
Add resource(s) | Remove resource(s) | Add info | Improve repo
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Read our contributing guidelines
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction)

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Hi all, may I know what is the problem here with the lint?

Thanks, and welcome to free-programming-books!


automate all the things

goal: automate the process pipeline

[ ] travix -> maven

[x] add @wasabi-honeybadger as a commiter
[ ] obtain com.intuit.wasabi jar signing credentials
[ ] configure travis/maven to sign jars as wasabi-honeybadger

[x] github -> hipchat
[x] github -> gcal
[x] github -> trello

ping

always be close'n


Document sql.contention.event_store.duration_threshold cluster setting.

https://cockroachlabs.atlassian.net/browse/DOC-2893

This change is


added day-5 progress

100 days of code
Thanks for your participation in 100 days of code. These 100 days of coding will help you get a nice understanding with hands on approach towards solving problems. Stay determined, stay motivated and happy coding :)
📝Please make sure to follow these points

[x] Created a separate folder with your name. eg brahmajeet
[x] Made daily solution file of problem in format. eg DAY-1.py
[x] I have uploaded my own solution.
[x] My Pull Request title is in format < name > - < day >  eg  Brahmajeet-day-1
[x] I will upload ALL MY SOLUTIONS in my folder ONLY.

Thank you!
Your part is over after your pull request is made. Your Pull Request will be merged soon if approved by maintainers. Happy contributing.

Hey @srini047 , please follow the given PR structure.
Give PR title as <name--x
example
srini047-day-5
next time take care :)

Hey @srini047 , please follow the given PR structure. Give PR title as <name--x example srini047-day-5
next time take care :)

Sure. Forgot this time.


Illegal instruction when fusing layers

I'm trying to run the detector on my Odroid N2+ on Ubuntu 20.04. I have tried a few different images, all result in the same output below:
# python3 detection/run_detector.py "md_v5a.0.0.pt" --image_file "horse.jpg" --threshold 0.1 Running detector on 1 images... PyTorch reports 0 available CUDA devices GPU available: False Using PyTorch version 1.13.0 Fusing layers... Illegal instruction

It looks like you are using a version of PyTorch that isn't compatible with MegaDetector v5; we recommend following our instructions for setting up a compatible Python/PyTorch environment.  If you want to do this outside of Anaconda, you'll be in unsupported territory, but you should be able to make it work if you use the package versions from our environment file and the specific YOLOv5 commit recommended in our setup instructions.
Since I'm 99.99% sure this is the issue, I'm going to close this out, but let us know if you are still having issues in our recommended environment.

I followed the setup instructions to the letter and installed conda. Unfortunately, it could not locate some packages. I suspect that CameraTraps is incompatible with ARM devices. The CPU is a hexacore Cortex-A73 with a Mali GPU.
`conda env create --file environment-detector.yml
Collecting package metadata (repodata.json): done
Solving environment: failed
ResolvePackageNotFound:

conda-forge::cudnn=8.1
pytorch::pytorch=1.10.1
pytorch::torchvision=0.11.2
`

Fascinating!  You're right that support for this device is unsupported; the only non-Intel device for which we currently have partial support is the M1 Mac, which is also ARM, but it's an ARM platform for which all the dependent packages exist, most notably PyTorch.
But... if you want see how far you can take this, maybe delete your conda environment, then re-create it, but instead of using "environment-detector.yml", use "environment-detector-mac-nomkl.yml" (just added recently, you'll need to update your copy of the repo).  This environment file includes the "nomkl" package, which will tell other packages not to depend on Intel-specific instructions, and it does not include cudnn, which definitely doesn't exist for this platform.  That won't get you any closer to using your GPU, but it may get you closer to a successful install that uses your CPU.
Unfortunately if the requisite version of PyTorch doesn't exist for this platform, we're likely just out of luck.  If you can find other documentation about getting PyTorch to work on this architecture, maybe you can mix and match.
Let us know if you figure something out!

If you are wanting to go full-experimental you could try building PyTorch using the Vulkan backend (https://pytorch.org/tutorials/prototype/vulkan_workflow.html). Vulkan is an alternative GPU API (cf. CUDA) that is mostly aimed at mobile devices. I have no experience with it or the Odroid, but if this works it could make a lot of other cheap single board computers into useable image processors (e.g. raspberry pi). Good luck!


GM: remove externalIPs when creating k8s service

The 'externalIPs' is unnecessary, and in some environment can result in the correspoing
kubelet can't reach api server, and then node unreachable status.
Signed-off-by: llhuii<EMAIL_ADDRESS>

/lgtm

The way between cloud workers and edge workers can be configurable, not only support NodePort.
Because once edgemesh has been installed and enabled, we can just use ClusterIP instead.

The corresponding issue #202

/approve


Song title doesn't get extracted correctly

The title in the metadata of the generated mp3 seems to always be the full song the name of the YouTube video whether use_title is set to true or false.
I know this is only a small project for educational purpose, but i would really appreciate if you could take a look at it.
The overall problem seems to be an HTTP error 400: Bad request when trying to download the API page. So there is no metadata at all except for the artist name.

It looks like there was an update to YT API and yt-dlp needs an update. I will update the release in a bit.

Issue should now be fixed in latest release. Thanks for reporting this! Let me know if there's further issues.
https://github.com/onnowhere/youtube_music_playlist_downloader/releases


WIP autoloader autogen + packages

Motivation

Test plan

See included automated tests.

cc @aadi-stripe

Subsumed into https://github.com/sorbet/sorbet/pull/5216


[Bug] The partition expire was not correctly triggered during the commit execution.

Search before asking

[X] I searched in the issues and found nothing similar.

Paimon version
0.8
Compute Engine
JavaAPI
Minimal reproduce step
According to the examples in the documentation, this is how we perform the commit. Taking BatchWrite as an example, after writing the data, we need to create a new instance of the BatchTableCommit class each time to execute the commit.
// 3. Collect all CommitMessages to a global node and commit
BatchTableCommit commit = writeBuilder.newCommit();
commit.commit(messages);

Based on the following call chain, we can infer that each time a BatchTableCommit instance is created, a TableCommitImpl instance is ultimately created within it. In its constructor, a PartitionExpire instance is passed as a parameter.
- org.apache.paimon.table.sink.BatchWriteBuilderImpl#newCommit
  - org.apache.paimon.table.AbstractFileStoreTable#newCommit(java.lang.String)
    - org.apache.paimon.table.AbstractFileStoreTable#newCommit(java.lang.String, java.lang.String)

Based on the following code, we can infer that each time a TableCommitImpl instance is created, the org.apache.paimon.AbstractFileStore#newPartitionExpire method is called to create a new PartitionExpire instance.
return new TableCommitImpl(
                store().newCommit(commitUser, branchName),
                createCommitCallbacks(),
                snapshotExpire,

                // creates a new PartitionExpire instance
                options.writeOnly() ? null : store().newPartitionExpire(commitUser),

                options.writeOnly() ? null : store().newTagCreationManager(),
                catalogEnvironment.lockFactory().create(),
                CoreOptions.fromMap(options()).consumerExpireTime(),
                new ConsumerManager(fileIO, path),
                coreOptions().snapshotExpireExecutionMode(),
                name(),
                coreOptions().forceCreatingSnapshot());

Based on the constructor of the PartitionExpire class, we can infer that when the instance is initialized, lastCheck is set to the current time.
public PartitionExpire(
            RowType partitionType,
            Duration expirationTime,
            Duration checkInterval,
            String timePattern,
            String timeFormatter,
            FileStoreScan scan,
            FileStoreCommit commit) {
        this.partitionKeys = partitionType.getFieldNames();
        this.toObjectArrayConverter = new RowDataToObjectArrayConverter(partitionType);
        this.expirationTime = expirationTime;
        this.checkInterval = checkInterval;
        this.timeExtractor = new PartitionTimeExtractor(timePattern, timeFormatter);
        this.scan = scan;
        this.commit = commit;

        // Initialize lastCheck to the current time.
        this.lastCheck = LocalDateTime.now();
    }

After BatchTableCommit is created, based on the example, we immediately start the commit.  When the commit is completed, the org.apache.paimon.operation.PartitionExpire#expire(long) method of the PartitionExpire instance is called, as shown in the following code, to check for partition expiration.
public void expire(long commitIdentifier) {
        expire(LocalDateTime.now(), commitIdentifier);
    }

@VisibleForTesting
    void expire(LocalDateTime now, long commitIdentifier) {
        if (now.isAfter(lastCheck.plus(checkInterval))) {
            doExpire(now.minus(expirationTime), commitIdentifier);
            lastCheck = now;
        }
    }

But at this time, lastCheck is set to now because it was just initialized. Using the default value checkInterval=1h as an example, lastCheck.plus(checkInterval) would be one hour later. Therefore, now.isAfter(lastCheck.plus(checkInterval)) always results in false, causing the partition expiration to be skipped.
And because the BatchTableCommit can only perform a single commit, the next time we execute a commit, we will use a brand new PartitionExpire instance. This causes our commits to always fail to trigger the partition expiration check.
Please help me check if my logic is correct or if there is an issue with my usage.
What doesn't meet your expectations?
The partition expiration parameters set on the table did not take effect because they were not correctly triggered during the commit.
Anything else?
No response
Are you willing to submit a PR?

[X] I'm willing to submit a PR!

If my logic is correct, then I believe this issue is caused by the PartitionExpire instance not being reused. It can be resolved by recording the instance object in the upper layer AbstractFileStoreTable and reusing this instance object each time a TableCommitImpl instance is created.
I look forward to your response and feedback.

in a stream env, StoreCommitter holds TableCommitImpl, so expiration of partition works as expected。But in a batch env, if you create TableCommitImpl every time, sure there will be a new PartitionExpire every time and PartitionExpire#expire() will not be executed。but in both stream env and batch env, paimon uses TableCommitImpl to commit changes, there's no other way to differ it's a batch env or stream env.
class TableCommitImpl implements InnerTableCommit

interface InnerTableCommit extends StreamTableCommit, BatchTableCommit

i  think maybe we can add a commit method to distinguish diffrent env, like this

public interface TableCommit extends AutoCloseable {

    /** Abort an unsuccessful commit. The data files will be deleted. */
    void abort(List<CommitMessage> commitMessages);
   /** newly add **/
   void commit (List<CommitMessage> commitMessages, EnvIdentifier env)
}

both StreamTableCommit and BatchTableCommit adapt to this new commit method.
Overall, Paimon is a stream-first computing engine, and some designs do not take batch processing into consideration.
or maybe they want you to use a seperate Partition Expiration to doExpire. just like what they do in PartitionExpireTest, to new a Expire to do Expiration.  And maybe there should be a PartitionExpirationProcedure for spark engine too.

Just need add parameter isEndInput for committer to distinguish batch or streaming mode.只需要添加参数 isEndInput 供提交者区分批处理或流式处理模式。

My issue is not that the submitter cannot distinguish between batch processing and streaming modes, but rather that the BatchWrite I am using cannot be triggered at all. Your commit did not resolve my problem.


[h5 mapping] Use ub or ub_matrix pending

The implementation is fine. Waiting for NeXus feedback
https://github.com/nexusformat/definitions/issues/559

This PR will update #719 and #722 if needed.

ub_matrix chosen


Handling entities

DocBook entities (like &version;) need to

be converted to asciidoc {version}
be defined at one place

https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/#attributes-and-substitutions shows how to define entities at the top of the file. Top-of-file definitions are hard to implement with a streaming converter like docbookrx. Therefore, the entity definitions should go to a separate file to be included at every asciidoc header.
Actions

create suse_entities.adoc
include this file for every document
report undefined entities, these must be added to suse_entities.adoc

This one is hard. xmllint does it right (replacing known entities, leaving unknowns in place), but Nokogiri either complains about "unknown entity" (strict parsing) or replaces unknowns with "" :disappointed:

visit_entity_ref does the trick!

We can close this right?

No, we can't. Still doesn't work :disappointed:


chmod doesn't work?

chmod doesn't seem to edit permissions. The command registers fine in bash, but the changes are not made to the actual files.

Is this inside /mnt/ NTFS drives? We explicitly do not change Windows ACLs on them today based on chown/chmod. These commands work with full fidelity on the Linux filesystem in the lxss folder.

I'm a bit of a noob, so bear with me. But if I understand this correctly, chmod won't work on any files contained in the /mnt/[ntfs dive] partitions? BUT will work fine in the /.../lxss folders and/or other linux systems?

Yes you are correct, it works inside the lxss folders where we have /home folder etc and we adhere to strict Linux rules. For files in the /mnt/c/* locations we do not want to modify Windows ACLs.

I understand you do not want to map permissions to NTFS ACLs. If WSL does it at all, it should map POSIX ACLs rather than traditional permissions.
But could you at least map writable permissions to read-only attributes under /mnt/c/? It will fail to write read-only files anyway, but Linux apps can't tell it will fail until it actually tries to write the file because the permission pretends to be writable.

Is there any plan in the future to allow chmod to "work" on /mnt/c?
There are several tools that create conventions around the permissions of a file to determine how to handle it.
Ansible, for one.

We will be tracking\prioritizing which features to light up next by looking at the feedback provided at the wpdev portal. We appreciate your feedback and please make sure to provide it through the wpdev portal as well.
https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo

Cross-reference; user voice request for ansible as master.
https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/suggestions/13741026-ansible

i think this is bad structured, example: for install "x" app i must have 755 permision, okay so try to use chmod but only works on lxss directory so... move the app from windows to lxss directory to use chmod buuut from linux i simply can´t see files when comes from windows directory only when are created from linux.So whats next? i simply cant use chmod in /mnt/c and simply cant see files in lxss directory

i think this is bad structured, example: for install "x" app i must have 755 permision, okay so try to use chmod but only works on lxss directory so... move the app from windows to lxss directory to use chmod buuut from linux i simply can´t see files when comes from windows directory only when are created from linux.So whats next? i simply cant use chmod in /mnt/c and simply cant see files in lxss directory

This isn't a priority for us and we have no plans to support this ask in the appreciable future. Closing for now.
If you'd like us to reconsider, please find/upvote this issue on UserVoice and share a little background on your scenarios.

many things that people use every-day won't ever work:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0777 for '/mnt/c/Users/test/web/web.pem' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /mnt/c/Users/test/web/web.pem

Any advice, rather than duplicating our files in a filesystem that is difficult to edit?

If this is ubuntu on bash truly for helping developers to do more on windows this is really must do.
I use vagrant on windows and I can work in www folder on my windows folder system. So, I don't have to use terminal to write my code. I use sublime text and have Projects folder and I keep all my www virtual server folders in there. this makes it easier to develop.
You can't do this with ubuntu on bash. this alone makes it no developer friendly at all.

@erdemece -- I do that all the time; it works great for me.  What specific problems are you seeing?  Please include (by copy&paste) the exact command-line command that you are running and the exact text of the error message that you are seeing.
For what it's worth, I as a WSL user have heard a lot of people complaining about this.  In my personal experience, around 15-20% of them have a very real use case, something that they can't do on WSL right now.  Those are real people with real use cases, so in my opinion this should absolutely get fixed.  But for 80-85% of the use cases I've heard, devs actually can do exactly what they want to do with either a very minor change to their workflow / a simple trick that they just didn't know about, or by changing a setting in some application, or sometimes WSL is actually working just fine and they just forgot to configure some piece of their dev environment on the new machine.

Example use case: SSH on both WSL and something else like Cygwin or PuTTY.  I can symlink my Windows .ssh directory into the WSL system (cd ~; ln -s /mnt/c/Users/me/.ssh.  I don't have my Windows box in front of me so I can't double-check that path).  With this setup, my SSH config and keys would be identical and I don't have to copy duplicate keys to each host.
Solution idea: perhaps instead of just globally setting NTFS permissions to 755, you could instead set the NTFS permissions to the current umask value.  With a umask of 755, it would be identical to the current behavior.  But, you could then set a umask of 700 to allow things like ssh to work.

@aseering I'm not sure how proficient you are with bash or linux systems. Please, see my use case above.
One of the most trivial things you might want to do with bash is to use a program called "ssh" to open other linux boxes on the cloud. With the current windows-on-ubuntu setup, you can't use ssh properly, since you can't use chmod command to configure your ssh server keys.
Hope it helps you to understand. thanks!

@mufumbo -- yep, your use case definitely makes sense to me.  Ditto for @computergeek125 ; it sounds like a very similar use case.  I use ssh all the time; I'm quite familiar :-)
As a workaround, could you simply have two copies of your SSH keys, one in a Windows-accessible directory and one in Linux?  Or do you change them often enough, or have enough of them, that this would be problematic?  If (for example) you have one key and you rotate it once per year, will the amortized cost of copying it to two places be prohibitive?  Of course, if you have lots of keys and/or use a key-management tool, then you're right that there is (to my knowledge) no great workaround right now.
I didn't mean to refer to you in my original comment.  I meant to refer specifically to @erdemece , whose concern seemed to be (if I understand it correctly) developing a Web app using Windows tools while serving it via Apache.  Apache is, generally speaking, happy to serve any files that it has access to and that are within its DocumentRoot (or that Apache is otherwise configured to serve).  If Apache isn't seeing the files, I would ask whether Apache is pointing directly at DrvFs or if it's pointing at a symlink.  In the latter case, I'd ask whether Apache has FollowSymlinks set correctly.  If it's pointing directly at DrvFs, I would ask whether Apache's own (Allow/Deny) permissions are set up to allow it to serve from that directory.  I can keep going for a while with the decision tree here -- basically, @erdemece 's particular report was very broad; the limited information provided so far could be pointing to any of several WSL limitations as well as a variety of ordinary system misconfigurations.  I just want a more-precise bug report :-)

@computergeek125 -- that's an interesting idea, but, a concern:  Linux permissions have two aspects.  The umask corresponds to the second aspect -- what is the file's owner/group allowed to do with the file?  The first is, who is the file's owner?  DrvFs doesn't track file ownership either; everything is owned by root.  If everything in DrvFs inherited root's default umask, then you would not be able to edit files in DrvFs as an ordinary Linux user, which I think would be frustrating to a lot of people.  And while most (not all!) WSL installations do have a default non-root user account, it's common to create additional users.  So, if WSL picked one user account to own the files, this would create problems for the other user accounts.
I suppose DrvFs could report that files are always owned by the "current user" -- whatever process is asking, it checks what user that process is running as, and reports files as being owned by that user.  But that seems to me like a risky level of magic...

Risky magic indeed.  I temporarily forgot that aspect.

@aseering yes, i tried those work-arounds, but in the end of the day the idea was to use windows for UI management and ubuntu as bash. I found it painful/impossible to have to deal with filesystems that can't communicate. (it was easier to install linux in a virtualbox machine and use bash from there, which is too painful too)
Do you think it would be possible for the ubuntu subsystem to have it's custom chmod's for windows FS in memory? That would solve many problems.

@mufumbo -- I'm not a WSL developer; I'm just a user.  (WSL devs have the "Member" or "Owner" tags on their posts.)  So, as to whether the permissions could be kept in memory (presumably in lxss somewhere so that they would be scoped to the current user) -- I'm sure it would be technically feasible, as long as you don't have too many files, but I'm not in a position to do it :-)
As a user, I'm trying to do something that's very similar to my reading of your description above, and it works great for me.  Small up-front cost; zero ongoing cost.  Vastly easier for me than a VM.  But it clearly doesn't work well for you.  So it seems to me that there's some difference that explains why things work for me and not for you.  Given that there fundamentally isn't one single simple clear way to map Linux permissions to DrvFs (do they affect Windows permissions?, do different Windows users' bash installs see the permissions?, etc), I think there's a reasonable chance that whatever you're hitting could be relevant to the design decisions that the WSL team might decide to make in the future.

@aseering thanks so much for your help and emphaty!
I was so excited when I saw BashOnWindows that I bought a 32gb ram $3300 machine and decided to try windows. Unfortunately, it's not there yet and I have to go back to the lame apple hardware.

Simple use case:
Without chmod support it isn't possible to login to an Amazon instance. That requires ssh -i support.
I use the same script on OSX and linux, but it doesn't work on Windows because of this limitation.

@hendorog --  SSH keys are actually discussed a bunch in this thread already, including workarounds.  I use AWS all the time from WSL by placing my keys in ~/.ssh.  Could you elaborate on what about your particular situation makes those workarounds difficult for you?  For example, do you need to store your keys alongside your script, and it would be annoying to (for example) place them in ~/.ssh and symlink them to the directory of your script?  (ssh checks file permissions, not symlink permissions.)
( @mufumbo -- no problem; sorry I can't actually fix this.  Ooh, that's a nice machine.  It's probably poor form on a Windows forum, but I'm tempted to suggest making a Hackintosh :-) )

@aseering Yep the workarounds work, but workarounds are just that. The issue is that scripts using AWS would all need to be modified to support Windows, or symlinks used etc.
ssh is just such a fundamental tool in unix world, AWS is very widely used, and key based login is more the norm than the exception now.
Also, off the top of my head I thought from many years ago NTFS was posix compatible. So I thought implementing chmod/chown would be possible. Implementation left as an exercise for the reader of course :)

Another use case is web developers running webapps under WSL but editing in Windows, which I assume is extremely common unless I'm doing something wrong/weird. To do this the source has to be under /mnt/c which is all root:root. So I either have to run the webapp as root or my app has no write access to its working directory.

@hendorog -- one challenge with using NTFS POSIX ACLs is, who would own the file?  NTFS ACLs are global to all users on the machine.  But each Windows user account has its own separate set of Linux users.
(I for one would love to see real POSIX ACLs be used here, and I can think of a few different ways to do that.  Just stating one place in which the concepts don't map in the way that one might like.)
@matthewrk -- it's true that the files are owned by root, but it's not necessarily true that only the owner of a file can edit that file.  In this specific case, the files have permissions 0777, which means that all users can edit the file regardless of who owns them.

@aseering you're correct! It was slightly blurred for me because I'm using rsync to workaround issue #873 which wasn't copying the permissions. With that knowledge though I should be able to fix it, thanks very much.

@aseering -- there would need to be a mapping between a linux user and a windows user, which I think is how the posix interface was supposed to work?

I've found a solution!
Basically the problem is NTFS or exFAT does not have any notion of POSIX inodes, or any way to store a file permissions. The solution is to create an EXT4 partition (I did it with a bootable ubuntu flash drive) and mount it on windows with something like ext2fsd (very easy to set up). After you do that everything magically works which is very surprising but ill take it :)
Notice I am able to set permissions and the owner isn't root

As a side note, this issue caused me a problem just now. I have been using WSL for some time now, and have been working entirely within WSL, so the files had correct ownership/permissions. However, I wanted to try out VSCode, but to use that I needed to move all my files into /mnt/c. I did that using rsync -a specifically to maintain the file attributes...the files copied fine, of course, but all ended up as root.root and 0777, which was unexpected.
This wouldn't be a problem, except it was a git clone and now git status tells me that every file has been changed, and I've done other relevant changes...unfortunately, it doesn't say what has changed and I have to do a git diff to see that it is just the file mode that has changed. I have ended up using git diff | grep -v '^(old\|new) mode' to help me see the real changes.
In summary, it is quite irritating - best to do a commit right after the files are moved, and then do more development changes.

@aseering none of the "workarounds" here fix the problem, so please dson't asume they do. I copied my ssh keys from their original windows location into wherever my ~/.ssh directory really is, but chmod still did nothing.

Having the same issue after a 'git stash' operation on files under /mnt/c/...
The changes are stashed but the permissions change (from 644 to 777 in my case) and the files seem like they are not stashed.

'git diff' showsold mode 100644
new mode 100755

'git reset --hard' doesn't have any affect on the files.
'chmod 644 ...' doesn't have an affect either.
It is now impossible to do 'git stash pop' or even 'git stash apply' because of:

error: Your local changes to the following files would be overwritten by merge

I installed WSL a few days ago hoping to replace my cygwin setup, but for various reasons, chmod being one of them, the feeling is that WSL is not yet polished enough.
The question is: Why was this issue closed? it's is not resolved.

Yeah I am also curious why this issue is closed.
I am experiencing the similar issues, it'd be nice to have a resolution, especially since this is being touted as the new hawtness, and a reason i considered trying windows again.
or let us know that this will never be fixed (it has been a year already since this was reported) so we can move on and stop sinking time into WSL.

So, the underlying issue here is that DrvFs is simply exposing the Windows NTFS filesystem at /mnt/c/; NTFS is not typically used with Linux permissions, and WSL doesn't yet expose them at all.  I don't know why this is currently closed; I'll let the WSL team comment on that.
I will add that Windows git doesn't necessarily handle file permissions very well either.  The reason that you don't see it is that, as I understand it, the Windows client will do the equivalent of git config core.fileMode false automatically.  Unfortunately, the official Linux git client is not clever enough to do this automatically if needed, but you can run that command yourself if needed.  This is also an issue if you use Windows filesystems from real Linux, so while WSL ought to improve this in my opinion, I also think it would be fair to ask git to fix their Linux client to work as well as their Windows client in this scenario.
(And, yes, WSL is still explicitly in beta.  As a result, the intended expectation is that there will be rough edges like this.  This particular issue has been around ~forever, and I for one would like to see it fixed, but permissions are challenging to really do right, and WSL users have so far voted it as a relatively low-importance issue.  If you do care about it, I suggest that you either get engaged and upvote things that you care about, or, frankly, put WSL aside for another release or two and come back when it has built more stuff and is ready to give you the experience that you expect.  It is still evolving very quickly.)

There's no sense for this issue to be closed, please re-open it.
Who we need to contact at Microsoft to make the change and get craving users what they want?

Agreed with the above comments, this issue should not have been closed. File system support and performance is an area that we are currently spending a lot of effort to improve. We have some great improvements in the pipeline but they are in progress so it's hard to say for sure when they will land.
Reopening this issue.

git config core.fileMode false helped me, fwiw.

This one bit me today.  I've been using WSL to test NodeJS apps.  The code lives on my Windows filesystem, and I edit it with VS Code, and have a soft link to the code directory from lxss.  Everything's been working great, except today I couldn't add write permissions to a deployment script.  Git (running from WSL) didn't check in the file with execute permissions, and there was no way to add the permission from Bash.  And obviously filemode false wouldn't help here.

@davidmaxwaterman. Why rsync instead a symlink ?

@Absurdo I presume you're referring to my attempt to move my files from inside WSL to the /mnt/c filesystem? I didn't use symlink under the assumption that Windows wouldn't know what a linux symlink is and wouldn't be able to 'follow' it into the WSL filesystem. If a symlink from Windows into WSL would work, then surely I could just run VSCode directly on the WSL files without moving them at all.
Did I misunderstand your question?

having confusing troubles with permissions brought me to this issue, would love a fix

Well could we look into ntfs-3g. I does the reverse, ntfs on linux. They have a User map.

Hope to save somebody a Google search.
Came here to figure out why chmod 400 with bash/ubuntu on Windows seemed to not work. Did another Google search and found this:
https://mikethecanuck.wordpress.com/2016/09/27/why-doesnt-chmod-under-bash-on-ubuntu-on-windows-10-actually-take/
My setup is exactly how he described it. Stuff under my /mnt drive was owned by root. In home, I had things own by me.
My key used to be in a /mnt directory, and I wasn't able to get chmod 400 to take. I copied the key to ~/, chmod worked. scp'ing to my ec2 instance now works. That chmod didn't "work" was discouraging. Still, doesn't seem like I'm the only that missed this, and, if this works for more folks, I'd say it'd make sense to somehow make this consequence more obvious or make things easier for people setting stuff up, if it's truly lazy/bad setup that causes this.
I can believe that I was lazy during my initial setup of ubuntu/bash on Windows & that would hurt me, but I don't remember what I did now why things are working. My Linux knowledge is usually enough to get by, but it's not much more than that.

Just posted a reply to the article above:

Nice to see you're making progress, but it is important to understand the challenges in mapping the different file permission semantics between Linux DACs and NT ACLs:

DAC is a much simpler permissions model than ACLs and DAC doesn't support many of the permission semantics that ACLs provide for.

When you access files stored in your Windows filesystem via the /mnt/... folder, remember that WSL is expressing your effective-calculated permissions based on the credentials of the user & currently running process (I.e. Bash running as the logged-in user). For example, if you ll /mnt/ you'll notice that 'Program Files' is not writeable, because the current user is not given write permissions to this folder by default.

If you want to express specific Linux DAC permissions on a folder and/or files, then you'll need to copy those files into the Linux side of your filesystem where we DO maintain full DAC permission support. However, doing this prevents Windows tools from being able to access those files ... at least right now (Dec 2017).

We ARE working on improving this scenario, by exposing the Linux filesystem to Windows & Windows tools, but for now you'll need to be aware of the above and choose the most appropriate path.

Let me know if you have any further questions on this matter.

Marking this closed as per https://github.com/Microsoft/WSL/issues/81#issuecomment-356081660

Thanks, guys. I tested, and it worked well under sudo.
Although I need to open Ubuntu, stop all processes that are using /mnt/c and then restart with
sudo umount /mnt/c
sudo mount -t drvfs C: /mnt/c -o metadata

This needs to be done every time an Ubuntu terminal is opened.
By any change will this be a default in the future, or any way to make this persistent across sessions?
Thanks again.

@zanona If you are on build 17134 you can use wsl.conf. https://blogs.msdn.microsoft.com/commandline/2018/02/07/automatically-configuring-wsl/

Wait, what goes in wsl.conf? To do @zanona's thing automatically?

@monkeysuffrage with a linux editor create a /etc/wsl.conf file with this content
[automount]
enabled = true
options = "metadata"
mountFsTab = false

Close the Ubuntu window and open again. This will enable metadata for every fixed drive.

I have tried (build 1803) both - with and without - the wsl.conf suggested by @onomatopellan but chmod just doesn't work.
Note I'm using Debian, not Ubuntu but they're fundamentally the same afaik...

@dragGH102 Just tried on Debian WSL and it works. What's your output of cat /etc/wsl.conf ?

@onomatopellan weird indeed. There was a typo but even after changing it to
[automount]
enabled = true
options = "metadata"
mountFsTab = false

(output of cat)
I still get the issue. I have restarted Debian app (not Windows - unsure whether that's necessary)

@dragGH102 When wsl.conf is applied you can see the metadata option on mount output.  Seems some people need to reboot Windows in order to get wsl.conf working but I think it's because some WSL picoprocess remains on memory.

@onomatopellan thanks for clarifying. I can confirm that after a restart, it works

If you'd like us to reconsider, please find/upvote this issue on UserVoice and share a little background on your scenarios.

@bitcrazed what was the point of asking to create a poll if you just closed the poll without providing a solution, nor you re-opened this issue?

Ah, nvm, per last comments in this issue it seems to be solved. Probably worth commenting on the user-voice page as well, sorry for the noise.

To Everyone Arriving here from Google
To clarify and summarize the solution to the original problem of this issue, I will explain how to apply the fix without restarting your computer.

Open /etc/wsl.conf with your favourite text editor.
Paste the following into it:

[automount]
enabled = true
options = "metadata"
mountFsTab = false

Close all WSL windows!
Open PowerShell.
List your WSL distributions:

wsl --list

Pick the one you want to fix. We select "Debian" as an example.
Terminate the Debian WSL instance:

wsl --terminate Debian

Open a new Debian WSL window. It should load for a couple of seconds, which already indicates that the whole WSL was terminated, before.
The fix should be applied now. If it still does not work, repeat all above steps and make absolutely sure, that no WSL windows remain open when applying the fix.


Broken link in index.rst

There is a link just above https://github.com/efabless/caravel_user_project/blob/main/docs/source/index.rst#running-openlane that goes to https://github.com/The-OpenROAD-Project/OpenLane/blob/master/docs/source/hardening_macros.md. This page does not exist.

It looks like maybe it should go to https://github.com/The-OpenROAD-Project/OpenLane/blob/master/docs/source/usage/hardening_macros.md?


How to simplify code examples from readme?

Hi :) Thank you for this work <3
Came here from https://github.com/tushar10sh/sveltekit-oidc/issues/6#issuecomment-1832113542
I have tried to go through readme, started copying code but it seems too complicated to me. I have too little experience with authorization/authentication, and zero experience with Auth0, Keycloak, OpenID and JWT. Could you please help me understanding what's going on here? :D
I am building pretty simple frontend app using sveltekit (ssr) and some open-id realm which is being used in other services/apps. So the main question for me is why do I need DB? How this would be implemented on frontend without SSR? I don't really understand, how to simplify code examples from readme. I would like to use SSR and fullstack benefits, but no heavily rely on it. For me this is just looks scary because I don't know anything about DBs, how this could affect performance of my SSR app? Which db to choose? etc..
So the question is how can I drop DB from this setup and which features/abilities I'll loose? And maybe you'll understand me if you'll compare readme from this repo with this one: https://github.com/tushar10sh/sveltekit-oidc#readme which sadly was abandoned and no longer runs on latest sveltekit :(
Also, I have no idea how my auth server is implemented, I think it uses keycloak instead of Auth0, can this be another problem for me? Do I need to configure Auth0 differently?

import orm from '<<sequelize orm project>>'
As a frontend dev who mainly makes HTML/CSS layouts (yet), this line killed me :D After this line I decided to open the issue, because I think, my app doesn't really need it's own DB

import orm from '<<sequelize orm project>>'
As a frontend dev who mainly makes HTML/CSS layouts (yet), this line killed me :D After this I decided to open the issue, because I think, my app doesn't really need it's own DB

An ORM or database isn't needed, I included it as I was creating the readme from my use case.

So the question is how can I drop DB from this setup and which features/abilities I'll loose? And maybe you'll understand me if you'll compare readme from this repo with this one: https://github.com/tushar10sh/sveltekit-oidc#readme which sadly was abandoned and no longer runs on latest sveltekit :(

Let me see if I can provide a simplified example based on what is provided in that project. It might not be today but I will try for this week.

Let me see if I can provide a simplified example based on what is provided in that project. It might not be today but I will try for this week.

Tysm <3 and for your responsiveness

Idk, I think my use case is not really for this repo and your lib. I found authjs.dev which supports sveltekit, keycloak, auth0, oauth2 and all stuff out of the box and "as is": https://authjs.dev/reference/sveltekit
Feel free to close the issue :)

Understood. I was hoping to get time in on your request but clearly haven't. When I was first working on this there were not any sveltekit integrations available so I had to hack together my own. The one you have referenced seems much more mature and document even if they only recently added support for sveltekit.


Nelson v<IP_ADDRESS>20

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[X] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hi, @stephengillie, @steveh (?)
I need support here
https://dev.azure.com/ms/winget-pkgs/_build/results?buildId=528002&view=logs&jobId=68997d86-8ece-5ae8-3ac5-ccdbfa458731&j=68997d86-8ece-5ae8-3ac5-ccdbfa458731&t=b79910ce-dca5-5e27-ad7f-bd285eecb5a2
What is the error ?
Thanks

Hi, @stephengillie, @steveh (?)
I need support here dev.azure.com/ms/winget-pkgs/_build/results?buildId=528002&view=logs&jobId=68997d86-8ece-5ae8-3ac5-ccdbfa458731&j=68997d86-8ece-5ae8-3ac5-ccdbfa458731&t=b79910ce-dca5-5e27-ad7f-bd285eecb5a2
What is the error ?
Thanks

You have the x64 version of VCRedist listed as a dependency for all installers, but the x64 version of VCRedist can't be installed on x86 machines. So, you would need separate dependencies entries for each installer - the x64 version of VCRedist for x64 machines and the x86 version for x86 machines


"Failed to switch back to vt2estoration" [sic] error message on startup

I'm able to run Sway inside Awesome WM, but when running in a different VT it prints this error message and exits (It looks like there's an issue with printing \r instead of \n resulting in the error message being clobbered). Could this be an issue related to running X in a different VT or to proprietary nvidia drivers?

Sorry for the late response. Running sway within x is a developer feature and is unsupported. You can use it if you want, but not file bugs about it.


Added Elevate Pause Validation

WI: W-11565903
Critical Changes
Changes

We've added validation for the Elevate pause functionality.

Issues Closed
Community Ideas Delivered
Features Intended for Future Release
Features for Elevate Customers
New Metadata
Custom Label

RD2_ElevatePauseInstallmentDateErrorMessage

Deleted Metadata

@daniel-fuller @npsp-reedestockton @ErinWiedemer I had to recreate my branch because I named it wrongly.


fix(org.jkiss.dbeaver.data.office): CB-1543 remove background from th…

…e excel icons

Why are they so thin and blurry now?


Aliasing/implies: What do we say about aliases for non-JSpecify annotations?

That is: Suppose that some project other than JSpecify declares an annotation @Foo and that that project (or even another project) declares an annotation @Bar with @Implies(Foo.class). Should this "work?"
Of course it can't possibly fully "work": I can annotate my custom annotation with @Implies(Deprecated.class), but javadoc and javac are never going to recognize my custom annotation as a way of deprecating things. But if some tools already recognize JSpecify annotations, including aliases in general, then maybe it's useful to be able to be able to define one class-scope annotation that implies both the JSpecify "defaults" you want and any other "defaults" you want (e.g., @ParametersAreNonnullByDefault or your custom @TypeQualifierDefault annotation). (Granted, if you're still using one of those two annotations in particular, that's probably a sign that you're supporting some tools that don't recognize JSpecify -- and thus won't recognize aliases :))
Of course, one question here is what counts as "a JSpecify annotation." Presumably we'd judge that based on the package name. But if we say that users can't create aliases for non-JSpecify annotations, then will users try to put their custom annotations under org.jspecify.ext.com.mycompany? (I guess this is the kind of thing that JPMS exists for.)
I'll file a related issue #183 in a moment.

Using your example, @Implies(Foo.class) public @interface Bar {},
And always starting from the naive view:
I use some API, which is documented as "JSpecify-compliant" (#handwave #notangent), to ask whether the Qux class has the @Foo annotation. Then I would expect to get true for either @Foo Qux or @Bar Qux.
Are there technical obstacles to that working, or other reasons why we might want it to not work?
Note that we can view @Implies as a special tool we use to provide behaviors we need, or as a bona fide "product" offering in its own right, that anyone can use in similar ways to how we ourselves use it. I'd always hope first that we can achieve the latter.

And so while there's nothing inherently fishy about @Implies(Deprecated.class), it doesn't affect javac because javac is not "JSpecify-complaint". (A savvy user might even guess that it isn't, because it "feels" lower-level than that.)
(Whereas, things you plug into javac (annotation proc? error prone?) are JSpecify-compliant or not depending on whether they call javac APIs directly or go through the neato keen library wrappers we could provide them......)

Please reopen if and when there are reasons to exclude non-JSpecify annotations from using @Implies with the same semantics we do.


[Improvement-5567][UI] Add project id in web ui url for sharing and project name in project page

Purpose of the pull request

[Improvement-5567][UI] Add project id in web ui url for sharing
[Improvement-5577][UI] Add Project Name in Project Page

This closes #5567, closes #5577
The past web ui url is like http://dolphinscheduler.org/dolphinscheduler/ui/#/projects/definition/list, and at present it will be http://dolphinscheduler.org/dolphinscheduler/ui/#/projects/2/definition/list

Verify this pull request
This change added tests and can be verified as follows:

Manually verified the change by testing locally.

Codecov Report

Merging #5568 (af05e5e) into dev (f8ecb53) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev    #5568      +/-   ##
============================================
- Coverage     46.87%   46.86%   -0.02%
+ Complexity     3792     3791       -1
============================================
  Files           605      605
  Lines         24800    24800
  Branches       2811     2811
============================================
- Hits          11626    11623       -3
- Misses        12068    12069       +1
- Partials       1106     1108       +2

Impacted Files
Coverage Δ

...er/master/dispatch/host/assign/RandomSelector.java
77.77% <0.00%> (-5.56%)
:arrow_down:

...r/server/worker/processor/TaskCallbackService.java
38.09% <0.00%> (-3.18%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f8ecb53...af05e5e. Read the comment docs.

Can this be released in 1.3.7?


Update google-api-services-bigquery to v2-rev20210313-1.31.0

Updates com.google.apis:google-api-services-bigquery from v2-rev20200719-1.30.10 to v2-rev20210313-1.31.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.google.apis", artifactId = "google-api-services-bigquery" } ]

labels: library-update

Superseded by #408.


Combining with react navigation?

With react navigation one is able to navigate back to previous scens by swiping from left to right. that works very well, but on scens with rn-scrollable-tab-view - the tab view steals the swipe most of the time and does a transition between the tabs.
React navigation uses the first 25px from the screen to capture the gesture for going back. Is it somehow possible to tell rn-scrollable-tab-view to now react for those 25px?

i used react native gesture for that

How did you use react native gesture to do that? @syzer