PreferencesManager.convertPreferences() does not throw warning

This was brought up by an extension author I was talking to some time back, but I forgot to report this.
It's known the old preferences system is deprecated and will be removed (I already have a PR up to remove it). The PreferencesManager.convertPreferences() method, used to convert the preferences to the new system, will obviously be removed at the same time. However, as the mentioned to me, the method throws no error saying it will be removed in the future. In fact, it works silently, and the deprecation warnings only fire if the old get/set methods are directly accessed, not when preferences are converted.
The author thought convertPreferences() should be throwing a deprecation warning to alert that it too will soon go away, and with a select few extensions still using the old/conversion system, I think it may be a good idea to quickly add one so it will go off in the v1.2 release, which will could allow us to remove the old system as early as 1.3 or 1.4.
(Side note: If you are reading this and are the extension author I spoke to, please speak up. I have completely forgot who I spoke to :cry:).

It was @gruehle over at https://github.com/gruehle/MarkdownPreview/commit/8450de4f1d34ea781ecdb0d83459aba1672ec3f0#commitcomment-9051689.
But I just did a quick search for convertPreferences in the whole registry and there wasn't a single result, so I suppose we can savely remove convertPreferences in 1.2 already.

If there are still authors using the old preferences API, then convertPreferences() is important to keep for a while so they have a clear path for migrating to the new API when the old one is removed.

Yeah, there are still multiple such extensions around, but unfortunately, most extension authors simply ignore the deprecation warnings (see https://github.com/adobe/brackets/issues/8751#issuecomment-61132680) posted to their extensions repo.

If there are still authors using the old preferences API, then convertPreferences() is important to keep for a while so they have a clear path for migrating to the new API when the old one is removed.

Yeah, there are still multiple such extensions around, but unfortunately, most extension authors simply ignore the deprecation warnings... posted to their extensions repo.

This is why I'm thinking a deprecation warning added even late in v1.2. Maybe the warnings will be enough to trigger authors to remove the call and reliance on the old preferences system. Authors have had a really long time to transition. This would be "the last chance" before removal. It's not as if they were not warned.

Now that we've reached v1.3, could we soon reach a decision on either issuing a "last call"  warning or going ahead and removing the old pref system?

@le717 Let us target adding a deprecation warning for 1.4. Will you be able to put up a PR for that?

@nethip Certainly.


Code cell pre-wrap causes split lines

I believe that in #180 we told code cells to wrap around. Looking at the result, I'm not sure this is what we want. E.g.:

To me this is a bit confusing where the line breaks are - I feel like for code cells, we'd actually like overflow-x to be auto instead of wrapping the content.
What do folks think? In particular @alexmorley who worked on that other patch!

Yeah. That is a good point. With syntax highlighting it's usually obvious but I would be totally happy with having the scroll behaviour. The bug I was trying to fix was that the scroll behaviour wasn't applied when nolanguage was set for the code cell.

yeah - I agree that was a good bug to fix, I think that it'd be a better default to have horizontal scrolling rather than wrapping for code, just to clear up the confusion.


Issue running sample with activated bodies TempAllocator: Out of memory

hey, nice bindings library! i cloned the repo and did dotnet run inside the samples folder and noticed the simulation doesn't simulate due to while condition.
on this line if the sphere is created with Activate you get TempAllocator: Out of memory on the first update/step invoke:
https://github.com/amerkoleci/JoltPhysicsSharp/blob/d593bb94c08cb72ca61d26acc24ee0b144d91a64/src/samples/HelloWorld/Program.cs#L258
if instead, the while condition isnt waiting for activation and the sphere is added with DontActivate, then simulation can continue, but the body ofc never advances forward

i then gave it 10 * 1024 * 1024 for initial temp allocator size and the same occurs sadly. i wasnt sure what i was doing wrong so i looked for other samples online and found this familiar looking one. the sphere here is too created with activate flag, and i couldnt find any more info about manual activation in their docs so i deduced that adding with that flag is the correct thing to do. so are the bindings/impl version missing something or am i truly tripping on something here?

Hi,
The "problem" was with  TempAllocatorImpl as 10 MB was not enough, the amount of memory allocated with maxBodies and others caused out of memory, now switchted to use TempAllocatorMalloc and version 2.7.1 was released on nuget.
Thanks for bringing this out


Update gs, eslint and metatests dependencies

This also fixes a few bugs in @metatests as per https://github.com/metarhia/metatests/pull/171.

Landed in fb795b5


Panel.show() method is an unsupported feature.

Running jpm run -b nightly throws this warning in the terminal

console.warn: pixel-perfect: Passing a DOM node to Panel.show() method is an unsupported feature that will be soon replaced. See: https://bugzilla.mozilla.org/show_bug.cgi?id=878877

Already reference here: https://github.com/firebug/pixel-perfect/blob/master/lib/first-run.js#L62-68

Should be fixed now.
Honza


Shopping Cart V2

This looks good. Tests seem really thorough and cover as many of the plausible happy, bad, and sad scenarios as I can think of

Thanks for the suggestions! I fixed most of them, should I do a third iteration of this exercise?

Nah, this is really good and I think you're fine to move on. I'd close the PR if I could but I don't have permission in the repo.

@mcdaniel67 We also reviewed this together. Really nice work on writing high level step definitions. You are good to move on.


Create NestedPandas from a flat source table assuming some columns to be object columns

Feature request
It would be really nice if we could generate NestedFrame with both "base" and "nested" columns from a single flat data-frame.
NestedFrame.from_flat(df, base_columns=["a", "b"])

It would be super-great if user could specify base_columns=None and we just guess which columns are base columns.
Before submitting
Please check the following:

[x] I have described the purpose of the suggested change, specifying what I need the enhancement to accomplish, i.e. what problem it solves.
[x] I have included any relevant links, screenshots, environment information, and data relevant to implementing the requested feature, as well as pseudocode for how I want to access the new functionality.
[ ] If I have ideas for how the new feature could be implemented, I have provided explanations and/or pseudocode and/or task lists for the steps.

It would be super-great if user could specify base_columns=None and we just guess which columns are base columns.

We decided to drop this part

@nevencaplar has a use case for this that we should build around, this operation is something that we should try to have this from_flat function cover:
import nested_pandas as npd

# Step 1: Read the Parquet file into a pandas DataFrame
file_path = '/epyc/users/ncaplar/data/drw_per_sim/sources/sim_drw_023922.87-000119.6.parquet'
nf = npd.read_parquet(file_path)

nf_base = nf[["lc_nr", "drw_amp", "drw_tau"]].drop_duplicates(subset="lc_nr").set_index("lc_nr")

nf_nested = nf[["lc_nr", "t", "y"]].set_index("lc_nr")

nf_base.add_nested(nf_nested, "nested")

Looking at what we have above, I think we could implement this such that the above workflow could be simplified to:
import nested_pandas as npd

# Step 1: Read the Parquet file into a pandas DataFrame
file_path = '/epyc/users/ncaplar/data/drw_per_sim/sources/sim_drw_023922.87-000119.6.parquet'
nf = npd.read_parquet(file_path).set_index("lc_nr")

npd.NestedFrame.from_flat(nf, base_columns=["drw_amp", "drw_tau"], nested_columns=["t","y"])

This use case requires a drop_duplicates on all base_columns, which I think is the operation we'd want for most use cases of this function, potentially we should provide additional kwargs from drop_duplicates to better control the output of the base columns?


Error: Weird behavior in the sensehat

Hello everyone
I am using a sense hat for one of my projects and I am getting some weird behavior. Up until yesterday everything was fine, but today the LED matrix flashed a quick white blink then changes to the rainbow until the raspberry pi boots up into ubuntu 22,04 completely. Afterwards, it just turns off.
I thought it was weird and tried running some code.
Would anyone happen to know what could be causing the problem?
Thank you for your time!

I don't know yet, but for diagnostics of the HAT itself Grab the latest RPi
OS and try it with that.
Which SenseHAT version 1 or 2?
On Wed, 15 Feb 2023, 11:54 pm PetriJF, @.***> wrote:

Hello everyone
I am using a sense hat for one of my projects and I am getting some weird
behavior. Up until yesterday everything was fine, but today the LED matrix
flashed a quick white blink then changes to the rainbow until the raspberry
pi boots up into ubuntu 22,04 completely. Afterwards, it just turns off.
I thought it was weird and tried running some code.
Would anyone happen to know what could be causing the problem?
Thank you for your time!
—
Reply to this email directly, view it on GitHub
https://github.com/astro-pi/python-sense-hat/issues/136, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACYAXN4LJHXLBBW6IO6BV3LWXVUFFANCNFSM6AAAAAAU5PLNR4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Try support in the RPi support forum
https://forums.raspberrypi.com/viewforum.php?f=104
On Wed, 15 Feb 2023, 11:54 pm PetriJF, @.***> wrote:

Hello everyone
I am using a sense hat for one of my projects and I am getting some weird
behavior. Up until yesterday everything was fine, but today the LED matrix
flashed a quick white blink then changes to the rainbow until the raspberry
pi boots up into ubuntu 22,04 completely. Afterwards, it just turns off.
I thought it was weird and tried running some code.
Would anyone happen to know what could be causing the problem?
Thank you for your time!
—
Reply to this email directly, view it on GitHub
https://github.com/astro-pi/python-sense-hat/issues/136, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACYAXN4LJHXLBBW6IO6BV3LWXVUFFANCNFSM6AAAAAAU5PLNR4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hello!
Thank you for your response! I am using the raspberry pi 4b with the version 1.0 sensehat from 2015. I will try the forum as well.

Regarding voltages, they are slightly higher at 3.8 and 5.9.
Would that cause the problem?


WIP: Minimize !@#%

Minimize some more (not to be merged as-it).
I started hunting bytes, and I'd like a feedback first.
Am I doing right? Still want one MR per icon or could I propose a batch (with one icon per commit)?

Lucky: remove unused objects, use a gradient instead of three shapes; not supported by svg2android
XMPP: optimize path, use cloning and transform, unsupported by svg2android
Intel: optimize path and remove the ®
Ubiquiti: merge path, remove unused objects

It's addictive, isn't it :-)
Happy for you to do them in batches as you seem to know what you're doing.  I've left a note about the XLINK issue. Other than that, they look ready to go.

These all look good. Merge whenever you think they're ready.

Happy if you want to merge these.

As it has been more than a year, I'm going to cherry pick some of the logos from here which still need doing.
Sorry for the delay. It has been a strange year...!


gVim with GTK3, "gdk-frame-clock: layout continuously requested"

Steps to reproduce

Install WSL2 in window11
Install gvim through "sudo apt install vim-gtk3"

