Insufficient Priveleges for Nominatim

When using Nominatim, we get an geopy.exc.GeocoderInsufficientPrivileges exception, even though Nominatim should not require account credentials:
>>> geolocator = Nominatim()
>>> geolocator.geocode("Washington, DC", timeout=10)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/geopy/geocoders/osm.py", line 191, in geocode
    self._call_geocoder(url, timeout=timeout), exactly_one
  File "/usr/local/lib/python2.7/dist-packages/geopy/geocoders/base.py", line 147, in _call_geocoder
    raise ERROR_CODE_MAP[code](message)
geopy.exc.GeocoderInsufficientPrivileges: HTTP Error 403: Forbidden

Can anyone else confirm?

yes, also got that

Perhaps the Error 403 is due to requests being blocked. I found this post suggesting that the usage policy is being violated. Maybe an HTTP Referer or User-Agent is necessary, long-term?

This issue seems to be caused by OSM changing the view box parameter from 'view_box' to 'viewbox'.  I verified this by printing the log message from geopy with the geocode URL, copying it into a browser and changing it.  Then I changed osm.py on my system, replacing 'view_box' with 'viewbox' in all instances.  I have a branch with the change that I can push.

It looks like OSM added backwards compatibility for the 'view_box' parameter.
viewbox
view_box

I've started getting this error today from my program 13th Apr 2016, I didn't get it a few days ago and I've changed nothing.  Also tested this from the command line running simple examples and get same result. I've now updated to geopy 1.11.0 from 1.10.0 and same result.
File "/usr/local/lib/python2.7/dist-packages/geopy/geocoders/osm.py", line 193, in geocode
self._call_geocoder(url, timeout=timeout), exactly_one
File "/usr/local/lib/python2.7/dist-packages/geopy/geocoders/base.py", line 158, in _call_geocoder
raise ERROR_CODE_MAPcode
geopy.exc.GeocoderInsufficientPrivileges: HTTP Error 403: Forbidden

This started happening to me today also. I posted it here http://stackoverflow.com/questions/36599584/geopy-error-and-timeout
with no luck yet. I am only calling one location in a script for a python class.

I changed from Nominatim() to geopy.geocoders.GoogleV3() and it now works; this may help someone find the problem.

tobiz can you post some code?

same here! It happened yesterday to me, and it still doesn't work ... any idea? I can't switch to google geocoded since I'm reverse-geocoding and they provide different addresses format (I should change my whole database)

The code is self explanatory (I hope!)
The exception code was added to find out what was going wrong - it just
confirmed what I knew but it helped me to change the code calling
get_coords to get the values I wanted anyway (the geocode option is
useful but not essential).
After some research I found there are other geocoders so tried GoogleV3
and the problem has gone away.

def get_coords(address):
try:
geolocator = Nominatim(timeout=3, scheme='http')  # Nominatim
seems to have stopped working, see github geopy
geolocator = geopy.geocoders.GoogleV3(timeout=3)
try:
location = geolocator.geocode(address, timeout=3,
exactly_one=True)  # Only 1 location for this address
if location == None:
print "Geocoder Service timed out or Airfield: ",
address, " not known by geocode locator service. Check settings"
return False
ele = geocoder.elevation(address)
print "Geolocator worked"
return location.latitude, location.longitude, ele.meters
except ERROR_CODE_MAP[400]:
print " ERROR_CODE_MAP is: ",  ERROR_CODE_MAP[400]
except ERROR_CODE_MAP[401]:
print " ERROR_CODE_MAP is: ",  ERROR_CODE_MAP[401]
except ERROR_CODE_MAP[402]:
print " ERROR_CODE_MAP is: ",  ERROR_CODE_MAP[402]
except ERROR_CODE_MAP[403]:
print " ERROR_CODE_MAP is: ",  ERROR_CODE_MAP[403]
except ERROR_CODE_MAP[407]:
print " ERROR_CODE_MAP is: ",  ERROR_CODE_MAP[407]
except ERROR_CODE_MAP[412]:
print " ERROR_CODE_MAP is: ",  ERROR_CODE_MAP[412]
except ERROR_CODE_MAP[413]:
print " ERROR_CODE_MAP is: ",  ERROR_CODE_MAP[413]
except ERROR_CODE_MAP[414]:
print " ERROR_CODE_MAP is: ",  ERROR_CODE_MAP[414]
except ERROR_CODE_MAP[502]:
print " ERROR_CODE_MAP is: ",  ERROR_CODE_MAP[502]
except ERROR_CODE_MAP[503]:
print " ERROR_CODE_MAP is: ",  ERROR_CODE_MAP[503]
except ERROR_CODE_MAP[504]:
print " ERROR_CODE_MAP is: ",  ERROR_CODE_MAP[503]
return False
except GeocoderTimedOut as e:
time.sleep(1)
print "Geocoder Service timed out for Airfield: ", address
return False

Hope that helps you solve your problem; if not, interesting!
Peter J Robinson
Email<EMAIL_ADDRESS>Sip<EMAIL_ADDRESS>Sip<EMAIL_ADDRESS>On 13/04/16 17:05, Jeff Kropelnicki wrote:

tobiz can you post some code?
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/geopy/geopy/issues/112#issuecomment-209525255

Thank you. It returns less information for the Address but it will have to do for now.

I have started getting the same issue yesterday myself, Im handling the exception by using a Google geolocator as a backup for now.

I'm also getting the same error.

Ya issue still persists!!

Getting the same thing with Django
Request Method: | POST
-- | --
http://<IP_ADDRESS>:8000/entry/create/
1.11.5

Nominatim returns HTTP Error 403: Forbidden when their ToS are violated. The reasons might be:

non-unique user-agent. geopy since 1.12.0 supports passing custom user_agent like this:

>>> from geopy.geocoders import Nominatim
>>> geolocator = Nominatim(user_agent="my-application")

Actually this is stated in the docs.

High volume of requests (Nominatim rate limits are quite low – no more than 1 request per second). In this case you're better off switching to another geocoding service (try MapQuest or Photon as close alternatives based on OSM).

If anyone is willing to help with adding ToS to documentation – see #268.

same error here

changed to this and no longer got error:
geolocator = Nominatim(user_agent="my-application")

Nominatim returns HTTP Error 403: Forbidden
I just used GoogleV3 and it works

I had a similar problem; I just left it for a while and it now works again.  I think the problem was at the sever end.

0
"GeocoderInsufficientPrivileges" error - try to use 'Photon' instead of 'Nominatim'
from geopy.geocoders import Photon
geolocator = Photon(user_agent="app_name here")


Use problem matchers to highlight compilation/lint/formatting issues

This requires disabling terminal colors, but ehhh, seems fine.
Fixes #1.

There's an issue with problem-matching in clippy: https://github.com/r7kamura/rust-problem-matchers/issues/8#issuecomment-1666893423 - I think I'll add a secondary repo that tests this

Turns out this is an issue with clippy, which doesn't print the file paths in a way that can be resolved from the project root (rather, relative to the cargo manifest dir). This doesn't seem to be a thing we can fix, at all (clippy would have to print the path to the manifest file, so the problem matcher can pick it up). Welp.


per particle cutoff array...

Hi Again, one more question:
particles in biology are organisms with varying traits. This means for example, that in a spatial food web simulation the distance at which an organisms reacts to another organism is dependent on .e.g. the organism size and can vary very much.
If I run a model with CellListMaps I now need to put the maximum reaction distance of all organisms as cutoff and then implement a per organism condition in the function that gets called by map_pairwise! to account for different reaction distances.
I see that cutoff in e.g. PeriodicSystem is of type number. But would it be possible to optionally provide an array of per particle reaction distances that sets the cutoff per organism/particle?

I think you know that already, but you can provide an array of radii using a closure. For example:
julia> using CellListMap.PeriodicSystems

julia> using StaticArrays

julia> x = rand(SVector{2,Float64}, 10^3); radius = 0.1*rand(10^3);

julia> function f(i,j,d2,out,radius)
           if sqrt(d2) < radius[i] + radius[j]
               out += d2
           end
           return out
       end
f (generic function with 1 method)

julia> map_r(sys,radius) = map_pairwise((x,y,i,j,d2,out) -> f(i,j,d2,out,radius), sys)
map_r (generic function with 1 method)

julia> map_r(sys,radius)
54.23996361943458

If, on the other side, there are groups of particles with very wide varying radii, it may be interesting to split the computation into different cell lists, using the interface that accepts two sets of particles. That would be more low level, and may be important if for instance there is a smalls subset of particles with a larger radius, such that computing their interactions separately could be useful.

Yes, I do something like that now, but that does not save f function calls. Was looking at the code for how you do the neighborlist if it would be possible to make that list dependent on per ”particle” reaktion distance. But its a niche thing so don’t put any effort into it :-) But I might tinker a little!


add a events_webhook module: a sample webapp with webhook

It would be a good add-on to events docs, we could provide a sample webhook with

challenge request implementation
signature verification

see the related ticket https://github.com/adobe/aio-lib-java/issues/125
signature verification is now available with https://github.com/adobe/aio-lib-java/releases/tag/aio-lib-java-1.0.10


Syncing latest changes from master for rook

PR containing the latest commits from master branch

/approve
/lgtm


Unary minus mismatch type

What was wrong?
Fix #651
How was it fixed?
To-Do

[ ] OPTIONAL: Update Spec if applicable

[ ] Add entry to the release notes (may forgo for trivial changes)

[ ] Clean up commit history

Codecov Report

Merging #713 (893bb4a) into master (2885c99) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #713      +/-   ##
==========================================
+ Coverage   81.95%   81.98%   +0.02%
==========================================
  Files         125      125
  Lines       10905    10912       +7
==========================================
+ Hits         8937     8946       +9
+ Misses       1968     1966       -2

Impacted Files
Coverage Δ

crates/analyzer/src/traversal/expressions.rs
80.75% <100.00%> (+0.14%)
:arrow_up:

crates/abi/src/builder.rs
91.66% <0.00%> (-1.39%)
:arrow_down:

crates/lowering/src/ast_utils.rs
84.15% <0.00%> (-0.22%)
:arrow_down:

crates/mir/src/lower/function.rs
86.98% <0.00%> (+0.18%)
:arrow_up:

crates/test-utils/src/lib.rs
89.90% <0.00%> (+0.27%)
:arrow_up:

crates/analyzer/src/context.rs
61.66% <0.00%> (+0.83%)
:arrow_up:

