Usage of C library in windows : tensorflow C api [cpu only]

I am coming from your youtube video, but for tensorflow API, not tensorflow lite, Here is my question:
I want to use this C library from here on windows globally. I intend to run the hello_tf.c example natively on windows with the global install (like how #include <stdio.h> -> #include <tensorflow/c/c_api.h> is available. Is this possible?)
I've looked at StackOverflow multiple times and was not able to figure it out. I was getting this error:
$> gcc hello_tf.c -ltensorflow -o hello_tf
hello_tf.c: In function 'main':
hello_tf.c:7:60: warning: implicit declaration of function 'TF_Version' [-Wimplicit-function-declaration]
    7 |     printf("Hello from TensorFlow C library version %s\n", TF_Version());
      |                                                            ^~~~~~~~~~
c:/mingw/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ltensorflow
collect2.exe: error: ld returned 1 exit status

I know this is a trivial error, but I cannot figure out how to proceed from here. Below is the source code:
// hello_tf.c
#include <stdio.h>
#include <tensorflow/c/c_api.h>

int main() {
  printf("Hello from TensorFlow C library version %s\n", TF_Version());
  return 0;
}

Hi,
I'm not an expert on using gcc on windows, the error is pretty much saying the linker can't find the library.
See here: https://www.tensorflow.org/install/lang_c#linker
You should configure LIBRARY_PATH and LD_LIBRARY_PATH to include the folder where the tensor flow lib is. Maybe also try to put it on your PATH just to be safe.
Other than that I really don't know....


UI for "Saving..." "Saved" indicator

As a followup to #23, display the indicator to the user somehow.
TODO sketch/brainstorm UI ideas. Where should this go?

Hi :wave: got to this project from your blog post :clap:
I'm totally amateur in UX, but perhaps looking at what I did in https://mathdown.net would give you ideas:
As one types, a yellow "Unsaved!" at the top appears quickly at low opacity, and if it remains unsaved — if you keep typing fast, or are offline — it slowly fades in to high opacity.
Once saved, the text switches to "saved" and the message fades out (pretty fast).
My thoughts with the low opacity and slow fading were (1) avoid distracting user during normal typing (2) stay below recommendations I'd seen(?) about strong fast flicker that's bad to users with epilepsy.
relevant JS & CSS transitions:
https://github.com/cben/mathdown/blob/05577d61f549851522dce8c06ff077c7221dab4b/mathdown.js#L267-L274
https://github.com/cben/mathdown/blob/05577d61f549851522dce8c06ff077c7221dab4b/mathdown.css#L22-L46

Firebase gives me separate explicit "you're offline" status, so I'd also started playing with more visible "Offline — Unsaved changes!" notice:
https://github.com/cben/mathdown/commit/0e8a2d41cd8082115a6164796758ebe6d5b886df
(much of that commit is less interesting to you, was an unreliable attempt I never finished to periodically  end-to-end validate saving actually works and if not alert users there may be a bug.  motivating by real case :flushed:)

Excellent! Thank you for the references. I tried your mathdown.net and the UI for Saving/Saved looks quite good. The opacity and delay behavior is a very nice touch!


Update to stable chokidar.

That's it. Brings LOTS of stability & improvements.

published to npm as 0.3.2, thanks.


Question on observed resource

Hi,
I am very new to coap.net and I have some questions regarding observed resource. I am using coap.net framework and tried to call "time" resource on client's side and it works (using "OBSERVE").
However, I am still not very sure on how the subscription to this resource can be stopped explicitly on client's side (probably a RST response to clear observation or something?).
Could you provide some examples on how it can be done?
Thanks!
ML

Hi~
Thank you for choosing this lib.
According to the [RFC of observing] (https://tools.ietf.org/html/rfc7641#section-3.6), there are 2 ways to cancel a subscription on the client side:

send a RST when next notification arrives
or send another cancellation request, with an Observe Option set to 1 (deregister).

If you are using CoAP.NET as your client, things will be easy.
For the Request class, you may call the .Cancel() method on the original request, to mark the end of a subscription. The rest will be done automatically.
Request obs = Request.NewGet();
obs.MarkObserve();

// ...

obs.Cancel();

In other way you can send another cancellation request as the following code:
Request cancel = Request.NewGet();

cancel.SetOptions(obs.GetOptions());  // same options
cancel.MarkObserveCancel();
cancel.Token = obs.Token;  // same token
cancel.Destination = obs.Destination;

cancel.Send();

If you are using a CoapClient, the code would be like:
CoapClient client;

var relation = client.Observe(...);

relation.ReactiveCancel();  // cancel by RST
// or
relation.ProactiveCancel();  // cancel by deregister

Thanks for your very quick response!
Yes, I have tried the cancellation method you suggested and it worked.
However, I realize that whenever we call OBSERVE, the DoGet method is called more than once. Is this normal?
Thanks and regards,
Melvin Liew

Hi~
You are right. There is a refreshing mechanism in the ObserveLayer that will refresh the subscription from the client once in a while by sending another observe request.
By default, this period would be the MaxAge in seconds of the last notification + 2s.
It seems no chance is provided by far to disable the re-registration. We'll try to fix this later. You are welcome if you would like to help us improve it.
As for now, you may postpone it if you'd like to. Two options are for you:

Set the MaxAge option of notifications. The re-registration would not happen before a notification runs out of life.

// DoGet()
{
    Response response = new Response(code);
    response.SetPayload("Hello World!", MediaType.TextPlain);
    response.MaxAge = 60; // in seconds
    exchange.Respond(response);
}

Set the 'NotificationReregistrationBackoff' option in CoapConfig, in milliseconds. The default is 2000ms.

    // this may seem a little bit ugly...
    ((CoapConfig)EndPointManager.Default.Config).NotificationReregistrationBackoff = 2000; // in ms


[T6A1][T16-B1] Alwinson Au-yong Ex1

Ready to Review

@alwinsonauyong
Some comments added. Please ack & close the PR after reading comments.


add missing grafana and kibana variables in https mode - [merged]

In GitLab by @tmon546596046 on Sep 21, 2020, 05:57
Merges nginxdns -> dev
about issue http://open.inspur.com/TechnologyCenter/board/issues/2627

In GitLab by @wknet123 on Sep 21, 2020, 06:09
enabled an automatic merge when the pipeline for 2228215bddad3d278a695b8795b81ba8d6c29f47 succeeds

In GitLab by @wknet123 on Sep 21, 2020, 09:04
mentioned in commit 91455044d8c904869026c41e6a927a8bd1e69785

In GitLab by @wknet123 on Sep 21, 2020, 09:04
merged


New functions required for Item Extraction

Related to gchq/Gaffer#1345
New functions should be added to facilitate the extraction of items from iterables, specifically, first and last items, and an Nth item as well.

Merged into develop.


feat: fix grants and add comments for script sections

Include schema name on grants and remove grants for sql built-in functions

Oracle schema must be created first.  Script is located at:
https://github.com/bcgov-nr/nr-fsa-scripts/blob/main/scripts/FDSUTIL/create_fdsutil_user.sql


Note Length Discoveries

in the io.midi.js file:
function convertLength (val, bpm) {
// TODO get bpm from daw midi
if (! bpm) {
bpm = 120;
}
return (60000 / 120) * (val / 15)
where it says  "60000 / x", x should be 1/4th of bpm.
So for the example of bpm = 120, x = 30.
This is how to get a note length value of 'f' to equal ~1 bar instead of the current quarter note maximum.
{There's also some kind of issue with an 'f' value sometimes overlapping with the next note creating a super short note length on that note at random intervals.}

would be AWESOME if the DAW could parse this through .. to orca and then Orca adjusts this value dynamically :) doable ? @hamstah ?

Maybe disregard this whole issue. A bunch of timing issues start happening with increased note length. :-(

yeah trial and error testing and seeing man .. its all part of it .. nice first issue :) good work


Selector Boundary Color and Boundary Size not present in the library when installed from Gradle

The selector properties of selectorBoundaryColor and selectorBoundarySize are not present in the java code when installing from the Gradle file.
I see those properties were added in the recent commits. Are they going to be included in the next version?

Bump!  Would really like to see the documentation as well.  I'm enjoying the library, so thanks for putting it together.

This was fixed in the last version. Please check Readme.md file for details


porting saliency_map to python 3

I was trying to apply FASA in my algorithm and i found that it does not work... I did a port to python 3 and It works great. The problem was a simple loop. Now it works with both python 2 and python 3.
Best regard.

Great, thank you for your contribution!


Ganymede updt

Backport baseline updates to ganymede.

Was slack messanger (with verbal crash info messages) left out intentionally?


Broken GString JSON serialization via Jackson

Attempting to output e.g. a collection of GStrings via renderJSON() and our default Jackson serializer returns e.g.
[
  {
    "values": [
      1
    ],
    "strings": [
      "Message #",
      " here"
    ],
    "bytes": "TWVzc2FnZSAjMSBoZXJl",
    "valueCount": 1
  },
  {
    "values": [
      2
    ],
    "strings": [
      "Message #",
      " here"
    ],
    "bytes": "TWVzc2FnZSAjMiBoZXJl",
    "valueCount": 1
  },
  {
    "values": [
      3
    ],
    "strings": [
      "Message #",
      " here"
    ],
    "bytes": "TWVzc2FnZSAjMyBoZXJl",
    "valueCount": 1
  }
]

😮
Looks like we will need to register a custom serializer, unless there is a better default behavior we could be specifying.

We can of course improve and look for more general/broader fixes, but this is well-worth taking right now.


[Epic] Prototype data layout propagation for data tiling

Set up a branch which allows IREE to apply data tiling + data layout propagation at earlier stage.
### Tasks
- [ ] Add a early matmul -> data tiling pass to preprocessing stage
- [ ] Add DataLayoutPropagation pass to preprocessing or flow stage

Evaluating the propagation with unaligned models, starting with MobileBert FP32. Some supports are already developed in -upstream. To enable it for MobileBert, we need
### Tasks
- [ ] #13530
- [ ] #13527
- [ ] #13531
- [ ] #13532

Evaluating propagation with unaligned models needs more investigation. Propagation of tensor.pack ops with padding values is very challenging. We are able to propagate it through some limited cases. Need more investigation for this part.

@hanhanW I captured most of this #13216 . We can probably just use that for tracking all data tiling related tasks.


docs update for api alpha-27

Closes #151
Closes https://github.com/angular/angular/issues/2632

this was merged in.


JS Toolchain: export "as" keyword not working

Doing the following doesn't seem to work.
var House = 10;
export {
   House as Home
};

Might be a bad Rollup version? Could even be Buble's fault.

Confirmed not a bug.
After investigating, it seems I was putting export's in the main. Any exports in the main are not resolved, as Rollup doesn't actually know what to do with them. However, they do appear to work if they're in files you import.


App not working

The app is not working for some reason and doesn't provide any error code.

Hi @PFSL , could you share at which point the application stopped working?

It’s not opening when try to access the page.
Paulo Lomeu
Em qua., 15 de mai. de 2024 às 08:01, gabriel chua @.***>
escreveu:

Hi @PFSL https://github.com/PFSL , could you share at which point the
application stopped working?
—
Reply to this email directly, view it on GitHub
https://github.com/gabrielchua/RAGxplorer-demo/issues/1#issuecomment-2112211112,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADF3YLDWCJ5W5G3XQEKWYBTZCM6B3AVCNFSM6AAAAABHWSOLFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJSGIYTCMJRGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

Try this? https://ragxplorer.streamlit.app/
I just accessed it & it’s available


[FEATURE] Change the Colour of Drifty Heading in the website

Is your feature request related to a problem? Please describe.
Make image of Drify as White instead of Blue as its Doesn't looks good in Blue background.

Describe the solution you'd like.
Make it to white as it looks more Comfortable and Fit!

to Blue Background
Screenshots
No response
Additional information
No response

Great idea 😃 @Vijaykv5 ! Do you want to work on this issue?

Yes I'm interested to work on it

Yes I'm interested to work on it

Sure, you may go ahead 👍 @Vijaykv5 !


[Question]: Mac computers: Docker-compose is unable to execute sudo sysctl -w vm.max_map_count=262144.

Describe your problem
Hello. I am using Docker Desktop on a Mac system and I'm unable to configure using this command.
sudo sysctl -w vm.max_map_count=262144.
It results in a failure to start Ragflow. Could you please suggest any solutions?
By the way, I am using a Mac with an ARM architecture, and I cannot install docker-machine. Additionally, I am unable to run screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty. Is there a solution you could suggest?

Try this:
Open the file /etc/sysctl.conf in a text editor with administrative privileges. You can use the sudo command with a text editor of your choice, such as Nano or Vim:
sudo nano /etc/sysctl.conf
Add the following line to the end of the file:
vm.max_map_count=262144

does the ragflow-es-01 container fail for you when you try to run without setting this parameter? I think I am facing the same issue. I used sysctl -a command to check all the system parameters, the vm.max_map_count parameter is not present in the available system parameters on my macOS system.

In short I cannot set this parameter as it does not exist on my Mac M2 OS

may be it's helpful.https://github.com/infiniflow/ragflow/blob/main/docs%2Fmax_map_count.md

Macs running macOS do not have the vm.max_map_count parameter because it is specific to the Linux kernel. The developers added a "Dockerfile.scratch" script to help with installation on Macs with Apple silicone. However, that is not currently working either. It is too bad! I was looking forward to using Ragflow.

Having trouble running ragflow on M3 Silicon Mac or even building the docker:
docker build --no-cache -t infiniflow/ragflow:dev -f Dockerfile.arm .
Output:
Dockerfile.arm:7
--------------------
   6 |     COPY requirements_arm.txt /ragflow/requirements.txt
   7 | >>> RUN pip install -i https://mirrors.aliyun.com/pypi/simple/ --default-timeout=1000 -r requirements.txt &&\
   8 | >>> python -c "import nltk;nltk.download('punkt');nltk.download('wordnet')"
   9 |
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install -i https://mirrors.aliyun.com/pypi/simple/ --default-timeout=1000 -r requirements.txt &&python -c \"import nltk;nltk.download('punkt');nltk.download('wordnet')\"" did not complete successfully: exit code: 1

View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/fvay1k2wtt4fzbb2yijrj0r2t

在 M3 Silicon Mac 上运行 ragflow 甚至构建 docker 时遇到问题： docker build --no-cache -t infiniflow/ragflow:dev -f Dockerfile.arm .
输出：
Dockerfile.arm:7
--------------------
   6 |     COPY requirements_arm.txt /ragflow/requirements.txt
   7 | >>> RUN pip install -i https://mirrors.aliyun.com/pypi/simple/ --default-timeout=1000 -r requirements.txt &&\
   8 | >>> python -c "import nltk;nltk.download('punkt');nltk.download('wordnet')"
   9 |
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install -i https://mirrors.aliyun.com/pypi/simple/ --default-timeout=1000 -r requirements.txt &&python -c \"import nltk;nltk.download('punkt');nltk.download('wordnet')\"" did not complete successfully: exit code: 1

View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/fvay1k2wtt4fzbb2yijrj0r2t

Same problem

This is being looked at under this issue, where there is a proposed fix ...
https://github.com/infiniflow/ragflow/issues/1919

@FellowTraveler @learnerLj We've published multi-arch image ragflow:dev-slim. Here's how we do it: https://github.com/infiniflow/ragflow/blob/main/docs/guides/develop/build_docker_image.md

Issue fixed in PR https://github.com/infiniflow/ragflow/pull/2041


[android] Shutdown logic fix

@aldenml @muckachina please take a look at this and test this branch.
The purpose of this branch is to perform a passive shutdown of FrostWire, in the past we tried to force kill all services and the process which is against Android's nature, which will try to revive the process anyway.
It's working as expected, at least what I've tested:
That ad networks aren't shutdown and they continue to work, both banners and interstitials.

HTTP and Image loading works after restart

Bittorrent transfers work after restart

Previous BitTorrent transfers are restored to their previous stage, however, there's a hiccup on which you will see previous transfers in "Error" state for a second, perhaps you know how to fix this, I was "tirando flechas" on how to restore the bittorrent session. See this which is the only code that I got it to work with, I bet you'll see the flaw. The issue is that when the torrent engine is stopped the session object is destroyed, so I try to recreate a new session from scratch. (That code I linked all occurs on a background thread when you stop the debugger there).

Still untested: Ad-Removal behavior.
I think this will also fix issues with Ad-Removal and ads coming back, I've yet to test if ads are still hidden after a restart, they should probably be. But now, we don't kill the PlayStore services on Exit, perhaps that was also causing issues.
Playing with fire, but lots of benefits, like not ever having again the crash that occurred when you tried opening frostwire right after a shutdown and it was still shutting down.

take a look at my comments in the original PR https://github.com/frostwire/frostwire/pull/808

I think they're gone :( (your comments)
After my last commit I no longer see "Error" on transfers in the transfer manager after restoring the session, however, it's taking a lot of time for the transfers to appear, about 30 seconds. You will think that the transfers would not restore if you don't wait long enough.
So I bet there's something I could do to trigger their re-appearance.

@gubatron I got an issue with FW Player I cannot reproduce on current version out, perhaps it's related to ads displayed on Player.
To reproduce:

Download partial files (audios) from a torrent (for example a FW feature)
Once the download is complete select the file on Transfer to open file
Click the option to launch the file with FW Player
FW Player appears playing the audio file but when going back to FW menu you can hear the song but the Player has disappeared, you can also minimize or Exit FW and the audio keeps Playing and is not on Notifications

Rendering issue on Transfer list here too, after re-starting FW torrent files disappear from Transfer, they re-appear after starting a new torrent download.

@muckachina if you do a pull on this branch, that issue should be gone.
Now there's just an issue showing newly added transfers.
(I'll delete the comment related to the player as it's not part of this pull request)

I've to test more but with this latest merge prior downloads are loading on Transfer on both FW with ads and without ads... however I got some errors when trying to download files from 3 torrent sources right after installing FW, I re-started the app, got the message about 'location permissions' and it worked fine  so I'll check this carefully tomorrow


[Enhancement] Method stores return result in local before immediately returning it [RemotingHelper]

Search before asking

[X] I had searched in the issues and found no similar issues.

Enhancement Request

located at:
eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/util/RemotingHelper.java line 53
analysis and explanation:
This method stores the return result in a local variable, and then immediately returns the local variable. It would be simpler just to return the value that is assigned to the local variable
Describe the solution you'd like
Returns the value assigned to the local variable directly.
Are you willing to submit PR?

[x] Yes I am willing to submit a PR!

I'd like to fix it.


TST: compatibility with event-model v1.14.0

The PR is fixing minor CI issue related to changes in event-model v1.14.0.

I guess codecov coverage dropped, because I removed explicit call to the BEC instance.


Bypass URLs from decrypting with Transparent Proxy.

Hello,
I am using Titanium Web Proxy as a Transport Proxy. It is decrypting all the URLs, because of this some of the websites and Intranetworking sites are having trust issue, it shows the message "Your connection is not private/secure".
Please help me out to resolve this issue.

Subscribe to proxyServer.BeforeSslAuthenticate
and set the args.DecryptSsl to false.
Alternatively you can disable it globally for your endpoint in the TransparentProxyEndPoint object.


[GLUTEN-3141][CH] Rewrite date comparison expression into a more efficient way

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
Fixes: #3141
Test result is given as following.
data set
CREATE TABLE default.test_time_cmp (ts INT, val INT) USING parquet;
insert into test_time_cmp select<PHONE_NUMBER> + (rand() *<PHONE_NUMBER>) % 2592000 as ts, id as val from range(0, 10000000);

performance comparison

condition
before
after

from_unixtime(ts, 'yyyy-MM-dd') > '2023-09-15'
0.862 seconds
0.367 seconds

from_unixtime(ts, 'yyyy-MM-dd') >= '2023-09-15'
0.879 seconds
0.347 seconds

from_unixtime(ts, 'yyyy-MM-dd') < '2023-09-15'
0.887 seconds
0.334 seconds

from_unixtime(ts, 'yyyy-MM-dd') < '2023-09-15'
0.919 seconds
0.319 seconds

from_unixtime(ts, 'yyyy-MM-dd') = '2023-09-15'
0.872 seconds
0.371 seconds

to_date(from_unixtime(ts)) > '2023-09-15'
4.507 seconds
0.331 seconds

How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
unit tests
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

Run Gluten Clickhouse CI

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_3592_time.csv
log/native_master_11_06_2023_d57fdf26f_time.csv
difference
percentage

q1
31.35
33.34
1.995
106.37%

q2
25.40
24.84
-0.559
97.80%

q3
38.60
38.31
-0.298
99.23%

q4
37.11
37.40
0.295
100.80%

q5
71.10
70.83
-0.271
99.62%

q6
8.10
7.74
-0.357
95.59%

q7
84.70
85.97
1.279
101.51%

q8
85.19
84.68
-0.505
99.41%

q9
121.05
124.39
3.342
102.76%

q10
52.25
54.67
2.415
104.62%

q11
20.32
19.96
-0.358
98.24%

q12
26.44
24.52
-1.926
92.72%

q13
49.06
50.37
1.307
102.66%

q14
16.58
18.50
1.923
111.60%

q15
30.50
32.09
1.598
105.24%

q16
16.68
16.51
-0.168
98.99%

q17
103.42
100.90
-2.521
97.56%

q18
148.90
148.27
-0.627
99.58%

q19
14.86
14.74
-0.118
99.21%

q20
29.99
30.95
0.961
103.21%

q21
225.27
225.06
-0.205
99.91%

q22
13.12
13.61
0.482
103.67%

total
1249.97
1257.65
7.685
100.61%


API Roadmap

This is meant to be a continuously-updated list of API candidates for System.
Criteria for Inclusion
System's primary aim is to be the place developers go to access native platform interfaces, presented in as Swifty a way as feasible. This positions System as a successor to Darwin/GlibC/SwiftWin32 and a “bedrock” upon which to enable better systems-level programming in Swift.
System is not aiming to be a cross-platform abstraction layer; there will be platform differences reflected in System's API. Of course, if a concept can be expressed the same way across platforms without harm or significant compromise to the developer's native experience on that platform, that's great. But, System's API should feel natural and native for the target platform.
System aims to provide API in 3 areas:

As-Swifty-as-we-reasonably-can direct access to system calls and types

If a system interface exists, that’s strong justification for providing access to it in System as faithfully as we can.

Common types for library API at the systems level

System hosts common types for systems level programming, enabling libraries built on top of System to use the same, well-crafted types in their API.
For example, many API take locations in the file system, for which FilePath provides a common expression.

High-value utility functionality and abstractions, where appropriate

System provides common utilities that users of System would otherwise find themselves having to reinvent. These usually have some combination of being pervasive, having obvious desired behavior, and being difficult/onerous to implement correctly.
For example, ensuring that a file descriptor is closed under all (non-pathological) conditions can be complex in the presence of error-handling, so System provides FileDescriptor.closeAfter.
This area has a higher bar for contribution, requiring more justification and thought. What is "obvious desired behavior" and "correct" can differ amongst users of System.
Roadmap
Released

0.0.1

syscalls: read, write, lseek, pread, pwrite, open, close
types: FilePath, FileDescriptor, Errno, FilePermissions
helpers: closeAfter, writeAll

0.0.2

FilePath Syntactic Operations

decompose a path, analyze a path, components view, mutate a path, etc

Standard file descriptors

static FileDescriptor.standardInput, FileDescriptor.standardOutput, FileDescriptor.standardError

dup/dup2

FileDescriptor.duplicate, with optional as target.

Merged
In Progress

Strongly-typed process and signal wrappers

ProcessID, Signal, SignalSet, ProcessID.TaskInfo, ProcessID.ResourceUsageInfo
TODO: posix_spawn and execv functionality and interfaces

Initial socket support
Pipes

Sketches
Sketches are merge-worthy, quick-but-complete presentations of systems interfaces. They help to surface unknown-unknowns and can be easily adapted into a proposal. They are not necessarily named or expressed in their final form.

fcntl
sysconf, pathconf, fpathconf
openat, fsync, sync

Starter tasks

Add support for pipe

Near Term
Anything here could be added to System in the near term. Most of the functionality can be added by following existing API design patterns, though some will need new patterns.

sleep capabilities (e.g. usleep)
FilePath semantic (i.e. file-system interacting) operations

stat, chown, directory iteration, etc.
temporary files

pthread low-level interfaces
Further networking and sockets functionality

getaddrinfo, gethostent, etc.

Environment variables

FilePath: ~ expansion, currentWorkingDirectory

OSString-like abstraction

Null-terminated bytes on Unix, wchar or bytes on Windows (pending investigation)

I/O events

kqueue/kevent for Darwin, epoll for Linux, APC (or something similar) for Windows

exit handling

exit, atexit, etc

tty

ioctl, etc

Fleshing out FileDescriptor more

chmod, umask, etc.

Long Term (vague "blue-sky" hopes)

moveonly File type
high level Process type
io_uring on Linux

Not sure if it's on the road map, but additional FileDescriptor operations such as dup and dup2 also support for the FILE APIs? I'm not 100% sure if this aligns with this packages goals, just commenting because I was recently doing some things with these.

@allenhumphreys you're right, I'll add those. Sorry that I didn't see your reply earlier, I sometimes miss Github notifications (still trying to figure out why).

Thanks @miles. For reference, here's where I used the package. It's a great example of where the API's coverage is quite low.
Really glad to see this package coming along though!

Thanks @miles. For reference, here's where I used the package. It's a great example of where the API's coverage is quite low.
Really glad to see this package coming along though!

Updated to reflect merged API that is yet-to-be-released, and added in references to Standard file descriptors, and Strongly-typed process and signal wrappers.

Updated for dup/dup2

Just curious, does pipe fit somewhere on this roadmap?

I had mentally lumped that under process types and calls, but it's not actually blocked on any design work there. We can add this anytime and might make a good starter task.
extension FileDescriptor {
  static func openPipe() throws -> (read: FileDescriptor, write: FileDescriptor)
}

Pipes on Windows are somewhat interesting in that they behave differently.  I think that it may be a good idea to ensure that we have a proper design to accommodate that properly.

@compnerd, would CreatePipe be an appropriate equivalent? It seems sensible to have an additional overload on Windows that takes a buffer size and perhaps security policy (or at least a Bool for inheritability). Buffering has a default value and we can pick a default regarding inheritance for the parameter-less (or defaulted) API.

CreatePipe can be used to create the anonymous pipe and that is better because you can control inheritability unlike with _pipe.  However, some things like like non-blocking IO on pipes isn't supported for anonymous pipes and changing the pipe buffer size is undocumented.

ftruncate as FileDescriptor.resize:  https://github.com/apple/swift-system/pull/82#pullrequestreview-964560242

@milseman Would sendfile be a candidate that could make it to this package? If so, I'd be happy to create a PR.

@milseman Would sendfile (or maybe rather copy_file_range) be a candidate that could make it to this package? If so, I'd be happy to create a PR.

Yes, but I think that would be contingent on sockets, which got punted out (but hopefully we can readdress it soon)


[WFLY-4355] Remove deprecated usages of DeploymentUnit resource methods.

Linux with security manager Build 1188 is now running using a merge of 429c7415745c6105e0bce80a44d63ed8308edced

Linux Build 6213 is now running using a merge of 429c7415745c6105e0bce80a44d63ed8308edced

Windows Build 1325 is now running using a merge of 429c7415745c6105e0bce80a44d63ed8308edced

I had a typo in my command when running locally. There is an error on the changes for the datasources. I'll close this PR until I get that fixed.

Linux with security manager Build 1188 outcome was SUCCESS using a merge of 429c7415745c6105e0bce80a44d63ed8308edced
Summary: Tests passed: 822, ignored: 356 Build time: 0:06:19

Linux Build 6213 outcome was FAILURE using a merge of 429c7415745c6105e0bce80a44d63ed8308edced
Summary: Tests failed: 10 (10 new), passed: 2832, ignored: 416 Build time: 0:40:18
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.jca.security.DsWithSecurityDomainTestCase: <no details avaliable>

org.jboss.as.test.integration.deployment.xml.datasource.DeployedXmlDataSourceManagementTestCase.testDeployedXaDatasourcePropertiesInManagementModel: <no details avaliable>

org.jboss.as.test.integration.deployment.xml.datasource.DeployedXmlDataSourceManagementTestCase.testDeployedDatasourceStatisticsInManagementModel: <no details avaliable>

org.jboss.as.test.integration.deployment.xml.datasource.DeployedXmlDataSourceManagementTestCase.testDeployedXaDatasourceStatisticsInManagementModel: <no details avaliable>

org.jboss.as.test.integration.deployment.xml.datasource.DeployedXmlDataSourceManagementTestCase.testOverrideRegistrations: <no details avaliable>

org.jboss.as.test.integration.deployment.xml.datasource.DeployedXmlDataSourceManagementTestCase.testDeployedXaDatasourceInManagementModel: <no details avaliable>

org.jboss.as.test.integration.deployment.xml.datasource.DeployedXmlDataSourceManagementTestCase.testDeployedDatasourceInManagementModel: <no details avaliable>

org.jboss.as.test.integration.deployment.xml.datasource.DeployedXmlJpaDataSourceTestCase: org.jboss.as.test.integration.deployment.xml.datasource.DeployedXmlDataSourceTestCase.testDeployedXaDataSource: <no details avaliable>

org.jboss.as.test.integration.deployment.xml.datasource.DeployedXmlJpaDataSourceTestCase: org.jboss.as.test.integration.deployment.xml.datasource.DeployedXmlDataSourceTestCase.testDeployedDataSource: <no details avaliable>

org.jboss.as.test.integration.deployment.xml.datasource.DeployedXmlJpaDataSourceTestCase: <no details avaliable>

Windows Build 1325 outcome was FAILURE using a merge of 429c7415745c6105e0bce80a44d63ed8308edced
Summary: Tests failed: 10 (10 new), passed: 2832, ignored: 416 Build time: 0:49:07
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.jca.security.DsWithSecurityDomainTestCase: <no details avaliable>

org.jboss.as.test.integration.deployment.xml.datasource.DeployedXmlDataSourceManagementTestCase.testDeployedXaDatasourcePropertiesInManagementModel: <no details avaliable>

org.jboss.as.test.integration.deployment.xml.datasource.DeployedXmlDataSourceManagementTestCase.testDeployedDatasourceStatisticsInManagementModel: <no details avaliable>

org.jboss.as.test.integration.deployment.xml.datasource.DeployedXmlDataSourceManagementTestCase.testDeployedXaDatasourceStatisticsInManagementModel: <no details avaliable>

org.jboss.as.test.integration.deployment.xml.datasource.DeployedXmlDataSourceManagementTestCase.testOverrideRegistrations: <no details avaliable>

org.jboss.as.test.integration.deployment.xml.datasource.DeployedXmlDataSourceManagementTestCase.testDeployedXaDatasourceInManagementModel: <no details avaliable>

org.jboss.as.test.integration.deployment.xml.datasource.DeployedXmlDataSourceManagementTestCase.testDeployedDatasourceInManagementModel: <no details avaliable>

org.jboss.as.test.integration.deployment.xml.datasource.DeployedXmlJpaDataSourceTestCase: org.jboss.as.test.integration.deployment.xml.datasource.DeployedXmlDataSourceTestCase.testDeployedXaDataSource: <no details avaliable>

org.jboss.as.test.integration.deployment.xml.datasource.DeployedXmlJpaDataSourceTestCase: org.jboss.as.test.integration.deployment.xml.datasource.DeployedXmlDataSourceTestCase.testDeployedDataSource: <no details avaliable>

org.jboss.as.test.integration.deployment.xml.datasource.DeployedXmlJpaDataSourceTestCase: <no details avaliable>


fix: Benchmarks are not packable

The benchmark project should not be published as separate nuget package.

Thanks for pointing that out. I tried to use the online vscode editor in github. Let me fix that


Bug: fetching a new language doesn't actually fetch

I expected to receive the hello-world problem in javascript when I ran the fetch command, but did not receive anything at all.
$ exercism fetch javascript

unchanged: 0, updated: 0, new: 0

There are two bugs here; one in /v2/exercises/:track_id, and one in the filtering for /v2/exercises.

The first one is now fixed.


UI Fixes and Improvements on Home Page

Need assistance to fix and improve the UI on the home page of the LaTeX Resume Builder application. Specific areas needing attention include:

Updating the layout for better user experience.
Enhancing the responsiveness for different screen sizes.
Improving the overall aesthetic to be more modern and user-friendly.

Something Like this :-

Hi @SandeepVashishtha , I would like to work on this issue. Could you please assign it to me? Thanks!

Hi @SandeepVashishtha, I hope this message finds you well. I wanted to inform you that I have implemented a design for the Home Page that differs from your initial request. I believe this new design is more user-friendly and enhances the overall experience.
Please let me know if you would like any adjustments to align with your original vision.

@TusharGupta-Developer your PR fixes the problem but i think that live preview and latex editor should be side by side so that the user can see live preview easily. Btw nice work done ✅


Fix return value syntax highlighting.

Fixes #33.

FWIW, I would argue that the delimiters should not be colored as part of the type. It's OK for now, but it's not how C# syntax highlighting works on VS. Also, built-in types should be highlighted as keywords. eventually, I'd like to get to parity with VS.

Based on what I was seeing, it looked like the intention was to colorize the entire type with a uniform color.  It should be possible to get something closer to VS, but I know that some of the existing regex is too simplistic.  And achieving complete parity with VS will probably never be completely possible using a regex-based system, as we really need the full parse tree to do it perfectly.
At this point, I think we really need some C# code and corresponding reference images showing exactly the coloring we are trying to achieve.  That would give us a much better yard stick to determine whether we are making progress, as opposed to waiting for individual issues to be filed.
If I started putting together a sample source file, where would be a good spot in the repository to check it in?  Would it mess up anything to have it sitting along side the csharp.json?

I totally agree we'll never get it perfect, and I'm fine with where you're taking it in the interim. I think we'll want to make it better at some point. We inherited csharp.json from Atom, and I think it probably needs a rewrite (with tests! :smile:) in the near future to try and get closer to VS.
As I said, this is totally fine for now. Nice work!

Regarding testing, I see that several of the language extensions included in the main VSCode project have tests for syntax highlighting, so there is almost certainly some work there we can build upon.
@ivanz, as you are also doing work in this space, we should probably sync up at some point to coordinate our efforts, especially if a rewrite is deemed necessary to move forward.

I've opened #696 to track any future discussions on testing syntax highlighting
@seraku24 I have no plans to do more work on the syntax highlighting at this point, so no worries about that.

FWIW, I marked #696 as being on the backlog.


feat: calculate age based on modification date

It would be nice to have an option which could switch the mechanism of age calculation, rather then from object creation to last modification. That way we could easily catch stale PRs. Right now if the setting is 1w the following action would constantly label each PR older then a week every day (scheduled daily execution).

Makes sense, to avoid behaviour changes I prefer to solve ir with a new condition (e.g. last-updated), but good idea anyway

Hi @AngryMaciek I've pushed a draft PR for this https://github.com/srvaroa/labeler/pull/149 - I have to go AFK so I'll leave this here and give a final pass later.
Let me know if the config seems reasonable (the first two modified files in the diff are a sample and the documentation).
(if the at-least/at-most duration conditionals make sense I might add support for these in age too)
Cheers!

Released at v1.11.0 (now used in @master's default Dockerfile)


Fix OpenAPI and Swagger URLs and CORS

Since the schema endpoint has been changed, we broke the integration on https://docs.qfield.org/reference/qfieldcloud/api/ . I overlooked the endpoint renaming.
@why-not-try-calmer was there any reason you rename endpoints?

Since the schema endpoint has been changed, we broke the integration on https://docs.qfield.org/reference/qfieldcloud/api/ . I overlooked the endpoint renaming.
@why-not-try-calmer was there any reason you rename endpoints?

Are you talking about https://github.com/opengisch/qfieldcloud/pull/722/files#diff-53c9c2dd0d12c371d3267292e547885a0189ce67b77ec67b3f6b590f140d959a? No, no reason I would have taken seriously in light of any evidence that this was breaking something.

Also I should point out that the url linked from the documentation does point to a valid endpoint. Isn't it simply the embedded JS that is off?

Also I should point out that the url used in the documentation does point to a valid endpoint, any overlook notwithstanding. So isn't it simply the embedded JS being off?

I would not prefer not to change it now.


Add renv

Renv is a dependency manager.

Potential resource: https://rstudio.github.io/renv/articles/docker.html


Allow secret name to be customized

Currently, the secret used for passing in certs to the image is hard-coded to be es-certs. Allow the user to define the secret name by cluster.

It seems this is not valid anymore since the secret name is now: es-certs-


Request to add GMAPNY USA

Source
https://streamingtvguides.com/Channel/GMAPNY
Notes
can this guide be added. this is the url where I found the schedule for this.

Classifying it as both since it's an EPG request from a source we do not have right now.


no setting of status->failsafe

is seems that the commit  moved the call of enable_failsafe() outside from it scope (moved it to before the 'else if').
That leads to the status->failsafe not to be set in case of data link loss.
I am not fully sure what that causes.

Fixed on #7726


No relationship between caller and account.

Expected behavior
Where a customer does not have a valid relationship a partner be excluded from processing security information and subscriptions
Actual behavior
Currently the following error is thrown
{"code":20002,"description":"No relationship between caller and account.","data":[],"source":"PartnerFD"}
Steps to reproduce the problem
This is a difficult error to reproduce because it can be caused by a customer leaving a partner or the customer revoking the delegated admin privileges.

This is an issue that can be encountered under various circumstances. PR #15 included the appropriate logic to handle these exceptions.


Let users pick the wordle number

Thanks for the PR! I'm intending to include some more options for the bin, would you be happy with :$number instead of $number? to make it a named parameter?

Yeah, it's not a problem. Should I change it or leave it to you when you're adding more options(should I close this PR?).

I've created a multi MAIN in https://github.com/m-dango/raku-wordle/pull/3 to allow for both a sole number and options -n/--number to be accepted.


Add Bertacchi Lecco IT

website: https://bertacchi.edu.it/

@faustobertacchi lib/domains/it/bertacchi.txt: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@faustobertacchi Please disregard previous message that you could receive earlier. Pull request merged. Thank you.

I am very sorry for the inconvenience caused. Thank you very much for accepting my request.


Manual Install Instructions

I'm struggling to perform a manual install of CocoaLumberjack. After adding the submodule, the docs tell users to Drag CocoaLumberjack/Framework/{Desktop/Mobile}/Lumberjack.xcodeproj into their project' - but there's no Desktop folder in the repository - only a mobile one. I tried adding Lumberjack.xcodeproj instead, but ultimately it fails when I try to define the logging level:
static const DDLogLevel ddLogLevel = DDLogLevelVerbose;

What's more, I'm unable to follow the instruction "Add libCocoaLumberjack.a to 'Link Binary With Libraries''" - there's no such file.

I strongly recommend that you install using CocoaPods. Is there a reason you need to add the framework manually?

I've used CocoaLumberjack in conjunction with Cocoapods in the past with no problems, so there's no reason why I need to do it manually, I just wanted to give it a try.  Am I right in thinking that the manual install instructions aren't 100% accurate for OS X?

The instructions for manual install might indeed be incorrect. We are strongly advising people to use CocoaPods, as that is the install way we are testing on our end. If you figure out what is missing for the manual install, please make a PR and update that Readme section.

There are some users that do add it manually using the project file as you can see in the contributions made. But the documentation is surely outdated.
Could you try by taking a look at how RestKit is manually added and if successful update the docs?

Here is an why:
"
gem install cocoapods --pre
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://api.rubygems.org/quick/Marshal.4.8/cocoapods-0.39.0.beta.4.gemspec.rz)
"
And too slow to use pod command in China. The pod install command often freeze at "Analyzing dependencies" cause of poor network usability. Can you image downloading from GitHub in 7KByte/s with a fiber link says 20Mbps?
(While without an VPN)

As of Xcode 7.1, I am no longer able to use the "Manual" instructions. I've been using 2.0.1 /w Xcode 6 without trouble for months. It appeared to work with Xcode 7 / 7.1, but I suspect now that I had cached build artifacts; I had to remove and re-install Xcode last week, clean and rebuild, and suddenly I was no longer able to Archive an adhoc build.
I spent quite a few hours trying to fix my project to use the static library, but was never able to get the #include CocoaLumberjack.h to work. Ditto for the framework build, except the problem there was with the @import CocoaLumberjack.
Using both of these configurations, Running my app worked fine, just not Archiving.
Eventually I gave up and switched to Carthage. This was fairly painless. I'd like to suggest that you put an even stronger disclaimer in the ReadMe about the Manual instructions being possibly broken.

I use CLJ with manual installation in two OS X Obj-C apps (one ARC, one MRR).  I set my projects up with a separate CocoaLumberjack target (as a dependency) and just copy the .m/.h files from the ./Classes folder.  This is then built as a static library, producing libCocoaLumberjack.a.
Currently my .pch file adds:
#define LOG_LEVEL_DEF logLevel
#import <CocoaLumberjack/CocoaLumberjack.h>
extern DDLogLevel logLevel;

From time-to-time, I manually re-copy and commit updated CLJ files and the build has rarely broken with changes.  I appreciate this is less elegant than the automated solutions with CocoaPods and Carthage.  I am also not using git submodules for this component, but this has worked for me trouble-free since 2011.
Please let me know if this approach helps you @eliburke and I'll see if I can write this up as a PR for consideration, if so.

Yes, I see how that would work, @DD-P . My mistake was being stubborn. Instead of trying anything else, I just kept trying to make it work the way the ReadMe suggested.
There are a couple of Issues with comments indicating a that the devs don't use or test the Manual instructions much (and in fact I am nearly certain they are wrong for Xcode 7), so I think that info needs to bubble up to https://github.com/CocoaLumberjack/CocoaLumberjack/blob/master/Documentation/GettingStarted.md#manual-installation

Thank you, I'll make a doc PR this weekend for the team to review.

For those interested in this issue, please have a look at #646 and let me know what might need to be added.

Closing this as the documentation will always keep getting updated (hopefully).


'Show All File Icons' Settings toggle does not apply to horizontally split panes

When panes containing notes with no custom icon are split up and down, the generic page file icon reappears, even if the 'Show All File Icons' setting is toggled off in Iconic settings.
This seems to occur only for the these horizontally split panes, as adjacent panes that are only split vertically are unaffected.

Plugin otherwise works perfectly!

This is a great bug report! 💖 I don't use pane-splitting very often so I had no idea. It'll be fixed in the next patch :3


Issue 7613, Parse AcroForm Dictionary

#7613, Parse AcroForm dictionary and 'DR' appearance and set annotation wizard font properties.
It's related to the section:
Appearances

It seems like the current font code for text widgets is dead as fontRefName is never set...
Parse AcroForm dictionary

There are two commits, first is dealing with fix itself, second updates unit tests

The core of the change looks good, but I'm also noticing a lot of other changes that do not appear to be related to the appearances issue. One of those changes is making the factory asynchronous; why is that necessary/helpful? Another one is the xref check in the factory; why do we need that (xref should always be there)? Finally, why do we need the entire AnnotationWorkerTask?
In short, it looks like this patch could be simplified a lot, which will also make reviewing considerably easier. The core of the change appears to be https://github.com/mozilla/pdf.js/pull/8625/files#diff-18ca06e2bd5be4c9132b51f78388b8f0R697.

Hi!
Thank you very much for the code review, I really appreciate it. Let me explain my vision of the problem and the general approach. The annotation field font information is stored as /DA field like '/Helv 0 Tf 0 g', currently it's saved in the defaultAnnotation property as a string and therefore should be parsed further. I definitely didn't want to write a mini-parser of any kind and wanted to re-utilize an existing PartialEvaluator. But it required the following changes

It works asynchronously, so I had to change the way annotation factory was working. Also as a result unit tests were modified
Parser needs a worker. But I really tried to minimize changes and didn't want to change API for annotations property (document.js:319), therefore I preferred to create an internal worker mockup. This can be area of improvement, I just not such familiar with PDF.JS code base, it may be better to change this property to the function with worker parameter, get rid of internal mockup and just use the standard worker

As for the xref - I feel it can be simplified, but it's only way I found to save parsed font info for the annotation layer factory.

Thank you for the clarification; it helps to understand your choices. The re-use strategy is good and it is definitely what we need to do here. I'll check if we can simplify the code, e.g., I have a feeling that the worker task may be solved differently to require less code, but I'm not too familiar with that part of the code base myself as well. If others are reading along, any pointers are appreciated :-)

/botio-linux preview

Hi @dmitryskey,
As far as I can tell, 1) we split out initial logic and landed in https://github.com/mozilla/pdf.js/pull/9822 , but 2) we haven't ported the rest, and 3) we still want these changes. Is that accurate?
Do you mind if I try to rescue the rest of this PR? I started unbitrotting, but thought I should check before continuing further.

Hi @escapewindow,
Yes - we split this PR into two parts - make annotation layer parsing async (which was landed as #9822) and further parsing of the annotations in order to extract font info etc.
The main problem with the rest of the code was that I wasn't able to use the same worker and had to create a new one for the additional parsing. It works perfectly fine in my own branch which I use for the very specific PDF "US I9", but in general we have to eliminate this part because of performance concerns.
As far as I remember there was another PR where author parsed annotation info with regex, but for the arbitrary PDF it might have even bigger performance issues.
Feel free to refactor this part, the most critical part s getting rid of a separate AnnotationWorkerTask. I'd rather start with converting this PR to ES6 first like it was done in other requests, and then try to improve the approach in general.
Feel free to ask any questions and thank you for taking care about this PR, once merged it'll make my branch for I-9 a way easier to maintain


[Question] How to use a custom rubocop gem?

In my current use case, I have published a gem for the company to use. This ensures that all projects follow the same standards.
In one of my projects I have a mono repo with multiple ruby projects that I want to lint and use the custom gem. There is no gem file in the root of the project. Is there a way to specify the gem to be installed?
Or would the easiest way be fork your repo and update the gem to be installed?
At the moment I'm running the lint directly, but I do enjoy the comments on the PR

It sounds like you’d want to fork at this point.
However if you want to contribute I’d accept a PR that would allow you to pass in a parameter to toggle between bundling the projects gemfile vs just gem installing rubocop like I do today.
Happy to collaborate on this if you’re interested but I haven’t added it since I don’t have a need for it.

@rpbaltazar thought I’d give you an update that I did something similar to what I mentioned above with regards to allowing the user to specify a flag that will tell the action to bundle the gemfile vs gem installing rubocop and it was pretty easy and I’d be willing to add it.
I also tried allowing the user to input a string of gems and had issues with that since I was trying to split the string up in sh, but it is possible.
If the ability to just bundle the gemfile will fix your problem, we can add that. The cache tools that have been released will help with the time it takes to bundle so I’m not that concerned about that aspect anymore.
If you’d like to take a shot at it please do, otherwise I’ll try to get to it later this week.

Hi @andrewmcodes,
thank you for the feedback and support so far. I have not had the time yet to look at this. At the moment it sits on a lower priority queue for us. Its more of a personal thing at the moment. We are (running the actions)[https://github.com/rails-on-services/ros/actions] and getting the feedback from running directly rubocop. Probably I'll have a bit of time to look at this over the weekend.

@rpbaltazar Cool, I am currently coming up with the best way to do this as well.

You should be able to do this with the new v1.0.5 release.

Works like a charm! 👍


[iOS] The thread doesn't open from the push notification. The error is "Cannot compare to undefined in a Query. Did you mean null?"

Summary
When I tap on the push notification on the lock screen (that opens a thread) I get an error. The thread does not open and I see an error log.
Environment Information

Device Name: iPhone Xs
OS Version: iOS 15.6
Mattermost App Version: 2.2.0
Mattermost Server Version: 7.10.0

Steps to reproduce
User A and User B are needed. It is necessary to include collapsed chains of responses.

User A opens a direct message with User B and writes message #1. User A also writes message #2 in response to message #1 (starts a thread under message #1).
User B opens direct messages and goes to the thread started by User A in step 1. Important! User B leaves the thread open and locks the phone / turns off the screen.
User A writes message #3 in a public channel (where User B is present) and mentions User B.
User A starts a thread under message #3 (writes message #4 in response to message #3). Important! User A writes in the thread until a push notification appears on User B's locked phone.
User B clicks on the push notification, which will open the thread in the public channel (and unlock the phone).
An attempt is made to change the thread and an error appears.
User B clicks the "Restart" button in the error modal. Opens the thread in direct messages with User A and locks the phone.

The bug is erratic. The described steps can lead to an error in 50-70% of cases, but sometimes, by executing these steps, the application enters a state in which each subsequent execution of steps 4-7 will consistently lead to an error (100% probability of reproduction).
If this does not result in an error, you can try this. User B opens the thread with User A and locks the phone. User A writes to User B in direct messages and in the thread in the public channel until 2 push notifications appear on User B's screen. Then User B performs step 5.
Expected behavior
I'm able to click on a push notification and see the message
Observed behavior (that appears unintentional)
I get an error "Unexpected error occurred. Tap relaunch to open the app again. After restart, you can report the problem from the settings menu. Cannot compare to undefined in a Query. Did you mean null?"

Possible fixes
No idea, sorry.

Opened https://mattermost.atlassian.net/browse/MM-52150.

I'm here to clarify that the issue is still reproducible in v2.3.0


Pair of bugfixes

One noticed by alejandro, one by @znep

socrata-http #115 SUCCESS
This pull request looks good


Add test for CI generator

This makes sure that the modification to schema/matrix YAML is in sync with generated files.
Jenkins/FlexCI not required.

Running... https://github.com/kmaehashi/cupy/actions/runs/1327641112


[ENH] Introduce Serialization Support

Part of #145 - Introduces serialization functionality.
Currently, this is a direct port from the functionality we have in sktime. I'll iteratively improve the code as per requirements and inputs.
What does this implement/fix? Explain your changes.

[x] Port serialization methods (load as a standalone function, save as BaseObject method) from sktime
[ ] Add tests to ensure the functionalities added work properly and are consistent with the expected behaviour.
[ ] Improve/add code to ensure this functionality can be generally applied and extended.

Does your contribution introduce a new dependency? If yes, which one?

None
What should a reviewer concentrate their feedback on?

since bandit complains about the usage of pickle. I've excluded two tests (import and load) and will add a warning in load's docstring regarding it. We should try to find safer alternatives to replace it in the future.
What improvements should we bring to the current code? Some nice-to-have functionalities etc

Any other comments?

PR checklist

For all contributions

[x] I've reviewed the project documentation on contributing
[ ] I've added myself to the list of contributors.
[x] The PR title starts with either [ENH], [CI/CD], [MNT], [DOC], or [BUG] indicating whether
the PR topic is related to enhancement, CI/CD, maintenance, documentation, or a bug.

For code contributions

[ ] Unit tests have been added covering code functionality
[x] Appropriate docstrings have been added (see documentation standards)
[ ] New public functionality has been added to the API Reference

Codecov Report

Merging #154 (aea9904) into main (18435de) will decrease coverage by 1.37%.
The diff coverage is 16.32%.

: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
@@            Coverage Diff             @@
##             main     #154      +/-   ##
==========================================
- Coverage   82.68%   81.31%   -1.37%
==========================================
  Files          32       33       +1
  Lines        2327     2376      +49
==========================================
+ Hits         1924     1932       +8
- Misses        403      444      +41

Impacted Files
Coverage Δ

skbase/base/_serialize.py
15.78% <15.78%> (ø)

skbase/base/_base.py
75.66% <16.66%> (-6.56%)
:arrow_down:

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

let me know when this is ready


Modern C# is emphasized for newcomers

Summary
Describe a specific user story experience. Use the format:
As a [new developer], I want to [ensure I'm learning the latest and greatest ways to write C# code] so that [I am familiar with how to write "modern" .NET code].

This is great. An inspiring book early in my career was Accelerated C++, which dove straight into STL without bothering explaining a lot of technical things. It was the book recommended to me by the guy who wrote Dinkum Libraries.

This is great. An inspiring book early in my career was Accelerated C++, which dove straight into STL without bothering explaining a lot of technical things. It was the book recommended to me by the guy who wrote Dinkum Libraries.

Bulk closing .NET 6 epics and user stories. If you think this issue was closed in error, please reopen the issue and update it accordingly.


18660 fix migration template not working

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
❌

Fixed issues
#19084

Seems my edit broke the changelog :)

This doesn't parse properly strings like \a -> \a instead of a.

This doesn't parse properly strings like \a -> \a instead of a.

I don't understand what you mean
it should be a feature in yii2(?
can you give me some examples?

Previously when you provided name as \migrationName it would be migrationName - now it's still \migrationName.

my console.php setting
'controllerMap'       => [
        'migrate' => [
            'class'               => yii\console\controllers\MigrateController::class,
            'migrationTable'      => '{{%migration}}',
            'migrationPath'       => null, // disable non-namespaced migrations if app\migrations is listed below
            'migrationNamespaces' => [
                'app\migrations',
            ],
        ],
    ],
]

No similar problems in my environment.
os:ubuntu 18.04.5; php:7.4.23; yii2:2.0.43

Yes, for simple thing like \migrateName, but what about for example \createTestTable? Does it use proper template then?

yes, in your case , we can generate proper template code.

👍


Semver

Could you follow the semver specification for releases?
I’m a bit confusing when my project doesn’t compile after I upgrade poem from 1.2.2 to 1.2.4.

I apologize, will try to follow semver in the future. 🙂

Thank you.


Missing Instruction for type of Azure AI Service resources to create

For Lab 15-Analyze Images with Azure AI Vision and Lab 19-Detect and Analyze Faces, the below instructions need to be improved:
Initial instructions:
In the top search bar, search for Azure AI services, select Azure AI Services, and create a resource with the following settings:

Subscription: Your Azure subscription
Resource group: Choose or create a resource group (if you are using a restricted subscription, you may not have permission to create a new resource group - use the one provided)
Region: Choose any available region
Name: Enter a unique name
Pricing tier: Standard S0

Suggested instructions:
In the top search bar, search for Azure AI services, select Azure AI Services, and create an Azure AI services multi-service account resource with the following settings:

Subscription: Your Azure subscription
Resource group: Choose or create a resource group (if you are using a restricted subscription, you may not have permission to create a new resource group - use the one provided)
Region: Choose any available region
Name: Enter a unique name
Pricing tier: Standard S0

This will give a better clarity for learners to create a multiple-service account for Azure AI services.
Thanks!

fixed with 584cb6b


Ad-hoc network support

Overview
I often have a need to connect to random JSON-RPC nodes.  Either for testing (trying out a new provider like BSN with a test key), or to connect to ad-hoc private networks.  For instance, for a project I work with, we stand up individual hardhat nodes for every PR to act as a private network.  The URLs are derived by the branch name so change every time.
What you are trying to do
I would love to simply get a console on a random endpoint like this:
ape console http://hardhat.sub.domain.dev

And instantly be able to poke and prod at the network as needed.
Why Ape's current functionality is inadequate to address your goal
Right now, I would need to alter a project level config (shout out to global config #379) to add the network, then ape console --network ethereum:mainnet:test123, which takes time and clutters my config with useless configuration.
Specification
I'm not really sure and that's why I'm here.  I'd be happy to work on it but since I'm still familiarizing myself with ape, I'd like to have a conversation on this part before I dig too far into it.
I'm a little concerned that this request spans responsibilities of multiple plugins (e.g. ape_console and ape_geth) and internal config maybe so I'm not sure how to make all that play nicely.
Dependencies
None that I know of.

I the past, I've thought about having a way to specify provider settings via command line, so here you would do something like:
ape console --network ::geth --provider-url http://hardhat.sub.domain.dev

However, a more general question, why do you need to load the Hardhat node separately? Could you leverage the automatic launch that ape-hardhat does?

I the past, I've thought about having a way to specify provider settings via command line, so here you would do something like:
ape console --network ::geth --provider-url http://hardhat.sub.domain.dev

Something like that would work for me.  I could add a bash alias to simplify it pretty easily.

However, a more general question, why do you need to load the Hardhat node separately? Could you leverage the automatic launch that ape-hardhat does?

The stack in question is a complete infrastructure for a hybrid dapp, including a backend API, private network, and other relevant services that more or less mirrors production infra.  There's some  local dev env tooling as well, though that's currently using "plain" hardhat because it's a JS shop.  I just prefer a Python console to interact with the remote running node when I need to because Python > JS.
Brownie and hardhat also have the same hurdles.  9 times out of 10 I end up using a plain Python REPL in a venv that has web3.py (and the rest of the Python ecosystem) installed and just init my own Web3 instance which is repetitive and annoying.
For my other examples, Ape wouldn't be used as a contract project app, but as a toolkit to interact with other nodes, networks, etc.

For my other examples, Ape wouldn't be used as a contract project app, but as a toolkit to interact with other nodes, networks, etc.

Sounds like it might be solved by specifying a port in the config, which disables the Hardhat auto-selection algorithm, or using geth plugin config via full URI

For my other examples, Ape wouldn't be used as a contract project app, but as a toolkit to interact with other nodes, networks, etc.

Sounds like it might be solved by specifying a port in the config, which disables the Hardhat auto-selection algorithm, or using geth plugin config via full URI

Not sure I'm following.  How does specifying a hardhat listening port help with connections to remote machines?  But sure, I can use the configuration file for the geth plugin but that's kind of what I was trying to avoid, because they were temporary connections that I wouldn't be using again.  That's essentially the summary of this whole use case: "connecting a console to remote ephemeral JSON-RPC endpoints."

Mostly notes for myself as I have a terrible memory, but feedback/clarifications welcome.  I was digging around trying to understand how things work currently and it looks like at one point direct URIs were supported!
NetworkManager appears to have supported network options like ecosystem:network:uri like ethereum:mainnet:https://eth-mainnet.alchemyapi....
https://github.com/ApeWorX/ape/blob/731b556b88f3830c5a94511bc3ab32c86bd972a8/src/ape/managers/networks.py#L306-L308
This would pass on a provider_name that's actually a URI, to NetworkAPI.get_provider() which parses the URI and sets it on provider_settings:
https://github.com/ApeWorX/ape/blob/731b556b88f3830c5a94511bc3ab32c86bd972a8/src/ape/api/networks.py#L504-L507
Seems like the (first) blocker might be click, since it's using click.Choice as a type on the option, it may be preventing this as a valid CLI option:
$ ape console --network ethereum:mainnet:https://eth-mainnet.alchemyapi...
Error: Invalid value for '--network': 'ethereum:mainnet:https://eth-mainnet.alchemyapi...

I don't know yet if the relevant provider plugins consume provider_settings["uri"], but seems like it might require moving mountains to support this use case.

Example of calling ad-hoc network w/ cli
$ ape console --network --provider-settings '{"foo": "bar", "uri": "http://xyz.com", ... }'

ProviderAPI.provider_settings

[ ] Network guide in docs - Plugins to connect to networks as main workflow, use ad-hoc as a workaround for "not-yet" supported networks


Newly added nodes aren't "magnetic"

If removing nodes and adding new ones, for some reason the newly added nodes aren't magnetic like the initial ones, so they stay off-screen (until you swipe to them). They're being added in the same way as the first set. Any advice?

I assume you are using code form an example right?
If so I just pushed a fix for an example in master branch.

Your solution works, thanks.
I actually wasn't using performCommitSelectionAnimation() before because I didn't want to remove all nodes, but I have altered that function now to ignore selected nodes and it works just as I was expecting.
Thanks for your work on this project!


Updated Entity Hurt Event Description

Fixed the description of this event

Thanks for submitting! I'm merging this now.


Download images of LLaVA-Med

Hello! Thank you for your contribution.
I’ve encountered some difficulty in downloading the images from LLaVA-Med. Would it be possible for you to kindly share these images with me? I would be deeply grateful for your assistance.
My email address is<EMAIL_ADDRESS>Thank you very much in advance.

hi @xie-qiang  did you successfully download the file ?


Update _config.yaml

first commit to update the config file in new branch
STOP!!!
You are about to open this pull request against THE TEMPLATE ITSELF. You probably meant to open it against your own website repo.

FOR THE TEMPLATE MAINTAINER(S)
New template version checklist:

[ ] I have updated CITATION and CHANGELOG as appropriate.
[ ] I have updated lab-website-template-docs as appropriate.
[ ] I have checked the testbed as appropriate.

first commit has ended


[SPARK-44243][CORE] Add a parameter to determine the locality of local shuffle reader

What changes were proposed in this pull request?
Follow changes of https://github.com/apache/spark/pull/40339
Local shuffle reader can achieve better performance with preferred locations. If we disable SHUFFLE_REDUCE_LOCALITY_ENABLE in queries that include reduce shuffles and local shuffles, local shuffle readers can not get preferred locations.
Add new parameter LOCAL_SHUFFLE_LOCALITY_ENABLE to determine whether to get the preferred locations of the current partitionSpec.
Why are the changes needed?
Improvement for spark local shuffle.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Exists UT

If you want locality for shuffle, enable spark.shuffle.reduceLocality.enabled - why introduce another config for this ?

cc @maryannxue FYI

What's the use of this PR? How does this PR improve locality?

Thanks @mridulm @maryannxue for your review.
If a query contains shuffle A and shuffle B, there are many PartialReducerPartitions after OptimizeSkewedJoin optimization, and shuffle B is a local read shuffle. Enable spark.shuffle.reduceLocality.enabled may takes some extra time to get the preferred locations.
But there is a limit on the number of PartialReducerPartitions in our production environment, so it is okay for me not to make this change.


use XXX in a sub, where XXX defines an import sub generates code with a bad indent

use XXX in a sub, where XXX defines an import sub generates code with a bad indent.

Fixed in v1.024.


Error while updating to latest commit

Expected Behavior
Bot should update correctly
Actual Behavior
Cleaning up...
Command /usr/bin/git submodule update --init --recursive -q failed with error code 1 in /home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/src/pgoapi
Storing debug log for failure in /home/dibyendu/.pip/pip.log

Output when issue occurred
Command /usr/bin/git submodule update --init --recursive -q failed with error code 1 in /home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/src/pgoapi
Exception information:
Traceback (most recent call last):
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/pip/commands/install.py", line 304, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/pip/req.py", line 1141, in prepare_files
    req_to_install.update_editable(not self.is_download)
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/pip/req.py", line 484, in update_editable
    vcs_backend.obtain(self.source_dir)
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/pip/vcs/git.py", line 109, in obtain
    if self.check_destination(dest, url, rev_options, rev_display):
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/pip/vcs/__init__.py", line 199, in check_destination
    self.update(dest, rev_options)
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/pip/vcs/git.py", line 99, in update
    self.update_submodules(dest)
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/pip/vcs/git.py", line 192, in update_submodules
    cwd=location)
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/pip/util.py", line 716, in call_subprocess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command /usr/bin/git submodule update --init --recursive -q failed with error code 1 in /home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/src/pgoapi

Steps to Reproduce
git pulll the latest commit and run ./setup.sh -u
Other Information
OS:
Ubuntu 15.04
Branch:
dev
Git Commit:
84670c60f83bcc5b96130e4d6ad3e0d9dfa6775a
Python Version:
Python 2.7.9

I got this error just now during a setup -u:
Requirement already up-to-date: numpy==1.11.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 1))
Requirement already up-to-date: networkx==1.11 in ./lib/python2.7/site-packages (from -r requirements.txt (line 2))
Obtaining pgoapi from git+https://github.com/pogodevorg/pgoapi.git#egg=pgoapi (from -r requirements.txt (line 3))
Updating ./src/pgoapi clone
fatal: reference is not a tree: 581d651eca61b654c6866d27dceff2a4818280f1
Unable to checkout '581d651eca61b654c6866d27dceff2a4818280f1' in submodule path 'pgoapi/lib'
Command "git submodule update --init --recursive -q" failed with error code 1 in /home/johan/PokemonGo-Bot/src/pgoapi
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Requirement already satisfied (use --upgrade to upgrade): numpy==1.11.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): networkx==1.11 in ./lib/python2.7/site-packages (from -r requirements.txt (line 2))
Obtaining pgoapi from git+https://github.com/pogodevorg/pgoapi.git#egg=pgoapi (from -r requirements.txt (line 3))
Updating ./src/pgoapi clone
fatal: reference is not a tree: 581d651eca61b654c6866d27dceff2a4818280f1
Unable to checkout '581d651eca61b654c6866d27dceff2a4818280f1' in submodule path 'pgoapi/lib'
Command "git submodule update --init --recursive -q" failed with error code 1 in /home/johan/PokemonGo-Bot/src/pgoapi

please try a refresh clone.

Manually downloading the submodule worked for me.

I'm getting this error a lot:
Traceback (most recent call last):
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/eventlet/hubs/poll.py", line 115, in wait
    listener.cb(fileno)
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/eventlet/green/thread.py", line 41, in __thread_body
    func(*args, **kwargs)
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/pokemongo_bot/event_handlers/social_handler.py", line 86, in run
    self._mqttc.connect("broker.pikabot.org", 1883, 20)
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/paho/mqtt/client.py", line 686, in connect
    return self.reconnect()
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/paho/mqtt/client.py", line 808, in reconnect
    sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/eventlet/green/socket.py", line 63, in create_connection
    raise err
error: [Errno 110] ETIMEDOUT
Removing descriptor: 14

Is there any solution?

Do you have a firewall blocking 1883 port outgoing ?

Yeah, it might be the case that my univ blocks that port.
Another error I get too frequently:
Traceback (most recent call last):
  File "pokecli.py", line 846, in <module>
    main()
  File "pokecli.py", line 205, in main
    bot.tick()
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/pokemongo_bot/__init__.py", line 762, in tick
    self._refresh_inventory()
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/pokemongo_bot/__init__.py", line 1540, in _refresh_inventory
    inventory.refresh_inventory()
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/pokemongo_bot/inventory.py", line 1426, in refresh_inventory
    _inventory.refresh(data)
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/pokemongo_bot/inventory.py", line 1266, in refresh
    inventory = self.bot.api.get_inventory()
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/src/pgoapi/pgoapi/pgoapi.py", line 150, in function
    return request.call()
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 208, in call
    result = self._call()
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 156, in _call
    return PGoApiRequest.call(self)
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/src/pgoapi/pgoapi/pgoapi.py", line 259, in call
    response = request.request(self._api_endpoint, self._req_method_list, self.get_position())
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/src/pgoapi/pgoapi/rpc_api.py", line 139, in request
    response = self._make_rpc(endpoint, request_proto)
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/src/pgoapi/pgoapi/rpc_api.py", line 127, in _make_rpc
    http_response = self._session.post(endpoint, data=request_proto_serialized, timeout=30)
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/requests/sessions.py", line 518, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/requests/sessions.py", line 475, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/requests/sessions.py", line 617, in send
    r.content
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/requests/models.py", line 741, in content
    self._content = bytes().join(self.iter_content(CONTENT_CHUNK_SIZE)) or bytes()
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/requests/models.py", line 664, in generate
    for chunk in self.raw.stream(chunk_size, decode_content=True):
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/requests/packages/urllib3/response.py", line 349, in stream
    for line in self.read_chunked(amt, decode_content=decode_content):
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/requests/packages/urllib3/response.py", line 501, in read_chunked
    chunk = self._handle_chunk(amt)
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/requests/packages/urllib3/response.py", line 461, in _handle_chunk
    value = self._fp._safe_read(amt)
  File "/usr/lib/python2.7/httplib.py", line 702, in _safe_read
    chunk = self.fp.read(min(amt, MAXAMOUNT))
  File "/usr/lib/python2.7/socket.py", line 384, in read
    data = self._sock.recv(left)
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/eventlet/green/ssl.py", line 200, in recv
    read = self.read(buflen)
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/eventlet/green/ssl.py", line 139, in read
    super(GreenSSLSocket, self).read, *args, **kwargs)
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/eventlet/green/ssl.py", line 119, in _call_trampolining
    timeout_exc=timeout_exc('timed out'))
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/eventlet/hubs/__init__.py", line 162, in trampoline
    return hub.switch()
  File "/home/dibyendu/PokemonGo/PokemonGo-Bot-Dev/PokemonGo-Bot/local/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 294, in switch
    return self.greenlet.switch()
