Updated image factories for HWC and CHW

Description
Both image factories now handle HWC and CHW formats

Transpose is not available for all engines so we must handle the different formats without transposing to a single format type
Test on the apps and within DJL repo

Codecov Report

Merging #1833 (0aa9e46) into master (bb5073f) will decrease coverage by 2.39%.
The diff coverage is 63.93%.

@@             Coverage Diff              @@
##             master    #1833      +/-   ##
============================================
- Coverage     72.08%   69.69%   -2.40%
- Complexity     5126     5522     +396
============================================
  Files           473      526      +53
  Lines         21970    24441    +2471
  Branches       2351     2662     +311
============================================
+ Hits          15838    17035    +1197
- Misses         4925     6094    +1169
- Partials       1207     1312     +105

Impacted Files
Coverage Δ

api/src/main/java/ai/djl/modality/cv/Image.java
69.23% <ø> (-4.11%)
:arrow_down:

...rc/main/java/ai/djl/modality/cv/MultiBoxPrior.java
76.00% <ø> (ø)

...rc/main/java/ai/djl/modality/cv/output/Joints.java
71.42% <ø> (ø)

.../main/java/ai/djl/modality/cv/output/Landmark.java
100.00% <ø> (ø)

...main/java/ai/djl/modality/cv/output/Rectangle.java
72.41% <0.00%> (ø)

...i/djl/modality/cv/translator/BigGANTranslator.java
21.42% <0.00%> (-5.24%)
:arrow_down:

...odality/cv/translator/BigGANTranslatorFactory.java
33.33% <0.00%> (+8.33%)
:arrow_up:

...nslator/InstanceSegmentationTranslatorFactory.java
14.28% <0.00%> (-3.90%)
:arrow_down:

.../cv/translator/SemanticSegmentationTranslator.java
0.00% <0.00%> (ø)

.../cv/translator/StyleTransferTranslatorFactory.java
40.00% <ø> (ø)

... and 420 more

Continue to review full report at Codecov.

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


Cannot control ordering of pages/results within PageChooserPanel

Howdy,
Is there anyway we can control the ordering of results within a PageChooserPanel?
Within Explorer we can use the table headers to sort pages by Title, Updated (as shown below), Type and Status:

But within the PageChooserPanel there seems to be no way of changing the ordering (i.e. no sorting on the Title, Updated, Type or Status headers):

Thoughts?
Thanks,
Kyle
Technical details
Django version: 1.10.4
Wagtail version: 1.8.1

Just saw this feature request and that it is in the real-soon-now milestone since 2017, what is the current status of this feature ?
Is there an implementation planned ?
If not, I will try to submit a PR as it is a feature needed for one of my project.
Thanks

We’re considering this as part of the page editor 2022 redesign – assigning to @phildexter for further review.

hii @thibaudcolas can i work on this issuse.

@pawan941394 this is assigned to @phildexter as you can see one comment above. Please stop asking to work on things that are already assigned to other people.


Error on activate extension coc-tsserver

Hi, I am getting this error message while installing the tsserver.
Error on activate extension coc-tsserver:  import_coc49.services.register is not a function
Am I missing something here?
node version:18.11
vim version: Nvim v0.6.1

Need update coc.nvim to recent release branch.


Followers is capped at 50

How do you get the full list of followers? Tried on a user with 20k+ followers and got:
user_followers (gave 50)
user_followers_v1 (gave 48)

Hi Nikil again, everything works fine for me, it gives more than 50. Can you send part of your code and user_id for an example? You can by mail or https://telegram.me/m11k4
In [5]: f = cl.user_followers(29817608135, amount=100)

In [6]: len(f)
Out[6]: 100

In [7]: len(set(f.keys()))
Out[7]: 100

I think they are flagging your account after a while.
I get this when setting amount=0 or some high number (> 2000).
After a while my account is also blocked, and I'll have to unlock it in the the instagram app.
It is also different between accounts. Some accounts never get more than a few hundred.
They might also flag the IP number, not sure about this one.

Any more feedback on this one. I am trying to pull my own followers and it is only returning the first 261.
followers = cl.user_followers(user_id, amount=2000)
user_info = cl.user_info_by_username('arainydayrescue')

