Create-react-app is not giving expected results

Describe the bug
(Write your answer here.)
I initialised a basic react app using CRA , but when I started the applicaiton using " npm start " , it didn't started instead gave errors
Did you try recovering your dependencies?

(Write your answer here.)
Yes , but the problem still persists
Which terms did you search for in User Guide?

(Write your answer here if relevant.)
I followed the same steps as written in the official docs
Environment

(paste the output of the command here.)

Steps to reproduce

(Write your steps here:)

npx create-react-app react-app
npm start

Expected behavior

(Write what you thought would happen.)
I expected it to open smoothly in localhost : 3000
Actual behavior

(Write what happened. Please add screenshots!)

Reproducible demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

Describe the bug
(Write your answer here.)
I initialised a basic react app using CRA , but when I started the applicaiton using " npm start " , it didn't started instead gave errors
Did you try recovering your dependencies?
(Write your answer here.)
Yes , but the problem still persists
Which terms did you search for in User Guide?
(Write your answer here if relevant.)
I followed the same steps as written in the official docs
Environment
(paste the output of the command here.)

Steps to reproduce
(Write your steps here:)
1. npx create-react-app react-app

2. npm start

Expected behavior
(Write what you thought would happen.)
I expected it to open smoothly in localhost : 3000
Actual behavior
(Write what happened. Please add screenshots!)

Reproducible demo
(Paste the link to an example project and exact instructions to reproduce the issue.)

Is it fully fresh app created with create-react-app or did you add something to src/index.js? It's hard to know what's going on without seeing any code.
Also, try maybe initializing the app in some folder with a cleaner folder structure without ' for example. I don't remember when was the last time I've seen someone use apostrophe in their folder path. Try running npx xreate-react-app my-app inside your "Open Source" folder for example. That one has a more "normal" path structure.

It's a fully fresh app created app using create-react-app , but in between some problem occured in installation of node_modules</code and that's why after it got completed , the problem started occuring when I ran npm start
and can you plss tell which ' are you pointing to ?

It's a fully fresh app created app using create-react-app , but in between some problem occured in installation of node_modules</code and that's why after it got completed , the problem started occuring when I ran `npm start`
and can you plss tell which `'` are you pointing to ?

In your path to the project, you have "GSSOC'21" folder so I thought that apostrophe (') might somehow cause random issues. But ok, now you mentioned that installation of node modules failed? Maybe need to just remove node_modules folder and run npm install again?
Also, just try running npx create-react-app test-app inside "C:/Users/dell/OneDrive/Desktop/Open Source/" folder just so that we can eliminate that ' as a potential issue. I doubt that ' in folder path is a problem, but it's worth a try.
Make sure you don't have create-react-app installed globally and follow docs on instructions how to initialize the app.


question about the batch size in step 2 detector

The code is that:
model.fit_generator(train_gen, len(train_files) / 1, 12, validation_data=holdout_gen, nb_val_samples=len(holdout_files) / 1, callbacks=[checkpoint, checkpoint_fixed_name, learnrate_scheduler])
Url is:
https://github.com/juliandewit/kaggle_ndsb2017/blob/master/step2_train_nodule_detector.py#L387
Why to divide 1? Maybe should divide the  batch size?

Hello,
That was just a conveinience thing that I used to test on smaller trainsets while experimenting.
ie. I made it / 20 to train on a smaller trainset.
You can remove the " / 1 " altogether.. There was no relation with the batch size.
Sorry for the confusion..
I'm afraid there will be lots of such confusing things..

Thanks for your replay. In your code, the steps_per_epoch = len(train_files), but I think it should be len(train_files)/batch_size

Hello mileyan, where is that code ?
As you put it you are right but I do not see that code.
Note that I wrote my own data iterator so behaviour/code might not be as you expect.


Added PS4 7.50 7.51 7.55 Offsets

Only 7.55 has been confirmed. From what I looked at 7.50 shares same offsets.

Tip for the future: don't use the same commit msg 20x


fix typo on sample script of ruby-formatter

Fix typo on sample script of ruby-formatter

Hello, @shio-phys
Thank you for creating this PR.
The guideline is said that you need to create an issue at first.
Could you check this guideline and create an issue?


Error: getaddrinfo ENOTFOUND www.google.com

I am getting this error while trying to execute on node
    if(error) throw error;
                    ^
   Error: getaddrinfo ENOTFOUND www.google.com
   at errnoException (dns.js:44:10)
   at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:94:26)

here is my piece of code
var scraper = require('./node_modules/google-search-scraper');
var options = {
query: 'Nodejs',
limit: 10
}
scraper.search(options, function(error,url){
if(error) throw error;
console.log(url);
});

Looks like your local DNS client can't resolve google ;)

why not? is there any solution? by the way I am behind a proxy which I have already set in environment variables. Do I need to set proxy somewhere else as well? I appreciate your help.


Adding  a Lightning backend in MIR project ?

Discussing on Lightning (https://www.gnu.org/software/lightning/) I've got this answer from Paul Cercueil:
=======
One thing I will add - MIR and Lightning have different scopes; MIR is a JIT engine tailored for programming languages, while Lightning can be best described as a code generator. MIR would be unsuitable for some tasks Lightning is good for, e.g. writing dynamic recompilers. On the other hand, MIR provides much more support for implementing programming languages.
What would be interesting is a Lightning backend for MIR; then MIR would take care of IR optimization and register allocation, and it would run on the wide range of archs supported by Lightning.
=======
Would it make sense ? Any comments ?

Would it make sense ? Any comments ?

Gnulighting is an interesting project. I considered its usage about 2 years ago.  IMHO using it would hurt generated code performance significantly.  Two compiler optimizations giving the biggest performance gain are register allocation and code selection.
Lighting abstract machine model assumes only 6 general regs (for comparison optimizing compilers assumes infinite number of regs). The small number of general reg is a big constraint for effective using regs for most RISC architectures (usually they have 32 general regs) and even for x86-64 (16 regs).
Lighting insn model is RISC machine model which will hurt performance for x86-64 CISC which, for example, permits using memory for arithmetic insn even with an immediate in the insn.
In general my understanding is that gnu lighting mostly solves machine insn encoding problem and does it in a very fast way.  Implementation of this is tedious and time consuming task.  Still I managed to port MIR to aarch64 for 2 full weeks.  So I don't think that encoding task will be a big obstacle for MIR.
Also another cons for me to use gnulighting were a license and big source code size mostly because of many targets it supports.  I don't think some of these targets are important now.
I believe MIR could be used for dynamic recompilation too.  For this only RA could be used.  By the way I will add optimization levels to vary generation speed vs generated code performance.  There is still probably a market niche for gnulighting because I see analogous approach in BPF very hyped these days.

Also another cons for me to use gnulighting were a license and big source code size mostly because of many targets it supports. I don't think some of these targets are important now.

One of the greatest assets of MIR is that it is has MIT license, is small and self contained with zero external dependencies, and yet achieves great performance. This combination of features is so unique that I think nothing should be allowed to change it.

OK, thanks for the detailed answer.

Lighting abstract machine model assumes only 6 general regs (for comparison optimizing compilers assumes infinite number of regs). The small number of general reg is a big constraint for effective using regs for most RISC architectures (usually they have 32 general regs) and even for x86-64 (16 regs).

Lightning gives you at least 6 general regs. Most archs have more.

Lighting insn model is RISC machine model which will hurt performance for x86-64 CISC which, for example, permits using memory for arithmetic insn even with an immediate in the insn.

Yes, that's why you should have optimized code generators for the "important" archs like x86_64 and Aarch64. But for all the archs you're not going to bother writing a backend for, Lightning would be a good idea.

I believe MIR could be used for dynamic recompilation too.

I use it in a dynarec I wrote for Playstation emulators: https://github.com/pcercuei/lightrec. Unless MIR can compile thousands of functions per second on a weak 1 GHz ARM SoC, then no, it cannot be used for dynamic recompilation.

Lightning gives you at least 6 general regs. Most archs have more.

Sorry,  I probably misread this.  So if you use more regs than a target machine permits what will happen?  As I understand gnulighting somehow dealing with this situation.  Will it reject the program? Or this means that lighting has a RA?  It could be primitive one (e.g. putting higher regs on a stack), but still RA.

I use Lightning in a dynarec I wrote for Playstation emulators: https://github.com/pcercuei/lightrec. Unless MIR can compile thousands of functions per second on a weak 1 GHz ARM SoC, then no, it cannot be used for dynamic recompilation.

Thank you for reference for your github project.  I probably will work in this direction too although it would be less priority for me.  MIR-generator would simplify the code, does RA (I can speed up it considerably decreasing RA quality, no big deal for me as I worked mostly in RA area for last 15 years) and encode the insns.  In this pipeline I don't see a big difference with gnulighting so the speed can be close to gnulighting.

Paul, sorry for bothering you.  Looking at your litrec project, I see a lot of things (e.g. optimizations) you are doing by yourself besides using gnulighting.  I am just curious, what % of CPU time gnulighting actually use in all you program work?

Sorry, I probably misread this. So if you use more regs than a target machine permits what will happen? As I understand gnulighting somehow dealing with this situation. Will it reject the program? Or this means that lighting has a RA? It could be primitive one (e.g. putting higher regs on a stack), but still RA.

Basically you have between 3 and JIT_R_NUM caller-saved registers, and between 3 and JIT_V_NUM callee-saved registers. Treat them like regular hardware registers of a CPU: you still need a RA.

Paul, sorry for bothering you. Looking at your litrec project, I see a lot of things (e.g. optimizations) you are doing by yourself besides using gnulighting. I am just curious, what % of CPU time gnulighting actually use in all you program work?

I don't have any actual number at hand, but it's neglectible. The API functions listed in the manual are generally tiny wrappers. Lightning doesn't do any optimization whatsoever, which is perfect in my case since I recompile code that has been optimized by GCC in the first place (GCC2, but still).

Basically you have between 3 and JIT_R_NUM caller-saved registers, and between 3 and JIT_V_NUM callee-saved registers. Treat them like regular hardware registers of a CPU: you still need a RA.

Thank you.  I forgot all this about lighting.   I only remember a general impression.
So basically it means lighting can not be used as machine-independent language and its user should treat this as real CPU and does some RA by himself. Or it can be used as machine-independent language but in this case only 6 regs can be used.

Yes, exactly.


feat: add support for thread-id

Description
This pull requests introduces support for the thread-id field (see https://developer.apple.com/documentation/usernotifications/generating-a-remote-notification).
It is backward compatible (AFAIK), and the doctests are included.

@geekbrother hey there 👋 have you had time to take a look at this?


Error loading panels in 0.78

Home Assistant release with the issue:
0.78
Last working Home Assistant release (if known):
0.77.3
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io
Component/platform:
Frontend
Description of problem:
Cannot access panel items: Logbook, Map, History, dev-template, dev-info. Only get "Error while loading this panel." Happen when updating to 0.78. Works if I recall the update.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
2018-09-19 07:17:59 ERROR (MainThread) [frontend.js.latest.201809030] http://hassio.local:8123/frontend_latest/app-1fe7ad4f.js:434:176 Uncaught TypeError: Cannot read property '_stateDisplay' of null
2018-09-19 07:18:08 ERROR (MainThread) [frontend.js.latest.201809030] http://hassio.local:8123/frontend_latest/app-1fe7ad4f.js:434:176 Uncaught TypeError: Cannot read property '_stateDisplay' of null

Traceback (if applicable):

Additional information:

/move to home-assistant-polymer


Update Screen-Nav-Options.md

Please provide enough information so that others can review your pull request:
Explain the motivation for making this change. What existing problem does the pull request solve?
Prefer small pull requests. These are much easier to review and more likely to get merged. Make sure the PR does only one thing, otherwise split it.
Test plan (required)
Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI.
Make sure you test on both platforms if your change affects both platforms.
The code must pass tests and shouldn't add more Flow errors.
Code formatting
Look around. Match the style of the rest of the codebase.

Thanks for raising that issue! I done small tweaks inline


unichar() DAX in Power BI accepts arguments in binary and not hex

Describe the bug
Tried using the unichar  dax function but the arguments the function accepts are in binary and not hex which led to confusion and should be mentioned in the documentation. for e.g. I use unichar for arrow up the hex is 2190 which didn't give any results but an unrecognized box; however changing the hex to binary using the code: 8593 (in binary for the same) yielded the right result.
To Reproduce
Steps to reproduce the behavior:

Go to 'DAX query'
Type 'unichar() and pass hex as arguments'
Press Enter
See error

Expected behavior
Should typically show the arrow unicode symbol on passing the hex code 2190.
Screenshots
Screenshots attached herein.

Additional context
Same should be captured within the documentation part for the same in the above ref landing link shared.

@rudrarch Please consider moving this issue to https://github.com/MicrosoftDocs/powerbi-docs/issues


Inline status diff highlighting (and overall config)

Hi! I'm playing with the inline status diff and have a few questions:

Is possible to add custom highlights? For instance in the image below I would like to change the light blue highlight of the hunk, how the green add line is highlighted and so on

I want to be able to move between hunks with both [h and [c (since I never remember which one to press) however when add the following mapping config:

        status = {
            ['='] = 'Toggle',
            ['[h'] = 'GoToPreviousHunkHeader',
            [']h'] = 'GoToNextHunkHeader',
            ['[c'] = 'GoToPreviousHunkHeader',
            [']c'] = 'GoToNextHunkHeader',
        },

I get:
E5108: Error executing lua: ...hare/nvim/lazy/neogit/lua/neogit/buffers/status/init.lua:421: table index is nil
stack traceback:
        ...hare/nvim/lazy/neogit/lua/neogit/buffers/status/init.lua:421: in function 'open'
        /home/pedro/.local/share/nvim/lazy/neogit/lua/neogit.lua:115: in function 'open_status_buffer'
        /home/pedro/.local/share/nvim/lazy/neogit/lua/neogit.lua:187: in function 'open'
        ...e/pedro/.config/nvim/lua/plugin-config/neogit_config.lua:68: in function <...e/pedro/.config/nvim/lua/plugin-config/neogit_config.lua:66>

If I remove the last two mappings the error goes away but then [c and ]c are not mapped.

If as in the gif I press = on a modified file to toggle the diffs and then move inside a hunk and press = again then only the hunk get folded. To fold the whole file I therefore need to move to the filename and press = there. Is it possible to simply autoggle hunks (i.e closing and opening alltogether rather in a 2 step process?). I guess this is similar to https://github.com/NeogitOrg/neogit/issues/651#issuecomment-1681235969

I don't quite understand how the diff (diffview) integration works from within the status buffer. I press d and then d again on a modified file (or d and s on a staged file) diffview always opens a window with diffview://null as per the following GIF:

Bonus: I guess 1. also applies to NeogitCommitView  where highlight groups also seem not configurable?

All the highlight groups are here: https://github.com/NeogitOrg/neogit/blob/nightly/lua/neogit/lib/hl.lua - you can just define the colors you want somewhere in your config (before loading neogit) and we won't overload that.
That's not going to work 😓 The table gets inverted (keys become values) for easy lookup, so if two key have the same value, I think that's going to create a collision. Someday I'd like to have a mapping API as nice as telescope, but for now... here's what we've got.
No, toggle works on whatever the smallest local scope is. If you're on a hunk, you'll toggle the hunk. That's not something I'm interested in messing with 🤷🏼
dd is a fast way of doing "do what I mean" - it'll diff whatever you have selected. It seems to be working fine for me.. If you can make a simple reproduction I'll try to figure out why it's not working for you.
HL groups are all configurable, just make sure whatever you define is loaded before neogit.

Thanks! I'll take a look to that file. Any idea why running :Inspect doesn't report the highlight groups?

Thanks for the explanation
Roger that
I'll cook a minimal working example and report back.
I guess it's the same as 1.. for some reason :Inspect is not reporting the hl groups.

That's not going to work 😓 The table gets inverted (keys become values) for easy lookup, so if two key have the same value, I think that's going to create a collision. Someday I'd like to have a mapping API as nice as telescope, but for now... here's what we've got.

Coming but to this I did notice today that in my config I have:
    mappings = {
        status = {
            ['X'] = 'Discard',
          ....
          }
}

and both x and X work to trigger a discard event. So the [c and [h doesn't work because both are user defined? Whereas X is user defined and x is from neogit default config?


API Request: Scale application id by arbitrary number

Right now, to increase the number of application instances by any amount, I have to first parse the currently number of running instances, do math, then issue a PUT to the /v2/apps/{appID} endpoint. Is there an easier way to do this?
This is a request to add a PUT endpoint to the appid to change the number of instances relative to the current number running. Something like, "scale +2" would be nice.

Hi @jolexa !
Currently you could scale complete groups by a factor with the scaleBy key. Maybe this already helps you?
An example PUT request on the groups endpoint could look like this:
curl -X PUT http://localhost:8080/v2/groups/myGroupId  -H "Content-Type: application/json" -d '{"scaleBy":"1.5"}'

This scales the complete group by a factor of 1.5 .

That might work for us. Not all of our applications are grouped though (most aren't)

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-1870. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-1870. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


git_last_tag returns tag from any branch!

Hi,
When I was checking change log from the current branch it was giving wrong logs, later found that change log computed based on last tag irrespective branch you are on, say I have branch A and B, on A there is tag 1,2 on B tag is 3,4. Next switch to branch A and ask for git_last_tag which should return 2 but it returns 4 which is wrong.

Dupe of #4194


Configurator - HM driver specific implementation

Added driver specific HM logic in firewall and loadbalancer drivers
Added extra logs in base driver

Changes look fine.


Is it possible/difficult to convert Ubuntu/Debian into GoboLinux?

I would like to see more awareness on GoboLinux, and I do believe that having a quick way to convert Ubuntu/Debian into GoboLinux Files and Folders system would attract more attention towards the project and maybe few more essential high quality contributors to drive the project forward and improve the quality of documentation.
Would it be difficult to convert Ubuntu/Debian to GoboLinux "on the fly"?
I'm mostly concerned about: reorganization of Ubuntu/Linux Files and Folders naming and hierarchy.
Would it be enough to just simply do symlinks and use GoboHide on Ubuntu/Debian?
Would it be even a good idea to convert Ubuntu/Debian into what GoboLinux is?
@lucasvr @AitorATuin @hishamhm @mwh @bolangi

We have something that could serve as a starting point for that: https://github.com/gobolinux/ThirdPartyInstallers
One way to do it would be to:

Query the package manager for a list of installed packages
For each package/version, create its corresponding entry under /GoboLinuxRoot/Programs
Retrieve the list of files installed by that package, and copy each reported file/directory  to /GoboLinuxRoot/Programs/package/version (flattening /usr as needed)
Check what's not been copied (i.e., files possibly not associated with any package) and copy them over to /GoboLinuxRoot

Afterwards, it would be a matter of creating links on /GoboLinuxRoot/System/Index and then attempting to chroot to check if the filesystem layout change worked.
As a last step, there might be a need to modify the boot scripts so that the system boots and launches services as expected. That's where I think the most burdensome tasks will be.

We've had this for a while, it was called "Rootless GoboLinux" and it is now discontinued
Is there a way to get the legacy installation?

I'll respectfully disagree, because if you look at Windows, it doesn't even have a built-in package manager

Well Ill admit that I don't attempt to build stuff from source very often in windows, perhaps I should rephrase and say that because distros vary so much and there's less official content. Moderate and some advanced users in linux would be expected to use package managers more often I feel rather than rely on .exe and .msi files and their built in software uninstaller so that's why it seems to have more importance to have something to help unify things in linux.
It would be nice to use the gui app managers in linux for most things and supplement with the default package manager of your distro for everything else, I just haven't found that to be very encompassing with the amount of small time open source I feel I use in linux.

Gobo is an alternative, a view into a parallel universe of what Linux can be, but it is not trying to become a new standard.

In my opinion, and Ive had this idea before I even came across this project, when I was working with windows, I would come across portable programs and feel like, why aren't all windows programs made "portable"? I feel all OS would benefit from being more modular. It just makes sense, its like soldering in a graphics chip vs having a slot but with software. The files should be in one place.
I also honestly hate the unix style of folder organization, it feels like something that maybe made sense at one point but feels very outdated. That is the one thing I will say I feel MS Dos and Windows have that feels a little bit more natural with to me, I loathe the registry in windows though. But in unix/linux for example one standard file is etc standing for et cetera, and its mostly used for config files now. Standards need to change at the point they become cumbersome and the unix file hierarchy is an old standard, from the 70s and it makes little sense. To me its like us Americans using imperial measurements for most things, if there's something better like metric there should be an effort to adopt (although I feel Fahrenheit is actually better for air temp).
but I digress, I can see that you've put a good deal of effort in changing things even earlier in the linux game and it seems that the project may be winding down in terms of what you all feel like putting into it but I do personally wish it did "take off". Im still debating myself trying to dig into how this works and how the rootless version works but I'm also debating if its worth the time.

@Arndorferd If you care so much about GoboLinux, I suggest you invest your precious time and energy into installing GoboLinux and making the set up work for YOU. I do not mean this in a offending way, but trust me you are completely wasting your time writing attention seeking posts and it won't make GoboLinux take off in a million years... users actually using a distro  make the difference. The post-analysis of a soccer game has never changed the facts, its the players who run the game.

Well if a team of like 5 people or whatever didnt feel rootless gobolinux was worth keeping it updated like, Im not exactly sure what I by myself can do so, the questions that remain, for me, is, is it a waste of time for me to attempt to get this going as a sole player who doesnt have experience in programming distro's and as an amateur programmer to learn extensively since its just too much for one person and has little chance of getting noticed and getting supported more, or is it worth the time. Im gauging the sentiment of the project as a whole. I mean post-analysis may not have much change in facts in soccer but coaching, during the process and trying to gauge the sentiment of the players to make a good game plan moving forward does.

Anyway as I asked does the legacy releases of rootless gobo still exist somewhere?

Im not exactly sure what I by myself can do so, the questions that remain, for me, is, is it a waste of time for me to attempt to get this going as a sole player

I mean that depends on your priorities, if you want an operating system the way you want it, you need to invest some energy.
If you are not ready to invest that, other distros like Ubuntu have it all.
Personally I do this stuff for the fun of it, so I struggle to decode statements like "is it worth my time..." I mean it depends what stuff you consider being worth your time, do you want fun, money, success? And what are you willing to actually do?
If you see yourself in a position to pose the question "is it worth my time?" then I think you already know the answer.
Everything that GoboLinux advertises, it is actually capable of doing. If you are missing some feature it is absolutely possible to implement this yourself as a sole player. In fact I think most GoboLinux tools originate from 1-2 creators and thats it.
But if you are saying you are not willing to learn this stuff, or you want others to implement it for you (unpaid), then I guess it wont work out.

Anyway as I asked does the legacy releases of rootless gobo still exist somewhere?

Not sure, @lucasvr or @hishamhm would need to answer this.

Your looking at it from the perspective of, I like to to tinker with things and this is fun to do. Im coming from the perspective of, this isn't something I want to do, but I feel it should exist so if Im going to do it myself, others better get use out of it. Id do it for the good of the community but I wouldn't do it just as a hobby for myself because Im more passionate about other things. Like Ill spend my time on it but not as a hobby, as a good cause for the linux community perhaps.
It just sounds to me you all have tried to make it take off and it didnt and you're all not interested in trying that again because its not worth it. In that case, Im not sure how my support would be that much more useful one extra person would be to that goal.  Well if thats all that a small group of people can do then Im not sure its worth my time, because I neither have money nor do I have the interest in starting a business or something that has a voice to get this thing going. Im saying its a good idea and its a shame that it didnt get more voice in the linux community but, Id feel like Id have to really dedicate more than Im willing if I were to do something about that, because theres other things that I want to do good in that seem more important to me.

Ill have a look at the rootless version and if it looks like I can retrofit it pretty easily to fit on top of arch or ubuntu by just updating a few things then I might take the resulting os and post that as a fork of that os because I mean it might make more sense to fork that os but its kinda like an I might do this if I feel its worth it kinda thing.

To me trying to make a new OS rather than a fork of what is more popular as said earlier, trying to make a new standard, when there already is many out there. I mean most of the popular OS right now are forks because they go off of what is already popular. Pop OS is a fork of Debian which is a fork of Ubuntu. If your intentions are to make it popular, and not to try to write new standards, it makes more sense to fork an old distribution using this concept.

If you all were like lets make a new project called GoboDebian and make it a fork of Debian, Id be like thats a good Idea sure Ill help out with that but as it is now, idk it seems to me like you are kinda "wasting time" in a way if you think that a from scratch linux version is going to take off.

If you guys dont feel that, that is the case, or you feel that it is true but you feel like its not in your scope of what you want to do then well I either 1.should work with other people who want to do it that way or 2.I should not work on it at all because I feel similarly in terms of not wanting to invest too much time into it. Either way its better if I know where people are coming from.

Anyway as I asked does the legacy releases of rootless gobo still exist somewhere?

Hi there. Back in the day, when Rootless was born, GoboLinux used an approach to compilation of programs in which their installation prefix was set to /Programs/Name/Version both at compile time and at install time. With Rootless we basically changed the target to $HOME/Programs/Name/Version, and all was fine.
The problem with that approach is that many programs will attempt to find files from other programs under the prefix set at compile time. For instance, a program named Foo may expect to find files from a program named Bar under /Programs/Foo/Version/share when they were built following that approach -- and that's an issue, because files from Bar won't be there! We had some hacks such as renaming share to Shared and then letting share point to the global directory of symlinks for all programs' Shared directory. Then we noticed that the same approach would have to apply for lib, bin, and other directories, so we abandoned that approach and adopted something different.
The new version (which we use to this day) lets programs to be compiled with prefix=/usr. Then, at install time, we create a union mount over /usr that captures file creations/writes. When the installation is over we remove some known outliers from that sandbox and move the remaining files to /Programs/Foo/Version. The advantage here is that file lookups will no longer happen under /Programs/Foo/Version, but rather under /usr -- so files from other programs will be found as expected.
The disadvantage is that programs like Rootless are no longer guaranteed to work, because we now rely on a feature (union mounts) that you won't find on other operating systems. And so we stopped maintaining Rootless: if we know beforehand that it won't work on, say, macOS and Windows, then it's not worth the effort to keep pushing it.
[Here(https://github.com/gobolinux/Scripts/commit/06416c67e4c6ae7b53d123a755fbc78de3b7c377#diff-3debedb09c09dbdac9183a185b9a2e76d6fce9c4cb10d890c9bd07ca2cc37f72) is the commit that deleted Rootless from the codebase.  There's also this nice script that automated the installation of Rootless on other operating systems. Still, it's gonna be a lot of work.
I'd say that it's probably more productive to put efforts on having a GoboLinux Docker image than fighting Rootless. The only thing with Docker, then, is to come up with an alternative implementation of GoboHide so you can hide the standard directory hierarchy without having to patch the host kernel.


modified for ap-northeast-1  multi AZ enviroment

Hello, terraform plan command with multi az option (-var single_az_only=false)  for ap-northeast-1 wasn't working.
$  terraform plan -out rosa.tfplan -var region=ap-northeast-1 -var cluster_name=myhcp -var single_az_only=false
data.aws_availability_zones.available_azs: Reading...
data.aws_availability_zones.available_azs: Read complete after 0s [id=ap-northeast-1]

Planning failed. Terraform encountered an error while generating this plan.

╷
│ Error: Resource precondition failed
│
│   on main.tf line 106, in resource "null_resource" "validations":
│  106:       condition     = alltrue([for id in local.az_ids : contains(data.aws_availability_zones.available_azs.zone_ids, id)])
│     ├────────────────
│     │ data.aws_availability_zones.available_azs.zone_ids is list of string with 3 elements
│     │ local.az_ids is tuple with 3 elements
│
│ ROSA with hosted control planes in region ap-northeast-1 does not currently support availability zone ID(s):
│   apne1-az3
╵

It seemes that the  main.tf was expecting below AZ IDs.
・apne1-az1
・apne1-az2
・apne1-az3

But in ap-northeast-1 region, apne1-az3 had been closed a long time ago.  The current available AZ IDs are...
・apnet1-az1
・apnet1-az2
・apnet1-az4

So, there was a mismatch between the main.tf and the available AZ IDs in ap-northeast-1
As I looked at the main.tf, I felt the well_known_az_ids seemed a good position to accommodate the ap-northeast-1 difference. So, I modified it like below.
  well_known_az_ids = {
    us-east-1 = [2, 4, 6]
    ap-northeast-1 = [1, 2, 4]   # added for ap-northeast-1
  }

I tested it, and it's all working fine. It doesn't seem to have side effects.
But I am not so familiar with HCL. So, I would appreciate it if you check the modification.

This is exactly the use case for well_known_az_ids. Thanks so much for the contribution!


[Bug]: [UI] Changes in the UI of entity explorer (needs design)

Is there an existing issue for this?

[X] I have searched the existing issues

SubTasks

[ ] The currently selected page could be highlighted better
[ ] Hover state and selected state for query/api/widget is the same

@aakashDesign Could please provide the necessary design changes required to fix this ?

@arunvjn This issue needs to be picked by the design systems team. I've discussed this with @kocharrahul7 and have added it to our design planning board.
CC @vinay-appsmith

Closing coz this is fixed in https://github.com/appsmithorg/appsmith/pull/22030


Unable to set up extension for docker deployment

Describe the bug
When attempting to set up the chrome extension for use with a docker instance, it instantly fails with a "Connection failed" error. The logs show an issue with SUPABASE, however:
today at 12:23:09 PMError: Missing env.SUPABASE_URL
today at 12:23:09 PM    at Object.671 (/app/.next/server/chunks/220.js:71:38)
today at 12:23:09 PM    at __webpack_require__ (/app/.next/server/webpack-api-runtime.js:25:42)
today at 12:23:09 PM    at Object.2726 (/app/.next/server/pages/api/bookmarks.js:102:77)
today at 12:23:09 PM    at __webpack_require__ (/app/.next/server/webpack-api-runtime.js:25:42)
today at 12:23:09 PM    at __webpack_exec__ (/app/.next/server/pages/api/bookmarks.js:483:39)
today at 12:23:09 PM    at /app/.next/server/pages/api/bookmarks.js:484:70
today at 12:23:09 PM    at Function.__webpack_require__.X (/app/.next/server/webpack-api-runtime.js:108:21)
today at 12:23:09 PM    at /app/.next/server/pages/api/bookmarks.js:484:47
today at 12:23:09 PM    at Object.<anonymous> (/app/.next/server/pages/api/bookmarks.js:487:3)
today at 12:23:09 PM    at Module._compile (node:internal/modules/cjs/loader:1126:14)

Expected Results - Using the base URL and the provided API key, extension would be set up. Based on documentation, Supabase was not a requirement.
Attempts to browse to the api (https://briefkasten.tld/api/*) are unsuccessful, as are test attempts at directly posting to the API through a direct POST request.
Reproduction

Install official extension
Put in base url (https://briefkasten.tld) and token
Instant failure to connect

System Info
System:
    OS: Linux 5.4 Debian GNU/Linux 11 (bullseye) 11 (bullseye)
    CPU: (2) x64 AMD PRO A4-8350B R5, 6 Compute Cores 2C+4G
    Memory: 25.79 GB / 30.32 GB
    Container: Yes
    Shell: 5.1.4 - /bin/bash
  Binaries:
    Node: 16.17.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 8.15.0 - /usr/local/bin/npm

Used Package Manager
n/a
Validations

[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

Quick update - decided to try and add a bookmark manually through the web gui and ran into the same error / log message. Assumption is that Supabase (or equivalent) is required at this point, but would love to know if I'm doing something wrong.

Quick update - decided to try and add a bookmark manually through the web gui and ran into the same error / log message. Assumption is that Supabase (or equivalent) is required at this point, but would love to know if I'm doing something wrong.

Hey @Zutart thanks for flagging this. I justtt released this the other day and while manual testing in my environment worked, there could obviously still be bugs 😅 I think youre one of the first to officially try the docker methodology.
So anyway, let me get this straight, you did not supply a supabase env var and do not want to use it?
I'll double check this a bit later on when I'm home 👍

Hey @ndom91 just realized how fresh the docker deployment is, good timing on my part I suppose!
Yeah I was just trying to stand up the project and see how it looked / how the extensions worked and didn't want to go the route of setting up Supabase immediately. I went ahead and did so just now to test and as soon as I provided the URL and key everything worked as expected.
Would be interested in not necessarily having to go that route but not the end of the world otherwise. I also just tested the profile link to see what was there and got a page not found issue. Obviously not the same thing as above but wanted to just mention it here before I forgot.

Hey @ndom91 just realized how fresh the docker deployment is, good timing on my part I suppose!
Yeah I was just trying to stand up the project and see how it looked / how the extensions worked and didn't want to go the route of setting up Supabase immediately. I went ahead and did so just now to test and as soon as I provided the URL and key everything worked as expected.
Would be interested in not necessarily having to go that route but not the end of the world otherwise. I also just tested the profile link to see what was there and got a page not found issue. Obviously not the same thing as above but wanted to just mention it here before I forgot.

Okay awesome, good to hear.
Yeah makes sense that you'd want to be able to spin it up quickly to take a look without having to signup for supabase or any other service. Although the demo / cloud instance is also available for a quick peak.
I'll still take a look at this though, I definitely want it to run without having to provide a SUPABASE_URL or any other online service.
Also that profile page doesn't exist yet, only the settings one does. I should definitely disable/remove that button 👍

@Zutart I was able to reproduce the issue on my end. Let me see if I can ship a fix for it real quick :+1:

I'm going to close this as "Solved". If yuo still have an issue, please open a new issue or comment to reopen this :+1:


[website] Fix subscribe input with Safari

The issue can be seen at the bottom of any blog post, e.g. https://mui.com/blog/mui-x-v6-alpha-zero/

I have used the opportunity to fix the autofill style on Chrome:

@danilo-leal Yeah, I think the learning for me is that the only valid use case for it is outline: 0 when there are better ways to handle the a11y focus ring.

Sure, I'll do it in one of my PRs. That's really a bummer... outline reads so much better than box-shadow for this, which never ceases to feel hacky 😅

Sure, I'll do it in one of my PRs.

@danilo-leal Thanks. Only don't please don't bundle it with unrelated changes, in case this is what you meant 😁. For example, this 10 LOCs PR is great to git blame and understand the history.

@michaldudak So we might need this for another year? How long will it take for, say 80% of the iOS/macOS users to get the fix?

Perhaps a bit less. I'm looking at focus:visible support, which was introduced in Safari 15.4 on March 14, 2022. It seems that users of supported versions represent almost 15% of all, and older Safari users are 2.9% of all. So, after nine months, almost 84% of all Safari users have this feature working.


Prevent null header value from raising exception

In the wild, our app will occasionally crash with:
Fatal Exception: java.lang.NullPointerException
value == null

The stack trace brings it back to okhttp3.Headers$Builder.checkNameAndValue (Headers.java:316):
if (value == null) throw new NullPointerException("value == null");

In the proposed fix, we simply continue the documented functionality of the extractHeaders method by returning "null" for invalid data.

What's the options you passed to fetch  ?

We are not able to reproduce this in development, it only happens in production (and only on Android). It's hard to say what the context was that causes this - it could even be a third party package.

Before applying this patch, I'd like to have a better understanding of the underlying issue to make sure we're properly fixing this. It'd be great if you can reproduce this on development (ideally on RNPlay.org) or if you could get the specific request that triggers this.

@hramos @leeight Looks like this is already the way it's handled on the iOS side.
https://github.com/huitsing/react-native/blob/master/Libraries/Network/RCTNetworking.mm#L209-L220
null values are simply discarded without error.

@hramos - We were not able to reproduce the crash in dev, and so I cannot put up a link to RNPlay with a reproducible crash. We see the issue only in production on Android but not iOS. This PR seems to move Android's header error checking in line with iOS's.

I think it should be possible to get a consistent repro, which would make me more comfortable shipping this. But it looks quite safe, so lets go for it
@facebook-github-bot shipit


Add regression notes

Codecov Report

Merging #1963 (e12b2db) into master (e475cc4) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1963   +/-   ##
=========================================
  Coverage     58.16%   58.16%
  Complexity     1065     1065
=========================================
  Files           186      186
  Lines         10155    10155
  Branches       1398     1398
=========================================
  Hits           5907     5907
  Misses         3774     3774
  Partials        474      474

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


Can't become creator again after deleting installation

Problem

User had a personal organization (created_from_user_maintainer_upgrade=True)
Installed the Polar GitHub App
Later uninstalled the Polar GitHub App causing the organization to get a deleted_at
Could not re-create their personal organization (404 upon clicking "Become creator")

Solution
Currently, we're only checking if a record exists in the upgrade path and aborting if it does. However, we would need to change the deleted_at status too since the later flow fetches active organizations. Causing the 404 in this scenario due to no active (non-deleted) organizations existing.

This is no longer the case now that Polar Organizations are independent from GitHub :)


Hover.com pages are not up to date

These are not the current DNS record screens from Hover.com. for adding SRV records. We're having trouble reconciling the two.

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

ID: 1f2e4e45-6ad7-eb79-aecb-0d7a89b06a03
Version Independent ID: 1059223e-5759-b130-41ac-5ea98cb5367e
Content: Create DNS records at Hover for Microsoft - Microsoft 365 admin
Content Source: microsoft-365/admin/dns/create-dns-records-at-hover.md
Service: o365-administration
GitHub Login: @pebaum
Microsoft Alias: pebaum

looking into this.

@pebaum  Kindly answer and help us in resolving this issue. Thanks.

We removed the Hover.com article and we're now pointing to general DNS records instructions: Create DNS records at Hover for Microsoft - Microsoft 365 admin.


submitting jpoirier008_submission001.csv

Random Forest with some feature engineering - hopefully a better result than last time :)

Hey Josh... it's up a bit at 0.502. You're well beyond me in wielding R, so I'm afraid I can't offer much comment on what you're doing. I guess it could be overtraining? Maybe cut back the tree depth or minimum number of leaves per node? Probably you already did... Anyway, I hope you get a chance to look at it some more. Cheers!


Place for asking questions

Hi,
Where is the best place for asking questions about usage for not perturbing this place with irelevant questions that are not bugs?
Thank you

I'm comfortable for you to ask anything here as an issue.
It means it's searchable for people that have the same question in the future.
We can just close the issue once the question is answered so it doesn't hang around :)
Feel free to send any shortfire questions to Matt or I via Twitter too.
--

On 5 Sep 2016, at 4:05 PM, Laurentiu LAZAR<EMAIL_ADDRESS>wrote:
Hi,
Where is the best place for asking questions about usage for not perturbing this place with irelevant questions that are not bugs?
Thank you
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

ok, but as I say is not about bugs, but usage scenarios.
So first of all:
I have an add/registration form as in the picture bellow

What I want is to add an extra button just bellow the CUI field and on click to invoke an action/method (I put both in question because I am not sure about approach; at this very moment for testing purpose all is in Index action of relevant controler) that mainly make an web request, return an json object which I use around the relevant model. Is visible on top of view that I render the values that I retrieve from json.
But I have no ideea how to draw this extra button and how to invoke on click the needed action/method  from controler (and of course not to send yet the form; maybe it will appear more fields that are not available in json, there maybe is a basic information and I may want to manually enter extra details).
I stay here for more details is necessary
Regards

For being more precise, I have in CustomerControler:
private InvoiceDBEntities db = new InvoiceDBEntities();
    //Ask the web for company details
    public ActionResult GetCompanyInfo(Customers customer, string CompanyCIF)
    {
        //call for openapi.ro //pc94 srl: RO5949570 infosystems4u: 22052442
        string CompanyCUI = CompanyCIF;
        // Create a new 'Uri' object with the specified string.
        Uri myUri = new Uri("https://api.openapi.ro/api/companies/" + CompanyCUI + ".json");
        // Create a new request to the above mentioned URL.
        WebRequest myWebRequest = WebRequest.Create(myUri);
        //Add the required header to request
        myWebRequest.Headers.Add("x-api-key", "8P4RP_kwn71Nt8VG7boFmQb_7NsihyQxT_x7JGcGQkvPdXZH2Q");
        // Assign the response object of 'WebRequest' to a 'WebResponse' variable.
        WebResponse myWebResponse = myWebRequest.GetResponse();
        // Read the response into a stream
        var dataStream = myWebResponse.GetResponseStream();
        var reader = new StreamReader(dataStream);
        var jsonResultString = reader.ReadToEnd();
        // Deserialize
        var CompanyInfoData = Newtonsoft.Json.JsonConvert.DeserializeObject<CustomerModels>(jsonResultString);
        //Bind to model for feed him
        //
        var cModel = new Customers();

        cModel.Phone1 = CompanyInfoData.telefon;
        cModel.CompanyRegistration = CompanyInfoData.numar_reg_com;
        cModel.Name = CompanyInfoData.denumire;
        cModel.CompanyNumber = CompanyInfoData.cif;
        cModel.Address = CompanyInfoData.adresa;

        ViewData["Customer"] = cModel;
        //return Json(Companydata);
        //return View(jsonResultString);
        return View(cModel);
    }

and respectively:
    // GET: Customers/Create
    public ActionResult Create()
    {
        return View();
    }

    // POST: Customers/Create
    // To protect from overposting attacks, please enable the specific properties you want to bind to, for
    // more details see http://go.microsoft.com/fwlink/?LinkId=317598.
    [HttpPost]
    [ValidateAntiForgeryToken]
    public ActionResult Create([Bind(Include = "CustomerID,Name,CompanyNumber,CompanyRegistration,CompanyBank,CompanyIBAN,Address,CP,City,ContactPerson,Phone1,Phone2,Fax,Email,Notes")] Customers customers)
    {
        //Here to retrievecompany info from web if available
        //Here I want to have the value of field CIF from ChameleonForm as paramter
        //GetCompanyInfo(CompanyCIF);

        if (ModelState.IsValid)
        {
            db.Customers.Add(customers);
            db.SaveChanges();
            return RedirectToAction("Index");
        }

        return View(customers);
    }

So what I want and I don't know yet how to achieve:

To manually inject a HTML button just bellow CIF field
2.) Invoke my method/action on click of button and send the text that I already write in CIF field as parameter to my method/action
3.) If necessary (don't now if necsary, anyway at first experiment I mimic all this in Index action, the CIF value is hardcoded and when the Index view is loaded as seen in print screen the form is prefilled with desired values) to instruct the form to load and render the desired values.
After this I go further with validation and save as normally.

I found a solution for all of above. The only thing that bother me is that I can't render my button just near the edit box. It goes on a new line.
I will put the updated code here if you agree, maybe are also others that need it.

Feel free to.
I might be able to suggest ways of achieving what you want.
I haven't had a chance to review what you've posted yet, but will do when I get a chance.
--

On 6 Sep 2016, at 6:20 PM, Laurentiu LAZAR<EMAIL_ADDRESS>wrote:
I found a solution for all of above. The only thing that bother me is that I can't render my button just near the edit box. It goes on a new line.
I will put the updated code here if you agree, maybe are also others that need it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

What I already post to this moment is partially not relevant, since I made changes for made the things working. Now I work to make the code more generic and compact, to be the clear and useful for others.  Of course it relies on my scenario where the remote web service returns a JSON to the request, but most do by this way in these days. Probably this evening or tomorrow morning I will add it. Only one thing if can help me with a solution for put the little button in line with the edit. It seems ugly to me being on next line.

OK, now I can provide a sample of what I have:
First, code in controller (the concept is about using parameter for retrieving some data from a web service and send it back to the form for usage before form save)
`        public ActionResult GetCompanyInfo(string CompanyNumber)
{
//call for openapi.ro //for hardcoded test may use e.g. 12345678 as Company dummy ID Code instead of CompanyNumber parameter; it will return 404 error
string CompanyCUI = CompanyNumber;
// Create a new 'Uri' object with the specified string.
Uri myUri = new Uri("https://api.openapi.ro/api/companies/" + CompanyCUI + ".json");
// Create a new request to the above mentioned URL.
WebRequest myWebRequest = WebRequest.Create(myUri);
//Add the required header to request (this is my particular case, as required by api provider
myWebRequest.Headers.Add("x-api-key", "a_personal_key_for_my_api_account");
// Assign the response object of 'WebRequest' to a 'WebResponse' variable.
WebResponse myWebResponse = myWebRequest.GetResponse();
// Read the response into a stream
var dataStream = myWebResponse.GetResponseStream();
var reader = new StreamReader(dataStream);
var jsonResultString = reader.ReadToEnd();
// Deserialize
var CompanyInfoData = Newtonsoft.Json.JsonConvert.DeserializeObject(jsonResultString);
        return Json(CompanyInfoData,JsonRequestBehavior.AllowGet);
    }`

the model where to deserialize is according to expected structure of JSON e.g.
        [DisplayName("Ultima prelucrare")]         public string ultima_prelucrare { get; set; }         public string ultima_declaratie { get; set; }         public List<object> tva_la_incasare { get; set; }         public string tva { get; set; }         [DisplayName("Telefon:")]         public string telefon { get; set; }         public string stare { get; set; }         public bool radiata { get; set; }         [DisplayName("Numar RC:")]         public string numar_reg_com { get; set; }         public string judet { get; set; }         public string impozit_profit { get; set; }         public string impozit_micro { get; set; }         public string fax { get; set; }         [DisplayName("Numele companiei:")]         public string denumire { get; set; }         public string cod_postal { get; set; }         [DisplayName("Cod Unic de Inregistrare")]         public string cif { get; set; }         public string adresa { get; set; }         public string act_autorizare { get; set; }         public string accize { get; set; }
and now the view
`@using ChameleonForms
@using ChameleonForms.Component
@using ChameleonForms.Enums
@using ChameleonForms.Templates
@using ChameleonForms.Templates.TwitterBootstrap3
@using ChameleonForms.ModelBinders
@model DirectInvoice.Models.Customers
@{
ViewBag.Title = "Create";
}
Create Customer
Use for test e.g. 12345678 (dummy Company Code)

    @using (var f = Html.BeginChameleonForm())
    {
        @Html.AntiForgeryToken()
        using (var s = f.BeginSection("Add a new customer"))
        {
            @s.FieldFor(m => m.CompanyNumber)
            Ask the web!
            @s.FieldFor(m => m.Name)
            @s.FieldFor(m => m.CompanyRegistration)
            @s.FieldFor(m => m.Phone1).Placeholder("0XX X XXX XXX")
            @s.FieldFor(m => m.Fax).Placeholder("0XX X XXX XXX")
            @s.FieldFor(m =><EMAIL_ADDRESS>            @s.FieldFor(m => m.Address)
            @s.FieldFor(m => m.ZIP)
            @s.FieldFor(m => m.City)
        }
        using (var n = f.BeginNavigation())
        {
            @n.Submit("Save customer...").WithStyle(EmphasisStyle.Primary)
        }
    }

    @Html.ActionLink("Back to List", "Index")

@section Scripts {
<script type="text/javascript">
    $('#Ask').click(function () {

        var companynumber = $('#CompanyNumber').val();

        $.ajax({
            type: 'POST',
            data: {
                CompanyNumber: companynumber
            },
            //url for the controller's action method
            url: '/Customers/GetCompanyInfo/',
            dataType: "json",

            success: function (data) {
                //Here you would update the textboxes, the 'data' variable contains the html/text from the fill
                $('#CompanyNumber').val(data.cif);
                $('#CompanyRegistration').val(data.numar_reg_com);
                $('#Name').val(data.denumire);
                $('#Phone1').val(data.telefon);
                $('#Fax').val(data.fax);
                $('#Address').val(data.adresa);
                $('#ZIP').val(data.cod_postal);
            },
            error: function () {
                //Manage errors
            }

        });
        //console.log();
    }
)
</script>

}
`
Hope that it may be useful for someone.

Hi,
I start to use this awesome framework and I'm trying to understand if there is the possibility to create this output in HTML for a select with optgroup.
<select>
  <optgroup label="Swedish Cars">
    <option value="volvo">Volvo</option>
    <option value="saab">Saab</option>
  </optgroup>
  <optgroup label="German Cars">
    <option value="mercedes">Mercedes</option>
    <option value="audi">Audi</option>
  </optgroup>
</select>

Not in-built, no.
Feel free to submit a PR to add the functionality.
If you want some guidance on where to start let me know.
In the meantime there is nothing stopping you manually defining the HTML for that control and using the OverrideFieldHtml field configuration method to specify it.

On 24 Jan 2017, at 8:55 pm, hanc2006<EMAIL_ADDRESS>wrote:
Hi,
I start to use this awesome framework and I'm trying to understand if there is the possibility to create this output in HTML for a select with optgroup.

Volvo
Saab

Mercedes
Audi

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

In the next days I start to look better at the framework. Since it's a feature that i will use often...I want try to extend it. If you give me some advice where to start I would be grateful.
Thank you


Refactoring of optimization to use dense and sparse format of v5 Qobj

Checks like
if dtype == Qobj: ...
if dtype == np.ndarray: ...

can be found all over dynamics.py (and other optimization related files). This is done to distinguish between "dense" and "sparse" representations.
The new data layer structure in v5, however, supports both types within the Qobj class.
Therefore dynamics.py and related tests should be adapted to the v5 changes.

Thanks for raising this. When tackling this, one should remember that the checks for if dtype == ... are dotted around in other files too, so best to grep around and check.


Add body center point coordinates to surface geometry files

Add two new columns to surface geometry metadata: image x,y coordinate for body center.

Duplicate of #60


require.context doesn't work in tests

I sometimes use webpack's require.context to automatically load files from the filesystem. Example:
Directory structure:
- components
  - Button.js
  - Icon.js
  - index.js
- docs.js

index.js:
// `require` in every file except index.js from the current directory, then
// add their default export to module.exports based on their filename.
// eg module.exports["Button"] = require("./Button.js");
const req = require.context(".", false, /^\.\/(?!index).*\.js$/);
req.keys().forEach((fileName) => {
  const exportName = fileName.replace("./", "").replace(".js", "");
  module.exports[exportName] = req(fileName).default;
});

docs.js:
import * as components from "./components";
Object.entries(components).forEach(([componentName, ComponentClass]) => {
  /* generate docs for `componentName` using `ComponentClass` */
});

This example is somewhat contrived because index.js could just be replaced with:
import Button from "./Button";
import Icon from "./Icon";

export { Button, Icon }

but when you're importing hundreds of files, this is both helpful and powerful; it's easy to write a require.context that treats named exports differently, for example:
const req = require.context(".", false, /^\.\/(?!index).*\.js$/);
req.keys().forEach((fileName) => {
  const exportName = fileName.replace("./", "").replace(".js", "");
  // next line changed, now we export both the default export and the named docExamples export
  module.exports[exportName] = [req(fileName).default, req(fileName).docExamples];
});

This pattern allows you to co-locate documentation examples with your code, which discourages documentation getting out of sync with the component.
Although this example only addresses documentation, this pattern can be useful anywhere you have a lot of files with correlated features and enforcing an export signature convention is feasible and discourages code rot.

This is all possible using create-react-app today. However, it all breaks when you try to run your tests (in 0.3.0-alpha), because jest (naturally) doesn't use webpack:
Using Jest CLI v14.1.0, jasmine2
 FAIL  src/__tests__/some-test.js (0s)
 Runtime Error
  - TypeError: require.context is not a function

Is require.context "too obscure" of a webpack feature? Should create-react-app start disallowing it or warning about its usage? Where and how do we draw the line on which webpack features should be supported and which should not be?
Or, should we try to support require.context in the test runner enrivonment? If so, where and how do we draw the line on which webpack features should be supported in the test environment?

Is require.context "too obscure" of a webpack feature? Should create-react-app start disallowing it or warning about its usage? Where and how do we draw the line on which webpack features should be supported and which should not be?

Yep, it is too obscure in my opinion.
I’m happy to take a pull request that adds a lint rule against its usage.
If we don’t document something in howto, we don’t support it.

Where and how do we draw the line on which webpack features should be supported and which should not be?

I’d say any custom extensions to require are not going to be officially supported, and may break at any time. We don’t actively plan to break them but we may. We do, however, understand that many people need code splitting, so we will keep require.ensure support until we switch to Webpack 2 which offers it via System.import.

cc @cpojer for evaluating implementing require.context in jest

I really don't want to add this to Jest. require.context seems like a really bad API and hard to statically analyze. We really shouldn't encourage use of this because something is "hard to type" or long.
This should be solvable by a custom __mocks__ file for the index module that exports all of the modules OR creates a Proxy object for the index module that has getters during runtime.

Yea, I agree with @cpojer here.
It isn’t friendly to ES6 modules either and will break any tooling that assumes them.

All comments makes sense. Thanks for the discussion.
Future readers: I was able to workaround this by providing mocks for each file that uses require.context, as @cpojer indicated. But as it is unsupported, I do not recommend using it. I plan on changing my code to not use it.

Just had a thought: what about stuff like:
require("./something/" + name);

Webpack generates a context module when you pass a dynamic path like this (which is the same kind of module that can be manually created with require.context).
Should this behavior also be warned against? Normal node can do dynamic requires, but imports must be static.
I'm not sure what the behavior in jest is for this case, but I expect that it works, though mocking it might be inconvenient.

Inside of tests this is fine, you can require dynamic modules as much as you'd like and sometimes that is useful.
Outside of tests it is bad because those cases cannot be statically analyzed.

Although I understand the rationale of the decision on the discussion, I thought it might be valuable to provide another use case of require.context as additional feedback:
In my case I'm using create-react-app to develop components that will be imported and consumed by other projects within our organizations. Part of the requirement is localization and both with my own implementation and using react-intl I've needed to use require.context in order pass an argument to a utility function or HoC enhancer to provide a path the localization bundles for that component.
Without require.context Webpack will attempt to load the bundles in a location relative to the utility function and not the component.
So with require.context I can do this...
i18nUtils.addBundle({
    requireContext: require.context("./i18n", false),
    bundleName: "BaseField"
})

...and have the utility function merge the message like this...
bundleMessages = input.requireContext(`./${input.bundleName}.${language}.json`);
merge(this.messages, bundleMessages);

Based on other discussions I do understand why create-react-app doesn't and should tie itself to proprietary module loading capabilities... however, I just want to highlight another use case of require.context.
One improvement that could be made would be for the linting to output a warning or even an error when require.context is used in the project source... because require.context works fine in the application, but then fails in the tests.
So this is of course a symptom of a broader requirement for simple i18n support, but I came across this thread when searching for information on the error message I was seeing.

Doesn't this mean you're bundling all locales all the time?

Well, unfortunately yes...
But that's a symptom of doing this entirely on the client-side. Our previous Spring MVC based solution handled localization bundles on the server so that the client only received bundles for the requested locale.
However, in the context of what we're trying to do (which is to provide re-usable components for 3rd parties to use in custom applications accessing REST APIs of our platform) it's a something that we need to live with.
The issue is somewhat mitigated by trying to ensure that we only load messages of the components that are used. A simpler but more expensive solution would be to just provide a single bundle containing all of the messages for all of the components (especially given that some of the components don't even have a localization requirement).
I completely agree that loading multiple bundles is not ideal, but without having control of the server this is the best solution. Again, this problem is unlikely to be common I would assume that most people just want to build their own application.

Is there a problem with explicitly importing them in the code? After all require.context is just sugar for doing that.

How would I pass it as a reference?
Let's say for example I have src/components/fields/BaseField that has localization bundles in the folder src/components/fields/i18n.
If I pass either ./i18n/ as a path to my util function at src/utilities/i18n/i18nUtils.js then it will attempt to load the bundles from src/utilities/i18n/i18nUtils/i18n (and not from the folder relative to BaseField).
Now I get a bit hazy about whether or not there is support for some root folder symbol, and I also don't know what would happen to other projects consuming my published project with regards to explicit links.
The nice thing about require.context is that I know that Webpack will make sure all possible locale variants will be made available and the appropriate ones will be used at runtime (at least I think that's what's going to happen, it seems to work in practice! ;-) )
Maybe I'm missing something really obvious because I've been staring at this problem for so long?

I don't mean passing a path. I mean writing imports by hand:
var context = {
  en: require('./i18n/en'),
  fr: require('./i18n/en'),
  // ...
}

This doesn't rely on Webpack magic.

Well, only that I have to write a shed load more code which I'd like to avoid if possible. By going through a utility it means that I don't necessarily have to update the component code when support for new locales are added.
Abstracting away behind a utility means that I can change the utility without having to change all my components. We got to over 300 components in our large application development framework - I'm trying to keep maintenance overheads down with this approach.

Do you have a specific proposal on how we could support it better without encouraging people to use non-standard features?

No, unfortunately not... and just to be clear, I'm not expecting you to magic a solution out of thin air, I've just found from experience that it's useful to receive feedback. I'm not expecting require.context to be suddenly supported, I just wanted to share my experience.
I'll continue to try to find a good solution to the problem and will provide an update if and when I do.
I do appreciate you taking the time to answer though and provide suggestions.

One thought that does cross my mind that I might investigate is updating my local scripts to perform the Webpack build without minification (that outputs to some directory other than build) and then have the tests import from the generated resources.
There are a few obvious issues with this... I don't think the build would declare explicit exports for each component so it would be necessary to import the full build layers into the test pages (which is probably not a good thing). Also, for continuous testing during development it would be necessary to trigger a build on each source file saved ... this would also rely on the output having a static name (rather than including a checksum) in order for Jest to be able to track changes to it.
It probably wouldn't be particularly fast... but essentially it would avoid the issue of testing the raw, unpacked source files. This would mean that it wouldn't matter what build system was used because you'd always be testing the final output so it wouldn't make any difference what proprietary build features the code was using...
Any thoughts on that? ... it obviously feels quite "hacky", but at the end of the day it doesn't actually change what the final build output would be.

The final solution I've gone with is just to have an i18n folder and place all bundles in there, this means that I can specify paths that will always be relative to my i18nUtils module. The bundle location mirrors the component location. The limitation of this approach is that consumers of our project won't be able to use the utility in their own application... however, I'll probably provide support for passing require.context to the utility as an option (albeit one that we ourselves won't use within the project so that we can make use of the test framework provided)

FYI for anyone who encounters this issue - instead of relying on require.context or manually building a file like @gaearon suggested, you can use directory-metagen automatically generate import/requires for files in a directory. It can output es6 modules, AMD, commonjs, and more. It even has a CLI :)

Here's how we've solved this issue:
https://github.com/storybooks/storybook/blob/babel-7/scripts/jest.init.js#L10
https://github.com/smrq/babel-plugin-require-context-hook

By the way I "solve" it by not calling require.context directly from my code. I just added an utility like this:
const fs = require('fs');
const path = require('path');

export const requireContext = (base = '.', scanSubDirectories = false, regularExpression = /\.js$/) => {
  // @ts-ignore
  if (typeof require.context !== 'undefined') {
    // @ts-ignore
    return require.context(base, scanSubDirectories, regularExpression);
  }

  const files = {};

  function readDirectory(directory) {
    fs.readdirSync(directory).forEach((file) => {
      const fullPath = path.resolve(directory, file);

      if (fs.statSync(fullPath).isDirectory()) {
        if (scanSubDirectories) readDirectory(fullPath);

        return;
      }

      if (!regularExpression.test(fullPath)) return;

      files[fullPath] = true;
    });
  }

  readDirectory(path.resolve(__dirname, base));

  function Module(file) {
    return require(file);
  }

  // @ts-ignore
  Module.keys = () => Object.keys(files);

  return Module;
};

@hackhat You cannot use require.context with variables. Every param has to be a hard-coded literal for static analysis. How is that working for you?


[Android] Explode does not work

When I set the explode time to any value in the Android app, messages are still sent as normal and never explode. They do work as expected when I use the desktop (Windows 10) application.

This seems to have been fixed since the creation of this issue.


Cannot get group to show up

[Enter feedback here]
The document shows this example:

If I paste those commands into a powershell task, there is no output for any of those lines.
If I wrap those commands in quotes, The output looks like this:

The last line "command-line being run" seems to include the ##[command] text for me, but not in the document example.
I also don't see any way to collapse the group. The example shows an arrow, but I do not see one.
This is using the latest version of the powershell task.

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

ID: 16bf0bbb-8b63-6384-aa33-b5b1e2b8cfe3
Version Independent ID: f4da8dbd-a02f-bbdf-2cf2-60e081339237
Content: Logging commands - Azure Pipelines
Content Source: docs/pipelines/scripts/logging-commands.md
Product: devops
Technology: devops-cicd-scripts
GitHub Login: @juliakm
Microsoft Alias: jukullam

@NelsonG6 Thank you for the feedback and apologies for the issue.
This was previously reported under https://github.com/MicrosoftDocs/azure-devops-docs/issues/8727, please refer there for further updates.


Issue with other providers.

This seems to only work when the credentials provider is being used.

I am successfully using this in a project with the built in Amazon Cognito OAuth provider myself. What are you having issues with specifically?

Closing because account got deleted


When checking price on Chaos Orbs, the Exalt value is fixed and wrong

When checking the price on how much your Chaos Orbs are worth in Exalts, it always shows a value of 50 Chaos per Exalt since league start. It doesn't update.

I've looked into this issue and it appears to be that the item exchange rate service actually ceils the exchange rate to two digits after the decimal separator. This causes incorrect calculations to occur when a stack of chaos is evaluated.
I've create a PR to move the rounding away from the exchange rate, to the view. Meaning that a stack would be calculated using the un-rounded exchange rate value, which is then rounded after the rate is multiplied with the stack amount, to be displayed.

I've looked into this issue and it appears to be that the item exchange rate service actually ceils the exchange rate to two digits after the decimal separator. This causes incorrect calculations to occur when a stack of chaos is evaluated.
I've create a PR to move the rounding away from the exchange rate, to the view. Meaning that a stack would be calculated using the un-rounded exchange rate value, which is then rounded after the rate is multiplied with the stack amount, to be displayed.


Multi-node task processing doesn't work

v7.0-b66
When trying to run processing across multiple nodes, the same node takes all jobs.  If that node is disabled in the Jobs tab then the master holds the jobs and leaves them unprocessed.  Re-enabling the node lets jobs process as expected again on that single node only.

Fixed in beta.67


Regression: all releases were removed

Hello,
I've used the following code to remove the tag nightly and its release with v0.2.0:
- name: Remove previous tag and release
  uses<EMAIL_ADDRESS>  with:
     delete_release: true
     tag_name: nightly
  env:
     GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

and it worked well - a single release associated with the tag nightly was removed.
However, after upgrading to v0.2.1, this code removed all the releases that were published under my repository...

@ahadas Thanks for letting us know!
@ppd Thoughts?

I want to confirm the same happened to me with this run..
Also, I definitely didn't explicitly set delete_draft_release to false; my Workflow file simply omits it.
      - name: 'Delete current nightly tag and release'
        uses: 'dev-drprasad/delete-tag-and-release/@431bd3dd0512ac0ae8813bd830ebfaf4188d2211'
        with:
          delete_release: true
          tag_name: 'latest'
        env:
          GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'

@ahadas I reached out to GitHub support in hopes they could restore the releases. Not sure if that'll work or not but worth a shot?

Thanks, I also reached out to GitHub support this way, we'll see.. worst case, I saw that I can retrieve the assets and release details from https://web.archive.org/ (it has a snapshot from May that includes my latest stable release)

@thadguidry I got a response from GitHub support that deleted releases cannot be restored, I think v0.2.1 should be dropped until this is resolved..

@ahadas agree and so I have changed v0.2.1 to a prelease with v0.2.1-beta tag suffix.  Been busy over the weekend, but I want to get a testing repo setup to help with CI/CD testing of the Release API and which will help catch these edge cases in the future.  Hopefully I can work on that this week.

@wardellbagby Indeed the GitHub Marketplace UI shows prereleases, but the button "use latest version" does download v2.0 although the list dropdown next to it shows all available releases!
I've deleted the v0.2.1-beta release and tag for now until we sort out the issue.

Just wanted to throw my repo in with the same issue.
The action setup
      - name: Delete any draft releases and last latest tag
        uses<EMAIL_ADDRESS>        with:
          delete_release: true
          tag_name: latest
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

The action output
📕  given repo is "CarlosEsco/Neko"
🏷  given tag is "latest"
🍻  found [29](https://github.com/CarlosEsco/Neko/actions/runs/3676154048/jobs/6216448030#step:12:29) releases to delete
👍🏼  all releases deleted successfully!
🌶  failed to delete ref "refs/tags/latest" <- Reference does not exist
😕  Proceeding anyway, because tag not existing is the goal

There must have been some limit on the lookup for deletion, because it didn't delete all my releases just the last 6 months.

Thanks to those that reported the problem and sincere apologies for any unrecoverable releases.
Closing since I have reverted the merge that caused this issue and explained why. #9 #15
Also updated the README for more clarity. #16


When use element-ui with size="mini" or "small", the .vue-treeselect__control canot be controlled

As per the title, I have seen the el-input in mini size, the height is 28px. When I put the lines below, the treeselect was still the old style as 36px height. How to customize the treeselect with style or class?
I know this library is very fantasitic, but it will be more better if can be customized.
.vue-treeselect__control {
height: 28px !important;
}
.vue-treeselect__input-container {
height: 26px !important;
}

I have solved this problem with sort of "boring" way. Mannually copy treeselect.css and rename it, then modify the height. In the called vue, just import the my css instead of treeselect.css. Hope it resolves your samilar issue. :)

div.vue-treeselect__control {
height: 55px !important;
background-color: var(--v-vue_treeselect-base) !important;
border: none;
border-bottom: 1px solid #949494 !important;
border-radius: 3px !important;
}
div.vue-treeselect__placeholder {
margin-top: 10px !important;
color: #606060 !important;
}
div.vue-treeselect__single-value {
margin-top: 10px !important;
margin-right: 6px !important;
color: #606060 !important;
}
div.vue-treeselect__menu {
background-color: var(--v-vue_treeselect-base) !important;
}
div.v-treeview-node__label {
border: 0.5px solid #827f7f;
text-align: right;
padding: 4px 30px;
border-radius: 6px;
}
.vue-treeselect__menu-container{
z-index: 100000;
}

Yeah. There are many new UI components available. They have a "TreeSelect" component. Since they are native implementation of a UI suite, perhaps it is the right way to solve this issue. :)


Error 4001 for 1h+ DASH videos on Xbox One

Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
V2.5.5 Compiled (Release)
Can you reproduce the issue with our latest release version?
Yes
Can you reproduce the issue with the latest code from master?
Yes
Are you using the demo app or your own custom app?
Custom app
If custom app, can you reproduce the issue using our demo app?
Yes
What browser and OS are you using?
N/A
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
Xbox One, OS v.10.0.18363.7194 October 2019
What are the manifest and license server URIs?

N/A, but any DASH manifest which is big enough (1K+ lines) will work
What did you do?

I tried to play the video with a duration of over 1h on the Xbox One. In our case, our manifests include SegmentTimeline tag.
What did you expect to happen?
The video will start playback.
What actually happened?

Player throws an error when we try to play the video:
Can not load manifest: shaka.util.Error { "severity": 2, "category": 4, "code": 4001, "data": [ "https://example-site.com/master.mpd" ], "handled": false }

Which is DASH_INVALID_XML, 4001, The DASH Manifest contained invalid XML markup.
It works well on v2.5.2 and it does not on v2.5.3.
We looked deeper and found that it’s playing fine if we change string utility fromCharCode back to the implementation of what it was in v2.5.2.
Also, we found that this issue is only reproducible with Compiled (Release) code, it’s playing fine in the Compiled (Debug) and Uncompiled modes.

Thanks for the report, and especially for digging into the various versions and builds.  We'll take a look.

@joeyparrish anything we can do to help with triage?

I can reproduce this with the latest version and with master.  Be sure to use the compiled version and use the following manifest URL (note that it won't play since the segments are incorrect, but you should get the 4001 error on Xbox One):
https://storage.googleapis.com/wvtemp/modmaker/long-segment-timeline.mpd

Looks like the closure compiler version update and milestone 2.6 is far, I wanted to find a better solution earlier, and found that:
Looks like the issue is in the spread operator polyfill, spread operators were introduced in v2.5.3 with a change to theshaka.util.StringUtils.fromCharCodeImpl_.
So I decided to find a replacement, there are actually two approaches (there's two places where we need to replace the spread operator), examples:

es6: const foo = String.fromCharCode['apply'](null, Array.from(buffer)); (no polyfill was applied)
es5: const foo = String.fromCharCode['apply'](null, [].slice.call(buffer));

Tested on:

The latest version and master
The same device but new firmware: Xbox One, OS v.10.0.18363.8131 November 2019

Cherry-picked to v2.5.9.


Quantum State: Both getting and not getting a resource simultaneously

User Story
As an Automate User, I want to avoid quantum state conditions. Notice in the image that the error clearly states we cannot access the policy... while it is displaying said policy.

This particular policy is on this acceptance box:
https://a2-local-inplace-upgrade-acceptance.cd.chef.co/settings/policies/cb90417f-6f6a-4b7d-bb3f-b4c816dfc1ac
Here's the content:
{
  "name": "cb90417f-6f6a-4b7d-bb3f-b4c816dfc1ac (custom)",
  "id": "cb90417f-6f6a-4b7d-bb3f-b4c816dfc1ac",
  "type": "CUSTOM",
  "statements": [
    {
      "effect": "ALLOW",
      "actions": [
        "*"
      ],
      "resources": [
        "iam:policies"
      ],
      "projects": [
        "*"
      ]
    }
  ],
  "projects": []
}

The error message is valid, because we are only giving permission for iam:policies, not iam:policies:*. So why does the policy get displayed? Because it is in the ngrx/store (from ListPolicies), and that is used on the policy details page--at the same time we make a request to fetch the policy.
If we are going to use the policy already in the ngrx/store, no need to do another fetch for the same thing. But should we do that? It does an end-run around permissioning as this use case vividly demonstrates: based on granted permissions, the user should not be able to see the details. Which implies the correct solution is to never use what was fetched with ListPolicies to display policy details.
Note that while this case discusses a policy that started in V1 (because there's a resource), then migrated to v2, I do not believe that is significant. The same thing should manifest strictly on V2.
Definition of Done
Depends on discussion of above.
Demo Script / Repro Steps
Create a V1 policy containing this:
jq -n '{action: "*", resource: "auth:policies", subjects: ["user:local:coolbeans"]}'

Migrate to v2.
Login as coolbeans, then visit the Policies List page, and select a policy to see its details.

I'm curious if there's a use case for allowing a user to see the list of policies, but not individual policies. Sure, in the UI, they have a more limited view of policies if they just have list permission. But if they use CLI to curl GET /policies they can see all the policy details that they would see on the details page. Should Get and List use the same permission?

all the things

prefer, policies you do not have access on do not display a link to navigate there.

in backlog grooming, we discussed closing this issue and @msorens opening a new issue to fix the root cause

resolved by https://github.com/chef/automate/pull/2130 & https://github.com/chef/automate/pull/2158


python310Packages.sphinx-autodoc-typehints: 1.18.3 -> 1.19.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.sphinx-autodoc-typehints is: "Type hints (PEP 484) support for the Sphinx autodoc extension"
meta.homepage for python310Packages.sphinx-autodoc-typehints is: "https://github.com/tox-dev/sphinx-autodoc-typehints"
meta.changelog for python310Packages.sphinx-autodoc-typehints is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 1.19.1 with grep in /nix/store/91mxyx654yklhbzakgnzpbk5jjzbdfyv-python3.10-sphinx-autodoc-typehints-1.19.1
found 1.19.1 in filename of file in /nix/store/91mxyx654yklhbzakgnzpbk5jjzbdfyv-python3.10-sphinx-autodoc-typehints-1.19.1

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

9 total rebuild path(s)

9 package rebuild(s)

First fifty rebuilds by attrpath
pgcli
python310Packages.pgcli
python310Packages.pgspecial
python310Packages.psycopg
python310Packages.sphinx-autodoc-typehints
python39Packages.pgcli
python39Packages.pgspecial
python39Packages.psycopg
python39Packages.sphinx-autodoc-typehints

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/91mxyx654yklhbzakgnzpbk5jjzbdfyv-python3.10-sphinx-autodoc-typehints-1.19.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/91mxyx654yklhbzakgnzpbk5jjzbdfyv-python3.10-sphinx-autodoc-typehints-1.19.1
ls -la /nix/store/91mxyx654yklhbzakgnzpbk5jjzbdfyv-python3.10-sphinx-autodoc-typehints-1.19.1/bin

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

2 packages failed to build:

pgcli (python310Packages.pgcli)
python39Packages.pgcli

6 packages built:

python310Packages.pgspecial
python310Packages.psycopg
python310Packages.sphinx-autodoc-typehints
python39Packages.pgspecial
python39Packages.psycopg
python39Packages.sphinx-autodoc-typehints

Maintainer pings
cc @mweinelt for testing.

#183944


Does the open source version have Mangopay installed?

Hi,
Does the open source version have Mangopay API installed?
Does anyone have the opensource version setup?
Thanks

No the open source is missing MongoPay Bundle. And has no documentation on how to do that either

@deviprasad97 Is there no way to obtain the MangoPay Bundle?

You will get MongoPay bundle check out this https://github.com/Mangopay/mangopay2-php-sdk
try searching MongoPay Bundle on Google. After you find one you have to perform the installation and configure your project to use that bundle

@deviprasad97 How difficult would this be? My PHP and coding skills are incredibly limited. Has anyone already done this?

I suggest you to make this task by a confirmed Symfony / Mangopay developer.


ios 11/xcode 9 beta issue: tableview contained in zfdraggablemodaltransition doesn't accept touch events

i have a tableview being presented, and when building with xcode 9 beta 5 it won't accept any user touch events. works fine with xcode 8/ios 10.3. any ideas on what the problem might be? elements in the presented modal controller that aren't in the tableview work fine.

This is caused by the introduction of safeAreaInsets in iOS11.
Need to add the following code to touchesMoved method.
if ([self.scrollview respondsToSelector:@selector(safeAreaInsets)]) {
  topVerticalOffset -= self.scrollview.safeAreaInsets.top;
}

Fixed in the pull request.

@wzzhu <3 Thanks.


Not Support Other Bucket in Filters Aggreagtaion

Please use the following questions as a guideline to help me answer
your issue/question without further inquiry. Thank you.
Which version of Elastic are you using?
[ ] elastic.v7 (for Elasticsearch 7.x)
[x] elastic.v6 (for Elasticsearch 6.x)
[ ] elastic.v5 (for Elasticsearch 5.x)
[ ] elastic.v3 (for Elasticsearch 2.x)
[ ] elastic.v2 (for Elasticsearch 1.x)
Please describe the expected behavior
The other_bucket parameter can be set to add a bucket to the response which will contain all documents that do not match any of the given filters
https://www.elastic.co/guide/en/elasticsearch/reference/6.8/search-aggregations-bucket-filters-aggregation.html
Please describe the actual behavior
Any steps to reproduce the behavior?

Sorry for the late response. Interesting. I've never seen that. Will add it in one of the next releases.
Self-reference:

Documentation
Code


How to use autoprefixer with assetic

I am trying to include autoprefixer into my build process, but I came across the problem that the autoprefixer repo no longer publishes a bin. Eventually I came across autoprefixer-cli which provides the required bin but I would prefer not to be dependent on a repo created just for legacy code... For that reason, I would like to know if there is any better solution for this? Thank you!

Have you found any solutions?

@Youhan the solution is: do not use assetic. Use webpack :)


tests(fixtures) use upstream mock in integration tests

This PR is continued and extended in #2827

Most of the usage of httpbin/mockbin is gone from spec/02-integration, replaced by either mock_upstream or example.com, when applicable.
The only remaining use of httpbin in spec/02-integration is on one of the timeout tests. I was not able to make it pass on osx using mock_upstream (osx always closes the connection - there's a mode called "stealth mode" which could be activated, but I think that is too much to ask just to pass a test locally).
Since spec/03-plugins still uses httpbin/mockbin, I added some backwards-compatibility conditions to spec/helpers.lua. Most of these should be gone once we change spec/03-plugins to work with mock_upstream.
Merged most of the pre-existing "mock server" code from the template into mock_upstream, and changes the specs accordingly. The only surviving bit is the aws-related one, which seemed too specific for including it into a generic "mock_upstream"

I am closing this PR in favor of  #2827, which extends and modifies it in order to make plugins pass as well.


Planner_MCTS now needs pyhton packages, install them with requirements.txt

pickle test needs numpy, which needs to be installed. I recommend the same setting as with bark.

Is this still an issue @klemense1?


Either extension

Sorry my newbie question, but is there a way to extend Either?
I would like to create a  isValidReturn method:
class MyExtension extends Either {
  @override
  B fold<B>(B Function(dynamic) ifLeft, B Function(dynamic) ifRight) {
    // TODO: implement fold
    throw UnimplementedError();
  }

  bool isValidReturn() => isRight();
}

Hi – no probs!
I would recommend against inheriting from Either, but using extension methods (https://dart.dev/guides/language/extension-methods) it's easy to add convenience/util stuff:
extension MyEitherStuff on Either {
  bool isValidReturn() => isRight();
}

Thanks, you're R extension is  the best choice.  =)


chore: add e2e-admin-password test to coverage recipe

PR Type
Enhancement, Tests

Description

Added e2e-admin-password test to the stratus-test-coverage recipe, improving overall test coverage.
Updated killport commands in justfile to use '-s sigterm' flag for more graceful process termination.
Reorganized the stratus-test-coverage recipe for better efficiency:

Moved cargo llvm-cov clean and build steps to the beginning of the recipe.
Added cargo llvm-cov --no-report before running e2e tests.

Removed a debug console.log statement from the admin password enabled test.

Changes walkthrough 📝
Relevant filesEnhancement

e2e-admin-password-enabled.test.tsRemove debug logging in admin password test

e2e/test/admin/e2e-admin-password-enabled.test.ts

Removed a console.log statement from the test case

+0/-1

justfileEnhance test coverage and improve process termination

justfile
Updated killport commands to use '-s sigterm' flag  Reorganized the stratus-test-coverage recipe:   - Moved cargo llvm-cov clean and build steps to the beginning   - Added cargo llvm-cov --no-report before e2e tests   - Added e2e-admin-password test to the coverage recipe

+13/-8

💡 PR-Agent usage: Comment /help "your question" on any pull request to receive relevant information

Final benchmark:
Run ID: bench-1989833795
Git Info:

Branch: main
Commit: 061cafb
PR: #1929

Configuration:

Target Account Strategy: Default

RPS Stats: Max: 1269.00, Min: 1001.00, Avg: 1124.86, StdDev: 48.09
TPS Stats: Max: 1234.00, Min: 1009.00, Avg: 1090.13, StdDev: 57.92
Plot: View Plot


chore(release): zip instead of gz for better Windows support

@mason-org/triage notify(Reason::NewPullRequest)
This comment ensures a notification is delivered to maintainers.
 🤖 This is an automated comment.    📖 Source code


eschema: Remove :> syntax.

The :> syntax is too obscure. Using := with an explicit string is
better.

Related to #70


rustywind: 0.19.0 -> 0.20.0

Diff: https://github.com/avencera/rustywind/compare/v0.19.0...v0.20.0
Changelog: https://github.com/avencera/rustywind/blob/v0.20.0/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 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.

Result of nixpkgs-review pr 261446 run on aarch64-darwin 1

1 package built:

rustywind


rmw_implementation: 2.3.0-1 in 'rolling/distribution.yaml' [bloom]

Increasing version of package(s) in repository rmw_implementation to 2.3.0-1:

upstream repository: https://github.com/ros2/rmw_implementation.git
release repository: https://github.com/ros2-gbp/rmw_implementation-release.git
distro file: rolling/distribution.yaml
bloom version: 0.10.3
previous version for package: 2.2.0-3

rmw_implementation
* Remove rmw_connext_cpp. (#183 <https://github.com/ros2/rmw_implementation/issues/183>)
* Add support for rmw_connextdds (#182 <https://github.com/ros2/rmw_implementation/issues/182>)
* Contributors: Andrea Sorbini, Chris Lalancette

Please hold for coordinated merge...