DOT named server names are converted into list of servers to connect to

We use a server name of IBMi.office.company.local, when I attempt to open ACS the extension asks me which server and it gives me a list like
IBMi
office
company
local

The README indicates it only looks for commas to separate the names.

Hello Winco
We can reproduce the issue here. We have fixed it, and will push a new
release real soon.
fre. 19. aug. 2022 kl. 17.47 skrev Winco @.***>:

We use a server name of IBMi.office.company.local, when I attempt to open
ACS the extension asks me which server and it gives me a list like
IBMi
office
company
local
The README indicates it only looks for commas to separate the names.
—
Reply to this email directly, view it on GitHub
https://github.com/NielsLiisberg/vscode-ibm-i-run-sql-with-acs/issues/5,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAVIPHRO7FDPKY7JU6R2P3TVZ6T7ZANCNFSM57BFQWIQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

👍
👍

Perfect !! Thanx for the feedback
On Mon, Aug 22, 2022 at 6:25 PM Matt @.***> wrote:

Updated and its working!
—
Reply to this email directly, view it on GitHub
https://github.com/NielsLiisberg/vscode-ibm-i-run-sql-with-acs/issues/5#issuecomment-1222597352,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAVIPHQZJFEI57VIHDFLIW3V2OSXPANCNFSM57BFQWIQ
.
You are receiving this because you modified the open/close state.Message
ID: <NielsLiisberg/vscode-ibm-i-run-sql-with-acs/issues/5/1222597352@
github.com>


Cosmetric tweaks in the CRUD list view

@williaster @georgeke
This was bugging me as sometimes the date would wrap in the middle in the list view. For the record the @renders decorator is provided by FAB (flask appbuilder) and allows to define a property for rendering a field. It's better than @property (which also works), because the sort options in the list views work and are bound to the field defined in @renders

Coverage decreased (-0.02%) to 81.605% when pulling e23dd9a32ae455d3738995f89c76c3aa25280537 on mistercrunch:tweaks into 6c333d50108f6ccb0c3997e9f687cfceb3e85552 on airbnb:master.

SImple & low risk, merging.


test: components testing integration

Description
This PR adds component testing integration to improve components stability.
Related Issue
No specific related issue. This PR aims to improve the overall testing capabilities of the project.
Motivation and Context
Component testing integration is essential to ensure the stability and reliability of compnents. By adding comprehensive component tests, we can identify and fix any potential issues or regressions, providing a more robust and dependable user experience. This PR will enhance the project's quality by improving test coverage.

I've moved the test configuration because it's easier to maintain the tests for each component in the component folder itself, which might mean deleting the ./tests folder. Looking forward to hearing from you

thanks!


@zephraph => Upgrade to Webpack 4, take 2

Another take at https://github.com/artsy/force/pull/2587

This is finally ready to go go go. Sorry it took a minute!

Changed the wrong branch >_>


Split references out of properties in .create

Codecov Report
Attention: 387 lines in your changes are missing coverage. Please review.

Comparison is base (7c00d95) 90.37% compared to head (a9ad80e) 89.28%.
Report is 230 commits behind head on beta/v4.0.

Files
Patch %
Lines

weaviate/collections/queries/fetch_object_by_id.py
40.42%
56 Missing :warning:

weaviate/collections/queries/base.py
69.86%
44 Missing :warning:

weaviate/proto/v1/base_pb2.py
0.00%
17 Missing :warning:

weaviate/collections/queries/near_audio.py
66.66%
15 Missing :warning:

weaviate/collections/queries/near_video.py
67.39%
15 Missing :warning:

weaviate/client.py
30.00%
14 Missing :warning:

weaviate/collections/queries/near_image.py
68.88%
14 Missing :warning:

weaviate/proto/v1/properties_pb2.py
44.00%
14 Missing :warning:

integration/test_collection_config.py
87.85%
13 Missing :warning:

weaviate/backup/backup.py
87.12%
13 Missing :warning:

... and 32 more

Additional details and impacted files
@@              Coverage Diff              @@
##           beta/v4.0     #658      +/-   ##
=============================================
- Coverage      90.37%   89.28%   -1.10%
=============================================
  Files            132      135       +3
  Lines          14827    16059    +1232
=============================================
+ Hits           13400    14338     +938
- Misses          1427     1721     +294

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


test result output research

One of the key requirements for this software project is that the test output be easily available and readable. An ideal solution would be to either somehow dynamically generate jUnit tests or manually write test output to XML format for display on a webpage.

http://junit.sourceforge.net/javadoc/org/junit/runners/Parameterized.html
JUnit can easily provide test output in the correct XML format. Using JUnit will also allow for better test setup by the use of JUnit Rules. http://junit.org/junit4/javadoc/4.12/org/junit/rules/package-summary.html


reduced_genome.sh gives no output

I am trying to run reduced_genome.sh on mm9 with dpnii digestion but it seems to freeze after producing the up.txt and down.txt files. When it did run to completion it deleted these files but left no reduced genome file

Is there an *oligomatch.bed file?

I have fixed it now. The problem was I needed to use a genome.fa file
from a different server location once I changes all the ${genome}.fas to
the file location it worked.
Carol
On 20-07-2017 23:19, Ramya Raviram wrote:

Is there an *oligomatch.bed file?
--
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub [1], or mute the
thread [2].

Links:
[1] https://github.com/rr1859/R.4Cker/issues/35#issuecomment-316846378
[2]
https://github.com/notifications/unsubscribe-auth/Ac6tnj4mLg-sxUd32yKhikP99j1zVhpaks5sP9J_gaJpZM4OeSPs

--
Carol Edwards PhD,
Department of Genetics
University of Cambridge
Genetics Building
Downing Street
Cambridge CB2 3EH
Phone    44-1223-333981

Hi Ramya,
I have managed to get to the R stage but 2 of my libraries fail the QC
as they are just under the 1 million reads threshold. Is there any way
to change this threshold because I want to do the analysis on these
libraries to confirm it is in agreement the the other analysis I have
performed?
Many thanks
Carol
On 20-07-2017 23:19, Ramya Raviram wrote:

Is there an *oligomatch.bed file?
--
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub [1], or mute the
thread [2].

Links:
[1] https://github.com/rr1859/R.4Cker/issues/35#issuecomment-316846378
[2]
https://github.com/notifications/unsubscribe-auth/Ac6tnj4mLg-sxUd32yKhikP99j1zVhpaks5sP9J_gaJpZM4OeSPs

--
Carol Edwards PhD,
Department of Genetics
University of Cambridge
Genetics Building
Downing Street
Cambridge CB2 3EH
Phone    44-1223-333981

The QC is only printed as a warning - you can still continue with the pipeline. If they are just under 1 million then I would go ahead if they passed all the other criteria and if you are particularly interested in interactions that are in close linear scale to your bait.

Dear Ramya,
Thank you for your reply.
I have tried to continue with the analysis
but running the near bait analysis fails on the 2 samples that have less
than 1 million reads as they do not produce the lowinter.bed and
highinter.bed files
this is the R input I used and error message.

my_obj = createR4CkerObjectFromFiles(files =
c("Bl6_BC_Br1_Mat1_aligned_rm_self_und.bedGraph",
"Bl6_BC_Br2_Mat2_aligned_rm_self_und.bedGraph",
"Bl6_BC_Br3_Mat3_aligned_rm_self_und.bedGraph",

"Bl6_CB_Br4_Pat4_aligned_rm_self_und.bedGraph",
"Bl6_CB_Br5_Pat5_aligned_rm_self_und.bedGraph",
"Bl6_CB_Br6_Pat6_aligned_rm_self_und.bedGraph"),

                   bait_chr="chr12",

                   bait_coord= 110779998,

                   bait_name = "Gtl2",

                   primary_enz = "GATC",

                   samples = c("Mat1_Br1", "Mat2_Br2", "Mat3_Br3",

"Pat4_Br4", "Pat5_Br5", "Pat6_Br6"),

                   conditions = c("Mat_Br", "Pat_Br"),

                   replicates = c(3,3),

                   species = "mm",

                   output_dir =

"/Running_4Cker/Gtl2_Brain_results/",

   enz_file=enz_file)

Bl6_CB_Br5_Pat5_aligned_rm_self_und.bedGraph has < than 1 million reads
( 945994 ). Does not pass QC.
Bl6_CB_Br6_Pat6_aligned_rm_self_und.bedGraph has < than 1 million reads
( 830300 ). Does not pass QC.

