Cache is not transportable

Describe the bug
I would like to share cache between two machines (a Windows host machine and a WSL instance).
I run most my code in WSL. I have just run out of space in the virtual drive. Rather than expand the drive size, I plan to move to cache to the host Windows machine, thereby sharing the downloads.
I'm hoping that I can just copy/paste the cache files, but I notice that a lot of the file names start with the path name, e.g. _home_davidg_.cache_huggingface_datasets_conll2003_default-451...98.lock where home/davidg is where the cache is in WSL.
This seems to suggest that the cache is not portable/cannot be centralised or shared. Is this the case, or are the files that start with path names not integral to the caching mechanism? Because copying the cache files seems to work, but I'm not filled with confidence that something isn't going to break.
A related issue, when trying to load a dataset that should come from cache (running in WSL, pointing to cache on the Windows host) it seemed to work fine, but it still uses a WSL directory for .cache\huggingface\modules\datasets_modules. I see nothing in the docs about this, or how to point it to a different place.
I have asked a related question on the forum: https://discuss.huggingface.co/t/is-datasets-cache-operating-system-agnostic/32656
Steps to reproduce the bug
View the cache directory in WSL/Windows.
Expected behavior
Cache can be shared between (virtual) machines and be transportable.
It would be nice to have a simple way to say "Dear Hugging Face packages, please put ALL your cache in blah/de/blah" and have all the Hugging Face packages respect that single location.
Environment info
- `datasets` version: 2.9.0
- Platform: Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.31
- Python version: 3.10.8
- PyArrow version: 11.0.0
- Pandas version: 1.5.3
- ```

Hi ! No the cache is not transportable in general. It will work on a shared filesystem if you use the same python environment, but not across machines/os/environments.
In particular, reloading cached dataset does work, but reloading cached processed datasets (e.g. from map) may not work. This is because some hashes used by caching are based on pickle dumps of the function you pass to map.

OK good to know. Thanks @lhoestq !


Hover effect broken

This issue may not occur to all of you. It happens to me because of my particular case, I modified the breakpoints a bit to suit my case better. But now the problem is; the hover effect does not work in the mobile version (and other device sizes).
You can find the issue on devgroup.se
I'm not sure if it is something you want to work on? I plan to look into it myself when I have time, I will post a solution when I do, if I do for you guys.

The issue is not related to the grid of hexagons.
There is an element over the hexagons (second div in your nav) that prevents the hover effect on the grid.

Yes you are correct! Thank you and my apologies for blaming this wonderful grid system! <3


Update Adblock4limbo.list

@6otho

请自行添加分流规则，并将它放在 Adblock4limbo.list 之前/之上；

收到！给您添麻烦了.谢谢..
获取 Outlook for iOShttps://aka.ms/o0ukef

发件人: 毒奶博主 @.>
发送时间: Monday, July 22, 2024 12:26:01 PM
收件人: limbopro/Adblock4limbo @.>
抄送: 6otho @.>; Mention @.>
主题: Re: [limbopro/Adblock4limbo] Update Adblock4limbo.list (PR #69)
2024-07-<IP_ADDRESS>.png (view on web)https://github.com/user-attachments/assets/7e3180ea-ccb0-4527-95eb-85cbcae9b4db
请自行添加分流规则，并将它放在 Adblock4limbo.list 之前/之上；
―
Reply to this email directly, view it on GitHubhttps://github.com/limbopro/Adblock4limbo/pull/69#issuecomment-2242061468, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A5TICPPSLUSLGO3M2BNSZ3TZNSCVTAVCNFSM6AAAAABLHPS6BSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBSGA3DCNBWHA.
You are receiving this because you were mentioned.Message ID: @.***>


Resolve unwrap in build body and when acquiring RwLock

Description
The current version does panic if a RwLock is poisoned and also when a HTTP request could not be constructed from the given user data.
This PR replaces the RwLocks with the ones from parking_lot that do not have poison errors and adds propagation of errors happening when building the http request.
How Has This Been Tested?
A test has been written for the invalid payload.
Due Dilligence

[x] Breaking change
[ ] Requires a documentation update
[ ] Requires a e2e/integration test update

Curious: why not use tokio's RwLock which also does not return Result? Looks like some functions are not currently async but perhaps they could be made such.

Please resolve conflicts :)


Question mark (?) in the model image using plot_model instead of None

I am using the tf.keras.utils.plot_model function to plot the model. The code is given below. Now instead of getting None for the batch sizes I am getting question mark (?). So can you please address why this is happening and how I can replace None inplace of ? question mark.
tf.keras.utils.plot_model(
model,
to_file='model2.png',
show_shapes=True,
show_layer_names=True
)

What you see there is caused by this line in keras utils:
https://github.com/tensorflow/tensorflow/blob/2b96f3662bd776e277f86997659e61046b56c315/tensorflow/python/keras/utils/vis_utils.py#L183
It's actually the desired behavior.
My understanding is that the None sized dimensions are effectively variable sized, or unknown '?' when the graph is compiled.
Therefore tensor with other dimensions matching can fit. Notice how output shape of a layer and the input shape of the following layer always matches.
Now you could replace the '?' string with 'None' string, but what would it be good for? It wouldn't make it any more readable.

What you see there is caused by this line in keras utils:
https://github.com/tensorflow/tensorflow/blob/2b96f3662bd776e277f86997659e61046b56c315/tensorflow/python/keras/utils/vis_utils.py#L183
It's actually the desired behavior.
My understanding is that the None sized dimensions are effectively variable sized, or unknown '?' when the graph is compiled.
Therefore tensor with other dimensions matching can fit. Notice how output shape of a layer and the input shape of the following layer always matches.
Now you could replace the '?' string with 'None' string, but what would it be good for? It wouldn't make it any more readable.

Actually I am working on a research paper in which I need the image of the model architecture although it wouldn't make it any more readable from a programmer's point of view but from a layman's understanding it would atleast come out to be a tad bit readable as the '?' mark signifies as if there's an error or something is missing where as None kind of explains that I voluntary didn't add the batch sizes.

Worst case scenario you can add an explanatory footnote.

@V2dha
It is expected behavior.Please, see this tutorial, link for your reference.Thanks!

Okay thanks!


Fail to load module multiple times ?

Steps to reproduce
Executing the wat file
test.txt
in C
test-in-c.txt
Try to load and execute it multiple times.
Expected behavior
Successfully execute.
And wasmer, wasmtime could repeat the load and execution of the wat file for unlimited times.
Actual behavior
WAMR can do it once, but can't in 100times or unlimited times.

There are several issues in the test code.

wasm_engine_new and wasm_store_new are not pair with wasm_store_delete and wasm_engine_delete. In wasm-c-api, wasm_XXX_new is kind of constructor and wasm_XXX_delete is kind of deconstructor. In test code, wasm_store_t and wasm_engine_t are deleted too many times, and are both invalid in secondary times.

wasm_byte_vec_t binary was destroyed in first loop and become invalid in all next rounds. Still a not paired problem.

wasm_byte_vec_t binary can't be reused. It has to be renewed. In test code, an appropriate way is to fopen() and fclose() in every loop.

Thanks for your answer !


Athame won't compile on a clean install of Ubuntu 18.04

It seems that Athame needs cmake to be installed prior to running install.sh. It should either be installed automatically in install.sh or added to prequisites of linux-setup.

The problem seems to be that in the install.sh script, the line with sudo apt-get install fails to install anything because it cannot find clang-3.8 and pdftk, which are unavailable in Ubuntu 18.04 repos. Removing pdftk from the line and replacing clang-3.8 with clang seems to help - installations runs smoothly and YCM no longer complains that the server is not running after starting Vim. I didn't find a substitution for the pdftk package - is it even needed?

my fault, I was using the master branch instead of devel


Can't toggle modifier keys

I've been trying to toggle the modifier keys, but I guess I'm doing something wrong:
>>> autopy.key.toggle(autopy.key.Modifier.ALT, False, [])
TypeError: Expected string or key code

How should this be done?

It should be: autopy.key.toggle("x", False, [autopy.key.Modifier.ALT]).

This looks like a dupe of #29, will have to add an example to the docs somewhere.

@msanders Where's the "x" coming from? I want toggle just the modifier key, nothing else.

Have you tried autopy.key.toggle("", False, [autopy.key.Modifier.ALT])? I think that should work but don't have time to test it out right now.

Nope:
TypeError: Expected string or key code

Ah I see. It looks like we need to add those as individual key codes, e.g. https://github.com/servo/core-foundation-rs/blob/8793a46/core-graphics/src/event.rs#L53.

Actually it looks like this is already available, just missing from the docs:
autopy.key.tap(autopy.key.Code.META, [])

Well, that sends the key, doesn't it? What I want is to toggle off the modifiers, in case they were pressed.

This should work: autopy.key.toggle(autopy.key.Code.META, False, []), was just pointing out the key code.

Okay, that works. Should be included in the docs, right?

👍 yup, should be included now.


What is this pattern called?

Hello, I'm trying to figure out what's going on here.
class IsSignal {}

export type SignalV = {
  subscribe(subscriber: (a: A) => any): void,
  get(): A,
  set(a: A): void
};

export type Signal = HKT<IsSignal, A>;

export function inj(a: SignalV): Signal {
  return ((a: any): Signal)
}

export function prj(fa: Signal): SignalV {
  return ((fa: any): SignalV)
}

I'll attempt to break down what's going on here based on my current understanding.

Signal is the declared type for the Signal "class" we're creating, and will be an instance of Applicative, Functor, etc. (as seen later in the file)
SignalV (for Signal variant?) is the type signature for the object with functions subscribe, get, etc. which has the unique behavior of this object
inj (inject?) is an identity function that takes an object of type SignalV and casts it to a Signal for typechecking purposes
prj (project?) is an identity function that takes an object of type Signal and casts it to a SignalV for typechecking purposes

I'm assuming the separate Signal and SignalV types as well as the need for inj and prj functions are all code acrobatics to get around Flow's limitations for the purposes of the typechecking involved. You're faking polymorphism using variant types because Flow's type system does not allow polymorphic types that are not classes of the same structural shape. In the case of a call to inj the type Signal is present on the value returned, and vice versa for prj. Is this correct?
It seems like flipping between variants like this is a lot of mental complexity where a more direct solution could be possible. Would you care to comment on whether it might be possible to make this less boilerplate-y for creating new types like this?
Finally, is there a reason why map, of, etc can't be static members of the Signal class? It seems like there are really multiple things in play here: a Signal type which is used to characterize what these instances of map, of, and so on are valid for, while SignalV represents the actual data structure that they work for.
I'm trying to find a solution that lets one implement these patterns as non-members without having to declare variants for each class, I'll let you know if I find anything in the meantime.

This is the pattern:
HKT represents a generic unary type constructor (kind * -> *)
class HKT<F, A> {} // <= `F` and `A` are phantom types

The recipe
We need

a nominal type for F (let’s call it IsF) which represent a specific unary type constructor and should not be exported
(optional, it's just handy) a type alias for the concrete value (let’s call it FV)
the main type alias type F = HKT<isF, A>;
a way to put a value of type FV into F (let’s call it inj)
a way to get back the value FV from F (let’s call it prj)

FV is the type at runtime (the V means "value" but we come up with a better name). F exists only for Flow. inj and prj are basically identity functions and could be even stripped out by a babel plugin when producing the build (https://github.com/gcanti/flow-static-land/issues/18)
Examples
Example 1: Maybe
class IsMaybe {} // <= nominal type, not exported

export type MaybeV = ?A; // <= handy type alias

export type Maybe = HKT<IsMaybe, A>; // <= main type alias

export function inj(a: MaybeV): Maybe { // <= inj
  return ((a: any): Maybe)
}

export function prj(fa: Maybe): MaybeV { // <= prj
  return ((fa: any): MaybeV)
}

Example 2: Signal
class IsSignal {}

export type SignalV = {
  subscribe(subscriber: (a: A) => any): void,
  get(): A,
  set(a: A): void
};

export type Signal = HKT<IsSignal, A>;

export function inj(a: SignalV): Signal {
  return ((a: any): Signal)
}

export function prj(fa: Signal): SignalV {
  return ((fa: any): SignalV)
}

Observations

It seems like flipping between variants like this is a lot of mental complexity where a more direct solution could be possible. Would you care to comment on whether it might be possible to make this less boilerplate-y for creating new types like this?

There's some boilerplate but except the SignalV type alias (which is however pretty handy) all those ingredients seem required.

Finally, is there a reason why map, of, etc can't be static members of the Signal class?

I wanted to implement the static land specification which I prefer over fantasy-land. This open up the possibility to implement different instances (unlike PureScript or Haskell) of a type class if needed. Example: numberAdditionMonoid and numberMultiplicationMonoid

@jsonnull thanks for the detailed explanation.

Even static-land shows implementations for various type classes implemented as static methods of that class

Yes but I don't see why you may want to do that (for example what's the purpose of the class constructor?), a POJO seems to work just fine.

what's missing or impossible in this example that is accomplished in flow-static-land

Well, nothing really missing or impossible I guess, but I want to keep separated the specific unary type constructor (e.g. IsMaybe) from the implementation of the type class instances
class IsMaybe {
  static concat(x, y) {
    // what if I want to define an additional concat implementation?
    // Where can I put the definition?
    ...
  }
}

Again, I don't see the value of using a class over a POJO.

I'm just not sure if this is necessary (<= talking about inj and prj)

How can you inject a value without inj? How can you get back a value without prj? Think of Arr:
import * as arr from 'flow-static-land/Arr'

const x: Arr<number> = arr.map(n => n * 2, arr.inj([1, 2, 3])) // <= of is not useful here
const y: Array<number> = arr.prj(x) // <= how can I do this without prj?

The current implementation provides a high degree of type safety, after a few tests with your implementation I found some issues
of is unsafe
const x: Maybe<string> = of(1) // <= no errors

map is unsafe
map((s: string) => s + 'hello', of(1)) // <= no errors

hence the types Of and Map seem not useful. Also, in the map implementation of Either
export function map<L, A, B>(f: (a: A) => B, fa: Either<L, A>): Either<L, B> {
  ...
}

you need an additional L type parameter, not sure if this matches with your type Map.
The MaybeClass type is not nominal (using type Something = ... you can't produce a nominal type):
function foo(x: Maybe<string>): void {}

export type ArrClass = Functor<ArrClass> & Applicative<ArrClass>;
export type Arr = HKT<ArrClass, A>;

function ofArr(a: A): Arr {
  return ((a: any): Arr)
}

foo(ofArr('a')) // <= an Arr instead of a Maybe but no errors

If you are looking for an alternative implementation with less boilerplate (which would be great ;) my advice is to test it against (at least) the following types:

Maybe
Arr
Either<L, R>
Eff<E, A> or Reader<E, A>

which provide a good spectrum of use cases.


#1758 : Typo in Readme

Fixes : #1758
Fix Typo in mkdocs instructions in Readme and add comment to remove NODE_OPTIONS in test harness package.json.
Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

Hi @matthoward366 we can also edit the documentation by clicking on below icon. Should this instruction be mentioned in Readme ?

I don't think so.  How does this even work?  Would that update the code somehow?

I don't think so. How does this even work? Would that update the code somehow?

Hi @matthoward366 When we click on that icon. It shows below message saying the changes will be saved to a new branch in our fork and using it we can raise a PR.

Can we hide the icon?

Can we hide the icon?

Sure I will look into this.


Created and updated docs for 1.25-7

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

/lgtm


Error checks and debugging update to nzbtoSonarr

Added lots of checks and more debug logging for error checks.

Sorry I didn't wait till I was done with this before I did that last pull request. Had more time than I thought.

No problem, it looks good


Type inference failure of Option#getOrElse into a union type

scala.js version: 0.6.26
scala version: 2.12.8
Having trouble with Option and union type like below:
https://scastie.scala-lang.org/ECfikjmsQaSLfXpR7E57lQ
import scala.scalajs.js
import scala.scalajs.js.|

def foo(x: String | Int): Unit = println(x)
def fooNoUnion(x: String): Unit = println(x)

foo("bar") // ok
foo(Option("bar").getOrElse("baz"): String) // ok
fooNoUnion(Option("bar").getOrElse("baz")) // ok

// type mismatch;
// found   : Object
// required: String | Int | Double | scala.scalajs.js.Array[Any]
foo(Option("bar").getOrElse("baz"))

// type mismatch;
// found   : Any
// required: String | Int | Double | scala.scalajs.js.Array[Any]
foo(Option(1).getOrElse(0))

Hi @guersam,
Although I sympathize with the inconvenience of having to add : String, I don't think there is anything we can do about this. Type inference is done by the type checker of scalac, which is not in Scala.js' hands. The nature of Scala.js' | type is such that it is a second-class citizen for type inference, because it does not actually induce a subtyping relationship. I don't see anything that could be done either on Scala.js' side nor on Scala's side to improve this situation.
The only consolation is that Scala 3 (aka Dotty) has proper union types baked into the type system, and therefore will not suffer from this issue.
I'm going to close this issue as won't fix/upstream, since the only possible fix is in upstream Scala.

I hoped that there were some way to fix it by modifying the union type encoding, but it's fine as there are a workaround. Yes Scala 3 might be the rescue... Scala.js is so cool BTW, and thanks for such a detailed explanation!


Restart frame not working as expected

Have the following code:
console.log('hello world');
console.log('hello world 2');

Set a breakpoint on the second line, start debugging and once the breakpoint is hit restart frame. Notice that the frame is not restarted, but program hits an entry frame stop and continues till exit

This seems to be a 'restart frame' bug in node < 5.11.
Restart Frame works beginning with 5.11.

We should mention that in the release notes.


[Proposal] Applying an insert form multiple times.

Description
I'm trying to develop a batch insert.
The use case is creating licenses. It includes  creating hashes,  expiry date and more.
So considering I filled in an insert form - I would now like to treat  it as a template and apply it n times with all the business logic which is already included in the form ( mainly post operations on fields and on the form itself)
I looked through the code for hook points but could not detrmain were I could call the InsertData function because this function calles hooks but it seems to me it's not currently hook-able from anywhere.
I then tried to investigate the API - calling the form through the API multiple times directly. But, currently it lookes like a reverse engineering work - I wish it was a bit more documented :)
Would appreciate any suggestion or help
Thank you

@alonbg Thanks for your proposal. It sounds not that difficult to support that. We will consider quickly developing it.


Howto for dummy ?

Hi, can anybody give me a step by step guide... sorry
I´m not so deep into coding... and i have only the iPhone app.
Is there a way to get the password/secret of connected drive without an android phone?
Thanks

Hi Don,
If you're not a coder, you may find it easier to use BMW's official IFTTT services - see https://ifttt.com/bmwlabs
Hope that's helpful.

There is just one catch... BMW Labs is -- to my knowledge -- currently unfortunately not available for all regions :(


Add parenthesis around subquery

Is your feature request related to a problem? Please describe.
I'm always frustrated when I want to add () around a subquery to use it as a where clause, the selected text gets deleted and replaced by (
Describe the solution you'd like
Imagine this scenario, you have a query to get the department id:
select id from departments where name = 'IT'

Now, you want to know all the people working on this department so you go ahead and:
select * from employees where deparment_id in

Right here, you might want to select the first query with the cursor and press ( right, It would be awesome if after that the query can get wrapped by parenthesis, Currently, when you do that, the query is deleted and removed by the parenthesis.
Describe alternatives you've considered
Same as above
Additional context
The above-mentioned feature is part of PgAdmin. I only hate it after PgAdmin started to work only in the browser and then I switched to DBeaver and this seems a nice to have feature

thanks for the report.
Seems the feature is working but not in all cases

Hi @LonwoLonwo
I'm sorry. I think I was not clear enough. Let's say you're selecting the id of the IT department
SELECT id FROM deparment WHERE name = 'IT'

Now, let's say you want to know all the employees working on the above-mentioned department. So you need the following query:
SELECT * FROM employee WHERE deparment_id IN (SELECT id FROM deparment WHERE name = 'IT')

In this case, I want to use the first query as subquery, which means, I need to wrap it between parenthesis like this:
(SELECT id FROM deparment WHERE name = 'IT')

So it would be awesome if I were able to select the first created query and press the ( key, and all the query gets wrapped with parenthesis, as I shown before. Unfortunately, what actually happens it's that all the selected query is replaced by (

So far, the only case when I see that the replacement does not work - this is when there is nothing after query in SQL Editor and when it is right in front of delimiter (";").
I will fix it these cases, but for now, as a workaround, you can use space+delimiter at the end of the query (see video).
If you notice some more cases - please let us know.

Unfortunately, those several cases that I discovered not to fix.
They are on the side of the Eclipse, on which our program is based.
But you can use workaround, that I suggested.
Waiting for your reply.

Now I close this ticket, because it seems that problem solved - the wrapping in the brackets is supported by DBeaver.
Feel free to reopen the ticket if you appear additions.


Allow for passing some required parameters as null

The new "update branch protection" endpoint requires passing both required_status_checks and restrictions objects, although both can be passed as nulls.
This PR adds an allow-null that can be set for specific parameters, similar to allow-empty for required but empty strings, and sets allow-null to true for required_status_checks and restrictions.
I have not added/updated any tests, as it looks like they're automatically generated. I ran generate.js, but it didn't pick up any changes to include.

Thanks!


SAME OLD ISSUE, PLEASE, HELP!

I can't download anymore. Every time I try, the application closes itself and ask me to login again on instagram.

Disable "Anonymous viewing enabled" to solve the problem.

mute the thread
On Friday, December 28, 2018, 8:18:26 p.m. GMT+3:30, Alex220<EMAIL_ADDRESS>wrote:

Disable "Anonymous viewing enabled" to solve the problem.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


make an s().find(selector) to be a shortcut for s(selector)

might be needed for easier custom component implementation... (will provide examples later)

i.e. teach Locator to accept undefined as a selector:), hence identifying the "from the root" context


malloc.h?

When compiling on mac with g++, I get an error that malloc.h does not exist. It seems that it is necessary for jpge.cpp.

A quick google search found this answer on stackoverflow.
I would suggest removing the include, checking if the compiler complains and if so, seeing whether it's hard to substitute whatever it uses from malloc.h using stdlib functions.


How to release build after has been approved and submission status.

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
Hi, I'm new to fastlane and I have been trying to find out how to release a build to live after it has been approved by Apple. The only information i've found so far is to use the key: automatic_release when submitting for review but I need to be able to do this step manually (as in, specify a lane for this). Is there any way to do this?
Also, is there any way to know the current status of a build that has been submitted for review?
Thank you.

I don't think that's currently possible with fastlane. Only setting the automatic _release to true before submitting your app for review.

Also, is there any way to know the current status of a build that has been submitted for review?

You can do that using spaceship

Thank you Krause!

Can we close this issue?

Is there any plan on adding the release to live feature into fastlane in the near future?
Thank you.

Let's leave this issue open and see if other people ask for this feature. If others find it useful we can build it 👍  Or maybe someone wants to submit a PR

I don't know for sure, but after a bit of prodding around the code I found a release method in Spaceship:
https://github.com/fastlane/fastlane/blob/master/spaceship/lib/spaceship/tunes/app_version.rb#L599
I can't find any docs for it though so can't confirm whether this does what you want.


zandronum: Update to 3.1

Added checkver, autoupdate, persist, fix pre_install, and add pre_uninstall

Closes #748

[x] I have read the Contributing Guide.

/verify

Am I missing something? It appears you did follow my suggestions in the linked issue thread, but omitted the part that actually makes the game to use the persisted folders in the configuration file.

@ZzZombo you don't have to worry, the pre_(un)install scripts will copy the user's config to the persist folder and vice versa.

But the default config doesn't come with those values. They were my modifications to better accommodate Scoop.

Ok I will open another PR to add your fixes to it, I hope it works better than what I did.


pcre2: fix gitea websearch crashing when searching for a plain string

Description of changes

Things done
Tested on my gitea server by going to commit history and writing a string (not regex) into search commits input field.

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Seems to have caused a regression in rspamd: https://github.com/NixOS/nixpkgs/pull/181908

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/nixpkgss-current-development-workflow-is-not-sustainable/18741/110


Please provide stories to deploy different platforms like Electron and chrome extension

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [x] feature request

Hello, was going through the stories, nicely done! thanks for that! although it will be nice to have that on the main site.
Can you please add a story to create a chrome extension with popup.html, option.html and background.html?
One more story to write Electron app using angular cli
Thanks
Versions.

Repro steps.

The log given by the failure.

Desired functionality.

Mention any other details that might be useful.

Yes, the story about using the Electron will be very helpfull

All,
I spent a couple of days reviewing the cli codebase. The build system is very extensible. I ended up creating a new npm package named ng-electron-devkit that extends angular 6 build system to support electron-renderer. My goal is to add support for electron main process and packaging electron assets in the build pipeline in future updates.
This is not a hack to the CLI. You can target both electron-renderer and the browser and have completely different build settings!
Check it out

@dashkan fantastic job! I see there's a lot of community work which documents lots of use cases. Closing the issue for now. Thank you all sharing these resources!


Review Privacy policy for Miru

@sonamvg / @Dikshadwani what is the status on this? Please reopen if still actionable.


Bug: Uninitialized string offset: 1    CI 4

Error Getting
"title": "ErrorException",
"type": "ErrorException",
"code": 500,
"message": "Uninitialized string offset: 0",
"file": "D:\Xampp\htdocs\works\SciHorizon\system\Database\Query.php",
"line": 479,
Apache Server
Prepare statement i am using
$pQuery = $this->DB->prepare(function($db)
{
$sql = "INSERT INTO articles (article_slug,article_url,article_title,
article_abstract,article_authors,article_area,article_keywords,article_journal,
article_volume,article_issue,article_page_no,article_indexing,
article_published_date,article_created_by,
article_created_ip,pdf_name,pdf_file,image_file,image_file_name)
VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)";
return (new Query($db))->setQuery($sql);
});
Query Execution
$pQuery->execute("slug","url","title","abstract","authors","areas",
"keywords","journalName","volume","issue","pageNumber","indexing",
"publishDate","creatingAuthor","ip","pdfTitle","pdfFileName","","");
Issue:
After inserting into database getting the above error.
Cases 1
Getting the above error if i try to insert any empty string for any field.
case 2
If all fields are non empty then no error

The error is pretty straightforward. You are trying to have an array access on an empty string.
$word = 'CodeIgniter';
$a = $word[0];
echo $a; // will give you 'C'

$empty = '';
$b = $empty[0]; // will throw an error


Add compare subcommand

This PR addresses issue #618
Current issues

Not all comparison can be converted to GLM edits because it is not possible to delete objects or reset properties to defaults using GLM directives. In case of a delete, a warning message is insert into the GLM output.  In case of a reset, a comment is inserted into the GLM output.

Code changes

[x] Add framework for new subcommand
[x] Add comparisons
[x] Add object constraints

Documentation changes

/Subcommand/Compare

Test and Validation Notes

[x] Add gldcore/autotest/test_compare.glm

We can now delete these two folders, since test_json2glm.py essentially performs the same test.
https://github.com/slacgismo/gridlabd/tree/master/python_extras/json2glm
https://github.com/slacgismo/gridlabd/tree/master/python_extras/jsonglm


Query Regarding Performance Optimisation for Large-Scale Downloads

Dear img2dataset Maintainers,
I hope this message finds you well. I am reaching out to discuss a potential enhancement in the performance of img2dataset when dealing with large-scale image downloads. While the tool performs admirably, I believe there is room for further optimisation, particularly when operating on datasets exceeding 100 million images.
I have observed that the download speed tends to fluctuate, and at times, the CPU and bandwidth utilisation do not reach their full potential. This observation leads me to ponder whether additional parallelisation strategies or more efficient resource allocation could be implemented.
Moreover, I have a few suggestions that might contribute to the tool's efficiency:

Introducing a dynamic thread management system that can adapt to the current network and CPU load.
Implementing a more sophisticated DNS caching mechanism to reduce the overhead of DNS lookups.
Exploring the possibility of integrating with a CDN or other network optimisation services to enhance download speeds globally.

I am keen to hear your thoughts on these suggestions and would be delighted to contribute to the development of these enhancements.
Thank you for your time and the excellent work you have done with img2dataset. It is a vital tool for the machine learning community, and I am excited about its potential evolution.
Best regards,
yihong1120

Hi Yihong,
Your suggestions make a lot of sense.
I am interested by any improvement that would improve the speed further.
In particular

A dynamic thread management would be interesting. I tried in the past to implement timeout with no great success, maybe starting more threads when some are stuck would help. One limiting factor however is the capacity of the operating system to open enough TCP connections.
Yes that's in fact something some users are currently looking in as DNS lookup is difficult in some environment. I recommend knot resolver in the readme but I would appreciate any in built solution for this. I tried static resolving in the past but hit issues (DNS load balancing needs to be handled, some domain to IP mapping changes often)
I'm curious on your ideas with CDN. Do you mean an externally hosted software or some CDN implementation?

Regardless, I encourage you to try out any ideas.
I found to get reproducible results of speed, using a shard from a large dataset. I would usually use a shard from laion400m or laion2B-en but since those are currently down, you may use coyo700m as a replacement.
Usually running the tool for a few minutes and looking at the metrics on wandb is pretty efficient


Fix currency symbol for VDM Collective

Mail form Jean Paul.

On the Host : https://opencollective.com/vdmentransition  I see 200$US given  (strange to see $ instead of €) (we could also remove it if it is possible to add directly the money on the specific collectives.

@nicobarretoOC we set the collective in EUR

Hi Pia,
You can close the ticket
Thanks

thanks @JeanPaulGrange


analytics 3.0.0 dashboard logout issue

I am able to load analytics dashboard
but on click of logout, we are getting error as the site cant be reached.
I have attached my YAML
deployment - Copy.zip

file and error screenshot.
please correct me in my configuration

Define the externalLogoutUrl property under auth.configs in the dashboard deployment.yaml file. Please refer the documentation for more https://apim.docs.wso2.com/en/latest/learn/analytics/configuring-apim-analytics/#details-of-the-properties-in-apim-idp-client

Closing the issue since answered.


Dependabot groups not working for TRPC

Is there an existing issue for this?

[X] I have searched the existing issues

Package ecosystem
NPM
Package manager version
8.19.4
Language version
Node 18.15.0
Manifest location and content before the Dependabot update
/package.json
{
  "name": "project-name",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    ...
  },
  "dependencies": {
    "@trpc/client": "^10.33.0",
    "@trpc/next": "^10.33.0",
    "@trpc/react-query": "^10.33.0",
    "@trpc/server": "^10.33.0",
    ...
  },
}

dependabot.yml content
version: 2
updates:
  - package-ecosystem: "npm" # See documentation for possible values
    directory: "/" # Location of package manifests
    schedule:
      interval: "daily"
    groups:
      # @trpc packages must be bumped in lockstep
      trpc:
        patterns:
          - "@trpc/server"
          - "@trpc/react-query"
          - "@trpc/next"
          - "@trpc/client"

Updated dependency
@trpc/client updated from 10.33.0 to 10.34.0.
@trpc/next updated from 10.33.0 to 10.34.0.
What you expected to see, versus what you actually saw
TRPC is a set of packages that all bump in lockstep. The 4 TRPC packages we use are all peer dependencies of each other.
We only saw 2 of the 4 expected bumps in package.json:
@trpc/client updated from 10.33.0 to 10.34.0
@trpc/next updated from 10.33.0 to 10.34.0
We were missing the following two bumps in package.json:
@trpc/react-query updated from 10.33.0 to 10.34.0.
@trpc/server updated from 10.33.0 to 10.34.0.
Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
package.json:

package-lock.json: As you can see, the @trpc/server and @trpc/react-query deps do get bumped, but ONLY in the lockfile. We're missing those bumps in the package.json itself. I figure this means the actual resolved set of packages is fine, but this will end up being confusing to us in the long term since it will seem like the trpc packages are out of sync whenever we manually review our package.json.

Smallest manifest that reproduces the issue
No response

This was fixed today by #7561. I verified it bumps all four now here: https://github.com/dsp-testing/trpc-group/pull/1


How speed up rubocop

When i write code, then i need to wait few minutes until rubocop will check code. Is it normal? Rubocop works very slowly. How i can fix it?

It runs immediately after you save a file. There's an open issue #3 on this to also do it when you didn't save yet.


Semantic release support

These changes will help in automating the whole package release workflow including :-

Determining the next version number
Generating the release notes
Publishing the package

No need to maintain changelog now, details will be visible via Releases tab in github with other meta data.
@tannerlinsley to enable releases please add npm publish and github token in secrets

So what happens if I merge or create commits that don't have any of these template prefixes? What happens? I mostly just want this to be forgiving.

Yeah, if commits does not follow template, then it will ignore them and no release.
So how it goes - It analyses all commits one by one made since last release and chooses the highest version. For ex - 5 commits are there since last release then in ci logs it will show something like -
Analysing 1 'commit msg' - no relese required
Analysing 2 'commit msg 2' - patch release required
Analysing 3 'commit msg 3' - minor required
Analysing 4 'commit msg 4' - no release required
Analysing 5 'does not follow template' - no release required
Then it will conclude to make minor release.

Awesome. I'll admit, I am weary to hand over release control to this, but am willing to give it a shot.

Thanks, sounds good.

@all-contributors please add @gargroh  for tool


Mirror image

Is there a way to take mirror reflection of the plot? Great app otherwise!

Interesting question!
To rotate the drawing 180 degrees around the Z axis (the axis going towards and away from you), one can use the Rotation field in the Layout form (accessed using the Edit: Layout menu button towards the top of the app). Just add 180 degrees to whatever the current value is in the Rotation field.
If one's drawing has a flat outermost loop (also specified in the Layout form), then one could flip the drawing over the axis created by the flat outermost loop by switching to the flipping tool and flipping all the individual stems in the outermost loop. (This would correspond to flipping the drawing over the X axis if the value of the Rotation field in the Layout form is zero.)
To flip a drawing with a flat outermost loop over the axis perpendicular to the flat outermost loop, one would flip all the stems in the outermost loop and add 180 degrees to the Rotation field in the Layout form. (This would correspond to flipping the drawing over the Y axis if the drawing originally had zero rotation.)
If the drawing does not have a flat outermost loop (i.e., is circular), then in principle one could flip the drawing over the X axis by making the Height of bases negative and flip the drawing over the Y axis by making the Width of bases negative in the Bases form (accessible using the Edit: Bases: By Selection menu button). This is not currently supported, though, as other code in the app requires that bases have positive width and height. (It seems like this might be worth working on, though, now that you've raised this issue.)
Right now kind of a "hacky" way to flip a drawing with a circular outermost loop over the X and Y axes is to add some extra bases to the beginning and end of the drawing and then pair these extra bases at the beginning and end together to form a new stem enclosing the rest of the drawing. The previous outermost loop will now be an inner loop. The extra bases added at the beginning and end will now form a new outermost loop that can be made flat. By making the new outermost loop flat, one can now flip the drawing over the X and Y axes using the same techniques described above for drawings with flat outermost loops.


Dependency conflict - cannot pip install

On Colab:
!pip install -q roboflow

.
.
.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
google-colab 1.0.0 requires requests~=2.23.0, but you have requests 2.27.1 which is incompatible.
datascience 0.10.6 requires folium==0.2.1, but you have folium 0.8.3 which is incompatible.
albumentations 0.1.12 requires imgaug<0.2.7,>=0.2.5, but you have imgaug 0.2.9 which is incompatible.

The error is due to Colab's preset package dependencies as well as the dependency resolver (as you likely already know) with the pip package and all the other packages necessary to run the model training. The notebook still runs fine, however.
The spot you'll want to continue on to paste your python export code from your dataset is actually the cell below the one with "!pip install -q roboflow"
Example from the YOLOv5 notebook:

The dataset will export just fine in that cell (the one that starts with "%cd /content/yolov5"). You'll just paste everything from "!pip install roboflow" to the rest of the dataset export code right below "%cd /content/yolov5."

Hi @robmarkcole, are you still having this issue?

I was just able to pip install
In a colab instance without issue so this can be closed. Cheers


Store deal info for rig images in a table (from NFT.storage), and use table to derive a metadata attribute on each rig

Closing this because I've created new more granular issues representing this work


Support for inquirer 9?

$ npm install inquirer-press-to-continue
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/inquirer
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer inquirer@"^8" from<EMAIL_ADDRESS>npm ERR! node_modules/inquirer-press-to-continue
npm ERR!   inquirer-press-to-continue@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Fixed in 1.2.0!


Changed property name to remove warning

Some issue with styled-components is causing warning message
Fixes #.
Changes proposed in this pull request:

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

@raaymax Thanks for PR! Could you please test if overflow works in every column? :) https://github.com/prisma/graphql-playground/issues/885 It should be still issue. Thanks 🚀

When I will have few minutes of free time I'll look at it.

Thx, for PR! I will look into the overflow issue by myself.


Automatic adding of link cards

It would be nice if it could automatically add link cards since that what Twitter does (or make it an option that people can disable/enable).

+1 for retaining the current behavior as an option, I frequently edit URLs before grabbing the preview (eg removing tracking parameters).

In that case, the link card should automatically use the URL after the changes to it are done being made.

option

Yes, please. I only add them if the display looks ok.

bump

Thanks for adding it :)


translation into Spanish

I invite up to https://www.transifex.com/ cms high, and I promise to make a translation into Spanish

Thanx for offer. But it service is a little expensive for free opensource software

Or some other site like this, are there any?

Are you really want to translate into Spanish? Ok, I'll find how I can organize it, and I'll notify you

ok, perfect


Allow deployments to correctly indicate they are failing to deploy

Description
Deployments track changes to the system, but there are many reasons that a new deployment may fail to roll out.  This change will give the user more indication that the deployment has failed to successfully roll out.
Progress Tracker

[ ] Alpha

[x] Write and maintain draft quality doc

[x] During development keep a doc up-to-date about the desired experience of the feature and how someone can try the feature in its current state. Think of it as the README of your new feature and a skeleton for the docs to be written before the Kubernetes release. https://github.com/kubernetes/kubernetes.github.io/pull/1699

[ ] Design Approval

[x] Design Proposal.  https://github.com/kubernetes/kubernetes/pull/19343
[x] Decide which repo this feature's code will be checked into. Not everything needs to land in the core kubernetes repo. kubernetes/kubernetes
[x] Initial API review (if API).  Maybe same PR as design doc.  https://github.com/kubernetes/kubernetes.github.io/pull/1699

Any code that changes an API (/pkg/apis/...)
cc @kubernetes/api

[x] Identify shepherd (your SIG lead and/or<EMAIL_ADDRESS>will be able to help you). My Shepherd is: @kargakis

A shepherd is an individual who will help acquaint you with the process of getting your feature into the repo, identify reviewers and provide feedback on the feature. They are not (necessarily) the code reviewer of the feature, or tech lead for the area.
The shepherd is not responsible for showing up to Kubernetes-PM meetings and/or communicating if the feature is on-track to make the release goals. That is still your responsibility.

[ ] Identify secondary/backup contact point. My Secondary Contact Point is<EMAIL_ADDRESS>(and/or GH Handle)

[ ] Write (code + tests + docs) then get them merged.  ALL-PR-NUMBERS

[x] Code needs to be disabled by default.   Verified by code OWNERS
[x] Minimal testing
[x] Minimal docs

cc @kubernetes/docs on docs PR
cc @kubernetes/feature-reviewers on this issue to get approval before checking this off
New apis: Glossary Section Item in the docs repo: kubernetes/kubernetes.github.io

[x] Update release notes

[ ] Beta

[ ] Testing is sufficient for beta
[ ] User docs with tutorials

Updated walkthrough / tutorial in the docs repo: kubernetes/kubernetes.github.io
cc @kubernetes/docs on docs PR
cc @kubernetes/feature-reviewers on this issue to get approval before checking this off

[ ] Thorough API review

cc @kubernetes/api

[ ] Stable

[ ] docs/proposals/foo.md moved to docs/design/foo.md

cc @kubernetes/feature-reviewers on this issue to get approval before checking this off

[ ] Soak, load testing
[ ] detailed user docs and examples

cc @kubernetes/docs
cc @kubernetes/feature-reviewers on this issue to get approval before checking this off

FEATURE_STATUS is used for feature tracking and to be updated by @kubernetes/feature-reviewers.
FEATURE_STATUS: IN_DEVELOPMENT
More advice:
Design

Once you get LGTM from a @kubernetes/feature-reviewers member, you can check this checkbox, and the reviewer will apply the "design-complete" label.

Coding

Use as many PRs as you need.  Write tests in the same or different PRs, as is convenient for you.
As each PR is merged, add a comment to this issue referencing the PRs.  Code goes in the http://github.com/kubernetes/kubernetes repository,
and sometimes http://github.com/kubernetes/contrib, or other repos.
When you are done with the code, apply the "code-complete" label.
When the feature has user docs, please add a comment mentioning @kubernetes/feature-reviewers and they will
check that the code matches the proposed feature and design, and that everything is done, and that there is adequate
testing.  They won't do detailed code review: that already happened when your PRs were reviewed.
When that is done, you can check this box and the reviewer will apply the "code-complete" label.

Docs

[x] Write user docs and get them merged in.
User docs go into http://github.com/kubernetes/kubernetes.github.io.
When the feature has user docs, please add a comment mentioning @kubernetes/docs.
When you get LGTM, you can check this checkbox, and the reviewer will apply the "docs-complete" label.

@kubernetes/docs https://github.com/kubernetes/kubernetes.github.io/pull/1699 is the docs PR for this.

@smarterclayton can you confirm that this item targets stable in 1.6?

Docs at http://kubernetes.io/docs/user-guide/deployments/#deployment-status

@kargakis please, provide us with the release note at https://docs.google.com/spreadsheets/d/1nspIeRVNjAQHRslHQD1-6gPv99OcYZLMezrBe3Pfhhg/edit#gid=0

Done
On Mon, Mar 6, 2017 at 8:56 PM, Ihor Dvoretskyi<EMAIL_ADDRESS>wrote:

@kargakis https://github.com/kargakis please, provide us with the
release note at https://docs.google.com/spreadsheets/d/
1nspIeRVNjAQHRslHQD1-6gPv99OcYZLMezrBe3Pfhhg/edit#gid=0
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/features/issues/122#issuecomment-284512925,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADuFfwU8ewsgc4zqSGhxPV8NgByQzKSHks5rjGTegaJpZM4KR3BL
.

@idvoretskyi , @kargakis , are any changes needed for the documentation for 1.6?

@devin-donnelly no, everything that needs to be doc'ed should already be.

Closing, as this is done


JSON localization files not working from laravel package

Laravel Version: 5.4.2
PHP Version: 7.0.10

Description:
inside my package service provider in the boot method i have loaded my translation files
$this->loadTranslationsFrom(__DIR__.'/../resources/lang/', 'ideenkonzept');

and when i try to echo a translation {{ __('ideenkonzept::URL') }} it does not work
sine the namespace is not being extracted from the key and passed to the file Translator->Fileloader
i managed to get it to work by hard coding my namespace in the Fileloader which is wrong todo
/vendor/laravel/framework/src/Illuminate/Translation/FileLoader.php

 public function load($locale, $group, $namespace = null)
    {
        if ($group == '*' && $namespace == '*') {
            // before editing return $this->loadJsonPath($this->path, $locale);
            // the translation file array is saved in $this->hints[namespace]
            // but the name space is not passed to the loader and the loader
            // always return default translation path
            return $this->loadJsonPath($this->hints['ideenkonzept'], $locale);
        }

        if (is_null($namespace) || $namespace == '*') {
            return $this->loadPath($this->path, $locale, $group);
        }

        return $this->loadNamespaced($locale, $group, $namespace);
    }

Duplicate of https://github.com/laravel/framework/issues/17923


update version on PyPi?

Would it be possible to update the django-session-cleanup package on PyPi with a version 0.0.2, containing the changes from #1?

This is fixed - see https://pypi.org/project/django-session-cleanup/1.0.0/.


Migration / Import of Users / Members from WP to pH7CMS

Hello All;
After wandering around the wiki, docs, and database for V15  I'm pretty close to making a practice run of moving users from our WP social site to pH7-social-Dataing CMS.
I know there is an user import function but it does not import avatars or photos.  Also the passwords are an issue with this method.(?)   Maybe a direct SQL insert would work?  I'm just not clear on the images (directory/sizes)?
If any pro users could give some advice on importing 300 users with associated avatars and pw,  I'd be grateful.

Issue #314 gave a bit of help for the Import CSV feature, but I have not got it to work - yet.  Even if it did, I'd be left with matching 300 Avatars to member ID's and importing 300 directories named correctly with 5 versions of the image.
I have been attempting to insert members into DB but the information is not being passed to the front end.  I populated pH7uw_members and pH7uw_members_info, pH7uw_members_privacy.  It seems that the information from table pHuw_members_info is not being read.
Is there something I can do to trigger the DB to read the inserted information?  Am I missing a table that has to have data added?

I get this when importing csv:
`Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request.`
Here is my csv file:
"Username","Username","FirstName","LastName","Email","description","sex","match_sex","birth_date","address","city","state","zipcode","country","phone","website","socialNetworkSite","height","weight" "Freddyman","Freddy","Fred","Hammer","example11@example.com","Bla Bla Bla Bla Bla Bla ","male","female","1999-01-01","Main St","Calgary","AB",0,"US","NULL","NULL","NULL","NULL","NULL" "Freddyboy","Daddy","Thor","Oden","example11@example.com","Nothing to say here","male","female","1999-01-01","RR 4","Wimborne","AB","T4G0M2","CA","NULL","NULL","NULL","NULL","NULL"

"Username","FirstName","LastName","Email","description","sex","match_sex","birth_date","address","city","state","zipcode","country","phone","website","socialNetworkSite","height","weight","IP"
"Freddyman","Fred","Hammer","example11@example.com","Bla Bla Bla Bla Bla Bla ","male","female","1999-01-01","Main St","Calgary","AB",0,"US","","","","","","<IP_ADDRESS>"
"Freddyboy","Thor","Oden","example11@example.com","Nothing to say here","male","female","1999-01-01","RR 4","Wimborne","AB","T4G0M2","CA","","","","","","<IP_ADDRESS>"

@TGHepburn I'd go with a real short and easy answer to one of your question "Is there something I can do to trigger the DB to read the inserted information?"
Simply take some programming classes in a nearby college or university. If you don't understand how does WordPress reads a database and think that you can "make it read" then there's no answer here that's gonna be of any help. There's one thing about user name and information, have the idea went through your mind that maybe both software don't encode the password in the same way ?
Sorry but maybe you should start by building a test server and learning before trying to operate servers (and end up with problems later-on). It's not because you can install a software that you can run a web service.

Solved.
I'll give here a very brief overview of how I was able to import the WP users and their profile images:

Create same number of user profiles as needed for import using "Generate Bulk Members"  This will ensure that all tables are populated with the minimum required information
Using SQL update the table[s] information members and member_info watch the limit on character length for file name when renaming imported image files
Create image multiples for the different sizes the cms requires with correct naming convention.  Each group of files will be in a directory named the same as the profile's username ; all these directorys upload to data/system/modules/user/avatar/img


293-refactor-signal-read-and-write

Refactoring of audio input and output
Similar functions for reading and writing audio files were previously defined at several points in the library. These have all been replaced by a single pair of functions in utils/file_io that are better documented and provide consistent behaviour.

@groadabike - I had initially wanted to store multichannel signals as shape  [n_channel, n_samples] as this makes it easier to iterate over channels i.e.  'for channel in signal:'  but soundfile (which is widely used) uses the opposite convention, so I think transpose on read and write would confuse people.  Iterating over channels is still easy enough with 'for channel in signal.T:'


Diverse fikser

Coverage decreased (-3.1%) to 96.875% when pulling 1b651b52bb9d6d5b4916949a3c988388aadc9bb2 on jorjoh:master into a3402c44d9afcc42ccadf20e1a25491fb0961019 on telemark:master.


Add Windows Hello for Business Note

https://github.com/MicrosoftDocs/windows-itpro-docs/issues/3602
https://docs.microsoft.com/en-us/windows/security/identity-protection/hello-for-business/hello-faq

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@dulcemontemayor The PR that addresses issue #3602 is available for review. Thanks.

@DulceMontemayor Following up for updates.

@DulceMontemayor Following up for updates.
cc @Dansimp

The PR is being escalated.

@AndreaBarr The PR that has been approved by document author is ready to be merged. Thanks.


Requester pays

If user has a RequesterPays-Bucket he can set the plugin parameter requester_pays, so the files will be uploaded with RequestPayer=requester parameter

Documentation for this option is missing.

@sdomme what should we do with this one?


#145839283 : Fixed unit tests  in apiserver and servicebroker

@ghaih and @kanekoh any more comments ?

LGTM


rustfmt configuration file

There is no rustfmt.tomlused in the code, except for .editorconfig
I'm trying to replicate the configurations used in substrate code to rustfmt.toml,
unstable_features = true
max_width = 100
# substrate devs uses hardtabs as convention
hard_tabs = true
# prevent reorder imports
reorder_imports = false
# prevent reorder of module declarations
reorder_modules = false
imports_layout = "Mixed"
use_small_heuristics = "Max"

but everytime I invoke cargo fmt there are a lot of changes to the code.
I'm curious to find out how the substrate devs are synchronizing their format configurations.

Hey, we don't use rustfmt in Substrate.
Here you can find our style guide.

but everytime I invoke cargo fmt there are a lot of changes to the code.
I'm curious to find out how the substrate devs are synchronizing their format configurations.

Same, used to add one line in a .rs file and it changes more than 50+ lines after saving...one of a branch on my fork added 3 methods and 2 structs, it changes more than 5000+ lines, this is horrible.

Appears rustfmt.toml can disable rustfmt entirely by saying ignore = ["/"] after https://github.com/rust-lang/rustfmt/issues/3388, which causes errors on stable, but that's fine.

In case somebody using emacs, and have (rust-format-on-save t) working in the configuration.
(lambda ()
  (if (string-match "substrate" buffer-file-name)
    (rust-disable-format-on-save)))


[Bug] Terminate doesn't work

What are you really trying to do?

$ temporal server start-dev
$ temporal workflow terminate  -q 'ExecutionStatus="Running"'
Error: unable to count impacted workflows: Operation not supported. Please use on Elasticsearch
('export TEMPORAL_CLI_SHOW_STACKS=1' to see stack traces)

Describe the bug

Terminate uses count API, which only works with ES.

This now works. Related: https://github.com/temporalio/cli/issues/63


Fix parallelism for ReadGroupStreamer.

This was tested manually to ensure that the number of active Dataflow tasks was larger than the number of read group sets.

Hi Nicole,
Looks nice!  A couple of small things:
https://github.com/deflaux/dataflow-java/blob/master/pom.xml#L117 -> s/v1beta2-rev87-1.20.0/v1-rev56-1.21.0
https://github.com/deflaux/dataflow-java/blob/master/pom.xml#L194 -> s/1.128/2.1.0
Thanks,
~p

LGTM
Thanks!  For my own education, how did you discover they were being fused?

Hi Dion and Nicole,
You might want to be aware that the OpenJDK 7 builds are not properly working.  If you look at the end of the raw log file, you will see the following core dump and error:
7f10a58bd000-7f10a58be000 r--p 00022000 08:01 3267                       /lib/x86_64-linux-gnu/ld-2.15.so
7f10a58be000-7f10a58c0000 rw-p 00023000 08:01 3267                       /lib/x86_64-linux-gnu/ld-2.15.so
7ffe40f0b000-7ffe40f2f000 rw-p 00000000 00:00 0                          [stack]
7ffe40fd9000-7ffe40fdb000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
[ERROR] Aborted (core dumped)

[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Google Genomics and Dataflow
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.389 s
[INFO] Finished at: 2016-02-06T00:02:10+00:00
[INFO] Final Memory: 35M/217M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:cobertura-maven-plugin:2.7:instrument (default-cli) on project google-genomics-dataflow: Unable to instrument project. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

travis_time:end:0347a42a:start=1454716914055495207,finish=1454716931072952112,duration=17017456905
travis_fold:end:after_success

Done. Your build exited with 0.

~p

Hi Dion,
Regarding fusion optimizations of a Dataflow graph, you can monitor your worker log and check for fusion steps to see the worker load.  Below is a screenshot from the following page under the "Detecting an Exception in Worker Code" heading - notice the fusion steps:

If you want to know more about fusion optimization, it is documented at the following link, under the "Preventing Fusion" heading:
https://cloud.google.com/dataflow/service/dataflow-service-desc#Optimization
The specific example details are the following:

For example, one case in which fusion can limit Dataflow's ability to optimize worker usage is a "high fan-out" ParDo. In such an operation, you might have an input collection with relatively few elements, but the ParDo produces an output with hundreds or thousands of times as many elements, followed by another ParDo. If the Dataflow service fuses these ParDo operations together, parallelism in this step is limited to at most the number of items in the input collection, even though the intermediate PCollection contains many more elements.

Hope it helps,
Paul


'object reference not set to an instance of an object' when training a image classification model

System Information (please complete the following information):

Model Builder Version (available in Manage Extensions dialog): <IP_ADDRESS>5501
Visual Studio Version : community 2022 17.9.6, in a .net Maui project

Describe the bug

On which step of the process did you run into an issue: when training the model, it trains right and generate the cs files but raise the error "object reference not set to an instance of an object"
Clear description of the problem: here are the log before and when the problem happen :
Updating nuget dependencies... (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2024-05-11 16:08:14.5148 INFO Starting update NuGet dependencies async. (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2024-05-11 16:08:14.5148 INFO Installing nuget package, package ID: Microsoft.ML, package Version: 3.0.1 (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2024-05-11 16:08:14.5441 INFO Installing nuget package, package ID: Microsoft.ML.Vision, package Version: 3.0.1 (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2024-05-11 16:08:14.5441 INFO Installing nuget package, package ID: SciSharp.TensorFlow.Redist, package Version: 2.3.1 (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2024-05-11 16:08:14.5681 INFO COMPLETED (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2024-05-11 16:08:15.0210 DEBUG update TrainViewModel_16.RemainingSeconds (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2024-05-11 16:08:15.0210 DEBUG update TrainViewModel_16.RemainingTime (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2024-05-11 16:08:15.0621 DEBUG La référence d'objet n'est pas définie à une instance d'un objet.
Microsoft.ML.ModelBuilder.Utils.Utilities.NeedsCompileTagsAdded(Project project) dans
//src/Microsoft.ML.ModelBuilder/Utils/Utilities.cs:ligne 408
Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AddModelItemGroup(String stateFileNameWithoutExtension, CSharpCode pFICode) dans //src/Microsoft.ML.ModelBuilder/ViewModels/TrainViewModel.cs:ligne 1195
Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.d__98.MoveNext() dans
/_/src/Microsoft.ML.ModelBuilder/ViewModels/TrainViewModel.cs:ligne 1120 (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)"
However, the training is considered as successful (see the screenshot)

training on cpu and gpu gave me the same error.
To Reproduce
Steps to reproduce the behavior:

create a .Net maui project
Add the ML.Net extension
Select the 'image classification' model, with cpu or gpu training, then select random data (2 folders for me, with 467 images total) and start training. For me the error came at the end of the training.

Expected behavior
A clear and concise description of what you expected to happen.
I expected it to end the training and generate model files
Screenshots
If applicable, add screenshots to help explain your problem.
Evaluate tab after training (with error) :

Consume tab after training (with error) :

Also, I reinstalled Visual Studio and the ML.net extension twice and I still have the same error. My NuGet packages are up to date. However, I do not have this error on other type of project as c# console app (following this tutorial to set it up https://dotnet.microsoft.com/en-us/learn/ml-dotnet/get-started-tutorial/intro)

I have the same problem


does dotenv supports multiple .env files for non-rail app?

From the "What other .env* files can I use?" of https://www.rubydoc.info/gems/dotenv-rails/2.7.4, it seems the .env.local will override .env for an rails app
Is there something similar for non-rail app?
I wanted to use .env which for the project(rspec) I check into git and .env.local which contains personal ENV vars such as username/password that I don't want to check into git.
Steps to reproduce
In Gemfile,
gem 'dotenv'

In spec/spec_helper.rb
require 'dotenv/load'
Dotenv.load(".env.local", ".env")

Expected behavior
Same variable defined in .env.local should override the same variable in .env
Actual behavior
.env always wins if the same variable is defined in both .env and .env.local
It doesn't matter which order i call the load function
i.e. I have tried these and they give the same result
Dotenv.load(".env.local", ".env")
Dotenv.load(".env", ".env.local")
System configuration
dotenv version:
dotenv (2.7.4)
Rails version:
None
Ruby version:
ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-darwin18]

👋 The issue you're experiencing is because you of require "dotenv/load" which loads the library and immediately calls Dotenv.load.  You can achieve what you're looking for with the following:
require "dotenv"
Dotenv.load(".env.local", ".env")


⚠ Samsung has degraded performance

In 72c1e3c, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 1978 ms

Resolved: Samsung performance has improved in f2d8e34.


Title is not responsive

On clicking the title the uses should be redirected to the home page.
Assign me this issue.

Hi, @Kaivanshah1 , you may work on this and please refer to the Contribution guidelines on the readme once.
All the best!

Closing this because of no response or pr from your side.


[SPARK-38747][SQL][TESTS] Move the tests for PARSE_SYNTAX_ERROR to …

What changes were proposed in this pull request?
This pr aims to Move tests for the error class PARSE_SYNTAX_ERROR from ErrorParserSuite to QueryParsingErrorsSuite., it's a followup of SPARK-37935.
Why are the changes needed?
Move tests for the error class PARSE_SYNTAX_ERROR from ErrorParserSuite to QueryParsingErrorsSuite
Does this PR introduce any user-facing change?
No
How was this patch tested?

Manual test：

./build/sbt "sql/testOnly *QueryParsingErrorsSuite*"

All tests passed.

Can one of the admins verify this patch?

sorry, i will change it!


esnext: nested array comprehensions

The ES6 spec draft suggests that comprehensions may contain multiple for...of statements. JSHint raises an error with this type of statement:
[ for (i of rows) for (j of columns) i + j ]

I get the error "Expected an identifier and instead saw 'for'."

I think this can be closed because of #1822

thanks for the link, will keep this open in case they are not removed, but moved to an esversion: 7


Translate Media - "Mobile Web Video Playback" into Japanese

via chromiumdev slack - @kuu volunteered to translate :)

Please review:
https://github.com/google/WebFundamentals/pull/4641

PR merged.


Expose rekey feature

Signed-off-by: Miroslav Kovar<EMAIL_ADDRESS>

Codecov Report

Merging #262 (e0df6f8) into master (38104fb) will decrease coverage by 0.06%.
The diff coverage is 33.84%.

:exclamation: Current head e0df6f8 differs from pull request most recent head 1465278. Consider uploading reports for the commit 1465278 to get more accurate results

@@            Coverage Diff             @@
##           master     #262      +/-   ##
==========================================
- Coverage   50.08%   50.01%   -0.07%
==========================================
  Files         149      149
  Lines       19800    19849      +49
  Branches     6220     6247      +27
==========================================
+ Hits         9916     9928      +12
- Misses       5048     5056       +8
- Partials     4836     4865      +29

Flag
Coverage Δ

integration
22.73% <28.57%> (-0.04%)
:arrow_down:

unittests
45.84% <32.30%> (-0.06%)
:arrow_down:

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

Impacted Files
Coverage Δ

libvcx/src/utils/devsetup.rs
43.32% <0.00%> (ø)

libvcx/src/libindy/utils/wallet.rs
54.40% <31.66%> (-3.68%)
:arrow_down:

libvcx/src/init.rs
26.82% <50.00%> (-1.22%)
:arrow_down:

libvcx/src/api/vcx.rs
51.70% <100.00%> (+0.16%)
:arrow_up:

Continue to review full report at Codecov.

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


Throw error on test name duplicated

If you have to test with the same name, we should throw an error or say something, because it could be a bad situation

Related to #55


'Enter' functionality was not implemented correctly and does not work

Testing out the new Enter function, it is not working correctly.
The Enter information is being passed in via an object key: Link to code
The Enter key data needs to be a part of the top level object, not its' own object inside a key.
You can have a button that console logs a message when clicked and the new enter functionality will not work. Moving the enter data to the top level of the object fixes it

:tada: This issue has been resolved in version 1.5.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Edit a cell within column header group

I have data as below:
data: [
                {
                    clone: "001",
                    Rate: [
                        {
                            _bracket_one: "$10",
                            _bracket_two: "$9",
                            _bracket_three: "$8"
                        }
                    ]
                }
]

I have defined the columns as below:
[
{
                Header: 'CLONE',
                accessor: 'clone',
            },
            {
                Header: 'RATES',
                accessor: 'Rate',
                columns: [
                    {
                        Header: '10K',
                        accessor: 'Rate[0]._bracket_one',
                        Cell: this.renderEditable,
                    },
                    {
                        Header: '20K',
                        accessor: 'Rate[0]._bracket_two',
                        Cell: this.renderEditable,
                    },
                    {
                        Header: '30K',
                        accessor: 'freightRate[0]._bracket_three',
                        Cell: this.renderEditable,
                    }
                ]
            }
]

My renderEditable function:
renderEditable(cellInfo) {
        console.log(cellInfo)
        return (
            <div
                style={{ backgroundColor: "#fafafa" }}
                contentEditable
                suppressContentEditableWarning
                onBlur={e => {
                    const data = [...this.state.data];
                    data[cellInfo.index][cellInfo.column.id] = e.target.innerHTML;
                    this.setState({ data });
                }}
                dangerouslySetInnerHTML={{
                    __html: this.state.data[cellInfo.index][cellInfo.column.id]
                }}
            />
        );
    }

When I am making the columns editable, no value is getting populated. If I am trying to edit the field, in the data object, a new entry is getting created instead of editing the actual value. i am not getting any example for such a scenario. Please help

This feature/issue has been tagged as one that will likely be fixed or improved in the next major release of React-Table. This release is expected to be completed in the next 6 - 8 months. Please see #1143 for more detail. If you believe this feature can be easily fixed, we invite you to fork the project, attempt the fix, and use it until the latest version is available. If the fix is simple enough, we will also consider it as a PR to the current version.


Publish container - dockerx should not use tag BUILD_IMAGE

fix #1267

Under which tag/name is it available with this change?

Nope.
Final image tags passed in .ci/publish-images.sh
IMAGE_TAGS=${IMAGE_TAGS} make dockerx

May refactor in future when all in dockerx

IMAGE_TAGS=${IMAGE_TAGS} make dockerx

The IMAGE_TAGS has then to have a default value, like:
IMAGE_TAGS ?= "--tag $(BUILD_IMAGE)"

So that make dockerx won't require IMAGE_TAGS when executed locally.

Yes, i will upgrade this