0.13.x builds not working

Was wondering if there was any feedback on issue of building modules for linux64. Seems there is still the issue of missing nw.pak file in downloaded files.
I tired renaming file nw_100_percent.pak to nw.pak and that didn't help either.

I have the same problems.
My operating system is windows 7 based on 64 bits.

me too ...

Solved by #281 and #296.

This is obviously not solved since its not merged. And I think it IS a serious issue since V0.13.X is now the STABLE version and the doc EXPLICITLY tells to use this tool.

Exactly, and this project is owned by the nw organisation 😳. WTF?

On 13 Apr 2016, at 05:32, Émile Fugulin<EMAIL_ADDRESS>wrote:
This is obviously not solved since its not merged. And I think it IS a serious issue since V0.13.X is now the STABLE version and the doc EXPLICITLY tells to use this tool.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub https://github.com/nwjs/nw-builder/issues/300#issuecomment-209222212

I just asked on gitter, this is quite unacceptable

As a temporary fix, you can use one of these forks as a dependency in your package.json:
"nw-builder": "git://github.com/jontro/nw-builder#nwjs-13",
"nw-builder": "git://github.com/evshiron/nw-builder",

Nice thanks

Works good even with the new version (0.14.0)

Just tried building nw for target version 0.13.4 and 0.14.0 and still see the nw.pak issue referenced above. I haven't tried tomlandia's suggested versions yet.

You should... But I have new problems with plugins used in the code...

As a temporary solution you can monkeypatch file yourptojectpath\node_modules\nw-builder\lib\platforms.js.
For example, for win32 platform you can change
'>=0.12.0': ['nw.exe', 'ffmpegsumo.dll', 'icudtl.dat', 'libEGL.dll', 'libGLESv2.dll', 'nw.pak', 'locales', 'd3dcompiler_47.dll', 'pdf.dll']

to
'>=0.12.0 <0.13.0': ['nw.exe', 'ffmpegsumo.dll', 'icudtl.dat', 'libEGL.dll', 'libGLESv2.dll', 'nw.pak', 'locales', 'd3dcompiler_47.dll', 'pdf.dll'],
'>=0.13.0': ['nw.exe', 'locales', 'd3dcompiler_47.dll', 'dbghelp.dll', 'ffmpeg.dll', 'icudtl.dat', 'libEGL.dll', 'libexif.dll', 'libGLESv2.dll', 'natives_blob.bin', 'node.dll', 'nw.dll', 'nw_100_percent.pak', 'nw_200_percent.pak', 'nw_elf.dll', 'resources.pak', 'snapshot_blob.bin']

Closing this in favour of #327. Thanks for reporting.


Concurrent produce() sequence number fix

Read and update sequence numbers immediately before the produce request.
Fixes #1005 Maybe #598
Putting this up for review and input but I'm still unsure as to the failure modes.  I'm wondering whether we should decrement the sequence numbers if the broker.produce() call fails.

More info on dealing with failures with inflight request > 1.  Although I don't think we need this full implementation, as I don't think we need to guarantee ordering for concurrent requests (or we at least state that we don't.)
I think this PR as-is is an improvement to the current behaviour.  But I think there are questions around concurrent invocations of produce() and inflight requests in the idempotent mode, especially dealing with errors.

@Nevon I have added code that reverts the sequence numbers in case of a failure. Now at least it will recover in the normal case of sequential produce() calls (for a topic-partition.)
For errors when there are concurrent produce() calls ongoing (for a topic-partition) the idempotent producer will die with a  UNKNOWN_PRODUCER_ID or OUT_OF_ORDER_SEQUENCE_NUMBER error on any error.  This could be made to work if the sequence number stuff was moved inside the mutex lock that limits maxInFlightRequests.  It would be pretty simple to add another lock (per broker, or maybe even per partition?) in sendMessages.js
Test cases added that capture the current behaviour.
I just noticed https://github.com/tulios/kafkajs/blob/9cf3dfbe4c234920db171fadb113fc5f8699c14e/src/producer/sendMessages.js#L127 should probably be an allSettled().  Would cause problems if not all the promises are settled before the retry.

Hi,
I have a question.
I'm trying to do performance test for default topic: -topic kafka-test --replication-factor 2 --partitions 1.
No other settings different from default.
I've Producer and Consumer written in Java.
Producer tries to do async send 10 messages in loop one by one, each with 10kB volume record:
for (int i=0; i<numberOfRecords; i++) {
start_time = System.currentTimeMillis();
ProducerRecord<String, String> record = new ProducerRecord<>(kafkaProp.getProperty("kafka.topic"), "key " + i, start_time + message);
Future sendFuture = producer.send(record);
if (sendFuture.isDone()) {
try {
sendFuture.get();
} catch (InterruptedException var7) {
Thread.currentThread().interrupt();
throw new KafkaException("Interrupted", var7);
} catch (ExecutionException var8) {
throw new KafkaException("Send failed", var8.getCause());
}
}
}
producer.flush();
producer.close();
But even for one Producer I'm getting:
"...org.apache.kafka.common.errors.OutOfOrderSequenceException: The broker received an out of order sequence number. for topic-partition kafka-test-0 with producerId 24053, epoch 851, and sequence number 1
13:19:36:569 [kafka-producer-network-thread | producer-1] INFO org.apache.kafka.clients.producer.internals.TransactionManager - [Producer clientId=producer-1] ProducerId set to 24053 with epoch 852"
What is strange for me, that the first 2050 messages are sent in less than a second.
Then it take some time to send next messages, 20ms up, but still 2050 x 10270B is not a size of topic's buffer.
The more Producers I have for one partition the more errors I'm getting.
From Consumer site I'm counting how many messages I'm not receiving and it's from 200 over 2000 with 1 Producer. For and more Producers its over a 60% of messages that are not received (maybe send correctly).
Can you advise?


Update blaze-http to 0.14.3

Updates org.http4s:blaze-http from 0.14.2 to 0.14.3.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a nice day!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [{ groupId = "org.http4s", artifactId = "blaze-http" }]

labels: semver-patch

Cursed release, wrong branch anyway.


Update index.md

Add text "### Advantages of Insertion Sorting:

It is easy to implement
It is efficient to use if data set is small and if the array is partially sorted
It is better than bubble sort and selection sort
It requires less memory space" to article.

[x] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

It seems that similar changes have already been accepted earlier for this article you're editing, sorry about that. 😓
If you feel you have more to add, please feel free to open up a new PR.
Thanks again! 😊

If you have any questions, feel free to reach out through Gitter or by commenting below. 💬


Ability to generate bash/zsh/fish completions

Is your feature request related to a problem? Please describe.
https://github.com/charmbracelet/mods/pull/112 makes it so that tab-completions can work, but there is no way to generate the shell integrations completions script needed to actually trigger them.
Describe the solution you'd like
I would like mods --shell-completions or mods completions to run the default Cobra completions command, or an equivalent command, to allow me to tab-complete the various different flags that mods will accept.
Describe alternatives you've considered
I've cloned the repo and modified the code to make it possible to generate the completions, but I'm not sure if you're open to this as a feature or not, so I haven't sent a PR. Having generated the zsh completions for myself, my problem is solved, but others may want to use them, too.
Additional context
The change needed to enable the completion script is pretty simple, just adding that fake command always (not just when the __MODS_CMP_ENABLED env var is set):
diff --git a/main.go b/main.go
index 36607e1..7680f3b 100644
--- a/main.go
+++ b/main.go
@@ -64,7 +64,10 @@ func init() {
 		return newFlagParseError(err)
 	})

+	rootCmd.AddCommand(&cobra.Command{Use: "____fake_command_to_enable_completions"})
 	rootCmd.CompletionOptions.HiddenDefaultCmd = true
+	rootCmd.CompletionOptions.DisableDefaultCmd = false
+	rootCmd.InitDefaultCompletionCmd()
 	rootCmd.SetHelpCommand(&cobra.Command{Hidden: true})
 }

Generating the completion file then works like this:
go run . completion zsh > "${fpath[1]}/_mods"

The only impact on current experience is that you cannot submit a query beginning with the word completion, which is why i think this would be better solved by moving the command to --shell-completion or something like that.
Here's what typing mods -<tab> looks like:
~
• mods -
--api                -a  -- OpenAI compatible REST API (openai, localai).
--ask-model          -M  -- Ask which model to use with an interactive prompt.
--continue           -c  -- Continue from the last response or a given save title.
--continue-last      -C  -- Continue from the last response.
--delete             -d  -- Deletes a saved conversation with the given title or ID.
--delete-older-than      -- Deletes all saved conversations older than the specified duration. Valid units are: ns, us, µs, μs, ms, s, m, h, d, w, mo, and y.
--dirs                   -- Print the directories in which mods store its data.
--fanciness              -- Your desired level of fanciness.
--format             -f  -- Ask for the response to be formatted as markdown unless otherwise set.
--help               -h  -- Show help and exit.
--http-proxy         -x  -- HTTP proxy to use for API requests.
--list               -l  -- Lists saved conversations.
--list-roles             -- List the roles defined in your configuration file
--max-retries            -- Maximum number of times to retry API calls.
--max-tokens             -- Maximum number of tokens in response.
--model              -m  -- Default model (gpt-3.5-turbo, gpt-4, ggml-gpt4all-j...).
--no-cache               -- Disables caching of the prompt/response.
--no-limit               -- Turn off the client-side limit on the size of the input into the model.
--prompt             -P  -- Include the prompt from the arguments and stdin, truncate stdin to specified number of lines.
--prompt-args        -p  -- Include the prompt from the arguments in the response.
--quiet              -q  -- Quiet mode (hide the spinner while loading and stderr messages for success).
--raw                -r  -- Render output as raw text when connected to a TTY.
--reset-settings         -- Backup your old settings file and reset everything to the defaults.
--role                   -- System role to use.
--settings               -- Open settings in your $EDITOR.
--show               -s  -- Show a saved conversation with the given title or ID.
--show-last          -S  -- Show the last saved conversation.
--status-text            -- Text to show while generating.
--stop                   -- Up to 4 sequences where the API will stop generating further tokens.
--temp                   -- Temperature (randomness) of results, from 0.0 to 2.0.
--title              -t  -- Saves the current conversation with the given title.
--topp                   -- TopP, an alternative to temperature that narrows response, from 0.0 to 1.0.
--version            -v  -- Show version and exit.
--word-wrap              -- Wrap formatted output at specific width (default is 80)
--format-as

and here's the _mods completion script (had to add .txt so that Github would let me upload it):

_mods.txt

By the way, thank you very much for mods — it's great! So nice to have a static executable to do this kind of stuff with, I was using simonw/llm but the python environment kept getting messed up. The beautiful colors, useful formatting options, and ESPECIALLY the -C to keep talking about something, are all extremely nice.

man you would love fish shell, if you"re into that kind of things. Custom completion is a game changer ppl dont realise
You have every completion in a path like  ~/config/fish/completions/ and its binded with command name so you have  ls.fish fzf.fish etc, and you can edit/create custom completions just by creating a file with the same name (without even reloading the shell)

