[Feature] Different baseUrl for server side rendering

I have a docker setup with Nuxt 3 and Laravel in different containers. Nuxt 3 container therefore accesses the Laravel api by different urls on server side and on client side (the application url, same one the user is seeing in the browser for client-side requests and 'http://nginx', sending requests directly to the other docker containers on the server-side. However the plugin is using its own httpClient for making api requests, so I had to add that option.
Here is my solution:
in httpFactory.ts
const httpOptions: FetchOptions = {
        baseURL: options.baseUrl, // <- replace this line
        credentials: determineCredentialsMode(),

// with this:
baseURL: import.meta.server ? (options.SSRBaseUrl || options.baseUrl) : options.baseUrl,

That way, you can configure that alternative url in the nuxt.config.ts
export interface SanctumModuleOptions {
    /**
     * The base URL of the Laravel API.
     */
    baseUrl: string;
    /**
     * The base URL of the Laravel API to be used only for server side rendering (uses baseUrl for both client and server side by default)
     */
    SSRBaseUrl: string;
...
}

Here's an example with my config:
  sanctum: {

    baseUrl: import.meta.env.NODE_ENV === 'production' ? import.meta.env.SANCTUM_BASE_URL : import.meta.env.SANCTUM_DEV_BASE_URL,
    SSRBaseUrl: import.meta.env.SSR_BASE_URL,
    origin: import.meta.env.SANCTUM_ORIGIN_URL, // Nuxt app, by default will be used 'useRequestURL().origin'
    endpoints: {
      login: '/api/login',
      logout: '/api/logout',
      csrf: '/sanctum/csrf-cookie',
      user: '/api/user',
    },
    redirect: {
      keepRequestedRoute: true,
      onLogin: '/admin',
      onLogout: '/about',
      onAuthOnly: '/login',
      onGuestOnly: '/',  // these are for sending admins to admin panel on login
      onAdminAuth: '/admin', // these are for sending admins to admin panel on login
    }
  },

.env:
SANCTUM_BASE_URL=https://example.nuxtsanctum.ua
SANCTUM_DEV_BASE_URL=http://localhost:8876
SSR_BASE_URL=http://nginx
SANCTUM_ORIGIN_URL=http://localhost:3000

btw 'import.meta.' is the new 'process.' apparently

Hey @wethti, thanks for the suggestion!
However, the feature seems to be a very platform-specific solution since there is no need to have 2 different endpoints in the production application. Usually, these DNS-related issues are solved out of the application scope.
For production applications, it should be always the same domain like api.domain.com or even TLD like domain.com if Token is used instead of CSRF.
For local development with Docker, you can easily set up the DNS host record to have a domain instead of localhost, for instance - laravel.test, and then the same domain will be used as a Docker container name, so it will be accessible from both SSR/CSR environments as http://laravel.test.
Example of docker container name - docker-compose.yml
How to set up host records (automatically) - dns-proxy-server
How to set up host records (manually) - Edit /etc/hosts on all OS
You can also check #57 for more details if HTTPS is required.

@manchenkoff, sorry for opening this ticket, but I'm struggling to make this work when the external and internal ports of my container are different. For example in docker-compose.yaml:
        ports:
            - 8004:8000

then what should I have in my next.config.ts?
baseUrl: 'http://laravel.test:8000', // for SSR
baseUrl: 'http://laravel.test:8004', // for CSR

what should I do here?

Hey @rafailml, the easiest option would be making it the same for internal/external mapping


support authentication via polkit

PolKit authentication is the default on (at least) RedHat based platforms.
Support only requires sending an "AuthPolkit" request before opening the
connection.
Fixes https://github.com/digitalocean/go-libvirt/issues/110

I don't think there's any reason not to - the conflicts need to be resolved, and I might suggest moving the auth code into a function which is called on each response.

Submitted https://github.com/digitalocean/go-libvirt/pull/138
This one can be closed.

Thanks @dmacvicar for moving this along.


you should add on_guild_join and on_guild_remove

you should add on_guild_join and on_guild_remove

Hi! This PR will be closed, as there is a on_member_join and on_member_leave decorator already.


Improve documentation around editor implementation

The current editor is very sparsely commented. While it is still fresh on our minds, it would be useful to go back through the code and add more comments, especially in the js code

Added jsdocs should be sufficient, solved by PR #339


Any way to make "Colored Characters" in Phaser 3?

Phaser 3 removed the function addColor.
https://phaser.io/examples/v2/text/colored-characters
#3223

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

It wasn't removed, it was just never added. Going to close this as it's a duplicate of #3390 and we can track it in there.


bracket matching while typing

There is a plugin for CodeMirror for this: https://codemirror.net/addon/edit/matchbrackets.js

Just added the addon, working now


Enhancemement Move EXIT button

Brief summary of your request
Exit button
Request details
Can you place the EXIT button on the bottom in the menu or make option for it?
In my case i often click EXIT by mistake
Anything else?
No response

I had a few minutes to look at this and while I can't easily move it to the bottom, I can hide it.

Would you provide a translation for:
<sys:String x:Key="SettingsItem_ShowExit">Show Exit in Navigation bar</sys:String>
Thanks
Tim

<sys:String x:Key="SettingsItem_ShowExit">Toon optie 'afsluiten' in menu</sys:String>


Objective C support

Please provide support to objective c by adding the @objc attribute where necessary. Thanks

Thanks for raising the issue @radhakrishnapai.
Will look into it.

This has been added in 1.0.4 @radhakrishnapai


Update Toradex BSP - WIP

Removed CONFIG_NET_VENDOR_MICROCHIP from eth.cfg that ethernet works with new toradex bsp/linux kernel. PCIe reset patch is not applicable anymore, due to source code changes of the driver.

Superseeded by #54


504 Gateway Time-out

Have you already looked into this bug?

[X] I have checked the Troubleshooting Guide
[ ] I have checked Release notes for potential migration steps
[ ] I have checked existing issues for similar bugs
[X] I have googled this bug already with no luck
[ ] I have not done any of the above

(Optional) Error message
504 Gateway Time-out                                    nginx/1.22.1
What went wrong?
I’m using Ubuntu. After command docker-compose up -d I go to any browser and go to localhost. But I get an error 504 Gateway Time-out and I can’t fix it. Please, help me!
Expected behaviour
No error at localhost
How can we reproduce the bug?

Host Operating System
Linux
Host Platform (amd64, arm64, other)
amd64
(Linux only) Is SELinux enabled?
Yes, SELinux is enabled
Docker version
20.10.21
Docker Compose version
1.29.2
Devilbox version
latest
Have you removed stopped containers before starting?
No
Have you pulled latest Docker images before starting?
No
Devilbox start command
docker-compose up -d
Config: .env file
https://pastebin.com/FcDbcepg

Config: docker-compose.override.yml
https://pastebin.com/jhBuukqF

Config: ./check-config.sh
https://pastebin.com/0fVg5CNi

Log: docker-compose logs
https://pastebin.com/NDVCT3ZE

(Optional) Additional information
No response

M?

This is probably not helpful, but I usually get the 504 timeout for about 5-10 seconds after starting Devilbox. Then it goes away and I am able to access the devilbox UI and my projects.
I assume you've tried again after a number of seconds and are still getting the 504 timeout?


Remove MemberClusterAnnounce if ClusterSet deleted

Add a step to ensure that member ClusterSet controller will
clean up MemberClusterAnnounce in the leader cluster if
the ClusterSet in the member is deleted.

/test-multicluster-e2e

/test-multicluster-e2e

@jianjuns  Could you help to double check this PR if it's Ok to merge? @hjiajing  will do a rebase when this is merged.

/test-multicluster-e2e

/skip-all
The change affects only mc-controller.


Do not create image repository for component in build test script

build-via-appstudio.sh - use image controller registries by default

/test appstudio-e2e-tests


[feature request]Improve Q&M capabilities from NodePool level

What would you like to be added:
Improve Q&M capabilities from NodePool level
Why is this needed:
when cloud-edge network is off, this feature will provide some management abilities to end users.
others
/kind feature

/pinned


Mtc enhancements 2019v2

Checklist

[x] Appropriate branch selected (all PRs must first be merged to dev before they can be merged to master)
[x] Any modified or new methods or classes have helpful JSDoc and code is thoroughly commented
[x] The description lists all applicable issues this PR seeks to resolve
[x] The description lists any configuration setting(s) that differ from the default settings
[x] All tests and CI builds passing

Description
Addresses some issues with mtc-enhancements-2019 and adds a couple of other enhancements, including:

better messages (toast pop ups) when a pattern stop time is changed
table- and column-level issues for GTFS+
various validation issue fixes (esp. for blocking feed publication)
block publication if GTFS+ validation issues present
allow deletion of GTFS+ edits/changes

Codecov Report

Merging #449 into mtc-enhancements-2019 will increase coverage by 1.9%.
The diff coverage is 5.22%.

@@                   Coverage Diff                   @@
##           mtc-enhancements-2019    #449     +/-   ##
=======================================================
+ Coverage                   5.29%    7.2%   +1.9%
=======================================================
  Files                        325     325
  Lines                      15628   12291   -3337
  Branches                    4704    2319   -2385
=======================================================
+ Hits                         828     885     +57
+ Misses                     12620    9211   -3409
- Partials                    2180    2195     +15

Impacted Files
Coverage Δ

lib/common/util/config.js
72.41% <ø> (+8.31%)
:arrow_up:

...itor/components/pattern/NormalizeStopTimesModal.js
0% <ø> (ø)
:arrow_up:

lib/types/index.js
0% <ø> (ø)
:arrow_up:

...manager/components/version/FeedVersionNavigator.js
0% <ø> (ø)
:arrow_up:

lib/gtfs/components/StopMarker.js
0% <ø> (ø)
:arrow_up:

lib/gtfsplus/components/GtfsPlusEditor.js
0% <ø> (ø)
:arrow_up:

lib/types/reducers.js
0% <ø> (ø)
:arrow_up:

lib/gtfsplus/selectors/index.js
0% <0%> (ø)
:arrow_up:

...tfsplus/containers/ActiveGtfsPlusVersionSummary.js
0% <0%> (ø)
:arrow_up:

lib/gtfsplus/containers/ActiveGtfsPlusEditor.js
0% <0%> (ø)
:arrow_up:

... and 288 more

Continue to review full report at Codecov.

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

Thanks, @evansiroky. I've addressed all of the comments and created a new issue (#455) to account for the needed refactor, which I'd like to address outside of this PR.

:tada: This PR is included in version 4.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


untrack particular set of words

Hello there,
with current twitter api version. is that any possibility to block profanity words
actually i started working on it.
Thank you

Filtering offensive words via the API is not possible AFAIK.


Cannot Enable Subtitles and Cannot Toggle between Languages

Tried enabling subtitles for Tv shows both in hotstar and Disney+ but couldn't do it

Some Shows plays with default hindi audio ( Tried playing Hannah Montana , disney original Tv show ) and when i tried to toggle the audio , couldn't do it . Hope you fix it

Overall a great work on the Add On . Cheers

Tried enabling subtitles for Tv shows both in hotstar and Disney+ but couldn't do it

Subtitles is already there but there is a problem in inputstream add-on. I have to dig into that to find actual issue

Some Shows plays with default hindi audio ( Tried playing Hannah Montana , disney original Tv show ) and when i tried to toggle the audio , couldn't do it . Hope you fix it

English audio is only available for premium users. And also in some case there are different version of content with different language like Taanhaji is both in Marathi and Hindi but in one stream you can toggle between hindi and Marathi and in other it's only have Marathi so you have to look for another stream

Overall a great work on the Add On . Cheers

Thanks for feedback

Please do let me know when you fix the subtitle issue . Cheers mate 👍
On Sat, 25 Apr 2020, 17:48 botallen<EMAIL_ADDRESS>wrote:

Tried enabling subtitles for Tv shows both in hotstar and Disney+
but couldn't do it

Subtitles is already there but there is a problem in inputstream add-on. I
have to dig into that to find actual issue

Some Shows plays with default hindi audio ( Tried playing Hannah
Montana , disney original Tv show ) and when i tried to toggle the audio ,
couldn't do it . Hope you fix it

English audio is only available for premium users. And also in some case
there are different version of content with different language like
Taanhaji is both in Marathi and Hindi but in one stream you can toggle
between hindi and Marathi and in other it's only have Marathi so you have
to look for another stream

Overall a great work on the Add On . Cheers

Thanks for feedback
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/botallen/repository.botallen/issues/22#issuecomment-619370891,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APKPQLJOI72SRCJVGOOEU33ROLIJLANCNFSM4MQOWUXQ
.

Waiting for subtitles fix

Great work on the addon!
I am facing the subtitles issue in Disney+ and Hotstar as well.
I have a Premium subscription so English Audio is available, but I cannot select audio language.

Still subtitle not working for tvshows

Same issue for me on 0.0.27. Subtitles not working.

Still subtitle not working for tvshows .

I tested on Special ops (tv show) and Lion king (movie). It's working on both. Also noticed that it's taking some time to load subtitles

tried for Prison break but fails


Address CVEs

What type of PR is this?
/kind bug
What this PR does / why we need it:
Addresses CVEs.
Which issue(s) this PR fixes:
Fixes #87
Fixes #88
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

I have verified that the new code can be built in our pipeline.
/lgtm


Miscompilation with spread operator and lack of semicolons.

https://buble.surge.sh/#function foobar(a%2C b) {
  return {
    foo%3A [a%2C b]%2C
    bar%3A [b%2C a]%2C
  }%3B
}

function foo() {
  	const res %3D {
    	foo%3A []%2C
      	bar%3A []%2C
    }
    const r %3D foobar(1%2C 2)
    res.foo.push(...r.foo)
    res.bar.push(...r.bar)
  	return res
}

Original code works, compiled code fails with foobar(...) is not a function.
This is because lack of semicolons makes the resulting code be executed like this:
    var r = foobar(1, 2)(ref = res.foo).push.apply(ref, r.foo)

while it should be like this
    var r = foobar(1, 2);
    (ref = res.foo).push.apply(ref, r.foo)

Yep, that's a bug — thanks for reporting! Minimal repro: https://buble.surge.sh/#a()
b.c.d(...e)


TextField cursor movement causes issues with maxLength

I found that there are a number of documented issues related to the TextField class, but I have not seen this issue be addressed as of yet. In my textField widget, maxLength is set to 255. As you can see in the character counter with the attached gif, the user cannot advance past 255 characters. However, if the user moves the cursor to a location that is not at the end of the text field and then begins to type, then the text at the end of the line starts to get cut off.

[✓] Flutter (Channel stable, v1.7.8+hotfix.3, on Mac OS X 10.14.5 18F132, locale
    en-US)
    • Flutter version 1.7.8+hotfix.3 at
      /Users/ashishkamath/Desktop/Kumanu/flutter
    • Framework revision b712a172f9 (3 weeks ago), 2019-07-09 13:14:38 -0700
    • Engine revision 54ad777fd2
    • Dart version 2.4.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
    • Android SDK at /Users/ashishkamath/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-29, build-tools 29.0.0
    • Java binary at: /Users/ashishkamath/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/183.5522156/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.3, Build version 10G8
    • CocoaPods version 1.7.3

[✓] iOS tools - develop for iOS devices
    • ios-deploy 1.9.4

[✓] Android Studio (version 3.4)
    • Android Studio at /Users/ashishkamath/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/183.5522156/Android
      Studio.app/Contents
    • Flutter plugin version 37.0.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1343-b01)

