Partitioning?

I just saw your FOSDEM presentation and am curious if you think partitioning is in-scope for this project, and if so, if you've thought about how/where it should go? My interests are in k-way partitioning similar to packages like METIS and SCOTCH, with graph coarsening and KL/FM refinement, as well as the closely related problem of computing nested dissection orderings for sparse direct solvers.

Are you thinking about a stand-alone partitioning algorithm on the same level as the current algorithms, such as page rank or WCC or are you imagining a partitioning as additional input to a computation for better load balancing?
I can see both options happening. I am not up-to-date with partitioning algorithms, though. Last time I checked, multi-level algorithms with coarsening and refinement phases were pretty good both in terms of results and performance. Iirc, METIS had some of those in their lib, I'm not aware of SCOTCH. I also looked into diffusion based algorithms a few years back that work similar to label propagation community detection with a size constraint on the communities.
Are you interested in implementing such an algorithm in graph?

I'm reasonably familiar with the algorithms, but don't have sufficient bandwidth at the moment. My research group mostly works on C/etc libraries for scientific computing, but we've been doing some porting to Rust and graph partitioning is one of the key libraries to hit critical mass such that Rust becomes viable for production use. The "easy" thing will be to bind METIS or SCOTCH and move on, but a native partitioner would help with distribution and enabling research. My question is mostly for longer term planning and what ideas to seed with students: is a partitioner something that you'd like to see developed in this package, versus in a separate package.

I agree that a Rust native partitioner would be nice to have and I can see many applications for it. The main goal of the graph crate is to have implementations that leverage multi-core systems, i.e. parallel implementations that run on very large graphs. If your envisioned implementation falls into that category, I would be happy to accept a PR and merge it into graph. If you want to start with prototyping a (potentially) single-threaded implementation, I suggest doing this in a separate project with a dependency on graph_builder. I did something similar with subgraph matching (https://github.com/s1ck/subgraph-matching). That way, you can move fast with the development without being blocked by us reviewing PRs and once you're in a state where you think it's "done", we can talk about merging the result into graph. wdyt?

@jedbrown closing this for now. Let me know, if you would like to discuss further.


[Refactor]: Remove the use of channels to signal healthcheck status

Requirement
As a contributor who has been attempting to fix goroutine leaks in tests it would be easier to manage gorotoutine cleanup on server close if healthcheck reporting between the server and service did not rely on channels.
Problem
As discussed in https://github.com/jaegertracing/jaeger/pull/5299/files#diff-b4a37944a109260d3630b973cdae2dc012d6bc67134efa50397976f713630e08, a significant source of complexity and risk of deadlocks comes from the use of a channel to signal server healthcheck status back to the server.
Proposal
Instead of using a channel, pkg/healthcheck is already thread safe, and we currently don't have any need for components to "subscribe" to healthcheck status, so instead of writing to a channel and having a consumer update the pkg/healthcheck, I think we could just update the state from the server directly.
Open questions
I'm not sure whether we should completely decouple the server from the healthcheck package, by passing in a callback to update healthcheck status. The alternative would be to just pass a *healthcheck.Healthcheck directly to the server.
Pros of callback: gives the caller more control - e.g. they could use a channel if they wanted to
Cons: inconsistent with how the *healthcheck.Healthcheck is passed directly to the collector component (example), I also think it's a bit more complex due to indirection.
Currently I'm leaning towards passing a *healthcheck.Healthcheck because there's currently no need for anything more flexible - e.g. the ability to subscribe to changes - and I think if this ever was required it's something that could be built into the healthcheck package.

I took the "pass directly" approach here: https://github.com/jaegertracing/jaeger/pull/5308. Interested to get your thoughts @yurishkuro as it's a bit different to the callback approach you mentioned.

passing directly is ok. The alternative would be to just pass the function hc.Set so that other components would only be exposed to the function signature, not to the whole HC class. That's exactly what OTEL status reporting mechanism does.


Duplicate error messages when combining expressions and custom validations

Description of the bug

I have multiple pages where only one show and they all have an input that references the same data field. When applying custom validation, the the front-end does not hide messages for the hidden pages.
Steps To Reproduce

Create three pages where only one is showing by using page-level expressions
Add a input to each page and map to the same data field
Add custom validation for the field
Try to send

See example here https://altinn.studio/repos/t_kvaale/validatepage-duplicates
Additional Information
Test to see if this is already fixed as part of evaluating expressions.

Appears to be fixed by #1281


New tip: OG using satori

I see two broad ways to address this tip:
A. Use satori package itself for example Brutal by Elian
B. Use an integration for example satori-astro by Florian
Question: Which path should I start off or can both be utilized in one go?

I think we could update this tip to show how to do OG images in general. This way, I think we can show og-canvas by Chris for simpler/most cases and my package when full customization is needed. What do you think?

sounds good to me already, clarification received 😄

Turns out there are variety of articles already available for this one

https://arne.me/blog/static-og-images-in-astro
https://knaap.dev/posts/dynamic-og-images-with-any-static-site-generator/
https://www.kozhuhds.com/blog/generating-static-open-graph-og-images-in-astro-using-vercel-og

I find myself repeating the same info provided in these articles when writing up 😓.  If anyone else wanna tackle this issue that would be great 🙌


Add logic to verify if git is present and git version meets requirements

Now that support for various authentication schemes is available in git
2.46, add explicit version checking in the credential helper program to
prevent incorrect usage in an invalid setup.
Example of the guarding logic
❯ git pull
Found git version 2.44.1. git>=2.46 is required to use git-credential-msal.
Username for 'XXXXXXXXXX':

Example of program working with git 2.47
❯ git pull
remote: Enumerating objects: 6742, done.
remote: Counting objects: 100% (6742/6742), done.
remote: Compressing objects: 100% (3063/3063), done.
remote: Total 6742 (delta 3559), reused 6507 (delta 3466), pack-reused 0 (from 0)
Receiving objects: 100% (6742/6742), 2.34 MiB | 3.14 MiB/s, done.
Resolving deltas: 100% (3559/3559), completed with 22 local objects.
....

The cleanup and README changes seem fine, but is the version check really needed? The credential helper already checks for authtype in the capability list and skips doing anything if it's missing. Maybe we can just assume that it's git<2.46 if the capability field is missing?

Hmmm, the reason I was inspired to do this was because a user had no idea what was wrong when trying to use the program. Maybe I should just add the print logic in the authtype check?

Yeah, I think I will only do the min version checking if the authtype field is missing. Does that seem reasonable? That way, the utility will not guard against custom backporting of the needed support.

I'm fine with either way. Adding a dependency on a new Python package seems unfortunate but not horrible. I also think just something like
if (authtype is missing)
  print "Your version of git doesn't support the `authtype` credential field."
  print "Please make sure git version 2.46 or newer is installed."

would be fine.

Ah, I see. I agree about the dependency part, so I will just add a message for the authtype check.

@aaronp24 any opinions?


NPE thrown when running ApiTest.testLiveQueryRun

This exception has been seen when running ApiTest.testLiveQueryRun in couchbase-lite-java. When running the whole test suit, the exception will prevent the other tests to run (The test app stopped). The test will pass with the exception printed out when running the testLiveQueryRun alone.
Exception:
Oct 09, 2014 5:06:18 PM com.couchbase.lite.util.SystemLogger v
FINER: View: Query vu: SELECT key, value, docid, revs.sequence FROM maps, revs, docs WHERE maps.view_id=? AND key >= ? AND key <= ? AND revs.sequence = maps.sequence AND docs.doc_id = revs.doc_id ORDER BY key LIMIT ? OFFSET ? | args: [0, 23, 33,<PHONE_NUMBER>, 0]
Oct 09, 2014 5:06:18 PM com.couchbase.lite.util.SystemLogger e
SEVERE: Query: Exception caught in runAsyncInternal
java.lang.NullPointerException
	at com.couchbase.lite.View.resultSetWithOptions(View.java:685)
	at com.couchbase.lite.View.queryWithOptions(View.java:853)
	at com.couchbase.lite.Database.queryViewNamed(Database.java:2062)
	at com.couchbase.lite.Query$1.run(Query.java:403)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)

Steps to reproduce:

Disable the sleep workaround at the end of the ApiTest.runLiveQuery() method
Run ApiTest.testLiveQueryRun

What is going on:
The test's tearDown() method is called (result to closing database) before the LiveQuery finished its async update that was rerun after the LiveQuery got result.

I removed the workaround, but could not produce any issues when testing couchbase-lite-java.

Now I'm seeing issues.  Re-opening.
Jan 16, 2015 10:39:00 AM com.couchbase.lite.util.SystemLogger e
SEVERE: Query: Exception caught in runAsyncInternal
java.lang.NullPointerException
	at com.couchbase.lite.View.resultSetWithOptions(View.java:747)
	at com.couchbase.lite.View.queryWithOptions(View.java:954)
	at com.couchbase.lite.Database.queryViewNamed(Database.java:2112)
	at com.couchbase.lite.Query$1.run(Query.java:448)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)


a bug in sessionMiddleware.js?

https://github.com/JMPerez/c/blob/fe060c04af46b7cb402c70b193bd03d9171b4bb6/middlewares/sessionMiddleware.js#L46
I think that what you want to do is "when there is no expiresIn or now > 10 minutes before expiresIn, you need to refresh token", so the code should be const needsToUpdate = !expiresIn || expiresIn - 10 * 60 * 1000 < Date.now();.
Ignore me if I'm wrong.

I believe they are equivalent.
If the expiration date is set to a time before now minus 10 minutes? then update
It might be clearer saying
const diff = expiresIn - Date.now();
if (diff < 10 * 60 * 1000) {
  // update, since we always want to have a token that lasts at least for 10 minutes.
}

If expiresIn is 5 minutes before now, then const needsToUpdate = !expiresIn || expiresIn < Date.now() - 10 * 60 * 1000;  is false, but actually, we should update the token, because the access token is expired.

True!
I'll merge this.

okay.

#10


Path of Het puzzle room tick counter

It'd be lovely if a tick counter could be added that is visible when you are in the puzzle room of the path of Het. The counter could either start and reset when the statue fires its laser, or if that is deemed too powerful, the counter could start when the player enters the room. This way players don't need to have a tick counter (e.g. on the report button) enabled all the time for the 1 shot trick.

Duplicate of #19


[SPARK-48459][CONNECT][PYTHON] Implement DataFrameQueryContext in Spark Connect

What changes were proposed in this pull request?
This PR proposes to Implement DataFrameQueryContext in Spark Connect.

Add two new protobuf messages packed together with Expression:
message Origin {
  // (Required) Indicate the origin type.
  oneof function {
    PythonOrigin python_origin = 1;
  }
}