you can make this in 2 min compared to the autoload compdef genmods etc zsh its the middle ages

Sure, I'm aware, but I'm happy with my zsh setup. The code already exists to generate the command completions script, for both zsh and fish. I filed this bug with the hopes of making it more accessible to actually run, as right now the command is disabled.

yes, removing the need for the env var would break questions that start with completion.
you can generate the script without any changes by running:
__MODS_CMP_ENABLED=1 mods completion bash

not sure you can actually put it behind a flag, not sure if it's worth it, as the generated scripts are also shipped with the binaries in the archives/packages 🤔

@caarlos0 that's a nice tip. And indeed, I just checked that the homebrew package for mods ships with the zsh completions.
~
• which mods
/opt/homebrew/bin/mods

~
• ls /opt/homebrew/Cellar/mods/1.4.0/share/zsh/site-functions
_mods

I believe my issue would be fully resolved by adding documentation regarding completions:

(a) how to reference/import/use the completions that are included in homebrew and other package managers
(b) how to generate completions (for if you installed with go install, or build from source) using the env var

Thanks! The new docs look great :) I appreciate you and mods !


feat:Added datewise organization of bookmarks in homescreen

Fixes #1810
Changes

Modified GlobalSearchAdapter to use in the Homescreen.
GlobalSearchAdapter can be renamed as GenericAdapter.
Added date-wise splitting of bookmarks.

Screenshots for the change:

@iamareebjamal @Shailesh351 @arp95 @rohanagarwal94 Please review.
I would need some help in what to use from DateUtils to convert this date string to the one with the day eg. Mon , 17 July , 2017

@shreyasnbhat Create a new Date format string and its SimpleDateFormatter, add it in the switch case mapper, and use the getDateStringWithDefault with that String parameter

@iamareebjamal @arp95 @Shailesh351   What shall I do about the 2 headers? Shall I remove the Bookmark Header entirely? As there are 2 headers back to back for exmple. Bookmarks and then 17 Mar.

@shreyasnbhat You can keep Bookmarks header and for dates header make it gray as we have in DayScheduleFragment.

@Shailesh we can add sticky headers later. It would have to be implemented in the entire home screen for a consistent UI.
For that to work we would have to get all the event-info items as ViewHolders and would involve major refactoring of code.

@iamareebjamal @Shailesh351 @arp95 Updated.
Screeshot

@Shailesh351 @iamareebjamal @arp95 Please review.

@Shailesh351 The global search adapter does give results from multiple sources. Bookmarks can very well be a source. I proposed that we rename Global search adapter to something like Generic Adapter as there would be un-necessary code duplication for no reason if I made another adapter called Bookmarks adapter. If I want to go ahead with adding sessions/bookmarked sessions in the global search this would be the best way to go. And for the addition of sticky headers I can do it but the question is that whether the UI will consistent with white background headers being sticky and the other red headers not being sticky. Additionally the red headers are all static in nature. Sticky headers just creates inconsistent UI here. What happens when we reach the end of the bookmarks? We would probably have a header with the text 19th Mar with no bookmarks below it which is wierd.
In a gist I strongly feel that we shouldn't add sticky headers here. @iamareebjamal @arp95 please suggest.
Sent from my OnePlus ONEPLUS A5000 using FastHub

@the-dagger @iamareebjamal @arp95 Please review and merge.

@iamareebjamal  Updated.

@iamareebjamal Please review.

@arp95 @rohanagarwal94 @mahikaw Please review.

@rohanagarwal94 Updated.

@iamareebjamal @rohanagarwal94 @arp95 Updated guys. Please review. All minor changes done.

@rohanagarwal94 @arp95 Please review.


[SPARK-39458][CORE][TESTS] Fix UISuite for IPv6

What changes were proposed in this pull request?
This PR aims to fix UISuite to work in IPv6 environment.
Why are the changes needed?
IPv6 address contains :.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Manual tests in Pure IPv6 environment.

Could you review this test PR, @huaxingao ?

@dongjoon-hyun Thanks for pinging me. The change looks good to me.

Thank you, @huaxingao !

Merged to master.


[WIP] UI

[x] Home page

[x] Sign In / Sign Up Customer

[x] Sign In Worker

[ ] Worder Dashboard

[ ] Worker Invoice Manager

[ ] Wroker Product Manager

[ ] Cupboard creation

[x] Thanks page

I will do the worker dashboard, invoice manager and product manager this week-end.


libreoffice-fresh: <IP_ADDRESS> -> <IP_ADDRESS>

Motivation for this change
Better MS support.
https://wiki.documentfoundation.org/ReleaseNotes/7.0
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Currently building. I've seen some warnings pass by like these:
cc1: warning: command line option '-fno-visibility-inlines-hidden' is valid for C++/ObjC++ but not for C
Doesn't really matter because it's just a warning, but I was wondering if there's an override in nixpkgs for CXXFLAGS instead of all CFLAGS?
I'll go to sleep now and give an update on how it works when I wake up :) (and have some time).

Is there a reason for keeping the /src/../extern/ like that? It can be replaced with just /extern/, no?

I am not sure it is guaranteed for HTTP paths, but probably it is true in every reasonable case.
But as these files are generated, it makes sense to keep the simplest generator that works as long as it keeps working…

Oh, I didn't know it was generated. Then of course it doesn't really matter. Just keep it as-is.
Everything built and seems to work fine. I see some warnings but they're probably not nix-specific, so I think it's all good. I've tried to run all binaries and they all seem to work as expected.
(soffice:6196): dconf-WARNING **: 07:59:06.668: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files


Teach cocoon about Pigeon test structure

The pigeon package has an unusual test structure, which causes a lot of false positives from the test bot. A simple rule or two for its test patterns would help a lot.

Fixed in https://github.com/flutter/cocoon/pull/2333; I forgot to link it.


Publish only one architecture specific runtime

Hi,
do you think it's possible to package the library so that only a specific native implementation gets published (for example between x86 and x64, so we can remove a good 50mb from each built artifact) ?
Would it be possible to follow this guidelines ?
https://docs.microsoft.com/en-us/nuget/create-packages/supporting-multiple-target-frameworks#architecture-specific-folders
Thanks!

(I'm not a contributor, just a user.) If you look in the nupkg file, it follows exactly that folder structure. I believe it is following the recommended practice which is to include both runtimes in one package.

Sorry my bad than, i was asking because when i publish a netcore 3.0 application with rid win-x64 the output folder contains those 2 files in the root (opencv_ffmpeg410.dll and OpenCvSharpExtern.dll) and also two subfolder (x86 and x64) that contains the same files, so basically there are 3 copies of the same files (two copy for x64 and one for x86).

I do not think that that #752 worked :
I have a project with OpenCvSharp4.Windows <IP_ADDRESS>91110.
If i run dotnet publish -r win-x64, my publish folder still contains : 3 copies of opencv (OpenCvSharpExtern.dll and opencv_ffmpeg410_64.dll)
One on the root of the publish folder, and then one x86 in the dll/x86 subfolder and one x64 in the dll/x64 subfolder.

Thanks


Invalid RequestAuthentication configuration prevents a Sidecar from booting

Bug Description
If you have invalid RequestAuthentication configuration, for example:
apiVersion: security.istio.io/v1beta1
kind: RequestAuthentication
metadata:
  name: oauth
  namespace: platform-testing
spec:
  jwtRules:
  - audiences:
    - service:platform-testing
    forwardOriginalToken: false
    issuer: https://www.google.com
    jwksUri: https://www.google.com
  selector:
    matchLabels:
      app: platform-testing

Then restart a workload, it'll never actually come up:
{"level":"warning","time":"2022-06-10T18:20:56.080686Z","scope":"envoy config","msg":"gRPC config for type.googleapis.com/envoy.config.listener.v3.Listener rejected: Error adding/updating listener(s) virtualInbound: Provider 'origins-0' in jwt_authn config has invalid local jwks: Jwks is an invalid JSON\n"}
{"level":"warn","time":"2022-06-10T18:20:56.299691Z","msg":"Envoy proxy is NOT ready: config received from XDS server, but was rejected: cds updates: 1 successful, 0 rejected; lds updates: 0 successful, 1 rejected"}
{"level":"warn","time":"2022-06-10T18:20:56.801657Z","msg":"Envoy proxy is NOT ready: config received from XDS server, but was rejected: cds updates: 1 successful, 0 rejected; lds updates: 0 successful, 1 rejected"}
{"level":"warn","time":"2022-06-10T18:20:57.303681Z","msg":"Envoy proxy is NOT ready: config received from XDS server, but was rejected: cds updates: 1 successful, 0 rejected; lds updates: 0 successful, 1 rejected"}
{"level":"warn","time":"2022-06-10T18:20:57.805537Z","msg":"Envoy proxy is NOT ready: config received from XDS server, but was rejected: cds updates: 1 successful, 0 rejected; lds updates: 0 successful, 1 rejected"}
{"level":"warn","time":"2022-06-10T18:20:58.307672Z","msg":"Envoy proxy is NOT ready: config received from XDS server, but was rejected: cds updates: 1 successful, 0 rejected; lds updates: 0 successful, 1 rejected"}
{"level":"warn","time":"2022-06-10T18:20:58.809639Z","msg":"Envoy proxy is NOT ready: config received from XDS server, but was rejected: cds updates: 1 successful, 0 rejected; lds updates: 0 successful, 1 rejected"}
{"level":"warn","time":"2022-06-10T18:20:59.311935Z","msg":"Envoy proxy is NOT ready: config received from XDS server, but was rejected: cds updates: 1 successful, 0 rejected; lds updates: 0 successful, 1 rejected"}
{"level":"warn","time":"2022-06-10T18:20:59.814299Z","msg":"Envoy proxy is NOT ready: config received from XDS server, but was rejected: cds updates: 1 successful, 0 rejected; lds updates: 0 successful, 1 rejected"}

This came about because we had an unexpected issue with our jwksUri provider, and a workload was scheduled during that time and got stuck in a crash loop.
Feels like it'd be better if it just logged the errors but continued, and kept trying to load the keys.  The route would still be protected by the AuthorizationPolicy and 403 anyway.
Version
1.13.4

Additional Information
No response

cc @aryan16

I am confused with one thing, since your istiod is fetching the jwks pubkey and if it is not correct then I don't think istiod will push that faulty key. How is it even pushing in your case ?

cc: @liwenhao0810


Active menu item class

As a feature request, it'd be really great if an active class was added to the current menu item. In order to use this I'll need to figure out a way of adding that as the designs I work with always have an active state.

@nomadOnWeb ok, but where you add this "data-anchor-target (...)) to menu items? Could you provide complete example?

@michal-jomsocial Sorry for this late answer. Hope it will help others (because i hope you found the solution since feb. ;))
So to be simple let's say we have this for the menu :
Got to section 1
Got to section 2
Simply add my code line like this :
Got to section 1
Got to section 2
so data-anchor-target to specify wich section we want.
data-50 it's just because i have a static menu 50px height.
So when the desired section reach the top of the screen, an "active" class is added. when we scroll down and the bottom of the section reach the top of the screen, we switch on the "inactive" class.
And so we can style this in css :
.inactive {
color: white; }
.active {
color:red; }
Here it is, hope it will help :)


