sluggish cursor under 99%+ gpu load

Hyprland Version
 System/Version info
Hyprland, built from branch HEAD at commit 03ebbe18ed8517ee22591eac82cd54322f42cb7d  (props: bump ver to 0.34.0).
Date: Mon Jan 1 12:03:15 2024
Tag: v0.34.0

flags: (if any)

OS: Arch Linux
GPU: AMD Radeon RX 6600 XT
Mesa: mesa-tkg-git <IP_ADDRESS>253.ee25160ed5d-1

Notable changes from my Hyprland.conf

monitor=,1920x1080@165,auto,1

env = QT_QPA_PLATFORMTHEME,qt6ct

input {
accel_profile = flat
    force_no_accel = true
}

misc  {
no_direct_scanout = false
}

Bug or Regression?
Bug
Description
GPU under 99%+ load causes stutter-y cursor in adjacent workspaces.
I was playing warframe and noticed if I switched to different workspace, my cursor felt like its was under 60Hz. Its not just a feeling, I clearly saw large gaps between my cursor icon when moving it back and forth really fast.
It doesn't feel stuttery in game, but only in other workspaces.
How to reproduce

Use my Hyprland.conf
Launch Warframe from steam.
Use nvtop to monitor gpu usage.
In game max settings, no vsync or frame limit.
switch to another workspace and move the cursor.

hyprland.txt
Crash reports, logs, images, videos
No response

why is that a surprise? hyprland uses your gpu to render too. If you strain it, it struggles.

I don't know much about this topic, but my assumption is that the cursor was supposed to render separately... something about hardware cursors not being my system load.

I don't think hw cursors are unaffected by system load.

Then I really don't know what I am talking about.
Since this situation seems like intended behavior, "hyprland uses your gpu to render too. If you strain it, it struggles". I can convert this to a feature request or close it.

With my 6900XT I get no cursor lag. GPU at 100%.
What's the in-game frame rate display show as your frame time?

I don't think hardware cursors are supported on nvidia?

@zakk4223 my frame times are fine ingame, my bug report has more to do with other workspaces. If the game running (99%+ gpu load) and I switch to a new workspace my cursor get sluggish in that new workspace.
While your game is ruining (100% load), can you switch to another workspace and see if you notice the cursor lag.  Here are some of my notable changes:
Notable changes from my Hyprland.conf

monitor=,1920x1080@165,auto,1

env = QT_QPA_PLATFORMTHEME,qt6ct

input {
accel_profile = flat
    force_no_accel = true
}

misc  {
no_direct_scanout = false
}

Also can you list your kernel version?

I was testing with another game and noticed when it maxed out the gpu, it didn't cause a cursor stutter. So I played around with the settings in Warframe and seem to have landed on the culprit. SSAO (Screen space ambient occlusion), disabling has resolved this issue.

Sorry for wasting your time,
Thank you


[Bug]: Neo4j Cypher script action does not work when executing on remote server

Apache Hop version?
SNAPSHOT-20230112
Java version?
11
Operating system
macOS
What happened?
When executing a simple workflow (start and neo4j Cypher action) all goes well in the HopGui
When sending this workflow to a remote hop server it fails on not finding the Cypher Script action (missing plugin)
Example workflow included
neo4j_sypher_script.hwf.zip
Issue Priority
Priority: 2
Issue Component
Component: Neo4j

.take-issue


wget cert error

I upgraded from 1.2.8 to 2.0.2 for the jgroups stack support.  If I set $install_source to an https link I get wget ssl error. I need to be able to add --no-check-certificate. I cannot find where this can be set in this version. I was able to set it in the install.pp file in version 1.2.8.
SSL_connect returned=1 errno=0 state=error: certificate verify failed
Thanks.

In version 2 we decided to remove the exec with wget and use file with remote file support (introduced in Puppet 4).
Couldn't find an explicit option for SSL behavior in file resource, but puppet will probably use default CA bundle its Ruby points to, or default OS ca-certificates.
Unfortunately, I can't test it right now, but it would be easy to find with strace -e open puppet apply|agent.
If it turn out to not be that easy we could discuss other options, like returning to wget or using puppet-archive, that contains an allow_insecure option. OK?

Thanks for the quick response.  We have puppet configured for an external CA. Strace verified that these are the certs being used. I also verified the puppet certs against the CA bundle we use and it returned ok. Thanks again for the quick response. I will keep digging.

Closing for lack of contact. Feel free to reopen.


Payment expiry is too close to the current block height for safe handling by the relaying node

i get this message in eclair wallet when i want to pay a lnwallet generated invoice.
i found this: "Eclair expects payment expiries to be strictly more than 7 blocks in the future, and the LN specifications defaults in BOLT11 is 9 blocks ."
i didnt find out what timeouts lnwallet uses by default, but maybe this can be fixed easily?

BLW does not set a concrete expiry in it's payment requests so it is chosen by Eclair when a payment is attempted.
It looks like Eclair selects a delay which is less than 7 blocks and then complains it's too short? @sstone please advice.

ah this lead me to here: https://github.com/ACINQ/eclair/pull/627 seems like the issue is known and being worked on.


Added a missing word to the change log

Nice work on landing the new serializer setup!

👍  and thanks!


Uninstall autoenv - Mac OS Ventura 13.0

Hello, I can't seem to uninstall it.
Installation
First, I followed the instructions and installed via brew
$ brew install autoenv
$ echo "source $(brew --prefix autoenv)/activate.sh" >> ~/.bash_profile
source ~/.bash_profile
Since it did not work, I used this code that was posted in an issue
echo "source $(brew --prefix autoenv)/activate.sh" >> ~/.zshrc
source ~/.zshrc
Uninstallation trials

I deleted the added line in both ~/.bash_profile & ~/.zshrc

brew uninstall autoenv

I also ran cd unset.

When I cd into the directory, it stills activate.

Gosh I should really update the instructions for both Bash and Zsh since the former is now the default on macOS - I don't use macOS so that's the reason why this slipped for so long...
About your question @selimharfouche , your issue seems to be that unset cd isn't doing what you think it's doing
In Bash unset cd tries to find a variable named cd - if that variable name is not found, looks for a function named cd and removes it if it can be found
But in Zsh, unset cd stops if it can't find a variable named cd. You have to do either unset -f cd or unfunction cd so the actual function is actually unset

I'll have to update the documentation so this is more clear - thanks for bringing this up
If that didn't work, please let me know, and I'll investigate further :)


Tracking speed

Thank you for your work.
Would you please tell me about the tracking speed of your model?
When I conduct an experiment on RGBT tracking, I find that the speed only reaches 3 fps. I want to know if it is right.
Thank you so much again.

@dddqy Do you have a GPU and run on it? Our new add parameters are negligible w.r.t parameters of OSTrack, so their speeds are almost same.

Same Problem. I am using an A100. But the inference speed only reaches 3 fps. It seems abnormal that the CPU utilization is very high, while GPU utilization is very low during inference.


New version: InteractiveFixedEffectModels v1.0.1

Registering package: InteractiveFixedEffectModels
Repository: https://github.com/FixedEffects/InteractiveFixedEffectModels.jl
Created by: @matthieugomez
Version: v1.0.1
Commit: afb256ed0849e78b30dc49f3a67bfb0cda9bf352
Reviewed by: @matthieugomez
Reference: https://github.com/FixedEffects/InteractiveFixedEffectModels.jl/commit/afb256ed0849e78b30dc49f3a67bfb0cda9bf352#commitcomment-42790490

[noblock] not sure why checks fail. Is it possible to launch them again?


Adding Async Capabilities to all decorators

Hi there 👋
By adding support for async functions, more actions can be handled in a shorter amount of time, especially when using APIs.
The needed additions are very short. I tested all but the Hotword decorator but i assume that it will function the same way.
Using async or normal functions doesn't make any difference on the library side anymore.
I added a hint in the Usage docs but maybe this needs to be referenced somewhere else.

So the failing tests are all regarding type hinting
I could easily add this but it would make it even more unreadable for normal people looking at the docs.

Thanks for looking into this! This is definitely a useful addition.
Some remarks:

Can you add a simple example app (e.g. an asynchronous version of the time app) that shows app developers how to use asynchronous actions? You can also link to this app in the usage section. I know it's trivial code, but probably not for someone taking their first steps in asynchronous Python.
I know that the typing hints are becoming quite unwieldy, but I guess that's the price we have to pay for having an easy-to-use and generic API. Could you still fix the mypy errors? I like to have the typing hints there because they are checked, and we can always drop the signature in the documentation if it becomes unreadable.

@koenvervloesem
So i fixed most of the typehints but recognised that by doing that, running non async functions becomes impossible.
For on_intent its easy... because we just execute the wrapped as an async function and can therefore await any call depending on if its a couroutine or not. For the rest however, i'm currently not sure how to handle this the best way.
Furthermore i wanted to ask if it's okay to import the modules from typing directly instead of having to write typing.before every hint wich become more nested by adding a Awaitable option for all returns.

Importing directly from the typing module is fine.
When looking at the code now, and considering the issue with non-async methods, I wonder if we don't make this too complicated to maintain by trying to support both async and non-async methods in the decorators. Maybe we should just drop the possibility to decorate non-async methods? What do you think?

I would support this,especially considering that by enableing async only, the probabilty of people using async libraries and therefore improving parallel processing aswell as more efficient runtime usage. And people don't have to use the features of asyncio if they don't want to. I think this should be decided as early as possible before more apps start using this library.

Ok, I agree, let's just do this breaking change now before more people are using the library.
Can you remove the non-async code and typing hints from the parts in the code you touched? I'll fix the documentation, examples and tests in the tests directory afterwards, and then I'll publish a new release.

is there a reason why some End/ContinueSessions are stringified instead of accepting the classes as returns? e.g. Union[ContinueSession, "EndSession"]

These are forward declarations referring to a class that is defined only after this code in the file. It could be that I haven't fixed these everywhere yet. But in the mean time I have moved these simple helper classes forward in the file so that we don't have this problem anymore: https://github.com/rhasspy/rhasspy-hermes-app/commit/6c42306dde89be04c7c8bc75dd83f455c7dddf7d

i forgot to pull the new master version and had some issues but they are all resolved now @koenvervloesem.
And the tests are passing now aswell :tada:

Thanks, I'll have a look!

Ok I merged your pull request, tested the example apps and I cleaned up the examples and documentation. Could you take a look at master and let me know if you see some problems? If it looks fine for you, I'll create a new release then.

I went through the docs and it all seems fine. Maybe at least until the next release we should have a banner like section explaining that the async keyword is required now... 🤔


Export  snapshots before each network upgrade on both calibnet and mainnet

Done for calibnet. Will be difficult to do for mainnet. :(

Syncing calibnet from genesis is easy. Syncing mainnet from genesis is much more complicated. It may be possible to get the snapshot data from IPFS.

Limited the scope of this issue to calibnet. Will create a new issue for mainnet.


[Mention The Feature]: Buttons are not aligned properly

Is your feature request related to a problem? Please describe.

Here, the buttons are not aligned properly. Alignment makes a page looks attractive.  And cards can be more enhanced. I would like to work upon it. Please assign it to me with labels "hacktober-fest", "gssoc-extd" and appropriate level.
Thanks
Describe the solution you'd like.
No response
Describe alternatives you've considered.
No response
Additional context.
No response
Show us the magic with screenshots
No response
Checklist

[X] I have checked the Existing Issues
[X] I have read the Contributing Guidelines
[X] I want to work on this issue. (optional)

this issue has been solved, so we are closing this issue.


fix signout/signin for chat inbox loads. fix no followeres perma-spinner

if you sign out / sign in your inbox wouldn't load. instead of keeping track of the user lets use the globalInboxState and load if its 'unloaded'
Also the sync mechanism was using this to make the blue bar go, but when syncing was done it'd set the state to 'loaded', even if you actually never loaded. Instead i split the syncing into it's own variable and both of those control the blue bar
Also fixed if you have no followers the spinner would stay always
@keybase/react-hackers

Huzzah!


Fix open-cost-model hostname in docker-compose configuration

Did you test this change? I seem to have needed it to be host.docker.internal to handle internal DNS between the UI and the cost-model.

I did, and I had to make this change for the UI to work,
host.docker.internal wasn't working for me. With docker compose, the name
of the service can be use as a hostname.
Le mer. 31 juil. 2024, 06:38, Matt Ray @.***> a écrit :

Did you test this change? I seem to have needed it to be
host.docker.internal to handle internal DNS between the UI and the
cost-model.
—
Reply to this email directly, view it on GitHub
https://github.com/opencost/opencost-website/pull/279#issuecomment-2259627720,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABHOWM6UJZBKCGOVRHLFUDZPBS2VAVCNFSM6AAAAABLO2DGWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJZGYZDONZSGA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Remove stale clippy installations.

The test-stable and test-stable-wasm CI jobs don't actually use Clippy so we don't need to spend time installing it.

Clippy is part of the default profile, however the action we use opts-in to the minimal profile which does not come with Clippy.


Open questions/discussion

Have a question? Add it here!

So we built a working json example of one node:
[
{
    "title":"Some Title",
    "content":"blah Blah Blah",
    "type":"pickOne",
    "triggers":[]
}
]

But what would two nodes look like, where node one points to node two?

I think the json in index.html has a multi-node setup.

Yup, we've been working with those three nodes since our first mob programming. What we haven't discussed yet is any conditional node statements - if they answered "yes" to a previous node, answering "yes" to this one will bring them in a different direction.

Closing this, but to keep the issue honest it's an array of objects:
[
  {
    "id":0,
    "title": "Some Title",
    "content": "Do you want a thing or another thing?",
    "type": "pickOne",
    "triggers": [
      {
        "content":"A thing",
        "target":1
      },
      {
        "content":"Another thing",
        "target":"FART"
      }
    ]
  },
  {
    "id":1,
    "title": "Another Title",
    "content": "You are on another page.",
    "type": "pickOne",
    "triggers": []
  },
  {
    "id":"FART",
    "title": "Third Title",
    "content": "You are on yet another third page again.",
    "type": "pickOne",
    "triggers": []
  }
]

@mapsam So sales force has a really terrible wizard designer for one of their enterprise solutions. But one thing that piqued my interested was one of their metadata was a Criteria To Enable Action that could be interesting - what if that was an expression and implemented on a trigger? Or a node?


Correction for raw affiliation Polyphenol Analyt Facil; Sciences Pour l'Oenologie

Correction needed for raw affiliation Polyphenol Analyt Facil; Sciences Pour l'Oenologie
raw_affiliation_name: Polyphenol Analyt Facil; Sciences Pour l'Oenologie
new_rors: 04w07sc25
previous_rors: 04w07sc25;05fe7ax82
works_examples: W4296935125
contact: 8217a237a318a3bdde614b9af7579f66:67bf71eb760b28b912f057e3d5120881f84f @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-09. The new affiliations should be visible within the next 7 days.


unhashable type: 'TensorProxy' error on NeVA model

While trying to thunder.jit portions of the NeMo's NeVA model, I found this unhashable type error. Attached is a simplified / reduced example that requires NeMo.
The full traceback is:
Traceback (most recent call last):
  File "$HOME/dev/nemo/repro/unhashable-type.py", line 64, in <module>
    x = fwd(input_ids)
  File "$HOME/dev/thunder/thunder/__init__.py", line 659, in fn_
    cache_entry, inps, pro_to_epi = get_computation_and_inputs(*args, **kwargs)
  File "$HOME/dev/thunder/thunder/__init__.py", line 217, in cache_info_wrapper
    res = fn(*args, **kwargs)
  File "$HOME/dev/thunder/thunder/__init__.py", line 496, in get_computation_and_inputs
    jit_results: TraceResults = interpreter(
  File "$HOME/dev/thunder/thunder/__init__.py", line 205, in _general_frontend
    return thunder_general_jit(fn, args, kwargs, sharp_edges=sharp_edges, record_history=record_history)
  File "$HOME/dev/thunder/thunder/core/jit_ext.py", line 1605, in thunder_general_jit
    result = jfn(*args, **kwargs)
  File "$HOME/dev/thunder/thunder/core/interpreter.py", line 6696, in fn_
    raise e
  File "$HOME/dev/thunder/thunder/core/interpreter.py", line 6664, in fn_2
    return fn(*args, **kwargs)
  File "$HOME/dev/thunder/thunder/core/interpreter.py", line 6061, in _impl
    return fn.__func__(fn.__self__, *args, **kwargs)
  File "$HOME/dev/nemo/nemo/collections/multimodal/models/multimodal_llm/neva/neva_model.py", line 168, in forward
    return self.replace_media_embeddings(input_ids, words_embeddings, media)
  File "$HOME/dev/nemo/nemo/collections/multimodal/models/multimodal_llm/neva/neva_model.py", line 216, in replace_media_embeddings
    media_features = self.encode_vision_x(media)  # b T F S(eq) H(idden)
  File "$HOME/dev/nemo/nemo/collections/multimodal/models/multimodal_llm/neva/neva_model.py", line 194, in encode_vision_x
    vision_x = vision_x.to(self.vision_encoder.dtype)
  File "$HOME/dev/thunder/thunder/core/interpreter.py", line 1539, in <lambda>
    return lambda _, obj, __: method(obj)
  File "$HOME/env/lib/python3.10/site-packages/transformers/modeling_utils.py", line 976, in dtype
    return get_parameter_dtype(self)
  File "$HOME/env/lib/python3.10/site-packages/transformers/modeling_utils.py", line 245, in get_parameter_dtype
    for t in parameter.parameters():
  File "$HOME/dev/thunder/thunder/core/interpreter.py", line 4060, in _next_impl
    return next(tos)
  File "$HOME/dev/thunder/thunder/core/interpreter.py", line 1863, in impl
    return iterator.__next__()
  File "$HOME/dev/thunder/thunder/core/interpreter.py", line 6189, in _call_dispatch
    opaque_result: Any = fn(*args_, **kwargs_)
  File "$HOME/dev/thunder/thunder/core/interpreter.py", line 5895, in thunder_interpreter_generator
    raise e
  File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 2255, in parameters
    for name, param in self.named_parameters(recurse=recurse):
  File "$HOME/dev/thunder/thunder/core/interpreter.py", line 4060, in _next_impl
    return next(tos)
  File "$HOME/dev/thunder/thunder/core/interpreter.py", line 1863, in impl
    return iterator.__next__()
  File "$HOME/dev/thunder/thunder/core/interpreter.py", line 6189, in _call_dispatch
    opaque_result: Any = fn(*args_, **kwargs_)
  File "$HOME/dev/thunder/thunder/core/interpreter.py", line 5895, in thunder_interpreter_generator
    raise e
  File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 2288, in named_parameters
    yield from gen
  File "$HOME/dev/thunder/thunder/core/interpreter.py", line 5835, in impl
    return generator.__next__()
  File "$HOME/dev/thunder/thunder/core/interpreter.py", line 6189, in _call_dispatch
    opaque_result: Any = fn(*args_, **kwargs_)
  File "$HOME/dev/thunder/thunder/core/interpreter.py", line 5895, in thunder_interpreter_generator
    raise e
  File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 2226, in _named_members
    if v is None or v in memo:
  File "$HOME/dev/thunder/thunder/core/interpreter.py", line 3684, in impl
    return getattr(tos, "__contains__")(tos1)
  File "$HOME/dev/thunder/thunder/core/interpreter.py", line 6189, in _call_dispatch
    opaque_result: Any = fn(*args_, **kwargs_)
TypeError: unhashable type: 'TensorProxy'

To reproduce you may want specific versions of dependencies:
transformers==4.40.2
git+ssh://git@github.com/NVIDIA/NeMo.git@f073ed9cb262620d4866041645ba91aee72003c8#egg=nemo_toolkit
pytorch-lightning==2.2.5

and torch nightly
cc @apaz-cli @tfogal

triage review:

we probably need an implementation for torch.Tensor.hash
we may need a follow-up issue with the jit and collections

There are several tricky bits wrt this:

how to do the cache invalidation vs. aliasing, so we could record and use the id's of passed in tensors as the hash of tensor proxies,
the next thing will have programs add things to collections and then we're leaking tensor proxies if the collection has not been temporary (probably not the case here.

There will be more tricky bits.
Note that this instance is actually from PyTorch's own Module._named_members impl (so a temporary collection),  so we might also sidestep the issue by diverting PyTorch's Module member functions appropriately (on the other hand, modules calling .parameters() or so seems to be decidedly non-obscure, my_device = next(self.parameters()).device has been a thing for a long time.


image interception

node --version
v8.12.0
npm list puppeteer
`--<EMAIL_ADDRESS>OS : Win10

Hi! I'm trying to intercept images with this example code ->
const puppeteer = require('puppeteer');

(async() => {
  const browser = await puppeteer.launch();
  const page = await browser.newPage();
  await page.setRequestInterception(true);
  page.on('request', request => {
    if (request.resourceType() === 'image')
      request.abort();
    else
      request.continue();
  });
  await page.goto('https://www.google.at/search?biw=1920&bih=969&tbm=isch&sa=1&ei=HzjLW4HqIsa7swG1k5iABw&q=puppeteer&oq=puppeteer&gs_l=img.3..35i39k1l2j0j0i67k1j0l4j0i7i30k1l2.1729.5110.0.53<IP_ADDRESS>.<IP_ADDRESS>.353.0j2.2.0....0...1c.1.64.img..0.2.346....0.R7kQZmelnZs');
  await page.screenshot({path: 'news.png'});

  await browser.close();
})();

But only Google logo intercepted. Here screenshot ->

How can i intercept all images?

They're loaded in as base64 encoded data, so not via an image request.

Ок, thx!


Home responsive

Adjusted media queries in index.js and HeroBox.js to eliminate text overlap and add space in between vertically stacked hero buttons.

Sent John a message asking him if he could center title "Other Web Technology Meetups in Utah" across all screen sizes and then it will be good to merge the pull request.

Noticed you merged Justin's changes so I went ahead and pulled down master and merged those changes in.


are you available

@guchengxi1994 hi,
i have a task dealing with masks,
are you available for freelancing?
what is your email so i can discuss in more detail

i am working in a company but i am free on weekends and at nights， so if you have some problem ,you can email me via this address<EMAIL_ADDRESS>, i will try my best to help.

i should contact you by email tomorrow, i have a task for you. so be ready


Fix master build test failure

https://travis-ci.org/jondot/sneakers/builds/244338929

Was addressed in ac2d572e73f6e938746d75ca688cc03f8e5709ee by @aiomaster. Thank you.

I hopefully fixed an unrelated ruby-fprof installation error on ruby-head that broke Travis.


Add description_fi field to MountType model

Finnish mount type description field was left out when MountType model
was implemented because it existed only on one model. Turns out that it
is needed after all.
Refs LIIK-146

Codecov Report

Merging #117 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #117   +/-   ##
=======================================
  Coverage   97.08%   97.08%
=======================================
  Files          97       97
  Lines        6100     6101    +1
  Branches      239      239
=======================================
+ Hits         5922     5923    +1
  Misses        159      159
  Partials       19       19

Impacted Files
Coverage Δ

traffic_control/admin/mount.py
100.00% <100.00%> (ø)

traffic_control/models/mount.py
99.18% <100.00%> (+<0.01%)
:arrow_up:

Continue to review full report at Codecov.

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


Blank table / error when a field is missing

I'm using ELK 7.6.2, I have a table with 2 metrics

when i use an index with some missing fields we have this message

but when we wan't to edit the visualisation it's not possible

when i open in visualization editor i'v got a blank page with this msg

I must go to the management/Saved Object to edit in textual mode the vizualization.

is it possible to got the visualization editor with some metric in red to change the value for more easy to use ?
is it possible to automatically disable metric that are not possible to compute and have a result for the others ?

Well, using a field that is missing in the Kibana index pattern is a very weird case, that should not happen.
I have tested the same case with core "Data Table", and the behavior is exactly the same.
So this behavior is not "enhanced table" plugin's fault. It is Kibana behavior.
Sorry.

Given that question is answered, I close the issue.


I want to change the names of Edit Video, Cancel, and Save in iOS. What should I do?

@maitrungduc1410
I want to change the names of Edit Video, Cancel, and Save in iOS. What should I do?

I'll push update for this

thank you

please upgrade to 1.0.6, you can now customize the text using:
showEditor(url, {
  maxDuration: 30,
  leftButtonText: 'hello',
  rightButtonText: 'world',
  title: 'MyName',
})

An issue occurs where the video is not saved properly.
https://github.com/maitrungduc1410/react-native-video-trim/issues/16

The reason the file is broken in the given code is that you are not actually copying the contents of the file. There is no logic to read the contents of the file in the commented part and write it to outputStream.
  private static void saveVideoUsingMediaStore(Context context, File videoFile) {
    ContentValues values = new ContentValues();
    values.put(MediaStore.Video.Media.TITLE, "My Video Title");
    values.put(MediaStore.Video.Media.MIME_TYPE, "video/mp4");
    values.put(MediaStore.Video.Media.RELATIVE_PATH, Environment.DIRECTORY_DCIM);
    Uri uri = context.getContentResolver().insert(MediaStore.Video.Media.EXTERNAL_CONTENT_URI, values);

    if (uri != null) {
      try {
        OutputStream outputStream = context.getContentResolver().openOutputStream(uri);
        if (outputStream != null) {
          // Copy the video file to the output stream
          FileInputStream inputStream = new FileInputStream(videoFile);
          byte[] buffer = new byte[1024];
          int length;
          while ((length = inputStream.read(buffer)) > 0) {
            outputStream.write(buffer, 0, length);
          }
          inputStream.close();

          outputStream.close();

          // Notify the media scanner that a new video has been added to the gallery
          MediaScannerConnection.scanFile(context, new String[]{videoFile.getAbsolutePath()}, new String[]{"video/*"}, null);
        }
      } catch (IOException e) {
        e.printStackTrace();
      }
    }
  }

The reason the file is broken in the given code is that you are not actually copying the contents of the file.
There is no logic to read the contents of the file in the commented part and write it to outputStream.
// Copy the video file to the output stream
FileInputStream inputStream = new FileInputStream(videoFile);
byte[] buffer = new byte[1024];
int length;
while ((length = inputStream.read(buffer)) > 0) {
    outputStream.write(buffer, 0, length);
}
inputStream.close();

Your video file will not be broken because you will append the contents of the file below and write it to the outputStream.
Before code change
https://github.com/maitrungduc1410/react-native-video-trim/assets/22450400/3ffcd4a4-cd84-4412-ad7f-e44c0bf1865e
After code change
https://github.com/maitrungduc1410/react-native-video-trim/assets/22450400/b8188f52-bf58-4f9b-9ac0-e8c547f34ab2
It works normally after changing the code.

oh, just recognized that I made this silly issue, forgot to implement the save file for API >= 29 :)).
please upgrade to v1.0.8 and check again.
also can you help me verify if after saving you can see it in your Gallery (make sure Gallery app opened in advance). I want to verify MediaScannerConnection works, thanks


local file not loading dependencies

This must be because I'm using a local HTML file that connects to a node server, but it wasn't loading the socket.io/socket.io.js file. Turns out it was looking for file://localhost:port/socket.io/socket.io.js while it should have been looking for http://. It appears to actually look for //localhost:port/xxxxx and Chrome just figures it must be file: since I'm using a local html file.
I changed line 592 under now.js to include the http: string, but am not sure if this is safe. It seems to work for now.
fileref.setAttribute('src', 'http:' + uri + dependencies[i]['path']);

Obviously this would break if someone were using https. Maybe there ought to be an overriding constant or something? I realize this would mean someone would have to run an initializing function or something, but this would only be for the rare case someone uses a local file (like myself) - or maybe has an http file that communicates over https?
Anyway, brilliant framework!

You could always set autoHost to false and add the line var now = nowInitialize('http://localhost:port'); to your client-side code.

Closing. Feel free to reopen if there are additional issues.


chore: Ensure that NodeClaims are held in Unknown until they reach a terminal state

Fixes #N/A
Description
This PR updates our handling of NodeClaims to leave them in an Unknown state for Launched, Registered, and Initialized status conditions until they have reached a terminal state. This aligns with the thinking around terminal status conditions that's detailed in: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties.
This now means that Karpenter will hold NodeClaims in an Unknown state (also Ready Unknown state) for a longer period of time before it either transitions them into a False or True state. Once it enters this False or True state, it will not leave its False or True state.
How was this change tested?
make presubmit
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

18 of 20 (90.0%)  changed or added relevant lines in 3 files are covered.
14 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.1%) to 77.803%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/controllers/nodeclaim/lifecycle/launch.go
10
12
83.33%

Files with Coverage Reduction
New Missed Lines
%

pkg/controllers/nodeclaim/lifecycle/initialization.go
1
89.86%

pkg/controllers/provisioning/scheduling/nodeclaim.go
2
89.13%

pkg/cloudprovider/types.go
2
90.13%

pkg/controllers/nodeclaim/lifecycle/events.go
9
50.0%

Totals

Change from base Build<PHONE_NUMBER>2:
-0.1%

Covered Lines:
8798

Relevant Lines:
11308

💛  - Coveralls


undefined node

I used it several times two weeks ago, today when I loaded the workflow, it appeared to be undefined, and there was no other error occurred.

Please update the node version, and use the new node from this repo.


Give architecture Dockerfiles a higher priority

Also allow them to resolve template variables
Connects-to: #17
Change-type: minor
cc @shaunmulligan
---- Autogenerated Waffleboard Connection: Connects to #17

I'm not sure what's going on with the diff, please ignore the CHANGELOG changes etc when reviewing.

nice!


[Feature Request] Language Selector

If this isn't already included (I'm currently going through the commits to check if this is), it would be a good idea to add support for additional languages for people who for some odd reason set their password to a language other than English.
As part of this, since I see that there is not much to do, I intend to translate lightdm-webkit-litarvan to Hebrew later (if I have the time). This should also allow me to test how well does your greeter work with RTL and non-latin characters.

You mean keyboard layout, or text language ?

Keyboard layout.

Looks like I can do it, i'll try to work on it soon


Add example of ICA on naturalistic audio

Nice plots, and a good use of ICA. I'm curious about how well it works; there doesn't appear to be playback in this notebook. Perhaps what we need is a setup of the experiment, where we have a diagram of where the microphones are located too. I'll merge it, but when we all get back, perhaps you can demo it for us.

Also, probably need to figure out file convention names, or at least document them...


ENH: Add constrained_delaunay_triangles function

One of the items in https://github.com/shapely/shapely/issues/1570

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

6 of 6 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.4%) to 87.146%

Totals

Change from base Build<PHONE_NUMBER>:
0.4%

Covered Lines:
2400

Relevant Lines:
2754

💛  - Coveralls

PostGIS actually has this as ST_TriangulatePolygon, but I suppose that is mostly because ST_ConstrainedDelaunayTriangles already existed with SFCGAL instead of GEOS as backend.
So for naming, while we have the general goal of using consistent names with PostGIS, in this case it might make sense to keep constrained_delaunay_triangles, to be consistent within shapely with the already existing delaunay_triangles.
A "triangulate_polygon" name does make it more explicit that this version only works for polygons, though.
cc @caspervdw

Thanks for the quick review @jorisvandenbossche! I'll address your feedback in the next day or so. Regarding

A "triangulate_polygon" name does make it more explicit that this version only works for polygons, though.

I was playing with the idea of raising an exception on non-polygonal input as an additional way to communicate this, but opted for consistency with GEOS

I believe I addressed all PR feedback @jorisvandenbossche, let me know if there is anything else I should consider. I was also thinking for consistency we could move test_delaunay.py over to test_constructive.

Are there any updates on this? Any idea when this will be available in Shapely? We are really looking forward to this.

@jorisvandenbossche @caspervdw ?

I have made it work locally on windows, but I had to change the setup.py to accommodate for the lack of geos-config. What is the normal procedure for compiling it on Windows.
btw, I also tested it on Linux and it seemed to be working!


Tesla.evcc.io doesn't create a valid token

Describe the bug
Since 25.1.2024 my Tesla is offline. I searched here for issues and found that the api changed. I changed my configuration in the evcc.yaml and tried to follow the steps (Add Tesla using official vehicle command library):

generate a new pair of API tokens here https://tesla.evcc.io/.    <-- Here I struggle to get a token
switch to the latest nightly build of evcc.    <-- I'm using the home assistant add-on and have no idea how to get the latest nightly build
change your template from tesla to tesla-command.  <-- This step is done

I tried to get new refresh and access tokens on tesla.evcc.io. I could login with my Tesla account, I can select wich permissions I will give to evcc.io and than I get:
Tokenerzeugung fehlgeschlagen
insufficient scopes: missing token scopes
I've tried it with Safari, Firefox and Chrome, but it won't work
Steps to reproduce

login with my Tesla credentials on tesla.evcc.io to get tokens
select all permissions
Error: insufficient scopes: missing token scopes
Delete evcc.io (PROD) in my tesla account
Try it again with a different browser
...

Configuration details
vehicles:
  - name: Tesla
    type: template
    template: tesla-command
    title: Tesla xxxx # Wird in der Benutzeroberfläche angezeigt (Optional)
    accessToken: xxxx
    refreshToken: xxxxx
    vin: xxxx # Erforderlich, wenn mehrere Fahrzeuge des Herstellers vorhanden sind (Optional)
    capacity: 62 # Akkukapazität in kWh (Optional)

Log details
Well as the tokens are not right in my config I get:

ERROR 2024/01/27 09:44:17 creating vehicle Tesla failed: cannot create vehicle type 'template': template not found: tesla-command

What type of operating system are you running?
HomeAssistant Add-on
Version
0.123.9

I have the same problem. I think the new api has not been changed yet. A few days ago I read that Tesla did something to the api

I have entered it via the GUI in Evcc. This error message appears when checking
Status: fehlgeschlagen
prüfen
cannot create vehicle type 'template': cannot create vehicle type 'tesla': cannot get vehicles: 412 Precondition Failed

Here I struggle to get a token

Fixed and deployed.

Thank you for fixing it @andig . Can you help me with the second part? How do I get the nightly build in home assistant add-on?
Thanks

@pschyrembel258 Please use search function- this has been discussed multiple times.


Messages Not Tried

Continue to see messages in queue from two days ago that haven't even been tried.  This is why it's very hard to take Postal seriously as an MTA.  As good as the UI looks, it doesn't delivery (pun intended) on the back end.  When you mention Mailgun, SendGrid and other cloud delivery platforms and mail in queue isn't even tried for no reason whatsoever?  Pretty shaky IMO...

What is your volume?
Our server spec is more than what should be sufficient: 32GB RAM, multiple CPUs, 640 SSD.

We're handling up to 3000 daily with 8 workers and a few GB of RAM.


Generate names for GRAPH OF pattern parts in frontend

Might be solved by updating the frontend
https://github.com/opencypher/cypher-for-apache-spark/blob/3afbaabb55d6ec808e7b181f80911e332fef8aa1/src/test/scala/org/opencypher/caps/api/spark/CAPSPatternGraphTest.scala#L64

Strange, code for this exists in the frontend AFAIR

I think this might be a feel-good one, where one simply updates the dependency, runs a test, and then starts the day with a fixed TODO. :)


added k in amongus font

added k in amongus font
Referenced Issues
closes #942

added k in amongus font


Header Tagging & Table of Contents

Great work!
Suggestion: add a button to insert "Table of content" at the top of the note for the larger notes where you have created many different headers.

Thanks! I like this idea, it's something I would use. I'll keep this open as a suggestion for something to be worked on in the future.

+1 on this Idea

+1 waiting for...

If anyone needs an immediate workaround for this, you can just use HTML for your titles when editing to set a custom id and then you can link to that header using markdown links:
header:
Header for Section One

link: [link to section one](#section-one)
Note that you can't have spaces on your id unless you also use html for the link:
header:
Header

link: link to header (markdown doesnt accept spaces in links)
I tried playing around with the source code to see if I could get a workaround for this, and I came up with this javascript snippet:
function replacer(match, p1, p2, p3, offset, string) {
 var sanitized_header = p2.toLowerCase().replace(/\s/g, '-').replace(/[^a-z0-9-]*/g, '');
 return '<'+p1+' id='+sanitized_header+'>'+p2+'<'+p3+'>';
}
var viewer = document.getElementsByClassName('note-viewer')[0];
viewer.innerHTML = viewer.innerHTML.replace(/<([^<]*)>(.*)<(\/h[1-6])>/g, replacer);

which uses regex to add an id equivalent to the title to all headers in the note. As it stands this isn't a complete solution because if someone has HTML code showcased for instance in a codeblock on their note then that will also be affected.
I'm not familiar with ToastUI and I don't know if it can support custom parsing from markdown to html, so this is the hacky solution that i came to.
Running the snippet in the console while flatnotes is running will work correctly and give the proper id to headers, however i'm not familiar enough with Vue to integrate this script with the application when the viewer is up. Any direction here would be helpful so I can work on excluding code blocks in the regex

Would also love some kind of ToC feature. Greatly needed for me!

If the article is lengthy, placing it at the top may pose inconvenience. Consider adding a 'title' function in the sidebar for widescreen displays. Additionally, support buttons for 'scroll to top,' 'edit,' and 'save.
like this：


fix: replace filepath.Join by url.JoinPath.

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[x] N
[ ] Y

2. What is the scope of this PR (e.g. component or file name):

kpm oci registry
3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[x] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[x] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

6. Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 26 (11.54%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 40.152%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/utils/utils.go
0
4
0.0%

pkg/cmd/cmd_pull.go
0
5
0.0%

pkg/oci/oci.go
0
6
0.0%

pkg/mod/modfile.go
3
11
27.27%

Totals

Change from base Build<PHONE_NUMBER>:
-0.3%

Covered Lines:
901

Relevant Lines:
2244

💛  - Coveralls


Public key connection

Hi,
Would it be possible that if a user has a public key stored in his account that it can connect passwordless?
A use case would be, to have a page with CSS tabs on it, and login using public key encryption also by a screen reference (tmux session name) so it can be reloaded.
Do you have any experience with that? Or would you be willing to build that? (paid ofc..)
I found a resource on it.
https://jordanelver.co.uk/blog/2010/11/27/automatically-attaching-to-a-tmux-session-via-ssh/

If you want it you can build your own :)
Jose J. Anton
El lun., 3 ago. 2020 a las 9:32, Peter Steenbergen (<
<EMAIL_ADDRESS>escribió:

Hi,
Would it be possible that if a user has a public key stored in his account
that it can connect passwordless?
A use case would be, to have a page with CSS tabs on it, and login using
public key encryption also by a screen reference (tmux session name) so it
can be reloaded.
Do you have any experience with that? Or would you be willing to build
that? (paid ofc..)
I found a resource on it.
https://jordanelver.co.uk/blog/2010/11/27/automatically-attaching-to-a-tmux-session-via-ssh/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/roke22/Laravel-ssh-client/issues/5, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABLRQPIDBOUT2COREAUQJNDR6ZRZTANCNFSM4PTBVWXQ
.

Maybe you should try https://github.com/billchurch/webssh2 i based this project in that one and have more functionallity,

Nah, I will try this one out no problem. I saw the function:
https://www.php.net/manual/en/function.ssh2-auth-pubkey-file.php
If I can make it work, I will send in a PR

is it working ?

also is there in terminal some predefined command input possible how ?


use thead and tbody tags as appropriate

Fixes #966 and #976
We should move the partial rendering point in #976 to a new issue.
cc @ellisonbg

Once this is merged, I'll work on #967


Update CI with latest versions, artifacts and caching

Description
Fixes #4770
What changes did you make and why?
Update CI with latest versions, artifacts and caching
After every build two apks are generated prodDebug and betaDebug, maintainers no longer need to manually build apk, they can simply download them to test✌😀
Download link - https://github.com/madhurgupta10/apps-android-commons/actions/runs/1783540419

Thanks a lot @madhurgupta10 !

For curiosity caching reduced the build time by 4 mins 🙌
11m 27s (https://github.com/commons-app/apps-android-commons/actions/runs/1787890210)
vs
7m 31s (https://github.com/commons-app/apps-android-commons/actions/runs/1789289026)


Favicon for iOS

Thanks for this wonderful project. I have been using Zigbee2MQTT with CC2531 dongle and Homebridge for a year now and everything works really smoothly! Since I am an iOS user I mainly use my iPhone when I want to do settings for quick access. I have the dashboard saved as an "app icon" on the phone. I want to request a nice Zigbee2MQTT icon so it looks better on the homescreen.
Thanks!

I think this is more related to the frontend. Please open a request here: https://github.com/nurikk/z2m-frontend/issues to get proper support. This repo is only for the add-on.
Thanks!


CPU Usage Ratio Explanation

Hi
I am trying to configure the dotnet monitor cpu usage ratio for alerts. However, I was not able to find any proper information on this.
Could you kindly explain what dotnet_systemruntime_cpu_usage_ratio entails? What is the ratio here and how is it calculated? If you could point me to any documentation that would be very helpful.

Hi, if I'm understanding you correctly then this might be helpful: https://learn.microsoft.com/en-us/dotnet/core/diagnostics/available-counters, specifically the cpu-usage counter under System.Runtime counters.

Hi Thank you for prompt reponse. Yes, I have looked at this but this refers to cpu-usage, whereas the dotnet monitor has dotnet_systemruntime_cpu_usage_ratio. What is the ratio for how is it calculated?

Hi, if I'm understanding you correctly then this might be helpful: https://learn.microsoft.com/en-us/dotnet/core/diagnostics/available-counters, specifically the cpu-usage counter under System.Runtime counters.

Hi Thank you for prompt reponse. Yes, I have looked at this but this refers to cpu-usage, whereas the dotnet monitor has dotnet_systemruntime_cpu_usage_ratio. What is the ratio for how is it calculated?

Dotnet-monitor is not calculating anything in regard to this counter but merely forwarding the data as-is in the Prometheus exposition format.
The target runtime instance is reporting the unit of the measurement (in this case, calling it ratio). Dotnet-monitor names all of the metrics as <providerName>_<counter_name>_<unit>.
You can see from the description of the cpu-usage counter in the docs that you highlighted and even in the source code that the cpu-usage counter is a percent. Percentages are ratios of the same unit.


[camera] Nullpointer exception on cameraController initialization function

Steps to Reproduce

Have a Pixel 6 with the Android 13 (API 33) Beta from June 5th 2022
Camera Plugin and a regular Flutter App with the CameraPreview Widget
Initialize cameraController e.g. in initState
Camera Plugin raised nullpointer exception and CameraPreview shows nothing

Expected results:
CameraPreview shows an actual preview
Actual results:
No image output

Code sample
selectCamera() async {
    if (appmelder.cameras.isEmpty) {
      return null;
    }
    var controller = CameraController(
      appmelder.cameras[0],
      ResolutionPreset.veryHigh,
      enableAudio: false,
      imageFormatGroup: ImageFormatGroup.jpeg,
    );

    try {
      await controller.initialize(); // <-- here is the error
    } on CameraException catch (e) {
      // catch it because it can throw it :)
      log('Error: $e');
      setState(() {
        hasError = true;
      });
    }

    return controller;
  }

Logs
D/CompatibilityChangeReporter(25675): Compat change id reported: 206033068; UID 10738; state: ENABLED
E/MethodChannel#plugins.flutter.io/camera_android(25675): Failed to handle method call
// HERE IS THE IMPORTANT PART
E/MethodChannel#plugins.flutter.io/camera_android(25675): java.lang.NullPointerException: Attempt to invoke virtual method 'int android.media.EncoderProfiles$VideoProfile.getWidth()' on a null object reference
E/MethodChannel#plugins.flutter.io/camera_android(25675): 	at io.flutter.plugins.camera.features.resolution.ResolutionFeature.configureResolution(ResolutionFeature.java:244)
E/MethodChannel#plugins.flutter.io/camera_android(25675): 	at io.flutter.plugins.camera.features.resolution.ResolutionFeature.<init>(ResolutionFeature.java:50)
E/MethodChannel#plugins.flutter.io/camera_android(25675): 	at io.flutter.plugins.camera.features.CameraFeatureFactoryImpl.createResolutionFeature(CameraFeatureFactoryImpl.java:58)
E/MethodChannel#plugins.flutter.io/camera_android(25675): 	at io.flutter.plugins.camera.features.CameraFeatures.init(CameraFeatures.java:71)
E/MethodChannel#plugins.flutter.io/camera_android(25675): 	at io.flutter.plugins.camera.Camera.<init>(Camera.java:217)
E/MethodChannel#plugins.flutter.io/camera_android(25675): 	at io.flutter.plugins.camera.MethodCallHandlerImpl.instantiateCamera(MethodCallHandlerImpl.java:386)
E/MethodChannel#plugins.flutter.io/camera_android(25675): 	at io.flutter.plugins.camera.MethodCallHandlerImpl.lambda$onMethodCall$0$io-flutter-plugins-camera-MethodCallHandlerImpl(MethodCallHandlerImpl.java:81)
E/MethodChannel#plugins.flutter.io/camera_android(25675): 	at io.flutter.plugins.camera.MethodCallHandlerImpl$$ExternalSyntheticLambda0.onResult(Unknown Source:6)
E/MethodChannel#plugins.flutter.io/camera_android(25675): 	at io.flutter.plugins.camera.CameraPermissions.requestPermissions(CameraPermissions.java:53)
E/MethodChannel#plugins.flutter.io/camera_android(25675): 	at io.flutter.plugins.camera.MethodCallHandlerImpl.onMethodCall(MethodCallHandlerImpl.java:74)
E/MethodChannel#plugins.flutter.io/camera_android(25675): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:262)
E/MethodChannel#plugins.flutter.io/camera_android(25675): 	at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295)
E/MethodChannel#plugins.flutter.io/camera_android(25675): 	at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319)
E/MethodChannel#plugins.flutter.io/camera_android(25675): 	at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
E/MethodChannel#plugins.flutter.io/camera_android(25675): 	at android.os.Handler.handleCallback(Handler.java:942)
E/MethodChannel#plugins.flutter.io/camera_android(25675): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/MethodChannel#plugins.flutter.io/camera_android(25675): 	at android.os.Looper.loopOnce(Looper.java:201)
E/MethodChannel#plugins.flutter.io/camera_android(25675): 	at android.os.Looper.loop(Looper.java:288)
E/MethodChannel#plugins.flutter.io/camera_android(25675): 	at android.app.ActivityThread.main(ActivityThread.java:7929)
E/MethodChannel#plugins.flutter.io/camera_android(25675): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#plugins.flutter.io/camera_android(25675): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
E/MethodChannel#plugins.flutter.io/camera_android(25675): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)

flutter doctor -v
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[√] VS Code (version 1.68.1)
    • VS Code at C:\Users\emrey\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.44.0

[√] Connected device (5 available)
    • Pixel 6 (mobile)             • <IP_ADDRESS>:39729 • android-arm64  • Android 13 (API 33)
    • sdk gphone64 x86 64 (mobile) • emulator-5554       • android-x64    • Android 12 (API 31) (emulator)
    • Windows (desktop)            • windows             • windows-x64    • Microsoft Windows [Version 10.0.22000.778]
    • Chrome (web)                 • chrome              • web-javascript • Google Chrome 103.0.5060.114
    • Edge (web)                   • edge                • web-javascript • Microsoft Edge 103.0.1264.44

[√] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Hello @yurtemre7. Could you edit your code to include the entire main.dart file as described by this? Also, please post your entire flutter doctor -v output, which includes the version of Flutter you are running. Finally, posting the output to flutter run -v would also be helpful.

 It was caused when I have set the

targetSdkVersion to 33 the camera plugin would get an error. Maybe relevant for the next android version ?
But we can close this because its working as intended now. Human error all along.

@yurtemre7 Thanks for this feedback. Usually, you'd need to keep the target version greater or equal to the device version you're running it on. It might not be specific to just the camera plugin. But thanks for posting the solution


Remove checksum args for snapshot fetching

          In general, given that this compression has in-built poor man's checksum, we could eliminate this altogether. Let's address it in another issue, though.

Originally posted by @LesnyRumcajs in https://github.com/ChainSafe/forest/pull/2893#discussion_r1217748308

The checksums can be helpful when downloading from a mirror. You get the checksums from a trusted source and the data files from an untrusted but fast source.


Extend hidden language class on WindowsCoreIdentity

Issue #19 requires the language to be indexable, from a list of languages.
Currently this list is obtained in the portal by calling:
getLanguages() {
  return this.httpClient.get(`${environment.BASE_URL}v1/WinRefCore05Language`);
}

The language point on the returned object comes back with windowsLcid item, but this is used for visual compatability:
[
  {
    "id": 0,
    "uuid": "00000000-0000-0000-0000-000000000000",
    "uid": "No Results",
    "release": "",
    "edition": "",
    "version": "",
    "build": "",
    "arch": "",
    "windowsLcid": "",
    "supportedUntil": ""
  }
]

Extending this to include an extra object, hidden value, installableLcid to be added.

Greek to be updated from el to el-GR
https://github.com/OptechX/portal.main/issues/21


(PUP-4775) Make Puppet::Node serialize env as a string in YAML

Before this, a Puppet::Node would serialize to YAML in such a way
that all of its instance variables were serialized. This caused
everything in a compelte Environment to be serialized (everything
loaded and evaluated), which in turn can cause OOM, or OOStack errors.
The cause of the problem is that Puppet::Node did not correctly
include Puppet::Util::PsyckSupport which handles the Yaml serialization
API and turns them into calls: to_data_hash, and initialize_from_hash.
The older way of using 'to_yaml' (one such implementation is found in
Environment itself) never gets called when it is not at the root of the
serialization.
This commit adds the missing include and refactors the initialization
from a hash to use the correct API. It also keeps the older way of a
class method from_data_hash, since it is not known if there are any
usage of this in modules implementing indirectors/caches. (It now
delegates to initialize_from_hash to keep the implementation DRY).

CLA signed by all contributors.

I didn't notice that this PR shouldn't be merged so I removed the merge commit from stable (removed as reset on previous commit and then in push --force). Please resubmit this PR.

@thallgren please do not force push to upstream, as that can prevent others from fast-forwarding. I generally do git revert -m 1 to create a revert commit, preserving history.

I know @joshcooper. I panicked. And I thought that at that time of day, nobody would have had a chance to pull the commit (so no problem fast-forwarding if it was gone).
Perhaps we should ask GitHub support to add git config receive.denyNonFastForwards true?

I was just wondering if there was a way to do that on a per-repo basis. Seems that that'd be a good thing for the main repo, but I'm not sure how to also allow force pushing to topic branches?


feat!: separate proving from noir_js

Description
Problem*
Resolves
Summary*
This removes proving/verification functionality from noir_js in favour of interacting with the backend.
Additional Context
Documentation*
Check one:

[ ] No documentation needed.
[x] Documentation included in this PR.
[ ] [For Experimental Features] Documentation to be submitted in a separate PR.

PR Checklist*

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt on default settings.

fyi @noir-lang/developerrelations that Noir.generateProof is going away

Thanks for the swift work Tom!
Just to confirm, did you test the changes on the How-to and Tutorial doc changes? Happy to update https://github.com/noir-lang/noir/issues/4410 and create separate Issues for fully vetting them + update repos linked in them if not 🙌

I've made the necessary changes to the docs, I've not gone to update any other repos.


Create install instructions.

Install instructions should be added to the readme. Should be done AFTER the .phar issue is resolved.

Basic instructions added in #44

Basic instructions added in #44


Improve default material setup

Make water and lava materials match the samples to prevent confusion. Users might think its a broken setup while its just not configured yet.

Resolved in version v1.0.6


Remove "x-envoy-expected-rq-timeout-ms" and "x-envoy-upstream-service-time" from envoy response

Title: *Remove "x-envoy-expected-rq-timeout-ms" and "x-envoy-upstream-service-time" from envoy response *
Description:

We would like to hide these headers from the envoy's response. Though there are a few hacks in the bootstrap file itself, is there anything we can do as part of the go control plane to hide these headers?

@ravenblackx - Thanks for the pointer, really appreciate it. I see that " "x-envoy-upstream-service-time" is successfully masked but "x-envoy-expected-rq-timeout-ms" is giving me a hard time. I tried it in all the 3 resources(RouteConfiguration, Route and VirtualHost) and it doesn't seem to mask it.

I don't think x-envoy-expected-rq-timeout-ms is supposed to be in the response headers at all, it's supposed to be added to the request headers going upstream.
If that's what you're talking about, you'd need to put it in request_headers_to_remove rather than response_headers_to_remove.

Thanks @ravenblackx


Feature Request: custom web-root

I use a reverse proxy in my DMZ to forward pages from my internal net to WWW.
If I want to put this page onto domain.tld/start and have it proxy to jump:8123/ it requests the underlying sources wrong with "/" being the webroot.
So instead of domain.tld/start/background.php it requests domain.tld/background.php
Which of course fails

Interesting, thanks for letting me know. I'll see if I can recreate your reverse proxy scenario and think about possible ways to address this. Possibly an optional subdirectory or wwwroot config option.

That is usually the case, that apps get proxied per subdomain.
In which case this is not needed.
(I'm also using a wildcard cert which exposes all eventual other subdomains,
so I like to keep that at 1 domain because it's easier to surveil attacks etc..)
anyways, great landing page I really like the simplicity!

I've added an option for this in v1.2.2 (released today). You can now configure a custom URL via the WWWURL environment variable (if using Docker) or the wwwurl parameter in config.php.
Thank you again for reaching out :)

awesome, thank you!
however, i tried to pull :latest from docker-hub and also :v1.2.2 but it seems I cant get the current one - maybe the CDNs need some time.
anyways thank you for taking care of it!!

Seems like the wwwroot parameter is still missing in L40 classes/Background.php
and also in the static compiled JS assets/js/src/classes/Weather.js

so I used following docker-compose and mapped the repo to /var/www/html
        volumes:
            - ./jump/jumpapp:/var/www/html
            - ./backgrounds:/backgrounds
            - ./search:/search
            - ./sites:/sites
        environment:
            SITENAME: '#home'
            OWMAPIKEY: '107c6e8e61f6ba0158f8c6c22a5c8ef9'
            LATLONG: '47.259659,11.400375'
            NOINDEX: 'true'
            SHOWGREETING: 'false'
            WWWURL: '/start'
            CACHEBYPASS: 'true'

and I can't get it to work, even with /start manually put in config background and weaterdata.php fail to load (because the js is not compiled?)
anyway I also tried building the container but have no display on my machine :/
error: failed to solve: failed to solve with frontend dockerfile.v0: failed to create LLB definition: rpc error: code = Unknown desc = error getting credentials - err: exit status 1, out: Cannot autolaunch D-Bus without X11 $DISPLAY``
I never did multiarch builds before
so I'm not much of a help here,
In case for apache however it's a simple vhost  entry to get such pages on a custom slug, I guess nginx is even easier:
	<Location /jump>
		ProxyPass http://<IP_ADDRESS>:9090/
		ProxyPassReverse http://<IP_ADDRESS>:9090/
        </Location>

I'd intended that you should put the full URL including domain (e.g. https://yourdomain.com/start), but will need to do some testing with an actual proxy in place to understand what you have got isn't working as I think it should.
The compiled javascript bundle should be in place already as I bundled it before committing.
Check that the web root directory hasn't been overwritten when you started the container, maybe stop the container and add the DEVELOPMENT: 'true' environment variable to docker-compose, then pull the main branch again before bringing the container back up. The development variable isn't documented, but it stops the container entrypoint moving things around on startup.

I'll have a play around over the next few days anyway and see if I can work out why it isn't working for you 😀

I set up two tests using the latest commit from main and both do seem to work as expected.
The first was to copy everything from within the jumpapp directory into jumpapp/test and then set WWWURL to /test.
The second was to use an nginx reverse proxy with the following nginx config and WWWURL set to /test...
`server {
listen 80;

location /test/ {

	proxy_pass         http://web:8080/;
	proxy_redirect     off;
	proxy_set_header   Host $host;
	proxy_set_header   X-Real-IP $remote_addr;
	proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
	proxy_set_header   X-Forwarded-Host $server_name;
}

}`
I've pushed a new image to docker hub for you to test the latest commit... daledavies/jump:wwwurl-fix.
Let me know how you get on, thanks again :)

yup, the :wwwurl-fix tag works fine! very nice!
I have found the DEVELOPMENT: 'true' environment var makes nginx fail, maybe there is something more to set up but running it without works as intended!
Feature successfully added!

So close, must admit I didn't test the tag pages yet!
I'll take a look tomorrow. It'll be something simple, at least now I have a way of testing it.
Thanks again for your help 😀

I found the problem and fixed it! I've packaged everything into the latest release (v1.2.3), you should be able to pick this up from Docker Hub now using the v.1.2.3 or latest tags.
Thanks again :)


Refactor switches in Encrypter and Decrypter initializers.

They won't scale for a growing list of algorithms. We need to refactor this.
What we currently have:
switch (keyDecryptionAlgorithm, contentDecryptionAlgorithm) {
case (.RSA1_5, .A256CBCHS512), (.RSAOAEP, .A256CBCHS512), (.RSAOAEP, .A256CBCHS512):
    // ...
case (.direct, .A256CBCHS512):
    // ...
}

Closing as it still works well enough.


feature request: gh-pages demo page

would love a live demo so that i don't have to clone it to test it out :)

Just launched it. You can find it at http://airbnb.io/react-dates/
Enjoy!


New version: moshfeu.y2mp3 version 2.5.9-alpha

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/115185&drop=dogfoodAlpha

@wingetbot run


502 errors from API requests

A timeout between the load balancer and API service may result in a 502 HTML response being returned.
This happened on a query for variants in ENSG00000155657 when those were not in the cache.
https://cloud.google.com/load-balancing/docs/https#timeouts_and_retries

This also happens for a short time when the API pod restarts.


BUG: Dotbot interpreted tilde slash ~/ as root, not user home.

Hi there,
I have some issues while using dotbot with tilde slash (~/) symbol as follows.

Any help?

sudo caused this error.
./install -v works.

sudo caused this error.
./install -v works.

sudo caused this error.
./install -v works.


man-pages: 5.13 -> 6.03

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/man-pages/versions.
meta.description for man-pages is: Linux development manual pages
meta.homepage for man-pages is: https://www.kernel.org/doc/man-pages/
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 6.02 in filename of file in /nix/store/qvgrfxgbsgbcdmi0gdrjjhpcfqv55s4c-man-pages-6.02

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
man-pages

Instructions to test this update (click to expand)

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

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

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

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

1 package built:

man-pages

Maintainer pings

Requires man2html.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/man-pages/versions.
meta.description for man-pages is: Linux development manual pages
meta.homepage for man-pages is: https://www.kernel.org/doc/man-pages/
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 6.03 in filename of file in /nix/store/1qndxyg76gp2vy0y0xqvrq33iz3y2iiw-man-pages-6.03

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
man-pages

Instructions to test this update (click to expand)

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

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/1qndxyg76gp2vy0y0xqvrq33iz3y2iiw-man-pages-6.03
ls -la /nix/store/1qndxyg76gp2vy0y0xqvrq33iz3y2iiw-man-pages-6.03/bin

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

1 package built:

man-pages

Maintainer pings

Requires man2html.

@wegank what is needed to unblock this? Do you want html docs to be added? The man pages itself seem to  build fine.

I think it's being worked on, see #260065. (although I'd really prefer HTML docs to be added)

Oh, and also closing in favor of that PR.


fix: add validation for priority command.

Add validation for priority command because it was causing issues to list the boards if the priority value was entered incorrectly.

Codecov Report

Merging #12 (1834e20) into master (2d3c8a2) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #12   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            7         8    +1
  Lines          286       308   +22
  Branches        20        20
=========================================
+ Hits           286       308   +22

Impacted Files
Coverage Δ

just_do_it_cli/__init__.py
100.00% <100.00%> (ø)

just_do_it_cli/cli.py
100.00% <100.00%> (ø)

just_do_it_cli/config.py
100.00% <100.00%> (ø)

just_do_it_cli/controllers.py
100.00% <100.00%> (ø)

just_do_it_cli/exceptions.py
100.00% <100.00%> (ø)

just_do_it_cli/helpers.py
100.00% <100.00%> (ø)

just_do_it_cli/models.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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