message PythonOrigin {
  // (Required) Name of the origin, for example, the name of the function
  string fragment = 1;

  // (Required) Callsite to show to end users, for example, stacktrace.
  string call_site = 2;
}

Merge DataFrameQueryContext.pysparkFragment and DataFrameQueryContext.pysparkcallSite to existing DataFrameQueryContext.fragment and DataFrameQueryContext.callSite

Separate QueryContext into SQLQueryContext and DataFrameQueryContext for consistency w/ Scala side

Implement the origin logic. current_origin thread local holds the current call site/the function name, and Expression gets it from it.
They are set to individual expression messages, and are used when analysis happens - this resembles Spark SQL implementation.

See also https://github.com/apache/spark/pull/45377.
Why are the changes needed?
See https://github.com/apache/spark/pull/45377
Does this PR introduce any user-facing change?
Yes, same as https://github.com/apache/spark/pull/45377 but in Spark Connect.
How was this patch tested?
Same unittests reused in Spark Connect.
Was this patch authored or co-authored using generative AI tooling?
No.

cc @zhengruifeng @hvanhovell @itholic @cloud-fan @MaxGekk I need your look here 🙏

The constructor on the DataFrame class could simply extract this from the call stack. In all honesty, this would probably be true as well for the PySpark classic class.

For this, I will revisit and see if I can fix Spark Classic together.

There are three followups to make:

https://github.com/apache/spark/pull/46789#issuecomment-2175453126
https://github.com/apache/spark/pull/46789#discussion_r1643779640
SPARK-48639: Add origin like Expression.ExpressionCommon

Working on them this week.

Merged to master.

For https://github.com/apache/spark/pull/46789#discussion_r1643779640, https://github.com/apache/spark/pull/47009

For SPARK-48639: https://github.com/apache/spark/pull/47024 cc @grundprinzip


Some Limine files are not copied to .zigmod directory

It seems that a couple of Limine files are not copied to the expected location.
I tried to compile the kernel with zig build iso and I got this error:
FATAL: Limine binary .zigmod/deps/v/git/github.com/limine-bootloader/limine/branch-latest-binary/limine-eltorito-efi.bin doesn't exist

I have the zigmod binary at ~/bin/zigmod
Since I had previously followed the original Stivale Bare Bones guide, I had already the necessary limine-eltorito-efi.bin file, so I simply copied it and pasted it to ~/repos/zigvale-barebones/.zigmod/deps/v/git/github.com/limine-bootloader/limine/branch-latest-binary/limine-cd-efi.bin
Then I re-tried zig build iso and I got another similar error:
FATAL: Limine binary .zigmod/deps/v/git/github.com/limine-bootloader/limine/branch-latest-binary/limine-install-linux-x86_64 doesn't exist

Again, I simply copied and pasted limine-install-linux-x86_64 to ~/repos/zigvale-barebones/.zigmod/deps/v/git/github.com/limine-bootloader/limine/branch-latest-binary/limine-install-linux-x86_64
This fixed the issue and I was able to compile the kernel and launch the example with:
zig build iso
qemu-system-x86_64 -cdrom ./zig-out/iso/zigvale-barebones.iso -m 128M

Maybe the files were not copied because I was supposed to place the zigmod binary in this example's root directory?
my OS: Ubuntu 20.04.4 LTS x86_64

oh god more breaking changes from limine
i'll fix this in a moment

limine changed git history, breaking our lockfile. i assume you deleted the lockfile after seeing zigmod fetch fail, which will have merged in breaking changes. mint doesn't want to rewrite history again to fix this (which is fair enough), so i've switched the branch to a v2.0-only branch, which shouldn't break again.

Nope probably not. I found out that there's currently a footgun with Zigmod in which it doesn't obey the lockfile when using zigmod fetch, only when using zigmod ci. I'll update the readme to reflect this, although Zigmod will be changed to fix this in the future iirc.


Feature Request - allow other ethereum providers

Is your feature request related to a problem? Please describe.
wallet actions (such as add network) only target metamask but would work with other providers (such as coinbase wallet extension)
Describe the solution you'd like
let user choose from available providers if more than one
Describe any alternatives you've considered
check for metamask is an option first, if not, try to connect to another provider (if available)
Additional context
encountered when testing the 'add to Metamask' network dropdown option, the default behavior assumed metamask but if more than one provider is present, window.ethereum.providers contains the available options.

@donnyquixotic It seems this may have already been completed, eg. provider.js:48 handles coinbase wallet, which was committed after this ticket was created. Can you confirm ticket validity?

We're going to close this one because is too high level and we should separate it into each provider we want to support


Problem converting received data to float

I want to get the received data and add to my chart, but I can't convert the received data to float.
Here's my code:
public void onReceivedData( byte[] arg0) {
            String data_tv = null;
            try {
                data_tv = new String (arg0,"UTF-8");
                data=data_tv;
                data_tv.concat("/n");
                tvAppend(textView, data_tv);
                float fdata = Float.parseFloat(data_tv);

            } catch (UnsupportedEncodingException e) {
                e.printStackTrace();
            }
        }

I've tried this, but it doesn't work.
float f = ByteBuffer.wrap(arg0).order(ByteOrder.LITTLE_ENDIAN).getFloat();
Please help!!!!!

Hi,
What's exactly happening?
Is that "tvAppend" appending text to a textview? Because that operation must be performed only in the UI thread and that code is not executed on the ui thread

Hi felHR85,
I want to get the sensor value from the arduino, then draw a line chart in android. You're right, "tvAppend" appending text in a TextView.
Here's my arduino code:
void setup() {
  Serial.begin(9600);
}
void loop() {
  if(Serial.available())
  {
    int sensorValue = analogRead(A0);
  float voltage = sensorValue * (5.0 / 1023.0);
  Serial.println(voltage);
  delay(500);
  }
}

and android code:
package-com.docx

Don't call tvAppend from there because it is going to crash. Use a Handler as in the example , line 64
if (mHandler != null)
mHandler.obtainMessage(MESSAGE_FROM_SERIAL_PORT, data).sendToTarget();
The Handler is defined on the MainActivity and is executed on the UI

Thanks felHR85!!! I use your example code here, but it crashed again when I tried to convert. How can I convert this data to float?
/*
     * This handler will be passed to UsbService. Data received from serial port is displayed through this handler
     */
    private static class MyHandler extends Handler {
        private final WeakReference<MainActivity> mActivity;

        public MyHandler(MainActivity activity) {
            mActivity = new WeakReference<>(activity);
        }

        @Override
        public void handleMessage(Message msg) {
            switch (msg.what) {
                case UsbService.MESSAGE_FROM_SERIAL_PORT:
                    String data = (String) msg.obj;
                    float fdata = Float.parseFloat(data_tv); //I added this
                    mActivity.get().display.append(data);
                    break;
                case UsbService.CTS_CHANGE:
                    Toast.makeText(mActivity.get(), "CTS_CHANGE",Toast.LENGTH_LONG).show();
                    break;
                case UsbService.DSR_CHANGE:
                    Toast.makeText(mActivity.get(), "DSR_CHANGE",Toast.LENGTH_LONG).show();
                    break;
            }
        }
    }

I would need the error trace :)

Here it is but instead of converting once it does tiwce. So i have 2 values is the same.
try {
       fdata = Float.valueOf(data);
 } catch (NumberFormatException e) {}

So, Are yoy getting a NumberFormatException error?

When i don't use a try catch my application crash, so i think it is NumberFormatException error, and when i add try catch i got 2 values at the same time, the value is correct but i has two. :(

As you can see this is my trouble:

As I understand. You want to parse the "6.0" string to 6.0 float. The NumberFormatException happens because the string is not parseable into float. One reason could be it is not guaranteed to receive 6.0 at the same time.
You could receive
6
.
0
Or

0
This happens with some devices. In that case I would create a StringBuffer to append the string and only convert it to float when is safe to do it.
Maybe this solves the problem of receiving the same value repeated but that's out of my reach i am afraid of :S

:) Thank you very much, i'll try this.

Parsing numbers from serial data is difficult. I solved this by throwing everything into a string buffer queue with a limited length, and then checking it every time against a regex like /\d+(\.\d+)?/. Then, only if it matches, I take group $0 and parse that as a double and clear the buffer.


Dockerfile based on ubuntu 16.04

Redesigned Dockerfile  based on ubuntu 16.04

Thanks!  Can't wait to try it out.


Track DMCA and other file tags without restarts

Per @jsigwart, when we tag a file as a DMCA violation, the server needs to be restarted. This shouldn't be necessary.

Could have sworn we already had something filed for this...I know I had brought it up a few times before.
Something Julie also brought up is tagging an entire channel...something to consider especially for large dmca requests on a single channel, or abusive/illegal ones. @jsigwart can you file this? Should do so on the app side too (probably in redux/lbryinc).

Jeremy created another PR that addresses that in another repo.


Emoji experience

This pull request implements the emoji function.
To add a emoji, enter like :smile:, :+1: etc.
(Emoji list: http://www.emoji-cheat-sheet.com/ )
On edit mode, you can use the emoji autocomplete like :point_down:

Wonderfull!! :clap: :tada:


About Superpixel Visualization

I would like to know how the superpixels are visualized in Figure 3 in the paper?

The scipy packages has functions to visualize superpixels: https://scikit-image.org/docs/stable/auto_examples/segmentation/plot_segmentations.html


how to write to file in mitmdump 3.02 ?

Steps to reproduce the problem:

How do I accomplish writing saved flows with mitmdump 3 on Linux, which would have been done in earlier versions with a command like this:  ./mitmdump -nr  infile_name  -dddd  --host >  outfile_name

Any other comments? What have you tried so far?
I have looked in the --options, and I see reference to flow detail, but not the rest of the necessary options syntax
System information

Mitmproxy: 3.0.2 binary
Python:    3.5.2
OpenSSL:   OpenSSL 1.1.0g  2 Nov 2017
Platform:  Linux-4.8.0-52-generic-x86_64-with-debian-stretch-sid

-n: Stays the same.
r infile: Stays the same.
-dddd -> --set flow_detail 3
--host -> --showhost

Is that what you were asking? :)

Is this what is supposed to work:
./mitmdump -nr infile --set flow_detail: 3 --showhost > outfile
or
./mitmdump -nr infile --set flow_detail 3 --showhost > outfile
I am still getting errors.  I also tried:
./mitmdump -nr infile flow_detail: 3 --showhost > outfile
This option purportedly wrote to file without throwing an error, but it was zero bytes, so it didn't work.
I am trying to use mitmdump to write a saved mitmproxy capture to a flat file.  I Apologize for the multiple requests, and your thoughts here are greatly appreciated.

Hi there. Try this:

mitmdump -nr /tmp/foo --set flow_detail=3 --showhost > outfile

Shazam!  This worked perfectly.  Thank you!!


Mark optional notes

Some of the chords generated with the help of the chord shapes could be played in a simpler way with one of the strings being left open. I noticed this at least for Em and F#m. The respective fret could be marked as optional with brackets, e.g. something like that:
A  ||---+-●-+---+---+ B
E  ||---+---+-●-+---+ G
C  ||---+---+---+-●-+ E
G  ||---+---+---+(●)+ G (B)

F7 is also in this club.


Consider adding a "main" field to your "package.json".

Hi. With that, developers that use Browserify (and the likes) in their game projects may benefit from using your plugin like any regular Node.js package.json, installing it as a dependency.

Don't use Browserify myself, but it seems like a pretty sound change.


Contributors Wanted: Every Level of Developer (and SysAdmin)

I've got a number of tasks that need to be completed surrounding both this node.js server repository and the html web app and I would like help with everything from copy/paste/debug type tasks to fun things that requiring problem solving.
For example:

[ ] porting more of github.com/golang/geo/s2 to javascript

[ ] debugging lat/lng values that don't correctly convert to quadkeys
[ ] implementing quadkey to lat/lng conversion

[x] refactoring static/map.js
[ ] porting updates from the python PokemonGo-Map, just for the web client
[ ] implementing caching with localStorage
[ ] figuring out openvpn configuration to assign a public ip to a home computer

for inbound traffic only on the vpn connection
still using the home internet (not the vpn) for internet access

[ ] cleaning up OAuth code for login to Daplie's Domain and IP service (i.e. to make your laptop a home server)

If you have some free cycles let me know.

I could help out with localstorage caching :) send me a mail

Although I'm not sure how much free time I can afford, please count me in if possible

Sysadmin here and Dedicated server owner... need help?

Current undergrad in CS don't know how much I could help but give me a task and I will def do my best... I am a good problem solver.

Hey here's some tasks:
Tech Support
A lot of people create issues about really really simple things - like they skip that you have to unzip the zip file on windows or that they need to reboot their computer. Or they don't know that the APIs have changed and they just need to wait for an update.
Keeping pokemon-go-node-api up-to-date
I need to add someone to our api repo so that they can run this task, especialy when the API changes
git clone git@github.com:Daplie/Pokemon-GO-node-api.git

pushd Pokemon-GO-node-api/
git pull git@github.com:Armax/Pokemon-GO-node-api.git master
git push

And I also need to add that person to node-pokemap so that they can re-run ZIP.bash to create and upload the package to the releases page:
npm install mversion
git clone git@github.com:Daplie/node-pokemap.git

pushd node-pokemap
git submodule init
git submodule update
npm install

mversion patch -m
git push --tags; git push

bash ZIP.bash

And then upload the zip file to releases page with the new release
ls /tmp/pokemap-build/pokemap-2016-XX-XX.zip

Reverse VPN
See list above. We want to package an OpenVPN file that will give them an incoming public IP from a digital ocean server, but will otherwise leave their network connection alone:

https://coolaj86.com/articles/reverse-vpn-turn-any-private-device-into-public-cloud-server/
https://github.com/coolaj86/haproxy-demo

Better UI
If you like html and javascript and css, there's work do be done. For example, the login page needs styling so that it doesn't look like suck.
Who can I assign to what?
Look at this list as well as the one in the first post and tell me what sounds interesting to you. I can coach you and answer questions and help you help me, but you've got to pick something you want to do so that I can assign it to you.

Hello there,
Unforuntately I have received a notice to take down my services, I will
figure out another way to participate on this project as soon as possible.
Yours Faithfully,
RD
On Mon, Aug 8, 2016 at 4:26 PM AJ ONeal<EMAIL_ADDRESS>wrote:

Hey here's some tasks:
Tech Support
A lot of people create issues about really really simple things - like
they skip that you have to unzip the zip file on windows or that they need
to reboot their computer. Or they don't know that the APIs have changed and
they just need to wait for an update.
Keeping pokemon-go-node-api up-to-date
I need to add someone to our api repo so that they can run this task,
especialy when the API changes
git clone git@github.com:Daplie/Pokemon-GO-node-api.git
pushd Pokemon-GO-node-api/
git pull git@github.com:Armax/Pokemon-GO-node-api.git master
git push
And I also need to add that person to node-pokemap so that they can
re-run ZIP.bash to create and upload the package to the releases page:
npm install mversion
git clone git@github.com:Daplie/node-pokemap.git
pushd node-pokemap
git submodule init
git submodule update
npm install
mversion patch -m
git push --tags; git push
bash ZIP.bash
And then upload the zip file to releases page with the new release
ls /tmp/pokemap-build/pokemap-2016-XX-XX.zip
Reverse VPN
See list above. We want to package an OpenVPN file that will give them an
incoming public IP from a digital ocean server, but will otherwise leave
their network connection alone:

https://coolaj86.com/articles/reverse-vpn-turn-any-private-device-into-public-cloud-server/

https://github.com/coolaj86/haproxy-demo

Better UI
If you like html and javascript and css, there's work do be done. For
example, the login page needs styling so that it doesn't look like suck.
Who can I assign to what?
Look at this list as well as the one in the first post and tell me what
sounds interesting to you. I can coach you and answer questions and help
you help me, but you've got to pick something you want to do so that I can
assign it to you.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Daplie/node-pokemap/issues/17#issuecomment-238254194,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHMwQzsI30cWLKgDDOmhnyQ1kKy5BJtpks5qdzyDgaJpZM4JY0uC
.

Ok thanks for getting back with me.
Powell, Anthony
712th Military Police Company
SGT, MP, TXARNG
On Mon, Aug 8, 2016 at 9:28 AM, RDash<EMAIL_ADDRESS>wrote:

Hello there,
Unforuntately I have received a notice to take down my services, I will
figure out another way to participate on this project as soon as possible.
Yours Faithfully,
RD
On Mon, Aug 8, 2016 at 4:26 PM AJ ONeal<EMAIL_ADDRESS>wrote:

Hey here's some tasks:
Tech Support
A lot of people create issues about really really simple things - like
they skip that you have to unzip the zip file on windows or that they
need
to reboot their computer. Or they don't know that the APIs have changed
and
they just need to wait for an update.
Keeping pokemon-go-node-api up-to-date
I need to add someone to our api repo so that they can run this task,
especialy when the API changes
git clone git@github.com:Daplie/Pokemon-GO-node-api.git
pushd Pokemon-GO-node-api/
git pull git@github.com:Armax/Pokemon-GO-node-api.git master
git push
And I also need to add that person to node-pokemap so that they can
re-run ZIP.bash to create and upload the package to the releases page:
npm install mversion
git clone git@github.com:Daplie/node-pokemap.git
pushd node-pokemap
git submodule init
git submodule update
npm install
mversion patch -m
git push --tags; git push
bash ZIP.bash
And then upload the zip file to releases page with the new release
ls /tmp/pokemap-build/pokemap-2016-XX-XX.zip
Reverse VPN
See list above. We want to package an OpenVPN file that will give them an
incoming public IP from a digital ocean server, but will otherwise leave
their network connection alone:

https://coolaj86.com/articles/reverse-vpn-turn-any-private-
device-into-public-cloud-server/

https://github.com/coolaj86/haproxy-demo

Better UI
If you like html and javascript and css, there's work do be done. For
example, the login page needs styling so that it doesn't look like suck.
Who can I assign to what?
Look at this list as well as the one in the first post and tell me what
sounds interesting to you. I can coach you and answer questions and help
you help me, but you've got to pick something you want to do so that I
can
assign it to you.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/Daplie/node-pokemap/issues/17#issuecomment-238254194
,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AHMwQzsI30cWLKgDDOmhnyQ1kKy5BJtpks5qdzyDgaJpZM4JY0uC>
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Daplie/node-pokemap/issues/17#issuecomment-238255047,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKFJApMKtky5rLelIFNda5tDT3-IVw-Sks5qdz0lgaJpZM4JY0uC
.

This project is still alive and well. @RDash21 is the one who commented that his server is being taken down.
The point with this project is to run it from your home internet connection, not on a large online service. That's why the Public IP through a Reverse VPN is an important task.
Please review the list of tasks and choose one or two you'd like me to assign to you.
Also, this is another task that needs to be done:
https://github.com/Daplie/node-pokemap/issues/18

What about using TOR as an alternative to setting up a VPN ?

It has nothing to do with anonymity. That's not the goal. The goal is decentralization. The Reverse VPN is to enable incoming connections to you when you don't have a public ip address.
For example: many comcast routers say they support UPnP on the box, but they actually don't support it and when you have an HOA they often don't give you a public IP address like you would get from a real ISP. Dorms and offices also don't get real IPs.
By decentralizing the IP addresses used, you make it impossible for any one server to be blocked.

You will never be able to run a single server that serves more than a dozen users without ultimately getting blocked, but you can have users run their own part of the server out of their own homes and then swarm the data.

Sign me up for the job, I would like to help with the webdevelopment and eventually some other things too.

I've been playing around with armax's pokemon go api (though unable to figure out how to get location our of the response for the lone zubat near my address).
I can take on keeping pokemon-go-node-api up to date.

@coolaj86 I's this repo in a working state currently?  I tried to set it up locally so I could update the API but a fresh setup of master doesn't seem to be updating the map at all.
Based on debug message I'm able to connect to RPCs fine but no data is returned.  I also upped heartbeat interval to 10 seconds incase of throttling.
Just want to make sure I don't break anything when updating the API (there are some minor conflicts around S2 and quad keys)

@jay3686 I got all excited about it and got it working and then haven't used it since the API changes because I got busy with my real work.
Feel free to update things as needed to get them working, but make sure you don't back out of this change:
https://github.com/Armax/Pokemon-GO-node-api/pull/222
It should use s2-geometry, not s2geometry-node. Otherwise it's back to using a C++ compiler which means it won't work on windows.


add percentBy options to ProgressPlugin

What kind of change does this PR introduce?
feature
Motivation: on huge projects, there is super incorrect percent value. This feature makes possible to specify the percent calculation algorithm. For example on huge projects percentBy: "entries" gives more correctly percent value cause there are much entrypoints and they are known in advance
Did you add tests for your changes?
no, but added some other tests
Does this PR introduce a breaking change?
no
What needs to be documented once your changes are merged?
ProgressPlugins has a new option percentBy which can take "entries" "dependencies" "modules" or null (default).

Thanks


Could you share your pretrain ckpts? Thanks. Are there any tricks to pretrain compared with (Image)MAE

I've uploaded the pre-trained weights. You can find them here.


Replace calls to git binary in git package with pure go code