crates/yulc/src/lib.rs
92.30% <0.00%> (+3.84%)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks again @vuvoth I did some minor tweaks to the message (hope you don't mind). I'll merge it when CI goes green.

Thanks again @vuvoth I did some minor tweaks to the message (hope you don't mind). I'll merge it when CI goes green.

No problem! Thank you a lot!


Option to filter by MIME type category

Please describe the problem you're trying to solve
I would like to filter by all the images in a directory.
Perhaps this could be accomplished by searching for a string within all file MIME types. Images, for example, have MIME types that begin with image/ such as image/jpeg, image/vnd.microsoft.icon, image/svg+xml, image/png, etc.
Would you be willing to contribute this feature?

[ ] Yes, I'll give it a shot

Describe the solution you'd like
I would like to type some shortcut or command, then type a string, e.g. image, to filter all files that have a MIME type containing that string. It could be similar to the current f filter command.
Additional context
No response

Hi, the mime-type isn't an inherent property of files, it needs to be calculated for each file, which is a time-consuming operation, especially for directories with many images and videos.
Currently, Yazi lazily computes them, only calculating the mime-types for a few files on the current page. However, the requested feature of "filtering files by MIME type" would require calculating the mime-types for all files at once, which would consume a considerable amount of time and computational resources.
This wouldn't provide a good user experience, so I've decided not to add it, sorry. I recommend using file extensions for filtering instead. Yazi's filter command supports regular expressions, so theoretically, you can achieve it using a powerful expression syntax.
You can also implement it in a programmable way through the plugin system; Yazi allows you to access all file information via the plugin API.
Closing as not in the plan.

Sorry for the late reply.
You can add the filter_do command to your keymap.toml to implement it:
{ on = [ "F" ], run = 'filter_do "\.(jpg|png|gif)$" --smart --done' }

Note that this command is still unstable, which means its parameters might change in the future, but you can use it for now.


Module08 react-intro

starting with fa23 version

Also, should probably mention that you need to wrap your root app in ... .
If you just paste in the code without doing that, you get a display with horizontal stripes.


Weird grabpass and texture_grabPass behavior

Description
I was working on grabpass shader and noticed it doesn't work on my friends's computer, on my phone and safari. But works properly on my computer (Chrome latest version) for some reason. Then I wanted to prepare a reproducing demo but this time it doesn't work at all even on my computer.
For some reason on different project or computers "texture_grabPass" doesn't provide anything.
Demo that works my computer on first try :
https://playcanv.as/b/QOQGf2Z9/
Demo that I prepared for reproducing step, simpler
https://playcanv.as/b/6wOtRyWu/
Error : launch.js:7988 ERROR: FRAMEBUFFER_INCOMPLETE_ATTACHMENT
[.WebGL-0x7fd05bae6e00]GL ERROR :GL_INVALID_OPERATION : glCopyTexImage2D: no valid color image
I couldn't figure out, maybe it's my mistake, but on simpler version the image I put as a sampler2D works properly. But "texture_grabPass" doesn't work.

Hi @devcem - are you able to share the Editor project for the simpler repro as well?
Thanks!

Hi @devcem - are you able to share the Editor project for the simpler repro as well?
Thanks!

Hello,
Here is the editor version of simpler repo :
https://playcanvas.com/editor/project/731620

I'm still looking for the best solution, but it seems that changing the 'transparent canvas' setting in Rendering section can fix it. I'm still working on a solution that works with either state of that setting - and have one apart from Chrome.


Fix/visual tests

Coverage decreased (-0.1%) to 90.773% when pulling 92ef45dc58a8b54097223001e8a288c87ede3685 on fix/visual_tests into 320ea2a9198402355ea64d9a0f4d8a7cb77c7895 on master.

Coverage decreased (-0.2%) to 90.754% when pulling 11530191ac453562d91cfe6b80d40611b4c3919e on fix/visual_tests into 320ea2a9198402355ea64d9a0f4d8a7cb77c7895 on master.

Coverage decreased (-0.2%) to 90.754% when pulling 11530191ac453562d91cfe6b80d40611b4c3919e on fix/visual_tests into 320ea2a9198402355ea64d9a0f4d8a7cb77c7895 on master.

Coverage decreased (-0.2%) to 90.754% when pulling ec0b3375d161a813db869fce4e7a2ec1347e83a9 on fix/visual_tests into 320ea2a9198402355ea64d9a0f4d8a7cb77c7895 on master.

Coverage decreased (-0.2%) to 90.754% when pulling da940cbff6a566458855025870b210961e2b55f7 on fix/visual_tests into 320ea2a9198402355ea64d9a0f4d8a7cb77c7895 on master.

Coverage decreased (-0.1%) to 90.764% when pulling 58c0bddfe9d95354a3f9aff8b1aa69b0916fffab on fix/visual_tests into 320ea2a9198402355ea64d9a0f4d8a7cb77c7895 on master.

Coverage decreased (-0.1%) to 90.764% when pulling 7e0c9709e7b39a0d54c432d52f1619906da8a80d on fix/visual_tests into 320ea2a9198402355ea64d9a0f4d8a7cb77c7895 on master.


Sounds played through the /playsound command are played at where the player is standing in the world, they shouldn't be

1.16.5 forge latest version
using the playsound command should play the sound even if the player moves away from that location, that's not what's happening and none of settings are fixing it

what should it do instead?  This doesn't seem broken as much as just different functionality to what you want but maybe I'm misunderstanding something

They play with the players location, that's how they work


Add support to continuous recognition

Will start working on this in the same branch as Viseme integration: https://github.com/lucoiso/UEAzSpeech/tree/feature/VISEME-22


Queue-swift4

Checklist

[x] I've looked at the contribution guidelines.
[x] This pull request is complete and ready for review.

Description
Queue implementation has been tested on Xcode 9 b4 and works as expected and the unit tests pass as well.

:+1:


Make systemd-tmpfiles not complain about missing /var/log and other directories by populating empty /data early.

Merged to master as d8cfd50beadd59a00996010fe1e55f50132abdcc.


Make 'Property' Condition a Select

We should update the Property field on the Shipping Surcharges and Restrictions to be a select, rather than a free text field. This will require API work to unblock this ticket.

[ ] Shipping Surcharge Property Condition
[ ] Shipping Restriction Property Condition

@zenweasel Can you help me craft the API side ticket for this next week?


Forks / Maintenance

Does anyone maintain a fork that has kept up with PRs / added features? Maintenance seems quite slow in this project so just wondering.

I was thinking about it, wondering if anyone else has already..

If someone feels like helping maintain this I'm certainly open for it. :)


Write annotations to file if SIMPLECOV_BUILDKITE_TOFILE is true

Hi there.
I was looking for a way to surface our simplecov coverage in our buildkite pipelines and came across this gem.
It almost does exactly what I want.
The issue I have is that because our tests run within a docker container, we can't annotate the pipeline directly - buildkite-agent isn't running on the container where the tests are run.
Rather than add the buildkite-agent tooling to our container. I thought it might be useful to allow this gem to write it's results to a file if a certain ENV variable was set.
This way the file containing the simplecov-buildkite results can be uploaded as a buildkite artifact. Subsequent steps can downloaded that artifact and annotate the pipeline using it's content.
Along the lines of:
    command: |
      buildkite-agent artifact download coverage/buildkite-annotations.html /tmp/
      cat /tmp/coverage/buildkite-annotations.html | buildkite-agent annotate --context simplecov --style info

I've tried to stick to the coding style already used here and have added a test for the new use case.
Please let me know if you'd like me to make some changes to the PR or if this feature is totally off base.

Hey @camhine, sorry, this is actually the first I saw this - apparently I was never following notifications in this project 🤦🏻♀
I'd be happy to merge this if you want to reopen it!

Hey @ticky, it's all good.
I actually figured out I didn't need to do this. I assumed I had to bake the buildkite-agent into the container. But I was wrong.
It can be made available to the container using a volume like so:
    volumes:
      - /usr/bin/buildkite-agent:/usr/bin/buildkite-agent

Then to make sure buildkite-agent has all it needs you have to pass in enough of the buildkite env in the pipeline.yml:
        env:
          - BUILDKITE
          - BUILDKITE_JOB_ID
          - BUILDKITE_AGENT_ACCESS_TOKEN
          - BUILDKITE_AGENT_ENDPOINT


Zero-shot Inference with custom categories

Hi, I wanted to ask if it's possible to use the code from the section "Visualization on custom images" to extract bbox and categories using a custom vocabulary. Should I just create my custom concept embeddings (./pretrained_ckpt/concept_emb)?

@williamberrios Yes, you can leverage the existing code for zero-shot inference with custom categories. This can be done by replacing our concept embedding with the ones you created. After inference, you might have to modify the visualization code a bit for your custom categories (e.g., the class names).


Useless parentheses around expressions should be removed

This pull request is focused on resolving occurrences of Sonar rule
squid:UselessParenthesesCheck - “ Useless parentheses around expressions should be removed to prevent any misunderstanding ”.
You can find more information about the issue here:
https://dev.eclipse.org/sonar/rules/show/squid:UselessParenthesesCheck
Please let me know if you have any questions.
Ayman Abdelghany.

I will think more about it, but currently I think that new File(MyApplication.self.SAVES_FOLDER).list(); is less readable than (new File(MyApplication.self.SAVES_FOLDER)).list().
I agree with change in libraries/facebook/src/com/facebook/AppEventsLogger.java, but this is file from 3rd party library, and I think that we shouldn't touch 3rd party libraries with non-critical changes.

(new File(xxx)).yyy() left as is, because it is less confusing than new File(xxx).yyy().
facebook/AppEventsLogger.java left as is, because this file is from 3rd party library.


White list certain IPs/IP ranges in addition to geo blocking

Hi there and thanks for the plugin! I am allowing only IPs from a specific country with your plugin using this setup in my Caddyfile:
(GEOFILTER) {
        @geofilter {
                not maxmind_geolocation {
                        db_path "/usr/share/GeoIP/GeoLite2-Country.mmdb"
                        allow_countries FR
                }
        }
        respond @geofilter 403
}

my.domain.com {
        import GEOFILTER
        reverse_proxy local:7625
}

This seems to work fine and only allows French IPs. However, it also blocks local lan IPs and also IPs from my VPN. My question therefore is: how would I go about allowing certain IP ranges in addition to the geofilter directive? Unfortunately it is not really clear to me. Thank you for any help!

Solution is here: https://caddy.community/t/white-list-certain-ips-ip-ranges-in-addition-to-geo-blocking/12062/2?u=lotb
All that is need is a "not remote_ip" directive

Hello,
sorry for the delay; however, yes, I would have given the same suggestion you got on the community.
Actually the logic is that Caddy matchers are as pure as possible, each of them only matches what it has to. It's then up to you to combine various matchers to obtain your result; this makes them extremely powerful.
On the other side, having a matcher matching over multiple conditions just makes it harder to configure and understand.

@ale-rinaldi @allthesebugsv2 How to match (remote_ip <IP_ADDRESS>/24) OR (allow_countries FR) ?


feat: misc updates

closes #76
basically random updates / fixes

made max-width smaller in CenteredPage.svelte
added lang field for markdown (and a notice for posts not in the current language)
added custom Image components for image display in markdown
used rehype-slug for heading ids
added numbers to codeblocks

now we still have to figure out the colors

@HeyLoon review plz

btw you can use normal images
and they will (probably) scale properly now

@Eggrror404 I made some change, leave a message if everything is OK.

btw you can use normal images and they will (probably) scale properly now

I will use it next time :)

we should clean up the translation messages
some of them isn't even used lol

thats probably not a good idea

thats probably not a good idea

are we fixing or not?

thats probably not a good idea

are we fixing or not?

I think it's better than the previous one

thats probably not a good idea

are we fixing or not?

I think it's better than the previous one

wouldn't it break mobile view

thats probably not a good idea

are we fixing or not?

I think it's better than the previous one

wouldn't it break mobile view

not really bad


1D REF - valueQuantity should give a proper unit about the value

In some cases of valueQuantity in this file, we can observe a lack of unit attached to the numerical value, whether it be in the valueQuantity or the referenceRange. It would be good to make the necessary modifications to encourage the presence of a unit for a measured value/reference value.
"valueQuantity": {
  "value": 2.54
},

"referenceRange": [
  {
    "low": {
      "value": 0.78
    },
    "high": {
      "value": 3.53
    },
    "text": "0,78 - 3,53"
  }
]

Also, some values have a unit, but do not have a Code pointing to UCUM even though it is a value present in UCUM.
"valueQuantity": {
  "value": 0.03,
  "unit": "10³/µL"
},

@LotuxPunk ,
can you give me the reference number of this file on the test server, I would like to take a look at it.

@LotuxPunk ,
can you give me the reference number of this file on the test server, I would like to take a look at it.

It's the test case # 204, Patient with multiple surnames, label 1D

There's an improvement, but there's still not unit:
  "referenceRange": [
    {
      "low": {
        "value": 0.78,
        "system": "http://unitsofmeasure.org",
        "code": "{}"
      },
      "high": {
        "value": 3.53,
        "system": "http://unitsofmeasure.org",
        "code": "{}"
      },
      "text": "0,78 - 3,53"
    }
  ]

@LotuxPunk
the .unit field is not mandatory, but the code field is: https://www.ehealth.fgov.be/standards/fhir/lab/guidance.html#:~:text=If the FHIR datatype Quantity is used%2C the .code element SHALL be used. This element will also be shown by the visualizer%2C and not the .unit element.
The file is correct as it is now.

My bad, I misread the value of code. I thought it was an empty JSON object and not and "{}" string. Thank you very much !


Use pipe within json

This is what I would like to do:
{
  "_common": {
    "test": "Test"
  },
  "page": {
    "test": "{{ '_common.test' | translate }}"
  }
}

Is it possible?

I'm trying to use the same:
{
    "Generic": {
        "Hello2": "Hello {{value}} !",
        "Hello": "Hello {{Generic.World | translate}} !",
        "World": "W O R L D"
    }
}

I tried HTML like (which does not work):

Generic.Hello

or

Generic.Hello

Which throws this error:

Parser Error: Got interpolation ({{}}) where expression was expected at column 8 in [{value: {{Generic.World | translate}}}]

Translations cannot contain any angular specific code, only text and regular html.

@ocombe
Then how can I do variable substitution ?
Only way is via:

This is how you do it with the pipe:

{{ 'HELLO' | translate:param }}

And in your component define param like this:

param = {value: 'world'};


Update save-compute-costs-reservations.md

This word "immediately" makes some people think reservations start being applied in a few seconds after clicking purchase.
In reality, it takes time from several minutes to several hours.

@bandersmsft

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


docs: Update README for latest tagged release.

The example usage section was updated to use a gofmt-flags parameter that is only available with the latest tagged release. This commit updates the example to use that release tag for the uses configuration.

Thanks @cpu


fix(lexical-playground): fix bugs related to ComponentPickerPlugin

I have made the following two fixes:

https://github.com/facebook/lexical/commit/70eed93ed3231f24a12ae3dabf017a1035429772: When the ComponentPicker options are opened at a position overlapping the table, strings in the cell overlap and become difficult to read.

Intention: Another idea I had was to increase the z-index of the ComponentPicker options, but it doesn't feel right that only the table cells are floating, so I modified it as shown in PR.

https://github.com/facebook/lexical/commit/d67b6024ec0bb73d46b0b2d9a89d25baad291fe4: Missing Table (Experimental) in ComponentPicker options (maybe not a bug).

Before/After
Before

After

E2E test CI is failing, but I don't think it's due to this fix, so I'm making it ready for review.
I think it's the same problem as https://github.com/facebook/lexical/pull/3769#issuecomment-1407076527.


Event Request - Workflow Management

We need to perform some actions before standard code in Workflow management in Codeunit "Approvals Mgt." (1535), Function PrePostApprovalCheckPurch. we need more parameters in this event
//> Added
isHandled := false;
OnBeforePrePostApprovalCheckPurch(PurchaseHeader, isHandled);
if not isHandled then
//< Added
if IsPurchaseHeaderPendingApproval(PurchaseHeader) then
Error(PurchPrePostCheckErr, PurchaseHeader."Document Type", PurchaseHeader."No.");
exit(true);

You help us implementing the requests faster when your request contains AL code copied from VSCode instead of screenshots.

[IntegrationEvent(false, false)]
local procedure OnBeforePrePostApprovalCheckPurch(var PurchaseHeader: Record "Purchase Header"; var isHanlded: Boolean)
begin
end;

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. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Custom BackoffStrategies on the Event Loops

This PR is still a work in progress, subject to be reviewed by @normanmaurer  (and others who are interested, of course). Supersedes #4952

@buchgr a change similar to this would maybe fit your needs better? no need for a separate event loop and pluggable backoff mechanisms.

@NiteshKant I see, that makes sense. I kinda like the reset approach, what do you think about the last change?
I also incorporated the singleton and factory as @Scottmitch suggested.
I'm still thinking if we get this in we should not include the parking strategy since its very likely that the hardcoded parts are not good for every use case and to make it more tunable we need more experience on what to actually tune - unless someone comes up with a sane strategy and defaults.
I'm keeping in the PR for now so we can talk about potential extensions :)

@normanmaurer new day new update ;)