print("Total Followers: ", user_info.follower_count)
print("Followers in list: ", len(followers))
print("done")```

Results
Total Followers: 1562
Followers in List: 261


Not able to use conversationsCreate in java

I need to create new channels by using the slack api in java. As i saw methods like channels.create are deprecated so i tried to use conversations.create. Although i am able to create a channel by using the tester card when i am trying to use the java example it does not work. I replaced the environment variables with the appropriate strings ( bot token and signing secret ) and it seems to hung in server.start(); . I tried to use a debugger in order to spot the problem and it seems that the lamda expression is not running as expected as i get this error: Cannot find local variable 'ctx'.
The Slack SDK version

com.slack.api
bolt-jetty
1.5.0-M1

Java Runtime version
Java 11
OS info
Microsoft Windows [Version 10.0.19042.630]
Steps to reproduce:
Using the java example replace the signing secret and bot token and run the script
Expected result:
A new channel with the given name should be created
Actual result:
The script hungs

Hello @pantelis17, thanks for asking the question!
Probably, you mentioned this code snippet in the "code" tab. Am I right?
https://api.slack.com/methods/conversations.create/code

If so, the code snippet is an example demonstrating how to use conversations.create API in response to a message shortcut invocation.
Just to create a new channel using the web API, all you need to do are:

Instantiate a Web API client
Call the conversationsCreate method with sufficient parameters

MethodsClient client = Slack.getInstance().methods();
client.conversationsCreate(r -> r
  // The token you used to initialize your app
  .token(System.getenv("SLACK_BOT_TOKEN"))
  // The name of the conversation
  .name("pretend-channel")
);

If you do the same in a listeners in Bolt apps, you can use ctx.client() for it.

Hello @pantelis17, thanks for asking the question!
Probably, you mentioned this code snippet in the "code" tab. Am I right?
https://api.slack.com/methods/conversations.create/code

If so, the code snippet is an example demonstrating how to use conversations.create API in response to a message shortcut invocation.
Just to create a new channel using the web API, all you need to do are:

Instantiate a Web API client
Call the conversationsCreate method with sufficient parameters

MethodsClient client = Slack.getInstance().methods();
client.conversationsCreate(r -> r
  // The token you used to initialize your app
  .token(System.getenv("SLACK_BOT_TOKEN"))
  // The name of the conversation
  .name("pretend-channel")
);

If you do the same in a listeners in Bolt apps, you can use ctx.client() for it.

@seratch Thank you for the quick response. You are right that way seems to work as expected. Closing this issue, thank you a lot!

@seratch Thank you for the quick response. You are right that way seems to work as expected. Closing this issue, thank you a lot!


Possible to create Wiki that explains what each task is?

For example, "Unlocked Rosie" I'm clueless and cant find anything on the Wiki.

You can unlock the left-click Pet option on Rosie the sheepdog after talking to Sarah. https://oldschool.runescape.wiki/w/Sheepdog#Rosie


PPT to Video convertor

Script Title - Convert PPt to corresponding video, with user-defined input between slides
Brief -
Instructions

Create a new folder for your script and file/folder name should be appropriate.
Create a README.md (using this template) in your folder for program Instructions
add requirements.txt if needed

Programming Language

[x] Python

Happy Coding

I can do this

What do you mean by user defined input?

Hi, is anybody assigned to it?


When using -- remote debugging port=0,How do I get the browser's true debug port?

Hello，When I start the browser with chromedp, it uses --remote-debugging-port=0 by default; How do I get the browser's true debug port from Chromedp?
Use --remote-debugging-port=0 and specify the same --user0data-dir=XXX to start multiple times. Are the assigned ports the same？
Thank you very much

How do I get the browser's true debug port from Chromedp?

I don't think there is a use case that you need to know the debug port. Can you explain why you need that?

Are the assigned ports the same?

You can try it yourself:
# on Linux
google-chrome --remote-debugging-port=0 --user-data-dir=/tmp/ch1 --no-first-run --no-default-browser-check

If you run this command twice, you will see output like this:
# first run
DevTools listening on ws://<IP_ADDRESS>:46293/devtools/browser/8f6bc309-44a9-4985-b7bb-b5cd8577e1da

# second run
Opening in existing browser session.

Thank you very much for answering my question。
In the Windows platform，For user devices that can't meet WebRTC requirements, we plan to use CDP for remote access, so we want to use Chromedp to manage the browser state and return the remote address and port to the user .
"-- remote debugging port = 0" helps us allocate ports better. That's why there's such a need 。
How to get the debug port，It's a problem for me

I found a file "devtoolativeport" in the user directory to store port information. Can I get the port with chromedp?
Thank you very much

Reference: https://chromedevtools.github.io/devtools-protocol/#how-do-i-access-the-browser-target

If Chrome was launched with --remote-debugging-port=0 and chose an open port, the browser endpoint is written to both stderr and the DevToolsActivePort file in browser profile folder.

chromedp reads the URL from stderr. See
https://github.com/chromedp/chromedp/blob/621263b43cbf8797c256ffac2508d955f3f8ad95/allocate.go#L275-L278
As of now, chromedp does not export the URL. You can read the DevToolsActivePort file yourself. Or you can use the chromedp.CombinedOutput option to get the stderr output. See
https://github.com/chromedp/chromedp/blob/d45deafbb51cd113881192d0e5ebaec2d0ab677b/allocate_test.go#L308-L334

Thank you very much


Static linking mode fails on Arch Linux

I have a copy of Crystal installed via the default Arch Linux package. This distribution of Crystal is unable to use the static linking feature, for example if you write the following program:
puts "Hello world!"

And try to compile it with the following command:
crystal build --static example.cr

You will get this error:
/usr/bin/ld: cannot find -lgc (this usually means you need to install the development package for libgc): No such file or directory
/usr/bin/ld: cannot find -levent (this usually means you need to install the development package for libevent): No such file or directory
clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
Error: execution of command failed with exit status 1: clang "${@}" -o /home/amini/test/example  -rdynamic -static -L/usr/bin/../lib/crystal -lpcre2-8 -lgc -lpthread -ldl -lpthread -levent -lrt -lpthread -ldl

This error occurs because the Arch Linux packages for libgc and libevent do not include .a object archives, they only contain .so dynamic link libraries, making static linking impossible. If your Crystal program uses other features, for example the YAML portion of the standard library, you can also have issues with other libraries such as libyaml for the same reason. The advice emitted by Crystal to install development versions of the package seems to be aimed at Debian-based and/or RHEL-based distributions: Arch does not have the concept of development vs. deployment packages. To fix this on Arch you would need to install the bleeding edge versions of these packages from the AUR, modifying the PKGBUILD files to enable the emission of static linkage binaries.
I'm not entirely sure what can be done about this given the limitations imposed by Arch Linux's packaging style but I thought I should report it anyway.

My understanding is this is kinda expected. Even if you could get .a file for libgc and libevent, you're still going to be limited given arch uses glibc, which doesn't play well with static linking. At which point you could have other libs statically linked while dynamically linking libc.
Not really sure there's anything actionable here?
Related: https://crystal-lang.org/reference/1.11/guides/static_linking.html

The problem probably can't be fixed but maybe it could be signposted better? Some ideas:

The flag could be removed entirely in Arch builds (not great, might be confusing)
The flag could refuse to execute in Arch builds and instead print a message explaining the situation (better, but still might be annoying for people who want to hack together something that works on Arch)
The flag could try to execute, fail and then deliver a message that more clearly explains the issue without reference to Debian-specific functionality (probably the best option)
Crystal could ship with its own copies of these libraries on Arch, enabling the feature to work (don't know how practical this is)

FWIW the messaging you see isn't from Crystal, but instead from the linker ld; so a bit outside of the control of Crystal itself. The Arch build is also a community thing, and not officially maintained by the core team. If the maintainer of it wants to ship additional libraries with it that would be on them. But in the end wouldn't make all that much of a difference since you'd still have to work around glibc; but would at least allow only having a single dynamically linked lib vs all three (or four).
In the end what's your use case for wanting to link statically on Arch directly? Easiest solution is to do what the docs suggest and do that via Docker and Alpine. Could consider proposing some changes on the forums https://forum.crystal-lang.org/ for discussion until something actionable is determined. But don't really think having Arch specific behavior is the way to go.

My use case is deploying an application written in Crystal to a virtual machine in the cloud. It's quite a predicament.

My desktop runs Arch Linux.
The virtual machine cannot be Arch itself because I don't believe Arch builds for AWS are available anymore.
The virtual machine is too weak to build the application locally. The Crystal compiler consumes far too much memory. It can be made more powerful but that requires going up a full two cost classes with AWS (from t3.nano to t3.small) for an operation that only needs to be performed sporadically.

Compiling locally, copying over the required shared libraries and then running the executable with LD_LIBRARY_PATH=. worked for a while until the version sync between Arch and Ubuntu became too bad and libc broke. I then tried this static linking approach only to discover it was broken. Now I have a much more powerful Ubuntu virtual machine locally which I use to do a compilation against Ubuntu libraries which will hopefully be a permanent solution to the problem.
The root cause is really the memory consumption of the compiler: there exist relatively roomy environments (0.5 - 1 GiB of memory, potentially larger depending on the size of your program) where the final binary would run great but the compiler necessary to produce that binary cannot run. But there already seems to an issue open for that (#12879) and it sounds extremely difficult to fix.

But why don't you just use the Official Alpine Docker image to build a fully static binary? This would allow you to just copy the built binary to your VPS and not have to worry about about copying shared libs, or having extra VMs.

The simple answer is I was unaware of that page in the docs until you linked it :sweat_smile:

Haha fair enough. That's ultimately your solution. Just works wayyy better for static linking, and can do it within a single command.

The flag could be removed entirely in Arch builds (not great, might be confusing)
The flag could refuse to execute in Arch builds and instead print a message explaining the situation (better, but still might be annoying for people who want to hack together something that works on Arch)

Both wouldn't be good solutions. As a compiler flag, --static works completely fine on Arch as on any other system. It's some dependencies that have issues with static linking. But that's not the compiler's fault. You can technically build statically linked programs perfectly fine on Arch as well. Just not when linking against the default C standard library.

The flag could try to execute, fail and then deliver a message that more clearly explains the issue without reference to Debian-specific functionality (probably the best option)

Yes, it would probably be helpful to improve the error message related to link failures with --static. Especially when building for targets that are known to be problematic in that regard.
What do you mean with "Debian-specific functionality" though?

Crystal could ship with its own copies of these libraries on Arch, enabling the feature to work (don't know how practical this is)

That won't work. As @Blacksmoke16 already mentioned, the static versions of some libraries (such as libgc) could indeed be provided (and we do/did that), but the main issue is with glibc which is harder to integrate. This might be an option to explore for downstream package maintainers, but I don't think it's a feasible task for the Crystal project.


Parameters undetermined

When trying to use parameters as search/filters, is it better to use slider or other forms of UI?

I believe slider is the best design.


[$500] Desktop - App redirection when logged in with different accounts causes desktop logout

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.61-0
Reproducible in staging?: y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4481895
Issue reported by: Applause - Internal Team
Action Performed:
Prerequisites: The user is logged out in the browser and clears the cache before starting the steps.
Desktop app: Logged out

Open staging.new.expensify.com and log in with User A
Open the Desktop app and log in with User B
As User A, open any profile in the browser and reload the page to trigger the open app modal
Click on "Open app"

Expected Result:
User profile page for account A is displayed in the desktop app
Actual Result:
App redirection when logged in with different accounts causes desktop logout.
Workaround:
n/a
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/93399543/df236a92-978d-45a6-b86e-1170468306a4
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01f7298781dc451347
Upwork Job ID:<PHONE_NUMBER>440323072
Last Price Increase: 2024-04-09

Issue is not reproducible in production
https://github.com/Expensify/App/assets/93399543/45d29d9c-a06f-4944-9531-aec8b0c62979

It might be related to the onyx bump, I have seen issues like this related to onyx changes in the past.
I do think however that this does not have to be a blocker since its very rare flow of having web and desktop and 3 accounts.
I suggest removing the DB label and marking this as External to get contirbutors look into this. @marcaaron @Julesssss thoughts?

Since this is related to signing in with multiple accounts (edge case for most people) going to remove the blocker label.

@marcaaron Testers have also encountered issues with signing in via Google and Apple in the Desktop app.
https://github.com/Expensify/App/assets/93399543/8659de0f-dff1-43d1-92f3-5e70018972cb

@marcaaron Testers have also encountered issues with signing in via Google and Apple in the Desktop app.

That looks related to the deep-link redirection. Is this only happening for users on multiple accounts/clients? Because if so I think that also doesn't need to be a blocker.

Bumping the price to 500 to get more eyes in, the google sign in does not look good

Still looking for proposals 👀

I don't understand this for the expected result

User profile page for account C is displayed in the desktop app

Why user C? I don't see a user C mentioned anywhere above, just A and B.

Updated to user A

Thanks vit.
Unable to reproduce when navigating from staging.new.expensify.com in Chrome to Staging desktop.
Also unable to reproduce when navigating from new.expensify.com in Chrome with a different account to staging Desktop.
Adding retest-weekly and bumping to weekly.

This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

Still holding on retest and... there's another web>desktop issue, think it's the one below

https://github.com/Expensify/App/issues/39851

Issue not reproducible during KI retests. (First week)

Also wasn't able to reproduce so I'm closing. If you try/test and are able to @hungvu193 , please comment and I'll reopen. (it did forever-load though, which isn't ideal. Not seeing errors in the console, network tab screenshot below)

After a hard refresh it loaded but it's only showing 1 chat in LHN (and I have a ton in my test account)

Also wasn't able to reproduce so I'm closing. If you try/test and are able to @hungvu193 , please comment and I'll reopen. (it did forever-load though, which isn't ideal. Not seeing errors in the console, network tab screenshot below)

Yeah I can't seem to reproduce this one as well

Can we close it then?

Yeah, I think we can close. Comment/reopen if you disagree or if you're able to reliably reproduce.

Issue is still reproducible on the latest build 1.4.77-0
https://github.com/Expensify/App/assets/78819774/51079f88-0b84-4676-a3ed-4567eab30b67

I still can't reproduce.
https://github.com/Expensify/App/assets/16502320/c57785eb-4489-41d0-bb49-35cf77e500dc
Also there was some issues with desktop login, that was fixed (I think that's why this issue was reproduced).
More context: https://expensify.slack.com/archives/C01GTK53T8Q/p1717012386285909

ooooof.  I have a hunch this has to do with a bug that got fixed yesterday where users were getting signed out.  Gonna leave retest-weekly on here to see if this persists next week (cuz the PR was 🍒 picked yesterday)

Issue not reproducible during KI retests. (Second week)

Closing since it's not reproducible.


Unauthorized access error when try to access service APIs

After creating API key with the service scope, the service APIs are not able to access
cURL request
curl --location 'https://staging-consent-bb-api.igrant.io/v2/service/data-agreements?limit=10&offset=1' \
--header 'Accept: application/json' \
--header 'X-ConsentBB-IndividualId: 65366979db611cb1948aca50' \
--header 'Authorization: ApiKey eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJTY29wZXMiOlsic2VydmljZSJdLCJPcmdhbmlzYXRpb25JZCI6IjY1MjY1Nzk2OTM4MGYzNWZhMWMzMDI0NSIsIk9yZ2FuaXNhdGlvbkFkbWluSWQiOiI2NTI2NTc5NjkzODBmMzVmYTFjMzAyNDMiLCJleHAiOjE3MDA2NTYxMzJ9.BIfpLGSQTr4IQW1OMuIelS5TnOhvPiz3umtnSKaVpeo'

Response
{
    "Code": 403,
    "Message": "Unauthorized access;User doesn't have enough permissions;"
}

@albinpa When you are online, can you check this as priority.


Log View

Hi,
I've modified the messenger to write everything to an internal buffer which can be shown with the logcommand (ToggleLog Action). This log-view will always scroll to the end if a new message was added.
Plugins could also write to that log with messenger:AddLog("my log message") without displaying it to the user.
This can be useful for debugging plugins and might also be used to show search results for the plugin manager PR #378
Feedback is welcome :)

this was merged fast 👍


Could not find or access '~/pki/key.pem'

Hello!
- hosts: dnsmasq
  roles:
    - andrewrothstein.docker-registry

Error:
TASK [andrewrothstein.docker-registry : configuring docker access for the root user...] ********************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: If you are using a module and expect the file to exist on the remote, see the remote_src option
failed: [squid] (item={u'm': u'0600', u't': u'cert.pem', u'f': u'~/pki/squid.pem'}) => {"changed": false, "item": {"f": "~/pki/squid.pem", "m": "0600", "t": "cert.pem"}, "msg": "Could not find or access '~/pki/squid.pem' on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: If you are using a module and expect the file to exist on the remote, see the remote_src option
failed: [squid] (item={u'm': u'0400', u't': u'key.pem', u'f': u'~/pki/squid-key.pem'}) => {"changed": false, "item": {"f": "~/pki/squid-key.pem", "m": "0400", "t": "key.pem"}, "msg": "Could not find or access '~/pki/squid-key.pem' on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}

the role uses TLS to secure the registry when u set the docker_registry_pki_enabled var to true. Are u trying to install key/cert/cacert on the host to allow the registry to serve TLS?

I try install role andrewrothstein.docker-registry without key/cert/cacert


Initial Dutch translation

I translated to the best of my ability as a native speaker. Translation notes:

Learn more translated as "Read more" due to language idiosyncrasies
Wallet translated as "wallet" since the literal translation "portemonnee" is not used within the context of crypto
Translated widely integrated as "widely implemented"
Translated Traditional Domains as "conventional domains"
translated Get Involved as "participate"
translated Meet the team as "about the team" as the word "meet" doesn't work in Dutch in this context
kept self-custody as I can't think of a translation that is not too literal

@brantlymillegan I don't really know how translation works on our home page. Just reassigned to @jefflau

I followed the instructions as put forth in the README.md. Let me know if I misunderstood anything @jefflau.

@jefflau hope you don't mind me tagging you here.
On the Bankless podcast interview I heard it mentioned that contributors to translations got an ENS reward as well.
Does that apply to this PR?

@jefflau hope you don't mind me tagging you here.
On the Bankless podcast interview I heard it mentioned that contributors to translations got an ENS reward as well.
Does that apply to this PR?

hey! yes it should, and I think we had just previously missed this. please email me at<EMAIL_ADDRESS>


Use authentication for almost all endpoints

Fixes #162.
Things I've tested manually:

Create a project and upload text + images
Annotate a text file
Create a memo for an annotation
log in / log out
run analysis
create whiteboard with text document, code, memo
update logbook
read autologbook

I'm working on a small integration test that ensures we can't actually use the endpoints without a token, will update this PR once it's ready.

I think the secret detected by GitGuardinan is the JWT secret default value in default.yaml. Since we're probably overriding that in production (?), it should be fine.

I think the secret detected by GitGuardinan is the JWT secret default value in default.yaml. Since we're probably overriding that in production (?), it should be fine.

Yes, it's fine because it's just the default and we generate a new one when deploying :)

Tested again:
Create a project and upload text + images
Annotate a text file
Create a memo for an annotation
log in / log out
run analysis
create whiteboard with text document, code, memo
update logbook
read autologbook

Everything works fine :)

I also tested it a bit, and it seems to work nicely :) The only issue I have is that when I register a new user, log in, upload some docs, and want to annotate a doc, I get a "Generic Error" in the frontend, which comes from an HTTP 409 (Conflict) from the PUT /adoc route. If I remember correctly this was not the case before. If I understand it correctly, this happens because the route is called more than once with the same parameters and there can only be one adoc per user per document.
Can you try to fix this please :)?

The only issue I have is that when I register a new user, log in, upload some docs, and want to annotate a doc, I get a "Generic Error" in the frontend, which comes from an HTTP 409 (Conflict) from the PUT /adoc route.

This one was a bit tricky! I managed to find the root cause which is an effect getting called multiple times during a single render. I managed to reproduce the issue on the mwp_v1 branch as well. It's a super weird edge-case because having the effect fire twice in a single render means that all state is essentially unchanged and we can't use the usual reactive mechanisms to track if the request was already fired. I settled for adding a useRef which allows us to change values inside of a single render.

The only issue I have is that when I register a new user, log in, upload some docs, and want to annotate a doc, I get a "Generic Error" in the frontend, which comes from an HTTP 409 (Conflict) from the PUT /adoc route.

This one was a bit tricky! I managed to find the root cause which is an effect getting called multiple times during a single render. I managed to reproduce the issue on the mwp_v1 branch as well. It's a super weird edge-case because having the effect fire twice in a single render means that all state is essentially unchanged and we can't use the usual reactive mechanisms to track if the request was already fired. I settled for adding a useRef which allows us to change values inside of a single render. It's now fixed in this PR :)

oh no this sounds indeed very complicated.. lucky us that you are another react magician ;)


Update Links “tiktok-30”

Automatically generated by Netlify CMS

👷 Deploy Preview for distracted-hoover-7b89cc processing.
🔨 Explore the source changes: c8a992ef89249f8b0b4053b41aac2dba071b2a4c
🔍 Inspect the deploy log: https://app.netlify.com/sites/distracted-hoover-7b89cc/deploys/6114ed3617ab150007063195


When installing dependencies something other than yar, ngrx-slice gives compilation error

Hello,
We are using ngrx-slice in our application and it is a blast!
But we are facing a weird problem. We mainly use yarn, but for some reason, yarn is very slow on our machine, we decided to try npm and pnpm for managing dependencies.
Normally, the code is working fine if we run yarn install. But when we try to install the dependencies, ngrx-slice is giving an error, saying that it can't find the actions and reducers inside the slice.
Here is the code that is using ngrx-slice:
import { createSlice, PayloadAction } from "ngrx-slice";

export interface KullaniciState {
  tcKimlikNumarasi: string;
  hesapAktifMi: boolean;
  kayitliKullaniciMi: boolean;
  yetkiler: string[];
}

export const kullaniciInitialState: KullaniciState = {
  tcKimlikNumarasi: "",
  hesapAktifMi: false,
  kayitliKullaniciMi: false,
  yetkiler: []
};

const slice = createSlice({
  name: "kullanici",
  initialState: kullaniciInitialState,
  reducers: {
    kullaniciBilgileriEkle(state, payload: PayloadAction<KullaniciState>) {
      state.tcKimlikNumarasi = payload.tcKimlikNumarasi;
      state.yetkiler = payload.yetkiler;
      state.hesapAktifMi = payload.hesapAktifMi;
      state.kayitliKullaniciMi = payload.kayitliKullaniciMi;
    }
  }
});

export const KullaniciActions = slice.KullaniciActions;
export const KullaniciSelectors = slice.KullaniciSelectors;
export const KullaniciFeature = slice.KullaniciFeature;

This is a very generic slice, nothing too fancy.
When we compile the code, it is giving me this error, saying that it can't find the KullaniciActions:
Error: apps/tenmak/src/app/store/kullanici-slice/kullanici.slice.ts:31:39 - error TS2339: Property 'KullaniciActions' does not exist on type 'Slice<Record<string, any>, "kullanici", KullaniciState, { kullaniciBilgileriEkle(state: Wr
itableDraft<KullaniciState>, payload: PayloadAction<...>): void; }>'.

31 export const KullaniciActions = slice.KullaniciActions;
                                         ~~~~~~~~~~~~~~~~

Error: kullanici.slice.ts:32:41 - error TS2339: Property 'KullaniciSelectors' does not exist on type 'Slice<Record<string, any>, "kullanici", KullaniciState, { kullaniciBilgileriEkle(state:
WritableDraft<KullaniciState>, payload: PayloadAction<...>): void; }>'.

32 export const KullaniciSelectors = slice.KullaniciSelectors;
                                           ~~~~~~~~~~~~~~~~~~

Error: kullanici.slice.ts:33:39 - error TS2339: Property 'KullaniciFeature' does not exist on type 'Slice<Record<string, any>, "kullanici", KullaniciState, { kullaniciBilgileriEkle(state: Wr
itableDraft<KullaniciState>, payload: PayloadAction<...>): void; }>'.

33 export const KullaniciFeature = slice.KullaniciFeature;
                                         ~~~~~~~~~~~~~~~~

Here is the error whenever I hover over the error in IntelliJ:

The error goes away when we install the dependencies with yarn.
I even managed to reproduce the error, which was surprising. Here is a repository:
https://github.com/fatihdogmus/ngrx-slice-error-repo
Environment:

Tried on both ubuntu 20 and windows 10, no change
Node@14.17.1(tried with 16.7.0 too, still no change)
<EMAIL_ADDRESS>

I think I know the problem. We were using the 2.0.0 of the library version where createSlice acted like createNamespacedSlice. The version was cached in yarn due to yarn.lock, but when I freshly installed them through npm, since the version is like ^2.0.0, it installed the latest version, which is 2.1.1 where createSlice doesn't return the named versions anymore and broke the code. So the code was working with yarn and was not working with npm.
Fixed the code to use the createNamespacedSlice and everything works fine now.
This is a warning for me to not use ^ for my versions 😃
Thanks for the fast response and help!
You can close the issue.


Make error text more verbose for custom exception

Fixes #5655
No need for a release as we will be doing a major release with the next week

Can one of the admins verify this patch?

@matthchr do these strings make sense to you?

@matthchr made requested changes. @lmazuel this should be good for merge. We shouldn't need a release as we will be having a major update version update with REST API updates by EOW.

Abandoning as this has been merged into REST API PR


This pr is to add license to ./pkg/common/constants.go

Ⅰ. Describe what this PR does
Ⅱ. Does this pull request fix one issue?

fixes #XXXX
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

/lgtm


custom connections options for slaves

fix behavior described in : https://github.com/propelorm/Propel2/issues/920

Well, actually this won't fix anything as those config values are not read by our service container or PropelBundle. A better approch is to do it the way PropelBundle handles it: It merges the user/password values into the slave array, so master=slave credentials. https://github.com/propelorm/PropelBundle/blob/2.0/PropelBundle.php#L72

I check source code especially :
https://github.com/propelorm/Propel2/blob/master/src/Propel/Runtime/Connection/ConnectionManagerMasterSlave.php#L172
you use complete slave read configuration
your proposal is good but :

rarely slaves connection can have different login/password than master (and we can't force them in dsn)
sometimes we can want specific "options/queries" for slaves database init and finally for profiling and stats we can use another Connection classname

so I think 2 approach are necessary
Best

Mh, then we should not mark those values as required. If they are not defined, they should be taken from the master connection. So, make your newly added options optional and merge those values if they are not defined with the master connection, then I'm ok with it and it addresses all issues. :)

done in 96bac07

I close this pull request because this is linked to my master branch... I will open another only with slave patch... FYI, I improve timestampable behavior and remove Symfony Legacy Validator (throw notice) in my branch


MariaDB NPE fix

Fixes https://github.com/testcontainers/testcontainers-scala/issues/105

Thanks for the fix!


⚖ Register Validator:

Network Choice
nemeton-1
Who are you?
NakedCat by PramonoUtomo.com
NakedCat validator is one of indonesian network validator and blockchain tester for testnet and mainnet, We are based on Surabaya, Indonesia.
We have our own telegram community for helping each others learn and build for many chains not just based on cosmos or ethereum but also Nano DAG and more.
Telegram Community: https://t.me/codeblocklabs
gentx
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"NakedCat","identity":"7FE08235560BC433","website":"https://pramonoutomo.com","security_contact":"emailbuatcariduit@gmail.com","details":"NakedCat Validator by PramonoUtomo.com"},"commission":{"rate":"0.050000000000000000","max_rate":"0.100000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"okp41hr3sg39vmxmel8anydm7eeyufl6zgq6f2vu6ez","validator_address":"okp4valoper1hr3sg39vmxmel8anydm7eeyufl6zgq6fltvn8r","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"uWtIPnrLP9LXA4anEk/LxvLluaqtplVb5o/ArQNJay4="},"value":{"denom":"uknow","amount":"10000000000"}}],"memo":"e416a1b273bc06512de8dac4e0142935a9dc8878@<IP_ADDRESS>:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"Ax2I6Ts5yiz31v8PPu9XybHjE3MduN9Dc4DmT3eNcQ2o"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""},"tip":null},"signatures":["3evCiQqU4qQASu60FaTrTgUzy1KjohzDSuc3mi4psSY+b5M2FRnyv7Mu/pL209gfiiMmfDLPC+jeTAS0P3oqFQ=="]}

😉 Here is the corresponding PR: https://github.com/okp4/networks/pull/295


Evaluating user input from Erlang

I have an Erlang application in which I want to evaluate LFE code (user is itself responsible for not breaking the system, so security isn't an issue). However I have a hard time finding documentation on parsing and compiling/evaluating a sequence of forms. Does this documentation exist somewhere?

Check out the new lfe_comp docs.

Ah yes, that seems like a high-level API. Thanks.

If you looking for something more interactive, there's also lfe_shell:start/0 or similar. I may have the name wrong.


Lab 7, Ex 2, Retention policy wizard has changed

Module: 7
Lab/Demo: 7
Exercise: 2
Task: 2 and 3
In Task 2, after step 5, insert a step for the new "Policy Scope" page in the "Create retention policy" wizard.  (It's about choosing an Admin Unit.)
In Task 3, after step 5, insert a step for the new "Policy Scope" page in the "Create retention policy" wizard.

Thanks Annette! I'll look into this and make the necessary updates.

I updated the tasks to include the Policy Scope page when performing the wizard.
I will be releasing the updated instructions the weekend of 12/16 so as not to interfere with ongoing courses this week.


[FEATURE] Add "description" field to county access rule

[Re: University Monday 2020/10/26 - 2.3]

Yes it requires a new field "description".

Description
We need new string field "description" for county access rule. It needs to be optional.
It is needed so that we are able to construct dynamic content of status panel in Safer app.
Json example:
{
  "id": "111222",
  "county_id": "333444",
  "description": "this is a description",
  "rules": [
    {
      "county_status_id": "555666",
      "value": "granted"
    },
    {
      "county_status_id": "777888",
      "value": "denied"
    }
  ]
}

Closing this issue before archiving the repository. Thanks.


Custom objects in XIB files

I have noticed that Xcode and Instruments mark two custom objects in IB as memory leaks. Specifically these two:
<customObject id="HRR-OU-3yj" customClass="ArticleListView"/>
<customObject id="HLa-Gy-vMd" customClass="PreferencesWindowController"/>

The second one was introduced by me by moving the PreferencesWindowController into MainMenu.xib. Instantiating it in code does not seem to cause this, but I want to know why. Is there a difference between creating the controller in MainMenu.xib and initialising a property in code?
@josh64x2, what does the first one do? It doesn’t seem to have any connections to anything.

Oh that must have slipped in when I was trying to fix 10.8 autolayout.
I'll have a look at it properly today and see why it is leaking as having it in an object in the xib should be fine...

Hmm I had a quick look but couldn't see anything obviousy. Did you work out what the issue was with PreferencesWindowController ?

No. I am not sure if this is really a problem or not. I assumed that instantiating the window controller in MainMenu.xib would have the same effect as in a storyboard, but it seems that this is treated as a memory leak. Given that the window controller will always be around anyway, it should not really matter.


optimizeImagesInDev does not work

Hey,
First of all, amazing plugin, thanks a lot!
I try to optimize my Nextjs project and was surprised, that images are smaller even though, I use the default value optimizeImagesInDev: false.
I start my application by using now dev that should do a next dev .
I try to get my dev development as smooth and fast as possible. I also tried to workaround with dynamic paths, only appending ?resize if it is not a production build. But this fails during build time for some reason... I think it's related to dynamic imports that misbehave.
What is your favorite setup?
Thanks in advance!

I'm having the same problem, with several hundred images being optimised, the development build took several minutes. I tried both passing no options and passing optimizeImagesInDev: false which is supposed to be the default, but images were still being optimized.
Solved it with this:
const imgUrl =
    process.env.NODE_ENV === 'production'
      ? require(`../../img/posts/${permlink}.jpg?resize&size=500`)
      : require(`../../img/posts/${permlink}.jpg?original`);


Revert "Use offsetX and offsetY if available"

This reverts commit fabf05977a7bd025ba68f53aa1a41dcdabe06925.
fixes #3120
fixes #3121
fixes #3133

Thanks for any review

didn't know reverting your own merged PR required review ;-)
please merge

Do people think we need to release v3.1.2 for that?

Personally I don't think this is needed. People can use master in the interim and 3.2 is just around the corner (2 weeks). But that's my 2cents.

I also don't think a new release is needed (3.2.0 is due by february 1 (?))

Fine by me.


High memory usage

What steps did you take and what happened:
After upgrading to version 0.20.0 I noticed that the trivy-operator process consumes a lot more memory. Previous version was able to run with 600Mb, Now I have to add at least 1G wit a steady 800Mi usage under load.
Why would an operator consume so much memory? It's just orchestrating scanners or is it?

Trivy-Operator version 0.20.0
Kubernetes version 1.29.4
OS (macOS 10.15, Windows 10, Ubuntu 19.10 etc): talos linux

@githubcdr it should no consume more memory than usual, the operator framework cache reports in order to improve performance but should be any additional effort on that area, are you getting errors in logs ?


[LSP] Add variable symbol gathering to symbol filler

This PR adds variables to symbol gathering for outline-like features in editors. Tested to work as expected in coc.nvim, as did the original issue and in builtin helix lsp handler
Fixes #1882

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.01 :tada:

Comparison is base (c719ed3) 92.83% compared to head (b4e9fbf) 92.85%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1949      +/-   ##
==========================================
+ Coverage   92.83%   92.85%   +0.01%
==========================================
  Files         355      355
  Lines       26073    26129      +56
==========================================
+ Hits        24206    24261      +55
- Misses       1867     1868       +1

Impacted Files
Coverage Δ

verilog/tools/ls/document-symbol-filler.cc
98.96% <100.00%> (+0.20%)
:arrow_up:

... and 2 files with indirect coverage changes

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

There are typically a lot of variables so I fear the output of such a symbol outline will be very 'noisy'. That is the reason why I didn't include these in the original implementation as it would make the tree less useful and visually overwhelming.
Navigation to these might be easier with go-to-definition ?
However, I could be convinced if the more noisy tree would actually be useful in practice. Are there ways on the client (e.g. the tree view in vscode) to keep out certain elements ? Maybe we can provide a flag to configure if it should be included ?

I will look into what filtering options the most popular editors provide for outlines (VSCode, neovim) and I will probably add a flag either way. The default will be probably determined by the quality of those options if they exist

Editor filtering options for outlines / symbol lists
Consistent finding for me is that most of the "big" files are not that huge in terms of outline size maybe besides generated .sv, as they tend to have quite a few regs/variables.
How popular editors handle outlines
VSCode
Allows for sorting by type of symbol (struct, var, module/function) inside the outline. Goto symbol allows for searching within the outline for the desired symbol and is decently responsive. Usability will probably not decrease by a lot with variables included into the outline.
Neovim (default LSP client)
Using "raw" <cmd> lua vim.lsp.buf.document_symbol()<CR> bound to a shortcut opens a split buffer that is noticably dense to navigate, therefore the addition of variables reduces the usability of that method.
On the other hand, most people seem to use plug-ins and providers for lists, searchables, and fuzzy finders instead of builtin quickfix buffer filled with symbols. There was little documentation on setting it up that way; most guides were focusing on coc.nvim, vista and symbols-outline.nvim.
Neovim (coc.nvim)
coc.nvim provides an outline that sorts by "relevance" (modules, blocks, funcitons, variables) and within each category there is alphabetical sorting with line indicators.
Each structure that has embedded symbols inside (eg. variables in modules) are collapsable at each node that contains those children that helps a lot with browsing.
The variables clutter the outline a bit, however there is a fuzzy search option via :CocList outline. I feel like the positives of having a full outline outweigh the minor clutter
that the addition of variables creates.
Neovim (symbols-outline.nvim)
This plugin adds a structured view that can collapse nodes simmilar to coc.nvim There is a bit more clutter, as the UI isn't as easy to navigate and there are no simple search options.
Still, on a decently large file (taken from opentitan) it is very usable with those variables added. There are also filtering options within the configuration that will allow to limit the scope of what is outlined on a per-user basis.
Neovim (vista)
In vista, there are multiple providers for structure. In my case, I have tested coc and nvim_lsp as providers and both had the means to efficiently navigate the outline. nvim_lsp backend filters all symbols into categories (thus allowing the variables to easily get collapsed), and coc has a structured view up top and defaults to a bottom section that just lists the modules and allows to jump to a tree of the desired one. It is surprisingly nice to use and the addition of variables does not hinder the usability.
Helix
The symbol outline is piped into the fuzzy finder, like almost everything searchable in helix. It does not currently distinguish by type of symbol, but the search is effortless. The default sorting is by position in the file. There is little to no difference in usability in my opinion to how difficult it is to find a symbol with variables added to the outline.
Conclusion
Therefore, I'd say that a flag that would enable/disable variables in outlines should have a default such that variables are included. It is the behavior of popular LSP servers (clangd, jedi) and most of the outline/symbol picking solutions provide decent or good ways of navigating around them. @hzeller do you agree?

Yes, sounds good!


Fix conflicting eslint rules

We currently have the eslint rule @typescript-eslint/no-unused-vars ignoring leading underscores (see here), but we are unable to benefit from it because it's conflicting with @typescript-eslint/naming-convention defined in one of the plugins used in .eslintrc.js, which doesn't allow leading underscores in variable and argument names.
The rule needs to be found, copied over into our .eslintrc.js and modified to allow leading underscores.

As per this comment, we won't be implementing this functionality.


install.bat fails

I am building with current GitHub version using https://github.com/BTNC/distro-win/blob/master/win-files/README.md instruction. I have VS2015, conda, Git and cmake installed.
install.bat is failing with the following error:
+++++++ Installing common lua packages
cl /nologo /MD /O2 -c -Fosrc/lfs.obj -IJ:/./install/include src/lfs.c
lfs.c
src/lfs.c(84): warning C4005: 'luaL_newlib': macro redefinition
J:/./install/include\lauxlib.h(125): note: see previous definition of 'luaL_newlib'
link -dll -def:lfs.def -out:lfs.dll J:/./install/lib/lua51.lib src/lfs.obj
Microsoft (R) Incremental Linker Version 14.00.24213.1
Copyright (C) Microsoft Corporation.  All rights reserved.
lfs.obj : warning LNK4197: export 'luaopen_lfs' specified multiple times; using first specification
Creating library lfs.lib and object lfs.exp
The directory name is invalid.
Error: Failed move: could not delete J:.\install\luarocks\systree/lib/luarocks/rocks/luafilesystem/1.6.3-1/lib/lfs.dll
after copy.
+++++++ Installation error!
Any suggestions on how to fix this problem?

Hi, sorry for late response, I haven't supported it for quite some time.
It seems you git cloned distro under J: and tried to install everything under J:
Git clone and install in a sub-directory under J: may solve it.


[XMonad.Util.EZConfig] Function key XF86WLAN missing

The XF86WLAN function key missing in the supported function keys of EZConfig:
http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Util-EZConfig.html
On my ThinkPad T450s I've got this one to enable/disable wifi.
https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_T450s#Function_Keys
Edit: There are actually one more unsupported function key:
$ xev | awk -F'[ )]+' '/^KeyPress/ { a[NR+2] } NR in a { printf "%-3s %s\n", $5, $8 }'
246 XF86WLAN
198 XF86AudioMicMute

I think the place to add this would be xmonad-x11? See also: https://github.com/xmonad/X11/issues/21

Well, it would need to be added in both places.

So in #21 there is a script to generate this keys.
Unfortunately there is no X11 header file containing this key (on my computer):
$ grep XF86WLAN  /usr/include/X11/*keysym.h

(no output)
And there is also no file for Lenovo/IBM keysym header file :(
What do you think about placing an X11 header file Missingkeysym.h in the repo and use the same script as in #21 to generate the bindings?

I think it is in /usr/include/X11/XF86keysym.h as XF86XK_WLAN.

Oh, you're right! So once someone get the script for autogeneration to run this key should get included in EZConfig...

Fixed with xmonad/X11#41


fix: #1878 ensure correct separator in classpath location

This PR provides a possible solution to #1878.

Not had the chance to review whether this would be too naive an approach to attempt to resolve the issue; happy for feedback from others more comfortable with the codebase.
Building locally and overridding the resolution for openapi-generator-maven-plugin:6.2.1 seemed successful from a quick verification.

Thanks for submitting this PR.


Improve TSX ASCII logo

This is part of the improvements requested by Issue https://github.com/o2sh/onefetch/issues/777

@o2sh Thanks for reviewing it that quick! I implemented all the changes requests.
Please let me know if you spot anything else.


[CodeCamp #1537]  Adopt mmeval's ConnectivityError in mmediting

Motivation
Adopt mmeval's ConnectivityError in mmediting
Modification
Modify the connectivity_error.py file to support mmeval.
Evaluation test (dev-1.x)
Time cost 15:06 (from log)
20230114_230049.log

Evaluation test (this PR)
Time cost 15:05 (from log)
20230114_181607.log

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

Please sign the CLA(Contributor License Agreement) @xuan07472


Add isExperimental parameter to Flag/Option

This issue proposes a new bool parameter isExperimental to Flag and Option.
How it can be useful
With this parameter, we can possibly

Automatically add experimental prefix
Automatically remove the experimental Flags/Options from the help
Automatically mark the experimental Flags/Options as experimental in the dumped JSON by --experimental-dump-help
Only list experimental Flags/Options

With this parameter, users of ArgumentParser can easily mark Flag/Option as experimental and control the exposure of the Flag/Option to users of their tool.

Thanks for opening this, @KS1019! I think I'd like to leave this feature out, since you can implement these individual pieces using existing functionality, and I'd like for users of the library to be able make their own decisions about transitioning from experimental to supported features, etc.


Viewer: Empty Panel upon First Render

When instantiating the SentenceNgramViewer class from a list of Candidate objects, the viewer's first first panel renders as blank
from snorkel.viewer import SentenceNgramViewer
SentenceNgramViewer(labeled, session)

Navigating forward then backward fixes the issue

So some javascript render event isn't firing properly upon init?

@jason-fries I've never had this happen, is this just on the default Spouses tutorial?

Hi @jason-fries can't reproduce this issue in the intro tutorial, where should we look for it?  Maybe just merge everything in and then see if it's still happening after the release?

I just tested this again on the public AWS instance and I can reproduce the error on:
Google Chrome  59.0.3071.115 (Official Build) (64-bit)
Firefox 54.0.1  (64-bit)
Safari 10.1.1 (10603.2.5)
See Slack for the connection information to test on your machine :)


Don't Merge! PR real time test for webhook case

Docs Build status updates of commit eb58da2:
:clock10: Pending: waiting for processors (21 builds ahead of you)
:warning: Docs Build is busy, currently there are 21 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit eb58da2:
:clock10: Full build: the average full build time is 7 min(s) 41 sec(s), this is based on the last 30 build(s) for this repository.

Docs Build status updates of commit eb58da2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/testing.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Hook to control audio

Can I take it?

Yes, you can. Please consider that he hook must return the following:

[ ] Function to play (play)
[ ] Function to pause (pause)
[ ] Function to toggle pause (togglePause)
[ ] Function to increase volumen. Allow the developer to enter the increment as a parameter, but if not specified increase it by 5% each time. (increaseVolume)
[ ] Function to decrease volumen. Allow the developer to enter the decremetnt as a parameter, but if not specified decrease it by 5% each time. (decreaseVolume)
[ ] Function to mute (mute)
[ ] Function to unmute (unmute)
[ ] Function to toggle mute (toggleMute)
[ ] Function to go forward in the audio. Allow the developer to enter the amount of second they want to advance, but if not specified, increase it by 5 seconds each time. (forward)
[ ] Function to go back in the audio. Allow the developer to enter the amount of second they want to delay, but if they don't specify it, delay it by 5 seconds each time. (back)

It is like you are building a control remote for audio.
In parentheses I put the name that each function should have. I point out all these specifications so that this hook has the same API as the hook to control the video that I am developing.
Happy coding!


Release 0.0.4

Added

Support loading JWT token from NOTEABLE_TOKEN environment variable.
Support loading API domain from NOTEABLE_URL or NOTEABLE_DOMAIN environment variable.
Add create_parameterized_notebook method to NoteableClient
Add create_job_instance method to NoteableClient

Codecov Report

Merging #39 (89484d6) into main (a8ab256) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main      #39   +/-   ##
=======================================
  Coverage   73.50%   73.50%
=======================================
  Files          11       11
  Lines        1287     1287
=======================================
  Hits          946      946
  Misses        341      341

Impacted Files
Coverage Δ

origami/_version.py
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


INSTALL_PARSE_FAILED_NO_CERTIFICATES when using mockserver on android

When trying to run instrumentation tests, i run into this issue. When removing the mock server, the problem goes away.
See https://code.google.com/p/android/issues/detail?id=187183

This question is better suited for StackOverflow over our bug tracker. We use this tracker for big reports and feature requests only.


Glow effect does not display with Seaborgium installed

I can provide further information if needed and cannot be reproduced but this does appear to be a Seaborgium issue. Issue persisted across all builds of Seaborgium.

Will be resolved when I release 0.1.3, for now you can fix it by reloading resource your resource packs.


Visualize a single depth map frame, and point out the noisy voxel halo!

This can be very useful in the writeup.

Done and added to the corresponding section.


France: EU + Europe missing ?

I've started using country-coder in my OpenStreetMap Community Viewer.
I'm trying to "guess" the region/continent a country is from using country-coder groups.
It works pretty well ... except for France (and I guess other countries in a similar "situation") !
Groups for France are ["UN", "001"] (see https://ideditor.codes/?code=Q142).
There is definitely EU missing !
But I would also expect 150 (Europe) ; I guess this happens because France has territories outside Europe (same happens to Spain).

Why is EU missing ? France is one of the founding member of European Union (https://en.wikipedia.org/wiki/Member_state_of_the_European_Union)
How can I get that France (or Spain) is part of Europe (but maybe this is out of the scope of the library) ?

Thanks for this awesome library :)

Weird, yeah I don't really understand it.
I do know that "Metropolitan France" with the ISO code FX, and is a separate feature that is within France and within Europe, EU, etc..
https://ideditor.codes/?code=Q212429
"groups": ["FR", "155", "150", "EU", "UN", "001"],

I did some more testing today and I still don't know what's going on
> import("@ideditor/country-coder").then(module => { cc = module });
Promise { <pending> }
> cc.isInEuropeanUnion('fx')
true
> cc.isInEuropeanUnion('fr')
false
> cc.isInEuropeanUnion('es')
true

I don't see any obvious difference in the data in how Spain and France are different.  Both are made up of "parent" features with null geometry and "child" features with groups properties.

Update: I noticed a few interesting facts in the borders.json data file:
Neither spain nor france are directly listed as members of the EU.
all of Spain's territories are listed as having EU group membership, even though Spain itself does not.
None of France's territories are listed as having EU group membership. France itself, like spain, is also not listed as a direct EU member.
So why the difference?
If I modify all of France's territories to also be members of the EU, then the test starts to pass. Somehow, group membership is being synthesized from the 'ground up', considering constituent territories first.


OpenVPN provisioning fails on Redhat

Provisioning with Redhat VM fails on missing configuration file while provisioning OpenVPN on the master node.
module.mesos.google_compute_instance.mesos-master (remote-exec): sed: can't read /etc/sysctl.d/11-gce-network-security.conf: No such file or directory

My configuration is:
module "mesos" {
  source = "github.com/ContainerSolutions/terraform-mesos"
  account_file = "/Users/asandor/Projects/cs/infraloop/credentials/gcloud-service-account.json"
  project = "cs-cisco"
  region = "europe-west1"
  zone = "europe-west1-d"
  gce_ssh_user = "asandor"
  gce_ssh_private_key_file = "/Users/asandor/.ssh/google_compute_engine"
  name = "infraloop-mesos-dev"
  masters = "1"
  slaves = "2"
  subnetwork = "<IP_ADDRESS>/24"
  domain = "dev.mesos.infraloop.container-solutions.com"
  mesos_version = "0.28.2"
  image = "rhel-7-v20160418"
  distribution = "redhat"
  slave_machine_type = "n1-standard-2"
  # slave_resources             = "cpus(*):0.90; disk(*):7128"
}

put the ip_forward statement in /etc/sysctl.conf

@thijsschnitger
This line already sets ip_forward. https://github.com/ContainerSolutions/terraform-mesos/blob/59968fa748a5cb12103a3de70096ae95ec59d9d3/scripts/openvpn_install_ubuntu.sh#L27
For IPv4 at least.

Fixed by https://github.com/ContainerSolutions/terraform-mesos/pull/50


paddling-tongji-thesis:0.1.1

I am submitting

[x] a new package
[ ] an update for a package

Description: A thesis template written in Typst for STEM undergraduate students at Tongji University, Shanghai, China. Original GitHub repository here.

I have read and followed the submission guidelines and, in particular, I

[x] selected a name that isn't the most obvious or canonical name for what the package does
[x] added a typst.toml file with all required keys
[x] added a README.md with documentation for my package
[x] have chosen a license and added a LICENSE file or linked one in my README.md
[x] tested my package locally on my system and it worked
[x] excluded PDFs or README images, if any, but not the LICENSE

[x] ensured that my package is licensed such that users can use and distribute the contents of its template directory without restriction, after modifying them through normal use.

Hello,
We have restructured our project, renamed our package for Typst, and made a few minor changes as per your review.
We hope these changes enhance the experience for our users and align with Typst's standards more effectively.
Thank you for your feedback and support.

Hi,
Thank you so much for providing reviews for our project. We have learned a lot from them and have made the corresponding changes based on your feedback.
Merci beaucoup encore une fois ! C'est très gentil ^^

Everything looks good now. Thank you for taking time to fix the issues!


Updates bulma

Thanks for contributing! Have you checked whether the upstream changes actually alter anything in this theme, for better or worse? For example, was there an issue that updating Bulma fixed?

can't say that I have.
I know for a fact that there was at least one issue that updating bulma fixed, and that was
position of underline links.
it also adds lots of new css features and functionality, so I don't see why wouldn't you want to update,
from css standpoint.

I don't see why wouldn't you want to update

I want to be cautious about updating because it could change things for existing users or introduce new bugs. This theme doesn't actually use all of the functionality of Bulma, so any bug fixes (what changed about the links?) or new features (any examples?) may not actually be relevant to the subset in use here. Hence the question - what due diligence have you done to check this PR?


Cross platform paths

Adds platform specific path separators.

I have tested this on windows 10 and on my manjaro setup.
Works like a charm.

Curious, is this mostly aesthetic or does this actually make a difference in behavior? I was under the impression that Windows allows / and \ to be used interchangeably, which is why I ask. My naive understanding of Windows suggests that this patch is mostly aesthetic, but please correct me if I'm misunderstanding.
Here's me being an elitist Linux/UNIX snob: adding support for Windows always makes code gross and ugly. (Sorry ~ just stating facts.)
What about when Windows users have absolute paths in their harpoon list? I recall patching harpoon to handle absolute paths, and we did so by checking whether the string starts with /.
This PR doesn't seem to address that part, and that part is more than aesthetic since it actually affects functionality.
How gross does the code become if it were to also support absolute paths on Windows? It's probably worth seeing that fully fleshed out before committing to supporting inferior development environments IMO.

Curious, is this mostly aesthetic or does this actually make a difference in behavior?

This change works for me.

I was under the impression that Windows allows / and \ to be used interchangeably, which is why I ask. My naive understanding of Windows suggests that this patch is mostly aesthetic, but please correct me if I'm misunderstanding.

I too was under the impression that this should work.
I unfortunately have to use windows on the regular for some time.
But now I use neovim nightly on wsl,So doing anything is less painful now, and no errors.

This change works for me.

I'm going to assume that you meant, "This change /makes it/ work for me." Thanks for confirming that it's not just aesthetic.
There are open issues about supporting absolute windows paths IIRC. It'd be great to extend this initial patch to resolve that issue so that we can truly say that harpoon supports Windows-style paths.

Surely, that will be great


Swapping to Allclose and RTOL=.00005 in spreg

Testing the swap to allclose and a relative tolerance of 1e-5 for spreg tests. Also, tightening the relaxation of the tests introduced in #694
We can start the target on dev just in case, and syncronize to master and private spreg if this passes.

Did we want this to go to master?

submitting now
--
ljw
On Fri, Oct 2, 2015 at 12:33 PM, Sergio Rey<EMAIL_ADDRESS>wrote:

Did we want this to go to master?
—
Reply to this email directly or view it on GitHub
https://github.com/pysal/pysal/pull/703#issuecomment-145133302.


An example of draw feature with snapping on dev.

If I have it I can use it out of the box instead of writing a custom plugin.
Is there an option to draw both feature and feature with snapping? I need them not to be mutually exclusive.

this is sorted. Thanks.


run_config.lua:54: attempt to index global 'buf' (a nil value)

I have a PANIC error I when running ESPBootloader. What is the proper way of fixing this?
Serial output displays over and over as init.lua is restarted.:
NodeMCU custom build by frightanic.com
branch: master
commit: c8037568571edb5c568c2f8231e4f8ce0683b883
SSL: false
modules: file,gpio,net,node,spi,tmr,u8g,uart,wifi
build 	built on: 2016-02-03 06:17
powered by Lua 5.1.4 on SDK 1.4.0

5
4
3
2
IP unavailable, waiting.
1
Enter configuration mode
Get available APs
Preparing HTML Form
PANIC: unprotected error in call to Lua API (run_config.lua:54: attempt to index global 'buf' (a nil value))
c_ÇRSöfJSúfJÃjîóïø

I have same issue.

Seems like the html file was in wrong location. Changing if (file.open('html/configform.html','r')) then to your html file location, solved this error.


Write the initial version of the guide

This repository arose from the discussion of some proposed amendments to our guidance for redistributors around handling the /usr/bin/python symlink on Unix-like systems: https://github.com/python/peps/pull/315
@warsaw pointed out that the "Migrations Notes" section in that PEP had kind of become a miscellaneous grab bag of potential problems to consider, rather than providing a clear and crisp definition of what we considered reasonable for redistributors to do.
We figure that by creating a separate "Redistributor's Guide", we'll have a place to document the things that both community and commercial redistributors will need to pay attention to in order to provide a good Python developer experience for their users:

expected command availability (python vs pythonX vs pythonX.Y)
binary ABI compatibility (especially in Python 2.7, with the narrow/wide distinction)
virtual environment and package management support
ensuring OpenSSL is kept up to date (and responsiveness to security issues in general)

As far as the overall guide structure goes, I'd like to adopt the basic layout now used in https://packaging.python.org/, where all content is classified as either a Tutorial, a Guide, or a Discussion.
While the "Tutorials" and "Guides" sections would likely start out empty, and we'd just have a single "Discussion" of issues to consider when managing a platform's migration from Python 2 to Python 3, I still think that's a good way of framing the different kinds of article that may be appropriate.

Thanks @ncoghlan !

Also see https://github.com/python/devguide/issues/252, as @VanL's guidance on the license selection for the developer guide will also be applicable here.

As per https://github.com/python/devguide/issues/252#issuecomment-322926658, I'll update the LICENSE file to use CC0 rather than the ASL.


Build fix: need to add -lpi_rpc to build ovs-vswitchd

P4-OvS fails to build, due to missing inclusion of the pi_rpc library, as reported in https://github.com/osinstom/P4-OvS/issues/4 ,
leading to undefined symbols:
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_mc_node_modify' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_mc_grp_create'
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_act_prof_grp_activate_mbr' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_update_device_end'
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_session_init' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_table_entry_modify_wkey'
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_counter_read' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_act_prof_grp_create'
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_meter_read_direct' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_destroy'
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_learn_config_set' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_act_prof_grp_remove_mbr'
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_act_prof_grp_add_mbr' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_act_prof_mbr_modify'
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_mc_grp_delete' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_act_prof_grp_deactivate_mbr'
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_act_prof_grp_fetch' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_meter_set'
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_mc_session_init' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_port_status_get'
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_init' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_counter_write_direct'
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_table_entries_fetch_one' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_act_prof_mbr_fetch'
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_remove_device' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_act_prof_entries_fetch_done'
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_batch_end' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_learn_msg_done'
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_session_cleanup' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_batch_begin'
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_counter_write' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_table_entries_fetch_wkey'
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_counter_read_direct' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_learn_msg_ack'
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_mc_node_delete' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_meter_read'
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_act_prof_entries_fetch' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_table_entry_modify'
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_act_prof_mbr_delete' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_act_prof_api_support'
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_mc_node_create' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_meter_set_direct'
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_mc_session_cleanup' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_table_entry_get_remaining_ttl'
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_clone_session_reset' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_mc_grp_detach_node'
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_act_prof_grp_delete' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_packetout_send'
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_act_prof_grp_set_mbrs' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_clone_session_set'
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_counter_hw_sync' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_act_prof_mbr_create'
/usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_mc_grp_attach_node' /usr/bin/ld: /usr/lib/libpi.so: undefined reference to _pi_table_idle_timeout_config_set'
This pull request adds the missing pi_rpc library to the automake.mk to fix the build issue.

Hi, thanks for the pull request. I see that Travis CI build is failing with the above change. It seems that pi_rpc library is not properly installed on the CI environment and cannot be found.
Could you tell me how did you build the PI library?
Moreover, I would suggest to include the additional library (pi_rpc) in p4rt/automake.mk

Hi, thanks for the pull request. I see that Travis CI build is failing with the above change. It seems that pi_rpc library is not properly installed on the CI environment and cannot be found.
Could you tell me how did you build the PI library?
Moreover, I would suggest to include the additional library (pi_rpc) in p4rt/automake.mk


Implicit casting breaks when passing arguments to a scope

Minimal example:
-- ::= import "core.ic"
for (0, 5 as u32) do [i: i64] {}

Error message (when built with -c dbg):
[140270949840712 ir/builder.cc:382 ApplyImplicitCasts] Unreachable code-path.
(u32, casting implicitly to, [](i64))
*** SIGABRT received at time=1638412917 on cpu 7 ***
PC: @     0x7f93602d2808  (unknown)  pthread_kill
    @          0x192c980         64  absl::WriteFailureInfo()
    @          0x192c664        224  absl::AbslFailureSignalHandler()
    @     0x7f936027e520  (unknown)  (unknown)
Aborted (core dumped)

It looks like we're trying to cast the u32 value to a slice of i64 for some reason? Very strange.
Also: any ideas why the stacktrace provided by absl is so awful here?

On the other hand, this code works when I didn't expect it to:
-- ::= import "core.ic"
io ::= import "io.ic"

for (125, 130) do [i: i8] {
  io.Print(i, !\n)
}

Output:
125
126
127
-128
-127

One more fun error with scope shenanigans:
-- ::= import "core.ic"
for (0, 5) do [i: *i8] {}

Error message:
[140398500611912 compiler/emit/scope_node.cc:231 EmitToBuffer] Not yet implemented.
(*(i8))
*** SIGABRT received at time=1638413290 on cpu 1 ***
PC: @     0x7fb112cb7808  (unknown)  pthread_kill
    @          0x192c980         64  absl::WriteFailureInfo()
    @          0x192c664        224  absl::AbslFailureSignalHandler()
    @     0x7fb112c63520  (unknown)  (unknown)
Aborted (core dumped)

Thanks for finding these.
The crashes are obviously bugs, but the non-crash is too. The cast of the integer 130 to i8 should be a compile-time error.
As currently implemented, the range type backing the for scope holds two i64s. We shouldn't allow the do block to operate on anything other than an i64. The casts here are almost certainly invoking UB.

One more for the pile. File name is "repro.ic":
file ::= import "file.ic"
file.With("repro.ic") open [f: *file.File] {}

Error message:
[140543188440904 compiler/emit/scope_node.cc:231 EmitToBuffer] Not yet implemented.
(*(struct.47190064))
*** SIGABRT received at time=1638551694 on cpu 3 ***
PC: @     0x7fd2c2dc8808  (unknown)  pthread_kill
    @          0x1933800         64  absl::WriteFailureInfo()
    @          0x19334e4        224  absl::AbslFailureSignalHandler()
    @     0x7fd2c2d74520  (unknown)  (unknown)

The correct scope state is a plain file.File, not a pointer to a File. This should be caught at type verification time, similar to the i8 example above.

Update now that scopes have been overhauled. The first code snippet produces a nice error message:
Error:
Expression cannot be called with the given arguments.

  2 | for (0, 5 as u32) do [i: i64] {}
  * scope (low: i64, high: i64) -- Parameter at index 1 cannot accept an argument of type `u32`

The second snippet (where we use i8 as the yielded value) still has the same behavior where the underlying i64 gets unsafely casted.
The third and fourth snippets (with [i: *i8] and [f: *file.File]) now run without any visible errors. This is really strange. I'm going to rename this issue to reflect the current state of things a bit better.

The i8 casting behavior is still a bug. The pointer snippets are technically correct right now, because we allow implicit casts from T to *T. This feels strange when thinking of *T as a C/C++-like pointer, but if we think of them more like references, this is entirely reasonable. It's just "pass by reference" semantics.
The more I explore scopes, the more I'm realizing that they're a fancy way to pass closures to another function (they're actually a bit more powerful than that). And so it's reasonable to think of a block itself as some sort of callable that gets passed into a scope and then invoked by the scope. The invoking scope doesn't need to care about the precise types of the parameters but only that the arguments it passes can bind. This allows us to do things like having generic blocks or having multiple blocks with the same name but different parameters (effectively an overload set). Imagine a variant visitation API:
visit (my_variant) as [n: i64] { io.Print("Found an integer") }
                   as [x: f64] { io.Print("Found a floating-point number") }
                   as [x: ~`T] { io.Print("Found something else") }