ssl.SSLError: ('timed out',)

Thanks, a new install worked.

let me close it.


Add Secure support in Federated uReplicator

This PR adds the following features:

Ability to plug in a cluster as secure for SRC but non-secure for DEST and vice-versa
A separate secure.kafka.cluster.servers.<cluster> is added to get the secure cluster host/port.

Following three properties are added to the worker:
secure_feature_enabled (Default: False) : This feature will only kick in when this property is set to True in the Worker Config.
secure_clusters_set (Default: nil) : If a subset of all clusters are targeted as secure, this set determines those secure clusters.
secure_config (Default: secure.properties) : If 1st property is true, and cluster is included as per set in the 2nd property, the properties mentioned in `secure_config` will be included in the producer/consumer configs.

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

LGTM


Tracker Fails to Show Viewed Hints

For some reason, the tracker refuses to show any viewed hints despite interacting with multiple hint tiles. Suspected an errant click hid them, but no clicking anywhere seems to show them again.

Nevermind, it's started working again. 🤷

@doomcup Ah, I think I can maybe clear this up if you're getting confused about what I'm thinking.
If a hint tile is either for a single location or for the misery mire/turtle rock entrance, it'll either update the marked location list or update the dungeon requirement in the main tracker window, but it won't show up in the viewed hints section. That section is for groups of locations such as caves and dungeons which wouldn't easily fit into the marked locations list or somewhere else. That might explain why Hype Cave shows up, but the hint tile text for waterway, magic bat, and ped don't show up.
Perhaps I should rename the section on the location list "Area Hints" or something to be more explicit.


Items in a ListView will refresh when inserting an item to the top

Steps to Reproduce

I have a ListView contains ListItem instances which are all stateful widgets. Whenever I press the floatingActionButton, a new ListItem will be inserted at list's top.
The insertion is ok, but all the other items will refresh(initState is called).
This is my main.dart.
If I add the item to the list end, all the other items will not refresh.
I suppose items should not refresh with insertion too, since each ListItem has a key. Am I wrong? or misunderstanding something?
Logs

This is a sample log:
(initState of existing items will execute each time a new item inserted)
I/flutter (10880): ListItem initState: [#47a4d]
I/flutter (10880): button onPressed
I/flutter (10880): ListItem initState: [#21660]
I/flutter (10880): ListItem initState: [#47a4d]
I/flutter (10880): button onPressed
I/flutter (10880): ListItem initState: [#01755]
I/flutter (10880): ListItem initState: [#21660]
I/flutter (10880): ListItem initState: [#47a4d]
I/flutter (10880): button onPressed
I/flutter (10880): ListItem initState: [#7b24f]
I/flutter (10880): ListItem initState: [#01755]
I/flutter (10880): ListItem initState: [#21660]
I/flutter (10880): ListItem initState: [#47a4d]

No issues found with flutter analyze.

Output of running flutter doctor -v:
[✓] Flutter (Channel stable, v1.0.0, on Mac OS X 10.12.6 16G29, locale zh-Hant-TW)
    • Flutter version 1.0.0 at /usr/local/flutter
    • Framework revision 5391447fae (6 weeks ago), 2018-11-29 19:41:26 -0800
    • Engine revision 7375a0f414
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /Users/hankchiu/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/hankchiu/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[!] iOS toolchain - develop for iOS devices (Xcode 8.3.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 8.3.3, Build version 8E3004b
    ✗ Flutter requires a minimum Xcode version of 9.0.0.
      Download the latest version or update via the Mac App Store.
    ✗ libimobiledevice and ideviceinstaller are not installed. To install with Brew, run:
        brew update
        brew install --HEAD usbmuxd
        brew link usbmuxd
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    ✗ ios-deploy not installed. To install with Brew:
        brew install ios-deploy
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 29.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] Connected device (1 available)
    • Android SDK built for x86 64 • emulator-5554 • android-x64 • Android 7.1.1 (API 25) (emulator)

! Doctor found issues in 1 category.

Any updates on this issue?
I struggle a lot with this, it's very common to do this and everytime I need it I have to find all kinds of hacks to make it work and it still doesn't work perfectly. A native solution would be great.

https://github.com/flutter/flutter/issues/27057
Related issue seems to be closed in Nov. Please feel free to reopen if you see the issue again.

To anyone with this issue, try holding the stateful widgets outside of the listview or listviewBuilder. Something that keeps the state and actually instantiates them is a stack, you can then access any individual item inside the listview by accessing the widget within the stack.


Eclipse Bow Crash

Description:
Added Homing, Lingering & Yondu upgrades to an Eclipse bow then charged it in a creative mekanism energy cube and placed it in my hotbar, but as soon as i scrolled over to it i crashed.
Crash Report:
https://mclo.gs/k8RSpG2

Does it reliably crash or was this a one time thing?  That crash is really weird but I’ll try to look into it :)

doesn't seem like a reliable crash
made a new world and no crash at all

Ok, let me know if you can find a reliable way to make that happen :).  I honestly can't see how it COULD happen, and the crash log isn't giving me much to go on :).


copy FASTA sequences for convenient linking

Right now, there are chromosome sequences in FASTA format for both S. pombe and S. japonicus, but they're not being copied over to locations other than the "nightly"/"latest" release places. It would help if they were -- it's almost certainly the best way to address helpdesk ticket 9214.
Could the pombe chromosome files in www.pombase.org/data/releases/latest/fasta/chromosomes/ be copied to
pombe-embl/ftp_site/pombe/genome_sequence_and_features/genome_sequence/
and the japonicus files in curation.pombase.org/japonicus_nightly/latest_build/fasta/chromosomes/ copied to
www.japonicusdb.org/data/genome_sequence_and_features/genome_sequence/ (a new directory)?
I could change the link to point to the latest release directory, but that would be a little more fiddly because the paths are different for PomBase and JaponicusDB. If the file copying gets done I can just plug in ${base_url}/data/yada in a few places. Let me know if that's a better solution anyway.
For ticket 9224, I manually copied over the mitochondrial chr file, so it'll be OK for a while as none of the others have changed. But if Val really does get updates through ENA submission, the copy-over will be good future-proofing.

I'll check that it worked on Wednesday morning.

It looks OK.  Let me know if it needs tweaking.

I'm happy with it -- I updated a page to point to it already :)


Monterey clients showing Ventura in update prompts, even though major updates are deferred

Hello @mpanighetti,
Firstly, thanks for an excellent tool!
It seems that Apple have recently changed how Ventura is being offered to clients, and it is now appearing in Software Update as a stub installer, despite being deferred via MDM:
~ % sw_vers
ProductName:	macOS
ProductVersion:	12.6.1
BuildVersion:	21G217

~ % softwareupdate --list

Software Update Tool

Finding available software
2022-12-15 10:17:16.349 softwareupdate[5131:52164] XType: com.apple.fonts is not accessible.
2022-12-15 10:17:16.349 softwareupdate[5131:52164] XType: XTFontStaticRegistry is enabled.
Software Update found the following new or updated software:
* Label: macOS Monterey 12.6.2-21G320
	Title: macOS Monterey 12.6.2, Version: 12.6.2, Size: 1508533K, Recommended: YES, Action: restart,
* Label: macOS Ventura 13.1-22C65
	Title: macOS Ventura 13.1, Version: 13.1, Size: 3878650K, Recommended: YES, Action: restart, Deferred: YES

While the endpoint doesn't attempt to update to a new major OS, the prompts do cause confusion with end-users, who we have explicitly asked not to attempt to upgrade to Ventura.
Is there any way to exclude updates matching "Deferred: YES" from Install or Defer prompts?

Thanks for the heads-up! Should be able to just remove those lines with grep -v 'Deferred: YES' after the update check. Will put a PR in shortly for testing.

Thanks so much!

I'm not sure if this debug output contains the information you need, so just let me know if I can provide anything else.
`sudo bash -x ./Install\ or\ Defer.sh

PLIST=/Library/Preferences/com.proofpoint.managedupdates
BUNDLE_ID=com.proofpoint.managedupdates
SCRIPT_PATH='/Library/Scripts/Install or Defer.sh'
MSG_INSTALL_OR_DEFER_HEADING='Updates are available'
MSG_INSTALL_OR_DEFER='Your Mac needs to install updates for %UPDATE_LIST% by %DEADLINE_DATE%.

Please save your work and install all available updates. {{If now is not a good time, you can click '''Defer''' to delay this message until later. }}These updates will be required after %DEFER_HOURS%<<, which may force your Mac to restart after they are installed automatically>>.
Please contact %SUPPORT_CONTACT% for assistance with updating your Mac.'

MSG_INSTALL_HEADING='Please install updates now'
MSG_INSTALL='Your Mac is about to install updates for %UPDATE_LIST%<< and restart>>.

Please save your work and install all available updates before the deadline.<< Your Mac will restart when all updates are finished installing.
If your Mac does not automatically restart within an hour, please restart manually and try installing updates again by opening System Preferences, Software Update.>>
Please contact %SUPPORT_CONTACT% for assistance with updating your Mac.'

MSG_INSTALL_NOW_HEADING='Updates are available'
MSG_INSTALL_NOW='Your Mac needs to install updates for %UPDATE_LIST%<< which require a restart>>.

Please save your work, open '''Software Update''' and install all available updates.<< Your Mac will restart to complete the installation, which can take up to an hour. If your Mac does not automatically restart within an hour, please restart manually and try installing updates again.>>
Note: You may need to click the blue '''More Info''' link at the bottom of the Software Update window to install updates for your current OS.
Please contact %SUPPORT_CONTACT% for assistance with updating your Mac.'

MSG_UPDATING_HEADING='Installing updates...'
MSG_UPDATING='Installing updates for %UPDATE_LIST% in the background.

<<Your Mac will restart automatically to complete the installation, which can take up to an hour.
If your Mac does not automatically restart within an hour, please restart manually and try installing updates again by opening System Preferences, Software Update.
Please contact %SUPPORT_CONTACT% for assistance with updating your Mac.>>'
++ /usr/bin/stat -f%Su /dev/console

CURRENT_USER=jtrant
++ /usr/bin/id -u jtrant
USER_ID=502
++ /usr/bin/defaults read '/Library/Managed Preferences/com.proofpoint.managedupdates' InstallButtonLabel
INSTALL_BUTTON_CUSTOM=Install
++ /usr/bin/defaults read '/Library/Managed Preferences/com.proofpoint.managedupdates' DeferButtonLabel
DEFER_BUTTON_CUSTOM=Defer
++ /usr/bin/defaults read '/Library/Managed Preferences/com.proofpoint.managedupdates' DisablePostInstallAlert
DISABLE_POST_INSTALL_ALERT_CUSTOM=
++ /usr/bin/defaults read '/Library/Managed Preferences/com.proofpoint.managedupdates' MessagingLogo
MESSAGING_LOGO_CUSTOM='/Library/Application Support/Proofpoint/Images/ProofpointLogo.png'
++ /usr/bin/defaults read '/Library/Managed Preferences/com.proofpoint.managedupdates' SupportContact
<EMAIL_ADDRESS>++ /usr/bin/defaults read '/Library/Managed Preferences/com.proofpoint.managedupdates' DeferralPeriod
DEFERRAL_PERIOD_CUSTOM=
++ /usr/bin/defaults read '/Library/Managed Preferences/com.proofpoint.managedupdates' HardRestartDelay
HARD_RESTART_DELAY_CUSTOM=
++ /usr/bin/defaults read '/Library/Managed Preferences/com.proofpoint.managedupdates' MaxDeferralTime
MAX_DEFERRAL_TIME_CUSTOM=432000
++ /usr/bin/defaults read '/Library/Managed Preferences/com.proofpoint.managedupdates' PromptTimeout
PROMPT_TIMEOUT_CUSTOM=
++ /usr/bin/defaults read '/Library/Managed Preferences/com.proofpoint.managedupdates' SkipDeferral
SKIP_DEFERRAL_CUSTOM=
++ /usr/bin/defaults read '/Library/Managed Preferences/com.proofpoint.managedupdates' UpdateDelay
UPDATE_DELAY_CUSTOM=
++ /usr/bin/defaults read '/Library/Managed Preferences/com.proofpoint.managedupdates' WorkdayStartHour
WORKDAY_START_HR_CUSTOM=
++ /usr/bin/defaults read '/Library/Managed Preferences/com.proofpoint.managedupdates' WorkdayEndHour
WORKDAY_END_HR_CUSTOM=
++ /usr/bin/defaults read '/Library/Managed Preferences/com.proofpoint.managedupdates' DiagnosticLog
DIAGNOSTIC_LOG_CUSTOM=1
++ /usr/bin/defaults read '/Library/Managed Preferences/com.proofpoint.managedupdates' ManualUpdates
MANUAL_UPDATES_CUSTOM=
echo 'Calculating script timing...'
Calculating script timing...
[[ '' -eq 1 ]]
((  MAX_DEFERRAL_TIME_CUSTOM > 0  ))
MAX_DEFERRAL_TIME=432000
++ convert_seconds 432000
++ [[ 432000 -le 0 ]]
++ (( DAYS=432000/86400 ))
++ (( HOURS=432000%86400/3600 ))
++ (( MINUTES=(432000%3600)/60 ))
++ (( SECONDS=432000%60 ))
++ printf '%02dd:%02dh:%02dm:%02ds\n' 5 0 0 0
echo 'Maximum deferral time: 05d:00h:00m:00s'
Maximum deferral time: 05d:00h:00m:00s
((  DEFERRAL_PERIOD_CUSTOM > 0 && DEFERRAL_PERIOD_CUSTOM < MAX_DEFERRAL_TIME  ))
EACH_DEFER=14400
++ convert_seconds 14400
++ [[ 14400 -le 0 ]]
++ (( DAYS=14400/86400 ))
++ (( HOURS=14400%86400/3600 ))
++ (( MINUTES=(14400%3600)/60 ))
++ (( SECONDS=14400%60 ))
++ printf '%02dd:%02dh:%02dm:%02ds\n' 0 4 0 0
echo 'Deferral period: 00d:04h:00m:00s'
Deferral period: 00d:04h:00m:00s
((  PROMPT_TIMEOUT_CUSTOM > 0 && PROMPT_TIMEOUT_CUSTOM < EACH_DEFER  ))
PROMPT_TIMEOUT=3600
++ convert_seconds 3600
++ [[ 3600 -le 0 ]]
++ (( DAYS=3600/86400 ))
++ (( HOURS=3600%86400/3600 ))
++ (( MINUTES=(3600%3600)/60 ))
++ (( SECONDS=3600%60 ))
++ printf '%02dd:%02dh:%02dm:%02ds\n' 0 1 0 0
echo 'Prompt timeout: 00d:01h:00m:00s'
Prompt timeout: 00d:01h:00m:00s
((  UPDATE_DELAY_CUSTOM > 0  ))
UPDATE_DELAY=600
++ convert_seconds 600
++ [[ 600 -le 0 ]]
++ (( DAYS=600/86400 ))
++ (( HOURS=600%86400/3600 ))
++ (( MINUTES=(600%3600)/60 ))
++ (( SECONDS=600%60 ))
++ printf '%02dd:%02dh:%02dm:%02ds\n' 0 0 10 0
echo 'Update delay: 00d:00h:10m:00s'
Update delay: 00d:00h:10m:00s
((  HARD_RESTART_DELAY_CUSTOM > 0  ))
HARD_RESTART_DELAY=300
++ convert_seconds 300
++ [[ 300 -le 0 ]]
++ (( DAYS=300/86400 ))
++ (( HOURS=300%86400/3600 ))
++ (( MINUTES=(300%3600)/60 ))
++ (( SECONDS=300%60 ))
++ printf '%02dd:%02dh:%02dm:%02ds\n' 0 0 5 0
echo 'Hard restart delay: 00d:00h:05m:00s'
Hard restart delay: 00d:00h:05m:00s
[[ 1 -eq 1 ]]
exec`

Unfortunately your output gets cut off after calculating some of the timing variables so I can't see what issue it ran into at the time it was parsing the update list. Gonna need the entire output all the way to when the script finishes running (deferring updates would be a good way to end the script once you see the alert).

It actually exited at that point, likely because there were no updates found (thanks softwareupdated).
I'll keep trying.

Yep, that got it. 😅 Looks like the Ventura update doesn't have "Deferred: YES" in its attributes as your original example did, which is why the script didn't identify it as deferred. This would presumably be a Monterey softwareupdate bug (I've seen similar in my own Monterey testing) to not show the deferral state of the update. If so, we'd likely need to add Monterey-specific logic to ignore non-Monterey macOS updates. Will work on this in the PR later.

Sounds great, thanks!

@justintrant Just updated the script in the PR. It now specifically removes "macOS Ventura" lines from the softwareupdate --list output if the Mac is running macOS Monterey. Give it another try!

Success, the device ignores Ventura and shows Safari and MoOnterey 12.6.2.
Thank you so much for working this out so quickly!

Fixed in 5.0.8!