Update Readme

I noticed a problem when attempting to migrate from Ember.Select to X-Select.  Namely that the selection property in Ember.Select isn't supported in X-Select.
This despite an example in the Readme using the very same property.
This pull request attempts to correct this error and briefly highlight this difference since previous text mentioned being API compatible.

I'm going to close and reopen an issue for this in the Emberx-select-blockless repo :)
Thanks for the PR!


QB drop down filters unavailable

Describe the bug
The reporting org drop down list is not populated. This can been the case since Thursday 4th.
To Reproduce
Steps to reproduce the behavior:

Go to https://iatidatastore.iatistandard.org/querybuilder/core-filters
Click on Reporting Organisation
See error

Expected behavior
I expect a full list of IATI publishers to be shown
Screenshots

I do see it. Lets keep a pin on this, as I believe some service errors has been popping up in the last few days that causes this @amy-silcock

Identical to #2544


An Quiz App using javascript

Is your feature request related to a problem? Please describe.
Quiz App using Javascript
Describe the solution you'd like.
I have been created Quiz App using HTML CSS and javascript.
Describe alternatives you've considered.
For testing purposes, I am adding 4 Questions may be in the future we can add more and more questions.
Add any other context or screenshots about the feature request here.
I have hosted it on GitHub which URL is given below:
https://dharmesh177.github.io/KUDOZU-QUIZ-APP/

@Dharmesh177 Good Luck 👍🏻


use datatable() and initial rows display less than "all" (-1)

Hi,
I just noticed on my query form if the initial display is lower than ALL the rows returned in the query, if I change the number of rows displayed then the x-editable elements after that amount of rows are not editable, they have a solid underline. If I change the initial display to "ALL" -1 then if I make the display
to less amount of rows then all the x-editable elements are displayed and can go back and forth.
My data table settings are:
`$(document).ready(function() {
// Setup - add a text input to each footer cell
$('#mytable1 thead th').each( function () {
var title = $(this).text();
$(this).html( '' );
} );
$('#mytable1 tfoot th').each( function () {
var title = $(this).text();
$(this).html( '' );
} );
// DataTable
var table = $('#mytable1').DataTable({
    'paging':   true,  // Table pagination
    'ordering': true,  // Column ordering
    'info':     true,  // Bottom left status text
    aLengthMenu: [
      [-1, 10, 50],
      ["All", 10, 50]
    ],
    // Text translation options
    // Note the required keywords between underscores (e.g _MENU_)
    oLanguage: {
        sSearch:      'Search all columns:',
        sLengthMenu:  '_MENU_ records per page',
        info:         'Showing page _PAGE_ of _PAGES_',
        zeroRecords:  'Nothing found - sorry',
        infoEmpty:    'No records available',
        infoFiltered: '(filtered from _MAX_ total records)'
    }
});

// Apply the search
table.columns().every( function () {
    var that = this;

    $( 'input', this.footer() ).on( 'keyup change', function () {
        if ( that.search() !== this.value ) {
            that
                .search( this.value )
                .draw();
        }
    } );
    $( 'input', this.header() ).on( 'keyup change', function () {
        if ( that.search() !== this.value ) {
            that
                .search( this.value )
                .draw();
        }
    } );
} );

`
My x-editable settings are:
`    //turn to popup mode
$.fn.editable.defaults.mode = 'popup';
$('#mytable1 a').editable();

`
If I change:
        aLengthMenu: [           [-1, 10, 50],           ["All", 10, 50]         ],
to:
        aLengthMenu: [           [10, 50, -1],           [10, 50, "ALL"]         ],
And then select 50 rows or ALL the additional rows x-editable elements are not editable. The underline is solid as opposed to broken on the editable elements (above). Thanks!

I didn't test it, but I think I can help: Your call $('my table a).editable() only initializes x-editable on all the currently visible links. That is the rows that are currently shown. If your table has more rows that can be shown via paging, then you have to re-initilaize the x-editable fields.    You could listen for datatables's page events.  I hope that helps

@Doogiemuc sounds reasonable, I will review the page events and see if this newbie can figure out how to "listen" for them when I get a chance, thanks!


Replace GitHub pages links with githubraw links

note: githubraw.com isn't the same as raw.githubusercontent.com.
it mirrors GitHub raw pages automatically, and adds the correct Content-Type header to the links so CSS can parse the data from the CSS file

i'm already using github pages, idk why this is needed.

i'm already using github pages, idk why this is needed.
fair lol just thought you were manually uploading the pages to a site


looks nice, does not play

https://bembedfix.vercel.app/video/BV1bi421h79s gets me this:

but when I click "play" button, nothing happens 😩

Dupe of #26


Can you port this for mobile browsers? Safari, Chrome for iOS/Android

Would be great to have alexa on the go!

It should work fine on Android Chrome or Firefox, however it can't work on the iPhone as Safari doesn't support the getUserMedia function that I'm using.


place: can't create when lat. and long. are entered

I tried (twice) to create a place entering:
name
date begin
date end
type
and lat. and longitude.
I clicked "modify" though it wouldn't create an entry. then I deleted the lat and long. and it worked.

Maybe that's because of my deleting place-place-relations. I will check it out myself

Yes, that was it.


Notification Break Responsiveness

Notification breaks responsiveness. There are some white space in top right.

after read some code, this problem because Browser not allauth-ui. So the issue is close


1.18.1 support?

Are there any plans of updating this mod to 1.18.1?

It's right on the download page :)
In general, the mod should support all minor releases of Minecraft, aka the 1.18 version should support 1.18.1, 1.18.2 (if it comes out) and any further ones, unless they mess with the client too much.


[FEATURE]: explain analyse

Describe what you want
It would be great to have an option for explain analyse. Not sure about implementation but this comes naturally to me;
import { analyse, explain } from 'drizzle-orm/pg-core';

const result = await explain(analyse(db.select(…).from(…)));

I realized I wanted this but I probably wanted something more purpose built and I figured folks might find this useful. I wrote this thing because I wanted the flexibility to change what I did with the results of EXPLAIN but then still return the actual result from the query so I don't need to change a bunch of code to inspect things. Mine actually writes to a file instead of console.debug but I tried to keep it as simple as possible.
export const connectDrizzleDb = async (connectionString: string) => {
  const client = new Client(connectionString);
  await client.connect();
  const db = drizzle(client, {
    schema: {
      userTable,
    },
  });
  return db;
};

type DatabaseDefinition = Awaited<ReturnType<typeof connectDrizzleDb>>;

export const userByIdQuery = async (db: DatabaseDefinition, id: string) =>
  await db.select().from(userTable).where(eq(userTable.id, id)).limit(1);

export const userById = async (db: DatabaseDefinition, id: string) => {
  const result = await userByIdQuery(db, id);
  return result.at(0);
};

export const explainAnalyze = async <T extends SQLWrapper>(db: DatabaseDefinition, query: T) => {
    const debugResult = await db.execute(sql`EXPLAIN ANALYZE ${query.getSQL()}`);
    console.debug(debugResult);
  return await query;
};

Then if I want to analyze something, I wrap it and it doesn't affect the actual returned results.
export const userByIdQuery = async (db: DatabaseDefinition, id: string) =>
  await explainAnalyze(db, db.select().from(userTable).where(eq(userTable.id, id)).limit(1));


Added log at line 419

Related to #480.

Sorry, lost in my 120 tabs. Will close as I made this by accident for merge in master.


docs: add note for svelte v5

I would like to release eslint-plugin-svelte v2.36.0.
In preparation for the release, this PR clarifies in the documentation that support for Svelte v5 is not yet stable.
https://github.com/sveltejs/eslint-plugin-svelte/issues/727

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2792

Relevant Lines:
2973

💛  - Coveralls


Update idris2 and Nix naming

Update to latest Idris 2 commit (non-breaking).
Update to latest Idris 2 flakeref (breaking).
Rename idris2-lsp flake output to idris2Lsp to align with nixpkgs naming. The inherited idris2-api flake output also go renamed to idris2Api for the same reason.

Built & tested on x86_64-darwin.

Built & tested on x86+64-linux.


add fallback_buffer_dir option

This adds an option to change the root directory to the buffer directory, if the file is outside of a project.
I often edit files outside of projects while my cwd is somewhere else. Telescope and nvim-tree can be convinced to open the buffer's directory without changing this plugin, but for :edit, :write and running shell commands in the same directory there is no alternative.

Looks like this is the fourth(?) PR for this kind of feature now:

https://github.com/ahmedkhalf/project.nvim/pull/56
https://github.com/ahmedkhalf/project.nvim/pull/62
https://github.com/ahmedkhalf/project.nvim/pull/88

I guess it's up to @ahmedkhalf to decide on which one to merge

Ah sorry, i only saw #56, which would add the current dir to the list of projects, if i'm not mistaken.


Added ThermoCycler Component

The thermocycler component allows for liquids to be heated.
This component has been added as a feature, and in the necessary UI places.

The above pull has updated the featureSet, index.html, and componentToolBar.
The thermocycler (aka Thermal Cycler) has a few feature parameters:

position
temperature (new)
orientation
length
width
height

The thermocycler component allows a channel structure to be placed over, which contain the fluids. A pneumatic or electrical trigger can send the liquid throughout the component.


Bug: test domain_decomposition.homogenous_population hangs when build with MPI

The tests case domain_decomposition.homogenous_population hangs when build with MPI
problem occurs with different mpi version and on 3 differents systems.
problem does not occur when building without MPI.

Fixed in #340.


Swarm - Quarterly Participation Reports (1 of 3)