[!] VS Code (version 1.36.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
    • iPhone Xʀ • 64FFB7B1-B741-4FA2-9CB8-A4647F8E1A5C • ios •
      com.apple.CoreSimulator.SimRuntime.iOS-12-4 (simulator)

! Doctor found issues in 1 category.

I tried to look at what native Android does in this situation, and it seems to be very similar and equally weird.  If I go to the credit card number entry field in Google Play, fill up the field with numbers, and then move the cursor to the center, I can still enter characters.  New characters are added to the right of the cursor while the cursor stays in the same place.
Is anyone else seeing similar behavior in native max length fields on Android or iOS?  Should Flutter try to mimic that behavior?

I have the same problem, when input contain emotion and reach the maxlength,the cursor will jump to the textfield center, flutter version is hotfix 1.7.8

@justinmc The default behavior of EditText in the native Android when we set maxLength property is not like that we have in the flutter TextField:
android:maxLength="10"

Any updates on this issue ?!

Well here's one super simple proposal for preventing characters from being entered in the center of a maxed-out field: https://github.com/flutter/flutter/pull/52130


Example on how to add a module to RenderPages pipeline

 Issue by johanvergeer
Tuesday Jun 18, 2019 at 20:00 GMT
Originally opened as https://github.com/Wyamio/Wyam/issues/7

Could you show a full example on how to add a module to the RenderBlogPosts pipeline, without breaking the existing pipeline. The reason I'm asking is because I want to insert the SearchIndex module. I got the search functionality to work, but now the layout is messed up.
My guess is that it should be something like this, but that doesn't work. I would prefer to have a generic example, which could also be included in the documentation.
int renderBlogPostsIndex = Pipelines.IndexOf(Blog.RenderBlogPosts);
Pipelines.Remove(Blog.RenderBlogPosts);

Pipelines.Insert(
        renderBlogPostsIndex,
        Blog.RenderBlogPosts,
	ReadFiles("posts/*.md"),
	FrontMatter(Yaml()),
	Meta("SearchIndexItem",
		new SearchIndexItem("/" + @doc.String(Keys.RelativeFilePathBase), @doc.String("Title"), @doc.Content)
			{
				Description = @doc.String("Description"),
				Tags = @doc.String("Tags")
			}
	),
	Markdown(),
	Excerpt(),
	Razor(),
	WriteFiles(".html2")
);

Pipelines.Add("SearchIndex",
	Documents(Blog.RenderBlogPosts),
	SearchIndex((FilePath)"stopwords.txt"),
	WriteFiles((doc,ctx) => string.IsNullOrEmpty(doc.Content) ? null : "searchindex.js").UseWriteMetadata(false)
);

 Comment by daveaglick
Saturday Feb 29, 2020 at 21:11 GMT

FYI - the original Wyam project is being moved to statiqdev to continue work there as Statiq Web (the successor to Wyam and the Wyam blog recipe). Since this issue relates specifically to Wyam, I've transfered it to a new replacement project for legacy Wyam issues.
(This is an automated message)


Input data

Hello!
I am trying to implement this model too, in Tensorflow. But I am really lost in several moments.
First of all can you share please how did you organize your input data? From the paper I understood, that unique classes were chosen for each episode, per 10 examples for each. So is it like getting 50 examples (5 classes with 10 images each) for episode? As I can see from your implementation you did not choose random examples every time. And by episode I mean that after it the memory will be wiped and accuracy calculated

Each episode is sampled from the OmniglotGenerator generator using the OmniglotGenerator.sample() method. Here is how it works:

First get the list of all the folders containing the images in self.character_folders when the generator is initialized. The characters inside the data folder are organized as follows:

omniglot
|-- Alphabet_of_the_Magi
    |-- character01
        |-- 0709_01.png
        |-- 0709_02.png
        |-- ...
        |-- 0709_20.png
    |-- character02
    |-- ...
    |-- character20
|-- Anglo-Saxon_Futhorc
    |-- character01
    |-- ...
|-- Arcadian
    |-- character01
    |-- ...
|-- ...

Sample 5 characters (ie. 5 folders from self.character_folders) in sampled_character_folders. This gives also the mapping from the true characters to the local label inside the episode (from 0 to 4).
Sample batch_size random sequences of 10 images per character using get_shuffled_images. Each sequence is a list of 50 elements (label, image) (with label being the local label). Note that these 50 images can differ from one sequence to another inside the episode.
Do random rotations/shifts

That being said this method is not quite the proper way to sample episodes either. Here I am always sampling 50 images per sequence inside the episode. However to prevent the model from just learning to count, one should sample between 10 and 20 images of the 5 characters for each sequence (not always the same number 10).

Hm, it might be that I understood the dataset completely wrong. What is considered to be a label - character number or the alphabet? It is just that I have different number of characters in different language folders, so if I will choose some 25th character I will not be able to sample it from every alphabet - or it is ok?

A class is a character number from an alphabet. To pick a character, you sample from all the characters from all the alphabets. Inside the self.character_folders you have something like:
['data/omniglot/Mkhedruli_(Georgian)/character30',
 'data/omniglot/Arcadian/character23',
 'data/omniglot/Malay_(Jawi_-_Arabic)/character25',
 'data/omniglot/Ojibwe_(Canadian_Aboriginal_Syllabics)/character05',
 'data/omniglot/Mkhedruli_(Georgian)/character37',
 'data/omniglot/Gujarati/character36',
 'data/omniglot/Malay_(Jawi_-_Arabic)/character22',
 'data/omniglot/Futurama/character02',
 'data/omniglot/Anglo-Saxon_Futhorc/character19',
 'data/omniglot/Japanese_(hiragana)/character16',
 'data/omniglot/Anglo-Saxon_Futhorc/character17',
 'data/omniglot/Japanese_(hiragana)/character37',
...
 'data/omniglot/Balinese/character19',
 'data/omniglot/Japanese_(katakana)/character10',
 'data/omniglot/Tifinagh/character50',
 'data/omniglot/Sanskrit/character39']

Oh, that is it! Thanks.
One more question about training. I was not able to implement batch training, I am calculating error for every input given and propagate it. Can it affect the process badly? I.e. is it critical to get cost of the whole batch and only after apply gradients?

I don't think I quite get the way you train the model.
If you update the weights after each sequences in an episode separately, then you lose the advantage of batch learning (ie. less noisy estimates of the gradients). Updating the weights given all the sequences in the episode should not be too difficult if you use something like tf.scan (or even tf.dynamic_rnn maybe?).

Actually I am almost sure that the way of training is not correct, but I just cannot figure out how to implement it correctly with TF.
What am I doing now is simply getting one pair (image-shifted label) by other and minimizing cost:
for epoch in range(training_epochs):
        store_memory = np.zeros((mem_height, mem_width))
        sum_cost = 0.
        sum_acc = 0.
        # get the data
        batch_x, batch_y = generate_data(batch_size)
        # shift labels with 0
        shifted_y = np.vstack((np.zeros(n_classes), batch_y[:-1]))
        store_u_weights = np.random.rand(mem_height)
        store_r_weights = np.random.rand(mem_height)
        min_index = 0
        store_least_used = np.zeros(mem_height)

        for i in range(batch_size):
            # find n-th smallest element, where n is number_of_reads=1
            min_index = np.argmin(store_u_weights)
            store_least_used = np.zeros((mem_height))
            store_least_used[min_index] = 1

            #  Prior to writing to memory, the least used memory location is computed and is set to zero
            store_memory[min_index] = np.zeros((mem_width))

            feed_dict = {
                train_pairs: np.concatenate((batch_x[i], shifted_y[i])),
                labels: batch_y[i],
                keep_prob: 0.5,
                p_least_used: store_least_used,
                p_u_weights: store_u_weights,
                p_r_weights: store_r_weights,
                memory: store_memory }

            store_memory, store_u_weights, store_r_weights, _, c, acc = sess.run([new_memory, u_weights, r_weights, optimizer, cost, accuracy], feed_dict = feed_dict)
            sum_cost = sum_cost + c
            sum_acc = sum_acc + acc

        print "Epoch", epoch, "loss:", sum_cost/(batch_size * 1.0), ", accuracy:", sum_acc/(batch_size * 1.0)

So everything is updated after each example in batch_sizeunique_classesexamples. And actually I do not quite understand how it can be done other way - memory should be changed after each seen input?

Each sequence in an episode has its own memory. Contrary to your store_memory, the memory is not shared between the sequences inside an episode. The way I did that was to consider the memory as a 3D Tensor with shape (batch_size, memory_size[0], memory_size[1]) (instead of a matrix with shape (memory_size[0], memory_size[1])).
Likewise, the different weight vectors and the read vector are not shared inside an episode and are matrices with shape (batch_size, ...) (all these elements are initialized here, and are updated as one processes the batch_size sequences in an episode in parallel).

But what is the reason to change the memory if the classes are the same? As I understood from the paper the reason to clean the memory is that classes differ between episodes, but in one episode all the sequences have the same 5 classes, right?

The way I did that was to consider the memory as a 3D Tensor with shape (batch_size, memory_size[0], memory_size[1]) (instead of a matrix with shape (memory_size[0], memory_size[1])).

But how the sequence is processed then? Memory for one sequence should be changed after each input and least used array as well as all weights should be updated on every step. How you are getting this summed up loss then afterwards? I can work with batch, but I do not get how to work with sequence.
And by the way, weights and memory are not the things that should be updated with backpropagation, right? Because NTM paper says that they are updated too, but in this paper as I understood they are just calculated everytime by corresponding formulas

Indeed the classes are the same, but the sequences are actually different examples in an episode. Think about it as the way you would train a standard RNN with mini-batches (eg. an LSTM). The model processes the sequences in a mini-batch in parallel, and updates the hidden states in parallel as well. But these hidden states (and memory cells for a LSTM) are not shared between the sequences inside the mini-batch, each sequence has its own hidden state that is being updated.
The same holds here. Except that instead of having simple objects like the hidden state (a vector), you have to update something more complex like a memory matrix.

And by the way, weights and memory are not the things that should be updated with backpropagation, right? Because NTM paper says that they are updated too, but in this paper as I understood they are just calculated everytime by corresponding formulas

What you update with backpropagation are parameters of the model, like the weight matrices in your controller (the LSTM), as well as the weights matrices and biases used to update the read and write weights. These parameters are summed up here (the names are not always too explicit unfortunately).
This should not be confused with updating the memory and read/write/least used weight vectors during the forward pass (this is totally different from backpropagation, and similar to updating the hidden states in a standard RNN).

Thanks a lot! You helped really much to understand how it works


Enha: Check options for null before setting on android

:loudspeaker: Type of change

[ ] Bugfix
[ ] New feature
[x] Enhancement
[ ] Refactoring

:scroll: Description

Check all options for nullability before mutating the native Kotlin options.

We had mostly force casts in Kotlin, which we don't have in iOS integration. I'm assuming the latter is expected behaviour.

Expose attachThreads option with default value false.

Since attachStacktrace also does not have the is prefix, i also went for attachThreads for the sake of consitency.

Other

diagnosticLevel is only set when options.debug == true on iOS. Should we mirror this behaviour for the Android integration, or is this a separate issue?

Could not build the flutter sample locally on Android because of ndkVersion. https://github.com/getsentry/sentry-dart/blob/ec19b491f6b2706e8951e33eaa5fcfd3e106dab3/flutter/example/android/app/build.gradle#L69

:bulb: Motivation and Context

https://github.com/getsentry/sentry-dart/projects/1#card-50176945
:green_heart: How did you test it?

Ran the default app for options.
We don't yet have the means to read native options with the dart sdk, so sadly no tests.
To verify attachThreads, threw a exception on Android Native and observed the thread on sentry.io

:pencil: Checklist

[x] I reviewed submitted code
[ ] I added tests to verify changes
[x] All tests passing
[x] No breaking changes

:crystal_ball: Next steps

Codecov Report

Merging #199 (14273c9) into main (e3c09d8) will decrease coverage by 0.34%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #199      +/-   ##
==========================================
- Coverage   78.36%   78.02%   -0.35%
==========================================
  Files          47       44       -3
  Lines        1428     1374      -54
==========================================
- Hits         1119     1072      -47
+ Misses        309      302       -7

Impacted Files
Coverage Δ

dart/lib/src/sentry_options.dart
43.67% <0.00%> (-1.56%)
:arrow_down:

flutter/lib/src/sentry_flutter.dart

flutter/lib/src/platform_checker.dart

flutter/lib/src/file_system_transport.dart

Continue to review full report at Codecov.

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

@denrase

Could not build the flutter sample locally on Android because of ndkVersion.

do you mean it did not work at all or you just needed to install it? (the ndkVersion)

@marandaneto It worked when i changed the version to the one i have installed in the build.gradle. But good point, i will just go with the one that is referenced. This also removes the risk of commiting a wrong one.

Added 'diagnosticLevel' change.

Also, the action for too long methods is failing for the kotlin file. should i try to refactor or leave as is?

@denrase CI is not happy, probably static analyzers or formatting


net/haproxy: enable xmlrpc sync

Thanks to the friendly reminder in opnsense/core/issues/1224 this finally enables XMLRPC sync for HAProxy configuration.

Merged, thanks. Please not this will not be part of 16.7.12 as everything is already tagged.


Too many "read from buffer" messages running launchIOSDevice

org.javafxports:jfxmobile-plugin:2.0.18
OSX
Gradle 4.6
Oracle JDK 9.0.4
There are a lot of output lines when running launchIOSDevice:
read from buffer: 450
read from buffer: 1140
read from buffer: 450

Can these be combined or put behind a switch?

should be fixed with 2.0.19


I lost half of my project

Describe the bug
I spent half a day on changes and out of nowhere the account lost half of the data.
Everything is gone.
I had a calming red theme instead of what it is now, I connected my data to supabase to track account activity, I had a login and signup sheet, I had a home section with descriptions, I had a complete the beat section. the entire application I was making is all gone. there is not history of it PLEASE HELP
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-zs9m4i
Steps to reproduce
See history.
Expected behavior
I went to check my subscription and when I came back to my project nearly ALL of my prompts for the day were gone. I want to restore it back to where I ended on it
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 131
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 70878134,
  "usedJSHeapSize": 69279582,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = adammarek1244
Chat ID = 7731a1dbd09f

Additional context
What is happening I just want my project back pls pls help

Same here, please fix!

resolved
On Fri, Nov 22, 2024 at 7:17 PM timtim-hub @.***> wrote:

Same here, please fix!
—
Reply to this email directly, view it on GitHub
https://github.com/stackblitz/bolt.new/issues/2997#issuecomment-2495134693,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BNE7U7GHZ4GSC2DCQA4YNED2B7CQZAVCNFSM6AAAAABSKLNYX6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJVGEZTINRZGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

How was it resolved?

I re-did it… and then forked it on stackblitz
On Sat, Nov 23, 2024 at 12:22 PM fairtradepanic @.***>
wrote:

How was it resolved?
—
Reply to this email directly, view it on GitHub
https://github.com/stackblitz/bolt.new/issues/2997#issuecomment-2495547416,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BNE7U7ANDZHC5LZFXRLLTV32CC2UVAVCNFSM6AAAAABSKLNYX6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJVGU2DONBRGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Subject: Report an Issue: "Unhandled Runtime Error" on Bolt.new
Dear Bolt.new Support Team,
I am writing to report a recurring issue I’ve encountered despite multiple attempts to resolve it. The problem persists, and the token drops during attempts. Below are the error details:
Error Message:
Unhandled Runtime Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
Details:

Component: LoginPage
Steps Taken: Checked component export structure and imports (both named and default).
Stack Trace:createFiberFromTypeAndProps
createFiberFromElement
createChild
reconcileChildrenArray
...

The issue appears to be related to rendering in react-dom. Please advise on the next steps or provide guidance to resolve this error.
Looking forward to your support.
Best regards,
Amjad Ali


Consent per user

Can consent be added on a user-by-user basis?
For instance, I turned off "Users can consent to apps accessing company data on their behalf", but I would like to give 1 user access to integrate Amazon Alexa with Office 365. It seems like it is currently only on or off globally. This is a glaring issue in my opinion.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: c7a6c58c-f887-03a4-8f69-eb91a19e4fb3
Version Independent ID: 4e53d964-7edf-5668-b976-75fcdce4638e
Content: Configure user consent to an application - Azure Active Directory
Content Source: articles/active-directory/manage-apps/configure-user-consent.md
Service: active-directory
GitHub Login: @CelesteDG
Microsoft Alias: celested

@Mark7even Thanks for the question! We are investigating and will update you shortly.

@Mark7even We checked this and at this point we do not have any way to consent per user. This is a tenant-wide option and hence this applies to all the user objects in the tenant . However we request you to provide this design change request via Azure feedback portal using this link.

We will now close this issue . Should you have any further query , feel free to tag me to your reply and we can continue the conversation.


yubihsm export failing

It seems exporting from YubiHSM is not supported, tested on tmkms 0.6.0-alpha1.
Running with admin auth:
tmkms yubihsm keys list
Listing keys in YubiHSM #0007040183:
- 0x#0001: 1624DE642094E6ECAA502398FB2705F044FA8ADBF2F05B2AB1F61B956C91252502AFD87177
- 0x#0002: 1624DE6420A5F23C46232A9A3121D24DE4B098300D30ADEA7EE4B596E77B61F7BBC622845C

tmkms yubihsm keys export -i 1
error: couldn't export key 1 under wrap key 1: HSM error: invalid permissions

Not sure if it makes any difference, but keys were imported using -t priv_validator.

The provisioning process creates 4 keys (by key ID below):

admin
operator
auditor
validator

Only 1/2 are capable of generating, exporting, and importing keys. My best guess is you're probably trying to export with key ID #4.
The UX around this is not great right now. You either have to comment out the current auth credentials in tmkms.toml and add the operator credentials, or use yubihsm-shell.
I am working on supporting usage of yubihsm-shell concurrently with a running tmkms, and authenticating with different credentials than the validator, without having to expose them to the filesystem/config.

Thanks Tony, already running with admin auth.
I just double-checked now, and I believe it is because it was imported with -t priv_validator, as a freshly generated key can be exported without issue.

Can btw confirm it works as intended with admin+operator exporting.
It just seems to be an issue with keys imported with -t priv_validator.

Aha, that may be the case! I didn't write the priv_validator import code, but it's entirely possible it doesn't add the exportable-under-wrap capability to the imported keys.


no nsfw filter

i thought you shut the extension down to add a nsfw filter
but it doesn't work

Can confirm, this is still an issue. The first 9 accounts have NSFW content

Same issue as #13

ups didn't see it


add past_step? future_step? previous_step? next_step? to readme

under Quick Reference / Controller Tidbits

Great, thanks


Introductions and questions

Hi @Oceania2018 et al.,
First, I'll introduce myself - I'm Don Syme, language designer for F# and lately I've been looking at AI model programming with .NET. @moloneymb is a deep learning expert and very experienced in F# and Python.
I'd like to open a discussion about possibly aligning TensorFlow.NET and our work on TensorFlow.FSharp
@moloneymb and myself have been really impressed by the work you and your team have been doing on TensorFlow.NET and SciSharp. You are taking a really interesting approach.
TensorFlow.FSharp is three things

A TF API binding for F#, a lot like Scala-for-Tensorflow
A prototype of "F# for AI Models", a higher level DSL for programming AI models with execution on TensorFlow, and eventually on other differentiable tensor fabrics such as DiffSharp (once it supports tensors) and TorchSharp.
Some promising tooling for interactive shape checking of tensor-based AI models

We're wondering whether we could replace/align the first part of this by TensorFlow.NET.    As part of this, we could also bring in a strong F# angle to the overall SciSharp projects - using C# is very positive but adding F# as well could bring the best of both worlds.
I'd love to discuss with you - find out more about your vision for SciSharp etc.
(Note I'm not talking about TensorFlowSharp - though we can also discuss with @migueldeicaza what alignment might look like there).
Best
Don

Hi Don,
We're so excited SciSharp got your attention, Like the philosophy we insist on that

We really like the python machine learning ecology, but love more .NET efficient and elegant syntax.

Due to the incompleteness of the .NET machine learning ecosystem. We have to create a .NET based Machine Learning ecosystem which is making the most of existing python resources. My team and I work very hard for SciSharp, commit code, rafctor and optimize them alway on-going.
We have several main libraries to support our ML ecosystem.
1 NumSharp - The Tensor computation library.
2. TensorFlow.NET - The Google's TensorFlow C# binding (The most complete binding language besides python).
3. Plot.NET - The statistical data plotting library based on plotly.js.
4. ICSharpCore - The Jupyter kernels in .NET Standard 2.x.
5. BotSharp - The AI Chatbot Platform Builder in 100% C# Running in .NET Core.
6. Pandas.NET - Pandas port in C# (don't have too much resource to do it)
Definitly, It's honor for us to work closer with Microsoft's developemnt team. F# is easily call C# function, am I right? Sorry for that I am not very familiar with F#.

Hi @Oceania2018 ,
Just to mention that I'm initially coming at this mostly from an F# perspective - not speaking for all of Microsoft as such - though it would be great to broaden the discussion to include more Microsoft and .NET community people over time.
If you like, can you tell me a bit about your team, and what sort of usage scenarios you have in mind personally?
The pieces of SciSharp and the overall vision you outline above make a lot of sense.

F# is easily call C# function, am I right?

Yes, definitely, all the .NET components you re developing should be immediately usable from F#.  The main issue in supporting F# tends to be documentation and samples.  (Sometimes people add F#-specific APIs if they bring a lot of value)

Oh I meant to say, you can learn more about F# at http://fsharp.org .  The community is very friendly!

@dsyme We're a tiny team which is consit of 2 architects, 2 members and other contributors. We want to build a .NET-based ML cloud service like AWS SageMaker.
Obviously this is a big project involving a lot of work, but I believe that many developers in the world who are crazy about .NET technology will join SciSharp STACK to help build this complete tool together.

@Oceania2018 Wow, that's very cool!
It's great that all the components are open source! Is the cloud service part of a company?
Putting aside the cloud angle, it would be great to bring on board other contributors to the SciStack components too!

That is great to see advices coming from designer and architect of the F# programming language!!

It seems that not many people are paying attention to TensorFlow.FSharp. I think these two projects should be merged into a larger ecosystem, letting more .NET Developers know and use them. I want to know if TensorFlow.NET will be merged into ML.NET to speed up the development of ML.NET.

@dsyme  他是Fsharp设计师 肯定希望你用Fsharp

@dsyme @moloneymb Whooray! .NET Developers can build awesome tensorflow computation graph for neural network models now!

I'm so exicted and really want to share with you the recent progress of TF.NET. After several months of continuous improvement, TF.NET has been able to do more things. Developers can build graph for neural network models. We have added two examples of neural network models:

Word CNN text classification.

Netural Network for MNIST digitals recognition.


Option to ignore flanking friendly and neutral creatures

This should be optional as most DMs do not strictly edit the disposition of their tokens.
But it is very annoying when having players closer together, flanking is calculated against friendly creatures or allies and it is posted in the chat as clearly unless an exception players will never fight each other.
The option when turned off checks the disposition and ignores flanking announcement (but can still silently calculate flanking) for friendly creatures.
Also, I noticed that if a player does not target specifically an enemy, but is flanking a friendly creature, will still roll with advantage and has to ignore the second roll. Flanking automation should only apply when proper targeting is used.

Implemented in 0.2.4

Thank you.


invalid call function in 702

https://github.com/abapGit/abapGit/issues/4847

@FreHu try again, 2.77.5


How can I add image to background ?

I set Apperance > BackgroundImage to my image but it is not showing

Excuse me, have you solved this problem now


Upgrade duckdb-wasm and apache-arrow

Could you please upgrade the duckdb-wasm and apache-arrow? The latest version<EMAIL_ADDRESS>uses Arrow v17 instead of v15 a well:
https://github.com/duckdb/duckdb-wasm/blob/main/packages/duckdb-wasm/package.json#L26
I can create a PR if you like. Thanks!

Sorry for delay.
I just pushed a new version that makes @duckdb/duckdb-wasm a peer dependency instead. This way you can update the core duckdb version as you like, without blocking on me :)
You'll need to npm install @duckdb/duckdb-wasm in your project, if you haven't already.
I've tested and everything seems to work, but let me know if you have any issues with this change.

hm, I'm trying to use a recent dev version and seeing this error:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/@duckdb/duckdb-wasm
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>

Thanks, I pushed a new version, can you try again?
Looks like the dev version numbers aren't working with ^1.28.0 (it works in yarn, but not in npm).
For now, I made the peer dependency versioning very loose:
    "@duckdb/duckdb-wasm": "*",
    "apache-arrow": ">=15.0.0",

I think that should be fine, as this library doesn't depend on anything from duckdb-wasm that's likely to break. But let me know if you run into any issues.
I tested it works with "1.28.1-dev258.0" (but it looks like newer versions are currently broken)


Make test shell wrapper filename even more unique

To prevent accidental reuse of the wrapper, reported in #2997, and improve investigation by saving all wrappers, make the test shell wrapper filename even more unique that it already was. Besides the phase and guest names, include also test name and its serial number. That should make the filename unlike any other filename created for other tests.
See https://github.com/teemtee/tmt/issues/2997
Pull Request Checklist

[x] implement the feature
[x] write the documentation

/packit test

Unrelated test failures, enough approvals, merging.


Can't disable Fragment Drops: OutOfBounds error

Wither Skeleton Tweaks-1.11.2-1.6.2
Fragment Drop Chance will cause a crash is set to 0. Please make it possible to disable the drops completely by setting the drop chance to < 1.

Added in 1.7.0

Thank you!


make list of Mondo terms that EBI/Open targets

please make a list of Mondo terms that EBI/EFO are using
please make a special list for Open Targets therapeutic area

Full list here:
https://github.com/EBISPOT/efo/blob/master/src/ontology/iri_dependencies/mondo_terms.txt

List of therapeutic areas:
https://github.com/EBISPOT/otar_profiler/blob/master/templates/disease_p_ta.txt

@matentzn I added this to our agenda to work on a workflow to automatically check EFO terms against Mondo obsoletion candidates

This is done, thank you!!


Set time_base for AudioResampler

Tests were failing when time_base was None, so I added handling for that
Hooray for tests!


Cherry-pick "Save a copy when advancing to dependent GIF and WebP animation frames"

https://chromium.googlesource.com/chromium/src.git/+/3a38c33c398189620281ad19a0f8e5b7f6ac3e69
must pick these commits in order first and do some proper modification

https://chromium.googlesource.com/chromium/src/+/605fa62ea2c9ac2924ff08f21106775d412bed5b
https://chromium.googlesource.com/chromium/src/+/3fd7c79eea0cb0f981a73b1264568366214f229e
https://chromium.googlesource.com/chromium/src/+/78115b26dfafd0fca676ac33caabd3aa8b43ecf4
https://chromium.googlesource.com/chromium/src/+/69969af74bfff920f5fdcc2aa547ea4af2d477d2

should be removed when upgrading to chromium 55
fix https://github.com/brave/browser-laptop/issues/6656
Auditors: @bbondy, @bridiver, @bsclifton

++


[Bug] Blank window

Insomnia Version: 5.14.3 (installed from Snap)
Operating System: elementary OS Loki (based on Ubuntu 16.04)

When I start Insomnia, I see only blank white screen.

How did you find the snap already? I only published it for the first time yesterday as a test.
To debug, can you go to View > Toggle DevTools and post any errors you see here?

I just monitor new snaps in https://uappexplorer.com/snaps

DevTools looks broken too

Also, when I start this snap, it creates empty folders ~/Desktop, ~/Documents, ~/Pictures, ~/Public and ~/Templates

Same thing on another computer (Debian 9 with KDE 5.8.6).
But DevTools works well.
Error:
Uncaught Error: libcurl-gnutls.so.4: cannot open shared object file: No such file or directory
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
    at Object.Module._extensions..node (module.js:598:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:187:18)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/snap/insomnia/10/resources/app.asar/node_modules/insomnia-node-libcurl/lib/Easy.js:40:29)
    at Object.<anonymous> (/snap/insomnia/10/resources/app.asar/node_modules/insomnia-node-libcurl/lib/Easy.js:280:3)

