Tutorial: assets needed

This is a tracking issue for all the non-core assets we need at hand for the tutorial. I've added some provisional assignments, but let's discuss!

Intro, setup, first Calyx program @rachitnigam

[x] Probably don't need any slides
[x] #1194

Pollen @susan-garry

[ ] 5 min talk

Cider @EclecticGriffin

[ ] 5 min talk

fud // many folks are able to give a talk about this

[ ] 5 min talk

Competition: educational materials @anshumanmohan

Memory banking

[x] Slides explaining what MrXL is already doing (and why)
[x] Simple one-page handout

Reduction trees

[x] #1414
[x] Slides explaining what’s going on, plus extensions (pipelining, generalizing for any parallelization factor)
[x] Simple one-page handout

Arbitration logic

[x] #1474
[x] Slides explaining what’s going on, and how this stuff, if generalized, aids #1472
[x] Simple one-page handout

Here are some slides as a primer for reduction trees. Seeking feedback at any level! One flaw is that folks need the animation right now; the slides viewed statically all look the same. I'll add "Day {i}" annotations to the matches. I just wanted your thoughts before getting too deep into it.

And here are further slides, this time explaining memory banking and arbitrage. Same deal: I have ideas about how to make these less reliant on animation, but I'm looking for general commentary before going too deep.

Thanks for getting us started @anshumanmohan! Just as a suggestion for the rest of us, maybe we should just have one slide deck and create "sections" in it for our various talks? It would centralize our efforts and simplify things!

It seems 100% fine to rely on animation for the slides, FWIW! If people want to view them "statically" for reference, you can export to PDF from Keynote with the "print every stage of builds" option enabled.

Update, I've mashed my slides into one .key. I've changed the link and the text above

@rachitnigam, reminder to change the schedule to give Cider 5 mins

In view of the changes I've made to the frontend tutorial, I propose a change to the schedule.
Right now we have
10am-10.05am | MrXL: A map-reduce frontend
10.05am-11am | Compiling MrXL to Calyx
And I think we could instead have
10am-10.15am | MrXL: A map-reduce frontend
10.15am-11am | Add your own extensions to MrXL
That is, in the first 15 mins, we'll walk them through the tutorial as written. We will gloss over the parts where the tutorial shows how to compile MrXL using the eDSL, since that's really best for working through yourself. Someone lecturing that same stuff at you won't help.
Then we'll leave 45 mins for them to add one of the "warmup" extensions to MrXL. This will put them in a good place to add a real extension later on.

Speaking of later on, I propose that we change

11.25am-12.25pm | Hardware Performance 101 / MrXL competition

into three tracks.

Reduction trees, for those interested in speedup.
Arbitration and multi-banking, for those interested in that.
Office hours, for those just wanting to backfill about what the heck is going on.

I dry-ran the tutorial exactly as written, with the exception that I skipped to the not-yet-merged branch mrxl-input-dynamic when it came time to do MrXL stuff.
I have flagged my issues here: https://github.com/cucapra/calyx/issues/1508. After those issues are fixed, someone else should do a dry run.

I can own fixing those issues! Most of them seem doable but will ping others if there are any issues with resolving those. I will also do the tutorial dry run after that and see if there are any other hiccups!!

Should we consider this completed?

Yup!


Ban Man no response but got an error

I'm clueless on what I am doing wrong.
http://prntscr.com/b6sjtl

http://prntscr.com/b6uo0j now it's saying this?

Regarding your last screenshot, perhaps your session expired? Could you try to reload?
Also please enable error_reporting in the settings file and see if you get any more descriptive error messages.

http://prntscr.com/b77gpr
I enabled error_reporting and it didn't give me any additional assistance

Hmm, can you check the error log of the web server?
Von meinem iPhone gesendet

Am 22.05.2016 um 23:42 schrieb StuddedExpandable<EMAIL_ADDRESS>http://prntscr.com/b77gpr
I enabled error_reporting and it didn't give me any additional assistance
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub

I would suggest you to change your root password now.
the problems i can see is that you set the MySQL username to be<EMAIL_ADDRESS>(remove <IP_ADDRESS>) are the MySQL on the same server as the web server? if it is I would suggest you changed the port in your banmanager to <IP_ADDRESS> instead if the public IP
if it isn't I would change the IP to the public one :)
And as @frdmn says see what your error.log says else you could see what the ajax request returns (by pushing f12 and going to network before pushing the button "add")

http://prntscr.com/b7h48b mm.
[Sun May 22 23:38:02.301257 2016] [:error] [pid 1216] [client <IP_ADDRESS>:56764] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/ban/actions/home.php on line 224 [Sun May 22 23:38:02.302570 2016] [:error] [pid 1216] [client <IP_ADDRESS>:56764] PHP Fatal error:  Call to undefined function mysqli_connect() in /var/www/html/ban/index.php on line 393
http://prntscr.com/b7h7de
http://prntscr.com/b7h7lq
Full Error.log: https://gist.github.com/StuddedExpandable/b199ec18e63467e4aca9e0962296549a
will reset passwd, sorry bout that totally forgot to hide that xD

Based on that message, you're missing the mysqli extension. I'm not sure which operating system you're running under, but for CentOS you'd need to run sudo yum install php-mysqli.

Closing this for now. Let us know if you still have issues :)


Is it possible to use a scrollbar with this library?

I'm trying to display a scrollbar at the bottom of the slider for mobile users in lieu of dots or arrows, to let them know where they are.
If I add 'overflow-x: scroll' to the .slick-list element, a scrollbar appears but there is a lot of extra whitespace at the end of the scrollable area. I was unable to get the fiddle working, but you can replicate this behavior by adding the CSS to any of the examples on http://neostack.com/opensource/react-slick.
I'm not sure why, if infiniteMode is turned off, this extra white space is necessary. Anyone know a way around it?
Possibly related: Looking at trackHelper.js, why is line 27 identical to line 23?

.slick-track element is the one that needs to be scrolled. You can take advantage of that and tweak a bit in your css with that, you might get desired results.


How to move to next result set?

It seems to no example or API, So confused.

Hi. You can call the collect method (or any other combinator) once for each result set. Please see corresponding docs.

No streaming way? If the returning result set is large.

No streaming way? If the returning result set is large.

For large result sets you can use for_each or reduce.

Does the result is streaming in the background? I mean, read packets from network on demand.

Yeah


sbatch --wrap?

Hi!
I'm wondering what's the advantage of running sbatch --wrap directly?
https://slurm.schedmd.com/sbatch.html#OPT_wrap
I get that srun command would be blocking and you're looking at a sbatch-like job submission process, but the following command would basically do that directly with sbatch, no submission script required, and no wrapper over regular Slurm tools either:
$ sbatch --mem 600 -J rsync_my_data --wrap "rsync -az src/ dest/"

Yes, --wrap handles a larger part of what ssubmit does. However, there are a few small differences. With ssubmit you can use user-friendly time and memory arguments, and also set shebang and set options


Add alfredstate.edu

@dkienenb Thank you for your patience while waiting for a review and processing your request. Pull request merged. Please start applying for JetBrains educational subscription at https://www.jetbrains.com/shop/eform/students in an hour, to allow the changes to propagate through JetBrains systems.


tengo algunos problemas

al momento de poner el link y darle a followers me sale las siguientes lineas:
D:\tiktok\TikTok-Bot-main\TikTok-Bot-main\tiktok-bot.py:182: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
driver = webdriver.Chrome(PATH)
Traceback (most recent call last):
File "D:\phyton\lib\site-packages\selenium\webdriver\common\service.py", line 71, in start
self.process = subprocess.Popen(cmd, env=self.env,
File "D:\phyton\lib\subprocess.py", line 966, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "D:\phyton\lib\subprocess.py", line 1435, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] El sistema no puede encontrar el archivo especificado
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\tiktok\TikTok-Bot-main\TikTok-Bot-main\tiktok-bot.py", line 182, in
driver = webdriver.Chrome(PATH)
File "D:\phyton\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 70, in init
super(WebDriver, self).init(DesiredCapabilities.CHROME['browserName'], "goog",
File "D:\phyton\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 90, in init
self.service.start()
File "D:\phyton\lib\site-packages\selenium\webdriver\common\service.py", line 81, in start
raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: 'chromedriver.exe' executable needs to be in PATH. Please see https://chromedriver.chromium.org/home
y tengo el chromedriver en la carpeta de tiktok-bot-main

which version of selenium are you using?

que version de selenium estas usando?
instale la ultima version usando en el cmd el:   pip install selenium

try pip install selenium==3.141.0

ahora me sale esto:

So here are a few solutions to try, but first make sure that your chromedriver is the same version of your chrome browser.
So some solutions here:
1 - Insert the path to chromedriver manually. So open the script using a text editor, and edit the PATH variable to
C:/Users/your_path/chromedriver.exe
2- Put 'chromedriver.exe' in
C:\Python27\Scripts or wherever you installed Python and then you need not to provide the path of driver, just open the script file in a text editor, delete the L
PATH variable, then edit the line under to
driver= webdriver.Chrome()

ahora abre y cierra automaticamente una ventana de chrome y me bota el siguiente mensaje, instale el chrome driver con pip install chromedrive==99.0.4844.51:

your chrome driver and chrome browser are NOT the same version. You have chrome version 99 but chromedriver version 100. Either upgrade chrome to version 100 or install the chromedriver version 99. And there's nothing called pip install chromedrive==xxxxx


latest servers.txt updates are blank

Example ATT and Bugcrowd, blank servers.txt files.

Hey, we are aware of this, the update is coming :)

Fixed in the latest workflow update


Baseline of proposal for durable/ephemeral and everything else

I like the general direction this is headed.  A couple of general questions:

Where/how would the mapping between durable collections and the storage namespace be managed?  Would this be part of the DurableCollection.create() method?  In particular, I'm interested in the following cases:

Specifying the URL for any given object (currently the storage identity of an object and its "name" in the collection are independent specified, and I think you still need that for some storage sub-systems, e.g., TileDB-Cloud).
The ability to use relative names at the storage level, so that I can create a "movable" collection of objects (eg, I can cp the entire collection without renaming anything inside it).

Context - is this also where other "storage engine configuration" would live, e.g., soma.init_buffer_bytes, num threads, etc?
The primary "protocol" enforced by the composed types (experiment, measurement) is existence of certain names, and the data types which may be assigned those names (side note: ideally we would also be able to enforce additional constraints, such as the dimensions of child objects).   E.g.  experiment.obs must be a dataframe.

I am not clear from the proposal how the type constraints are enforced. Can you clarify?
It seems like the setitem for Experiment/Measurement need to "validate" that the key/value pair are legal.  Is the intent that this would be hooks to allow this?