[ ] Analysis of survey results
[ ] Share in WG 1 - August 2024
[x] Participation numbers / stats (see https://github.com/Catalyst-Swarm/Intersect-Town-Hall/issues/18#issuecomment-2272947869)

This task is intended to
Proposal context
Deliverable

https://catalyst-swarm.gitbook.io/intersect-town-hall-playbook/the-proposal/intersect-town-hall-by-swarm

Acceptance Criteria

.

Estimated Duration

Cost

How many people registered?
How many different people presented slides?
How many views and impressions and stuff we get from Twitter

Looking at the Zoom registration, there isn't really any nicely organised data or metrics to create visual reports.
By flipping through the inconvenient Zoom settings, after the initial month the average registration to Town Halls is once per week.
This shows there aren't new people coming into space.
We started collecting slides on Google Sheet from August to have better tool to coordinate between Intersect Staff on what is being presented for upcoming Town Hall. https://docs.google.com/spreadsheets/d/1zrg8xRoUZMq1vLNgunzsCxE-lVu23B4qxrL51oTHcdg/edit?gid=1915982687#gid=1915982687
on August we had 10 additional presenters
on September we had 7 additional presenters
on October we had 5 additional presenters

We track Bitly links and twitter/X analytics on Publicity Sheet:
https://docs.google.com/spreadsheets/d/1CMiDIkTdp1JOt6qRBcse-51PTOw9dqBU_YxB5XEcOf0
here is a report on measuring different links
https://docs.google.com/document/d/1S7TUIdYREoDwu1vZSJ1BMn2KtflO74So7koeP79D2lU
Regarding Twitter analytics, its very telling that the way message is created attracts attention.
Feels like Simple invites and callout are being ignored


Update of Trigger fails

Using the example in the programming guide:
https://github.com/mrutkows/incubator-openwhisk-wskdeploy/blob/guide-part9/docs/wskdeploy_triggerrule_trigger_bindings.md
with deployment file:
application:
  name: meetPerson-bindings

  packages:
      hello_world_package:
        triggers:
          meetPerson:
            inputs:
              name: Sam
              place: the Shire
              children: 13
              height: 1.2

fails to update the trigger
https://openwhisk.ng.bluemix.net/api/v1/namespaces/_/actions/hello_world_package/hello_world_triggerrule?overwrite=true
...
RESPONSE:Got response with code 502
Resp Headers
{
  "Connection": [
    "Keep-Alive"
  ],
  "Content-Type": [
    "text/html"
  ],
  "Date": [
    "Thu, 28 Sep 2017 19:29:39 GMT"
  ],
  "Ibm_cloud_functions": [
    "OpenWhisk"
  ],
  "Server": [
    "nginx/1.11.13"
  ],
  "Set-Cookie": [
    "DPJSESSIONID=PBC5YS:-2098699314; Path=/; Domain=.whisk.ng.bluemix.net"
  ],
  "X-Backside-Transport": [
    "FAIL FAIL"
  ],
  "X-Global-Transaction-Id": [
    "89866399"
  ]
}

502 = BAD GATEWAY???
full details (verbose) as follows:
./wskdeploy -m docs/examples/manifest_hello_world_triggerrule_unbound.yaml -d docs/examples/deployment_hello_world_triggerrule_bindings.yaml -v
[/deployers.NewWhiskConfig]:229:[Inf] The API host is openwhisk.ng.bluemix.net, from .wskprops.
[/deployers.NewWhiskConfig]:233:[Inf] The auth key is set, from .wskprops.
[/deployers.NewWhiskConfig]:237:[Inf] The namespace is _, from .wskprops.
[client-go/whisk.NewClient]:104:[Inf] Disabling certificate checking.
[ploy/utils.ParseOpenWhisk]:488:[Inf] Start to unmarshal Openwhisk info from local values.
WARNING: using package inside of manifest file will soon be deprecated, please use packages instead.
Checking key place
Checking key children
Checking key height
Checking key name
[ceDeployer).createPackage]:472:[Inf] Deploying package hello_world_package ...[k.(*Client).addAuthHeader]:235:[Inf] Adding basic auth header; using authkey
REQUEST:
[PUT]	https://openwhisk.ng.bluemix.net/api/v1/namespaces/_/packages/hello_world_package?overwrite=true
Req Headers
{
  "Authorization": [
    "Basic MmRhODZhNzktOTBlZC00ZTE2LTg0NzctYzgxNTRhYzQyYTg2OmtmM3JqazBNVnNnT1FjbkdYWkRvbGJ1Z0Zpamkwc3RvN0FxckhuQm15eEJXY3NqSm1UVGdrd09WazZYZWhSOFM="
  ],
  "Content-Type": [
    "application/json"
  ]
}
Req Body
{{"name":"hello_world_package","publish":false}
}
[ent-go/whisk.(*Client).Do]:298:[Inf] Req Body (ASCII quoted string):
{"{\"name\":\"hello_world_package\",\"publish\":false}\n"}
RESPONSE:Got response with code 200
Resp Headers
{
  "Access-Control-Allow-Headers": [
    "Authorization, Content-Type"
  ],
  "Access-Control-Allow-Origin": [
    "*"
  ],
  "Connection": [
    "Keep-Alive"
  ],
  "Content-Type": [
    "application/json"
  ],
  "Date": [
    "Thu, 28 Sep 2017 19:29:39 GMT"
  ],
  "Ibm_cloud_functions": [
    "OpenWhisk"
  ],
  "Server": [
    "nginx/1.11.13"
  ],
  "Set-Cookie": [
    "DPJSESSIONID=PBC5YS:1663067204; Path=/; Domain=.whisk.ng.bluemix.net"
  ],
  "X-Backside-Transport": [
    "OK OK"
  ],
  "X-Global-Transaction-Id": [
    "1411169915"
  ]
}
Response body size is 149 bytes
Response body received:
<EMAIL_ADDRESS>[ent-go/whisk.(*Client).Do]:341:[Inf] Response body received (ASCII quoted string):
<EMAIL_ADDRESS>[k.IsResponseResultSuccess]:550:[Wrn] IsResponseResultSuccess: failed to parse response result: <nil>
[hisk.parseSuccessResponse]:475:[Inf] Parsing HTTP response into struct type: **whisk.Package
[hisk.parseSuccessResponse]:484:[Inf] Successful parse of HTTP response into struct type: **whisk.Package
[ceDeployer).createPackage]:483:[Inf] Package hello_world_package has been successfully deployed.
[iceDeployer).createAction]:615:[Inf] Deploying action hello_world_package/hello_world_triggerrule ...[k.(*ActionService).Insert]:205:[Inf] Action insert route: actions/hello_world_package/hello_world_triggerrule?overwrite=true
[k.(*Client).addAuthHeader]:235:[Inf] Adding basic auth header; using authkey
REQUEST:
[PUT]	https://openwhisk.ng.bluemix.net/api/v1/namespaces/_/actions/hello_world_package/hello_world_triggerrule?overwrite=true
Req Headers
{
  "Authorization": [
    "Basic MmRhODZhNzktOTBlZC00ZTE2LTg0NzctYzgxNTRhYzQyYTg2OmtmM3JqazBNVnNnT1FjbkdYWkRvbGJ1Z0Zpamkwc3RvN0FxckhuQm15eEJXY3NqSm1UVGdrd09WazZYZWhSOFM="
  ],
  "Content-Type": [
    "application/json"
  ]
}
Req Body
{{"name":"hello_world_package/hello_world_triggerrule","exec":{"kind":"nodejs:6","code":"// Licensed to the Apache Software Foundation (ASF) under one or more contributor\n// license agreements; and to You under the Apache License, Version 2.0.\n\n/*\n * Hello, world. Plus more\n */\nfunction main(params) {\n    msg = \"Hello, \" + params.name + \" from \" + params.place;\n    family = \"You have \" + params.children + \" children \";\n    stats = \"and are \" + params.height + \" m. tall.\";\n    return { greeting:  msg, details: family + stats };\n}\n"},"parameters":[{"key":"name","value":""},{"key":"place","value":""},{"key":"children","value":0},{"key":"height","value":0}],"publish":false}
}
[ent-go/whisk.(*Client).Do]:298:[Inf] Req Body (ASCII quoted string):
{"{\"name\":\"hello_world_package/hello_world_triggerrule\",\"exec\":{\"kind\":\"nodejs:6\",\"code\":\"// Licensed to the Apache Software Foundation (ASF) under one or more contributor\\n// license agreements; and to You under the Apache License, Version 2.0.\\n\\n/*\\n * Hello, world. Plus more\\n */\\nfunction main(params) {\\n    msg = \\\"Hello, \\\" + params.name + \\\" from \\\" + params.place;\\n    family = \\\"You have \\\" + params.children + \\\" children \\\";\\n    stats = \\\"and are \\\" + params.height + \\\" m. tall.\\\";\\n    return { greeting:  msg, details: family + stats };\\n}\\n\"},\"parameters\":[{\"key\":\"name\",\"value\":\"\"},{\"key\":\"place\",\"value\":\"\"},{\"key\":\"children\",\"value\":0},{\"key\":\"height\",\"value\":0}],\"publish\":false}\n"}
RESPONSE:Got response with code 502
Resp Headers
{
  "Connection": [
    "Keep-Alive"
  ],
  "Content-Type": [
    "text/html"
  ],
  "Date": [
    "Thu, 28 Sep 2017 19:29:39 GMT"
  ],
  "Ibm_cloud_functions": [
    "OpenWhisk"
  ],
  "Server": [
    "nginx/1.11.13"
  ],
  "Set-Cookie": [
    "DPJSESSIONID=PBC5YS:-2098699314; Path=/; Domain=.whisk.ng.bluemix.net"
  ],
  "X-Backside-Transport": [
    "FAIL FAIL"
  ],
  "X-Global-Transaction-Id": [
    "89866399"
  ]
}
Response body size is 174 bytes
Response body received:

<title>502 Bad Gateway</title>

502 Bad Gateway

nginx/1.11.13

[ent-go/whisk.(*Client).Do]:341:[Inf] Response body received (ASCII quoted string):
"\r\n<title>502 Bad Gateway</title>\r\n\r\n
502 Bad Gateway
\r\n
nginx/1.11.13\r\n\r\n\r\n"
[/whisk.parseErrorResponse]:410:[Inf] HTTP failure 502 + body
[/whisk.parseErrorResponse]:428:[Err] HTTP response with unexpected body failed due to contents parsing error: 'invalid character '<' looking for beginning of value'
[k.(*ActionService).Insert]:220:[Err] s.client.Do() error - HTTP req https://openwhisk.ng.bluemix.net/api/v1/namespaces/_/actions/hello_world_package/hello_world_triggerrule?overwrite=true; error 'The connection failed, or timed out. (HTTP status code 502)'
[iceDeployer).createAction]:622:[Err] Got error creating package with error message: The connection failed, or timed out. (HTTP status code 502) and error code: 246.
[(*ServiceDeployer).Deploy]:242:[Err] Deployment did not complete sucessfully. Run `wskdeploy undeploy` to remove partially deployed assets.
Error: /Users/Matt/go/src/github.com/apache/incubator-openwhisk-wskdeploy/deployers/servicedeployer.go [623]: OpenWhisk Client Error =====> The connection failed, or timed out. (HTTP status code 502) Error code: 246.

Usage:
  wskdeploy [flags]
  wskdeploy [command]

Available Commands:
  add         Add an action, feed, trigger or rule to the manifest
  help        Help about any command
  init        Init helps you create a manifest file on OpenWhisk
  publish     Publish a package to a registry
  report      Returns summary of what's been deployed on OpenWhisk in specific namespace
  undeploy    Undeploy assets from OpenWhisk
  version     Print the version number of openwhisk-wskdeploy

Flags:
  -a, --allow-defaults       allow defaults
  -i, --allow-interactive    allow interactive prompts
      --apihost string       whisk API HOST
      --apiversion VERSION   whisk API VERSION
  -u, --auth KEY             authorization KEY
      --config string        config file (default is $HOME/.wskprops)
  -d, --deployment string    path to deployment file
  -h, --help                 help for wskdeploy
  -m, --manifest string      path to manifest file
  -n, --namespace string     namespace
  -p, --pathpath string      path to serverless project (default ".")
  -s, --strict               allow user defined runtime version
  -t, --toggle               Help message for toggle
  -v, --verbose              verbose output

Use "wskdeploy [command] --help" for more information about a command.