All said, I think this would feel a lot more familiar if instead of *, we used &. I don't know whether or not we should actually do that, but if you imagine reading it as for (0, 10) do [n: &i64] { ... }, this will probably feel a lot more reasonable.

I suppose the larger design question is whether we want to distinguish between nullable and non-nullable references. It does feel a bit strange to use *T for both.


columns duplicated in first row

Heya,
I downloaded your docker image and noticed that (at least for the LOCALITY_POINT table) the columns are duplicated as the first row of the table.
sqlite> select rowid, * from LOCALITY_POINT limit 2;
rowid|locality_point_pid|date_created|date_retired|locality_pid|planimetric_accuracy|longitude|latitude
1|LOCALITY_POINT_PID|DATE_CREATED|DATE_RETIRED|LOCALITY_PID|PLANIMETRIC_ACCURACY|LONGITUDE|LATITUDE
2|500224299|2019-08-03||500224299||127.517389|-28.350204

I've updated the SQLite3 version, which supports skipping the first row of the CSV.

Thanks @ggotti, I was inspired by your work to have a play around with GNAF & SQLite, ended up writing a blog post about it https://geocode.earth/blog/2021/exploring-gnaf-with-sqlite/ cheers 👍


Awestruct Extension::Google+ -> Event

Using the Extension::Event stream, we can publish new events to our Google+ page.
g+ -> A new video was added: [link]
g+ -> A new guide was added: [link]

