Is it possible to prevent highlighting of a specific portion of code?

Is it possible to prevent highlighting of a specific portion of code in the code block?
For example, I have code:

    let a = 1; Without highlight

I want that all content in the span tag should be ignored by highlightjs.

Add special comment to that tag. Example:
 ...

Then using CSS, inherit all styles to the code block:
.hljs-inherit,
.hljs-inherit span[class] {
  background: none !important;
  font: inherit !important;
  color: inherit !important;
}

@taufik-nurrohman Is that going to work for deeply nested groupings also?
Roughly:

<function><params/><title class='inherit'></params></function>

Is title going to inherit the style of params or code?  Or the magic trick the full CSS rulle .hljs-inherit span[class]?
If so I just learned something new and can't believe I never knew that. :-)

But yes this is the only simple way to do anything like that... you manually apply styles to make your code in question look as "reasonable" as possible... if inherit doesn't work than you may need to manually match the CSS theme you are using by hand.

@joshgoebel the second selector will inherit each other recursively unless I add > between them :)

I'm asking about how inherit works... I always thought it inherited from the parent... it doesn't climb the tree to find "code", etc... so I think it's possible your code wouldn't work at all if the parent was not the code element.  Am I mistaken?

I always thought it inherited from the immediate parent.

Yes it does.
But imagine this:

  aaa

      aaa

The .hljs-inherit part will have the color from its direct parent which is the .hljs element.
The .hljs-inherit span[class] will have the same color as .hljs-inherit which already inherit to the .hljs.
But remember that selectors separated by spaces don’t care about leveling. It will match anything below the parent element. So .hljs-inherit span[class] will select any span[class] element inside .hljs-inherit no matter how deep they are.
The case will be different if I use .hljs-inherit > span[class] selector. It will not reach other span[class] below the first level of span[class].
Another example can be found in common navigation CSS:
nav ul {}

nav li {
  position: relative;
}

/* sub-menus should be in absolute position */
nav ul ul {
  position: absolute;
  top: 100%;
  left: 0;
}

/* sub-sub-menus should be pushed to the right */
nav ul ul ul {
  top: 0;
  left: 100%;
  /* no need to declare absolute position here */
}