@normanmaurer @trustin - Any thoughts about this?
@daschl - Can you also add a JMH benchmark demonstrating the benefits and ensuring this change doesn't regress for the "in event loop" use case?

@Scottmitch will rework it, but not sure about JMH (since there are many different workloads in theory that could be affected. I'll see if I can come up with something sane)

updated

@Scottmitch updated the PR with your suggestions, let me know if that is what you are looking for :)
The only thing I'm not sure about is how we should handle a IOException in the supplier, right now I log the error, return 0 so that the code moves on (since there is not much at this point we can do, right?).

@normanmaurer good time for you to review too I think.

@normanmaurer updated - I moved the actual impls into nio but kept the interface in channel since its generic enough to be used with other types later (including epoll what @Scottmitch suggested)

how we should handle a IOException in the supplier

We could modify the IntSupplier and SelectStrategy to allow throwing an Exception. Currently it doesn't look like the event loop really does anything with the exception (just logs, sleeps, and moves on). However the higher level looks like it would have more knowledge of what to do if an exception does occur.

@Scottmitch it's quite late here today, will make the changes tomorrow morning. I'll try to polish it up to a "mergable" state and then we can do the final iterations.

@daschl - sgtm. Just ping me when you are ready for another round of review.

@Scottmitch updated (ping @normanmaurer hopefully one final time). If someone is curious on the benefits. These graphs show a 4.5k ops/s increase in throughput on a single thread full req/res cycle. This is a tight loop since I wanted to measure the overhead of going into the event loop.

Same code, just once with the default one and once with the custom parking one we had in the previous commits. I think with tuning we can get even more out of it, but this is already pretty nice (no pipelining, no mocking, this shows the full delay going back and forth including the couchbase server instance from a single client thread).

@trustin WDYT ?

@Scottmitch @normanmaurer @trustin ping - wdyt? Anything that is missing before it can be merged?

@daschl let me test this with gRPC. What SelectStrategy are you using in your benchmarks?

@buchgr I distilled it down basically to a busy spin - optionally you can add some ParkNanos as the next stage, but for my testing the busy spin with fallback to blocking select gave the biggest bang for the buck so far (but I need to test it with more workloads for sure).  The biggest thing I found you need to keep in mind is that the longer you "backoff" the more noise you'll have with more event loops when they are idle, since select() also wakes up after some time.
For starters, try
    private int counter;

    @Override
    public int calculateStrategy(final IntSupplier supplier, final boolean hasTasks) throws Exception {
        int selectNowResult = supplier.get();
        if (hasTasks || selectNowResult != 0) {
            counter = 0;
            return selectNowResult;
        }
        counter++;

        if (counter > 10000) {
            counter = 0;
            return SelectStrategy.SELECT;
        }

        return SelectStrategy.CONTINUE;
    }

@daschl - I like it :) By default we retain the existing behavior and so I think the risk to existing application is minimal.
Did you have any interest in also integrating this into EpollEventLoop? If not I can do it as a followup PR.

@buchgr the other one which might be worth experimenting with:
    @Override
    public int calculateStrategy(final IntSupplier supplier, final boolean hasTasks) throws Exception {
        int selectNowResult = supplier.get();
        if (hasTasks || selectNowResult != 0) {
            counter = 0;
            return selectNowResult;
        }
        counter++;

        if (counter > 2000) {
            LockSupport.parkNanos(1);
        } else if (counter > 3000) {
            Thread.yield();
        } else if (counter > 4000) {
            LockSupport.parkNanos(1000);
        } else if (counter > 5000) {
            // defer to blocking select
            counter = 0;
            return SelectStrategy.SELECT;
        }

        return SelectStrategy.CONTINUE;
    }

this one helps reducing the selectNow calls under not-so high pressure scenarios.
@Scottmitch I'd rather have you pick up the epoll change if you don't mind, for the main reason that I'm not so familiar with it right now :)
I'll fix up this change one more time with the feedback in a second.

@daschl danke. I ll give it a try on the weekend.

I gave the change a try. Similar results for lettuce. A continuous loop using full request/response cycles on one thread results in a 5.5k ops/s increase (before the change ~ 16k ops/sec, after ~ 21.5k ops/sec)
In my tests
    @Override
    public int calculateStrategy(final IntSupplier supplier, final boolean hasTasks)
        throws Exception {
        return supplier.get();
    }

performed best (some 500 to 1000 ops/sec faster than the @daschl strategy).

@daschl - No problem. I'll pickup the EPOLL portion.
@mp911de - Thanks for sharing!

Nice job! LGTM

@normanmaurer - Any objections?

Will check today and if not pull it in

Am 24.03.2016 um 05:44 schrieb Scott Mitchell<EMAIL_ADDRESS>@normanmaurer - Any objections?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