g+ is currently missing API for posts

depends on #21


helm documentation not well rendered in non mobile context via browesr

/kind bug
Output of helm version:
Output of kubectl version:
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
Tested: Chrome Firefox on MACOS 10.12.6, working on mobile. (mobile is strangely rendered also)
INSTALLATION FAQ bug on desktop browsers

I believe this has been fixed via helm/helm-www#99. Can you confirm? If not would you mind opening a new ticket there? THanks!

Closing as I believe this has been fixed and to follow-up in helm-www if not.


*: Fix time step backward for Stopwatch::elapsedFromLastTime

What problem does this PR solve?
Issue Number: close https://github.com/pingcap/tiflash/issues/8336
Problem Summary:
What is changed and how it works?
Use nanosecondsWithBound to ensure the return value is not less than last_ns in elapsedFromLastTime
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/rebuild

/run-all-tests

/run-all-tests

/run-all-tests

/rebuild

/run-all-tests

/run-all-tests

/run-unit-test

/run-unit-test

/run-integration-test

/run-unit-test

/run-unit-test


Default example seed phrase too short

Currently it shows a 9 word seed phrase, let's show 12 words instead, as a good example for users.

Currently, the maximum size is 64 characters.
<Input
type={this.state.showPassword ? "text" : "password"}
maxLength="64"
onChange={(e) => this.setState({secretPhrase: e.target.value})}
placeholder="Secret phrase. e.g. hush puppy washington heros paris money bag time grey"
/>