Expected behaviour
When I resize a gVim window, gtk-warning messages are printed on terminal.
Version of Vim
8.1
Environment
OS:Ubuntu 20.04
Terminal: on WSL2(window 11)
Shell: tcsh
Logs and stack traces
(gvim:79): Gdk-WARNING **: 19:46:11.707: gdk-frame-clock: layout continuously requested, giving up after 4 tries
(gvim:79): Gdk-WARNING **: 19:46:13.964: gdk-frame-clock: layout continuously requested, giving up after 4 tries

can you please check with a recent version?

can you please check with a recent version?
The latest version(8.2.xx) also has same issue.
Even I build vim through git-codes with gtk3, same issue.(but gtk2 is okay)

Czy wy kurwy jebabene nie macie co robic
Takie chujowe macie swoje zycie

Does that still happen? Could you please check that you have included https://github.com/vim/vim/pull/10179?


NOISSUE - Add Node IdentifierType config in opcua-adapter

Signed-off-by: Manuel Imperiale<EMAIL_ADDRESS>

Codecov Report

Merging #967 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #967   +/-   ##
=======================================
  Coverage   83.75%   83.75%
=======================================
  Files          75       75
  Lines        5307     5307
=======================================
  Hits         4445     4445
  Misses        587      587
  Partials      275      275

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 6da6506...65b9544. Read the comment docs.


crash due to accessing selection after graph_scene is deleted

Steps to repro:

start a derivation
select any node
close the app

Expected: app closes
Actual: App crashes in update_on_selection in rewrite_action.py, since a selection changed is triggered when the proof panel is closed, and the graph_scene is deleted when the app is closed, and the code in update_on_selection attempts to use the graph_scene.
It's not such a bad crash since the user is closing the app anyway, but it dumps a stack trace to the console.
Traceback (most recent call last):
  File "/home/davinci/workspace/zxlive/zxlive/rewrite_action.py", line 217, in update_on_selection
    selection, edges = self.proof_panel.parse_selection()
  File "/home/davinci/workspace/zxlive/zxlive/proof_panel.py", line 148, in parse_selection
    selection = list(self.graph_scene.selected_vertices)
  File "/home/davinci/workspace/zxlive/zxlive/graphscene.py", line 60, in selected_vertices
    return (it.v for it in self.selectedItems() if isinstance(it, VItem))
RuntimeError: Internal C++ object (GraphScene) already deleted.

Hi, @dlyongemallo @RazinShaikh to address the crash upon closing the application due to the update_on_selection being called after the graph_scene has been deleted, we can add a check within the update_on_selection method to ensure that the graph_scene is still valid. For example:

def update_on_selection(self, g, selection, edges) -> None
if self.proof_panel.graph_scene is None or getattr(self.proof_panel.graph_scene, 'g', None) is None:

Explanation:
In the update_on_selection method, before iterating over the child items or updating the rewrite, we check if self.proofpanel.graph_scene is None.  Additionally we check if the g attribute of graph_scene is present and not None If either check fails, the method returns early without performing any updates. This could prevent the application from trying to access a deleted object. Of course, this approach hadn't been tested yet. But if there are any comments I would like to hear.

The best way to verify whether this works or not is to just try it. Please report back on the outcome.

Hi @RazinShaikh @dlyongemallo I have made the necessary modifications, this is the PR 230 I did not follow the previous method I mentioned, it didn't work out.


Builder can't complete construction

Describe the bug
The builder can not complete construction due to the bed_bottom name being changed to bed_foot in the beds mod and door_hidden being removed entirely from the doors mod.
To Reproduce
see description

Minetest version: 5.8.0