@normanmaurer why did this not make it into 4.0.35? :( :(

@daschl will release 4.0.36.Final next week and include it. Just want to run some more benchmarks first

@normanmaurer sounds good to me, thanks!

@Scottmitch @daschl yeah LGTM. I just want to do some benchmarking before pulling this in next week.

@normanmaurer - Ok SGTM. I'll pull together a PR for EPOLL too so we can keep them consistent in the next release.

@Scottmitch SGTM... thanks!

@normanmaurer - May be easier to benchmark with #5044 since it includes this PR and EPOLL updates.

So I did some tests and this looks good... @nmittler anything you want to add here or you are satisfied as well ?

LGTM

:tada:


add JSfuck

This took me way too long, sorry that I couldn't make a hello world, only a hello

(You can run it with node btw)


Why is this page under the GitHub repository under MicrosoftDocs called Skype for Business?

Shouldn't this be updated to be Microsoft Teams?

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

ID: c19d4972-fa39-2908-c33c-f7e1a84d06c5
Version Independent ID: c19d4972-fa39-2908-c33c-f7e1a84d06c5
Content: Manage the Updates app for your organization - Microsoft Teams
Content Source: Teams/manage-updates-app.md
Service: msteams
GitHub Login: @daisyfell
Microsoft Alias: daisyfeller

@ToddOmya I know the product teams are always looking for user feedback and how to make SharePoint better. They keep a close tab on user feedback and it would be awesome if you could add your voice in User Voice
SharePoint: https://sharepoint.uservoice.com/.
Skype for Business: https://www.skypefeedback.com/.
You might find others have made a similar request that you can add to, or you can open a new one. Let us know here if you do so we can up-vote your request.
Thank you for your contribution to make the docs better! Much appreciated!

@scanum Can I ask how this relates to the feedback portal? I am specifically talking about this GitHub repository for OfficeDocs and why it is named SkypeForBusiness when it is actually about Microsoft Teams. This is going to confuse a number of people as it did me for a second.
Second to that Uservoice is obsolete and everything has been moved to Feedback portal, though this issue has nothing to do with actual feedback on a Microsoft application.


Unable to get example working for RPi Zero

Hi folks,
I've had an issue open on the RPi Zero example repo for a month, but realised that may not be the right place to post this problem!
Building the example RPi Zero project (with some tweaks, to fix the go.mod file) creates a kernel file which builds successfully, but fails to run on any of my RPi Zeros.
These are the files I've had on my SD card, but I get no flashing LED, no printed output and no clues I know how to follow as to further debugging (I also tried including bcm2708-rpi-zero-w.dtb as it's called out as missing in the UART log, with no luck).
How should I proceed in trying to fix this?

UART Output
Raspberry Pi Bootcode

Read File: config.txt, 279

Read File: start.elf, 2955648 (bytes)

Read File: fixup.dat, 7311 (bytes)

MESS:00:00:01.002000:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:01.006316:0: brfs: File read: 279 bytes
MESS:00:00:01.062589:0: HDMI0:EDID error reading EDID block 0 attempt 0
MESS:00:00:01.068754:0: HDMI0:EDID error reading EDID block 0 attempt 1
MESS:00:00:01.075090:0: HDMI0:EDID error reading EDID block 0 attempt 2
MESS:00:00:01.081427:0: HDMI0:EDID error reading EDID block 0 attempt 3
MESS:00:00:01.087764:0: HDMI0:EDID error reading EDID block 0 attempt 4
MESS:00:00:01.094100:0: HDMI0:EDID error reading EDID block 0 attempt 5
MESS:00:00:01.100437:0: HDMI0:EDID error reading EDID block 0 attempt 6
MESS:00:00:01.106774:0: HDMI0:EDID error reading EDID block 0 attempt 7
MESS:00:00:01.113111:0: HDMI0:EDID error reading EDID block 0 attempt 8
MESS:00:00:01.119448:0: HDMI0:EDID error reading EDID block 0 attempt 9
MESS:00:00:01.125543:0: HDMI0:EDID giving up on reading EDID block 0
MESS:00:00:01.131252:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:01.136292:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
MESS:00:00:01.163018:0: brfs: File read: 279 bytes
MESS:00:00:01.343494:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
MESS:00:00:01.349317:0: *** Restart logging
MESS:00:00:01.353713:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
MESS:00:00:01.361298:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 1
MESS:00:00:01.368156:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 2
MESS:00:00:01.375014:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 3
MESS:00:00:01.381870:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 4
MESS:00:00:01.388729:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 5
MESS:00:00:01.395586:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 6
MESS:00:00:01.402443:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 7
MESS:00:00:01.409302:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 8
MESS:00:00:01.416158:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 9
MESS:00:00:01.422775:0: hdmi: HDMI0:EDID giving up on reading EDID block 0
MESS:00:00:01.428679:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
MESS:00:00:01.436472:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 1
MESS:00:00:01.443329:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 2
MESS:00:00:01.450187:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 3
MESS:00:00:01.457044:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 4
MESS:00:00:01.463902:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 5
MESS:00:00:01.470760:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 6
MESS:00:00:01.477617:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 7
MESS:00:00:01.484475:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 8
MESS:00:00:01.491333:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 9
MESS:00:00:01.497949:0: hdmi: HDMI0:EDID giving up on reading EDID block 0
MESS:00:00:01.503563:0: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
MESS:00:00:01.512308:0: HDMI0: hdmi_pixel_encoding: 162000000
MESS:00:00:01.518005:0: vec: vec_middleware_power_on: vec_base: 0x7e806000 rev-id 0x00002708 @ vec: 0x7e806100 @ 0x00000420 enc: 0x7e806060 @ 0x00000220 cgmsae: 0x7e80605c @ 0x00000000
MESS:00:00:01.539405:0: dtb_file 'bcm2708-rpi-zero-w.dtb'
MESS:00:00:01.543299:0: dtb_file 'bcm2708-rpi-0-w.dtb'
MESS:00:00:01.548141:0: Failed to load Device Tree file 'bcm2708-rpi-0-w.dtb'
MESS:00:00:01.555008:0: Failed to open command line file 'cmdline.txt'
MESS:00:00:01.719713:0: brfs: File read: /mfs/sd/example-pi-zero.bin
MESS:00:00:01.724374:0: Loading 'example-pi-zero.bin' to 0x8000 size 0x161050
MESS:00:00:01.731301:0: gpioman: gpioman_get_pin_num: pin EMMC_ENABLE not defined
MESS:00:00:01.739720:0: uart: Set PL011 baud rate to<PHONE_NUMBER>00 Hz
MESS:00:00:01.746151:0: uart: Baud rate change done...
MESS:00:00:01.749584:0: uart: Baud ratel1pageTableStart 0x4000
l1pageTableSize  0x4000

We will try to reproduce as time allows (Pi support is not our primary focus and the PR on kenbell repository certainly is reaching the right person for this). Nonetheless we will try to take a look and get back to you.
In the meantime please make sure that tamago-go and tamago are up to the latest version (the UART output suggests an older version).
Thanks

Thank you @abarisani; I recognise the RPi isn't a core part of your work and really appreciate the time you've taken! I'm interested in contrinuting and helping to fix this (both for myself, and for others) — if you've even any 'gut' instincts they'd go a long way to helping me, as my professional experience is on the web stack, not kernel!
I'll keep exploring, and trying to reach @kenbell for advice, but in the meanwhile (for reference), I'll post any advances in this thread.

Just to ensure this wasn't a versioning issue, I made sure I was using commit 9f55bc1 — the most recent that works with the current 1.16.3 latest.zip pre-build tamago-go. I also added dtdebug=1 in config.txt, but I can't see anything else useful in there.
I've been exploring the RPi's UART configuration, as the final lines appear slightly garbled, and they're just after a log line declaring a resetting of the UART baudrate; but with no luck.
Tips, from anyone, much appreciated!

UART Output (Recent build + dtdebug=1)
Raspberry Pi Bootcode
Read File: config.txt, 289
Read File: start.elf, 2955968 (bytes)
Read File: fixup.dat, 7311 (bytes)
MESS:00:00:01.328287:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:01.332628:0: brfs: File read: 289 bytes
MESS:00:00:01.389114:0: HDMI0:EDID error reading EDID block 0 attempt 0
MESS:00:00:01.395281:0: HDMI0:EDID error reading EDID block 0 attempt 1
MESS:00:00:01.401617:0: HDMI0:EDID error reading EDID block 0 attempt 2
MESS:00:00:01.407954:0: HDMI0:EDID error reading EDID block 0 attempt 3
MESS:00:00:01.414291:0: HDMI0:EDID error reading EDID block 0 attempt 4
MESS:00:00:01.420628:0: HDMI0:EDID error reading EDID block 0 attempt 5
MESS:00:00:01.426964:0: HDMI0:EDID error reading EDID block 0 attempt 6
MESS:00:00:01.433301:0: HDMI0:EDID error reading EDID block 0 attempt 7
MESS:00:00:01.439638:0: HDMI0:EDID error reading EDID block 0 attempt 8
MESS:00:00:01.445975:0: HDMI0:EDID error reading EDID block 0 attempt 9
MESS:00:00:01.452071:0: HDMI0:EDID giving up on reading EDID block 0
MESS:00:00:01.459525:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:01.463810:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
MESS:00:00:02.278534:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
MESS:00:00:02.284358:0: *** Restart logging
MESS:00:00:02.288236:0: brfs: File read: 289 bytes
MESS:00:00:02.293236:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
MESS:00:00:02.300852:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 1
MESS:00:00:02.307711:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 2
MESS:00:00:02.314568:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 3
MESS:00:00:02.321426:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 4
MESS:00:00:02.328283:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 5
MESS:00:00:02.335141:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 6
MESS:00:00:02.341999:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 7
MESS:00:00:02.348857:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 8
MESS:00:00:02.355714:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 9
MESS:00:00:02.362330:0: hdmi: HDMI0:EDID giving up on reading EDID block 0
MESS:00:00:02.368235:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
MESS:00:00:02.376026:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 1
MESS:00:00:02.382885:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 2
MESS:00:00:02.389742:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 3
MESS:00:00:02.396600:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 4
MESS:00:00:02.403457:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 5
MESS:00:00:02.410315:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 6
MESS:00:00:02.417173:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 7
MESS:00:00:02.424030:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 8
MESS:00:00:02.430888:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 9
MESS:00:00:02.437504:0: hdmi: HDMI0:EDID giving up on reading EDID block 0
MESS:00:00:02.443118:0: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
MESS:00:00:02.451863:0: HDMI0: hdmi_pixel_encoding: 162000000
MESS:00:00:02.457569:0: vec: vec_middleware_power_on: vec_base: 0x7e806000 rev-id 0x00002708 @ vec: 0x7e806100 @ 0x00000420 enc: 0x7e806060 @ 0x00000220 cgmsae: 0x7e80605c @ 0x00000000
MESS:00:00:02.479003:0: dtb_file 'bcm2708-rpi-zero-w.dtb'
MESS:00:00:02.482701:0: Trying Device Tree file 'bcm2708-rpi-zero-w.dtb'
MESS:00:00:02.493751:0: brfs: File read: /mfs/sd/bcm2708-rpi-zero-w.dtb
MESS:00:00:02.498670:0: Loading 'bcm2708-rpi-zero-w.dtb' to 0x100 size 0x67b1
MESS:00:00:02.515064:0: dtdebug: delete_node(/__local_fixups__)
MESS:00:00:02.522228:0: brfs: File read: 26545 bytes
MESS:00:00:02.525654:0: dtdebug: using platform 'bcm2835'
MESS:00:00:02.530614:0: dtdebug: overlay map not loaded
MESS:00:00:02.537133:0: dtdebug: /aliases:i2c_vc=i2c0
MESS:00:00:02.545602:0: dtdebug: /__symbols__:i2c_vc=i2c0
MESS:00:00:02.552810:0: dtdebug: /__overrides__:i2c_vc=i2c0
MESS:00:00:02.563978:0: dtdebug: /__overrides__:i2c_vc_baudrate=i2c0_baudrate
MESS:00:00:02.570991:0: dtdebug: /aliases:i2c=i2c1
MESS:00:00:02.579348:0: dtdebug: /__symbols__:i2c=i2c1
MESS:00:00:02.586403:0: dtdebug: /__overrides__:i2c=i2c1
MESS:00:00:02.591625:0: dtdebug: /aliases:i2c_arm=i2c1
MESS:00:00:02.600350:0: dtdebug: /__symbols__:i2c_arm=i2c1
MESS:00:00:02.607790:0: dtdebug: /__overrides__:i2c_arm=i2c1
MESS:00:00:02.619121:0: dtdebug: /__overrides__:i2c_baudrate=i2c1_baudrate
MESS:00:00:02.631709:0: dtdebug: /__overrides__:i2c_arm_baudrate=i2c1_baudrate
MESS:00:00:02.645850:0: dtparam: uart0_clkrate=48000000
MESS:00:00:02.652160:0: dtdebug: /__overrides__ has no uart0_clkrate property
MESS:00:00:02.657602:0: Unknown dtparam 'uart0_clkrate' - ignored
MESS:00:00:02.665498:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:02.669426:0: dtparam: uart0=on
MESS:00:00:02.675747:0: dtdebug: found override uart0
MESS:00:00:02.679115:0: dtdebug:   override uart0: string target 'status'
MESS:00:00:02.695551:0: brfs: File read: 289 bytes
MESS:00:00:02.698734:0: brfs: File read: /mfs/sd/cmdline.txt
MESS:00:00:02.704019:0: Failed to read command line file 'cmdline.txt'
MESS:00:00:02.722622:0: gpioman: gpioman_get_pin_num: pin EMMC_ENABLE not defined
MESS:00:00:04.928760:0: dtparam: cam0-pwdn=44
MESS:00:00:04.934026:0: dtdebug: found override cam0-pwdn
MESS:00:00:04.937749:0: dtparam: cam0-led=40
MESS:00:00:04.944334:0: dtdebug: found override cam0-led
MESS:00:00:04.947966:0: dtparam: arm_freq=1000000000
MESS:00:00:04.955259:0: dtdebug: found override arm_freq
MESS:00:00:04.958900:0: dtparam: core_freq=250000000
MESS:00:00:04.966333:0: dtdebug: /__overrides__ has no core_freq property
MESS:00:00:04.971444:0: Unknown dtparam 'core_freq' - ignored
MESS:00:00:04.988729:0: dtdebug: delete_node(/hat)
MESS:00:00:05.083061:0: brfs: File read: /mfs/sd/example-pi-zero.bin
MESS:00:00:05.087723:0: Loading 'example-pi-zero.bin' to 0x8000 size 0x161050
MESS:00:00:05.094589:0: Device tree loaded to 0x1bfe9400 (size 0x6ba3)
MESS:00:00:05.101887:0: uart: Set PL011 baud rate to<PHONE_NUMBER>00 Hz
MESS:00:00:05.108550:0: uart: Baud rate change done...
MESS:00:00:05.111981:0: uart: Baud ratel1pageTableStart 0x4000
                                                              l1pageTableSize  0x4000

Hey @abarisani, I'm not getting past the build step:
$ docker run -v $(pwd):/workdir jphastings/tamago-build:v1.16.4
/root/go/pkg/mod/github.com/f-secure-foundry/tamago@v0.0.0-20210512135525-47ab2cac2668/soc/bcm2835/bcm2835.go:58:5: ARM.CacheEnable undefined (type *arm.CPU has no field or method CacheEnable)

You can see I'm using the latest commit of tamago (47ab2cac2668), run with the tamago 1.16.4 binary build. I've not delved into why this error might be occurring yet, not have I (yet) tried using the source-built tamago-go.
I'll take a look into this, but it's likely beyond my knowlegde!

Fixed in https://github.com/f-secure-foundry/tamago/commit/ddf03422d158c43a773ae431044557aeb2eb0040
Can you try with it?

It successfully builds, but never appears to execute the application code in a way similar (but not identical) to above.

UART Output (ddf0342 build)
Raspberry Pi Bootcode
Read File: config.txt, 277
Read File: start.elf, 2955936 (bytes)
Read File: fixup.dat, 7313 (bytes)
MESS:00:00:01.121071:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:01.125396:0: brfs: File read: 277 bytes
MESS:00:00:01.181688:0: HDMI0:EDID error reading EDID block 0 attempt 0
MESS:00:00:01.187853:0: HDMI0:EDID error reading EDID block 0 attempt 1
MESS:00:00:01.194191:0: HDMI0:EDID error reading EDID block 0 attempt 2
MESS:00:00:01.200527:0: HDMI0:EDID error reading EDID block 0 attempt 3
MESS:00:00:01.206864:0: HDMI0:EDID error reading EDID block 0 attempt 4
MESS:00:00:01.213201:0: HDMI0:EDID error reading EDID block 0 attempt 5
MESS:00:00:01.219538:0: HDMI0:EDID error reading EDID block 0 attempt 6
MESS:00:00:01.225874:0: HDMI0:EDID error reading EDID block 0 attempt 7
MESS:00:00:01.232211:0: HDMI0:EDID error reading EDID block 0 attempt 8
MESS:00:00:01.238548:0: HDMI0:EDID error reading EDID block 0 attempt 9
MESS:00:00:01.244643:0: HDMI0:EDID giving up on reading EDID block 0
MESS:00:00:01.252148:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:01.256417:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
MESS:00:00:02.071024:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
MESS:00:00:02.076847:0: *** Restart logging
MESS:00:00:02.080726:0: brfs: File read: 277 bytes
MESS:00:00:02.085744:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
MESS:00:00:02.093342:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 1
MESS:00:00:02.100200:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 2
MESS:00:00:02.107058:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 3
MESS:00:00:02.113915:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 4
MESS:00:00:02.120773:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 5
MESS:00:00:02.127631:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 6
MESS:00:00:02.134489:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 7
MESS:00:00:02.141346:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 8
MESS:00:00:02.148203:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 9
MESS:00:00:02.154819:0: hdmi: HDMI0:EDID giving up on reading EDID block 0
MESS:00:00:02.160724:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
MESS:00:00:02.168516:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 1
MESS:00:00:02.175374:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 2
MESS:00:00:02.182232:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 3
MESS:00:00:02.189088:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 4
MESS:00:00:02.195947:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 5
MESS:00:00:02.202805:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 6
MESS:00:00:02.209662:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 7
MESS:00:00:02.216520:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 8
MESS:00:00:02.223377:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 9
MESS:00:00:02.229993:0: hdmi: HDMI0:EDID giving up on reading EDID block 0
MESS:00:00:02.235608:0: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
MESS:00:00:02.244353:0: HDMI0: hdmi_pixel_encoding: 162000000
MESS:00:00:02.250050:0: vec: vec_middleware_power_on: vec_base: 0x7e806000 rev-id 0x00002708 @ vec: 0x7e806100 @ 0x00000420 enc: 0x7e806060 @ 0x00000220 cgmsae: 0x7e80605c @ 0x00000000
MESS:00:00:02.271494:0: dtb_file 'bcm2708-rpi-zero-w.dtb'
MESS:00:00:02.279805:0: brfs: File read: /mfs/sd/bcm2708-rpi-zero-w.dtb
MESS:00:00:02.284736:0: Loading 'bcm2708-rpi-zero-w.dtb' to 0x100 size 0x67b1
MESS:00:00:02.304115:0: brfs: File read: 26545 bytes
MESS:00:00:02.374111:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:02.378040:0: dtparam: uart0=on
MESS:00:00:02.394343:0: brfs: File read: 277 bytes
MESS:00:00:02.397525:0: brfs: File read: /mfs/sd/cmdline.txt
MESS:00:00:02.402812:0: Failed to read command line file 'cmdline.txt'
MESS:00:00:02.421429:0: gpioman: gpioman_get_pin_num: pin EMMC_ENABLE not defined
MESS:00:00:04.752353:0: brfs: File read: /mfs/sd/tamago-kernel.bin
MESS:00:00:04.756840:0: Loading 'tamago-kernel.bin' to 0x8000 size 0x161030
MESS:00:00:04.763533:0: Device tree loaded to 0x1bfe9400 (size 0x6ba3)
MESS:00:00:04.770797:0: uart: Set PL011 baud rate to<PHONE_NUMBER>00 Hz
MESS:00:00:04.777492:0: uart: Baud rate change done...
MESS:00:00:04.780936:0: uart: Baud rate

Now I'm getting no output after the Baud rate change I'm worried I'm missing further debug info because it's switching rates.
I've been monitoring the output with a separate serial USB device, and screen /dev/cu.usbserial-0001 115200, and the config.txt set to:
enable_uart=1
uart_2ndstage=1
dtparam=uart0=on
kernel_address=0x8000
disable_commandline_tags=1
core_freq=250
kernel=tamago-kernel.bin

I realise tis is Pi-specific stuff, but if you know the lack of further output is expected, or some part of this config isn't helping you debug, just mention it!

Thanks, we'll try to reproduce this and get back to you.

I've refreshed my memory of RPi UART usage and tried a number of scenarios, without any change or luck. This includes:

Removing the core_freq and enable_uart assertions in config.txt (as they seem mostly related to miniUART, and on the RPi Zero, the PL011 is default/primary anyway)
Added a dtoverlay=disable-bt line in cmdline.txt (along with that overlay from the rpi repo, at overlays/disable-bt-overlay.dts) — as this ensures that the PL011 is primary (this looks to be already the case, from the logs above, but worth a try!)

Thank you for your help!

FYI we have identified the likely cause and we are working on a solution, should be done next week.

Thank you! I'm looking forward to it 😊

The issue has been solved now. Please try our fork: https://github.com/f-secure-foundry/tamago-example-pizero

Your fork seems to be using an old version of tamago (maybe you didn't push your changes to your fork?) so I did the following, but still have no luck:
$ git clone git@github.com:f-secure-foundry/tamago-example-pizero.git

# Get rid of old go mod file
$ rm go.*

# Use latest tamago
$ go mod init
$ go mod tidy

# Ensure we're using the latest tamago
$ cat go.mod
module github.com/f-secure-foundry/tamago-example-pizero

go 1.16

require github.com/f-secure-foundry/tamago v0.0.0-20210601073428-3d51445fa773

# Build with tamago-go
$ docker run -v $(pwd):/workdir -v /Volumes/SDCARD:/workdir/build jphastings/tamago-build:HEAD
Downloading RPi firmware: LICENCE.broadcom
Downloading RPi firmware: bootcode.bin
Downloading RPi firmware: fixup.dat
Downloading RPi firmware: start.elf
go: downloading github.com/f-secure-foundry/tamago v0.0.0-20210601073428-3d51445fa773
Volume SDCARD on disk3s1 unmounted

(This was built with tamago-go built from source @1.16.4, in this docker container using this definition)

Same problem 😔
Raspberry Pi Bootcode
Read File: config.txt, 277
Read File: start.elf, 2956320 (bytes)
Read File: fixup.dat, 7310 (bytes)
MESS:00:00:01.114312:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:01.118632:0: brfs: File read: 277 bytes
MESS:00:00:01.175649:0: HDMI0:EDID error reading EDID block 0 attempt 0
MESS:00:00:01.181815:0: HDMI0:EDID error reading EDID block 0 attempt 1
MESS:00:00:01.188151:0: HDMI0:EDID error reading EDID block 0 attempt 2
MESS:00:00:01.194488:0: HDMI0:EDID error reading EDID block 0 attempt 3
MESS:00:00:01.200825:0: HDMI0:EDID error reading EDID block 0 attempt 4
MESS:00:00:01.207162:0: HDMI0:EDID error reading EDID block 0 attempt 5
MESS:00:00:01.213498:0: HDMI0:EDID error reading EDID block 0 attempt 6
MESS:00:00:01.219836:0: HDMI0:EDID error reading EDID block 0 attempt 7
MESS:00:00:01.226172:0: HDMI0:EDID error reading EDID block 0 attempt 8
MESS:00:00:01.232509:0: HDMI0:EDID error reading EDID block 0 attempt 9
MESS:00:00:01.238604:0: HDMI0:EDID giving up on reading EDID block 0
MESS:00:00:01.245991:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:01.250247:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
MESS:00:00:02.065225:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
MESS:00:00:02.071049:0: *** Restart logging
MESS:00:00:02.074928:0: brfs: File read: 277 bytes
MESS:00:00:02.079881:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
MESS:00:00:02.087544:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 1
MESS:00:00:02.094402:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 2
MESS:00:00:02.101259:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 3
MESS:00:00:02.108116:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 4
MESS:00:00:02.114979:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 5
MESS:00:00:02.121832:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 6
MESS:00:00:02.128690:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 7
MESS:00:00:02.135548:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 8
MESS:00:00:02.142405:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 9
MESS:00:00:02.149021:0: hdmi: HDMI0:EDID giving up on reading EDID block 0
MESS:00:00:02.154924:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
MESS:00:00:02.162717:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 1
MESS:00:00:02.169576:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 2
MESS:00:00:02.176433:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 3
MESS:00:00:02.183290:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 4
MESS:00:00:02.190149:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 5
MESS:00:00:02.197006:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 6
MESS:00:00:02.203863:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 7
MESS:00:00:02.210722:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 8
MESS:00:00:02.217579:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 9
MESS:00:00:02.224195:0: hdmi: HDMI0:EDID giving up on reading EDID block 0
MESS:00:00:02.229809:0: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
MESS:00:00:02.238554:0: HDMI0: hdmi_pixel_encoding: 162000000
MESS:00:00:02.244250:0: vec: vec_middleware_power_on: vec_base: 0x7e806000 rev-id 0x00002708 @ vec: 0x7e806100 @ 0x00000420 enc: 0x7e806060 @ 0x00000220 cgmsae: 0x7e80605c @ 0x00000000
MESS:00:00:02.265655:0: dtb_file 'bcm2708-rpi-zero-w.dtb'
MESS:00:00:02.269480:0: dtb_file 'bcm2708-rpi-0-w.dtb'
MESS:00:00:02.274324:0: Failed to load Device Tree file 'bcm2708-rpi-0-w.dtb'
MESS:00:00:02.281191:0: Failed to open command line file 'cmdline.txt'
MESS:00:00:02.374815:0: brfs: File read: /mfs/sd/tamago-kernel.bin
MESS:00:00:02.379302:0: Loading 'tamago-kernel.bin' to 0x8000 size 0x161028
MESS:00:00:02.386055:0: gpioman: gpioman_get_pin_num: pin EMMC_ENABLE not defined
MESS:00:00:02.394440:0: uart: Set PL011 baud rate to<PHONE_NUMBER>00 Hz
MESS:00:00:02.400905:0: uart: Baud rate change done...
MESS:00:00:02.404338:0: uart: Baud rate

Am I missing something?

I forgot to push on the repo, sorry. Please retry now.

It works beautifully! Thank you for the hard work @andrejro 😊
I have some time (and interest) in continuing to develop tamago-build, to allow mac users (like myself), windows users, or linux users without a cross compile set up to build apps with tamago — if that's something you think your team would be interested in, I'd love a chat to make sure I'd be building in the same direction you are.
Thanks again!

It works beautifully! Thank you for the hard work @andrejro
I have some time (and interest) in continuing to develop tamago-build, to allow mac users (like myself), windows users, or linux users without a cross compile set up to build apps with tamago — if that's something you think your team would be interested in, I'd love a chat to make sure I'd be building in the same direction you are.
Thanks again!

Sure thing, sounds definitely interesting.

PR added here to cover that (just to join up the threads — I'll await your thoughts & feedback over there)


No cached version of org.xwalk:xwalk_core_library_beta:15.44.384.7 available for offline mode.

Hi,
I got this error when I tried to build the project, do you happen to know how to resolve it?
Error:A problem occurred configuring project ':app'.

Could not resolve all dependencies for configuration ':app:_debugCompile'.
Could not resolve org.xwalk:xwalk_core_library_beta:15.44.384.7.
Required by:
CrosswalkDemo-master:app:unspecified
No cached version of org.xwalk:xwalk_core_library_beta:15.44.384.7 available for offline mode.
No cached version of org.xwalk:xwalk_core_library_beta:15.44.384.7 available for offline mode.

Issue is resolved by running from command line.


Post Data Processing Code

Add code to process raw data sources into the repository

@leeevans I think you have completed this task with this check in:
https://github.com/OHDSI/CommonEvidenceModel/commit/1d5d92788b9b2e4b902bbec0e417779dee02c29d


UI/Snapshot Tests are broken

UI/Snapshot Tests are broken in develop. Something about the Onboarding, Site Ranking, and Network Offenders must have been changed and UI Tests were not updated apparently. It's a quick fix so I'm preparing a PR in case it's useful for you.

Hello,
We are now tracking this internally at: https://app.asana.com/0/414709148257752/1158699016458265
Since there was no further PR forthcoming I'm going to close this out.
Thanks for your continued use of our app!


[FP]: org.typelevel.log4cats-core_2.13:2.2.0 flagged with CVE-2021-32816

Package URl
<EMAIL_ADDRESS>CPE
cpe:2.3:a:protonmail:protonmail:2.2.0:*:*:*:*:*:*:*

CVE
CVE-2021-32816
ODC Integration
{"label"=>"Maven Plugin"}
ODC Version
7.0.0
Description
The only occurrence related to Protonmail in the entire codebase is one of the developer's email addresses.

Was duplicated by #4295 and resolved under that reference


Add option to only display warnings/failures

It'd be nice if you could have the tool only output failures. Some of these reports can be massive/difficult to parse for people who are not familiar with it, such as when your trying to audit for a large number of accounts at the same time or forwarding results to end users.
That seem reasonable?

Implemented here https://github.com/toniblyx/prowler/pull/441


rs.exe The Authentication Extension threw an unexpected exception

Can rs.exe connect to SSRS if custom security extension is in use?
I'm getting
Extension threw an unexpected exception or returned a value that is not valid: . (rsAuthorizationTokenInvalidOrExpired)
If possible any idea guide? or idea what could be wrong? If not, what are the alternatives?
I'm using 2017

I never used this, but I guess you have to implement a way to bypass your custom security extension (which probably authenticate against any third party user-database) and fall back to windows authentication used in common mode. So an idea would be something like checkup like you implemented and if authenticate fails you try implement a fallback to authenticate against network-login and use impersonating, e.g. https://docs.microsoft.com/en-us/dotnet/api/system.security.principal.windowsidentity.impersonate?redirectedfrom=MSDN&view=netframework-4.7.2#System_Security_Principal_WindowsIdentity_Impersonate_System_IntPtr_.

Can you please elaborate more on your idea? As far as I know, custom authentication cannot be used with any other authentication type.
What are the alternatives to deploy SSRS reports?

If you implement your own custom type you can implement default windows nltm auth as well there. So check for your auth, if it fails or is invalid then impersonate using windows auth inside your custom auth code.
Alternative is upload your reports using the UI by upload each rdl file (which I do).

I got you. Any idea where to start from if I want to do my own deployment tool?
The problem in my case is that I need to make it easy for the client, I'm looking at the 3rd party deployment tools but I haven't tested any of them yet. Have you?

I would infact do it here (example, not tested):
public static bool VerifyUser(string userName)
{
  bool flag = false;
  #region VERIFICATION THROUGH OWN SECURITY
   // do your code here
    var informer = new InformerAuthentication();
  flag = informer.ActorExists(userName);
  #endregion
  #region VERIFICATION THROUGH ACTIVE DIRECTORY
  if ( !flag ) {
    var ad = new ADauthentication();
    flag = ad.IsExists(userName);
  }
  #endregion
  return flag;

}

And then you also have to implement this in CheckAccess for the required operations.


Hi paritosh I'm new python and lm looking for a teacher can you help me ?

Hi @SSENGENDO22, as I am a Junior Developer myself, I'm not sure how helpful I'd be in your learning journey 😅.
But feel free to drop an email if you have any doubts at dahiyaparitosh[at]gmail[dot]com


Questions about the reward curve and bert.

Many thanks for conducting this excellent work!
I raised 2 questions while trying to reproduce the experiments.

Why does the reward curve for prompt-image alignment shown in this repo fluctuate greatly, but the reward curve shown in Figure 5 in the paper is very smooth?
While I was experimenting, the bert scores are extremely high. For example, for the noisy image below, LLaVA generated a description: "In the image, there is a colorful, abstract, and blurry background with a mix of colors and patterns. The background is filled with a variety of colors, creating a visually interesting and dynamic scene. " The bert score of this description with the prompt "a pig riding a bike" is about 0.82. I think this may be due to the fact that the bert model I used is different from yours. So I would like to know more details about the bert used in your experiments.

Very thanks if you can give me some help :-)

Same question here

Hi, did you manage to stabilize the rewards during training?

Same question here. Have you solved it? Many thanks:)


Need Better Logo

Current logo:

Need one that looks better when it's smaller.

hi

need Help?

yes


Use $(DYLIB_EXT) in one more place

Inspired by #192

That was pretty quick :)