For exemple, the 12 words list below is 71 characters long and will be truncated:
'hush puppy washington heros paris money bag time grey seed good example'

Ok, closing this


Lift definition of keys that are not module-specific to the Global scope

This reduces the amount of key references that the plugin brings (by ~350 on a project with 16 modules where akka-grpc is enabled - this can probably be improved further by leveraging this in akka-grpc).

The first commit is a no-op functionally, as constants can always be declared "higher" in the scope delegation hierarchy, without impacting the ability for clients to redefine them at any scope.
The second commit is a follow-up of https://github.com/thesamet/sbt-protoc/commit/20b2a2a75a4c336511a16c6b5f58423ef1d3bcc2#r41705732. The benefit is that we don't need to retrieve and store a ~5MB local binary for every single module where the plugin is enabled - there is of course a Coursier cache, but it does add a bit of runtime overhead on cold builds, and storage overhead everywhere.
Last commit is not really related, but cannot hurt

Thanks for putting this together. Wouldn't it be easy to remove the limitation that different protoc versions can't be use by different projects by having a global (or per root project) cache of protocs keyed by version? ScalaPB itself uses two version of protoc (that presently are both set to 3.13.0) - one for ScalaPB itself which tries to keep up with the latest protoc/protobuf-java. We pin the protobuf version used by ScalaPB code generator, to ensure binary compatibility with other generators (akka-grpc). Making this change right now wouldn't cause a problem since the versions are aligned, but would require lock-step updates when a breaking change to protoc/protobuf-java arrives.