Seems to be related to the app being built on Ubuntu Xenial (used Trusty previously). The same problem occurred with the non-snap version (https://github.com/getinsomnia/insomnia/issues/742).
Made the snap private for now and will take another look at this the next time I have time.

Hey, looks like related bug was fixed. What about snap?

Still need to figure out how to build the snap on Trusty. I couldn't get it working before, which is why I upgraded the Xenial.


ExtOperatorUpdate::update() is parsing query for each document

This function gets executed part plan execution phase, but it tries to parse and figure out the query here in this function. This function gets executed for each and every document we scan, most of the work in this function could be pushed to the planning phase.
It's possible I am being naive and expecting this to be simpler than it is, but it is worth spending a bit of time on it later.

I agree. The query parsing and validating part can be lifted into the constructor of ExtOperatorUpdate and ExtReplaceUpdate.

@apkar Could you please assign this to me, we started working on it.


chore: prettier optimization

Description of changes

This PR does 3 things for prettier:

not ignore the some package/*/lib/ so that prettier will work on those files
fix the prettierPath so that VS Code is able to auto-format on save
add prettier to husky so that it'll automatically prettify the changed code

Issue #, if available

Description of how you validated changes
Tested on local
Checklist

[ ] PR description included
[ ] yarn test passes
[ ] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies
[ ] Pull request labels are added

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

Codecov Report

Merging #12869 (38832a2) into dev (ec9a2ba) will increase coverage by 48.46%.
The diff coverage is 58.63%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@             Coverage Diff             @@
##              dev   #12869       +/-   ##
===========================================
+ Coverage    0.00%   48.46%   +48.46%
===========================================
  Files        1296      837      -459
  Lines      149743    38041   -111702
  Branches     1296     7747     +6451
===========================================
+ Hits            0    18436    +18436
+ Misses     148447    18017   -130430
- Partials     1296     1588      +292

Impacted Files
Coverage Δ

...y-category-function/src/commands/function/build.ts
0.00% <0.00%> (ø)

...ify-category-function/src/events/prePushHandler.ts
33.33% <0.00%> (+33.33%)
:arrow_up:

...ider-utils/awscloudformation/utils/layerHelpers.ts
21.80% <0.00%> (+21.80%)
:arrow_up:

...er-utils/awscloudformation/utils/storeResources.ts
30.38% <ø> (+30.38%)
:arrow_up:

...ib/S3AndCloudFront/helpers/configure-CloudFront.js
87.06% <ø> (+87.06%)
:arrow_up:

...lify-category-hosting/lib/S3AndCloudFront/index.js
89.65% <ø> (+89.65%)
:arrow_up:

...ifications/src/commands/notifications/configure.ts
0.00% <0.00%> (ø)

...e/src/amplify-node-pkg-detector/lock-file-types.ts
100.00% <ø> (+100.00%)
:arrow_up:

.../src/amplify-node-pkg-detector/yarn-lock-parser.ts
100.00% <ø> (+100.00%)
:arrow_up:

packages/amplify-cli-core/src/constants.ts
100.00% <ø> (+100.00%)
:arrow_up:

... and 47 more

... and 1249 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Init scripts missing since 0.27.0

Since version 0.27.0 the packages from the debian repository
deb https://sensu.global.ssl.fastly.net/apt jessie main
are missing the init scripts.
Expected Behavior
Init script present under /etc/init.d
Current Behavior
Init scripts missing under /etc/init.d
Steps to Reproduce (for bugs)

apt-get install sensu=0.26.5-2
ls /etc/init.d/sensu-*

/etc/init.d/sensu-api  /etc/init.d/sensu-client  /etc/init.d/sensu-server  /etc/init.d/sensu-service

apt-get install sensu=0.27.0-1
ls /etc/init.d/sensu-*

ls: cannot access /etc/init.d/sensu-*: No such file or directory

Context
I've installed updates to 0.29.0-7 recently and tried to restart sensu-client and realized that the init scripts are missing.
Your Environment

Sensu version used: > 0.27.0
Operating System and version: Debian 8.7

@rlindner as of Sensu 0.27 we provide systemd unit files for platforms like Debian Jessie where systemd is the default init. This change is described in the Sensu 0.27 changelog.
If you prefer to use sysv init scripts, I believe you can choose to install Wheezy packages instead.

Thanks for pointing me to the right documentation! I've read the changelog here on GitHub were this wasn't mentioned.


Made sidebar Header Sticky

PR Fixes:

1 Made the Content Sidebar Heading Sticky

Resolves #1084
https://github.com/user-attachments/assets/319e3bdc-a0cb-4c53-858e-439453a17e74
Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I assure there is no similar/duplicate pull request regarding same issue

Are you working on the failed checks?

Np it's a conflict between husky and prettier u don't need to worry

I have been trying to solve the failed check for quite some time now, from what I have realized, I think something is broken in the main repo itself. When I try to clone and install(npm i) the code100x/cms repo, it gives the same error.
Also, as you can see I have made changes only to the Sidebar.tsx file.
@hkirat @devsargam you guys should look into this.

i feel like we are supposed to use pnpm install rather than npm i

@zenithexe  they are saying don't use npm as they are trying to migrate to pnpm

thank you sir


Manage Local Storage for Moves

Implement functions to save and retrieve game moves using IndexedDB.
Save each move as one entry, with each game getting its own store, so it can remember the history for several games.
Save each move auto-incrementing the id, to be able to retrieve the most recent.

Some starter code.  First, add const [move, setMove] = useState(0).  Then, each time the user moves, setMove((move) => move+1).  This gives a way to reference where in the game history you are.  'move' will also need to be added to the server. Or have gameData = JSON.stringify({move,gameArray}), and make sure to parse retrieved gameData accordingly.  Actually that's a better idea, since then there's the option of adding whatever to the gameData.
Make sure to install idb
A function to add to client/src/utils/GameContext.js.  This would then be called right along saveGameState.  When using it after saveNewGame, make sure to give it the new gameId.
import { openDB } from 'idb';

async function saveGameLocal(gameId, move, gameData) {
  const dbName = 'sudoku-shuffle-db';
  const dbVersion = 1; // You can update this when needed

  // Open the database
  const db = await openDB(dbName, dbVersion, {
    upgrade(db) {
      // Create a new store if it doesn't exist
      if (!db.objectStoreNames.contains(gameId)) {
        db.createObjectStore(gameId);
      }
    },
  });

  // Start a transaction and get the object store
  const tx = db.transaction(gameId, 'readwrite');
  const store = tx.objectStore(gameId);

  // Save the gameData with the specified move number
  await store.put(gameData, move);

  // Delete entries with move numbers greater than the specified move
  const keys = await store.getAllKeys();
  for (const key of keys) {
    if (key > move) {
      await store.delete(key);
    }
  }

  // Complete the transaction
  await tx.complete;

  // Close the database
  db.close();
}

// Example usage
const gameId = 'exampleGame';
const move = 5;
const gameArray = { /* ... */ }
saveGameLocal(gameId, move, JSON.stringify({gameArray}));

