dependency injection with a constructor that has a bool parameter with a default value of false gets changed to true automatically on third time

Describe the bug
if you create a scoped service and in the constructor you have a bool parameter with a default value of false. When the constructor is called the third time the value of the the parameter becomes true. I would expect it to always be false.
To Reproduce
Steps to reproduce the behavior:
Using Visual Studio 2019
Create a new project and select Asp.Net core Web application and click next
Give project a new name and click create
Select API and ensure the options at top are .NET Core and ASP.NET Core 3.0
Create an interface  like
public interface ITestService
{
    void Test();
}

create a class like
public class TestService : ITestService
{
    public TestService(bool test = false)
    {
        var Test = test;
        if (Test)
            throw new Exception("This is an error");
    }
    public void Test()
    {
        return;
    }
}

In startup.cs add a scoped service
services.AddScoped<ITestService, TestService>();
Call the service method eg from weather forecast controller:
[ApiController]
[Route("[controller]")]
public class WeatherForecastController : ControllerBase
{
    private readonly ITestService _testService;
    private static readonly string[] Summaries = new[]
    {
        "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching"
    };

    private readonly ILogger<WeatherForecastController> _logger;

    public WeatherForecastController(ILogger<WeatherForecastController> logger, ITestService testService)
    {
        _logger = logger;
        _testService = testService;
    }