@thesamet I have reworked the second commit, removing the requirement of a single protoc version per build

@thesamet this is ready for another review

Thanks. I rebased on top of another change I had locally and committed as f6070ef into master. Can you try it out?

@thesamet just gave it a try over 1.0.0-RC2 on my akka-grpc-backed project with many modules, and it works well
 $ du --exclude=".git" -s
-206684	.
+106264	.
+$ du ~/.cache/protocbridge/v1/protoc-linux-x86_64-3.13.0
+5100	/home/bjaglin/.cache/protocbridge/v1/protoc-linux-x86_64-3.13.0

-[info] resolving key references (76141 settings) ...
+[info] resolving key references (75774 settings) ...

Maybe it's worth mentioning the default cache location in the CHANGELOG?

Thanks for trying it out and reporting. I updated the changelog https://github.com/thesamet/sbt-protoc/blob/master/CHANGELOG.md#100-rc3


generate custom_id if param is None

Summary

Sets the default argument of Select.__init__ custom_id to None and type it to Optional[str].
Now generates random id if custom_id is None instead of MISSING.

This fixes an issue where an HTTPException is raised if custom_id = None
Also fixes nextcord.ui.Select by making it have the same custom_id scheme as nextcord.ui.Button
Checklist

[x] If code changes were made then they have been tested.

[x] I have updated the documentation to reflect the changes.

[x] This PR fixes an issue.
[ ] This PR adds something new (e.g. new method or parameters).
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[ ] This PR is not a code change (e.g. documentation, README, ...)

See https://discord.com/channels/881118111967883295/881118112492191796/889567037754589294 in the nextcord discord


How to do PKCE authentication callback?

I'm trying to do a PKCE authentication flow (as outlined here: https://github.com/authts/oidc-client-ts/blob/main/docs/protocols/authorization-code-grant-with-pkce.md)
I've seen a previous issue that says this is supported by this library, but it's not clear to me how this is done, since the signinCallback() method isn't exposed and I don't see any sort of "callbackUrl" property on any of the sign-in methods that are.
How do I make that callback request after authenticating (with something like auth.signinRedirect())?
Edit: After some digging, it looks like this is automatically done if the appropriate parameters are detected in the url. Is that right? But I don't see a way to specify what that callback url should be.

Edit: After some digging, it looks like this is automatically done if the appropriate parameters are detected in the url. Is that right? But I don't see a way to specify what that callback url should be.

Correct the callback if properly configured is handled within this library. See https://github.com/authts/react-oidc-context/blob/74a09c0304b8e43dc8aa41221b2b9afdc24ba374/src/AuthProvider.tsx#L196_L210