Error: /Users/Matt/go/src/github.com/apache/incubator-openwhisk-wskdeploy/deployers/servicedeployer.go [623]: OpenWhisk Client Error =====> The connection failed, or timed out. (HTTP status code 502) Error code: 246.

errors in Dallas production...


Fix broken Cadence integ test env

Attempted to fix here but it doesn't work: https://github.com/indeedeng/iwf/pull/380

looks like the kafka image is added back: https://hub.docker.com/r/wurstmeister/kafka/tags?page=&page_size=&ordering=&name=2.12-2.1.1

Happening again https://github.com/indeedeng/iwf/pull/399
Probably fix by switching the image as stated in https://github.com/wurstmeister/zookeeper-docker/issues/31

https://github.com/indeedeng/iwf/pull/431


GRPCChannel.m line 63 the containsString api only supported in iOS8

In iOS 6 or 7,we use the [host hasPrefix:@"http"] to check wether the host has scheme provided.

Note that grpc core handles uris differently in #2208. We need to provide consistency here. What is ObjC using uris for?

https://github.com/grpc/grpc/blob/master/src/objective-c/GRPCClient/private/GRPCChannel.m#L62
Finding the port to use and if SSL has to be enabled, apparently.

Yes it is.but "[host containsString:@"://"]" can only works on devices with iOS8 or later.Doesn't grpc support iOS 6 & 7(it will crash because no such method).
Use [host rangeOfString:@"://"] to instead?
This method return length==0 if the target string is not found. So, to check for containment: ([str<EMAIL_ADDRESS>> 0).

HI, @jcanizales  we found the same problem,  [string containsString ] api just work on ios 8, but in ios 7 does not work, cloud you fix this quickly?

Sorry, I was searching for ways to test this so it doesn't happen again. But apparently doing it requires installing older versions of XCode, so that will need to wait until we have Jenkins set up for iOS.

Update: We have Travis running our tests now, but it can't still be configured to run iOS 7 and 9, it's either/or (tracked at https://github.com/travis-ci/travis-ci/issues/4011).


[OAP-1517][oap-native-sql]Columnar SMJ: improvement on SortMergeJoin

What changes were proposed in this pull request?
Improve SMJ code

bug fix on String based SMJ
fix memleak
adding null_check
fixes #1517

How was this patch tested?

@zhztheplayer here's the fix for SMJ


update the benchmark results

What do these changes do?

update the benchmark table and add links to new QN versions.
How Has This Been Tested?

Benchmark Results

Related issue number

I think this should be done on PR #240

I think this should be done on PR #240

I will update the benchmark results here. later on we can rebase on top of whichever PR merge into master earlier.


Fix some typos and errors in the documentation.

While going through the documentation for postprocessing I spotted these typo.

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


Dedupe probe POSTs

Addresses #463

@tomwilkie PTAL

If I read this right, you're doing the get for /api on a single goroutine (the resolver goroutine), and you're doing them every 1 min.  These gets will block for ~30s for endpoints that don't exist; I'm worried that when scope is 'joining' a large cluster with multiple unreachable endpoints, it will take a long time (many minutes) for the data to show up in all the apps.
I suggest we have a cache of ip->id (which expires its entire after some longer timeout, say 5mins) and we do these lookups in parallel, on background goroutines.

Will add a pool of goroutines for lookups, but I'm not sure adding a cache makes sense, I'm not sure it will make a significant difference to the behavior and it's an extra layer of complexity. I'll sketch it out and see how it feels.

@tomwilkie OK, that's a bit of a refactor, but it's nice and straightforward (and tested) :)

@peterbourgon do you plan on doing the /api lookups on separate goroutines?  You seem to have moved the dns lookups on separate goroutines (but they max out at 5s), but the /api lookups could take 30s and are all on one goroutine?

(sigh) When you said "lookup" I interpreted it as "DNS lookup" and not "GET /api". I'll change it.

The http calls could block for 30s if, say, the host is unreachable.  Which is why we did all the weave integration, so you could deploy scope on a cluster which spans two datacenters - where ips from one aren't reachable from the other.

@tomwilkie 8602132 should do it. I hope.

Have tested and seems to work well.

Agh, should have squashed. Sorry. Not enough coffee yet.


Updating JupyterLab-app

How can we Update JupyterLab-App to the last release without uninstalling previous version?

I second the request, it is quite annoying to have to uninstall the previous version on each new release.
That said, many thanks for this great app.


The phase "Binary Images" needs a colon after it

Thanks for the great tool! But, the app MacSymbolicator (https://github.com/inket/MacSymbolicator) won't symbolicate reports generated with ips2crash because the phrase "Binary Images" should have a colon after it. (Real .crash reports have the colon.)
The fix is simple. Change
[tMutableString appendString:@"Binary Images\n"];
to
[tMutableString appendString:@"Binary Images:\n"];
and MacSymbolicator works properly.

Fixed.


Bug: Long results escape the chat message card

As with the image above, that is an extreme example, but some systems have exploding dies built-in which may yield a long string of results. These results cause the chat card to not wrap the result and thus resulting in the string going beyond the side of the card

Should be fixed. Wrapping was not occurring due to no spaces between digits and commas. Added No Width Whitespaces to string to allow for word wrap opportunities.


Middleware for event listeners

There have been several requests for middleware on Probot, and at least one pass by @JasonEtco at implementing it in #343.
I'd love to see first-class middleware support (based on koa-compose), that allows adding middleware to all event handlers or on a specific handler.
Something like this:
const statsydoo = require('probot-statsydoo')

const ensureMyOrgs = function(context, next) {
  const myorgs = ['myorg1', 'myorg2', 'myorg3']
  if(myorgs.includes(context.repo().owner)) {
    return next()
  }
}

module.exports = app => {
  // This will get called for every event received
  app.use(statsydoo(process.env.STATSYDOO_KEY))

  app.on('issues.opened', ensureMyOrgs, context => {
    // this is only called if ensureMyOrgs calls `next()`
  })

  app.on('installation.created', context => {
    // no middleware here because we'll kick off the onboarding process
  })
}

cc @johnkpaul @Gautam

I’d suggest that the middleware could also amend context passed to the event handlers. I guess the above example would allow for that when the ensureMyOrgs would set a custom property on context.
My use case is to set context.plan in a middle ware which loads the current marketplace plan for an app. This could be done be a reusable middleware


Dockerizing opengrid

Not yet thoroughly tested :-)

missing something for the houseprint
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-bb3aea258b46> in <module>()
      5 script_dir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
      6 sys.path.append(os.path.join(script_dir, os.pardir, os.pardir))
----> 7 from opengrid.library import houseprint
      8 from opengrid.library import config
      9 c=config.Config()

/usr/local/opengrid/opengrid/library/houseprint.py in <module>()
     17 import config
     18 import json
---> 19 from oauth2client.client import SignedJwtAssertionCredentials
     20
     21 c = config.Config()

ImportError: No module named oauth2client.client

Nice!  Looks fairly easy, once you know how dockerfiles work....  Unfortunately, I have a corrupt docker on my laptop, should reinstall but didn't do it yet.
Questions:

what is your intented use case?  Running notebooks interactively by navigating to the port of the container?  Or launching a container for every python script to be executed and then shutting it down?
you make the content of opengrid available within the container with the VOLUME directive and then mounting it to $PWD/..  This means that everything is available within the container and when writing something to that volume, it is available on the host after shutting down the container.  Right?
It looks like we're having RAM issues on the droplet.  Would this be different when using docker you think?

I'll fix my docker problems and test one of these.
roel

My main use case is for developing on a mac. I had quite some trouble installing all required dependencies on my mac at home. So for my new macbook, I chose the docker path :-)
In 'production', I wouldn't mount the code from outside the container, but include it in the container image. That's future work though... (even the development use case doesn't work entirely yet)

Maybe it's way easier to use the ipython/scipyserver image and build upon that.  See https://registry.hub.docker.com/u/ipython/scipyserver/

docker is still growing on me.   I'll free some time in the near future to work on this branch.  Are you still motivated to contribute @wouterh ?

@saroele yes, but I'm very short on time lately :frowning:

@saroele: Should be more or less usable now.
Steps:

Install docker
./docker-build-dev.sh
./docker-run-dev.sh

Notebook kernel should be running at http://IP-OF-DOCKER-MACHINE:8888/
(IP-OF-DOCKER-MACHINE should be localhost on a linux with a local docker install)


Can't use multiple Admin instances with different Bootstrap themes (FLASK_ADMIN_SWATCH)

❓  How can we use different Bootstrap themes through multiple Admin instances?
👨💻  This is how I tried to do it:
...
app.config['FLASK_ADMIN_SWATCH'] = 'cerulean'
admin1 = Admin(app, endpoint='admin1')
app.config['FLASK_ADMIN_SWATCH'] = 'cosmo'
admin2 = Admin(app, endpoint='admin2')
...

❌  But this does NOT work, I wrote this to clarify what I want to do with my issue.
Thanks!

If I solve, will PRs be viewed/merged soon?

This feels like a useful feature. I'm not sure yet how easy or hard it would be to support this, but if you've got ideas I'd be happy to hear them and would be willing to help review any PR you do put up. Would be good to understand your proposed approach first.

I had a look at this and it might be something we could get into the v2 release. Here's a possible approach: https://github.com/pallets-eco/flask-admin/pull/2462
As I've coded it, it's a breaking change. We could make this a bit softer and wrap the breaking change if we really wanted to - although since we're planning a v2.0.0 release, now's a fair time to get it in.

I actually already made the reslover changes for this, just needed to write the end of the example ) [the button that switches even the current theme]

@samuelhwilliams as I see you created a complete new configuration class for the Bootstrap options, while I used a new param to Admin which is bootswatch_theme. I think your approach also is awesome 👍

I'd love to see what you've done so far or what you're planning - if you've covered some use cases that I haven't, we can take the best of both :)

#2463

But mine is quite simple one. Your approach gives the project a seperate and full control over the theming. But there is a catch, you added also folder param, are we also going to plan to use different Bootstrap versions along along the different Admin instances?

But there is a catch, you added also folder param, are we also going to plan to use different Bootstrap versions along along the different Admin instances?

I don't think we need to. We might not even have to. But with my approach it becomes trivial to make it possible - and I think the more interesting idea is where someone has multiple admin instances for different groups of users. These could be user-provided template configs that point at their own private set of templates configured for each user group specifically. It feels fairly flexible without really costing us much.

I thought about this when I am making changes, but there were going to be more core changed needed to be done. I haven't really structured this feature in my head, but I think it requires the changes through the Boostrap template folders and some alternations when creating and registering the Blueprint from the base.

But there is a catch, you added also folder param, are we also going to plan to use different Bootstrap versions along along the different Admin instances?

I don't think we need to. We might not even have to. But with my approach it becomes trivial to make it possible - and I think the more interesting idea is where someone has multiple admin instances for different groups of users. These could be user-provided template configs that point at their own private set of templates configured for each user group specifically. It feels fairly flexible without really costing us much. Each admin instance can we styled exactly the way it wants/needs to be.

My guess is that when the users use multiple Admin instances, they might also want to use also different Bootstrap versions if need. But your reply sounds fair 👍


glob patterns for sources and artifacts

