Missing sample about "How to remove certificate from VMSS model"

In addition to the section "How do I add a new vault certificate to a new certificate object?" it would be great to have something around "how to remove" the certificate from the VMSS model.
Something like the below, by mentioning that it should be run for each unique certificate and multiple times as per the number of repeated entries in the VMSS model linked to the certificate (ForEach might help):
$CertUrl = "https://xxxxxxxxx-prod-kv.vault.azure.net/secrets/--SecretName--/--SecretId--"
$vmss.VirtualMachineProfile.OsProfile.Secrets[0].VaultCertificates.Remove($CertUrl)
Update-AzVmss -VirtualMachineScaleSet $vmss -ResourceGroup $rg -Name $vmssName

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

ID: b94c5948-acb1-e3aa-7148-6aa2278bcdef
Version Independent ID: 9ada224f-5a76-bcde-2dc0-928a29c4323f
Content: Azure virtual machine scale sets FAQs - Azure Virtual Machine Scale Sets
Content Source: articles/virtual-machine-scale-sets/virtual-machine-scale-sets-faq.md
Service: virtual-machine-scale-sets
Sub-service: faq
GitHub Login: @mimckitt
Microsoft Alias: mimckitt

@riccom76
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@mimckitt
Can you please check and add your comments on this doc update request as applicable.

Hi there, any update on this?

+1 I have the same question.

We do have a section on removing deprecated certificates
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-faq#how-do-i-remove-deprecated-certificates
I think this makes more sense than telling users they have to run the removal commands multiple times and for all different entries.
Thoughts?

@mimckitt, that "How do I remove deprecated certificates" paragraph is missing of an example to guide users to remove the certificates from the VMSS Model (rather than removing from the KV).
Something structured like the "How do I add a new vault certificate to a new certificate object" would work.

Got it. Thank for that! I will get working on it.

The sample is still missing.  Please see below the script that I'm using.  You'll get the idea of which certificates you want to remove by checking their layout in https://resources.azure.com  Look for "Microsoft Compute" -> virtualMachineScaleSets.  You can remove several of them in one shot, for example do the 3 calls in this sequence to remove the first 3: RemoveAt(2), RemoveAt(1), RemoveAt(0)
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser -Force

$SubscriptionId  =  "..."

# Sign in to your Azure account and select your subscription
#Login-AzAccount -SubscriptionId $SubscriptionId

$ResourceGroupName  = "..."
$VmssName = "..."  # this is the root name of VMSS -> Instances, what is before the _N suffix

# Get current VM scale set
$vmss = Get-AzVmss  -ResourceGroupName $ResourceGroupName -VMScaleSetName $VmssName

# Remove old secret from the VM scale set.
$vmss.VirtualMachineProfile.OsProfile.Secrets[0].VaultCertificates.RemoveAt(0)

# Update the VM scale set
Update-AzVmss  -ResourceGroupName $ResourceGroupName  -Name $VmssName  -VirtualMachineScaleSet $vmss  -Verbose


All included 1:1 relations return null

Hi, I’m trying to query for a relation created with a nested create, but the returned model is null.
This is what it looks like const user = await prisma.users.findOne({ where: { username }, include: { admin } });
user is { ..., admin: null }
In the database though, my relationships are all there. Am I using this wrong?

Fixed by using @id @default(cuid()) instead of @id @default(uuid())

Hi,
Thanks for reporting this! It has already been reported before, so I am going to close this as a duplicate of #434


quick filter, old values

http://www.angulargrid.com/forum/thread-2196.html

http://www.angulargrid.com/forum/showthread.php?tid=2253

this was done, there is an API to update the quick filters.


Update clj-parent to 1.2.1

➜  puppetdb git:(maint/master/update-clj-parent) ✗ diff deps.before deps.after
79c79
<  [puppetlabs/http-client "0.8.0"]
---
>  [puppetlabs/http-client "0.9.0"]
81c81
<    [io.dropwizard.metrics/metrics-core "3.1.2"]
---
>    [io.dropwizard.metrics/metrics-core "3.2.2"]
159,160c159,160
<  [puppetlabs/trapperkeeper-metrics "1.0.0" :exclusions [[ring/ring-defaults] [org.slf4j/slf4j-api]]]
<    [io.dropwizard.metrics/metrics-graphite "3.1.2"]
---
>  [puppetlabs/trapperkeeper-metrics "1.1.0" :exclusions [[ring/ring-defaults] [org.slf4j/slf4j-api]]]
>    [io.dropwizard.metrics/metrics-graphite "3.2.2"]

the major change here is metrics stuff; @rlinehan tells me the changes up to 3.2.x looked fine to them. A cursory glance on my part confirms.

Test FAILed

Test PASSed


What values for Lua.runtime.path and Lua.workspace.library?

Hello, Neovim user here.
I want to set the Lua language server up for various types of projects with different settings. My problem right now is that I don't know what values to set for Lua.runtime.path and for Lua.workspace.library.
Let's say I want to write a Lua package, and I want to use dependencies from Luarocks. I somehow need to tell the server where to find my installed rocks. Here is what I have (the configuration is in Lua as well):
Lua = {
	runtime = {
		version = 'Lua 5.3',
		path = {"?.lua", "?/init.lua", "?/?.lua"}
	},
	workspace = {
		library = {
			["/home/hiphish/.luarocks/share/lua/5.3/"] = true,
			["/usr/share/lua/5.3/"] = true,
		}
	},
}

To my understanding this should be right, but I am not getting any completion suggestions for require're (from the lpeg rock). Similarly, if I have local re = require're', I don't get completion suggestions for re.. Do I need to adjust the Lua.runtime.path?
Background: I want to get hard-coded settings right first. The next step would be to programmatically generate these settings. Neovim can be configured in Lua, and the built-in LSP client is essentially a Lua library. I can probe the current directory for specific files (like *.rockspec or init.vim) and generate the appropriate settings on the fly. But to this end I must understand the server settings first.
I hope this explanation makes sense and you can help me understand the settings.
PS: The server cannot load definitions from C modules like lpeg, right?

As far as I know, the confiiguration feature is broken in latest Neovim client.
You can see many related issues here: https://github.com/neovim/nvim-lspconfig/issues
Currently, it is not supported to analyze the interface directly from C module

As far as I know, the confiiguration feature is broken in latest Neovim client.

Where are you getting that idea? Also, the repo is not the client, it's just the default configurations for various servers.
Anyway, I have a different set of settings for configuring Neovim, and I do get completion suggestions with those settings, albeit wrong ones. I wanted to figure it out first for a simple use-case (Luarocks packages), then try something more complex (Neovim configuration).

You could find the description of settings in wiki

Thank you, but I already know about that page and the schema. I still don't understand what those two settings do, and why we need two of them in the first place.
For example, for Lua.runtime.path the description only says "package.path". If I want to use a Luarocks package on the shell I first enter eval $(luarocks path) to set the environment variables, then in Lua the value of packag.path contains the extra paths. Do I put that value in the Lua.runtime.path field? Do I first have to split it along the ;?
Here are my second attempt at settings, as evaluated by the client and sent to the server:
Lua = {
	completion = {
		callSnippet = "Both",
	},
	runtime = {
		path = {
			"?.lua",
			"?/init.lua",
			"?/?.lua",
			"/home/hiphish/.luarocks/share/lua/5.3/?.lua",
			"/home/hiphish/.luarocks/share/lua/5.3/?/init.lua",
			"/usr/share/5.3/?.lua",
			"/usr/share/lua/5.3/?/init.lua"
		},
	  version = "Lua 5.3",
	},
	workspace = {
		library = {
			["/home/hiphish/.luarocks/share/lua/5.3"] = true,
			["/usr/share/lua/5.3"] = true,
		},
		maxPreload = 1000,
		preloadFileSize = 1000,
	},
}

Anything missing?

workspace.library determines which directories go back to collect extra Lua files, which are used to intelligently sense and share global variables.
runtime.path is only used for require. For the moment, I allow extra directories in front of path, that means xxx.lua can be both linked to script/xxx.lua in your workspace and linked to /usr/share/5.3/xxx.lua in your library.

workspace.library determines which directories go back to collect extra Lua files, which are used to intelligently sense and share global variables.

OK, now I understand it.

runtime.path is only used for require. For the moment, I allow extra directories in front of path, that means xxx.lua can be both linked to script/xxx.lua in your workspace and linked to /usr/share/5.3/xxx.lua in your library.

Then it appears the feature is not working properly. I have the following file:
-- saved as ~/.luarocks/share/lua/5.3/hello.lua
local M = {}

--- Say hello to someone
function M.hello(name)
	print('Hello ' .. name)
end

--- Greet a person
function greet(name)
	print('Greetings, ' .. name)
end

return M

My settings are the same as above. I create a new Lua file and start writing the following:
local hello = require'hel

If I understand correctly, I should now get auto completion suggestions for hello, right? Furthermore, even if I complete the name by hand, the members of the hello object are only suggested in the most generic way, no type and no docstring is show. It works fine for the global greet however. See the attached screenshots.
The fact that the global is picked up properly means that the settings are getting passed properly to the server. So it looks like a server-side problem to me. The "/home/hiphish/.luarocks/share/lua/5.3/?.lua" pattern is one of the members of runtime.path, so my hello.lua file should get picked up on.

Maybe it is a bug of the version before refactoring.
Please help me to check is it works well in refactoring version by changing the starting way of the server to load main- beta.lua instead of main.lua.

....

Yes, it does partially. Hovering for example works, but now completion doesn't work at all anymore, not even for keywords or global.

Thanks for your test.
I should not fix the bug in old version, because I intend to replace the old version with the refactoring version in a week.
At present, I pay more attention to refactoring bugs, especially in non VSCode clients or non Windows platforms.
Would you please show me the log in EXTENSION/log ?

I have attached the logs:

file_home_hiphish_Desktop.log
service.log

I should not fix the bug in old version, because I intend to replace the old version with the refactoring version in a week.

Makes sense.

Please manually apply the fix commit to help me test whether the repair is successful.

Now completion is working again. I still don't get suggestions when completing a module name (e.g. in require'he), but I also noticed that require is documented as a field instead of a function.

I just re-built the server completely and require is now shown as a function again. Is completion of modules names even supposed to work? If it is not, then it would mean all my issues in this thread are solved.
BTW, it would really make it much easier to follow the project if your commit messages were in English. Your English is pretty good from what I have seen in this thread, no need to hide it :)

BTW, it would really make it much easier to follow the project if your commit messages were in English.

OK, I will try it.

Your English is pretty good from what I have seen in this thread, no need to hide it :)

Thanks to the translation software.

I just re-built the server completely and require is now shown as a function again. Is completion of modules names even supposed to work? If it is not, then it would mean all my issues in this thread are solved.

It should be worked like this. If not, I'll have a further check.

Yes, that completion is missing, see the attached screenshot.

OK, I will try it.

Thank you

Thanks to the translation software.

That's some really impressive translation software you are using then.

Yes, that completion is missing, see the attached screenshot.

Does it works in 1.1.1 ?

Does it works in 1.1.1 ?

Is 1.1.1 the current master? If so, then it is not working. Log files:

service.log
file_home_hiphish_Desktop.log
middleScript.lua.txt

What is the content of hello.lua ?

I'm a little confused. Which functions are broken?

The completion of filename in require
The completion of field in local hello
The hover of local hello

Number 1 and 2: neither the file name in require nor the fields in hello are suggested. Completion of variables and globals (even from the hello module) work fine. The type of the hello variable is not shown either.

By the way, these are my seetings:
Lua = {
	completion = {
		callSnippet = "Both",
	},
	runtime = {
		path = {
			"/home/hiphish/.luarocks/share/lua/5.3/?.lua",
			"/home/hiphish/.luarocks/share/lua/5.3/?/init.lua",
			"/home/hiphish/.luarocks/share/lua/5.3/?.lua",
			"/home/hiphish/.luarocks/share/lua/5.3/?/init.lua",
			"/usr/share/lua/5.3/?.lua",
			"/usr/share/lua/5.3/?/init.lua",
			"/usr/share/lua/5.3/?.lua",
			"/usr/share/lua/5.3/?/init.lua"
		},
		version = "Lua 5.3",
	},
	workspace = {
		library = {
			["/home/hiphish/.luarocks/share/lua/5.3/"] = true,
			["/usr/share/lua/5.3/"] = true,
		},
		maxPreload = 1000,
		preloadFileSize = 1000,
	}
}

If it works when runtime.path is default?

Sorry, I was mistaken. My configuration was wrong, now I am getting proper completion suggestions for the most part. There is one more issue: some suggestions for require have their first letter missing. I will open a new issue for that, this one can be closed.


Remove the hardcoding for adding Intro text and wavey lines

@saeedmb8 @miltontony Please review

:+1:

@saeedmb8 Ready for review

:+1: once travis is happy


[TypeReconstruction] Fix reconstruction for existential metatypes.

Without this, we wouldn't be able to show an array of Any.Type
in the debugger.
Fixes rdar://problem/40940701.

@swift-ci please test and merge

@swift-ci please test and merge


Improve the size of installation via npm

As of now, NPM downloads every file in the repository.
Using something like .npmignore would allow to shrink the size of the installed directory.

Completed in commit https://github.com/octoman90/binsize.js/commit/96cb163b6b8795eeb3d366c73fffe914556b9285


Replace core_io with genio

The core_io crate depends on a specific nightly version of rustc, which prevents us from being able to upgrade rust. This PR replaces the uses of core_io with genio.

(back to draft, so this moves in tandem with the rust update)


Build failure: grapher://grapher/covid/latest/vaccinations