Then, here's a component that holds the undo and redo buttons, plus the logic to figure out whether they should be disabled.
(I called it 'Undo', but it holds both buttons. Is there a word that refers to both?)
import React, { useState } from 'react';
import { useGameContext } from '../../utils/GameContext'

export default function Undo() {
  const { gameId, gameData, setGameData, move, setMove } = useGameContext();
  const [previousMove, setPreviousMove] = useState(-1);
  const [redoAttempts, setRedoAttempts] = useState(0);

  const canUndo = move > 0;
  const canRedo = redoAttempts > 0;

  const handleUndo = () => {
    if (canUndo) {
      setMove((move) => move - 1);
      setRedoAttempts(redoAttempts + 1); // Increment redo attempts
      setPreviousMove(move - 1); // Set the previous move
      // Implement your undo logic here
    }
  };

  const handleRedo = () => {
    if (canRedo) {
      setMove((move) => move + 1);
      setRedoAttempts(redoAttempts - 1); // Decrement redo attempts
      // Implement your redo logic here
    }
  };

  // Disable redo if move increases without redo being pressed
  if (move > previousMove && redoAttempts > 0) {
    setRedoAttempts(0); // Reset redo attempts
  }

  return (
    <div>
      <button onClick={handleUndo} disabled={!canUndo}>
        Undo
      </button>
      <button onClick={handleRedo} disabled={!canRedo}>
        Redo
      </button>
    </div>
  );
}

Then here would be the corresponding retrieveGameLocal function that undo and redo will use.
import { openDB } from 'idb';

async function retrieveGameLocal(gameId, move) {
  const dbName = 'sudoku-shuffle-db';
  const dbVersion = 1; // You can update this when needed

  // Open the database
  const db = await openDB(dbName, dbVersion);

  // Start a transaction and get the object store
  const tx = db.transaction(gameId, 'readonly');
  const store = tx.objectStore(gameId);

  // Retrieve the gameData for the specified move number
  const gameData = await store.get(move);

  // Complete the transaction
  await tx.complete;

  // Close the database
  db.close();

  return gameData;
}

// Inside your React component

const handleUndo = async () => {
  if (move > 0) {
    setMove((move) => move - 1);
    const updatedGameData = await retrieveGameLocal(gameId, move - 1);
    setGameData(JSON.parse(updatedGameData).gameArray);
    // Implement any additional undo logic
  }
};

And redo would be handled similarly.


Add missing enzyme dependencies to run tests

This fixes the errors when running npm test:
<EMAIL_ADDRESS>and react-test-renderer are implicit dependencies when<EMAIL_ADDRESS>with enzyme. Please add the appropriate version to yourdevDependencies. See https://github.com/airbnb/enzyme#installation
./react-s-alert/node_modules/enzyme/build/react-compat.js:154
      throw e;
      ^