Reification:

When a durable collection, containing an experiment/measurement, is opened (from persistent storage), would it be automatically promoted to Experiment/Measurement type?  Are there any sharp edges around this?  Or is it up to the user to open a collection, identify its "specialized type" and cast it?
Same question for other durable types (dataframe, ndarray) - if they are "opened", is their type automatically determined/available, or are they presented as some sort of generic object that needs to be composed by the user?

Other minor stuff:

it might be simpler for DurableCollection to have a separate create method for each soma data type (rather than consolidating all "array" creators into one type, etc).

Additional questions/thoughts:

Am I correct that an implication of this is that we will no longer support stand-alone DataFrame/NdArray outside of a DurableCollection?  (that makes some sense, but wanted to confirm & highlight)
The model implies that a DataFrame/NdArray must exist in one-and-only-one DurableCollection (and zero-or-more ephemeral collections)?

So: working on open/close has made what I’m going for a lot clearer to me. In the last couple days of the creative process I realized that writing examples of how I expect the API to be used would be more helpful to me (and hopefully better for discussion) than trying to write abstract spec-style descriptions of what a method or object would do.
I would say that this proposal is now more about the separation of concerns between composed collection behavior and collection storage than it is about durable vs. ephemeral (though separating the behavior from the storage enables the creation of ad-hoc ephemeral collections).
I jumped around in answering the questions below so some things might only make sense after reading later parts.

Where/how would the mapping between durable collections and the storage namespace be managed?  Would this be part of the DurableCollection.create() method?  In particular, I'm interested in the following cases:

Specifying the URL for any given object (currently the storage identity of an object and its "name" in the collection are independent specified, and I think you still need that for some storage sub-systems, e.g., TileDB-Cloud).
The ability to use relative names at the storage level, so that I can create a "movable" collection of objects (eg, I can cp the entire collection without renaming anything inside it).

What I'm going for here is that in most cases, object creation is done in a mostly top-down fashion. To create a new stored SOMA object, the user creates it with the "smart" somaimpl.create(...) method, which, given a complex SOMA type, creates the appropriate storage object and gives it the appropriate fields, and wraps this storage object (for TileDB, the Group or Array) in whatever complex somabase type it represents. This complex somabase type then has methods to create and manage its children as needed. Calling one of those in turn calls back into the storage engine to create the backing storage for the child object, then returns a wrapped object.

Context - is this also where other "storage engine configuration" would live, e.g., soma.init_buffer_bytes, num threads, etc?

Yes. This would be the thing that you set up once on a per-session basis and is used through multiple queries. The TileDB implementation would probably keep its tiledb.Ctx object loaded on this context. (The contents of a Context are defined entirely by the storage engine.)

The primary "protocol" enforced by the composed types (experiment, measurement) is existence of certain names, and the data types which may be assigned those names (side note: ideally we would also be able to enforce additional constraints, such as the dimensions of child objects).   E.g.  experiment.obs must be a dataframe.

I am not clear from the proposal how the type constraints are enforced. Can you clarify?
It seems like the setitem for Experiment/Measurement need to "validate" that the key/value pair are legal.  Is the intent that this would be hooks to allow this?

The assumption I am making is that on the stored Collection or Array (DataFrame/NDArray), there is a metadata value which indicates its soma_type that the implementation can look at for what "specialized type" is so that it knows what to return. This enforces (on some level) that the "specialized type" we load is correct for things we load from storage.
For performing __setitem__-style indexing, there are essentially two layers of processing to do:

The complex type (e.g. Experiment, Measurements) has to check that the soma_type of the newly-added child is what it expects it to be (this would be done in the complex type). I could call this the "semantic check".
The storage engine needs to verify that it is capable of adding this item to its collection via __setitem__. (For instance, is it a SOMA object from the same storage engine, does it meet other requirements like being stored in the same place (hypothetically)). This could be the "implementation check".

What I am anticipating is that the amount of __setitem__ will actually be fairly low, since in most cases building out a collection (whether it be an experiment or measurements or other collection type) is done with the "top-to-bottom" strategy of creating the complex type root and then creating branches and leaves recursively within that.
This also interacts with the "ownership" structure and how we handle "open" state—__setitem__ might allow a user to pass in an object opened in a different mode or with a different timestamp, and we would have to figure out how to regularize that and also handle object ownership. (This comes back to where I have been considering a protobuf-style ownership model.)

Reification:

When a durable collection, containing an experiment/measurement, is opened (from persistent storage), would it be automatically promoted to Experiment/Measurement type?  Are there any sharp edges around this?  Or is it up to the user to open a collection, identify its "specialized type" and cast it?
Same question for other durable types (dataframe, ndarray) - if they are "opened", is their type automatically determined/available, or are they presented as some sort of generic object that needs to be composed by the user?

I think I have covered these with previous (and immediately following) discussion of how somaimpl.open would work. tl;dr an object in storage stores what type it is, and when opened with the "smart" opener, it returns the appropriate object type.

Other minor stuff:

it might be simpler for DurableCollection to have a separate create method for each soma data type (rather than consolidating all "array" creators into one type, etc).

This is where the central create method comes into play, since that is where the semantic knowledge of "how do I create a storage object for this complex type" exists.

Am I correct that an implication of this is that we will no longer support stand-alone DataFrame/NdArray outside of a DurableCollection?  (that makes some sense, but wanted to confirm & highlight)

My intent here is that someimpl.open(...) will read the object's metadata and return the appropriate complex object type. If the stored object's metadata indicates that its type is DataFrame or NDArray (presumably we store this in the soma_type metadata entry), someimpl.open would know to return the stored data as a DataFrame/NDArray as needed. This would work the same way as opening an Experiment by URI—the engine would check its metadata, see that it is an experiment, and return it as an Experiment.

The model implies that a DataFrame/NdArray must exist in one-and-only-one DurableCollection (and zero-or-more ephemeral collections)?

Essentially, yes—a DataFrame or NDArray is "owned" by some object (which will usually be some Collection, but could be itself), but a user could put it into any number of ephemeral collections since those are not backed by any storage.

it essentially ensures that when you're working with a SOMA object, it is one that you can know is valid.

Big thumbs up.  I prefer this over our current model, which requires that the user protect code with exists(), or the equivalent - it essentially adds a hidden bit of state.
That said, I believe the reason it was done this way is to allow for hierarchical collection such as the current "walk the entire tree" repr using the same API.  Not hard to work around that as I understand the typical use cases (eg., open an collection and do an ls -lR on it)

Reading the notes above - all sounds good. The only edge case you should consider is where you want to perform a delayed addition to a collection or move dataframe/ndarray between collections. I believe most of these are easy, but helpful to clarify, e.g.,

when can I move an ndarray/dataframe from one collection to another?  Is there a hidden "storage manager" object that defines when this is possible?

This would be handled by the assignment process, so doing some_collection[name] = element would perform the action. How the collection would handle being assigned to is implementation-dependent. The collection assigned to could:

reject assignments altogether
add a reference to the object to its backing store (i.e., both now point to the same data on disk)
copy the data from the object to its backing store (i.e. the new element points to a new array/whatever with the same data as the original)

The new element that is at some_collection[name] would likely not be the same object as element, since that would cause confusion with respect to opening status and context dependence. That is, in either of the latter two cases, the result would look something like:
source_dataframe = vsoma.open("file:///path/to/some/dataframe")
# source_dataframe is opened for reading.

some_collection = vsoma.open("file:///path/to/different/collection", mode="w")
# some_collection is opened for writing.

some_collection["new-data"] = source_dataframe
# source_dataframe is added to some_collection as "new-data".

new_data_dataframe = some_collection["new-data"]
# we extract the actual "new-data" element that is available in some_collection.

print(new_data_dataframe is source_dataframe)
# -> False
# new_data_dataframe is a version of source_dataframe data opened under the
# context of some_collection. Both would contain the same data, though whether
# the two collections point at the same collection in storage may be
# implementation-dependent.

print(new_data_dataframe.uri == source_dataframe.uri)
# -> If the implementation supports option 2 (adding by reference), this would
#    be True.
# -> If the implementation only supports option 3 (adding by copy), this would
#    be False.

We could also specify that assigning elements to a collection is necessarily done with a reference rather than a copy, and that if assigning would require a copy (e.g. the shape is filesystem-bound), then the storage engine should reject assignments.

can I put a dataframe/ndarray into more than one collection?

Yes, subject to the constraints of the constraints of the storage engine. In the case I am describing above you will (probably) end up with two separate handle objects on the data itself. You could also (and this is where SimpleCollection comes back into play) add any dataframes/arrays/whatever to an ad-hoc in-memory collection which always references the same objects.

can I open a long-existing collection, and add new dataframe/ndarray's to it?

This is hopefully explained above—you can open a collection/dataframe/whatever for writing and use that to modify the contents.

Pretty sure most of these are already considered - just worth clarifying.

it essentially ensures that when you're working with a SOMA object, it is one that you can know is valid.

Big thumbs up. I prefer this over our current model, which requires that the user protect code with exists(), or the equivalent - it essentially adds a hidden bit of state.
That said, I believe the reason it was done this way is to allow for hierarchical collection such as the current "walk the entire tree" repr using the same API. Not hard to work around that as I understand the typical use cases (eg., open an collection and do an ls -lR on it)

This would be a matter of open()ing the root for reading and walking through its members (if any), thus producing a recursive listing.

Since we've essentially made a lot of the changes proposed here, and this was effectively only ever a scratch pad, I am going to drop this change and separately work on importing our new lifecycle management changes into the spec itself.


Chiptune Support?

I have a friend whose Discord music bot apparently uses this player.  I'm wondering if including support for various chiptune formats, such as .spc, .vgm, and .nsf, would be possible.  There are no doubt some open chiptune players here or elsewhere on the internet.

I'm actually doing some work on it in my lavaplayer fork, maybe i'll pr this soon.
https://github.com/KyokoBot/lavaplayer/tree/master/main/src/main/java/com/sedmelluq/discord/lavaplayer/container/xm


Registering as factory only

I have some types that only make sense if they are created through a factory instead of being injected directly.
I was wondering if there is a way to enforce this, e.g.:
public Foo(Func<Bar> barFactory) { ... } // Works
public Foo(Bar bar) { ... } // Rejected

@rick-palmsens By enforcing you mean to use IoC to prevent injecting the Bar bar but allow the Func<Bar> barFac ?

@rick-palmsens
You can use the condition like in the example
using System;
using DryIoc;