That was pretty quick :)

Eager to get a New Year's build going here. The last bit of Makefile housekeeping are the -linux literals here if there's some way you'd like to support -macos also:
https://github.com/thepowersgang/mrustc/blob/8f52819e1f88d2fd7ecc7dd14c83df38b7fec7a7/run_rustc/Makefile#L118-L121

Eager to get a New Year's build going here. The last bit of Makefile housekeeping are the -linux literals here if there's some way you'd like to support -macos also:
https://github.com/thepowersgang/mrustc/blob/8f52819e1f88d2fd7ecc7dd14c83df38b7fec7a7/run_rustc/Makefile#L118-L121


arm64/a64: Add support for Multiple UART Ports

Summary
Currently only Port UART0 is supported for Allwinner A64. This PR adds support for all UART Ports: UART1 to UART4. (Except R-UART, which is a special low-power UART)
This is required for the upcoming LTE Modem Driver (Quectel EG25-G) for PINE64 PinePhone, which uses UART3. (Details here)
The code was adapted from the NuttX UART Driver for Allwinner A1X: a1x_serial.c
Modified Files
arch/arm64/src/a64/a64_serial.c: Added ports UART1 to UART4, based on a1x_serial.c
arch/arm64/src/a64/a64_serial.h: Added IRQs for UART1 to UART4. Moved UART Base Addresses to a64_memorymap.h
arch/arm64/src/a64/hardware/a64_memorymap.h: Added UART Base Addresses for UART0 to UART4
arch/arm64/src/a64/Kconfig: Added UART1 to UART4 to Allwinner A64 Peripheral Selection menu
Updated Documentation
Documentation/platforms/arm/a64/boards/pinephone/index.rst: UART Driver now supports all UART Ports
Impact
With this PR, Allwinner A64 will support UART1 to UART4. This is required for the upcoming LTE Modem Driver (Quectel EG25-G) for PINE64 PinePhone, which uses UART3. (Details here)
There is no impact to existing code, which uses only UART0.
Testing
We tested UART3 on PINE64 PinePhone. For Regression Testing, we tested UART0.
UART3 Test
We tested UART3 with the Build Configuration pinephone:lvgl
tools/configure.sh pinephone:lvgl
make menuconfig
## Enable Allwinner A64 > UART3