Our git package has several calls to the git package. In order to be able to use our binaries in leaner container images (ie distroless) we need to write alternatives to some of its functions to pure go, and drop the calls to the git binary.

From @puerco in https://github.com/kubernetes-sigs/release-sdk/pull/13#issuecomment-972522598 and https://github.com/kubernetes-sigs/release-sdk/pull/13#issuecomment-972523949:

Thinking a little bit about these functions that relate to forking, much of the code relies on github apis, but if you think about it the functions are more git specific. For example, things like github.BranchExists() are in essence GitHub API laziness for looking into the git ls-remote output 🤔 WDYT?

The downside of course is that we would have to implement some of the github code in git which is in practice pointless as we already have the functionality.

Also, ref https://github.com/kubernetes-sigs/release-sdk/pull/3#issuecomment-918468002:

/hold cancel (ref: https://kubernetes.slack.com/archives/CJH2GBF7Y/p1631557597076000?thread_ts=1631554156.074500&cid=CJH2GBF7Y)
@justaugustus

@puerco — actually, I stand by the original assessment (because of github importing git)

@justaugustus

Let’s do the initial migration to release-sdk and then pull out the git stuff in a follow-up

@puerco

ok 👍

@justaugustus

(I’d just prefer not to have any refactors masked by the migration commits)

@puerco

yeah makes sense

@justaugustus

also, it looks like it might be really simple, but I’ve made the mistake of assuming that before 🙃

/help

/cc
(I am interested in this but not very sure when I would get some time to work on it, maybe the December vacations. This sounds to me like a good weekend hacking project)

/remove-lifecycle stale

/assign


UndoRedo mergeable modes improvement

Follow-up on #3433.
@reduz wrote:

there are many cases of mergeable where you want the whole set of undo and redo actions, such as painting data in tilemap. Instead I propse to change the mergeable mode into an enum like
MERGE_DISABLE,
MERGE_ALL,
MERGE_ENDS
and move some cases to MERGE_ENDS

There might be some other issues with UndoRedo that would be worth looking into, I'd propose to create one issue for each and maybe make a tracker bug for all UndoRedo issues if there are many. Currently the behaviour is far from optimal in many use cases.

Not critical for the upcoming 2.1, so moving to the next milestone.


UI-GRID both row header selection and row selection

Hi i when i set the rowheaderselection to false, the row selection works perfectly fine with the new UI grid, but i need to have both , header selection option and row selection option, how can i achieve this

Brian Hann c0bra solved it find this in
http://stackoverflow.com/questions/29469778/angular-ui-grid-row-selection/29479910#29479910

Will solution be merged in upcoming releases?


Doc changes

Tiny changes to the website that better explains a few things that I didn't understand when following the examples.

@matshenricson thanks! some CR above, but otherwise LGTM. fix, push more commits and i'll merge.

Hi!
Sorry, I lost all steam helping out when I needed a license signoff that I
didn't understand.
Mats
On Sun, Oct 18, 2015 at 8:11 AM, Juan Benet<EMAIL_ADDRESS>wrote:

@matshenricson https://github.com/matshenricson thanks! some CR above,
but otherwise LGTM. fix, push more commits and i'll merge.
—
Reply to this email directly or view it on GitHub
https://github.com/ipfs/website/pull/69#issuecomment-148981071.

Hey @matshenricson! You shouldn't have needed a license sign off for this repository - don't worry about it for your commits here.
I'm happy to help out with this, we need to work on our documentation if it is confusing!

@matshenricson can you help me understand what is hard to understand about the license signoff? we obviously want to make this easy for people to understand.
BTW, this is a DCO, which comes from the Linux kernel, and is in use by Docker and lots of other projects. it is equivalent to signing off a CLA in other projects, but you get to keep your copyright. This sort of signoff is actually a legal requirement. despite the common practice to ignore this, most open source contributions WOULD NOT hold up in a court without this explicit signoff, particularly when a contributor is employed by any software company.


Development: Remove no longer required secret push token for Jenkins setups

Checklist
General

[ ] I tested all changes and their related features with all corresponding user types on a test server.
[x] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Server

[x] Important: I implemented the changes with a very good performance and prevented too many (unnecessary) and too complex database calls.
[x] I strictly followed the principle of data economy for all database calls.
[x] I strictly followed the server coding and design guidelines.

Changes affecting Programming Exercises

[ ] I tested all changes and their related features with all corresponding user types on a test server configured with Gitlab and Jenkins.

Motivation and Context

Since #6682 the builds are no longer triggered in Jenkins from GitLab directly. Instead, Artemis triggers the build by using the regular API authentication of Jenkins.
The secret token was only used to allow GitLab to trigger builds directly in Jenkins. Since this feature is no longer used it can be removed.
It also does not make sense to keep it since it is not required for LocalVC+Jenkins setups.
Description

Removed references to the no longer needed secret-push-token config option.
As should be clear from the server code changes, the secret token is only used when creating the initial build plan. When triggering builds in the Jenkins, Artemis does not use it.
Steps for Testing
Prerequisites:

a GitLab+Jenkins or LocalVC+Jenkins setup

Create a new programming exercise.
When making changes to the template or solution repositories the Jenkins build should run and updated results show up in Artemis.

Testserver States

[!NOTE]
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Click on the badges to get to the test servers.

Review Progress

Code Review

[ ] Code Review 1
[ ] Code Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Test Coverage
unchanged
Screenshots
n/a
@coderabbitai ignore

I'll test the PR asap

I confirmed on a test system that the web-hook from GitLab to Jenkins does indeed no longer exist and did not before this PR either. Therefore, the Jenkins secret token is never used to trigger build plans in existing systems already. This ensures currently running GitLab+Jenkins setups will not break.
Since I don’t think anyone else testing PRs is using the deprecated GitLab+Jenkins setup any more (and it is definitely not worth setting it up just for this), I will count this as the manual test and mark this PR as ready to merge.


Add installation code: powershell

Possiblity 1:

detect which shell we are in, then install on first run (or just install in all locations found)

Possiblity 2:

add command line directive to install in various modes (public/current user)

Possiblity 3:

Add notes to readme.md explaining how to do it.

Done


[rl-code_scan_alerts-1] Code scan alerts are disabled.

This issue was generated by the SAP Repository Linter. It checks repositories for their compliance with the SAP open source project guidelines. As an SAP employee you can see further details at https://wiki.wdf.sap.corp/wiki/display/ospodocs/Repository+Linter+Findings#RepositoryLinterFindings-CodeScanAlerts(rl-code_scan_alerts-XX)

Code Scanning has been enabled for the repository.


Create Project 3 area and migrate Confluence docs

This PR starts to populate the Project 3 Athlete Wearable Tech section of the documentation site.

Quickly fixed the typo with the changes I pushed


Possible race condition during CNP processing

addCNP updates the internalNetworkPolicy Store with an internalNetworkPolicy object, but before this policy is committed to the store, other events may ignore processing the CNP during reprocessing triggers due to its absence in the store. This may cause some events to be missed.
See below comment thread for more info.
Would this be possible:
`addCNP` has already processed the CNP to an internalNP, just hasn't added this internalNP to the `internalNetworkPolicyStore`. In this case, `reprocessCNP` will skip processing this CNP and `addCNP` will just add the "old" internalNP to `internalNetworkPolicyStore`.

Originally posted by @GraysonWu in https://github.com/antrea-io/antrea/pull/2768#r709524617

/cc @GraysonWu @tnqn


Remove sleep from e2e_test.go

Seems we still have this implemented: https://github.com/redhat-developer/odo/blob/master/tests/e2e/e2e_test.go#L215
We should create a function to grep / wait for project to appear with oc and then continue, rather than relying on sleep.

@cdrage I have already created this issue #1163. Please do reply if the suggestion provided by me make sense to you


Gravity fix

fixed some of the math in how the direction and magnitude of gravity is applied to acceleration, flipped the sign convention of acceleration to be positive during motor burn as a default convention, and also checked flight data against the winter_2023_Gyro_Comp dataset.

Ruff must pass before merging also.

I'll be moving https://github.com/NCSU-High-Powered-Rocketry-Club/AirbrakesV2/pull/56/commits/32a8084812f8952aad7181ce16eb76db5512f1cf in a separate PR so we can check if the integration test passes on main


Add a "design discussion" section to the setState method

I just started playing with Flutter, and the most obvious stuff is setState. Honestly, it does not look good. Why would you want to put all your mutations into a lambda, especially if they are all side-effecting? Wouldn't it be better just to call update() directly after you do all the state mutations?
The pattern looks like it came from a functional architecture, but the main point is missing - state mutation should have been encapsulated inside setState function, but this is not the case for Flutter. Without immutability, pure lambda and state change encapsulation all of this doesn't seems have any meaning.

We used to just have a markNeedsBuild method but we found people called it like a good luck charm -- any time they weren't sure if they needed to call it, they'd call it.
We changed to a method that takes a (synchronously-invoked) callback, and suddenly people had much less trouble with it. We found people understand much more easily that if you didn't change any state, you don't need to call it; if you did change some state, you call it and change the state during the call.
Eventually we plan to make some lints verify that anything you use in your build function you only set from setState, to catch cases where people set things but don't notify the framework.

I'll add a "Design discussion" section to the setState docs talking about this. Let me know if there's anything else you'd like covered in the docs for this, I'm happy to add more information there.

Maybe the better docs was needed for markNeedsBuild? Or just rename it to onStateChanged() or whatever? Lambda instantiation is not free, it adds needless code nesting, it also increases cognitive code complexity and puzzles more experienced devs (me :D).
Otherwise, thanks for the explanation! :)

Maybe the better docs was needed for markNeedsBuild?

Maybe, but in my experience we shouldn't depend on people reading API docs. :-)

Or just rename it to onStateChanged() or whatever?

That would be inconsistent with our naming guide: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#naming-rules-for-typedefs-and-function-variables

Lambda instantiation is not free

It's a pretty small cost when called once per frame (which is what you generally expect for setState). Also, it's not called during performance-critical periods; it's called in response to user input generally and so we have more CPU to play with here than if it was during the frame itself. Also eventually I wouldn't be surprised if we were able to get the compiler to just inline this.

it adds needless code nesting

Needless is subjective here. I would argue the need is to show that this is the block that is actually mutating the state.

it also increases cognitive code complexity

Well as noted above, in practice it seems to have actually reduced it.

and puzzles more experienced devs (me :D).

Yup, that's why we need to add more to the documentation. :-)

Closing, as there are several places in our documentation nowadays that talk about setState() and state management.

Eventually we plan to make some lints verify that anything you use in your build function you only set from setState, to catch cases where people set things but don't notify the framework.

@Hixie Is there any issue tracking this?