public class Program
{
	public static void Main()
	{
		var c = new Container();

		c.Register<Bar>(setup: Setup.With(condition: r => r.IsWrappedInFunc()));
		c.Register<Foo>(made: FactoryMethod.ConstructorWithResolvableArguments);

		var foo = c.Resolve<Foo>();

		Console.WriteLine("foo.BarFactory=" + (foo.BarFactory == null ? "null" : "BarFactory"));
		Console.WriteLine("foo.Bar="        + (foo.Bar        == null ? "null" : "Bar"));
	}

	public class Foo
	{
		public Func<Bar> BarFactory;
		public Bar Bar;
		public Foo(Func<Bar> barFactory) => BarFactory = barFactory;
		public Foo(Bar bar) => Bar = bar;
	}

	public class Bar {}
}

The IsWrappedInFunc condition is indeed what I was looking for, thanks!


Is it possible to have "dynamic" parameters for the remove command?

I am dealing with XML requests and my ultimate goal is to do a data-driven series of tests where we remove mandatory "keys" within the request one by one to make sure the request fails.
The issue I am having is that it seems that the remove step definition does not allow using a variable as the parameter.  Here is an example scenario:
Scenario: Test

  * def req =
    """
    <test>
      <firstkey>first</firstkey>
      <secondkey>second</secondkey>
    </test>
    """
  * remove req /test/firstkey
  * print req
  * def keyToRemove = '/test/secondkey'
  * remove req keyToRemove

In this example the first remove works correctly (obviously). But my goal would be to have one test where the firstkey is removed and then another where the secondkey is removed. To do this, I need a "dynamic" remove, which I've executed here by using a variable as the parameter to remove (for the second remove). Unfortunately it doesn't seem to work, I get the error: unexpected path: keyToRemove.  I've tried a more complex scenario that was properly data-driven and it gives the same results, whether I try to use the data driven value directly (i.e. * remove req '<data_driven_vallue>') or whether I assign the data driven value to a variable first and the remove with the variable (in which case it looks almost exactly like the simpler example I gave above).
If this is not supported, it's fine, I can simply copy paste my test multiple times (or maybe I'm just using the wrong syntax?). But it seemed to me like this could be a pattern that could happen often, testing the mandatory fields in a request. Or maybe this is more of a Unit Test type of thing and I shouldn't be trying it at the API level as well...
Anyway, keep up the good work, Karate rocks!

@ianrenauld thanks for the nice words. and I think you missed the karate.remove() api, which is hard to find in the docs, I admit.
  * def first = 'firstkey'
  * eval karate.remove('req', '/test/' + first)
  * print req

as a design decision, these not-so-common operations are all hanging off the magic karate object and I think it is working well in practice. also do look at this set of xml examples, which may give you a few more ideas: https://github.com/intuit/karate/blob/master/karate-junit4/src/test/java/com/intuit/karate/junit4/xml/xml.feature

@ptrthomas We don't usually look at the API itself, but that's something that we will do from now one when we have "issues".  Your solution works flawlessly by the way, thanks for the answer!


Option hardware.amdHybridGraphics.disable does not work

Issue description
The systemd unit generated by amd-hybrid-graphics.nix fails to disable the discrete graphics, but does not indicate failure.
Output of systemctl status amd-hybrid-graphics.service:
● amd-hybrid-graphics.service - Disable AMD Card
   Loaded: loaded (/nix/store/hrf4phk7aqi8yycdcigiv1zk6db42332-unit-amd-hybrid-graphics.service/amd-hybrid-graphics.service; static; vendor preset: enabled)
   Active: active (exited) since Sat 2016-10-22 17:47:21 BST; 25min ago
 Main PID: 800 (code=exited, status=0/SUCCESS)
    Tasks: 0 (limit: 4915)
   CGroup: /system.slice/amd-hybrid-graphics.service

Oct 22 17:47:21 computer systemd[1]: Starting Disable AMD Card...
Oct 22 17:47:21 computer sh[800]: /nix/store/a6gkm5vdylpjnsp9wzcb0c7kz11a3pak-bash-4.3-p46/bin/sh: /sys/kernel/debug/vgaswitcheroo/switch: No such file or directory
Oct 22 17:47:21 computer systemd[1]: Started Disable AMD Card.

The success status code is set by exit 0 in the shell script in the unit file, even though there was clearly a problem with it. The debugfs entry does exist by the time I can access a shell on the system, and I can still disable the discrete graphics manually by running sudo tee /sys/kernel/debug/vgaswitcheroo/switch <<<IGD.
Steps to reproduce
Set hardware.amdHybridGraphics.disable to true in the system configuration.
Technical details

System: NixOS 17.03pre93673.09e4b78 (Gorilla)
Nix version: nix-env (Nix) 1.11.4
Nixpkgs version: "17.03pre93673.09e4b78"
Hardware: MacbookPro8,2 with dual Intel/AMD graphics chips

Not sure if this is related, but I also have MacbookPro8,2 and when setting hardware.amdHybridGraphics.disable=true the screen goes completely black. I've examined journalctl of the boot and got these errors that could be useful?
kernel: radeon 0000:01:00,0: Invalid ROM contents
kernel: radeon 0000:01:00,0: Invalid ROM contents

Also, when I tried manually running echo DIGD > /sys/kernel/debug/vgaswitcheroo/switch, it turned to black screen right away. However, setting back with echo DIGD > /sys/kernel/debug/vgaswitcheroo/switch it came back to console and journalctl didn't show any errors.

System: NixOS 16.09.1066.417e04f (Flounder)

Which bootloader do you use, and do you have any other stuff in place to mess with the graphics configuration? I believe that the hybrid graphics not working with GRUB is a known issue which is due to GRUB not doing the EFI boot quite right (using linux rather than linuxefi), at least on Debian. I haven't understood the full details, but it's something to do with the EFI placing the graphics ROM somewhere in memory and GRUB's linux command not handling that right/destroying the mapping or something. I'm not sure what the state is on NixOS, as I'm using systemd-boot. The only way I could get it to boot at all from GRUB was to switch to the integrated graphics before actually loading the kernel, in GRUB itself. https://wiki.archlinux.org/index.php/MacBookPro8,1/8,2/8,3_(2011) has an example of the commands, of course they'd be installed differently on NixOS.

Adding this to my configuration.nix fixed the problem I explained in the initial issue btw. I'd have created a PR to apply the changes to amd-hybrid-graphics.nix by now but I'm still somewhat confused with regards to the requirements for testing changes when submitting a PR...
  hardware.amdHybridGraphics.disable = true;
  systemd.services."amd-hybrid-graphics".requires = ["vgaswitcheroo.path"];
  systemd.services."amd-hybrid-graphics".wantedBy = lib.mkForce [];
  systemd.services."amd-hybrid-graphics".before = ["systemd-vconsole-setup.service" "display-manager.service"];
  systemd.paths."vgaswitcheroo".pathConfig.PathExists = "/sys/kernel/debug/vgaswitcheroo/switch";
  systemd.paths."vgaswitcheroo".pathConfig.Unit = "amd-hybrid-graphics.service";
  systemd.paths."vgaswitcheroo".wantedBy = ["multi-user.target"];

@lheckemann yes, I'm also using systemd-boot. I don't have any other config for the graphics, in fact, I have the default configuration since I only started playing with nixos. Never gotten it to boot into GUI though.
I give GRUB a try since I used it before to boot Ubuntu and all the hacks to disable radeon card worked well.

Yeah, GRUB with the outb hacks is probably the easier option. It took me a lot of fiddling to get where I am with it, and it doesn't actually provide any tangible benefits over GRUB as far as I can tell.

Closed by #21227.


Remove unnecessary links in the mentor and extended team section

Fixes #
Describe the changes you have made in this pr -
Unnecessary links present within the mentor and extended team section are removed.
Screenshots of the changes (If any) -

Extra links present in INSPECT ELEMENT PAGE

No extra links are present within the source code

Thanks


Error "React is not defined" in monorepo

I have a bare react native app. React Native v0.70.4.
I installed both react-native-ios-context-menu and @react-native-menu/menu.
When I launch the project I get the following error "can't find variable: React in display-names.js" (cf attached image).
I am able to patch this by adding import React, { useRef, useState } from 'react'; at the top of the display-names.js file.
Is there something I am doing wrong?

Interesting, I’ll look into this

This should be fixed in 1.0.2.


Add pysoundfile to readme

Add missing dependency to readme when using soundfile backend, hinted here.

This can be addressed by Moto's backend documentation in a central place.


nixos/neovim: use finalPackage in EDITOR environment variable

Description of changes
use programs.neovim.finalPackage in EDITOR environment variable when user set programs.neovim.defaultEditor to true. This will result in a full path to the nvim executable. Previously it was relied of nvim binary being in PATH, which is not always the case, for example using nix-shell --pure --keep EDITOR
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

setting environmental variables to store paths is almost never a good idea because you have to re-login in order to change them

/run/current-system/sw/bin/nvim could be used instead, still a full path, and would avoid the issue that you pointed out.
However I am not sure if current-system is always available in /run/current-system, or it can be changed.

setting environmental variables to store paths is almost never a good idea because you have to re-login in order to change them

/run/current-system/sw/bin/nvim could be used instead, still a full path, and would avoid the issue that you pointed out.
However I am not sure if current-system is always available in /run/current-system, or the path can be changed.

setting environmental variables to store paths is almost never a good idea because you have to re-login in order to change them

There's already a bunch of packages that rely on /run/current-system; just searching for that in Nixpkgs should give you a bunch of results

programs.freetds uses store path in environment variable
https://github.com/NixOS/nixpkgs/blob/25e9a6d07dd142bafd94603208a59c107e8f2905/nixos/modules/programs/freetds.nix#L47
programs.less uses store path too
https://github.com/NixOS/nixpkgs/blob/25e9a6d07dd142bafd94603208a59c107e8f2905/nixos/modules/programs/less.nix#L27 https://github.com/NixOS/nixpkgs/blob/25e9a6d07dd142bafd94603208a59c107e8f2905/nixos/modules/programs/less.nix#L118

as per @Atemu's comment, I will reduce the noise and let you consolidate all changes in a single PR, for instance https://github.com/NixOS/nixpkgs/pull/311114


Add Pablo J to Contributors List

Add my name to Contributors list

@pablo0910, I'm quite elated about your PR. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a PR and learned that I merged it?


Big upload test

🤖 - Hi! This is an automated message from the barcode validation robot. I'm going to validate the FASTA files in your request. Please wait while I process the files. This takes about two minutes per sequence.


Decouple JSQMessagesToolbarContentView

@jessesquires Hi, how about decouple JSQMessagesToolbarContentView completely from controller?
My main idea is remove all hard references from JSQMessagesViewController. And make this more in the delegate style. What do you think?