Prod build is currently failing due to the grapher step for covid vaccination data:
3. grapher://grapher/covid/latest/vaccinations...
2023-08-01 08:03:46 [info     ] upsert_dataset.verify_namespace namespace=covid
2023-08-01 08:03:46 [info     ] upsert_dataset.upsert_dataset.start short_name=vaccinations
2023-08-01 08:03:46 [info     ] upsert_dataset.upsert_dataset.end id=6153 short_name=vaccinations
2023-08-01 08:03:51 [info     ] upsert_table.upserted_variable id=738597 size=46617 title=total_boosters
2023-08-01 08:03:51 [info     ] upsert_table.upserted_variable id=738594 size=78231 title=total_vaccinations
2023-08-01 08:03:52 [info     ] upsert_table.upserted_variable id=738596 size=71495 title=people_fully_vaccinated
2023-08-01 08:03:52 [info     ] upsert_table.upserted_variable id=738595 size=74956 title=people_vaccinated
2023-08-01 08:03:53 [info     ] upsert_table.upserted_variable id=738598 size=64577 title=new_vaccinations
2023-08-01 08:03:53 [info     ] upsert_table.upserted_variable id=738601 size=78231 title=total_vaccinations_per_hundred
2023-08-01 08:03:53 [info     ] upsert_table.upserted_variable id=738599 size=175829 title=new_vaccinations_smoothed
2023-08-01 08:03:53 [info     ] upsert_table.upserted_variable id=738602 size=74956 title=people_vaccinated_per_hundred
2023-08-01 08:03:54 [info     ] upsert_table.upserted_variable id=738600 size=175657 title=new_people_vaccinated_smoothed
2023-08-01 08:03:54 [info     ] upsert_table.upserted_variable id=738603 size=71495 title=people_fully_vaccinated_per_hundred
2023-08-01 08:03:54 [info     ] upsert_table.upserted_variable id=738604 size=46617 title=total_boosters_per_hundred
Traceback (most recent call last):
  File "/home/owid/etl/.venv/bin/etl", line 6, in <module>
    sys.exit(main_cli())
  File "/home/owid/etl/.venv/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/home/owid/etl/.venv/lib/python3.10/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/home/owid/etl/.venv/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/owid/etl/.venv/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/home/owid/etl/etl/command.py", line 129, in main_cli
    main(**kwargs)  # type: ignore
  File "/home/owid/etl/etl/command.py", line 158, in main
    run_dag(
  File "/home/owid/etl/etl/command.py", line 260, in run_dag
    time_taken = timed_run(lambda: step.run())
  File "/home/owid/etl/etl/command.py", line 296, in timed_run
    f()
  File "/home/owid/etl/etl/command.py", line 260, in <lambda>
    time_taken = timed_run(lambda: step.run())
  File "/home/owid/etl/etl/steps/__init__.py", line 742, in run
    variable_upsert_results = [future.result() for future in concurrent.futures.as_completed(futures)]
  File "/home/owid/etl/etl/steps/__init__.py", line 742, in <listcomp>
    variable_upsert_results = [future.result() for future in concurrent.futures.as_completed(futures)]
  File "/usr/lib/python3.10/concurrent/futures/_base.py", line 451, in result
    return self.__get_result()
  File "/usr/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
    raise self._exception
  File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/owid/etl/etl/steps/__init__.py", line 731, in <lambda>
    upsert = lambda t: gi.upsert_table(  # noqa: E731
  File "/home/owid/etl/etl/grapher_import.py", line 226, in upsert_table
    variable = gm.Variable.from_variable_metadata(
  File "/home/owid/etl/etl/grapher_model.py", line 847, in from_variable_metadata
    assert metadata.display
AssertionError
2023-08-01 08:03:54 [info     ] upsert_table.upserted_variable id=738607 size=931 title=share_of_boosters
2023-08-01 08:03:55 [info     ] upsert_table.upserted_variable id=738605 size=175829 title=new_vaccinations_smoothed_per_million
2023-08-01 08:03:55 [info     ] upsert_table.upserted_variable id=738608 size=74956 title=people_unvaccinated
🚨 Error: The command exited with status 1

Taking a look since Mojmir's away


How do I get the QueryFn Type

Hi,
with RC2 I used the QueryFn type like so:
`  private getProductList(query: (ref: firebase.database.Reference) => firebase.database.Query) {
return this.af.list('/products/products', query)
.valueChanges()
.debounceTime(5);
}`
But with RC3 now, I get the error "Cannot find namespace 'firebase'".
Does anybody know, how I can use the queryFn type?
Thanks
regards
Benny

I just had to add import * as firebase from 'firebase/app';


Rework how functions are grouped

At the moment services are each in an invidual file under openghg/services and the import functionality when function calls are routed is clunky. This should be improved so we can group functions into files / folders with each other.

Currently working on this in #86


Verification status

Hello,
we were looking at NEORV32 some time ago in a company where I work as possible candidate
for using it as RISCV CPU. In the end, we picked IBEX CPU from lowRISC instead. The main
reason was verification status.
Does NEORV32 have any verification TB (other than simple launching example SW) ? Has it been
verified compared to some instruction/cycle accurate RISCV model? Has it been simulated in
some commerical toolchain? What are the future directions of NEORV in terms of verification?
I open up this issue just out of curiosity about future directions of NEORV :)

Hey there!

we picked IBEX CPU from lowRISC

I also like lowRISC. Ibex is a really great core! :+1:

Does NEORV32 have any verification TB (other than simple launching example SW) ?

We do have a self-checking testbench in sim. It runs the processor check program that outputs a specific string only if all tests have passed. But there isn't something like a formal verification of the CPU / the whole processor - just because I have no idea how to do that 😅

Has it been verified compared to some instruction/cycle accurate RISCV model?

We are using the official RISC-V architecture test framework (the older 2.x version) to check the core's code base once a weak for compatibility (with the golden reference provided by RISC-V - obtained from SPIKE). See https://github.com/stnolting/neorv32-verif

Has it been simulated in some commerical toolchain?

So, you ask if the core can be simulated using commercial tools?
I am using Xilinx ISIM and Modelsim and I know that some others are also using Modelsim.

What are the future directions of NEORV in terms of verification?

Good question! 😄
To be honest, I am not sure. Formal verification would be interesting, but at least for the moment this is out of scope (for me).
Currently, I am thinking about porting the (new) RISC-V architecture test framework, which is based on RISCOF. It is a little bit more complex than the older 2.x framework, but much more capable. Basically, you create a YAML file of the core with all it's registers, features, IO stuff and everything and throw it into a RISC-V golden-reference simulator (SPIKE/Sail) together with test programs for all different instructions and functions. Then you execute the same on the device under test and compare the results.

Hi, thanks for the reply.
For the methodology of verification, I was refering to something like:
Testbench with randomly generated program, and DUT state compared (e.g. post each instruction) with model state (e.g. model such as spike). IMHO it is important to have at least some constrained random generated program, since it can catch nice corner-cases. Also, having "code-coverage" (statement, branch, toggle) evaluated and at high numbers is important. Functional coverage (e.g. on all instruction types, and all operands used, or combinations of all valid operands, etc.) is also important.
Out of this, a lot can be done in open-source world (unfortunately, not all). GHDL supports PSL, which has functional coverage, so you can do that quite easily. As for the simulation framework, it does not really matter. Professional world is using UVM, but OSVVM will do too. As long as you use a good model (such as spike), it is just a matter of generating valid program, calling the model from simulation, and comparing with DUT (and catching error if not).
As for the code-coverage, there is no OS simulator which has decent code coverage implemented, I am doing some slow progress in this regard in: https://github.com/nickg/nvc/issues/474
I estimate that by the end of this year, I will have some first usable implementation available.
I completely did not mean formal verification. I am aware of Symbiosys available in OS domain, but I doubt about its complete usability (due to lack of complete SV language support), I don't know how well does it cope with VHDL and extraction of formal properties out of PSL. Sure that commercial tools like Jasper are out of scope of this project.

Sorry for the late reply...
I do not have a real background in verification, so setting up a self-checking testbench was the best I could come up with. Recently, I have been tinkering with the RISCOF RISC-V Compatibility Framework to check the processor for RISC-V ISA compatibility.

Testbench with randomly generated program, and DUT state compared [...]

The framework uses the test cases from riscv-arch-test and runs them on the DUT (the NEORV) and a "golden" reference like Sail or Spike. The framework does not check the DUT/REF state after each single operation/instruction and does not check all the possible architecture states (yet?). However, from a plain functional point of view, this provides a very confident "verification" approach (IMHO).
My port of the framework is available in neorv32-riscof, but it is still work-in-progress.

GHDL supports PSL, which has functional coverage, so you can do that quite easily. [...]

Code coverage would be great to check the quality of the RTL code. However, I am not very confident with this topic. I found some nice projects that use GHDL to do a simple coverage analysis, but I am not sure how "valuable" this data is.

I am doing some slow progress in this regard in: https://github.com/nickg/nvc/issues/474 [...]

That sound interesting. I think I'll need to have a closer look at nvc.

To add a few cents to the verification status conversation.
I currently have the core running in xcelium with some caveats. To get a clean sim going some light touches where needed in a few of source files. E.g. using '-' for don't care values, while theoretically nice, ends up causing large amounts of 'X' propagation as '-' resolves to 'X' with almost any logical operator.
The current GHDL setup is configured to ignore x-prop, which can lead to challenges. Note that VHDL by nature will almost always have some elements of X-prop at time 0, this can be scripted out by injecting an disable x-prop command, run 1, then re-enabling x-prop.
@Blebowski is correct in randomized instruction testing is the next step up in validation of the core. The fact that the core passes the architecture test framework is impressive in itself and an amazing start.
Utilizing UVM is A way to achieve randomized instruction testing. Would maybe suggest exploring a test framework like cocotb. From experience UVM can be made to work for randomized instruction testing but with significant challenges. Cocotb might well be easier to get starting with.
The purpose of randomized instruction testing is to determine whether sequences of instructions, and in particular neighboring instructions, have.. unfortunate interference via side-effects, e.g. status flag updates delays that can impact a: sub; branch conditional sequence. These are not normally covered within a directed test framework like riscof.
Randomized testing also helps finding unfortunate assumptions in data conversion, rounding and bus transactors.
Next level up is to begin to add in randomizing of events surrounding the core, e.g. random interrupt injection during normal code operation. This is the "Here be dragons" part of processor developement.

E.g. using '-' for don't care values, while theoretically nice, ends up causing large amounts of 'X' propagation as '-' resolves to 'X' with almost any logical operator.

This should be he case only right after reset. After some cycles the whole circuit should have settled into defined states.

@Blebowski is correct in randomized instruction testing is the next step up in validation of the core

Some time ago, I wrote something like an "instruction fuzzer" that basically executes all possible 32-bit instruction in some kind of sandbox (using RISC-V's user mode and physical memory protection). The intention was to find "opcode holes" that did not trigger an illegal instruction exception.
This was the best I could come up with as I am not familiar with formal verification 😅
Using UVM/cocotb is still beyond my capabilities, but it is definitely on my todo list!


Make app consistent with upgrades

This makes Maslow consistent with the other apps updated to Rails 6

Hey @cdccollins this looks great, I've compared the pr changes with railsdiff and there are some changes that didn't happen with bundle exec rails app:update. Can we do the following changes:

Removing bin/bundle, bin/update
In the config/environments/test.rb the config.cache_classes = true has changed to false and there is config.action_view.cache_template_loading = true
Update the config/spring.rb to

Spring.watch(
  ".ruby-version",
  ".rbenv-vars",
  "tmp/restart.txt",
  "tmp/caching-dev.txt"
)

Update test/test_helper.rb to use parallelize

# Run tests in parallel with specified workers
parallelize(workers: :number_of_processors)

# Run tests in parallel with specified workers
parallelize(workers: :number_of_processors)

This was what was causing the tests to break, so I've removed it

Here are a couple of tiny optional updates that could also be done:

Remove the unused (commented) Railties require statements in config/application.rb
Remove config/initializers/new_framework_defaults.rb as per the reason in alphagov/travel-advice-publisher@8b0745e


updating influxdb handler for influxdb 0.9

trying to address the request body change since influxdb 0.9

Please submit your PR to https://github.com/sensu-plugins/sensu-plugins-influxdb


Error installing the framework using carthage

I am trying to install the calendar using carthage but doing carthage update gives next error:
*** Building scheme "JTAppleCalendar tvOS" in JTAppleCalendar.xcworkspace
Build Failed
...
This usually indicates that project itself failed to compile.

This is for version 7.1.7

what version of

xcode
swift

do you have?

Same error here on XCode 10.1
In my case the logs indicate a Swift version error:
`/{redacted}/Carthage/Checkouts/JTAppleCalendar/Sources/UserInteractionFunctions.swift:162:80: error: 'elementKindSectionHeader' has been renamed to 'UICollectionElementKindSectionHeader'
super.register(viewClass, forSupplementaryViewOfKind: UICollectionView.elementKindSectionHeader, withReuseIdentifier: identifier)
^~~~~~~~~~~~~~~~~~~~~~~~
UICollectionElementKindSectionHeader
UIKit.UICollectionView:4:22: note: 'elementKindSectionHeader' was introduced in Swift 4.2
public class let elementKindSectionHeader: String
^
/{redacted}/Carthage/Checkouts/JTAppleCalendar/Sources/UserInteractionFunctions.swift:168:74: error: 'elementKindSectionHeader' has been renamed to 'UICollectionElementKindSectionHeader'
super.register(nib, forSupplementaryViewOfKind: UICollectionView.elementKindSectionHeader, withReuseIdentifier: identifier)
^~~~~~~~~~~~~~~~~~~~~~~~
UICollectionElementKindSectionHeader
UIKit.UICollectionView:4:22: note: 'elementKindSectionHeader' was introduced in Swift 4.2
public class let elementKindSectionHeader: String
^
/{redacted}/Carthage/Checkouts/JTAppleCalendar/Sources/UserInteractionFunctions.swift:173:90: error: 'elementKindSectionHeader' has been renamed to 'UICollectionElementKindSectionHeader'
guard let headerView = dequeueReusableSupplementaryView(ofKind: UICollectionView.elementKindSectionHeader,
^~~~~~~~~~~~~~~~~~~~~~~~
UICollectionElementKindSectionHeader
UIKit.UICollectionView:4:22: note: 'elementKindSectionHeader' was introduced in Swift 4.2
public class let elementKindSectionHeader: String
^
/{redacted}/Carthage/Checkouts/JTAppleCalendar/Sources/JTAppleCalendarView.swift:135:117: error: 'elementKindSectionHeader' has been renamed to 'UICollectionElementKindSectionHeader'
guard let attributes = calendarViewLayout.layoutAttributesForSupplementaryView(ofKind: UICollectionView.elementKindSectionHeader, at: indexPath) else { return retval }
^~~~~~~~~~~~~~~~~~~~~~~~
UICollectionElementKindSectionHeader
UIKit.UICollectionView:4:22: note: 'elementKindSectionHeader' was introduced in Swift 4.2
public class let elementKindSectionHeader: String
^
/{redacted}/Carthage/Checkouts/JTAppleCalendar/Sources/JTAppleCalendarView.swift:171:47: error: type 'UIScrollView.DecelerationRate' (aka 'CGFloat') has no member 'fast'; did you mean 'hash'?
case .stopAtEachCalendarFrame: return UIScrollView.DecelerationRate.fast.rawValue
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~
hash
CoreGraphics.CGFloat:3:17: note: 'hash' declared here
public func hash(into hasher: inout Hasher)
^
/{redacted}/Carthage/Checkouts/JTAppleCalendar/Sources/JTAppleCalendarView.swift:172:54: error: type 'UIScrollView.DecelerationRate' (aka 'CGFloat') has no member 'fast'; did you mean 'hash'?
case .stopAtEach, .stopAtEachSection: return UIScrollView.DecelerationRate.fast.rawValue
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~
hash
CoreGraphics.CGFloat:3:17: note: 'hash' declared here
public func hash(into hasher: inout Hasher)
^
/{redacted}/Carthage/Checkouts/JTAppleCalendar/Sources/JTAppleCalendarView.swift:173:75: error: type 'UIScrollView.DecelerationRate' (aka 'CGFloat') has no member 'normal'; did you mean 'isNormal'?
case .nonStopToSection, .nonStopToCell, .nonStopTo, .none: return UIScrollView.DecelerationRate.normal.rawValue
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
isNormal
CoreGraphics.CGFloat:40:16: note: 'isNormal' declared here
public var isNormal: Bool { get }
^
/{redacted}/Carthage/Checkouts/JTAppleCalendar/Sources/JTAppleCalendarView.swift:180:32: error: argument labels '(rawValue:)' do not match any available overloads
decelerationRate = UIScrollView.DecelerationRate(rawValue: decelerationRateMatchingScrollingMode)
^                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/{redacted}/Carthage/Checkouts/JTAppleCalendar/Sources/JTAppleCalendarView.swift:180:32: note: overloads for 'UIScrollView.DecelerationRate' exist with these partially matching parameter lists: (Float), (Double), (CGFloat), (UInt8), (Int8), (UInt16), (Int16), (UInt32), (Int32), (UInt64), (Int64), (UInt), (Int), (exactly: T), (bitPattern: UInt), (floatLiteral: CGFloat.NativeType), (integerLiteral: Int), (from: Decoder), (NSNumber), (truncating: NSNumber), (exactly: NSNumber)
decelerationRate = UIScrollView.DecelerationRate(rawValue: decelerationRateMatchingScrollingMode)
^
/{redacted}/Carthage/Checkouts/JTAppleCalendar/Sources/JTAppleCalendarLayout.swift:374:100: error: 'elementKindSectionHeader' has been renamed to 'UICollectionElementKindSectionHeader'
let attrib = layoutAttributesForSupplementaryView(ofKind: UICollectionView.elementKindSectionHeader, at: IndexPath(item: data.0, section: data.1))
^~~~~~~~~~~~~~~~~~~~~~~~
UICollectionElementKindSectionHeader
UIKit.UICollectionView:4:22: note: 'elementKindSectionHeader' was introduced in Swift 4.2
public class let elementKindSectionHeader: String
^
/{redacted}/Carthage/Checkouts/JTAppleCalendar/Sources/JTAppleCalendarLayout.swift:672:86: error: 'elementKindSectionHeader' has been renamed to 'UICollectionElementKindSectionHeader'
return attributes.filter { $0.representedElementKind != UICollectionView.elementKindSectionHeader }
^~~~~~~~~~~~~~~~~~~~~~~~
UICollectionElementKindSectionHeader
UIKit.UICollectionView:4:22: note: 'elementKindSectionHeader' was introduced in Swift 4.2
public class let elementKindSectionHeader: String
^
/{redacted}/Carthage/Checkouts/JTAppleCalendar/Sources/InternalActionFunctions.swift:67:29: error: type 'UIScrollViewDecelerationRate' (aka 'CGFloat') has no member 'fast'; did you mean 'hash'?
decelerationRate = .fast
^~~~
hash
CoreGraphics.CGFloat:3:17: note: 'hash' declared here
public func hash(into hasher: inout Hasher)
^
/{redacted}/Carthage/Checkouts/JTAppleCalendar/Sources/InternalActionFunctions.swift:99:113: error: 'elementKindSectionHeader' has been renamed to 'UICollectionElementKindSectionHeader'
guard let attributes = calendarViewLayout.layoutAttributesForSupplementaryView(ofKind: UICollectionView.elementKindSectionHeader, at: indexPath) else { return }
^~~~~~~~~~~~~~~~~~~~~~~~
UICollectionElementKindSectionHeader
UIKit.UICollectionView:4:22: note: 'elementKindSectionHeader' was introduced in Swift 4.2
public class let elementKindSectionHeader: String
^
/{redacted}/Carthage/Checkouts/JTAppleCalendar/Sources/UIScrollViewDelegates.swift:79:33: error: type 'UIScrollViewDecelerationRate' (aka 'CGFloat') has no member 'fast'; did you mean 'hash'?
decelerationRate = .fast
^~~~
hash
CoreGraphics.CGFloat:3:17: note: 'hash' declared here
public func hash(into hasher: inout Hasher)
^
/{redacted}/Carthage/Checkouts/JTAppleCalendar/Sources/UIScrollViewDelegates.swift:203:115: error: 'elementKindSectionHeader' has been renamed to 'UICollectionElementKindSectionHeader'
let attrib = calendarLayout.layoutAttributesForSupplementaryView(ofKind: UICollectionView.elementKindSectionHeader, at: attribPath) { // JT101 this was changed
^~~~~~~~~~~~~~~~~~~~~~~~
UICollectionElementKindSectionHeader
UIKit.UICollectionView:4:22: note: 'elementKindSectionHeader' was introduced in Swift 4.2
public class let elementKindSectionHeader: String
^
/{redacted}/Carthage/Checkouts/JTAppleCalendar/Sources/UIScrollViewDelegates.swift:231:37: error: argument labels '(rawValue:)' do not match any available overloads
self.decelerationRate = UIScrollView.DecelerationRate(rawValue: self.decelerationRateMatchingScrollingMode)
^                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/{redacted}/Carthage/Checkouts/JTAppleCalendar/Sources/UIScrollViewDelegates.swift:231:37: note: overloads for 'UIScrollView.DecelerationRate' exist with these partially matching parameter lists: (Float), (Double), (CGFloat), (UInt8), (Int8), (UInt16), (Int16), (UInt32), (Int32), (UInt64), (Int64), (UInt), (Int), (exactly: T), (bitPattern: UInt), (floatLiteral: CGFloat.NativeType), (integerLiteral: Int), (from: Decoder), (NSNumber), (truncating: NSNumber), (exactly: NSNumber)
self.decelerationRate = UIScrollView.DecelerationRate(rawValue: self.decelerationRateMatchingScrollingMode)
^
** ARCHIVE FAILED **
The following build commands failed:
CompileSwift normal arm64
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(2 failures)
`

what version of

xcode
swift

do you have?

I had Xcode 10.1, Swift 4.2. Now it also fails after the upgrade to Xcode 10.2, Swift 5.

Do you guys really target tvOS?
If you target just iOS use carthage update --platform ios and it works.

I am not able to build with Xcode 10.2 in carthage either. I get an error saying that JTAppleCell cannot be found

closing this issue.
Updated to swift 5 and fixed TVOS build error.
Let me know if it is still failing.

@patchthecode
You didn't make a release. Latest release still 7.1.7?

Didnt make the release yet.
I was trying to push another fix for another issue before i released.
Can you just use master branch for now?

The iOS platform fails on master.
/usr/bin/xcrun xcodebuild -workspace Carthage/Checkouts/JTAppleCalendar/JTAppleCalendar.xcworkspace -scheme JTAppleCalendar\ iOS -configuration Release -derivedDataPath DerivedData/10.2_10E125/JTAppleCalendar/47b35f67cff94f5bc717096f644920dcc2111f28 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /JTAppleCalendar SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Carthage/Checkouts/JTAppleCalendar)

This usually indicates that project itself failed to compile

sorry. I forgot to push.
Is it working now?

Yes! It works now both platform builds. Thanks!

cool.

When this will be released?


feat: enhance unit test for batch tip

What ❔
Add a few more hardcoded constants for batch tip unit test.
Why ❔
To measure correct values for further removing of the batch_dry_run
Checklist

[ ] PR title corresponds to the body of PR (we generate changelog entries from PRs).
[ ] Tests for the changes have been added / updated.
[ ] Documentation comments have been added / updated.
[ ] Code has been formatted via zk fmt and zk lint.
[ ] Spellcheck has been run via zk spellcheck.
[ ] Linkcheck has been run via zk linkcheck.

gas_used metric is the same as max_used_gas, so didn’t add this constant. All the values are multiplied by 2 to have an overhead(in case not all edge cases are checked). Also wasn’t added constant for block writes - not sure that we can do this in this test.


Alliance: member can't retire if was set once up for kicking

Description of bug
One of the requirements to retire and return deposit is to be not considered by alliance to be kicked - link.
To keep track of all members proposed for kicking there is a storage map with AccountIDs (UpForKicking) - link.
When Alliance proposes proposal with the call to kick_member, the pallet stores the account id in UpForKicking - link.
And when member is kicked, the AccountId is removed from UpForKicking storage - link.
But what If the proposal for kicking member is not voted to be executed and closed?
The AccountId will not be removed from the UpForKicking storage. And a member wont be able ever to retire.

Just adding a note here from DM so it doesn't get lost:
We could do like Staking and have a "retirement period" (like unbonding period). You'd lose your voting rights during the period, and at the end of it you could actually retire. That would do away with the UpForKicking storage item entirely. This also aligns more with the principle that the system shouldn't need to know about the contents of a proposal until it is time to execute them. I.e. all operations about proposals should be based on their hash, and pallet storage shouldn't change just because something is proposed.
pub trait Config<I: 'static = ()>: frame_system::Config {
    type RetirementPeriod: Get<BlockNumber>;
}

enum MemberRole {
    Retiring(BlockNumber), // <- add this
}

fn give_retirement_notice(origin) { /* change role to Retiring(current_block_number) */ }

fn retire(origin) { /* check that BlockNumber + RetirementPeriod have passed and retire */ }

We can make the retirement period longer than the Root referendum track such that members cannot just retire to escape being forcibly removed (related to https://github.com/paritytech/substrate/issues/11928).

@joepetrowski
There will be one possibility left for a member to retire even though there is approved proposal to kick the member.
It can happened if no one executes the proposal for kicking the member within retirement period.
Since the retirement period is supposed to be set greater than the motion duration and alliance will be willing to execute such proposals within motion duration, I think we can tolerate this edge case.

Yeah, I agree. The Alliance members are meant to be active participants. If someone gets away from a slash because everyone in the Alliance was too lazy to close it, well then the Alliance isn't working very well :).


Escape content URLs on submissions

Useful for filenames with non-ascii characters.

Complementary patch: https://github.com/Watteo/faview/commit/562b730082e06c82abd63b0164bac0a6c67d6901

So this isn't due to improper escaping, but that the responses returned aren't designated at utf-8 encoded.  7a7cfec7eec0f2a861e23420a970cb21793dea63 fixes this.
Before:

After:

I've tested this with the live version and everything seems to work fine after the change.  I don't think this patch is needed anymore but if you can find an instance where encoding is still broken I'll merge it.


Analyzing dotnet core dependencies (project.assets.json)

Hey,
Currently, there is some support for dotnet via assembly analyze and NuGet. It seems there is no support for the new nuget format - which create project.assets.json after restoring packages. Is this is something in the roadmap? What is the plan for dotnet core support?

To better support .NET analysis GrokAssembly will switch to using dotnet core. As for analysis - we continue to add support for new sources of information as we learn about them and have time to implement.  I know on the .NET side some time needs to be spent getting the identifiers created so that we can more easily create suppression rules.  To that end - the identifiers collection will soon be split into two - one for development/repo identifiers (i.e. GAV, nuget coordinates, etc.) and one for vulnerability identifiers (i.e. CPEs).  Then when we parse something like a project.assets.json we can create virtual dependencies, add evidence, and add the correct identifiers.

Thanks :) looking forward to it!

I missed closing this issue when 5.0.0 was released. 5.0-5.3 required the used of dotnet core 2.x. With the soon to be released 5.4 we will be requiring dotnet 3.1.


Add design for a baremetal bootstrap node

@dhellmann I thought it would be useful to explore the idea of a baremetal bootstrap host a bit since we didn't discuss it much previously. What do you think?

Oh this is quite old, I think we've abandoned any plans for this for now.

Oh this is quite old, I think we've abandoned any plans for this for now.


[support] how to set variabel global on angular?

If you mean having a variable in the global scope (i.e. $rootScope), then it should be something like
$rootScope.test = "Test variable value";

of course after injecting $rootScope in your constructor.
I must say that using the $rootScope is a bad practice in most cases, if you'd like to have a variable globally available wrap it in a service to inject it and use it whenever you need.
Hope this helps


Improved script

Hi, this is my contribution to the script with the following changes:

Created class
Added multithread support
Added url list support

New usage:
python script.py -f wp-list -d domain -t threads

Output:
[domain] http://example-site.com/
[http://example-site.com/] Completed  check inbox [*]

You're welcome :)
I'll continue the tests when the merge finishes


2.0: API - AWS machine types show up twice

More Info
Reported by: Joe Kane<EMAIL_ADDRESS>Source URL: http://localhost:4200/clusters/new
BrowserChrome 70.0.3538.77Screen Size1366 x 768OSOS X 10.13.6Viewport Size1680 x 970Zoom Level100%Pixel Ratio@2x

Looks like some other error may not be getting handled... and this is a result of a broken UI. When we test it, we cannot reliably reproduce it, and when we do produce it, a refresh seems to resolve it.

I've been able to reproduce this in almost all regions. In addition, this is the http response from Postman:

@gopherstein  This is still an issue.

Duplicate: tracking in https://github.com/supergiant/control/issues/1004


Optimizer: consider cluster-to-cluster optimization features

e.g., Bandwidth
Decided to sum their values from last stored data-point to workload.

@zivnevo This issue has been implemented and can be closed, correct?

Done


[Outlook] (TOC) Reorganize API subTOC

Docs Build status updates of commit d45e261:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/toc.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


onDownload throws error 'Cannot read property 'download' of undefined', when passing custom body in buildBody function

Expected Behavior

Current Behavior

Steps to Reproduce (for bugs)

Your Environment

Tech
Version

Material-UI

MUI-datatables

React

browser

etc

Options::
downloadOptions: {
filename: "inventory-details.csv",
filterOptions: {
useDisplayedColumnsOnly: true,
useDisplayedRowsOnly: true
}
},
onDownload: (buildHead: any, buildBody: any, columns: any, data: any) => {
console.log("Data:", data);
const headerCol = [
{
name: "serialNumber",
label: "SERIAL NUMBER",
download: true
},
{
name: "MODEL NAME",
label: "MODEL NAME",
download: true
},
{
name: "SW VERSION",
label: "SW VERSION",
download: true
},
{
name: "MAC ADDRESS",
label: "MAC ADDRESS",
download: true
},
{
name: "PRODUCT ID",
label: "PRODUCT ID",
download: true
},
{
name: "PRODUCT CATEGORY",
label: "PRODUCT CATEGORY",
download: true
},
{
name: "PRODUCT DESCRIPTION",
label: "PRODUCT DESCRIPTION",
download: true
},
{
name: "ROLE",
label: "ROLE",
download: true
},
{
name: "MASTER IP",
label: "MASTER IP",
download: true
},
{
name: "CLUSTER NAME",
label: "CLUSTER NAME",
download: true
},
{
name: "LICENSE DETAILS",
label: "LICENSE DETAILS",
download: true
}
];
data = data.map((obj: any) => {
const temp = [
obj.data[0],
obj.data[1],
obj.data[2],
obj.data[3],
obj.data[4]["id"],
obj.data[4]["lineCategory"],
obj.data[4]["description"],
obj.data[5],
obj.data[6] ? obj.data[6] : "NA",
obj.data[7]
];
return { data: temp };
});
//console.log("Table Data:", data);
  return `${buildHead(headerCol)}${buildBody(data)}`.trim();
}

Data Provided::
Table Data example:data: Array(10)
0: "CP005XXXX"
1: "Aruba7005-US"
2: "<IP_ADDRESS>"
3: "20:XX:03:XX:55:XX to  20:XX:03:XX:55:XX"
4: "JW634A"
5: "Aruba WLAN"
6: "Aruba 7005 (US) 16 AP Branch Cntlr"
7: "MD"
8: "NA"
9: {acrLimit: "0", acrUsed: "0", apLimit: "0", apUsed: "1", licenseSummary: null, …}
length: 7
proto: Array(0)
Column Data:

There's likely an issue with the way you are mapping data in the function, but it's hard to tell. If you open a codesandbox that reproduces the issue, I will take a look.

Inside onDownload function, calling a callback method and tried to pass the data received.
on file download, it is undefined. How to resolve it?
onDownload: (buildHead, buildBody, columns, data) => {           if (this.state.isdownload) {             this.callbackMethod((d) => {               console.log(d);               let val = ${buildHead(columns)}${buildBody(d)}.trim();               console.log(val)               return val             });           }         }

@Somyadeep-Chowdhury was this.callbackMethod undefined? I would be careful using "this" in JavaScript. Additionally, the onDownload method is expecting you to return a value, which you're not doing in your method above.
I would recommend creating a codesandbox showing the issue you're having.

@gabrielliwerant @patorjk I faced this too, and I think I know where the issue is, but I don't have an idea how to fix it, I can't think of a way 😆 I'll try to explain as much as I can
In buildBody function the filter is referring to columns (the original columns data). If I want to export and extra column then columns[index] will be undefined
For example:
If my columns sent to the prop columns of MUIDataTable are ["Name", "Company"]
Then I want to add another column upon exporting csv
buildHead([...columns, "newColumn"]) // This will create the head
buildBody([...data, data[0]]) // This should create the body with the extra column, but according to the original columns array, columns[2] does not exist (undefined)

As a workaround, for the time being, I add a fake excluded column in the columns definition when calling MUIDataTable and the error is gone 😆 so the real question is, how to use the modified columns for filtering download option rather than the original one?
I hope this is clear enough :) please let me know if you have any questions.


[$250] 1:1 Submit expense - The receiving end of the IOU should not be asked to fill out information if the scan failed

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.54
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5121232&group_by=cases:section_id&group_order=asc&group_id=294998
Issue reported by: Applause - Internal Team
Action Performed:

Start the Submit expense flow in a 1:1 conversation with a user you have access to
Select the scan option
Upload a picture that will fail the scan process
Wait for the scan to fail
Log in as the other account
Navigate to the IOU that failed the scan
Verify the receiver is not asked to fill out the missing information

Expected Result:
The receiving end of the IOU should not be asked to fill out information if the scan failed
Actual Result:
The receiving end of the IOU is asked to fill out information if the scan failed but can't
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Standalone
[ ] Android: HybridApp
[ ] Android: mWeb Chrome
[ ] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

https://github.com/user-attachments/assets/7317ab19-6b6a-4337-91c2-e925dd5af6f4
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021854642765194540226
Upwork Job ID:<PHONE_NUMBER>194540226
Last Price Increase: 2024-11-14

Issue OwnerCurrent Issue Owner: @getusha

@alexpensify  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

Proposal
Please re-state the problem that we are trying to solve in this issue.
1:1 Submit expense - Scan failure should not ask receiver to enter information
What is the root cause of that problem?
We are displaying the same Enter an amount text for both side of the users
https://github.com/Expensify/App/blob/c3dde46202d2f48934ef7aa617d69c8b4c0b5ff6/src/components/ReportActionItem/MoneyRequestView.tsx#L272
What changes do you think we should make in order to solve the problem?

We should display this copy only if the user canEditAmount and add another appropriate copy (like No amount set yet) and display it when the user can't modify the amount
                    translationPath: canEditAmount ? 'common.error.enterAmount' : 'common.error.noAmount',

We should do the same enterDate and enterMerchant
What alternative solutions did you explore? (Optional)
Optionally we can also avoid displaying the error for the receiving end

No update yet

@getusha - can you please confirm if this proposal will fix this issue?
Heads up, I will be offline until Tuesday, November 12, 2024, and will not actively watch over this GitHub during that period.
If this GitHub requires an urgent update, please ask for help in the #expensify-open-source Slack Room. If it can wait, I'll continue the review process when I return online. Thanks!

@alexpensify The title of the issue should be updated according to the expected result

Expected Result:
The receiving end of the IOU should not be asked to fill out information if the scan failed

Done! Thanks for the feedback.

@getusha any update regarding the review here? Thanks!

@getusha if you are unable to review. I'll start the process of reassigning on Monday.

What is the correct behaviour here, I am not 100% sure

Yeah I think its a bit weird to show the RBR if you cannot edit the expense. Curious for @trjExpensify throughts

That said, I think we need to bring back that system message in the expense thread, to communicate why this is $0.00.

do we have an issue for bringing that back?

I believe it was going to come with Mills' sys message doc, is that right Jason?

Yeah, that's right.

Alright so for the purposes of this issue, we should make sure no error is shown on the side that cannot edit it.
@getusha can you please choose the proposal according to that expectation? thanks!

@JmillsExpensify @mountiny @getusha Before I make changes I want a confirmation:
RBRs are supposed to be directing the user into fixing errors so in addition to removing error and violation messages in transaction thread details page for the non-editable side we also need to remove the RBR in LHN and report previews.
So are u ok with it or want to only change the error text from Enter an amount to Amount is not entered yet for the non-editable side? Thx!

@FitseTLT we agreed on showing a system message instead of an error on the input, for this issue we just need to remove the error and RBR for the non-editable side.
@mountiny should we show $0.00 instead of leaving the field empty?

With the RBR I think in addition to the RBR shown in transaction details view, we should also remove the one displayed in LHN and ReportPreview and also MoneyRequestPreview for the non-editable side. Otherwise, we will be leading the user with the RBR into transaction details view where there won't be any violation RBR displayed which would be confusing.
@getusha BTW there are similar problems regarding other violations for other fields as well (like Missing Tag) which would extend the scope of this issue so should we handle only the amount and merchant case here?

Correct, for the user who cannot edit the expense, they should not see the RBR anywhere

which would extend the scope of this issue so should we handle only the amount and merchant case here?

Yeah I assume this applies for any violation, the fix should cover a generic case of not showing the RBR when the user cannot edit the expense

@getusha @FitseTLT How is this looking?

PR will be ready tomorrow 👍

@mountiny I have been working on removing RBR from the non-editable side but the problem is RBR is shown on a different level such as workspace chat, money report, report preview, and money request preview. So let's say the violation/error is related to the amount field to determine whether the current user can edit amount field of a transaction we need to have the parentReportAction and transactionThreadReport linked to the transaction
https://github.com/Expensify/App/blob/64eaf2fdd357bd06008adfb9c0c049e09cd375b9/src/components/ReportActionItem/MoneyRequestView.tsx#L153-L157
but the problem is we are not always guaranteed these data is available in onyx. For instance, if the user just logged in and didn't open the transaction Thread reports when we try to calculate the RBR for the workspace chat the parent report action linked to the transactions will not be available until they open the expense report so we can't reliably and consistently determine canEditMoneyRequest.
I think all we can do is show different copy in transaction thread based on whether or not the user can edit the field as in transaction thread details view we can determine whether the field can be edited. WDYT

@FitseTLT I see what you mean about not all data being accessible. So what we can do is to change the text for the admin, but they will still see the RBR leading you to something they cannot edit if they just signed in, is that right?

@FitseTLT I see what you mean about not all data being accessible. So what we can do is to change the text for the admin, but they will still see the RBR leading you to something they cannot edit if they just signed in, is that right?

Yes

@mountiny bump on the ^

I think that is ok edge case to have for now, I believe we will stop sending the expense reports without RBR to the user from the backend
So lets just hide the text

I think that is ok edge case to have for now, I believe we will stop sending the expense reports without RBR to the user from the backend
So lets just hide the text

@mountiny To summarize:
RBRs on workspace chats, report previews, money request view will show for non-editable side (b/c we can't reliably determine whether it is editable or not due to lack of data) and when the user opens the expense details page we will only have RBR icons on the fields but not text beside it ??

No, once they open the thread, the RBR will be gone, as we will have enough data.
Users are not expected to keep signing out so this is an edge case for only fresh sign ins, if you use the app you get all the data through pusher and RBR should not show up

Working on this. Will make PR ready by EOW 👍

Ok, thank you for the update.

@FitseTLT do you have a PR update? Thanks!

@FitseTLT do you have a PR update? Thanks!

Done with the code will record screenshots and create the PR tomorrow. Thx for your patience

Heads up, I will be offline until Wednesday, December 18, 2024, and will not actively watch over this GitHub during that period.
If this GitHub requires an urgent update, please ask for help in the #expensify-open-source Slack Room. If the inquiry can wait, I'll review it when I return online.

Weekly Update: PR is moving along through the review process

Heads up, I will be offline until Friday, January 3, 2025, and will not actively watch over this GitHub during that period.
If this GitHub requires an urgent update, please ask for help in the #expensify-open-source Slack Room. If the inquiry can wait, I'll review it when I return online.


Negotiate failed response code [502]

Logged these errors:
2021-06-09 13:29:14 ERROR (MainThread) [custom_components.lennoxs30.s30api_async] Retrieve Failed - Exception
2021-06-10 04:36:07 ERROR (MainThread) [custom_components.lennoxs30.s30api_async] Negotiate failed response code [502] text [<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>502 - Web server received an invalid response while acting as a gateway or proxy server.</title>

Server Error

<fieldset>

502 - Web server received an invalid response while acting as a gateway or proxy server.

There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.

 </fieldset>

]
2021-06-10 04:36:18 ERROR (MainThread) [custom_components.lennoxs30.s30api_async] Negotiate failed response code [502] text [

        <title> Server Error </title>

Server Error.

        There was an unexpected error in the request processing.

]
2021-06-10 04:41:28 ERROR (MainThread) [custom_components.lennoxs30.s30api_async] Negotiate failed response code [504] text [
<title>504 Gateway Time-out</title>

504 Gateway Time-out

nginx

]

I am using the NGINX SSL Proxy add-on.

Yes, MST.  We'll assume a Lennox server error then.

I’ve been monitoring this and periodically get 502.  I’m going to change the logging for this error to DEBUG since it’s something that will be normally encountered and the integration recovers from.  If we get 10 of these in a row, then it will generate and error and try to reconnect by logging in again and running through the startup sequence.   Ive also added these attributes to the lennoxs30 object - to track the state of the API.   This will all be in 0.0.3 - next week.
What do you think?  Suggestions?

Makes sense to me. If you're going to pass attributes to the user, add a short description to the documentation to provide context.

👍


Resolve outstanding issues with Besu Integration

[x] MutableWorldStateImpl should be deleted
[ ] Account nonces -> Verify that account nonces can be always 0 and no side effects would come from that
[ ] Implement remove method for the AccountStateStore in ContractsStore
[ ] Implement clearStorage method for the AccountStateStore in ContractsStore -> Might not be supported from the VirtualMap atm
[x] Change the gasLimit hardcoded property in ContractCreateTransitionLogic and ContractCallTransitionLogic to be retrieved from the global dynamic properties config. StubbedBlockHeader must have the same gasLimit as the one provided for the transaction (form the global dynamic properties)
[x] Remove blockHashLookup argument from the MainnetTransactionProcessor.processTransaction method
[x] stubbedBlockHeader -> The coinbase property must be the txnCtx.submittingNodeAccount()

Closing this, tasks 2 - 4 have new issues - #339 and #347 respectively.


Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[ ] iOS
[X] Android
[ ] UWP
[ ] .NET Standard

Version of Library
6.2.6
Version of OS(s) listed above with issue
Android Pie
Steps to Reproduce
Use connectHook with more than one Guid in input
`
connectHook = belt.ConnectHook(ReadWriteHelper.BMAP_SVC_GUID,
new Guid[]
{
ReadWriteHelper.CreateCharGuid((int)CharacteristicsIdsForRead.BT_GATT_DEBUG_3),
ReadWriteHelper.CreateCharGuid((int)CharacteristicsIdsForRead.BT_GATT_ERROR)
})
//.Retry() //this doesn't help
//.Sample(TimeSpan.FromSeconds(2)) //this doesn't help
.Subscribe(
x =>
{
try
{
int charId = ReadWriteHelper.BackToInteger(x.Characteristic.Uuid);
MemoryImage.SaveValueForChar(charId, x.Data);
}
catch
{
//TODO
}
},
ex =>
{
Crashes.TrackError(ex, new Dictionary<string, string> { { "Error from connecthook subscriptions", "Error from connecthook subscriptions" } });
});
`
Expected Behavior
All the Characteristics receive notifications in Subscribe
Actual Behavior
Only the last characteristic in the list receives notifications in Subscribe
Note that they look like they are subscribed from the logs:
12-05 21:34:21.805 D/BluetoothGatt(22429): setCharacteristicNotification() - uuid: 00000013-0000-1000-8000-00805f9b34fb enable: true
...
12-05 21:34:22.249 D/BluetoothGatt(22429): setCharacteristicNotification() - uuid: 00000003-0000-1000-8000-00805f9b34fb enable: true
Also note that switching the guid order changes the characteristic being notified (it's always the last one).

I fixed this problem in ConnectHook but then again I have a problem with characteristics not receiving notifications after I turn off and then on the device.
Anyway I think the problem in ConnectHook is:
            var sub = device
                .WhenConnected()
                .Select(_ => device.WhenKnownCharacteristicsDiscovered(serviceUuid, characteristicUuids).Retry())
                .Switch()
                .Select(x => x.BetterRegisterAndNotify(false, true))
                **.Merge()** //THIS HERE WAS A SWITCH SO THE LAST CHAR SUBSCRIPTION CUTS OUT THE OTHERS
                .Subscribe(
                    ob.OnNext,
                    ob.OnError
                );

Hello, isn't my proposed fix good? Won't fix?

The PR is fine.  I just have other things to work on right now.  You said this didn't fix your issue entirely anyhow.

Hello,
This fixes the bug decribed here. What this doesn't fix is the other problem I have descrbed in the other bug (i.E. Problems on reconnections with many characteristics subscribed).
Ottieni Outlook per Androidhttps://aka.ms/ghei36

From: Allan Ritchie<EMAIL_ADDRESS>Sent: Tuesday, January 7, 2020 4:38:04 AM
To: aritchie/bluetoothle<EMAIL_ADDRESS>Cc: Paolo Ferrazza<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [aritchie/bluetoothle] [Bug] ConnectHook behavior not as expected (#360)
The PR is fine. I just have other things to work on right now. You said this didn't fix your issue entirely anyhow.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Faritchie%2Fbluetoothle%2Fissues%2F360%3Femail_source%3Dnotifications%26email_token%3DADWECAGAE5BMUGELV2XJ4ATQ4P2JZA5CNFSM4JWAVZWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIHSUWA%23issuecomment-571419224&data=02|01||631d47977d154446272908d79323019d|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637139650859770676&sdata=PopAGPGPN53kO8RiJvPaa%2FMWsXhV%2FDtAl8LQBdKytao%3D&reserved=0, or unsubscribehttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADWECABRRFZBSTHR7XKULZDQ4P2JZANCNFSM4JWAVZWA&data=02|01||631d47977d154446272908d79323019d|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637139650859780680&sdata=wy%2FcJDrxVsZziDLN6NvKCuVZULwS%2B38T7rgiDo65hFg%3D&reserved=0.


Refactor Auto-diff passes

Split autodiff into 4 headers (and 4 cpp impls):

slang-ir-autodiff.h holds common structs: AutoDiffSharedContext, DifferentiableTypeConformanceContext, DifferentialPairTypeBuilder and the top-level autodiff pass processAutodiffCalls which calls the forward-diff, reverse-diff, pair-lowering and cleanup passes.
slang-ir-autodiff-pairs.h holds the pair type lowering pass DiffPairLoweringPass
slang-ir-autodiff-fwd.h holds the ForwardDerivativePass
slang-ir-autodiff-rev.h holds the ReverseDerivativePass

This refactor makes the next steps for reverse-mode easier: we'll add three new passes, each with it's own file: DiffTypePropagationPass, DiffInstUnzipPass and DiffInstTranspositionPass which will be called from ReverseDerivativePass

Not needed to include in this PR, but we should also remove all the inst, stdlib definitions and the type-checking logic for DiffBottom related stuff.


When a user is deleted, can recipients still read the e-mail addition to the FAQ

Here is a question suitable to add to this FAQ which I have a hard time finding an answer for. If User A in a tenant sends an e-mail that is encrypted with Message Encryption to user B in the same tenant and user C in another tenant. A few weeks later, user A leaves the company and his account is deleted. Will user B and C still be able to open the encrypted e-mail or is this gone since it was actually just stored in user A mailbox?

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

ID: 1e2a02f3-0560-f5c7-9743-d7e65ad5d1a4
Version Independent ID: 0382d4b5-3fe2-f353-ce73-5d437d80b7bf
Content: Message Encryption FAQ
Content Source: microsoft-365/compliance/ome-faq.yml
Service: o365-seccomp
GitHub Login: @KCCross
Microsoft Alias: krowley

@JonesMikael Thank you for your feedback. The account deletion does not impact the encryption as does not depend on the mailbox instead depends on the label. I was able to test and confirm the same as well.
Hope this helps!
Thanks
Sri

@msbemba Thank you very much for the contribution and sharing this explanation. @JonesMikael Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Failed to setup runtime - connection timed out

Environment

Elixir & Erlang/OTP versions (elixir --version): 1.13.0
Operating system: macOS 11.6.1
How have you started Livebook (mix phx.server, livebook CLI, Docker, etc): livebook server & tried mix phx.server
Livebook version (use git show if running with mix): 0.4
Browsers that reproduce this bug (the more the merrier):
Include what is logged in the browser console: nothing
Include what is logged to the server console:

03:40:21.992 [notice]     :alarm_handler: {:set, {:system_memory_high_watermark, []}}
[Livebook] Application running at http://localhost:8080/?token=bws7tahzb43g36gpfxvr4hsumk5tufry

No other logs shown in the server console, whatever I do on the browser doesn't reflect on server console. Just these two lines above.
Current behavior
I just installed livebook using mix escript.install hex livebook and I open it using livebook server and I think that's it, it should work and should by default connect to standalone elixir by default as I understand.
Expected behavior
I expected when I write any elixir expression, I can evaluate it inside the cell, but it shows Queued for sometime then notification error Failed to setup runtime - connection timed out, when I check from side menu runtime settings and click Connect button it also take a while then again show me Failed to setup runtime - connection timed out.
I have Elixir and Erlang installed using brew. I don't know if I should do anything else to make it work?!

OK only way to work is to connect it to a node using iex --sname test --cookie mycookie. Maybe this is the way to work with livebook on my computer?!

If iex --sname test --cookie mycookie works, then it is unlikely to be an issue with the distribution, as it definitely works in other cases. But just to be safe, can you try running Livebook with livebook --name<EMAIL_ADDRESS>

Aah it worked!! when I ran livebook server --name<EMAIL_ADDRESS>🥳  and I didn't have to open another iex session to connect to.

Ok, so when this happens is because your machine cannot resolve its name properly. Can you please try the following?
Start a new node with iex --sname foo:
iex(foo@SOMETHING)>

It will start a prompt like above, where SOMETHING is specific to your machine. Now please run this:
iex(foo@SOMETHING) :inet.gethostbyname('SOMETHING')

Where you replace SOMETHING by what is on your machine. Please note the single quotes.
And then let me know what it prints?

{:ok, {:hostent, 'ohotnik', [], :inet, 4, [{127, 0, 0, 1}]}}

That's very weird, that should totally have worked then. Especially as I assume your node name is ohotnik, right?

Yes it is

is this has any relation to unbound, because I installed in the past for some reason and now it doesn't work also for some reason .. unbound is cache DNS resolver

It might be, anything that may mess up with your DNS means we won't be able to find nodes as expected. I am closing this for now, I will be glad to reopen if others run into this. :)

OK I resolved the issue.
First I noticed when I start a new node  with iex --sname foo and then inside iex I query for hostname with  :inet.gethostbyname('okhotnik') -> it takes about 10+ seconds till it resolve. I then reconfigured my DNS to point again to the Google one <IP_ADDRESS> & <IP_ADDRESS> because I remembered that I removed them long time ago because of some issue in VSCode in that time, but I revert back to them I noticed in my iex that query for hostname became instant so I knew LiveBook will not ran out of time to get my node and it worked.
I used to reset my DNS this command on macOS
sudo networksetup -setdnsservers Wi-Fi <IP_ADDRESS> <IP_ADDRESS>

or you can go to Network Preferences -> Advanced -> DNS and put these IPs manually
Just for anyone has the same issue 😉


Give QApplication dummy arguments

Discards any Qt built-in command line arguments and replaces them with dummy argv that only contains the binary name. Solves #2665 / CVE-2021-3401.
Manually ported from bitcoin/bitcoin@a2714a5c
Contains a repetition of the consts in qt/test/test_main.cpp because we do not have the class extraction from qt/bitcoin.cpp into qt/bitcoin.h yet - I toyed with doing that but there's a number of things we'd need in that case, and this simple fix is more straight-forward. We can clean this up further with 1.14.6
Verified that this fixes the vulnerability on Intel MacOS Big Sur.

@patricklodder Confirmed. I tested.

I tested.

Thanks! On which OS?

@patricklodder  Ubuntu 20.04.

Hello, did you have problems with captcha and blocked my account when you unblock it? sent 100 messages never received a response!


Minor mistake in Documentation.

In Sass Usage
$navbar-default-bg: #312312;
$light-orange: #ff8c00;
$navbar-default-color: $light-orange;

@import "bootstrap";

Importing bootstrap will override the custom variables by importing the variables again.
// Core variables and mixins
@import "bootstrap/variables";
@import "bootstrap/mixins";

// Reset and dependencies
@import "bootstrap/normalize";
...

So the custom variables will not be overridden.
Solution
The solution to override is to have a file that does the work of bootstap.sass and have the variables included there. Eg.,
custom-bootstrap.sass
// Core variables and mixins
@import "lib/bootstrap/variables";
@import "lib/bootstrap/mixins";

// Overriding variables
@import "custom-variables";

// OR
$navbar-default-bg: #312312;
$light-orange: #ff8c00;
$navbar-default-color: $light-orange;

// Reset and dependencies
@import "lib/bootstrap/normalize";
...

Importing bootstrap does not override the variables as they are declared with the !default qualifier.


Consider adding rollup to the bundling stage besides pkg

I haven't had time to fully test this. Just created a bundle.js from dat project. Wanted to compare with pkg (they are entirely different). But posting already because it looks interesting.
See: https://github.com/aschrijver/dat/blob/master/rollup.config.js
I had to make 2 exclusions to have it working properly:
exclude: [ 'node_modules/aws-sign2/**', 'node_modules/hyperdrive-http/**' ],

This because of:

https://github.com/datproject/dat/issues/850
https://github.com/joehand/hyperdrive-http/pull/32

The result:

A 'bundle.js` of 327 kb!

Don't know if it works, haven't checked, maybe its crap, but if not ...
I will resume testing later, but maybe for you its much easier to see if stuff works as it should be.
BTW The output of rollup shows a number of warnings due to how some exports are formulated:

Rollup warnings for 'dat' project
12:55 $ npm run rollup

><EMAIL_ADDRESS>rollup /home/arnold/Development/misc/dat
> rollup -c --output dist/bundle.js

index.js → dist/bundle.js...
(!) Missing exports
https://github.com/rollup/rollup/wiki/Troubleshooting#name-is-not-exported-by-module
commonjs-proxy:/home/arnold/Development/misc/dat/node_modules/buffer-es6/index.js
default is not exported by node_modules/buffer-es6/index.js
1: import * as index from "/home/arnold/Development/misc/dat/node_modules/buffer-es6/index.js"; export default ( index && index['default'] ) || index;
                                                                                ^
commonjs-proxy:/home/arnold/Development/misc/dat/node_modules/dat-dns/node_modules/debug/src/index.js
default is not exported by node_modules/dat-dns/node_modules/debug/src/index.js
1: import * as index from "/home/arnold/Development/misc/dat/node_modules/dat-dns/node_modules/debug/src/index.js"; export default ( index && index['default'] ) || index;
                                                                                ^
commonjs-proxy:/home/arnold/Development/misc/dat/node_modules/call-me-maybe/index.js
default is not exported by node_modules/call-me-maybe/index.js
1: import * as index from "/home/arnold/Development/misc/dat/node_modules/call-me-maybe/index.js"; export default ( index && index['default'] ) || index;
                                                                                ^
commonjs-proxy:/home/arnold/Development/misc/dat/node_modules/concat-stream/index.js
default is not exported by node_modules/concat-stream/index.js
1: import * as index from "/home/arnold/Development/misc/dat/node_modules/concat-stream/index.js"; export default ( index && index['default'] ) || index;
                                                                                ^
commonjs-proxy:/home/arnold/Development/misc/dat/node_modules/nets/index.js
default is not exported by node_modules/nets/index.js
1: import * as index from "/home/arnold/Development/misc/dat/node_modules/nets/index.js"; export default ( index && index['default'] ) || index;
                                                                                ^
commonjs-proxy:/home/arnold/Development/misc/dat/node_modules/dat-link-resolve/node_modules/debug/src/index.js
default is not exported by node_modules/dat-link-resolve/node_modules/debug/src/index.js
1: import * as index from "/home/arnold/Development/misc/dat/node_modules/dat-link-resolve/node_modules/debug/src/index.js"; export default ( index && index['default'] ) || index;
                                                                                ^
commonjs-proxy:/home/arnold/Development/misc/dat/node_modules/thunky/index.js
default is not exported by node_modules/thunky/index.js
1: import * as index from "/home/arnold/Development/misc/dat/node_modules/thunky/index.js"; export default ( index && index['default'] ) || index;
                                                                                ^
commonjs-proxy:/home/arnold/Development/misc/dat/node_modules/mkdirp/index.js
default is not exported by node_modules/mkdirp/index.js
1: import * as index from "/home/arnold/Development/misc/dat/node_modules/mkdirp/index.js"; export default ( index && index['default'] ) || index;
                                                                                ^
commonjs-proxy:/home/arnold/Development/misc/dat/node_modules/buffer-alloc-unsafe/index.js
default is not exported by node_modules/buffer-alloc-unsafe/index.js
1: import * as index from "/home/arnold/Development/misc/dat/node_modules/buffer-alloc-unsafe/index.js"; export default ( index && index['default'] ) || index;
                                                                                ^
commonjs-proxy:/home/arnold/Development/misc/dat/node_modules/random-access-file/node_modules/debug/src/index.js
default is not exported by node_modules/random-access-file/node_modules/debug/src/index.js
1: import * as index from "/home/arnold/Development/misc/dat/node_modules/random-access-file/node_modules/debug/src/index.js"; export default ( index && index['default'] ) || index;
                                                                                ^
commonjs-proxy:/home/arnold/Development/misc/dat/node_modules/protocol-buffers/index.js
default is not exported by node_modules/protocol-buffers/index.js
1: import * as index from "/home/arnold/Development/misc/dat/node_modules/protocol-buffers/index.js"; export default ( index && index['default'] ) || index;
                                                                                ^
commonjs-proxy:/home/arnold/Development/misc/dat/node_modules/dat-secret-storage/index.js
default is not exported by node_modules/dat-secret-storage/index.js
1: import * as index from "/home/arnold/Development/misc/dat/node_modules/dat-secret-storage/index.js"; export default ( index && index['default'] ) || index;
                                                                                ^
commonjs-proxy:/home/arnold/Development/misc/dat/node_modules/multi-random-access/index.js
default is not exported by node_modules/multi-random-access/index.js
1: import * as index from "/home/arnold/Development/misc/dat/node_modules/multi-random-access/index.js"; export default ( index && index['default'] ) || index;
                                                                                ^
commonjs-proxy:/home/arnold/Development/misc/dat/node_modules/append-tree/messages.js
default is not exported by node_modules/append-tree/messages.js
1: import * as messages from "/home/arnold/Development/misc/dat/node_modules/append-tree/messages.js"; export default ( messages && messages['default'] ) || messages;
                                                                                ^
commonjs-proxy:/home/arnold/Development/misc/dat/node_modules/random-access-memory/index.js
default is not exported by node_modules/random-access-memory/index.js
1: import * as index from "/home/arnold/Development/misc/dat/node_modules/random-access-memory/index.js"; export default ( index && index['default'] ) || index;
                                                                                ^
commonjs-proxy:/home/arnold/Development/misc/dat/node_modules/hyperdrive/index.js
default is not exported by node_modules/hyperdrive/index.js
1: import * as index from "/home/arnold/Development/misc/dat/node_modules/hyperdrive/index.js"; export default ( index && index['default'] ) || index;
                                                                                ^
commonjs-proxy:/home/arnold/Development/misc/dat/node_modules/dat-node/node_modules/debug/src/index.js
default is not exported by node_modules/dat-node/node_modules/debug/src/index.js
1: import * as index from "/home/arnold/Development/misc/dat/node_modules/dat-node/node_modules/debug/src/index.js"; export default ( index && index['default'] ) || index;
                                                                                ^
commonjs-proxy:/home/arnold/Development/misc/dat/node_modules/dat-node/dat.js
default is not exported by node_modules/dat-node/dat.js
1: import * as dat from "/home/arnold/Development/misc/dat/node_modules/dat-node/dat.js"; export default ( dat && dat['default'] ) || dat;

What is the use case here? I don't really understand the benefits of rollup if we don't use ES6 modules.

What I understood from rollup it should be able to bundle + optimize via tree shaking regardless of whether you have an ES6 app or a standard cjs app. For that purpose it converts cjs requires to es6 imports before doing the optimization.
I wanted to test how much bundle size savings would be made with rollup. With pkg you get a 60+ MB beast. Doing rollup --> pkg could potentially improve much.
However I do not get the unit tests working on the bundle, lotsa error. Maybe needs more configuration.
I will come back to rollup testing later, for purposes of bundling for android, but for now consider yourself informed and feel free to close the issue :)

Ah cool. Let us know if you get it working with the pkg stuff!
A lot of the pkg size is probably the node binary. The browserify bundle of dat is 2MB which is probably a good estimate for what dat is contributing the pkg executable. But it'd definitely be nice to get the size down, looks like the now-cli is also as big.


Bump to release-1.0 of knative.dev/pkg

Last week Knative cut 1.0, this bumps the knative.dev/pkg dependency to the release-1.0 branch.
/kind misc
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[N/A] Docs included if any changes are user facing
[N/A] Tests included if any functionality added or changed
[x] Follows the commit message standard
[N/A] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Release notes block below has been filled in or deleted (only if no user facing changes)

Release Notes
NONE

Oh god, I forgot that Go 1.17 adds directives that make Tekton's verify-codegen explode 🤦

/lgtm

@bobcatfish  @jerop we need to add this requirement to the release not of v0.30 👼🏼
@JohnNiang yes, we need to update the install.md doc too 😓, sorry this "slipped" under our nose.
Note that I think setting KUBERNETES_MIN_VERSION environment variable to the deployment pod template spec should work fine (I don't think there is anything specific to 1.20 in pipeline).

I missed this skimming the changes, my bad!
In some of the higher traffic knative repos, we are running KinD presubmit legs for ~all of the supported versions, so this is very evident presubmit.  This isn't really practical with GKE clusters, but I'm happy to share pointers if this is interesting to Tekton?
Sorry for the missed release note 😅

There have been some attempts to add KinD e2e tests in the past (https://github.com/tektoncd/plumbing/issues/631, #3544), I'd love to move that forward to test exactly these kinds of scenarios.

I've been running the Tekton e2e tests this way downstream in mink for over a year without any real issues.  It's actions, so the reception when I offered previously was pretty chilly, but It would take me an hour and it would have caught this...

@jerop Would you like to update the release notes for v0.30.0? I was going to update dogfooding and realised that our robocat cluster is broken because of this. If we had service monitoring on the clusters we would have detected this the day after the PR was merged 😅

@afrittoli good catch, just updated the release - https://github.com/tektoncd/pipeline/releases/tag/v0.30.0


what's a curried flexLoader? (OWLGraphWrapperExtended)

From<EMAIL_ADDRESS>on February 03, 2014 20:17:45
And what is this meant to do? what's the point of sargs?
/**
 * Gets the textual definition of an OWLObject
 * \<p>
 * This is a curried FlexLoader s-expression version of {@link #getDef(OWLObject)}.
 *
 * @param c
 * @param sargs
 * @return definition
 *
 * @see #getDef(OWLObject)
 */
public String getDef(OWLObject c, List<String> sargs) {
	return getDef(c);
}

Original issue: http://code.google.com/p/owltools/issues/detail?id=91

From<EMAIL_ADDRESS>on February 03, 2014 20:20:01
The point to to allow the s-expressions to work properly during the reflection of the configuration file.

From<EMAIL_ADDRESS>on February 03, 2014 20:20:43
Labels: -Type-Defect -Priority-Medium Type-Review Priority-Low


Uncaught TypeError: Cannot read property 'toggleClass' of undefined, when set twelveHour: false on Timepicker

When set twelveHour: false option on Timepicker get this error:
Uncaught TypeError: Cannot read property 'toggleClass' of undefined
at Timepicker._updateAmPmView (materialize.js:9565)
at Timepicker._updateTimeFromInput (materialize.js:9593)
at Timepicker.open (materialize.js:9734)
at Timepicker._handleInputClick (materialize.js:9331)
https://codepen.io/anon/pen/gXXGZV

I'll try to solve it


Add an optional field for AddNewProject

Add an optional field to enter the GitHub repo link when a user adds a new project and also make required changes in the backend for the same.

@rockingrohit9639, I'd like to work on it please assign :)

@rockingrohit9639, I'd like to work on it please assign :)

Go ahead


New-TssFolderPermission - throws error converting object

Verified issue does not already exist?
Yes
What error did you receive
New-TssFolderPermission: Cannot convert value "@{id=81; folderId=23; folderAccessRoleId=7; folderAccessRoleName=Edit; secretAccessRoleId=11; secretAccessRoleName=Owner; groupId=7; groupName=Sync Process Group; userId=0; userName=; knownAs=Sync Process Group}" to type "Thycotic.PowerShell.FolderPermission.General". Error: "Cannot convert the "@{id=81; folderId=23; folderAccessRoleId=7; folderAccessRoleName=Edit; secretAccessRoleId=11; secretAccessRoleName=Owner; groupId=7; groupName=Sync Process Group; userId=0; userName=; knownAs=Sync Process Group}" value of type "System.Management.Automation.PSCustomObject" to type "Thycotic.PowerShell.FolderPermission.General"."

Please run the command using -Verbose
N/A
Provide a test case or steps to reproduce
Create a new folder permission on a folder
Expected behavior
Outputs the folder permission object
What Edition of Secret Server?
Professional
What version of Secret Server
10.9
What PowerShell host was used when producing this error
PowerShell Core (pwsh)
PowerShell Host Version
PowerShell 7.1.3

This fix is in 0.49.1-alpha1 pre-release via GitHub if anyone hits it before I get the release pushed out to PS Gallery.


Error: Cant modify splitview"

Saw this in my "running out of sources" logs, not sure what I did though, I might have clicked on multiple repositories in the SCM view. However the stack seems to originate from the explorer:
"[uncaught exception]: Error: Cant modify splitview", source: file:///Users/bpasero/Development/monaco/out/vs/workbench/electron-browser/bootstrap/index.js (39)
[19214:0130/100528.556469:INFO:CONSOLE(42)] "Error: Cant modify splitview
    at SplitView.resizeView (file:///Users/bpasero/Development/monaco/out/vs/base/browser/ui/splitview/splitview.js:189:23)
    at PanelView.resizePanel (file:///Users/bpasero/Development/monaco/out/vs/base/browser/ui/splitview/panelview.js:308:28)
    at ExplorerViewlet.PanelViewlet.resizePanel (file:///Users/bpasero/Development/monaco/out/vs/workbench/browser/parts/views/panelViewlet.js:262:28)
    at ExplorerViewlet.ViewsViewlet.resizePanels (file:///Users/bpasero/Development/monaco/out/vs/workbench/browser/parts/views/viewsViewlet.js:434:26)
    at ExplorerViewlet.ViewsViewlet.layout (file:///Users/bpasero/Development/monaco/out/vs/workbench/browser/parts/views/viewsViewlet.js:317:22)
    at SidebarPart.CompositePart.layout (file:///Users/bpasero/Development/monaco/out/vs/workbench/browser/parts/compositePart.js:383:38)
    at SidebarPart.layout (file:///Users/bpasero/Development/monaco/out/vs/workbench/browser/parts/sidebar/sidebarPart.js:93:44)
    at WorkbenchLayout.layout (file:///Users/bpasero/Development/monaco/out/vs/workbench/browser/layout.js:549:26)
    at Workbench.layout (file:///Users/bpasero/Development/monaco/out/vs/workbench/electron-browser/workbench.js:678:38)
    at WorkbenchShell.layout (file:///Users/bpasero/Development/monaco/out/vs/workbench/electron-browser/shell.js:303:28)"

It seems this cannot happen with new refactorings from @joaomoreno in Splitview. Hence closing this.


Particles from rain splash and dripstone bug

What happened?
I have a 2 problems, bugs for sure, maybe both are related, minimal to be honest, only with this shader I can't see 2 particle effect, one is the splashing from rain, I can see the rain itself but no the little  particles from the rain hitting the ground,  and the other is the little water particles from pointed dripstones,  if I use lava I can see the particles, lava works perfectly but no water.
Minecraft Version
Other
Which shader mod are you using?
Iris
Shader mod version
photon v1.0a
Shader settings
shadowDistance=256.0
BLOCKLIGHT_I=0.60
COLORED_LIGHTS=true
SNELLS_WINDOW=true
WATER_WAVE_ITERATIONS=6
CAVE_LIGHTING_I=0.20
MOTION_BLUR=true
WATER_CAUSTICS=true
MOTION_BLUR_INTENSITY=0.45
CLOUD_SHADOWS_INTENSITY=1.00
RAIN_OPACITY=0.20
WATER_ABSORPTION_R=0.73
VIGNETTE_INTENSITY=2.00
AUTO_EXPOSURE=AUTO_EXPOSURE_HISTOGRAM
HANDHELD_LIGHTING=true
SH_SKYLIGHT=true
NORMAL_MAPPING=true
BLOOM_INTENSITY=0.80
WATER_ABSORPTION_B=0.48
MOON_I=0.30
HANDHELD_LIGHTING_INTENSITY=0.30
WATER_ABSORPTION_G=0.60
CAS_INTENSITY=0.20
AIR_FOG_COLORED_LIGHT_SHAFTS=true
WATER_FOAM=true
WATER_SCATTERING=0.05
CAS=false
DIRECTIONAL_LIGHTMAPS=true
VANILLA_MOON=false

Relevant log output
No response

It's not a bug that's specially made.


Possible to add Estimated Pricing for Databricks Assistant?

It would be great to have the ability to see whether the Databricks Assistant is free and/or included in any specific add-ins/packages.  Helps me more easily request this feature internally at my org.

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

ID: 986adea9-79bd-d36e-780f-d26710452dfd
Version Independent ID: 986adea9-79bd-d36e-780f-d26710452dfd
Content: Databricks Assistant FAQ - Azure Databricks
Content Source: databricks/notebooks/databricks-assistant-faq.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

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

@peterqstorm
Thanks for your contribution and suggestion. Please add your ideas in below link, so our production team can review it and update the same.
Ideas · Community (azure.com)


Add AlphaRepair

Hi,
This pull request implements AlphaRepair. I just have two notes:
(1) While the authors used uniapr for validating generated patches, I used normal validation of Defects4J (similar to other techniques) as I cannot execute UniAPR.
(2) I would like to warn that AlphaRepair takes a very long time with default settings, i.e., beam_width of 25 and n_candidates of 5000.
In terms of memory usage, AlphaRepair took at most 5Gb RAM and around 3-5 Gb Memory of GPUs for each bug.
Please help me to review.
Thanks.

Hi @thanhlecongg ,
I will check this out tomorrow morning. Overall sounds good, I also checked the code, just want to run it and see. Can you give an estimate of how long did it take for the tool to finish for a bug?

It takes around 1-3 hours for a single bug with the default config (at least with my test on a few bugs). In the paper, they report AlphaRepair takes at most 5 hours.

I see, will give it 5 hours tomorrow then :) Thanks!


Target [Illuminate\Contracts\Routing\UrlGenerator] is not instantiable while building [MLL\GraphiQL\GraphiQLController].

Doing a fresh install this library with Lumen 10.0.0
Target [Illuminate\Contracts\Routing\UrlGenerator] is not instantiable while building [MLL\GraphiQL\GraphiQLController].

Fixed with https://github.com/mll-lab/laravel-graphiql/releases/tag/v3.0.1. I will support Lumen for now, but will probably drop it when a new Laravel version comes out that does not have Lumen support.


Support for Q-Series TV?

From @davidmuc on January 12, 2018 17:54
Hello @soef and @Apollon77, thank you for providing this great adapter! Actually, the desire to control my TV via Homematic was the reason for getting into ioBroker and I'm happy that I did!
The adapter basically works fine, yet not all commands are working properly with my Q-Series TV (QE55Q7FGM) - it seems Samsung has changed the IP command set. Can't select HDMI2/3, for example.
What can I do to contribute - in order to find the right commands to control all functions? I've been trying to find those new codes by googling, but without success.
Copied from original issue: soef/ioBroker.samsung#16

From @zuldero on June 28, 2018 17:52
thank you for this great adapter
I have the same problem as davidmuc. I cant select hdmi 2/3. hdmi 1 works great.
My TV is a QE65Q8FAM

From @drtp on January 21, 2019 6:34
We have a GQ65Q9FN and the adapter seems not to work with it at all. I would really appreciate to see a support of the Q9 Series. There should be a possibility, because e.g. myTifi does nearly work flawlessly in combination with the TV.  And even the homebridge-samsung-tizen plugin does in a certain way, although currently not for the KEY commands.
Perhaps, this link will help: https://developer.samsung.com/tv/develop/api-references/tizen-web-device-api-references


[INF-75] add ability to add existing user to program

Modifies the front end to be able to send add an existing user to the program.
Design
I modified the front end instead of the backend so that we could keep our desired behavior for the endpoints in the front end. When an acting user adds a user to a program, the front end checks if a system user with that email exists, and gets the id from that user if so. The front end then uses its existing methods to POST the user. When the response returns, we check if the id of the returned user matches the id of one of the existing users, and shows a notification indicating an existing user was added to the program.
How to test

Look in the system users table and copy one of the ids there.
Create a few programs
Go into each of the programs and add a user with the copied email above
When you save, make sure the notification clearly indicates that an existing user was added to the program
After adding the user to all of the programs, go back to the system users page and confirm that all of the user's programs are listed in that table.

 INF-75 - Existing User Add to Program