nb_results=nearBaitAnalysis(my_obj,k=5)
[1] "Building adaptive windows..."
[1] "Normalizing counts..."
[1] "Generating synthetic samples...."
[1] "Parameter estimation....."
Error in if (as.character(windows[i, 1]) == chr & windows[i, 2] <= end &
:
missing value where TRUE/FALSE needed

Could you let me know if there is something I can alter when I run this.
Many Thanks for your time.
Carol Edwards
On 22-07-2017 01:54, Ramya Raviram wrote:

The QC is only printed as a warning - you can still continue with the
pipeline. If they are just under 1 million then I would go ahead if
they passed all the other criteria and if you are particularly
interested in interactions that are in close linear scale to your
bait.
--
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub [1], or mute the
thread [2].

Links:
[1] https://github.com/rr1859/R.4Cker/issues/35#issuecomment-317142682
[2]
https://github.com/notifications/unsubscribe-auth/Ac6tnin4p3k6ixYXnD9JPR6MFzzJfD45ks5sQUhVgaJpZM4OeSPs

--
Carol Edwards PhD,
Department of Genetics
University of Cambridge
Genetics Building
Downing Street
Cambridge CB2 3EH
Phone    44-1223-333981

I have run into another issue with a second set of experiments. I have
run the near bait analysis but when running the differential analysis I
get this error.
Error in differentialAnalysis(obj = my_obj, norm_counts_avg =
nb_results$norm_counts_avg,  :
could not find function "quartz"
On 22-07-2017 01:54, Ramya Raviram wrote:

The QC is only printed as a warning - you can still continue with the
pipeline. If they are just under 1 million then I would go ahead if
they passed all the other criteria and if you are particularly
interested in interactions that are in close linear scale to your
bait.
--
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub [1], or mute the
thread [2].

Links:
[1] https://github.com/rr1859/R.4Cker/issues/35#issuecomment-317142682
[2]
https://github.com/notifications/unsubscribe-auth/Ac6tnin4p3k6ixYXnD9JPR6MFzzJfD45ks5sQUhVgaJpZM4OeSPs

--
Carol Edwards PhD,
Department of Genetics
University of Cambridge
Genetics Building
Downing Street
Cambridge CB2 3EH
Phone    44-1223-333981

Did you try a different value of k? Also how many reads does that the replicate that passed QC have?
Im assuming you are running this on a windows machine - I apologize I did not account for that :) I have added a line to change it to windows(). If you don't mind can you re-install the package and test it?  Thanks!

Hi, I re-installed the package and it all works now.
I have completed all my analysis using 4Cker and I was wondering if there is anyway to get the underlying values for the differential analysis. I have the bed file but this does not tell me how significant the difference is and in regions where both conditions are highly interacting which is the highest.

Hi,
I updated the script so that the output of DESeq2 is returned.
Ramya


Convert RazorSourceDocument to a SourceText + FileName

RazorSourceDocument is, today, mostly a copy/paste from Roslyn's SourceText, plus the file path of the text. There are a number of supporting types that were copied as well, such as RazorSourceLineCollection and TextSpan. Now that the compiler layer has a reference to Microsoft.CodeAnalysis, we can stop maintaining these copies and use them directly, allowing us to benefit from the perf work and bug fixing that has gone into them, and avoid having to convert to and from SourceTexts when talking to Roslyn.

Rebased on top of https://github.com/dotnet/razor/pull/9129. Will publish when that PR is merged.

@jaredpar @dotnet/razor-compiler for a second review.

@jjonescz can you please take another look?


Implement Type-safe Kotlin DSL

#544

I didn't change the documentation because I didn't really understand it.

I didn't change the documentation because I didn't really understand it.

The documentation is built using mdbook, I believe there are download links for the required executables in the wiki here on GitHub.
The source for the documentation consists of .md files. Those can be found in docssrc/src.
The documentation additionally uses compiled code so the code examples can be used in code without paying attention to the correct syntax. Its source resides in the commandapi-documentation-code. This module is the Bukkit module, there is not really documentation for Velocity yet.

Again, this should not be a replacement. This should rather be an alternative for those who want this.

Does that mean I should leave the method's arguments and processing as they are rather than changing them, and define a new method in another file?
The only incompatibility caused by this replacement is when specifying argument(..., optional = true) or argument(..., optional = false); you should remove optional = false or use optionalArgument(...).
Retrieval methods using get and cast are still supported. I just made it possible to use the getter inside the lambda.
https://github.com/JorelAli/CommandAPI/pull/545/files#diff-a396609c4f42dbc82e492e9976de00ceb4c97805935fc741902fbb6cb4eae000
https://github.com/JorelAli/CommandAPI/pull/545/files#diff-67d7c60b582802c1efad0034b5b7bf5da58e284935c795f2959d5aa5bab2e654
https://github.com/JorelAli/CommandAPI/pull/545/files#diff-db52ae2a394c8abc971e1c4845fb833df06243d1096b6e8938dd042ed4eead99
I only changed the optional tests and added some tests.

Does that mean I should leave the method's arguments and processing as they are rather than changing them, and define new methods in another file?

Yeah, that would be ideal.

The only incompatibility caused by this replacement is when specifying argument(..., optional = false) or argument(..., optional = true); you should remove optional = false or use optionalArgument(...).

I mean, technically you can do whatever here, just don't introduce duplicate methods like the ones that have the Optional in their name. That is something we definitely don't want.

Hmm, I just realized, we do have Delegated properties support for the Kotlin DSL.
That of course doesn't prevent this feature from being added but generally it is sort of the same functionality, right?

I think delegated properties are still syntactic sugar for CommandArguments#getUnchecked. You could still accidentally put the wrong class, and you wouldn't know until runtime when there's a ClassCastException or something.
commandTree("sendmessageto") {
    playerArgument("player") {
        greedyStringArgument("msg") {
            anyExecutor { _, args ->
                val player: String by args // At runtime: Inconvertible types, Player is not a String
                val message: String by args
                player.sendMessage(message)
            }
        }
    }
}

The changes here allow there to be a compile time exception. IDEs can also statically analyze the code and catch the error, which makes it easier for the developer to notice and fix.
commandTree("sendmessageto") {
    playerArgument("player") { getPlayer ->
        greedyStringArgument("msg") { getMessage ->
            anyExecutor { _, args ->
                String player = getPlayer(args) // At compile time: Inconvertible types, Player is not a String
                val message = getMessage(args)
                player.sendMessage(message)
            }
        }
    }
}

Yeah, true. I mean, it also depends on the variable name you put there so the type safety is still only sort of there.
I mean yeah, in the end a call to CommandArguments#get(String) as T is done because the unsafe CommandArguments#getUnchecked wouldn't exactly work here (as we don't exactly work with fixed types there I think)


Fixing 0% Vat Problem

If a user group is set to 0% VAT, the surcharge tax will set to 19%. This results in a negativ VAT and the Total is less then the price net.

1. Why is this change necessary?
2. What does this change do, exactly?
3. Describe each step to reproduce the issue or behaviour.
4. Please link to the relevant issues (if any).
5. Which documentation changes (if any) need to be made because of this PR?
6. Checklist

[ ] I have written tests and verified that they fail without my change
[ ] I have squashed any insignificant commits
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[ ] I have read the contribution requirements and fulfil them.

I tried it but it didn't worked. It seems, that the value is not an number.
The part has to be fixed by shopware anyway, because the hardcoded 19% are not a really good solution.

Hey @s-jakob,
thanks for your contribution. Please remember to sign the CLA.

Hey @s-jakob,
thanks for your contribution and sorry for the late response.
Unfortunately your change breaks the proportionate tax calculation feature which is why we decided to close this PR.
If this change is still important to you, please create a new issue on https://issues.shopware.com so people can up-vote this feature.


How do I use different tag files for different directories of a same workspace

The project I work is huge with plenty of directories & source files (C/C++/Python). My work involves a single module only on few files in a specific directory.
Currently gutentags is maintaining a single tags file in workspace root and updates it every time i modify files in a sub directory (my-module). As a result the ctags runs several gigs and takes a long time to finish, slowing down my vim experience.
I want gutentags to maintain the 2 tags file.

One in the workspace root that gets created just once
Second tags file for the directory I change the files (my-module). This file gets updated if i save files.

Can gutentags be configured to work like this ?
I can setup tags paths to include both tags file in vim.
Here is an example of the workspace I'm talking about.
workspace root
   + **tags**   << Update only once
   + linux / inc
   +         src
   +         .
   +         .
   +
   + mod1 / src
   + mod2 / src
   + my-module / inc
   +           src
   +           **tags**  <<< Update often when write to files

You could add some custom marker inside my-module, which you then add to g:gutentags_project_root. This would let gutentags treat your module as a separate project, and create a unique tag file for it. Alternatively you could define a custom project root finder (see g:gutentags_project_root_finder) that checks for your module, and calls gutentags#default_get_project_root as a fallback.
You might need some other custom tweaks to set tags to be both your module's tag file and the root workspace tag file -- by default, gutentags would only set one tag file per "project".


[Test] Check .status.numServeEndpoints is greater than zero

Why are these changes needed?

Check if RayService.status.numServeEndpoints is greater than zero

Related issue number

Closes ##2483
Checks

[x] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[ ] Manual tests
[ ] This PR is not tested :(

cc @MortalHappiness


Support for cache servers different than github

Reason
As a developer sometimes I need to work with local cache server (usually nexus), so far there is restriction to support only github. So it would be nice to set HUNTER_CACHE_SERVERS in order to use local nexus server.
Example
For example I have following nexus folder structure:
http://my-local-nexus.com/content/sites/hunter/cache
│   ├── meta/
│   ├── db0d7e2
│   │   ├── Boost
│   │   └── OpenSSL
│   └── f87f14b
│   │    ├── Boost
│    │   └── OpenSSL
...
├── raw/
│   ├── 02f24b4519e47ed326979d4054fcde35f90e1e1e.tar.bz2
│   ├── 3309ab7e3e7f82b7a1f275148fbee24b9a1ab35a.tar.bz2
│  └── 50655f24090c8e1bbedcac2062e4d2eb45205211.tar.bz2
...
Solution
We need only to extend server list like that:
list(APPEND HUNTER_CACHE_SERVERS "http://my-local-nexus.com/content/sites/hunter/cache")

@TungstenCrucible Looks good for me. Can you please add a few words about the server you're using, how you start it, how you upload binaries, etc. Any info that can be useful. To this page:

https://docs.hunter.sh/en/latest/user-guides/hunter-user.html

@NeroBurner +cc

@ruslo Hello Ruslan, I added documentation as you requested. Have a nice evening.
@NeroBurner +cc

@TungstenCrucible Thanks. Applied with few improvements: https://github.com/ruslo/hunter/commit/a4e16e4386b03ef0d5ba15487a786b0c6b1a721e
Updated page: https://docs.hunter.sh/en/latest/user-guides/hunter-user/nexus-cache-server.html

@ruslo You are welcome. First time I wrote document using RestructuredText, thank you Ruslan for those  editorial changes.


wpa_supplicant: Trivial typo fix for setting spp_sup.require (IDFGH-5644)

No functional change since both SPP_AMSDU_CAP_ENABLE and SPP_AMSDU_REQ_ENABLE
are defined as 1.
Signed-off-by: Axel Lin<EMAIL_ADDRESS>

Looks good, we will merge soon.

Thanks for your contribution, changes have been merged with https://github.com/espressif/esp-idf/commit/20d0891e1ec5549e3d29cf6b91b9b13e0c84f9a1.


PR lower dashboard launch timeout

This PR will reduce the time it takes for a dashboard launch to timeout.  It is now set to 5 minutes. There was some discussion about making this configurable, but I thought that could go in another PR, and at least lower it for now.
Reference Issues or PRs

What does this implement/fix?
Fixes #1616
Put a x in the boxes that apply

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds a feature)
[ ] Breaking change (fix or feature that would cause existing features not to work as expected)
[ ] Documentation Update
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build related changes
[ ] Other (please describe):

Testing

[ ] Did you test the pull request locally?
[ ] Did you add new tests?

Any other comments?

/bot run tests


INT-962 fix list collections

added a fix for INT-962, where the listCollections command doesn't handle auth errors and aborts the entire process. Instead, it should return an empty list if it was an auth error.
Also added some new unit tests for the fetch functions with a db mock object. More tests should be added in ./test/fetch-mocked.test.js.

published in v2.1.3


Added tmux-fingers tmux plugin

\o/

Hi there @Morantron. Please create 2 separate pull requests for your suggestions. Thanks!

updated PR after a few years :joy:


make fileprovider authority dynamic

This PR enables multiple apps that use the Export Logs tool to be installed at the same time.

@rajramsaroop @texasRanger09 Can we release an updated version to Maven Central with this fix to get it in customers hands?


Misc: Add back Makefile

Description
After many considerations, I decided to add back Makefile and remove the install scripts. Makefiles are more widely used, and I think this can solve the problem with our last Makefile.
So if someone wants to use PREFIX, they can set make PREFIX=/usr/local SYSCONFDIR=/usr/local/etc install (or in package managers, they can set flag SYSCONFDIR=${PREFIX}/etc or equivalent.
The sed command has been changed accordingly for non-GNU sed.
Testing
Testing has been done in these package managers:

pacman
rpm
Nix
portage
Termux

Note: Should this be merged, I'll squash it.

Fine by me. :+1:


C# API View specific: Add the ability to hide EditorBrowsable(Never) APIs

It would be good if we had an option (probably enabled by default) to hide APIs with EditorBrowsable(Never) attribute.

FYI @JoshLove-msft that @KrzysztofCwalina  has asked for this issue 3 times. I modified the priority and added in the Requested by field that it was an architect.
This should mostly be in the parser. If there is extra support needed from EngSys team, let us know

It looks like there is already support for marking tokens as deprecated that was added for Java in https://github.com/Azure/azure-sdk-tools/pull/958/files. I'd suggest we reuse this pattern to mark members with EditorBrowsable as deprecated. The effect is that the APIs are struck through. We can then expand the feature to include a toggle that to hide the deprecated elements entirely.

@KrzysztofCwalina has asked for this issue 3 times.

Really? If yes, I apologize. I have totally forgotten that I asked for this.

Really? If yes, I apologize. I have totally forgotten that I asked for this.

No worries. It means it is important and you really want it done :)

I agree this will be a good feature to add - I'm looking into it.


AWS::Serverless:SimpleTable server-side encryption

AWS::DynamoDB::Table supports server-side encryption, but this is not an option for AWS::Serverless::SimpleTable.  I propose that we add a property to enable it, while it remains disabled by default.
SAM Template:
MyTable:
  Type: AWS::Serverless::SimpleTable
  Properties:
    ...
    SSEEnabled: boolean

Transformed CFN Template:
MyTable:
  Type: AWS::DynamoDB::Table
  Properties:
    ...
    SSESpecification:
      SSEEnabled: boolean

I'm willing to work on this.  I think it's a great first-issue now that the SAM translator is open-source.

Would it be better if we just adopted the same syntax that CloudFormation has for forward compatibility?

Maybe.  I think that SAM should be more concise than regular CFN when possible.  That being said, the savings in this care are pretty minimal.

Do you need to give Dynamo any special IAM permissions to enable this?

No, you don't need any special permissions for this.

Yeah, since the gain of changing the syntax is minimal, I would stick with the CFN syntax. Just pass through everything customer passes to ‘SSESpecification’ property to CloudFormation. So we can be forwards compatible by default.
This looks good otherwise. Let’s leave the Issue open to gather more feedback. Meanwhile, go ahead and start implementing and send us a PR! Hit us up ok #samdev Slack channel if you have questions.

Sure, that makes sense.  I've updated the issue body to reflect the changes.


feat: updating examples

Description
Updates examples to noir version 0.19.4. It also gets rid of ethers on the only example where it was still needed: the recursive example.
Also moved to hardhat ESM.
Problem*
Mitigating potential drift between versions, namely regarding the flattenPublicInputs method.

How long should generating the recursive proof take on the recursion example? It seems to hang

This is terminally old, closing


Product overview should display NOVA score consistently with rest of UI

Currently the product overview shows the Nutri Score and Eco Score using labels, yet for me the most important category (NOVA score), for some reason is styled differently (see image below).
Being color blind, its harder to instantly see the NOVA score.

Solution:
Simply display the NOVA score (including the number 1-4) in a label that visually looks identical to the other two labels. And while we're at it: please ensure the alignment of all labels is identical as well (either centered of left, not both ;))

@MarByteBeep Indeed we're not good with accessibility / colors.
Nova is a bit special as it does have specific 1-2-3-4 icons (that don't look exactly as your suggestion).
We have a similar problem with "less iconic" nutrition preferences like salt: a colored disk and then a label (good, average, bad). Different icons would make more sense (like 👍  and 👎 ).
Currently there is a big UI/UX refactoring and I hope it will include a better respect of accessibility.

Awesome! Thanks for the heads up and hopefully this NOVA information is displayed more prominently and also includes the numbers in the new UI design. If I can test that somehere, please let me know as I'd love to provide feedback on it. Thanks again

Until then we have some very early stage accessibility features hidden in the developer settings
Profile bottom tab -> Contribute -> development-> Activate
Then on the profile tab
Feel free to test it out and provide some feedback


rename main -> start on wasm-bindgen(start) example

I got error with this example.
error: entry symbol `main` declared multiple times
  |
  = help: did you use `#[no_mangle]` on `fn main`? Use `#[start]` instead

In this document, "main" is specified as the function name. However, compilation will fail due to the previously mentioned error if "main" is used. This is presumably because "main" is a function name reserved in Rust as the starting function for binaries.
rename to start then succeeded.

I re-test this. I got build error on wasm-pack test.
So main symbol conflicting with rust's cargo test generated main.


failed to increase buffer.. etc.. why such a low recommendation?

Stood up a baremetal i5 FreeBSD machine for running DNS/DHCP/tailscale/wiki for a medium sized network..
Adguardhome gave it's "wanted: 7168 kiB, got 41 kiB' in the logs.. and it gave the wiki link..
Googling led me down the rabbit hole of fbsd multicasting issues solved/changed by increasing the maxsockbuf sysctl and calomel's site..
(not being an OS programmer..) Is there a reason why to not (suggest) increasing maxsockbuf beyond 8M or 16M or 32M?
I couldn't find a way to 'read usage' of the 16M buffer size I had set..
How would one determine (short of hoping a developer threw in an errlog statement) if the value is appropriate for their situation?
Thank you in advance.

I haven't seen significant performance benefits beyond 8 MB, but I only have limited data. If you have any measurements that show improvements beyond that size, please share your data!


[QUERY] RegionalAuthority support in Azure identity

Query/Question
RegionalAuthority is a feature in https://github.com/AzureAD/microsoft-authentication-library-for-java
I find it was once supported in
https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/identity/azure-identity/CHANGELOG.md#140-beta1-2021-09-13
but removed later in
https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/identity/azure-identity/CHANGELOG.md#140-2021-10-14
Is it due to there once a bug in microsoft-authentication-library-for-java side?
However, recently the bug should be fixed in 1.12.0 and the sdk has also raise the version. Is there any plan to add the feature support back?
https://github.com/AzureAD/microsoft-authentication-library-for-java/releases/tag/v1.12.0
Why is this not a Bug or a feature Request?
I am wondering if any reason azure identity don't allow to set the regional value?
Setup (please complete the following information if applicable):

OS: [e.g. iOS]
IDE: [e.g. IntelliJ]
Library/Libraries: [e.g. com.azure:azure-core:1.16.0 (groupId:artifactId:version)]

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Query Added
[ ] Setup information Added

@billwert could you please follow up with @leonard520?  /cc @schaabs

Anybody can help to take a look? Thanks!

Do we have a plan to add the feature back? Without it, we are not able to use regional ESTS. Thanks.

We don’t have plans to release the APIs we previously added to specify the ESTS-R region. ESTS-R configuration is only allowed in 1st party applications, and 3rd party applications get errors from the ESTS when they add this configuration, which can be difficult to understand as they contain concepts only familiar to 1st party developers. Because of this we decided not to GA these APIs to avoid confusion for external Azure developers.


Running package tests

I'm not sure if this is a feature request or a question, but I can't seem to run a single go package's tests. Trying to pass a folder looks like it results in changing to that directory and running the tests for all sub folders, a command like
cd ./target/package && go test -v -json ./...

But I want something more like
go test -v -json ./target/package

or cd and then use .
The Usage > Test file in the README does the same thing.

Hi @jstensland, I am not sure I understand the problem? How is related to the plugin? What's steps to reproduce?

Sorry if I'm not clear. I'll try again. Overall, is it possible to run a single package's tests? If you have a folder structure like
pkg1
├── subpkg2
│   ├── file3.go
│   ├── file3_test.go
│   └── export_test.go
├── file1.go
├── file1_test.go
├── file2.go
└── file2_test.go

Is there a neotest command I can run that will run the tests in pkg1/file1_test.go and pkg1/file2_test.go but not those in pkg1/subpkg2/file3_test.go?
Steps to reproduce would be to set up such a structure. Include a failing or broken test in subpkg2, and then try do: require('neotest').run.run("pkg1"). Expected result would be a pass for pkg1, but instead you get failures from subpkg2
It is running both pkg1 tests and subpkg2 tests. See my first comment for the type of final command it ends up running, with the ./... that catches all sub folders.

Up. We should stick to the behaviour of go test and not recurse a directory unless a glob pattern is provided.

You are right, folks. I am working on PR


Cocoapods update

The project's been updated for Swift 4.0, but this update has not been pushed to CocoaPods yet.
For anyone seeking a workaround:
pod 'Gecco', :git => 'https://github.com/yukiasai/Gecco.git'

Gecco updated to version 2.0.0. And it supported to swift 5.
Please update Gecco for your project.


Explore having the option of defining resource types inline, using cue constraints

Instead of:
resourceClasses: {
	"Database": {
		description: "Postgres Database"
		intent: {
			type:   "library.database.postgres.DatabaseIntent"
			source: "./database.proto"
		}
	}

Support something like:
resourceClasses: {
	"Database": {
		description: "Postgres Database"
		intent: {
                         name:   string
                         schema: [...foundation.FileContents]
		}
	}

@szferi thoughts?

Personally, I like that I can use proto gen code to parse intents when implementing a provider.
So being able to define an intent in CUE would simplify the definition process, but complicate the implementation for me.
Another note: I believe that supporting both syntaxes simultaneously would easily become messy (what if I want to name my field source)
So I am inclined to stay with the current syntax, but I am also a big proto fan in general, so there's a strong bias here 😄


Please add LICENSE file.

I suppose it should be MIT, given that it's based on ts-ebml but I'm not sure. Thanks!

I suppose it should be MIT, given that it's based on ts-ebml but I'm not sure. Thanks!

yes MIT


Problem with onCopy in windows 10 firefox

On Copy seems to produce one weird problem.
In windows 10 (firefox) I copy a text from squire editor and paste it on wordPad, all line breaks got removed and everything got pasted as single line. This works fine in other editors / text areas / contentEditable areas.
FYI: If I avoid onCopy handle for firefox this works fine.

I am still facing the problem, when I copy/cut and paste into WordPad. Tried your latest source.

Can't reproduce :(

This is from squire

The same when tried from gmail 👍

Ah, Firefox is always giving me unix line endings, but Notepad is so basic that it only supports Windows line endings. Fixed in 3d8cd62.


Get raw response

Please use the following questions as a guideline to help me answer
your issue/question without further inquiry. Thank you.
Which version of Elastic are you using?
[ ] elastic.v2 (for Elasticsearch 1.x)
[ ] elastic.v3 (for Elasticsearch 2.x)
[*] elastic.v5 (for Elasticsearch 5.x)
Please describe the expected behavior
I want to get a raw response from elasticsearch without json decode, is it possible?
Here My code:
mq := elastic.NewMultiMatchQuery(request.Keyword, "title").MinimumShouldMatch("100%")
svc := elastic_repo.Client.
Scroll(elastic_repo.GetIndexByCurrency(request.Currency)).
Query(mq).
Size(SCROLL_SIZE)
res, err := svc.Do(context.TODO())   //// And here I need a raw response (not decoded):
Please tell how I can Do IT?
Please describe the actual behavior
Any steps to reproduce the behavior?

The purpose of elastic's services is exactly to not having to deal with raw response. If you want raw responses, you could use a simple load-balancing HTTP client.
If you still want low-level access, you can use PerformRequest(...) in the client directly.
Notice though that by using the low-level functions, you won't get the benefits of the services. E.g. the Scroll service will automatically manage pagination for you. You have to manage that yourself if you switch away from the services.


The negotiation doesnt return hal+client when i use a [Route] in Web Api Controller.

If i call an Action with a simple Api request works fine. But when i use a Route decorator ex:
[Route("~/api/pepe/{id:int}/myitems")]
The response its only json and no hal+json.
I used the accept header content type but doesnt work.
Any idea?
Thanks!

When you say "a simple Api request works", by "simple" do you mean a URI whose controller method has no [Route]?
Our API works with or without [Route]. The [Route] attribute does not control media formatting. It only controls how to spell the URI and which controller method handles a request.
Your subject line mentions "hal+client", did you mean "application/hal+json"? You might want to check to make sure your header is:
accept: application/hal+json

Yes sorry for the title i meant hal+json.
I do not know what's happening.
What I noticed is that when I return a normal ApiController query, when it does not use the Route it enters the CreateHypermedia but when there is a route it does not enter that method.
I repeat: The methods with or without route enter perfectly, the problem when using route is that it returns a json without the format hal + json.
Thanks for the reply and the time

Hmmm. Weird.
We have not seen this problem in our API where media formatting is affected by [Route].
Try these:

On a working request, one without [Route], add the [Route] attribute and see if it now fails.
On the failing request, one with [Route], take off the [Route] attribute and see if it now works.

Of course you might have a different URI to get to each of those methods now, but let's see if we can determine whether it's really the presence or absence of [Route], or if it's something else.

Just try, and it's the route attribute that breaks the formatting to hal + json. I do not know how I could solve it: S.

Very weird. Just to make sure I understand:

you had a working request without [Route], you added [Route], and it now fails?
you had a different failing request with [Route], you removed [Route], and it now works?

Yes.
The format of the response fails, when I include the route, it returns JSON and when I do not include the route it returns hal + json

Could you please show us the code for your controller methods.

public class ProvincesController : ApiController
{
private IProvinceServices _services;
public ProvincesController(IProvinceServices services)
{
_services = services;
}
    public async Task<IHttpActionResult> GetProvinces(int page = 1,
    int top = 5, string orderby = nameof(ProvinceDTO.idprovince), string ascending = "asc")
    {
        var count = 0;
        var query = _services.GetAll(page, top, orderby, ascending, ref count).AsQueryable();
        var dtos = from a in query
                   select new ProvinceDTO()
                   {
                       country = a.country,
                       idprovince = a.idprovince,
                       name = a.name
                   };

        ProvinceDTOCollectionRepresentation dt = new ProvinceDTOCollectionRepresentation(dtos.ToList(),
          FilterHelper.GenerateFilter(top, orderby, ascending), page, count, top);

        return Ok(dt);

    }

    public async Task<IHttpActionResult> GetProvince(int id)
    {
        ProvinceBE province = _services.GetById(id);
        if (province == null)
        {
            return NotFound();
        }

        ProvinceDTO dto = new ProvinceDTO()
        {
            country = province.country,
            idprovince = province.idprovince,
            name = province.name,
        };
        dto.CreatesMySelfLinks();

        return Ok(dto);
    }

Works fine (without Route) Return Hal+Json (i test with MVCClient, Postman and Fiddler).
this doesnt work fine (return Json, and no enter to CreateHyperMedia)
[Route("~/api/provinces/{id:int}/locations")]
[HttpGet]
public IHttpActionResult GetLocations(int id)
{
try
{
var a = Request;
var r = RequestContext;
var location = from b in _services.GetAllLocations(id).AsQueryable()
select new LocationDTO()
{
idlocation = b.idlocation,
name = b.name,
};
int page = 1;
int top = 100; string orderby = nameof(ProvinceDTO.idprovince); string ascending = "asc";
LocationDTOCollectionRepresentation dt = new LocationDTOCollectionRepresentation(location.ToList(),
FilterHelper.GenerateFilter(top, orderby, ascending), page, location.Count(), top);
return Ok(dt);
}
catch (Exception ex)
{
throw ex;
}
}
}
If i try to put or remove the Route attribute the Formatter works.

Thanks. Let me make sure I understand.

with no [Route], GetLocations(int id) returns hal+json?
with no [Route], GetProvinces(...) returns hal+json?
with [Route], GetLocations(int id) does not return hal+json?
with [Route], GetProvinces(...) does not return hal+json?

Yes, it's as you say.
Any method with Route does not bring hal + json.
No route, bring perfect

This is an interesting puzzle. As I say, our API returns hal+json for both [Route] and no [Route].
Try this: enable XML media formatter by adding it to the list of formatters. Just to be certain, make sure your models support data contract and data member. Then see if application/xml works with no [Route] but fails (returns json) with [Route].
The major differences between our controller methods and yours are we are not using async and we are not returning IHttpActionResult. Instead, our controllers were built a while ago with the older mechanism of returning the Representation itself.
Perhaps there is a problem with .NET WebApi content negotiation in the IHttpActionResult or async.
If you can figure this out, it will help the rest of us if we convert to the newer async and IHttpActionResult.

With xml and with hal + xml it does the same to me.
The rarest thing is that on any side I have no formater enabled and I clean them to try. I do not know how to negotiate and get to json when I use route.
In addition also returning the representation, without using IHttpContext or async and it does not work either.

So the ordinary application/xml (I don't mean hal+xml) returns xml with no [Route], but the ordinary application/xml returns json with [Route]. Right?
If so, this means the problem is not the hal library. It is something else. If this is right, you should post this problem of "application/xml returning json" to a .NET WebApi forum to see if anyone knows why.
If you can get application/xml to return xml with [Route], then hal should return hal+json with [Route].
Keep us updated on what you find.

I find the solution.
I used Unity for dependency injections and was loading a new HttpConfig, when configuring that I would not pass the formatters to Unity. I only configured the formatters globally. When removing the unity began to work and then to put unity and debug I saw that the httpconfig that happened to him did not have the formatters. It seems that unity when mapping routes with the Route attribute searches within its configuration and if it does not find it it uses the default config. So solve it by adding the formatters again in the startup in the HttpConfiguration that happened to the unity.
Here is the code for StartUp:
public void Configuration(IAppBuilder app)
{
HttpConfiguration httpConfig = new HttpConfiguration();
GlobalConfiguration.Configuration.Formatters.Add(new JsonHalMediaTypeFormatter());
GlobalConfiguration.Configuration.Formatters.Add(new XmlHalMediaTypeFormatter());
// this twolines to httpConfig add
httpConfig.Formatters.Add(new JsonHalMediaTypeFormatter());
httpConfig.Formatters.Add(new XmlHalMediaTypeFormatter());
// owin etcetcetc
ConfigureWebApi(httpConfig);
        app.UseCors(Microsoft.Owin.Cors.CorsOptions.AllowAll);

        app.UseWebApi(httpConfig);

    }

private void ConfigureWebApi(HttpConfiguration config)
{
config.MapHttpAttributeRoutes();
        var container = Bootstrapper.BuildUnityContainer();
        config.DependencyResolver = new Unity.WebApi.UnityDependencyResolver(container);
    }

I hope this can help someone with the same problem!
Thank you again for everything!

Hurrah! Good work finding the problem.
An unexpected connection between dependency injection, [Route], and content negotiation.
Thanks.


Piping code

Discovered a "new" way in which an attacker can transfer files to the honeypot without HonSSH being able to detect or intercept the file.
This issue was only detected when the IDS started sending alerts about outbound SSH attacks.
The instance was not configured to send any email alerts, so i figured that someone had compromised the honeypot and downloaded some malware but, there was no entries in the downloads.log or any downloads directory in the sessions file structure. The only obvious thing was a EXEC session log, these are the entries that show the activity of the attacker
20160214_122650_425601 - [EXEC0] Opened Channel
20160214_122650_426107 - [EXEC0] Command Executed: mkdir /tmp/.xs/
20160214_122651_364395 - [EXEC0] Closed Channel
20160214_122651_647226 - [EXEC1] Opened Channel
20160214_122651_647703 - [EXEC1] Command Executed: cat >/tmp/.xs/daemon.i686.mod
20160214_122714_097971 - [EXEC1] Closed Channel
20160214_122714_641976 - [EXEC2] Opened Channel
20160214_122714_642469 - [EXEC2] Command Executed: chmod 777 /tmp/.xs/daemon.i686.mod
20160214_122715_559964 - [EXEC2] Closed Channel
20160214_122715_836329 - [EXEC3] Opened Channel
20160214_122715_836800 - [EXEC3] Command Executed: /tmp/.xs/daemon.i686.mod
20160214_122716_420530 - [EXEC3] Closed Channel
20160214_122716_421130 - [SSH  ] Lost Connection with <IP_ADDRESS>

The only thing that raised a red flag was the size of the adv-log's, some of them were larger than 3 MB, after digging trough them i discovered the following strings

\xeaUPX!\xd8 UPX
\x7fELF\x01 ELF

Given the size of the adv-log's and the presence of these strings we can assume that the attacker used SSH to move binary files to the honeypot.
After a couple of tests i think i figured out how the attacker did this.
It's possible to pipe things from the local host into a SSH EXEC session.
echo "Test Test Test" | ssh -l derp <IP_ADDRESS> 'cat - > /tmp/pipe_in_exec.txt'
This will pipe the output from the echo over SSH to /tmp/pipe_in_exec.txt on <IP_ADDRESS>. Given that this is possible, might it be that the attacker used a similar technique to transfer the file?
Is this something that should be within the scope of HonSSH to catch/intercept/detect?

What we could really do with is some tasty inotify stuff to log any file changes on the Honeypot and attribute in a log somewhere file changes that occurred during the session time period. Only problem is feeding these events to the HonSSH server is likely to require some agent or similar which could of course be detectable and potentially interesting to Mr Hacker. Having said that most of them run some automated payload retrieval and execution script so maybe they wouldn't notice it...

Yes, its possible to install some type of monitoring software to do this.
Like using OSSEC((http://ossec.github.io/index.html) to monitor critical directories and log files, have the OSSEC agent to report everything to a centralized server like OSSIM, deploy an IDS that's monitoring the network traffic and have everything correlated and analyzed to trigger alerts....But i doubt that everyone wanna run and maintain a setup like this :smile:
You are correct that the majority of the automated attacks never bother to look for monitoring agents or hidden kernel modules. The attackers that are looking for this type of software is the interesting ones. All of this is besides the point tho.
The fact is that its possible to transfer files from a remote host to the honeypot, while using HonSSH as the proxy. It's probably possible to mitigate by setting disable_exec = true.

If one is using docker, inotify could solve all the problems regarding honssh not being able to detect some file download mechanisms.
For each started container docker will maintain the rootfs diff of its read/write layer under /var/lib/docker/aufs/diff.
Starting with docker 1.10 the container id does not correspond to directory name anymore. But this oneline $(cat /var/lib/docker/image/aufs/layerdb/mounts/$(docker inspect --format {{.Id}} <YOUR_CONTAINER_NAME>)/mount-id) will tell what directory is used.
Using this combined with inotify would give everything needed to copy away modified and created files. Sure, this would not only include downloads but the more information the better ;)
Example:
inotifywait -r -m -e create -e modify $(cat /var/lib/docker/image/aufs/layerdb/mounts/$(docker inspect --format {{.Id}} adf1b94177ec)/mount-id)
I would be happy with that. It's IMHO better then not being able to catch the downloads + one can for example detect compromised binaries.
Btrfs driver should also be kept in mind.

Using docker info the directory id can be retrieved without actually knowing the storage driver:
$(cat /var/lib/docker/image/$(docker info | grep "Storage Driver" | awk '{ print $3}')/layerdb/mounts/$(docker inspect --format {{.Id}} <YOUR_CONTAINER_NAME>)/mount-id)
Maybe using /var/lib/docker/$(docker info | grep "Storage Driver" | awk '{ print $3}')/mnt is also a better solution as it seems to exist for all storage drivers.
Combined one liner:
DRV=$(docker info | grep "Storage Driver" | awk '{ print $3}') | echo /var/lib/docker/$DRV/mnt/$(cat /var/lib/docker/image/$DRV/layerdb/mounts/$(docker inspect --format {{.Id}} <YOUR_CONTAINER_NAME>)/mount-id)/rootfs

@tnich would you mind having a look at https://github.com/bang-uin/honssh/commits/feature/fs_watch and telling me what you think about the inotify approach?

The feature is now implemented for aufs, btrfs, overlay and overlay2 in this branch https://github.com/bang-uin/honssh/commits/feature/fs_watch
I had to copy the twisted inotify implementation and made more failure tolerant as it raised an exception if it failed to add an watch and killed the whole functionality. As we need to do a recursive watch failing the whole mechanism because of one failed watch is not acceptable.
Maybe i'll raise a feature request on the twisted repo, maybe ;)
Only IN_CREATE and IN_MODIFY are handled so created and modified files cannot be removed from the overlay directory.
Also only files with size > 0 are copied to handle zeroing them out.
This is just a simple check and shouldn't be the finale implementation, but for now it's working :)
Ideas are welcome!

Btw, i suggest everyone to use overlay2 as it is damn fast :smile:

@bang-uin You should make wiki pages for document your commits, how to use overlay2 and other things you could share :wink:.

These are just hints and infos for everyone who likes to test that branch. I'll create a wiki page if this branch gets at some point merged into the master.


Getting "[ERR] No /mod.ts found in config. An entry file is required.", no matter what "entry" is set to in egg.json/egg.yaml.

Describe the bug
In eggs version 0.2.2, whatever I set the entry property to in the egg.json (or egg.yaml) file, I get the following error when running eggs publish:
[ERR] No /mod.ts found in config. An entry file is required.
This happens whether there is an entry property; whether the the entry file mentioned exists; whether there is a  ./, / or nothing preceding the file name; whether the file extention is .js or .ts and whether the entry file is set to mod.ts or something else.
All the other properties seem to be working fine (I only get errors about not having a name, description or version if they aren't included in egg.json) but for some reason it never seems to pick up on the entry property.
To Reproduce
I am using Windows 10, Deno 1.4.1, Eggs 0.2.2.  It seems to be happening with any eggs project.

Hi @TheWizardBear
Did you include your entry file in the files field? / or did you ensure it's not matched by an ignore entry?

If this is indeed the case, it would be a good idea to add the entry file to the uploads

Did you include your entry file in the files field? / or did you ensure it's not matched by an ignore entry?

There was no ignore property although it turns out I was missing the mod.ts file in the files field, and adding it in fixed the problem when entry was set to "/mod.ts".
However, when the entry file is anything other than mod.ts I get this problem even when the file is included in files.

Fixed in #79
--entry was set by default to mod.ts and was overwriting the entry field in the config file


fix path deequ jar

Feature or Bugfix

Bugfix

Detail

Fix path of where to add deequ jar

Relates
Security
Please answer the questions below briefly where applicable, or write N/A. Based on
OWASP 10.

Does this PR introduce or modify any input fields or queries - this includes
fetching data from storage outside the application (e.g. a database, an S3 bucket)?

Is the input sanitized?
What precautions are you taking before deserializing the data you consume?
Is injection prevented by parametrizing queries?
Have you ensured no eval or similar functions are used?

Does this PR introduce any functionality or component that requires authorization?

How have you ensured it respects the existing AuthN/AuthZ mechanisms?
Are you logging failed auth attempts?

Are you using or adding any cryptographic features?

Do you use a standard proven implementations?
Are the used keys controlled by the customer? Where are they stored?

Are you introducing any new policies/roles/users?

Have you used the least-privilege principle? How?

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Needs testing to ensure this resolves errors with profiling


Add --name to submit

Depends on https://github.com/NLeSC/Xenon/issues/609

I suggest  to add --jobname option.


Consistent use of properties

@manishvenu has made a start on setting properties corresponding to each forcing file. For example, calling
expt.initial_condition
now opens the initial conditions from the input directory. We should stop saving self.bathymetry upon generating bathymetry to minimise memory footprint, and instead have a property for each of the files in the input directory which simply opens existing dataarrays, or prints an error message if they're not found.
This would require renaming the current bathymetry_property in #12 to bathymetry, splitting the initial_condition into the tracer and velocity and eta components, and deleting the existing bathymetry property that is saved automatically upon generating bathymetry.

Just to add to this: what would be REALLY cool is we also have custom plot functions. For example, if you called
expt.bathymetry, it would return the xarray dataset containing the  bathymetry.nc file. But if you were to go expt.plot.bathymetry, it automatically plots it with cartopy to produce something like this. Ideally do the same thing for initial conditions, vertical coordinate, maybe even boundaries if we can find a nice way to plot them

PR #23 closes this


decoder: Cleanup decodeLong tests

Instead of copy-pasting full test driver for each value, make it to be
only one test with many values in table each tested by common driver.
TestZeroLengthData was checking output.BitLen() == 0 which is another
way to test for equality with big.Int(0) according to
https://golang.org/pkg/math/big/#Int.BitLen

So join it too to the rest of decodeLong tests.
While at decodeLong topic, rename BenchmarkSpeed -> BenchmarkDecodeLong
as this benchmark checks speed of decodeLong only, nothing else.

Thanks


lane model parameters (k,m,n,b)

hello,I want to know what are the physical meanings of the lane model parameters (k,m,n,b),Thank you!

Hi,
(k, m, n, b) are coefficients of a cubic curve that approximates a lane on the road from the 'bird's eye view.'
(k, m, n) describe how the lane bends (left or right, small or large curvature), and b represents the positional offset.

Thank you for your reply！
Are they the same as the road coefficients (C0,C1,C2,C3) produced by the camera sensor (e.g. Moblieye Q3)?

Sorry, I am not familiar with the sensor you are referring to.


Add prettier config

Would make it easier to do pull requests if the prettier settings were checked into the repo, e.g. .prettierrc or in the package.json

Will do!

Okay, so I tried setting it up, you can see it in the prettier branch. It's currently doing weird stuff with Svelte files, transforming the attractions/popover/popover-button.svelte file into this:
<script>
  import { createEventDispatcher } from 'svelte';
  import classes from '../utils/classes.js';

  let _class = null;
  export { _class as class };

  const dispatch = createEventDispatcher();
</script>

<svelte:options tag="a-popover-button" /><button
  type="button"
  class={classes('popover-button', _class)}
  on:click={e => dispatch('click', { nativeEvent: e })}
  {...$$restProps}
>
  <slot />
</button>

<style src="./popover-button.scss">
</style>

I am mostly bothered by that svelte:options thing. Have you encountered anything similar? Any ideas how to fix it?

oh, that is a bit annoying. Not an issue I was aware of. Have you been using prettier locally already in your editor with Svelte (just wondering of this is an issue when using config)? If you can't get it working maybe the minimum is to add a comment to disable prettier with the project until the bug for this whitespace removal is resolved.

Nope, haven't used Prettier before. I'm thinking of opening an issue on the Svelte Prettier config about this and hold on to merging that branch until they fix it

seems to be an issue already in the plugin repo about putting options at the top: https://github.com/sveltejs/prettier-plugin-svelte/issues/73
When I use prettier, I does move options to the markup part of the code but it doesn't remove whitespace between it and the next element. I suppose that is something in the prettier settings.

@illright Now that we no longer have <svelte:options> in the source code, maybe it's worth giving this another shot?


Do we care about Prometheus?

Are we or anyone else using the metrics it provides? Does it make sense to continue to include it?

We ended up using this when we started debugging the issues with the web servers not responding. It's probably worth leaving Prometheus included for now. We also should probably put together a guide to using Prometheus until we remove this.


Synchronize contents in multiple editors for same nb file

For #9340
Note

This PR adds the infrastructure necessary to sync edits & the like across editors for the same file
Code has been commented out to ensure some remaining bits work properly
Waiting on some of the new changes from @rchiodo from his undo PR.

Remaining changes

Ensuring we do not end up in a crazy loop that will cause one editor to propagate changes to the other, then that one back to this & so on
Sync cell execution (currently creation of new cells isn't sync'ed across)
Find a bullet proof solution for syncing focused states (this messes up everything - we don't need this in syncing editors, but if required for live share, then we need to ensure focus states work correctly - depending on whether liveshare even needs such a feature?)

Codecov Report

:exclamation: No coverage uploaded for pull request base (ds/custom_editor@05bf2ea). Click here to learn what that means.
The diff coverage is 25%.

@@                 Coverage Diff                 @@
##             ds/custom_editor    #9886   +/-   ##
===================================================
  Coverage                    ?   60.58%
===================================================
  Files                       ?      555
  Lines                       ?    29748
  Branches                    ?     4484
===================================================
  Hits                        ?    18023
  Misses                      ?    10723
  Partials                    ?     1002

Impacted Files
Coverage Δ

src/datascience-ui/interactive-common/mainState.ts
53.57% <ø> (ø)

...ience/interactive-common/interactiveWindowTypes.ts
100% <100%> (ø)

...ractive-common/interactiveWindowMessageListener.ts
17.02% <14.28%> (ø)

.../datascience/interactive-common/interactiveBase.ts
5.79% <25%> (ø)

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 05bf2ea...7c92cdb. Read the comment docs.


Fix #pragma compilation with tcc on windows

The tcc (Tiny C Compiler) linker does not like the .lib suffix inside #pragma comment (lib, "foo.lib") directives - it fails with tcc: error: library 'foo.lib' not found errors. Removing the extension fixes tcc, and all major compilers (msvc/clang/gcc/mingw) compile fine without it, so this change should simply allow the headers to be compiled with a different compiler.
We've needed to, (and have been making) this change over at vlang/v,  ever since tcc became an officially-supported (and later on, the default for debug builds) C compiler on windows. However, every time we update the headers, we also need to reapply this patch; and we felt that, by PR'ing it upstream, it'd benefit both the V project, and anyone attempting to compile Sokol with tcc :)

Thanks! I hadn't been aware that it also works without the extension.


Append imaputils to modoboa main repository

Fix https://github.com/modoboa/modoboa-sievefilters/issues/4 append imaputils to modoboa main repository

I've removed useless method in imaputils. Tested on my instanace with sievefilter

Actually, moving those modules into the core application is not a really good idea. Parameters are splitted between applications (core and webmail), this is not consistent... You also need to migrate existing parameters (rename them from modoboa_webmail.XXX to core.XXX)
Other issue: people who don't use the webmail and the sieve module will see useless IMAP parameters. I definitely think this is not the right place.
Maybe a cleaner solution would be to create a dedicated library (modoboa_imap_library?) for that ?

Other issue: people who don't use the webmail and the sieve module will see useless IMAP parameters. I definitely think this is not the right place.

I understand, what is a best solution ? append this imap_utils in modoboa_sievefilters ?

Maybe a cleaner solution would be to create a dedicated library (modoboa_imap_library?) for that ?

If we create too many small libs, I think that modoboa will become a kludge.

Indeed... I don't know what to do right now. If we copy the modules into the sieve extensions, we will have to configure IMAP parameters twice (webmail and sieve).

If we copy the modules into the sieve extensions, we will have to configure IMAP parameters twice (webmail and sieve).

Now, it's can be a good compromise.

Finally, I think you're right. Users will have to configure IMAP settings twice.
Anyway, we don't have to put the fetch_parser.py file into the core application since it is only used by the webmail. I will split this part.


Allow to deploy gadget differently on different nodes

The kubectl deploy options apply to all the nodes in the cluster. If the node has different nodes types it could be a problem because the option could not be valid for all of them.
This issue proposes to:

Allow to have different runc-hooks-mode per node.
Allow to mark some nodes to avoid deploying IG there.

A possible implementation could be to define these options by annotation in the nodes.

I'm not sure if this falls under the same umbrella or not, but while testing IG out, I noticed that if a new node is spawned after the gadget pods were deployed, the new node doesn't get a gadget pod.

Mauricio, you added this to 0.6.0, is there a reason why this issue is particularly relevant now?

I added it because of the original name "Improve multi-node cluster support".
I was thinking to:

Check scalability
Check what happens when some nodes are not ready?

Ah, well, "improve" is almost never a good title for an issue, as we usually never finish improving things and it ends up being a catch-all issue that can never be closed.
Regarding scalability, there's #519. Regarding nodes not being ready, I guess we should file a separate issue, as this one isn't it.

I created https://github.com/kinvolk/inspektor-gadget/issues/632 with the problem I faced some days ago.
Regarding this issue, I think the part about avoid deploying IG in some nodes could be useful. I imagine there are cases where users want to deploy to some specific nodes or avoid deploying to specific ones. I think it can be implemented while reworking the deploy command -> https://github.com/kinvolk/inspektor-gadget/issues/123.

Perhaps we can implement something simple like letting the user specify the labels to use for the node selector, i.e. deploy Inspektor Gadget only on nodes with some labels. But maybe it's too complicated and in those cases the user should modify the yaml manifest directly.

Allow to have different runc-hooks-mode per node.

We're trying to keep this as hide as possible from users, do in the time being we won't implement an option to specify different values for different nodes.

Allow to mark some nodes to avoid deploying IG there.

https://github.com/inspektor-gadget/inspektor-gadget/pull/1187 fixes it.
Closing this.


TravisCI is broken

We're using an old version of node that doesn't like some of the newer syntax in the newsflash module.

This was fixed by using a newer version of node.


add the ability to load a thread centered at a give message ID (desktop)

Patch does the following:
This patch is desktop specific, it shouldn't change anything about mobile (I'll do that later, and it should be easier anyway)

Adds new options for loading from a thread in GetThreadNonblock.
Adds new actions for loading newer messages, and loading messages around a search hit.
Change how the message thread is kept locked to bottom, using the new onRequestScrollToBottom plumbing.
Add the ability to center a message thread on a particular ordinal.
Add new state to the store indicating a thread has been loaded to the most recent message

Toss incoming message events for conversations not loaded to max.

Add option to scroll into the future of threads if the scroll position is on the bottom, and we don't have the latest message.

I used this to test it:
DEBUGStore.dispatch({type: 'chat2:loadMessagesFromSearchHit', payload: {conversationIDKey: "00005a00c5758b515e9e572cc5dba194d01e4e42a4d79900b0b9b19c85fd8cbb", messageID: 100}})

I just merged in support for the "Jump to Recent" button into this PR, since I also fixed a few things while doing it.

Bump on this guy, the other PR with the storybook is actually on top of this branch (although I guess it doesn't really need to be)

@buoyad PTAL


Generated SQL panel misbehaving

It is happening sometimes that Generated SQL panel shows old query (not actual changes) or even just shows true instead of query:

Despite that fact plugin sends the correct query to CH, so it is just a display bug.

Also waiting for it

waiting + 1


IOS Problems Help me

Hi  I have some problems for ios .
With android   const data = await RNIap.consumePurchaseAndroid(x.purchaseToken); method with the return of the data to the database to save my information and I can save. How can I do this in IOS?
What is RNIap.consumeAllItemsAndroid(); in ios?
Thanks for help
Version : 4.0.3

Related to #783 I think. You can use finishTransactionIOS or finishTransaction together.

My Code is
`componentDidMount = async () => {
try {
const result = await RNIap.initConnection();
await RNIap.consumeAllItemsAndroid();
RNIap.clearProductsIOS();
    } catch (err) {
        //Alert.alert("Hata 1!",err.message);
    }

    try
    {
        const packages = await RNIap.getProducts(items);

        this.setState({
            packages,
        })
    }
    catch (e) {
       Alert.alert("Hata 2!",e.message);
    }

    purchaseUpdateSubscription = purchaseUpdatedListener(
        async (purchase: ProductPurchase) => {
            if (purchase.purchaseStateAndroid === 1 && !purchase.isAcknowledgedAndroid) {
                try {
                        const ackResult = await acknowledgePurchaseAndroid(
                            purchase.purchaseToken,
                        );
                } catch (ackErr) {
                    console.log('x');
                    console.warn('ackErr', ackErr);
                }
            }
            this.setState({ receipt: purchase }, () =>
                this.goNext(),
            );
        },
    );

    purchaseErrorSubscription = purchaseErrorListener(
        (error: PurchaseError) => {
            console.log('y');
            Alert.alert('purchase error', JSON.stringify(error));
        },
    );

};

goNext = async () => {
    if(Platform.OS == 'android') {
        const x = JSON.parse(this.state.receipt.transactionReceipt);
        const data = await RNIap.consumePurchaseAndroid(x.purchaseToken);
        if (data.code === 'OK') {
            axios.post(`${API_URL}/api/user/payment`, {
                access_token: this.props.AuthStore.token,
                packageId: this.state.selectedPackageName
            }).then(res => {

                let data = JSON.parse(this.props.UserStore.info);
                data['premium'] = true;
                this.props.UserStore.saveInfo(data);
                this.props.navigation.navigate('Profile');
            });
        } else {
            Alert.alert('Hata!', 'Bir problem oldu lütfen daha sonra deneyiniz');
        }
    }
    else
    {

         const x = this.state.receipt;
         //const l = await RNIap.getReceiptIOS();
        const data = await RNIap.finishTransactionIOS(x.transactionId);

    }

};

`
Is it alright ?

I'm facing something (maybe) related to this, that I cannot understand already.
I subscribed on a product on my sandbox, on iOS. All worked like expected. I didn't finish that transaction.
After that, on every reload, I called getAvailablePurchases  and received a new one purchase as result. Like, 6 reloads, 6 purchases. Each one with different transactionId, but same originalTransactionIdentifierIOS.
I added the finishTransactionIOS call on my third reload.
I don't know exactly why it stopped to return new purchases. But, I'm still receiving 6 purchases on my getAvailablePurchases.
I tried to call finishTransactionIOS on each purchase.transactionId, but I still receiving back that 6 purchases.
What's wrong? Did I miss something?
Thanks for any help

same here


Make all dialog boxes auto-expire

It's annoying to have to manually close the dialog boxes displayed by the Contest plugin.

Some of them already auto-expire, but the expiration time is too long.


Can't seem to install it?

Hey, it's me!
I've decided to use your library again(it's just too cool).
However when I tried to install it again(with pip) it gave me an error.
Here is the error:
C:\Users\USER>pip install gameboycore
Collecting gameboycore
  Downloading gameboycore-0.4.0.tar.gz
    Complete output from command python setup.py egg_info:
    Error: BOOST_ROOT is not set

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\USER\AppData\Local\Temp\pip-build-j49jxumh\gameboycore\

I am using windows 10 x64 bit.
I'm also using Python 3.6 with a 64 bit installation.
Thanks!

Hey,
Currently, the prebuilt binaries only go up to Python 3.5 on Windows. If you take a look here you can see how to build Boost.Python and you can add a BOOST_ROOT environment variable to your system.
Currently busy with school so if I find the time to add in the python 3.6 I will.

Thanks for using this and finding bugs

Ok, so, is Boost.Python for using C libraries with python?
I managed to get boost, and I ran bootstrap and the bjam commands through the cmd.
However I couldn't find user-config.bjam?
Should I set the enviroment variables usng the SET command?
Also one final question, where should I point BOOST_ROOT and PYTHON_ROOT to (using the set command)?
I hope I'm not bothering you, or getting in the way of your school work!
Thanks!

Boost.Python is for building Python C extensions. You can take a look at the gameboycore-python source code to see how I'm doing it.
You create user-config.jam in the boost root directory.
The Boost root directory is simply the path to the boost folder. So BOOST_ROOT would point to  C:\boost_1_60_0 for example.
You can use the SET command if you want. For things like Boost I add an environment variable using Control Panel -> System -> Advanced System Settings.
Achieves the same thing, except its persistent.
PYTHON_ROOT would point to your python installation. So for you I'm guessing its C:\Python36. But you'll have to check.
You can also add that through Control Panel as well. Or just use SET to make it temporary.

Okay, so that all seemed to work, however now I'm getting another error :(
Here it is:
C:\boost_1_64_0>pip install gameboycore
Collecting gameboycore
  Using cached gameboycore-0.4.1.tar.gz
Installing collected packages: gameboycore
  Running setup.py install for gameboycore ... error
    Complete output from command c:\users\coolq\appdata\local\programs\python\python36\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\coolq\\AppData\\Local\\Temp\\pip-build-5fghwqoz\\gameboycore\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\coolq\AppData\Local\Temp\pip-uqqqwg67-record\install-record.txt --single-version-externally-managed --compile:
    == Boost Configuration ==
    -- BOOST_ROOT:          "C:\boost_1_64_0"
    -- BOOST_INCLUDE_DIR:   "C:\boost_1_64_0"
    -- BOOST_LIB_DIR:       "C:\boost_1_64_0"\stage\lib
    -- BOOST_LIB_DIR_EXTRA: "C:\boost_1_64_0"\

    == Python Configuration ==
    PYTHON_ROOT:        "C:\Users\coolq\AppData\Local\Programs\Python\Python36"
    PYTHON_INCLUDE_DIR: "C:\Users\coolq\AppData\Local\Programs\Python\Python36"\include
    PYTHON_LIB_DIR:     "C:\Users\coolq\AppData\Local\Programs\Python\Python36"\libs

    == GameboyCore Configuration ==
    -- INCLUDE_DIR: C:\Users\coolq\AppData\Local\Temp\pip-build-5fghwqoz\gameboycore\src\gameboycore\include
    -- ENDIAN:      __LITTLEENDIAN__
    -- CXX_FLAGS:

    running install
    running build
    running build_ext
    building 'gameboycore' extension
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\coolq\AppData\Local\Temp\pip-build-5fghwqoz\gameboycore\setup.py", line 131, in <module>
        url="https://github.com/nnarain/gameboycore-python"
      File "c:\users\coolq\appdata\local\programs\python\python36\lib\distutils\core.py", line 148, in setup
        dist.run_commands()
      File "c:\users\coolq\appdata\local\programs\python\python36\lib\distutils\dist.py", line 955, in run_commands
        self.run_command(cmd)
      File "c:\users\coolq\appdata\local\programs\python\python36\lib\distutils\dist.py", line 974, in run_command
        cmd_obj.run()
      File "c:\users\coolq\appdata\local\programs\python\python36\lib\site-packages\setuptools\command\install.py", line 61, in run
        return orig.install.run(self)
      File "c:\users\coolq\appdata\local\programs\python\python36\lib\distutils\command\install.py", line 545, in run
        self.run_command('build')
      File "c:\users\coolq\appdata\local\programs\python\python36\lib\distutils\cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "c:\users\coolq\appdata\local\programs\python\python36\lib\distutils\dist.py", line 974, in run_command
        cmd_obj.run()
      File "c:\users\coolq\appdata\local\programs\python\python36\lib\distutils\command\build.py", line 135, in run
        self.run_command(cmd_name)
      File "c:\users\coolq\appdata\local\programs\python\python36\lib\distutils\cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "c:\users\coolq\appdata\local\programs\python\python36\lib\distutils\dist.py", line 974, in run_command
        cmd_obj.run()
      File "c:\users\coolq\appdata\local\programs\python\python36\lib\site-packages\setuptools\command\build_ext.py", line 75, in run
        _build_ext.run(self)
      File "c:\users\coolq\appdata\local\programs\python\python36\lib\distutils\command\build_ext.py", line 339, in run
        self.build_extensions()
      File "c:\users\coolq\appdata\local\programs\python\python36\lib\distutils\command\build_ext.py", line 448, in build_extensions
        self._build_extensions_serial()
      File "c:\users\coolq\appdata\local\programs\python\python36\lib\distutils\command\build_ext.py", line 473, in _build_extensions_serial
        self.build_extension(ext)
      File "c:\users\coolq\appdata\local\programs\python\python36\lib\site-packages\setuptools\command\build_ext.py", line 196, in build_extension
        _build_ext.build_extension(self, ext)
      File "c:\users\coolq\appdata\local\programs\python\python36\lib\distutils\command\build_ext.py", line 558, in build_extension
        target_lang=language)
      File "c:\users\coolq\appdata\local\programs\python\python36\lib\distutils\ccompiler.py", line 717, in link_shared_object
        extra_preargs, extra_postargs, build_temp, target_lang)
      File "c:\users\coolq\appdata\local\programs\python\python36\lib\distutils\_msvccompiler.py", line 460, in link
        build_temp = os.path.dirname(objects[0])
    IndexError: list index out of range

Thanks again!

At a glance, I'm guessing you don't have the right version of Visual Studio installed. I don't exactly want to send you on a goose chase setting up your system either.
Give me a day or two and I can't add python 3.5 and 3.6 64 bit.
But in the meantime can you try running:
pip install gameboycore --upgrade
I have a 32 bit binary build for Python 3.6. I don't actually know whether a 32 bit extension will work with 64 bit python

Ok, I'll wait for you to make the update(thanks btw 😄). I ran the command and I got the exact same error.
I could maybe download 32-bit python, as I explicitly downloaded the 64-bit version?

Does the output say Using cached gameboycore-0.4.1.tar.gz
Because it needs to try to install 0.4.2

You're right! It does say that, how can I get it to use 0.4.2?

Try:
pip uninstall gameboycore
pip install gameboycore --no-cache-dir

Okay, so I tried that, however I still tried to install 0.4.1, I have reformatted my PC since I had it working last, I don't know if that would make a difference though 😕.
When I ran uninstall, it said there was nothing to uninstall 😢

Well, that makes sense I guess since it didn't install in the first place. Looks like pip is looking for a 64-bit distribution which is to be expected.
This should be resolved when I add the 64 bit Python extension. Thanks for trying that stuff out.

Would you prefer I install 32-bit, or wait for 64-bit? It seems that it would be easier if I installed 32-bit, however if you want me to test it, I can wait?

Stick with the 64 bit

Okay thanks :)

Python 3.6 x64 is up.
pip install gameboycore --no-cache-dir
If the installation fails, ensure you are installing version 0.4.3.

YESSSSSS, You did it! It worked!!!
Woot!
Thanks again mate!
Now I'll try an example!


Convert propTypes to typescript version of props.

convert old way of handling props like this example:
  static propTypes = {
    className: PropTypes.string,
    selected: PropTypes.number,
    leftButton: PropTypes.element,
    scrollOver: PropTypes.bool
  };

to new way of handling props like

interface WrapperProps {
  orderBook: OutcomeOrderBook;
  allowanceBigNumber: BigNumber;
  market: MarketData;
  initialLiquidity?: Boolean;
}

interface WrapperState {
  orderPrice: string;
  orderQuantity: string;
}

class Wrapper extends Component<WrapperProps, WrapperState> {
  static defaultProps = {
    selectedOutcome: null,
  };
...

there are many examples in the codebase, all *.tsx should use interfaces for props and state. not all components have an internal state or props. Not all components have default props or default the state properties.
not all .tsx files are full React components they might be simple pure components.
look at augur/packages/augur-ui/src/modules/create-market/link.tsx to see a simple component that uses props in the new format.
augur/packages/augur-ui/src/modules/account/components/activity.tsx
uses props and state and defaults state.
augur/packages/augur-ui/src/modules/markets-list/components/markets-view.tsx
uses props and state and defaults props
search the code base for import PropTypes from "prop-types"; There are 49 uses of it.
these files will not need that import after refactor.

@gitstart-augur -- Here is a good first ticket to work
Here is a partial PR with some of the fix as a starting point:
https://github.com/AugurProject/augur/pull/3670

PR for issue opened here:
https://github.com/AugurProject/augur/pull/4054

Total Credits Cost : 70 Credits

@gitstart-augur @bthaile -- is this done? The patch in 4054 was merged 14 days ago.

@bthaile Ping one more time, removing from UI Refactoring so I can try and close that out.


Error in build

I'm seeing the following error when I try to use with netlify functions and apollo-server:
Error during invocation:  Error: package.json does not exist at /package.json
Here are my dependencies:
  "devDependencies": {
    "netlify-lambda": "^1.5.1"
  },
  "dependencies": {
    "@axelspringer/graphql-google-pubsub": "^1.2.1",
    "apollo-server-lambda": "^2.8.1",
    "aws-sdk": "^2.343.0",
    "dotenv": "^6.1.0",
    "graphql": "^14.4.2",
    "mongoose": "^5.4.18",
    "uuid": "^3.2.1"
  }

I think it has something to do with netlify's webpack configuration, but it only started when I installed this package.

Thx for reporting this issue.
I have never used Netlify myself, so I'm afraid I ain't much help here.
Open for a contribution which fixes the issue if you find a solution.

Thx....I ended up going another route. Google Pubsub was recommended to me by someone else.


tweakpane version ^3.0 introduces breaking changes

tweakpane recently upgraded to version 3, which introduced breaking changes:
https://github.com/cocopon/tweakpane/releases/tag/3.0.0
Running use-tweaks  gives the following error:

Changes including named exports, types changes, and refactored routes in types/api/. I will try and push a PR if I got the time.

Alternatively, downgrading tweakpane to versions 2.4.3 and under works.

Hey, we are not really maintaining this, since we moved on to Leva https://github.com/pmndrs/leva
let me know if you are interested in maintaining/developing this!

Just released 0.3.2-alpha.0 and now supports the latest version of Tweakpane (v3).


No way to correctly detokenize unicode characters that are split into multiple tokens.

Certain emojis, such as "🦙" are split into multiple tokens when tokenized. The current API does not provide a way to detokenize strings like this. The nearest you can get to a correct detokenization algorithm is the following:
// This line panics in the current version because out_buf in tokenize_bytes is too small
let tokenized = model.tokenize_bytes("🦙").unwrap();
let detokenized = tokenized
    .iter()
    .map(|token| model.token_to_piece(*token))
    .fold(String::new(), |s, sp| s + &sp);

and this outputs " ����".

Note that I got this result with Mistral Instruct 0.2. Also note that I have some draft code to solve this issue published on my detokenization_utils branch. Let me know if those solutions would be useful to you and if you want me to open a pull request.

They would be useful yes, as I'd have to look at this issue eventually :stuck_out_tongue: , this is something I was somewhat aware of, but wasn't focusing on. I took a look at your branch, feel free to open a PR :+1:  .
Any contributions are appreciated!


[BUG] Cannot log in to Dogfood tenants with ClientCertificateCredential

Library name and version
Azure.Identity 1.7.0
Describe the bug
I was trying to connect to the Dogfood cloud with ClientCertificateCredential, but I got the following error when acquiring authentication token:
Microsoft.Identity.Client.MsalServiceException : AADSTS700016: Application with identifier '<REDACTED>' was not found in the directory 'Microsoft Services'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.

Expected behavior
The authentication should succeed.
Actual behavior
The authentication failed.
Reproduction Steps
The following code can be used to reproduce the error:
var certificate = GetCertificate();
var options= new  ClientCertificateCredentialOptions
{
    AuthorityHost = new Uri("https://login.windows-ppe.net/organizations/"),
    SendCertificateChain = true,
};

var credential = ClientCertificateCredential("<TENAND_ID>", "<CLIENT_ID>", options);
var environment = new AzureEnvironment("https://api-dogfood.resources.windows-int.net", "https://management.core.windows.net/");
var armClient = new ArmClient(credential, "<SUBSCRIPTION_ID>", environment);

var subscription = await armClient.GetDefaultSubscriptionAsync(); // AADSTS700016

Looking at MsalConfidentialClient, there is no call to ConfidentialClientApplicationBuilder.WithTenantId(), which seems to be the root cause.
Environment
No response

//cc: @christothes

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

@shenglol I think the issue might be that you're including the organizations path on the authority host. I believe the AuthorityHost should be only contain the host:
var options= new  ClientCertificateCredentialOptions
{
    AuthorityHost = new Uri("https://login.windows-ppe.net/"),
    SendCertificateChain = true,
};

Could you give that a try?

@schaabs That worked. Thanks for pointing that out! I missed the fact that it should only contain the host.
Closing the issue.


Problem with utter_custom_message in new online training

Rasa Core version: 0.12.0a3
Python version: 3.6
Operating system (windows, osx, ...): Windows
Issue:
In the new online training CLI (since Rasa Core 0.11.x I believe), using the rasa_core.train in --online mode has a bug when trying to display custom messages (uttered using utter_custom_message) in the "Chat History" table. It appears to be because such messages have text=None, which raises an Exception in the "wrap(txt, max_width)" function in online.py.
A quick workaround is to add "if txt is not None else ''" at the end of this function's return (no bug anymore but nothing gets displayed in the "Chat History" table for custom messages). Probably a better solution would be to customize display of custom messages in the table, e.g. by printing the elements' title/subtitle as it used to be in the older online training versions.
Thank you!

Would you be willing to submit a PR for this? To handle the exception at least


HIVE-23691 : TestMiniLlapLocalCliDriver#testCliDriver[schq_materializ…ed] is flaky

What changes were proposed in this pull request?
HIVE-23691
Why are the changes needed?
Enabling schq_materialized.q in test suite
Does this PR introduce any user-facing change?
No
How was this patch tested?
via test

Result of flakey jenkins job is successful http://ci.hive.apache.org/job/hive-flaky-check/644/

thank you for checking and enabling it back!


refactor(api): Move calibration related functions out of the protocol_api

Overview
As per comments made in both #5811 and #5820, requests were made to move file operators/calibration functions out of labware.py in the protocol_api folder.
Changelog

Move above functions to a calibration_storage folder

Review requests
Do you like the naming conventions/new structure?
Risk assessment
very low, just moving code around
┆Issue is synchronized with this Wrike Task by Unito

Closing as changes to this branch did not propagate here. Will open another PR.


Update Node.js to v18 and npm to v9

Description

Closes: #915
How Has This Been Tested?

Run the installation locally
Create a new build
Test that the build is working

Image: quay.io/lferrnan/odh-dashboard:rhods-test
You should bump your local development to node 18 (nvm use 18) and npm v9
In some linux distributions npm +7 routes automatically with ipv6, so you might need to change your network config
Merge criteria:

[X] The commits are squashed in a cohesive manner and have meaningful messages.
[X] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[X] The developer has manually tested the changes and verified that the changes work

There are still a lot of pair dependencies from @openshift/dynamic-plugin-sdk that are conflicting our packages, as this could be a long process, I've modified the script to force installation in the frontend. We are having this same conflicts in our current setup but npm hides them, I think we should go on and fix these dependency errors in another PR.

And please let me know if you are using npm 9.5.0 or higher.
Just tested it on a fresh install in a new machine and cleaning all in my local machine and it's working as expected.

@lucferbux Hi, I am still seeing this error in my backend:
[dev:backend ] Error: Cannot find module 'node:fs'
[dev:backend ] Require stack:
[dev:backend ] -<EMAIL_ADDRESS>[dev:backend ] -<EMAIL_ADDRESS>[dev:backend ] -<EMAIL_ADDRESS>[dev:backend ] - /Users/juntaowang/Desktop/odh-dashboard/backend/src/app.ts
[dev:backend ] - /Users/juntaowang/Desktop/odh-dashboard/backend/src/server.ts
[dev:backend ]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:885:15)
[dev:backend ]     at Function.Module._resolveFilename.sharedData.moduleResolveFilenameHook.installedValue [as _resolveFilename] (/Users/juntaowang/Desktop/odh-dashboard/backend/node_modules/@cspotcode/source-map-support/source-map-support.js:811:30)
[dev:backend ]     at Function.Module._load (internal/modules/cjs/loader.js:730:27)
[dev:backend ]     at Module.require (internal/modules/cjs/loader.js:957:19)
[dev:backend ]     at require (internal/modules/cjs/helpers.js:88:18)
[dev:backend ]     at Object.<anonymous> (/Users/juntaowang/Desktop/odh-dashboard/backend/node_modules/@fastify/send/lib/SendStream.js:10:12)
[dev:backend ]     at Module._compile (internal/modules/cjs/loader.js:1068:30)
[dev:backend ]     at Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
[dev:backend ]     at Object.require.extensions.<computed> [as .js] (/Users/juntaowang/Desktop/odh-dashboard/backend/node_modules/ts-node/src/index.ts:1608:43)
[dev:backend ]     at Module.load (internal/modules/cjs/loader.js:933:32) {
[dev:backend ]   code: 'MODULE_NOT_FOUND',
[dev:backend ]   requireStack: [
[dev:backend ]<EMAIL_ADDRESS>[dev:backend ]<EMAIL_ADDRESS>[dev:backend ]<EMAIL_ADDRESS>[dev:backend ]     '/Users/juntaowang/Desktop/odh-dashboard/backend/src/app.ts',
[dev:backend ]     '/Users/juntaowang/Desktop/odh-dashboard/backend/src/server.ts'
[dev:backend ]   ]
[dev:backend ] }
[dev:backend ] [nodemon] app crashed - waiting for file changes before starting...

Looks like it happens in the fastify packages. I already deleted all the node_modules and re-install them again. My current npm version is 9.4.0 and the node version is 18.15.0.

After I deleted all the package-lock.json files, the npm run dev works! Everything works as expected, lgtm

Deleting lock files is never a solution we should take lightly. They are there for a reason -- they make sure every dependency in all aspects are sourced exactly the same for each one of us.

Tested in arm64 & x64 macos and fedora. Building Image can be found here: quay.io/lferrnan/odh-dashboard:rhods-915.


Fee history ignores block count

Component
Anvil
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
anvil 0.2.0 (e01038f 2024-04-25T00:29:53.100588000Z)
What command(s) is the bug in?
anvil -b 1
Operating System
macOS (Apple Silicon)
Describe the bug
Just run anvil -b 1 on latest anvil, wait for a couple of blocks and then request
{   "jsonrpc": "2.0",   "method": "eth_feeHistory",   "params": [     1,     "latest",     []   ],   "id": 0 }
Expected response contains 2 base fee 1 gas usage ratio, but actual response grows until 1025 and 1024 elements in corresponding arrays so it seems like block count arg is completely ignored and only hard limit of 1024 blocks is taken into account

Okay fix is rather simple, issuing it in a minute


Only send stereo audio

Is it possible to add an option to only send stereo audio to the chromecast?
Because AAC 5.1 is not supported on the Chromecast v2, Maybe only sending stereo audio will work?

These options worked for me when playing a mkv video:
castnow --tomp4 --ffmpeg-vcodec copy --ffmpeg-ac 2 video.mkv

Oké thanks I will try this tomorrow :) thank you so much

No it does not work for me


[BUG] Inconsistent alignment of profile pictures

Description
The profile pictures for the three testimonials are not consistently aligned.
Specifically:

Anita Desai (left): Profile picture is aligned to the left of the name and title.
Manoj Gupta (center): Profile picture is aligned to the left of the name and title.
Priya Nair (right): Profile picture is aligned to the right of the name and title.

This inconsistency in alignment creates a visual imbalance and could be considered a design flaw. For better visual harmony and professional appearance, all profile pictures should be consistently aligned - either all to the left or all to the right of the names and titles.
Screenshots

Any additional information?
The layout should be adjusted to ensure that all profile pictures are aligned consistently across all testimonials. This would enhance the overall aesthetic and make the interface appear more polished and intentional in its design.
What browser are you seeing the problem on?
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

@TanishSen, everything looks good. Please check again and raise an issue accordingly, which I’ll be happy to assign to you. Thank you!

please ⭐ our repo

Join our official Discord server & discuss about new features and bugs raise issue & PR accordingly.

And also follow us on Linkedin