Hm... can you explain a bit more? 😊

For now it is hard to create completely custom toolbar. I suggest move it from JSQMessagesViewController and create toolbar like a component for it. This will not be easy, but I can try. :)

Ahh, I see. This would be very low priority right now. I wouldn't recommend attempting this until after v8.0 of the library. 😄

Ok, I will wait till 8.0 :)

Hello everyone!
I'm sorry to inform the community that I'm officially deprecating this project. 😢 Please read my blog post for details:
http://www.jessesquires.com/blog/officially-deprecating-jsqmessagesviewcontroller/
Thus, I'm closing all issues and pull requests and making the necessary updates to formally deprecate the library. I'm sorry if this is unexpected or disappointing. Please know that this was an extremely difficult decision to make. I'd like to thank everyone here for contributing and making this project so great. It was a fun 4 years. 😊
Thanks for understanding,
— jsq


[SPARK-49958][PYTHON] Python API for string validation functions

What changes were proposed in this pull request?
Adding the Python API for the 4 new string validation expressions:

is_valid_utf8
make_valid_utf8
validate_utf8
try_validate_utf8

Why are the changes needed?
Offer a complete Python API for the new expressions in Spark 4.0.
Does this PR introduce any user-facing change?
Yes, adding Python API for the 4 new Spark expressions.
How was this patch tested?
New tests for the Python API.
Was this patch authored or co-authored using generative AI tooling?
No.

+1, LGTM. Merging to master.
Thank you, @uros-db and @HyukjinKwon for review.


null breaks initState when value is changed

The following throws TypeError: The key 'x' is not in the object '[object Object]':
const initState = require('seal-store')

const { state, setState } = initState({
  video: null,
})

setState({ video: { x: 1, y: { z: 1 } } })

The following version with undefined does not:
const initState = require('seal-store')

const { state, setState } = initState({
  video: undefined,
})

setState({ video: { x: 1, y: { z: 1 } } })

Example: https://runkit.com/719ben/seal-store-null-issue

This was due to npm having the wrong version. This is was due to not having a .npmignore file and the .gitignore is set to ignore dist. Now that a .npmignore has been added, the current version of the package on npm is always up to date.
Fix in 0faa86e6f6773cb46d7b5d70f35657fdd520305f


Pass alias and external to esbuild in the Cloudflare adapters

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

Some external modules rely on NodeJS modules like fs. I've provided https://github.com/sveltejs/kit/pull/10424, only to see that it's not enough. When running the worker, it will still try to load fs – and since CF does not provide it, the worker won't start properly. This happens despite my code not relying on the respective code-path that requires any problematic modules. For me, this is the case with ical-generator.
The alias option allows providing a stub implementation. In my case, I alias fs to my fs-stub.js, and this does the trick:
# fs-stub.js

export function writeFile() {
	console.error('writeFile() is not implemented');
}

export function writeFileSync() {
	console.error('writeFileSync() is not implemented');
}

export function promises() {
	console.error('promises() is not implemented');
}

This PR currently includes the changes of https://github.com/sveltejs/kit/pull/10424. I could either split the PRs entirely, or we can merge just this one and close the other, or the other way round (since most of the review happened on the other PR already).

There's also a request to expose the esbuild platform or all esbuild options here: https://github.com/sveltejs/kit/pull/9398

If we are for this change I think we should close this in favour of #9398 to unify all adapters

There's also #10544 which adds node: to external, which would also solve the "don't bundle fs" use case. I'm not 100% sure which one is better.

FYI: Rebased onto master

I'll have to check with the other maintainers whether we want to do this, https://github.com/sveltejs/kit/pull/9398, or neither. If we do add the ability to use esbuild options (either the subset here or all of them), I think we need to note that it is not recommended. The better solution in your case would be to tweak the ical-generator package as follows: https://github.com/sebbo2002/ical-generator/issues/511. However, I recognize that some packages are unmaintained, etc. and so that solution is not always readily available. But at the very least I think we need to caveat any usage of these APIs with a disclaimer that you're introducing a workaround rather than addressing the root issue

FYI: Rebased onto master

I'll have to check with the other maintainers whether we want to do this, https://github.com/sveltejs/kit/pull/9398

I think both options have their merits. The #9398 is definitely more flexible, but brings perhaps a little more maintenance efforts down the line, as users will expect all esbuild options to be available, so they will have to be made available in the type definition as they become available in esbuild.

The better solution in your case would be to tweak the ical-generator package as follows […]

In an ideal world, that'd be the way to go. However, the world is not ideal, …

However, I recognize that some packages are unmaintained, etc. and so that solution is not always readily available.

… as you recognize yourself. And maintaining a fork of these dependencies – or maintaining a fork of the respective SvelteKit adapters – is plenty of work, but will also introduce security issues down the line.
So I believe – looking at it globally – it's the smaller cost allowing users to add workarounds for issues in potentially many other modules in this single place, than in many other places and forks. (Even more so, since esbuild already has this options and it's largely exposing the specific options.)
So I'd appreciate it if either this or #9398 would be included in a future release.

FYI: Rebased onto master

FYI: Rebased onto master

Any chance to merge it soon?
This would enable publishing to Cloudflare Workers.
https://github.com/sveltejs/kit/issues/3564
https://github.com/sveltejs/kit/pull/10424
https://github.com/sveltejs/kit/pull/10214

As of #10544, Node built-ins are supported when deploying to Cloudflare.
Things like fs-stub can (and arguably should) be handled with Vite:
/** @type {import('vite').UserConfig} */
const config = {
  plugins: [sveltekit()],

  resolve: {
    alias: {
      fs: path.resolve('./shims/fs.js')
    }
  }
};

As such, I believe this issue can be closed — any objections?

As such, I believe this issue can be closed — any objections?'

https://github.com/sveltejs/kit/pull/10544 resolves node stubs issue for subset of supported node modules under nodejs_compat compatibility flag.
This PR enables to create aliases for monkey patching and partial stubs without enforcing use of compatibility flag.
I think this PR still should be merged.

This PR enables to create aliases for monkey patching and partial stubs without enforcing use of compatibility flag.

Is this something that can't be achieved with vite like Rich shared?

@ghostdevv, you are right: Rich code works 👍 I think this PR is not necessary anymore.


Is the FHIR CodeableConcept datatype a proper implementation of Coded Ordinal?

https://zibs.nl/wiki/FunctionalOrMentalStatus-v3.2(2020EN) has a Coded Ordinal for the concept StatusValue. This is currently mapped to Observation.valueCodeableConcept. Does this suffice? Does it require additional constraints?
If we agree this is can be mapped, we should improve the profiling guidelines and tooling. One of the errors:

== NL-CM:4.26.3 (Observation.value[x]:valueCodeableConcept)
  datatype:    ERROR (CodeableConcept instead of CO)

Coded Ordinal is a specialization of Coded Description, and FHIR doesn't have a specific datatype for this specialization than CodeableConcept -- it's more a property of the ValueSet than the actual datatype IMO. The profiling guidelines already state that it is a proper mapping, so I'll update the tooling.
We could define a datatype profile that does nothing else than include a default comment that the values can be used for calculation, but I think this is a bit overkill, as comments are not guaranteed to be overridden, and like I said, it's actually more a property of the ValueSet.

This is fixed in the tooling and as far as I can see in both branches mentioned. I'm closing this issue.


HBASE-22187 Removed remaining usages of ClusterConnection.clearRegionCache

Moved the remaining usages of the deprecated ClusterConnection.clearRegionCache() to ClusterConnection. clearRegionLocationCache().

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
42
Docker mode activated.

_ Prechecks _

+1
hbaseanti
0
Patch does not have any anti-patterns.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 4 new or modified test files.

_ master Compile Tests _

0
mvndep
16
Maven dependency ordering for branch

+1
mvninstall
289
master passed

+1
compile
98
master passed

+1
checkstyle
126
master passed

+1
shadedjars
332
branch has no errors when building our shaded downstream artifacts.

+1
findbugs
264
master passed

+1
javadoc
77
master passed

_ Patch Compile Tests _

0
mvndep
17
Maven dependency ordering for patch

+1
mvninstall
302
the patch passed

+1
compile
99
the patch passed

+1
javac
99
the patch passed

+1
checkstyle
124
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedjars
330
patch has no errors when building our shaded downstream artifacts.

+1
hadoopcheck
634
Patch does not cause any errors with Hadoop 2.7.4 or 3.0.0.

+1
findbugs
286
the patch passed

+1
javadoc
68
the patch passed

_ Other Tests _

+1
unit
222
hbase-client in the patch passed.

-1
unit
17448
hbase-server in the patch failed.

+1
asflicense
62
The patch does not generate ASF License warnings.

20936

Reason
Tests

Failed junit tests
hadoop.hbase.master.procedure.TestSCPWithReplicas

hadoop.hbase.client.TestAdmin1

hadoop.hbase.replication.multiwal.TestReplicationSyncUpToolWithMultipleAsyncWAL

hadoop.hbase.client.TestFromClientSide3

hadoop.hbase.master.procedure.TestSCPWithReplicasWithoutZKCoordinated

hadoop.hbase.master.TestSplitWALManager

hadoop.hbase.client.TestSnapshotTemporaryDirectoryWithRegionReplicas

hadoop.hbase.replication.TestReplicationSyncUpTool

Subsystem
Report/Notes

Docker
Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-125/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/125

Optional Tests
dupname  asflicense  javac  javadoc  unit  findbugs  shadedjars  hadoopcheck  hbaseanti  checkstyle  compile

uname
Linux 900b4f6f929d 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 GNU/Linux

Build tool
maven

Personality
/testptch/patchprocess/precommit/personality/provided.sh

git revision
master / a871d3139a

maven
version: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)

Default Java
1.8.0_181

findbugs
v3.1.11

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-125/1/artifact/out/patch-unit-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-125/1/testReport/

Max. process+thread count
5061 (vs. ulimit of 10000)

modules
C: hbase-client hbase-server U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-125/1/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

Test failures seem to be unrelated to the actual change, because the JVM seems to be crashed.


Checking for IE11 Support

I am a maintainer of a project which must have support for IE11 browser.
I'm wondering what is your browser support list since this project has been flagged as not ES5 safe.
Checking ES5 support for node_modules on my project with are-you-es5 shows:
> npx are-you-es5 check . -rv

...
✅ js-cookie is ES5
❌ local-storage is not ES5
✅ lz-string is ES5
...

I'm using version 2.0.0.

I had the same issues a few years back and forked the the project, transpiled and published under local-storage-es5. My team uses this heavily and we need ie11 support also.


NaN numerical values spoiling interval calculations in choropleth wizard