Error: Cannot find module 'react-addons-test-utils'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    ...

From enzyme docs:
If you are using React >=15.5, in addition to enzyme, you will have to ensure that you also have the following npm modules installed if they were not already:
npm i --save-dev react-test-renderer react-dom

thanks!


[zh]Add windows-storage.md chinese version

Work for https://github.com/kubernetes/website/issues/34033 win-4
add windows-storage.md chinese version

I've revised all of your reviews，thank you@tengqm

/approve

The format and Netlify preview looks good to me. Thanks!
/lgtm


Request for "with_attr_docs" feature

As mentioned in https://github.com/pydantic/pydantic/pull/4492, I have been using https://github.com/danields761/pydantic-settings/ mostly for its with_attrs_docs decorator. (That being said, I wanted to link to its documentation here, but cannot find it…)
It greatly reduces the visual noise / clutter when documenting fields that otherwise do not even need a Field().
Hence, I would love to see this be supported in this new project as well (not caring so much about the actual syntax / import, in case the name should change).

Well this is embarrassing, after looking into with_attrs_docs it seems like it would actually make more sense to implement this in pydantic itself or in a separate library (if it requires multiple extra dependencies), sorry for pointing you here :facepalm:.
Still, I'll leave the issue here for now and we can think more about the idea and how to implement it when we're nearer to V2 release.
More information on what this does, from here:

Extracts fields documentation
Allows to extract Sphinx style attributes documentation by processing AST tree of class definition
from pydantic import BaseModel
from pydantic_settings import with_attrs_docs

@with_attrs_docs
class Foo(BaseModel):
    bar: str
    """here is docs"""

    #: docs for baz
    baz: int

    #: yes
    #: of course
    is_there_multiline: bool = True

assert Foo.__fields__['bar'].field_info.description == 'here is docs'
assert Foo.__fields__['baz'].field_info.description == 'docs for baz'
assert Foo.__fields__['is_there_multiline'].field_info.description == (
    'yes\nof course'
)

Would you accept a PR that adds a more limited form of this functionality? From looking into pydantic_settings (and the related class_doc) most of the code has to do with parsing comments. If you only support docstrings it's under 100 lines of code.

Yes I think so, would love to review a PR.

So you mean only the bar format in the example above would be supported?  I must say that I would have to get used to that format (which seems to be a strange de-facto standard in the ecosystem, but not officially supported by python itself), but I would still be happy to have that feature!

This has now been implemented in https://github.com/pydantic/pydantic/pull/6563. When it's released (not in 2.6.0, unfortunately) use_attribute_docstrings in the model config will activate the feature.

Released in v2.7!
It would be great if the documentation had an annotation that this feature is only available with 2.7 or later—since ConfigDict doesn't reject unknown kwargs, it took me 10 minutes of playing around to discover that the reason it wasn't working was that my version (2.5) didn't support it.

I've added a docs update to resolve this issue. Thanks folks!


feat!(run): migrate noauth sample to v2 Cloud Run resource

Example PR, please 🚨🚨🚨 DO NOT MERGE 🚨🚨🚨

@ace-n
Thanks for the PR! 🚀✅ Lint checks have passed.

@ace-n
Thanks for the PR! 🚀✅ Lint checks have passed.


Update cloud-security.md

Changed some verbiage in the opening paragraph relating to the importance of everyone knowing there is a thread to security and it crosses all parts of the organization.

@bizeman15 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


merge package from arlac77/npm-package-template

package.json

chore(package<EMAIL_ADDRESS>chore(scripts): cover@#overwrite c8 --temp-directory build/coverage ava && c8 report -r lcov --temp-directory build/coverage
chore(package): add xo from template
chore(package): add nyc from template
chore(package): set $.ava.require='esm' as in template
chore(package): set $.ava.files='tests/-test.js,tests/-test.mjs' as in template

Codecov Report

Merging #528 into master will decrease coverage by 1.95%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #528      +/-   ##
=========================================
- Coverage   79.06%   77.1%   -1.96%
=========================================
  Files           1       1
  Lines         511     511
=========================================
- Hits          404     394      -10
- Misses        107     117      +10

Impacted Files
Coverage Δ

src/service-consul.js
77.1% <0%> (-1.96%)
:arrow_down:

Continue to review full report at Codecov.

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

Coverage decreased (-1.9%) to 75.382% when pulling e13069f4799136ad9b15a9d660e8dccb51b7ee8b on template-sync-1 into f248d95f7269a58ea363369c51bedbbc925543c7 on master.

:tada: This PR is included in version 2.20.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


schema work

work on the ExtIP statuses. Plus I added a data model diagram for the ontology described in ExtIP 1. Looking for @ipatka to review that the image actual appears when the website for the ExtIPs is generated.

@ipatka it does not seem like it compiles to the site preview. looking for suggestions on how to get it to show up.

The deploy preview link works for me https://deploy-preview-1--extitute.netlify.app/eips/eip-1

oh the image. let me check

fixed and reverted the eip to extip in table headers because it broke automation/ layout rendering


[web] Support scrolling inside the text field

There are 2 situations where the text field can scroll:

Very long text in a single-line text field (horizontal scrolling).
Many lines of text in a multi-line text field (vertical scrolling).

Currently, the scrolling works fine but the issue is that Flutter's field and the browser's field get out of sync, and they are scrolled to different positions.

Merging due to duplicate: https://github.com/flutter/flutter/issues/40712

For horizontal scrolling one thing to do is to put  tag inside the glass pane.

👍

I can't continue my flutter web project because of this issue. It has been open for nearly a year. Is there any hope of a solution soon? I'm wondering about moving back to building an Ionic PWA, but that would be a backward step I think.
Thanks for your efforts,
Andrew

Really so slowly to solve this issue

Tried to reproduce, scrolling does fine in both directions but as mentioned Flutter's field and the browser's field get out of sync,

code sample
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      theme: ThemeData.dark(),
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Material App Bar'),
      ),
      body: Center(
        child: TextField(
          maxLines: 1,
        ),
      ),
      floatingActionButton: FloatingActionButton(
        child: Icon(Icons.add),
        onPressed: () {},
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel master, 1.22.0-10.0.pre.176, on Microsoft Windows [Version 10.0.19041.508], locale en-US)
    • Flutter version 1.22.0-10.0.pre.176 at C:\Code\flutter_master
    • Framework revision 96ca0e272b (6 hours ago), 2020-09-15 09:02:04 +0100
    • Engine revision 7e962ba911
    • Dart version 2.10.0 (build 2.10.0-124.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Code\sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = C:\Code\sdk
    • Java binary at: C:\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.7.3)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.7.30503.244
    • Windows 10 SDK version 10.0.18362.0

[✓] Android Studio (version 4.0)
    • Android Studio at C:\Code\android-studio
    • Flutter plugin version 49.0.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[✓] VS Code (version 1.49.0)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.14.1

[✓] Connected device (4 available)
    • RMX2001 (mobile)  • EUYTFEUSQSRGDA6D • android-arm64  • Android 10 (API 29)
    • Windows (desktop) • windows          • windows-x64    • Microsoft Windows [Version 10.0.19041.508]
    • Web Server (web)  • web-server       • web-javascript • Flutter Tools
    • Chrome (web)      • chrome           • web-javascript • Google Chrome 85.0.4183.102

• No issues found!

It's shame to have this issue as P4 and no progress is made after nearly two years. Our products are even suffering from user complains about the typing experience.

Last September after my last post I gave up hope that this issue would ever be fixed. I got my hopes up again when Flutter for Web was officially released. But still nothing.
So I abandoned my Flutter development completely and rewrote my entire app in Ionic Framework with Vue, as a PWA. I did this with a heavy heart because as a developer I really liked Flutter. But I must have something that works.
I have found Ionic with Vue to be very easy to use and well supported. My app will be ready to launch soon. When it is, I'll announce it on my web site at https://www.taskangel.com, so you can see what an Ionic Vue PWA looks like.
Flutter has been a big disappointment, and it wasted months of my time driving me into a dead end.

Some experiments on this. (More details https://github.com/flutter/flutter/issues/78031#issuecomment-864400962)
It looks like a font issue. Without specifying any style to the TextField, it applies Roboto fonts by default, but the textarea element created as shadow applies an apple font on Safari by default, which causes them out of sync.
Adding Roboto fonts to pubspec.yaml and applying them to the TextField won't fix. Although the font is properly applied to the shadow textarea element, it's not taking any effect.

It seems that we have the font downloaded but it's not recognised by Safari.  I guess there are more to find out.

Besides the font issue causing the text "structure" difference between TextField and <textarea>, it seems that scrolling isn't implemented from the flutter framework to the web_ui engine. By adding a scroll framework-to-engine message, I make it to have a basic scroll sync. Further modification may be needed on the DOM side, to get rid of the grey tint and the caret.
I'm not sure if anyone from the Flutter team or community is actually working on this issue. I'd like to spend some time on it if I'm in the right direction and wouldn't step on anyone's toe.
https://user-images.githubusercontent.com/39660295/122682258-fe30c300-d22a-11eb-938c-c6a937f49b1e.mp4


Cilium Batch Implementation

Implements Cilium Batching feature in operator. Upon operator bootup,
starts CiliumEndpointBatch controller
a) Watches for CiliumEndpoint changes, then it create/updates CiliumEndpointBatches in
local cache.
b) During runtime, CEB's desired state is maintained in local cache.
c) Periodically, reconciles the local CEB's with api-server.
Fixes: #16931
Signed-off-by: Gobinath Krishnamoorthy<EMAIL_ADDRESS>

