Add a "Versus" game mode

The basic idea is that in this mode the location is chosen by one of the players and the others try to guess it.
Things to figure out are:

how scoring works
when/how does the player choose the location
how to make the round not too boring for the player that choose the location? (they probably should see where people are guessing, live)
when and how do the players choose a location (everyone at the same time at the beginning of the game? everyone separately as each round starts?)

On Sun, Jan 17, 2021 at 11:47 AM Anna Szybalska<EMAIL_ADDRESS>wrote:

how to make the round not too boring for the player that choose the
location? (they probably should see where people are guessing, live)

Maybe have two groups of players, and one player from each group choose the
location for the other group?

On Sun, Jan 17, 2021 at 11:47 AM Anna Szybalska<EMAIL_ADDRESS>wrote:

how to make the round not too boring for the player that choose the
location? (they probably should see where people are guessing, live)

Maybe have two groups of players, and one player from each group choose the
location for the other group?

done, the chief can load custom locations from an url

done, the chief can load custom locations from an url

We still need a way to let each user choose their round, figure out the scoring, and the ui for this one.

We still need a way to let each user choose their round, figure out the scoring, and the ui for this one.


[FLINK-20689] Upgrade to Flink 1.11.3

This PR upgrades Flink version to 1.11.3.
Moreover, the isUsingCustomRawKeyedState flag is being set on the FunctionGroupOperator. Setting this flag will now (finally) enable us to safely restore from savepoints from versions earlier than 2.2.1, and containing feedback elements.

Those files were added by me, and yes we should drop them.

Also (and more importantly) remove those files from apache/flink-statefun-docker

Thanks, will remove those no longer needed files.


Duplicated Blueprint JS CSS styles

We are loading a large amount of extra stylesheet data, at least on some pages. This obviously impacts loading.
This is from the /maps/@id page:

This also seems to happen for our own styles:


MPI-INF-3DHP dataset

Thank you for you interesting work.
Is it possible to also release the preprocessed data for the MPI-INF-3DHP dataset to allow fair comparison?

Hi, the annotations can be downloaded here: https://drive.google.com/file/d/1LJFw84Egv_sBRZlRvL2_BVOWI3ybMv1U/view?usp=sharing
Loading and preprocessing the annotations should be similar as done in data_h36m.py (except maybe reordering the joint ids to match the h36m skeleton). Unfortunately, I currently don't have the time to prepare the script myself.


Feature request: Retrieval Augmented Generation (across all notes)

Adding retrieval to this plugin would be super powerful!
https://js.langchain.com/docs/get_started/introduction
Is something like this in the works? Potentially the chat interface could all for selection of the llm's access, with retrieval across: retrieval on current note, all of current note, retrieval across all notes, or no retrieval. this would also optimise token usage for the input on the current note.
Thanks for the great work

Hello again, I found this plugin which implements retrieval to some degree that might be helpful: https://github.com/glovguy/obsidian-gpt-zettelkasten/tree/main
Thanks again,

Hello again, I found this plugin which implements retrieval to some degree that might be helpful: https://github.com/glovguy/obsidian-gpt-zettelkasten/tree/main
Thanks again,

This would be a really nice feature to have. Honestly, the only complaint I have is that I can't use my entire Vault for reference. Otherwise, it is a wonderful plugin. Thanks.


Update documentation for OVS config; add make create-sample

the documentation wasn't up to date wrt OVS config & openshift 4.10.
Also, I added a make target to more simply create a sample FlowCollector resource

/approve


Issue with Story Navigation for Users

Hello,
I am encountering a problem with the navigation of user stories. When I click on a user's story, the first image displays correctly. After clicking "next" to view the next image, if I try to go back to the previous image, it always shows the first image instead of the expected previous one.
Thank you for your assistance in resolving this issue.
Best regards

Having the same issue:
TypeError: ref.current?.resume is not a function (it is undefined)

@DaveGlad please check whether the issue was connected to error provided by @14850842 and if the fix helped and let me know, otherwise, please, provide video and your code to describe the problem. Thank you

Having the same issue:
TypeError: ref.current?.resume is not a function (it is undefined)

Please, update react-native-video library, that should fix the issue.


FreeRTOS+TCP using same uncrustify rules as AWS and FreeRTOS kernel

Description
Until now, the formatting of the source code was a bit different from other AWS libraries.
From now on the same uncrustify config file will be used, e.g. uncrustify.cfg.
I applied uncrustify with mentioned config file and pushed the changed source files.
Checklist:

[x] I have tested my changes. No regression in existing tests.
[ ] My code is Linted.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

B.t.w. I had to run uncrustify 2 or 3 time before the output would be the same as the input. These were minor white-space changes, like e.g.:
-#else  /* if ( ipconfigUSE_LINKED_RX_MESSAGES != 0 ) */
+#else /* if ( ipconfigUSE_LINKED_RX_MESSAGES != 0 ) */

In the second run it removed the extra space after #else.

/bot run checks

Since I submitted this PR, many things have changed in the repo, and it will take a lot og rebasing/merging to get it OK.
One of the good things that will changes is that for CBMC, the patch files won't be used anymore for FreeRTOS+TCP.  These were used to remove certain keywords like "static".
Once these changes are ready, I will create a new PR that applies the uncrustify rules.
Now closing this PR.


Detect if using nvim-0.10 and use new inlay_hint.enable method

Neovim introduced a breaking change to how inlay-hints were handled in 448907ff. Check to see if the user is using nightly and if so use the newly added .enable method.

You might also change the keymap as I posted in the recently opened issue. But you might need to adjust it to take into consideration Neovim stable as well, as I only posted the solution for nightly as requested in the issue.

change line 117 to
	local inlay_hint = vim.lsp.buf.inlay_hint or vim.lsp.inlay_hint.enable

the function signatures are the same

@dpetka2001  You might also change the keymap as I posted in the recently opened issue. But you might need to adjust it to take into consideration Neovim stable as well, as I only posted the solution for nightly as requested in the issue.

Thanks for catching that. Updated the keymap as well


feat(@angular/cli): adding skip e2e test option

Adds another option to skip e2e tests
--skip-e2e (Boolean) (Default: false) Skip creating e2e files.

Fixes: https://github.com/angular/angular-cli/issues/5724

This not seems be working in 1.2.0, I ran
ng new my-app --skip-e2e --skip-tests -d
It still generate e2e directory and protractor config

This not seems be working in 1.2.0, I ran
ng new my-app --skip-e2e --skip-tests -d

For the record it should be --skip-e2e true.  Pretty weird if you ask me.

I think this feature was reverted on 7a6cb215

Why was this reverted? Not everyone needs this scaffolded :(

i dont want to scaffold e2e files, just want to scaffold the app, i dont want any test related files or frameworks scaffolded upon creation of new app


Formatting variadic externs drops variadicity

From
        extern "C" {
            fn syscall(number: libc::c_long, ...) -> libc::c_long;
        }

to
        extern {
            fn syscall(number: libc::c_long /* ... */) -> libc::c_long;
        }

Note that variadic specifier (...) has been commented out (why??)

I hadn't considered the possibility!


C/C++ extension module for Python

Any working project for download ? Getting tired with LINK : fatal error LNK1104: cannot open file 'python27_d.lib'

The easy fix for that is to change your solution configuration from "Debug" to "Release".
Currently we only have a project for Python 3.5 and later, which is included in VS 2017 when you select the native development option in the Python workload (it's in the C++ templates section).


Update dependencies

Update dependencies:

fluxcd/pkg/apis/meta v0.14.1
fluxcd/pkg/runtime v0.16.1
github.com/ProtonMail/go-crypto 0.0.0-20220517143526-88bb52951d5b
github.com/fluxcd/pkg/gittestserver 0.5.4
github.com/fluxcd/pkg/ssh 0.4.0
github.com/google/go-containerregistry 0.9.0
golang.org/x/crypto 0.0.0-20220525230936-793ad666bf5e
sigs.k8s.io/kustomize/kyaml 0.13.7
gopkg.in/yaml.v3 v3.0.0

And the GH actions.

I think we should wait until we release SC so we can get rid of the gitkit replacement, we need to switch SC to fluxcd/gitkit first.


add defaultValue prop

used for initial population: https://facebook.github.io/react/docs/forms.html#default-value

The initial value can be set through value.
https://github.com/HBM/react-components/blob/master/examples/js/components/textfieldRoute.js#L45
Example:
https://hbm.github.io/react-components/#/textfield?_k=urzan5
Since we have the onChange handler I don't think we need the defaultValue prop.


Add Toggle for Minimap

What type of PR is this? (check all applicable)

[ ] Refactor
[x] Feature
[ ] Bug Fix
[ ] Optimization
[ ] Documentation Update

Have you discussed this change with the InvokeAI team?

[ ] Yes
[x] No, because:
If they find it useful they can merge it in

Description
Option to toggle off the minimap with default being on(true)
Related Tickets & Documents

Related Issue #
Closes #

QA Instructions, Screenshots, Recordings

Added/updated tests?

[ ] Yes
[ ] No : please replace this line with details on why tests
have not been included

[optional] Are there any post deployment tasks we need to perform?


A GUI for editting settings

A GUI for editting settings
Well, I have worked with config files before ( also JSON ). It is the settings.json of Visual Studio Code. But VSC has a GUI page for the ''Settings'' command. When I clicked the ''Settings'' in Windows Terminal for the first time, I felt surprised because no settings window showed in my screen, but a VSC window opening the settings.json. Though I know how to write in JSON files, I still felt uneasy to edit settings in a JSON file. If Windows Terminal could have a GUI for editting settings, it would be easier for beginners to use. What's more, not everyone has a text editer for JSON, and if the settings.json is opened as plain text, it will be hard to read.
I hope Windows Terminal can have a GUI for editting settings.

We have #1564 for this. There are many related discussion and designs in that issue you may find interersting.

Thanks for the suggestion! Please make sure to search for duplicates when filing new issues. This is already being tracked by another issue on our repo - please refer to #1564 for more discussion.
/dup #1564

Thank you!
------------------ 原始邮件 ------------------
发件人: "Chester<EMAIL_ADDRESS>发送时间: 2020年8月4日(星期二) 中午1:49
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS><EMAIL_ADDRESS>主题: Re: [microsoft/terminal] A GUI for editting settings (#7170)
We have #1564 for this. There are many related discussion and designs in that issue you may find interersting.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Element Settings: Input Field - Enter closes Settings dialog

Version: 1.3.40-alpha6
When entering text or numbers into Input fields, ENTER should confirm the input according to the OK button, instead of closing the Settings dialog window.
ENTER should also confirm a colour selection, not close its superior Settings dialog window.

valid point

Dialog is closed now with escape button. Feature availlable in v1.3.41.alpha-1


Only text/plain ?

Hey !
Firstly Thanks for your work !
However, i have got an issue:
My server receives only request with Content-Type: 'text/plain'.
This is my code :
const DEFAULT_POST_HEADER: {[name: string]: string} = {
  'Content-Type': 'application/json',
  'Accept': 'application/json'
};

bootstrap(AppComponent, [
  provide(APP_BASE_HREF, {useValue : '/' }),
  APP_ROUTER_PROVIDERS,
  HTTP_PROVIDERS,
  ANGULAR2_GOOGLE_MAPS_PROVIDERS,
  NG2_UI_AUTH_PROVIDERS({
    providers: {
      facebook: {
        clientId: FACEBOOK_CLIENT_ID,
        url: 'http://localhost:8080/auth/facebook'
      },
      defaultHeaders: DEFAULT_POST_HEADER
  }})
]);

Do you know where am i wrong ?
Thanking in advance.

Try putting the default headers outside the providers

Indeed... Thank you for your reply !

No problem :)


Remove usage of legacy ENV syntax

The syntax for ENV instructions that doesn't use an assignment operator is being phased out.  All Dockerfiles that use this syntax should be updated.
https://github.com/docker/cli/pull/2743
Legacy syntax:
ENV var value

Current syntax:
ENV var=value

Fixed as part of https://github.com/microsoft/dotnet-framework-docker/pull/714

Fixed as part of https://github.com/microsoft/dotnet-framework-docker/pull/714


[Question] shapeToPath without document?

Would it be possible to create the shapeToPath and shapeToPathArray functions without reference to document.
It would be very nice to use svg-path-commander on the commandline or in node (without jsdom...)

Not a way I could think of right now, but I'm looking at this code and I'm thinking we could change the logic a bit, not sure, have to test.
Check back tomorrow.

@thednp thx for the reply.... I know this is a tricky task.
For me it would already be helpful to remove hard references to document (and maybe just return the original value) to not run into exceptions when calling some functions from Node (or the client)

@tiptronic
Everything in svg-path-commander is supposed to work in Node.js/Deno/Bun, except shapeToPath which returns real DOM nodes OR override existing nodes.
I've modified shapeToPathArray to check if input is typeof Element differently. You can use this one now.
What you need now is something that generates markup from ShapeType objects:
import { shapeToPathArray, pathToString, type ShapeOps  } from 'svg-path-commander';

const shapeParams: ShapeParams = {
  line: ["x1", "y1", "x2", "y2"],
  circle: ["cx", "cy", "r"],
  ellipse: ["cx", "cy", "rx", "ry"],
  rect: ["width", "height", "x", "y", "rx", "ry"],
  polygon: ["points"],
  polyline: ["points"],
  glyph: ["d"],
};

function shapeObjectToMarkup(shape: ShapeOps) {
  const pathArray = shapeToPathArray(shape);
  const d = pathToString(pathArray);
  const config = { type: shape.type } as Record<string, string>;
  const shapeAttrs = shapeParams[shape.type];
  let attributes = "";
  Object.assign(config, shape);
  // set no-specific shape attributes: fill, stroke, etc
  Object.keys(config).forEach((k) => {
    if (!shapeAttrs.includes(k) && k !== "type") {
      attributes += ` ${k.replace(/[A-Z]/g, (m) => '-' + m.toLowerCase())}="${config[k]}"`
    }
  });

  return `<path${attributes} d="${d}" />`;
}

Try it out:
shapeObjectToMarkup({ type: 'glyph', id: 'glyph', d: 'M143.5 22.72H166s3 0 3 3v22.56s0 3 -3 3h-22.5s-3 0 -3 -3V25.72s0 -3 3 -3', fill: 'rgba(255,255,255,0.3)' });

// returns <path id="glyph" fill="rgba(255,255,255,0.3)" d="M143.5 22.72H166s3 0 3 3v22.56s0 3 -3 3h-22.5s-3 0 -3 -3V25.72s0 -3 3 -3" />

Test the current github version with the change to shapeToPathArray:
npm i github:thednp/svg-path-commander

Once you confirm it's all good, I'll push it to npm.

@tiptronic ?

@thednp hehe - I'm @ work right now.... so it can take a little to respond ;)
First:
import { shapeToPathArray, pathToString  } from 'svg-path-commander';

doesn't work in ESM (Javascript)
SyntaxError: The requested module 'svg-path-commander' does not provide an export named 'pathToString'
but replacing the named imports works:
function shapeObjectToMarkup(shape) {
  const pathArray = SVGPathCommander.shapeToPathArray(shape);
  const d = SVGPathCommander.pathToString(pathArray);
  const config = { type: shape.type };
  const shapeAttrs = shapeParams[shape.type];
  let attributes = "";
  Object.assign(config, shape);
  // set no-specific shape attributes: fill, stroke, etc
  Object.keys(config).forEach((k) => {
    if (!shapeAttrs.includes(k) && k !== "type") {
      attributes += ` ${k.replace(/[A-Z]/g, (m) => '-' + m.toLowerCase())}="${config[k]}"`
    }
  });

  return `<path${attributes} d="${d}" />`;
}

👍
(...it was not what I was originally looking for, but that's okay - I thought I can use shapeToPath by directly passing in a svg-rect:
<rect x="0" y="0" width="50" height="50" rx="12"></rect>

and have it converted to a path:
<path d="M30 25h40s5 0 5 5v40s0 5 -5 5h-40s-5 0 -5 -5v-40s0 -5 5 -5" />

But it's easy enough to do that I guess... (sorry I'm new to svg-path-commander (just found it yesterday) - so it might already be possible. But anyway - thanks for your fast tweaks 👍

Sorry I forgot vite doesn't handle exports with tree shaking without breaking your head.
You have to know, as of now, Node.js does not have a browser environment without JSDom, only Deno 2 has as far as I know. It would be required to parse the <rect /> reliably via the DOMParser API and absolutely mandatory to sanitize the attributes. So it's not specific to our library here.
So are we good to publish a new tag to npm you think?

@thednp np... I think you can publish it as is... it works fine for me.
regarding jsdom etc... I (for one) process raw SVG only, which is then send to another device to get shown. That means, I don't have document, jsdom, etc per default available. That's why I am/was mostly interested in the path manipulation provided by svg-path-commander... So maybe the name svg-path-commander was a bit misleading for me, but I think I can make good use of it at some point.
Parsing the <rect> is mostly problematic in this regard, because it's final dimensions rely on other factors (e.g. transforms, viewbox, etc...), I guess that's not simply to solve via code-only (except of re-creating a whole SVG-processor... in which case it's much simpler to use jsdom or svgdom)
so anyway - thanks for this addition and your time! 👍


New label(s) for formatting

Is your feature request related to a problem? Please describe.
I've seen a lot of pull requests and issues lately about the formatting of either the source code or the UI. Currently, It's all grouped under "enhancement"
Describe the solution you'd like
It would be nice to be able to group those with a label like "Format", or separate labels, "Code cleanup" and "UI Format", and use the "enhancement" for things like new features.

@daniel-sudz I think you added some labels before so organize this however you see fit

We could also add another label for new features, maybe "new-feature"

@theTisch21 made labels. save enhancement for new features


Using formula in widget ObjectID field

Here is my fully operational widget with ActualTemperatureID derived from AccuWeather adapter showing temperature in degrees C. My ObjectID of interest here is accuweather.0.Current.Temperature.

I am trying to convert temperature to degrees F using binding of ObjectID in widget. As I understand from VIS WiKi here is what I need to enter into ActualTemperature ID, but it does not work. What am I doing wrong?
{accuweather.0.Current.Temperature; *(9);/(5);+(32)}

Not in Object ID, but into html widget.

And it will only be rendered in runtime (not in edit mode)

Thank you, the formula does work in gadget HTML field. So, does it mean
that "Bindings of objects" paragraph in VIS WiKi is only about HTML? It
would be great to make it clear in WiKi page
Regards,
Anatoly
On 9/20/2020 2:59 PM, Bluefox wrote:

Not in Object ID, but into html widget.
image
https://user-images.githubusercontent.com/4582016/93719623-0d8fbc80-fb84-11ea-9ec0-1fbc159dc307.png
And it will only be rendered in runtime (not in edit mode)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ioBroker/ioBroker.vis/issues/301#issuecomment-695822848,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEV7FRIOS2FHYURSOJWPS23SGZGIFANCNFSM4RMHMEUA.


feat: Added configuration editor step

Description

Added configuration editor step
-  Removed @bfc/code-editor dependency in favor of Monaco.
Made recoil atoms more granular.
Moved extension initialization to a hook.

Task Item
refs #5744
refs #7632
Screenshots

Coverage decreased (-0.01%) to 50.028% when pulling 3835ef004ae1c07028f9955ad7cf84ee79a1a8d1 on vmodem/configuration-editor-step into f2f768414ccd9c5a475d90361b4851c3e43eae54 on main.


TLS: add {verify, verify_peer} to enable verification for OTP 26

When the CouchDB custom (couch) distribution is enabled, OTP 24 and 25,
you will get a warning when using remsh-tls or remsh -t; but in OTP 26,
this is an error. Because the default value of the verify option is verify_peer
instead of verify_none. We need to provide the appropriate CA certificates to
pass the validation.
$ ./dev/remsh-tls
=WARNING REPORT==== 4-May-2023::12:43:28.893022 ===
Description: "Server authenticity is not verified since certificate path validation is not enabled"
     Reason: "The option {verify, verify_peer} and one of the options 'cacertfile' or 'cacerts' are required to enable thi    s."

$ ./dev/remsh-tls
Could not connect to<EMAIL_ADDRESS>
Add some commands in configure to generate different certificates and
couch_ssl_dist.conf files according to different OTP versions to ensure
remsh can successfully connect to the node.

Overview

Testing recommendations
For OTP 26, {excl_archive_filters, [".*"]} in reltool.config needs to be removed.
https://github.com/apache/couchdb/blob/main/rel/reltool.config#L76
Ref: Remove archives support in reltool

Related Issues or Pull Requests

Checklist

[ ] Code is written and works correctly
[ ] Changes are covered by tests
[ ] Any new configurable parameters are documented in rel/overlay/etc/default.ini
[x] Documentation changes were made in the src/docs folder
[ ] Documentation changes were backported (separated PR) to affected branches

I agree with nick. The value of --generate-tls-dev-cert is to demonstrate how to correctly set up a couchdb cluster with TLS for the erlang distribution protocol as much as possible. So the nodes should mutually authenticate each other. The nodes will need a certificate each (with their erlang node name as the Common Name attribute), etc. The only difference between what we do here and a real setup should be the node certificates and the CA that signed them.
I've also suggested elsewhere to move the logic from configure to dev/run as we only know the number of nodes at dev/run time. With that done it will be possible to automatically add the correct arguments to vm.args for each node, like we currently do to add the individual node names.


Adding to notes for delegating permissions for System Managed Identity cluster

There is a small note on this page regarding System Managed Identity cluster that states that it takes 60 minutes for changes to delegated permissions to propogate.
As System Managed Identity is the default when deploying AKS clusters I would suggest that this note is brought into this page as it took me quite some time trying to work out how to refresh credentials for System Managed Identites (it appears this is unncecesary as it refreshes periodically).

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

Thank you for the feedback.
LGTM.
#sign-off

@zr-msft: I'm sorry - only the author of this article, @mlearned, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


[Feature Request]: Players Online GUI/overlay position

Describe the feature you'd like to see added
Since this new GUI/overlay is really powerful, it would be great to see the positions of the players in real time without having to wait for the end of the race to know who is in the first places.
for example Daytona Usa psn shows it.

I think the game's graphics window has enough space for it.

I understand that if you are willing to add this silicone you will need directions.
status = the online game when it starts to show everyone's positions and hide when it ends. how many players are in the session = to create the fields in GUI/overlay. player name = to write it in the field corresponding to the position. car color = to show the nickname of the same color. real position of the car online = to sort it in the corresponding field in GUI/overlay.
If it will make your job easier, you could search for these addresses and paste them here.
For example here we have.
chosen car color OR2006C2C.exe+3D69F0 4bytes = red1 yellow2 black3 white4 graysilver5 green6 light_blue7 dark_blue8

Neat idea, maybe we could use the games text drawing funcs as well so it'd use game fonts for it (like how cdswitcher draws track names)
Thanks for the addrs too, might try something with it soon


samples: net: sockets: coap_server: fix separate response MID reuse

Fixes #71620 by generating a different CoAP message ID for the the seperate response.

s/the the seperate/the separate/ in your commit message would be nice if you have a chance :)

done


Load image over HTTPs

This change should stop the NPM site from displaying 'Not Secure' due to an image being loaded over HTTP, not HTTPs.

Thanks!


[1.11.2] CPU spike when player viewing grid, crafting grid or controller GUI

Issue description:
CPU utilization on the server is too high
What happens:
When any player right clicks to view a grid or crafting grid, the server's CPU utilization for the thread spikes to over 120%
What you expected to happen:
Not overuse the CPU
Steps to reproduce:

Open TOP on the server console to view the java instance
have any player right click into a grid or crafting grid
watch the CPU utilization jump from 15-20% up to 120%+

...
Version (make sure you are on the latest version before reporting):

Minecraft: 1.11.2
Forge: 1.11.2-<IP_ADDRESS>5
Refined Storage: refinedstorage-1.4.11

Does this issue occur on a server? [yes/no]
YES
If a (crash)log is relevant for this issue, link it here:
No crash log or server messages
[pastebin/gist/etc link here]

https://refinedstorage.raoulvdberge.com/wiki/profiling

I took a sample while a player was in the grid GUI and CPU on the server CPU was 120%+
https://dl.dropboxusercontent.com/u/1949756/pughland.nps

It happens also in singleplayer - I can hear my CPU's cooler running on max speed while viewing the GUIs.

I can confirm this behavior a well. I'm using 1.4.18 on minecraft 1.11.2 with forge <IP_ADDRESS>3

Create a profiling report, these comments are worthless.

 And still no fix out yet. This mod literally crashes our server, and creates unneeded lag that affects everyone playing.

I originally reported this June 11 and after subsequent updates, the problem has gone away.   Just an FYI.
Raoul is doing a good job on what has matured into a real nice mod, keep up the good work.

The problem has not gone away for singleplayer. Version 1.4.18 (for minecraft 1.11.2) still exhibits this issue.

I can confirm this. Every time i open crafting grid and even the solder the cpu fan starts spinning very fast.  Look into fixing it instead of repeatedly asking for the same thing you've ALREADY been giving. All you're doing is giving yourself, and RS a bad reputation. Your issue obviously hasn't been resolved, and I seriously doubt that MULTIPLE people are going to comment that they have the issue, if they don't actually have the issue.

Every system is different and the issue can be something else different times.
I never said I don't believe this issue exists - I need enough reports for a good fix.
Also I'd recommend you to tone down your foul mouth or you can enjoy a nice ban from this tracker.

Feel free to ban me. Doesn't seem like reporting issues here does anything anyway.

That is obviously false with over 1200 closed issues and 1,5 years of bugfixes.

The mod is entirely free and I do this in my spare time as a hobby, I don't need ANYONE telling me that I don't fix bugs.

@raoulvdberge Sorry for the drama.... The problem is that there is no sampler for 1.12 https://refinedstorage.raoulvdberge.com/wiki/profiling
Also it would be awsome if you could make a discord server.

There, another nps: report

Minecraft 1.11.2
refinedstorage-1.4.20
inventory.nps with default minecraft inventory gui and no problems.
controller.nps with rf controller gui and high server cpu usage.
profiles.zip

Thanks, I'll look into these later this week.
@adih2001 I added a section for MC 1.12 to the wiki. Don't mind the "drama", you didn't cause it.   It's so simple..just place down any RS block with an interface window, and open the interface window while watching task manager to see the CPU usage go up..  You don't even have to provide power to it.
Here's what I can add about this bug:
I noticed it in v1.5.14, and it still exists in 1.5.16.
I'm using Minecraft Forge <IP_ADDRESS>3.
I've tried RS with it as the only mod, and with my full modpack, same results.
It happens both in singleplayer (Windows), and server (Linux).  (The server is the one that experiences the high CPU usage in a client/server combo)
Oddly, Wireless Grid's don't cause the high CPU usage.
The high CPU usage appears to happen in its own thread, as it doesn't lag the server as long as you have enough CPU cores.
And here's my NPS file from the server.. I started sampler before I opened the interface to a Controller in this case, and stopped it maybe 4 seconds later while it was still open.
highcpu.zip

Hi @raoulvdberge,
I had this problem on my 1.11.2 server and it went away with some updates.   Now it is on my 1.12 server.   Same behavior as before: player clicks in to a grid and the server CPU spikes up from 2-5% to over %100 on the java thread, as seen through Top and felt by users.
Here is the NPS file:
pughland.nps.zip
Using: refinedstorage-1.5.14.jar
I will update shortly to the 1.5.16 and see if it happens there.

I was able to confirm that the CPU spiking does NOT happen in either the Wireless Grids or the Portable Grids.   Any other GUI the player clicks into does cause a CPU spike.
If there is any other additional data or measurement you need to track this down, or if you would like to runs some tests with one of my servers, I would be happy to assist.

To be clear.. it's not actually a spike, it's sustained high CPU load for as long as a GUI is open.

Thanks for all the profiling reports guys, and sorry for the long wait. I've identified the issue and I'm working on a fix now, coming to the next RS release.


Listing Branches By Active / Stale / Deleted

Apologies if this isn't really the right place, if there's already a better setting I could use...
Github's branches view for a repo is really useful when it lists by active / stale. I'd love to be able to do something like git branch -a --active to show only the branches that GitHub considers currently active. Additionally, it would be super awesome if I could further filter the list by whether a branch was deleted, or maybe the default is to just hide deleted branches even if they are recently active. (since by default -a includes all branches that have been pushed to the repo, the output is rather unwieldy..)
Thanks for an awesome tool! ❤

It's a nice idea, but I'm not sure if this would belong to hub. You could do it with a relatively simple script locally that iterates over the list of branches and checks the commit or authorship date of the latest tip of the branch. Also, I'm trying to focus hub more on implementing custom commands rather than extending existing git commands.
I'm not sure what you meant by deleted branches, though!

Thanks for the response @mislav I see what you mean by using an existing script and I'm probably going to get around to that a some point. :) I wasn't sure whether "active" in terms of a repo's branch on Github was something more than just by date, but as that's a list I look at regularly, it'd be nice to have the CLI tools match.
What I meant by deleted is this: if I start autocompleting branches I get a bunch of branches which have been pushed and since deleted from my local machine and from Github.
For example:
$ g pull origin michael/late [\tab\tab]
michael/late-policy-asub-viewer*       michael/late-submission-with-viewer*
michael/late-policy-new-viewer        michael/latepolicy*
michael/late-sub-column               michael/latepolicy-viewer
michael/late-submission*

Only the 4 that I've marked with a * are currently on Github. The rest were pushed, but deleted (and some of them never merged.) Able to only see the specific 4 branches.
I think I could restrict the configuration to only show local branches, but checking out teammates active branches is also very handy, so I like seeing remote branches (also since I'll switch computers); it would just be helpful if they could be filtered down.
I hope that makes more sense!

Using hub sync from latest prerelease of hub should clean up your local branches that correspond to branches that were merged and deleted on GitHub.
I'll still think about --stale/--active options.

Using hub sync from latest prerelease of hub should clean up your local branches that correspond to branches that were merged and deleted on GitHub.

That's awesome! I'll test that out.
Thanks!


Feature request: Install only packages from an optional group

Sometimes it would be useful to be able to install only the packages from an optional group (but not the main or dev dependencies).
For example: When building a documentation site, or deploying an application in CI it might be useful to only install the packages relating to documentation or deployment without also installing the application's full tree of runtime and/or dev dependencies - particularly for larger projects.
Poetry does heave this feature via the --only flag e.g: poetry install --only <group>
As far as I can tell, uv sync doesn't allow this via any combination of flags.

I think we have this -- uv sync --only-group dev or similar.

Awesome - thanks.
Yes this issue was raised on 17 Oct. Looks like this feature is new in 0.4.27 which was released on 25 Oct.
I will give this a look. Thanks


UNKNOWN_IO_ERROR while downloading file

This error comes while downloading files in Android x or API 29

Can you provide more details: You can enable logging in Fetch:
 final FetchConfiguration fetchConfiguration = new FetchConfiguration.Builder(this)
                .enableLogging(true)
                .setDownloadConcurrentLimit(3)
                .build();

android:requestLegacyExternalStorage="true"
add on manifest under application section


Add more release build targets

This resolves #561 and #156, as well as adding a RISC-V binary. Resolving #156 was a matter of setting the target in the build while resolving #561 required adding cross.rs to the build system. While I was rewriting the build system, I also swapped the deprecated actions/upload-release-asset for ncipollo/release-action.

Could you please also add armv7 to support older Pis as well?

Thanks!

fixes #109


Python 3 for action proxy.

Fix syntax in 3 tests.
@cclauss this should help you - I do not intend to merge this, but I created it for your convenience.

Fixes adopted by @cclauss in related prs.


Improving TiKVperformance

This is my performance test report：
https://github.com/arthuryangcs/High-Performance-TiDB-Homework/blob/master/lesson-03/perf.md
I think the bottleneck of cluster is the IO of TiKV. Maybe we can compress data which storage on the desk to optimize the performance. It's a space-time tradeoff. The methods including but not limited to the data compression algorithm and a more compact data structure.

/label component/performance

/label status/waiting

Hi, @arthuryangcs .  There are several optional compression algorithms for rocksdb, maybe you can check the document.

yes, rocksdb is already doing compression, and we support various compression algorithms. One thing we can try is enabling dictionary compression https://facebook.github.io/zstd/#small-data. Are you interested in contributing?


Update fix test

merges updates from update_demo

To resume,

the development branch is composite_operator_datacontainer,
demos contains the demos from Vaggelis
update_demos contains the merge of demos with the latest development branch
fix_test tried to recover some tests with LinearOperatorMatrix which wouldn't work anymore, but didn't work as it was branching from the development branch.
update_fix_test updates the fix_test with the latest update_demos branch (i.e. updated with the latest Vaggelis's branch)

Therefore we could merge update_demos first and then update_fix_test.


rename is_static_gain method in LTI systems to _isstatic

because it should be private, and to be consistent with iosys

Coverage remained the same at 87.754% when pulling 04dc3604317dbd973b8b74d06d97694ba1c4c0d0 on sawyerbfuller:rename-static into 6d513589810d54fa89d7cf234462d1a370c7d127 on python-control:master.

Coverage remained the same at 87.754% when pulling 04dc3604317dbd973b8b74d06d97694ba1c4c0d0 on sawyerbfuller:rename-static into 6d513589810d54fa89d7cf234462d1a370c7d127 on python-control:master.


feat: update to 1.13.0

new userReviewList query
new deleteUserReview query
updated addReview mutation

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Sqlx-cli sqlite database reset: "error (code: 14)" with v0.7.1 but not v0.6.3

Bug Description
Running
> sqlx database reset --database-url sqlite://<full path to file> -y
outputs
error: error returned from database: (code: 14) unable to open database file
with sqlx-cli v0.7.1 but works fine with v0.6.3
the issue also appears with relative file paths
Minimal Reproduction
see above
Info

SQLx version: 0.7.1
SQLx features enabled: ["sqlite", "macros", "chrono", "runtime-tokio-rustls", "migrate"]
Database server and version: SQLite (the version built into sqlx)
Operating system: Windows 10 22H2 & Windows 11 22H2
rustc --version: "rustc 1.72.1 (d5c2e9c34 2023-09-13)"

Also occurs in 0.7.2 with

Windows 10 22H2
rustc 1.73.0-nightly (439d066bc 2023-08-10)

Looks like the database file needs to exist beforehand. On my end a touch data.db does the trick, then works with relative or absolute paths.


Code coverage seems to be collected incorrectly

I am looking to upgrade several projects to Vue 3 and I am running into an interesting issue when collecting code coverage. For some reason, when switching to Vue 3, the code coverage statistics are incorrect, but the tests are running correctly. Below is a repository that minimally reproduces the issue I am running into. Also attached are a couple of screenshots that show the difference in coverage between Vue 2 and Vue 3.
https://github.com/sam-pastoriza/vue-3-coverage
With Vue 2, you get the following coverage in the repo.

With Vue 3, you get the following coverage, without changing the tests.

A readme file in that repository details how I switch between Vue 2 and Vue 3.
A couple of notes on the structure of the project I am working with.

We use vue-class-component as a library. I don't think this is causing the issue, but I could be wrong.
We are required to split up the components into separate .ts and .vue files.

Many thanks for the help. Hopefully this is the right place to post this issue.

Splitting the components up seems to cause the issue. It looks like the latest version of the package doesn't cover code that is include via a script. This only occurs when upgrading from Vue 2 -> Vue 3.

This is most likely a bug in vue-jest which isn't handling source maps correctly - test utils just provides some basic functions like mount, the problem lies in the mapping between the source (vue file) and output (compiled via vue-jest into something Jest can read).
Either way this is a very good reproduction, thank you!
I'll move this issue to vue-jest, which I desperately need to find time to work on...


Update contributors.json

Changes proposed in this pull request

Documentation that should be reviewed

Whoops.  Sorry about that...

Thanks!


Multiple Queries support on Graphoid

Hello @maxiperezc
Firstly, congratulations for your Graphoid gem, which automatically creates the basic GraphQL Queries and Mutations via ruby metaprogramming.
I wanna ask you a question regarding an issue, I believe a feature is not implemented on Graphoid yet...
How can I perform Multiple Queries on Graphoid?References: https://hasura.io/docs/1.0/graphql/manual/queries/multiple-queries.html
On GraphQL, it is possible to perform Multiple Queries. However, somehow, the Graphoid gem is restricting this feature.
In fact, an error is being shown when trying to perform multiple queries
Please, take look at the below picture..

With single queries, it works wonderfully, but I need to do multiple queries in my project :/

If it is not yet implemented on the Graphoid gem, can you give me an idea where I need to touch to enable this feature?
I'm willing to play with with Graphoid's internal code in order to make Multiple Queries this possible.
Best regards;
Thank You very much!
--

The line where this error happens
gems/graphoid-0.0.6/lib/graphoid/drivers/mongoid.rb:131


Config is brittle, gets stuck in cyclic loop when changes are made

Haven't quite pinned down what causes this but it's annoying
Error: Error asking for user input: 1 error(s) occurred:

* Cycle: azurerm_network_interface.vault-nic, azurerm_virtual_machine.vault, azurerm_public_ip.vault-pip

Fixed this by changing the depends_on statement.


TS client unit tests need love

The TS client unit tests are rough and need a lot of love. We need to properly mock out the WebSocket/EventSource/HttpClient and test them thoroughly. We have functional tests to fall back to, but we could have much better unit tests.

I'm a sad panda.


STUN implementation

Issue #, if available:
Stun implementation.
Description of changes:

Make STUN serializer/deserializer standalone and separate out the APIs.
Couple with standard C library only.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice

@hassanctech The validation is done as a part of API and functionality tests present in the SDK as well as the demo has been run with the changes. Thank you

@hassanctech The validation is done as a part of API and functionality tests present in the SDK as well as the demo has been run with the changes. Thank you

Thank you for the details @moninom1.  If you can please note in the description the testing that was done that will help, otherwise I don't know what testing was done.


add page comparing Web Client and RPC

resolves issue #8
comparison between Web Client and RPC so users can decide which suits the best for their intended interaction

Preview: https://nimiq.github.io/developer-center/build/web-client-rpc


feat(ci): cache deps

Description

Cache dependencies for CI runs. This PR speeds up dependency installation by ~50%. For more details checkout CI details of this PR or #235 (a test pr).
This PR also bumps up node version for release ci.
Fixes #182
Checklist

[x] My code follows the contributing guidelines of this project.
[x] I am aware that all my commits will be squashed into a single commit, using the PR title as the commit message.
[x] I have performed a self-review of my own code.
[x] I have commented my code in hard-to-understand areas.
[x] I have updated the user-facing documentation to describe any new or changed behavior.
[x] My changes generate no new warnings.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] I have not reduced the existing code coverage.

Comments

Previously deps installation took more than min.

Installation time reduced to 27s.

@git-anurag-hub please check the vercel failure or give me the logs.
@SalihuDickson @git-anurag-hub please review this.

change in package.json is due to a recent PR not pushing lock file

@git-anurag-hub can you please re run vercel build.


How to retrieve signed in account name from Windows Admin Center's custom extension

Windows Admin Center Settings shows Signed in account name. Can we retrieve that account name via AppContextService? or is there anyway to get the login username within the Windows Admin Center's custom extension?

Hi @venocp, GitHub issues in this repo is for reporting issues with specific articles that are published where there are mistakes, more clarity is required, etc. If there is an article you need us to investigate, please could you provide the link?  Otherwise, your request would be better off being made at https://aka.ms/wacfeedback, as that is managed by the product group. Thank you.

#assign:dknappettmsft

#please-close


Bump version to 1.2.4.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (0eb8358) 97.57% compared to head (effb92d) 97.57%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #288   +/-   ##
=======================================
  Coverage   97.57%   97.57%
=======================================
  Files          35       35
  Lines        2265     2265
  Branches      217      217
=======================================
  Hits         2210     2210
  Misses         54       54
  Partials        1        1

Flag
Coverage Δ

unittests
97.57% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

src/aeads/chacha20Poly1305.ts
100.00% <100.00%> (ø)

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


Add support for Kali Linux

I added support for Kali Linux. The example now produces:
OS information: Kali Linux 2023.2.0 [64-bit]
Type: Kali Linux
Version: 2023.2.0
Edition: None
Codename: None
Bitness: 64-bit
Architecture: Some("x86_64")

I hope the test are enugh like this. I am not sure if I didn't see more relevant testcases

I now also added support for when the lsb_release command is available. With the package installed the output is:
OS information: Kali Linux 2023.2 (kali-rolling) [64-bit]
Type: Kali Linux
Version: 2023.2
Edition: None
Codename: Some("kali-rolling")
Bitness: 64-bit
Architecture: Some("x86_64")

and the tests all Pass on my machine.
But I get a warning related to missing_doc_code_examples which doesn't seem related to my changes so I didn't touch it.

also, should I squash the two commit into one or keep them separate?

Sorry for the super late response and thank you for the pull request! Please ignore warnings, I will fix them in the next release that I also hope to publish soon. Also don't worry about the commits. 🙃


How to use the trained lora with diffuser or python code, without comfyui

I  had train my own lora and got the safetensors. but i don't know how to use it in py code. Can someone give me an example? Thanks!

upload it to hugging face and then click Use this model > Diffusers
you'll get something like this:
from diffusers import DiffusionPipeline

pipeline = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev")
pipeline.load_lora_weights("username/lora")


Not working in 1.5.2

I got this error while running the complete:
Parameter 0 of method demo in com.example.DemoApplication required a bean of type 'com.example.CustomerRepository' that could not be found.
Action:
Consider defining a bean of type 'com.example.CustomerRepository' in your configuration.
So, i change spring boot version back to 1.4.4 and it works.

Works for me. What did you do exactly?

I just clone the project and open "complete" with intelij.
I also follow this guide:
https://spring.io/guides/gs/accessing-data-jpa/
and i still get that error when run the main method.

$ git pull
Already up-to-date.
retina:gs-accessing-data-jpa gturnquist$ cd complete/
retina:complete gturnquist$ ./mvnw clean spring-boot:run
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building gs-accessing-data-jpa 0.1.0
[INFO] ------------------------------------------------------------------------
Downloading: https://repo.spring.io/libs-release/org/springframework/boot/spring-boot-starter-data-jpa/1.5.2.RELEASE/spring-boot-starter-data-jpa-1.5.2.RELEASE.pom
Downloaded: https://repo.spring.io/libs-release/org/springframework/boot/spring-boot-starter-data-jpa/1.5.2.RELEASE/spring-boot-starter-data-jpa-1.5.2.RELEASE.pom (3 KB at 3.3 KB/sec)
Downloading: https://repo.spring.io/libs-release/org/springframework/boot/spring-boot-starter-aop/1.5.2.RELEASE/spring-boot-starter-aop-1.5.2.RELEASE.pom
Downloaded: https://repo.spring.io/libs-release/org/springframework/boot/spring-boot-starter-aop/1.5.2.RELEASE/spring-boot-starter-aop-1.5.2.RELEASE.pom (2 KB at 7.1 KB/sec)
Downloading: https://repo.spring.io/libs-release/org/springframework/boot/spring-boot-starter-jdbc/1.5.2.RELEASE/spring-boot-starter-jdbc-1.5.2.RELEASE.pom
Downloaded: https://repo.spring.io/libs-release/org/springframework/boot/spring-boot-starter-jdbc/1.5.2.RELEASE/spring-boot-starter-jdbc-1.5.2.RELEASE.pom (2 KB at 7.2 KB/sec)
Downloading: https://repo.spring.io/libs-release/org/springframework/spring-jdbc/4.3.7.RELEASE/spring-jdbc-4.3.7.RELEASE.pom
Downloaded: https://repo.spring.io/libs-release/org/springframework/spring-jdbc/4.3.7.RELEASE/spring-jdbc-4.3.7.RELEASE.pom (4 KB at 20.4 KB/sec)
Downloading: https://repo.spring.io/libs-release/org/hibernate/hibernate-core/5.0.12.Final/hibernate-core-5.0.12.Final.pom
Downloaded: https://repo.spring.io/libs-release/org/hibernate/hibernate-core/5.0.12.Final/hibernate-core-5.0.12.Final.pom (4 KB at 16.8 KB/sec)
Downloading: https://repo.spring.io/libs-release/org/hibernate/hibernate-entitymanager/5.0.12.Final/hibernate-entitymanager-5.0.12.Final.pom
Downloaded: https://repo.spring.io/libs-release/org/hibernate/hibernate-entitymanager/5.0.12.Final/hibernate-entitymanager-5.0.12.Final.pom (3 KB at 16.9 KB/sec)
Downloading: https://repo.spring.io/libs-release/org/springframework/data/spring-data-jpa/1.11.1.RELEASE/spring-data-jpa-1.11.1.RELEASE.pom
Downloaded: https://repo.spring.io/libs-release/org/springframework/data/spring-data-jpa/1.11.1.RELEASE/spring-data-jpa-1.11.1.RELEASE.pom (17 KB at 73.9 KB/sec)
Downloading: https://repo.spring.io/libs-release/org/springframework/data/build/spring-data-parent/1.9.1.RELEASE/spring-data-parent-1.9.1.RELEASE.pom
Downloaded: https://repo.spring.io/libs-release/org/springframework/data/build/spring-data-parent/1.9.1.RELEASE/spring-data-parent-1.9.1.RELEASE.pom (25 KB at 99.6 KB/sec)
Downloading: https://repo.spring.io/libs-release/org/springframework/data/spring-data-commons/1.13.1.RELEASE/spring-data-commons-1.13.1.RELEASE.pom
Downloaded: https://repo.spring.io/libs-release/org/springframework/data/spring-data-commons/1.13.1.RELEASE/spring-data-commons-1.13.1.RELEASE.pom (8 KB at 48.7 KB/sec)
Downloading: https://repo.spring.io/libs-release/org/springframework/spring-orm/4.3.7.RELEASE/spring-orm-4.3.7.RELEASE.pom
Downloaded: https://repo.spring.io/libs-release/org/springframework/spring-orm/4.3.7.RELEASE/spring-orm-4.3.7.RELEASE.pom (6 KB at 38.6 KB/sec)
Downloading: https://repo.spring.io/libs-release/org/springframework/spring-aspects/4.3.7.RELEASE/spring-aspects-4.3.7.RELEASE.pom
Downloaded: https://repo.spring.io/libs-release/org/springframework/spring-aspects/4.3.7.RELEASE/spring-aspects-4.3.7.RELEASE.pom (4 KB at 20.6 KB/sec)
Downloading: https://repo.spring.io/libs-release/org/springframework/boot/spring-boot-starter-data-jpa/1.5.2.RELEASE/spring-boot-starter-data-jpa-1.5.2.RELEASE.jar
Downloading: https://repo.spring.io/libs-release/org/springframework/boot/spring-boot-starter-aop/1.5.2.RELEASE/spring-boot-starter-aop-1.5.2.RELEASE.jar
Downloading: https://repo.spring.io/libs-release/org/springframework/boot/spring-boot-starter-jdbc/1.5.2.RELEASE/spring-boot-starter-jdbc-1.5.2.RELEASE.jar
Downloading: https://repo.spring.io/libs-release/org/springframework/spring-jdbc/4.3.7.RELEASE/spring-jdbc-4.3.7.RELEASE.jar
Downloading: https://repo.spring.io/libs-release/org/hibernate/hibernate-core/5.0.12.Final/hibernate-core-5.0.12.Final.jar
Downloaded: https://repo.spring.io/libs-release/org/springframework/boot/spring-boot-starter-aop/1.5.2.RELEASE/spring-boot-starter-aop-1.5.2.RELEASE.jar (3 KB at 14.3 KB/sec)
Downloading: https://repo.spring.io/libs-release/org/hibernate/hibernate-entitymanager/5.0.12.Final/hibernate-entitymanager-5.0.12.Final.jar
Downloaded: https://repo.spring.io/libs-release/org/springframework/boot/spring-boot-starter-jdbc/1.5.2.RELEASE/spring-boot-starter-jdbc-1.5.2.RELEASE.jar (3 KB at 8.1 KB/sec)
Downloading: https://repo.spring.io/libs-release/org/springframework/data/spring-data-jpa/1.11.1.RELEASE/spring-data-jpa-1.11.1.RELEASE.jar
Downloaded: https://repo.spring.io/libs-release/org/springframework/boot/spring-boot-starter-data-jpa/1.5.2.RELEASE/spring-boot-starter-data-jpa-1.5.2.RELEASE.jar (3 KB at 8.3 KB/sec)
Downloading: https://repo.spring.io/libs-release/org/springframework/data/spring-data-commons/1.13.1.RELEASE/spring-data-commons-1.13.1.RELEASE.jar
Downloaded: https://repo.spring.io/libs-release/org/springframework/spring-jdbc/4.3.7.RELEASE/spring-jdbc-4.3.7.RELEASE.jar (418 KB at 806.4 KB/sec)
Downloading: https://repo.spring.io/libs-release/org/springframework/spring-orm/4.3.7.RELEASE/spring-orm-4.3.7.RELEASE.jar
Downloaded: https://repo.spring.io/libs-release/org/hibernate/hibernate-entitymanager/5.0.12.Final/hibernate-entitymanager-5.0.12.Final.jar (599 KB at 755.3 KB/sec)
Downloading: https://repo.spring.io/libs-release/org/springframework/spring-aspects/4.3.7.RELEASE/spring-aspects-4.3.7.RELEASE.jar
Downloaded: https://repo.spring.io/libs-release/org/springframework/data/spring-data-jpa/1.11.1.RELEASE/spring-data-jpa-1.11.1.RELEASE.jar (282 KB at 347.1 KB/sec)
Downloaded: https://repo.spring.io/libs-release/org/springframework/spring-orm/4.3.7.RELEASE/spring-orm-4.3.7.RELEASE.jar (466 KB at 468.6 KB/sec)
Downloaded: https://repo.spring.io/libs-release/org/springframework/spring-aspects/4.3.7.RELEASE/spring-aspects-4.3.7.RELEASE.jar (58 KB at 52.4 KB/sec)
Downloaded: https://repo.spring.io/libs-release/org/springframework/data/spring-data-commons/1.13.1.RELEASE/spring-data-commons-1.13.1.RELEASE.jar (747 KB at 539.5 KB/sec)
Downloaded: https://repo.spring.io/libs-release/org/hibernate/hibernate-core/5.0.12.Final/hibernate-core-5.0.12.Final.jar (5488 KB at 2895.8 KB/sec)
[INFO]
[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ gs-accessing-data-jpa ---
[INFO]
[INFO] >>> spring-boot-maven-plugin:1.5.2.RELEASE:run (default-cli) > test-compile @ gs-accessing-data-jpa >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ gs-accessing-data-jpa ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/gturnquist/src/spring-guides/gs-accessing-data-jpa/complete/src/main/resources
[INFO] skip non existing resourceDirectory /Users/gturnquist/src/spring-guides/gs-accessing-data-jpa/complete/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ gs-accessing-data-jpa ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to /Users/gturnquist/src/spring-guides/gs-accessing-data-jpa/complete/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ gs-accessing-data-jpa ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/gturnquist/src/spring-guides/gs-accessing-data-jpa/complete/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ gs-accessing-data-jpa ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /Users/gturnquist/src/spring-guides/gs-accessing-data-jpa/complete/target/test-classes
[INFO]
[INFO] <<< spring-boot-maven-plugin:1.5.2.RELEASE:run (default-cli) < test-compile @ gs-accessing-data-jpa <<<
[INFO]
[INFO] --- spring-boot-maven-plugin:1.5.2.RELEASE:run (default-cli) @ gs-accessing-data-jpa ---

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v1.5.2.RELEASE)

2017-03-09 09:50:30.527  INFO 32051 --- [           main] hello.Application                        : Starting Application on retina with PID 32051 (/Users/gturnquist/src/spring-guides/gs-accessing-data-jpa/complete/target/classes started by gturnquist in /Users/gturnquist/src/spring-guides/gs-accessing-data-jpa/complete)
2017-03-09 09:50:30.529  INFO 32051 --- [           main] hello.Application                        : No active profile set, falling back to default profiles: default
2017-03-09 09:50:30.568  INFO 32051 --- [           main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@55bfcaf5: startup date [Thu Mar 09 09:50:30 CST 2017]; root of context hierarchy
2017-03-09 09:50:31.610  INFO 32051 --- [           main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
2017-03-09 09:50:31.630  INFO 32051 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [
	name: default
	...]
2017-03-09 09:50:31.687  INFO 32051 --- [           main] org.hibernate.Version                    : HHH000412: Hibernate Core {5.0.12.Final}
2017-03-09 09:50:31.687  INFO 32051 --- [           main] org.hibernate.cfg.Environment            : HHH000206: hibernate.properties not found
2017-03-09 09:50:31.689  INFO 32051 --- [           main] org.hibernate.cfg.Environment            : HHH000021: Bytecode provider name : javassist
2017-03-09 09:50:31.722  INFO 32051 --- [           main] o.hibernate.annotations.common.Version   : HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
2017-03-09 09:50:31.814  INFO 32051 --- [           main] org.hibernate.dialect.Dialect            : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2017-03-09 09:50:32.139  INFO 32051 --- [           main] org.hibernate.tool.hbm2ddl.SchemaExport  : HHH000227: Running hbm2ddl schema export
2017-03-09 09:50:32.147  INFO 32051 --- [           main] org.hibernate.tool.hbm2ddl.SchemaExport  : HHH000230: Schema export complete
2017-03-09 09:50:32.184  INFO 32051 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2017-03-09 09:50:32.565  INFO 32051 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Registering beans for JMX exposure on startup
2017-03-09 09:50:32.624  INFO 32051 --- [           main] hello.Application                        : Customers found with findAll():
2017-03-09 09:50:32.624  INFO 32051 --- [           main] hello.Application                        : -------------------------------
2017-03-09 09:50:32.636  INFO 32051 --- [           main] o.h.h.i.QueryTranslatorFactoryInitiator  : HHH000397: Using ASTQueryTranslatorFactory
2017-03-09 09:50:32.749  INFO 32051 --- [           main] hello.Application                        : Customer[id=1, firstName='Jack', lastName='Bauer']
2017-03-09 09:50:32.749  INFO 32051 --- [           main] hello.Application                        : Customer[id=2, firstName='Chloe', lastName='O'Brian']
2017-03-09 09:50:32.749  INFO 32051 --- [           main] hello.Application                        : Customer[id=3, firstName='Kim', lastName='Bauer']
2017-03-09 09:50:32.749  INFO 32051 --- [           main] hello.Application                        : Customer[id=4, firstName='David', lastName='Palmer']
2017-03-09 09:50:32.749  INFO 32051 --- [           main] hello.Application                        : Customer[id=5, firstName='Michelle', lastName='Dessler']
2017-03-09 09:50:32.749  INFO 32051 --- [           main] hello.Application                        :
2017-03-09 09:50:32.760  INFO 32051 --- [           main] hello.Application                        : Customer found with findOne(1L):
2017-03-09 09:50:32.760  INFO 32051 --- [           main] hello.Application                        : --------------------------------
2017-03-09 09:50:32.760  INFO 32051 --- [           main] hello.Application                        : Customer[id=1, firstName='Jack', lastName='Bauer']
2017-03-09 09:50:32.760  INFO 32051 --- [           main] hello.Application                        :
2017-03-09 09:50:32.761  INFO 32051 --- [           main] hello.Application                        : Customer found with findByLastName('Bauer'):
2017-03-09 09:50:32.761  INFO 32051 --- [           main] hello.Application                        : --------------------------------------------
2017-03-09 09:50:32.781  INFO 32051 --- [           main] hello.Application                        : Customer[id=1, firstName='Jack', lastName='Bauer']
2017-03-09 09:50:32.781  INFO 32051 --- [           main] hello.Application                        : Customer[id=3, firstName='Kim', lastName='Bauer']
2017-03-09 09:50:32.781  INFO 32051 --- [           main] hello.Application                        :
2017-03-09 09:50:32.782  INFO 32051 --- [           main] hello.Application                        : Started Application in 2.524 seconds (JVM running for 10.703)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.640 s
[INFO] Finished at: 2017-03-09T09:50:32-06:00
[INFO] Final Memory: 48M/383M
[INFO] ------------------------------------------------------------------------
2017-03-09 09:50:33.046  INFO 32051 --- [       Thread-3] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@55bfcaf5: startup date [Thu Mar 09 09:50:30 CST 2017]; root of context hierarchy
2017-03-09 09:50:33.050  INFO 32051 --- [       Thread-3] o.s.j.e.a.AnnotationMBeanExporter        : Unregistering JMX-exposed beans on shutdown
2017-03-09 09:50:33.050  INFO 32051 --- [       Thread-3] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2017-03-09 09:50:33.050  INFO 32051 --- [       Thread-3] org.hibernate.tool.hbm2ddl.SchemaExport  : HHH000227: Running hbm2ddl schema export
2017-03-09 09:50:33.060  INFO 32051 --- [       Thread-3] org.hibernate.tool.hbm2ddl.SchemaExport  : HHH000230: Schema export complete

You might want to blow away ~/.m2. Sometimes the maven local repo can get corrupted.

@gregturn - That did the trick thanks (spring boot 1.5.3).
Curious why .m2 can get corrupted though?

S**t happens.


Safari Compatibility

Steps to Reproduce
OCW Studio is not currently compatible with the Safari browser. It just shows a blank page, instead of the expected login screen.
To reproduce, go to OCW Studio in a Safari browser.
Expected Behavior
The page should load properly.
Actual Behavior
The user sees a blank page.

@pdpinch,I looked into this and discovered that this issue is caused by our extensive use of look behind regex to parse short codes. As explained here unfortunately Safari still does not support look-behinds.

Wow, that’s really disappointing. Can you add some links to where we use this feauture? Since you mention shortcodes, I imagine it’s centered around the wysiwyg editor, and loading and saving body content.

Since you mention shortcodes, I imagine it’s centered around the wysiwyg editor, and loading and saving body content.

That's correct.
I don't think we are actually using too many lookbehinds... The main reason we are using (negative) lookbehinds is to capture shortcode parameters encased in quotes while allowing the parameter value to include escaped quotation marks. So a regex like /(?<!\\)".*?(?<!\\)"... "an unescaped quotation, then everything up until the next unescaped quotation". Which lets us handle stuff like
{{% resource_link uuid "I really \\"love\\" safari" %}}

Likely there's some alternative approach we can take to using the negative lookbehinds. 🤔

@ChristopherChudzicki Do you have a sense of how frequent this is in the code? Since Safari is the only browser for iPad/iPhone (any other browser still uses the Safari WebKit engine), if any users are on those platforms, this will be a problem too.

@pt2302 There are 5 instances of lookbehinds in the ts code, all in static/js/lib/ckeditor/plugins/util.ts and all looking to deal with escaped quotations. (Search for ?< in ts and tsx files, and ignore the matches for named capturing groups, which safari finally does support).
Removing all of the (?<!\\) makes Studio load in Safari, and at a cursory glance it seems to work fine. (Aside from the behavior that (?<!\\) was addressing, of course.)
There's probably a linting rule we can use to avoid this issue in the future. Studio's ts linting needs some updates anyway. ( https://github.com/amilajack/eslint-plugin-compat maybe?)

@pt2302 There are 5 instances of lookbehinds in the ts code, all in static/js/lib/ckeditor/plugins/util.ts and all looking to deal with escaped quotations. (Search for ?< in ts and tsx files, and ignore the matches for named capturing groups, which safari finally does support).
Removing all of the (?<!\\) makes Studio load in Safari, and at a cursory glance it seems to work fine. (Aside from the behavior that (?<!\\) was addressing, of course.)
There's probably a linting rule we can use to avoid this issue in the future. Studio's ts linting needs some updates anyway. ( https://github.com/amilajack/eslint-plugin-compat maybe?)

This was my first approch as well but I didnt have any context on so I let it be rather then hacking away at it.

@Wassaf-Shahzad OK, I'm going to assign myself to this and try to change those instances.

@pt2302 did you tell me Safari caught up with us by now?


reactive([1])   Unable to deserialize properly

Describe the bug
reactive([1]) Defined state
Unable to deserialize properly
Plugin version: "pinia-plugin-persistedstate": "^3.2.1"
Store Code

calling code

Continuously refresh the page five times

Reproduction
a
System Info
a

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible of the bug.

I have conducted a simple search on the issue but did not find any relevant issues
From machine translation
简单搜索过issue, 没找到相关问题.
来自机器翻译

This is most likely related to https://github.com/vuejs/pinia/issues/2410
You must use ref with Array types. Also I'd advocate against using  reactive at all :)


crash on world load (1.14.4)

crash-2019-12-25_17.09.49-server.txt
When I load a world the game crashes, I looked already at other people having this issue but it doesnt seem to match what im having. I tried with and without fabric API loaded. Im using Fabric Loader 0.7.2+build.175 through multimc

might not be fixed, mod will likely be updated to 1.15/1.16

mah boi, yo using teh wrong version of mod


dotnet-watch prints invalid characters in Command Prompt

dotnet-watch prints unknown/non-ascii characters in log messages (red boxes on image).

Package used: Microsoft.DotNet.Watcher.Tools version 1.0.0-msbuild3-final
Environment: win10-x64, SDK 1.0.0-rc4-004771, console encoding utf-8 (green on image)
Possibly related with https://github.com/dotnet/cli/issues/2590

Can confirm. This only appears in Command Prompt, which doesn't support ANSI color codes. To workaround, use basically any other shell, like PowerShell, ConEmu, etc.

Will consider this for a 1.0.1 patch of this package.

@natemcmaster is this bug meant for the patch or for dev (2.0.0-preview1)? For dev I see you merged the change in - that's good. But then this bug should move to the correct milestone, and I guess we need a new bug opened for 1.0.1?

@Eilon I'm honestly confused about whether we have 1.0.1 planned or not. Feel free to move milestones/create duplicates as necessary to satisfy bookkeeping procedures.

Issue appears to exist in Nightly Build for Windows 7 (SP1) 64-bit.
Steps to reproduce:
Follow steps provided in the blog post written by @shanselman, to create a solution, containing  a Class Library and a Unit Test library:
https://www.hanselman.com/blog/CommandLineUsingDotnetWatchTestForContinuousTestingWithNETCore10AndXUnitnet.aspx
Download ZIP of latest Windows X64 SDK:
https://dotnetcli.blob.core.windows.net/dotnet/Sdk/master/dotnet-dev-win-x64.latest.zip
Unzip the file. Place the contents of the unzipped dotnet-dev-win-x64.latest folder in the test project folder in the source code (i.e. the mytests folder, described in the blog post written by @shanselman) :
Open a command line (cmd.exe)
Navigate to the mytests folder
Type dotnet --version
2.0.0-preview1-005660
Type dotnet watch run
Expected result:
No garbled characters in console output
Actual result:
Garbled characters in console output
Note: I'm also seeing character-encoding issues in cmd.exe (and Powershell) but not Git-Bash.

It's possible I have missed some necessary steps.

@snerks what is your version of Microsoft.DotNet.Watcher.Tools? (look for DotNetCliToolReference or dotnet watch --version)

dotnet watch --version
1.0.0-rtm-10308.
Do I need to take steps to update this to nightly version?

Your steps may have updated dotnet-CLI, but you're still using dotnet-watch 1.0.0. To use nightly,

add a nuget.config file to our nightly feed. See the NuGet.config file in this repo for example
Change the version in csproj:<DotNetCliToolReference Include="Microsoft.DotNet.Watcher.Tools" Version="1.2.0-*" />

dotnet restore
dotnet watch --version to ensure it was installed.

See https://dotnet.myget.org/feed/aspnetcore-ci-dev/package/nuget/Microsoft.DotNet.Watcher.Tools.
FYI 1.2.0-* is a placeholder version that won't be released. This will be renamed to 2.0.0 soon.

Problem with dotnet restore now...
D:\DotNetCore.Nightly\dotnet-dev-win-x64.latest\testexample\mytests>dotnet resto
re
Restoring packages for D:\DotNetCore.Nightly\dotnet-dev-win-x64.latest\testexa
mple\mytests\mytests.csproj...
Restoring packages for D:\DotNetCore.Nightly\dotnet-dev-win-x64.latest\testexa
mple\mylibrary\mylibrary.csproj...
Restoring packages for D:\DotNetCore.Nightly\dotnet-dev-win-x64.latest\testexa
mple\mytests\mytests.csproj...
Generating MSBuild file D:\DotNetCore.Nightly\dotnet-dev-win-x64.latest\testex
ample\mylibrary\obj\mylibrary.csproj.nuget.g.props.
Writing lock file to disk. Path: D:\DotNetCore.Nightly\dotnet-dev-win-x64.late
st\testexample\mylibrary\obj\project.assets.json
Restore completed in 30.45 sec for D:\DotNetCore.Nightly\dotnet-dev-win-x64.la
test\testexample\mylibrary\mylibrary.csproj.
D:\DotNetCore.Nightly\dotnet-dev-win-x64.latest\testexample\mytests\sdk\2.0.0-pr
eview1-005660\NuGet.targets(97,5): error : Unable to resolve 'Microsoft.DotNet.W
atcher.Tools (>= 1.2.0)' for '.NETCoreApp,Version=v1.0'. [D:\DotNetCore.Nightly
dotnet-dev-win-x64.latest\testexample\mytests\mytests.csproj]
D:\DotNetCore.Nightly\dotnet-dev-win-x64.latest\testexample\mytests\sdk\2.0.0-pr
eview1-005660\NuGet.targets(97,5): error : Value cannot be null.\r [D:\DotNetCor
e.Nightly\dotnet-dev-win-x64.latest\testexample\mytests\mytests.csproj]
D:\DotNetCore.Nightly\dotnet-dev-win-x64.latest\testexample\mytests\sdk\2.0.0-pr
eview1-005660\NuGet.targets(97,5): error : Parameter name: path [D:\DotNetCore.N
ightly\dotnet-dev-win-x64.latest\testexample\mytests\mytests.csproj]

@snerks this error looks like a NuGet bug. https://github.com/NuGet/Home is the right place for this. I'd recommend using dotnet-CLI 1.0.0 instead if you're simply trying to use a new version of dotnet-watch. The latest 1.2.0-* version of Microsoft.DotNet.Watcher.Tools doesn't need dotnet-CLI 2.0.0-preview1. Combining nightlies of dotnet CLI and NuGet and dotnet-watch is going to be unstable.

@natemcmaster - I've made progress on this.
To workaround the NuGet issue above, I downloaded the Nightly Microsoft.DotNet.Watcher.Tools NuGet package to disk from:
https://dotnet.myget.org/feed/aspnetcore-ci-dev/package/nuget/Microsoft.DotNet.Watcher.Tools/1.2.0-preview1-24137
I then added a Nuget Package source that points to my on-disk Nuget packages folder.
Finally, I added a reference to the exact version of Microsoft.DotNet.Watcher.Tools to my unit test project (mytests.csproj):
  <ItemGroup>
    <DotNetCliToolReference Include="Microsoft.DotNet.Watcher.Tools" Version="1.2.0-preview1-24137" />
  </ItemGroup>

Then, following the steps in the blog item by @shanselman, I now see the following:

No garbled characters - nice!
Colorisation - nicer!

cmd.exe:

Powershell:

FYI: Git Shell does not show colorisation - not sure if this is expected.
Thanks @natemcmaster for helping to resolve my issue and @shanselman for the blog post.


Allow every registered user to create objects

Note that creating objects is only allowed to staff users with add permission by default.
It would be great to pass an option from urls.py like
views.MyModelAutocomplete.as_view(create_field='name', public=True)

to skip the permission check here: http://django-autocomplete-light.readthedocs.io/en/master/_modules/dal/views.html#BaseQuerySetView.post
I would love to contribute with a PR but I still don't feel that confortable with Python/Django :)
In the meantime, is there any way to make this option available for all the subscribed users? Thanks!

What happens after you grant the create permission for that model to your registered user ? It seems like that's what has_add_permission is doing.
Perhaps we we have misleading documentation somewhere ?

Yeah it actually works and I believe it's a way safer way to handle the point. I was approaching the problem from the other side.
The misleading part in the docs is the reference to only allowed to staff users. I was induced to think that only staff users could create objects, but I can actually grant add permission to a user even if it's no staff.
I would change it to Note that creating objects is only allowed to staff users with add permission by default. If you want to grant add permission to other users you have to explicitly set it. and then add a noob-proof-example, like:
permission = Permission.objects.get(name='Can add model-name')
user.user_permissions.add(permission)

Can you confirm that it works with any authenticated user which has create permission and that is_staff is not required anymore ?
Then we should update the documentation yes

Yes, I do confirm that is_staff is no longer required. I can contribute to the docs if you explain me how :)

Sure, just make a pull request with changes in the docs/ subdirectory.

Open source noob here :) what's the correct flow? I cloned the repo but then I'm not allowed to push any new branch to origin..

oh, got it https://github.com/yourlabs/django-autocomplete-light/pull/919


feat: add region migration procedure skeleton

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
Add the skeleton of region migration procedure.
Checklist

[x]  I have written the necessary rustdoc comments.
[x]  I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

@MichaelScofield @fengjiachun PTAL


Update reference how to import and export records

@kodster28 we got rid of the "Advanced" button, so all other references (if there are any) should be updated, too.
This is how it looks now:


React 19 support

This app currently does not support React 19. With React 19 now entering RC-1 and seemingly more likely to be released soon and the release of NextJS 15. Do you plan of upgrading this package to support React 19 when it comes out. If so are you likely to do this before the official release of React 19 or wait. If so what will the likely wait for this be?
Looking into the project files, I believe you can achieve compatibility by upgrading the peer dependencies

Hey, @brandanking-decently
React v19 added to v6.6.8


Allow owned types to have Id of base entity

I would like to have the Ids of my entities in value objects. This would have several benefits in my model

I get typed safety, as in the API methods of the system (e.g. Controller) I immediatly convert the id-strings to my value-objects an pass them further down
these Id-Value-Objects  can have behavior (validate the id, make a new id after some rules)
I can pass this objects arround without having to worry that they are exidentially changed

I tried various ways with owned types to make this happen. But none of them work as I would have expected it. For some I get an exception because the model is not correct (mainly because the id is not defined), or I get a QueryClientEvaluationWarning and the query is evaluated locally
Here is the domain model of a minimal solution, both Blog and Post have the id in a value object BlogId and PostId.
   public class Blog : IEquatable<Blog>
   {
        //für EF core
        private Blog() { }

        public Blog(BlogId blogId)
        {
            Id = blogId;
        }
        public BlogId Id { get; private set; }

        public bool Equals(Blog other)
        {
            return Id.Value == other?.Id.Value;
        }
    }

    public class Post : IEquatable<Post>
    {
        //für EF core
        private Post() { }

        public Post(PostId postId, BlogId blogId)
        {
            Id = postId;
            BlogId = blogId;
        }
        public BlogId BlogId { get; private set; }
        public PostId Id { get; private set; }

        public bool Equals(Post other)
        {
            return Id.Value == other?.Id.Value;
        }
    }

    public class BlogId : IEquatable<BlogId>
    {
        //für EF core
        private BlogId() { }
        public BlogId(string value)
        {
            Value = value;
        }
        public string Value { get; private set; }

        public bool Equals(BlogId other)
        {
            return Value == other.Value;
        }
    }

    public class PostId : IEquatable<PostId>
    {
        private PostId() { }
        public PostId(string value)
        {
            Value = value;
        }
        public string Value { get; private set; }

        public bool Equals(PostId other)
        {
            return Value == other.Value;
        }
    }

The following three options won't work because no Id is defined
            //with only the next line you get a exception "The entity type 'Blog' requires a primary key to be defined"
            //modelBuilder.Entity<Blog>().OwnsOne(p => p.Id);

            //with only the next line still the exception: The entity type 'Blog' requires a primary key to be defined
            //modelBuilder.Entity<Blog>().OwnsOne(b => b.Id, sb => sb.HasKey(id => id.Value));

            //with the next two lines there is the exception: "The properties expression 'b => b.Id.Value' is not valid. The expression should represent a simple property access: 't => t.MyProperty'. ..."
            //modelBuilder.Entity<Blog>().OwnsOne(b => b.Id);
            //modelBuilder.Entity<Blog>().HasKey(b => b.Id.Value);

The next option uses conversion. This would work, if I would allow client side evaluation. However this is not an option because it's way to slow in my situation. The other downside of this approach is, that I can't use combined keys, as the conversion takes only one parameter.
modelBuilder.Entity<Blog>().Property(b => b.Id).HasConversion(idObject => idObject.Value, idString => new BlogId(idString));

In all cases I try to query it like this, see HomeController.Index
var blog456 = DbContext.Blogs.Where(p => p.Id == new BlogId("456")).ToList();

What would really work for me, is some way to tell the entity that its key is in that owned type.
This is the QueryClientEvaluationWarning-Exception
Exception message:
Error generated for warning 'Microsoft.EntityFrameworkCore.Query.QueryClientEvaluationWarning: The LINQ expression 'where ([p].Id == value(EfCore30_IdsInValueObjects.BlogId))' could not be translated and will be evaluated locally.'. This exception can be suppressed or logged by passing event ID 'RelationalEventId.QueryClientEvaluationWarning' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.

Stack trace:
   at Microsoft.EntityFrameworkCore.Diagnostics.EventDefinition`1.Log[TLoggerCategory](IDiagnosticsLogger`1 logger, WarningBehavior warningBehavior, TParam arg)

Steps to reproduce
I made a minimal solution, you can download it here: https://github.com/1234Georg/EfCore30_IdsInValueObjects.git
Just press F5

the query is in the HomeController.cs
the model is in DomainModel.cs
DbContext is in BlogDbContext

Further technical details
EF Core version: 3.0.0-preview5.19227.1
Database Provider: Microsoft.EntityFrameworkCore.Sqlite, Version 3.0.0-preview5.19227.1
Operating system: Windows 10
IDE: Visual Studio 2019 16.0.3

@1234Georg A few comments:

Blog and Post have no navigation properties between them. An owning entity type needs to have a reference to or collection of the owned types.
Calling OwnsOne on the key property (instead of using a navigation property to the owned type) is an error. In essence, you are telling EF to make the key type an owned entity type.
It's quite strange to have the Blog be owned by the Post. You might want to consider if this is really the right way to model ownership. In other words, is Post really the aggregate root for an aggregate that also contains the related Blog?

Can you either update the code to fix these issues, or if they are by-design can you provide some more details on why/how?

@ajcvickers
Thanks for your response.

In the example I have two aggregates: Blog and Post
They don't have a navigation property, Post references Blog just by the id of Blog: Post.BlogId, so it's a disconnected domain model, according to Vaughn Vernon.
What I want to achieve: I want to have the Id of Blog and Post in a Value-Object (in DDD notation), in the example it's BlogId and PostId. To map these to the database I tried to use owned-types of ef core. But that would only work with HasConversion and client-side evaluation. And it will only works for single valued keys and not for combined keys.

So these are my references
Blog    --->   BlogId
Post    --->   PostId
Post    --->   BlogId
The advantage of having the Ids in Value-Objects are, as I already wrote above:

I get type safety, as in the API methods of the system (e.g. Controller) I immediatly convert the id-strings to my value-objects an pass them further down.
these Id-Value-Objects can have behavior (validate the id, make a new id after some rules)
I can pass these objects arround without having to worry that they are accidentially changed because they are immutable
I would like to consider the Ids as part of my ubiquituous language

If modelling the Ids using owned types are not the way to go, I'm happy to get other suggestions.

@1234Georg Thanks--that makes a lot more sense. This should only require value converters--there is no need to try to map the Id types.
modelBuilder.Entity<Blog>(b =>
{
    b.Property(b => b.Id).HasConversion(idObject => idObject.Value, idString => new BlogId(idString));
});

modelBuilder.Entity<Post>(b =>
{
    b.Property(b => b.Id).HasConversion(idObject => idObject.Value, idString => new PostId(idString));
    b.Property(b => b.BlogId).HasConversion(idObject => idObject.Value, idString => new BlogId(idString));
});

However, I think you are then hitting this limitation: #10434 for which there isn't currently any good workaround, but which is scheduled to be worked on for 3.0.

@ajcvickers
Thanks for your response. Good to hear that you plan to fix this in EF Core 3.0.
I made a follow-up issue on howto map combined keys in value-objects: #15962


ci: 👷 comment Netlify step

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


Updated rpigpiomodule to chipgpiomodule so python3 compile works

Updated line 864 of py_gpio.c to fix an issue with rpigpiomodule not being declared when compiling for python3, updating it to fix issue #51

Crap, the emails github sent were confusing and I didn't realize that you had done the PR.  Yay for both of us fixing the issue!.


Warnings in logs around HVAC telling me to raise a bug report

Version of the custom_component
3.19.9
Configuration
Not sure where this is stored in yaml format?
Describe the bug
Saw this in the log, so doing as instructed!
2024-03-03 19:23:53.358 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.tesla_custom.climate.TeslaCarClimate'>) implements HVACMode(s): heat_cool, off and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/alandtse/tesla/issues

Delicate of #854

Ah, sorry @skipishere ; should have checked.


Oracle: Unable to see Trigger Body on "Triggers" UI

Description
Hello!
In an Oracle database, when I navigate through the Database Navigator, to any table and go to the triggers "folder", I can see the name of the trigger, the table, etc.
But I can't see the TRIGGER_BODY.

No trigger body.
In issue 3444 (https://github.com/dbeaver/dbeaver/issues/3444), it says:
"DBeaver reads trigger body from ALL_SOURCE."
SELECT TEXT FROM SYS.ALL_SOURCE
WHERE TYPE='TRIGGER' AND OWNER='SCHEMA_NAME' AND NAME='TRIGGER_NAME'
ORDER BY LINE

But this trigger (trigger1) belongs to another user.
And I can see the TRIGGER_BODY with:
SELECT *
FROM SYS.ALL_TRIGGERS WHERE OWNER='schema_user'
ORDER BY TRIGGER_NAME;
perhaps DBeaver could allow the user to decide where to read this information from or if you can't find the trigger_body from SYS.ALL_SOURCE, look at SYS.ALL_TRIGGERS to return the TRIGGER_BODY.
DBeaver Version
Community Edition 24.1.5
Operating System
Windows 11
Database and driver
Database Oracle 19C
Driver Oracle JDBC ojdbc11-<IP_ADDRESS>.jar
Steps to reproduce

connect to database
try to see a trigger in another schema create by another user

Additional context
No response

Thank you for report.


Add secretsmanager perms to TriggerCustomizationsOnLifeCycleEvent lambda role

Fixes #3
Working lambda invocation:

@jimmycaputo  @kmmahaj  please review this


Add --prefix option to set instalation directory

Having installation directory option is a kind of joy.
For me, i'd like to put non-apt packages installed on /usr/local or /opt on my ubuntu laptop.
For some, maybe got their home partition already full.
For this issues, having installation directory option will help.
Possible command enhancement:
curl` https://sh.rustup.rs -sSf | sh -s -- --prefix /usr/local/rust

Try setting two environment variables RUSTUP_HOME and CARGO_HOME and run the installer again.
RUSTUP_HOME will accomodate the actual installations of the toolchains whereas the rustup trampoline executables will be installed under $CARGO_HOME/bin

Closing this because:

There is already a way to customise the installation directory, via RUSTUP_HOME and CARGO_HOME
A --prefix option is tricky because rustup would not know where to find itself after installation.

@Diggsey, @nodakai: thank you and sorry for late reply
Set the RUSTUP_HOME and CARGO_HOME work as expected.


Releases Notes

Hi @nkonev 👋
Thank you so much for your project. It's much appreciated.
Is it possible to create Github releases along side them release notes?
Release notes documenting what has been added/changed may help those using to project anticipate any follow up work needed on their end.
For example I'm not sure what has just changed between 2.9.4 to 2.10.0 and if that's going to impact our project.
Thanks.

Hi!
Until it isn't done
you can use GitHub's compare feature
https://github.com/nkonev/r2dbc-migrate/compare/2.9.4...2.10.0

Sounds good @nkonev! Thank you so much for what you do.


Example Docs show wrong CLI argument for specifying model file

The doc page here  shows the command line argument to use for specifying a model definition file as "--model_definition", but I just learned that it should be "--model_definition_file".  Please update ASAP as new users are likely to get tripped up by this (as I did).  Thanks!

Thank you for spotting this! I solved it.


When mousing over a 'Reason' in the web view, highlight the originating lens in the lens view

Low-prioriity issue.  Implement if easy to do so.

For now, all graph nodes with the same lens type get highlighted on hovering over the reason, i.e if there are 2 missing value nodes then both will get highlighted on hovering over a missing value reason. To highlight a specific node the reason will need to return the lens name. I'll look into that now.


MNT: Re-render the feedstock [ci skip]

Hi! This is the friendly conda-forge-admin automated user.
I've re-rendered this feedstock with the latest version of conda-smithy (2.2.2) and noticed some changes.
If the changes look good, then please go ahead and merge this PR.
If you have any questions about the changes though, please feel free to ping the 'conda-forge/core' team (using the @ notation in a comment).
Remember, for any changes to the recipe you would normally need to increment the version or the build number of the package.
Since this is an infrastructural change, we don't actually need/want a new version to be uploaded to anaconda.org/conda-forge, so the version and build/number are left unchanged and the CI has been skipped.
Thanks!

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

So this is wierd -- it failed on a Cython import -- but only with py2 numpy112.
I'll try to look into this later...


Fix rouille::Server: Expose new_ssl on feat rustls

Since tiny_http::Server::https is also supported under rustls.

@bradfier Can you review this PR please?
I have another PR in sccache blocking on this one.

I can get to this tomorrow, thanks for the contribution!On 22 Apr 2023, at 10:53, Jiahao XU @.***> wrote:
@bradfier Can you review this PR please?
I have another PR in sccache blocking on this one.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

No problem, thanks for contributing!


File structure

Test

Hey @CatRabbit499 ,
I'm having trouble inferring from your PR description and commit history what changes you want to merge into our main branch. Could you please write an informative PR description detailing:

the problem you wish to solve (ideally one)
the solution you propose, and
the changes to the codebase required to implement your solution?

Screenshots/videos illustrating any UI changes would be helpful too.
If this PR is too big to answer these questions, that's a good indication that it's too big of a PR and needs to be broken up into more manageable chunks

Closing incorrectly started pull


[Bug] certain manga fail to update due to json parse error

Device information

Tachiyomi version: 2.0.13
Android phone & version: Android 10 Pixel 2XL

Steps to reproduce

I have my manga auto update once every 12 hours.
it will fail on two manga (see attached pic)

Expected behavior
it should update those manga
Actual behavior
it appears that all except those two get updated.
Other details
picture of log output

rezero is fixed for next release.
the other manga if you manually refresh in the manga info page does it load?  or show error?

@CarlosEsco if i go to the manga info page and manually refresh I do not get an error. It is only during the scheduled update or if i do a manual refresh for all manga.
I just did a manual refresh, and the notification says 2 updates failed like last time. But this time it is rezero and another manga. I checked the logs and it is the same log as my screen shot except the new manga title replaced the one in the screen shot. But it is the same unexpected json token at offset 0 error.
My guess is that this is just a rezero issue, and whichever manga is checked immediately after that one is showing up in the logs and notification as an error as well.

was fixed forgot to close ticket


feat(curriculum): add python multiple choice questions

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the master branch of freeCodeCamp.
[x] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

Closes #XXXXX

@raisedadead, sorry, forgot to take this off of draft mode.

Can you confirm that you have all the files in the changeset. I just rebase this and resolved some conflicts.

@raisedadead, thank you for solving all the merge conflicts. Checked again locally and found a challenge with a missing isHidden flag and another that I didn't write questions for. Everything should be good to go now.

Thanks @scissorsneedfoodtoo there is a missing entry in meta as per travis: https://travis-ci.com/github/freeCodeCamp/freeCodeCamp/jobs/340819999#L885

@raisedadead, sorry, I missed that earlier when I fixed a typo with one of the challenges. Should be okay now.


Unstability/misunderstanding of savgolfilt

Hi.
I downloaded your code and did some test runs. However, I encountered some issues.
I need to use the code within the bigger project. I have a .dll library where I need to apply s-g filtering. Although the main file is .cu, I don't use any Cuda code now.  This library is then called from MFC application to run some operations on data.
I am working with Visual Studio 2019, Eigen 3.3, on Windows 10.
Issue 1
This code is pretty much copied from example.cpp. I run the function "savgolfilt" with a given set of values 30 times and sometimes, I get different result from "Filter". I use F, x, x values from example.
My code:
// initialize values
	int F = 9;
	int k = 5;
	float x_min = 100, x_max = 1000;

// create vector of x values
	auto x = VectorXf::LinSpaced(F, x_min, x_max);

// calculate the same Filter 30 times
	for (int i = 0; i < 30; i++)
	{
		auto Filter = savgolfilt(x, k, F);
		log_file << "Filter =  " << Filter << "\n"; // save to a log_file, which is later saved as .txt
	}

Results are as follows: middle value is different sometimes.

 It seems that the line
y << y_off.transpose().eval(), y_ss, y_on.transpose().eval();
in savgolfilt function is problematic - the vectors before concatenating into y seem just fine. Do you know what could be a problem?
Issue 2
I apply savgolfilt on my data. Typically, F = 129, k = 6, x is signal of length 400 (in other applications the length can be up to 1600) with float values in range for example (-0.0038, 0.0266). Here, I show example for F = 9 and k = 5 (in order not to show so many values).
		// initialize values
		int F = 9;
		int k = 5;

		// create vector of x values
		auto x = my_data;

		// calculate
		for (int i = 0; i < 10; i++)
		{
			auto Filter = savgolfilt(x, k, F);
			log_file << "Filter =  " << Filter << "\n";
		}

Result

Filter =   0.0066643 0.00634263 0.00642954 0.00900544       -nan 0.00869701 0.00574144 0.00707652 0.00823701
Filter =   0.0066643 0.00634263 0.00642954 0.00900544       -nan 0.00869701 0.00574144 0.00707652 0.00823701
Filter =   0.0066643 0.00634263 0.00642954 0.00900544       -nan 0.00869701 0.00574144 0.00707652 0.00823701
Filter =   0.0066643 0.00634263 0.00642954 0.00900544       -nan 0.00869701 0.00574144 0.00707652 0.00823701
Filter =   0.0066643 0.00634263 0.00642954 0.00900544       -nan 0.00869701 0.00574144 0.00707652 0.00823701
Filter =   0.0066643 0.00634263 0.00642954 0.00900544       -nan 0.00869701 0.00574144 0.00707652 0.00823701
Filter =   0.0066643 0.00634263 0.00642954 0.00900544       -nan 0.00869701 0.00574144 0.00707652 0.00823701
Filter =   0.0066643 0.00634263 0.00642954 0.00900544       -nan 0.00869701 0.00574144 0.00707652 0.00823701
Filter =   0.0066643 0.00634263 0.00642954 0.00900544       -nan 0.00869701 0.00574144 0.00707652 0.00823701
Filter =   0.0066643 0.00634263 0.00642954 0.00900544       -nan 0.00869701 0.00574144 0.00707652 0.00823701

There is nan in the middle. Is there any condition for data? Like they should be positive, in some range, or?
Or, is there just problem with << operator, which displays values of Eigen variables?
Issue/question 3
I am sorry, but I got confused, even more after reading other issues here. How exactly should I use the code to get smoothed signal? I expect the smoothed signal will have the same length as input signal x, but it is not the case of savgolfilt. In Readme.md there is "savgolfilt(x, x_on, k, F);", but I don't see the four-argument input of this function nor in savgol.cpp, nor in its header.
Thank you for your answers. I am sorry if  I ask something trivial, but I didn't find answer anywhere.

I'm also having issues ... trying to feed savgolfilt with a vector with data and I get an exception:
error: invalid initialization of reference of type const VectorXf&’ {aka ‘const Eigen::Matrix<float, -1, 1>&’}
How are you supposed to load your own data to the filter ? Do I need to convert a vector of floats to An Eigen matrix ?
Thanks

Hi.
The definition of savgolfilt is VectorXd savgolfilt(VectorXd const & x, int k, int F), so try to feed it with vector of doubles (VectorXd) instead of floats. I used it this way.

@Dalecanka the definition is a VectorXf : RowVectorXf savgolfilt(VectorXf const & x, int k, int F)
Can you share your code please ?

Aah, I am sorry. It has been a few months and I forgot what changes did I make. I think I compared that with another SG filter in Matlab, perhaps combined, and made calculation in double.
I send you the code; however I copied it in a .txt file since this system doesn't take .cpp and .h as input. Let me know if it helps.
savgol_cpp.txt
savgol_header.txt