Is it possible to exclude files/directories from sources resp. artifacts?
I would like to achive something like.
sources:
  - "./"
  - "!./dirA/"

The glob pattern matching is documented here: https://golang.org/pkg/path/filepath/#Match.
I don't think there is any way to have some lines exclude patterns already matched by the first.

thank you for clarifying.


Exceptional gives warnings about missing exception documentation when method implements interface with  tag

Exceptional gives a warning about an exception not being in method documentation when the following criteria are met:

method implements an interface
method has an  documentation tag
the corresponding interface method documentation documents the exception.

Recommended behavior in this case is to provide no error as the exception has been documented. Users can simply click on the (i) icon in the well to go to the interface or use the keyboard shortcuts provided by Resharper to navigate to the interface and see the documentation.

I can confirm that this problem still exists as of ExceptionalResharper v0.12.0 using Resharper Ultimate v2017.3.1.
Reproduction:
Abstract class A with abstract void Foo() that documents to throw an exception, for instance InvalidOperationException. Concrete class B inherits from A, and implements override of Foo() to throw InvalidOperationException. In B, marking Foo() with  will not remove the squigly marker on 'new InvalidOperationException()'.

Duplicate of #26, #65 and #73


fix: missing type string

Summary
Checklist

[x] The commit message follows Angular Contributing guidelines;

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Unless this is intended, Metaverse and Exchange are missing here.


await is only valid in async functions and the top level bodies of modules