Schematics are on the ever-growing TODO list.
For the doors, maybe something like sed -i 's/doors:hidden/air/g' schems/*.we ?
You'll have to link the version of the beds mod (bonus points for pointing out the line in question) you're running, because I can't find the bed_foot anywhere.


Inserting the pheromone-class into the overall simulation

We created a new class pheromones which is needed to store the pheromones of the ants.
Our teams decision was that we create an pheromone-object for each colony.
The pheromone-objects are stored in the self.pheromones = [] in the simulation.py.
The following lines of code (simulation.py) should be included / give you an idea how the pheromone-class should do its work
(# is highlighting the new lines of code):
    def next_epoch(self):
        for colony in self.colonies:
            for ant in colony.ants:
                for food in self.food:
                    if ant.try_carry_food(food):
                        ant.carry_food(food)
                        #ant.pheromone_status = 1
                        break
                if ant.try_drop_food(colony):
                    ant.drop_food(colony)
                    #ant.pheromone_status = -1

                future_position = ant.move()
                adjusted_position = self.check_future_position(future_position)
                ant.coordinates = adjusted_position
                #self.pheromone_object.leave_pheromone(ant.coordinates, ant.pheromone_status)
            #self.pheromone_object.reduce_pheromones()
        self.food = list(food for food in self.food if food.amount_of_food > 0)

Please update the needed parts of the gui.py so that the new class can be used.
Note: Please wait until the methods for mapping and pheromone are completely implemented to prevent further issues or ambiguities.

I understand, but shouldn't each colony have self.pheromones instead of the simulation so that we can correctly assign the pheromones to each colony? Otherwise we could of course use a dictionary, but I don't know if that really simplifies things.

Yes of course, by adding the new class into the overall simulation I meant in our code at all neccessary code-parts (I guess mainly gui.py).


There will be once we get https://github.com/desert-planet/vagrant-hubot rolling. :+1:

O I C


Question about BundleCheck hook

Running this hook through the --run option fails whenever Gemfile.lock has changes, even if they match the Gemfile.
What's the rationale behind this? In particular, what are these lines for? Removing them doesn't break any tests, so whatever they are doing, it's untested. Isn't the part of the hook running bundle check enough?
Thanks.

Added a PR to remove this in #294 since I already had the changes locally.

I think this check is to make sure that you don't forget to commit the Gemfile.lock file. The check fails if you have added changes in Gemfile to the git index, but not added Gemfile.lock. There wasn't much info in the commit that added the lines though (101fa044), perhaps @sds can clarify?
We might want to add a test for this, or at least a comment explaining how it works.

The hook was written to work in the context of a pre-commit hook. Thus it first runs bundle check which will update the Gemfile.lock accordingly (note that if you change Gemfile and then run bundle check it will update the Gemfile.lock without raising an error).
Thus the hook then checks to see if the Gemfile.lock has changed as a result of running bundle check.
In the case where you are invoking the hook via the --run flag, the issue is that we haven't written the hook to be aware of this context. We would have to rewrite it to store a copy of the old Gemfile.lock, run bundle check, and then compare that to the new version to see if a change occurred (and thus not rely on the output of git diff --quiet -- Gemfile.lock).

Thanks to both! Yes, this usually bites me when I run the check with the --run flag.
I misunderstood what bundle check does, I thought it would just check whether Gemfile.lock is in sync with Gemfile (but not update anything). So as you describe it, it's the same as bundle install but without installing any gems? I wonder how that's useful and when I would want the bundle check behaviour.

The behavior is valuable for ensuring that if you are tracking both your Gemfile and Gemfile.lock in source control that you are alerted when they are not in sync with each other.
I don't think bundle check is terribly useful outside of this specific context, so I agree it's a bit odd. In a hook it makes sense since we don't want to install gems during the hook run.
In any case, I've updated the hook to work around the case you're running into in ed0fc9c6b2a89f1ea19797741ff3341eefefb978.

Thanks @sds ! :+1:


Why does the cache seem to be useless?

There is no way to use the cache. It loads queue every time I click it. I don’t know what’s going on.

I'm not sure what you're asking. That screenshot looks like you're just executing the same workflow over and over without any changes. ComfyUI won't do any work if there's nothing new to do.
If by "cache" you mean the optimization; all the optimization does is reduce the number of iterations ComfyUI normally does when recursively evaluating a workflow. Nothing more fancy.

I only connected these two nodes, and then clicked on the queue. The queue could be loaded every time. It would have been cached before and would not continue to load. As a result, I could not use the automatic execution function.

I see you've opened https://github.com/comfyanonymous/ComfyUI/issues/3686 which is likely more appropriate than in rgthree-comfy. Going to close this, but may add some details there :)


Create index.js

@TotallyTriggeredTigers merge

i dont want void finding out about this pr

"OMG GODDY MADE A PULL REQUEST"

pls

mhmhmhmhmhm

ty for src directory


remove false positive with "using"

Prior to this pull request, the test case added with this pull request has a false positive.
cppclean using_as_typedef.h
../using_as_typedef.h:1: 'Foo' not used

Thanks!


Add mocking support

The SetUp method should be given a test controller struct, which contains an oglemock.Controller for creating mock objects.

Coming along nicely in the mocking branch. Still to do:

Add an ExpectThat function.


Improper semantics with multiple query parameters and (<?>)

Below is an elm-repl example simulating a user navigating to a URL like http://localhost/blog?search=cats&order=desc.
> maybesToString m1 m2 = \
|   case (m1, m2) of \
|     (Just search, Just order) -> search ++ " " ++ order \
|     _ -> "No match"
<function> : Maybe.Maybe String -> Maybe.Maybe String -> String

> parsePath (oneOf [map maybesToString (s "blog" <?> stringParam "search" <?> stringParam "order")]) (Location "" "" "" "" "" "" "/blog" "?search=cats&order=desc" "" "" "")
Just "cats desc" : Maybe.Maybe String

(</>) and (<?>) are available but (<&>) doesn't exist. As such I am forced to chain multiple (<?>) functions in this part: (s "blog" <?> stringParam "search" <?> stringParam "order").
The <?> followed by another <?> doesn't read correctly since my URL is not http://localhost/blog?search=cats?order=desc. I expected to find <&> so that the code above could read like this: (s "blog" <?> stringParam "search" <&> stringParam "order")

I don't think it makes sense to add a (<&>) operator. I assume you are suggesting it has the same type as (<?>) which would mean you could use them interchangeably. I think that is more confusing than using <?> multiple times personally.
Maybe you are suggested something else, but there are no types shown here, so I don't know. Overall, I don't think it makes sense to add <&>.

You're correct that I'm suggesting having an (<&>) operator, if not some documentation on how to use multiple query parameters, because it wasn't apparent to me until I read the source that I needed to use (<?>) multiple times.
Whether the two operators can used interchangeably is more of an implementation concern, IMO. I'm commenting on the semantics of those operators.
s corresponds to any string
</> corresponds to a forward slash
<?> corresponds to the start of a query string
<?> also corresponds to a query string key/value separator?
Rather, <&> makes perfect sense to me to correspond with the real "&" query string parameter separator.


Is the truncation code in extract.py reasonable?

Discussed in https://github.com/facebookresearch/esm/discussions/156

Originally posted by diamondgloves January 13, 2022
When I use ESM-1b model to extract representations of the sequences with lengths over 1024, the tokens of the sequence is supposed to be 'bos + seq + eos' with length of seq_len+2.According to the code in extract.py, toks becomes 'bos+seq[:1021]' without eos before feeding the model, could this be a reasonable input?
if args.truncate:
    toks = toks[:, :1022]
out = model(toks, repr_layers=repr_layers, return_contacts=return_contacts)

Furthermore, in ContactPredictionHead the contact map will be cropped into size of 1020*1020 with the aim at removing the bos&eos, but there is no eos in the toks.
Should the input toks of the model be as 'bos + seq[:1022] + eos' with length of 1024 after truncating?

Thanks for flagging. You're right, the truncation logic is incorrect. As for a fix - inserting bos and eos at first and last position will also be problematic if there are shorter seqs who may end up looking like bos [seq] <eos> pad pad pad eos. In fact the best fix would be to add a max_seq_len argument to BatchConverter initialization and truncate in the call

Do you still need help on this issue?

@tomsercu  can i do it as my first contribution? also can you explain please how to add a max_seq_len argument to BatchConverter initialization and truncate in the call


Github for JIRA add-on, discrepancies between two projects

Hi,
We recently moved a project from 1 jira instance to another.  We installed the GitHub for JIRA app and ran the backfill to resync all the previous  pull requests, deployments, branches, builds, and commits to the new environment.
We are seeing some differences between the source environment and the new target environment.  We are unsure if we should try to backfill again or if we missed a setup with the app.  Any help is greatly appreciated.
I am attaching screen shots to a word doc for reference.
[Attachment removed]

@ddchanning please copy paste the screenshot images to the original post instead of using docx as it's not secure.

Picture 1 = target site (migrated to)
Picture 2 = source site )migrated from)


localhosthost:5000 refused to connect after installing ASP.net sdk

Problem encountered on https://dotnet.microsoft.com/learn/web/aspnet-hello-world-tutorial/run
Operating System: windows
Provide details about the problem you are experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Most likely local machine setup - firewall or something like that in the way - check out similar closed issues for guidance, tips and tricks: https://github.com/dotnet/core/issues?q=is%3Aissue+localhost+is%3Aclosed


Fix incorrect permission name.

@yonahforst Sorry to bother you again. I just realized the permission name is different from the README. Can you please merge this one to fix it? Would be great if you can push to npm as well.
Thank you!

no worries, @chuongle. Merged!


isNode null checks should account for undefined

The isNode check should probably use truthy checks rather than null checks.  process.versions and process.versions.node are more likely to be undefined than null.
const isNode = () =>
  typeof process !== 'undefined' &&
  !!process.versions &&
  !!process.versions.node;

true, rather than null checks should be used

Hhh


[BUG] Language selector on top bar is not correctly displayed.

Description

I'm using canary version
Language selector on top bar is not correctly displayed when shopware has only one language configured.

If only one language available (not en-GB) then this is not automatically selected/applied.

Changing locale in packages/default-theme/src/store/index.js does not take effect.
What is the correct way to override locale in my project?

Currency works as expected when only one currency.

Steps to reproduce

Configure your shopware endpoint with only one language other than english i.e. de-DE
Now selector is not correctly displayed.

If default language is not en-GB then it should be set as default in shopware-pwa.config.js using defaultLanguageCode . Is there any documentation with all available options?
#1211 hides the switcher when only one language available, exactly as currency switcher does.


Check on teku password import script for mangled \ characters.

Change has been made, should be verified.

Verified that this works


Get rid of net452 build target

Today, the .NET Framework 4.5.2 build target creates too many impediments for updating dependencies. Apparently, many libs like SQLite and tons of Microsoft own libs are .NET Standard 2.0 only.
I could suggest stopping to support .NET Framework 4.5.2 and to support .NET Standard 2.0 only.

@cpx86 in my PR I removed 4.6.1 target as well, leaving only .NET Standard. Is it a good move? I would say yes, it allowed me to use the latest version of Sqlite client library without an ugly #if. If we need to ensure that everything works with 4.6.1, I can change test projects to have two targets.


(vue): Leave transition not working when using :unmount="false"

Use Version
Use version when bugs appear:

Headless UI: v1.7.5
Headless UI Float: v0.13.3
Framework: v3.4.0
@floating-ui/core: v1.0.0
@floating-ui/dom: v1.0.0
Browser [e.g. chrome, safari]

Describe the bug
Leave transition not working when using :unmount="false" with vue.
Expected behavior
Can see leave transition animation.

This problem is bug in upstream Headless UI package https://github.com/tailwindlabs/headlessui/issues/2987


VS2013u3 - Virtual Project errors TS1148, TS2307

TypeScript Version: 2.3. for Visual Studio 2015u3

Edit
My latest findings:
It seems the external tsconfig is not correctly interpreted with language service:
It seems that some msconfig options does not work in the same way as in case of external tsconfig.
As I am looking to both configs together, can't it be something related to letter case??
Test case:
   tsconfig.json
   mainmodule.csproj
   mainmodule (folder)
      index.ts - main module file
      submodule (submodule folder)
         dosomework.ts (some submodule local code referenced using relative path)
         index.ts (submodule main code)

Lets say there is following code in mainmodule.ts
   import * as submodule from "mainmodule/submodule";

When I have following, external tsconfig.json (out of other settings):
    "module": "amd",
    "moduleResolution": "node",
    "baseUrl": ".",

The compilation itself works well with no errors, but language service does not work as it is not able to resolve modules correctly. Does the baseUrl really working well under VS?
When I use msconfig with following options:
    <TypeScriptBaseUrl>.</TypeScriptBaseUrl>
    <TypeScriptModuleKind>AMD</TypeScriptModuleKind>
    <TypeScriptModuleResolution>Node</TypeScriptModuleResolution>

Both, compilation and language service are failing.
I would say this is very close to what I wrote before.

I have multiple WebApp with TS projects in VS solution. For each one I have separate tsconfig.json file in the root folder of the project. Some projects reports:
TypeScript Virtual Projects reports
Error	TS1148	Cannot use imports, exports, or module augmentations when '--module' is 'none'.
Error	TS2307	Cannot find module 'ajsfw'.	TypeScript Virtual Projects

but when I try to compile the project everything works correctly and correct output is generated.
It seems the language service is not using correct tsconfig.
the tsconfig extends another and that extends another one. its like that:
tsconfig.json
{ "compileOnSave": true, "extends" : "./tsconfig.Debug.json" }

tsconfig.Debug.json
{
  // TypeScript 2.2 compiler configuration
  // DEBUG CONFIGURATION
  "$schema": "http://json.schemastore.org/tsconfig#",

  "extends": "./tsconfig.common.json",

  "compilerOptions": {
    // generate .d.ts declaration file
    "declaration": true,
    // generate source maps
    "sourceMap": true,
    // source map root
    "mapRoot": "/js",
    // sources root directory
    "sourceRoot": "/src/HelloWorld",
    // remove comments
    "removeComments": false
  }
}

tsconfig.common.json
{
  // TypeScript 2.2 compiler configuration
  // COMMON CONFIGURATION (DEBUG/RELEASE)
  "$schema": "http://json.schemastore.org/tsconfig#",

  "compilerOptions": {
    // output file (single js file will be generated)
    "outFile": "./bin/HelloWorld.js",
    // target ECMA version
    "target": "es5",
    // libs to be used during compilation
    "lib": [ "dom", "es2015.promise", "es5" ],
    // base url of shared bin folder
    "baseUrl": "../../../Ajs/bin/",
    // moule system to be used (none, AMD, CommonJS, UMD, System, ES2015)
    "module": "amd",
    // module resolution strategy
    "moduleResolution": "node",
    // don't emit any output when compilation fails
    "noEmitOnError": true,
    // don't emit BOM
    "emitBOM": false,
    // preserve const enums (don't delete from generated code)
    "preserveConstEnums": true,
    // implicit any
    "noImplicitAny": false,
    // allow experimental decorators feature
    "experimentalDecorators": true
  },
  "include": [
    "../../../Ajs.Lib.ts/bin/ajs.lib.ts.d.ts",
    "../../../Ajs/bin/**/*.d.ts",
    "./**/*"
  ],
  "exclude": [
    "./bin/**/*"
  ]
}

project.csproj (removed some content files):
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props')" />
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <ProjectGuid>{A7219561-43EA-4176-A598-D0FD51715CA0}</ProjectGuid>
    <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
    <OutputType>Library</OutputType>
    <OutputPath>bin</OutputPath>
    <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
    <DebugType>full</DebugType>
    <DebugSymbols>true</DebugSymbols>
    <TypeScriptToolsVersion>2.3</TypeScriptToolsVersion>
    <UseIISExpress>true</UseIISExpress>
    <IISExpressSSLPort />
    <IISExpressAnonymousAuthentication />
    <IISExpressWindowsAuthentication />
    <IISExpressUseClassicPipelineMode />
    <UseGlobalApplicationHostFile />
    <TargetFrameworkProfile />
  </PropertyGroup>
  <PropertyGroup>
    <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">12.0</VisualStudioVersion>
  </PropertyGroup>
  <ItemGroup>
    <Service Include="{4A0DDDB5-7A95-4FBF-97CC-616D07737A77}" />
  </ItemGroup>
  <PropertyGroup>
    <RootNamespace>HelloWorld</RootNamespace>
  </PropertyGroup>
  <ItemGroup>
    <Content Include="tsconfig.json" />
    <None Include="tsconfig.common.json">
      <DependentUpon>tsconfig.json</DependentUpon>
    </None>
    <None Include="tsconfig.Debug.json">
      <DependentUpon>tsconfig.json</DependentUpon>
    </None>
    <None Include="tsconfig.Release.json">
      <DependentUpon>tsconfig.json</DependentUpon>
    </None>
  </ItemGroup>
  <ItemGroup>
    <TypeScriptCompile Include="HelloWorldApplication.ts" />
  </ItemGroup>
  <ItemGroup />
  <ItemGroup>
    <ProjectReference Include="..\..\..\Ajs\Ajs.csproj">
      <Project>{267086da-ab24-4d8d-bd5f-d7d3b3d7db67}</Project>
      <Name>Ajs</Name>
    </ProjectReference>
  </ItemGroup>
  <PropertyGroup Condition="'$(Configuration)' == 'Debug'">
    <TypeScriptRemoveComments>false</TypeScriptRemoveComments>
    <TypeScriptSourceMap>true</TypeScriptSourceMap>
    <TypeScriptTarget>ES5</TypeScriptTarget>
    <TypeScriptJSXEmit>React</TypeScriptJSXEmit>
    <TypeScriptCompileOnSaveEnabled>True</TypeScriptCompileOnSaveEnabled>
    <TypeScriptNoImplicitAny>False</TypeScriptNoImplicitAny>
    <TypeScriptModuleKind>None</TypeScriptModuleKind>
    <TypeScriptOutFile>
    </TypeScriptOutFile>
    <TypeScriptOutDir />
    <TypeScriptGeneratesDeclarations>True</TypeScriptGeneratesDeclarations>
    <TypeScriptNoEmitOnError>True</TypeScriptNoEmitOnError>
    <TypeScriptMapRoot>
    </TypeScriptMapRoot>
    <TypeScriptSourceRoot>
    </TypeScriptSourceRoot>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)' == 'Release'">
    <TypeScriptRemoveComments>true</TypeScriptRemoveComments>
    <TypeScriptSourceMap>false</TypeScriptSourceMap>
    <TypeScriptTarget>ES5</TypeScriptTarget>
    <TypeScriptJSXEmit>None</TypeScriptJSXEmit>
    <TypeScriptCompileOnSaveEnabled>True</TypeScriptCompileOnSaveEnabled>
    <TypeScriptNoImplicitAny>False</TypeScriptNoImplicitAny>
    <TypeScriptModuleKind>None</TypeScriptModuleKind>
    <TypeScriptOutFile>.</TypeScriptOutFile>
    <TypeScriptOutDir />
    <TypeScriptGeneratesDeclarations>True</TypeScriptGeneratesDeclarations>
    <TypeScriptNoEmitOnError>True</TypeScriptNoEmitOnError>
    <TypeScriptMapRoot />
    <TypeScriptSourceRoot />
  </PropertyGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\WebApplications\Microsoft.WebApplication.targets" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\WebApplications\Microsoft.WebApplication.targets')" />
  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.targets" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.targets')" />
  <ProjectExtensions>
    <VisualStudio>
      <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
        <WebProjectProperties>
          <UseIIS>True</UseIIS>
          <AutoAssignPort>True</AutoAssignPort>
          <DevelopmentServerPort>0</DevelopmentServerPort>
          <DevelopmentServerVPath>/</DevelopmentServerVPath>
          <IISUrl>http://localhost:21281/</IISUrl>
          <NTLMAuthentication>False</NTLMAuthentication>
          <UseCustomServer>False</UseCustomServer>
          <CustomServerUrl>
          </CustomServerUrl>
          <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
        </WebProjectProperties>
      </FlavorProperties>
    </VisualStudio>
  </ProjectExtensions>
</Project>

I've  give it another try and reworked the tsconfig to .csproj.
Now it tells me that modules (I want to load from another project compilation target folder) does not exists. Unfortunately, --paths switch is not supported so I can't do any tests with that. It seems the --baseUrl is ignored from the csproj. Compilation of the project works well again, only intellisense can't locate libraries.
  <PropertyGroup Condition="'$(Configuration)' == 'Debug'">
    <TypeScriptRemoveComments>false</TypeScriptRemoveComments>
    <TypeScriptTarget>ES5</TypeScriptTarget>
    <TypeScriptJSXEmit>React</TypeScriptJSXEmit>
    <TypeScriptCompileOnSaveEnabled>True</TypeScriptCompileOnSaveEnabled>
    <TypeScriptModuleKind>AMD</TypeScriptModuleKind>
    <TypeScriptModuleResolution>Node</TypeScriptModuleResolution>
    <TypeScriptBaseUrl>..\..\..\Ajs\bin\</TypeScriptBaseUrl>
    <TypeScriptLib>dom,es2015.promise,es5</TypeScriptLib>
    <TypeScriptOutFile>./bin/HelloWorld.js</TypeScriptOutFile>
    <TypeScriptGeneratesDeclarations>True</TypeScriptGeneratesDeclarations>
    <TypeScriptSourceMap>True</TypeScriptSourceMap>
    <TypeScriptMapRoot>/js</TypeScriptMapRoot>
    <TypeScriptSourceRoot>/src/HelloWorld</TypeScriptSourceRoot>
    <TypeScriptRemoveComments>False</TypeScriptRemoveComments>
    <TypeScriptExperimentalDecorators>True</TypeScriptExperimentalDecorators>
    <TypeScriptNoImplicitAny>True</TypeScriptNoImplicitAny>
    <TypeScriptNoEmitHelpers>True</TypeScriptNoEmitHelpers>
    <TypeScriptNoEmitOnError>True</TypeScriptNoEmitOnError>
  </PropertyGroup>

Resolved temporarily with npm local linked package:
   ...
  "devDependencies": {
    "ajsfw": "file:../../../Ajs/bin/ajsfw"
  }
  ...

But it would be great to be working natively.

as the previous solution does not update recompiled files I ended with a npm script which is creating the directory junction:
package.json
  "scripts": {
    "install": " if not exist \"%cd%\\node_modules\\ajsfw\" (mklink /j \"%cd%\\node_modules\\ajsfw\" \"..\\..\\..\\Ajs\\bin\\ajsfw\") "
  }

I also needed to fake npm local package to be able to use the library under development without need of publishing it. so my package json now looks like this:
  "dependencies": {
    "ajsfw": "file:../../../Ajs/npmdev"
  },
  "scripts": {
    "install": " if not exist \"%cd%\\node_modules\\ajsfw\" (mklink /j \"%cd%\\node_modules\\ajsfw\" \"..\\..\\..\\Ajs\\bin\\ajsfw\") "
  }

where npmdev is just a fake and completely empty package which is not installing anything to node_modules of the "application" project. It iss placed in the library project and it's package.json is as follows:
{
  "name": "fake-package",
  "version": "0.0.1",
  "description": "required to fake dev package insallation",
  "license": "MIT",
  "author": {
    "name": "Atom Software Studios",
    "email"<EMAIL_ADDRESS>  }
}

Also, I omitted all external tsconfig.json files and transferred everything to csproj (msbuild) xml.  Now it finally seems to be working (except I have no intellisense for imports what I can live with for now, the rest fortunately works well). As I could see in NPM repo (and issue tracker) they prepare similar support with using the "link:" instead of "file:" in the dependency definition so it should be easier.
Its really really hard to make development with Visual Studio and TypeScript comfortable. As I originally started with Delphi 2.0 IDE then I was using VS IDE with C# I am habituated to something else. This is really geeky and requires to know tons and tons of additional software starting with node over the npm, gulp and tons of additional packages, like webpack, browserify to various minifiers, The worst thing is that some packages don't work well (such as chokidar which is still throwing EPERM errors on Windows platform so continuous update of the dist folder is a nightmare).

It is indeed painful but VS 2017, by incorporating the TypeScript language service improves on VS 2015 immensely in this regard.

@aluanhaddad Hopefully. Currently it does not work so good. The language service seems to be buggy too much. Additioanlly, I am afraid it will fix all that problems with namespacing and local module development, compilation options setup on project property page... I am looking forward for NPM 5. But I also hope the TS support for it will be implemented soon it it will be necessary.
By the way, what is the reason the VS plugin is not opensource? I would be glad to contribute to it.

I've had good experiences with VS 2017 and TypeScript so far but I've been working in the folder view, not the solution view.
Sadly, I know nothing about the VS plugin or how you might contribute to it, a TypeScript team member would likely be able to tell you.
And yeah, NPM is a mess :/

Its nice to see that somebody sympathizes with me :) Thanks. I am already a subject to depression from all that stuff.

Nobody? Guys I really need to get this solved. Or find a workaround for it...
My latest findings:
external tsconfig is not correctly interpreted with language service
Usecase:
I am developing bunch of modules. I have these modules in the folder structure:
   tsconfig.json
   mainmodule.csproj
   mainmodule (folder)
      index.ts - main module file
      submodule (submodule folder)
         dosomework.ts (some submodule local code referenced using relative path)
         index.ts (submodule main code)

Lets say there is following code in mainmodule.ts
   import * as submodule from "mainmodule/submodule";

When I have following, external tsconfig.json (out of other settings):
    "module": "amd",
    "moduleResolution": "node",
    "baseUrl": ".",

The compilation works well, but language service does not work as it is not able to recognize modules correctly. Does the baseUrl really working well under VS?
When I use msconfig with following options:
    <TypeScriptBaseUrl>.</TypeScriptBaseUrl>
    <TypeScriptModuleKind>AMD</TypeScriptModuleKind>
    <TypeScriptModuleResolution>Node</TypeScriptModuleResolution>

Both, compilation and languae service does not work.
Please take a look on it. I need, at least, some workaround. Thank you.

Please log a new issue with specific repro steps if you're still seeing this. Hopefully a lot has changed in the intervening 2.5 years 😬


React Native Floating Label Text Input

@wcandillon  is there any of this method in nativebase? would be nice if i can implement the same behaviour like android in react native. Thanks.

@thundenilla Why are you asking me? 😅  I'm not a contributor on this project (yet ;-))

@thundenilla If you can build one! We would love to embrace it. Btw, there are people working on Material Paper UI kit -- https://github.com/react-native-paper/react-native-paper
@wcandillon Good to see the "yet ;-)" in the comment :-)

Added floatingLabel with 2.0


Extract serde_json::Map and serde_json::Number opaque newtypes

Fixes #152 and fixes #57.

I added #57 to this as well. Confirmed no performance difference once everything has #[inline] (it was about 20% without :astonished:).

:umbrella: The latest upstream changes (presumably #192) made this pull request unmergeable. Please resolve the merge conflicts.


[DRAFT] Enable plugin menu contributions with app-model

Description
This builds on #4784 to support menus contributed by plugins.  it shows how having an internal command/menu model that is similar to the npe2  command/menu schema makes it relatively trivial to add menu items from plugins that trigger plugin commands.
this includes #4784... so to see just the diff as it would appear after #4784 merges see:
https://github.com/tlambert03/napari/compare/use-app-model...tlambert03:napari:appmodel-plugin-menu
this is one of two patterns I'm going to try.  This keeps our internal menus registry and the plugin menus registry separate, by using a PluginAwareMenusRegistry subclass in our app model.  With this pattern plugin contributions and internal contributions don't "mingle" but the registry is able to combine them upon request.  The alternate pattern would basically hook up plugin registration/disablement events to callbacks that add/remove plugin menus from the core registry.
cc @nclack
Type of change

[ ] Bug-fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

References

How has this been tested?

[ ] example: the test suite for my feature covers cases x, y, and z
[ ] example: all tests pass with my change
[ ] example: I check if my changes works with both PySide and PyQt backends
as there are small differences between the two Qt bindings.

Final checklist:

[ ] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If I included new strings, I have used trans. to make them localizable.
For more information see our translations guide.

I think I prefer #4847 to this pattern, so will close this.  but will keep the branch alive for comparison


Visualization Chord Diagram

User story

As a IT project manager
I want / need to see a summary of connections between nodes
So that I can see the importance of the flow

Acceptance criteria

Displayed on subpage in main menu visualization
Added as clickable option in dashboard #45
Implement Filter and Searchfunction on page
In Exploration Logic #289 Assign the weight "P" to this diagram and change the preview title to "Chord diagram" instead of "Pie Chart"
In circle only display nodes -> relations are displayed as chords
Chords are number of edges -> modify thickness of chords relative to number of edges
"Focus function": mouseover allows to focus on node -> everything else fades
Visualization example:

Definition of done

Documentation conform with tsdoc
Reviewed with 4 eyes principle
Did not break other code
Understandable documentation for developers

Regarding feasibility: There's a react component for building d3 chord-diagrams.
Also, here's a tutorial with the requested mouseover effect.


SSL: received_message not getting called

I'm using Ws4Py 0.3.4 with CherryPy 4.0.0 (builtin SSL adapter) and I'm having issues with websockets when using SSL.
When I try and send a message from my JavaScript client to the WebSocket server my handler function "received_message" is never called.  The same code works fine when not using SSL.  I also don't see any exceptions, errors or warning on the client or server.

Duplicate of  "wss is always one message behind #128", I missed the issue in my original search


RAV-8425

Looks good to me. Check if all the test cases in calcite and mig side are passing after this change.

Please add test cases.

Please add test cases.

Hi Soma, Adding test case in calcite is not possible, because there are dependent changes done in MIg related to this issue.

These branch is showing merged as, in another PR #241 these changes were there, and these changes were not reverted properly (revert was done by changing the code with another commit, not by reverting the existing commits). That's why those commits were merged in master, resulting merge of this PR. Kindly create a fresh PR.


Update download URL for HTTP 403 Error

Update download URL for resnet101e to prevent HTTP 403 Error

the github url works fine, if it didn't work none of the other models would


Seed value is no longer printed starting in version 2.2.4

Version 2.2.4 appears to no longer display any seed information output, for success or failure, either at the beginning or the end of the run:
Finished in 7.38 seconds (files took 3.17 seconds to load)
467 examples, 0 failures

Finished in 5.24 seconds (files took 1.98 seconds to load)
467 examples, 1 failure

Failed examples:

rspec ./spec/models/foo_spec.rb:56 # 1 is expected to eq 2

Compare that to 2.2.3, which outputs at the start and the end of the test, as expected:
1 processes for 1 specs, ~ 1 specs per process

Randomized with seed 21152

# ...

Failures:

  1) Foo is expected to eq 2
     Failure/Error: specify { expect(1).to eq(2) }

       expected: 2
            got: 1

       (compared using ==)
     # ...

Finished in 5.47 seconds (files took 2 seconds to load)
467 examples, 1 failure

Failed examples:

rspec ./spec/models/foo_spec.rb:56 # Foo is expected to eq 2

Randomized with seed 21152

1 processes for 1 specs, ~ 1 specs per process

Randomized with seed 37227

# ...

Finished in 5.7 seconds (files took 2.06 seconds to load)
467 examples, 0 failures

Randomized with seed 37227

Since 2.2.4 includes #48 as the only documented change, I assume something there broke.

Meant to include other version information, apologies! 😅
$ bundle exec rspec --version
RSpec 3.13
  - rspec-core 3.13.0
  - rspec-expectations 3.13.1
  - rspec-mocks 3.13.1
  - rspec-rails 6.1.3
  - rspec-support 3.13.1

$ ruby -v
ruby 3.2.3 (2024-01-18 revision 52bb2ac0a6) [arm64-darwin23]

Happy to provide any other extra information if it's helpful.

Please add the --seed NUMBER parameter to the turbo_tests command. Before #48, seed was randomized by default, which was confusing. (ParallelTests and RSpec apply seed only when option is used explicitly.)
Here's the output with the --seed parameter
$ bundle exec turbo_tests --seed $RANDOM
Using recorded test runtime
3 processes for 3 specs, ~ 1 specs per process

Randomized with seed 5366
..........

Finished in 4.56 seconds (files took 3.12 seconds to load)
10 examples, 0 failures

Randomized with seed 5366

Output without the seed parameter
$ bundle exec turbo_tests
Using recorded test runtime
3 processes for 3 specs, ~ 1 specs per process
..........

Finished in 4.74 seconds (files took 3.11 seconds to load)
10 examples, 0 failures

Thanks for the bug report @aprescott and sorry for the inconvenience.
Please let me know if adding the --seed NUMBER parameter works for you.

RSpec apply seed only when option is used explicitly.

This option is enabled for rspec runs through the standard spec_helper.rb config boilerplate:
config.order = :random
Kernel.srand config.seed

Moreover, turbo_tests is using this config: the ordering of tests is still random when using turbo_tests, it's just that now there's no seed value shown. If I use version 2.2.4 and place this in a file:
specify { puts 1; expect(1).to eq(1) }
specify { puts 2; expect(1).to eq(1) }

Then 1 and 2 will be printed in a random order for each run of turbo_tests (without --seed given), yet no seed is shown in 2.2.4.
If turbo_tests doesn't display the random seed and requires that one be specified explicitly, then things are left in a surprising (to me) situation. With a test suite configured to use a random order:

Running rspec requires no --seed value, and will print the random seed used for a test run.
turbo_tests (2.2.4) will still run in a random order, but it won't show the seed used unless --seed is given.

That feels incorrect to me? I understand there are other bugs being addressed by the change in behavior here, but it effectively means that --seed must be given solely to make the seed value display: if --seed isn't given as a param, it is still random but the default behavior provides no automatic, direct way of reproducing an ordering that was used in the event of an order-dependent test failure.
As a user I think this makes turbo_tests harder to use as a drop-in for rspec: a dev cannot simply use turbo_tests over rspec, they must now ensure that --seed $RANDOM or an equivalent is specified in both automated tooling (e.g. CI) and in all their own command runs, ensure it's part of their aliases, etc., or do something custom to print the seed value at the start/end of the tests.
Could turbo_tests read the RSpec config, and use that to determine whether to act as if a --seed has been given?

Could turbo_tests read the RSpec config, and use that to determine whether to act as if a --seed has been given?

To expand on that a bit: basically if config.order is :random then act as if turbo_tests was given --seed $RANDOM (or similar, I'm not sure what RSpec itself does in Ruby for example). That would allow turbo_tests to presumably fix the seed for each parallel run, printing the value before and after, preserving the expected behavior.

The actual issue/confusion with TurboTests is that it doesn't print the Randomized with seed 36736 line from output of the each of RSpec processes in TurboTests::Runner#handle_message. I'll try to fix it.

Then 1 and 2 will be printed in a random order for each run of turbo_tests (without --seed given), yet no seed is shown in 2.2.4.
Could turbo_tests read the RSpec config, and use that to determine whether to act as if a --seed has been given?

I see, thank you. --seed argument for turbo_tests is used for all rspec processes. Contrary, the config.order = :random is used to set the random seed per rspec process.

The actual issue/confusion with TurboTests is that it doesn't print the Randomized with seed 36736 line from output of the each of RSpec processes in TurboTests::Runner#handle_message.

For what it's worth, this is a slightly different description of an issue/confusion than the one I have. I think there are at least 2 or 3 related things involved: config.order = :random being respected, that turbo_tests would pick a fixed seed used for each RSpec process, and that any seed information is printed.
If the seed is intended to be random per process by design, then there really needs to be a way to have access to that information. Without a printed seed value, then a randomized test run is much harder to reproduce, even when using the exact same subprocess command that turbo_tests ran.
Printing the seed value for each subprocess would certainly help with reproducing random-order test failures, even if there are different seeds for each subprocess. Since there are N separate seed values, I'm not too sure what that actually looks like in terms of command output.

--seed argument for turbo_tests is used for all rspec processes. Contrary, the config.order = :random is used to set the random seed per rspec process.

Indeed. I understand that difference, but what I was imagining is something like:

Read the RSpec configuration value of config.order.
If config.order is set to :random, then act as if --seed SOMERANDOMVALUE were given to turbo_tests. Use the seed value for each subprocess explicitly, so they all agree.
Since turbo_tests will act as if --seed were given, then it will print the seed in its output.

(It would also be great to ensure that --seed shows up in separate commands printed when using turbo_tests's --verbose output. I'm not able to check whether that currently happens right now, apologies if it does already!)
Checking config.order in this way would seem to avoid the need to manually give a random --seed argument to turbo_tests. It would make each subprocess use the same seed value of N, and the output formatter would print the resulting seed (the same way it would do if --seed were given).


refactor loading state

Due to async nature of fetch function, i think the previous usage of loading state was not beneficial as it was getting set and unset during initial render.

Sorry, you I think I'll create a branch to fix this issue, there's something wrong about the error handling part in the hook as well. Thanks for the request though!


Typo in docs

In this page: http://docs.docker.com/engine/userguide/dockerimages/
Instead of "Tip: You recommend you always use a specific tagged image, for example ubuntu:12.04. That way you always know exactly what variant of an image is being used.", it should be "Tip: We recommend you always use a specific tagged image, for example ubuntu:12.04. That way you always know exactly what variant of an image is being used."

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

Thanks! We try to remove "we" from the documentation, but this was probably a find & replace slip-up :smile:

Tip: You should always specify an image tag, for example ubuntu:12.04. That way, you always know exactly what variant of an image your using.  This is useful for troubleshooting and debugging."

Created a PR in https://github.com/docker/docker/issues/17921


#production, upload to production and create clean db

[ ] Deploy master to production.
[ ] Creating the spark db from fresh copy
[ ] Importing the camps

After this stage, we will have the DB production up, and changes will be only thru knex migration files.

done!


search in editors is a missing feature

Issue Type: Feature Request
Other editors provide 'search in buffers' which in VsCode would likely be search in editors.  This is a key productivity feature that is not met by search in files.  Search in files will open many files that are not yet open and in large projects becomes useless unless this is the actual intent of the user.  A more common use case is to search across already opened files.
VS Code version: Code 1.62.2 (3a6960b964327f0e3882ce18fcebd07ed191b316, 2021-11-11T20:56:38.428Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No
Remote OS version: Linux x64 3.10.0-1160.24.1.el7.x86_64

Is this what you are looking for: https://stackoverflow.com/a/65851872/836330


New Field: Environment Standard

For the property estimation service (Wüest Dimensions and IAZ), we miss a field in "Property Building Information" (for single family houses):
field name: environmentStandard
description: The rating type
not required
string
enum: [high-level, basic, low-level]

I'm not sure which field of WuP you are referring to!?

derivationParametersHedStandard.environmentStandard| EnvironmentStandard | The standard of the environment
Mandatory Field only for val.method=HED_SFH and if grade.manualValue is NULL
(grade.manualValue is always NULL)

Agreement MP / TKB on 29.09.22: Ok


Consider to make JsonApiModel class public

Now, the JsonApiModel class is package-private. Consider to make it public which e.g. (in our case) enables possibility to test outputs from specific JsonApiModelBuilder builds.

Thanks for pointing this out. We had discussions about that topic in the Spring HATEOAS community. The issue here is that users then expose specific representation model implementations that only make sense for specific media types.  For example, an endpoint could return ResponseEntity<JsonApiModel> which would break the media type independent approach of Spring HATEOAS when it comes to API.
If you want to provide JSON:API only, this might make sense but if you want to accept different media types it would make the API more complicated. I will restart the discussion again, but I would like to stay with the generic Spring HATEOAS model on the REST endpoint API side.
For testing purposes, you could provide something like:
        @Bean
        JsonApiConfiguration jsonApiConfiguration() {
            return new JsonApiConfiguration()
                    .withObjectMapperCustomizer(objectMapper -> {
                        yourStaticTestObjectMapper = objectMapper;
                    });
        }

and then use yourStaticTestObjectMapper  for serializing the result of the specific JsonApiModelBuilder builds in your tests.

Hi @toedter, thanks for quick response. Actually, the problem is that we use custom RepresentationModelAssembler for being able to serialize our specific entity model to different media types (along with JSON:API), so we are somehow building JsonApiModel within this assembler. We want to run regular unit tests against this assembler, so we don't want to pointlessly initialize the whole Spring context for just being able to check if returning RepresentationModel structure is a correct JSON:API model.

I see your point, but I will stick with the Spring HATEOAS approach to only having the generic RepresentationModel  classes public. A workaround for your use case would be to create a TestWrapper class in a package com.toedter.spring.hateoas.jsonapi. There you could cast a RepresentationModel  to a JsonApiModel and get the data for your test.


Addition of Average Speed Calculation Feature in Internet Speed Checker

@pranjay-poddar I would like to enhance the internet speed checker by incorporating a functionality to conduct three sequential speed tests and deliver the average speed as the final result.
Please assign me this issue under GSSoC'23.

Assign it to me

@TusharKesarwani I kindly request that you assign the issue raised by me to my responsibility.

@TusharKesarwani Please kindly review this pull request and merge it.


Updated the default commands

I forgot to update the default commands to be the one from bun.
Sorry

@mms-gianni any update on merging this? I'd like to use bun in my apps :D


Equipment Reset

Notes from call on 2023-09-26

Reset on device exists - preferred also on component level
required for "normal operation"
warm reset
cold reset
check firmware update
Equipment RPC proposal after check AI Martin ->
Propose to do it for 2.1

Results of checking existing Firmware RPCs

Firmware is currently not part of the "Summary of Issues" -> a new row added
The firmware RPC 'activate-firmware-component' describes "Operation for activating some firmware component on the device. (Attention! Invoking this operation might cause the device to reboot.)"
Conclusion: this RPC cant be used for Equipment Reset therefor a new RPC would be needed.

Further thoughts

cold vs warm start: Typically in a cold start the configuration gets lost which makes such operation very critical when evoked automatically and from remote

consequently a "cold start" must not be part of the model

RPCs in the 5G-xHaul models require a parameter on which object instance in the data tree the RPC is invoked.

consequently the RPC must have one parameter defining the Equipment Object.
The next question is about the type of such Parameter to identify the equipment

The option 'instance-identifier' is too abstract as it would offer an RPC on all kinds of objects.
Typically the UUID of a the ONF:GlobalClass identifies an object instance.

Problem: UUIDs apply to all kind of objects, so a further constrain is needed - a when-statement that the object must be in the EquipmentList. This model should be used - the alternative to use an xPath should not be used supporting the UML2YANG process.

Description/Comment: As inspiration here the yang description of an RPC called "reset" from O-RAN Alliance WG4 FrontHaul:
"Management plane triggered restart of the radio unit. A server SHOULD send an RPC reply to the client before restarting the system."
As suggested the modelling and its discussion should be done in the context of version 2.1 - therefore the label is "on_hold"

Device level
Equipment level (optional, but modelled)
RPC restart ( warm vs cold, normal/force, parameter ref to an IdentityRef)
IdentityRef: ControlConstuct and Equipment

to make more save
the second parameter should not be optional -
-- ref to ControlConstruct or UUID of IDU -> device level
-- ref to Equipment -> equipment level

uncommitted changes and restart

uncommitted changes would be lost

ongoing DB operation and restart

danger!!!!
-- normal - nothing happens until the operation is finished
-- force - data gets lost

Schedule/delay a reset function?
-> should be more a function on application layer
EquipmentAugment should be the model

Proposal to the 5G-xhaul call on 10th of January 2024:
An interface of the name EquipmentOperations to be created.
An RPC of the name restart() to be created in EquipmentOperations.
The restart() RPC shall have two input parameters:

kindOfRestart:RestartType[1] with comment "For distinguishing traffic affecting and non-traffic affecting restart."
affectedComponentPath:InstanceIdentifier[1] with comment "Path to the Equipment object that shall be restarted. If some top level equipment would be referenced, the entire device might be restarted."
A RestartType enumeration shall be created and hold two values:
COLD with comment "Service affecting restart of the device or component."
WARM with comment "Non-service affecting restart of the device or component."

Has been updated and published in EquipmentAugment_1.0.0-tsi.240104.1330+yang.1.zip


Palettes Do Not Load On Mobile Devices In Demo

The Demo, Recently Has Been Unavailable To Be Used On Mobile Devices, What I Mean By This Is That The Palettes Stay On “Loading Palette From File”, Only On Mobile. Is There Any Way To Fix This?

On iOS, I am also receiving that error.

Oddly enough, it works fine on ipad though

Found a way to get the console errors.  According to this stack overflow post:

Looks like Safari doesn't support lookbehind yet (that is, your (?<=/)). One alternative would be…

The only place where those lookbehind regex expressions are used seem to be:
https://github.com/1j01/anypalette.js/blob/eaf17cca78203bf2e68298137859f3f23cc46520/src/formats/tabular.coffee#L56-L59

It seems like this feature will be added in safari in the next major iOS version https://bugs.webkit.org/show_bug.cgi?id=174931


Feature request for Dynamic Axes for batches on MediaPipe FaceMesh-WITH-ATTENTION* Model

Issue Type
Feature Request
OS
Ubuntu
OS architecture
x86_64
Programming Language
Python
Framework
ONNX, TensorFlowLite
Model name and Weights/Checkpoints URL
MediaPipe FaceMesh-WITH-ATTENTION ONNX/TFLITE
Description
Hi, first of all thanks a lot for the tflite model for MediaPipe-WITH-ATTENTION FaceMesh model.
I had one request, would it be possible for Dynamic Axes at 0th index for batches in the ONNX model?
I tried it but it doesn't seem it is dynamic at the moment.
I also tried interpreter.resize_tensor_input on the tflite model, but got an error there too.
I'm sorry for this duplicate issue, but in the earlier issue, the issue was closed before I could get full clarity, thanks!
Relevant Log Output
No response
URL or source code for simple inference testing code
No response

Unfortunately, this is not possible with the current model structure.


6.0 Feedback:  Experience > Getting to deck calibration with an uncalibrated robot is not obvious

Overview

Current Behavior
No response
Expected Behavior
Could the alerts launch deck calibration?
Could there be an alert at top to launch deck calibration?
Steps To Reproduce
No response
Operating system
Mac
Robot setup or anything else?
No response

@emilywools thoughts on this

you're right that this is not a good experience. Morgan just wrapped up a project to make robot calibration much more clear, but its not in scope for 6.0

In scope for 6.2.0 - https://www.figma.com/file/8R6jZdYMMzAh6aeRkzHz4l/New-user-calibration?node-id=1598%3A114042


ESP32-S3 board support

Needs a modification to the Memfault SDK to get a build id inserted, I'm working on now.

Thanks @noahp! Can we open this PR against https://github.com/golioth/golioth-memfault-zephyr-example? I just made it public and also gave you write perms for good measure. I think it will be easier to avoid conflicts if we choose one repo to make changes and the other is just a mirror.

Sweet, will do! thanks Sam.

moved to https://github.com/golioth/golioth-memfault-zephyr-example/pull/6 <3


fix2

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Preetam Dwivedi seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Current dependencies on/for this PR:

#275  👈
master

This stack of pull requests is managed by Graphite.


+/- 10% limitation for asynchronous resamplers

I am working on a DJ application and considering using Rubato. The requirement of staying within +/- 10% of the original resampling ratio is quite limiting for my use case. It's not terrible considering DJ turntables have pitch faders with +/- 8% range, but it does create a creative limitation for software. Is this limitation inherent to the algorithms used? Is there any plan to increase the accepted resampling ratio range or remove the limitation altogether?

The way Rubato works there needs to be a limit, but the actual value of 10% is a bit arbitrary. The problem is that when changing the ratio, ideally the sinc functions used for interpolation needs to be regenerated. This is a quite expensive operation. So instead it uses the original sincs, which works well for changing the ratio by a few percent (the way I use it myself I typically adjust less than 0.1%). Any more and there will be some aliasing. That might be fine, depending on the application. Extending the adjust range to allow 50% - 200% of the original would not cause any trouble other than the increased aliasing.
How much is enough, and is some aliasing a problem for you?

Thanks for the quick response. Maybe the resampler constructors could specify a maximum range and the sinc functions could be generated on construction based on that? That way applications that don't need a wide range wouldn't have to have the runtime cost of a wider range.

How much is enough, and is some aliasing a problem for you?

This is hard to answer. Ideally I'd leave it up to the user to pick the ratio range with a default of +/- 8%. > 50% or so is quite overkill for DJing IMO, but if it would be possible to go wider, that would be cool.
As to whether aliasing is a problem, I'm not sure how to answer that without hearing the practical impact.

Sorry if some of my suggestions don't make sense; I don't really know how this fancy math works under the hood (so thanks for writing this library!). If different sinc functions should be used as the rate ratio expands, would it be feasible to precreate different sinc functions on constructions and dynamically switch between them as needed?

There would be no runtime cost, or other drawback of just allowing a larger range. It would still behave exactly as before while adjusting in the +-10% range.
To hear the aliasing you would need a resampler that allows turning off the anti-aliasing filter. I just checked in Audacity and it doesn't have such an option. But there should be some app that can already do it. My guess would be that if you speed up or slow down a track so much that the aliasing becomes ugly, then the changed speed anyway makes it sound so odd that some aliasing doesn't matter. But would be good to check.
Switching between different sets of sincs is a possibility, but it would need quite a few sets to allow smooth transitions.

Switching between different sets of sincs is a possibility, but it would need quite a few sets to allow smooth transitions.

Cool. I am not very concerned about the cost of construction a resampler; that will be done outside my realtime thread. So long as it doesn't block the GUI thread for 10 seconds to construct on a modern laptop :)

I tried extending the allowed range to allow adjusting by a factor 2 both up and down. Very little else needed to change. I tried both speeding up and down a few different music tracks, and I would say that the aliasing when speeding up is a non-issue.
Try this one: https://github.com/HEnquist/rubato/tree/bigrange
Export some piece of music to raw format, f64. Then run something like this:
cargo run --release --example fixedin_ramp64 some_music.raw output.raw 44100 44100 2 50 60

That will slowly speed the track up to double its normal speed over 60 seconds. The output file is the same format as the input, raw f64 values (interleaved).

I would say that the aliasing when speeding up is a non-issue.

Great! I believe you and I'd also like to see some spectrograms measuring it
and try it for myself.

Fixed by #30


Provided explanation for UserVoiceForFeedbackEnabled

With the fix to the -UserVoiceForFeedbackEnabled flag as announced here https://github.com/MicrosoftDocs/office-docs-powershell/issues/508#issuecomment-430152475 it now also takes care of removing the "Get the mobile app" link. This argument didn't have a comment with it yet to explain what it does, so added this.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@KoenZomers - thanks, appreciated!


Wrong Failed Constraint Error

Aim
I experimented with the language and found a weird behavior.
When executing the following code with nargo execute:
main.nr:
pub fn main(x : Field) -> pub Field {
    let mut y : Field = 0;
    if (!(6.lt(x)) | !(6.lt(x)))
    {
        y = x;
    }
    else
    {
        y = 1;
    }
    assert(((x == y) | true), "assertion");
    y
}

Prover.toml:
x = "10"

I receive a failed constraint error for the expression inside of the assert statement.
I am unsure why I receive this error in this particular case.
if I remove one of the !(6.lt(x)) expressions of the condition everything executes as expected, which seems even weirder to me.
Expected Behavior
I expect to run nargo execute without receiving an error and to receive following expected output:
[playground] Circuit witness successfully solved
[playground] Circuit output: Field(1)

Bug
This is the error message I receive from executing nargo execute:
error: Failed constraint
   ┌─ /app/src/main.nr:11:14
   │
11 │     assert(((x == y) | true), "assertion");
   │              -----------
   │
   = Call stack:
     1. /app/src/main.nr:11:14

To Reproduce

create a project with the provided main.nr and Prover.toml
nargo execute

Project Impact
None
Impact Context
No response
Workaround
None
Workaround Description
No response
Additional Context
No response
Installation Method
Binary (noirup default)
Nargo Version
No response
NoirJS Version
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response

What compiler version are you using?
I can't reproduce this on latest master (82a67a0e)

Hey, thank you for the quick reply.
> nargo --version
nargo version = 0.30.0
noirc version = 0.30.0+af57471035e4fa7eaffa71693219df6d029dbcde
(git version hash: af57471035e4fa7eaffa71693219df6d029dbcde, is dirty: false)

I am using the default install when executing noirup.

I've confirmed it's failing on your commit and not failing on master - so this bug has been fixed. You should see the fix in a future update. Alternatively, if this is blocking you can download nargo nightly via noirup as well to see this fix today.

Seems like this was the fixing commit:

https://github.com/noir-lang/noir/pull/5100/commits/91e6e5319c648122d10d0b8af41782190243829d


my qnap nas

i think we have bad list

Well, it's only a matter of whitelisting.
As you may see I look at all your reports here and reviewed them one by one so all your reported domains are whitelisted ...
So I do not understand that. I'm not a Mac user but this only looks like an information ... Will search all occurrence of apple to see if one of them is "vital".

@mitchellkrogza any opinion on this? :thinking:

@funilrys hold off on this i dont think is list related


Software device example is broken

Issue Description
The software device example doesn't show anything, presumably due to the software frame not being fully initialized and thus missing a value for depth_units.  This seems to fix it, but I don't know whether that's just a workaround:
diff --git a/examples/software-device/rs-software-device.cpp b/examples/software-device/rs-software-device.cpp
index 02fa88cf4..f63314837 100644
--- a/examples/software-device/rs-software-device.cpp
+++ b/examples/software-device/rs-software-device.cpp
@@ -142,7 +142,8 @@ int main(int argc, char * argv[]) try
                                 W, H, 60, BPP,
                                 RS2_FORMAT_Z16, depth_intrinsics });