    [HttpGet]
    public IEnumerable<WeatherForecast> Get()
    {
        _testService.Test();
        var rng = new Random();
        return Enumerable.Range(1, 5).Select(index => new WeatherForecast
        {
            Date = DateTime.Now.AddDays(index),
            TemperatureC = rng.Next(-20, 55),
            Summary = Summaries[rng.Next(Summaries.Length)]
        })
        .ToArray();
    }
}`

Error is thrown from service constructor on the third attempt at calling method.
Expected behavior
I would expect that on the third time and all subsequent time that the value would remain false unless explicitly changed. This unexpected behaviour did not occur using .NET Core 2.2

just noticed this is a duplicate of #2431


Add helper for argument validation

Each Cake addin requires some kind of argument validation (or at least should :). Instead of having to implement this in every addin it would be nice if this could be provided for common cases (null check, empty string check, ...) by Cake.Core.

This could also be helpful Cake internally to simplify argument checking, like its eg done here.
If this is of interest I can provide a PR for a class similar to the one which we use in the Cake.Prca Addin.

@pascalberger I would have no objection to this.
@cake-build/cake-team thoughts?

This sounds pretty awesome if it make it easier.  It is a common pattern in every addin.

I agree, this would be great. There's already several argument validation frameworks - I wonder if any of them have source-only NuGet packages...

Agreed that it would be good to centralise this (few other candidates for that) 👍
@daveaglick I've used Ensure.That from @danielwertheim before, but looks like the source-only version hasn't gotten the latest updates yet..

Agreed!
But instead of signature void Check<T>(T...) I would rather see T Check<T>(T...). Then you could write checks like
_foo = Check.NotNull(foo);

I personally think ASP.NET team have a quite decent boilerplate here which I have used from time to time.

Additional reason to centralise this I just noticed: the Cake.Prca validation examples @pascalberger linked to currently show up on just about every type in the documentation, which could be a bit misleading..

I like the link @mholo65 posted.

OK, I'll create a PR containing a class based on the ASP.NET boilerplate.

@pascalberger Just make sure to attribute ASP.NET project in your code.

Since there's currently only interest for aliases providing argument checking but not also for a public class which can be consumed in addins, I'll leave this to someone else for implementing (or there is also already an implementation for such aliases in Cake.Incubator).

Adding Up-for-grabs on this one.
This is what we thought of:

Add internal static class for argument checking. You could use this and attribute ASP.NET team in the comments. This file should be sourced in every project (<Compile Include="..\Shared\Check.cs" />)
Change argument checking to use new approach. E.g. change this:

if (foo == null)
{
    throw new ArgumentNullException(nameof(foo));
}
_foo = foo;

to:
_foo = Check.NotNull(nameof(foo));

@mholo65 Perhaps we should reserve this one for https://yourfirstpr.github.io/? I could do the mentoring.

@patriksvensson sounds good to me!

@patriksvensson I'd be interested in trying this out

@bookman220 Great! Do you want any help to get started or do you want to give it a shot yourself?

@patriksvensson I'll probably need some help but let me figure out how to build this thing first.

@patriksvensson @bookman220 I don't want to step on anyone's toes, I'm interested in trying this out if it is still up for grabs. This would be my first time contributing to open source.

@sarithsutha @patriksvensson I do apologize for taking so long. I do think I may need some guidance however. Do I just open up the solution file in visual studio and compile it from there? If I haven't fixed the big within the next week you may take it sarithsutha

@bookman220 thanks for your response. No rush, take your time, I don't mind waiting. I use Visual Studio 2017, I was able to just open the solution and compile it from there. And with VS code I was able to build using the Cake addin.

@sarithsutha It appears I am having some trouble building the project. Apologies for needing such basic advice but I am new to Visual Studio and C#.  It appears a fair amount of the solution failed to load and when I go to Build it just has the option to run a code analysis on the solution, which I did and you can see the output. Can you give me some pointers as to where to go from here?

@bookman220 There seems to be problems loading the different projects according to the screenshot.
The following prerequisites need to be installed:

Visual Studio 2017 (https://www.visualstudio.com/vs/)
.NET Core SDK 1.0.4 or later (https://www.microsoft.com/net/download/core)

The build.cake file is only used to build the project from command line. When the project is loading correctly in Visual Studio, you should be able to build everything from the Build menu.

@patriksvensson I'd like to take a try on this one.

What I'm planning to do :

Add folder called 'Shared' in the solution directory.
Add 'Check.cs' inside that folder.
Modify each csproj file to include

<ItemGroup>
    <Compile Include="..\Shared\Check.cs" />
</ItemGroup>

The namespace for it  Cake.Shared
I saw the link from ASP.NET team but I feel it is more complicated than it should be and I was thinking of something along the following

public static T NotNull<T>(T o, string message = null)
            {
            if (o == null)
                {
                throw new ArgumentNullException(message ?? $"{nameof(o)} cannot be null");
                }
            return o;
            }

Thoughts?

As a developer, it would be preferable to more correctly support parameter names; nameof(o) is not going to be semantically useful in the exception that's thrown.
Reference:
https://msdn.microsoft.com/en-us/library/k8a0dfcy(v=vs.110).aspx
Consider something like this, or overloads that would support the same..
T NotNull<T>(T item, string parameterName, string message = null)  { .... }

So that the calling convention would be more akin to
public SomeConstructor(object arg)
{
    _fieldName = ValidationHelperClassName.NotNull(arg, nameof(arg));
    ....

@micheleissa This is still assigned to @bookman220.
@bookman220 Are you still working on this?

@kcamp
What would you use parameterName for ?
in the case someone passes 'bogus' as the parameterName and it is used in the exception message the result will not be accurate in my opinion.

@micheleissa What @kcamp means is that nameof(o) will always print o. It will never used the original parameter name.

@patriksvensson gotcha. Silly me!

So are you supposed to wait for a response from 'bookman220'

@micheleissa let’s give him/her a couple of days to respond before reassigning it.

sounds good.

@patriksvensson @micheleissa Again I apologize for being so obtuse, but to be honest I am a little disheartened by how flummoxed I am by the environment, which is why it has taken me so long. I work with Javascript scripts in my day job and have debugged compilation errors in C# to get a game running using the Unity game engine, but for some reason I'm finding myself staring slack jawed at this even though it should be simple. At anry rate when I try to build it just says run code analysis on solution, and then in the output below it's all zeros:

By the way I downloaded the .NET 2.0 SDK and I already had Visual Studio 2017, though it updated me to the latest version when I ran the installer.

As you can see from my other solution for the games, I'm having no trouble there:

Apologies for forgetting to crop out the second screen by the way.

@bookman220 What happens when you run the build [via Cake] from Powershell?
c:\git\cake > .\build.ps1

Here's the error I get:

@kcamp @patriksvensson Do you guys have any suggestions?

@bookman220 You seem to have a custom nuget source pointing at myget-2e16-kxcdn.com. Have you removed the default nuget source?

@patriksvensson I would have done no such thing intentionally. Any tips on how I might restore the default one?

Maybe find the config file that is overriding the defaults? https://docs.microsoft.com/en-us/nuget/consume-packages/configuring-nuget-behavior#config-file-locations-and-uses

@qpooqp Did you tackle this one?

To be honest i forgot about this one.
But i will try to do it ASAP.

@patriksvensson I have installed the NuGet Package Manager and am trying to see if "Sync-Package" would fix the issue. Do you know what value I should supply for the "Id" parameter here?

@bookman220 I’m afraod that I have no clue what sync-packages does.
If you’re trying to restore packages for the solution it should be enough to do a rebuild.

@patriksvensson When I go to "Build" I only see "Run Code Analysis on Solution" and when I select that I get "========== Rebuild All: 0 succeeded, 0 failed, 0 skipped =========="

@bookman220 I have no idea why that occurs to you.
Just to double check, do you open ./src/Cake.sln or did you open something else?
What version of Visual Studio are you using? The latest VS2017 version is recommended.

@patriksvensson

Yes, I'm opening ./src/Cake.sln:

I had been running a slightly older version (14 something) but now I'm all caught up and have the same issue:

You'll need the .NET Core sdk bits too.

@devlead Ok now I have the 4.7.2 .NET SDK (added the targeting pack for good measure):

One time when I opened it an alert box popped up saying "One or more projects in this solution did not load correctly. See Output for more information", however I cannot reproduce this behavior. Here's what I'm seeing when I open the solution:

@patriksvensson I happened to be reading an article on Docker containers and I wondered if that could help people with creating an environment in which myself and others could build the app: https://www.sumologic.com/blog/devops/kubernetes-vs-docker/

Hey is this one done?
@pascalberger posted AssertExtensions.cs link, which seems to contain the said assertion functions. Still asking cause the issue is open at the moment.


Allow different sdk.dir property for the remote machine

My remote machine skd path is different than my local one.
I would like to be able to set the remote sdk path separately so my local machine will still work as intended.
For version 1.1.1 I passed the sdk path as an argument 'ANDROID_HOME=path/to/sdk'
Since 1.1.2 this workaround no longer work

mainframer does not know about sdk.dir.
How do you download mainframer.sh to include it into your project? I believe you've downloaded it right from master branch where we have unreleased version.

I did download the mainframer.sh from the master branch. I see now that the release one is different.
Personally, I would keep the master aligned with the release and branch out for development

We'll rename master to dev 😸 to avoid confusion.
We have download instructions in README, please follow them!


AM2R lags on certain effects.

On certain effects, AM2R lags immensely, crawling down to 15-5fps, depending on the condition.
This has been tested on AM2R 1.5.2, but will have slightly stronger results with Another Memetroid 2 Remake, due to it having custom palettes.
This mostly happens when placing a Powerbomb near enemies (the more enemies are hit / die by it, the slower the game runs), powerbombing the Tester bossfight, being in the Serris bossfight, or when a Gamma Metroid dies.
Here is a Save file to test out scenario 1 very quickly. Place it into WINEPREFIX/drive_c/users/USER/Local Settings/Application Data/AM2R. In-game, exit the room by going to the left, jump down a bit and go through the left door. Place a Powerbomb there.
Here are two videos showcasing it:
With DXVK:
https://cdn.discordapp.com/attachments/297940849369546752/826484233979297832/2021-03-30_17-51-19.mp4
(Mangohud was enabled here, but I confirmed the issue is not mangohud related)
With WineD3D:
https://cdn.discordapp.com/attachments/297940849369546752/826484261925290004/2021-03-30_17-52-48.mp4
Software information
AM2R 1.5.2 / the Another Memetroid 2 Remake mod.
In-game display settings: Fullscreen=disabled, window size=stretch, vsync=disabled, sensitivity mode=enabled
System information

GPU: AMD RX 570
Driver: 2.0.179 (Vulkan: 1.2.170)
Wine version: wine-6.5 (Staging)
DXVK version: d9vk-0.40.1-croakacola-zero

Apitrace file(s)
Trying to create an Apitrace on Linux crashes wine. I will edit this message later and create an apitrace from Windows.
Log files

d3d9.log: AM2R_d3d9.log

If you're launching the game from a terminal, it's worth trying out DXVK_LOG_LEVEL=none.
Had a potentially similar problem with Freelancer, where bringing up the ingame map would spam warn:  ConvertFormat: Unknown format encountered: messages and cause a temporary, but drastic, drop in framerate.

DXVK: d9vk-0.40.1-croakacola-zero
Dude that thing is ancient...

D9VK has not been used for a long time, it is already part of DXVK, it is a sooo old version

Updated DXVK, it was an outdated version issue.
Closing the issue, and sorry for any inconvenience.


Add FAQ page

Still needs styling, and link needs to be added to homepage.

@moosichu how come this is a separate page as opposed to embedding on home page?

@Pinpickle dev team descision.

Looks good!


convert pubkey to g1 for sig scheme

convert signature scheme for signatures to BLSSignatureG2
keep signature scheme for proof of knowledge (pok) the same as before BLSSignatureG1.
commented out pvss_share_verify since participant.public_key_sig is in G1 but the function expects it to be E::G2Prepared to carry out pairings.

hey @xenowits I think it's a PR to the wrong repo :)

for what it's worth, to adjust the "share verify" function you basically need to swap the positions in the pairs

for what it's worth, to adjust the "share verify" function you basically need to swap the positions in the pairs

If you could please elaborate, it would be of great help 🙏


[BUG] KeyDB 6.2.1 does not compile on macOS

Describe the bug
Building KeyDB 6.2.1 results in the following error on macOS:
clang -o luac  luac.o print.o liblua.a -lm
      CC ae.o
      CC adlist.o
      CC quicklist.o
      CC anet.o
      CC server.o
      CC dict.o
      CC sds.o
      CC zmalloc.o
      CC lzf_c.o
      CC lzf_d.o
      CC pqsort.o
      CC zipmap.o
      CC sha1.o
      CC ziplist.o
      CC release.o
      CC networking.o
      CC util.o
      CC object.o
      CC db.o
      CC replication.o
      CC rdb.o
  server.cpp:6565:9: error: use of undeclared identifier 'clock_nanosleep'
          clock_nanosleep(CLOCK_MONOTONIC, 0, &delay, NULL);
          ^
  1 error generated.
  make[1]: *** [server.o] Error 1
  make[1]: *** Waiting for unfinished jobs....
  make: *** [install] Error 2

To reproduce
Download and unpack the source for KeyDB 6.2.1, then make install PREFIX=<an arbitrary dir>.
Expected behavior
The build should succeed and KeyDB 6.2.1 should be installed to the specified prefix.
Additional information
This issue seems to stem from https://github.com/EQ-Alpha/KeyDB/commit/b03eab2a0628df157c1f6b6242bb500ca826ef45, when a usage of clock_nanosleep() was introduced in src/server.cpp, which is not available on macOS. It looks like macOS does have a nanosleep() function and a mach_wait_until() function available but it's unclear to me if either are a drop-in replacement.

Hi @alebcay,
Good catch! The problem has been fixed in commit 7a32ec39fdb738e9c3cd2b73ee18355ced793a65, by using nanosleep if we're on MacOS, and should be included in the next release.

Thanks, confirmed that the problem is fixed when building 6.2.1 with the commit you linked applied on top.

Closing this issue. Confirmed resolved in 6.2.2 and unstable branch.


Script inside SFC results in 'component is not defined' error for UMD.

Steps to reproduce

Pull hello-vue-components from GitHub
Runnpm install
Update src/HelloA.vue (see changes below)
Run npm run build
View the output ./dist/demo.html in the browser (Chrome)
Errors like the Dickens!!! (single error, screenshot below)

Change to the SFC
...
<!-- HelloA.vue -->

<script>
  export default {
    name: 'hello-a',
    data() {
      return {
        name: 'HelloA',
      }
    },
  }
</script>
...

Complete SFC
<!-- HelloA.vue -->

<template>
  <div class="hello">
   {{ name }}
  </div>
</template>

<script>
  export default {
    name: 'hello-a',
    data() {
      return {
        name: 'HelloA',
      }
    },
  }
</script>

<style>
.hello {
  color: orange;
}
</style>

<meta>
{
  "description": "A component that says \"HelloA\" with orange text."
}
</meta>

<example>
  <!-- No props or content are necessary. -->
  <hello-a></hello-a>
</example>

I think there is a problem with the file global-vue-loader.js
I'm not expert in node, but looks like it's trying to replace the export default with this
window.Vue.component('${componentName}', component.exports)
and component.exports is not defined.
I'm having the same problem.
Any guess on what to replace here?

Yeah  adding

Any solution for adding script to components ?


sys/log/full: Add "body" functions to API

This fixes #1173.
This PR adds five functions to the log API:

log_append_body
log_append_mbuf_body
log_read_hdr
log_read_body
log_read_mbuf_body
log_walk_body

The "append" functions are similar to log_append_typed and log_append_mbuf_typed.  The difference is that the provided flat buf or mbuf does not need to contain padding at the beginning for holding a log entry header.
log_read_hdr just reads the specified entry header from the log.
The "read body" functions are very similar to the existing "read" function.  The only difference is that the specified offset starts from the beginning of the message body, not the from the beginning of the entry.  That is, the user doesn't need to add LOG_ENTRY_HDR_SIZE to the offset that gets passed in.
log_walk_body is similar to log_walk, except it passes the message header and body separately to the callback.  This allows the caller to read the log message without knowing how the header is encoded.
This PR does not affect backwards compatibility.  In opinion, the new functions are less error-prone than the old ones, so it might be a good idea to deprecate some of the old functions.
There is one related change that I think should be made:

Make the append_mbuf functions compatible with flash-alignments greater than 1.

Thanks for the review, Marko.  Here are the changes I made:

Restore missing whitespace in Apache license.
Remove redundant invocation of SLIST_INIT()
Remove use of % operator.
Add /* XXX: Fix this; buffer mbuf writes to satisfy flash alignment. */ to draw attention to incomplete implementation of log_fcb_append_mbuf().

Regarding the removal of % - I made the following changes:
fcb_init():
    /* Require alignment to be a power of two.  Some code depends on this
     * assumption.
     */
    assert((fcb->f_align & (fcb->f_align - 1)) == 0);

log_fcb.c:
    /* Assume power-of-two alignment for faster modulo calculation. */
    assert((align & (align - 1)) == 0);

    mod = sizeof (struct log_entry_hdr) & (align - 1);
    if (mod == 0) {
        return 0;
    }


Fixed a warning message and updated dependencies

Fixed a warning message in Paper 1.17.1+
Changed placeholderapi repository to https(Causes compile failures in recent maven versions)
Updated dependencies

All it's working good with the pr, so will be applied thanks for the pull-request!


Automatically insert values for CLI version and script host version

From @lindydonna on December 21, 2016 21:25
Copied from original issue: Azure/azure-webjobs-sdk-script#1070

@ahmelsayed Is this already done?  The CLI seems to be printing the right host string.

Closing this as we need to update the version manually to match the milestone.

For script host, do we pull the version automatically?

You mean the value displayed in the help for the runtime version? Yes that comes from the runtime assembly itself.

Ah perfect!


Not able to get rid of "Couldn't Go to Space!", shortcuts

On macOS Sonoma [latest] I do not quite get how to set shortcuts to switch to namespace (desktop)  via the menubar of NameSpace. There's that Warning sign. I set my shortcuts acc. to the hint (btw: it is called System Settings), e.g. CTRL (^) - 1, CTRL (^) - 2, (which corresponds to the default). Assigning some other key combos did not help either...

Let's get this working for you. Did your System Settings → Keyboard → Keyboard Shortcuts... → Mission Control → Mission Control also show you a little warning sign next to the short cut you chose? In Sonoma the items are called "Switch to Desktop 1" etc. Do any of them have warning symbols next to them? If so, that'll cause the trouble you describe.
And thanks for the pointer that the location of the items have changed as of Sonoma. I'll have to add some OS-specific text for the help message.

Hi,
Thank you for your feedback and an update to fix the "wording" acc. to the
macOS version.
I never had warning(s) (signs) in the System Settings;
However, I just restarted the app, and now everything seems to be working...
No warning signs anymore in the Menu Bar.
How come? I don't know...
You can close the issue, but maybe have a look for which situations
(allow/deny
access, hot keys, etc.) this particular issue could occur.
BTW: I like the Space Folder Feature!
Cheers
On Thu, Dec 7, 2023 at 6:43 PM Jeff Biggus @.***> wrote:

Let's get this working for you. Did your System Settings → Keyboard →
Keyboard Shortcuts... → Mission Control → Mission Control also show you a
little warning sign next to the short cut you chose? In Sonoma the items
are called "Switch to Desktop 1" etc. Do any of them have warning symbols
next to them? If so, that'll cause the trouble you describe.
And thanks for the pointer that the location of the items have changed as
of Sonoma. I'll have to add some OS-specific text for the help message.
—
Reply to this email directly, view it on GitHub
https://github.com/hyperjeff/NameSpace/issues/2#issuecomment-1845811613,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACIWLMNOGCW5VMLBQQFMFJTYIH55NAVCNFSM6AAAAABAKUWSBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBVHAYTCNRRGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

Adding a new desktop, and assigning a hotkey requires Spaces to be
restarted to pick it up...
On Thu, Dec 7, 2023 at 7:29 PM Peter von Niederhäusern @.***>
wrote:

Hi,
Thank you for your feedback and an update to fix the "wording" acc. to the
macOS version.
I never had warning(s) (signs) in the System Settings;
However, I just restarted the app, and now everything seems to be
working...
No warning signs anymore in the Menu Bar.
How come? I don't know...
You can close the issue, but maybe have a look for which situations
(allow/deny
access, hot keys, etc.) this particular issue could occur.
BTW: I like the Space Folder Feature!
Cheers
On Thu, Dec 7, 2023 at 6:43 PM Jeff Biggus @.***>
wrote:

Let's get this working for you. Did your System Settings → Keyboard →
Keyboard Shortcuts... → Mission Control → Mission Control also show you a
little warning sign next to the short cut you chose? In Sonoma the items
are called "Switch to Desktop 1" etc. Do any of them have warning symbols
next to them? If so, that'll cause the trouble you describe.
And thanks for the pointer that the location of the items have changed as
of Sonoma. I'll have to add some OS-specific text for the help message.
—
Reply to this email directly, view it on GitHub
https://github.com/hyperjeff/NameSpace/issues/2#issuecomment-1845811613,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACIWLMNOGCW5VMLBQQFMFJTYIH55NAVCNFSM6AAAAABAKUWSBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBVHAYTCNRRGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

ah, great! This all gave me an excuse to fix several little things in the app.
Also, happy to hear that you like the folders!


[CHANGE ME] Re-generated to pick up changes from self.

This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/2261b6e1-0a9a-41eb-9b1c-47137de216c9/targets

[ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)

Seems like this is some non-determinism. These classes keep getting re-arranged.

Fixed by https://github.com/googleapis/gapic-generator-python/pull/836


Volumes not Being Attached on Startup of Instance

I am starting an instance on EC2 and giving an array of *BlockDeviceMapping in the RunInstancesInput. But the volumes are not being created on startup. I am using c3.xlarge with CoreOS ami. It has two volumes available. So, the device mapping is:
[
  {
    "DeviceName": "/dev/sdb",
    "VirtualName": "ephemeral0"
  },
  {
    "DeviceName": "/dev/sdc",
    "VirtualName": "ephemeral1"
  }
]

Am I doing something wrong or is there some issue with the sdk? Please, help me out.

@LuqmanSahaf if you're getting a successful response from the service it is not likely the SDK, but it could be related to the parameters you're passing. Without seeing the code it's hard to say what is going on.

@lsegal, here is the simplified version of what I am doing. It works partially, i.e., the instance is created but the volumes are not attached when the instance is started. Hope it helps.
func main(){
  creds := aws.Creds("abcd", "xyzef0-0", "")
  svc := ec2.New(&aws.Config{Region: "us-east-1", Credentials: creds})

  // volumes
  volume_count := 2
  var blockMappings []*ec2.BlockDeviceMapping

  device_suffix := 'a'
  for i:= 0 ; i< volume_count ; i++ {
    device_suffix += 1
    device_name := "/dev/sd" + string(device_suffix)
    virtual_name := "ephemeral" + strconv.Itoa(i)
    blockMappings = append(blockMappings,&ec2.BlockDeviceMapping{
      DeviceName: &device_name,
      VirtualName: &virtual_name
    })
  }

  fmt.Println("The block device mappings are:")
  for i,b := range blockMappings {
    fmt.Println(strconv.Itoa(i), "-", *b.DeviceName, ":", *b.VirtualName)
  }
  var no_of_nodes int64 = int64(1)
  request := &ec2.RunInstancesInput{
    MinCount: &no_of_nodes,
    MaxCount: &no_of_nodes,
    BlockDeviceMappings: blockMappings
  }
  ins := "c3.xlarge"
  request.InstanceType = &ins
  img := "ami-d6033bbe"
  request.ImageID = &img
  ssh := "some_key"
  request.KeyName = &ssh

  reservation, err := svc.RunInstances(request)

  if err !=nil {
    panic(err)
  }
  fmt.Println("  > Number of instances: ", len(reservation.Instances))
  for _, inst := range reservation.Instances {
    fmt.Println("    - Instance ID: ", *inst.InstanceID)
    fmt.Println("    - Status: ", *inst.State.Name, " ", strconv.FormatInt(*inst.State.Code, 10))
    fmt.Println("    - Block Device Mapping: ", inst.BlockDeviceMappings)
  }
}

Here is the result for the program and request:
The block device mappings are:
0 - /dev/sdb : ephemeral0
1 - /dev/sdc : ephemeral1
> Number of instances:  1
  - Instance ID:  i-9cf1f44a
  - Status:  pending   0
  - Block Device Mapping:  []

As you can see the array for device mappings is empty.

I followed this document to give device mapping through aws cli. I ran the following command to run an instance:
aws ec2 run-instances --image-id "ami-d6033bbe" --key-name depl --block-device-mappings '[{"DeviceName": "/dev/sdf","VirtualName":"ephemeral0"},{"DeviceName": "/dev/sdg","VirtualName":"ephemeral1"}]' --count 1 --instance-type c3.xlarge

Same thing happens that the instance is created but the volumes are not attached or created.

Have you waited until the instances are fully started and verified by sshing into the machine? Note that some of these mappings may be eventually consistent as the instance is being initialized.
I think the right venue for this question would be the Amazon EC2 forums as this does not seem to be an SDK specific issue, and the CLI is showing the same behavior.

Marking this as closed since a 200 response indicates that the SDK is behaving correctly and the CLI is behaving the same way.

Yes, I waited and did the necessary checks to find if the volumes were attached or not.

I have also asked this question on AWS forum: https://forums.aws.amazon.com/thread.jspa?threadID=181493


Multiple status items for single run

A single “Run Computation” click resulted in three status items:

This indicates that three remote result documents were generated. One of these result documents represented an active computation (last one in the screen cap) and actually completed a multi-shot computation.

Did two runs with two clients, reusing the consortium. Aside from document update conflicts on the second client’s project it seemed to work.

Similar situation with three clients:

Likelihood of tracking down this bug: unlikely. It might be the network conditions, a race condition in the pipeline, etc.


Improved integraton test and some cleanup.

Lets use as little hoodiecrow api as possible, so we can replace it easily someday.

👍


Define folders structure for exports

Something like:

$output_folder/topics

$output_folder/topics/json
$output_folder/topics/yaml
...

$output_folder/schemas

...

Closed by #35


Add DNS to requirements and troubleshooting tips for 1.2.0a7

Update nginx-third-party docs to include requirement for working DNS and troubleshooting tips for 1.2.0-alpha7
FYI @aledbf

@jumpkick thanks for the clarification, I've seen people complain about this. I'm thinking if there's a better way to handle this (in addition to the docs). @aledbf in case you have ideas.

@bprashanth I wish I knew a good way to feed this back in that it can help others.  Much of the documentation is out of date and the shear volume of components and documentation can make it difficult to sort through the problems to a working installation.  Maybe if there was a per release wiki page people could add workarounds for a particular release that they had to do to get working configurations, that could help others targeting the same release.

The ideal way to surface something like this would be through an event, if that's possible. Something that shows up in kubectl describe rc nginx-rc-name, or describe service. In this case of course that's hard because we can't talk to the apiserver, so the next best thing would be kubectl logs (log to stdout of the container).
Lets merge this for now, I'll give it some thought once https://github.com/kubernetes/kubernetes/pull/21504. Thanks for helping out.


Timestamp

Suggest adding time to the renderpasses output to console to monitor time overall and per pass.
import os
import shutil
import processors
import util
import configparser
import uuid
#timestamp
from datetime import datetime
...
...
...
	for config_name in config:
		if not config_name.startswith("RenderPass"):
			continue

		arr = config_name.split(".")
		name = arr[0]
		type = arr[1]
		dt = datetime.now()

		print(f"Executing pass: {name} ({type})", dt.strftime("%H:%M:%S"))
...
...
...

The Add pass and overall timers PR covers this suggestion and was merged into the code a day or so ago. Update to get the latest code.

I still like the timestamps for the passes, that way I can see how much time has passed since the start plus each pass while it is running.
Plus the extra line in the cmd window makes it look a bit messy and hard to read with all the passes that take 0 time like copy del passes... (I copy everything into a save folder for each pass [comfy, eb, alpha] to monitor how each affects the final)
I do like the overall time taken at the end...


HAWQ-78. Fixed parallel build error(using "make -j8")

The error is caused by the dependency not set correctly in Makefile.
Note: This fix only correct 2 occurrences. If we encounter the same problem in the future,  we need to fix them using same solution. Because there are a lot of Makefile, I don't look through all of them.

looks good. +1

Good fix.


'selected' attribute ???

So adding 'selected' to an option apparently does nothing when the select picker is initialized?

Any update on this one?

Bug reports must include a live demo of the problem. Per our contributing guidelines, please create a reduced test case, and report back with:

your link
Bootstrap version
bootstrap-select version
specific browser and OS details.

If you're not using the latest version of bootstrap-select, please try that as well.


Notebook extension is stripped off in jobs spec

Consider the following action.yml:
- name: Run notebook
  uses: databricks/run-notebook@main
  with:
    local-notebook-path: notebooks/test.py
    ...
    git-provider: 'gitHubEnterprise'
    git-commit: ${{ github.sha }}
    ...

The jobs spec in Databricks is:
{
  name: "run tests"
  tasks {
    task_key: "notebook-task"
    task {
      notebook_task {
        notebook_path: "notebooks/test"
      }
    }
    cluster_spec {
      existing_cluster_id: "REDACTED"
    }
  }
  git_source {
    git_url: "REDACTED"
    git_provider: "gitHubEnterprise"
    git_commit: "REDACTED"
  }
}

This results in a job run failure:
Notebook not found: notebooks/test
It may be because the extension is stripped from the local-notebook-path?

The stripping of extension is expected behavior
https://github.com/databricks/run-notebook/blob/main/packages/common/src/utils.ts#L61-L63

@mohamad-arabi -- I've raised the PR above to clarify this limitation.


Add failing test for issue

This pull-request currently contains a failing test for https://github.com/facebook/flow/issues/2455. I'm not sure how useful some failing tests are, but you never know!
I'd be happy to try tracking down the underlying cause of the divergence as a result of re-ordering the union types, but I'm not sure the right way to go about this. For example, are there:

Trace statements I could enable so I can diff both traces and narrow down the broad area of code where the divergence occurs.
Ways to debug the code, or do developers rely on adding log lines when debugging?

Any guidance here would be much appreciated!

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at<EMAIL_ADDRESS>Thanks!

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

Hi @dchambers! Sorry for the delay! We don't currently take failing tests, mainly because we haven't taught our various CI systems to ignore failing tests yet. So I'm going to close out this PR, but when we do fix the linked issue we will make sure to add this test to prevent it regressing in the future.
Thanks again!


feat: add support for cdevents 0.4

with some hack, shortcut to improve
content of src/generated is pushed into a sepated commit

I include into the Makefile, as commented target, how to create, add spec, it's for documentation and for command to edit/run for each spec to add.
reminder: content of .../generated could be skipped or quickly reviewed (except mod.rs)

@afrittoli, After the review & (squash+merge) of this branch I would like to release and publish on crates.io (the main registry).
For the first publication, I could do it with individual accounts (it's needed on crates.io to have a human in the owner list at least to do the first authentication & publication; see https://doc.rust-lang.org/cargo/reference/publishing.html#cargo-owner)

The fix for the lint_cargo_deny is in #30


[parser] fix semicolon after if statements

If we have two if statements, before the first if statmenet there's no
other statement and between the two stamenets there's another statement,
our parser will complain there's no semicolon after our first if
statement. This commit tries to fix it.
Fixes: https://github.com/iovisor/bpftrace/issues/544

IDK if this is the best approach though, I'm getting a lot of shift/reduce and reduce/reduce conflict warnings during build:
src/parser.yy: warning: 3 shift/reduce conflicts [-Wconflicts-sr]
src/parser.yy: warning: 17 reduce/reduce conflicts [-Wconflicts-rr]

Doesn't fix https://github.com/iovisor/bpftrace/pull/540#issuecomment-483328939. Let me try something else.

Ok, I was able to fix it, but right now the grammer forbids if statements ending in a semicolon (if (expr) { stmts }; or if (expr) { stmts } else { stmts };). It also allows empty programs and blocks (k:f { }). If we don't want the latter, I guess it could be checked in our semantic analyzer phase.

I'm ok with forbidding semicolons on if statements.

Runtime tests will need to be fixed.

Yep, they are broken on master as well.

I just hit this again this morning; thanks for the fix!


refer self-defined class in d.ts to extend Express.Request

for example:
my-express-extend.d.ts
declare namespace Express {
    export interface Request {
        payload: string
    }
}

This works fine, req.payload is a string type.
but when I import the User class, the extension will have no effect on other files.
import { User } from "./model"
 declare namespace Express {
    export interface Request {
        payload: string
        myUser: User
    }
}

req.payload will be invalid. req.myUser is also invalid.

I found the solution:
in ./model
just declare the User type in global
declare global {
    interface User {
          id: string
          name: string
          ...
    }
}

Did you add new interface? It's not very usefull when you have both class and interface describing it - hard to refactor and easy to miss changes.


Gameplay control issue

it might just be me but i find the fact that the hit plate moves faster when you are closer to the middle of the centre very disorientating and weird , maybe having an optional fixed speed if you want it would be nice, or left and right arrow support!

Intended.


Passthrough GitLab configuration variables

Looking through the long list of GitLab configuration options I wonder if it's a good idea to use a template as configuration file, because the maintenance level is high and/or we'll always be behind GitLabs most recent changes.
I suggest to provide one nested variable gitlab_config as interface of this role to map arbitrary GitLab configuration.
Edit: #43, #44 and #46 would become obsolete with this changes.

@gronke In this case, I'd rather keep the flatter structure defined here. Owing to the fact that Ansible doesn't merge overridden variables, I'd hate to require that every playbook would have to copy and paste the entire structure to get a basic configuration change to be done.
For most of my roles, I try to keep every possible variable separate, prefixed by the role name, because this makes it easier for the majority of users who just need to override one or two things. If you find yourself needing to customize everything, especially in formats not supported by this role, my best suggestion would be to fork the role and extend it, or if you can find a way to minimally change this role to make it easier for you to provide the configuration (e.g. switching to an extendable jinja template), then I'd be more open to merging that.
Thanks!

Owing to the fact that Ansible doesn't merge overridden variables, I'd hate to require that every playbook would have to copy and paste the entire structure to get a basic configuration change to be done.

It seems that Ansible now allows to use the combine filter recursively. Not sure in which version it was introduced, but we can solve that issue, like seen here https://github.com/mailserver/ansible-role-postfix/blob/master/tasks/main.yml#L4


[Snyk] Upgrade sinon from 15.1.2 to 16.0.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade sinon from 15.1.2 to 16.0.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

Warning: This is a major version upgrade, and may be a breaking change.

The recommended version is 2 versions ahead of your current version.
The recommended version was released 21 days ago, on 2023-09-13.

Release notes

Package name: sinon

16.0.0 - 2023-09-1316.0.0

15.2.0 - 2023-06-2015.2.0

15.1.2 - 2023-06-1215.1.2

    from sinon GitHub release notes

Commit messages

Package name: sinon

062e318 16.0.0
c339605 fix(2525): ensure non empty message when error of type string is passed, but no message (#2544)
8d1f85b Modernize build script syntax slightly (#2546)
67a8cea docs(sandbox): fix example that defines a non-function property (#2543)
baa1aee .define method (#2539)
2ddf7ff Bump actions/checkout from 3 to 4 (#2542)
5fc17c7 Remove dead code
fe799e7 Fix issue 2534: spies are not restored (#2535)
305fb6c fix: actaully reset 'injectedKeys' (#2456)
8186280 Bump word-wrap from 1.2.3 to 1.2.4 (#2526)
5a33476 ignore vendor in root
13d45fb Currently Jekyll seems to have issues on Ruby 3
de2635d Bump LTS version one notch: 20 (#2529)
fe44ea4 opt in to new headless mode in puppeteer
c97f511 15.2.0
11fe43c lockfile update
66b0081 Use fake-timers v10.1.0 re-released as v10.3.0
a79ccae Support callable instances (#2517)
d220c99 fix: bundling compatibility with webpack@5 (#2519)

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

coverage: 98.209%. remained the same when pulling dac50774c9f47fd6cd5cf43ec05bfd7334a11b98 on snyk-upgrade-cadacc74dc9a2f5ed990e851564905f4 into 7640be864c24a776866bd18a7dc185e78db5b709 on main.


Debugging / Understanding current place in flow

Hi,
I'm using the tomcat-oidcauth-2.3.0-tomcat85.jar and some static html for a basic Tomcat 8.5 dummy test setup. I've gotten close to configuring things correctly, however after authenticating at my Identity Providers page, I'm redirected back to my form-error-page but without request headers to indicate the cause of the error.
With my current understanding and by following the Operation Details and The Login Error Page, I should be seeing an error listed in under the name org.bsworks.oidc.error.
As an example, I follow these steps:

Go to a restricted page, my example: https://localhost:8443/test/index.html
I'm automatically redirected to my SSO Provider
I log in with the proper credentials
I'm redirected back to my application's error login page

In Google Chrome's Developer tools, I can view the page I'm redirected back to with a few parameters in the URL:
https://localhost:8443/test/j_security_check?code=xxxx&grant_id=xxxx&state=xxxx
and while looking at the headers supplied, I do not see any under the Request Headers portion beginning with org.bsworks.oidc.*
Does this appear to be an issue with bsworks not providing an error in the request headers, a flow issue, or something else?
Thanks!
-Avery

I was able to debug the issue by cranking up the logging properties for:
org.bsworks.catalina.authenticator.level=FINE
I was able to identify my issue was that my provider configuration included the usernameClaim="email" and removing this caused the flow to continue and return to the restricted resource!


Add documentation for pc.span

The span component currently doesn't have documentation.

Documentation added here


Error

Hi
I send the : python hogarctl.py start
have a error
.__
|  |__   ____   _________ _______
|  |  \ /  _ \ / _  \  __
|   Y  (  <> ) //  > __ |  | /
||  /_/__  (____  /|
/      /___/     /
v1.0 - @leonjza

Loading plugins...
Loaded plugins for 8 message types: document; text; sticker; contact; video;
location; photo; audio
Starting Daemon
Starting...
Traceback (most recent call last):
File "hogarctl.py", line 151, in
app.start()
File "C:\Users\Om!D\Desktop\hogar-master\hogar\Utils\Daemon.py", line 177, in
start
self.daemonize()
File "C:\Users\Om!D\Desktop\hogar-master\hogar\Utils\Daemon.py", line 67, in d
aemonize
pid = os.fork()
AttributeError: 'module' object has no attribute 'fork'

how can fix this ?
tank you <3

Looks like you are running on Windows which does not know what forking is. Unfortunately Hogar is written / tested only on Linux based systems. Maybe at a later stage I will be able to test and try port it to work in Windows too, but as it is now, Windows is not supported.


[Feature Request] Pass extra data on el-select remote-method

Existing Component
Yes
Component Name
el-select
Description
Hi,
Thanks for the great library.
From the existing el-select component, it would be better if we can pass other data to remote-method. This would be very helpful when using el-select on dynamic data.
for example,

    <el-select
        v-model="attr.id"
        multiple
        filterable
        remote
        placeholder="Please enter a keyword"
        :remote-method="remoteMethod($searckey,index)"
        :loading="loading">
            <el-option
                v-for="item in attr.items"
                :key="item.value"
                :label="item.label"
                :value="item.value">
            </el-option>
    </el-select>

Once we search, It's really hard for us to know which el-select does the search.
In addition, I think it is the best way to manipulate data for which we want to use it.
Thanks :)

https://jsfiddle.net/9kocfaq1/

Thanks :) I will try this.


calculated fee details can be cleared out by lamports_per_signature

Problem
To backward support existing behavior that lamports_per_signature==0 means to clear transaction fee to zero - a widely adapted practice in tests, bank should honor same behavior when calculating and collecting FeeDetails.
Summary of Changes

add function to explicitly states the use of lamports_per_signature is to determine if to zero out transaction fee.
refactor out sharable code

Fixes #

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

Project coverage is 81.9%. Comparing base (51f9972) to head (cb23160).

Additional details and impacted files
@@            Coverage Diff            @@
##           master     #704     +/-   ##
=========================================
- Coverage    81.9%    81.9%   -0.1%
=========================================
  Files         851      851
  Lines      230722   230734     +12
=========================================
- Hits       189103   189060     -43
- Misses      41619    41674     +55


fix bugs on start

Changed all dummy data such that phone numbers of customer and drivers start with 8 or 9, and contain only 8 digits

Codecov Report

Merging #113 (cfea455) into master (165a9fd) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #113   +/-   ##
=========================================
  Coverage     34.85%   34.85%
  Complexity      408      408
=========================================
  Files           144      144
  Lines          2648     2648
  Branches        340      340
=========================================
  Hits            923      923
  Misses         1676     1676
  Partials         49       49

Impacted Files
Coverage Δ

.../java/seedu/address/model/util/SampleDataUtil.java
0.00% <ø> (ø)

Continue to review full report at Codecov.

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


Update convertError.ts

Unhandled Rejection (TypeError): Cannot convert undefined or null to object fixed.
Fixes #3

Thank you so much for this! I'll publish this to npm when I get back home in an hour or two :)

Awesome!

Done!


Image replication should emphasize between the same version of Harbor releases in Docs.

Different version may cause error while synchronizing images.

good point, this is due to api incompatibility, we don't have a good solution now and will highlight this in doc.

Maybe we can add "/api/version" and check it during “ping"? and also check this during replication by adding a state in statemachine? @ywk253100 what do you think?

Agree.

Incompatibility explanation has been added in docs by #957 .


Nate158

Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[x] The relevant Azure service or technology.
[x] A link to the published documentation article that you have feedback about.
[x] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[x] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[x] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/d365community/forum/79b1327d-d925-ec11-b6e6-000d3a4f06a4.

### Tasks
- [ ] https://github.com/MicrosoftDocs/azure-docs/issues/105691

### Tasks
- [x] https://msrc.microsoft.com/blog/2023/06/microsoft-response-to-layer-7-distributed-denial-of-service-ddos-attacks/

https://msrc.microsoft.com/blog/2023/06/microsoft-response-to-layer-7-distributed-denial-of-service-ddos-attacks/

@NateWarncoin Thanks for reaching out. Can you elaborate what the feedback is and related to which Azure document? Is this related to recent follow-up question on referred Azure Automation issue?


Add busted unit testing framework for lua code

What this PR does / why we need it:
Currently Lua code is only tested through e2e tests and no unit tests exist.
This adds busted as a unit testing framework for Lua code and adds documentation within the developer guide.
Related issues: https://github.com/Shopify/edgescale/issues/393
@Shopify/edgescale

Great work @zrdaley! Just fix the static check and that small variable naming then make the PR against upstream.

This PR has been moved to the upstream PR: https://github.com/kubernetes/ingress-nginx/pull/2379


feat: Add option to print redacted file names

Addresses issue https://github.com/snakemake/snakemake/issues/3087.
Adds some functionality so that if a file is a storage object, it can print a censored version of the query (print_query) rather than just the query itself incase it contains sensitive information in the query that should not be printed.
I suppose it would make sense to at least put something in the documentation (in snakemake-interface-storage-plugins maybe?) to explain that the safe_print method can be used (as an aside, I tested this with the _safe_to_print_url method of snakemake-storage-plugin-xrootd but figured that method name is probably not general enough so I can rename it for that plugin).
Note this also slightly changes the message when printing an input file as previously it would always print (retrieve from storage) even if retrieve=False.
QC

[x] The PR contains a test case for the changes or the changes are already covered by an existing test case.
[x] The documentation (docs/) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake).

I've added a test and this also now relies on PR https://github.com/snakemake/snakemake-interface-storage-plugins/pull/54 to happen first.


CreateLMDB Aborted (core dumped)

Hello,
When I run the CreateLMDB.lua file, I get the following error.
[================================ 8698/8698 =================================>] ETA: 0ms | Step: 22ms
Error in LMDB function mdb_cursor_get : 	MDB_NOTFOUND: No matching key/data pair found
luajit: wand/magick_wand.c:262: DestroyMagickWand: Assertion `wand->signature == 0xabacadabUL' failed.
Abort (core dumped)
What do I need to do to solve this?