To activate serial comms on UART3, we started PinePhone's Quectel EG25-G LTE Modem in pinephone_bringup.c
(Explained here)
UART3 works correctly (for both runs) when we sent AT Commands for Phone Call and SMS:

Modem Test App (run twice): hello_main.c
(Explained here)

Modem Test Log

Regression Test
We tested UART0 with the Build Configuration pinephone:nsh
tools/configure.sh pinephone:nsh

UART0 works correctly as the Serial Console:

Regression Test Log

Rebased with Master, to restart macOS Build


Used the free memory ??

Hi all,
This is Qianxin CodeSafe Team, we found a suspicious issue, where has used the free memory "kt"at
https://github.com/apache/brpc/blob/5cdf22f158722b3b11c7eabb7632690d719ccc4b/src/bthread/key.cpp#L240
but ,the memory already released at
https://github.com/apache/brpc/blob/5cdf22f158722b3b11c7eabb7632690d719ccc4b/src/bthread/key.cpp#L239

Here only the value of the kt pointer is used, not the memory it points to.

Thank you for your reply


Create Links “tiktok-23”

Automatically generated by Netlify CMS

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


API documents are not getting generated

We have published our package in the pub. After publishing the new version, the API documents are not generated and shown as failed to run dartdoc which I have shown below.

But from the above, I couldn't find the exact cause/issue. I have tried to replicate this locally, but while generating API documents using dartdoc command, there were no errors in it and API documents are generated properly. I have ensured in latest stable and beta channels. In both, API documents are generating properly without any errors.
In the stable channel, dartdoc tool version is 0.32.4 and in the beta channel, dartdoc tool version is 0.39.0.
Steps to Reproduce

Download the package
Run dartdoc

Logs
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, 1.26.0-17.6.pre, on Microsoft Windows [Version 10.0.19042.804], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[√] Android Studio (version 4.1.0)
[√] VS Code (version 1.53.2)
[√] Connected device (2 available)

• No issues found!

C:\Users\TempKaruna>flutter doctor -v
[√] Flutter (Channel beta, 1.26.0-17.6.pre, on Microsoft Windows [Version 10.0.19042.804], locale en-US)
    • Flutter version 1.26.0-17.6.pre at C:\FlutterSDK\beta\flutter
    • Framework revision a29104a69b (3 days ago), 2021-02-16 09:26:56 -0800
    • Engine revision 21fa8bb99e
    • Dart version 2.12.0 (build 2.12.0-259.12.beta)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\TempKaruna\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.1.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.53.2)
    • VS Code at C:\Users\TempKaruna\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.19.0

[√] Connected device (2 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 88.0.4324.182
    • Edge (web)   • edge   • web-javascript • Microsoft Edge 88.0.705.68

• No issues found!

Hi @dharanidharandharmasivam
From what I can see, the issue is related to a 3rd party plugin rather than to Flutter itself. Please open the issue in the dedicated repository.
Closing, as this isn't an issue with Flutter itself.
If you disagree, please write in the comments,
providing your flutter doctor -v, your flutter run -v,  your pubspec.yaml
a minimal reproducible code sample that does not use 3rd party plugins,
and I will reopen it.
Thank you


[DOC] Add minimal version of node for near-shell

Is your feature request related to a problem? Please describe.
People have older version of node and our tools don't work. Errors are also not clear.
Describe the solution you'd like
Have version of node required (at least 12) on all the pages that mention near-shell

since we control NEAR Shell let's just handle the requirement there and keep docs free of exceptions
discussion here: https://github.com/nearprotocol/near-shell/issues/186


block:reorder:dropped events

It seems that when block:reorder:dropped a little orphan of the reordered block is appended to the store.
Say if you have the following:

text: 'Bar'
heading: 'Foo'

and you reorder that to:

heading: 'Foo'
text: 'Bar'

store.retreive() at block:reorder:dropped will be:

heading: 'Foo'
text: 'Bar'
text: 'Bar'

<theory> I think that somewhere after the reorder perhaps the store is being mutated to fix this, but the mutation is not happening before the reorder trigger through the EventBus.

Yes i noticed that too. I have a hacky setTimeout currently. I am assuming there are some cleaner api changes in the works for js apps as currently I am doing:
# ('block:reorder:dropped' listener)
setTimeout ->
	SirTrevor.onBeforeSubmit()
	SirTrevor.getInstance(0).store.retrieve().data
	# save data here
, 500

@toddmoorega Ok. I'll look at that orphan issue.
@timmyg This is the current workflow. I've been reluctant to change the data api as we've not fleshed out the final solution yet, and this works for now. Also i'd stop using getInstance and use var editor = new SirTrevor() as that'll disappear in the future.

@raffij isnt that create a new instance of the editor? How can I reference an existing instance to get block data?

Can you not assign the editor to a variable on creation?
On Fri, 12 Feb 2016 at 17:10, Tim<EMAIL_ADDRESS>wrote:

@raffij https://github.com/raffij isnt that create a new instance of
the editor? How can I reference an existing instance to get block data?
—
Reply to this email directly or view it on GitHub
https://github.com/madebymany/sir-trevor-js/issues/412#issuecomment-183416499
.

Yes I guess I can just do that.
On Fri, Feb 12, 2016 at 4:04 PM Raffi Jacobs<EMAIL_ADDRESS>wrote:

Can you not assign the editor to a variable on creation?
On Fri, 12 Feb 2016 at 17:10, Tim<EMAIL_ADDRESS>wrote:

@raffij https://github.com/raffij isnt that create a new instance of
the editor? How can I reference an existing instance to get block data?
—
Reply to this email directly or view it on GitHub
<
https://github.com/madebymany/sir-trevor-js/issues/412#issuecomment-183416499
.

—
Reply to this email directly or view it on GitHub
https://github.com/madebymany/sir-trevor-js/issues/412#issuecomment-183487798
.


Using over Wifi

Hi!
Cant i use the app in adb over wifi mode?
I cant connect my device using cable so i always adb over wifi on folder 5188 but the app cant find my device.
ty!

Yes, you can connect via WiFi but you have to do Wifi Pairing first in Android Settings. Did you try that? You would need Android Studio for that though...

Ty João!
I did it... i was using an older version of ADB. =(
I am sorry for taking your time!
btw: really good apps! i have almost all in my other account =) Nice job!

Great! :) Glad it works! Thank you!


How to disable auto-indent with vim-plug ?

After I applied vim-plug within "call plug#begin('~/.vim/bundle')" and "call plug#end()", I found my vim become auto-indent again even if I manually ":set nosmartindent" and ":set noautoindent".
If I remove "call plug#begin('~/.vim/bundle')" and "call plug#end()", no indention again.
So, I guess if this caused by vim-plug? And Is there any special command to disable the indention of this kind of ?
Thanks.

Type:

[ ] Bug
[ ] Enhancement
[ ] Feature Request
[x] Question

OS:

[ ] All/Other
[x] Linux
[x] OS X
[ ] Windows

Vim:

[x] Terminal Vim
[ ] GVim
[ ] Neovim

See https://github.com/junegunn/vim-plug#usage

@junegunn May I ask why this change to default behaviour is part of Vim Plug ?
This issue had me thinking I was losing my mind for a week or two before I found a Reddit post about this which led me to this issue.
Thank you for the great work on Vim Plug ! This is the only minor "complaint" I can find about this software. Easily fixed so no major issues for me.

i have set autoindent after the indent trun off
call plug#end()
indent off, syntax off
set autoindent autowrite noerrorbells
As per my knowledge the autoindent will take indentaion of previous line and i want the same behaviour , but when i use the plugin my autoindentaion does not work properly and  some extra indenation get apply .


Add support for escape button press

Go for it if you want!

modal is now supported in react native web.
https://github.com/necolas/react-native-web/releases/tag/0.14.0
Thank you for using this library!


deps(reporter-web-app): backward-incompatible Yarn updates

Use "yarn upgrade-interactive --latest" command to Update the
dependencies in package.json
backward-incompatible updates might need some code changes but in this
commit the dependancies that are updated don't show any errors and the
app runs successfully after the updates
Signed-off-by: Menatalla Elnemr<EMAIL_ADDRESS>Please ensure that your pull request adheres to our contribution guidelines. Thank you!

@mennaElnemr9 please rebase this onto latest main to resolve conflicts.

@mennaElnemr9 please also adjust the commit message body to use sentences with proper capitalization at the beginning and a dot at the end. Also, for the commit message title we prefer to start capitalized after the :.

Is the commit message good now?

Yes, LGTM, thank you!

We have noticed that the size test for the web-app has failed and will fix it shortly.

org.ossreviewtoolkit.analyzer.managers.GoModFunTest > Project dependencies are detected correctly FAILED

@sschuberth am I right to assume that this is unrelated to our changes? Is there anything for us to do in this regard?

@sschuberth am I right to assume that this is unrelated to our changes?

Yes.

Is there anything for us to do in this regard?

First let me retrigger the check, it could be network flakyness. Otherwise I'll override afterwards.


[Chore] Refactor CourseManagementRequests.ts to only contain related code

Motivation and Context

Currently CourseManagementRequests.ts contains all cypress requests. There are requests in there which don't have to do anything with course management (but with exams), so unrelated code should be removed from this file and should be put into another class.
Description

This PR splits the requests from CourseManagementRequests.ts into three classes:

CourseManagementRequests
ExerciseRequests
ExamManagementRequests
CourseManagementRequets contains requests only related to courses (course creation/deletion etc) and ExamManagementRequests contains requests related to exams, Both classes inherit from ExerciseRequests, where general requests are defined to create and delete various exercise types. This is done because exercises can be created for courses as well as for exams.

Steps for Testing

Tests are executed by the bamboo buildplan and still pass
Review Progress

Code Review

[ ] Review 1
[ ] Review 2

Blocked
There are changes in this PR which originate from #3937. Once that PR has been merged some changes should dissapear from the diff. Still this PR will mostly remain the same, so it can already be reviewed

Tests still pass after resolving merge conflict


ERROR: Could not find a version that satisfies the requirement spu==0.1.0b1 (from secretflow) (from versions: none)

Issue Type
Others
Source
binary
Secretflow Version
0.6.13
OS Platform and Distribution
No response
Python version
No response
Bazel version
No response
GCC/Compiler version
No response
What happend and What you expected to happen.
你好。。pip install -U secretflow报错，需要怎么处理？
ERROR: Could not find a version that satisfies the requirement spu==0.1.0b1 (from secretflow) (from versions: none)

Reproduction code to reproduce the issue.
ERROR: Could not find a version that satisfies the requirement spu==0.1.0b1 (from secretflow) (from versions: none)

麻烦提供一下 os 版本（包括 cpu 类型，比如 macOS 12.4 x64）以及 python 版本

试一下手动下载
https://files.pythonhosted.org/packages/ab/ee/5c8187728d4f55849256c63ef09375f168fdb0551c0c16eb2fc9b2a44dc6/spu-0.1.0.b1-cp38-cp38-manylinux_2_17_x86_64.whl
然后用 pip 安装

pip install  spu-0.1.0.b1-cp38-cp38-manylinux_2_17_x86_64.whl
ERROR: spu-0.1.0.b1-cp38-cp38-manylinux_2_17_x86_64.whl is not a supported wheel on this platform.

请问你的glibc版本是什么？

@licyclone 为了防止万一
python3 -m pip install spu-0.1.0.b1-cp38-cp38-manylinux_2_17_x86_64.whl

执行报同样错误。

pip 也更新一下试试？
pip install -u pip

Hi @licyclone ,
If this still doesn't work for you, could you please use the offical docker image: https://github.com/secretflow/spu#docker.
Thanks.

th

pip 也更新一下试试？
pip install -u pip
pip install -U pip 可以。pip从20升级到22.1.2即可。谢谢！

Hi @licyclone ,
If this still doesn't work for you, could you please use the offical docker image: https://github.com/secretflow/spu#docker.
Thanks.

谢谢！问题已解决，已安装成功，后续可以试一下。


Test all built-in curves and let the library choose the EC_METHOD

Some of the other unit tests specify EC_METHOD. This additional test loop lets the library choose based on the default for the built-in curve's NID.

+1  @levitte this looks like your kind of thing?  o

Not sure how that's "my kind of thing"...  but it looks easy enough and I can't see the harm, so...

Pushed


Add a wiki: Osamu Sato Wiki

