Blip2 vicuna instruct

Do you have a train config for blip2 vicuna instruct?
Currently, using a vqa dataset with "blip_question" text processors and a vqa task, I encounter an error at this line (https://github.com/salesforce/LAVIS/blob/main/lavis/models/blip2_models/blip2_vicuna_instruct.py#L195) where 'text_output' does not exist (only 'text_input' does).
Thanks!

I think you should reimplement vqa dataset, make text_output exists in the training sample.

That could work - what is the 'text_output' field intended to represent?
But also, I mostly want to replicate the authors' training first! None of the datasets (e.g. okvqa) currently have 'text_output' field?

Thanks for your question.
Yes you need to reimplement vqa dataset. It is suggested to write a wrapper class using exiting dataset classes. The "text_input" returns the instruction (e.g. "Question: {question} Answer:"). The "text_output" returns the answer.

Thanks for your question. Yes you need to reimplement vqa dataset. It is suggested to write a wrapper class using exiting dataset classes. The "text_input" returns the instruction (e.g. "Question: {question} Answer:"). The "text_output" returns the answer.

So did you just select one of the answers to be the text_output, since vqa has lots of possible answers?

So have you experimented with this? What's the format of 'text_output'? Besides, I'm not clear whether 'answers' and 'weights' are still necessary for instructblip. Thank you!

Thanks for your question. Yes you need to reimplement vqa dataset. It is suggested to write a wrapper class using exiting dataset classes. The "text_input" returns the instruction (e.g. "Question: {question} Answer:"). The "text_output" returns the answer.

So did you just select one of the answers to be the text_output, since vqa has lots of possible answers?

So have you experimented with this? What's the format of 'text_output'? Besides, I'm not clear whether 'answers' and 'weights' are still necessary for instructblip. Thank you!

@dydxdt Hi, may I ask if you have experimented with this? I am also confused about the "answers" and "weights" when using blip2 or instructblip. Thanks!


egui version is outdated

egui has changed a few things around in 0.16 and will change a few more things like font families in 0.17 . this library doesn't work with egui 0.16 or the present master (0.17 in future) branch.
any chance that this will get updated to work with those versions?
I really like the style editor btw. feels so clean when editing a style.

Apologies for the late reply on this. I am actually in the process of working to update this and the underlying theme editor to the latest version.


Allow for unnamed requests and display the url as the name

Expected Behavior
The issue specified in https://github.com/Kong/insomnia/issues/1505 is still not available. I should be seeing an experience as what is mentioned in https://github.com/Kong/insomnia/pull/2230
Actual Behavior
I am still seeing everything as "New Request"
Reproduction Steps
Create a new request using the + symbol and dont name it
Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
No response
Insomnia Version
10.0.0
What operating system are you using?
Windows
Operating System Version
Win 11
Installation method
download from portal
Last Known Working Insomnia version
No response

Yes, I think this is a very good idea indeed. Let me see if it can be quickly implemented.


speed up unittests for multiple python versions

improve: make check
(pytest & mypy)
add parallelisation in tox.ini/makefile
hints:     pytest-xdist, parallel_show_output = true
...

some good info here: https://hynek.me/articles/turbo-charge-tox/


README.md needs updating

README.md needs updating to be consistent with hyperledger/fabric as the two projects are interrelated.
I'm submitting a PR for this shortly.

oops, somehow missed @srderson PR #2 that addresses my concerns... closing.


Support many entries to backup

Currently only one folder can be backed up. This should be extended to many entries.
It's not as easy feature as it may seem. Many places will require changing PathBuf or Path to array or vector.
Another problem is specifying paths that overlap each other, eg.
/data/media
/data/media/videos

If overlaping won't be handled properly then folder videos will be backed up twice and what's worse files from videos would be indexed twice as well (every file would have two entries in index.txt).
On the other hand, paths may share common prefix and don't overlap, eg.
/data/media/pictures
/data/media/videos

The easiest way of handling this would be checking every two paths if one is a subpath of the other. If it is then subpath remains on the list and the other one is removed with warning printed. Good implementation should also support situation of having two exactly the same paths.
Of course, malicious symlinks can ruin everything but links are not supported at all for now.

Overlapping paths will be delivered  for another issue: #25. This item covers backing up many entries without checks if they overlap.


Fix bug where no oyster cards present, add contactless

The first fix is to make sure the integration doesn't error out like in #260 . Secondly, we should be pulling through contactless data as well as oyster card data as that is a very popular way of paying for journeys.
I need to pay for some journeys on my contactless card this week so I can see the data structure. Once I've done that, I'll ensure we loop through all Oyster and contactless cards on the account and aggregate all the journeys

Now pulls through journeys for all contactless and all oyster cards associated with the account (I have one of each):

@corradio would be great if you can have another look to see what you think. I've tested it with no oyster and/or no contactless on the account and it still works

Nice! Let me know if there are any further bugs and I'll try my best to help

thanks!
On Wed, Dec 11, 2019 at 10:14 PM Liam Garrison<EMAIL_ADDRESS>wrote:

Nice! Let me know if there are any further bugs and I'll try my best to
help
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/tmrowco/tmrowapp-contrib/pull/270?email_source=notifications&email_token=AAMUIKFLQZ5JBAROK7UXAELQYFJ33A5CNFSM4JYBENWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGUS5XI#issuecomment-564735709,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMUIKAPJZTKZUNLYSQHKGLQYFJ33ANCNFSM4JYBENWA
.

--
Olivier Corradi
Founder, CEO
https://www.linkedin.com/in/oliviercorradi https://twitter.com/corradio
tmrow.com


Validate fallback configuration during admission process

Proposal
Currently, fallback feature only supports AverageValue metrics type and it doesn't support CPU and Memory.

To prevent misconfigurations and confusions related with these limitations, we should include a validation for them during the admission process

Hi @JorTurFer

Thanks @guopeng0 ! ❤


No xclbin.ex.run_summary is produced by vaitrace

Hi, I'm using the simple DPU design in Figure "design" with the presets in Figure "zynqultrascale_preset".

I followed what written in the vaitrace documentation. I've used Vivado 2022.2 to build the XSA platform in figure and petalinux 2022.2 to build the linux project and Vitis-AI 3 (github master branch) for the acceleration framework. The project was created starting from the BSP of the ZCU102 for the version 2022.2 (just to be clear petalinux-create -t project -s zcu102_2022.2.bsp -n project_name). For the inference part it works like charm but when I want to trace the 2 core execution 2 thing happened:

I have a float division by zero error in "efficiency" variable computation as reported in figure below

Clearly, the error was caused by this line, and suppose just for a moment we can hardcode efficiency to 0 just to bypass the previous issue

With this modification no other errors are thrown and the vaitrace for the resnet50_mt_py with 2 threads finish its execution as reported

The problem here is that only the following files were created and no xclbin.run_summary was created.

Can you please help me to get trace files for multicore DPU? It is very important for me to solve this issue as soon as possible
Thank you,
Edoardo

hi @Edocit
q1: maybe you not open CONFIG_FTRACE ,if your log show:
WARNING:root:No such file or directory: '/sys/kernel/debug/tracing/trace_clock'
WARNING:root:CPU function tracing feature is disabled
so vaitrace can not get clock.
q2: xclbin.run_summary has been replaced by xrt.run_summary, but i can not find your result has the file.
we follow  your flow and execute some command and xrt.run_summary has beeb create.

Closing since no activity for more than 1 month, please reopen if you still have question, thanks

Hi @Edocit ,
I'm also having the same issue, vaitrace not generating the .run_summary file.
Can you help me by sharing what did you do to get it working?


Use strlcpy/strlcat/snprintf instead of strcpy/strcat/sprintf

Use safe string functions throughout, except a couple of places that are already changed by other PRs.  Add HAVE_STRLCPY, HAVE_STRLCAT for compatibility.

SUSv3 is fine on MacOS -- this appears to be a SUSv2 error specific to darwin.

Oh, no.  Actually using STD=SUSv3 is fine on Mac, but STD=MACOS is not!  Argh.

Errors like this, appear to come from redefinitions to some kind of "secure" compilation:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/secure/_common.h:39:53: note:
      expanded from macro '__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIF...
                                                    ^
In file included from main.c:21:
In file included from ./less.h:235:
./funcs.h:17:15: warning: type specifier missing, defaults to 'int'
      [-Wimplicit-int]
extern size_t strlcat(char *, const char *, size_t);
              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/secure/_string.h:111:44: note:
      expanded from macro 'strlcat'
  __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
                                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/secure/_common.h:39:31: note:
      expanded from macro '__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIF...
                              ^

So I've rebased, added my own commit to fix MacOS, and committed all these:
commit 031b732dd833e2c5d9bd9d83a7b2d570e5342ec7
Author: Garrett D'Amore<EMAIL_ADDRESS>Date:   Thu Nov 5 11:44:47 2015 -0800

    MacOS has strlcpy & strlcat.

commit bae8e7f53b169246aeced7bd3a0f87aaf89d0de5
Author: Nicholas Marriott<EMAIL_ADDRESS>Date:   Thu Nov 5 09:10:46 2015 +0000

    Use snprintf instead of strcpy/strcat in mkpathname(), and check
    calloc return value.

commit d27fc43fa45ef99b7312d5ec63d07867e795513d
Author: Nicholas Marriott<EMAIL_ADDRESS>Date:   Thu Nov 5 09:05:21 2015 +0000

    Slightly more involved conversions of strcpy/strcat/sprintf to
    strlcpy/strlcat/snprintf.

commit 2e75ff0a90bc668c0436330d0b81a6ac2db4f7b7
Author: Nicholas Marriott<EMAIL_ADDRESS>Date:   Thu Nov 5 08:58:23 2015 +0000

    Obvious replacements of strcat/strcpy/snprintf with
    strlcat/strlcpy/snprintf, from OpenBSD.

commit e3018f0e9d182992e9b35f46a0ced7323e82bb5f
Author: Nicholas Marriott<EMAIL_ADDRESS>Date:   Thu Nov 5 08:54:34 2015 +0000

    Add strlcpy.c and strlcat.c from OpenBSD as fallbacks for platforms without
    them, using HAVE_STRLCPY and HAVE_STRLCAT defines to disable them (like
    HAVE_VASPRINTF).

commit d686902e210780152c46c6b0d5d7e32f2f49eb9e
Author: Nicholas Marriott<EMAIL_ADDRESS>Date:   Thu Nov 5 08:49:35 2015 +0000

    Use strlcpy() instead of strcpy() in postoa, linenumtoa, inttoa.
    From OpenBSD.


Allow a custom Host header to be written

TrackerUrl: https://www.pivotaltracker.com/story/show/183410507

Related PR in main repo: https://github.com/Printavo/Printavo/pull/3029


Calculating price when enrolling

When I try to enroll for an activity with priced options, I should be able to see the total price (activity + options) at the bottom of the page. However, on staging and ia-beta, this calculating (done by jquery?) does not actually work. Thus it probably also does not work on live.
One issue I found is that it calls a 'replace' method which is defined for Strings but not for a float/double on which it is actually called.
The price is correctly withdrawn from the person, just not shown correctly on the page where you select your preferences for enrollmentoptions.

This is a relatively easy fix as it is indeed the result of the string vs floats/ doubles. Therefore, it only needs to be cast to a String or the Float/Double needs to be handled differently in the calculation.

This seems to be working on both production, staging as well as beta using both Chrome, Firefox and even Edge. Therefore, I'm closing this issue.


Enable events and prometheus to automatically be enabled on new clusters

I see that this has been talked about before, https://github.com/Dynatrace/dynatrace-operator/issues/884, where people would like to have the Prometheus integration and Event ingestion automatically turned on. The previous reply stated that this was going to be worked on, and I wanted to check if that was still the case, or do we need to manually script out to fix the Dynatrace Kubernetes integration every time a new cluster is stood up?

Thank you for opening a Dynatrace Operator Issue. We've identified and tagged the issue as a "Feature request".
Dynatrace reviews feature requests in the Dynatrace community rather than Github. This helps our team consolidate, rank, and prioritize important input like yours.
Please search for similar requests, collaborate, and ask questions using the link above. Remember to add the labels "kubernetes" and "dynatrace-operator" to help get the attention you deserve.
Thanks for your help!

Thank you. I have submitted a product idea for this as I couldn't find any that already asked for this feature.
https://community.dynatrace.com/t5/Dynatrace-product-ideas/Dynatrace-Operator-yaml-to-turn-on-Events-ingestion-and/idi-p/198079


Merge iOS and Android hotfix branches

This PR merges into master the current hotfix branches for the legacy Android app and the iOS app:

https://github.com/ACINQ/phoenix/tree/android-legacy-hotfix (android 1.4.23, 1.4.24)
https://github.com/ACINQ/phoenix/tree/ios-hotfix (iOS 1.5.2, 1.5.3, 1.5.4)

Which contain fixes for the legacy trampoline bits and lnurl-auth.

A file managed to sneak into the repository using 2 different names: "LNUrlManager.kt" & "LnurlManager.kt"
This caused some confusion on my machine, which has a case-insensitive filesystem. So I tried to fix that.
I also added some unit tests to check for deserialization problems concerning the class name changes. Everything looks good.


Add OpenSeaMap layer to maps, enable it by default

As OpenStreetMap is used for maps, it makes sense to also show additional OpenSeaMap layer on the map.
This PR adds OpenSeaMap layer to all maps and enables it by default.
Old default (OpenStreetMap):

New default (OpenStreetMap + OpenSeaMap):

Awesome, great idea, thanks


Unable to change geographic location : UK example

While I tried to run the example using country_code as UK instead of US and changed demographics , zipcodes and hospitals file I got the following error.
Running with options:
Population: 1
Seed: 0
Location: Shrewsbury, West Midlands
Min Age: 0
Max Age: 140
java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011)
at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006)
at org.mitre.synthea.world.agents.Person.setProvider(Person.java:406)
at org.mitre.synthea.world.agents.Person.setProvider(Person.java:411)
at org.mitre.synthea.world.agents.Person.getProvider(Person.java:399)
at org.mitre.synthea.world.agents.Person.encounterStart(Person.java:336)
at org.mitre.synthea.modules.EncounterModule.process(EncounterModule.java:62)
at org.mitre.synthea.engine.Generator.generatePerson(Generator.java:312)
at org.mitre.synthea.engine.Generator.lambda$run$2(Generator.java:233)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
{alive=0, dead=0}

@jawalonoski Would synthea team consider adding a country code to the patient table?

Maybe there could be seperate git repositories that can be used to overlay the resources folder?  I think once this gets going and there are country contributions the repo size will grow out of control.

Would synthea team consider adding a country code to the patient table?

Yes.

Maybe there could be seperate git repository for international work that can be used to overlay the resources folder with a static library of the synthea code? I think once this gets going and there are country contributions the java source code repo size will grow out of control.

Agreed. I will create another repository, called synthea-international or something like that, once I get this other_area_fixes branch passing the unit tests.

@scivm Please see https://github.com/synthetichealth/synthea-international as a repository where we can accumulate international resource folders.

Ok.  I will send a pull request this weekend.
On Thu, Feb 6, 2020, 10:21 PM Jason Walonoski<EMAIL_ADDRESS>wrote:

@scivm https://github.com/scivm Please see
https://github.com/synthetichealth/synthea-international as a repository
where we can accumulate international resource folders.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/synthetichealth/synthea/issues/640?email_source=notifications&email_token=ABKVT7JIDS7JOGXIQBEY5U3RBRWMFA5CNFSM4KJMHUT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELAUTIY#issuecomment-583092643,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABKVT7MFXW6URR5U4QIE6O3RBRWMFANCNFSM4KJMHUTQ
.

Hi,
Just clones this branch and copied into place the stuff from https://github.com/synthetichealth/synthea-international
Like mentioned above it still has a problem with medicade
Min Age: 0
Max Age: 140
java.lang.RuntimeException: ERROR: Government Payer 'Medicare' does not exist.
at org.mitre.synthea.world.agents.Payer.getGovernmentPayer(Payer.java:264)
at org.mitre.synthea.modules.HealthInsuranceModule.determineInsurance(HealthInsuranceModule.java:80)
at org.mitre.synthea.modules.HealthInsuranceModule.process(HealthInsuranceModule.java:54)
at org.mitre.synthea.engine.Generator.generatePerson(Generator.java:342)
at org.mitre.synthea.engine.Generator.lambda$run$2(Generator.java:259)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
SLF4J: Class path contains multiple SLF4J bindings.
The synthea.properties file has:
Payers
generate.payers.insurance_companies.default_file = payers/insurance_companies_uk.csv
generate.payers.insurance_companies.medicare = National Health Service
generate.payers.insurance_companies.medicaid = National Health Service
generate.payers.insurance_companies.dual_eligible = National Health Service

I had to change the insurance_companies_uk.csv to:
,id,name,address,city,state_headquartered,zip,phone,states_covered,services_covered,deductible,default_coinsurance,default_copay,monthly_premium,ownership
0,10001,National Health Service,Richmond House 79 Whitehall,Westminster,Greater London,SW1A 2NS,111,,,0,0.0,0,0,Government
1,10002,Medicare,Richmond House 79 Whitehall,Westminster,Greater London,SW1A 2NS,111,,,0,0.0,0,0,Government
2,10003,Medicaid,Richmond House 79 Whitehall,Westminster,Greater London,SW1A 2NS,111,,,0,0.0,0,0,Government
3,10004,Dual Eligible,Richmond House 79 Whitehall,Westminster,Greater London,SW1A 2NS,111,,,0,0.0,0,0,Government
as a workaround :-)

@andyt530 Thank you for the verification, appreciated. I haven't finished making changes for other_area_fixes branch yet. More changes will be forthcoming.

This should be fixed now with the merging of #643


Basemap

This iterates upon #81 , using Bunch for auto-completion when choosing the basemap.
Fixes #81

@DavideDeMarchi  in your PR and in this one, the MODIS base map don't seem to be displaying anything. They are the only ones requiring the date as part of the URL.

I'm not sure... but the default for MODIS is to display the image for TODAY which is dynamically updated during the day from East to West following the sun, so it could be a black image for part of the globe, depending on current time. Maybe it's better to display the YESTERDAY image if no modisdate parameter is passed.

OK, I was displaying the maps at a zoom level that was not provided by this service.


HOWTO: add top border radius

:wave: Hi, that's cool package! It makes very easy date input!
:sleepy: But in design of the app that I'm currently creating exist only rounded ModalBottomSheet widgets.
:eyes: Is there any way to add border radius for DatePicker ?
Like this:

@Frezyx I just created a PR with the feature you requested :)
https://github.com/Realank/flutter_datetime_picker/pull/282


Add file input to WebView

Fixes #5219 which was moved to ProductPains. Allows file input in a webview. Previously attempting to use file input would do nothing in the webview. Now the default dialog is shown allowing you to pick Camera to take a picture or Photos/Gallery to select an existing photo.
The problem in fixing this before was that this was accomplished by using undocumented APIs for earlier versions of Android. However, for 5.0+ there is a documented API for this. Since there is no documented way to fix this for earlier versions of Android, it seems better to have a solution for 5.0+ than no solution at all.
Based on this example: https://github.com/GoogleChrome/chromium-webview-samples/tree/master/input-file-example/
The ActivityEventListener does not work if it is attached to the ThemedReactContext itself but needs to be added to the original ReactContext similar to how LifecycleEventListener is handled.