Me too


Problems filtering rows

Hello,
I'd like to filter a table using filter, here is my code:
let path = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true).first!
    // db connection
    do {
        db = try Connection("\(path)/myDB.sqlite3")
    } catch {
        print (error)
    }

    let currentOrder = Table("currentOrder")
    let itemID:Int64 = Int64(cellInfo.id)!

    currentOrder.filter(id == itemID)

the last line generates an error: "id" is unavailable in Swift; use "Any"
Am I doing something wrong?
Thank you.

this is for reporting bugs, please you stackoverflow etc. instead.


BIBFRAME output problem: identifier >> barcode value described as English

Item > identifier >> Barcode > barcode value is tagged as "English." Note: it is also tagged as English in the RDA-RDF data.

It would be nice if we could turn off language tagging for certain literal property templates. We could request?

I edited the RML so it doesn't look for language tags for barcodes anymore, so the newest BIBFRAME (now in Sinopia) is no longer tagged as English! Doesn't fix the RDA though, so Crystal's suggestion may be a good thing to bring up!

Thanks Melissa! Yes the RDA is a different beast. I just made a request that they allow us to make these decisions at the property template level: https://github.com/LD4P/sinopia_editor/issues/2837


Background on linear algebra

Friday's lecture will be on the orthogonal projection theorem and its applications.  To follow the lecture you will require some background in linear algebra.  Because of this I've prepared some background slides.  See the lecture 7 directory.