An anonymous user has submitted a new wiki via our submission form.
Link to origin wiki: https://easternmind.fandom.com/wiki/Eastern_Mind_Wiki
Link to destination (independent) wiki: https://compu-lsd.com/w/Main_Page

This has been added and will be released in v1.3.0


Images are not included in screenshot

Hello,
I've tried setting the following
  phantomArgs: [
    [
      '--ignore-ssl-errors=true',
      '--disk-cache=true',
      '--load-images=true',
      '--local-to-remote-url-access=true',
    ],
    {},
  ],

as well as calling my page.render here:
page.on('onLoadFinished', async () => {
    await page.render(screenshotPath);
}

I've also tried doing a setTimeout for 30 seconds, but for whatever reason images just are not being included in the screenshot. Any advice? Thank you!

Welp, the problem was related to my user agent string. I was setting it to:
page.property('settings', { userAgent: 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36' });

But commenting that line out made everything work just fine.


Updated ContentMD5 parameter in DataLake swagger

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Can one of the admins verify this patch?

Automation for azure-sdk-for-python

Automation for azure-sdk-for-go


Add parameter to configure content limit for ingest api

Description
Describe the proposed changes made in this PR.
This change adds the ability for the user to configure the content limit for the ingest api. It is related to the feature request made in #3797.
How was this PR tested?
I have tried adding unit tests but they were not working as expected. I wanted the PR out to get the initial comments, I will add the tests in a follow-up commit to this PR.

 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.

Can we add a unit test checking we reject payload above the limit configured? A test on the filter level is ok.

Sure I was working on the unit test I will push it when its done.

Thank you @kamalesh0406 !


VM dies after reboot

Hi,
We're using App Engine Managed VM Java.
It sometimes happen that an instance becomes unhealthy. The automatic systems reboots it and usually the machine isn't healthy again. It usually is rebooted a few times by the health check and after a while our system fully crashes so we must redeploy a new version.
We tried to understand what could happen. When we reboot using the reset button a VM (or by doing a sudo shutdown -r 0), most of the time the VM is dead after. We can't log in using SSH, the VM never takes traffic afterwards. Serial console output says:
========= rebooting. ========================

INIT: Switching
INIT: Sending processes the TERM signal

INIT: Sending processes the KILL signal

Dec 21 10:23:17 gae-default-frontend--vm--3--1--1--4-jhqn init: Switching to runlevel: 1
gcm-StatusUpdate:TIME=1450693397000;STATUS=COMMAND_FAILED;INVOCATION_ID=0
[info] Using makefile-style concurrent boot in runlevel 1.
udhcpd: Disabled. Edit /etc/default/udhcpd to enable it.
Stopping supervisor: supervisord.
Dec 21 10:23:18 gae-default-frontend--vm--3--1--1--4-jhqn rpcbind: rpcbind terminating on signal. Restart with "rpcbind -w"
Dec 21 10:23:18 gae-default-frontend--vm--3--1--1--4-jhqn rpc.statd[1787]: Caught signal 15, un-registering and exiting
[....] Unmounting iscsi-backed filesystems: Unmounting all devices marked _netdev7[ ok 8.
[....] Stopping rpcbind daemon...7[ ok 8.
Dec 21 10:23:18 gae-default-frontend--vm--3--1--1--4-jhqn google: shutdown script found in metadata.
[....] Stopping NFS common utilities: idmapd statd7[ ok 8.
Dec 21 10:23:18 gae-default-frontend--vm--3--1--1--4-jhqn shutdownscript: Running shutdown script /var/run/google.shutdown.script
Dec 21 10:23:18 gae-default-frontend--vm--3--1--1--4-jhqn iscsid: iscsid shutting down.
[....] Unmounting iscsi-backed filesystems: Unmounting all devices marked _netdev7[ ok 8.
[....] Disconnecting iSCSI targets:iscsiadm: No matching sessions found
7[ ok 8.
[....] Stopping iSCSI initiator service:7[ ok 8.
Dec 21 10:23:19 gae-default-frontend--vm--3--1--1--4-jhqn shutdownscript: Finished running shutdown script /var/run/google.shutdown.script
[....] Stopping Docker: docker7[ ok 8.
[....] Stopping The Kubernetes container manager: kubelet7[ ok 8.
[....] Stopping enhanced syslogd: rsyslogd7[ ok 8.
[   20.188030] docker0: port 1(veth1625ca3) entered forwarding state
[   24.484195] docker0: port 1(veth1625ca3) entered disabled state
[   24.548188] docker0: port 1(veth1625ca3) entered disabled state
[   24.555092] device veth1625ca3 left promiscuous mode
[   24.560293] docker0: port 1(veth1625ca3) entered disabled state
gcm-Heartbeat:1450693419000
[....] Asking all remaining processes to terminate...acpid: exiting

7[ ok 8done.
[....] Killing all remaining processes...7[FAIL8failed.
[info[3
INIT: Sending processes the KILL signal

sulogin: root account is locked, starting shell
root@gae-default-frontend--vm--3--1--1--4-jhqn:~#

I'm surprised by the last 2 lines. Is it normal that the root account is locked?
Is it normal that the console goes into interactive mode?
That's obviously a big issue for us as when a machine goes down it can rarely go back up again without manual intervention.
Thanks!

I guess this is not happening anymore?

not recently :)

Will close it.
Of course, file new bugs if you see some unexpected behaviors.
BTW, thanks for using the async branch image, we are converging to make it default soon.


[cinder-csi-plugin] avoid default size in ephemeral disk

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:
/kind bug
/kind feature

What happened:
What you expected to happen:
https://github.com/kubernetes/cloud-provider-openstack/blob/master/pkg/csi/cinder/nodeserver.go#L136
will default to 1 if no capacity is given, this is inconsistent to
https://github.com/kubernetes/cloud-provider-openstack/blob/master/pkg/csi/cinder/nodeserver.go#L63 and doesn't make sense
we should report error instead of use default value if capacity not given
How to reproduce it:
Anything else we need to know?:
Environment:

openstack-cloud-controller-manager(or other related binary) version:
OpenStack version:
Others:

/assign

/kind feature

@jichenjc capacity_range is an optional parameter , so plugin may choose the default size if not specified . We are using default volume in CreateVolume here , https://github.com/kubernetes/cloud-provider-openstack/blob/master/pkg/csi/cinder/controllerserver.go#L59 , the same is being followed in ephemeral for consistency . So , I dont think we should raise error here.

I misread the capability and capactiy... you are right, but we need some doc update for this ..
to indicate 1 will be default value :)

I misread the capability and capactiy... you are right, but we need some doc update for this ..
to indicate 1 will be default value :)

+1 , eventhough its updated here https://github.com/kubernetes/cloud-provider-openstack/blob/master/examples/cinder-csi-plugin/inline/inline-example.yaml#L18 , but I also think its better to add it explicitly in docs. Thanks.

Closing this. Doc update can be added a separate PR.
/close

@ramineni please note for normal create from PVC, seems no possibility to use defualt value...
The PersistentVolumeClaim "csi-pvc-cinderplugin" is invalid: spec.resources[storage]: Required value

+++ b/examples/cinder-csi-plugin/nginx.yaml
@@ -16,8 +16,6 @@ spec:
   accessModes:
   - ReadWriteOnce
   resources:
-    requests:
-      storage: 1Gi
   storageClassName: csi-sc-cinderplugin


Add business search endpoint support

https://www.yelp.com/developers/documentation/v3/business_search

yeah in the current state this API ain't useful...


Multiple Kube VIP for multiple Nginx Ingress

Hello all!
I deployed a RKE2 cluster in a virtual environment with each VM node having 3 network interfaces. Let's say one interface in the <IP_ADDRESS>/24 network, one in the <IP_ADDRESS>/24 network and one in the <IP_ADDRESS>/24 network. The default gateway of each node is in the <IP_ADDRESS>/24 network.
I deployed Kube VIP (cloud provider) with cidr-global param set to "<IP_ADDRESS>-<IP_ADDRESS>,<IP_ADDRESS>-<IP_ADDRESS>,<IP_ADDRESS>-<IP_ADDRESS>". That gives me 2 assignable VIPs by network.
What I'm trying to achieve is to be able to choose which VIP address a Loadbalancer service listens on. I want some services to be exposed on the VIP address of the <IP_ADDRESS>/24 network, some on the VIP address of the <IP_ADDRESS>/24 network and some others on the VIP address of the <IP_ADDRESS>/24 network.
Is there anyone out there who succeeded in doing something like that ?
My observations - correct me if I'm wrong - are the following:
First thing, Kube VIP seems to work on a single interface. After some research, when deploying KubeVIP you have to choose the network interface on which the VIP addresses will be managed by Kube VIP. With a Kube VIP working with the interface in the <IP_ADDRESS>/24 network, I tried to declare several ranges, one within each network. Doing so the VIP adresses belonging to each network and handled by Kube VIP are set on the same interface (the one Kube VIP is configured on) and that brings on an odd network situation. The network interface on the <IP_ADDRESS>/24 network gets all the VIPs even the ones in the other networks (the ones handled by the 2 other network interfaces)
As a remedy to that, should I deploy 3 Kube VIP instances, one for each network? Is that even viable?
Let's say that is the way to go (having 3 Kube VIP instances), on the Nginx Ingress part, It seems that it is impossible to declare a single interface to bind the 80/443 ports on (you can choose the IP though but this is not applicable here since the VIP addresses are not on every node at the same time).  By default the Nginx Ingress bounds on the port 80/443 of all the network interfaces. So, since we can't choose the interface to listen on, it excludes the possibility to have 3 Nginx Ingress, one for each network/VIP.
What do you think would be the best solution to fit my needs ? I even though about deploying 3 K8S clusters, one for each network but that seems a bit overkill.
Thanks in advance to anyone taking the time to read me.

hmm.. There is no real support for that at the moment.. we could potentially add in the capability to label these network ranges.. so your "red" service would be given an IP address from the "red" range. This would happen in the cloud provider though, not in kube-vip.

Hello!
Thanks for the answer. I'm sorry I didn't - update the thread before. I actually figured it out using the multi tenancy mode.
What I actually did :

I created as many namespaces as interfaces.
Then, for each NS, I deployed a Kube VIP daemonset with the vip_interface param set to one interface and the svc_namespace param set to the related NS.
Finally, for each NS, I deployed an Ingress controller with a loadbalancerIP param set to the virtual IP of the related Kube VIP instance address param and a specific ingressClassRessource.name.

So far so good, this fullfil my needs.


Could we have some sample code for running?

Could you please give us more detail - how to actually running this code, if we don't have optitrack. For example, if we only have a kinect etc. How could we run it via blueprint?

This demo work successfully,but i put plugin to my new project, drag OffAxisActor to scene ,set position to (0,0,0),set ExtentPoint to (9,-500,-500),and VirtualScreen Scale（10,10,0）,now click play,it not work.why?Do i forget some settings?
my English is not good,hope you can understand.

Did you change the GameViewPortClient in your settings?
"Project Settings > Engine - General Settings > Game Viewport Client Class" should be OffAxisGameViewportClient

it seems wrong.

Ok ,i got it,i forget to set NearClippingPlane,Demo is set to .1f,but my new project is 10.

Great! I'll add this to the instructions!


Provide version for plugins

fix: #878

See https://github.com/vuejs/vue-next/issues/878#issuecomment-603843866


fix bug: aishell2 word_segmentation.py

The output of awk '{$1,99}' should be like xxx 99.

First blood on WeNet?