works perfectly for me! just want we need.

Tested manually on: Samsung Galaxy S7 Edge, Samsung Galaxy S5, Nexus 6P emulator, LG v20

Fixes #11230

Any update or ETA on this?

Sadly no one has reviewed it yet.

Would be great to see this merged. @jacobp100

Sorry, I don't have power to merge things! The code looks good, but I just have a few questions,
Is it possible to handle this use-case using #10946? I know that PR hasn't landed, but it is useful for other reviewers to know.
Does this work for things uploads than images?
What happens if a user is on an older version of Android?

To answer your questions:

No, I believe the changes to ThemedReactContext would still be necessary for this to work even with #10946
I don't believe so. I was unable to select an audio file for a file input with no accept attribute.
I cannot say for sure without testing on a real device but on a JellyBean AVD Nexus 5 (emulator), when clicking/tapping a file input, nothing happens. Same with KitKat Nexus 5 AVD. On Nexus 5 emulator with a later version of Android, it works.

Anyone know who needs pinging to get this reviewed?

@headlessme @farazs I think the ThemedReactContext changes should be fine to go in.
If the ThemedReactContext changes did get merged, I believe you would be able to implement this with said PR. That would mean we don't have to review things like device compatibility or consider uploading use cases for things other than images.

sounds good. I can update the PR to include only those changes.
I'm not sure how close that PR is to being merged though. Is it possible it becomes stale and does not end up being merged?

I'm working hard with the author to get it published soon!

Why doesn't anymore merge it? We need it ASAP

Any update ?

#10946 has still not been merged and so if this PR will not be merged as is. It's not possible to implement this using that until it is merged and released in a new RN version.

I'm interested in this merge also.

Also interested in this merge

doesn't look like that PR is going to be merged any time soon so I think this should probably be merged separately.
I'm not sure anyone who is able to merge this has even had a look. not sure how to bring it to their attention.

For anyone who needs to use this in your code your best bet is to create a react native fork and add this code to it.

I'm sorry it has taken this long to get the PR through. Based on the different issues and PRs that people have raised against WebView, I think this is a component that is probably best provided through a external package, rather than something that is bundled into the core of React Native. What do you think?

Is that something that is going to happen in the near future? If so I can create a PR for that external package but I'm not sure it exists for Android WebView at the moment (though there is one for iOS).

Some of the code that would let you do this as an external package has already been merged

Looks like we're waiting on #15016 now

Hey @hramos. I agree this would work as an external package.
That would be a lot easier if #15016 was merged. Would you mind looking at that PR (I see you're already set as a reviewer)?

@farazs
this PR can support file multiple choice ?

@mantou132 I'm not sure what you mean by that, but you're welcome to try it out and see! :)

multiple file &  MIME type：
        if (fileChooserParams.getMode() == FileChooserParams.MODE_OPEN_MULTIPLE) {
          contentSelectionIntent.putExtra(Intent.EXTRA_ALLOW_MULTIPLE);
        }
        ...
        contentSelectionIntent.setType(fileChooserParams.getAcceptTypes()[0] || "*/*");

Also do not need to set the title：
chooserIntent.putExtra(Intent.EXTRA_TITLE, "Image Chooser");

It seems like #15016 was approved, any chance this might be merged anytime soon?

I need this too 😢 , any chance it's coming soon ?

I need this too T____T

Need this too :-)

Please go ahead and and split this out into a separate package, now that the other PR has landed.

@farazs Now that https://github.com/facebook/react-native/pull/15016 is merged, is it possible to implement WebView file upload either ourselves or as an external package? I'm looking at it, but I haven't yet figured out yet if that'd work. Or is a RN fork still the best option?

Here's a sample of what I did to get Android WebView file upload working in my project, in case it is helpful to anyone else.
I suspect one could make an external package based off of that, but I've not dove in to that.
Hope it helps someone!

this is terrible! why would this be split up in a different package?
for the sake of argument, this package can become stale and not get any new features that get added to react-native.
@farazs could this work/be made as a higherordercomponent?

Still waiting for this, with an app which should've gone into production a long time ago.
@farazs  or anyone else, what can be done to get this feature added?

WebView accounts for a good chunk of issues opened on the repo, but these issues don't seem to affect Facebook's own internal use cases. This is why I highly recommend that the community step in and provide a WebView module.

@yihanseattle @farazs
Hi friends, I want this merge feature too.
But I don't know how to add the change into my local project .

@yihanseattle  the change of this PR works? could you share some experience?

@guguji5 I'm not sure what you mean. Even without support for , the issue is that nothing happens in the webview. Are you saying the element itself is not in your webview? That may be an issue with the page you are trying to load.
You would need to fork react native, apply these changes to that fork, and then use that fork when building your application. See https://facebook.github.io/react-native/docs/building-from-source.html

We are using these changes in production so they definitely do work for me. master may have diverged from this branch significantly so the changes might need to be altered slightly.

@farazs yes. I can't see the element  input type=file of my page in the android webview. it's a little weird.

@farazs  I modify the react native file in the node_module folder of my project according to this PR changes, and run react-native run-android . But it seems nothing changed.

@guguji5 Please see the link I posted. Editing the node_modules folder is not sufficient to get your project to build the source from there.

@farazs ok .thank you very much.

Hope this answer will help you.


[Features] Instances in the zookeeper cluster support roles

What is the user interaction of your feature
A concise description of user interactions or user stories of your feature request
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
If this is a new feature, please describe the motivation and goals.
A clear and concise description of why you want to happen, link the design doc if possible
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Complete in https://github.com/apecloud/kubeblocks-addons/blob/main/addons/zookeeper/templates/cmpd.yaml


[Automation] Generate Fluent Lite from hybridcompute#package-preview-2021-03

[Automation] Generate Fluent Lite from hybridcompute#package-preview-2021-03

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-resourcemanager-hybridcompute


[Event Request] Report 2 General Journal Test - OnAfterCheckBalAccountNo

Hi Team,
In Report 2 we need possibility to have our additional checks . Having event in the trigger OnAfterGetRecord, would be a perfect solution :

[IntegrationEvent(true, false)]
local procedure OnAfterCheckBalAccountNo(GenJournalLine: Record "Gen. Journal Line")

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


forgAE improvements on hold

This epic will store all of the future improvements that will be implemented but for now are on hold for some reason

cleaning up old issues. feel free to re-open if still relevant


Date picker does not close after selecting/changing a date only on IPhone IOS

I am seeing this issue only on iPhone/safari - works fine on desktop, did any one else face this issue? Also when I inspect in mobile view on chrome the problem is there, works totally fine on desktop. Tried adding a ref and doing this.refs[calender].setOpen(false) - getting setOPen of undefined error here..

Issue is gone if I use the CustomInput.

Does this still happen with 0.37.0?

Could this be related to #597?


Fix for char offset range component generation edge case.

This fixes generating a range component between a text node in an element node and a text node with the same parent as the element node.

@blueimp I can start reviewing this


Route path travel time prediction

Design a system to collect the reported trolley location data in a way that it can be analyzed to predict travel times, and eventually arrival times at any particular user's stop.

Travel time history - flat text file with trolley location reports from 12/2015 through 5/22/2016.  https://www.dropbox.com/s/o623kliawf0dtzl/TrolleyLocationHistory.zip?dl=0

Plan of attack:

API provides "most recently seen" data per stop per trolley
clients handle calculation from there