Oh I see now, but this doesn't work because you can't guarantee the placement of the inherit tag... (unless you're very careful)... it could just end up inside it's own tag:

  a = "

      aaa

  "

Now inherit will just be whatever colors a string is because of the "..."... Doesn't someone really need to redefine the hljs class separate with just the color/background/emphasis and then use that:
.hljs-normal span[class] {
  background:#333 !important; /* hard code the theme background */
  color: #eee !important; /* hard code the theme default */
  font-weight: normal; /* hard code the theme default */
}

Etc?

Your right if you were careful and always placed it at the top-level that would work... there has been talk of adding something like this to the default themes in any case so that a mode could revert to normal text inside of a parent mode...

But this doesn’t work because you can’t guarantee the placement of the inherit tag.

Ah, I see.

Solve the problem how?

It’s used for parsed sections within strings and almost always should be reset to the default color.

https://highlightjs.readthedocs.io/en/latest/style-guide.html#subst
I mean, instead of using .hljs-inherit, you could use .hljs-substr. So, no need to add custom styles.

First of all I don't actually think that's true despite that being in the docs. And secondly "almost always" is not the same thing as "always". 😎￼

Okay then.

I think there is enough information here to close this.  The simple answer is use CSS to re-style the "unhighligted" portion of the text back to the "default" (which you may need to manually copy from the .hljs rule if inherit doesn't work for you)


Fix bug in Pathways to Net Zero - Simplified - Anonymised spreadsheet

The Pathways to Net Zero - Simplified - Anonymised spreadsheet has a bug which can be seen in the Outputstab: there are strange values in 2030 and 2050, eg large negative capital expenditures.

Resolved by moving from subtractive to additive logic in the IEV model

After fixing this bug, the trained actions have started to look more interesting - here's an example, (NB trained on only 9 models):


Email Configuration missing

I am not able to find Email Configuration under settings.

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

ID: ab8601f3-d50a-ef3e-304f-1eebd571ec3c
Version Independent ID: fbcd80e8-2589-8041-eec2-2a22e188abf2
Content: Set incoming and outgoing email synchronization for Dynamics 365 for Customer Engagement apps
Content Source: ce/admin/set-incoming-outgoing-email-synchronization.md
Service: crm-online
GitHub Login: @jimholtz
Microsoft Alias: jimholtz

@PRMerger15
Please check out your support options for resolution:
https://docs.microsoft.com/dynamics365/get-started/support/


[#4918] Reduce memory usage

Codecov Report

Merging #4938 into master will increase coverage by <.01%.
The diff coverage is 60%.

@@            Coverage Diff             @@
##           master    #4938      +/-   ##
==========================================
+ Coverage   41.04%   41.05%   +<.01%
==========================================
  Files        2627     2627
  Lines       78795    78797       +2
  Branches    10664    10665       +1
==========================================
+ Hits        32345    32352       +7
+ Misses      43521    43517       -4
+ Partials     2929     2928       -1

Impacted Files
Coverage Δ

...ment/classreading/InternalClassMetadataReader.java
100% <100%> (ø)
:arrow_up:

...nt/transformer/DefaultLambdaClassFileResolver.java
54.54% <50%> (+32.32%)
:arrow_up:

...p/pinpoint/rpc/client/WriteFailFutureListener.java
56.25% <0%> (-18.75%)
:arrow_down:

...navercorp/pinpoint/rpc/common/SocketStateCode.java
82.92% <0%> (-2.44%)
:arrow_down:

...corp/pinpoint/rpc/stream/StreamChannelManager.java
70.68% <0%> (-1.73%)
:arrow_down:

...orp/pinpoint/rpc/server/DefaultPinpointServer.java
79.86% <0%> (-0.7%)
:arrow_down:

...point/rpc/client/DefaultPinpointClientHandler.java
72.61% <0%> (+0.31%)
:arrow_up:

...om/navercorp/pinpoint/rpc/codec/PacketDecoder.java
63.82% <0%> (+2.12%)
:arrow_up:

...cluster/zookeeper/ZookeeperClusterDataManager.java
64.7% <0%> (+2.2%)
:arrow_up:

...rc/main/java/com/navercorp/pinpoint/test/Item.java
72.41% <0%> (+3.44%)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

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


Add command to unfriend people

} else if (command == 'unfriend') {
client.chatMessage(steamID64,"Removing you from friends...");
client.removeFriend(steamID64);
community.postUserComment(steamID64, "If you ever wish to trade again, just add me into friends! 💖")
} else if (command == 'help') {
let reply = 'Here's a list of all my commands: !help, !message , !how2trade, !stock, !price , !buy  , !sell  , !unfriend <I´ll remove you from friends>';
if (Automatic.isOwner(steamID64)) {
reply += ', !add, !remove, !update, !profit, !removefriends, !use, !name, !avatar, !version, !restart, !updaterepo';
} else if (command == 'restart' && Automatic.isOwner(steamID64)) {
const restarting = Automatic.restart();
Automatic.message(steamID64, 'Restarting the bot. Be right back :D');
if (restarting === false) {
Automatic.message(steamID64, 'The bot is not being managed by PM2, follow this guide to set it up: https://github.com/Nicklason/tf2-automatic/wiki/Setup-on-Linux#pm2');
return;

client.removeFriend(20000(steamID64));
I think that should make it 20 seconds if I remember right otherwise make a .then method

I tried, you will see the message

#98


fix sync calls metrics & defer patch status

Two small changes:
1. defer patch status update
Adressing #1725
This improves reconciliation duration when the controller pod is restarted.
Previously, the status update is patched every time even if the controller didn't do anything at all.
This PR defers the status update after the controller has examined if an update is needed.
More info in this comment: https://github.com/external-secrets/external-secrets/issues/1725#issuecomment-1326873699

loadtest setup snippet

This script creates 1 CES with 1000 ES pointing to it.
Then restart controller and see how long it takes to reconcile all resources.
#!/usr/bin/env bash

helm upgrade --install prometheus prometheus-community/kube-prometheus-stack
helm upgrade --install foobar ./deploy/charts/external-secrets/ \
  --set serviceMonitor.enabled=true \
  --set concurrent=10 \
  --set serviceMonitor.additionalLabels.release=prometheus

kubectl apply -f - <<EOF
apiVersion: external-secrets.io/v1beta1
kind: ClusterSecretStore
metadata:
  name: fake
spec:
  provider:
    fake:
      data:
      - key: "/foo/bar"
        value: "Zm9vOiBiYXIKYmF6OgogIGJhbmc6CiAgICBib286IG5lc3RlZA=="
        version: "v1"
EOF

for i in $(seq 1 1000); do
  echo $i
  kubectl apply -f - <<EOF
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
  name: example-${i}
  labels:
    loadtest: "true"
spec:
  refreshInterval: "30m"
  secretStoreRef:
    name: fake
    kind: ClusterSecretStore
  target:
    name: "fart-${i}"
    template:
      metadata:
        annotations:
          "foo": "{{ \$obj := .foo_bar_v1 | b64dec | fromYaml -}}{{ \$obj.baz.bang.boo }}"
      data:
        my_nested_val: |
          {{ \$obj := .foo_bar_v1 | b64dec | fromYaml -}}
          {{ \$obj.baz.bang.boo }}
  data:
  - secretKey: foo_bar_v1
    remoteRef:
      key: /foo/bar
      version: v1
EOF
done

fix sync calls metric
The sync calls metric isn't incremented correctly, see 668a10ea8178211a850e3351301e8d3325ff03fd.
Fixes #1722

/approve


Change labels for the new file menu and the deployment plugins

What should we do?
Change labels:

[ ] "new file" menu:

[ ] Create BPMN Diagram (Camunda Engine)
[ ] Create BPMN Diagram (Zeebe Engine)
[ ] Create DMN Diagram (Camunda DMN Engine)
[x] Create Form (Camunda Forms) (to be implemented yet)

[ ] tab name:

[ ] Diagram (Camunda Engine)
[ ] Diagram (Zeebe Engine)

[ ] deployment tools:

[ ] Camunda Platform
[ ] Camunda Cloud

Why should we do it?
We want to use accurate and clear naming.

Will we also update it here?

I think so.


Benchmark runs over time using conbench / ursabench

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
We have various benchmarks in datafusion for example  Targeted SQL in https://github.com/apache/arrow-datafusion/blob/master/datafusion/core/benches/sql_planner.rs and https://github.com/apache/arrow-datafusion/blob/master/datafusion/core/benches/aggregate_query_sql.rs
There are also some benchmarks for operators that are used as part of other operations, such as https://github.com/apache/arrow-datafusion/blob/master/datafusion/core/benches/merge.rs
We typically run these benchmarks "on demand" but that means we don't have any idea how the benchmark runs vary over time
The rest of the arrow community has a  conbench benchmarking tool -- this was introduced to datafusion https://github.com/apache/arrow-datafusion/tree/master/conbench
There are comments on pull requests now like https://github.com/apache/arrow-datafusion/pull/3062#issuecomment-1207346264 that imply we may be able to get runs of the benchmarks on each commit to master and tracked over time.
Describe the solution you'd like
Figure out how to run the datafusion benchmarks regularly and report their results somewhere. Ideally using ursabot / conbench if possible
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered. Ideally w
Additional context
Add any other context or screenshots about the feature request here.

Filed follw on https://github.com/apache/arrow-datafusion/issues/5504 with more explicit request


[croppingTlbx] box cursor wrong on some OS?

Hey,
@davidrobert9 wrote on his bug report that he has a wrong cursor in the Cropping box (black cursor). I tested and i've got a "white hand" cursor, and an arrow around the box. I'm on Linux. Can anyone test on Mac/Windows ?

It's fine on Windows: the "negative cross" on the image (as in Visu), displacement arrows on the box.


Android support

Hey guys, fantastic job! Thank you!
I was just wondering whether you have plans to add Android support as well.

+1

+1,001

Hey guys, I'm working with a few folks from @exponentjs on the next iteration of rem which will support Android builds. Currently I'm not using rem but I think it is a good thing for the community going forward, so I'm investing some time in helping with that effort. FB currently doesn't have a recommended approach to Android module development - we're trying to solve that. Ideally this will allow you to install your modules like npm install react-native-camera and they will automatically be added to your XCode projects and Android dependencies and built with your app. Until then I can try to get a PoC for the Android camera but it'll take some time to get feature parity with the iOS version.

@lwansbrough:  do you accept donations?  Glad you're championing the "camera space" of React Native

@achang28 Thanks for considering donating! However I'm not doing this for the money, I've gone a personal interest in keeping the development of this up to date. Always looking for contributors though -- I think more of the community modules could use a larger backing of contributors to keep them fresh.

Small update: moved the iOS files around in preparation for Android dev. :+1:

Thank you very much @lwansbrough ! :thumbsup:

Thanks a lor! I Will wait For Android Version!

https://www.npmjs.com/search?q=react-native-camera version is 0.3.3 . How can I use the lastest version in my project?

:grimacing: Oops forgot to publish! Try now.

I gave it a shot and got the camera view working on android: https://github.com/timmh/react-native-camera
It is very primitive and simple but it took some time to figure out how to include the native component into the app, so someone may find it useful.

Nice work, this is definitely something we can build on. I will mention that if it's anything like Obj-C, you will need to inherit React's view class so that you get all their view stuff like flexbox, etc.

I think the whole style & layout works via super.updateView(view, props); in the ViewManager.
Just tried different layouts including flexbox and the sizing worked as it should.

hi, @timmh how can i use your android version?

@tlightsky there is an README.md in the android directory that has instructions how to use it.
@lwansbrough I am currently implementing barcode scanning using the zxing library, would you be interested in merging this in?

@timmh I am also interested in it!

We need a way of depending on 3rd party libs first. Currently we have to include the binary that we're targeting which sucks.

With that said, since I don't think Android has bar code scanning by default (correct my if I'm wrong) then yes I'd be interested in using zxing. Historically it has been the position of this library to not depend on third party libraries but that may need to be the case for Android feature parity.
What I really want is a build script that links to a Maven repo though. But we need to standardize something like that across React Native before doing it here.

You are right, unfortunately android does not have barcode scanning included.
A possible solution would be to create two different gradle configurations which compile the library with and without 3rd party barcode scanning libraries so the user could choose whether he needs this feature or not. But it seems you are working on something that makes this kind of thing easier, so I understand that you want to wait until that is ready. Already curious about that!

@timmh thanks for your work! i pulled and tried to get it to work, but I ran into issues here:
first there is a typo in the readme in the android directory, I think it should look like this:
project(':com.lwansbrough.ReactCamera').projectDir = new File(settingsDir, '../node_modules/react-native-camera/android')
(maybe it would also be worth mentioning that the lines for build.gradle are meant to be added in the android/app/build.gradle, not android/build.gradle, I got confused with that until I figured it out.)
second, after I got everything to compile, and I start the app, it instantely crashes with this error:
E/AndroidRuntime(21835): java.lang.AssertionError: Module RCTNetworking was already registered!
E/AndroidRuntime(21835): 	at com.facebook.infer.annotation.Assertions.assertCondition(Assertions.java:65)
E/AndroidRuntime(21835): 	at com.facebook.react.bridge.NativeModuleRegistry$Builder.add(NativeModuleRegistry.java:162)
E/AndroidRuntime(21835): 	at com.facebook.react.ReactInstanceManager.processPackage(ReactInstanceManager.java:447)
E/AndroidRuntime(21835): 	at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:416)
E/AndroidRuntime(21835): 	at com.facebook.react.ReactInstanceManager.recreateReactContext(ReactInstanceManager.java:345)
E/AndroidRuntime(21835): 	at com.facebook.react.ReactInstanceManager.onJSBundleLoadedFromServer(ReactInstanceManager.java:310)
E/AndroidRuntime(21835): 	at com.facebook.react.ReactInstanceManager.access$100(ReactInstanceManager.java:70)
E/AndroidRuntime(21835): 	at com.facebook.react.ReactInstanceManager$1.onJSBundleLoadedFromServer(ReactInstanceManager.java:97)
E/AndroidRuntime(21835): 	at com.facebook.react.devsupport.DevSupportManager$13$1.run(DevSupportManager.java:530)
E/AndroidRuntime(21835): 	at android.os.Handler.handleCallback(Handler.java:739)
E/AndroidRuntime(21835): 	at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime(21835): 	at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(21835): 	at android.app.ActivityThread.main(ActivityThread.java:5274)
E/AndroidRuntime(21835): 	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(21835): 	at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(21835): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:909)
E/AndroidRuntime(21835): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:704)

any idea why this might happen/how to fix it?
again, thanks for your work!

ah btw, the crash happens after adding this line:
.addPackage(myReactPackage)
to the MainActivity.java

Hey @JorisM, thanks for your feedback!
I am sorry that the instructions in the readme are not working for you.
Did you replace the existing .addPackage(whateverPackage) with .addPackage(myReactPackage)?
If not, that might be the issue.
I will look into this with more detail later today and update the instructions.
However, I would ask you and anyone else having an issue with my fork to create an issue over there because we should not bloat this issue with problems not directly associated with it.

ah yes, that was it! thanks a bunch for reporting back so quickly!
yup I agree about not spamming this thread, but I couldn't create an issue on your fork since issues don't seem to be enabled.

in @timmh's version, I get the following error when I do this.refs.cam.capture:
Error: this.refs.cam.capture is not a function
When I investigate the Camera component in the debugger, the capture method is indeed not there. Any ideas what's going on?

@JorisM You are right, I did not notice that issues were disabled. Happy that you now seem to have it working.
@ortutay my version is just a concept  / placeholder until the stable and feature-complete version is released in this repo. As the readme states, my version is just an experiment and is neither stable nor feature-complete (e.g. it hast no capture-method as you already noticed).
Issues are now enabled for my fork so if anyone has questions / issues regarding that, please fill an issue there.

I can run the camera on Andorid with @timmh 's version.
I notice the component is quite different from iOS version.
Will they be kind the same at the end?

@lwansbrough Is there an ETA on this?

+1

+1

Yeah guys if you not +1 this endlessly. I understand this is in high demand and don't have the time to implement it right now. Going forward I will have a need to get the camera working on Android which is probably when it will end up happening. No timeline yet. If you've come up with a solution you think is suitable please don't hesitate to submit a PR, even if it isn't feature-complete.

Did anyone try this: https://developers.google.com/vision/barcodes-overview.
It seems Google support Barcode scanner within Play Services, here is the sample project: https://github.com/googlesamples/android-vision

Might be worth it to mention up front in the docs that this is iOS only. I made the dummy mistake of assuming this was cross platform since it wasn't explicitly mentioned, and it's for react-native...

@dangnelson Sorry about that Dan! It will eventually.. I can definitely add that to the docs.

many thanks, otherwise great module 🙌

@lwansbrough I got https://github.com/journeyapps/zxing-android-embedded working with react-native. I can PR if you would like to add it to react-native-camera.
Android barcode scan needs to be trigged manually tho. So we can add scan as a method on CameraView.
Camera.scan((args) => {
      console.log(args);
    });

thoughts?

Should be an instance method to coincide with the current API, but yes I'd be okay with using that library I suppose. Does that mean we'd pull in their code into this repo? Or how were you thinking of doing it? We still don't have a way to do this :(

I assume you've all spotted this? https://github.com/NorthFoxz/react-native-camera-android
Any thoughts?

I just opened an issue to ask if @NorthFoxz wants to merge the modules. Hopefully he's interested! :) Nice find @jhogendorn

@lwansbrough @NorthFoxz @jhogendorn @timmh
It looks like there are a few threads going on independently right now. Here is my current understanding of the situation:
react-native-camera-android has barcode support & disk support
timmh react-native-camera-android has memory & disk support but callbacks are data first with no error handling
I do not care which base implementation we go with, but I would like to standardize functionality and get this merged back asap. For now I will file some PR's against timmh's fork. Reconciling should be simple with all necessary code pretty much going in the onPictureTaken handler:
https://github.com/timmh/react-native-camera/blob/master/android/src/main/java/com/lwansbrough/ReactCamera/ReactCameraModule.java#L77
https://github.com/NorthFoxz/react-native-camera-android/blob/4014ab270a334787e58edfbd4eb381a47847f0f6/android/src/main/java/com/ReactCamera/RNCameraInstanceView.java#L202
Thoughts?

@rt2zz Of course, I forgot about @timmh's fork! Ideally we go with the more stable solution. I don't have any preference over what get's implemented. Standardization is a must. If certain branches are handling things better than others, lets take the best of each where possible. APIs need to be consistent with iOS. If this is an impossibility lets talk about what needs to be changed so we can standardize them.
Is anyone willing to oversee this merging process? I'm happy to help whenever possible, but we kind of need an owner for the Android side of it.

ideally someone with more android experience than myself, but I am happy to reconcile as needed.

@rt2zz As am I when I have the time. Looking for input from @timmh and @northfoxz regarding how they think it should be done.
I suppose we need to start by looking at which implementation is further along or more stable. Closer feature parity is probably more important than stability at this point, as long as the approach is correct. We should also discuss any necessary/ideal API changes that should happen when we merge this. Do we want to keep callbacks, for example, or do we want to switch to events?

There are several issues left in my implementation now:

Orientation of the camera is only for portrait now
Component views of  object
Autofocus of the view

I have to fix these issues before merging to iOS support.

Sounds good. I like callbacks.
I forgot about video. Reaching feature parity may take a while but afaik everything is possible (namely passive barcode scan and touch to focus)

@NorthFoxz fyi we are getting decent progress over at https://github.com/timmh/react-native-camera/pull/19
Your project has barcode which is a huge +, it might be good to coordinate efforts moving forward. What do you think?

@rt2zz sure i would love to help!
a bit busy lately with my daytime work,
i will update my module and apis this weekend and see if you guys think its ok to merge here

@NorthFoxz Sounds good - you should send those PRs to @timmh's branch so we don't have to coordinate the merge of Android stuff here. Hopefully that will make bringing Android over as a whole easier.

Looking forward to android support being merged!

Same here, can't wait! Thanks for all the great work on this everybody.

I pushed a PR (https://github.com/lwansbrough/react-native-camera/pull/157) from my fork a couple of days ago and forgot to mention it here. I haven't touched java for years and I am definitively not an Android expert so at the very least I expect my code to not be very idiomatic and I might have done some  mistakes that should be pretty obvious to spot for a more seasoned Android developer.
So far only capturing stills has been implemented, adding video should not be too difficult but I hadn't time yet to look into it. I haven't yet looked much into bar code scanning but that might help http://android-developers.blogspot.com/2015/08/barcode-detection-in-google-play.html. A few other smaller things are in my todo list such as taking in account the orientation props and fixing the improper saved image orientation when using the front camera.
It has only been tested on a nexus 5 and with the genymotion emulator because of its easy camera support and I am looking forward to see how it will behave on other devices.

I also realize I might have duplicated effort. I have been working on it over the last couple of weeks and didn't realize some were doing the same. Well, I guess there are now 3 different implementation to consider/cherry pick.

haha @farmisen yeah no worries. I think you might actually have the highest api coverage of any of the forks. I think whoever implements video first will take the cake though.

@farmisen nice job!
i think i wont have the time necessary to finish the api merge,
please continue your work and i will help if theres time

Could Android support be without Video until it's ready? Or would that cause too many issues?

no hard promise but looking to the android dev doc it does not look like too difficult to implement so I am going to give it a shot today.

#157 has been merged. All efforts for Android should be directed towards the merged implementation. For those of you with forks, please take a look at what missing and help implement those features if you already have them developed. Thanks so much guys. Tons of great work here.

@lwansbrough Is the barcode issue is also sorted out?

@rohitgoyal no. There are two possibilities: either using zxing barcode scanner or using android native barcode scanner. The downside of the latter is that it lacks support for older versions of android.
If you have some time, there is a working android barcode implementation at https://github.com/NorthFoxz/react-native-camera-android that can be used as a reference for implementing here. PR appreciated!

Thanks for the great work =) Currently android version does not support video recording, is there any plan for implementing video feature for android too @lwansbrough  @farmisen?

My initial stab at it here:
https://github.com/vespakoen/react-native-camera/commit/3d0ee9475166d83d9bdb73dfb4cf3ba681e3dd48
I feel I have tried anything, but cannot get a playable video file (there is data in there for sure, it just doesn't play, not on android, not in VLC)
This might be due to my device(s), the Samsung Galaxy S4 Mini, and a Nexus 7.
I commented a lot of the code to hopefully get other people going on trying it out / play with it / report back with findings / results.
To try out my branch, run:
npm install --save git+https://github.com/vespakoen/react-native-camera.git#master

Helpful links:
http://developer.android.com/guide/topics/media/camera.html#capture-video
http://developer.android.com/reference/android/media/MediaRecorder.html
http://developer.android.com/reference/android/media/CamcorderProfile.html
https://android.googlesource.com/platform/development/+/4b737b6/samples/browseable/MediaRecorder/src/com.example.android.mediarecorder/MainActivity.java

Some more testing options... here is my pull request for code I've been working on for awhile to support recording video on Android:
https://github.com/lwansbrough/react-native-camera/pull/262

Supports same parameters and values as IOS, including captureMode, captureTarget, captureQuality, etc.
Updated Readme.md
Example code

Goal is "drop in" for compatibility with IOS... to make Android and IOS equivalent. I will continue to enhance this as bugs or additional changes are needed since I need this for my own project.  Please send me you feedback, thanks.

As for installation (I might not have understood some of what was going on above) it's worth mentioning the rnpm https://github.com/rnpm/rnpm project. I've recently used it as an installer for a library and it worked perfectly.

The feature is officially merged and now part of the repo:
#262
You can close this.


galleryimage fixes

Fix #17
Test URLs:

Before: https://main--helix-sportsmagazine--headwirecom.hlx.page/import-test/play/equipment/_default/gallery/2017/2/whats-in-my-bag-wesley-bryan
After: https://block-galleryimage--helix-sportsmagazine--headwirecom.hlx.page/import-test/play/equipment/_default/gallery/2017/2/whats-in-my-bag-wesley-bryan

There's still weird spacing, FOUC and responsiveness. This requires a bit more global site work ....

@icaraps Can you resolve conflicts and merge?


Posible incosistent work on hasPermission?

init
permissionHelper = new PermissionHelper(this, new String[]{Manifest.permission.READ_CONTACTS}, PERM_READ_CONTACT);
Call permission
permissionHelper.request(this);
And chosse DENIED option
when consult if permission is GRANTED or DENIED with hasPermission in other process function.
I am not sure if it serves this purpose
permissionHelper.hasPermission(Manifest.permission.READ_CONTACTS)
return TRUE
I need to use:
if (ContextCompat.checkSelfPermission(this, Manifest.permission.READ_CONTACTS) != PackageManager.PERMISSION_GRANTED)
Mmm or it works fine but I have misunderstood its functionality

Hello, @webserveis
With
compile 'com.master.android:permissionhelper:1.4'

hasPermission() method is private now and renamed to hasPermissionInManifest()


Milestone 3: Logic branch

In this milestone, I achieved the following...

I implemented the event handlers needed to use the math logic from calculate.js and operate.js inhe React component.

I used state and props

I tested the app in the browser and performed math operations.

Thanks for reviewing and approving my project, I appreciate it.


fix: cached category id in listing state

Description
Alternative to #823
Related: #841
Creates a workaround for listing by creating listing context and addressing it in child components.
This also fixes the bug described in PR above.
@BrocksiNet please check if that covers all the cases you wanted to solve with that PR.

It looks very good to me. :+1:


Regression report for #7893

Most of the benchmarks below are for complex_layout_scroll_perf_, abbreviated clsp_ below. Numbers are approximate.
Regressions:
clsp__memory: diff_total_kb: went from 10KB-18KB to 20KB-28KB (+50%)
clsp__memory: end_total_kb: went from 115MB to 125MB (+8%)
clsp__timeline: average_frame_build_time_millis: went from 3ms-4ms to 4ms-5ms (+40%)
clsp__timeline: missed_frame_build_budget_count: went from 13-21 frames to 23-35 frames (+66%)
clsp__timeline: missed_frame_rasterizer_bufget_count: increased noise; data unclear
clsp_ios__timeline: average_frame_build_time_millis: 0.7ms per frame to 1.7ms per frame (+140%)
Improvements:
clsp_ios__timeline: missed_frame_build_budget_count: went from 2 frames to 1 frame (-50%)
clsp_ios__timeline: missed_frame_rasterizer_budget_count: went from ~17 frames to ~10 frames (-40%)
complex_layout__build: aot_snapshot_size_instructions: trivial improvement

I don't understand why iOS would have gotten better when Android got worse.

It's not clear to me why build time would have gotten worse at all. We're still building basically the same thing, as far as I can tell.

I'll revert the change and we can study in more detail.


add htaccess redirects

Hi @maulikkanani - thanks for submitting this! Sorry for my delay in checking it until now.
Could you please rebase this on latest master and drop the error_log lines? They can be WsLog::l() instead if needed to be logged.
I'll need some more time to understand the actual implementation. Please feel free to add more info here about what it does.
Cheers,
Leon

Hi @maulikkanani - you may get some ideas from this recently merged PR: https://github.com/WP2Static/wp2static-addon-s3/pull/29

it seems like Master repo has been updated so I guess I need to resolve conflict then need to commit it again.
Here is detail for what I have developed.
I have created "Create page redirects found in .htaccess" checkbox for .htacces RewriteRule redirect on the S3 bucket.
If the checkbox is selected then it will reader .htaccess and find 301 redirects in it and set same redirection on s3bucket as well.
Would you please refer:
For Checkbox: https://www.screenpresso.com/=bAutg
For .htacces RewriteRule : https://www.screenpresso.com/=QsUwc
For S3 Bucket: https://www.screenpresso.com/=1Vlrb
Let me know if you need further details.

#29 handles deploying redirects from the wp2static_list_redirects filter. That's all that the S3 addon needs to do. The detection of redirects from other sources is out of scope for this addon.
It could go into WP2Static core, but Leon wants to keep the options there to a minimum, so it probably won't make it in. I think there is a plan for an Advanced Crawling Options Addon or something like that, so that would probably be the place for this.

Thanks for updating @maulikkanani.
I agree with @john-shaffer that the .htaccess doesn't need to be within this S3 repo. But also not in the core plugin, If still needed for your use case now that the wp2static_list_redirects filter is available, then I'd prefer it to be in it's own Add-on, which users can then use with any deployment option. This can be your own add-on, which I'm happy to promote with any 3rd party add-ons.
I know of some users who have very complex htaccess setups and would like to translate more than just rewrite rules to the deployed site host, I can imagine that would get tricky and it's unlikely I'm going to prioritize that as an official add-on to work on. By using WP_CLI commands or other hooks/filters available, those users should have enough flexibility to craft custom workflows to achieve that.
Checking your PR again, it looks to just handle 301's, to the wp2static_list_redirects implementation should solve your problem. This will report 301s just as your WordPress site encounters them, so as long as the URL is within your site and WordPress responds to it as expected, you shouldn't need to do anything else.
I'll close this PR for now and please let me know if the recent redirects handling doesn't solve the issue in your use case.


Skip deployment if deployer not set

[ ] All tests passed. If this feature is not already covered by the tests, I added new tests.
[x] I used npm run format for formatting the code before submitting the pull request.

Gradle task skips adding --server-id-deploy if no artifactoryDeployer is specified. Like on gradle task the artifactoryDeployerService is not required


Feature/issue127 golden rule exception handling

Coverage decreased (-0.2%) to 93.912% when pulling 26c71115480637c324a6fc429a9c90a73f430a3c on feature/Issue127_GoldenRuleExceptionHandling into 518a4c1b4778a5745f87363e7ca759c68578878f on develop.


Should we add a spellchecker for Editor?

Is there an existing issue for this?

[X] I have searched the existing issues

Use case
Should we add a SpellChecker for the editor?  What do you think about this feature?
I think this can be possible adding spell_check_on_client that makes more easy get suggestions and splitting wrong words from the right words and it doesn't need a internet connection.
I'll take some time to start this feature since this is complex to add to the editor.
Proposal
No response

Since we don't have many tests, I prefer it if this feature is optional and separated to avoid breaking existing features and causing regressions. The features that were added recently to the project caused some minor bugs.
Spellcheck might not always work or might not support all languages. We could also consider making such features easier to implement by documenting the code and making it more extensible.
There are different providers for spellcheck that validate the spelling.
You can implement this feature into the project if you want.

I prefer it if this feature is optional

I think the same thing. Since this feature could give some bugs to the editor ans should be experimental for now. I probably add this to it's own package or directly add it to the flutter_quill_extensions.


Remove cite from list of block elements

Fixes bug which causes white space surrounding cite elements to be removed.

project is deprecated https://github.com/stereobooster/html_press/issues/21


wrong object names in help files/objects

in pb.triangle~-help.pd it tries to create [pb.triangle] (no tilde)
in pb.saw~-help references [pb.saw], pb.square~-help references [pb.square]
in _filter-help rlpf~, rbpf1~, rbpf2~, and rhpf~ are referenced
(also hv.reverb tries to use hv.dispatch and hv.filter, which are not present and don't create)
thanks for the library, digging the instruments!

Hello sebshader,
I should've done this a long time ago, thanks for the reminder.
All those references have been updated and hv.reverb is functional now.
Thanks! I'm glad you enjoy the instruments, let me know if you have any requests for one :)


small grammar mistake

small grammar mistake

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Hi @TanchevCvetan
It seems that similar changes have already been accepted earlier for this article you're editing, sorry about that. 😓
If you feel you have more to add, please feel free to open up a new PR.
Thanks again! 😊

If you have any questions, feel free to reach out through Gitter or by commenting below. 💬


getAllDevicesOnChange not working

Hi,
the following code is not working. Any Ideas?
const io = require('socket.io-client');

let socket = io.connect("ws://<IP_ADDRESS>:8086");

socket.on('value', function (data) {
    console.log(data);
});

socket.on('connect', () => {
    console.log("Connected with id " + socket.id);
    socket.emit('getAllDevicesOnChange');
});

socket.on('value',function(data) {
    console.log(data)
});

socket.on('device', function (data) {
    console.log(data);
});

socket.on('disconnect', (reason) => {
    console.log("Disconnected");
});

socket.on('error', (error) => {
    console.log("Error: " + error)
});

console.log("Start..");

Output:
Start..
Connected with id ZQ4btK6HVEsL4yyLAAAF

But this line if working:
    socket.emit("getAllValues", function(data)
    {
        console.log(data)
    });

Returning all Values correctly.
I also tried to connect to fhem using a telnet connection and sent
 inform on. I was able to get all updates in the telnet session.
/var/log/fhem.js.log:
pi@raspberrypi:~ $ cat /var/log/fhem.js.log
05.07.2018 21:14:27 listen for http requests disabled
05.07.2018 21:14:27 listen for websocket requests on port 8086 without SSL
05.07.2018 21:14:27 start connection to fhem server
05.07.2018 21:14:27 process error: Error: listen EADDRINUSE :::8086 - retry in 10 secs
05.07.2018 21:14:27 connected to fhem server for listen on changed values
05.07.2018 21:15:30 Installed version 3.1.0 is latest available version
error: Forever detected script was killed by signal: SIGKILL
05.07.2018 21:18:57 listen for http requests disabled
05.07.2018 21:18:57 listen for websocket requests on port 8086 without SSL
05.07.2018 21:18:57 start connection to fhem server
05.07.2018 21:18:57 process error: Error: listen EADDRINUSE :::8086 - retry in 10 secs
05.07.2018 21:18:57 connected to fhem server for listen on changed values
05.07.2018 21:20:00 Installed version 3.1.0 is latest available version

/var/log/fhem.js.error is empty.
Thanks 👍

The function "getAllDevicesOnChange" only delivers a value of a device in case that the state of this device in fhem has changed. Did you wait in your test until a device really changed state?


Body is replaced twice when following a redirect during Drive visit

In a Rails app that I'm working on we have a (Capybara) system test that fails intermittently. The test looks something like this:
test "the thing" do
  visit some_path
  click_on 'Some link' # The target of this link responds with a 302 redirect

  # Sleeping here makes the test pass

  # On the second page
  fill_in 'Some field' # This input has the "required" attribute set
  click_on 'Submit button'

  # On the third page
  assert_text 'The thing succeeded!'
end

Sometimes the test fails because it can't find the text "The thing succeeded!". When inspecting the screenshot, the Capybara driver is stuck on the second page. The form field is empty and Chrome is showing it's built in "Please fill out this field." validation error. It looks as if the field was never filled in but the fill_in method never failed with a missing field error.
I first tried adding sleeps in the test to see if there was a timing issue somewhere. I quickly found that adding a sleep before trying to fill in the field made the test pass consistently.
After looking into many other things, I eventually tried changing the target of the link to point directly to the second page instead of the redirect, and the test passed consistently again!
This made me suspect that the redirect somehow affected Turbo's rendering so I tried adding a console.log in replaceBody and found that it was only called once (as expected) when linking directly to the second page but twice when following the redirect.
The test was failing because it filled in the field after the first call to replaceBody but clicked the submit button after the second call, when the filled in field had been replaced with an empty one.
In an attempt to fix this, I then tried adding back the willRender: false parameter to the call to visitProposedToLocation that was removed in 256418fee0178ee483d82cd9bb579bd5df5a151f—and the double render was gone! It also made the test that was added in 256418fee0178ee483d82cd9bb579bd5df5a151f fail, though, and I'm not sure how to fix it.
I don't quite understand the change in 256418fee0178ee483d82cd9bb579bd5df5a151f but it seems to have been introduced to fix a somewhat unrelated issue? @seanpdoyle, do you think there is any chance we could achieve the same result without introducing a second call to replaceBody?

@calleluks thank you for opening this issue.
I've opened https://github.com/hotwired/turbo/pull/804 to try and resolve this. Could you test that change out locally to confirm if it resolves the issue?

Hey @seanpdoyle, thanks so much for looking into this!
The changes in #804 do resolve the issue! 🎉


Add Route 53 support for Rancher Services using rancher domain

With #1675 completed, Rancher should now also support a default myrancher.com domain for services that have a published port.
A default catalog entry should be created similar to what already exist for the custom Route53 template.  The UX to for enable this could be when a user created an environment, an option to enable Rancher Route53 is presented.  By enabling this, all future services with published ports will have a DNS entry generated and accessible via the internet.

if i understand it right, this goes under "batteries included but swappable", As for the case of Colombia, only Cloudflare is present in the city of Medellin with superior latency metrics. So I'm looking out for a way to keep cloudflares dns entries updated by api. It seems, this is probably what I was looking for. :+1:

@blaggacao This particular feature would be to provide something like `service.stack.environment.blaggacao.rancher.com" FQDNs as-a-service that we own/manage that could work automatically with minimal/no setup.
The external DNS service is a container that watches for changes in Rancher metadata and makes the appropriate changes to the DNS entries with the provider's API.  So far it includes only a driver for Amazon Route53, but we would take a PR for CloudFlare support, or one of us will get to it eventually (we use them ourselves).
For example, here's one in progress contributed by a user for dnsimple: https://github.com/rancher/external-dns/pull/20

/cc @kurkop

Code is done.  Need to talk about hosting the rancher service that talks to Route53.


Dig non Hierarchical namespace compatibility

In azure, you can create a storage account without Hierarchical namespace:
Hierarchical namespace: Enabled

It seems that kestra need to have this to be working for storage and maybe plugin.
It seems to have an impact on /, creating directories with (no name), etc ...

very old issue, is this still relevant? please reopen if so

Hierarchical namespace is a configuration in Azure Blob and should be disabled -- add docs in config guide


Dispose store !! ???

Hi Ayaz,
Your solution looks great. I'm trying to address similar issue in my project but the question I got is how did you handled disposing stores (if needed) ??
I want to create store for some forms to maintain state of the application and once the form got closed it should be disposed to avoid memory leaks. I couldn't find proper solution anywhere.
Thanks in advance.

Hi @bhanu7755 .
I think the question is not related to this repo but regarding ngrx store and rxjs.
Still, what I think of right now is that the memory leaks might come from the observables (selectors) as well as from the state (the store). My suggestion would be to unsubscribe any selectors on ngDestroy lifecycle and reset the state to initial (with no data) as well on ngDestroy (where needed). Hope that helps. Closing the issue.


Implement Reference property in DataTypeBuilder, and add tests

Also added xunit.runner to Swagger.ObjectModel project, CLI tools for the win

The tests are pretty tedious, each property has two tests:

Is it initialized the way we expect (usually null)
Is it settable (usually yes, Ref was an exception until now)


windows title bar unit test

Description
windows title bar unit test
QA Checklist

[x] Unit-Tests
[ ] Automation-Tests

Attach unit & spectron tests results in PDF format against the above task lists for this branch
Symphony Electron Test Result.pdf

@vrbsm Please rebase this with typescript-2


Add option to dump AST

I choose not JSON, to have more dense format, since JSON too sparse to navigate.

To my taste, the solution is too ad-hoc, but for now I approve. Will open a separate issue on automating of this. Perhaps we can get auto-generation from JSON or something like that.
Also, maybe a visitor over all the AST would help, at the end :)


[BUG] Cannot create a M365 group with an apostrophe / single quote in the display name with New-PnPMicrosoft365Group

Reporting an Issue or Missing Feature
Issue similar to #4169 where quotes are not properly accounted for in the query.
Expected behavior
When the cmdlet is invoked with a group display name containing an apostrophe / single quote, the M365 group is not created and the cmdlet errors out with the following message instead:
New-PnPMicrosoft365Group:
Line |
  98 |  $group = New-PnPMicrosoft365Group -DisplayName $teamName -Description …
     |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Bad Request (400): Invalid filter clause: ')' or operator expected at position 69 in 'groupTypes/any(c:c eq 'Unified') and (displayName eq 'L'apostrophe' or mailNickName eq 'L'apostrophe')'.

(I replaced the actual group name with a dummy one, the position might not be exact)
Actual behavior
I would expect a successful run and the creation of a M365 group with a Microsoft Teams team associated (flag -CreateTeam).
Steps to reproduce behavior

Authenticate to the tenant with Connect-PnPOnline (how precisely shouldn't matter)
Invoke New-PnPMicrosoft365Group with a display name containing quotes
See the HTTP 400 Bad Request error being reported

What is the version of the Cmdlet module you are running?
PnP.PowerShell version 2.12.0 on PowerShell 7.2
Which operating system/environment are you running PnP PowerShell on?

[ ] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[x] Other : Azure Automation

@lapin-b - can you please try with the latest nightly builds and let us know, I couldn't reproduce it at my end ?

Closing this now. It has been fixed in the latest nightly builds and will be part of the next major release. We dont have an ETA for that at the moment.


Question about num_opps

What does num_opps stand for  and how it is used in runners? Because I see this variable a lot in configs and algorithms and couldn't understand what one is for.

it's the number of concurrent co-players (of different weight initialisations) the shaper plays against

Thus, if a game has n players, on each iteration the modelled agent plays against n-1 opponents — and this number is called num_opps. Did I understand correctly?

To play the multi-player IPD, you have to set num_players to how many opponents you want to play against. Apologies for the confusing naming.
See this config as an example.

Oh, I got it, the opponent refers not to player itself but to its initialisation, for example, it doesn't contradict with a player playing against itself. Thank you for the examples. If I don't have more questions, I will close the issue shortly


Trigger pg upgrade with required parameters

User Story
As a Developer for Chef Automate,
I want to trigger the upgrade commands when the customer agrees to upgrade in the cli command
Implementation Details

Run the pg_upgrade command to migrate the data from old PG version to the new pg 13 version

Acceptance Criteria

Upgrade should happen correctly.
Migration of data should happen
All data should be correctly migrated along with PG settings

Definition of Done

All things specified in User Story Acceptance Criteria should be fulfilled.
All Exceptions are Handled Properly
Ensure logs have no unnecessary data.
Test coverage for the new feature is done to at least 70%
Docs changes PR is Raised.
Swagger Documentation updated
Smoke Test done.
Ensure Build and Integration Pipelines are Green.
PR has 2 approvers.
All Code Review Comments are Resolved.
Test upgrade from n-1 version.

Not required as we will now only use automate Backup and Restore commands


test(bdd): add pool creation feature and test

Resolves: CAS-1253

How do we mark this as a draft again?

How do we mark this as a draft again?

under reviewers, you can click on Still in progress? Convert to draft

bors merge


Requesting grid profile error: AxiosError: Request failed with status code 404.

I'm getting the following error code:
"Envoy Solar, Requesting grid profile error: AxiosError: Request failed with status code 404."
If I roll the version back to V7.11.9 everything goes back to normal and works as it should.
Is this something on my end? Any help would be appreciated.
Thank you for all your work on this plugin!

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Will be fixed in next update

You are a legend. Thank you!

fixed


Jenn/trends page/fhir metric

Trends Metric Update
:recycle: Current situation & Problem
The trends tab displayed hard coded numbers.
:bulb: Proposed solution
Pull actual and updated metrics from firebase.
:gear: Release Notes
In this PR, I modified the DataCard view to display the daily stepcount. This is done by pulling the data from firestore.
Testing
I also updated the Trends Test to artificially add steps and checks to see if the trends tab updates.
Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

[] I agree to follow the Code of Conduct and Contributing Guidelines.

Preview of functionality:


[Feature request] Hide API-Key only for non-admins

Is your feature request related to a problem? Please describe.
The setting Manage Server - Server - Hide API Key
disables the API Info credentials in the right context menue of each wallet.
For admins this should still be visible.
Describe the solution you'd like
For admins this should still be visible since anyone anyhow can open it with console.log(window.wallet).
Describe alternatives you've considered
Additional context

is this feature useful at all? i never knew HIDE_API does that.

Maybe if you want your users to not add any devices or external features to their wallets by invoice-key/wallet-id, not sure who made it why.
I dont see the need.


Hardcoded TextureFormat

While setting up a project using bevy_ecs_tilemap I ran into an issue where my textures has a different format compared to what is expected by the crate leading to wgpu throwing a validation error:
ERROR wgpu::backend::direct: Handling wgpu errors as fatal by default
thread 'Compute Task Pool (9)' panicked at 'wgpu error: Validation Error

Caused by:
    In CommandEncoder::copy_texture_to_texture
    Copy error
    source format (Bc1RgbaUnormSrgb) and destination format (Rgba8UnormSrgb) are different

This seems to be because of this.
As discussed in this Discord help thread it might be possible to read the format of the texture instead of assuming Rgba8UnormSrgb. Possibly check that all textures also have the same format.

Fixed by: #335


Add more docs about cairo native within the code

Checklist

[ ] Linked to Github Issue
[ ] Unit tests added
[ ] Integration tests added.
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.63%.  Consider uploading reports for the commit 2a4a154 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #594      +/-   ##
==========================================
- Coverage   88.63%   88.63%   -0.01%
==========================================
  Files         109      109
  Lines       34905    34905
==========================================
- Hits        30938    30937       -1
- Misses       3967     3968       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Please fix conflicts @edg-l

Please fix conflicts @edg-l

done


Raspberry Pi4 Unbound Servfails on specific Domains

I have Raspberry Pi4 with latest 32bit RaspianOS
Installed Pi-hole (v5.11.4)
Installed Telerising-API (0.8.2)
Installed Unbound 1.13.1-1
Unbound working fine with Pi-Hole but i have the Issue that some Domains like Zattoo.com or Wilmaa or Teleboy getting a SERVFAIL
This Names of Providers are added in Telerising-API but I don't know how that is related
Describe the bug
A clear and concise description of what the bug is.
I gettin SERVFAIL from Zattoo.com, Wilmaa, Teleboy and some other Domains
To reproduce
Steps to reproduce the behavior:

Install Pi-Hole
Install Unbound
Install Telerising-API (https://github.com/sunsettrack4/telerising-api)
disable unbound-resolvconf.service for getting own Nameservers (Serverside)
Static IP Settings in /etc/network/interfaces
configure pihole and unbound same as here:
At least if all is running fine try to connect from Webbrowser to Zattoo.com , Wilmaa , Teleboy

Expected behavior
A clear and concise description of what you expected to happen.
System:

Unbound version: 1.13.1-1
OS: Bullseye V11 (Kernel 5.15)
unbound -V output:

Additional information
Add any other information that you may have gathered about the issue here.

To get an idea of what unbound is doing, and what is going on, it is possible to enable debug output. With log-servfail: yes in the config, unbound logs short, one line, messages about servfails during lookups.
It could be something that is not that easily logged as that, enable the debug output with verbosity: 4 and with that there are long debug outputs. That should describe precisely what is going on, and thus also what is causing the lookup failures.
To see those outputs, it may be needed to stop and then start unbound again, this clears the cache, and if then the domain names that produce the problems are looked up, it starts fresh, and the errors are logged at that moment. Otherwise, the names, and also the previous failures could be in the cache, and then the log may not happen at exactly the time where the domain name is looked up.

No Problem, here it is:
unbound.log

This line is of interest  [1661777530] unbound[1175:0] info: validation failure <zattoo.com. A IN>: no DNSSEC records from <IP_ADDRESS> for DS zattoo.com. while building chain of trust.
This is your forward zone server that does not reply with DNSSEC records when queries for the domain for its DS record are issued. The upstream server responds with
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 0
;; flags: qr rd ra ; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
zattoo.com.     IN      DS

;; ANSWER SECTION:

;; AUTHORITY SECTION:
zappn.ml.       3600    IN      SOA     gabe.ns.cloudflare.com. dns.cloudflare.com.<PHONE_NUMBER> 10000 2400<PHONE_NUMBER>

;; ADDITIONAL SECTION:
;; MSG SIZE  rcvd: 95

This looks like it queries for type DS at the wrong side of the zone cut. The upstream server does not support DNSSEC. The server would need to be upgraded in version, of type of server software to enable dnssec support. In this case for fetching the DS record from the correct place.
In your config, there is another error: [1661777515] unbound[1175:0] error: duplicate forward zone . ignored.
This error is there because there are two forward zones for ".". And they try to direct the traffic. You should comment out one of them and then use the other. Right now, unbound ignores the second forward zone config.
Another solution, that makes it work, is to disable dnssec. This can be done by setting the trust anchor to not load, commenting out the config item or using "". Or using val-permissive-mode: yes that still creates timeouts and wait times as it tries to validate but fails. Because your upstream does not do DNSSEC, disabling DNSSEC validation may be a thing that makes the domains resolve, but this does not solve the underlying problem, of course.

The Problem is i had old entrys in /etc/network/interfaces
But how can i configure the Unbound DNS Servers own Nameservers ? and let use other connected Client the Unbound Server itself ?
If i delete Dns-Nameservers in /etc/network/interfaces all connections say SERVFAIL

Not sure what sort of configuration is happening. It seems to be about the forward-zone configuration.
With no forward-zones, unbound resolves by itself. It then looks up names from servers on the internet.
For clients to use unbound, the IPs need to be allowed by the access-control statements in config.

Now Unbound is working properly, but how can I tell that the Unbound server itself is using another online DNS name server (e.g. <IP_ADDRESS>) but all other clients in the Network are using the Unbound for name resolution?
For the clients, however, the unbound should then generate the DNS. In other words, the Network clients should not use the online DNS-NameServer that the unbound server uses itself for resolving.
I hope you can understand that

You want to instruct the clients that they should use unbound for DNS resolution? That would mean instructing the client to do that, by entering the IP address of unbound in the DNS server entry. Or by having the DHCP nameserver response use the unbound IP address. Or by setting the ip address of unbound in /etc/resolv.conf, that type of thing.

Or by having the DHCP nameserver response use the unbound IP address.

This is what pi-hole suggests (https://discourse.pi-hole.net/t/how-do-i-configure-my-devices-to-use-pi-hole-as-their-dns-server/245) and you should have stumbled upon it while configuring from the guide you posted. I mean you may have already done that step :)

Yes that worked i think
I set the DNS Nameservers into /etc/resolv.conf instead of <IP_ADDRESS>
The Problem before was the DNS-Nameservers in /etc/network/interfaces and the Forward-Zone in the Unbound.conf
I removed both now it works


Fix installation

After installation, the onsite scripts are available, but they expect some files, e.g. the core_list.sh to lie in the working directory.
I am not sure if there is a way to link them in the installation process or if they would need to be generated by the python scripts ( The source env is already changed that way, so thats probably the easiest way)
batch_dl1_utils-merge_and_copy.py on the other hand just needs a function, that can be imported

batch_dl1_utils-merge_and_copy.py is a bit tricky. How can you batch (in La Palma cluster) a job without this one being a script ? I didn't find another way to do it :)

The bash scripts' problem is also know. The bash files could be installed with the package (no problem up to here). The problem is that the pipeline modifies this files in certain occasions (when the source env is modified), so modifying the installed bash file will have not effect.

The problem is that the pipeline modifies this files in certain occasions (when the source env is modified)

You can export an enviroment with subprocess.
Not sure if I miss a problem here, but I think it would avoid the modification of the bash scripts


Losing resolved non-null type when calling method on an array

repl
/* @flow strict */

type Foo = {|
  a: ?string,
|};
type Bar = {|
  prop: string,
|};

function worksFine(arg: Foo): ?Bar {
  if (arg.a == null || arg.a === '') {
    return null;
  }

  return {
    prop: {
      nested: arg.a,
    },
  };
}

function broken(arg: Foo): ?Bar {
  if (arg.a == null || arg.a === '') {
    return null;
  }

  [].reverse();
  return {
    // Cannot return object literal because null or undefined [1] is incompatible with string [2] in property `prop`.
    prop: arg.a,
  };
}

Any function call invalidates refinements.
Please read those docs and post back if it's still unclear.

I understand the reasoning, but surely with the complete type inference system this would be possible to decide which functions can mutate the current scope.
even this simple (very clearly correct) case fails.
function broken(arg: Foo): ?Bar {
  if (arg.a == null || arg.a === '') {
    return null;
  }

  const foo = () => {}
  foo();

  return {
    // Cannot return object literal because null or undefined [1] is incompatible with string [2] in property `prop`.
    prop: arg.a,
  };
}


Test devlxd image export for virtual machines

Amends devlxd-vm to test for image export over devlxd. To test this locally, I added functionality to the tests to allow sideloading the lxd-agent.

This needs some adjustments to pass on {4.0,5.0}/edge as the security.devlxd.images config key is not available for VMs in those versions.

This needs some adjustments to pass on {4.0,5.0}/edge as the security.devlxd.images config key is not available for VMs in those versions.

@tomponline do you think it's worth adding an API extension for this? E.g. devlxd_images_vm

@tomponline do you think it's worth adding an API extension for this? E.g. devlxd_images_vm

Yeah i think so

ready for rebase

@markylaing thanks!
devlxd-container seems to fail on edge intermittently https://github.com/canonical/lxd-ci/actions/runs/10280137408/job/28446865143?pr=255


Fix webpack bundling support

related: https://github.com/NativeScript/nativescript-dev-webpack/issues/81
fixes: #1, #3

@sis0k0
let you = 'winning'

Thank you =]

Open source at its best ;)
Thanks both!

Actually I am still getting an error after updating to the latest changes. Now I get the message Could not find module 'nativescript-telephony' even when just running tns run ios. I am invoking the plugin like this (before i used let Sim = require('nativescript-telephony'); which was working ok without webpack):
import {Telephony} from 'nativescript-telephony';
Telephony().then((info) => {
  console.dump(info);
}, (error) => {
  console.log('Unable to retrieve SIM info');
});

@abhayastudios delete your node_modules folder and reinstall.


feat(header-footer): UI header and footer

In the PR

[ ] created header
[ ] created footer
[ ] changed package file to use the npm run start
[ ] created some basic css file and applied to the header and footer

Hi @najibullahjafari, 👋🏻👋🏻

It would be great if you remove the script file from index.html in the src folder, because it will be generated once you run, rpm run build

Highlights

[ ] Great job on the functionality 💯
[ ] Followed GitHub flow 🔥
[ ] No Linters error ✅
[ ] ALL the required changes are applied 👏🏻👏🏻

Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Unexpected keyword argument 'fn_output_signature'

Hi @Tai-Min,
I'm trying to run your code. I'm interesting on the part of the pointer (I want to test Siamese Networks on OpenVINO and NCS2) but I obtain that error. I'm using tensorflow == 2.0 as you commented but in that versions seems not be the parameter 'fn_ouptut_signature' on the tf.map_fn function (that there is on tensorflow == 2.4.1).
Have you had this problem when you run it? If no, any ideas?
Thanks!

Hi, sorry for the late response.
By Tensorflow 2.0 in the article I wanted to distinguish between Tensorflow 1 and Tensorflow 2. I don't remember the exact version I was using but it was version that supported  'fn_output_signature' so I guess that it was  tensorflow >= 2.4.1. If you want to use this model with Tensorflow 2.0 I think you should play with dtype instead of 'fn_output_signature'.


how to trigger '@select event' manually ?

i need to trigger select event 。
eg.. $refs.treeselectInstance.xxx()

I think I found a solution to this
this.$refs.tree.select(this.$refs.tree.forest.nodeMap[id])

Will toggle the selection for node with ID=id


[eas-json] Add metadata path to ios submit profile

Checklist

[ ] I've added an entry to CHANGELOG.md if necessary. You can comment this pull request with /changelog-entry [breaking-change|new-feature|bug-fix|chore] [message] and CHANGELOG.md will be updated automatically.

Why
This was missing from the JSON Schema, used in the vscode plugin.
How

Added metadataPath to the iOS submit profiles, as documented here.

Test Plan
JSON schema change only.

Not sure why the installer workflow is failing here.

/changelog-entry chore Add JSON Schema metadataPath to iOS submission profile


Hook signature of create

Would you be in favor of simplifying the hook signature of create ? It takes an arbitrary emptyVnode as a first argument.
The fact that the logic is reused in the core modules for the create and update phases should not bother users everytime they want to do something in a create hook. I use this hook a lot and it's so annoying.
It would just be a matter of creating a wrapping function in the modules.
If you all agree, I'm happy to create a PR when I have some time.

Can you elaborate more? Creating an element while diffing two vnodes (the old one and the new one) is an important step in the process, and I don't think it has the same signature of update just to match the api. On top of that, this will be a non-BC change...

I mean:
In the main module (snabbdom.js) the create hook is called with an empty VNode as its first argument
As far as I know, its only purpose is to make the create and update functions of modules able to reuse the same function
If create would only take the VNode with its newly created elm, then it would only be a tiny inconvenience when writing modules, something you certainly do not do everyday, and a make for a better API when using the create hook in application code, something you do often (this is basically componentWillMount of react except you have access to the elm already).
It's a non backward compatible change, but an API simplification, easy to adjust without much thinking involved. Worth it for 0.7.0 imo.


add flag to specify output directory

Fixes #85

Pull Request Test Coverage Report for Build 410

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

Totals

Change from base Build 405:
0.0%

Covered Lines:
632

Relevant Lines:
1591

💛  - Coveralls


Support casting string type to types like int, bigint, float, double

Currently, it will fall back to row-based operators and introduce some overhead. The underlying implementation in gandiva had been ready. We need a small fix to complete the support.

Fixed by #552.


Z Transform Calculator

Enter calculator name -
Z Transform Calculator
Describe calculator functionality -
The Z Transform Calculator takes a function fn defined over sigma operation as input and finds the Z Transform of it as a function F(z).
Under which category you wish to place it -

[ ] Computer Science
[x] Mathematics
[ ] Physics
[ ] Chemistry
[ ] Biology
[ ] Art
[ ] Finance
[ ] Scientific
[ ] Health
[ ] Sports
[x] Let project owner decide
[ ] Suggest a new category - (Answer here)

i wish to work on this .. @Vedansh-Keshari

Hey @Thanush19,
Assigned.
You may contribute your code under the folder path -
calc_for_everything\calculators\src\mathematical\zTransformCalc
Issue completion deadline - 23rd Oct 10:00:00 pm IST
NOTE - In case the issue completion deadline is not met, the issue will be assigned to a new participant


FullscreenQuad not needed constant buffer

I saw there is a constant buffer but no usage in shader under directx 12

Thanks for the feedback!
it is true that the default pixel shader does not make use of any constants, but the FSQ root signature was defined to make it a bit more flexible. In particular, the SimpleHDR sample uses it in PrepareSwapChainBuffersPS.hlsl.
For the DirectX 11 implementation, such 'additional parameters' are safely handled through the setCustomState, but DirectX 12 root signatures are a lot less forgiving, particularly on Xbox One.

Thanks for clarification.


GetAttachments incorrect return type

Describe the bug
When I use GetAttachments on our Confluence Datacenter servers 7.19, the return doesn't match the Search structure due to Search.Results not matching what is actually received in the json.
If I change Search.Results field type from []Results to []Content (along with results in content.go@199), then I get the correct content.
Release version
I used v1.4.1

Thank you @Scapal for bringing this up, I will take a look into the current documentation and provide a fix.

Hi @c-seeger,
Thank you for the very quick fix.
You shouldn't have changed the json field name though.
This is working:
type Search struct {
	Results   []Content `json:"content"`

@Scapal according to
https://docs.atlassian.com/ConfluenceServer/rest/8.0.0-m90/#api/content-search
json:"content" is correct right?
https://github.com/Virtomize/confluence-go-api/blob/f1ecc79298ce670f62a5edd259152f1541e81480/search.go#L11
so everything should be fine or did I overlooked sth.
If i find some time I need to refactor the tests and add the correct JSON results from the docs.

@c-seeger as you can see in a previous release of the doc, the schema says content but the example says results: https://docs.atlassian.com/ConfluenceServer/rest/6.9.1/#content/{id}/child/attachment-getAttachments
I copy/pasted too quickly in my previous message, the version working for our 2 Confluence server (v7.19) is:
type Search struct {
	Results   []Content `json:"results"`

I also had to add the When field in Version :
type Version struct {
	Number    int    `json:"number"`
	MinorEdit bool   `json:"minorEdit"`
	Message   string `json:"message,omitempty"`
	By        *User  `json:"by,omitempty"`
	When      string `json:"when,omitempty"`
}

added Content and Result to have compatibility for v7 and v8


Cannot install Opencv4 - libjpeg/ Need help ASAP

Building libjpeg-turbo[core]:x64-windows...
-- Downloading https://github.com/libjpeg-turbo/libjpeg-turbo/archive/2.1.4.tar.gz -> libjpeg-turbo-libjpeg-turbo-2.1.4.tar.gz...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
Downloading https://github.com/libjpeg-turbo/libjpeg-turbo/archive/2.1.4.tar.gz
warning: Download failed -- retrying after 1000ms
warning: Download failed -- retrying after 2000ms
warning: Download failed -- retrying after 4000ms
error: Failed to download from mirror set
error: https://github.com/libjpeg-turbo/libjpeg-turbo/archive/2.1.4.tar.gz: WinHttpReceiveResponse failed with exit code 12175
error: https://github.com/libjpeg-turbo/libjpeg-turbo/archive/2.1.4.tar.gz: WinHttpReceiveResponse failed with exit code 12175
error: https://github.com/libjpeg-turbo/libjpeg-turbo/archive/2.1.4.tar.gz: WinHttpReceiveResponse failed with exit code 12175
error: https://github.com/libjpeg-turbo/libjpeg-turbo/archive/2.1.4.tar.gz: WinHttpReceiveResponse failed with exit code 12175
[DEBUG] D:\a_work\1\s\src\vcpkg\base\downloads.cpp(956):
[DEBUG] Time in subprocesses: 0 us
[DEBUG] Time in parsing JSON: 3 us
[DEBUG] Time in JSON reader: 0 us
[DEBUG] Time in filesystem: 9381 us
[DEBUG] Time in loading ports: 0 us
[DEBUG] Exiting after 8.099 s (8079598 us)
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):
  Failed to download file with error: 1
  If you use a proxy, please check your proxy setting. Possible causes are:

  1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
     to `https://address:port`. This is not correct, because `https://` prefix
     claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
     , etc..) is an HTTP proxy. Try setting `http://address:port` to both
     HTTP_PROXY and HTTPS_PROXY instead.

  2. You are using Fiddler. Currently a bug (https://github.com/microsoft/vcpkg/issues/17752)
     will set HTTPS_PROXY to `https://fiddler_address:port` which lead to problem 1 above.
     Workaround is open Windows 10 Settings App, and search for Proxy Configuration page,
     Change `http=address:port;https=address:port` to `address`, and fill the port number.

  3. Your proxy's remote server is out of service.

  In future vcpkg releases, if you are using Windows, you no longer need to set
  HTTP(S)_PROXY environment variables. Vcpkg will simply apply Windows IE Proxy
  Settings set by your proxy software. See (https://github.com/microsoft/vcpkg-tool/pull/49)
  and (https://github.com/microsoft/vcpkg-tool/pull/77)

  Otherwise, please submit an issue at https://github.com/Microsoft/vcpkg/issues

Call Stack (most recent call first):
scripts/cmake/vcpkg_download_distfile.cmake:273 (z_vcpkg_download_distfile_show_proxy_and_fail)
scripts/cmake/vcpkg_from_github.cmake:106 (vcpkg_download_distfile)
ports/libjpeg-turbo/portfile.cmake:5 (vcpkg_from_github)
scripts/ports.cmake:147 (include)
error: building libjpeg-turbo:x64-windows failed with: BUILD_FAILED
error: Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+libjpeg-turbo
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[libjpeg-turbo]+Build+error
Include '[libjpeg-turbo] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.
vcpkg-tool version: 2022-12-14-7ae0d8527fb488fde10a89c2813802dc9b03b6f9
vcpkg-scripts version: e69dd972b 2023-01-20 (2 days ago)
I have all vcpkg updated, however, it cannot be installed Opencv4.

Thanks for posting this issue. Could you please try to download https://github.com/libjpeg-turbo/libjpeg-turbo/archive/2.1.4.tar.gz manually and put the archive file into downloads folder, then rebuild this?
Please use proxy to download those files.

We hope your question was answered to your satisfaction; if it wasn't, you can reopen with more info.


Roll Flutter Engine from 619804c0fbb7 to 0a2034e0061f (39 revisions)

Roll Flutter Engine from 619804c0fbb7 to 0a2034e0061f (39 revisions)
https://github.com/flutter/engine/compare/619804c0fbb7...0a2034e0061f
2024-11-15<EMAIL_ADDRESS>[fuchsia] MaybeRunInitialVsyncCallback should only called once (flutter/engine#56429)
2024-11-15<EMAIL_ADDRESS>Move mac clangd build from x64 to arm (flutter/engine#56567)
2024-11-15<EMAIL_ADDRESS>Added assert for opengles thread safety (flutter/engine#56585)
2024-11-15<EMAIL_ADDRESS>[Impeller] enable OpenGL fallback on Android. (flutter/engine#56591)
2024-11-15<EMAIL_ADDRESS>[Impeller] Maintain separate queues of GLES operations for each thread in the reactor (flutter/engine#56573)
2024-11-15<EMAIL_ADDRESS>Roll Dart SDK from abe86ca4eb01 to b62dadb14d82 (2 revisions) (flutter/engine#56615)
2024-11-15<EMAIL_ADDRESS>Roll Skia from b730eb340852 to 1ef3b910e064 (4 revisions) (flutter/engine#56613)
2024-11-15<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from JkpuAsLzcmYLzf1iX... to UpSQzyXGUhMfedYIh... (flutter/engine#56611)
2024-11-15<EMAIL_ADDRESS>Roll Dart SDK from bf0eeb9d929c to abe86ca4eb01 (1 revision) (flutter/engine#56610)
2024-11-15<EMAIL_ADDRESS>Roll Skia from e5fda8472b21 to b730eb340852 (1 revision) (flutter/engine#56608)
2024-11-15<EMAIL_ADDRESS>Roll Skia from 8ff65da4b8bf to e5fda8472b21 (1 revision) (flutter/engine#56603)
2024-11-15<EMAIL_ADDRESS>Move TestMetalContext/Surface to testing namespace (flutter/engine#56602)
2024-11-15<EMAIL_ADDRESS>Roll Dart SDK from 343b9fc6eafe to bf0eeb9d929c (1 revision) (flutter/engine#56604)
2024-11-15<EMAIL_ADDRESS>[Impeller] Don't enable KHR_debug on Angle. (flutter/engine#56601)
2024-11-15<EMAIL_ADDRESS>[Impeller] libImpeller: Reset the GL state when transitioning control back to the embedder. (flutter/engine#56597)
2024-11-15<EMAIL_ADDRESS>Roll Skia from 8946ea477b42 to 8ff65da4b8bf (2 revisions) (flutter/engine#56600)
2024-11-14<EMAIL_ADDRESS>[Impeller] Put test components in the testing namespace. (flutter/engine#56594)
2024-11-14<EMAIL_ADDRESS>[Impeller] libImpeller: Add a warning about OpenGL state being trampled. (flutter/engine#56599)
2024-11-14<EMAIL_ADDRESS>Embedder: Refactor EmbedderConfigBuilder by backend (flutter/engine#56598)
2024-11-14<EMAIL_ADDRESS>Migrate Metal translation units to Obj-C++ (flutter/engine#56592)
2024-11-14<EMAIL_ADDRESS>Roll Dart SDK from db4d7d52db48 to 343b9fc6eafe (1 revision) (flutter/engine#56590)
2024-11-14<EMAIL_ADDRESS>iOS,macOS: Build/test test_metal_surface_unittests (flutter/engine#56586)
2024-11-14<EMAIL_ADDRESS>Roll Skia from 3222456e63dc to 8946ea477b42 (2 revisions) (flutter/engine#56587)
2024-11-14<EMAIL_ADDRESS>Roll Skia from 16178bf63de7 to 3222456e63dc (3 revisions) (flutter/engine#56584)
2024-11-14<EMAIL_ADDRESS>[Android] Fix Slider semantics double tap behaviors (flutter/engine#56452)
2024-11-14<EMAIL_ADDRESS>Roll Dart SDK from a3b6652100c8 to db4d7d52db48 (1 revision) (flutter/engine#56581)
2024-11-14<EMAIL_ADDRESS>Move Vulkan context to EmbedderTestContextVulkan (flutter/engine#56571)
2024-11-14<EMAIL_ADDRESS>Roll Skia from a076435073fc to 16178bf63de7 (1 revision) (flutter/engine#56579)
2024-11-14<EMAIL_ADDRESS>Roll Skia from 70553189e4e8 to a076435073fc (1 revision) (flutter/engine#56577)
2024-11-14<EMAIL_ADDRESS>Roll Skia from fa52f2c1ddba to 70553189e4e8 (1 revision) (flutter/engine#56576)
2024-11-14<EMAIL_ADDRESS>Roll Dart SDK from 3f05b3540cb2 to a3b6652100c8 (3 revisions) (flutter/engine#56575)
2024-11-14<EMAIL_ADDRESS>Roll Skia from ddbd8d1cb8d8 to fa52f2c1ddba (3 revisions) (flutter/engine#56574)
2024-11-14<EMAIL_ADDRESS>[Android] choose 24 bit depth buffer. (flutter/engine#56553)
2024-11-14<EMAIL_ADDRESS>Roll Skia from 3750b8939c7f to ddbd8d1cb8d8 (1 revision) (flutter/engine#56562)
2024-11-14<EMAIL_ADDRESS>Move FlMouseCursorHandler from FlView to FlEngine (flutter/engine#56026)
2024-11-14<EMAIL_ADDRESS>[Impeller] force software resize usage for GLES backend. (flutter/engine#56511)
2024-11-14<EMAIL_ADDRESS>Roll Dart SDK from 66ab1774bfe9 to 3f05b3540cb2 (2 revisions) (flutter/engine#56564)
2024-11-14<EMAIL_ADDRESS>Embedder: Refactor EmbedderTestContext creation (flutter/engine#56563)
2024-11-14<EMAIL_ADDRESS>Remove android_jit_release_x86. (flutter/engine#56548)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from JkpuAsLzcmYL to UpSQzyXGUhMf
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
...

Commit queue failed; closing this roll.


Got some error while installing

Hi,
Actually its not a bug its help which i needed.
Its really cool example and I've loved it. But i got stuck on npm-start even i have install and all dependencies also. Can you guess what did i wrong or what should i do? I am new to react so i am requesting you.

I have the same problem, any help?

Same problem...

is it still error ? @caseydev


Add settings option to hide/reduce footer for self-hosted servers

The Zulip website footer is probably not necessary on a self-hosted Zulip server's login type pages.
I believe we can implement this by adding a settings option called PORTICO_DISABLE_FOOTER, which when enabled gets passed to clients via the common context in zerver/context_processors.py as footer_disabled, and could be added to this conditional in the template:
    {% if not isolated_page %}
    {% include 'zerver/footer.html' %}
    {% endif %}

That said, I'm not happy with that precise design, since it provides no ToS/privacy policy link location, and thus would break those settings.  So from a product perspective, we we might want to instead have a simplified footer option that just has ToS/Privacy/Contact (the last being some way to contact whoever administers the server).

I believe a simplified footer would be acceptable too.
The main objective really is to remove the bulk links to things really not too relevant for self-hosted installations, or users of those installs who may through several routes click those, then end up maybe on your own zulip install getting all a bit confused.


[Feature Request] If API_SCHEMES is defined in config and is not a list, try to convert it into one

Is your feature request related to a problem? Please describe your use case.
Currently the config value for API_SCHEMES is interpreted as-is but is used as an iterable, which makes it hard to use when it is defined using environment variables, as these are always strings.
https://github.com/sanic-org/sanic-ext/blob/993d9d7e92efe90909af90d521a664bf742c8035/sanic_ext/extensions/openapi/blueprint.py#L161
Describe the solution you'd like
It would be nice if, in cases in which it is a string, it would split the string automatically (maybe in ,) to convert it into a list.
Additional context
N/A.

Perhaps it's worth adding in app.config object a on-init or post-init validator which shall check
if hasattr(self, "API_SCHEMES"):
if not isinstance(self.API_SCHEMES, list):
self.API_SCHEMES = [self.API_SCHEMES]


Support passing in a format specifier object instead of string

Is there any chance of having the ability to format with an object rather than string, e.g.:
format({ precision: 2, type: 'f' })(1.234);
Rather than:
format(".2f")(1.234);
I think it would be nice to allow being that explicit.
I also have a use case for it where I want to convert from other types of format strings into d3-format style. It's easier to convert from "other" to the specifier object, rather than the extra step of making that object a string as well.
I can see it being possible directly in the format function, or if the FormatSpecifier class was exported and had a constructor that accepts either an object or string:
const specifier = new FormatSpecifier({ precision: 2, type: 'f'}).toString();
format(specifier)(1.2345);

Yeah, I’m in favor of exposing the FormatSpecifier class. 👍


On USB Attach App restarts. How to prevent app from restarting automatically on usb attach

i have the same problem


Wrong colors using Opera and Safari

Hi,
I only want to say that the theme does not work properly with Opera. The nav-bar appears as a black circle, and when you hover over it, the arrow does not appear.
In Safari, I was trying to change the primary color in _variables.scss from #3cc76a to #f1a217. After this change I had problems with the nav-button on my Mac. When hovering over the nav-bar button I see blue colors on the burger. I had no problems in Chrome and Firefox.
Best regards

I tried to reproduce those issues but it's all working fine here.
I'm using Opera 48.0
@franzz2000 Can you give me more info like versions that you're using and screenshots?
Thanks in advance. 😄


[stable/stolon]Add support to create a shm volume  to increase the size of this

Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

What this PR does / why we need it:
In some cases Postgres will need more the shared memory but k8s doesn't allow to change the size fixed at 64Mb.
In Postgres chart is already implemented.
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/ok-to-test

/lgtm


Add em dash support

Add support for em dashes to Text and FormattedText elements (if there isn't already a reasonable way to make it appear)

Update: I went back to check em dashes in Text and FormattedText, per your comment on BGG, and you care correct--they are unrecognized characters in either, seemingly no matter the font.

I was able to get em dashes into both Text and FormattedText elements:
Key factors:

I pasted the em dash character into CardMaker from LibreOffice Writer (into the Definition field)
I also put the em dash character into a text editor (Textpad) and saved it as UTF-8 format (for use as a reference in CardMaker)
I'm in Windows 10 and the font on the element is Arial
In the Definition field editor itself the em dash renders as a normal dash (I think this is likely due to the use of a monospace font)


Test Case bug: Basic Node and Express - Use the .env File

Describe your problem and how to reproduce it:
Bug Description: I am unable to pass the test case even though my code is doing exactly what the challenge is asking it to in order to pass the challenge.

My code solution:
app.get('/json', (req, res)=> {   var response; if (process.env.MESSAGE_STYLE === "uppercase") {   response = "Hello json".toUpperCase(); } else {   response = "Hello json"; }   res.json ({     message: response   }); });
Link to the page with the problem:
https://www.freecodecamp.org/learn/apis-and-microservices/basic-node-and-express/use-the-.env-file
Tell us about your browser and operating system:

Browser Name: Google Chrome
Browser Version: Version 83.0.4103.106 (Official Build) (64-bit)
Operating System: MacOS Mojave

Link to solution with the code: https://eastern-earthy-rake.glitch.me
If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box):

Hello there,
There is already an issue up. So, I am closing this as a duplicate.
You can follow the issue here: #39095


deploy error

when I try to deply it I get this:
WARNING util.py:134 new_request() takes at most 1 positional argument (6 given)

Sounds to me like you have the wrong/outdated python version, I wouldn't know what's the right version though :grimacing:

I downloaded 1.9.23 version frome here: https://cloud.google.com/appengine/downloads

That's the SDK version. You still need to install Python 2.7.x: https://www.python.org/downloads/

I have installed Python

Run python -V and show the result. Must be capital V, not small v.

Python 2.7.10

Some say the warning can be safely ignored. Others suggest incrementing the version number to make them go away.
Give it a try?

Thank you very much. Incrementing the version number works fine again.


fix segv when connect fails.

Fix possible free of unallocated memory (fixes #13)
Remove 'debugging' printf

Thanks


Fix border-color only accepting named colors

Using rgb/rgba with border-color is throwing an error.
ping @jacobp100

Good catch!

Any idea why the build's failing?

Any idea why the build's failing?

Looks like some npm registry error

@jacobp100 I don't know what to do with the broken CI, I tried restarting the build a couple of times, but it always fails with the same error of something being wrong in the tar header of the camelize package. Seems quite weird.

I suspect we just wanna update the packages - we should do that before we ship in case this starts affecting other people


Error $HOME must be set to run brew when executing any Brew command

brew doctor output
Your system is ready to brew.

Verification

[X] My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
[X] I ran brew update twice and am still able to reproduce my issue.
[X] This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output
HOMEBREW_VERSION: 4.1.3-64-g3eb48a8
ORIGIN: https://github.com/Homebrew/brew
HEAD: 3eb48a828d44643b8d427f647227a277b1a4c1bf
Last commit: 27 hours ago
Core tap origin: https://github.com/Homebrew/homebrew-core
Core tap HEAD: ca97084daf9b750943e109c69772b2a4a62a33e9
Core tap last commit: 41 minutes ago
Core tap branch: master
Core tap JSON: 06 Aug 18:32 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 15.0.0 build 1500
Git: 2.39.3 => /Applications/Xcode-15.0.0-Beta.5.app/Contents/Developer/usr/bin/git
Curl: 8.1.2 => /usr/bin/curl
macOS: 13.5-arm64
CLT: <IP_ADDRESS>.1.1683849156
Xcode: 15.0 => /Applications/Xcode-15.0.0-Beta.5.app/Contents/Developer
Rosetta 2: false

What were you trying to do (and why)?
I am the developer of Cork, a popular GUI for Homebrew. I am not sure if this a Homebrew or macOS problem, but contacting Apple is almost impossible, so I'm requesting help here to rule out this being a Homebrew problem, so I can focus my anger on Apple instead :)
Recently, users started reporting that they cannot execute any Brew command through Cork, such as commands for installing packages, adding Taps, etc.
This issue is experienced by every Cork user on the newest version of Homebrew.
The issue was traced back to every command given to Homebrew through the system's Process() class returning the error $HOME must be set to run brew. This issue is present even though Cork explicitly issues commands Homebrew using its full system path (/opt/homebrew/bin/brew on ARM and /usr/local/bin/brew on Intel).
See the following files for code reference:

Implementation of Process() for issuing Homebrew commands and receiving their outputs: Shell Interface.swift
Example use of this function to issue a Homebrew command: Brew Interface.swift
Example of defining absolute path to the Homebrew executable: App Constants.swift

What happened (include all command output)?
When issuing a Homebrew command through macOS's Process(), all Homebrew commands fail with the error $HOME must be set to run brew even when the Homebrew executable is executed with its explicit executable path (/opt/homebrew/bin/brew instead of just brew).
Example of output, see Brew Interface.swift for definition:
TerminalOutput(standardOutput: "", standardError: "Error: $HOME must be set to run brew.\n")
What did you expect to happen?
The issued command returns a valid output, instead of an empty output and and the mentioned error.
Step-by-step reproduction instructions (by running brew commands)
Example workflow: Loading outdated packages inside Cork.

1. When Cork starts, it uses Process() to issue the command "/opt/homebrew/bin/brew outdated" and awaits output.
2. Cork expects to receive a list of outdated packages, which it when displays in the UI

Instead, this happens:

1. Cork starts and uses Process() to issue the command "/opt/homebrew/bin/brew outdated" and awaits output.
2. Cork receives an output, STDOUT being empty, and STDERR including "$HOME must be set to run brew"

Again, I don't know if this is something that is happening because of Homebrew's newest version, or if macOS 13.5 is the culprit. But receiving a timely answer from Apple is impossible.

We recently enforced this in https://github.com/Homebrew/brew/commit/4184546067cb33e8d4de3c0ce9b5e6f1ebf7daca, notably because brew never worked correctly without since HOMEBREW_CACHE would not be set correctly: https://github.com/Homebrew/brew/blob/3eb48a828d44643b8d427f647227a277b1a4c1bf/Library/Homebrew/brew.sh#L35-L45 (and this code has been there for 7 years).
Though I'm interested into hearing how you managed to get it to work before.

This is a Cork problem that you'll need to fix yourself, sorry. You can get the $HOME for a user and should set that in the environment accordingly. Otherwise, as @Bo98 has noted, several other parts of Homebrew will not work as expected.

@Bo98 in the past, Homebrew didn't complain if I called the Homebrew executable by its full path even with an empty environment, so it until the $HOME thing was enforced, I didn't have any reasons to make any changes to it. I simply created a Swift Process(), set its launch path to the Brew executable, passed any required arguments to it and it worked just fine.
@MikeMcQuaid thank you for the info. I fixed the problem by getting the user's home directory and adding that as HOME to the Process()'s environment. And now it works as expected.


Added dark theme

#30 Dark theme added. It looks good already. Take a look. Implemented it with streams.

The colors need to be updated as well

Always use white text instead of Red on black.
Fix bottom nav bar tiles, they are still black, also the text there should be white.

You can experiment with the colors first using Panache - https://rxlabz.github.io/panache/#/

@hrishiksh are you still working on this?

@hrishiksh are you still working on this?

Yes. I will modify the code as your requirement. You can Marge the previous change. I will make a new pull request with changes and implement persistent theme switcher.

You can do the changes in this PR itself.

Hi @hrishiksh
Are you still working on this?


Searching for posts crashes the server

Searching for hashtags crashes the server
In /express/controllers/search.js  async function searchHashtags(keyword)
    ```jasma/express/node_modules/sequelize/lib/utils/sql.js:150
    throw new Error(`Positional replacement (?) ${replacementIndex} has no entry in the replacement map (replacements[${replacementIndex}] is undefined).`);
    Error: Positional replacement (?) 0 has no entry in the replacement map (replacements[0] is undefined).```

Line 14.
const resHashtags = await db.query(`SELECT * FROM posts_hashtags WHERE LOWER(hashtag) LIKE ?`, { replacements: [keyword] });

Fixed in commit https://github.com/steph-koopmanschap/jasma/commit/f8ef23d12c7ddbe09ca9c3976ab660c07c36eec8
#f8ef23d12c7ddbe09ca9c3976ab660c07c36eec8


docs: refac/update soroban book and correct errors

Will also close #37

Thanks for your support. I am not mergin though, Markdowns should be modified, not html
use yarn instead of npm , don't add a package-lock.json


Materialize template

Happy to take a PR for a materialize template?
http://materializecss.com/forms.html
Or do you have one in the works?

Sure stuff, I'd love to have one.

+1 :)

+1

I gave my feedback. Probably gonna merge it when I got time and do some adjustements.

Great @matteodem Looking forward to it.

Closing this as the goal of this pkg won't be supporting loads of frameworks, but rather have a clean API that allows to easily rebuild the widget. see #119 and #114


Update README.md

Fixed a typo. "plade" to "plane"

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot