Updated class.extend version to 0.9.2 in package.json to resolve error…

-Getting undefined error for class in angular 8 application using 'videojs-chromecast'
-Using latest class.extend in package.json resolve this error.
-Update class.extend version to 0.9.2 in package.json to resolve error in angular 9

We cannot accept this change, as class.extend version 0.9.2 is not compatible with content security policies. See #52 for history

@jthomerson  -  How can I resolve above error ?

Not sure. We're not having the problem, so if you use this plugin the way we document in the README, it's likely you'll have success. Your issue may be similar to one we recently had on another VideoJS plugin: https://github.com/silvermine/videojs-quality-selector/issues/67 - maybe that will give you some help.


Snakemake fails to parse sbatch output to get slurm_jobid

On my system slurm reports submission info even at the lowest level of verbosity. I.e.
> sbatch script.sh
sbatch: Verify job submission ...
sbatch: Using a shared partition ...
sbatch: Partition: X
sbatch: QOS-Flag: X
sbatch: Account: X
sbatch: Verification: ***PASSED***
Submitted batch job 23401073

This leads to problems parsing the jobid. This cannot be resolved with --quiet because then the job id is not returned either. The lines beginning with "sbatch: " are printed to stderr, while the jobid is printed to stdout, but in the code these are mixed on init.py:207
out = subprocess.check_output(
                call, shell=True, text=True, stderr=subprocess.STDOUT
            )

It is not an elegant solution, but I have modified my init.py by adding a line to subset the variable out to only the last line. This restores the proper behavior and my pipelines run normally.
out = out.splitlines()[len(out.splitlines())-1].strip()

The versions I am using are as follows:
snakemake version 8.18.2
slurm executor version 0.10.0
slurm version 20.11.8

This is the problem when providing a piece of software which should ease the execution on HPC-clusters: The never-ending creativity of admins who tinker with the defaults.
Usually, nothing more than Submitted batch job 23401073 (and perhaps the cluster name in a multi-cluster setup) is reported. I confess: To anticipate your cluster's level of verbosity was beyond my level of imagination.
Your patch is not production ready. Do you want to submit a pull request? Or should I go forward? Please note: I am terribly busy these days. It is not likely that I get ready before October.
Also: In-job submission of snakemake jobs is currently not well-supported. I am working on improvements.

@kennethabarr Could you share the output of sbatch --parsable […] on your system? Since v0.10.0 the plugin uses this option for robustly parsing the sbatch output. Since you have an error, I guess you still have the extra verbosity even with this option? Or are you using an older version of the plugin executor?
I think admins should not change the behavior of this kind of things (--parsable is exactly designed to be used in scripts). I’m not sure it is a good idea to try to comply with custom tampering of the sbatch command. For instance, the solution proposed would break if some admin add the extra verbosity after (and not before) the normal output.
I think you can create a workaround without changing the executor code, by defining an alias for the sbatch command in your bashrc that only keeps the stdout. Would this work for you?
function sbatch() {
    sbatch $@ 2> /dev/null
}

I still receive the same "sbatch: ..." lines, but they are part of stderr not stdout.
My understanding is that the reason to merge stdout and stderr is to propagate errors encountered in the sbatch script.
I think some version of your solution is a far better hack than what I have done and I will implement it right away. I don't think I'm experienced enough with python to implement a production-ready fix in the code that can handle our creative cluster admins.


current line is not highlighted

hl-line-mode  has no effect for me neither in dark not light variants
System Info :computer:

OS: windows-nt
Emacs: 24.5.1
Spacemacs: 0.105.22
Spacemacs branch: develop (rev. 3290c8a)
Graphic display: t

closing this in favor of #39


Contribution - style guide

What topic do you wish to add?
For the «how to contribute» page, a new subpage will be created which will serve as a style guide for contributors
Are there existing pages in the website related to the requested page?
No
Resources
If there are there resources that could be utilised for writing the new page, please list them below:
Context
If this request is coming from a particular institution, infrastructure, project, domain, or use-case please list them below:
University library of Bergen

Added first draft 23.01.24

closed by #14


How do I sync downloaded files to my Gdrive drive via rclone?[QUESTION]

I like your project very much. I won't set it up. Can you give me a tutorial?

https://streamable.com/045wu
in minute 1:49 missclick
paste in console - right mouse click
copy folder - write in source folder/*

Thank you for the great tutorial and the project is great.


Repository findOneBy

Very nice Bundle. Thank you for this.
Since the path to the article is generated in a slug form, with what field can this slugged be used with when fetching a single article/news for the show controller? example: findOneBy(['slug' => $sluggedUrl])
@manuxi

Thank you for your kind words.
I've created the entities with traits for several properties, to have a better reuse on other bundles. To fit your needs you have to look at the Entity/NewsTranslation class, there you'll see that the RoutePathTrait is used.
Since the news are translatable and the routePath is inside a tranlation, you should fetch the news also with the locale (don't know if the slug is sufficient for identifying).
Therefor the whole thing should look like findOneBy(['locale' => $locale, 'routePath' => $sluggedUrl]) [untested]

Did this fix your issue?

Hello @manuxi, I am yet to try it out. I earlier used a hack where I passed the item id as a query string and find the item by that id. I will try in a bit and report back before closing the issue.
Thank you very much for the care.

This error Unrecognized field: Manuxi\SuluNewsBundle\Entity\News::$routePath and this Unrecognized field: Manuxi\SuluNewsBundle\Entity\News::$locale
@manuxi

Please take a look in the Repository class to see how its done

What I want to achieve is to have the single news item page. Since I need a custom controller for this. @manuxi

No. Usually I create the list of news with smart-content. The elements do point to the routhPath (e.g. /news/my-first-news), there you should see the news. Did you use the bundle already? Than you should see the preview already.

Hi @manuxi, thanks for the extended convo. Yes, the issue is that I get No route found for "GET http://hey.build/news/my-first-news-ever" is I don't declare  a custom route pointing to a single item.
Maybe I am wrong somewhere.

Well this here is intended to track issues. Not for personal support. I strongly suggest the Sulu Slack.
If there is a bug, I will do the best I can to fix it. Then please provide as many info as you can. Just saying "It does not work" does not help. You also did not tell what you have tried so far. My crystal sphere doesn't help here.

Do you see the element in the preview? Then the Controller is working. You have not told that.
Did you create a news element and try to see it on your site?
What error do you get, if not?
Did you look into the code?
Did you see the NewsController?
What info does the profiler give you?
What does php bin/websiteconsole debug:container show (filter: news)? Do you see the NewsRouteDefaultsProvider?
Did you test this bundle on a fresh environment (since you faced weird problems already I would strongly suggest that)?

Thank you for your time and efforts.
Warmest regards.


video preview after recording

there is a issue ticket for preview, so I build video preview after recording

If these three commits do the same thing, please squash them.
If they do the different things, do NOT use the same commit message.


docs: Add preferred username to creator labels

Signed-off-by: Yuan Tang<EMAIL_ADDRESS>

@sarabala1979 @alexec Only you two have permission to merge.


Suggestion. paystation

a paystation for time in redstone. so you put a item in for payment and you recive that time in a redstone signal. cool for entering dorrs or contraptions for players ^_^

I like the idea, but I dont feel like it fits the crate model theme.
To prevent expanding the mod in a direction that I dont envision I'm not going to add this to AppleCrates.
lovely idea though. could be a fun standalone mod!


Upgrading to version 3.9.0 is breaking next js app

Problem:
We are using client-monitor-js in our internal observer package. Recently, we upgrade this package to use the 3.9.0 version.
This interval package is used in our next web app. After the upgrade we are facing error with message TypeError: Cannot read properties of undefined (reading 'getUserMedia'). Ref:

On reading docs, we added the parameter integrateNavigatorMediaDevices: false to config and everything works well. But, on doing this I loose use media error events.
Expected:
I can use the package without providing the extra configuration.

Thanks for the detailed description.
At any time you can integrate browser mediaDevices to an instantiated monitor by calling ClientMonitor.integrateNavigatorMediaDevices(monitor), where monitor is a ClientMonitor instance. Just make sure you call in an app running in the browser.
As for the error, that probably means that the mediaDevices property of the navigator is not the one browser should provide.
From 3.9.1 there is a check if getUserMedia is a function so it fails at creation time if not. But it's not gonna solve your problem. The proper solution is to figure out what's going on next.js, which requires some work to setup a project.

@AkMo3  if the issue is resolved, pls close this Issue


Extension app backend

So I run an extension in Firefox that has a helper app that runs in the background. I've been trying to use it with this Docker, but it doesn't detect the version so I have to manually add the extension. That fine, but I've tried installing the targz 64bir & 32bit versions, they didn't work, tried the debian 64bit & 32bit version which also didn't.
Is there something I'm missing? It is running on a Linux shell so why can't I get it to work?

So how are you trying to install the extension exactly ?


Add Yarn Experiment

Add support for Yarn experiments.
This would make REEF experiment redundant (#76) for now.

This seems to resolve #76 as well.
Also see my working example, specifically the experiment definition that is using YarnExperiment to run a REEF job.

@carabolic can you make a PR with your org.peelframework.hadoop.beans.experiment.YarnExperiment implementation?
@verbit I think that log collection for Yarn jobs has to be implemented within the YarnExperiment.SingleJobRun#runJob() logic, as this is the place where you get a handle on your application ID.


sqlite support

would it be possible to run using sqlite instead of mariadb ?

Please read https://nginxproxymanager.com/setup/#running-the-app for sqlite instructions.


AST: Workaround for same-type constraints getting dropped from requirement environment

The fix for https://bugs.swift.org/browse/SR-617 introduced
a new kind of requirement environment where 'Self' remains a
generic parameter, but receives a class constraint, instead of
becoming fully concrete.
As before, we would form the synthetic signature by taking
the generic signature of the requirement, and substituting it
the new 'Self' type.
However, whereas previously the 'Self' type was always concrete
and any DependentMemberTypes in the requirement's signature
would become concrete type references, with a class-constrained
'Self' the DependentMemberTypes remain.
Apparently, the GSB cannot handle DependentMemberTypes where
the base is class-constrained.
Work around this by ensuring that we add a conformance constraint
for the 'Self' parameter to the protocol in question, which
allows the DependentMemberTypes to be correctly resolves once
the conformance is made concrete by a superclass constraint.
The FIXME comment being removed here references crashes which
no longer seem to reproduce, so I'm assuming some underlying
GSB issues got fixed and the FIXME is clearly no longer necessary.
However, I still consider this fix somewhat unsatisfying, because
it is not clear if there's some deeper flaw in how the GSB
models superclass constraints. It might resurface again in the
future.
Fixes rdar://problem/39419121, https://bugs.swift.org/browse/SR-7428.

@swift-ci Please test

@swift-ci Please test source compatibility


Bumped version too 0.6

Fix for issue #26 where install 0.5 via pip was not the same as installing 0.5 from git master.

I published Flask-AutoIndex 0.6 on PyPI.  Thanks to your patch.


Consent screen in Firefox interferes with browser automation

The views/installed screen is always shown in Firefox when the onInstalled event fires.
This seems to interfere with browser automation when using browser automation (Selenium / geckodriver, etc), as this screen is shown every time the browser starts - which can happen multiple times during a testsuite.
The way browser automation tests work is that a temporary, empty profile is created for the browser for running the tests to ensure extensions do not interfere with them. However, for some reason, Web eID consistently keeps popping up as the only installed extension during automation.
I have tried disabling the extension on my Firefox profile, as well as completely removing it, but it still pops up when running browser tests. I am not proficient enough in browser extensions to understand why this happens. It almost feels like it's force-installed for each new Firefox profile?
Steps to reproduce

Set up a minimal test which involves browser automation, for example using https://github.com/derekmd/laravel-dusk-firefox
Run the test
Every time the test runs, the consent screen pops up:

Ideas
Perhaps it would be possible to detect if the browser is being run by automation software and skip showing the consent screen in such cases?

Hi @ragulka!
If you select Web eID Firefox support during installation, the installer forces extension loading in Firefox by a special registry key (see below).
There are two ways to get rid of the extension:

Uninstall Web eID Firefox support using the official installer, or
Manually remove the registry key that forces extension loading in Firefox. The key is JSON-encoded inside HKLM\Software\Policies\Mozilla\Firefox\ExtensionSettings and you only need to remove the entry that starts with "{e68418bc-f2b0-4459-a9ea-3e72b6751b07}". So, given the following initial value of ExtensionSettings with multiple entries:{
  "{e68418bc-f2b0-4459-a9ea-3e72b6751b07}": {
    "installation_mode": "normal_installed",
    "install_url": "https://addons.mozilla.org/firefox/downloads/latest/web-eid-webextension/latest.xpi"
  },
  "{02274e0c-d135-45f0-8a9c-32b35110e10d}": {
    "installation_mode": "blocked"
  }
}

here's how the result should look like after you remove "{e68418bc-f2b0-4459-a9ea-3e72b6751b07}":
    {
      "{02274e0c-d135-45f0-8a9c-32b35110e10d}": {
        "installation_mode": "blocked"
      }
    }

Closing, please feel free to reopen if you have further questions.

@mrts what about when using MacOS?


if all datasets are locked, cannot view datasets dashboards because re-direction to data library

Context
I have an account with a couple of datasets that I don't want to accidentally delete or edit, so I locked them. The problem is that if all of the datasets in my account are locked, then I am automatically redirected to the data library and unable to unlock my datasets or view the datasets dashboard.
Steps to Reproduce
Please break down here below all the needed steps to reproduce the issue

Lock all datasets from the Datasets Dashboard
Observe that user is forwarded to the Data Library dashboard
Try to click on Datasets to get back to the dataset list

Current Result
If all datasets are locked, I am not able to find a way through the UI to see the dataset view where I can unlock my datasets.
A workaround is to search for a dataset, open it, select 'unlock it' from the modal, and then observe the dataset list with that newly-unlocked dataset. Another is to upload a new dataset so that a non-locked dataset will be in the list, but I could see a user being above storage quota not being able to do this. Either way, it is not straight forward.

Expected result
Dataset dashboard should still be accessible without a forced re-direction, and a live link to Locked Datasets should exist somewhere so a user can unlock any datasets.
Browser and version
Chrome Version 60.0.3112.113 (Official Build) (64-bit)
macOS 10.12.5
.carto file
N/A
Additional info
Please add any information of interest here below

What should we do in this case?
In the locked datasets view we're showing, the No datasets message with a link to the datasets view, should we do the same?

+1  @rubenmoya

Just FYI we can't know beforehand if there are any locked datasets or not, that's another request.
We're explicitly redirecting to the shared datasets in case there are no datasets (unlocked) AND there are some shared with you.
The solution would require either:
a) Ignoring the current behaviour, and never redirecting. This would mean 'No datasets' and '0 locked datasets below'
b) Adding the number of locked to the response, so we can decide better what to do.

I will go with a). I was going to comment it to the issue earlier but I forgot. No datasets or maps!
cc @CartoDB/design @noguerol

It's a trivial fix in that case. I'm going to quickly check how hard it is to add an extra field to the response, but I'm no rails expert

It's pretty easy, as it turns out. So we can do either 👍

cc @piensaenpixel @urbanphes

I left an approach on ded15

Checking.

:bandera: LGTM!

+1 with going with option a.
About this:

No datasets or maps!

Why? @ramiroaznar If the user is in the datasets tab, why should we reference maps there?

I think he meant to also take into account the 'Maps' section which is affected by the same thing.
I ended up doing b, but I can switch to the other one, it's simpler and requires less changes

Oh, I see! Then +1
And yeah, I would recommend switching to a.

+1 to option A

Deployed on ded15

LTGM!

👌

+1 for option A

On production 🚢

:boom:


Prepend build folder to GOPATH before building/testing/linting

While setting up a new dev machine with the latest Go version, I noticed that if gometalinter was not installed to the initial GOPATH location, make lint would install it inside the gopher-os src folder causing gometalinter to lint all installed linters and cause all sorts of errors to be emitted.
This PR attempts to fix this by prepending the build folder to the GOPATH prior to the Makefile targets.

Codecov Report

Merging #59 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #59    +/-   ##
======================================
  Coverage     100%   100%
======================================
  Files          39     39
  Lines        2592   2196   -396
======================================
- Hits         2592   2196   -396

Impacted Files
Coverage Δ

src/gopheros/device/acpi/aml/parser.go
100% <0%> (ø)
:arrow_up:

src/gopheros/kernel/mem/vmm/map.go
100% <0%> (ø)
: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 0f85d4b...11baa1e. Read the comment docs.


Linkserver lpcxpresso55s69 cpu1

Enable debugging multicore applications for NXP's lpc55s69 with LinkServer

Sorry, I forgot about this- we should update the board documentation to be clear that Linkserver is now the default runner, particularly here: https://github.com/zephyrproject-rtos/zephyr/blob/main/boards/nxp/lpcxpresso55s69/doc/index.rst?plain=1#L319

Ha, right. Good point.


Possible to render default slot in <NuxtErrorBoundary> on error

Describe the feature
If you use the current <NuxtErrorBoundary> it will always render the error-slot on error, even if you do not provide a template to the slot. So if an error occurs inside the boundary, and no slot is provided, the component will just render a blank slot.
Would it be smart to have an option to disable this, so that <NuxtErrorBoundary> can be used to just catch the errors without doing any changes in the template? 😄
Additional information

[X] Would you be willing to help implement this feature?
[ ] Could this feature be implemented as a module?

Final checks

[X] Read the contribution guide.
[X] Check existing discussions and issues.

Hi :wave: I wanted a similar bahavior with a ClientOnly only if it failed in SSR.
Here's the PR :
https://github.com/nuxt/framework/pull/8216
Is this what you want ? 🤔


In a production environment, it is not possible to modify files in the public directory.

Environment
Nuxt project info:

Operating System: Linux
Node Version:     v18.19.0
Nuxt Version:     3.11.1
CLI Version:      3.11.1
Nitro Version:    2.9.5
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools, devServer, modules, vite, css, app, nitro
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
public/config.json:
{
"k":"v"
}

page/index.vue:
<script setup lang="ts">
import { $fetch } from "ofetch";

onMounted(() => {
  if (process.server) return;

  $fetch("/config.json").then((res) => {
    console.log(res);
  });
});
</script>

Describe the bug
因为数据量不大且很少修改，我想将数据放在config.json文件而不是使用数据库，这样方便我部署之后修改数据，当我执行npm run build && npm run preview之后，config.json文件中的字数仿佛被固定了，假如把config.json修改为：
{
"k":"v",
}

那么响应的数据就会变成：
{
"k":"v",

因为多了,而导致}丢失，如果config.json修改为：
{

}

那么网络请求会直接出现异常，请问这是bug还是正常现象，如果是正常现象那么是否有其他方案能实现我这种需求。

Translation into English:
Since the amount of data is small and rarely modified, I want to store the data in the config.json file instead of using a database. This makes it easier for me to modify the data after deployment. However, after running npm run build && npm run preview, it seems that the number of characters in the config.json file is fixed. For example, if I modify config.json to:
{
  "k": "v",
}

the resulting data will become:
{
  "k": "v",

Due to the extra ,, the } is missing. If config.json is modified to:
{

}

then the network request will directly result in an exception. Is this a bug or an expected behavior? If it is expected behavior, are there any other solutions to achieve my requirements?
Additional context
No response
Logs
No response

This issue was raised multiple times already. See https://github.com/nuxt/nuxt/issues/25926 and https://github.com/unjs/nitro/issues/992


fix: calculate component client rect via children [SPA-1652]

display:contents leads to having no "box" in the actual DOM as somehow mentioned here and here.
Thus, it fails to calculate any bounding client rect for this node. As a work around we calculate the size of each child and add them up.

I tried tracking the moment when this newly added logic gets executed. And it doesn't seem to be executed when hovering over {design components} 🤷
https://www.loom.com/share/e4507b870e7c45bdb17ecd05ace057b9

I tried tracking the moment when this newly added logic gets executed. And it doesn't seem to be executed when hovering over {design components} 🤷
https://www.loom.com/share/e4507b870e7c45bdb17ecd05ace057b9

As written in Slack, your video is showing how it should be have. So all good here :) Note that this only about hovering instances via the layers tab.

I tried tracking the moment when this newly added logic gets executed. And it doesn't seem to be executed when hovering over {design components} 🤷
https://www.loom.com/share/e4507b870e7c45bdb17ecd05ace057b9

When hovering with the mouse you're not actually hovering on the surrounding div but on the child container, so the getBoundingClientRect will work. You have to hover on the component from the Layers tab to replicate the issue.


Converted JSON schemas use "EntityOrCommon"

Describe the improvement you'd like to request
Due to recent changes introduced on main (which are currently unreleased, but will be released as part of 4.0), converting a Cedar schema to JSON will now introduce "EntityOrCommon" types. These seems like an internal detail that is not useful to expose to users. Is there a way to hide this detail when returning JSON data from SchemaFragment::to_json_string?
As an example, here's a snippet from the translation of the TinyTodo schema:
{
  "": {
    "commonTypes": {
      "Task": {
        "type": "Record",
        "attributes": {
          "id": {
            "type": "EntityOrCommon",
            "name": "Long"
          },
          "name": {
            "type": "EntityOrCommon",
            "name": "String"
          },
          "state": {
            "type": "EntityOrCommon",
            "name": "String"
          }
        }
      },
      "Tasks": {
        "type": "Set",
        "element": {
          "type": "EntityOrCommon",
          "name": "Task"
        }
      }
    },
    "entityTypes": {
      "Team": {
        "memberOfTypes": [
          "Team",
          "Application"
        ]
      },
      "User": {
        "memberOfTypes": [
          "Team",
          "Application"
        ],
        "shape": {
          "type": "Record",
          "attributes": {
            "joblevel": {
              "type": "EntityOrCommon",
              "name": "Long"
            },
            "location": {
              "type": "EntityOrCommon",
              "name": "String"
            }
          }
        }
      },
...

The more natural way for a user to write this would be:
{
  "": {
    "commonTypes": {
      "Task": {
        "type": "Record",
        "attributes": {
          "id": {
            "type": "Long"
          },
          "name": {
            "type": "String"
          },
          "state": {
            "type": "String"
          }
        }
      },
      "Tasks": {
        "type": "Set",
        "element": {
          "type": "Task"
        }
      }
    },
    "entityTypes": {
      "Team": {
        "memberOfTypes": [
          "Team",
          "Application"
        ]
      },
      "User": {
        "memberOfTypes": [
          "Team",
          "Application"
        ],
        "shape": {
          "type": "Record",
          "attributes": {
            "joblevel": {
              "type": "Long"
            },
            "location": {
              "type": "String"
            }
          }
        }
      },
...

Describe alternatives you've considered
No response
Additional context
Related: the Display trait for the Cedar schema format is also not as pretty as it could be. See #682.
Is this something that you'd be interested in working on?

[ ] 👋 I may be able to implement this internal improvement
[ ] ⚠ This feature might incur a breaking change

some context: in some ways, EntityOrCommon is more correct than the previous status quo.  The Cedar syntax Long will actually refer to an entity type Long if it exists, in preference to the builtin type Long, as specified by RFC 24.  (This is why RFC 24 introduced the __cedar::Long notation in the first place.)  This remains true after #1150, which only introduced restrictions on the names of common types, not entity types.
To resolve this issue, we would have to actually resolve the typenames in the Cedar syntax (e.g., to know that Long does indeed refer to the builtin type Long) in order to write a more accurate JSON-syntax typename.

I attempted to add a common type with type String = __cedar::String; but cedar validate returns an error:
error parsing schema: this uses a reserved schema keyword: `String`
 2 │     type String = __cedar::String;
  help: Keywords such as `entity`, `extension`, `set` and `record` cannot be used as common type names

On the other hand, I am able to create an Entity with the name String—that just earns me a warning:
  ⚠ The name `String` shadows a builtin Cedar name. You'll have to refer to the builtin as `__cedar::String`.

My own personal issue with using EntityOrCommon for built-in primitive types is that Amazon Verified Permissions does not work with JSON-formatted cedar schema like this. It doesn't seem to understand EntityOrCommon at all, so I can't use cedar translate-schema to convert my nice schema into JSON form to hand over to Amazon Verified Permissions without post-processing to remove all the EntityOrCommon references. I guess that's technically an AWS problem, not a Cedar problem, but... it's extra friction in the ecosystem.


Waifu profiler

This idea is to have a setting for different Waifu attitudes to not always motivate users as too much motivation would annoy them, there's a setting for that but I think that doesn't suffice as by adding some attitudes we could lessen the robotic feel.
We could have some options like the following:
'Tsundere' - there's a chance that instead of motivating you, she'll say bad things to you, and would be ruthless when your tests fail!
'Dandere' - only a small chance that your waifu will motivate you as she's shy.
etc.
We could extend this and have a possibility to have a different set of motivational assets for each waifu attitude.

The problem this issue tries to solve seems to be tackled by #106, so the plugin is not too annoying as having a profile for each platform will require us to provide more assets.

I feel like if we enable to prefer motivations from a specific waifu, this might solve this issue.
#142 Enables us to group and show assets from a specific waifu.
Do you think we still need this?

Hmmmm, yes that'll solve the issue if they only like tsundere Waifus they can pick it from the list, maybe we can have a way to categorize the Waifus, wdyt?

🤔 Yeah, I guess that makes senses. Rather than picking from a single waifu, just give me a specific type of waifu. I think it will make more sense to work this after grouping the assets by character (eg the work from #174)

I think this issue is now irrelevant as we already have WENDI in place, that solves the dry experience, and may conflict with it when this is implemented, with that said I'll close this for now.


feat(cli): added a new org:create command

Proposed changes
Add a new command to create new organizations
To do so, I needed to change the way the authorization work. You don't need to have an org to be able to authenticate anymore.
Breaking changes
None
Testing
Manual for now

CDX-MAV :P

Unfortunately, the verification on access_token existence in configuration file will not work in a real life scenario, and will throw/crash commands whenever a end user just picks up the CLI after a couple day of inactivity.

Good point @olamothe. I reckon we have an endpoint to ensure the validity of an access_token.
Or even if we don't a health check call to the platform ain't a bad idea either. (i.e. just do an authenticated call, if it faceplant, your validator return false, if it 2xx, validator return true)
I would probably call GET /rest/privileges/me if I were you @marcantoineveilleux

@marcantoineveilleux : Please re-open when ready.


[error] Incompatible Node.js version

When running my javascript (Azure functions) from Visual Code I get the following error:
[error] Incompatible Node.js version. The version you are using is v12.12.0, but the runtime requires an LTS-covered major version (ex: 8.11.1 or 10.14.1). LTS-covered versions have an even major version number (8.x, 10.x, etc.) as per https://github.com/nodejs/Release#release-plan. For deployed code, change WEBSITE_NODE_DEFAULT_VERSION in App Settings. Locally, install or switch to a supported node version (make sure to quit and restart your code editor to pick up the changes).
The web site https://github.com/nodejs/Release#release-plan tells me that Release 12.x is Active TLS.
Andy idea what I can do to fix the problem?
Thanks
Andy

@andytael take a look at this issue: https://github.com/Azure/azure-functions-nodejs-worker/issues/200
Looks like Azure Functions doesn't support 12 yet, but sounds like it's coming soon. Closing this issue since we can't control this from VS Code


"AuthorizationFailed": Error when trying to add the Authorization for the service principal

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Issue Type?
Bug
(Optional) Module Version
No response
(Optional) Correlation Id
No response
Description
This is the error that I get when I am trying to add the authorization for the new keyvault that is created. Please let me know what permissions are needed above contributor to the subscription. I've tried creating a custom permission, but to no avail.
Error: authorization.RoleAssignmentsClient#Create: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="AuthorizationFailed" Message="The client '24bd450f-6acd-4c09-8eba-9a43207e2bdc' with object id '24bd450f-6acd-4c09-8eba-9a43207e2bdc' does not have authorization to perform action 'Microsoft.Authorization/roleAssignments/write' over scope '/subscriptions/af985f55-f7fc-41d5-a587-66f8601d2060/resourceGroups/rg-epic-shared-mgmt-cus/providers/Microsoft.KeyVault/vaults/kv-chn-epic-shared-cus/providers/Microsoft.Authorization/roleAssignments/ad4af6a9-c864-dc40-218d-90d113f4048d' or the scope is invalid. If access was recently granted, please refresh your credentials."
with module.primary_keyvault.azurerm_role_assignment.this["deployment_user_secrets"]
on .terraform/modules/primary_keyvault/main.tf line 45, in resource "azurerm_role_assignment" "this":
resource "azurerm_role_assignment" "this" {

Hi,
Please see this article that should help:
https://learn.microsoft.com/azure/role-based-access-control/delegate-role-assignments-portal?tabs=template

Thanks @matt-FFFFFF. This explained what was needed perfectly. It may be a good idea to add it to the first section of the README.md file also. Thank you for the quick response.


very small typo

an extra parenthesis removed!

Jira ticket

Summary
Checklist

[ ] Added a changelog entry
[ ] Ran unit tests

@meteorplus Thanks for submitting this PR. Could you address the comment above - removing the extra space?


Add gRPC routes for 05-port

Summary
05 port doesn't have any gRPC routes, but it might be useful to query the application associated with a port identifier. This can help identify what packets are being sent across certain channels

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

Going to close as stale. Can be reopened with port router v2 if it is decided to be useful


Media Control Layout

Hi, how to change position of buttons of player?
Example: Change the volume button from right to left to stand next to the play / pause icon

Hi, every help me?

Take a look at clappr-media-control-plugin project.


add range query handling for ip via term dictionary

since IPs are mapped monotonically we can use the term dictionary for range queries

Codecov Report

Merging #1627 (1082ff6) into main (4918541) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1627   +/-   ##
=======================================
  Coverage   93.92%   93.93%
=======================================
  Files         253      253
  Lines       47521    47579   +58
=======================================
+ Hits        44635    44694   +59
+ Misses       2886     2885    -1

Impacted Files
Coverage Δ

src/query/query_parser/query_parser.rs
95.03% <100.00%> (+0.26%)
:arrow_up:

src/query/range_query.rs
89.35% <100.00%> (+2.23%)
:arrow_up:

.../termdict/sstable_termdict/sstable/block_reader.rs
80.35% <0.00%> (-1.79%)
:arrow_down:

src/fastfield/multivalued/mod.rs
97.29% <0.00%> (-1.16%)
:arrow_down:

src/postings/stacker/expull.rs
99.05% <0.00%> (+0.47%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@PSeitz we can merge this but the point was to use the fast field whenever available.


Add WARC output support

Hey, I'm working on a WARC project in C# and found your library. There don't seem to be any other WARC-related C# projects. I am interested in making a library to output WARC files in addition. I could do this be extending your Records objects, and probably making changing to RecordFactory. Would you be open to a PR that does this?

Sure. Go ahead.


Admin panel fixes: remove banner, adjust default values for uploaded documents

These changes were requested by Justine with a goal to enable easier transition of existing providers.
Scope of changes:

the outdated "certified partner" banner is removed (landing screen in admin panel, logout screen) -> it would create confusion once we start communicating the new partnership program to existing users,
there are now default values for uploading supporting evidence in the Hosting provider admin. These values should make it easier to upload existing documents from various places (especially public=False makes it less prone to exposing confidential documents by accident)

This is how the screens look like now, after the banner is removed:

logout screen:

landing screen:


[SPARK-17759] [CORE] Avoid adding duplicate schedulables

What changes were proposed in this pull request?
If spark.scheduler.allocation.file has duplicate pools, all of them are created when SparkContext is initialized but just one of them is used and the other ones look redundant. This causes redundant pool creation and needs to be fixed.
Code to Reproduce :
val conf = new SparkConf().setAppName("spark-fairscheduler").setMaster("local")
conf.set("spark.scheduler.mode", "FAIR")
conf.set("spark.scheduler.allocation.file", "src/main/resources/fairscheduler-duplicate-pools.xml")
val sc = new SparkContext(conf)

fairscheduler-duplicate-pools.xml :
The following sample just shows two default and duplicate_pool1 but this also needs to be thought for N default and/or other duplicate pools.
<allocations>
    <pool name="default">
        <minShare>0</minShare>
        <weight>1</weight>
        <schedulingMode>FIFO</schedulingMode>
    </pool>
    <pool name="default">
        <minShare>0</minShare>
        <weight>1</weight>
        <schedulingMode>FIFO</schedulingMode>
    </pool>
    <pool name="duplicate_pool1">
        <minShare>1</minShare>
        <weight>1</weight>
        <schedulingMode>FAIR</schedulingMode>
    </pool>
    <pool name="duplicate_pool1">
        <minShare>2</minShare>
        <weight>2</weight>
        <schedulingMode>FAIR</schedulingMode>
    </pool>
</allocations>

Debug Screenshot :
The following screenshots show Pool.schedulableQueue(ConcurrentLinkedQueue[Schedulable]) has 4 pools as

default, default, duplicate_pool1 and duplicate_pool1

but Pool.schedulableNameToSchedulable(ConcurrentHashMap[String, Schedulable]) has

default and duplicate_pool1

due to pool name as key so one of default and duplicate_pool1 look redundant and live in Pool.schedulableQueue.

## How was this patch tested?
Added new Unit Test case.

Can one of the admins verify this patch?

I've got some issues with this PR.

You've unnecessarily changed the prior behavior where the last added pool wins.  We should preserve that behavior in case anyone was relying upon it to handle their broken configuration.

Adding duplicate TaskSetManagers (or other Schedulable types in the future) would also be an error, so I'd rather do the checking and de-duplication in addSchedulable instead of in buildFairSchedulerPool.  Like this in Pool:

  override def addSchedulable(schedulable: Schedulable) {
    require(schedulable != null)
    val name = schedulable.name
    if (null == schedulableNameToSchedulable.put(name, schedulable)) {
      schedulableQueue.add(schedulable)
    } else {
      logWarning(s"Duplicate Schedulable added: $name")
      // remove previously enqueued schedulable with same name
      schedulableQueue.remove(getSchedulableByName(name))
      if (!schedulableQueue.contains(schedulable)) {
        schedulableQueue.add(schedulable)
      }
    }
    schedulable.parent = this
  }

The only routes to this code are from the one-time initialization of the backend on the creation of a SparkContext and from schedulableBuilder.addTaskSetManager in TaskSchedulerImpl#submitTasks, which is synchronized -- so the above should be fine in terms of thread safety.
This is also the only route by which a Schedulable can be added to schedulableQueue, so with this code there should never be more than one prior instance of a queued Schedulable with the same name that needs to be removed before replacing it with the duplicate (which matches the schedulableNameToSchedulable entry).
This should pass all the existing tests; but if you do something more severe than just logging the warning (such as adding a System.exit to that branch), you'll find that we are actually doing some abusive adding of duplicate schedulables within some tests.
@kayousterhout

+1 to Mark's suggestion about putting the behavior in Pool::addSchedulable, so that it works across all Schedulables.
I'm less convinced about maintaining the existing behavior where the last added pool wins.  I think people usually expect first-wins behavior for these things (e.g., that's the case for Java classpath issues), and the code is also simpler for that approach.  Given that this should be affecting pretty few people (and there's now a warning logged), I think this would be fine to change.

@kayousterhout @rxin Ok, but if we're going to change the behavior, then we need to be sure that change at least makes it into the release notes.

@markhamstra if we do change it, we should prob merge only into master and not 2.0.1.

Yes, that is what I was thinking regardless.

...and it would be 2.0.2 at this point. :)

Firstly, thanks @markhamstra and @kayousterhout for quick feedbacks.
I was aware of putting the check in Pool.addSchedulable to cover for all Schedulables (Pool and TaskSetManager for now). My concern was that TaskSetManager uses the following naming-pattern:
var name = "TaskSet_" + taskSet.stageId.toString
and if there is a case that a stage having multiple TaskSet/TaskSetManager, this could be a problem. However, your comments already clarified this so i agree moving to Pool.addSchedulable and adresses with next commit ;)

@erenavsarogullari Your concern was entirely legitimate, and is also why I called in @kayousterhout to double-check my claim that other duplicate Schedulables would also be a problem.

@erenavsarogullari @markhamstra I just looked at this further and I actually think this could be an issue:
(1) The first attempt for a stage fails with a fetch failure.  The associated TaskSetManager is marked as a zombie but some tasks are still running, so removeSchedulable isn't called yet (it gets called in TaskSchedulerImpl only after all running tasks in the stage have finished).
(2)  The map stage re-runs and a new attempt for the stage begins.  This attempt has the same stage ID, so will have the same schedulable name.
I remember having a long discussion about (1) a while ago (and when we should call removeSchedulable) and decided it was most "fair" to call it only after all running tasks complete, because running tasks should be counted towards the pools share even when they're for zombie task sets.
I think in this case, the last-schedulable-wins policy that currently exists seems better, although still wrong.  I'd argue we should first fix this bug (by giving each TaskSetManager a unique name), in a separate PR, and then do the fix to this PR that you suggested, Mark.  The other fix seems like it should be relatively simple.  @markhamstra thoughts?  Does that seem reasonable?

Thanks @kayousterhout and @markhamstra.
In the light of the decision, i can happily work on the new ticket(Uniqueness of TaskSetManager name) as well ;)

Hi @kayousterhout and @markhamstra,
In the light of our previous discussion, i committed second patch as e126cd8. This PR' s changeset looks ok but it still needs unique TaskSetManager name support to cover all duplicate Schedulable cases so i raised SPARK-17894 for uniqueness of TaskSetManager name. It proposes a new TaskSetManager name pattern to be reviewed and i will publish separate PR ;)

Hi @kayousterhout and @markhamstra,
Related PR #15463 is merged and this PR is ready for review. Also previous comments have been addressed with e126cd8ec51b11fed5ffaab376c6d4a451086cac.
Thanks in advance.

Kindly reminder :)
cc @kayousterhout @markhamstra

Hi @kayousterhout and @markhamstra,
This PR is ready for review if it is possible.
All feedbacks are welcome and thanks in advance ;)

@erenavsarogullari I looked at this again (sorry for the long delay), and it looks like you maintained the old behavior of last-added-wins.  I thought from the discussion above, @markhamstra was ok with first-added-wins, which I think is more intuitive and consistent with other locations in the codebase.  Did I miss something from above?

@erenavsarogullari what's the status of this PR?

@erenavsarogullari is this ready to be updated now that #16813 has been merged?

@kayousterhout, thanks for querying this PR.
It is not ready yet and needs a small change but it will be ready in a couple of days. Will let you know ;)

Jenkins test this please

Hi @kayousterhout and @markhamstra,

This PR is ready for review in the light of first-added-wins (Schedulables: Pool / TaskSetManager) pattern. All feedback are welcome in advance.

Two TaskSchedulerImpl UT cases have been failed due to duplicate TaskSet submission so they have also been fixed via latest commit: dd302ffb44e01280b42d130bee3ede9c81fd4839

Also jenkins needs to be triggered.

Thanks.

Jenkins this is OK to test

Hi @erenavsarogullari, is it still active? if so could you address the comments above? Otherwise, I would like to propose to close this.

Hi @HyukjinKwon, thanks to follow this PR. I am busy for a while. Implementation is done and just last comments need to be addressed.
I will address them as well asap. Thanks ;)

Hi @HyukjinKwon, thanks for the following this PR again. This looks required but i am too busy for a while. Fix is already ready and will address the last comments asap. Sorry for delay again ;)

I will take this out in the list. Thanks for your input.

Gentle ping @kayousterhout.

@HyukjinKwon what's the ping here for?  It looks like I left some comments that @erenavsarogullari will address when he has time.

I am sorry I misunderstood and thought it is almost (or already) ready. Will read the comments carefilly next time.

Hi @kayousterhout,
Many thanks again for your review and sorry about delay.
Last comments have just been addressed and patch is ready for re-review.

Hi @kayousterhout,
Many thanks again for your review.
Patch is ready to re-review.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/11303/
Test PASSed.

Jenkins test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/11304/
Test PASSed.

Hi All,
Sorry for delay on this PR. Last comments have been addressed and merge-conflict has been fixed.
Patch is ready to re-review. Please let me know if you need further details. Thanks in advance 👍
cc @kayousterhout

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/11315/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/15814/
Test PASSed.


ARCore

System information

OS Platform and Distribution : Windows 10 Home (I installed Hyper-V manually and I was able to start docker afterwards)
Target: android arm64
Bazel version: 4.2.1
Python version: 3.9.6
Unity version:2020.3.8f1

Steps to reproduce the issue
after I tested the build on my phone and everything worked fine, I installed ARCore and ARFoundation in the project because I want to add occlusion to my 3D shoe model.
Right after that I just added an XR object :

Activating it is enough to give me the following error log :

What can I do to make ARCore work ?
Thanks in advance

@AbdallahKATAIE first are you able to render and track your own shoe model with objectron graph and if yes then you can create your own shader for occlusion.
But if you preferred using ARCore and ARFoundation for occlusion that’s fine to send me your email and I will send you the code for occlusion.

@nenenkosi if I create my own shader for occlusion, will it take consideration of the lights in the environment I'm in ?
Please email me here<EMAIL_ADDRESS>for the occlusion code and how to create a shader if possible.
Thank you!

Does ARCore work in a separate scene by itself with no Mediapipe included? I would think the issue is that Mediapipe is already using the camera through the webcam script and ARCore is also trying to access the camera.

@AbdallahKATAIE how have you managed to integrate AR Foundation in MediaPipe?
Thank you!

@AbdallahKATAIE how have you managed to integrate AR Foundation in MediaPipe? Thank you!

I managed to get everything working, including the full try-on project, the Occlusion Shader fix, Rotation, Translation, Scale matrix etc...
here's my email if you need them<EMAIL_ADDRESS>

Hey, can you share how you make it work?

Good Morning,
I’ve been actually selling it. Here are the products I’m selling :

Detection
Shoe Model superposition (rotation, position, scale)
Occlusion Shader Fix + setup
Firebase Integration (download shoe models from the internet)

Are you interested ?
Abdallah KATAIE
Unity3D VR/AR & Web MERN Software Engineer

My Company:
https://thedmcorporation.netlify.app/
My Portfolio:
https://abdallahkataie.wordpress.com/
What’sApp Business: +33 6 33 93 79 37
www.linkedin.com/in/abdallah-kataie-09086b140/http://www.linkedin.com/in/abdallah-kataie-09086b140/
10 Square Des Caleïdes • 49000 - Angers, France
De : Neeraj Singh @.>
Envoyé le :11 October 2022 07:01
À : @.>
Cc : @.>; @.>
Objet :Re: [homuler/MediaPipeUnityPlugin] ARCore (#293)
Hey, can you share how you make it work?
—
Reply to this email directly, view it on GitHubhttps://github.com/homuler/MediaPipeUnityPlugin/issues/293#issuecomment-1274055221, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL4ANS5UKCKP3NJ4Z3FHIDDWCTRABANCNFSM5EN6PSQQ.
You are receiving this because you were mentioned.Message ID: @.***>

I can buy but I need media pipeline with Face mesh and light estimation  from ARCore

Alright,
So you’re buying the setup, correct ?
Abdallah KATAIE
Unity3D VR/AR & Web MERN Software Engineer

My Company:
https://thedmcorporation.netlify.app/
My Portfolio:
https://abdallahkataie.wordpress.com/
What’sApp Business: +33 6 33 93 79 37
www.linkedin.com/in/abdallah-kataie-09086b140/http://www.linkedin.com/in/abdallah-kataie-09086b140/
10 Square Des Caleïdes • 49000 - Angers, France
De : Neeraj Singh @.>
Envoyé le :11 October 2022 08:27
À : @.>
Cc : @.>; @.>
Objet :Re: [homuler/MediaPipeUnityPlugin] ARCore (#293)
I can buy but I need media pipeline with Face mesh and light estimation from ARCore
—
Reply to this email directly, view it on GitHubhttps://github.com/homuler/MediaPipeUnityPlugin/issues/293#issuecomment-1274105610, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL4ANSY7BQ4HQEZDJHQRFMTWCT3ELANCNFSM5EN6PSQQ.
You are receiving this because you were mentioned.Message ID: @.***>

Hey,
Yeah, that wouldn’t be a problem, we will probably have to do it over Discord so you can share your screen, and I will tell you how to do it step by step and give you my project which is fully setup already.
I’ve been selling this service for 700$, If you’re really interested, please let me know which payment method do you prefer ? (bank transfer, Revolut, Paypal).
Abdallah KATAIE
Unity3D VR/AR & Web MERN Software Engineer

My Company:
https://thedmcorporation.netlify.app/
My Portfolio:
https://abdallahkataie.wordpress.com/
What’sApp Business: +33 6 33 93 79 37
www.linkedin.com/in/abdallah-kataie-09086b140/http://www.linkedin.com/in/abdallah-kataie-09086b140/
10 Square Des Caleïdes • 49000 - Angers, France
De : Neeraj Singh @.>
Envoyé le :11 October 2022 16:56
À : @.>
Cc : @.>; @.>
Objet :Re: [homuler/MediaPipeUnityPlugin] ARCore (#293)
Yes setup means setting up of arcore basic face mesh with media pipe line.
—
Reply to this email directly, view it on GitHubhttps://github.com/homuler/MediaPipeUnityPlugin/issues/293#issuecomment-1274728908, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL4ANSZZXIDNI2HABHMQPJ3WCVWXDANCNFSM5EN6PSQQ.
You are receiving this because you were mentioned.Message ID: @.***>

Share me your skype Id

Here’s my Skype ID :
kataieabdallah
Abdallah KATAIE
Unity3D VR/AR & Web MERN Software Engineer

My Company:
https://thedmcorporation.netlify.app/
My Portfolio:
https://abdallahkataie.wordpress.com/
What’sApp Business: +33 6 33 93 79 37
www.linkedin.com/in/abdallah-kataie-09086b140/http://www.linkedin.com/in/abdallah-kataie-09086b140/
10 Square Des Caleïdes • 49000 - Angers, France
De : Neeraj Singh @.>
Envoyé le :11 October 2022 18:03
À : @.>
Cc : @.>; @.>
Objet :Re: [homuler/MediaPipeUnityPlugin] ARCore (#293)
Share me your skype Id
—
Reply to this email directly, view it on GitHubhttps://github.com/homuler/MediaPipeUnityPlugin/issues/293#issuecomment-1274843210, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL4ANSYFGWSDQEEX63JVHX3WCV6TFANCNFSM5EN6PSQQ.

Can you please let me know if there are any updates ??
Have a good day.
De : Neeraj Singh @.>
Envoyé le :11 October 2022 20:28
À : @.>
Cc : @.>; @.>
Objet :Re: [homuler/MediaPipeUnityPlugin] ARCore (#293)
I have pinged you
—
Reply to this email directly, view it on GitHubhttps://github.com/homuler/MediaPipeUnityPlugin/issues/293#issuecomment-1275039672, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL4ANS3IYAYJHWNS2FUF3GLWCWPSDANCNFSM5EN6PSQQ.
You are receiving this because you were mentioned.Message ID: @.***>


Refactor DeviceLogReader

Refactor DeviceLogReader class to be friendly to multiple consumers.
Keep one lazily constructed singleton DeviceLogReader instance per Device.
Implement new DeviceLogReader interface for Android, iOS, and iOS Simulator.
Port logs command to new interface.

Part of #1988

@devoncarew

Some nits around braces, and several places where using null-aware operators would make the code terser.
I think there's some opportunity to share code between the three device log readers - they seem to be doing similar things re: processes and stdout/stderr streams. Perhaps a ProcessReader class they delegate to? But lgtm w/o that.

@devoncarew I considered a ProcessReader abstraction but in the end it didn't save much (individual loggers still need to subscribe the merged stdout/stderr stream and control the process life cycle). I've left a TODO for myself to add a ProcessSet to help manage the multi-process logging needed in _IOSSimulatorLogReader.


GUI: SNMP Settings Update - Test Cases

[ ] Verify if the edit / delete buttons are disabled during the edit phase.
1.Go to “Server Configuration” => “SNMP Settings” on the BMC page
2.Click on add manager button.
3.While populating the fields verify if the edit / delete buttons are disabled.

[ ] Verify text color of the saved configuration matches the body color.
1.Go to “Server Configuration” => “SNMP Settings” on the BMC page
2.Verify if the saved IP/Port field text color uses the body color.

@rahulmah please check on this

Dev story - https://github.com/ibm-openbmc/dev/issues/938. It seems like dev has move this work for OP950


New Issues mainly for Mobile Device

There's appeared to be some compitability and loading time issues, please tell me if you know can fix it.
some cause that i know ;

Fixed width on biocard.
Background Image size is too big.

You can resize image manually and use html <picture> tag to display image according to media query or you can say max/min screen width set to show image with sufficient resolution and not excessive. for the tutorial see this

You can resize image manually and use html <picture> tag to display image according to media query or you can say max/min screen width set to show image with sufficient resolution and not excessive. for the tutorial see this

thanks to for give the solution, there's still an issues... on some devices that have smaller screen resolution the Biocard is Overlapping from the main screen, at this point we might need to reassemble the Web codes.

In Biocard it's overWidth, because you add padding and it's also 100% or full width so the actual size is 100% plus 2 times your padding. So add it box-sizing: border-box; in your css.


rewrite cargo-miri test in Python

Also enable all the stuff again that I accidentally disabled with the last PR...

mac knows no python3: /Users/travis/.travis/job_stages: ./run-test.py: /usr/bin/python3: bad interpreter: No such file or directory

Hm... must be some way to install that there.

Still fighting with macOS but I think I am getting there... @oli-obk is this otherwise okay?


Adding ability to create ksuids in bloblang.

Adding ksuid generation to bloblang functions. https://github.com/segmentio/ksuid is an alternative to uuids.

Thanks @zer0stars, don't worry about the check failures, just needs make fmt && make docs so I can do that on my end.


invalid .ccc file in Nuke OCIO CDL Transform node triggers infinite loop

Load this file into Nuke node and loop for ever...
Traceback (most recent call last):
File "", line 1, in
File "/opt/foundry/nuke-9.0v8/plugins/ocionuke/cdl.py", line 278, in set_first_cccid
allcc = _xml_to_cdltransforms(xml)
File "/opt/foundry/nuke-9.0v8/plugins/ocionuke/cdl.py", line 55, in _xml_to_cdltransforms
tree = ET.fromstring(xml)
File "/opt/foundry/nuke-9.0v8/lib/python2.7/xml/etree/ElementTree.py", line 1301, in XML
parser.feed(text)
File "/opt/foundry/nuke-9.0v8/lib/python2.7/xml/etree/ElementTree.py", line 1641, in feed
self._parser.Parse(data, 0)
File "/opt/foundry/nuke-9.0v8/lib/python2.7/xml/etree/ElementTree.py", line 1544, in _start_list
return self.target.start(tag, attrib)
File "/opt/foundry/nuke-9.0v8/lib/python2.7/xml/etree/ElementTree.py", line 1420, in start
self._last = elem = self._factory(tag, attrs)
RuntimeError: maximum recursion depth exceeded
missing_id.ccc.txt
xmllint shows the file is not valid
element ColorCorrection: Schemas validity error : Element '{urn:ASC:CDL:v1.01}ColorCorrection': The attribute 'id' is required but missing.
missing_id.ccc fails to validate
But it would be nice to handle this slightly more gracefully than locking up Nuke.
Kevin

I tested this in a Nuke 14.1 and it appears to now be fixed.


build: fix rpath cleanup on install and dependency chain

This patch fixes the rpath cleanup step on install, it was composing
the rule name with the dest resource path both for the rule itself and
the dependency, since we don't have a rule to make a resource (in this
case to compile the bins out) the install target would never run due
dependency chain error.
Signed-off-by: Leandro Dorileo<EMAIL_ADDRESS>

LGTM.
The rpath problem on install phase has gone when applying this patch.

applied, thanks.


Remove OTLP prefix from two places in the protocol

This is being done to satisfy a requirement set in https://github.com/open-telemetry/community/issues/1332, namely to remove "OTLP" from the protocol and field names.

Will postpone due to potential for conflict, until @lquerel merges in-flight PRs.


list of all available locations

where can i find list of all available locations in wttr.in ?

you can't find the whole list of available locations, but you can any of them as input
with additional qualifying words if needed. You can also check the Location: line
of the query, to be sure that the correct location was found.
~$ curl -s wttr.in/Dąbrowa+Białostocka | grep Location:
Location: Dąbrowa Białostocka, gmina Dąbrowa Białostocka, powiat sokólski, województwo podlaskie, 16-200, Polska [53.654439,23.3485102]
~$ curl -s wttr.in/Dąbrowa+Górnicza | grep Location:
Location: Dąbrowa Górnicza, śląskie, Polska [50.3309808,19.1963279]

I close this one; please comment if it should be reopen


Multilingual

We would like to see support for multiple languages in the program with a simple opportunity to edit the language files.
Translations we quickly let us make :-)

Hello! For five years now my request has been hanging in your ticket holder. Can we expect any actions to implement it? :-)

it stopped release 2 years ago, how about you make support multilingual ?


Improve formatting of Select-String

This PR adds clickable links and colorization to the output of Select-String (#109) .
The matched file paths alternate 2 colors.

@mdgrs-mei does this support the -Context parameter (this outputs surrounding lines)

@StartAutomating Yes, this supports the -Conext parameter. ToEmphasizedString() or ToString() supports it and mine just adds the color and links to the lines.

Added the issue number to commit messages.


unnecessarily makes output directory when -T specified

geco_dump unnecessarily makes an output directory even if the -T flag (output a timeseries without saving dumped files) is specified.

Fixed in ec289f2


fix DialogMaxWidthTestCase refactor

The refactor has been done in order to face some skin and browser issues (font not the same, the test failed with phantom).
The commit also includes the test in the test suite, as it was missing (see PR #1520)

Good for me, you can merge as soon as the build passes.


Redirect users when content isn't found

Fixes #26415
Internal Review Topic (links to section) ... scroll down to the bottom of the Provide custom content when content isn't found section that loads via this link.
RE: Redirect users when content isn't found
Thanks @dirkesquire! :rocket:
Steve ... a couple of points (one from me, one from @dirkesquire) ...

Your PU discussion (dotnet/aspnetcore #13582) left me with the impression that using a custom redirect component and calling for navigation in its OnAfterRender would be a sane approach to avoiding the NavigationException in Blazor Server apps during debugging, noting that ...

Seems like it would be fine for production.
Doesn't check firstRender because there isn't a double event call, seemingly because it navigates on the prerender ... a short-circuit.

From Dirk ......

Drawing from inspiration from the React world, specifically React-Router, you have not only a NavigationManager you can invoke functions on but there is also a built in element <Navigate> element that I think would make sense here which I was kinda expecting you might mention (if it existed - but I take it it doesn't). This would avoid the user having to 'roll their own' <RedirectToUser> element.
This is the type of solution I would expect:
<NotFound>
    <Navigate to="/" />
</NotFound>

I am of course happy building my own Navigate page as it is quite easy, but I think it would be a beneficial addition to the framework.

So, I told Dirk on the issue that if you're interested that he should open it on the PU repo as a request but that you might say 'nah' to that here and save him the trouble.

I don't think the code shown here does exactly what it suggests. The only reason why it's not throwing during prerendering now is because the redirection is done from OnAfterRenderAsync, which is not executed during prerendering. Creating a child component doesn't make any difference either way (it's an unnecessary complication), as far as I can tell. Please correct me if I'm wrong!
People could simply do a redirection from OnAfterRenderAsync without needing this, but would have to bear in mind this is no longer doing the redirection during prerendering. Instead, the entire page is starting up on the client, and then it's redirecting.
My guess is that unless a lot of developers are continuing to ask about this, we should avoid making it seem like they have to do some extra work. They can much more easily remove the NavigationException from the list of exceptions that VS will break on.
If this does become a thing that a lot of developers ask about, we could look at enhancing this to communicate the termination of the render flow without using an exception. It would technically be a breaking change but probably a safe enough one.

Thanks Steve.
It seems that quite a few developers have been asking about this from a few other Issues I've seen.
So it seems that we are back to:

   @{ NavigationManager.NavigateTo("/Home", false); }

I'll admit this works very well, and a bit faster actually because it seems to redirect earlier than when using redirecting from inside a ChildComponent. So your comments do make sense.
The only questions remaining are:

Do we not want to make a comment about this in the documentation (that is originally how this conversation all started - with me giving feedback about the documentation), and secondly,

How do we turn off catching of the NavigationException in VS Code? I did a google search but I'm still not sure of the answer.

At the moment I get a horrible popup everytime I debug, and it really does break the flow of development to have to click through it every time you restart the application, which is very often when you are making changes.

<NotFound>
   @{ NavigationManager.NavigateTo("/Home", false); }
</NotFound>

Could you clarify why anybody would want to use this? It seems like a really bad user experience. Instead of telling the user that the content they're looking for can't be found, it simply takes them to the homepage with no explanation. In general I don't think people should commonly be doing this.

Do we not want to make a comment about this in the documentation (that is originally how this conversation all started - with me giving feedback about the documentation)

Unless I'm missing something important, I don't think we should have an example like this in the docs, as it would imply we think it's a sensible thing to do.

At the moment I get a horrible popup everytime I debug

Could you clarify - why is it that you're always going to a "not found" page every time you start debugging? That seems unusual.
In any case, I think the problem would not exist if you weren't trying to redirect during prerendering.

How do we turn off catching of the NavigationException in VS Code

It's easy enough to do in VS, but I don't know about VS Code. If you're unable to find any docs about how to do it in VS Code, it might be a worthwhile thing to submit as a feature request there.

Alright fair enough. I think it is just two ways of going about it.  It is just easier to take the user to the home page if they typed a URL in wrong. But this is just a minor point, and not the real issue. I think both approaches should be supported, but I'm willing to change to your suggestion.
Okay so to clarify, my situation is slightly more complicated but perhaps not TOO unusual.. I've got a big existing corporate product website which is completely built in MVC. So to get with the times I've added Blazer server side to the existing project so that I can start building any new pages in Blazer and slowly start upgrading existing MVC pages to Blazer one by one as I have time.
So the problem is that the home page is a MVC page, but the second I add Blazer server side to it, it kinda hijacks that home page. So immediately after logging on users are taken to / which shows the 'Not found there's nothing here!'. Clearly this is also a terrible user experience. Hence I wanted to redirect them to a MVC page.
UPDATE
Finally figured out that its _Host.cshtml that was hijacking the "/" route. So I managed to solve the problem by commenting out @page "/" inside of _Host.cshtml. I previously tried commenting out endpoints.MapFallbackToPage("/_Host") but that didn't prevent _Host.cshtml responding to '/' and they would still see the 'There's nothing here!' as the home page.


Add unit tests to our components.

We need to define which library we will use to perform unit tests in our project, below I offer some options:

Jest
React Testing Library / Testing Library
Enzyme
Cypress

All are excellent options, but it would be good to work with a library in which we both have experience. I propose a mix between Jest and React Testing Library as, in my opinion, it is the perfect combination for testing components after rendering them.

I have already started writing the integration testing for a gateway with a synpress wrapper around cypress which takes care of onboarding MetaMask.
https://github.com/bobanetwork/boba/tree/feat/gateway-integration-tests.
I am just waiting on this to get the gateway 2.5 designs changes ready so we reduce duplicated work and meanwhile improve the gateway.

Closing, issues and we will address it separate with respective to feature or task we are working.


Example using vmap/pmap from Jax?

I've written a custom Jax training loop, but unfortunately my script doesn't seem to be using very much GPU-memory. I've tried increasing the batch_size, but unfortunately that doesn't seem to make much difference. Hence I thought I'd try to increase the throughput with something like vmap or run some models in parallel (where applicable) with something like pmap (or even like flax.linen.vmap().
Are there any examples regarding how to do this? I've come across this guide, but this only appears to be for multiple devices.
I might be misunderstanding my problem, but many thanks for any help! :)

Can you provide a minimal example?

I'm trying to reproduce SAC with Keras Core Jax, and I'm following another example and am struggling to re-create the following vmap:  https://github.com/vwxyzjn/cleanrl/blob/bbec22d1b60f54903ffaf4993df443f9001d0951/cleanrl/sac_continuous_action_jax.py#L128-L139

You should be able to use vmap and pmap flawlessly in Keras 3. If you can share the code you have written, I can provide some suggestions on how to do it

Hi @AakashKumarNain, many thanks for your help, I really appreciate it.
Regarding a code example, to learn about Keras Core + Jax, I thought I'd have a go at recreating this Flax SAC example, here is my attempt.
The code is still a work in progress, but I've struggled to recreate these lines (and instead just running the 2 Qnetworks sequentially), so if you are able to help with this this would be very helpful thanks.

[I'm also struggling to recreate this network, my attempt is here.]

I've tried to create a minimal example of the thing I'm trying achieve - essentially I'm not sure how to stack and map over Keras 3 variables/models:
import os
from typing import Iterable

os.environ["KERAS_BACKEND"] = "jax"
import keras_core as keras
import jax
import jax.numpy as jnp

x = keras.ops.ones((2, 1))
inputs = keras.Input(shape=(1,))
outputs = keras.layers.Dense(1)(inputs)
model1 = keras.Model(inputs, outputs)
model2 = keras.Model(inputs, outputs)

# HOW STACK MODELS TO MAP OVER?
trainables = [model1.trainable_variables, model2.trainable_variables]
non_trainables = [model1.non_trainable_variables, model2.non_trainable_variables]

# THESE FAIL (arbitrarily use `model1.stateless_call`)
jax.vmap(model1.stateless_call, in_axes=(0, 0, None))(trainables, non_trainables, x)
jax.tree_util.tree_map(model1.stateless_call, trainables, non_trainables, jnp.stack([x, x]))

Thanks for the code examples. I wasn't able to dig into the first code. For the last code, here is how I ran the stateless call via vmap.
def build_model():
    inputs = layers.Input(shape=(1,), batch_size=2)
    x = layers.Dense(64, activation="relu")(inputs)
    x = layers.Dense(1)(x)
    model = Model(inputs, x, name="useless_model")
    return model

keras.backend.clear_session()
model = build_model()
model.summary()

trainable_vars = model.trainable_variables
non_trainable_vars = model.non_trainable_variables
inputs = jnp.array(np.random.rand(2, 1).astype(np.float32))

vmapped = jax.vmap(model.stateless_call, in_axes=(None, None, 0), out_axes=(0, None))
out = vmapped(trainable_vars, non_trainable_vars, inputs)

## output:
## (Array([[[-0.00094579]],
##
##        [[-0.00088299]]], dtype=float32),
## [])

PS: IMO you are approaching the problem in a wrong fashion though. If I were in your place, I would rather vmap the function that is computationally expensive, and will keep everything else as it is.

Thanks very much for the example and your help @AakashKumarNain. What I'm trying to achieve is running 2 different sets of model weights through the same model structure in parallel, e.g. something like (but this doesn't work):
trainables = [model1.trainable_variables, model2.trainable_variables]
non_trainables = [model1.non_trainable_variables, model2.non_trainable_variables]
jax.vmap(model.stateless_call, in_axes=(0, 0, None))(trainables, non_trainables, x)

# this produced the error:
ValueError: Argument `non_trainable_variables` must be a list of tensors corresponding 1:1 to Functional().non_trainable_variables. Received list with length 2, but expected 0 variables.

I think I'm creating the Jax container/Pytree incorrectly, not sure if I need to stack them in some other way?


Add a note about 2D-collisions in different canvases to documentation

Describe current behavior of collisions between objects in different canvases in documentation of CollisionObject2D.
fix documentation part of #58514.

Thanks!

Cherry-picked for 3.5.

Cherry-picked for 3.4.5.


Use of AngularJS markup in URL-valued attribute

What does this PR (Pull Request) do?
Using AngularJS markup in an HTML attribute that references a URL (such as 'href' or 'src') may cause the browser to send a request with an invalid URL.

Can one of the admins verify this patch?


Failing tests

I compiled master and run mix test, got those errors:
  1) test find hint (Mongo.Cursor.Test)
     test/mongo_cursor_test.exs:34
     Assertion with == failed
     code: "BtreeCursor tst_value" == ctx[:anycoll] |> Mongo.Collection.find() |> Mongo.Find.hint(%{value: true}) |> Mongo.Find.explain() |> Map.get(:cursor)
     lhs:  "BtreeCursor tst_value"
     rhs:  nil
     stacktrace:
       test/mongo_cursor_test.exs:36

  2) test explain (Mongo.Cursor.Test)
     test/mongo_cursor_test.exs:30
     Expected truthy, got false
     code: ctx[:anycoll] |> Mongo.Collection.find() |> Mongo.Find.explain() |> Map.has_key?(:cursor)
     stacktrace:
       test/mongo_cursor_test.exs:31

I'm not sure what is the reason for this. May it be MongoDB version? I  have 3.0.3

I tested this library only on MongoDB v2.6.5


Handle BOA_ADD_OFFSETi

As noted in Copernicus Sentinel-2: Major Products Upgrade Upcoming the dynamic range of the L2A data will be shifted by a band-dependent constant called BOA_ADD_OFFSET given in the XML metadata file, and these may vary per-scene-and-date.
After the change the L2A Bottom of Atmosphere (BOA) reflectance (L2A_BOA) will need to be retrieved from the output radiometry using:
L2A_BOAi = (L2A_DNi + BOA_ADD_OFFSETi) / QUANTIFICATION_VALUEi
Links to https://github.com/cirrus-geo/cirrus-earth-search/issues/8 as the metadata will now be critical for use of the data.

New scenes being generated now have the BOA_ADD_OFFSET applied, and a new Item property sentinel:boa_offset_applied has been added, set to True for all new scenes with the offset.
Also note that just before Jan 25th when the baseline was updated to 04.00, we also added an Item property sentinel:processing_baseline to indicate the version so we can tell which scenes will need to be reprocessed to apply the offset.
I'm keeping this issue open until the updates have been to the scenes since Jan 25th that need to be reprocessed.

Just a clarification: in some cases, the Item property  sentinel:processing_baseline is present, but not sentinel:boa_offset_applied.
Here is an example: https://earth-search.aws.element84.com/v0/collections/sentinel-s2-l2a-cogs/items/S2A_32TQM_20220204_0_L2A
In situations like the one I've just reported, is the offset applied or not?
Many thanks in advance for the support.

Dear @aleny91, this is also linked to https://github.com/cirrus-geo/cirrus-earth-search/issues/26.

v0 is no longer supported, v1 data has the boa_offset_applied flag, see: https://earth-search.aws.element84.com/v1/collections/sentinel-2-l2a/items/S2A_32TQM_20220204_0_L2A . We would have expected to apply the offset to all v1 Sentinel 2 data where the processing_baseline=4.00, but the boa_offset_applied flag is false in that link above and for a fair amount of the metadata. We will look into it.

This work is captured in our JIRA. Closing for good housekeeping.

v0 is no longer supported, v1 data has the boa_offset_applied flag, see: https://earth-search.aws.element84.com/v1/collections/sentinel-2-l2a/items/S2A_32TQM_20220204_0_L2A . We would have expected to apply the offset to all v1 Sentinel 2 data where the processing_baseline=4.00, but the boa_offset_applied flag is false in that link above and for a fair amount of the metadata. We will look into it.

Hi @fungjj92 !
Could you please explain what "v0 is no longer supported" acually means?

is there a end of lifetime for the currently running service? Maybe I missed an announcement?
is still data being updated in the STAC for v0 as new S2 scenes are ingested into the AWS Bucket?
maybe this "just" means, that the STAC v0 is no longer technically updated anymore but still has current S2 data?

Best regards,
Johannes


Update web1 twitter and website text

Right now web1, unlike web2 which uses icons for Twitter and Molly's website link, just uses the text "Twitter and Website". This is a problem because it is the only difference in the intro banner.

I'm looking at the code trying to find the file to change, but it looks like all the .html files have been removed and replaced with .js files, likely due to the Next.js migration mentioned in #47

If I just take the HTML used on web2 and paste it into web1, it works:

Huh, this is weird. There is a deliberate check for web1 for some reason at https://github.com/molly/web3-is-going-great/blob/main/src/components/timeline/Header.js#L69
@molly Any thoughts? I'm not sure why this was done as it seems to work fine with the icons, even with JS off

Oh, I thought I'd removed that. Yeah, there's some weirdness with the icons when running the project locally that isn't actually an issue with the live site, but until I realized that I was working around it. I'll patch it up.


store claims values as encoded json list

this is attempt at fixing #5 for user claims. roles could follow the same approach.
i've left claim type as is.
to allow multiple claims with the same type i've changed the way we use the claim values column.
instead of a bare string containing the claim value, it now contains a json encoded array of 1 or more claim values.
the user store's scan method has had to change to do in-memory filtering to cope.

Given a quick look it looks OK. Will test in in few days.
Do you wish to do the same for roles?

By the way, is there any point why you didn't consider to write a converter for ClaimValues?


Shipwright Contributor guide is basic

Extend on this, it helps future contributors.

@qu1queee We should dive into the Contributor Experience materials that the CNCF publishes, to find specific areas that need additional context/content.


Submit a defense result

Hongyang Zhang (CMU) & Xin Li (Lehigh Univ.) are submitting a defense result for the warm-up on the Bird or Bicycle dataset.

Do you have a name for the defense you want us to put down?


Fix buildStackProject in nix-build

Motivation for this change
It seems that haskell.lib.buildStackProject never really worked for nix-build, as it wouldn't have even had stack in the PATH. The primary usage of buildStackProject has always been to provide a nix-shell environment that Stack can use for its nix integration, but I see no reason that it can't also be used to perform a Stack build in Nix.
This PR adds stack to the buildInputs, and correctly passes the arguments it expects when used with nix integration. The behavior in nix-shell is unchanged, thus leaving the user interface for stack's nix integration the same.
EDIT: I also removed preferLocalBuild from the resulting derivation. It is unclear to me why that was there in the first place. If we ever create a top level package in all-packages using this, would we not want that cached? I suspect it was that way because nix-build didn't previously matter for these derivations.
Things done

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

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

Ping @mboes

I think that's selling Stack a little short. Certainly it's intention is to be a production tool, not just a dev tool. It is quite often used to build production deployments with it. The whole selling point is that it makes build reproducible. The only significant source of actual nondeterminism that I can think of is the ability to specify a branch for a git-based extra-dep instead of a revision. But that's generally considered bad practice.
I understand that there are significantly more points of failure (in terms of reproducibility) with anything as heavily networked as Stack, but I do believe that nondeterministic builds are the outlier with it. I don't consider it worse than the other common forms of nondeterminism in Nix, like builtins.fetchTarball.
Granted, I'm a bit biased, as I don't even use Stack this way exactly. I do nutty stuff like this:
{ }:

let
  nixpkgs = import ./nixpkgs {};
in nixpkgs.haskell.lib.buildStackProject {
  ghc = nixpkgs.haskellPackages.ghcWithPackages ...; # Not the GHC given by stack!
  ...
}

The nice thing about this is that I set the resolver to ghcXXX, which is a resolver with zero packages included, and Stack will just use the packages selected by my Nix expression since they're effectively baked into the GHC. This makes the nix-build more like a normal Haskell derivation, and I get the nice developer experience with the Stack CLI.

LGTM. Except for the preferLocalBuild thing, which to me looks orthogonal to the other changes, and could be discussed separately. cc @YPares

@mboes @peti @domenkozar I've removed the preferLocalBuild thing. Will open a separate PR for discussion on that particular topic. Does this look good to go?

LGTM

Can we merge this please?

Thanks!

Is it normal that stack need to download build plan every time I call nix-buildeven there is nothing change and the last build was success?

@wizzup Yea. Having the ability to use this with nix-build is nice, but it's not super user friendly. We could resolve this by making the STACK_ROOT a derivation of its own, such that it only has to be rebuilt when the stack.yaml changes. In fact, we could even then let nix check parts of that derivation against a hash to help reassure the purity of it.

I am fine with dropping in nix-shell and run stack build while making changes.


Updates and corrections to the HALO cloudmask book chapter

The plots from the cloud mask chapter shall be part of the EUREC4A HALO ESSD paper (in preparation). From an internal review among the co-authors a few suggestions were made that lead to an update here. The main points were:

we added a VELOX brightness temperature image to the case study plot on Feb 5.
for the same figure, the VELOX cloud flag was based on the central 10x10 pixels and was extended to 11x11 pixels (~0.57°) to better match the specMACS (central 0.6°) and radar footprints.
the time series plot had a bug in the errorbar calculation that was fixed
campaign mean averages shall cover only local research flights
further clean up and improvements

Thanks @JuleRadtke! I addressed all your comments and especially changed consistently "cloud fraction" to "cloud cover". Tha was a good point.


Must order bespoke-classes before bespoke-scale

When using the bower versions of bespoke plugins, the order of plugins becomes important. If you specify bespoke-scale before bespoke-classes scaling won't work. e.g.
bespoke.from('article', [
    bespoke.plugins.bullets('li, .bullet'),
    bespoke.plugins.backdrop(),
    bespoke.plugins.scale(),
    bespoke.plugins.hash(),
    bespoke.plugins.progress(),
    bespoke.plugins.classes(),
    bespoke.plugins.state(),
    bespoke.plugins.keys(),
    bespoke.plugins.touch()
]);

won't work but this will:
bespoke.from('article', [
    bespoke.plugins.classes(),
    bespoke.plugins.bullets('li, .bullet'),
    bespoke.plugins.backdrop(),
    bespoke.plugins.scale(),
    bespoke.plugins.hash(),
    bespoke.plugins.progress(),
    bespoke.plugins.state(),
    bespoke.plugins.keys(),
    bespoke.plugins.touch()
]);

The examples in the README show the plugins applied in the working order (i.e., classes() before all other plugins). Perhaps this point just needs to called out in the README (and perhaps in the description of the classes plugin).
It makes sense why this is the case. The classes plugin provides critical foundation that many other plugins rely on. In fact, in some ways, the classes plugin is an extension of core. I agree it should be a plugin in order to ensure maximum flexibility and reusability of bespoke.js, but it's reasonable to emphasize just how important this plugin is to the ecosystem.

+1 The documentation needs to explain that.


New redo command: redo-env

While depending on environmental variables is by no means difficult at the moment, it can certainly be cumbersome. An alternative would be to create a new command, redo-env, that would expect environment variables as arguments and hash over their contents. If the hash changes between subsequent redo runs the target would be considered out-of-date.
Example:
redo-env CC

printf '%s' $CC | redo-stamp

does basically the same. It's probably not worth introducing a new command to do the same.


Write tests for message class properties

Split into MessageTest and OfflineMessageTest.
Keep an eye on message:ToRecipients, message:CcRecipients, message:BccRecipients, message:ReplyTo.
Especially, appending to and replacing (better emptying) a list.

Add all remaining/missing message properties. For example, <IsRead/> property: see commit 2334555b, changed files tests/test_messages.cpp and include/ews/ews.hpp

Mostly done with f9e15fc.


Compiling... indication on the extension

Hacked it for until https://github.com/ebkalderon/tower-lsp/issues/381 is ready


Archive awesome-tosca repository

Signed-off-by: Christian Berendt<EMAIL_ADDRESS>

I think we will not need it anymore in the future.

Agreed.


[Proposal] Support fetching rows from result set

When loading a HUGE number of results, it isn't convenient to load all the results into the memory, and then iterate through them.
AFAIK, the framework only supports retrieving database results using PDO's fetchAll method, which loads the entire result set into the memory.
The proposal here is to implement PDO's fetch method, calling fetch instead of get method to iterate through the result set.
Example: Loading entire result set:
$results = DB::table('users')->get();
foreach($results as $user) {
  // all the results are already loaded, we're just iterating through...
}

Proposal: Fetching a row at a time:
$table = DB::table('users');
foreach($table->fetch() as $user) {
  // load a result at a time into the memory
}

What are your thoughts?

I need to import data from an old system (about 2 millions of rows) and a fetch() method would be useful and the right way to do it. It's a big problem put all the results in an array.

Try using the chunk method.
On Friday, January 30, 2015, Alisson R. Perez<EMAIL_ADDRESS>wrote:

I need to import data from an old system (about 2 millions of rows) and a
fetch() method would be useful and the right way to do it. It's a big
problem put all the results in an array.
—
Reply to this email directly or view it on GitHub
https://github.com/laravel/framework/issues/2152#issuecomment-72299518.

It's a good option, but I'm using mysql and on of my queries takes about 15 minutes (subqueries, unions, etc..), and when we'll migrate the system the time is precious, we have a small gap to down old system, import and up the new. Make the same query a lot of times is not a good and a right implementation. Iterate the results with is the right way, not put all of them in an array.

I also agree that the correct implementation uses database cursors and iterators, that's what they're created for, also PDO itself uses eager loading by default, and it's important to set PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute to false when dealing with huge amounts of data.
I couldn't agree more with @csiszarattila  and @endel, and I think the issue was closed prematurely because of the chunk() issues already discussed here..
I also daresay that the @mattcabot approach is likely to be less disruptive, easier to implement, and will probably cover the most important use cases, after all, it's not Eloquent's day to day function to deal with data migrations and millions of rows.
Thoughts anyone?

I posted a gist with my solution, it has been working well for us, perhaps it will work for you as well:
https://gist.github.com/mattyo161/07f4de6479621ea7e194

Yes, I can't use chunk() because it issues a different query for each chunk, and therefore takes too long.
Instead, in these situations, I do something like this:
$query = DB::table('users')->where('name', 'John');  //Pretend this is a huge data set

$statement = $query->getConnection()->getPdo()->prepare($query->toSql());
$statement->execute($query->getBindings());

while ($record = $statement->fetch(PDO::FETCH_ASSOC)) {
    //Do whatever you want, one row at a time
}

It would be very nice to have this built into Eloquent/Fluent somewhere.

+1 @sblawrie

Just a slight variation of @sblawrie 's solution but using builder.
$query = $some_model->users();
$statement = DB::Connection()->getPdo()->prepare($query->toSql());
$statement->execute($query->getBindings());
while ($record = $statement->fetch(PDO::FETCH_ASSOC)) {
  $some_user = new User();
  $some_user->setRawAttributes($record);
}

Then you have a User model that you can use as normal, but with a cursor for the query.

+1 @jeremyfrench

@sblawrie You save my day. Thank you

Running @sblawrie's snippet, I was running into out of memory problems in some cases. This can be circumvented by switching off buffering for the query. (See: http://php.net/manual/en/mysqlinfo.concepts.buffering.php)
The code then becomes:
$query = DB::table('users')->where('name', 'John');  //Pretend this is a huge data set
DB::connection()->getPdo()->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, false);
$statement = $query->getConnection()->getPdo()->prepare($query->toSql());
$statement->execute($query->getBindings());
while ($record = $statement->fetch(PDO::FETCH_ASSOC)) {
    // Do whatever you want, one row at a time
}

This issue should definitely be reopened.

Hi
Did this ever get taken further? I am running into the same issue that loading very large numbers of results into memory causes the application to run out of memory. I've tried chunk but as others have mentioned this just splits the one query into multiple queries.
Thanks,
James

@jamesryanbell I might be wrong but I think the cursor method (scroll past chunk) might be something that gets results out one at a time. The docs don't explain exactly what it does but it comes after chunk and says that is saves a lot of memory so it's probably what this thread is looking for.

@alexrussell perfect thanks

@alexrussell not sure if I'm doing something wrong but when I use the cursor method, the memory is still very high when operating on hundreds of thousands of rows.

@rickshawhobo see mine and @auxbuss's comments above

Thanks @sblawrie . So I guess the cursor solution isn't a solution. Wonder if they'll ever address this issue.

Hello there, since this was a topic 2 years ago and closed, can I assume that @taylorotwell perhaps has no intentions of supporting this on Laravel?


I'm using ffmpeg5.1+openh264-2.3.0 to create a SVC video, but ffplay can't play encoded video.

I'm add some code to enable multi spatial layer before InitializeExt(s->encoder, &param) in libopenh264enc.c ,  if not add this code , it's can play, but has't multi spatial layer:

	param.sSpatialLayers[0].uiProfileIdc = PRO_BASELINE;
	param.iSpatialLayerNum++;
	param.sSpatialLayers[1] = param.sSpatialLayers[0];
	param.sSpatialLayers[1].uiProfileIdc = PRO_SCALABLE_BASELINE;
	// param.sSpatialLayers[0].iSpatialBitrate = 50 * 1024 * 8;
	// param.sSpatialLayers[0].iVideoWidth /= 2;
	// param.sSpatialLayers[0].iVideoHeight /= 2;
	// param.sSpatialLayers[0].iSpatialBitrate = 50 * 1024 * 8;
	param.iTargetBitrate += param.sSpatialLayers[0].iSpatialBitrate;

ffmpeg original source code: original source

this is encode command and output:

>  ./build/ffplay ../test/out.mp4 -vcodec libopenh264  -loglevel 564

output log link

this is ffplay command and output:

>  ./build/ffplay ../test/out.mp4 -vcodec libopenh264  -loglevel 564

output log link

Openh264 decoder can support only one-layer decoding rather than multi-layer bitstream from very early start. There needs to be an additional extractor to get one specific layer to make it work.


[SPARK-41154][SQL] Incorrect relation caching for queries with time travel spec

What changes were proposed in this pull request?

Add TimeTravelSpec to the key of relation cache in AnalysisContext.
Why are the changes needed?

Correct the relation resolution for the same table but different TimeTravelSpec.
Does this PR introduce any user-facing change?

yes, bug fix
How was this patch tested?

add test

cc @cloud-fan @huaxingao

there is another cache in SessionCatalog.tableRelationCache, shall we update it as well?

SessionCatalog is used for v1 catalog (i.e. hive), I do not think that supports time travel

LGTM. Thanks for fixing this! @ulysses-you

thanks, merging to master/3.3!

Oh wait a minute. Due to the spark catalog extension (set via spark.sql.catalog.spark_catalog), we can have tables supporting time travel in the v1 catalog as well. I think SessionCatalog.tableRelationCache also need a fix

thanks, merging to master/3.3!

it has conflicts with 3.3, @ulysses-you can you create a backport PR? thanks!

thank you all, created https://github.com/apache/spark/pull/38741 for branch-3.3


TypeError: Cannot read property 'xAxis' of undefined

I'm using the ReactHighstock component, I get "Uncaught TypeError: Cannot read property 'xAxis' of undefined" on render.  Highcharts module version was 4.2.5, I downgraded to 4.2.4 and it worked fine.

Seems like Highcharts bug then?

Feel free to reopen


wasm-client: bump lightning terminal

This PR bumps the lightning-terminal version for the wasm-client.
We also add new features of that's been added to the lightning-terminal dependency since v0.10.X-alpha. Mainly subserver permissions have been added, and the inclusion of the taproot-assets cli, which we've added support for in the LNC WASM client example.
This PR currently uses a forked version on lightning-terminal, until a PR with the required change to the litclient Registrations have been merged.
Happy to address any feedback :)!

nice one @ViktorTigerstrom ! Can you open the other dependent PRs pls? the taro & lit one?

The taproot-assets PR wasn't needed actually, but will open the lightning-terminal one @ellemouton!

Updated the PR to use the latest version of the lightning-terminal branch now that the the required taproot-assets fix has been merged :rocket:!
I also included a commit aac8c8419fe33404fbd195a9c676f7fd88f82172 that replaces the protobuf dependency with
the google.golang.org version, as I got warnings that the old version was deprecated.
I didn't replace it with our own forked version though (github.com/lightninglabs/protobuf-go-hex-display), as it currently isn't required to make the WASM client function.
If you think I should fixup this commit with the first mod commit, or that I should use our own forked version, let me know and I'll fix that :)!

nice! I think you can keep the commit that removes the deprecated version :) and no I dont think we need replace it with protobuf-go-hex-display if it is not yet used here


resolve formulas in manifest and metadata files

For example
"=CONCATENATE(\"Image derived from \",A2,\".tif in primary folder. Converted to .jp2 with MicroFile+ (SCR_018724) from MBF Bioscience. Microscopy metadata included in the file header.\")"

package:ee50563e-4230-4ce0-8ae0-9c03d04ef464/files/1191473
dataset:f1f7598c-ab36-4cff-95a2-85917e951407

more likely we need to issue an error in this case and ask people to materialize these once they have been computed


Cannot redefine property: create when using react-canvas-confetti in nextjs 14 app router

Just use the component in Nextjs and it will cause the TypeError right away.
Next 14.03
React 18.2
using client component, even with true client hack (setting state variable on useEffect mount).

Tried non react version and it seems like the error appears on a hot reload, on a first build it doesnt give this error but after changing something in a component and making it reload, then the error appears

Show the code example, please.

`ts
'use client';
import Realistic from 'react-canvas-confetti/dist/presets/realistic';
export default function Confetti() {
return <Realistic autorun={{ speed: 0.3, duration: 3 }} />;
}
`
its just like that, the simplest thing i can do and it causes the error every page reload, like the create function already exist, its not cleaned up properly or something

and just to note it, if you run the next application with start command it wont show cause it build once and then its all fine so at least its still useful in a production environment but causes a lot of error logs every time a page reloads in dev mode