When the beacon pings the server, if the coordinates are within range of a stop (a range in the Lat/Long coordinates from the stop's Lat/Long), we update the stop with the last visit time.  We maintain the last visit time on each stop per Trolley ID.
This information will be sent along with the stop data, and the client should do some sanity checking before displaying the data (don't show anything too large, for instance if a trolley detours around a stop).  The UI will be to show the estimated arrival time on each stop when stop information is shown (when the user clicks on a stop, we show the estimated time along with the name, etc.)  It's optional to show the estimated time for each trolley or just the closest.
If there are two routes being run, the most recent visited data by trolley should be able to inform the client that the trolley hasn't been running a given route.
We discussed averaging historical time per stop, but agreed that the more recent data was the most useful (if there's an accident, the historical data would be a much lower number than the current time).
Typically the Trolleys take 25-30 minutes to complete the main loop, and when two are running, it's about 15 minutes per each stop.  If the data is wrong, default to showing nothing.  Make sure that we show in the UI that this is just an estimation based on the last time the trolley went.  The estimated times provided should err towards showing too short of a time instead of too long of a time.
For POIs, I'm adding a MapBox provided layer to the webapp, and the iOS app already had a number of POIs I believe.

Still itching to implement this, but client keeps adding emergency needs; hope to get to this soon.

This is running on the dev server at http://yeahthattrolley.azurewebsites.net/ , but has not yet been published to the production server.   There is a new element added to the stop JSON, consisting of each trolley (by trolley number, not ID), paired with the last time seen at that stop.   Here are some sample formats depending of 2, 1, or 0 trolleys have passed:
LastTrolleyArrivalTime":{"999":"2016-08-28T20:42:19.1737862","5":"2016-08-28T21:14:01.5996718"}

LastTrolleyArrivalTime":{"999":"2016-08-28T20:55:08.5781036"}

LastTrolleyArrivalTime":{}

Could we get the API to populate the LastTrolleyArrivalTime for the stops listed on the Routes endpoints (for each individual route)?
Currently, both http://yeahthattrolley.azurewebsites.net/api/v1/Stops and http://yeahthattrolley.azurewebsites.net/api/v1/Routes/1 include this, but it's only populated for /Stops.

Version 1.2.5 is now on the server, which implements LastTrolleyArrivalTime for routes

🙌👊👏
On Thursday, November 17, 2016, bikeoid<EMAIL_ADDRESS>wrote:

Version 1.2.5 is now on the server, which implements
LastTrolleyArrivalTime for routes
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/codeforgreenville/trolley-tracker-api-dot-net/issues/7#issuecomment-261435397,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH3RYN1Qc9FJamEuIkFGodA6HjAs0mRJks5q_RKKgaJpZM4FuCoD
.

I have an implementation of this on the dev system at http://yeahthattrolley.azurewebsites.net/ / the DB Visualizer.   Decoding from arrival time to travel prediction turns out to be extremely hairy - look at the Javascript (or better yet, don't look!).   Click on the stop to view the arrival time information., if available
There are dozens of ways to fake out the calculations as I have implemented, so they are often wrong here, partly because of the simulated data.   I expect more consistent behavior on the real trolleys after the first round.   This has not yet been published on the real server - I hope it is published before the next weekend's trolley runs.

Note: You can only see the arrival information if the trolley is running.
@bikeoid will you be able to join us next week? Would love to discuss!

Yes I'll be there.   I've got the simulation running with the classic route.    In the simulation, many stops aren't seeing arrival times.   I think this is because the app goes to sleep on the server and I don't store the info to the database.

How is the data being stored, in mem-cache?
On Tue, Mar 21, 2017 at 9:52 PM, bikeoid<EMAIL_ADDRESS>wrote:

Yes I'll be there. I've got the simulation running with the classic route.
In the simulation, many stops aren't seeing arrival times. I think this is
because the app goes to sleep on the server and I don't store the info to
the database.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/codeforgreenville/trolley-tracker-api-dot-net/issues/7#issuecomment-288274500,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH3RYAR9LTK-eSrmtQVdWvhyJb2_k1yMks5roH7XgaJpZM4FuCoD
.

The times are currently stored in mem cache, which seems to work while the trolleys run in the real app.  At the moment, most stops have travel times in the Dev instance when clicking on the stop.

Thanks for the clarification @bikeoid!
On Tue, Mar 21, 2017 at 10:19 PM, bikeoid<EMAIL_ADDRESS>wrote:

The times are currently stored in mem cache, which seems to work while the
trolleys run in the real app. At the moment, most stops have travel times
in the Dev instance when clicking on the stop.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/codeforgreenville/trolley-tracker-api-dot-net/issues/7#issuecomment-288278367,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH3RYIGm2pdcmhNbd3j-B9QatWEBv0X6ks5roIUWgaJpZM4FuCoD
.

It works somewhat on the regular route!    It also gets temporarily confused when it passes the stops northbound on N Main near Stone Ave, but straightens out when it passes those stops southbound.

There are a number of problems in trying to use the arrival times as implemented today - much of the logic would need to exist in the clients, and implemented 3 times among the 3 clients.
We discussed an alternative to simplify the client side implementation, and have this alternative:
Server would predict the arrival time for each stop, and what is passed today as most recent arrival time for each trolley would instead become the predicted arrival time.
The server also needs to add a further check when passing a stop so that only stops on the right side of the travel path are considered.

Food for thought https://youtu.be/0KZvJ4HbmH4 , watch it full screen to read the text - I still find too many cases where it's way off, but it works better on these circular routes than the previous routes.


minor grammar fix#3

This is actually not incorrect. You can verify that by changing the word order:

in common year (2015), year not divisible by 4

This particular exercise, like most in the practice folder, relies on shared problem specifications, found here:
https://github.com/exercism/problem-specifications/blob/main/exercises/leap/canonical-data.json
If you'd like to propose a change, it must be done in that repo first. If approved, I'm happy to re-open this and have it applied!


Add a simple HTML landing page

As part of an initiative discussed in Signal to get more flexibility for our landing page and make it more user-friendly for folks who don't know or care much about mastodon.
I've tried a few minimal CSS frameworks and settled on https://andybrewer.github.io/mvp/ for now, it seems to give us most what we want with the least amount of fuss.
The copy and styling isn't important right now, I just wanted to get a page up that's functional (good enough for now) so we can play with how we actually deploy it and do the cloudflare config etc.
I suggest we use GitHub pages to publish it at a URL, then we can get Cloudflare to read it from there. That will make it straightforward to deploy changes. WDYT?
Here's a preview: https://nelson-social.github.io/community/

You can also use Tailwind's JIT CDN: https://tailwindcss.com/docs/installation/play-cdn

I suggest we use GitHub pages to publish it at a URL, then we can get Cloudflare to read it from there. That will make it straightforward to deploy changes. WDYT?

Sounds good.

Are we gonna do this? I think it's not for now.

@mattwynne: I'd be happy to deploy it.


Where is the 1/4 and full label experiments?

It seems that you only provide 1323 label supervised experiment. How can I reimplement your 1/4 and full part?? Thanks

You can customize the config on your own. If your want to reproduce the results of 1/4 labeled data, you can change the n_labeled_examples to 2645. As for the Full setting, you need modify the codes to use all data as the labeled data, and all images as the unlabeled data.

You can customize the config on your own. If your want to reproduce the results of 1/4 labeled data, you can change the n_labeled_examples to 2645. As for the Full setting, you need modify the codes to use all data as the labeled data, and all images as the unlabeled data.

Emmm, I simply change n_labeled_examples into 2645 and 10582，but only get nearly 74% mIoU while training. So you means I should also modify the codes to use all data as the labeled data, and all images as the unlabeled data, and this part remains unchange??

Using only 2645 is a semi-supervised setting, so in this case, you don't need to modify the codes. If you want use 10582 samples, you can modify the codes on your own.
As for your reported 74% miou performance, do you mean the result of using 2645 samples on the datalist0? Can you elaborate more concretely? Or give me your log file?

Using only 2645 is a semi-supervised setting, so in this case, you don't need to modify the codes. If you want use 10582 samples, where the case is different from the semi-supervised setting, so you need to modify the codes on your own.
As for your reported 74% miou performance, do you mean the result of using 2645 samples on the datalist0? Can you elaborate more concretely? Or give me your log file?

Since the overall training epoch is not done yet for only 2645 is a semi-supervised setting, I will provide my own log here. For 10582 full labeled setting, I just want to reimplement your report data at Table 1 Full column. I simply modify the n_labeled_examples at config file, could you provide more details for Table 1 column Full part?

For the full-data setting, you need to use all the images and labels as the labeled data to calculate the CE Loss, and all the images as the unlabeled data to calculate the Contrastive Loss, since there is no unlabeled images in this setting.

I will close this issue. If you have further question, feel free to reopen it.


[DRAFT] repository refactor

This is a draft PR for the refactor work associated with #262.  This draft should allow for initial feedback on the high level approach.
Todo:

[ ] fix and enable examples - only Fibonacci is working at the minute (other examples have invalid masm)
[ ] parse proof options via cli for examples (as is done in miden prove)
[ ] Add more descriptors to cli so users have better understanding of operation
[ ] review / clean up any unused dependencies
[ ] clean up imports
[ ] Add comments
[ ] Add logging of information

Thank you for working on this! One thought I had: maybe it is better to do this a sequence of smaller PRs. For example:

PR1: add prover crate and move relevant functionality from miden crate there.
PR2: merge examples into the miden crate and make miden crate output an executable (which would be the same one as currently produced by examples crate).
PR3: refactor CLI interface of the miden crate and get rid of the tools crate (this can also be split up into a couple of PRs).

What do you think?

Thank you for working on this! One thought I had: maybe it is better to do this as a sequence of smaller PRs. For example:

PR1: add prover crate and move relevant functionality from miden crate there.

PR2: merge examples into the miden crate and make miden crate output an executable (which would be the same one as currently produced by examples crate).

PR3: refactor CLI interface of the miden crate and get rid of the tools crate (this can also be split up into a couple of PRs).

What do you think?

Yeah that makes sense.  I will break it up tomorrow.


pythonPackages.hidapi: enable on darwin

Motivation for this change
Package is cross-platform, and only uses libusb on linux and bsd.
Is the with too messy?
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[x] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

There is no reason for using it, so yes.

There is no reason for using it, so yes.

Assuming this was in response to with, so changed.
(is there ever actually a "reason" to use it though, beyond conventions or personal taste thresholds of line length and brevity?)

Hm, causing linux rebuilds presumably because of the propagatedBuildInputs list getting reordered. Does it make sense to shuffle that around so linux doesn't need rebuilds - would look a bit silly but may save some rebuilds?
{
  propagatedBuildInputs =
    stdenv.lib.optionals stdenv.isLinux [ libusb1 udev ] ++
    [ cython ] ++
    stdenv.lib.optionals stdenv.isDarwin [ darwin.IOKit darwin.apple_sdk.frameworks.CoreFoundation ];
}


Upgrade to PHP 8.3

Hello,
is an update planned for PHP 8.3?
How can we help?
What methods and tools do you use to maintain the 75 zf1 repositories?
Thanks for this fork!

@BenoitDD-URIOS just released a new version that should install on PHP 8.3. All tests pass against 8.3. Let me know if you have any issues.

Wow!
We'll test it out.
You're doing a great job on this fork.
Thanks again @jaydiablo


Bugfix: Literal while streaming does not work

Trying to fix literal validation while streaming by waiting for the object to fully be received.

:rocket:
This description was created by Ellipsis for commit 268462b275e657bd1c9b865c33616adbe018c046

Summary:
Changed partial_mode to on in from_json calls to fix literal validation during streaming in instructor/dsl/partial.py.
Key points:

Updated partial_mode in from_json calls from trailing-strings to on.
Affects model_from_chunks and model_from_chunks_async in instructor/dsl/partial.py.
Ensures full object reception before validation during streaming.

Generated with :heart: by ellipsis.dev

Is there another solution for streaming Literals? It's nice to be able to see trailing strings in streaming responses (I just created an issue for this: https://github.com/jxnl/instructor/issues/989).
Perhaps Literals should be modified to accept any string value when streaming back partials, and validation can be done afterwards.

Hmm this really isn't something that we can change at the moment, I personally prefer the trailing strings too in streaming responses but that breaks Literal support.
Don't think a flag that you pass in six levels down is the solution too. We might just have to wait for jitter to modify its parsing strategy to support both

Hmm this really isn't something that we can change at the moment, I personally prefer the trailing strings too in streaming responses but that breaks Literal support.
Don't think a flag that you pass in six levels down is the solution too. We might just have to wait for jitter to modify its parsing strategy to support both

Agreed on the flag, that doesn't feel like the right solution. I'm confused about the Literal case, though. Can you provide a test case that fails when you use "trailing-strings"? I thought validation would just be disabled for streamed responses. I'd opt to make instructor.Partial accept values outside the Literals?

@ivanleomk , what do you think about this solution for Literals?
https://stackoverflow.com/questions/76669927/pydantic-how-to-ignore-invalid-values-when-creating-model-instance
Since validation on many fields is disabled, it feels appropriate to do the same for Literal fields rather than having those be a special case which require validation. Further, disabling "trailing-strings" just for Literals seems heavy-handed. I'd propose that we simply return None for the Literal field in the case the model generates something which isn't an acceptable Literal value, since that's more in line with how other fields are "validated".
I've tested this approach locally, and it allows us to keep "trailing-strings" enabled. Copied from stack overflow:
from collections.abc import Callable
from typing import Annotated, Any

from pydantic import BaseModel, ValidationError, WrapValidator

def invalid_to_none(v: Any, handler: Callable[[Any], Any]) -> Any:
    try:
        return handler(v)
    except ValidationError:
        return None

class Foo(BaseModel):
    age: Annotated[int | None, WrapValidator(invalid_to_none)]
    name: str | None

If we take this approach, we'd simply return None values until we get a valid Literal value, which helps when we're receiving partials of the Literal.


#159757984 create tests for logout resource

What does this PR do?
This PR creates the unittests
How should this be manually tested?

Clone the repo

$ git clone https://github.com/asheuh/StackOverflow-lite
$ cd StackOverflow-lite

Create virtualenv

$ python -m venv venv

Run tests

$ py.test --cov=stackoverflow

What are the relevant pivotal tracker stories?
159757984

Pull Request Test Coverage Report for Build 58

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 85.052%

Totals

Change from base Build 56:
0.0%

Covered Lines:
734

Relevant Lines:
863

💛  - Coveralls


All classes that implement IDisposable must finalize root references themselves if GC.SuppressFinalize() is called.

All classes that implement IDisposable should set their root references to null (all properties and fields) and/or implement a finalizer if GC.SuppressFinalize() is called, otherwise these objects will not be cleaned up by the GC. This isn't an issue now because program runs are short but can become an issue as the program runs becomes longer and more complex. GC.SuppressFinalize() shouldn't be called by classes that want the GC to finalize their references...this is the simplest option as GC performance hits aren't really an issue for this kind of app.

After learning some more this is kind of an inaccurate description of the issue. #48 better explains what has to happen.


Question on tdlib logging & sensitive data

I know that the official Telegram app has a debug menu which includes the option "Remove Sensitive Data".
Currently, as I am investigating an issue regarding Unread folders, I am kinda running out of ideas of why things are acting the way it is, so I was thinking of conducting some logging for the user.
I do not wish to infringe on their privacy as much as possible however (i.e. I do not want to see their message contents, etc), so please advice is such options are available.

TDLib has no such option, because it is hardly possible to provide it and keep the log useful. The log contains much more private data then just message texts. Even if all strings and identifiers are anonymized somehow, there will be a lot more private data, like the users IP address, the time when they were online, types of the chats and messages, and much more.

Alright then, once again thank you for the insights!


Selecting groups in Downloads doesnt set scroll position properly

Description
When I select a group in downloads using Tiles layout, for example "Today" it doesnt show me the contents of "Today" group unless I scroll up.
Steps To Reproduce
Open Downloads
Set layout to Tiles
Select a group
Select "Today"
https://user-images.githubusercontent.com/615386/226687215-3a263d13-583a-48b9-96e0-cf5bad77cbe1.mp4
Requirements
Selecting any group heading should set the scroll position to the top of the group to properly show its contents.
Files Version
<IP_ADDRESS>
Windows Version
10.0.22621.1413
Log file
debug.log

Merging with #5825

Seems in 2.5 this either is an issue again or it wasnt fixed correctly, can anyone else repro this?

There hasn't been a fix for this


npm version is out of date

Last publication was made 3 years ago and there have been a few changes added since then.
https://www.npmjs.com/package/react-native-bouncing-preloader/v/1.0.1

@sonnylazuardi Can you publish the latest version? Can't run a yarn or npm install with the most recent changes.

@sonnylazuardi Can you publish the latest version? Can't run a yarn or npm install with the most recent changes.

We can't install the latest merge about useNativeDriver

We can't install the latest merge about useNativeDriver

Just published in the new package because I lost my 2FA for my previous account 😢
import BouncingPreloader from 'react-native-bouncing-preloaders';
https://snack.expo.io/@sonnylazuardi/testing-preloader

Just published in the new package because I lost my 2FA for my previous account 😢
import BouncingPreloader from 'react-native-bouncing-preloaders';
https://snack.expo.io/@sonnylazuardi/testing-preloader

Thanks @sonnylazuardi 🙂

Thanks @sonnylazuardi 🙂

@sonnylazuardi Will you be creating a github for that new package or should new issues & commits just be directed here?


feat: Add target dir to reqstool files in zip artifact

Place zipped reqstool files into a dir "<project.name>-reqstool"

Tested in reqstool-demo.
The zip file is located under: target/reqstool/reqstool-demo-0.0.2-reqstool.zip
Iniside the zip file the structure seems correct.

Yes the test files are in the test_results folder


[1.15.x] Bump Quarkus version to 2.6.0.final

cherry-pick: https://github.com/kiegroup/optaplanner-quickstarts/pull/242
PRs:

https://github.com/kiegroup/kogito-runtimes/pull/1799
https://github.com/kiegroup/optaplanner/pull/1730
https://github.com/kiegroup/kogito-apps/pull/1167
https://github.com/kiegroup/kogito-examples/pull/1043
https://github.com/kiegroup/optaplanner-quickstarts/pull/246

The (build) optaplanner-quickstarts check has failed. Please check the logs.

jenkins retest this


ripunzip: 1.1.0 -> 1.2.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/google/ripunzip/releases.
meta.description for ripunzip is: A tool to unzip files in parallel
meta.homepage for ripunzip is: https://github.com/google/ripunzip
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.2.1 with grep in /nix/store/dr4gnz9f60s7p9043j5a9068k0pa3f4z-ripunzip-1.2.1
found 1.2.1 in filename of file in /nix/store/dr4gnz9f60s7p9043j5a9068k0pa3f4z-ripunzip-1.2.1

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

ripunzip

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/dr4gnz9f60s7p9043j5a9068k0pa3f4z-ripunzip-1.2.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ripunzip https://github.com/r-ryantm/nixpkgs/archive/10ef0b48a9960ac272c6ad8618b77062212f1582.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/10ef0b48a9960ac272c6ad8618b77062212f1582#ripunzip

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/dr4gnz9f60s7p9043j5a9068k0pa3f4z-ripunzip-1.2.1
ls -la /nix/store/dr4gnz9f60s7p9043j5a9068k0pa3f4z-ripunzip-1.2.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

ripunzip

Maintainer pings
cc @LeSuisse for testing.

Result of nixpkgs-review pr 311969 run on x86_64-linux 1

1 package built:

ripunzip


AttributeError: 'dict' object has no attribute 'augmented' error on multihop_finetune.ipynb notebook

Hi @okhat ,
Thanks for the nice framework! I am trying to get familiar with the framework by running some easy-to-run notebooks. I tried the https://github.com/stanfordnlp/dspy/blob/main/examples/qa/hotpot/multihop_finetune.ipynb notebook on Google colab and faced the following error without any change in the code:
AttributeError: 'dict' object has no attribute 'augmented'
Here is my notebook link: https://colab.research.google.com/drive/1Nr3UZTBF-MDchvhfVT3OC2VHPaJUWlrg?usp=sharing
Thanks for your help in advance!

I believe (but not 100% sure) this got fixed in the latest main but not merged to pypi yet. We'll merge to pypi now so please let me know if that fixes things @arian-askari

Pushed to pypi. Let me know!

Hey Omar! Thanks for your efforts and response. I get below error now:
ConnectionError: HTTPConnectionPool(host='future-hgx-1', port=7141): Max retries exceeded with url: /generate (Caused by NameResolutionError("<urllib3.connection.HTTPConnection object at 0x7ba3f3b8dff0>: Failed to resolve 'future-hgx-1' ([Errno -2] Name or service not known)"))
Notebook link: https://colab.research.google.com/drive/1Nr3UZTBF-MDchvhfVT3OC2VHPaJUWlrg?usp=sharing

'future-hgx-1'

This was an example code to talk to a specific server 'future-hgx-1', so you need to update this to your server (cgi)  if exists or use other LM, such as openai apis.

I got the same issue!

IIRC, the notebook here is cached so you if you run without any changes I believe the notebook should run.
If you want to make changes, you need to set up your own TGI server, which is covered by other documentation on our site in depth

Hey @okhat, But I run without any changes and it does not work.

It's possible that cell isn't cached, in any case it outputs:
Average Metric: 424 / 1000  (42.4%)
42.4

The other parts (before/after) don't depend on that cell. They're all pre-saved and loaded so that's probably taking place of caching in this notebook.
    for idx in range(4):
        prog = BasicMH()
        prog.load(f'multihop_llama213b_{idx}.json')
        ensemble.append(prog)

I think this notebook is supposed to use open-source LLMs if I understood correctly? How we could just disable cache and let to use the open source LLM so we could get it to work?

Technically, it should be possible to call a locally loaded model, e.g., LLAMA, without having a server/service. If this needs some change in the code maybe I can make a PR if you guide me which part of the code needs modification.


Documentation for stack using queue

📚 Documentation
Documentation for stack using queue
Have you read the Contributing Guidelines on Pull Requests?
yes

@HarshCasper  @iamrajiv  please assign me this issue


caught segment change action

Hello,
I've built my calendar in a monthly style. Above that, I've added a label for the month.
I tried to use 'didScrollToDateSegmentStartingWith' to update the month when the section changes but it didn't fire at all. I'm not sure if I'm doing that the right way.
1- how can I know when the section has changed (to the next month)
2- What 'didScrollToDateSegmentStartingWith' is used for?
3- What is the right way to update the month label
Thanks.

hmm. ok.

What version of the calendar are you using?
Did you just update from a version 4.something to 5.something?
What is the name of the delegate function? You said it was didScrollToDateSegmentStartingWith, but can you write out the full function?

The version is (5.0.1)
I just tried this function in the current version
This is my code:

func calendar(calendar : JTAppleCalendarView, didScrollToDateSegmentStartingWith date: NSDate?, endingWithDate: NSDate?) {
        print("segment changed..")
        updateMonthLabel()
    }

The scrolling is done by swiping right and left. The "segment changed.." is note printed in the console.

Thanks.

So, i am a bit confused now. Is it working now?
Is the label changing?
try printing the date. If printing the date works, then all is fine right?

You have not responded for 2 days. I will assume this issue is resolved.  If it is not, feel free to re-open this issue.

Sorry for the delay, I just saw the reply.
I tried to check if it fires at all or not. as in the code above, I put print("segment changed..") command inside the function but it wasn't printed when I swiped the calendar, meaning that that function wasn't fired at all.
Thanks for your time.

You are using an incorrect function if it is not called.
you said you are using this:
func calendar(calendar : JTAppleCalendarView, didScrollToDateSegmentStartingWith date: NSDate?, endingWithDate: NSDate?)

When it should be this:
func calendar(calendar: JTAppleCalendarView, didScrollToDateSegmentStartingWithdate startDate: NSDate, endingWithDate endDate: NSDate)

That is why I asked you if you gust upgraded from a version 4.something to 5.something.

Thanks for that.
I'll try it today and come back with the result.


[token-2022] Add support for reading proofs from record accounts

Problem
The token22 program does not yet have support for reading zk proofs from record program.
Summary of Changes
Added support for reading zk proofs from the record program.
7f510f4: Added support for the record program in the program. The main changes here are twofold:

Updated the decode_proof_instruction_context function so that if the instruction data associated with the zk instruction is exactly 5 bytes, then read the proof from the supplied record account instead of reading it from instruction data. In the process, I changed the output type of the function to Result<U, ProgramError> instead of Result<&U, ProgramError> to simplify over-complication with lifetimes. All the functions that use decode_proof_instruction_context seem to immediately deref the context type anyway.
Extended the ProofLocation type to have support for RecordAccount. Instead of having three variants of InstructionOffset, ContextStateAccount, and RecordAccount, I decided to overload InstructionOffset to support RecordAccount since this simplifies logic in some places.

b245e14: Added functions to create and close record accounts for confidential transfers. The main interesting part here is the calculate_record_max_chunk_size function, which provides the maximum chunk size for a proof record instruction to fit inside a single transaction. I included this function in token.rs, but I can move this to somewhere if suggested.
92caf61: For each of the instructions that require zkp's I added ...with_record_account() test variants to make sure that the record account works. Exceptions are the transfer (with/without fee) instruction. I omitted adding tests for these instructions because I will need to heavily modify/remove these instructions in a follow-up PR.

I looked through a bit, and before I keep going, I wanted to check if we could somehow combine the proof source to be one of:

the instructions sysvar
context state account
a record account

This might require updating proof_instruction_offset to be a bit clearer -- maybe we make it something like:
enum ProofLocation {
    ContextStateAccount
    InstructionOffset(i8),
    AccountData(u32),
}

Although it'll cause churn, I hope it'll be easier to understand -- what do you think?

Yeah the current version is the result of a number of attempts to simplify things, but it is still a bit confusing. The complication is that even if the proof is read from an account, you still need the sysvar to access the zk-proof instruction in the transaction. Unlike the case of context state accounts, if the proof is stored in a record account, it is not yet verified, so an accompanying zk instruction has to be checked for the correct proof type. Furthermore, the record account address also has to be included because you still need access the proof to use it in the token-2022 processor logic.
What I initially had was something like the following
enum ProofLocation {
    ContextStateAccount(Pubkey),
    InstructionData(InstructionOffset),
    AccountData(InstructionOffset, Pubkey), // need both the offset for the accompanying zk instruction and address for the record account
}

type InstructionOffset = i8;

Then I combined InstructionData and AccountData together to simplify the logic in instruction generation, but looking at it now, maybe the three-variant enum above is the clearest way to define things. What do you think?

Ah gotcha, I knew I was missing something obvious, thanks for the explanation. In that case, it looks like you've done the best thing! I'll take a full look on Monday


Release v0.5.0

Release v0.5.0 for Maven repo

Thanks @jjames967

@jjames967, is it the latest code from master?  Could you please create an 0.5.0 tag?


Upgrade to latest swagger version iff fixes multiform uploads

A reminder

In post call I have there is a field named field1 which is mandatory to be provided in the body,which is mentioned as inputs field1:{required: true} but in swagger this input field is going as query parameter

In post call I have there is a field named field1 which is mandatory to be provided in the body,which is mentioned as inputs field1:{required: true} but in swagger this input field is going as query parameter.
When I am mentioning it in model schema it is going in body as well as quey parameters.
I want to mention only in body not as query parameters

Would you mind reposting a new comment/issue instead of this one?  I'd like to avoid causing any confusion

In post call I have there is a field named field1 which is mandatory to be provided in the body,which is mentioned as inputs field1:{required: true} but in swagger this input field is going as query parameter.
When I am mentioning it in model schema it is going in body as well as quey parameters.
I want to mention only in body not as query parameters

multiform options have been resolved in #18

Is it published in npm, I want to update the document in npm how can I do
that
On 14 Jan 2017 5:27 a.m., "Son-Huy Pham"<EMAIL_ADDRESS>wrote:
multiform options have been resolved in #18
https://github.com/supamii/ah-swagger-plugin/issues/18
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/supamii/ah-swagger-plugin/issues/12#issuecomment-272579876,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT8W9WVsJxuRPR6POx1LD3IFKqnHSXQaks5rSA96gaJpZM4G0YZu
.


Incorrect state on cluster hibernation

What happened:
When Gardener hibernates Shoot clusters, it sometimes happens that the objects in the Shoot's etcd don't reflect the correct state of the cluster.
The current logic is more or less: scale down the workers, wait for all Node objects to be deleted and then hibernate the control plane.
This can lead to the following state:
All Nodes removed, but Pods still having the state Running and Endpoints still containing the Pods' IPs (which is incorrect).
On wakeup the garbage collector in the kube-controller-manager cleans up all "orphaned" Pods and cleans the IPs from the corresponding Endpoints.
Because this runs in parallel to i.e. the ReplicaSet controller, kcm tries to create new Pods which will then go through configured admission webhooks.
Together with @schrodit I discovered the following issue:
If the Shoot has ValidatingWebhookConfigurations or MutatingWebhookConfigurations with rules for CREATE pods and failurePolicy=Ignore and timeout=30s (for example the default vpa-webhook) the Shoot might not get woken up correctly.
This is because kube-apiserver tries to connect to the Webhook but will timeout after the configured 30s because the Pod's IP is not reachable. In this time, the request from kube-controller-manager will timeout on the client side and the request will be cancelled and therefore the Pod will not be created. The ReplicaSet controller somehow does not retry to create the Pod in this case. Therefore the Shoot cannot be woken up, if the vpn-shoot Deployment is affected by this issue.
What you expected to happen:
Shoot cluster should be hibernated with a "clean state"
How to reproduce it (as minimally and precisely as possible):
(Hard to reproduce because this is somewhat of a race condition on wakeup between the garbage collector and the other Controllers. Sometimes it will work completely, sometimes a few Pods will be created and a few don't...)

Create a Shoot
ValidatingWebhookConfigurations or MutatingWebhookConfigurations with rules for CREATE pods and failurePolicy=Ignore and timeout=30s (i.e. vpa-webhooks)
Hibernate the Shoot
Wake it up again

Anything else we need to know?:
This issue might be the root cause of karydia/karydia#235
The current solution is to restart kube-controller-manager of the Shoot, if this issue occurs.
Environment:

Gardener version: 0.31.2, extensions: 0.14.4/1.0.0
Kubernetes version (use kubectl version): Shoot: 1.16.2, Seed: 1.15.5
Cloud provider or hardware configuration: aws
Others:

I discussed with @zanetworker and @timuthy on how to check, if the cluster is in a "clean state" before hibernating the control plane.
Here are our thoughts:

We should wait for all the Endpoints objects in the Shoot to not contain any IPs from the Shoot's PodCIDR. This would indicate that all Pod's reflect the hibernated state (not running anymore) and the Endpoints controller picked it up and removed the Pods' IPs from the Endpoint.
EndpointSlices in k8s 1.16 should be kept in mind

@schrodit and I could not reproduce this issue in a local setup.
We will analyse this further and then implement a fix for this.
/assign
/status in-progress

Update:
We've been able to reproduce the issue. It seems to be related to k8s v1.16 as we can only reproduce it with v1.16

Update:
We verified that this issue is related to Kubernetes version 1.16 (all patch versions).
I will now proceed with implementing the fix as described above:

We should wait for all the Endpoints objects in the Shoot to not contain any IPs from the Shoot's PodCIDR. This would indicate that all Pod's reflect the hibernated state (not running anymore) and the Endpoints controller picked it up and removed the Pods' IPs from the Endpoint.

Thanks for catching this. Indeed, we should avoid this situation (right after getting rid of the nodes shutting down everything before it's properly updated by the various independent controllers).

IMHO, the actual RCA is shortly described here https://github.com/kubernetes/kubernetes/issues/71508#issuecomment-470126655. Basically the client request timeout before the request from the kube API to the validating/mutating webhook, thus the request is rejected despite the Ignore policy.
I am wondering whether the Nodes objects are deleted before the control plane is hibernated? If not, this might explain the faulty state of the pods and endpoints after wake-up.
Could you try to reproduce it with webhook timeout set to 10 seconds or less?

IMHO, the actual RCA is shortly described here kubernetes/kubernetes#71508 (comment). Basically the client request timeout before the request from the kube API to the validating/mutating webhook, thus the request is rejected despite the Ignore policy.

Yes, indeed. That is exactly the issue we were experiencing here.

I am wondering whether the Nodes objects are deleted before the control plane is hibernated? If not, this might explain the faulty state of the pods and endpoints after wake-up.

Before Gardener hibernates the control plane, it waits for all Node objects to be deleted. But at the moment it does not wait long enough before scaling down kube-controller-manager for it to update the Pods and Endpoints accordingly.

Could you try to reproduce it with webhook timeout set to 10 seconds or less?

Yes, we tried this. We managed to wake up the Shoot properly when setting the problematic webhook's timeout to 10s. In this case the call from kube-apiserver to the webhook then times out before the request from kube-controller-manager times out from the client side. Therefore Pods can be created successfully as the webhook's FailurePolicy is set to Ignore.

We should wait for all the Endpoints objects in the Shoot to not contain any IPs from the Shoot's PodCIDR. This would indicate that all Pod's reflect the hibernated state (not running anymore) and the Endpoints controller picked it up and removed the Pods' IPs from the Endpoint.

Update:
We tested the above mentioned fix which fixes the endpoint issue. But discovered another strange behavior with the pods.
The endpoints are now "cleaned" (some endpoints have <none> some have nothing?) but the pods are still Running.
I think we should wait for a real clean state, so all pods are pending and all internal endpoints are <none>.

They are in Running because the kubelet is down and there is nothing to update their status.
Actually, are the Nodes drained during the hibernation?

They are in Running because the kubelet is down and there is nothing to update their status.
Yes but the kcm will update their state to Pending after some time, so we just need to wait until the kcm gc starts updating the pod's status.

Actually, are the Nodes drained during the hibernation?

This should happen by MCM since the MachineDeployment is scaled down.
/cc @hardikdr

Actually, are the Nodes drained during the hibernation?

This should happen by MCM since the MachineDeployment is scaled down.
/cc @hardikdr @prashanth26

Yes, the nodes are always drained on scale-down.


.NET Framework Add-in model seems to be deprecated

This guidelines says Consider Using the .NET Framework Add-In Model but in the link provided (this) it says that API is already deprecated (I guess in favor of MEF2). I think it should be updated or removed.
By reading the whole guideline, I have the feeling there is no solution to implement the use case of plugins. Because we don't know the full name of the external assemblies, we need to load them from a file / byte array but methods like LoadFrom and LoadFile are not recommended to use.
Edit: maybe recommend something as Gendarme says about getting the AssemblyName to do some validations like public key and then use Assembly.Load?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: c8732511-e24f-2c9c-57c8-ce469c351e94
Version Independent ID: 8806bdc9-6cf1-cbcb-0e47-f6edbdcfd59c
Content: Best Practices for Assembly Loading
Content Source: docs/framework/deployment/best-practices-for-assembly-loading.md
Product: dotnet-framework
GitHub Login: @mairaw
Microsoft Alias: mairaw

@karelz Who could help with this issue?

+1 for AssemblyName + Assembly.Load. MetadataLoadContext might or might not be handy too.


[Question] OneDrive for Business, How long is the expire time of refresh token?

Should the refresh toke last for 6 months?
Why I get this error, did I request any bad action?
It works so fine for weeks.

thanks!

The authentication and authorization system used with OneDrive for Business is Azure Active Directory (AAD), which has different expiration times. With AAD, any single refresh token is valid for 14 days. Every time you redeem a refresh token for a new access token, we also provide a new refresh token that is good for the next 14 days, so you need to store both the new refresh token and the access token each time you redeem a refresh token.
Beyond that though, AAD has a requirement that users log back into your app every 90 days. Thus, you can extend the 14 day refresh token expiration by requesting a new one multiple times, but after 90 days you have to go back through the sign-in experience.

@Ryan Gregg can u pls elaborate more this statement "Beyond that though,
AAD has a requirement that users log back into your app every 90 days.
Thus, you can extend the 14 day refresh token expiration by requesting a
new one multiple times, but after 90 days you have to go back through the
sign-in experience"
thank you
On Thu, Jun 25, 2015 at 6:27 PM, Ryan Gregg<EMAIL_ADDRESS>wrote:

The authentication and authorization system used with OneDrive for
Business is Azure Active Directory (AAD), which has different expiration
times. With AAD, any single refresh token is valid for 14 days. Every time
you redeem a refresh token for a new access token, we also provide a new
refresh token that is good for the next 14 days, so you need to store both
the new refresh token and the access token each time you redeem a refresh
token.
Beyond that though, AAD has a requirement that users log back into your
app every 90 days. Thus, you can extend the 14 day refresh token expiration
by requesting a new one multiple times, but after 90 days you have to go
back through the sign-in experience.
—
Reply to this email directly or view it on GitHub
https://github.com/OneDrive/onedrive-api-docs/issues/148#issuecomment-115244693
.

Basically 90 days after the user first signed into your app, your app will be unable to redeem a refresh token for access tokens (you'll get an error) and you'll need to go through the OAuth 2 sign-in experience again.


[Style Options] No fill (Wireframe) makes it impossible to click on buildings.

Description
If I choose the no fill (wireframe) style then it seems impossible to select or edit buildings. Once I choose the partial or full fill I am able to select the building and edit.
Version
2.0.3
What browser are you seeing the problem on? What version are you running?
Chrome v115.0
The OS you're using
mac
Steps to reproduce
Choose "No fill (Wireframe)" style option and then try to click on a building.
The browser URL at the time you encountered the bug
https://rapideditor.org/rapid#background=Bing&datasets=fbRoads,msBuildings&disable_features=boundaries&map=21.15/-31.97795/115.78804
The auto-detected useragent string for your browser (leave blank if you're manually filling this form out)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36

thanks!  this is a duplicate of #983 👍


Spotify not allowing me to sign in

SInce yesterday, Spotify has been blocking third party sign in, I haven't tried with traditional email and password. It just gives the error "Something went wrong"

was about to make a new issue regarding this, having the same problem as well, i believe you can login on version <IP_ADDRESS>2 but this specific mode doesn't have the version, i tried the old version but it doesn't work

I made some major changes yesterday, which caused this issue.
It should work again now!

I made some major changes yesterday, which caused this issue. It should work again now!

i tried login in through Facebook and i can confirm it is working now, thanks!


Consider all constituents of contextual return type when resolving type of 'yield'

This avoids an early-exit in getIterationTypesOfIterable when the intended use is resolving the iteration types of a contextual return type of a generator function:
let f: () => Generator<string, void, string> | AsyncGenerator<string | void | string>;
f = function*() {
  let name: string;
  name = yield "";
};

The above code is an error currently as we drop the iteration types of the first constituent when the second fails.
For other uses we continue to preserve the early exit so that we correctly error for cases such as this:
let data: string[] | null;
const [value] = data; // should still be an error when the second constituent fails.

Fixes #42439

My old PR that awaits review already fixes this issue (I just pushed out a test case that is being added here in this PR). It also shares all of the baseline changes that you have here.
Would you mind re-reviewing that PR and comparing the used approaches? Maybe it would be also good to pull all the other test cases that I added there here to compare their results?

My old PR that awaits review already fixes this issue (I just pushed out a test case that is being added here in this PR). It also shares all of the baseline changes that you have here.
Would you mind re-reviewing that PR and comparing the used approaches? Maybe it would be also good to pull all the other test cases that I added there here to compare their results?

The test in tests/cases/compiler/contextuallyTypeAsyncFunctionReturnTypeFromUnion.ts fails in my branch. It looks like your PR covers more cases, so I'll happily close this branch in favor of your PR.

Closed in favor of #51196.


PlaybackController instance is no longer lost

This is a step towards solving issue #229. The PlaybackController instance now reflects the setting of the PlaybackController property on MediaManagerInstance for UWP. This would also need to be done for Android (and I guess IOS)

Please branch of my upstream develop so your other PR changes don't come with this. I would like to look into the whole architecture, because making this internal and do the changes might not help the developers using this as it is right now.

I'll branch it. I agree the arch needs improvement. For example, making IMediaManager immutable could simplify things. Are you talking about the internal interfaces? The system wrappers are internal implementation details that should be hidden. Other aspects might make sense to expose, such as which media buttons should be enabled.


marshmallow: addition of metadata schema factory

INSPIR-2569

Signed-off-by: Harris Tzovanakis<EMAIL_ADDRESS>

@harunurhan done


Refactor _RemoveDuplicates to use counter state

Changes the _RemoveDuplicates class used in MatchContinuously from a BagState to a CounterStarte. This should make the code more readable and more efficient.
Also changed pcol to pcoll to keep the file consistent
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @pabloem
Adding Pablo as reviewer as he was the reviewer for https://github.com/apache/beam/pull/15106.
No rush in this PR, it doesn't add or fixed anything but a simple refactor.

Run Python PreCommit

Run Python PreCommit

I'm back from vacation! I'll review this week

Run Python PreCommit


Network manager does not support/work with usb wifi devices  ?

TrueOS desktop (PC-BSD 9 and 10) not work with some devices: tl-wn721n (atheros based) and broadcom wifi+bluetooth m.2 bcm 43142
network manager and usbconfig
why these devices not supported on PC-BSD(now TrueOS)?
I know that linux kernel for these devices use next drivers: ath9k and dkms-broadcom.
I hope that i will can  use tl-wn721n device for "surfing" on wireless network
excuse for my english

Wireless driver support depends greatly on the version of the OS you are running - FreeBSD/PC-BSD 9 and 10 are very old, and will not have the same driver support as TrueOS or FreeBSD 11.0
Please try TrueOS instead, and see if those wifi chipsets start working for you. If not, please open a ticket on the FreeBSD bug tracker[1] and include as much information about those wireless chipsets as possible.
[1] https://www.freebsd.org/support/bugreports.html


Issue with irrevocability clause reference to §8.2 as exception

@kappapiana noticed in the irrevocability clause a reference to 8.2 as an exception ("except as stated in Section 8.2"), but the 8.2 is an "entire agreement" clause.
Perhaps there is a glitch? In any case we should investigate.

Hell if I remember. I can't track it anymore. Guess we should close the issue?

If you can’t reproduce it, that sounds like the best course of action, yes.

This was also found by @LeChasseur and I could replicate it as follows (only then the numbering shifts, so the missing is §7.2, same content though):

Custom CLA
Copyright: Option 5
(Patents: whichever option)

On the other hand if I choose the following, it seems fine:

Custom CLA
Copyright: default
(Patents: whichever option)

I did a few different combinations and it seems the one that causes the issue is indeed Copyright: Option 5

Seems like a technical issue (which causes a legal problem)

In this case, afaik it is caused by section 4 being removed. Do you think it could also be solved by including a part that states there is no specific commitment? That would make implementation easier I think. Additionally, when I tried this, I also noticed that 7.2 is removed, which then makes the numbering wrong (as it is missing between 7.1 and 7.3)
The missing part is This Agreement shall apply for the term of the copyright and patents licensed here. However, You shall have the right to terminate the Agreement if We do not fulfill the obligations as set forth in Section 4. Such termination must be made in writing.
Is this correct to be removed?


How to move sourcemap file after hermes to sourcemapOutputDir

code-push will upload the sourcemap after hermes together.

I added a pr, want to confirm whether it can be done like this?
https://github.com/microsoft/appcenter-cli/pull/958

The discussion about the PR should be placed in the PR, so closing this issue.
@ryanypm Could you please bring up the question in the PR?


Update Minecraft Wiki links to new domain after fork

The Minecraft Wiki maintainers have decided to move away from Fandom. More information can be found here: https://minecraft.wiki/w/Minecraft_Wiki:Moving_from_Fandom. This PR updates all the URLs to the new domain: minecraft.wiki

 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.

Hi @misode, thanks for this submission! Unfortunately, the file you modified is automatically generated using the Kaitai Struct parser generator. So even if we accept this PR, the change will be overwritten the next time the parser is auto-generated.
The correct solution would be to update the URL in the Kaitai Struct definition that is used to auto-generate this parser, in minecraft_nbt.ksy.

Closing this PR since the change needs to happen upstream in Kaitai Struct


Adds OCR functionality and Modifies the note entity

In pom.xml:

Adds Google Cloud Vision dependency

In Note.Java:

Adds a message variable to the Note class

In FormHandlerServlet.java:

Adds detectDocumentText function to call Cloud Vision API and return text detected
Modifies code to include Note's message variable

In script.js:

Modifies code to add message underneath the image
Changes the size of the size of the noteElement to account for the message

@joshflchan Was your google cloud shell set to your personal project or the group project? Maybe try this command "gcloud config set project summer20-sps-33" and see if that fixes it

@joshflchan Was your google cloud shell set to your personal project or the group project? Maybe try this command "gcloud config set project summer20-sps-33" and see if that fixes it

It didn't seem to work. However, I created a new key for the App Engine default service account through here: https://console.cloud.google.com/iam-admin/serviceaccounts?project=summer20-sps-33
Then I added the .json file to my cloud shell environment and ran this command:
export GOOGLE_APPLICATION_CREDENTIALS=/fullpath/service-account.json
No longer getting the original error message (I understand that the API requires a non-local URL so this error message isn't a problem!):

@joymaneetk  @oulily  for context if you run into a similar issue when developing later


Generating dist/ before _site/

Addresses #12, and fixes #7

taken a quick look (will take a closer look soon) - but looks like a fab update, cheers!


How to resend a message when it fails to send

How to resend a message when it fails to send

Can you provide a bit more context? What do you mean with "fails to send"? Are there error messages?

sorry,i mean i want to call channel.GetNextPublishSeqNo() method before sending message
seqNo := channel.GetNextPublishSeqNo()
		Log.Printf("publishing %dB body (%q)", len(body), body)

		if err := channel.Publish(
			exchange,   // publish to an exchange
			routingKey, // routing to 0 or more queues
			false,      // mandatory
			false,      // immediate
			amqp.Publishing{
				Headers:         amqp.Table{},
				ContentType:     "text/plain",
				ContentEncoding: "",
				Body:            []byte(body),
				DeliveryMode:    amqp.Transient, // 1=non-persistent, 2=persistent
				Priority:        0,              // 0-9
				// a bunch of application/implementation-specific fields
			},
		); err != nil {
			return fmt.Errorf("Exchange Publish: %s", err)
		}

This looks like a question for the AMQP lib


Slimepeople shouldn't get stinky

Description

Rotting dead lime shouldn't be stinky, shouldn't rot at all, also their damage overlay shouldn't be red
Reproduction

Screenshots

Additional context

damage overlay shouldn't be red

either make it green because or their slime color

Ideally instead of rotting they just leak goo everywhere. Maybe have them slowly leak out their bloodstream?

Ideally instead of rotting they just leak goo everywhere. Maybe have them slowly leak out their bloodstream?

and if theres no more goo do they just dissipate

Bodies are already containers full of the subjects' blood/slime, so how about they leak out slime until it's out.  Next step would be complete dissipation.
Possible recovery options would be to take samples of the slime balls or floor goo and insert it into the cloner.

I'm thinking than cloning slimes should be a job of science with a different machine and requiring chems or actual slime extract from xenobiology

I'm thinking than cloning slimes should be a job of science with a different machine and requiring chems or actual slime extract from xenobiology

Shrimply grow a new slime from their core and some goo. Like growing a new plant person with a cutting.

I'm thinking than cloning slimes should be a job of science with a different machine and requiring chems or actual slime extract from xenobiology

does this mean I cant do random bullshit such as set up the singulo without a hardsuit anymore


update_pars incompatible with subclasses

Within modules.py, the update_pars class assumes that all user pars should match a default. Any additional pars raise a ValueError
# Should be no remaining pars
        if len(pars):
            errormsg = f'{len(pars)} unrecognized arguments for {self.name}: {sc.strjoin(pars.keys())}'
            raise ValueError(errormsg)

But what if we are creating a derived class that has additional parameters? Consider:
class Zombie(ss.SIR):
    def __init__(self, pars=None, **kwargs):
        super().__init__(**kwargs)

        self.default_pars(
            inherit = True, # Inherit from SIR defaults
            p_fast = ss.bernoulli(p=0.10), # Fast zombies attack more people!
        )
        self.update_pars(pars, **kwargs)

If the user tries to override the default for p_fast, super().__init__(**kwargs) raises the value error .
A workaround is to not pass **kwargs into the initialization of the parent class, super().__init__(), but this could have unintended consequences later.
Might be better to raise a warning instead of a ValueError or otherwise handle it like the inherit flag?

super().__init__() should indeed not take any input arguments. Arguments should only be passed to update_pars().
Previously, we passed arguments to both __init__() and update_pars(), and misspelled arguments silently failed! This issue came up in the APHRC ABM training, which is why we changed. You definitely need to pass arguments to update_pars. But you shouldn't need to pass any arguments to __init__() -- the only things that should need to get passed to the parent should be handled by the pars.
It's true that there are some limitations of this approach, but it seems to follow the "principle of least surprise". I also personally like the simplicity of __init__() not taking any arguments, because there have been some bugs in previous Starsim models around handling this.

Closing since intended behavior.