Thanks. But it doesn't look like the library allows a URL to be specified for that callback, even though the oidc-client-ts does. Would this just be something I have to do myself then if I need to callback to a particular URL?

The callback URL configuration can be passed into like in oidc-client-ts via redirect_uri...
const oidcConfig = {
  authority: "<your authority>",
  client_id: "<your client id>",
  redirect_uri: "<your redirect uri>",
  // ...
};

The callback itself is handled within this library. From the README.md:

Additionally it intercepts the auth redirects by looking at the query/fragment parameters and acts accordingly. You still need to setup a redirect uri, which must point to your application, but you do not need to create that route.


Installation failure

I tried to install goofys in Ubuntu 16.04 under Docker environment, but got the following error.
package github.com/kahing/goofys/vendor/github.com/aws/aws-sdk-go/aws: /go/src/github.com/kahing/goofys/vendor/github.com/aws/aws-sdk-go/.git exists but is not a directory

Installation  commands are the following. Is this bug? I did not get any error several weeks ago.
RUN add-apt-repository ppa:longsleep/golang-backports
RUN apt-get update && apt-get install -y golang-go fuse
ENV GOPATH $HOME/go
ENV PATH $PATH:$GOPATH/bin
RUN go get -u -d github.com/kahing/goofys
RUN go install github.com/kahing/goofys

You need at least go 1.6 to build goofys

RUN add-apt-repository ppa:longsleep/golang-backports
RUN apt-get update && apt-get install -y golang-go fuse

This commands allow me to install go 1.8
I downgraded to 1.6 but got different error.
package context: unrecognized import path "context" (import path does not begin with hostname)

I can reproduce
package github.com/kahing/goofys/vendor/github.com/aws/aws-sdk-go/aws: /tmp/go/src/github.com/kahing/goofys/vendor/github.com/aws/aws-sdk-go/.git exists but is not a directory

but I am not sure why it's happening at first glance (traveling at the moment), but as of 04ee797b5208a3c9c33b8988d255a7e1ed2a2390 you should be able to ignore that and do go install anyway

It worked when I tried
RUN go get -d github.com/kahing/goofys

just removing option -u


no postgresql?

Search before asking

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

Description
no postgresql?
Usage Scenario
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

请描述清除问题

请描述清楚问题。

postgresql数据库脚本有吗

postgresql数据库脚本有吗

之前有，现在没有了，等数据库的表结构稳定了再提供


Updating function names

Hello,
I made a few pull requests because I'm using this component on a project and thought that we could set a better organization by defining some function names differently.
Some suggestions:

renderYup to renderSwipedRight

renderNope to renderSwipedLeft

renderMaybe to renderSwipedUp (based on a PR #70)

handleYup to onSwipeRight

handleNope to onSwipeLeft

handleMaybe to onSwipeUp (based on a PR #70)

yup to swipeRight (based on PR #71)

nope to swipeLeft (based on PR #71)

maybe to swipeUp (based on PR #70 and #71)

cardRemoved to onCardRemoved

renderNoMoreCards to renderEmpty

I didn't take too much time to think about it because I believe I just first talk to the contributors to just make it better. I guess after some discussion we might get to some more conclusions like yupStyle and yupTextStyle.
Another suggestion would be to group all styles props to one or two props and nested categories inside to keep the component cleaner when including in a project.
I thinks this changes would be nice to make the component more generic and consistent.
I also think that there should be some fallbacks for those users that were using before updates.
Looking foward to know your opinions on that.

By the way, I forgot to say...
I'm using the maybe option (#70) because on my project it's exactly that name, but the new swipe up action is actually present on Tinder now as super like. So I guess any action might have a different purpose for each project.

@esganzerla I agree with you. We are using this plugin to present a list in swipe card format. For example, "Maybe" direction is going to be used as details, and it is not semantic. It is an amazing plugin, let's make it universal.


[Doc] Supported properties map

I miss the map with all the existing properties in React Native and the equivalent in Styled Components.
This would be very useful for both beginners and consultants alike.
A simple table with all properties:

React Native
Styled Components

backgroundColor
background-color

:+1: Does anybody want to look at this? The shorthand properties we support are here


Copy Member / Rename member

Hi,
I can't see these options in UI am I missing them?
Thanks!

Thanks for trying our extension. For the interactions to z/OS we do not write our own code, but currently utilize packages from the Zowe Open Source project such as the Zowe CLI (https://github.com/zowe/zowe-cli) and Zowe Explorer (https://github.com/zowe/vscode-extension-for-zowe).  Could you file these enhancements requests there, please, as they are different projects?