-    depth_sensor.add_read_only_option(RS2_OPTION_DEPTH_UNITS, 0.001f);
+    float depth_units = 0.001f;
+    depth_sensor.add_read_only_option(RS2_OPTION_DEPTH_UNITS, depth_units);

     auto color_stream = color_sensor.add_video_stream({  RS2_STREAM_COLOR, 0, 1, texture.x,
@@ -174,7 +175,8 @@ int main(int argc, char * argv[]) try
                                        depth_frame.x * depth_frame.bpp,  // Stride
                                        depth_frame.bpp,
                                        timestamp, domain, frame_number,
-                                       depth_stream } );
+                                       depth_stream,
+                                       depth_units } );

         color_sensor.on_video_frame( { texture.frame.data(),     // Frame pixels from capture API

However, when adding a software device example to the realsense-viewer, the 3D display doesn't seem to work (although the 2D depth image does show proper distance values with the fix above).  Is there something else that's missing?

However, when adding a software device example to the realsense-viewer, the 3D display doesn't seem to work (although the 2D depth image does show proper distance values with the fix above). Is there something else that's missing?

I found the cause of this second issue, but it was on my end.

Hi @rf-triegel  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


Add a wiki: A Wiki of Ice and Fire

An anonymous user has submitted a new wiki via our submission form.
Link to origin wiki:

https://iceandfire.fandom.com/wiki/A_Song_of_Ice_and_Fire_Wiki
https://gameofthrones.fandom.com/wiki/Wiki_of_Westeros

Link to destination (independent) wiki: https://awoiaf.westeros.org/index.php/Main_Page

Now available in version 2.2.0


ee log show error

Running "ee log show", "ee log show --fpm" gives the following error:
[Errno 2] No such file or directory: '/var/log/php5/slow.log'
Throws that error for sites created with --php and with --php7

@kinkod We are closing v3 issues that are not related to security. For general support, please use the forum http://community.rtcamp.com/c/easyengine


🚀 Feature: Kubernetes plugin -  Job to render pod information by itself, not requiring to be encapsulated by a CronJob

🔖 Feature description
In the KubernetesEntityPage from the Kubernetes pluginm I expected to see a Kube job accordion the same as I see that of deployment/statefulset, where I can see the pods belonging to the kube job (and its pod details and logs)
🎤 Context
A kube job does not need to be encapsulated by a CronJob accordion, since Jobs can be created independent of a cronjob.
✌ Possible Implementation
The JobAccordion could be considered as a sub-accordion under the cluster accordion (in this file) as well? And not require it to be encapsulated by a CronJob accordion, since Jobs can be created, independent on a cronjob.
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
None

#21427 Referencing to this similar issue

Could we open this issue again?
Seems like Daemonset card is also recently added as well
https://github.com/backstage/backstage/issues/21427


Fix Slack webhook payload title generation to work with Mattermost

Backport of https://github.com/go-gitea/gitea/pull/9378
I was not able to start and test 1.10 locally due to panic: template: base/footer:15: function "StaticUrlPrefix" not defined.

@cornelk you should build use TAGS="" make generate build. generate should be used on v1.10 but it could be ignored on v1.11 .

ping lgtm


[67] Issue #67 - April 27, 2017

@BasThomas thanks so much for doing all the GH issue maintenance! 🙌

You're welcome. 😃

SE-0165 accepted

SE-0155 accepted

Couple of interesting pre-proposal pitches from Apple folks on the mailing lists:
"Should we just always import C/ObjC types under their Swift 4 names, and use typealiases in Swift 3 mode?" — dealing with renamed types when mixing and matching Swift 3/4 code.
https://lists.swift.org/pipermail/swift-dev/Week-of-Mon-20170417/004408.html
Replacing the swap function with something that follows the ownership manifesto when dealing with mutable collections.
https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20170417/035986.html

swift server group notes:
https://github.com/swift-server/work-group/pull/80

Code size reduction:

SE-0168 implementation
https://github.com/apple/swift/pull/8813

https://twitter.com/slava_pestov/status/856367181898039296

https://twitter.com/slava_pestov/status/856369805648998400

Swift unwrapped 😊
https://spec.fm/podcasts/swift-unwrapped/66634

Source compatibility is a strong goal for future Swift releases. To aid in this goal, a community owned source compatibility test suite serves to regression test changes to the compiler against a (gradually increasing) corpus of Swift source code. Projects added to this test suite are periodically built against the latest development versions of Swift as part of Swift's continuous integration system, allowing Swift compiler developers to understand the compatibility impact their changes have on real-world Swift projects.

announcement: https://swift.org/blog/swift-source-compatibility-test-suite/
repo: https://github.com/apple/swift-source-compat-suite
tweet: https://twitter.com/tkremenek/status/856629269828575232

https://mobile.twitter.com/slava_pestov/status/856699695573245955

SE-0172 accepted, SE-0171 accepted, SE-0173 in review

call for assistance:
https://twitter.com/ericasadun/status/856942755162996737
bad swift things:
http://ericasadun.com/2017/04/25/bad-swift-things-we-do-because-we-can/

"Multi-line string literals are in!"
https://twitter.com/Ilseman/status/857042195961978880
And a starter task: SR-4701 Starter: better diagnostics for multi-line string literals
https://bugs.swift.org/browse/SR-4701

SE-0167 accepted
https://lists.swift.org/pipermail/swift-evolution-announce/2017-April/000368.html
https://github.com/apple/swift-evolution/blob/master/proposals/0167-swift-encoders.md

proposal to change SPM pinning:
https://twitter.com/rballard/status/857392666660683777
https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20170424/036203.html

https://twitter.com/slava_pestov/status/857457182803021824


Synonym request for specimen collection process

Please can "sampling" and "sample collection be added as synonyms for sample collection process ( http://purl.obolibrary.org/obo/OBI_0000659)

Please also ping @ramonawalls on the BCO tracker as there's overlap here.
On Tue, 5 Mar 2019, 00:24 Céline Aubert<EMAIL_ADDRESS>wrote:

Please can "sampling" and "sample collection be added as synonyms for
sample collection process ( http://purl.obolibrary.org/obo/OBI_0000659)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/obi-ontology/obi/issues/1002, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACK7Mr_Y2uC8-9DF9aP_BcaWkyNOteqbks5vTinCgaJpZM4beCBQ
.

Discussed on Mar 11, 2019 OBI call.
We are happy to add these as synonym of term: material sampling process (http://purl.obolibrary.org/obo/OBI_0000744) which is the subClass of "Specimen collection process".
Does it work for you?

Yes it would work. Thanks!

@zhengj2007 can you confirm that #1008 resolves this issue? Thanks!

@rctauber I don't know why I made two pull requests. It seems the issue is not solved. Shall I make edit and create a new pull request? Thanks!

Complete


DBZ-8170 Error caused by database name containing regular keywords

https://issues.redhat.com/browse/DBZ-8170
Error caused by database name containing regular keywords, such as database name: test$user

Hi @jw-itq would it be possible to add a test not only for the use case you've described with test$user, but also checking what this change will do should the configuration supply the regular expression contain escaped syntax values, such as test\$user, does this cause such a configuration to no longer work or be interpreted correctly?

Hi @jw-itq would it be possible to add a test not only for the use case you've described with test$user, but also checking what this change will do should the configuration supply the regular expression contain escaped syntax values, such as test\$user, does this cause such a configuration to no longer work or be interpreted incorrectly?

thanks, I will attempt to add a test case. Yes, this could potentially cause test$user not to be interpreted correctly. However, on the JDBC URL, you cannot use $ but you can use \$. If the Matcher.quoteReplacement is used, test$user will still be effective.

Hi @jw-itq would it be possible to add a test not only for the use case you've described with test$user, but also checking what this change will do should the configuration supply the regular expression contain escaped syntax values, such as test\$user, does this cause such a configuration to no longer work or be interpreted incorrectly?

thanks, I will attempt to add a test case. Yes, this could potentially cause test$user not to be interpreted correctly. However, on the JDBC URL, you cannot use $ but you can use $. If the Matcher.quoteReplacement is used, test$user will still be effective.

But you're also adjusting the Predicates class which is used for many other configuration options such as the include and exclude list configurations that we've always communicated that special regex characters should be escaped if they're part of the database, schema, or table name.  So we need to consider all those variants with this change imo.

Hi @jw-itq would it be possible to add a test not only for the use case you've described with test$user, but also checking what this change will do should the configuration supply the regular expression contain escaped syntax values, such as test\$user, does this cause such a configuration to no longer work or be interpreted incorrectly?

thanks, I will attempt to add a test case. Yes, this could potentially cause test$user not to be interpreted correctly. However, on the JDBC URL, you cannot use $ but you can use $. If the Matcher.quoteReplacement is used, test$user will still be effective.

But you're also adjusting the Predicates class which is used for many other configuration options such as the include and exclude list configurations that we've always communicated that special regex characters should be escaped if they're part of the database, schema, or table name. So we need to consider all those variants with this change imo.

thanks, the Predicate indeed requires more thought, and I will reconsider the changes regarding the Predicate. Or do you have any better suggestions?


Day54: LeetCode-2032. Two Out of Three - HashTable

Two Out of Three
https://leetcode.com/problems/two-out-of-three/
Given three integer arrays nums1, nums2, and nums3, return a distinct array containing all the values that are present in at least two out of the three arrays. You may return the values in any order.

Example 1:
Input: nums1 = [1,1,3,2], nums2 = [2,3], nums3 = [3]
Output: [3,2]
Explanation: The values that are present in at least two arrays are:

3, in all three arrays.
2, in nums1 and nums2.

Example 2:
Input: nums1 = [3,1], nums2 = [2,3], nums3 = [1,2]
Output: [2,3,1]
Explanation: The values that are present in at least two arrays are:

2, in nums2 and nums3.
3, in nums1 and nums2.
1, in nums1 and nums3.

Example 3:
Input: nums1 = [1,2,2], nums2 = [4,3,3], nums3 = [5]
Output: []
Explanation: No value is present in at least two arrays.


hero gradient background (svg)

The same as #2077, but I recreated the background in SVG based on the original gradient in illustrator.

( I am not sure about the formatting changes, I ran deno fmt before commiting )

Why does it take a second for the gradient to appear? It is kinda annoying.

@roj1512 you're right, it has to be a component so it loads with the rest of the content. thanks for noting, I updated the PR.

This seems breaking the menu in mobile screen
Before

After

Sorry for that @kt3k, fixed now.

Let's try it!


License / 6DOF

Hi Marciel, the license has not be defined? Can I use your mod in a commercial product?
Did you have any luck with the 6DOF?
https://forum.giants-software.com/viewtopic.php?f=895&t=185941&p=1456946&hilit=roll+pitch#p1456946

Hi
Happy new year! = )
Yes, you can use for commercial propose, without problem.
I will be happy if you reference this mod in your product, but it is not mandatory.
I put the MIT license in the project, thank you for ask it.
About the 6DOF... Actualy i work in a analogic dashboard for a motion platform, so, the 6DOF does't the main priority. But i will work in it comming months.

Thanks a lot, once you add the yaw, roll, pitch and the gforces (lateral, longitudinal, e vertical acceleration), I will certainly incorporate in my product and give you the proper credit.
Glad to hear that you had choose MIT.
Thanks!

What does the getRotation(vehicle.rootNode) returns to you? A quarternion?

Here is the documentation about "getRotation" function:
https://gdn.giants-software.com/documentation_scripting_fs19.php?version=engine&category=26&function=313

Hint:
https://gdn.giants-software.com/documentation_scripting_fs19.php?version=script&category=41&class=446
The ?_rot are the yaw,roll and pitch.

local paramsXZ = self.highPrecisionPositionSynchronization and g_currentMission.vehicleXZPosHighPrecisionCompressionParams or g_currentMission.vehicleXZPosCompressionParams
1003 | local paramsY = self.highPrecisionPositionSynchronization and g_currentMission.vehicleYPosHighPrecisionCompressionParams or g_currentMission.vehicleYPosCompressionParams
1004 | for i=1, table.getn(self.components) do
1005 | local component = self.components[i]
1006 | local x = NetworkUtil.readCompressedWorldPosition(streamId, paramsXZ)
1007 | local y = NetworkUtil.readCompressedWorldPosition(streamId, paramsY)
1008 | local z = NetworkUtil.readCompressedWorldPosition(streamId, paramsXZ)
1009 | local x_rot = NetworkUtil.readCompressedAngle(streamId)
1010 | local y_rot = NetworkUtil.readCompressedAngle(streamId)
1011 | local z_rot = NetworkUtil.readCompressedAngle(streamId)
1012 |
1013 | local qx,qy,qz,qw = mathEulerToQuaternion(x_rot,y_rot,z_rot)
1014 | self:setWorldPositionQuaternion(x,y,z, qx,qy,qz,qw, i, true)
1015 |
1016 | component.networkInterpolators.position:setPosition(x,y,z)
1017 | component.networkInterpolators.quaternion:setQuaternion(qx,qy,qz,qw)
1018 | end

But this is from the world, we need from the vehicle

https://gdn.giants-software.com/documentation_scripting_fs19.php?version=script&category=41&class=446#writeStream6375
In the "writeStream" method, is used "getWorldRotation", then this value is read in "readStream".
Maybe using "getRotation", return the local values.

for i=1, table.getn(self.components) do
1076 | local component = self.components[i]
1077 | local x,y,z = getWorldTranslation(component.node)
1078 | local x_rot,y_rot,z_rot = getWorldRotation(component.node)
1079 | NetworkUtil.writeCompressedWorldPosition(streamId, x, paramsXZ)
1080 | NetworkUtil.writeCompressedWorldPosition(streamId, y, paramsY)
1081 | NetworkUtil.writeCompressedWorldPosition(streamId, z, paramsXZ)
1082 | NetworkUtil.writeCompressedAngle(streamId, x_rot)
1083 | NetworkUtil.writeCompressedAngle(streamId, y_rot)
1084 | NetworkUtil.writeCompressedAngle(streamId, z_rot)
1085 | end


🐛 Bug Report: Event based GitHub Discovery is not working in latest version of backstage

📜 Description
In backstage backend new approach & legacy this.events.publish() is not updating or creating entity in Backstage catalog. Currently github provider is only updating the info in database and that create the rate limit error. As per the documentation we can enable GITHUB Webhooks and backstage events based on events-backend-module-github we can achieve the catalog entity creation & updation but in V 26.0 it is not working as expected
👍 Expected behavior
New entity should be created in catalog listing using github webhooks using events-backend-module-github, by this endpoint /api/events/http/github
👎 Actual Behavior with Screenshots
NA
👟 Reproduction steps
configure /api/events/http/github in github wekhooks for push event and configure events-backend-module-github, and other dependency using https://backstage.io/docs/integrations/github/discovery/ create new push to main branch in githuib to trigger the webhooks.
📃 Provide the context for the Bug.
No response
🖥 Your Environment
No response
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?

I have added below code in my app-config. I will upgrade the version tomorrow and check again
events:
http:
topics:
- github


Fix typo in ST2 version

This fixes a mistake in my previous patch to STM version detection (2.4 -> 2.3). (sorry about that!)

Applied in r21817, thanks!


netbox: 3.4.7 -> 3.4.10

Description of changes
Changes:

https://github.com/netbox-community/netbox/releases/tag/v3.4.8
https://github.com/netbox-community/netbox/releases/tag/v3.4.9
https://github.com/netbox-community/netbox/releases/tag/v3.4.10

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Welp, a new breaking version just released: https://github.com/netbox-community/netbox/releases/tag/v3.5.0 (so fast!)
According to the release schedule, this means NetBox 3.5.0 will not be in NixOS 23.05, is that correct @RaitoBezarius?
Is there a branch I can target for the "next" NixOS unstable, or should I wait for branch-off?

Netbox 2.5.0 can make it into NixOS 23.05 if it is merged into master before 2023-05-22.

Oh, I inverted the meaning of the sentence. I'll propose the change in this PR then.