After updating to 0.9.1 I'm getting:
    \node_modules\ky-universal\index.js:58
        globalThis.ReadableStream = await Promise.resolve().then(function () {
                                    ^^^^^

    SyntaxError: await is only valid in async functions and the top level bodies of modules

    > 1 | import ky from 'ky-universal';
        | ^

I'm using node v15.6.0.
I'm not quite sure how I'm supposed to fix this.  Any help would be greatly appreciated.

Please read the release notes.

Please read the release notes.

I'm sorry, but what am I missing?

This package is now pure ESM
This means you need to use import ky from 'ky-universal' instead of const ky = require('ky-universal') to import it in Node.js.

I'm doing this.

Require Node.js 14

Does ky-universal only work with node 14 and not node 15?

Now requires Ky 0.26 or later

I am using ky 0.26.0.

I'm sorry, but what am I missing?

This package is now pure ESM
This means you need to use import ky from 'ky-universal' instead of const ky = require('ky-universal') to import it in Node.js.

I'm doing this.

Require Node.js 14

Does ky-universal only work with node 14 and not node 15?

Now requires Ky 0.26 or later

I am using ky 0.26.0.

It's suspicious that the code your stack trace points to is different than our source code. We don't use Promise.resolve(), for example. You must be transpiling ky-universal, which I strongly advise against if you can avoid it.
If you're using something like Next.js, ask them if there is a way to modify your config to avoid unnecessary transpiling.

It's suspicious that the code your stack trace points to is different than our source code. We don't use Promise.resolve(), for example. You must be transpiling ky-universal, which I strongly advise against if you can avoid it.
If you're using something like Next.js, ask them if there is a way to modify your config to avoid unnecessary transpiling.

https://github.com/vercel/next.js/discussions/21252

https://github.com/vercel/next.js/discussions/21252

I'm using ky-universal from jest.
In jest, I have both ky and ky-universal marked to not be transformed.  But I get:
    \node_modules\ky-universal\index.js:58
        globalThis.ReadableStream = await Promise.resolve().then(function () {
                                    ^^^^^

    SyntaxError: await is only valid in async functions and the top level bodies of modules

    > 1 | import ky from 'ky-universal';
        | ^

If I also use the --experimental-vm-modules node option, I get:
    \node_modules\ky-universal\index.js:56
        globalThis.ReadableStream = await import('web-streams-polyfill/ponyfill/es2018');
                                    ^^^^^

    SyntaxError: await is only valid in async functions and the top level bodies of modules

    > 1 | import ky from 'ky-universal';
        | ^

I'm using ky-universal from jest.
In jest, I have both ky and ky-universal marked to not be transformed.  But I get:
    \node_modules\ky-universal\index.js:58
        globalThis.ReadableStream = await Promise.resolve().then(function () {
                                    ^^^^^

    SyntaxError: await is only valid in async functions and the top level bodies of modules

    > 1 | import ky from 'ky-universal';
        | ^

If I also use the --experimental-vm-modules node option, I get:
    \node_modules\ky-universal\index.js:56
        globalThis.ReadableStream = await import('web-streams-polyfill/ponyfill/es2018');
                                    ^^^^^

    SyntaxError: await is only valid in async functions and the top level bodies of modules

    > 1 | import ky from 'ky-universal';
        | ^

@markwoon what version of Node.js are you using? Can you try the latest Node? I would expect Jest or even Webpack to work so long as it's not transpiling Ky. Based on the terminal output you provided, it looks like My is still being transpiled with your configuration. We'll need to figure out how to configure those tools appropriately.

@markwoon what version of Node.js are you using? Can you try the latest Node? I would expect Jest or even Webpack to work so long as it's not transpiling Ky. Based on the terminal output you provided, it looks like My is still being transpiled with your configuration. We'll need to figure out how to configure those tools appropriately.

I'm using node v15.6.0.  Do you need me to try the latest LTS release?
I have a pretty vanilla jest.config.js
Happy to test anything you can suggest.

I'm using node v15.6.0.  Do you need me to try the latest LTS release?
I have a pretty vanilla jest.config.js
Happy to test anything you can suggest.

Also having the same issue while testing with Jest

@sholladay I've create a very simple test for this @ https://github.com/markwoon/ky-universal-jest
Just run yarn test to see the problem.
I would really appreciate to know what it would take to get ky-universal working with jest.
You can ignore/delete the webpack config as that's not needed for jest.  However, you can use the webpack config to test #7.

@markwoon did you get anywhere with this?

@chopfitzroy Sadly, no.  Just decided to switch to something else.

I did run your test repo a while back @markwoon and it was helpful, but at the time I didn't find a working configuration.
However, I just tried it with Jest's updated ESM documentation and it worked perfectly.
https://jestjs.io/docs/ecmascript-modules
Here is a PR to the test repo: https://github.com/markwoon/ky-universal-jest/pull/1/files


soc: arm: Add Aspeed ast10x0 series support

Aspeed ast10x0 series SoCs contain a ARM Cortex-M4F processor.  This
processor operates at 200MHz and executes on SRAM.
This patch adds support for ast1030 as the first SoC of this series
which is targeted but not limited at the bridge IC in a server system.
Signed-off-by: Dylan Hung<EMAIL_ADDRESS>Change-Id: I668af1ff8a36a05da791c3329ae08f5ae712bdd4

The problem I am encountered here is the same with PR789
In my local branch, I have a device with IRQ number greater than 128 so I got failed to enable its IRQ.  I found the solution used in PR789 also works for me, but now I have problem on upstreaming this part of code.  Could anyone advise me how to fix this? Thank you.
-:192: WARNING:NEW_TYPEDEFS: do not add new typedefs
24
#192: FILE: soc/arm/aspeed/aspeed_util.h:59:
25
+typedef enum {
26

27
- total: 0 errors, 1 warnings, 520 lines checked

force push to fix the new typedef warning.  Use IRQn_Type defined in cmsis.h

Hi Zephyr team, @MaureenHelm
Are there any blockers for reviewing this or any other changes requested?

@aspeeddylan - LGTM other than the one issue I mentioned. I'll ack once the shell script is converted to Python.

@aspeeddylan - LGTM other than the one issue I mentioned. I'll ack once the shell script is converted to Python.

Hi @cfriedt,
Thank you for your review. I have replaced the shell script by the python based tool in my first commit.

@aspeeddylan - it looks like build docs is erroring, otherwise LGTM.

Not sure why build docs failed since it was successfully built.  Should I fetch and merge to the upstream?

@aspeeddylan - it looks like build docs is erroring, otherwise LGTM.

Not sure why build docs failed since it was successfully built. Should I fetch and merge to the upstream?

Hi Dylan, Can you try rebasing and see if the docs are able to build.
Might have just been a transient issue.

@aspeeddylan - it looks like build docs is erroring, otherwise LGTM.

Not sure why build docs failed since it was successfully built. Should I fetch and merge to the upstream?

Hi Dylan, Can you try rebasing and see if the docs are able to build. Might have just been a transient issue.

Hi @GoldenBug,
Thank you for your comments. It's OK now.

@cfriedt I re-request for your review by mistake, could you review my PR again, thank you very much.

Is there anyone who can complete a second review of this?
@cfriedt


after pod installation xcode says no such module while importing PixelEngine or Pixel Editior

after pod installation xcode says no such module while importing PixelEngine or Pixel Editior
i m using xcode 10 and swift 4.2

@PariharGroup
I think this problem is on CocoaPods.
Can I see your Podfile?


Field is required

closes https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/issues/3380
@JoanneHendrickson please review and merge

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

@JoanneHendrickson


CopyLocal setting not used

This is related to #24.
Consider the following project setup.
Project A - References Project B
Project B - References Common.dll
Common.dll is in the GAC
When building ProjectA, RAR will resolve all assemblies and their dependencies and copy them to the output path when CopyLocal is found to be True. Before #24, the presence of any DLL in the GAC would set CopyLocal to False unless otherwise specified in the project file. After #24, it would only set it to False if the assembly was resolved only from the GAC (no HintPath, etc.). If it was resolved locally  CopyLocal would be True. Among other reasons, this was intended to make builds more deterministic and less reliant on machine GAC state.
From Project A to B there is no issue. The CopyLocal setting (Private tag in A.csproj) is honored. However, when building Project A, Common.dll will be resolved as a dependency and treated as a DLL (project data from B.csproj not read). Therefore, setting the CopyLocal flag in B.csproj will have no affect on the CopyLocal algorithm when building Project A. This issue is not caused by #24, but with that change assemblies that would typically be in the GAC that you may not want in your build will be included in the output. The only workaround would be to turn off #24 or include C.dll as a reference of Project A and set CopyLocal to false there.
The fix seems to be to read metadata from B.csproj and honor the CopyLocal flag when building A. Since RAR is not implemented in this way currently, this change would likely be fairly involved and a high potential for regression.

Here is a demo project.

I had a production environment stopped because of it. :-(

Team triage: hasn't seen much traffic in almost 4 years, very high risk of regression. Closing as won't-fix.

This is breaking the blazor boot when trying to exclude an assembly from the initial load by using <Private>false</Private> because it doesn't propagate to all sub-references.


Kustomization: enable server-side apply to avoid big resources failing

Enables server-side apply for kustomize at startup. related to https://github.com/openshift/microshift/issues/2535
Which issue(s) this PR addresses:

Closes https://github.com/openshift/microshift/issues/2535

@jmprusi The change looks good, but we're going to want a jira ticket to ensure we get a release note for the new behavior. Can you work with @pacevedom to set that up, please?
/retest

/approve

@dhellmann I've updated the PR to properly maintain the old behavior to avoid issues with current microshift users. PTAL.
I will ping @pacevedom to get the proper Jira ticket created.
Thanks.

/retest

/retitle USHIFT-1859: Kustomization: enable server-side apply to avoid big resources failing


Replace Gitter refs with GitHub Discssions

Issue
Gitter is mostly tumbleweeds. Even if it weren't, we don't have the ability to provide the "live" support that Gitter's interface suggests.
Solution
Remove the refs (and replace with GitHub Discussions an a few spots)
Considerations
We should also probably post a message and/or turn off the Gitter instance.
Testing
None needed

Good call on those! Didn't realize you could sticky a post over at wp.org. Just posted one there along with Gitter (though I couldn't find a sticky/highlight ability over there)

Good call on those! Didn't realize you could sticky a post over at wp.org. Just posted one there along with Gitter (though I couldn't find a sticky/highlight ability over there)


KTO: unpair_preference_dataset does not work for datasets with additional columns

Problem
Some DPO datasets, like Argilla Math, have columns other than "prompt", "chosen", "rejected", for example "metadata", "chosen_rating", etc.
Currently (trl==0.12.0), for this type of dataset, training with KTO (kto.py) crashes before starting tokenization.
Minimally reproducible code
from datasets import load_dataset
from trl.data_utils import unpair_preference_dataset

dataset = load_dataset("RLHFlow/Argilla-Math-DPO-standard")
unpair_preference_dataset(dataset)

The error trace ends with:
pyarrow.lib.ArrowInvalid: Column 3 named completion expected length 1000 but got length 2000

Possible explanation
Looking at the implementation of unpair_preference_dataset, the problem seems to be the application of _unpair_row with dataset.map.
https://github.com/huggingface/trl/blob/623963126be5598bd1eea4ec82b43447fcc11535/trl/data_utils.py#L202-L204
https://github.com/huggingface/trl/blob/623963126be5598bd1eea4ec82b43447fcc11535/trl/data_utils.py#L240
Note that remove_columns = ["chosen", "rejected"] means that these columns will be dropped from the original dataset.
This is the implementation of _unpair_row:
https://github.com/huggingface/trl/blob/623963126be5598bd1eea4ec82b43447fcc11535/trl/data_utils.py#L191-L199
As we can see, _unpair_row outputs new rows whose length is double the length of the original dataset. After applying dataset.map, we get a shape mismatch because the undropped columns (those other than "chosen" and "rejected") have not been duplicated.
This is a known issue with dataset.map. More details in this HF tutorial (Ctrl+F "ArrowInvalid").
The recommended solutions from HF are to:

drop all columns not necessary for your script, or
preprocess the extra columns so that the shapes match

Solution 1: Drop all columns irrelevant for KTO
If we only use unpair_preference_dataset internally, it is easier to drop all the old columns when applying dataset.map. This can be achieved by giving a new argument, remove_columns, to unpair_preference_dataset
def maybe_unpair_preference_dataset(
    dataset: DatasetType, num_proc: Optional[int] = None, desc: Optional[str] = None
) -> DatasetType:
    if isinstance(dataset, DatasetDict):
        column_names = dataset[list(dataset.keys())[0]].column_names
    else:
        column_names = dataset.column_names
    if "chosen" in column_names and "rejected" in column_names:
-        return unpair_preference_dataset(dataset, num_proc=num_proc, desc=desc)
+        return unpair_preference_dataset(dataset, num_proc=num_proc, desc=desc, remove_columns=column_names)
    else:
        return dataset

def unpair_preference_dataset(
-    dataset: DatasetType, num_proc: Optional[int] = None, desc: Optional[str] = None
+    dataset: DatasetType, num_proc: Optional[int] = None, desc: Optional[str] = None, remove_columns : Optional[list] = None
) -> DatasetType:
+ """DOCSTRING for `remove_columns` argument"""
-    return dataset.map(_unpair_row, batched=True, remove_columns=["chosen", "rejected"], num_proc=num_proc, desc=desc)
+    return dataset.map(_unpair_row, batched=True, remove_columns=remove_columns, num_proc=num_proc, desc=desc)

I have implemented this and can now run the KTOTrainer without problems.
Solution 2: Process all extra columns
The HF tutorial above mentions ways to redefine the function sent to dataset.map so that all the columns match. For example, see the progressive evolution of the implementation of ``tokenize_and_split` in their examples. I have not tried this approach.

Thanks for this detailled report. The easiest is probably to remove all columns in dataset.map
dataset.map(..., remove_columns=dataset.column_names)

What do you think? Would you like to make a PR to fix this?


Fix stack overflow bug for examples/bluetooth/esp_hid_device when using esp32s3 with nimble (IDFGH-13001)

Related to https://github.com/espressif/esp-idf/commit/60354c39a9338961adce8e2fb536f83571ebd82c and https://github.com/espressif/esp-idf/issues/12879

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

sha=51fb928d4b2e0a6ccee41172fec3b56f7a90ecc3


Accessibility suggestion (aria roles)

Howdy,
From a recent 3rd party audit with credentialed accessibility auditors, they had the following to say:
Success criteria
4.1.2 Name, Role, Value (WCAG 2.0 A)
Native Widgets: Link Function & Role
If an anchor element () is coded to function as something other than a link, it must have the correct ARIA widget role.
The image components on this page are coded as links but functions more appropriately as buttons.
Note: When these components are activated they expose a modal.
Remediation Recommendation
Native HTML elements should always be used if possible (eg. use  for button functionality).
If you must use an anchor element to function as a button, for example, add role=“button” to the element and then ensure it can be activated with the spacebar (in addition to the return/enter key)
—
For your consideration, could you also consider adding the ability to add the button role, and possible an event listener for the space button as well to trigger the modal?
Thank you!

Hey,
I have already optimised the complete BaguetteBox for WCAG 2.0, had to adapt some things, but it works well so far, furthermore I have extended the functionality, you can not only open images in a modal, but also Youtube videos, MP4 and HTML content.
A lot of adjustments were made based on version 1.11.1, the plan was to create a new repository called ‘BaguetteBox++’, because the last update was 2 weeks ago, 4 years ago, so I didn't know if the project is still actively maintained here.
@feimosi let me know how to proceed here, it is not little what I have done


Extend enum messwertstatus

closes #567

This is already used in the C# implementation because it is necessary for market communication


Fix MPI and Verbs compilation when not using GPUs

Code compilation would fail when building without CUDA support, but with MPI and/or Verbs support. This PR adds the required dependencies directly into the MPI/Verbs BUILD files and fixes those compilation errors.

Can one of the admins verify this patch?

  Just want to verify that this is the right dependency to add.

This is the error:
ERROR: /home/jbedorf/codes/tensorflow/tensorflow/contrib/mpi/BUILD:60:1: C++ compilation of rule '//tensorflow/contrib/mpi:mpi_rendezvous_mgr' failed (Exit 1): gcc failed: error executing command
(....)
In file included from ./tensorflow/core/platform/stream_executor.h:26:0,
                 from ./tensorflow/core/common_runtime/gpu/gpu_util.h:23,
                 from tensorflow/contrib/mpi/mpi_rendezvous_mgr.cc:30:
./tensorflow/stream_executor/dso_loader.h:32:30: fatal error: cuda/cuda_config.h: No such file or directory
 #include "cuda/cuda_config.h"
                              ^
compilation terminated.
Target //tensorflow/tools/pip_package:build_pip_package failed to build

Thanks!  So it seems as though since mpi_rendezvous_mgr depends on gpu_util directly, it should depend on the library that is exported by gpu_util.
gpu_util looks to be exported by both core:gpu_runtime and core:gpu_runtime_impl, where the latter has a dependency on :stream_executor already.
Perhaps the bug that needs to be fixed is that core:gpu_runtime should depend on stream_executor, since one of its headers includes stream_executor.  Can you give that a shot?

cc @allenlavoie since it looks like this split might have been done by him at some point and may have more context.

Adding a stream_executor dependency to gpu_runtime should be fine. stream_executor is a header-only rule and has a separate implementation rule (all these rules are split for the changes described in https://github.com/tensorflow/tensorflow/commit/5c7f9e31). May have just been an omission when I did the split.

@vrv Adding the dependency to core:gpu_runtime also resulted in a successful built. The PR has been updated.

@tensorflow-jenkins test this please


.scss-lint.yml is ignored in mac osx

scss-lint recognise the .scss-lint.yml in my window system without any problem but ignore it completely on mac osx.

Can you check so that you are running the same version of scss-lint on the two os:es? It would also be good to see the contents of .scss-lint.yml. I'm running scss-lint on my mac without issues.

The version on the mac is 0.42.2. The one on window is probably older because I have that since last year, but I can only verify it when I get back to work tomorrow as that's my workplace's workstation.

When I run scss-lint with that file, I get an error:
henrictrotzig@Henrics-MacBook:~/scss-lint-test
⨠ scss-lint -v
scss-lint 0.42.2
henrictrotzig@Henrics-MacBook:~/scss-lint-test
⨠ echo '.foo {
↳ border: 0
↳ }' > test.scss
henrictrotzig@Henrics-MacBook:~/scss-lint-test
⨠ scss-lint test.scss
undefined method `keys' for nil:NilClass
/Users/henrictrotzig/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/scss_l
int-0.42.2/lib/scss_lint/config.rb:96:in `merge_wildcard_linter_options'
/Users/henrictrotzig/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/scss_l
int-0.42.2/lib/scss_lint/config.rb:72:in `load_options_hash_from_file'
/Users/henrictrotzig/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/scss_l
int-0.42.2/lib/scss_lint/config.rb:19:in `load'
/Users/henrictrotzig/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/scss_l
int-0.42.2/lib/scss_lint/cli.rb:112:in `setup_configuration'
/Users/henrictrotzig/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/scss_l
int-0.42.2/lib/scss_lint/cli.rb:45:in `act_on_options'
/Users/henrictrotzig/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/scss_l
int-0.42.2/lib/scss_lint/cli.rb:27:in `run'
/Users/henrictrotzig/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/scss_l
int-0.42.2/bin/scss-lint:6:in `<top (required)>'
/Users/henrictrotzig/.rbenv/versions/2.2.3/bin/scss-lint:23:in `load'
/Users/henrictrotzig/.rbenv/versions/2.2.3/bin/scss-lint:23:in `<main>'
Report this bug at https://github.com/brigade/scss-lint/issues

To help fix this issue, please include:
- The above stack trace
- SCSS-Lint version: 0.42.2
- Sass version: 3.4.18
- Ruby version: 2.2.3
- Contents of /Users/henrictrotzig/scss-lint-test/.scss-lint.yml
→ exit status: 70

The problem is that the linters in the yaml file aren't indented (everything after linters: should be indented one step). If I indent those, it works:
henrictrotzig@Henrics-MacBook:~/scss-lint-test
⨠ scss-lint test.scss
test.scss:1 [W] TrailingWhitespace: Line contains trailing whitespace
test.scss:2 [W] TrailingSemicolon: Declaration should be terminated by a s
emicolon

Thanks, that solve the problem. The indentation somehow disappear when I copied my working file from my workplace's workstation to my home machine.

I'm glad we figured it out. :)


indicator rotation customization

Please describe the feature you would like to request.
customize rotation angle for indicator
What is the use-case or motivation for this proposal?
expansion indicator rotates on 180 deg when state changes (and its directions changes from bottom to top)
there is a demand the indicator changes direction from right to bottom
it's already possible to change view and initial position of the indicator by setting the style
.mat-expansion-panel .mat-expansion-indicator::after {   border-width: 0 1px 1px 0;   padding: 5px;   transform: rotate(-45deg); }
but I'm failed to find the way how to customize the final position
Is there anything else we should know?
the code defines the final position
https://github.com/angular/material2/blame/6a7327351f76da14844f8386c6b29b06ec7c314e/src/lib/expansion/expansion-animations.ts#L53

We have no plans to support changing the expansion indicator at this time.


pkgconfig is wrong

Solution to issue cannot be found in the documentation.

[x] I checked the documentation.

Issue
The pkgconfig shipped in the recent versions seems to have wrong paths and doesn't use variables such as ${prefix} and ${includedir}. Thus, the gsl headers etc cannot be found afterwards.
On Linux:
prefix=/home/conda/feedstock_root/build_artifacts/gsl_1626369067039/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho
exec_prefix=/home/conda/feedstock_root/build_artifacts/gsl_1626369067039/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho
libdir=/home/conda/feedstock_root/build_artifacts/gsl_1626369067039/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib
includedir=/home/conda/feedstock_root/build_artifacts/gsl_1626369067039/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/include
GSL_CBLAS_LIB=-lgslcblas

Name: GSL
Description: GNU Scientific Library
Version: 2.7
Libs: -L/home/conda/feedstock_root/build_artifacts/gsl_1626369067039/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib -lgsl ${GSL_CBLAS_LIB} -lm -lcblas -lm
Cflags: -I/home/conda/feedstock_root/build_artifacts/gsl_1626369067039/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/include

On Windows:
prefix=/d/bld/gsl_1626369281481/_h_env/Library
exec_prefix=/d/bld/gsl_1626369281481/_h_env/Library
libdir=/d/bld/gsl_1626369281481/_h_env/Library/lib
includedir=/d/bld/gsl_1626369281481/_h_env/Library/include
GSL_CBLAS_LIB=-lgslcblas

Name: GSL
Description: GNU Scientific Library
Version: 2.7
Libs: -L/d/bld/gsl_1626369281481/_h_env/Library/lib -lgsl ${GSL_CBLAS_LIB}
Cflags: -I/d/bld/gsl_1626369281481/_h_env/Library/include

Installed packages
https://anaconda.org/conda-forge/gsl/files
Environment info
Both on Windows and Linux

Hello, can you follow the template and report the output of conda info/conda list (or equivalent mamba/micromamba/pixi commands)?
In particular, how did you installed the package? Those paths are meant to be replaced with the actual paths via the relocatable mechanism of conda, see https://docs.conda.io/projects/conda-build/en/latest/resources/make-relocatable.html . I guess they can be changed to the .pc files actually relocatable without any conda help via ${pcfiledir}, but I guess this needs to be done either upstream or by packing the .pc generation logic.

I was able to reproduce the problem on Windows, not on Linux. Personally I do not have time to look into this at the moment (sorry), but perhaps if you want to look into that the first thing I would try is to rerender the recipe and check if the problem is still there.


Imported settings do not persist across launches (Windows 10)

I suspect this may be a Windows 10 specific issue, but I'm quite the novice with Power Shell; Luke, I'm hoping you can shed some light on this :)

Launch PowerShell from start menu (either cmd+x and arrow up, or cmd, type "powershell" and hit enter once it's found)
concfg import solarized small
"...would you like to find and remove them?" Y
stuff -- overrides removed
"...open new console to see the changes?" Y

New console opens. Nice! But now I exit the console and the previous console (close all Power Shell windows) and then re-open powershell. And then I'm back to the default colors.
The first time you do this, it'll find and remove some overrides, but subsequent times, it can't seem to find any overrides to remove so it just says they're removed and has no further output between those commands:
~ $ concfg import solarized small
console settings were imported from solarized
console settings were imported from small

overrides in the registry and shortcut files might interfere with your concfg
settings.
would you like to find and remove them? (Y/n): y
overrides removed
would you like to open a new console to see the changes? (Y/n): y
~ $

Any ideas what I can do to get this to persist? Thanks!

Wow - I think I just figured this out myself, very sorry for the noise!
I was closing windows by hitting the UI element (the X); instead, type "exit" and hit enter. Then re-launch. Now it seems to have persisted. Sweet!

I'm having the same issue on Windows 10, and using the exit command does not resolve it.

Chad, in my case I had launched the new console through concfg and hit "y" to say "yes open a new one so I can see changes", and from THAT console window I typed "exit". Give that a try, maybe after a re-installation?

Seeing the  same issue in Windows 10. Just tried out using exit to close out the auto opened console, but no dice.

Have you tried using sudo concfg clean? You might need to run scoop install sudo first. This cleans saved settings from the registry and .lnk files, but it doesn't really work unless you sudo. After that, you might need to run sudo concfg import [theme] to be doubly sure.

Just tried that out - it doesn't seem to change anything from the previously described scenario. I've noticed that the the "default" colors (shown when I click the powershell icon at top left, then click "defaults") are the solarized colors after running sudo concfg import solarized, and they persist across new windows in the "default" dialog. However the actual console color scheme for any new powershell windows adheres to the colors in the "properties" menu. I wonder if this is because at some point I changed the colors in the "properties" dialog?

By the way, thank you for your work on this! It's a pretty sweet tool.

I think I found the problem—I was always opening powershell from the taskbar so I didn't notice, but the start menu .lnks are in a different place for Win10, and concfg wasn't cleaning those. It should be fixed now if you run scoop update concfg and then sudo concfg import [theme].

That was impressively fast - thank you! Also just wanted to say the ux of scoop is a vast improvement over chocolatey - nice work all around :+1:

Great! Thanks man, glad you like it :smile:

I have the same problem at Win 8.1 and Powershell 5.
Tried all that commands here and nothing works. :(
Any way to supress questions and running for profile configs?

Adriano, I was just reading this thread and had the same problem, and I was able to solve it. Find the right PowerShell shortcut here:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\Windows PowerShell
In my case (I'm running Windows 7, 64-bit), I needed to modify "Windows PowerShell" shortcut.
Right-click on the shortcut, Properties, Security tab, Edit (you'll need admin access here). I changed the permissions so that "Everyone" could modify the file.
Then I launched PowerShell again, ran concfg import solarized, and was able to remove the overrides successfully.
Afterward I changed permissions on the shorcut back to their defaults.

Is there anyway of making concfg imports persistent without admin access?


about Generate Document Embeddings

Thanks for sharing your code. It was a very rewarding job. I'm trying to reproduce the work. But there were some problems.
when I run the code "gen_passage_embeddings.py" It always makes mistakes when "merging embeddings". I traced the code to find problems with the function "barrier_array_merge" in file util.py.  The size of the variable "data_list"  keeps increasing until out of memory. But "data_list" don't output. However, the "data_array" is write into files. As far as I know, "data_array" is the input parameter, and nothing is done to it, so why print it out?
I would appreciate it if you could explain it.
Ps: I'm sure I have enough memory.
Best wishes!

Hi wjm-123, I want to ask do u solve the problem? It seems that I encountered similar issue when "merging embeddings": subprocess.CalledProcessError: Command died with <Signals.SIGKILL: 9>. And use the command " dmesg -T | grep -E -i -B100 'killed process' " found that: .
Want to seek some help from you, thanks!

Hi Kristen，
If you don't have enough memory, try splitting the data.


Multiple Dates

Hi-
Is there a way to select multiple dates? Not a range but multiple individual dates.

Please, if you look into this please add multiple ranches as well to compare two or three periods


[scaffolding] idea for using aurelia cli

creation of a new project has moved over from aurelia-cli to a makes based scaffolding (which I totally love).
so, it's convenient to not even have the au installed globally anymore.
but  - au was also in charge of scaffolding new assets in the project (like value-converters etc.)
all of the generators are included in the project itself, and aurelia-cli is also installed locally in the project.
but without a global installation of au, we don't have an entry point for running those generators.
so it's seems we still have to install au globally just for generators and tasks anyway..
the responsibility of the global au is just to find the local version of au and run with it..
but: this can be easily be done by adding a new script to the npm scripts:
"scripts": {
		"build": "webpack --env.production --extractCss",
		"start": "webpack-dev-server --extractCss",
		"build:dev": "webpack --extractCss",
		"analyze": "webpack --env.production --analyze",
		"au": "au" //<--- add this
	}

now, we can run npm run au generate ... without having aurelia-cli installed globally.
npm will will pick-up the local installation of aurelia-cli, and everything continue like before.
is this what you also do in your projects?
is this a valid PR to make?

I think npm run au generate does not work, you have to do npm run au -- generate.
 So npx au ... will just use your local bin au.
This is the same trick why npx makes ... works without any installation, it fetches remote package makes automatically.

I think npm run au generate does not work, you have to do npm run au -- generate.

I do npm run au generate in my projects, and it works. (windows 10 machine, regular cmd).

Alternatively, you don't need to add anything. npx au generate will just work.
didn't know about this one. definatly a better solution.
thank you.

BTW I would also like aurelia vscode plugin to implement all those generators, can be a context menu click in any folder.

I do npm run au generate in my projects, and it works. (windows 10 machine, regular cmd).

Good to know, it worked for me too. It was probably my previous experience with outdated npm version.

@3cp the official Aurelia vscode Extension does make use of generate already


Error on string interpolation

When the TypeScript 1.6 string interpolation character is encounter, , an error is thrown. For example, the following TypeScript line Sorry could not find the promo code ${code}. Please check try again. throws the exception:   Error: Unexpected character "" on src\scripts\registration.ts line 577.
When I compile the same code on the command line it works.
Thanks.

Which version of gulp-typescript and TypeScript are you using? It looks like you're using an older version of TypeScript. I've used template strings a lot in my projects, without problems

Thanks for the quick response and sorry for wasting your time, the branch I cloned had an older version...


L3 - Python Test code - device settings - dsHDMIIn

Create and test L3 Python RAFT test code for dsHdmiIn Module.
Acceptance criteria.

Fully developed Python test code with dev testing.

merged to develop


When search expands, auto focus on the input field.

Closes #373

looks good to me.

Seems like the feature doesn't work in compact mode, unfortunately. But it's good in normal!

It won't work in compact view because it's getting the input by id and the compact view has it's own search input, which is the second element in the sidebar html with that id. So it's only ever getting the full-view search input.

Perhaps having something in the directive on expand would be more straight forward, then?

@akhmorgan where is that second input in the code? Which file?

@bjedrzejewski in sidebar.html you'll see two <search> elements

@akhmorgan ok I got it now. I have a nice fix I think.

@WPFerg @akhmorgan I will move to react for a bit now. If anyone want's to fix it (I failed without jQuery for now), feel free to add a commit!

I think I've got a cleaner fix doing something different, I'll close this and open a new PR with it.