https://medium.com/@mehmetf_71205/setting-the-state-2809936fb79d also has some context


[BUG]

Describe the bug
im run pip install and get error
can u dont use compillers for installation?

      copying psutil\tests\__init__.py -> build\lib.win-amd64-cpython-311\psutil\tests
      copying psutil\tests\__main__.py -> build\lib.win-amd64-cpython-311\psutil\tests
      running build_ext
      building 'psutil._psutil_windows' extension
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for psutil
Successfully built pytia
Failed to build psutil
ERROR: Could not build wheels for psutil, which is required to install pyproject.toml-based projects

As stated in the output, you'll have to install the Microsoft C++ Build Tools 14.0 or greater, which are required to install psutil 5.9.0. I'm aware of this issue and I'll address it as soon as i push another version.
Note to me: Issue should be resolved with psutil 5.9.3.

yes i know thx for note


Named and default exports have different resolving strategies/behaviors

Problem
Hello! Lately I've been working on optimizing the startup time of our application. I learned a lot about how hermes works and how it incrementally resolves imports as we use the values.
I followed this snippet to analyze how many modules were loaded at the Home page of our page and realized it was way too high (5300, which is crazy).
After many attempts at understanding why it would resolve flows and components that were not required in the Home page, I found that Hermes resolves default export by default.
Plus the fact that it will initialize data and allocate to memory currently unwanted stuff and execute top level code.
Explanation:
// FileB.tsx
import {View} from "react-native";

console.log("This will log before first render");

export default function ComponentB() {
  return <View />;
}

// FileA.tsx
import ComponentB from "./FileB";

export default function ComponentA() {
  return <ComponentB />;
}

// App.tsx
import ComponentA from "./FileA";

// Insert here the snippet provided above
// The snippet will log that FileB is resolved and loaded

export default function App() {
  return <ComponentA />;
}

Whereas
// FileB.tsx
import {View} from "react-native";

console.log("This will NOT log before first render");

export function ComponentB() {
  return <View />;
}

// FileA.tsx
import {ComponentB} from "./FileB";

export function ComponentA() {
  return <ComponentB />;
}

// App.tsx
import {ComponentA} from "./FileA";

// Insert here the snippet provided above
// The snippet will log that FileA is resolved and loaded but **not** FileB

export default function App() {
  return <ComponentA />;
}

has a completely different behavior.
Is this behavior wanted or not? I feel like I should rewrite all the imports to named imports to work this around. But would be happy to know if there is any other way and if not why it's technically not possible.
Thanks for your answers.

Hi, when building a RN app, import and export are handled by the bundler (Metro), not by Hermes. The bundler combines all source files together into a single file, transforms the JS to implement import/export (among other things), and only then passes the result to Hermes.
I am moving this issue to React Native.


Remove 'travis scott day' from the game

About the PR

Remove 'travis scott day' from the game
Technical details

remove the holiday and it's locale
Media

Why
Not a very good reference to have after the astroworld incident in 2021.

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

none
Changelog

<!--
Make sure to take this Changelog template out of the comment block in order for it to show up.

:cl:
- add: Added fun!
- remove: Removed fun!
- tweak: Changed fun!
- fix: Fixed fun!
- --!>

:trollface:


How to install this plugin?

I think you can with BRAT, but wait for it to be released in the community store.

Weird, you can always install it manually by copying directly the "main.js" and "manifest.json" to your .obsidian plugin folder.

I did some updates, maybe you can retry and tell me if it works now.


Introduce disk mode

Adding mode argument in disk block to allow READ_ONLY mode if necessary.
By default, this argument uses the READ_WRITE mode.

LGTM, thanks!


Group by and use an aggregation

fit fails if there is more than one record with the same timestamp.
Could you add an optional user-supplied aggregation function that could be applied on a group by instead?

Conceptually we can handle multiple observations on a day as coming from the noise term, but could you give some context for the application that you have in mind?

The system I'm working on captures transactions end of day and the timestamp is truncated to just the date. So, if there are more than one, I'd typically just take the mean and go with it.
The thing is, Prophet's error message is not easily interpreted as this problem. It just says,

TypeError: int() argument must be a string, a bytes-like object or a number, not 'slice'

Perhaps, a more user-friendly error message could help to begin with..

Thank you for capturing the duplicate error @xhesc. I have a similar use case. I am projecting ticket sales, but on some evenings we have more than one show, and thus more than one entry for a given date. In this case a mean doesn't make as much sense and grouping by date (day, week, month) would make more sense.

The latest commit should fix the issue with not allowing multiple observations on a date. Could you install the Github version and check if it works for you?
The model now treats multiple observations on a day similar to how a linear regression would. We do assume homoscedastic noise, which here means that the variance in the values for a single day is constant. @korymath I can imagine in your application there would be a difference in variance from weekdays vs. weekends, but if you sum sales in a day then I'd think weekly seasonality should capture that nicely.
Now that repeated observations aren't a problem, I'm inclined to leave other aggregations as a data pre-processing step that would be taken care of outside of Prophet.

I think you are right. Nice job with the fix and I agree that data pre-processing can help other cases. Great work.

Looks good python wise, didn't test R.
Great work on commit: https://github.com/facebookincubator/prophet/commit/443d475468f7425fecf6011d0bdf35b89c508694


Alert setup (via Telegram)

Configured for dev. Remaining prod setup:

[ ] set up telegram bot
[ ] set up token variable
[ ] set up chat id variable

This is good to go, just leaving it in draft as a reminder for me to set up the prod channel if we're happy with using Telegram.

I should add that we can also set this up with Slack instead. I have no real preference tbh except that it would require us to join yet another workspace 😅


Add getK0sVersions

Requires https://github.com/lensapp/lenscloud/pull/2766

Failure of test not related to new functionality


Feature request: Vector types, indices and search

Postgresql is starting to have extensions for semantic/similarity search: pgvector, pg_embedding
It would be amazing to have similar capabilites in sqlite. One use-case would be to have semantic search capabilities in Datasette.

@nileshtrivedi There's a SQLite extension https://github.com/asg017/sqlite-vss in development that works fine with libSQL.


Added option to add Jenkins init scripts

In case you need configure Jenkins master:

register global pipeline libraries
set global properties
bootstrap seed jobs

This PR adds option to pass a list of groovy snippets.
Looks a bit rough, but it is the only way I can see.
I've decided to inline scripts because generally they are just 2-3 lines long.
Btw, we could get rid of that xml blob and replace it with nice groovy snippet registering the cloud.

Merged from master

@lachie83 looks like my change may not play well with custom ConfigMap.
I can move apply_config.sh out of ConfigMap or just add a note about it under "Custom ConfigMap".
What do you think?

@lachie83 any chance to have it merged?

@electroma I think this should be good to go. Just doing some testing.

@k8s-bot ok to test

Hey @electroma, I'm getting an error from shell script created via the config map:
  12s		12s		1	{kubelet k8s-agent-265d0a06-0}							Warning		FailedSync	Error syncing pod, skipping: failed to "InitContainer" for "copy-default-config" with RunInitContainerError: "init container \"copy-default-config\" exited with 1"

  11s	10s	2	{kubelet k8s-agent-265d0a06-0}	spec.initContainers{copy-default-config}	Warning	BackOff		Back-off restarting failed docker container
  11s	10s	2	{kubelet k8s-agent-265d0a06-0}							Warning	FailedSync	Error syncing pod, skipping: [failed to "InitContainer" for "copy-default-config" with RunInitContainerError: "init container \"copy-default-config\" exited with 1"
, failed to "StartContainer" for "copy-default-config" with CrashLoopBackOff: "Back-off 10s restarting failed container=copy-default-config pod=handy-porcupine-jenkins-2874324452-j9m7k_default(3716c98f-0b63-11e7-b3e1-000d3a12bbe0)"

@seanknox yes, my bad.
It fails when there are no init scripts provided.
Let me fix it.

@seanknox fixed. Please try again.

@electroma Do you mind posting an example of how this works?

@rossedman Here is example of configuration file including:
-seed job creation
-global settings
-pipeline library registration
https://github.com/buildit/digitalrig-docker/blob/master/helm/ec2_vars/jenkins.yaml

@electroma Thank you! That makes sense and was the direction I was heading towards.

We can no longer rely on this as an upstream chart after this change. Our internal chart has a ConfigMap that includes credentials.xml, jenkins.model.JenkinsLocationConfiguration.xml, and custom config.xml. Since we provide a different config.yaml file the shell script will not be included and the chart will fail to install.

@plytro please provide an example of failing chart configuration

The only difference between these two charts is the version of stable chart I rely on.
https://github.com/plytro/jenkins-chart/tree/v0.2.0-working
https://gist.github.com/plytro/e410c7c596c550e58587a3e00c4efc9d
vs
https://github.com/plytro/jenkins-chart/tree/v0.3.0-broken
https://gist.github.com/plytro/461c9b728fed02e4908754f8bbe5e60f

@plytro From a quick glance you are using a custom config and it looks like the template for that has changed in this version. Could that be the problem? Also that seems to be what the output is on your error:
This is where the changes are for this file

@rossedman Yes, I know that is exactly the problem. The chart has a configuration option for a custom configuration. With this change, if you set CustomConfig: true, then the shell script won't be included and the startup fails.


Add server API

#2  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @cjllanwarne and the rest of your teammates on  Graphite


Change default homeRoute to /

The docs say the default homeRoute value is / but the code has /home. In my (not so) humble opinion, / is better, so that's the pull request I'm submitting. :-)
PS> Thanks for a great piece of software, really helpful.

ok merging this as it is sensible


Add result

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Fixes # (issue)
Type of change

[ ] Bug fix (change which fixes an issue)
[ ] New feature (change which adds functionality)
[ ] Code style update
[ ] Refactor

If changing the UI of default theme, please provide the before/after screenshot.
Does this PR introduce a breaking change?

[ ] Yes
[ ] No

If yes, please describe the impact.
You have tested in the following environments: (Providing a detailed version will be better.)

[ ] Chrome
[ ] Firefox
[ ] Safari
[ ] Edge
[ ] Android
[ ] iOS

Final checklist

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works

Other information

👷 Deploy Preview for incredible-choux-6c0792 processing.

Name
Link

🔨 Latest commit
23d1007e4fe610c937341c685c3e9afb532c623d

🔍 Latest deploy log
https://app.netlify.com/sites/incredible-choux-6c0792/deploys/63f59f5b6601f100086d9384


Feature/surface contact cops

Added support for "per foot" centre of pressure markers, mainly oriented towards robots with surface contacts (pretty meaningless for point contacts).
The process is as follows: given the torque and force on a given contact from a whole body state message, calculate the point that cancels out the x and y components of the torque. Said another way, find the point that the foot's reaction force acts through.
I've also added options for moving the origin of the ground reaction forces and friction cones around with these per foot centres of pressure.
Note: all of this behaviour is default off.
Also included some changes in the PointVisual class, fixing a bug where one would have to use setPoint before setRadius or risk rendering a zero radius sphere.

To prove functionality is maintained and robot-agnostic, I've included four videos, two of anymal doing MPC, and two of Nadia standing still under PD control. When the per foot CoPs are enabled, you'll see pink spheres and moving GRFs and friction cones. Not much happens at all with anymal, due to it having point contacts.
https://user-images.githubusercontent.com/13335715/219435207-756ab390-e138-4724-a6ff-d720de9dda6c.mp4
https://user-images.githubusercontent.com/13335715/219435232-c5e2ad3c-176a-4803-8892-5194cff5573e.mp4
https://user-images.githubusercontent.com/13335715/219435249-bea92b0f-97c8-4d28-8f13-ebc81624ac63.mp4
https://user-images.githubusercontent.com/13335715/219435257-6e6a1df1-4020-4b2f-b351-9e9a3d2f6bab.mp4

@james-p-foster check also the CI failures, e.g., https://github.com/loco-3d/whole_body_state_rviz_plugin/actions/runs/4199410776/jobs/7291217037. Here you can see that the current code is not passing the established code format.
You can run clang-format-6 to do this for you, or manually change it.
clang-format-6.0 -i $(find . -path ./cmake -prune -o -iregex '.*\.\(h\|c\|hh\|cc\|hpp\|cpp\|hxx\|cxx\)$' -print)

Finally, I would love to see you in the credit section (i.e., README file). Please add yourself.

@wxmerkt  -- there is an issue with the CI. Could you advice us on the solution?

The failure is from there not being a pre-commit config in this repository yet - we can ignore it and add it later since the main compilation CI is passing

The failure is from there not being a pre-commit config in this repository yet - we can ignore it and add it later since the main compilation CI is passing

Ok, let's do it. But I will need later your help defining a pre-commit config. I am not yet familiar with it.


@dagongji10 Excuse me, can I ask you a question? Must I provide bbox of pictures when I test a picture?Could you please give me a script which can visualize test results like what you show? Thank you very much

@dagongji10 Excuse me, can I ask you a question? Must I provide bbox of pictures when I test a picture?Could you please give me a script which can visualize test results like what you show? Thank you very much

not necessary，in fact，CPN will only return one person for a picture. If there are more than one in the image, we need to crop each one use bbox and then put them to CPN.
I send the test cpn script to you email.
Originally posted by @dagongji10 in https://github.com/chenyilun95/tf-cpn/issues/76#issuecomment-493366448

Hello ,I want to visualize results. can you share your scripts with me<EMAIL_ADDRESS>. Thank you very much

@tanghui2017108
I  also want to visualize results. can you share your scripts with me<EMAIL_ADDRESS>. Thank you very much

I also want to visualize results. can you share your scripts with me<EMAIL_ADDRESS>. Thank you very much


Slider field component

Slider style field component. Implemented using standard radio buttons.

This has been completed today.


fix main.BaseModel.(dict, json) fields types

fix main.BaseModel.dict fields (include, exclude, skip_defaults) types
fix main.BaseModel.json fields (include, exclude, skip_defaults) types

Change Summary

Related issue number

Checklist

[x] Unit tests for the changes exist
[x] Tests pass on CI and coverage remains at 100%
[x] Documentation reflects the changes where applicable
[ ] changes/<pull request or issue id>-<github username>.md file added describing change
(see changes/README.md for details)
[x] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

please review

Thanks @shestakovich for the patch :+1:
Please update the patch and fix the same problem in the main.BaseModel.copy and main.BaseModel._iter functions:
https://github.com/samuelcolvin/pydantic/blob/5606157105d53c1ac4e9e29fd0cee5e04bb74e42/pydantic/main.py#L620-L627
https://github.com/samuelcolvin/pydantic/blob/5606157105d53c1ac4e9e29fd0cee5e04bb74e42/pydantic/main.py#L798-L807

please update.

@samuelcolvin I think it's ready to merge. What are you waiting for here?

Sorry, I hadn't seen the update, I'll review. please review.

thanks so much for this.


Update synapsesqlpoolexecrequests.md - note Command2 omission

There have been multiple customers in the past few weeks that have been looking for a solution to retrieve the full query text from Log Analytics.  Though it is typically understood that omission from documentation means it's not supported, customers are inquiring when it will be.  After discussions with Synapse PMs on this topic, inclusion of Command2 on this table has been rejected for performance/reliability reasons (it's too large and will cause problems); it would be preferable to provide a disclaimer statement here noting that Command2 has intentionally been left out.

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

@bwren can this be merged? Scott works here

Apologies for delay on this. These articles are actually automatically generated from the same source that drives the Log Analytics UI, so any changes would get overwritten. I'm passing the information to the team to make the change.
#please-close


New implementation of set_partitions

See https://github.com/erikrose/more-itertools/issues/300 for discussion.
Remark: the FrozenMultiset class could be used to make some other tests more robust. Typical use case: the theoretical output is a collections of elements 1. with possible duplicates and 2. order doesn't matter. Obviously, an implementation has to choose one of the possible orders, but the tests should be able to ignore this order.
Example: powerset.

Could you take a look at the flake8 errors in the Travis output?
Python 3.4 doesn't work with some of your syntax, but I'm OK dropping it in the next version (see my earlier comment).

Didn't know about flake8: nice tool. I installed it and will make an extensive use of it from now on!

something that fails with 3.4 and not everything else.

I guess this is it.

Could you merge in master now that #282 is in?

Made a git pull --rebase upstream master. Hope it's ok.


Extract Resolve trait, call async function in sync context

We don't intend to merge this, the branch will be used temporarly before main lib is refactored


Planner feature

It's been a while without progress here so I'll close the PR, we may pick it up again later.


Avalon: See who hasn't voted

Sometimes it takes a long time for people to vote, so then it's good to know who hasn't voted.

The same thing can be done with perform mission possibly?


Making build pass for embedded platforms

Ought to fix #11.

Hello Nicolas, Thanks for submitting the PR I was able to recreate the error with the following snippet
#include <exotic/cester.h>
#undef unix
#undef _WIN32

CESTER_TEST(quick_test, test_instance,
    cester_assert_true(1);
)

I drop some comments on the file to fix some typos, after that the PR should be good to merge

Ooops, sorry about the typos :)


add subdivide_centroid

Codecov Report
Base: 68.79% // Head: 68.95% // Increases project coverage by +0.16% :tada:

Coverage data is based on head (394243c) compared to base (538e4df).
Patch coverage: 100.00% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #60      +/-   ##
==========================================
+ Coverage   68.79%   68.95%   +0.16%
==========================================
  Files           8        8
  Lines         926      931       +5
==========================================
+ Hits          637      642       +5
  Misses        289      289

Impacted Files
Coverage Δ

napari_process_points_and_surfaces/__init__.py
82.05% <ø> (ø)

..._points_and_surfaces/_tests/test_vedo_functions.py
100.00% <ø> (ø)

napari_process_points_and_surfaces/_vedo.py
69.17% <100.00%> (+1.09%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Highly Available Storm

I am checking out storm for a metadata service we need to setup; one hard requirement though, is high availability.
This would mean some sort of master-follower replication.
Is this possible with storm?

Storm doesn't provide that as it's out of its scope but you can mix it with the Raft protocol and get high availability.
There is already a BoltDB implementation here that you can use directly or read to implement yours with Storm.


🐛 Bug Report:  Error in faiss::FileIOReader::FileIOReader(const char*)

📜 Description
I installed DocsGPT myself, used default, then asked and returned 500 errors.
/api/answer
request
{
"question": "What is DocsGPT?",
"api_key": "",
"embeddings_key": "",
"history": [
{
"prompt": "What is DocsGPT?"
}
],
"active_docs": "local/default/",
"conversation_id": null
}
return
{
"error": "Internal Server Error",
"message": "No LLM class found for type "
}
Use python 3.11.1
/api/answer
request
{
"question": "What is DocsGPT?",
"api_key": "",
"embeddings_key": "",
"history": [
{
"prompt": "What is DocsGPT?"
}
],
"active_docs": "python/.project/3.11.1/openai_text-embedding-ada-002/",
"conversation_id": null
}
return
{
"error": "Internal Server Error",
"message": "Error in faiss::FileIOReader::FileIOReader(const char*) at /project/faiss/faiss/impl/io.cpp:67: Error: 'f' failed: could not open application/vectors/python/.project/3.11.1/openai_text-embedding-ada-002/index.faiss for reading: No such file or directory"
}
👟 Reproduction steps
I installed DocsGPT myself, used default, then asked and returned 500 errors
/api/answer
request
{
"question": "What is DocsGPT?",
"api_key": "",
"embeddings_key": "",
"history": [
{
"prompt": "What is DocsGPT?"
}
],
"active_docs": "local/default/",
"conversation_id": null
}
return
{
"error": "Internal Server Error",
"message": "No LLM class found for type "
}
Use python 3.11.1
/api/answer
request
{
"question": "What is DocsGPT?",
"api_key": "",
"embeddings_key": "",
"history": [
{
"prompt": "What is DocsGPT?"
}
],
"active_docs": "python/.project/3.11.1/openai_text-embedding-ada-002/",
"conversation_id": null
}
return
{
"error": "Internal Server Error",
"message": "Error in faiss::FileIOReader::FileIOReader(const char*) at /project/faiss/faiss/impl/io.cpp:67: Error: 'f' failed: could not open application/vectors/python/.project/3.11.1/openai_text-embedding-ada-002/index.faiss for reading: No such file or directory"
}
👍 Expected behavior
Get the answer
👎 Actual Behavior with Screenshots
return 500 error
💻 Operating system
Linux
What browsers are you seeing the problem on?
No response
🤖 What development environment are you experiencing this bug on?
Docker
🔒 Did you set the correct environment variables in the right path? List the environment variable names (not values please!)
No response
📃 Provide any additional context for the Bug.
No response
📖 Relevant log output
No response
👀 Have you spent some time to check if this bug has been raised before?

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

🔗 Are you willing to submit PR?
None
🧑⚖ Code of Conduct

[X] I agree to follow this project's Code of Conduct

So you launched with docker-compose, whats in your .env file?

So you launched with docker-compose, whats in your .env file?

yes
.env file:
API_KEY=
LLM_NAME=openai
VITE_API_STREAMING=false


[OTHER] Use main tag instead of div tag

What would you like to share?
Around the section where all the issues are shown, the div should be switched out for a main tag.
Additional information
No response

I like to do this task. can you please assign me??

@emmalearnscode can you assign me this issue??


Never-Ending Loading

After undertaking this process, my character simply won't load in. Everyone else can log in but me. I'll note that I'm doing this process after a delay (my friends have been playing while I figure this out).

I am not sure if this will help, but try changing your local save to one from the last time you connected to the coop world.
You can find your local saves here: %localappdata%\Pal\Saved\SaveGames\<SteamID>\<ServerID>\LocalData.sav. Keep a backup in case this does not work.
You can find the backup saves here: %localappdata%\Pal\Saved\SaveGames\<SteamID>\<ServerID>\backup\local\<dateTime>\LocalData.sav, just choose the time that you last connected.
This worked for me, and based on your notes I suspect that you were the one to mess with the server while the other players were playing the coop world.

I am not sure if this will help, but try changing your local save to one from the last time you connected to the coop world.
You can find your local saves here: %localappdata%\Pal\Saved\SaveGames\<SteamID>\<ServerID>\LocalData.sav. Keep a backup in case this does not work. You can find the backup saves here: %localappdata%\Pal\Saved\SaveGames\<SteamID>\<ServerID>\backup\local\<dateTime>\LocalData.sav, just choose the time that you last connected.
This worked for me, and based on your notes I suspect that you were the one to mess with the server while the other players were playing the coop world.

I just had this thought this morning, I'll let you know how it went this evening.

Not working

This didn't work for me. I still get the never-ending loading.

Make sure you move all files converted by the script to the server, not just the updated save file.

After converting your save file, you need to copy the whole temporary save folder instead of only your new save file.

i have the same problem.
I went from a windows dedicated Server to a linux dedicatet server.
If change the ini, use the script to convert player data. Seems to be working, no one need to create a new char anymore.
But theyre stuck in infinity loading screen. I have moved all .sav files of the player, also the complete level.sav and levelMeta.sav and the level.sav.json (why ever, i have just do it)

I'm going to point all similar issues to this one and turn it into a mega-issue. If anyone is having this bug, please follow the support outlined here and see if something fixes it.
One thing that can be tried is the solution mentioned in https://github.com/xNul/palworld-host-save-fix/issues/31

https://github.com/xNul/palworld-host-save-fix/issues/113 was able to fix their issue by changing a coordinate in the .sav file. Not sure how the fix is resulting in this, but you can try applying their fix and see if it works.


Cant take userName

Hello Steven, I would like to know if you have another example how to get data returned from keycloak server. I've following your example step-by-step to make authentication and everything is working fine, but when I try to obtain user data it returns this error  "Undefined index name".
My code (I'm putting thid code on welcome.blade.php):
 'http://my_server/auth',
        'realm'                     => 'myRealm',
        'clientId'                  => 'myClientId',
        'clientSecret'              => 'mySecret',
        'redirectUri'               => 'http://localhost:8080/laravel/larazero/public/index.php',
    ]);

//If we don't have an authorization code then get one
if (!isset($_GET['code'])) {
    $authUrl = $provider->getAuthorizationUrl();
    $_SESSION['oauth2state'] = $provider->getState();
    header('Location: '.$authUrl);
    exit;

    // Check given state against previously stored one to mitigate CSRF attack
} elseif (empty($_GET['state']) || ($_GET['state'] !== $_SESSION['oauth2state'])) {
    unset($_SESSION['oauth2state']);
    exit('Invalid state, make sure HTTP sessions are enabled.');
} else {
    // Try to get an access token (using the authorization coe grant)
    try {
        $token = $provider->getAccessToken('authorization_code', [
            'code' => $_GET['code']
        ]);
    } catch (Exception $e) {
        exit('Failed to get access token: '.$e->getMessage());
    }

    // Optional: Now you have a token you can look up a users profile data
    try {

        // We got an access token, let's now get the user's details
        $user = $provider->getResourceOwner($token);
        // Use these details to create a new profile
        printf('Hello %s!\n', $user->getName());

    } catch (Exception $e) {
        exit('Failed to get resource owner: '.$e->getMessage());
    }

    // Use this to interact with an API on the users behalf
    echo $token->getToken();
}

?>

@NomiasSR I guess there’s no 'name' key in your user details array. From the sample code: You might have to change
// We got an access token, let's now get the user's details
$user = $provider->getResourceOwner($token);

// Use these details to create a new profile
printf('Hello %s!', $user->getName());

to something like
// We got an access token, let's now get the user's details
$user = $provider->getResourceOwner($token);
$details = $user->toArray();

and inspect the details.


Tutorials: update rust counter tutorial

Split off the counter tutorial in a separate branch for update.

Closing this PR as obsolete


Change plugins directory to spyplugins and make it a namespace package

This works builds on top of the work made by @Nodd (dont worry, your commits are all there ;-) )
I still have an issue when running the translation scripts
Todo

[x] Change plugins folder from spyderplugins to spyplugins/ui
[x] Change plugins folder from spyderplugins to spyplugins/io
[x] Fix translations
[x] Remove p_ prefix from plugins
[x] Fix image display in preferences for plugins (pylint and profiler)

@ccordoba12 when running python gettext_scan I am getting this:
Updating... spyderlib/locale/fr/LC_MESSAGES/spyderlib.po
merge...
spyderlib/locale/spyderlib.pot:2690: duplicate message definition...
spyderlib/locale/spyderlib.pot:6: ...this is the location of the first definition
msgmerge: found 1 fatal error
Updating... spyderlib/locale/es/LC_MESSAGES/spyderlib.po
merge...
spyderlib/locale/spyderlib.pot:2690: duplicate message definition...
spyderlib/locale/spyderlib.pot:6: ...this is the location of the first definition
msgmerge: found 1 fatal error
Updating... spyderlib/locale/pt_BR/LC_MESSAGES/spyderlib.po
merge...
spyderlib/locale/spyderlib.pot:2690: duplicate message definition...
spyderlib/locale/spyderlib.pot:6: ...this is the location of the first definition
msgmerge: found 1 fatal error

No idea, I'll check this out after beta1

@ccordoba12 ... ok this was a bit longer than expected but I think it is now working. I need some testers...

I'll test this weekend :-)

@SylvainCorlay how should we handle icons in external plugins? I mean, we need to define some sane/easy way for people to define both a fontawesome icon and a normal image icon...

This needs a rebase too.
Also, I'm getting this traceback in Python 3 (Python 2 works just fine ;-):
ERROR: 3rd party plugin import failed for `spyplugins.io.hdf5`
Traceback (most recent call last):
  File "/home/carlos/Projects/spyder/github-repo/spyderlib/otherplugins.py", line 53, in _import_plugin
    submodule = imp.load_module(submodule_name, *info)
  File "/home/carlos/.virtualenvs/test-ipy3-stable/lib/python3.4/imp.py", line 235, in load_module
    return load_source(name, filename, file)
  File "/home/carlos/.virtualenvs/test-ipy3-stable/lib/python3.4/imp.py", line 171, in load_source
    module = methods.load()
  File "<frozen importlib._bootstrap>", line 1220, in load
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1444, in exec_module
  File "<frozen importlib._bootstrap>", line 1554, in get_code
  File "<frozen importlib._bootstrap>", line 672, in _code_to_bytecode
ValueError: unmarshallable object
ERROR: 3rd party plugin import failed for `spyplugins.io.dicom`
Traceback (most recent call last):
  File "/home/carlos/Projects/spyder/github-repo/spyderlib/otherplugins.py", line 53, in _import_plugin
    submodule = imp.load_module(submodule_name, *info)
  File "/home/carlos/.virtualenvs/test-ipy3-stable/lib/python3.4/imp.py", line 235, in load_module
    return load_source(name, filename, file)
  File "/home/carlos/.virtualenvs/test-ipy3-stable/lib/python3.4/imp.py", line 171, in load_source
    module = methods.load()
  File "<frozen importlib._bootstrap>", line 1220, in load
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1444, in exec_module
  File "<frozen importlib._bootstrap>", line 1554, in get_code
  File "<frozen importlib._bootstrap>", line 672, in _code_to_bytecode
ValueError: unmarshallable object
ERROR: 3rd party plugin import failed for `spyplugins.io.hdf5`
Traceback (most recent call last):
  File "/home/carlos/Projects/spyder/github-repo/spyderlib/otherplugins.py", line 53, in _import_plugin
    submodule = imp.load_module(submodule_name, *info)
  File "/home/carlos/.virtualenvs/test-ipy3-stable/lib/python3.4/imp.py", line 235, in load_module
    return load_source(name, filename, file)
  File "/home/carlos/.virtualenvs/test-ipy3-stable/lib/python3.4/imp.py", line 171, in load_source
    module = methods.load()
  File "<frozen importlib._bootstrap>", line 1220, in load
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1444, in exec_module
  File "<frozen importlib._bootstrap>", line 1554, in get_code
  File "<frozen importlib._bootstrap>", line 672, in _code_to_bytecode
ValueError: unmarshallable object
ERROR: 3rd party plugin import failed for `spyplugins.io.dicom`
Traceback (most recent call last):
  File "/home/carlos/Projects/spyder/github-repo/spyderlib/otherplugins.py", line 53, in _import_plugin
    submodule = imp.load_module(submodule_name, *info)
  File "/home/carlos/.virtualenvs/test-ipy3-stable/lib/python3.4/imp.py", line 235, in load_module
    return load_source(name, filename, file)
  File "/home/carlos/.virtualenvs/test-ipy3-stable/lib/python3.4/imp.py", line 171, in load_source
    module = methods.load()
  File "<frozen importlib._bootstrap>", line 1220, in load
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1444, in exec_module
  File "<frozen importlib._bootstrap>", line 1554, in get_code
  File "<frozen importlib._bootstrap>", line 672, in _code_to_bytecode
ValueError: unmarshallable object

This is printed in both the internal console and also the terminal from which Spyder was started.
@goanpeca, can you reproduce it?

@ccordoba12 will try to work on this tomorrow

@ccordoba12 so I think this one is fixed now and should be working on Py2.7 3.3 and 3.4
Can you test it ?

@ccordoba12 this will not work unless we use setuptools.... distutils cannot handle namespace packages...

@ccordoba12 now it is ready, can you test?

Ok, first review done. It's working without errors on Python 3, but I still have to:

Test this on Windows.
Run pylint and profiler with example files to see if they are working as before :-)

Thanks a lot for this @goanpeca and @Nodd. It seems a lot of work, I mean, from the design and implementation point of view.

@ccordoba12 I organized the code a bit better and addressed your questions.

Ok, thanks. I'll give another review later today, and also test this on Windows.

@ccordoba12 have you had time to review and test this?

Ok, good news is that this is working without problems on Windows.
Bad news is that I really hate the use of Path. I'd prefer to use osp as usual (except where it's really not possible) to maintain a single standard (else things could become a mess).

@goanpeca, I'm going to do a PR against your branch to fix most of the things I reported today.
I plan to have it ready in one hour :-)

I agree, although Path can be handy it is a problem to not have uniformity, I will revert to the use of osp.

Are you sure?, I can do the fixes now as well... there are a couple of PRs open just for your delight :)

Ok, ok :-p I just want to merge this ASAP. Then be my guest and do my proposed changes while I review other PRs ;-)

Ok, will start now ;-)

I really love Path and hate osp, but I agree that consistency is more important. :cry:

@nod He is alive!!!

This needs a rebase. @goanpeca, I can help you fix the minor problem with IMG_PATH after you do the rebase :-)

Ok Carlos, you are lucky today, I actually have time to work on this, but in a couple of hours. I will let you know ok :-) ?

Great!

@ccordoba12 sorry I was absent, but I could not work the day as said I would and I was super busy with the real job(s) :wink:
I think I fixed the problems plus made the rebase, need to check what is going on with the continuous integration though

I had to remove the spyplugins tests, cause they do not run standalone, they need spyder to be running...

@ccordoba12 done,made the change.
For the moment this should do.
But I will think of a better solution to avoid the hack, in the next plugins PR.
All travis tests are passing except
https://travis-ci.org/spyder-ide/spyder/jobs/89153216
Can you give me a hand?

Ok, I'll take a look at it.
El 03/11/15 a las 23:36, Gonzalo Peña-Castellanos escribió:

@ccordoba12 https://github.com/ccordoba12 done,made the change.
For the moment this should do.
But I will think of a better solution to avoid the hack, in the next
plugins PR.
All travis tests are passing except
https://travis-ci.org/spyder-ide/spyder/jobs/89153216
Can you give me a hand?
—
Reply to this email directly or view it on GitHub
https://github.com/spyder-ide/spyder/pull/2565#issuecomment-153569231.

So, tests in Appveyor are passing (which is terrific!) although we're not testing there the widgets now present in spyplugins. I think we should leave that for another PR because it could be a bit tricky :-)
Tomorrow I'll do my final review and a bit of manual testing too ;-)

@ccordoba12, done with the comments

This needs a rebase again, sorry :-)

Ok, one sec....

Ok, it seems the time has come (finally!) to press the green button on this one :-)
Thanks a lot @Nodd and @goanpeca for your work. It's a really great improvement!

:+1:, now I will push the plugin manager PR :-)

Side note: conda-manager plugin is a bit broken right now....

Ok, no biggie. There are the other plugins to test :-)

Cool, thanks to @goanpeca for finishing the work and @ccordoba12 for the review !


podvm: Enable uefi for qemu builder

Confidential VM images are UEFI based and in order to customise them, we need qemu builder to support UEFI
Fixes: #721

Tested it for x86 images - Ubuntu/CentOS/RHEL on an Ubuntu host.
PACKER_LOG=1 PODVM_DISTRO=ubuntu UEFI=true UEFI_FIRMWARE_LOCATION=/usr/share/OVMF/OVMF_CODE.fd make image

PACKER_LOG=1 PODVM_DISTRO=centos UEFI=true UEFI_FIRMWARE_LOCATION=/usr/share/OVMF/OVMF_CODE.fd make image

PACKER_LOG=1 PODVM_DISTRO=rhel UEFI=true UEFI_FIRMWARE_LOCATION=/usr/share/OVMF/OVMF_CODE.fd make image

@jtumber-ibm I have now made the uefi changes specific to x86_64 only. Ptal


fix category translation

Q
A

issue or Enhancement
issue

Changelog updated?
no

License
MIT

What's in this PR?
This PR fix the category translation.
Checklist

[ ] Updated CHANGELOG.md to describe BC breaks / deprecations | new feature | bugfix

@BernhardK91 Can you please merge this?

@resslinger I am very sorry for the delay. I did not get a notification for the PR. Thanks a lot for your contribution.
I was not able to find any source that Shopware changed there field names. Do you have a source for that needed change?

@BernhardK91 I found the forum entry from 2020 and added a PR to the main repo: https://forum.plentymarkets.com/t/arvatis-shopware-connector-kategorien-werden-nicht-mehrsprachig-abgeglichen/581836
We have the PR since 2020 live. I will check, why the category translation was change from Shopware.
The main change in this PR is, that the db field for the category name is in "description" and not in "name" like before this change.

@resslinger I have tested that in one of my environments without that change. I am not able to reproduce any problem with categories sync. Can you give me some steps to reproduce?
You are right, that the database field is named "description", but the API documentation (at least for REST API) is still calling it "name":
https://developers.shopware.com/developers-guide/rest-api/examples/category/#example-1-creating-a-category

@BernhardK91 I will check this again.

@BernhardK91 The translation of categories is not stored over api, but directly to the translation database table. We tested it on our site and works only with this PR.

@resslinger Thank you for the information. Then I will merge the PR, as you have checked that it is required.


Exporter pod unable to start on new Bottlerocket AMI in EKS

Our dcgm-exporter (3.3.5-3.4.0-ubuntu22.04) pods started cycling after our EKS GPU nodes started using a new AMI version for Bottlerocket. The pods were running fine on the previous version which I double-checked and confirmed.
Logs from the exporter container:
Warning #2: dcgm-exporter doesn't have sufficient privileges to expose profiling metrics. To get profiling metrics with dcgm-exporter, use --cap-add SYS_ADMIN
time="2024-03-04T16:08:34Z" level=info msg="Starting dcgm-exporter"
Error: Failed to initialize NVML
time="2024-03-04T16:08:34Z" level=fatal msg="Error starting nv-hostengine: DCGM initialization error"

Container works fine on Bottlerocket 1.19.1, starts cycling on 1.19.2.

@tarikdem , The dcgm-exporter requires privileged access to read GPU data. Please report the issue to the Bottlerocket maintainers: https://github.com/bottlerocket-os/bottlerocket/issues.


Remove listener

Hi, how can I remove the listener? I need to use it when the user logs in to my application but when the user logs out and is not logged in that he cannot receive files, I tried the "ReceiveSharingIntent.clearReceivedFiles ();" but it doesn't work for me, I created a function to remove the listener from its library and it doesn't work either, I appreciate the help.

Did you find any solution? I have the same problem

@chernandezq did you found any solutions for this?


Panic: Electronic Stability Control Active during normal openpilot use

Describe the bug
Normal use of openpilot, required me to take control but worked fine after. unsure of what could've caused this. Comes from pulling new commits from master.
Exact occurrence is here: https://connect.comma.ai/9a31d18cd1a79c69/00000001--79aa41f7e0/3484/3526
https://github.com/commaai/openpilot/assets/65101411/6d46c508-af2f-4305-8788-5ca11c854e3a
Provide a route where the issue occurs
9a31d18cd1a79c69/00000001--79aa41f7e0
openpilot version
66e1810c0de88f4b927b7a46d12ba96304052ace
Additional info
I was testing out @ugtthis new Display Alert Cluster when this panic occurred but judging on the diff between the fork and commit from master, the code only updates UI. https://github.com/commaai/openpilot/compare/commaai:openpilot:66e1810c0de88f4b927b7a46d12ba96304052ace...ugtthis:openpilot:dac-ui

The alert was added recently in #32743, as the resolution for your earlier issue #32737.
HKG ACC disengages on stability control activity, which disengages openpilot as well. Before that PR, you would have had a nearly silent disengagement, no warning to the driver beyond the usual sound. That's a bad thing, hence the warning. It may need to be added for other vehicles as well.
Closing since this is working as-designed.


Feature load module from any location

Closes #105

Good idea!
One request: Could you include an example in the docs on how to include a module from some locations on the device?
Like a project stored in the default VS2019's solution path: %UserProfile%\source\repos\
or in C:\Projects\
At the moment it's not really clear to me how that's done

@luttje I have added example to dotnet.load docs: https://ambitious-hill-0f19b7c03-107.westeurope.azurestaticapps.net/lua-api/dotnet.html#loadstring. Take a look.

@luttje I have added example to dotnet.load docs: https://ambitious-hill-0f19b7c03-107.westeurope.azurestaticapps.net/lua-api/dotnet.html#loadstring. Take a look.

Awesome, if you could copy the example to the article docfx_project/articles/runtime_features/development_environment/index.md that would make the article a bit more instructive.
Looks good otherwise. Thanks!

@luttje Done! Take a look: https://ambitious-hill-0f19b7c03-107.westeurope.azurestaticapps.net/articles/runtime_features/development_environment/index.html


The file or directory to be published does not exist: .../vendor/bower/slick-carousel/slick

Just installed the plugin and the follwoing exception pops:
Invalid Parameter – yii\base\InvalidParamException
The file or directory to be published does not exist: .../vendor/bower/slick-carousel/slick
It seems that in my app, that folder is in .../vendor/bower/**bower-asset/**slick-carousel/slick
It is then solved adding a symlink.

I suppose, authors original plugin (http://kenwheeler.github.io/slick/) has updated it again with breakbackward compatibility. I'll check it and fix.

I suppose, you changed bower assets directory in your .bowerrc file. My plugin based on @bower alias, defined in \yii\base\Application at number 456 (https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L456).


Gorethink Update

Also includes a few possibly useful improvements

@Connectplayltd plz fix conflicts.

@hsluoyz
@adityapandey9  has already resolved the conflicts in his last few commits and has updated for the v5.

@adityapandey9 @Connectplayltd still have conflicts:


Fix the script filename in the help message

Thanks, but wouldn't it be better to have the same name for the scripts - no matter how they're installed?


What is the Github status of this project?

Hi there,
I'm super happy this project exists and you have released it as open source, I use it to drive all of my homelab automation and it's just great! The automatic updates mean that it's always up to date in any machine I log into.
I have some ideas, suggestions, hiccups, etc. that I find during my use and I'd like to share them, sometimes I even may go for a PR. But I did send a PR and it has gone unactioned/unanswered for two months, while there have been code changes in the same period. Same for a question in the Discussions tab.
I am in no rush, so if it just takes months, I can adapt my expectations happily. But it is fair to ask if you are receptive to contributions in the form of suggestions or PRs from people outside of your company.

Hi,
Thanks for your interest in this project. It is great to hear that it helps in your use case. We are open to any contributions to this project (that's the purpose of open source). Summer is usually vacation time, and the team's capacity is low, so the PRs and issues might not be responded to as fast as usual.
I will take a look at the issues and PRs you created by the end of this week; let's start from there.
Thanks again for your interest and contribution!

That is wonderful, and thank you so much for the quick reply 🙏