I've also put in some material on solving linear systems and nonsingularity, towards the end of the slides.  That material is not essential for Friday's lecture.  But it is fundamental topic.  It took me a while to realize that the best way to understand linear systems of equations is to think about the corresponding linear map and ask whether it's a bijection.  Then we can exploit the fact for linear maps from R^n to R^n, the property of being a bijection is equivalent to being either onto or one-to-one.  Once we know this we can go back to the matrix problem and ask what properties we require on the matrix so that the corresponding linear map is onto or one-to-one.
Unfortunately we won't have time to cover this material in class.  Please let me know if you spot typos.

A related comment:  From now on we'll do applications in class, so you don't necessarily need to bring your laptop.  However there will be class presentations as per the schedule, which you might want to follow live.  So please make your own decision.
Presenters: If you definitely want people to bring laptops please let them know via the issue tracker or in class.


FastBoot support: ReferenceError: navigator is not defined

Instructions

Clone ember-popper
npm install
npm install ember-cli-fastboot --save-dev
ember serve (depreciated ember fastboot --serve-assets)

ReferenceError: navigator is not defined
    at /home/swerner/development/ember-popper/tmp/src/popper/utils/debounce.js:7:20
    at nativeHints (/home/swerner/development/ember-popper/tmp/broccoli_merge_trees-output_path-G2ltQSK1.tmp/assets/vendor.js:62757:19)
    at /home/swerner/development/ember-popper/tmp/broccoli_merge_trees-output_path-G2ltQSK1.tmp/assets/vendor.js:62758:2
    at ContextifyScript.Script.runInContext (vm.js:32:29)
    at VMSandbox.eval (/home/swerner/development/ember-popper/node_modules/fastboot/src/vm-sandbox.js:14:14)
    at /home/swerner/development/ember-popper/node_modules/fastboot/src/ember-app.js:142:15
    at Array.forEach (native)
    at EmberApp.loadAppFiles (/home/swerner/development/ember-popper/node_modules/fastboot/src/ember-app.js:139:21)
    at EmberApp.retrieveSandboxedApp (/home/swerner/development/ember-popper/node_modules/fastboot/src/ember-app.js:187:10)
    at new EmberApp (/home/swerner/development/ember-popper/node_modules/fastboot/src/ember-app.js:50:21)
    at FastBoot._buildEmberApp (/home/swerner/development/ember-popper/node_modules/fastboot/src/index.js:114:17)
    at new FastBoot (/home/swerner/development/ember-popper/node_modules/fastboot/src/index.js:52:10)
    at app.use (/home/swerner/development/ember-popper/node_modules/ember-cli-fastboot/index.js:233:29)
    at Layer.handle [as handle_request] (/home/swerner/development/ember-popper/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/swerner/development/ember-popper/node_modules/express/lib/router/index.js:317:13)
    at /home/swerner/development/ember-popper/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/home/swerner/development/ember-popper/node_modules/express/lib/router/index.js:335:12)
    at next (/home/swerner/development/ember-popper/node_modules/express/lib/router/index.js:275:10)
    at err (/home/swerner/development/ember-popper/node_modules/ember-cli/lib/tasks/server/middleware/broccoli-watcher/index.js:54:11)
    at watcher.then.errorHandler.buildError (/home/swerner/development/ember-popper/node_modules/broccoli-middleware/lib/watcher-middleware.js:35:7)
    at tryCatch (/home/swerner/development/ember-popper/node_modules/rsvp/dist/lib/rsvp/-internal.js:216:12)
    at invokeCallback (/home/swerner/development/ember-popper/node_modules/rsvp/dist/lib/rsvp/-internal.js:231:13)
    at /home/swerner/development/ember-popper/node_modules/rsvp/dist/lib/rsvp/then.js:29:16
    at flush (/home/swerner/development/ember-popper/node_modules/rsvp/dist/lib/rsvp/asap.js:85:5)
    at _combinedTickCallback (internal/process/next_tick.js:73:7)
    at process._tickCallback (internal/process/next_tick.js:104:9)

References

Build Hooks for FastBoot
Fastboot Addon Author Guide Depreciated in RC/1.0 EMBER_CLI_FASTBOOT

I am working on a pull request for ember-popper and ember-attacher to eliminate errors thrown in fastboot sandbox.

@kybishop I am encountering a failing test when running ember test on the master branch. I cannot figure out why ember-popper is not rendering, any ideas?
not ok 7 Chrome 58.0 - Integration | Component | ember popper: it renders
    ---
        actual: >

        expected: >
            template block text
        stack: >
                at Object.<anonymous> (http://localhost:7357/assets/tests.js:133:12)
                at runTest (http://localhost:7357/assets/test-support.js:3295:30)
                at Test.run (http://localhost:7357/assets/test-support.js:3281:6)
                at http://localhost:7357/assets/test-support.js:3473:12
                at Object.advance (http://localhost:7357/assets/test-support.js:2958:26)
                at begin (http://localhost:7357/assets/test-support.js:4654:20)
        Log: |
    ...

Hey @scottwernervt, I haven't done too much work with Fastboot, but will start looking into this on Sunday.

@kybishop I created a pull request #15 to support the fastboot environment and fix the failing test.

have you tried the most recent version of Popper.js? I don't think it should throw errors if imported in a non browser environment

@FezVrasta Thanks for the heads up, I will try upgrading popper and running with fastboot.

1.8.4: Regression: ReferenceError: navigator is not defined
1.8.4: Regression: window.PopperUtils

After upgrading<EMAIL_ADDRESS>and<EMAIL_ADDRESS>I encounter a new error with navigator not being defined.
App is being served by FastBoot
/home/swerner/development/ember-popper/tmp/broccoli_merge_trees-output_path-QjmQIBcg.tmp/assets/vendor.js:62791
  if (isBrowser && navigator.userAgent.indexOf(longerTimeoutBrowsers[i]) >= 0) {
                   ^

ReferenceError: navigator is not defined
    at /home/swerner/development/ember-popper/tmp/src/popper/utils/debounce.js:7:20
    at nativeHints (/home/swerner/development/ember-popper/tmp/broccoli_merge_trees-output_path-QjmQIBcg.tmp/assets/vendor.js:62769:19)
    at /home/swerner/development/ember-popper/tmp/broccoli_merge_trees-output_path-QjmQIBcg.tmp/assets/vendor.js:62770:2
    at ContextifyScript.Script.runInContext (vm.js:53:29)
    at VMSandbox.eval (/home/swerner/development/ember-popper/node_modules/fastboot/src/vm-sandbox.js:14:14)
    at /home/swerner/development/ember-popper/node_modules/fastboot/src/ember-app.js:142:15

I wonder why isBrowser is set to true in FastBoot.. It simply checks for window to being different from undefined.
I don't know how FastBoot works, but if it's similar to React SSR then, window in the Node env should be undefined


Fix MySQL NaiveDate deserialization

Old behavior could cause panic in chrono.
See #1130.
If this approach is correct I can replace from_ymd with from_ymd_opt in other places too. Same with and_hms_micro.

That would be awesome. Do you want to do that here, or in another PR?

I can do that here, just wanted to make sure I was on the right track. :)

I can do that here, just wanted to make sure I was on the right track. :)

Awesome, you most definitely are!

After looking at the code again, it seems that all the other calls to from_ymd involve specific dates that won't fail, like pg_epoch or all the unit tests. I've fixed the sqlite error message I linked to earlier, but not sure what else I could do here.

Tests pass locally for me as well. I'm going to try merging this and see what happens on master.

The reason this fails on CI but not locally is that this PR only changed NaiveDateTime, not NaiveDate. On my machine (and presumably yours), CAST('0000-0-0' AS DATE) returns NULL, so it's erroring before it gets to the deserialization code. On Travis it's using a different MySQL version which is parsing that string.

@sgrif Ohh, I see, thank you for pointing it out! Is there anything I can help with here?

No, I fixed it in 347cd24

Yep, I saw it, wanted to make sure.


Add Visual Studio 2013 Support for Qt5

Add check for v120 tool set which corresponds to visual studio 2013.
With this check I was able to successfully build Qt5 using vcpkg and a custom triplet to build with visual studio 2013 (x64-windows-vs2013). Note that I did not try to build a static Qt5 build.

This LGTM, thanks for the PR!


arbitrary pytree structured priors

Is your feature request related to a problem? Please describe.
Currently priors need to be limited to bare arrays, and this makes it difficult to handle complex systems where the underlying likelihood uses something like a neural network with pytrees for arguments.
Describe the solution you'd like
Let us pack priors will a scheme like:
with PriorChain() as prior_chain:
  a = SomePrior('a', ...)
  b = SomePrior('b', ...)
  prior_chain.pack('packed_priors', dict(a=a, b=b))

def log_likelihood(packed_priors):
  a = packed_priors['a']
  b = packed_priors['b']
  ...

Describe alternatives you've considered
Allow shape broadcasting in prior parameters, e.g. UniformPrior('a', dict(a=[0,0]), dict(a=[1,2])) would broadcast shapes over parameters, and request the pytree structures to be the same.

Done with f45d3fe0914cfec3e519ca5d7f456e82b3313d04


Analytics

What are we doing about analytics? Are we migrating them? Are we continuing to track views and downloads?
WDLL

capture both page views for a work and number of times a file has been downloaded
migrate existing analytics from files and works so that metrics remain consistent
provide UI to view given metrics
use Matomo for third-party integrations, if needed

Questions

Do we want to have the same UI?

Implementation Options
Door Number One
Use Matomo with client-side to capture metrics and then download (nightly) for retention, similar to how we're doing it in Scholoarsphere 3
Door Number Two
Use application code only to capture the page views and downloads. This could be done via log scraping or controllers incrementing request counts on resources.

Yes, we need analytics. Ideally we can continue to track the analytics we're tracking now and migrate historical usage information from SS3.
Thank you for raising this issue.

Thank @binkylush! She raised the issue during our "tour" meeting this morning.

At kickoff we've decided to implement Matomo/Piwik for analytics AND capturing views and downloads within the application and we will use our view and download count to show to the user. At a later point we may do more with Matomo/Piwik, for now we will use our own code for showing the user how many downloads they have.

TODO

[ ] Capture view and download statistics
[ ] Migrate Analytics Data #379

I've removed the work downloads and views ticket.

I've removed the work downloads and views ticket.


logger_install script is missing

Installing Logger for the first time on my own instance. The create_user script says to run the logger_install.sql script as the logger user, but that script doesn't exist in source/install. I found a version in releases/logger_3.1.1.zip. That raised one error when creating a trigger, but recompiling after installation and it seems to be fine.

Seeing the same issue, Is this getting fixed?
Thanks for the work-around.

This is a documentation issue. The installation scripts are in the releases folder.

Where do i make pull requests for fixes for the logger_install script?

I'm in the process of rebuilding the entire install process. What changes do you want to make?
I know it's not github best practices but it may be best right now to highight the code change in this ticket.

I had an issue when trying to install logger from a sqlplus script to a certain schema. in this script i changed the current schema with alter session set current_schema = WHATEVERUSER before calling the install_logger script. In this case query in line 112 for examples fails
select nullable
    into l_nullable
    from user_tab_columns
    where table_name = 'LOGGER_LOGS'
      and column_name = upper(l_required_columns(i));

Because with alter session set current_schema  only the working schemas changes but not the user context.
I had to change the query to
select nullable
    into l_nullable
    from dba_tab_columns
    where table_name = 'LOGGER_LOGS'
	  and owner = sys_context('userenv','current_schema')
      and column_name = upper(l_required_columns(i));

same for queries in lines

139
158
176
197
221
395
426
480
514
539
557
595
649
669


fix panic on load db state machine

临时解决：

启动状态恢复如果缺失slot数据，则重置app状态为normal， 避免panic

Codecov Report

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

@@           Coverage Diff           @@
##           master     #632   +/-   ##
=======================================
  Coverage   19.65%   19.65%
=======================================
  Files          29       29
  Lines        1740     1740
=======================================
  Hits          342      342
  Misses       1354     1354
  Partials       44       44

ping @pwzgorilla


Can you combine react-native-photo-editor and react-native-multiple-image-picker plugin features?

Can you copy the rotate and crop features from react-native-multiple-image-picker to react-native-photo-editor?

Can you copy the rotate and crop features from react-native-multiple-image-picker to react-native-photo-editor?

on Android OS, right?

Can you copy the rotate and crop features from react-native-multiple-image-picker to react-native-photo-editor?

on Android OS, right?

No, both Android and Ios

@baronha any update?


Create README.md

Transfer content from the original proposal for problem statement, evidence, proposal and goals/non-goals.

Thansk! This is a great start.


[BUG] eww update inconsistent times (or i am dumb)

Checklist before submitting an issue

[X] I have searched through the existing closed and open issues for eww and made sure this is not a duplicate
[X] I have specifically verified that this bug is not a common user error
[X] I am providing as much relevant information as I am able to in this bug report (Minimal config to reproduce the issue for example, if applicable)

Description of the bug
there's a widget with something like (eventbox :onhover "eww update a=true" :onhoverlost "eww update a=false"). Sometimes quickly passing by results in a=true even when it's not hovered anymore (requires some time to get working, often does that at 32x32 size in my setup).
How do I know its eww update bug? when you append & notify send (a or b, depending where it is), it works correctly (could be wrong, if it is not please reply)
Reproducing the issue
something like
(defvar test false)
(defwidget test_widget[]
  (eventbox :width 32 :height 32
    :onhover "eww update test=true & notify-send hover"
    :onhoverlost "eww update test=false & notify-send hoverlost" ;replace notify-send ... with whatever else quick and accessible way you find if you want
    :style {test ?"background: #FFFFFF" : "background: #000000"} ;to visualuze test var state
  )
)

It does not always work first try, but sometimes it does and it is really annoying
Expected behaviour
variable is always false when widget is not hovered
Additional context
Proposed solution:
queue updates so the ones were sent sooner will be updated sooner too.
^[If you are wondering, & launches command at the same time, && or ; does not]

Probably related to: https://github.com/elkowar/eww/issues/715 (again)
Check your eww logs, you can probably find timeout warnings there.

Check your eww logs, you can probably find timeout warnings there.

There are none actually, everything works fine. Maybe it's also caused by happening on a single frame, but idk


set end_comparator of LayerPruningModifier to -1

Under the current end_comparator the end epoch of LayerPruningModifier must be greater than the start epoch. This would make a schedule like start_epoch=2.0, end_epoch=-1 invalid which is a bug, since we should be able to start at an arbitrary epoch (start_epoch=2.0) and run indefinitely (end_epoch=-1.0)
end_comparator specs:
https://github.com/neuralmagic/sparseml/blob/29119f73596fbea01a0b82133696305995a5b72c/src/sparseml/optim/modifier.py#L630
https://github.com/neuralmagic/sparseml/blob/29119f73596fbea01a0b82133696305995a5b72c/src/sparseml/optim/modifier.py#L631

blocking landing - see unresolved comment

@bfineran what needs to be completed prior to this PR being merged?

@dbogunowicz see latest non merge commit - updated end_comparator=-1 to only allow end_epoch < start_epoch if end_epoch==-1. a few more changes will be needed on the recipe composition side to be added in a future PR


consolidate solver classes?

Currently, there are three main solver classes: specfem2d, specfem3d, and specfem3d_globe.  Would it make sense to have all three inherit from a single base class?

implemented in branch "refactor-solver"


Airtable APIs vs Tokens 1.8

Airtable has phased out APIs and it only remains on legacy accounts. The instructions should be updated to use airtable tokens. Someone from the Emu cohort had great instructions that can be included in the updates:
Step 1: Go to your account and create a new token. (I recommend deleting your old ones first). Make sure your scope includes "data.records:read" and "data.records:write" and your access is to your table that you made according to assignment 1.8 instructions. Once you save, it will give you a token for you copy. It will only show once unless you regenerate a key which will give you a different one.
Step 2: Keep following the instruction in the assignment 1.8. To get the Base Id, click on Web API documentation on the left side menu and click on the table you made. It will give you the Base ID.
Step 3: The headers authorization is still a bearer token so use your token from step 1.

Deprecation Notice
*Extracted timeline from above:

January 2023: Initial community forum announcement and emails
Mid-February 2023: We will email API key owners with recent API key usage to directly inform them of the changes
August 1st, 2023: Users can no longer create new API keys
February 1st, 2024: Existing API keys can no longer be used to access the Airtable API

@mamooredesigns I'll be back in next week and will be able to give it closer eyes then. If this is urgent, let me know and I'll see what I can do to fit it in.


Integration to coveralls doesn't work.

I'm trying to integrate with coveralls.io but without success using this code on my grunt:
grunt.event.on('coverage', function(lcov, done){
    require('coveralls').handleInput(lcov, function(err){
        if (err) {
            return done(err);
        }
        done();
    });
});

and my coveralls.io status still unknown, you can check them out at https://coveralls.io/r/maisquestoes/api

can you please execute it using grunt travis --verbose? I'm not able to tell what's wrong with it looking at the sources, since travis is succeeding

https://travis-ci.org/maisquestoes/api/jobs/64909206
with --verbose
I've removed and added a repository again on coveralls.io but the problem still there.

can you remove the check part of the options?

It's ok now, thanks.

it seems to be a bug then, it should execute the event if the check passes, I'm going to reopen it until I fix

I think it's a Coveralls bug, because I put the check options back and there are no problem.

alright, good to know :+1:

Thanks for all =)


Fix capturing invisible annotations on the "empty" textual nodes

Issue
When a user makes a selection between the paragraphs an "empty" annotation gets created. But it captures a bit different content based on the type of app you're working with:
HTML pages, like this
https://github.com/recogito/text-annotator-js/assets/68850090/27753b4c-730a-4d6f-9640-e0cbbae19831
When selecting smth on a plain HTML page - the newline symbols and whitespaces are also captured in the range:

Therefore, even if the range's content doesn't contain any actual characters - it still can be captured and annotated. But that annotation won't be visible to anyone 😅
React pages, like this
https://github.com/recogito/text-annotator-js/assets/68850090/8969e176-d9fb-46aa-8557-b928755e8108
Fortunately, this issue isn't that critical for the React-based pages 🎉. Because it automatically wipes out non-textual symbols between the elements. So despite the captured range not being collapsed - the hasChanged check will prevent the creation of the invisible annotation:

https://github.com/recogito/text-annotator-js/blob/3a70b9ef5cafec4b54ed629e934e5875d6f06262/packages/text-annotator/src/SelectionHandler.ts#L56-L63
Possible Solution
Manually verify that the content of the selected range contains meaningful annotatable content, and not just formatting characters like the \n &  . After that - those ranges can be discarded to prevent passing of the hasChanged check

This is now merged :-)

Thank you 🚀


Documentation: Incorrect instruction in Initializing tutorial

Describe the bug
A clear and concise description of what the bug is. steamInitEx seems to no longer support a 3rd argument to autorun callbacks.
Version of Godot:
4.3
Version of GodotSteam:
4.11

Realized it's noted that this doesn't work with GDExtension, ignore me!


QueryExtra

@fMeow Did you have any plans on how to implement retrieval of QueyExtra data? I would like to implement that asap, as I need it.
I was just scanning through the code and think that extending the existing functions:

aql_fetch_all
aql_query

might be hard. But it could still be convenient to have something integrated. How about adding new functions:

aql_fetch_all_extra
aql_query_extra

which would return QueryExtra data in addition to the results.

Any update on this one? If you are not implementing anything already I would get started with this.

Thank you for your kind suggetion.
I haven't used this feature and I fail to find QueryExtra in the arangodb document. Could you please give a link?

It‘s not a particular function. It‘s the ‚extra‘ information from the query response. I think only ‚results‘ are parsed right now, the rest is ignored.

This is already inplemented. You can use aql_query_batch and aql_next_batch to get a Cursor which contains QueryExtra.
aql_fetch_all, aql_query and etc are handy functions for a quick retrieval, which is actually a wrapper around aql_query_batch and aql_next_batch. ArangoDB actually returns a cursor, which contains all the extra information.
The reason of neglecting  QueryExtra is that it may change across Cursor. So the end result is a list of QueryExtra, which is not ergonomic to me.

Maybe I should expose aql_fetch_all to public. Then you can get QueryExtra with the first cursor and get the rest result with aql_fetch_all while ignoring the QueryExtra for the following cursor.


feat: BitVec.toInt_abs [2/2]

This PR implements BitVec.toInt_abs.
The absolute value of x : BitVec w is naively a case split on the sign of x.
However, recall that when x = intMin w, -x = x.
Thus, the full value of abs x is computed by the case split:

If x : BitVec w is intMin, then its absolute value is also intMin w, and
thus toInt will equal intMin.toInt.
Otherwise, if x is negative, then x.abs.toInt = (-x).toInt.
Finally, when x is nonnegative, then x.abs.toInt = x.toInt.

theorem toInt_abs {x : BitVec w} :
  x.abs.toInt =
    if x = intMin w then (intMin w).toInt
    else if x.msb then -x.toInt
    else x.toInt

We also provide a variant of toInt_abs that
hides the case split for x being positive or negative by using natAbs.
theorem toInt_abs_eq_natAbs {x : BitVec w} : x.abs.toInt =
    if x = intMin w then (intMin w).toInt else x.toInt.natAbs

Supercedes https://github.com/leanprover/lean4/pull/5787
Stack on top of https://github.com/leanprover/lean4/pull/6153

Can you drop the mention of 'stacked pr' in the commit message?

@tobiasgrosser done

awaiting-review

changelog-library

It doesn't need to be in this PR, but I would like to also have
theorem natAbs_toInt (x : BitVec w) : x.toInt.natAbs = if x.msb then x.toNat - (2^(w-1) - 1) else x.toNat

(didn't check the RHS carefully, but something like that ought to be true).

Otherwise looking good now. Switch back to awaiting-review when you're ready for me to merge.

awaiting-review


hamburger menu button doesn't work on iPad

no reaction

browser: Safari

I don't think it's going to be possible to get the current editor working for mobile and even if, the UX is probably going to be not so good.
With a new editor - where we're going to focus on mobile UX as well - on the horizon, I'd say to postpone this and maybe add a warning or disable editing on mobile all together

I assume you mean the navigation? It works on my iPad (current iOS + Safari)

Closing due to inactivity


.github: delete stale workflow

Signed-off-by: Ran<EMAIL_ADDRESS>
What is changed, added, or deleted? (Required)

Delete the Stale GitHub Action because we use Ti Chi for issue lifecycle management now.
Which DM version(s) do your changes apply to? (Required)

[x] master (the latest development version, including v3.0 changes)
[ ] v2.0 (TiDB DM 2.0 versions)
[ ] v1.0 (TiDB DM 1.0 versions)

What is the related PR or file link(s)?

This PR is translated from:
Other reference link(s):

Do your changes match any of the following descriptions?

[ ] Delete files
[ ] Change aliases
[ ] Need modification after applied to another branch
[ ] Might cause conflicts after applied to another branch

/translation no-need

/translation no-need
/cc CharLotteiu TomShawn

/lgtm

/merge


Move XML declaration to start of file for sky130.lym

Moves the XML declaration to the beginning of the file to make it valid.
Similar to #12, but it seems this file has been forgotten as it is not read when using OpenLane.

@donn :  I want to merge this but I also want to know why there are 35 failing regression test checks and why they are occurring.

That would be good to know indeed! The CI is from Mabrains, so maybe Amro Tork knows more. We can open an issue about it and merge this PR in the meantime, since it does not affect the CI.

Opened: #16

Hi, I'm on vacation- I had nothing to do with this CI, so. All I did to this repo is move the XML headers to the beginning of the documents so later versions of KLayout stopped crashing.


proposal: support small chunks mergence

Support merging small chunks (including the tailing chunk for big files) into one batch, so that we can compress and decompress the batch to improve the compression ratio, prefetch and io amplify performance.

From @jiangliu: or consider using the BlobChunkInfoV2Ondisk struct.

We have built some infrastructure to support ZRan, which could also be used to support this feature requirement.
https://github.com/dragonflyoss/image-service/blob/master/storage/src/meta/chunk_info_v2.rs#L24
You can reuse or introduce a new struct like this one for ZRan:
https://github.com/dragonflyoss/image-service/blob/master/storage/src/meta/zran.rs#L16

Related dragonfly issue: https://github.com/dragonflyoss/Dragonfly2/issues/1858


dpnn/Dictionary.lua DEPRECATED

I am running a languagemodel.lua tutorial script and getting:
torch/install/share/lua/5.1/dpnn/Dictionary.lua:5: DEPRECATED Jan 14, 2016

If Dictionary is DEPRECATED the correspondent docs should mention this as well, shouldn't they?

yes. Which docs do you mean?


Nuxt Layers not handling gitlab subgroups correctly

Environment
Docker image node:18

Operating System: Linux
Node Version:     v18.19.0
Nuxt Version:     ^3.1.0
CLI Version:      3.10.0
Nitro Version:    -
Package Manager<EMAIL_ADDRESS>Builder:          -

Reproduction
Add any Gitlab repository based in subgroup to extends configuration, for example:
    extends: [
        'gitlab:group-name/foo/bar'
    ],

Running yarn install will result in [error] Failed to download https://gitlab.com/group-name/foo/-/archive/main.tar.gz: 403 Forbidden.  It seems to take only the first parameter and ignore bar.
Describe the bug
Gitlab uses a different structure than Github, so this example https://nuxt.com/docs/guide/going-further/layers#git-repository seems to be incorrect.
Instead of username/repoName Gitlab uses {groupName}/{repoName|subgroupName}/... and it would cause 403 error on https://gitlab.com/{groupName}/{subgroupName}/-/archive/main.tar.gz.
I can't figure right way to extend GitLab repository.
Additional context
No response
Logs
No response

Upstream tracker: https://github.com/unjs/giget/issues/107
I didn't have chance to investigate it yet but PR is more than welcome to fix 🙏🏼

Let's track in linked upstream issue. 🙏


Breaks Dark Transparency

Basically commenting to say I have the same issue, and it has been like this for over a month. Dark transparency is messed up, and the discord.me/mrrobotserver link that's advertised with the theme is expired. As well as the so called "options" for discord reborn don't even show up. This is reborn version 7.3 right?

the options are custom css stuff that you can find in the server for the themes.

Also transparency worms fine it's just that omni overwrote some new transparency in profiles I added a week or so ago. Rest worms fine

So there's custom css in this server for themes? Where is it?

https://discord.gg/MpWmqQk

That invite link is expired


"error in tensorflow setup command" error when running building the TensorFlow pip package

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 14.04
TensorFlow installed from (source or binary): Source
TensorFlow version (use command below): TensorFlow commit 70ba44b46bb9e5f5e55b2357676ffa7196b9bda7
Python version: 2.7
Bazel version (if compiling from source): 0.7.0
GCC/Compiler version (if compiling from source): 4.8.4
CUDA/cuDNN version: CUDA 8.0, cuDNN 6.0
GPU model and memory: GTX 1080 8 GB
Exact command to reproduce:

bazel build --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package --config=monolithic
bazel-bin/tensorflow/tools/pip_package/build_pip_package ~/tensorflow_pkg/

Describe the problem
When I try to build TensorFlow at commit 70ba44b46bb9e5f5e55b2357676ffa7196b9bda7 or later, I get the following error after running bazel-bin/tensorflow/tools/pip_package/build_pip_package ~/tensorflow_pkg:
reedwm@reedwm2:~/tensorflow_test$ bazel-bin/tensorflow/tools/pip_package/build_pip_package ~/tensorflow_ec2_pkg/
Tue Nov 21 18:22:34 PST 2017 : === Using tmpdir: /tmp/tmp.m24Ub0Z2z4
~/tensorflow_test/bazel-bin/tensorflow/tools/pip_package/build_pip_package.runfiles ~/tensorflow_test
~/tensorflow_test
/tmp/tmp.m24Ub0Z2z4 ~/tensorflow_test
Tue Nov 21 18:22:35 PST 2017 : === Building wheel
error in tensorflow setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers

This does not occur on the commit before 70ba44b46bb9e5f5e55b2357676ffa7196b9bda7. When running ./configure, I choose the default option for everything except that I choose to use CUDA.
Note I use --config=monolithic to get around #13243.
/CC @alanhdu @gunan, any ideas what the issue could be?

Could you share your pip version?
pip --version output should be enough.
Ubuntu 14 has an old pip version, so you may need to run sudo pip install --upgrade pip, then retry the 2nd command you shared above.

I have the exactly same problem but  I have ubuntu 16.04, CUDA 9.0 and cuDNN 7.0, GTX 950M 2GB

Same problem with macOS High Sierra, python 2.7.10 and pip 9.0.1.
The problem seems to be in setup.py (serving/tensorflow_serving/tools/pip_package/setup.py). As an intermediate solution I deleted the python_version checks in REQUIRED_PACKAGES. After everything works.

Thanks for the information. This is what we tried to base the change on:
https://setuptools.readthedocs.io/en/latest/setuptools.html#declaring-platform-specific-dependencies
What happens if you remove all the extra the spaces in the lines with python_version?
For example, the line:
'backports.weakref >= 1.0rc1; python_version < "3.4"',

becomes
'backports.weakref>=1.0rc1;python_version<"3.4"',

Ok. I see. Removing the extra spaces doesn't help (same problem).

i need help cant downlod tensorflow it shows could not find a versone

I have the same problem on Mac. I get the following error.
Wed Nov 22 23:38:40 CST 2017 : === Using tmpdir: /var/folders/vt/mp6zqnxd095bt5m88tnf0gq00000gn/T/tmp.XXXXXXXXXX.9u2i5Cuv
~/software/tensorflow/bazel-bin/tensorflow/tools/pip_package/build_pip_package.runfiles ~/software/tensorflow
~/software/tensorflow
/var/folders/vt/mp6zqnxd095bt5m88tnf0gq00000gn/T/tmp.XXXXXXXXXX.9u2i5Cuv ~/software/tensorflow
Wed Nov 22 23:38:43 CST 2017 : === Building wheel
error in tensorflow setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected ',' or end-of-list in backports.weakref >= 1.0rc1; python_version < "3.4" at ; python_version < "3.4"

Looks like the best course of action is to revert the culprit change, and
then we can explore what we need to do.
The revert may be delayed until Monday, because of the US holidays.
On Nov 22, 2017 9:42 PM, "Hossein15051"<EMAIL_ADDRESS>wrote:

I have the same problem on Mac. I get the following error.
Wed Nov 22 23:38:40 CST 2017 : === Using tmpdir: /var/folders/vt/
mp6zqnxd095bt5m88tnf0gq00000gn/T/tmp.XXXXXXXXXX.9u2i5Cuv
~/software/tensorflow/bazel-bin/tensorflow/tools/pip_
package/build_pip_package.runfiles ~/software/tensorflow
~/software/tensorflow
/var/folders/vt/mp6zqnxd095bt5m88tnf0gq00000gn/T/tmp.XXXXXXXXXX.9u2i5Cuv
~/software/tensorflow
Wed Nov 22 23:38:43 CST 2017 : === Building wheel
error in tensorflow setup command: 'install_requires' must be a string or
list of strings containing valid project/version requirement specifiers;
Expected ',' or end-of-list in backports.weakref >= 1.0rc1; python_version
< "3.4" at ; python_version < "3.4"
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/14779#issuecomment-346535489,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHlCOcg9eOpt4SlMPESWkwKS3TZ-_e8bks5s5QXBgaJpZM4Qm0pO
.

Same problem here, same setup and setting as OP.
@gunan Is there a reference compile script that is used for the Jenkins' CI that I can use to write a configuration and compile script? looks like

the Jenkins test has been passing
I looked but couldn't find the script that is used to do the Jenkins test
Thanks in advance.

found under /tools/ci_build. Thanks

FYI you probably need to update setuptools to 'setuptools-38.2.1' and also install wheel if you don't have it installed.

I wonder whether this is a problem with an old version of setuptools (or maybe wheel?). I have 36.5.0, which works fine.

@alanhdu I am building on centos7 and setuptools is too old on on centos, the package built as soon as I updated setuptools and installed wheels.
It would be nice if the packaging didn't force an update on setuptools for people running on long term supported distros

I meet the same error and solve it by installing setuptools
pip install -U setuptools
Hope this help you.

Thanks @chjshan. Installing setuptools worked for me too. However, when I wanted to install the pip package, I found name of .whl file in /tmp/tensorflow_pkg location and them I run the following command:
sudo -H pip install /tmp/tensorflow_pkg/tensorflow-1.4.0-cp27-cp27m-macosx_10_12_intel.whl
and I get the following error:
              DEPRECATION: Uninstalling a distutils installed project (six) has been deprecated and will be         removed in a future version. This is due to the fact that uninstalling a distutils project will only partially   uninstall the project.

Uninstalling six-1.4.1:
Exception:
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/commands/install.py", line 342, in run
prefix=options.prefix_path,
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_set.py", line 778, in install
requirement.uninstall(auto_confirm=True)
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_install.py", line 754, in uninstall
paths_to_remove.remove(auto_confirm)
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_uninstall.py", line 115, in remove
renames(path, new_path)
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/utils/init.py", line 267, in renames
shutil.move(old, new)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 302, in move
copy2(src, real_dst)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 131, in copy2
copystat(src, dst)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 103, in copystat
os.chflags(dst, st.st_flags)
OSError: [Errno 1] Operation not permitted: '/tmp/pip-bg7oli-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-info'

Thanks @chjshan. Installing setuptools worked for me too.

Thanks @chjshan. Saved my day.

pip install -U setuptools  didn't help me so I installed the latest setuptools from https://pypi.python.org/pypi/setuptools and it worked, thanks.


Windows Current - Non-Persistent

Will Windows Current in Federated or Managed environment ever support Non-Persistent?

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

ID: 0e8f55d4-539c-7835-010b-34026860f699
Version Independent ID: 4f8db376-bed9-6fd2-2e65-ac11c0952540
Content: Device identity and desktop virtualization - Azure Active Directory
Content Source: articles/active-directory/devices/howto-device-identity-virtual-desktop-infrastructure.md
Service: active-directory
Sub-service: devices
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@toddjohnson39
Thanks for your feedback! We will investigate and update as appropriate.

@toddjohnson39 I cannot comment on any future plans. If this is something you feel should be added the best way to get that feedback to the product team is to open a product feedback item at the bottom of the page where it says "Send feedback about... This product". I can also forward this issue to them but adding a feedback request allows other customers to vote on the same request showing the level of interest.

#please-close


allow prepaids to mix the courses between coco & ozar

showing CH courses and CS/GD/WD courses at the same time for coco & ozar Prepaids(the default course show first, screenshot from ozaria.)
support adding mixed includedCourses in customized-licenses. so that we can easily support a student to do subset of coco & ozar at 1 license.
NOTE: teacher in coco can see their license normally. while in ozar since we don't have an UI to show license/manage license, so basically the ozar-side customized-license is still not suggested.

BTW since CH1+CH2+CH3+CH4 is basically ozar only license, so maybe we can rename it and adding a coco only license for CS1-C6+GD1-GD3+WD1-WD2 ?

@mrfinch in manage license view. the logic is if the user license doesn't cover all courses in your prepaids, he can be enrolled again -- since it adds more courses -- even only add a single course across whole license. And, in codecombat license status, we doesn't display ch courses since that's ozaria course and maybe confusing teachers.


Unable to create NATS streaming scaler

Creation of a ScaledObject for NATS streaming failed. Here is the error log from KEDA operator Pod - Error getting scalers error getting scaler for trigger #0: no scaler found for type: stan" - this is merged but not yet released?
(sorry I am not familiar with the end to end process)

cc @balchua - I was writing an example. Everything is ready but unable to install the scaler

Using the latest image?  May i know the error you're getting?

Im also not sure of the release process but i think there is a master tag which was released 4 days ago.  I think this tag is taken from the master branch.

@balchua the error message is included in the description
I am simply using kubectl apply -f https://raw.githubusercontent.com/kedacore/keda/master/deploy/KedaScaleController.yaml to deploy KEDA (facing a problem with Helm) - the operator Deployment does refer to the latest tag.

That yaml you are using is pointing to the latest tag (image: kedacore/keda:latest).
Try the master tag image: kedacore/keda:master

@abhirockzz i confirm that the image kedacore/keda:master contains the nats streaming scaler.  I tend do it like this. helm template --namespace keda -n keda --set image.repository=kedacore/keda --set image.tag=master .  | kubectl apply -f -

@balchua Thanks for confirming. It works for me too - I simply updated the image in the YAML mentioned above. But this should simply work out-of-the-box when KEDA is installed using the steps in README (just like it does for other scalers). I guess it's a matter of time? maybe @ahmelsayed can comment ?

Thanks for confirming @Abhirockzz

The old yaml file which you are trying to use no longer works after we merged in the operator sdk integration. We are going to be updating the documentation very soon.


Test the main app

[x]  Use black to format the code.
[x]  Lint with mypy.
[x]  Create a unit test.
[x]  Create a integration test.
[x]  Test with pytest.
[x]  Use Tox to test for all python versions.
[x]  push the changes to GitHub.

Done.