Hi @aanm @nathanjsweet this is another PR handles CEB batching implementation in operator.

It looks the tests are failing with a real failure:
contrib/scripts/check-missing-tags-in-tests.sh
Test file(s) does not contain a tag privileged_tests or !privileged_tests tags:
./operator/pkg/ciliumendpointbatch/reconciler_test.go ./operator/pkg/ciliumendpointbatch/manager_test.go ./operator/pkg/ciliumendpointbatch/utils_test.go ./operator/pkg/ciliumendpointbatch/serializer_test.go
make: *** [Makefile:514: precheck] Error 1
make: *** Waiting for unfinished jobs....

It looks the tests are failing with a real failure:
contrib/scripts/check-missing-tags-in-tests.sh
Test file(s) does not contain a tag privileged_tests or !privileged_tests tags:
./operator/pkg/ciliumendpointbatch/reconciler_test.go ./operator/pkg/ciliumendpointbatch/manager_test.go ./operator/pkg/ciliumendpointbatch/utils_test.go ./operator/pkg/ciliumendpointbatch/serializer_test.go
make: *** [Makefile:514: precheck] Error 1
make: *** Waiting for unfinished jobs....

I think all unit test files were missing privileged_tests tag. Added all tags now.

Quick note, can you remove "Fixes: #16931" in the description? Otherwise when this merges, it'll close the issue.

@aanm @nathanjsweet Appreciate I have addressed all the comments, appreciate if you could take a look one more time.

@aanm @nathanjsweet I have addressed all the comments. much helpful, if you could take a look at the PR one more round.

@krishgobinath the unit tests are failing with legitimate reasons: it needs make -C Documentation update-cmdref

Code does not compile

My bad, didn't compile before pushing code in.


Switch to user-runtime config approach

Closes #9
This PR switches our auth-endpoint setup approach to one where the user does it at runtime. We then provide the helpers for it, but the user creates the module with config.
This has some advantages:

follows nextauth convention,
all imports are made by the user at runtime, so no more de-/serialization of options required

It has the disadvantage of forcing the user to do more work.
This PR is WIP and untested, but the implementation is very easy based on our existing work, so it should hopefully not be much more to make this work. Once it's done I would rip out all of the code that is only there to support the "old" approach, that should also simplify the module quite a bit.
Checklist:

[x] issue number linked above after pound (#)

replace "Closes " with "Contributes to" or other if this PR does not close the issue

[x] manually checked my feature / checking not applicable
[ ] wrote tests / testing not applicable
[ ] attached screenshots / screenshot not applicable

Status:

impl done
open:

[ ] update docs
[ ] check out useSession.ts credential related todos -> they may apply here now
[ ] fix tests


Add Twin property to TestRouteAPI and TestAllRoutes API. This is an optional parameter to these APIs.

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[ ] The title of the PR is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[ ] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[ ] If applicable, the PR references the bug/issue that it fixes.
[ ] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[ ] I have read the contribution guidelines.
[ ] My spec meets the review criteria:

[ ] The spec conforms to the Swagger 2.0 specification.
[ ] The spec follows the guidelines described in the Swagger checklist document.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-sdk-for-python

Moderators, this is a PR for an upcoming change in IoT Hub's RP's API. The changes are not deployed yet so we would want to hold of completing the PR until the deployment is complete.
Is there a way to do that?

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-java

@akumardu Can you review the changes as well?

Automation for azure-sdk-for-go

Can one of the admins verify this patch?

@AutorestCI regenerate azure-sdk-for-python


Add Dockerfile and workflow for ARM

Adds a Dockerfile and Github workflow to build and release an rmb-peer container for the arm64 architecture. See https://github.com/threefoldtech/farmerbot/issues/11 for motivation and discussion.
Notes on the builds:

Cross compiling is done using the base image provided by cross-rs. It's function is to provide a C toolchain targeting aarch64-unknown-linux-musl. Such a toolchain is not readily available from official sources like the Ubuntu package repos, and this appears to be a reliable source (1M+ downloads across their various builds)
Some other options, like targeting gnu vs musl or building on a native toolchain within an emulated Alpine container, do exist. I ruled them out for the sake of consistency with the mainline builds and extremely long build times in that latter case

General notes:

All changes are adjacent to the existing workflows, to prevent any issues or complications with the mainline builds
The container images are tagged with a suffix -arm, for example latest-arm or v1.0.6-arm. While different architecture can coexist under a single tag, it's only possible if all are built under a single workflow run (avoided to preserve the point above)
Any suggestions regarding how to organize the new files, in terms of directory structure or naming conventions, are welcome

Thanks @muhamadazmy. I've added the entrypoint. Looks like I'll need another review since I did that before merging :slightly_smiling_face:

Thanks Scott, although I very much understand

All changes are adjacent to the existing workflows, to prevent any issues or complications with the mainline builds
The container images are tagged with a suffix -arm, for example latest-arm or v1.0.6-arm. While different architecture can coexist under a single tag, it's only possible if all are built under a single workflow run (avoided to preserve the point above)

I personally do like multi-arch container images

Thanks for the input @robvanmieghem. I agree and am happy to merge these into unified workflows. It will add a bit more complexity, but I can solve any kinks on the forks and submit again.


Ability group column by right click and group

Although drag and drop is a good way to group columns. Also be nice if you can group column by right click menu.

Yes, I want to add this, and hide/option to get columns that are hidden to show them again

also updated demo... no best icon. please come with better icon suggestions if you want (stick to font awsome for now, thats the fonts I have)


Yuushya/Structurize compatability.

Hey there, just discovered your deco mod and noticed your blocks don't like rotating/rotate weirdly after being scanned by structurize.
From what I am seeing, your blocks maintain their original facings noo matter how you rotate them. as exampled by the screenshots.
Great would be if your blocks could be rotated correctly via structurize.
https://imgur.com/a/zUpouvn

I've also tried to use the Structurize mod to rotate Yuushya items, like the Food Truck, or the street light, and they don't rotate. I can use World Edit to make them rotate, but World Edit is harder to work with.

Thanks for reporting this bug.

fix it. use 2.2.0


Add dehumidifier devices

Describe the bug
Dehumidifier device, available in https://iot.tuya.com/ appears not available for HomeAssistant.
Expected behavior
Dehumidifier device is visible and controllable directly through the Tuya Smart app, SmartLife app, and https://iot.tuya.com/, but this device does not show up in the debug logs of this integration as enabled per instructions here https://github.com/tuya/tuya-home-assistant/wiki/How-to-get-the-log
Home Assistant Version

e.g. 2021.7.2

Device info (please complete the following information, which can be found in log):
2021-07-20 23:57:01 DEBUG (SyncWorker_3) [tuya iot] Response: {
"result": {
"access_token": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"expire_time": 7200,
"platform_url": "https://openapi.tuyaeu.com",
"refresh_token": "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBB",
"uid": "eu1625918774038GAwso"
},
"success": true,
"t":<PHONE_NUMBER>552
}
Device specifications (please complete the following information, which can be found in log):
Please see https://developer.tuya.com/en/docs/iot/f?id=K9gf45ts0b8lz
The devicetype can also be found under "Small Home Appliances", "Dehumidifier (cs)"
In the IoT platform the device is visible as:
Device ID:<PHONE_NUMBER>521cebe03b
Product: 宝士家用除湿机
The following state is displayed:
[
{
"code": "swing",
"value": true
},
{
"code": "child_lock",
"value": false
},
{
"code": "fan_speed_enum",
"value": "low"
},
{
"code": "dehumidify_set_value",
"value": 60
},
{
"code": "switch",
"value": true
}
]
Additional context
The actual device vendor/brand is Eurom DryBest 30 WiFi.
It appears the value returned for the fan speed is opposite of the actual state.

Was seeing my dehumidifier as a listed device on 1.3.2 but after upgrading it to v1.4.0 and then deleting/re-adding the integration (as was required), the device no longer appears. :(

I've updated the Tuya integration to v1.4.1 and I noticed the device shows up in the logs.
I don't know if this is related to this upgrade or due to changes at the Tuya side.
result": {
"category": "cs",
"functions": [
{
"code": "swing",
"type": "Boolean",
"values": "{}"
},
{
"code": "child_lock",
"type": "Boolean",
"values": "{}"
},
{
"code": "fan_speed_enum",
"type": "Enum",
"values": "{"range":["low" ,"high"]}"
},
{
"code": "dehumidify_set_value",
"type": "Integer",
"values": "{"unit":"%","min":35,"max":80,"scale":0,"step":5}"
},
{
"code": "switch",
"type": "Boolean",
"values": "{}"
}
],
"status": [
{
"code": "temp_indoor",
"type": "Integer",
"values": "{"unit":"℃","min":0,"max":100,"scale":0,"step":1}"
},
{
"code": "swing",
"type": "Boolean",
"values": "{}"
},
{
"code": "child_lock",
"type": "Boolean",
"values": "{}"
},
{
"code": "fan_speed_enum",
"type": "Enum",
"values": "{"range":["low" ,"high"]}"
},
{
"code": "dehumidify_set_value",
"type": "Integer",
"values": "{"unit":"%","min":35,"max":80,"scale":0,"step":5}"
},
{
"code": "humidity_indoor",
"type": "Integer",
"values": "{"unit":"%","min":0,"max":100,"scale":0,"step":1}"
},
{
"code": "switch",
"type": "Boolean",
"values": "{}"
}
]
},
"success": true,
"t":<PHONE_NUMBER>625
}


Preview not working on Andriod device [oneplus 3]

After scanning the QR code NativeScript playground reverts back to the editor and on the preview on the device is blank

its working just fine. thanks


google-cloud-storage not working proper - missing settings gcsManagedLedgerOffloadBucket | gcsManagedLedgerOffloadRegion