Very weird scenario, but here you have the steps to replicate:
(Forcing the NaN is something we don't expect users doing, but this might happen also after some SQL computations)

Create an empty table, draw a couple of polygons

Set one column to numeric type (named my_val)

Add numbers for each row

Run this query (assuming you have a cartodb_id = 3):
UPDATE tablename SET my_val = NaN

Apparently, this NaN value is a null in the data view.

Set up a choropleth map
The maximum in the legend is set as 0 with the default quantification method:

Using a quantification for "equal quantification", the system is not able to compute the limits of the choropleth due to the NaN value:

There has been no activity on this issue for more several months. We are closing it. If you think this still needs to be addressed please open a new issue.


Add "cloud-bpmn" information to menuState object

Problem you would like to solve
When a plugin registers custom menu actions via menu.js in Camunda Modeler 5.x (https://docs.camunda.io/docs/components/modeler/desktop-modeler/plugins/#adding-menu-entries-to-the-modeler), the menuState object does not provide any information about the bpmn target type: Camunda Platform 7 (bpmn) or 8 (cloud-bpmn). Currently only the property bpmn with value true is provided by the menuState object.
To check this, add a log to the enabled function in a plugin's menu.js file and start the desktop modeler via command line:
enabled: function() {
  console.log(menuState);
  return menuState.bpmn;
}

The menuState has a lot of information including the tabs, which hold the target type information - e.g.:
tabs: [
  {
    file: [Object],
    id: '0op69ts',
    name: 'diagram_1.bpmn',
    title: '(new file)',
    type: 'cloud-bpmn'
  },
  {
    file: [Object],
    id: '1rcri3w',
    name: 'diagram_1.bpmn',
    title: '(new file)',
    type: 'bpmn'
  }
]

but there is also no information, which tab is currently active!
The information is needed for the BPMN Driven Testing community extension:
https://github.com/camunda-community-hub/bpmn-driven-testing
Since the extension does not support Camunda Platform 8, the Camunda Modeler plugin should also not be allowed to be enabled for BPMN models that are modeled for Camunda Platform 8.
Proposed solution
In case of a BPMN model, the menuState object should provide an additional property called bpmnType with one of the following values depending on the target (Camunda Platform 7 or 8):

bpmn
cloud-bpmn

Alternatives considered
The menuState object should provide the ID of the currently active tab, so that the already existing tabs property can be used to lookup the BPMN type.
Additional context
Required for:
https://github.com/camunda-community-hub/bpmn-driven-testing/issues/114
The missing information is needed here:
https://github.com/camunda-community-hub/bpmn-driven-testing/blob/master/camunda-modeler-plugin/menu.js#L8

Thanks for opening this issue. I think it is reasonable to assume that you have access to the current tab (and its type) in the menu.
We already expose tabs. What is missing is activeTab:


Binding for Stack-component render-callback .

Feature request

https://reactnavigation.org/docs/hello-react-navigation#passing-additional-props
Stack component can accept render callback instead of component prop.
eg:
<Stack.Screen name="Home">
  {props => <HomeScreen {...props} extraData={someData} />}
</Stack.Screen>

  module Screen = {
    type componentProps = {navigation};
    type renderCallbackProp = {
      navigation,
      route,
    };
<EMAIL_ADDRESS>    external makeProps:
      (
        ~name: string,
        ~options: optionCallback=?,
        ~initialParams: M.params=?,
        ~component: React.component({
                      .
                      "navigation": navigation,
                      "route": route,
                    })
                      =?,
        ~children: renderCallbackProp => React.element=?,
        unit
      ) =>
      screenProps(M.params);
    let make = stack##"Screen";
  };

How can I make sure that either component or children is given as props?  Both of them should not be undefined and both of them should not be provided.


vpp: Additional fix for build file mangling

Ensure build does not try to repeatedly copy same files to output

this fix only appears to be necessary on 1.28 branch and only when using Engflow RBE - mystery to me why - but the fix should not hurt elsewhere so better land on main and backport

cc @florincoras


CodeceptJS: Allure report always opens the latest report - Multiple Browser Execution

What are you trying to achieve?
Trying to execute same tests on different browsers (Chrome and Edge) in parallel and view the test results.
What do you get instead?
CodeceptJS generates 2 reports in the allure-results directory, but always shows the latest report when viewed using allure serve command. Could you please guide me on how to generate a singe report and view the test results executed in both Chrome and Edge?
![image](https://user-images.githubusercontent.com/97806447/182031353-6bb54f3f-0ec2-4155-8565-d8500d2db478.png)

![image](https://user-images.githubusercontent.com/97806447/182031409-f24a484f-3e87-4ddd-bae8-e50bedc964ab.png)

![image](https://user-images.githubusercontent.com/97806447/182032100-dfdeb85c-e910-4ebf-98b6-e460c407b203.png)

Provide test source code if related

Feature('Test Allure report multiple browsers');

Scenario('test something', ({ I }) => {
    I.amOnPage('./');
}).tag('basic');

Details

CodeceptJS version: "^3.3.4"
NodeJS Version: v16.13.1
Operating System: WIndows 10
puppeteer || webdriverio || testcafe version (if related): Webdriverio
Configuration file:

const { setHeadlessWhen, setCommonPlugins } = require('@codeceptjs/configure');

// turn on headless mode when running with HEADLESS=true environment variable
// export HEADLESS=true && npx codeceptjs run
setHeadlessWhen(process.env.HEADLESS);

// enable all common plugins https://github.com/codeceptjs/configure#setcommonplugins
setCommonPlugins();

exports.config = {
  tests: './webdriver_tests/*_test.js',
  output: './allure-results',
  helpers: {
    WebDriver: {
      url: 'https://docs.qameta.io/allure/#_usage_8',
      browser: 'chrome',
    }
  },
  include: {
    I: './steps_file.js'
  },
  multiple:{
    basic:{
      "browsers": ["chrome", "MicrosoftEdge"],
    },
  },
  plugins: {
    wdio: {
      enabled: true,
      services: ['selenium-standalone'],
    },
    allure: {
      enabled: true,
      outputDir: "./allure-results"
    },
    screenshotOnFail: {
      enabled: true
    },
    stepByStepReport: {
      enabled: true,
      output: "./allure-results"
    },
  },
  bootstrap: null,
  mocha: {},
  name: 'tests'
}

Hey @myrepojuly1987 if I'm not wrong the allure reports already aggregated all files in results folder to show up the final report for you.

@PeterNgTr  Thanks for your reply. This is completely a new toold to me to learing a lot about this tool and it is a great one too.
I see the allure-results directory genreated as shown below with one for chrome and the other for edge.

I am looking to combine these 2 reports into a single report which shows the execution results in both the browsers
Since allure has built-in aggretation functionalty, I tried doing the below but still it generates only one single report. Not sure where I am gng wrong here.
allure serve ./allure-results/basic_chrome_1  ./allure-results/basic_edge_2

@PeterNgTr
Sharing the config again
const { setHeadlessWhen, setCommonPlugins } = require('@codeceptjs/configure');

// turn on headless mode when running with HEADLESS=true environment variable
// export HEADLESS=true && npx codeceptjs run
setHeadlessWhen(process.env.HEADLESS);

// enable all common plugins https://github.com/codeceptjs/configure#setcommonplugins
setCommonPlugins();

exports.config = {
  tests: './webdriver_tests/*_test.js',
  output: './allure-results/',
  helpers: {
    WebDriver: {
      url: 'https://docs.qameta.io/allure/#_usage_8',
      browser: 'chrome'
    }
  },
  include: {
    I: './steps_file.js'
  },
  multiple:{
    basic:{
      "browsers": [
        {
            browser: "chrome",
            desiredCapabilities:{
               browserName: "chrome",
            },
         //   outputName: "chrome"
        },
        {
            browser: "MicrosoftEdge",
           // outputName: "edge"
        }
    ]
    },
  },
  plugins: {
    wdio: {
      enabled: true,
      services: ['selenium-standalone'],
    },
    allure: {
      enabled: true,
      outputDir: "./allure-results"
    },
    screenshotOnFail: {
      enabled: true
    },
    stepByStepReport: {
       enabled: true,
       output: "./allure-results"
     },
  },
  bootstrap: null,
  mocha: {},
  name: 'tests'
}

This is the comannd that I am running to run the tests in chrome and edge
npx codeceptjs run-multiple basic
Would be great if you can let me know if there is a way to combine the results generated.

Generating Report: allure serve ./allure-results

hey @myrepojuly1987 oh I see you're using the run-multiple which is kinda obsolete, may you try using run-workers?

@PeterNgTr Can you please share an example code if you have any on how to run in multiple browsers using run-workers command? I harldy find anything in google on how to use it.

@PeterNgTr : the issue was with the suite title which was common when I executed it in parallel for both the browsers … Changed the suite title using event suite.before and was able to generate the aggregate allure report. Closing this ticket.

Changed the suite title using event suite.before and was able to generate the aggregate allure report. Closing this ticket.

@myrepojuly1987 hi there, could you share code, please ? i'm stuck with same issue.

Hello… @StasGrishaevTutu … sure, will share it tomorrow without fail…

@StasGrishaevTutu
Here is the sample. Just ensure the below event gets dispatched as given here under 'Event Listeners' section and add the file to the helpers in codecept.conf.js
` event.dispatcher.on(event.suite.before, function (suite) {
/**
 * Example to fetch the browser name. If executing in multiple test libs then add swtich case for helpers
 * const conf =  config.get();
   const browser = conf.helpers.WebDriver.browser;
 */

const browser = UIHelper.getBrowserName(); //see example above to fetch the browserName

//modify the suite.title value which is then used by the allure reports
suite.title = 'Browser' + ': ' + browser.toUpperCase() + ' - ' + suite.title;
}); `

@myrepojuly1987 much appreciated for quick response !

@StasGrishaevTutu You welcome… just leave a msg here if you are still facing issue in generating the aggregate report…will try to share a sample repo tomorrow…


[Storage] [STG87] Increment version for GA release

This PR does the post-public preview release preparation for the GA release.

API change check
API changes are not detected in this pull request.


GeoLocation API requires HTTPS in Chrome 50

Location is not asked anymore. This is because insecure origins are blocked now in Chrome stable.

Here's the blog post about it:
https://developers.google.com/web/updates/2016/04/geolocation-on-secure-contexts-only
It's a known issue, but there just hasn't been time to finish upgrading Firefly to move off of subdomains and onto paths for routing, see #80.

This is related to #58.

Spent an hour tonight messing with https://letsencrypt.org/getting-started/ and https://certbot.eff.org/. I got a certificate (good for only 90 days with renewal constantly required). I imported it into GCE and setup the Load Balancer and all of the other bullshit needed to configure the backend/group/etc/etc.
Something isn't working right. It's another GCE networking issue that I'm running into with basically no tools to really debug or deal with it.
Perhaps I should just set up the cert on the VM itself and skip the GCE Load Balancer BS. The https://github.com/Daplie/letsencrypt-express appears like it would be capable of doing this as well as auto-renewing the certificate, which I don't think is possible with the GCE LB configuration.
I'll have to mess around with this some more when I get time. I searched for a GCE LetsEncrypt blog post or something like that but found nothing, only GAE and LetsEncrypt posts.

What about Cloudflare's Universal SSL. It is free.
Here is a blogpost: https://blog.cloudflare.com/introducing-universal-ssl/
Setup would take like 5 min. We have to migrate our DNS setup and it is one click.

Solved in https://github.com/gdg-x/firefly/pull/102 via Firebase Hosting.


Not generating the jsonschema file

pyang -f jsonschema<EMAIL_ADDRESS>><EMAIL_ADDRESS>for this I'm getting the .jsonschema file
but using this
pyang --plugindir ../ -f jsonschema ./test-module.yang > test-module.jsonschema
I'm not getting any data in jsonschema file
pyang -f --plugindir ../ jsonschema<EMAIL_ADDRESS>><EMAIL_ADDRESS>Traceback (most recent call last):
File "/home/abc/pyang/bin/pyang", line 580, in
run()
File "/home/abc/pyang/bin/pyang", line 38, in run
plugin.init(plugindirs)
File "/home/abc/pyang/pyang/plugin.py", line 59, in init
pluginmod = import(modname)
File "../schema.py", line 1, in
from ncclient import manager
ImportError: No module named ncclient

pyang --plugindir ../ -f json-schema<EMAIL_ADDRESS>Traceback (most recent call last):
File "/home/abc/pyang/bin/pyang", line 580, in
run()
File "/home/abc/pyang/bin/pyang", line 38, in run
plugin.init(plugindirs)
File "/home/abc/pyang/pyang/plugin.py", line 59, in init
pluginmod = import(modname)
File "../schema.py", line 1, in
from ncclient import manager
ImportError: No module named ncclient

pyang --plugindir ../ -f jsonschema<EMAIL_ADDRESS>><EMAIL_ADDRESS>Traceback (most recent call last):
File "/home/abc/pyang/bin/pyang", line 580, in
run()
File "/home/abc/pyang/bin/pyang", line 38, in run
plugin.init(plugindirs)
File "/home/abc/pyang/pyang/plugin.py", line 59, in init
pluginmod = import(modname)
File "../schema.py", line 1, in
from ncclient import manager
ImportError: No module named ncclient


Bug: Building demo with --no-minify does not include correct highlight.js

When building the demo for local testing/debugging without minifying the js
node tools/build.js -t browser --no-minify

copying the demo index.html does not adapt the included highlight.min.js to use the un-minified version.
Would it be possible to make this dynamic so that building and testing work out of the box even for the un-minified version?

Perhaps, but minified or not should have zero impact on testing... so I'm wondering if there is really a different problem here...

Yes, I needed to debug it and I thought using the un-minified version is the best approach to see where exactly things go wrong. Is there a better alternative?

Sure, we could fix... I thought I fixed this kind of thing long ago, but perhaps that was something different.
But what are you trying to debug exactly though?  You shouldn't need to live debug the library JS to solve problems with grammars...

You shouldn't need to live debug the library JS to solve problems with grammars.

Yep, that is probably my inexperience. I ran into the "0 match" problem you explained somewhere here on GitHub. I wasn't where exactly the problem was so I wanted to look at the compiled regex and what the matcher actually tries to do. So I debugged through the demo-page and inspected the JS objects.
But since you asked: Let's say someone used regex.join(...) under the impression that (per default) it really just "joins" regexes and not concatenates them with |. This person was sure join does the right thing because he has seen regex.either() before and though join must do the right thing. So the final regex is not what this person assumed.
How would you debug this without actually debugging it and inspecting the final regex that hightlight.js uses? :smile:

You mean "'0 width match regex'"?  You have a regex with something optional that can potentially match an empty string... that is a no no because it would lock up the match loop in an infinite loop.   An example is making a regex with ALL components optional:
optional(ABC)optional(DEF)

This can match absolutely nothing, which is bad.

So the final regex is not what this person assumed.  How would you debug this without actually debugging it and inspecting the final regex that hightlight.js uses? 😄

Ok you got me. :-)  Guess I'm just too familiar with the internals and helpers.  So 99% of the time it's debugging the grammar itself, not the resulting regexes built with helpers.

Let's say someone used regex.join(...) under the impression that (per default) it really just "joins" regexes and not concatenates them with |. This person was sure join does the right thing because he has seen regex.either() before and though join must do the right thing

Ah, this issue is documented somewhere... join should be renamed with version 11 to avoid this confusion.  It's really more for internal usage by the parser. Your grammar should not use join.

This could be fixed by passing in a flag to renderTemplate... if you wanted to make a PR... :-)

@halirutan Also I'd suggest using tools/developer for debugging, not demo... it also doesn't ahve this problem as it uses the non minified by default. :-)

@joshgoebel Great job. Haven't tried it but I definitely saw your commit that fixed this. Thanks for that!


[VS Code] [Audio] Calling module not available. Cannot find module 'slimcore-2.0'

<!--
Attach verbose logs as follows:
1. Press F1 (or Ctrl-Shift-P), type export

Please i have unistalled and installed and its not working yet

@uniquechukwuma Thanks for the feedback. We will try reproducing the issue.

@uniquechukwuma Your logs might help us diagnose this problem. You can use the Live Share: Export Logs command and then send it to<EMAIL_ADDRESS>Thanks!

Export log command not recognized on my machine
On Thu, Nov 8, 2018 at 6:21 PM Jason Ginchereau<EMAIL_ADDRESS>wrote:

@uniquechukwuma https://github.com/uniquechukwuma Your logs might help
us diagnose this problem. You can use the Live Share: Export Logs command
and then send it to<EMAIL_ADDRESS>Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/live-share/issues/1263#issuecomment-437084083,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APNrSzpkUoHcGESlN5CX4v8QJXqxjVd8ks5utGf8gaJpZM4YUTiv
.

The Live Share: Export Logs command is provided by the main "VS Live Share" extension, which is separate from the "VS Live Share Audio" extension. Do you have both of those extensions installed and enabled?

Yes i do
On Mon, Nov 12, 2018 at 6:00 PM Jason Ginchereau<EMAIL_ADDRESS>wrote:

The Live Share: Export Logs command is provided by the main "VS Live
Share" extension, which is separate from the "VS Live Share Audio"
extension. Do you have both of those extensions installed and enabled?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/live-share/issues/1263#issuecomment-437955473,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APNrS07XZ72pNwoT2qT5xLisKs-O5RPsks5uualAgaJpZM4YUTiv
.

If the Export Logs command is not available, then I think that means the Live Share extension failed to activate. So there may be some other problems besides the one in the issue title here.
Can you manually collect and zip the all the log files from $TEMP/VSFeedbackVSRTCLogs and then send the zip file to<EMAIL_ADDRESS>?

@uniquechukwuma Could you try uninstalling the audio extension and reinstalling it? This issue may indicate that they install process failed for some reason. In the meantime, I'm going to close this as a duplicate of #827.

i have done that but didnt work for me. Am giving up


Will the repo support Simsiam in the future?

Awesome work! Will the Simsiam be supported in the future?

Hi @Epiphqny , thank you so much! We fully intend to support Simsiam (or any self-supervised method) and welcome contributions. :) We won't be able to release SimSiam immediately and encourage community contributions for faster availability!

Hi @Epiphqny , thank you so much! We fully intend to support Simsiam (or any self-supervised method) and welcome contributions. :) We won't be able to release SimSiam immediately and encourage community contributions for faster availability!

Closing this issue and please track https://github.com/facebookresearch/vissl/issues/191 for progress on this . :)


Integrate Trezor as authentication method

Using the Trezor API, integrate Trezor as an authentication/account method for the Augur UI.
Please join the #dev or #bounties channel of our Discord with any questions.
Bounty posted with Gitcoin.

Okay, I managed to work my way through the code base, and I think that it might not be that difficult. Trezor provides something called Trezor Connect which actually handles a lot of the connection and account selection for us. The only other thing is implementing a signer, which shouldn't be that difficult.
One thing, I don't have a Trezor, and I couldn't get chrome communicating with a Trezor emulator, so I might need someone to test things on their Trezor if possible.
:)

@meowingtwurtle can you ping me in our Discord? Im @tk.

Sorry, I can't do that for ~2.5 hours (in class right now) but I of course will then.

See #1483. (Mostly to appease gitcoinbot)

Yes, @gitcoinbot.

🤦♂

Yes. I have been keeping people informed of my stream of bugs in the Discord.

Ah, gotcha @meowingtwurtle 🤔 Thanks for your diligence and responses.
@tomkysar not sure whether you / anyone on the Augur team has any thoughts here?

Issue Status: 1. Open 2. Started 3. Submitted 4. Done

This issue now has a funding of 1500.0 DAI (1500.0 USD @ $1.0/DAI) attached to it.

If you would like to work on this issue you can 'start work' on the Gitcoin Issue Details page.
Questions? Checkout Gitcoin Help or the Gitcoin Slack
$9,677.96 more funded OSS Work available on the Gitcoin Issue Explorer

I'm sorry, what? According to Gitcoin explorer, I still have this bounty, it is not in the open state.

Yes. Waiting on: https://github.com/trezor/connect/issues/121. Any help would be much appreciated.

Yes. PR is (hopefully) done. I have tried to submit a transaction to submit my PR, but I didn't have enough ether for gas.

Hi @meowingtwurtle the Gitcoin Faucet should be able to help. Alternatively, hop on Gitcoin Slack and DM me your MetaMask account details and I'll send you a bit of ETH.


Re-add availability info, with silenced warnings.

This PR re-adds the availability info, with all warnings silenced in apps that use SDVersion.

One of the main features of the library is to target old devices and/or no longer supported OS versions.
Will close this for now.


[Discuss][JsonSplit] The problem of digital overflow in JS by the design of "code field"

Describe the question
In the design of workflow JSON split, the workflow and task definition table introduce the code and version as the unique identification. The data type of the current code field is 20 integer numbers, and the code algorithm is snowflake algorithm. In the actual development, the number type in JS supports up to 16 bits, and the coding will lose precision in the process of front-end and back-end interaction. There are two solutions to solve this problem

The data type of the encoding field is changed to the string type, and the snowflake algorithm generates the number and converts it to the string

Reduce the data length of the number generated by the snowflake algorithm, so that the number of digits is less than 16. After reducing the number of digits, it is necessary to ensure that the results are not repeated

I think the first is better, there is a better plan, welcome to discuss.
json split issue: #4417
Which version of DolphinScheduler:
-[json-split]

JSON拆分设计中，工作流、作业定义表引入了编码和版本作为唯一标识，当前编码字段的数据类型是20位整型数字，编码的算法是雪花算法，实际开发中，JS中数字类型最多支持16位，编码在前后端交互过程中会出现丢失精度问题，解决这个问题有2中方案
1.编码字段的数据类型修改为字符串类型，雪花算法生成数字后转换为字符串
2.缩小雪花算法生成数字的数据长度，使数字位数小于16位，缩小位数后需要保证结果不重复

I prefer consistency and disambiguation. The frontend, backend and openapi are unified, either all of them are unified string, or all are unified long type

I prefer unified long + primary key unique index

I prefer storing the long type in the database and using DTO to convert to string type required by the front end. This will increase additional costs, but can separate from the storage system.

I prefer storing the long type in the database and using DTO to convert to string type required by the front end. This will increase additional costs, but can separate from the storage system.

+1
The data of presentation layer and service layer can be inconsistent

Thank everyone
It is now decided to use option 2.

I prefer storing string type directly so that we can use a uid by combined with a meaningful prefix, which increase the maintainability of the code,  and make it easy to quickly find out the problem by the meaningful prefix.


Spelling/Typo fixes

Very minor typo fixes

Docs Build status updates of commit 2308de0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

README.md
:white_check_mark:Succeeded

sysinternals/downloads/pipelist.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 8472379:
:warning: Validation status: warnings

File
Status
Preview URL
Details

toc.json
:warning:Warning

Details

bread/toc.json
:warning:Warning

Details

toc.json

[Warning] Error happen when converting toc.json to Pdf. Details: Could not find file 'T:\grc1\toc.json'.

bread/toc.json

[Warning] Error happen when converting bread/toc.json to Pdf. Details: Could not find a part of the path 'T:\grc1\bread\toc.json'.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


zsh: command not found: oc

Hello. I entered a repository/project. Installed opencommit (oc) globally via yarn add global opencommit, and when I go to assign api key or emoji to true, I receive the above error: zsh: command not found: oc OR zsh: command not found: opencommit. I am using wsl 2 on Windows 11. I am not sure if that is the problem. I went through the same process running zsh on my MacBook and it works fine.

looks like your windows env issue, try to google pls

Hi, Please reopen the issue, as I am testing on Linux Manjaro 23 with zsh and encountering the same error message 'zsh: command not found: OC'. In my case, I am using nvm and npm. Thank you very much.


releaser: Set up fat binaries for macOS

https://github.com/goreleaser/goreleaser/releases/tag/v0.182.1
I suggest we just produce fat binaries for macOS; a little bigger files, but much easier for people to reason about.

@bep a quick question since I'm not familiar with macOS and I'm in the middle of updating https://github.com/fenneclab/hugo-bin: does the new binary support ia32 too? Or is it only x64 and arm64?

Or is it only x64 and arm64?

Only 64 bit; but we have not produced 32 bit MacOS binaries for some time now (they stopped supporting that in Go at some point).

Thanks! I'll adapt the package then.

BTW I don't suppose you know how one can test arm64 on either Windows or macOS? Testing this would increase our coverage and the chances to break things.


Broken link: Pachapunk.space

Pachapunk.space redirects to a godaddy page to buy the domain name.
https://www.godaddy.com/forsale/pachapunk.space?utm_source=TDFS_BINNS&utm_medium=parkedpages&utm_campaign=x_corp_tdfs-binns_base&traffic_type=TDFS_BINNS&traffic_id=binns&

Removed it, thanks for the head's up.


flat button sample

Flat button behavior and style added. Set elevation to 0 to remove shadows. Set style to @style/carbon_Button.Flat to get flat buttons with one line of xml.


Fix git annex: fix sha256 hash

It turns out that there's a latent bug where the git-annex hash is incorrect, but this will not trigger if you already have git-annex installed and are simply upgrading versions. See #25755 for more details.
In particular, the hash that is located in this file is for an old version of git-annex which is not the one that is located in hackage-packages.nix which informs drv.version. This would cause git-annex to fail from a complete clean build (i.e. git-annex has never been built before).
Note that I'm also ignoring tests because somehow they can't find git-annex-shell while running. This does not seem indicative of an actual bug in the git-annex program itself and so instead of leaving git-annex in a broken state, I'm disabling tests for now.
Motivation for this change
Without this git-annex won't actually build on your machine if you're building it for the first time.
Things done

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

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

I'm pretty sure the Travis failure has nothing to do with me and rather to do with the fact that somehow haskell-tools-ast_0_6_0_0 has disappeared from hackage-packages.nix

The test suite isn't finding the git-annex-shell binary to test with

I committed a fix for that issue already, but now the test suite fails
with different errors altogether. Not sure why that is, but I've
contacted the upstream author and asked for assistance.

I suspect the tests have been broken (at least in nixpkgs) for several versions now. Reverting to 2<IP_ADDRESS> still results in test failures. Indeed I'm puzzled this ever built in master in the first place now. Maybe some other consequences of #25755?

Also I see you've manually modified the package in hackage-packages.nix. Is that okay? Because if it is, you could probably get rid of the problem around #25755 entirely by just modifying the git-annex entry there.

The problem is git 2.13.0:
git bisect start
bad: [5d6c76dd50344753c611b0e73d705695e5c6cfca] git-annex: make sure the test suite runs with git-annex-shell in $PATH
git bisect bad 5d6c76dd50344753c611b0e73d705695e5c6cfca
good: [f2e100ca85994c6edab06d3b4aba612a8f7eba4c] Merge pull request #25616 from Ma27/package/activator/remove
git bisect good f2e100ca85994c6edab06d3b4aba612a8f7eba4c
bad: [18bad38d3d928b7dd9ee09a38249dbeb217d34d1] pythonPackages.callPackage to make it easier to call expressions that take many python packages
git bisect bad 18bad38d3d928b7dd9ee09a38249dbeb217d34d1
bad: [2dcc5bbb5d0aafd1b457e7decca67f5176fc177b] cmark: cmake in nativeBuildInputs
git bisect bad 2dcc5bbb5d0aafd1b457e7decca67f5176fc177b
bad: [2f6437393b33d6a32a2110d4e63f8420754c7a2f] Merge pull request #25669 from flosse/no-maintainer-anymore
git bisect bad 2f6437393b33d6a32a2110d4e63f8420754c7a2f
bad: [cb133234d7333868017ca9dc216b16556133e16d] Merge pull request #25664 from NeQuissimus/git_2_13_0
git bisect bad cb133234d7333868017ca9dc216b16556133e16d
good: [c6c7197c7dc5355ff587da9996330bb72afcb8f7] lnav: 0.8.1 -> 0.8.2
git bisect good c6c7197c7dc5355ff587da9996330bb72afcb8f7
good: [7b211da119589fa5d2889a0e399f208ba56149d3] Merge pull request #25531 from Infinisil/fix/ipfs-dataDir
git bisect good 7b211da119589fa5d2889a0e399f208ba56149d3
bad: [ce8662e693b5756e8457d94bb1765d853310afdb] git: 2.12.2 -> 2.13.0
git bisect bad ce8662e693b5756e8457d94bb1765d853310afdb
first bad commit: [ce8662e693b5756e8457d94bb1765d853310afdb] git: 2.12.2 -> 2.13.0

@changlinli, no, modifying hackage-packages.nix manually is not okay and it's no solution to anything because the file will be overwritten by the automatic generator every few days. That's the very reason why that override for git-annex exists in the first place, because we cannot auto-generate a proper version.

@peti Okay I thought as much. I was just confused by 5d6c76dd50344753c611b0e73d705695e5c6cfca. Maybe that was just a WIP commit?

This issue is caused by a change in behavior in git: https://git-annex.branchable.com/bugs/git-annex_in_nixpkgs_fails_with_git-2.13.0/. Whether that change was intended by the git developers or not is not yet clear.

The discussion takes place at http://marc.info/?l=git&m=149495503107967&w=2.

This PR looks obsolete, is it?

Fixed in master.


Raw molecules input

Hi! I am so appreciated the software for bionano data analysis because it makes everything clear and easy to operate, comparing with KSU scripts and IrysView software!
However, I am a little confused with the .bnx input for script MQR and script denovo.

MQR -b the raw molecule map file (Molecules.bnx) ---> if I have my .bnx files merged, should the -b input be merged_molecules.bnx?
The same question for denovo -b the raw molecule map file (Molecules.bnx) ---> I guess that it should be merged one.

And, I noticed that -r argument within denovo script should be the digested reference (.cmap), should the reference be the standard reference genome downloaded from NCBI or my raw PacBio assembled fasta file?
Thank you very much in advance and looking forward to your generous replies.
** btw, although I am an undergraduate student, I can understand the meaning of each step. The runBNG instruction is so friendly to naive practicer.

Thanks for using 'runBNG'.
Sorry for the confusion. For the (-b), you need to give the final bnx file which you want to analyse. For the (-r), you may use your own assembly (I guess you want to use OM to improve your assembly). runBNG has provided a 'fa2cmap' function, which you may easily apply to get a cmap file.

Hi, thanks for your replies. The explanation is clear!  👍  The runBNG is running the denovo. Will I get a new fasta format file after the denovo step? ;- )


How to determine an offset for a kernel method?

Is there a doc showing how to determine?
For example, iPhone X 14.4.2,  open1 method

Not sure if the code snippet below will hook open1 method?
ret = syscall(SYS_xnuspy_ctl, XNUSPY_INSTALL_HOOK, 0xfffffff007d574f4, open1, &open1_orig);
Just do not understand the difference between sysctlbyname and syscall...

Could you help me to find offset of necp_send_network_denied_event method in iPhone X  14.4.2

Take a look at this: https://github.com/jsherman212/xnuspy/issues/3


Plugin should have a scroll bar at the bottom when showing the blob files in the window

Environment: Windows/IntelliJ14
Steps:
Sign in Subscription.
Click Azure.
Click storage.
Expand a Storage Account.
expand  'Blobs'.
Select a particular blob. This window should have a scroll bar below so that the user will be able to see all the data clearly.
PFB the screen shot.

Having resizable columns, I wouldn't allow scrolling horizontally.
Relevant data should be visible anyway (the URL, which is the longest data in the grid, is obtained by the option "Copy URL")

As per the above requirement, the functionality is working as expected.


Add attributes parameter support for sns create_topic API

Add attributes parameter for SNS create_topic API. Resolves #2049

Coverage decreased (-0.009%) to 92.727% when pulling 7e863b0260669646c78ffe8daf8a08ba268dc24f on bkovacki:add-attributes-parameter-for-sns-create_topic-api into 1095b7d94bdd46b1bb2dbff0122994baf94f2eeb on spulec:master.

What's the status on this?

Thanks!


Implement multiple label

Add support for multiple labels in CREATE, MERGE and MATCH clause.
Important Notes:

Before merging, please rerun the workflow again. Any tests that were added after this branch was last updated will fail because this PR makes minor changes in how vertex and edge objects are output.

Update:

Base of this PR is changed to a new remote branch multiple_label_16, which is based off master.

@rafsun42 Looks good to me-- this seems to be a really big change seeing that it affects the regression tests in a large way. I think it should be a priority to get this reviewed by as many  people as possible, so that development can continue. @jrgemignani mind taking a look?

@jrgemignani @MuhammadTahaNaveed This PR is ready for review now. It was rebased to a new remote branch multiple_label_16, which is based off master. So, there won't be any merge conflicts when changes are added to master. Once it is merged, the remote multiple_label_16 needs to be rebased and merged to master.

Moved to #2082


ResourceIdentifier does not consider "data" key

Hi there,
As JSON API specification says

If a relationship is provided in the relationships member of the resource object, its value MUST be a relationship object with a data member.

Correct me if i'm wrong, but ResourceIdentifier does not care about this data key.
And as we pass complete array in Request it results as null.
You can try it with this simpel example from JSON API documentation:
{
  "data": {
    "type": "photos",
    "attributes": {
      "title": "Ember Hamster",
      "src": "http://example.com/images/productivity.png"
    },
    "relationships": {
      "photographer": {
        "data": { "type": "people", "id": "9" }
      }
    }
  }
}

:+1:

This type of query is exactly what's supported by the implementation though, ResourceIdentifier is what encapsulates the data for each relationship object, for example:
//query
{
  "data": {
    "type": "photos",
    "attributes": {
      "title": "Ember Hamster",
      "src": "http://example.com/images/productivity.png"
    },
    "relationships": {
      "photographer": {
        "data": { "type": "people", "id": "9" }
      },
      "others": {
        "data": [
          { "type": "other", "id": "1" },
          { "type": "other", "id": "2" }
        ]
      }
    }
  }
}

//ToOneRelationship hydrator
function($domainObject, $relationship, $data, $relationshipName) {
    $resourceIdentifier = $relationship->getResourceIdentifier();
    //$resourceIdentifier->getType() is "people"
    //$resourceIdentifier->getId() is "9"
    ...
}

//ToManyRelationship hydrator
function($domainObject, $relationship, $data, $relationshipName) {
    foreach ($relationship->getResourceIdentifiers() as $resourceIdentifier) {
        //$resourceIdentifier->getType() is "other"
        //$resourceIdentifier->getId() is "1", then "2"
        ...
    }
    ...
}

I don't get it @dimvic .
$jsonApi->getRequest()->getResourceToOneRelationship('photographer') returns null and it should not.

My fear is that $request->getResourceToOneRelationship() does not return any value. :D I have already fixed some similar issues in the past, but sometimes I forget about the return statement. :D
Anyway, thanks for catching this problem! i can fix it right now, but can only assure if it really works in the evening.

I found another bug with the aformentioned method, so I fixed it. Feel free to reopen the issue if you find it otherwise!


Custom Dimensions not being sent

Followed along with your blog tutorial and am using your autotracker.js file
I have setup my tracking ids and i can see with the google analytics debug tool that my data is being sent
analytics_debug.js:10 dimension2       (&cd2)<PHONE_NUMBER>.1499894101
analytics_debug.js:10 dimension3       (&cd3)  77849254-9ebe-4d40-b291-daafc5cd2384
analytics_debug.js:10 dimension4       (&cd4)  80acfb86-251a-47a3-9c42-9a3d47ad5244
analytics_debug.js:10 dimension5       (&cd5)<PHONE_NUMBER>768
analytics_debug.js:10 dimension6       (&cd6)  event
analytics_debug.js:10 dimension7       (&cd7)  pageVisibilityTracker
analytics_debug.js:10 dimension8       (&cd8)  hidden
analytics_debug.js:10 dimension9       (&cd9)  (not set)

but for some reason its never available in the dimension reports or anywhere based on your tutorial :(

Did you create the custom dimensions in Google Analytics?

i realized my mistake.. I missed that critical step :( lol


Escape special characters in password for Prisma connection URL

Issue #, if available:
Description of changes:
Just ran into this issue and it took several hours to debug.
Prisma requires any special characters in the connection string to be %-encoded (https://www.prisma.io/docs/orm/reference/connection-urls#special-characters)
If you happen to provision a DB with special characters in the password (reasonably likely if you let RDS pick the values) it will fail to connect.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Hi @zmillman thanks for the PR! Unfortunately, however, this fix won't work because the secret value is only available on deployment time whereas encodeURIComponent is executed on synth time.
I dug a bit deeper and found that CDK already tries to exclude some special characters (" %+~`#$&*()|[]{}:;<>?!'/@"\") when it generates as password: https://github.com/aws/aws-cdk/pull/10583
However, it failed to include all the necessary special characters; , and =.

Ah, happy to have that solved upstream instead!
Looks like it's also missing ^ which was the problematic character in my case

ah ^ also needs URL encoding? I thought this list covers every required character but It seems not...
Fixing upstream may require some time (or even perhaps it won't be accepted because it can be a breaking change) so the quick fix will be using an escape hatch

    const secretResource = cluster.node.tryFindChild("Secret")?.node.defaultChild;
    if (CfnResource.isCfnResource(secretResource)) {
      secretResource.addPropertyOverride("GenerateSecretString.ExcludeCharacters", " %+~`#$&*()|[]{}:;<>?!'/@\"\\,=^")
      // or even this
      secretResource.addPropertyOverride("GenerateSecretString.ExcludePunctuation", true)
    }

My project’s fine now (I’m assembling the connection url programmatically) so no need to rush. Feel free to close this in favor of a PR upstream.
Thanks for the help investigating!

I added exclude characters in this repo for now: https://github.com/aws-samples/prisma-lambda-cdk/commit/43ced80c98b5fdcaaaa9bce1db2624368a700450


README

Could the README get some love? Im considering purchasing Bond, but wanted to see how hard this is to get setup. I have to go look through the actual code to see how the config should look.

Found the config.example.json


Custom trustWallet

I'm looking for a developer to do a custom institutional wallet, with some api integrations and also a custom wizard start.
Maybe here i can find? sorry is this is not the place.
regards.

I'm looking for a developer to do a custom institutional wallet, with some api integrations and also a custom wizard start.
Maybe here i can find? sorry is this is not the place.
regards.

Contact<EMAIL_ADDRESS>

maven {
            url = uri("https://maven.pkg.github.com/trustwallet/wallet-core")
            credentials {
                username = project.findProperty("gpr.user") ?: System.getenv("USERNAME")
                password = project.findProperty("gpr.key") ?: System.getenv("TOKEN")
            }
        }

set your own  correct credentials, then sync again


Usage of "is instance of" in 740

It is checked whether runnable is an instance of ZIF_RUNNABLE.
https://github.com/xinitrc86/zthread/blob/0c8cdb7ebde82475a639a55954e063a920559bb7/src/zcl_thread.clas.abap#L251
This is done using "is instance of" which is only available from 7.50 onwards.
We are still on 7.4 and this displays an syntax error:

We´ve replaced it currently with:
    rv_is_runnable  = xsdbool(          cl_wdy_wb_reflection_helper=>is_instance_of( object =  o_runnable type_name = 'ZIF_RUNNABLE'  )          and lv_name <> '\CLASS=ZCL_THREAD'          ).
https://codezentrale.de/abap-funktion-instanceof/
Do we have another option here?

Hi marianfoo, I'm unaware of options at the moment. I'm currently off. When I get the time I will have a look on the code you sent and see if I can find a more generally available option.
Thank you for

Damn phone...continuing...
Thank you for sharing this!

I'm also aware the serialization is not correct for some scenarios, I have the fix but still need to merge.


Remove obsolete monitor.html

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @paulmelnikow!

  Generated by :no_entry_sign: dangerJS against 724891bf8bbcc1a3935bea6eba27e0cd4b8aff72


API: Users: add 'type' property

Fixes the first issue mentioned in #128 :

At the moment it's impossible to distinguish between users and organizations from the API search results. Adding a type (user, org) would allow to differentiate between them.

Good addition!


Cache introspected GraphQL schema against PRAGMA schema_version

Right now the plugin runs the introspection code to generate the GraphQL once on every request:
https://github.com/simonw/datasette-graphql/blob/da59ef4f2067ba8f4b19e19dddc127253254c6f6/datasette_graphql/__init__.py#L41-L61
Against larger databases with many tables this can start to become quite a significant performance hit.
The easiest solution would be to lazily run that once on server startup, then require a restart if the schema changes.

There are cases where this isn't desirable. If you're running datasette-upload-csvs and allowing users to create new tables from CSV files it's not a great experience for them to have to wait for a server restart before they can access their new data using GraphQL.
Simple option: provide a plugin setting to enable/disable the schema cache.
Another option: a timed cache. Regenerate the schema if it's gone scale by more than 10 seconds.
A really sophisticated approach would be to key the schema cache against the md5 hash of the current table schema - or the use the schema_version pragma which returns an integer that changes any time the schema is changed.

I built the https://github.com/simonw/datasette-schema-versions plugin to get a feel for how PRAGMA schema_version works. It looks like it's reliable as a thing you can read that changes when the schema changes.

Implementation plan: I'm going to create a function that returns the schema after first seeing if it's been cached. Then I'll test it with a test that mocks the function IT calls to generate the schema so it can see if that function was called or not.

schema = await schema_for_database_via_cache(datasette, database=database)


Scroll both vertically and horizontally same time

How difficult would it be to make this library be able to scroll both vertically and horizontally at the same time? I think this functionality would bring the library to another level at least for my application. Would this be overly difficult to accomplish? I would contribute to that if you think it seems doable/desirable feature @ay42

@joshuazmiller Let me try to add this example to the demo app. It might be possible without any modifications. I'll let you know how it goes.

Thank you @ay42 !

@joshuazmiller is the size of the scrollable content known before layout in your use case? or it grows dynamically in one direction?

@ay42 in my case it wouldn't grow based on user input, rather it's based on a list of items retrieved from a shared database