Hi,
I've set up the cluster. During configuration I see that the offloading to GCP Buckets seems not to be working. I think it relates to missing properties.
I've followed the steps to use the k8s secret. But the json inside of the pod didn't contain any data. So I tried it with
helm upgrade pulsar datastax-pulsar/pulsar \
--set storageOffload.gcsServiceAccountJsonFile=bucket-pulsar-001-topic-offload.json \
--set storageOffload.gcsServiceAccountJsonFileContent=$(cat bucket-sa/bucket-pulsar-001-topic-offload.json | base64) \
--namespace pulsar \
--values values.yaml

Now the json contains the required content. But the UI shows me :

So I connect to a broker pod and do
I have no name!@pulsar-broker-677dbffbdc-jbkzw:/pulsar$ env | grep -i off
gcsManagedLedgerOffloadBucket=
managedLedgerOffloadDriver=google-cloud-storage
gcsManagedLedgerOffloadRegion=
gcsManagedLedgerOffloadServiceAccountKeyFile=/pulsar/gcp-service-account/bucket-pulsar-001-topic-offload.json

Values for gcsManagedLedgerOffloadBucket and gcsManagedLedgerOffloadRegion are not set. So I tried with
--set storageOffload.gcsManagedLedgerOffloadBucket=pulsar-001-topic-offload
--set storageOffload.gcsManagedLedgerOffloadRegion=europe-west4

but this is also not taken.
How to fix this?

After adding the values manual to config-map pulsar-broker the offloading takes place. A manual "Offload" on topic level offloades the things.
But the "False" from the screenshot in the "Namespace" Details is still there.


xteve Device not found  plex

Hello, will need help xteve is not recognized by Plex when adding a DVR on Plex, I'm on windows with the latest updates for both.
Thanks

https://discord.com/channels/@me/833346639603171338/1036973022671818792


Update VTKm to v1.9.0.

Description
I updated VTKm to v1.9.0. As part of this change I went directly to VTKm bypassing VTKh.
As part of this change the following changes were made.

Modified bv_vtkm.sh to build VTKm v1.9.0.
Renamed FindVTKh.cmake to FindVTKm.cmake and modified it to find VTKm.
Modified CMake to use C++14 instead of C++11. This is required by VTKm.
I removed some obsolete VTKm code from avtMagnitudeExpression.
I added the header only class vtkmDataSet to avt/Pipeline/Data.
I modified a couple of classes in avt/Pipeline/Data to use VTKm instead of VTKh.
I modified avtContourFilter to use VTKm instead of VTKh.

This is only a draft PR, there is more work to be done, such as converting the filters avtThresholdFilter, avtIsovolumeFilter and avtSliceFilter to use VTKm, updating some deprecated VTKm methods, eliminating vtkh from build_visit, and updating the release notes.
I wanted to get input on the following questions.

Is adding vtkmDataSet.h to avt/Pipeline/Data the correct location for the file? It seems like the right spot since it is heavily used by avtDataRepresentation. Also, its unlikely that any new include directories would need to be added to any files to get to vtkmDataSet.h.
 I'm building static libraries that are included in a couple of libraries, so I think a lot of the logic with the VTKm link libraries probably isn't necessary.

Type of change

[X] New feature~~

How Has This Been Tested?
Reminders:

Please follow the style guidelines of this project.
Please perform a self-review of your code before submitting a PR and asking others to review it.
Please assign reviewers (see VisIt's PR procedures for more information).

Checklist:

[ ] I have commented my code where applicable.~~
[ ] I have updated the release notes.~~
[ ] I have made corresponding changes to the documentation.~~
[ ] I have added debugging support to my changes.~~
[ ] I have added tests that prove my fix is effective or that my feature works.~~
[ ] I have confirmed new and existing unit tests pass locally with my changes.~~
[ ] I have added new baselines for any new tests to the repo.~~
[ ] I have NOT made any changes to protocol or public interfaces in an RC branch.~~

BTW...this is still in draft mode but you did request a review of it. Should you hit the Ready for review button?

Well, I guess it would have helped for me to actually read the initial creation comment 🤣. I see you are still working on it. I think avt/Pipeline/Data is the right place for vtkmDataSet.h.

Sorry @brugger1 just getting to this, this PM.


Assets: add svg icons

turns out they work! :o
the svgs need a little cropping to make them easier to size precisely (there's some transparent margins). i'm considering a css grid layout for the asset output.

implemented on the starforged-ui-components branch


Cannot read property 'fsPath' of undefined

Type: Bug
Hello,
today I updated VSC and this problem happened! Can you please tel me what to do to fix it. Thanks in advance!
Ivo Mitev
VS Code version: Code 1.74.1 (1ad8d514439d5077d2b0b7ee64d2ce82a9308e5a, 2022-12-14T10:30:51.966Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
AMD Ryzen 5 3600 6-Core Processor               (12 x 3593)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
15.93GB (10.36GB free)

Process Argv
--crash-reporter-id 1a90368b-eeb1-46f0-9a87-16cc21bb800d

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

code-spell-checker
str
2.12.0

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vscaat:30438848
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
vscccc:30610679
pyindex848cf:30577861
nodejswelcome1:30587005
282f8724:30602487
gswce1:30612156
iaj6b796:30613358
89544117:30613380
fim-prod:30623723

Also second msg that I receive is Configuration "Run Current File' is missing in 'launch.json'."

{
"launch": {
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${file}"
}
],
"compounds": []
}
}
I had to change the configuration in settings.json and it started working again!

Please give some more details... when exactly do you see these errors?
What did you change for it to start working again?

Today I started update of VCS and the problem in my first post started. After I changed the configurations in settings.json file there is new problem. Every time I start debbuging, nevermind on the opened file it awlays print in the console result from another file... I am not sure what to do now! Please help

https://www.youtube.com/watch?v=3XBZx_WjJ-w
this is the video from my online academy from where I saw how to configure the settings.json file!

Sorry, I don't really understand what the issue is. Some screenshots might help. You also might want to use a .vscode/launch.json file instead of putting your launch configs in settings.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Add ad-hoc codesigning to all of the swift test makefiles that build

Add ad-hoc codesigning to all of the swift test makefiles that build
binaries/dylibs manually.  Change the -static-stdlib option in
Makefile.rules so it is only added when linking; don't include it
when compiling a .swift file.  ad-hoc codesigning is needed for some
ios etc builds.

@swift-ci test and merge

@swift-ci test and merge


Let users choose between local/hosted inference & cloud APIs

It makes sense that some users won't have compatible hardware to run LLMs locally. In that case, they might want to use external APIs for this.
It could be interesting to provide the following options:

[x] Ollama (#101)
[x] OpenAI (#163)
[ ] Mistral
[ ] Claude
[ ] Gemini
[x] Groq (#157)

I agree.

I agree.

@bright258 which LLM provider would you like to use most? We now have full support of Groq & Ollama

OpenAI

OpenAI

Done :) Just merged #163


Updated libzmq3 to libzmq5

Attempt to solve breaking spark scala container build.

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

I think it may take longer to build. Building it locally took ~4.5 min; I can't remember how long it took before but I don't think it was that long.


harfbuzz build failed because of commit 26f12d20

I am on VS2017, in config-x64-windows-rel-err.log
CMake Error at CMakeLists.txt:149 (message):
  ragel not found, get it here -- http://www.complang.org/ragel/ or, use
  harfbuzz releases https://github.com/behdad/harfbuzz/releases

This is a huge blocker because a lot of huge libraries depends on this.

Thanks for catching that; I don't know why it didn't appear when I was testing the upgrade!
I've reverted the change for now until we can investigate further.

I don't know why it didn't appear when I was testing the upgrade!

No problem but I guess because you had installed the unmentioned dependency for not releases, ragel, while testing. So the solution is either use releases from https://github.com/harfbuzz/harfbuzz/releases or add ragel to be able to compile the source.


aqwa | automate by analysis category (RAO, Static, dynamic)

Frequency analysis
Static analysis

B1522: automate the following

Check CoG and delta positions for all structures
Get rotations on the ball joints as well

Dynamic analysis
ExternalForce (EF)

refactor EF file to define function in the input file
plot external forces for structures. Verify inputs = outputs

Acceptance criteria:

Prepare documentation
prepare code
Prepare charts and output tables (.csv)

CC: @swamypolnati

RAO analysis

RAO: CoG across CoB

RAOs: Referencing Hydrodynamic Files

RAO Hydrostatic Output

Will be useful for QA and release of results for all hydrodynamic analysis. AQWA may be the way to go.


Home page > Disability education page

@greatislander close? we don't have the content, and it's not planned to be developed either.


apktool: 2.6.1 -> 2.7.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/apktool/versions.
meta.description for apktool is: "A tool for reverse engineering Android apk files"
meta.homepage for apktool is: "https://ibotpeaches.github.io/Apktool/"
meta.changelog for apktool is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.7.0 with grep in /nix/store/d5n8j1xqamg5039169fx7f68x0ilz87a-apktool-2.7.0
found 2.7.0 in filename of file in /nix/store/d5n8j1xqamg5039169fx7f68x0ilz87a-apktool-2.7.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
apktool
diffoscope

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/d5n8j1xqamg5039169fx7f68x0ilz87a-apktool-2.7.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A apktool https://github.com/r-ryantm/nixpkgs/archive/5aaf1c286d7328d9497468e39eb192551b336601.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/d5n8j1xqamg5039169fx7f68x0ilz87a-apktool-2.7.0
ls -la /nix/store/d5n8j1xqamg5039169fx7f68x0ilz87a-apktool-2.7.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

apktool
diffoscope

Maintainer pings
cc @offlinehacker for testing.

@ofborg build apktool apktool.passthru.tests


Saving Trained NBayes

Is there a particular way you recommend saving a nbayes object that has been trained? I have a large training set, and I'd like to avoid retraining the nbayes object every time I need to use it.

There's a #dump method that allows trained models to be stored in YAML:
nbayes.dump("model.yml")
Then you can load the model using the from class method:
nbayes = NBayes::Base.from("model.yml")
That's it!

Thanks @oasic!


(URGENT) Brochure: Extra blank page in ToC

Issue found in https://github.com/metanorma/bipm-si-brochure/pull/213
This issue was not before.
There is a blank page at the beginning to the Table of Contents:

The issue occurs due the new element clause[@type='toc']:
<preface>
		<clause type="toc" id="_27549cd1-1c48-4300-8b0f-837f229aae76" displayorder="1">
			<title depth="1">Contents</title>
		</clause>

It fixed in https://github.com/metanorma/mn-native-pdf/issues/563, but not merged yet.

BIPM XSLT updated.

Confirmed fixed, closing.