The results of conversion

I test some web sites. A few generated apps run well on the phone, and the others are not good. I find that the web sites designed by Responsive web design can work well. And the web sites which do not adapt to mobile devices looks bad. So is this a normal situation?

Yes, your assessment is correct. ManifoldJS does not modify the rendered content in any way. So if the site does not render correctly in your device's browser you will get the same experience in the web apps generated by ManifoldJS.
It is responsibility of the site's web developer to address these issues. Having said this, we realize that  there are scenarios where you have no control over the website. In these cases, the solution typically requires the app to inject CSS and JavaScript in the loaded pages to fix any rendering issues.

Thanks for your exposition. I have an another question. Where the essential static files(such as image, JavaScript, or CSS) of the generated app are stored? I can't find them in the project directory. Every time I open the app, it sends a request to the server for static resource?

The apps generated by ManifoldJS are actually "Hosted Web Apps", i.e. store apps where its content is hosted on the server (this includes images, JavaScript and CSS files). This means that you need Internet connection to run these apps.
Here are some posts describing Hosted Web Apps that you might find useful:

http://www.thishereweb.com/hosted-web-apps-explained
http://www.sitepoint.com/build-hosted-web-apps-android-ios-windows-manifold-js

Hi Lee071216,
I'm working on a little post about this same thing.  It's an important point that turning a site into an app doesn't turn a bad site into a good app.  Also, it doesn't make a desktop web app suitable for a mobile screen.  Thanks for checking out Manifoldjs, hope it meets your needs.


In the new versions of rasa-core the interactive learning tables are not printed correctly

Instead of the nice table with the chat history, tn interactive learning the tables now look like this:
Chat History
b' #    \x1b[94mBot      \x1b[39m
 \x1b[91mYou       \x1b[39m
\n\x1b(0qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq\x1b(B\n 1
\x1b[96maction_listen\x1b[39m                                                                 \n\x1b(0qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq\x1b(B\n 2
\x1b[91mhello mate\x1b[39m \n
intent: greet 0.86 \n\x1b(0qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq\x1b(B\n 3    \x1b[96mutter_name\x1b[97m 1.00\x1b[39m                                                                          \n      \x1b[94mHey there! Tell me your name.\x1b[39
\n      \x1b[96maction_listen\x1b[97m 1.00\x1b[39m                                                                       \n\x1b(0qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq\x1b(B\n 4
\x1b[91mMy name is [Isabella](name:isabella)\x1b[39m \n                                                                             intent: name 0.87
\n\x1b(0qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq\x1b(B\n 5    slot{"name": "isabella"}                                                                 \n      \x1b[96mutter_greet\x1b[39m
\n      \x1b[94mNice to you meet you isabella. How can I help?\x1b[39m
Current slots:
	age: None, name: isabella, zip: None

I think I fixed this after the merge, undoing the change done by a PR trying to fix #3091
Is this still an issue?

@tmbo I just tested IL in the merged version and it's fixed! I'll close this issue.


Question generation

Given a text corpus, would it be possible to generate questions using longformer?

Generation needs a model like BART or like GPT-2. Check answers here https://github.com/allenai/longformer/issues/28 and here https://github.com/allenai/longformer/issues/29

I will close this issue for now. Please feel free to reopen if you have other questions.

Hi @timsuchanek , check this project for question generation, it supports T5 and BART for now, I'll also add Lonformer when LonformerEncoderDecoder is ready.

Hi @timsuchanek , check this project for question generation, it supports T5 and BART for now, I'll also add Lonformer when LonformerEncoderDecoder is ready.

Which Bart model can be used

Hi @timsuchanek , check this project for question generation, it supports T5 and BART for now, I'll also add Lonformer when LonformerEncoderDecoder is ready.

I am not able to use BART model in this


Landing Page

A simple landing page with the HackRPI Logo, an interactive element like we did with the logo and globe on last year's website, a countdown to the event (when we get the event date nailed down) and a big registration button. This will probably be many commits as we work through the interactive element and what it is.

Can i know the contents of what you want on the landing page, while i help with it.


Space Engine: uninhabited types map to empty spaces

Without this, the compiler ended up complaining about missing cases that can't actually occur, like Optional<Never>.some(_). This was a regression from Swift 4.1.
SR-8125 / rdar://problem/41525746

@swift-ci Please test

@swift-ci Please test source compatibility


[Usage] can‘t run gradio_web_server.py

Issue: I can't run the gradio_web_server.py to reach the gradio interface, while the controller is working normally
Command:
# in the first terminal
cd LLaVA
conda activate llava
python -m llava.serve.controller --host <IP_ADDRESS> --port 10000

Log:
2024-01-12 16:06:25 | INFO | controller | args: Namespace(host='<IP_ADDRESS>', port=10000, dispatch_method='shortest_queue')
2024-01-12 16:06:25 | INFO | controller | Init controller
2024-01-12 16:06:25 | ERROR | stderr | INFO:     Started server process [2696939]
2024-01-12 16:06:25 | ERROR | stderr | INFO:     Waiting for application startup.
2024-01-12 16:06:25 | ERROR | stderr | INFO:     Application startup complete.
2024-01-12 16:06:25 | ERROR | stderr | INFO:     Uvicorn running on http://<IP_ADDRESS>:10000 (Press CTRL+C to quit)

Command:
# in the second terminal
cd LLaVA
conda activate llava
python -m llava.serve.gradio_web_server --controller http://localhost:10000 --model-list-mode reload

Log:
2024-01-12 16:24:21 | INFO | gradio_web_server | args: Namespace(host='<IP_ADDRESS>', port=None, controller_url='http://localhost:10000', concurrency_count=10, model_list_mode='reload', share=False, moderate=False, embed=False)
2024-01-12 16:24:22 | ERROR | stderr | Traceback (most recent call last):
2024-01-12 16:24:22 | ERROR | stderr |   File "/home/rix2usr2/miniconda3/envs/llava/lib/python3.10/runpy.py", line 196, in _run_module_as_main
2024-01-12 16:24:22 | ERROR | stderr |     return _run_code(code, main_globals, None,
2024-01-12 16:24:22 | ERROR | stderr |   File "/home/rix2usr2/miniconda3/envs/llava/lib/python3.10/runpy.py", line 86, in _run_code
2024-01-12 16:24:22 | ERROR | stderr |     exec(code, run_globals)
2024-01-12 16:24:22 | ERROR | stderr |   File "/home/rix2usr2/LLaVA/llava/serve/gradio_web_server.py", line 459, in <module>
2024-01-12 16:24:22 | ERROR | stderr |     models = get_model_list()
2024-01-12 16:24:22 | ERROR | stderr |   File "/home/rix2usr2/LLaVA/llava/serve/gradio_web_server.py", line 40, in get_model_list
2024-01-12 16:24:22 | ERROR | stderr |     assert ret.status_code == 200
2024-01-12 16:24:22 | ERROR | stderr | AssertionError

占楼

me too……

I believe you should specify port larger than 8000 for that, current ones is 7860. Mine solved by using port 8006. See line 468 in server/gradio_web_server.py

I believe you should specify port larger than 8000 for that, current ones is 7860. Mine solved by using port 8006. See line 468 in server/gradio_web_server.py
just like python -m llava.serve.controller --host <IP_ADDRESS> --port 8006;  python -m llava.serve.gradio_web_server --controller http://localhost:8006 --model-list-mode reload --port 8007?
I tried it but it doesn't work.

you run it from local or from docker? how about proxy? or try lsof -i -P -n | grep LISTEN to check if all the port is working?

how to fix this problem? i have the same question

me too.

Hey! Did you solve it @1429904852

Hey! Did you solve it @1429904852

Not yet

Hi, all, I have solved this problem. Before executing the demo command, please run the following three lines of code:
export http_proxy=
export https_proxy=
export all_proxy=

Hi ! I know, you close the proxy,you can succeed. Thank you !

Hi, all, I have solved this problem. Before executing the demo command, please run the following three lines of code:
export http_proxy= export https_proxy= export all_proxy=

hey did you run both controller and gadio at the same time? Thanks


Add team and project fields to logstash handler

2 коммита, в одном только фиксы код-стайла

!test

[Current coverage][cc-pull] is 65.69%

Merging [#189][cc-pull] into [master][cc-base-branch] will increase coverage by 0.10%

@@             master       #189   diff @@
==========================================
  Files            42         42
  Lines          2979       2982     +3
  Methods           0          0
  Messages          0          0
  Branches        342        342
==========================================
+ Hits           1954       1959     +5
+ Misses          944        942     -2
  Partials         81         81

Powered by Codecov. Last updated by [d5068df...6494fce][cc-compare]
[cc-base-branch]: https://codecov.io/gh/2gis/vmmaster/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/2gis/vmmaster/compare/d5068dfa7c8f7a16e2516087c0ce2b60745572c8...6494fced9e5aa524c38c9a2d0fc04138e3c41e77
[cc-pull]: https://codecov.io/gh/2gis/vmmaster/pull/189?src=pr

!test

coverage будет плохой(

!test


Cancel all subscriptions for a collective

We need to cancel all active subscriptions made to https://opencollective.com/norwichsharingcity
(would be good to have an easy way to deactivate a collective that would also take care of that)

This query will cancel all active subscriptions for a given collective (here CollectiveId = 967):
BEGIN;

with subscriptions as (
  SELECT "SubscriptionId" as id
  FROM "Orders"
  WHERE "CollectiveId"=967 AND status='ACTIVE'
)
UPDATE "Subscriptions"
SET "isActive" = false, "deactivatedAt" = '2018-10-27'
WHERE id IN (select id from "subscriptions");

UPDATE "Orders" SET status = 'CANCELLED'
WHERE status='ACTIVE' AND "CollectiveId" = 967;

COMMIT;

Query run on production, 9 subscriptions cancelled.

I've added that query to the wiki for further reference.
https://github.com/opencollective/opencollective/wiki/Queries-for-collectives#cancel-all-active-subscriptions
Closing the issue.


Many games being reported incorrectly

There's a stack of games that don't seem to find their corresponding HLTB hours. There seems to be three scenarios for this:

The name on HLTB and the name on Steam differ
The appid returned by the Steam API is actually a pack of games
Some unknown bug causes some to not be picked up even when the first two aren't the issue

Need to fix these to make things more accurate.

Closing this because I no longer support steamplaytime.


panics in library

Hi! This issue is created as directed by CONTRIBUTING.md.  First, I'm new to rust and found your freedesktop notification server very helpful as a project to hack on while learning the language.  I am working on a fork for a DE that provides a different UI treatment for notifications.  During testing I've noticed that if another notification dbus server is running, the service starts but does nothing.  IMO better behavior would be to abort at this point.  I'd be happy to create a PR to add this to runst if you agree.  I'd also be curious to know you reasoning if you think runst should not abort under this scenario.
:peace_symbol:

Hello!
This would be a fair thing to implement I think.

I'd also be curious to know you reasoning if you think runst should not abort under this scenario.

I think I haven't really thought about this case 😅

I'd be happy to create a PR

Please go ahead!

Ready for review at your convenience @orhun :tulip:


Mount DolphinSDK as virtual DVD

To test DolphinSDK demos, need to mount the DolphinSDK folder as a virtual DVD.
Alternatively, you can create GCM with DolphinSDK disk data, but mounting a folder can come in handy, plus it's an interesting task.

[x] Read DVD structure docs
[x] Inspect DolphinSDK. Does it contain everything you need for a virtual DVD
[x] Add API
[x] Implement mounting
[x] Test some demo which require DVD data


Saleor 4581 tests for products images

I want to merge this change because I created tests for displaying images

PR intended to be tested with API branch:
Screenshots

Pull Request Checklist

[ ] This code contains UI changes
[ ] All visible strings are translated with proper context including data-formatting
[ ] Attributes [data-test-id] are added for new elements
[ ] Changes are mentioned in the changelog
[ ] The changes are tested in different browsers and in light/dark mode

Test environment config

API_URI=https://master.staging.saleor.cloud/graphql/

Task linked: SALEOR-4581 Tests for displaying images


improve SectionName examples and documentation for well-known resources

What type of PR is this?
/kind documentation
What this PR does / why we need it:
Addresses concerns from https://github.com/kubernetes-sigs/gateway-api/pull/2813#discussion_r1554111330 that the behavior of SectionName for well-known resources is not sufficiently documented.
We'll want to add * HTTPRoute: HTTPRouteRule name as a followup with #2593 if this merges first @guicassolato. (If #2593 merges first, we can add it to this PR.)
Which issue(s) this PR fixes:
Refs #1031
Does this PR introduce a user-facing change?:

NONE

/cc @candita

Thanks @mikemorris!
/lgtm

/retest

/retest

/lgtm


What happened to the AppImage for Linux?

What happened to the AppImage for Linux?

I have not had a chance to upload one in a while. I will be making a release today sometime, I will try to get one up, along with the usual win/macos.

I have uploaded the AppImage. Will close this now, let me know if you have any issues with it.

Thank you very much. Works for me.


Adding more fallbacks for BufferingHelper temporary folder location

Fixes:
https://github.com/aspnet/HttpAbstractions/issues/168
@suhasj @davidfowl @akoeplinger

@Tratcher

Closing this PR and sending out a different PR after rebasing.


Daily Logs !

You know , its great to maintain all requests that are made to the server in one log file ,
So my idea is that , can we maintain daily logs , like each log file per day , cause i don't want to see all requests in one log file, its quite fuzzy & takes lotta time to scroll down & check the issue !
The reason behind this is that , im running a server on amazon ec2 linux  & server goes down for every one month , cause of huge log file , Again i have to stop the server , truncate the log file & then run the server , its quite disturbance for me...  So is it possible that can we maintain each log file per day ?!

Checkout the documentation for the file transports.
https://github.com/winstonjs/winston/blob/master/docs/transports.md#file-transport
There are several alternatives, and looks like there is a transport for what you want.  I currently use the maxsize and maxFiles to keep the logfile sizes and # of files down.

@shaneholder  thank you , i should have checked it first :)
Anywayz thanx for the reply , please don't close the issue , let me try it & get back to you O:)

Closing this out. Hope it works for you!


Getting top-n predictions instead of top-1

For imagenet, is there a way to get the top-n predictions like what is printed out on console instead of the top-1 prediction that is returned from the classify function?

If anyone else is using the Classify function, I currently can't find an easy way of getting the Top-K predictions.
I was able to get the whole output layer value though, and from there, you can run something like np.argsort or torch.topk to get what you want.
To get the output layer value was convoluted for me, but a starting point is to look at the following functions to modify or expand:

In ./c/imageNet.cpp, Classify with top-1 happens in the function signature int imageNet::Classify( float* confidence ) and is called by the following overloaded function int imageNet::Classify( void* image, uint32_t width, uint32_t height, imageFormat format, float* confidence ). You should create your own function that returns all the values and run it in the overloaded function.
The mOutput that is looped through to find the Top-1 is the output layer value and is just a vector [docs]. You can get the raw data with mOutput[0].CPU.
C++ to Python bindings happen in ./python/bindings and, in our instance, in the PyImageNet.cpp file, where the Classify function returns a PyObject primitive. The hardest part for me was figuring out how to get a float* to something that can be interpreted by Python.
Some ideas are using the PyArray class from numpy or just creating a Python list object and filling it with the float pointer's values. I tried the second one since there's no extra dependencies. It worked but the conversion slows the FPS from a 100 to 80., so there's room for improvement.

@vjsrinivas Is this problem solved. It seems that this function is added but it does not work.
""""""
classify the image and get the topK predictions
# if you only want the top class, you can simply run:
#   class_id, confidence = net.Classify(img)
predictions = net.Classify(img, topK=args.topK)

# draw predicted class labels
for n, (classID, confidence) in enumerate(predictions):
    classLabel = net.GetClassLabel(classID)
    confidence *= 100.0

    print(f"imagenet:  {confidence:05.2f}% class #{classID} ({classLabel})")

    font.OverlayText(img, text=f"{confidence:05.2f}% {classLabel}",
                     x=5, y=5 + n * (font.GetSize() + 5),
                     color=font.White, background=font.Gray40)

"""""""

@jiefengsun this was added yes, what is the problem you are having with it not working?

@dusty-nv , thanks for reply.
Here is my code, it just print out the first nomatter topK
classify the image and get the topK predictions
if you only want the top class, you can simply run:
class_id, confidence = net.Classify(img)
predictions = net.Classify(img, topK= 3)
font = cudaFont()
draw predicted class labels
image_out = img
for n, (classID, confidence) in enumerate(predictions):
classLabel = net.GetClassLabel(classID)
confidence *= 100.0
print(n)
# print out the result
print("'{:s}'  with {:f}% confidence".format(classLabel, confidence))

# put the results on the image
font.OverlayText(image_out, text=f"{confidence:05.2f}% {classLabel}",
                x=5, y=5 + n * (font.GetSize() + 5),
                color=font.White, background=font.Gray40)

save the image
current_time = datetime.datetime.now().strftime('%d_%H-%M-%S')
saveImage( f'images_done/{current_time}.jpg', img, 224)

Here is a screen shot of whole code.

It is also very strange that the confidence is more than 100%.

Here is my code, it just print out the first nomatter topK

Any classes who's confidence is less than the threshold will be dropped, regardless of topK

It is also very strange that the confidence is more than 100%.

Yes that is strange, does that happen with any of the built-in pretrained models like googlenet or resnet18?

@dusty-nv No, it does not happen to the built-in pre-trained models.
I think that the problem might be that I used customized code to train and export to the onnx. The trained model works great. The problem might be the customized code to export it to onnx.


(fix) - .some should not be used for effect invoke/cleanup

.some could potentially short circuit when true is returned from …effect invocation or cleanup
Thanks @ForsakenHarmony for pointing this out.

Coverage remained the same at 100.0% when pulling 86485658b9285c88cfb1dff75ca85dd8d864f16a on fix/issuesFromGolfing into 719a2e87b69ea148ae04de2330f3e121ce38e2fe on master.

map would've worked as well


chore(Memcached): Memchached recipe simplefied

Removing the check for the port number. We see an error after it was introduced, and I don't think it's helpful for most of the use cases.
Add try to all package updates fail to continue the install
Add single quotes around the password in the config file to allow escape characters


Feature/provide unstyled skin parts

This PR moves the raw skin components into the sub folder skins/simple/raw and improves the configurability of the skins by exporting a factory method for parts that use other skin parts within their markup (The same way react-toolbox does it).
This is necessary to avoid CSS duplication (until now the default theme was always loaded alongside the custom css) and loading-order issues (sometimes the default theme was loaded after the custom css, effectively rendering any customization useless).
Now you can choose between the default themed component skins by simply importing and using it like import InputSkin from 'react-polymorph/lib/skins/simple/InputSkin'; (includes the default theme!) or importing the raw, unstyled skin via import InputSkin from 'react-polymorph/lib/skins/simple/raw/InputSkin'; … then you have to configure a theme for this (but now the styles are only loaded once, as expected!)
NOTE: i added this as a fix to the changelog because that's more appropriate i think

Great work @DominikGuzei 🎉


Target netcoreapp3.1 in PerfViewCollect since 2.1 is out of support

This also eliminates a warning from the IDE when you load PerfView.sln on a machine without the .NET Core 2.1 runtime

@brianrob PTAL


Added MOFA into Multi-assay data integration

Thanks for the addition, @rargelaguet. Glad to have you on board as a contributor!


Re sizing the signature pad

I have increased the size of the signature pad by making necessary changes in css files.
It shows fine on UI. But after signing on signature pad, the full signature is not captured on the exported PDF. Please let me know what other changes i need to make in order to capture the full signature. I am doing the signature with in the gray line area itself.

I had the same problem with sigpad2image for python conversion of json to png. You will have to resize the blanksig.png and nosig.png files in photoshop/gimp to the canvas size you have marked up in your canvas tag.

Im sorry, unless ive missed where it is in the documentation i cant find the part where it tells me where in the .js file to change the size of the image. Ive searched through all the .js files provided and i cant find any of the var defined in the documentation at all.
Anyone able to point me in the right direction?

@DarkSDragon Here ya go:
https://github.com/thomasjbradley/signature-pad/blob/gh-pages/documentation.md#resizing-the-signature-pad

Thanks for the reply.
I have done that part with the css and the html. Im looking for the area to
change the size of the end image. Unless im missing something i cant seem
to find it. Ive trolled through the js code of both the files supplied and
i cant nail it down.
DSD

@DarkSDragon Change the dimensions from the JSON array? The way I've done it in the past is just multiplied all the coordinates.

Im just having trouble locating the array that controls that in the jason.js file. any hints on the line for it?

You can get at it by using the api method: getSignature()
https://github.com/thomasjbradley/signature-pad/blob/gh-pages/documentation.md#api-reference

Thanks for your time and patience Thomas i found what i was after and got it working :) i feel like a twit for missing it lol. I will put it here for others so its clear:
After resizing the Canvas size in the HTML and CSS move over to the SignatureToImage.cs file and change the size of the CanvasWidth and CanvasHeight under public SignatureToImage() section as well.
DSD

Hi Team.
I realize when i increase the canvas pad thenwhen submit only partial signature displayed. Then i found the solution (Alhamdulillah).
When we convert from json to png we need to specify the following options:
require_once 'api/signature-to-image.php';
$json = filter_input(INPUT_POST, 'output', FILTER_UNSAFE_RAW);// From Signature Pad filtered
//the bold part is where u need to specify your width and height, the default is 198-width,55-height
$img = sigJsonToImage($json,array('imageSize' => array(198,100))); // imageSize => array(width, height)
All the best


fit adjustments

This PR contains the following changes:
sample_model():
- **kwargs are getting passed now to all sampling functions, instead of just to pm.sample()
- sample_prior_predictive and sample_posterior_predictive are by default not triggered
- new parameters : prior_predictive: bool
posterior_predictive: bool
that control whether the corresponding distributions get sampled.
mypy fixes
docstrings updates and changes

:books: Documentation preview :books:: https://pymc-marketing--365.org.readthedocs.build/en/365/

@ricardoV94 , @juanitorduz please let me know what you think about it, I think it might be first step on improving the time length our tests take to finish

merging this should close #364

@ricardoV94 , @juanitorduz please let me know what you think about it, I think it might be first step on improving the time length our tests take to finish

Thanks! This was definitely needed! I still wanna avoid sampling for the plot tests :)


Is there a way to escape liniting on imported JS from external?

Hi All, i am pretty stuck so not necessary an issue but I want to know if it is possible. Or is there a way round it?
I am using bower to add some dependancy that is not in npm. Then I just use standard import in index.js to get those scripts into scope. However eslint is ran against this and is not passing on them. Is there a way to escape eslint on these imports. Or is there another way to bring in external (bower) libs in?
Thanks
C

The easiest way would be to copy them to the public folder and add a script to index.html, for example:
  <script src="%PUBLIC_URL%/jquery.min.js"></script>

Then in the application code you could use it like:
const $ = window.$; // or whatever global it exports

See the User Guide section on public folder. Note that you should use the minified version because the public folder contents is not automatically minified or optimized.
Alternatively you could just re-publish that dependency to npm yourself.
I hope this helps!


Update changelog

This updates the changelog to the latest. This is the gem I've been using to generate the output

yeah, thanks @Robdel12 .. that was getting out of date

No problem! :)


Re-consider Kick-IT access to pre-enrollments

Currently, the Kick-IT committee can access the pre-enrollment status, as well as print the pre-enrollment forms.
While this technically is in compliance with the privacy policy (per https://privacy.ia.utwente.nl/#16-toegang-tot-gegevens ), this was originally only needed for one year where the Kick-IT was handling the enrollment forms.
This workflow might not be necessary any more, and maybe the enrollment status page, or only the form print pages, can be further restricted to be board-only. To discuss with WWW-supers and board about if this is wanted.
See also comments here: https://github.com/Inter-Actief/amelie-private/pull/521#issuecomment-946727091

To give this a bump, this is a simple fix and indeed seems unnecessary currently.
@bramvandartel Is this in your (board) opinion still necessary?


Invalid App Id or App Secret provided

inserendo i dati richiesti non mi logga mi risponde Invalid App Id or App Secret provided

The same is happening with mine today, yesterday it was working.

Hi, double check in the Imou console if the data is correct and that you have not reached API calls limits. Thanks


[terra-search-field] Added invalid red box for invalid search field

Summary

What was changed:
added invalid red box for invalid search field
Why it was changed:
Testing

This change was tested using:

[ ] WDIO
[ ] Jest
[ ] Visual testing (please attach a screenshot or recording)
[ ] Other (please describe below)
[ ] No tests are needed

Reviews
In addition to engineering reviews, this PR needs:

[ ] UX review
[ ] Accessibility review
[ ] Functional review

Additional Details

This PR resolves:
closed : https://github.com/cerner/terra-core/pull/3973
UXPLATFORM-XXXX

Thank you for contributing to Terra.
@cerner/terra

PR description is too vague added invalid red box for invalid search field Why do we need red box for invalid search field ?
Looking at the Jira 3973, Ask was to highlight the search field with red outline when user enters invalid value. In this case PR should only have changes on doc-site and not on source code. Since search field provides a callback prop onInvalidSearch  consuming applications should do error handling ( like displaying messages or changing color Or adding aria-invalid attribute for input) when onInvalidSearch is invoked.
example should update to pass required style changes to search field whenever they need. ( custom class names can be passed down through inputAttributes for search-field).

Why are we updating screenshots in this PR ..? As we can see PR has only doc example changes

closing this PR changes will track under https://github.com/cerner/terra-core/pull/3986 PR


Queue job from frontend

User story

As a user
I want / need to view the uploaded firmware images
From where I can select it for executing a job

Acceptance criteria

A dropdown window that shows uploaded firmware images
Sends a request to the backend for queuing the job.

Definition of done

Code review from peers has been completed and passed

Code is fully implemented and commented
Adheres to coding guidelines
Commits are not squashed
Code is checked into the repository

Unit tests for backend have been written and are passing
Manual performance tests on the browser are passing
No critical bugs are open

Completed on 26.05.2021


Role is throwing errors on consecutive runs

AWS Linux 2.
Works fine on first run. Throwing error on next:
fatal: [host]: FAILED! => {"changed": true, "cmd": "teleport version\n", "delta": "0:00:00.008927", "end": "2022-03-22 22:34:09.330311", "msg": "non-zero return code", "rc": 127, "start": "2022-03-22 22:34:09.321384", "stderr": "/bin/sh: teleport: command not found", "stderr_lines": ["/bin/sh: teleport: command not found"], "stdout": "", "stdout_lines": []}

This is due to teleport not being in default PATH.

I guess I could add a variable for teleport's path, something like "teleport_path". Role is only for debian right now, so default would be easy.
There is probably also a way to lookup where it's installed, use that first if the user hasn't defined a path, then use an OS default.
I'll take a look at this, don't use awx Linux so I won't be able to test the change though.

Just FYI this will affect any RH derivatives, not only AWS Linux. Role works just fine on RH style systems apart from that (since it is using downloaded binary). I already fixed that, will try to make a PR


Context mode

Adresses issue #8
It allows to keep the last command (1500 tokens) as context for the next one.
When in context mode, it launches a session that keeps running until dismiss or keyboard interrupt.
As mentioned in the issue this is an option that is disabled by default. It is enabled by setting the ‘CTX’ flag to true in the config file.
By default, everything works as before.
It implements a singleton class to keep track of things (_ContextManager) and feeds the prompt with it plus other adjustments relative to keeping a session going.

This is neat! Adding as I think it's nice to experiment with as a non-default setting.


Add bytes intern pool to reduce memory consumption

Intern literal bytes in a pool to reduce the memory it takes in compiled rules. This is used for literals in conditions, but mainly for metadata keys and values.
For example, the icewater ruleset have a lot of metadata for each rule, which always the same names. With this optimization, the memory consumption of the icewater compiled rules goes from 76MB to 62MB.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.60%. Comparing base (29097dc) to head (25ba0ca).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #165      +/-   ##
==========================================
+ Coverage   98.58%   98.60%   +0.01%
==========================================
  Files          79       80       +1
  Lines       24437    24471      +34
==========================================
+ Hits        24092    24130      +38
+ Misses        345      341       -4

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[PT Run] Refactor Plugins UpdateIconPath

"Abstracted out as I think most plugins have to do this.  This way we're consistent."
Originally posted by @crutkas in https://github.com/microsoft/PowerToys/pull/8062#discussion_r525622227
https://github.com/microsoft/PowerToys/blob/9144123f32a6b938ddd256bc459e1acf93d5c906/src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Main.cs#L89-L92
https://github.com/microsoft/PowerToys/blob/9144123f32a6b938ddd256bc459e1acf93d5c906/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Main.cs#L280-L290
https://github.com/microsoft/PowerToys/blob/9144123f32a6b938ddd256bc459e1acf93d5c906/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Main.cs#L159-L169

@benjamhooper Are you working on this?

Not Currently

https://github.com/microsoft/PowerToys/blob/9144123f32a6b938ddd256bc459e1acf93d5c906/src/modules/launcher/Plugins/Microsoft.Plugin.Shell/Main.cs#L280-L290
https://github.com/microsoft/PowerToys/blob/9144123f32a6b938ddd256bc459e1acf93d5c906/src/modules/launcher/Plugins/Microsoft.Plugin.Uri/Main.cs#L159-L169
Do we really need curly braces here?

@alannt777
yes we do and it would be nice to force it with fxcop/stylecop.

I personally think that it makes the code more readable. But it doesn't matter.


fix: set recreate strategy for cache deployment

Cache is using Read-write-once PVC which does not work with default
Rolloing update strategy, changing to Recreate.

unhealthy openshift api server with pruning run
/test jvm-build-service-in-repo-with-pruning-e2e
an ok this was the root cause wrt what I reported in slack a couple of days ago in the jvm-build-service namespace, right?
good find @Michkov
/approve
/lgtm


version error and web site

Good afternoon,

Q1) i try to run ERGO-ii, but it popup with an error msg (UnboundLocalError: local variable 'version' referenced before assignment)
may I ask what happens?
Q2) http://tcr2.cs.biu.ac.il/home, it's not working, does it maintenance?
Thanks,

I also encountered the same problem. Have you solved it? How was it solved

me too， I have the same problem, Did you solve it？


Import trend/direction from LibreLink Up

The plugin does not import trend/direction information yet. The information is available via LibraLink Up, therefore we should import the values. There probably needs to be a mapping of some sort.
Nightscout accepts the following values:

Value
Symbol

NONE
⇼

TripleUp
⤊

DoubleUp
⇈

SingleUp
↑

FortyFiveUp
↗

Flat
→

FortyFiveDown
↘

SingleDown
↓

DoubleDown
⇊

TripleDown
⤋

NOT COMPUTABLE
-

RATE OUT OF RANGE
⇕

#7

Thanks again, @sebdei! :)


[#22] Initial pgmoneta_ext_full_backup()

Initially, I use the pgmoneta_ext_full_backup() function to test and ensure that both start_backup() and stop_backup() functions work correctly.
Once these two functions are refined, the next step will be to create a new pull request to allow the core to send the manifest to the extension.

Yes, and like you have written you need to do the full backup, and figure out how to send it back to the client.
If, we have our own socket, then we need to do authentication and so on, so ideally client will connect to :5432, perform authentication, and then the extension takes over since its API is being called

I've noticed the following lines in our core project:
pgmoneta_create_start_replication_message(cmd, timeline, config->servers[srv].wal_slot, &start_replication_msg);
ret = pgmoneta_write_message(ssl, socket, start_replication_msg);

Is it possible for me to create a new function, similar to pgmoneta_create_start_replication_message, and use pgmoneta_write_message to initiate a LOGICAL replication to send the data? If I do this, can I rely on the existing functions to handle the authentication process?
Since our project already has many functions related to the protocol, I need to familiarize myself with them and learn more about them. Managing this communication may not be easy, as I'm currently unsure how our project handles the protocol and performs authentication.

Why would you need logical replication ?
You need to follow BASE_BACKUP from here https://www.postgresql.org/docs/current/protocol-replication.html that uses message types from the core protocol https://www.postgresql.org/docs/devel/protocol-message-formats.html
The core protocol does the authentication - you can sort of follow the authentication since our CLI does that too when connecting remotely. So, security.c with the various security methods should provide hints as well

The BASE_BACKUP command is typically used to create a full backup for replication, but I believe it is not designed to send individual or arbitrary files like a manifest file. Although I haven't yet found a proper method to send the file, I noticed that we already have a function, pgmoneta_ext_get_file, in the extension. Could we retrieve the manifest file from the extension side and then compare it with our core project on the core side, using the function we already have for comparison? Is this possible?

auth = pgmoneta_server_authenticate(server, database, username, password, replication, ssl, fd);

if (auth == AUTH_SUCCESS)
{
   pgmoneta_send_file_slot_message(slot_name, message, version);
   if (pgmoneta_write_message(ssl, socket, slot_request_msg) == MESSAGE_STATUS_OK)
   {
      // Proceed to establish a protocol

      // send the file
   }
   else
   {
      pgmoneta_log_error();
   }
}
else
{
   pgmoneta_log_error();
}
pgmoneta_close_ssl(ssl);
pgmoneta_disconnect(socket);

The pseudocode above outlines my plan to use our existing authentication mechanism for the authentication part. Once authenticated, we can find a suitable protocol to handle the file transfer.

The idea is to use the libpq API once we are inside the extension to perform the backup .
You should look how pgbackrest does incremental backup for PostgreSQL < 17 and get ideas from that

And, full backups as well of course

I've tried several methods to send a file from the client to the server, but none have succeeded, even when using PGconn for testing. So many components need to be integrated, and it's becoming difficult for me to solve. I'm feeling stuck at this point. Would you happen to have any advice?

I've tried several methods to send a file from the client to the server, but none have succeeded, even when using PGconn for testing. So many components need to be integrated, and it's becoming difficult for me to solve. I'm feeling stuck at this point. Would you happen to have any advice?

What exactly have you tried and how are they not working out? Maybe we need to consider do comparison on main side. We may then need to get files one by one instead of in one tar. But I wouldn't worry too much about it since we now have start LSN thanks to #23.
There is no rush in this so don't worry too much, we can get support for v17 incr backup out first. If you need new ideas, checkout out pgbackrest about how they do it, especially how they manage to transfer the backups to client side. Postgres is doing the comparison based on WAL summaries, it is a quite interesting new feature, feel free to check it out as well.


CNBI Phase 2

Problem statement
Goals
Enable RHODS users to easily get started with the packages/libraries/components they need for their data science projects.
Enable RHODS users to be confident that their notebooks will work given dependencies across specific versions for needed packages/libraries/components.
Problem
RHODS provides several out-of-the-box notebook images that automatically include packages to make it easy for users to get started with common components. However, in many/most instances, users need a specific set of packages/libraries with specific versions depending on the projects. There are so many possible variations of these packages/libraries/versions that it’s not practical to provide out-of-the-box images to anticipate the various needs. Users do not want to have to rely on pip installs for all the packages/libraries on a regular basis because it’s time consuming, and it can be difficult to keep track of all the needed components. They are looking for a quick & easy way to start a notebook session with the components they need for a project. Oftentimes, there can be repeatable patterns for the necessary components rather than starting from scratch for every project.
Many times users need specific package/library versions for a project, and they need to ensure that the combinations of packages & versions will work together. This could be driven by the need to leverage existing code that was created using a specific package/library version. They want to avoid scenarios where the notebook won’t run successfully because of an incompatibility across different packages & versions.
Why is it important?
This is a common/core function, and users need to be able to get started quickly and easily so they don’t waste time trying to assemble the needed components to get started. They don’t want to waste time manually installing all the needed components for each project, and they don’t want to spend time trying to resolve dependency issues across packages/versions. This is a key part of the value proposition for RHODS - make it easy for users to get started and be productive on their data science projects. RHODS needs to be flexible enough to accommodate the wide range of packages/libraries/versions needed across users.
Requirements
P0 - ‘must have’ - would hold up release without this
P1 - ‘should have’ - should plan to do this, but wouldn’t hold up release for it
P2 - ‘nice to have’
Number
Priority
Requirement
1
P0
Admins must be able to bring in/import existing notebook images for use in RHODS. The system must enable users to bring in/import notebook images via the RHODS UI (eg. users should not have to edit config files such as YAML files). After import, the images should be available for selection in the UI like out-of-the-box images.
Use case: Organizations have existing notebook images they created for past data science projects. They want to use these images in RHODS.
Notes:
Need the right base image; might not be able to be completely free form
Can we identify any vulnerabilities?
Custom not supported like OOTB; they would have to reproduce problem in one of our OOTB images
Some type of validation based on base image - eg. UBI-8
2
P0
Users must be able to create new notebook images from scratch by defining the packages/libraries/components needed.
Notes:
Users should be able to start with fundamental components - eg. Python version
Users not forced to verify & resolve dependency issues.
3
P0
Users must be able to copy an existing notebook image (either provided by Red Hat or custom), make changes by adding/removing components, and create/save the new image.
4
P2
Users must be able to make custom images private (only accessible by the user) or public (accessible to all cluster users).
Notes:
If this requirement is not fulfilled, the default is public
Imported images (eg. by admins) would be public
Might need to address the epic for deploying NB servers in separate user namespaces before supporting this item?
Can we prevent users from making public?
5
P1
The system must provide users some capability to check dependencies and verify any dependency issues as they are defining the components in a notebook or a new custom image.
Notes:
User adds a TensorFlow version and needs to identify dependencies (specific packages and versions needed)
User adds a TensorFlow version and adds an incompatible version of a dependency (eg. the wrong version of scipy to work with the added TensorFlow version). The user should be able to access a tool in the UI to identify the issue and make corrections.
Can Thoth service address this?
This should be an optional tool
6
P1
Users must be able to add & remove components/packages to/from an environment from a curated library directly via the UI.
Notes:
Idea is to incorporate Guillaume’s module concept
If applicable, UI should distinguish between “community” modules and Red Hat provided modules
Red Hat doesn’t have to provide any modules
7
P0
Admins must be able to export custom images & store on a local system.
Notes:
This could be provided as part of standard OSD capabilities
The idea is to give users an option to store custom images they create in a separate location for backup purposes.
Put in a registry instead of local?
P2
If a custom image is built on top of RH-provided curated image, provide a way that the custom image can be rebuilt when the curated image is updated by RH.
Acceptance Criteria
Verify ability to import custom NB images and have the images be available for selection in the UI in the same way as out-of-the-box NB images.
Verify ability for user/admin to export custom NB images and store on a local system.
Verify ability to create a new image from scratch by defining image components/packages and have the image be available for selection in the UI like OOTB NB images.
Verify ability to create a new image using a different Python version like Python 3.9 and have the image be available for selection in the UI like OOTB NB images.
Verify ability to create a new NB image from an existing RHODS NB image (either custom or OTTB) and have the image be available for selection in the UI like OOTB NB images.
Verify ability to dynamically add/remove packages/components to/from an environment via the “modules” UI.
Verify ability to access a tool in the UI to identify and verify dependencies for components/packages during the process of creating a new custom NB image.
TBD: Verify ability to create a new custom image and have the image only be available for selection for the user that created the new image.

This ticket should get a similar rework to match the effort @samuelvl did in https://github.com/opendatahub-io/odh-dashboard/issues/213 -- but can wait until we put our focus into it.

@andrewballantyne Regarding CNBi we are still in the architecture phase https://docs.google.com/document/d/1lESU67PFCtM5Mt05wL_ee_LY7Wc9OcGNBb5cvcOtkVU
We can rework this issue when we finish the architecture document


Optional translation

Hello,
Google translate can be a hit or miss. Adding automated translation without the ability to moderate it first can cause some funny posts at best, and might cause offending posts at worst.
Having the option to enable or disable it would be very nice and it will allow you to reach to border audience since not all people would want to use this for Arabic content.
Thank you!

الآن يمكنك تفعيل وتعطيل الترجمة عبر ملف config.json

أشكرك جزيل الشكر صديقي على المجهود


Implement Voice Resume

This should make voice connection issues seem way less disrupting. A proper voice resume is almost unnoticeable.

It seems that the latest change is causing heartbeat timeouts after resuming.
When resuming we receive HELLO which creates a new keep alive task.

https://github.com/hammerandchisel/discord-api-docs/pull/323#issuecomment-319464672 should handle USER_DISCONNECT as well, can be implemented again then

As soon as discord updates the HELLO interval we need to remove all heartbeat_interval handling in READY handling

Uh my god thats not a big deal :^)

Testing this branch for over a week, I've ran into the following issue(s) which have been confirmed to not happen in versions without this patch:
1.- Shards deadlock on SHUTTING_DOWN, adjunting an image of the bottom of the dump and the dump itself. {Thread dump file}
Bottom of the file: https://im-ded-but.mantaro-is.life/34P6626-581.jpg
2.- After the shard deadlocks on SHUTTING_DOWN, the shard watcher sees the shard won't respond to anything and it basically kill -9's it internally, which somehow causes a leak of ~2GB of memory, which I'll attempt to analyze after I get out of uni.

Word of caution, don't mix explicit lock objects and object monitors, it looks like at some point you're needing 2 locks, but can only acquire one
A different thread looks like it's holding the other lock, so two threads seem to be intertwined in a cold embrace, not relinquishing either lock.

From the dump submitted by @Kodehawa it looks like:
MainWS-ReadThread is trying to put something into a SynchronizedLongObjectMap
at: WebSocketClient.queueAudioConnect(WebSocketClient.java:902)
while
MainWS-Sending Thread is attempting to get from a SynchronizedLongObjectMap
at GuildImpl.getAudioManager(GuildImpl.java:600)
at WebSocketClient.getNextAudioConnectRequest(WebSocketClient.java:928)

The deadlock fix is not confirmed but I have trust that this should be the issue resolved.
The HELLO handling has been updated to properly respect the heartbeat_interval mentioned in https://github.com/hammerandchisel/discord-api-docs/pull/323#issuecomment-319527028 to be future-proof. As of now this will simply resume on timeout (every heartbeat is timing out so don't use it until discord fixed it on their side).
On hold until discord has implemented the aforementioned fix.

I'm requesting a review from @DV8FromTheWorld as I believe this can be finished now.
The heartbeat_interval handling for HELLO will need to be updated in about a month once discord has rolled out the fixed value on their voice servers.


Failed to compile There was an error in your GraphQL query:

Failed to compile
There was an error in your GraphQL query:

Cannot query field "allDribbbleShot" on type "Query".

If you don't expect "allDribbbleShot" to exist on the type "Query" it is most likely a typo.
However, if you expect "allDribbbleShot" to exist there are a couple of solutions to common problems:

- If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
- The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have
- You want to optionally use your field "allDribbbleShot" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content")

It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "Query":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions

File: D:/career/ResumeOnTheWeb-Gatsby/src/sections/Design.js

This is because you will need a Dribbble Token and add it to .env, in case you need to show dribbble shots on your site.
You can get yours here: https://developer.dribbble.com/

I tried removing gatsby-source-dribbble from config
failed extract queries from components - 0.490s
as you said created access token using that API
still got same error  failed extract queries from components - 0.490s
and serving above error like I started the issue.

@AmruthPillai


Runner IO (RunnerOutput) misbehaves for artifacts

Pre-bug-report checklist
1. This bug can be reproduced using pure Argo YAML

[x] No

2. This bug occurs in Hera when...

[x] running on Argo with the Hera runner

Bug report
Describe the bug
The Hera RunnerOutput can't handle inherently file as artifact. Instead I have to read the content of the file myself and populate the returned value.
To Reproduce
Full Hera code to reproduce the bug:
class DefaultTaskInput(RunnerInput):
    file_path: Annotated[str, Parameter(name="file_path")] = "/tmp/rawdata.json"

class DefaultTaskOutput(RunnerOutput):
    data: Annotated[list, Artifact(name="xdata", archive=NoneArchiveStrategy())] = {}
    rawdata: Annotated[Path, Artifact(name="rawdata", archive=NoneArchiveStrategy(), path="/tmp/rawdata.json")] = ""

def my_func(my_input: Annotated[DefaultTaskInput, Parameter(name="my-input")]) -> DefaultTaskOutput:
       # i have a subprocess that run a command and save the execution to /tmp/rawdata.json"
       command = ["/test", "-o", my_input.file_path]
       result = subprocess.run(command, input=None, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=text, check=True)
       stdout = result.stdout
       stderr = result.stderr
       otask = DefaultTaskOutput()
       otask.exit_code = 1
       otask.data = compile_xdata(my_input.file_path)
       with open(my_input.file_path, 'r') as f:
         otask.rawdata = f.read()
       return otask

Expected behavior
I was expecting the following:

"rawdata", with the file content of "/tmp/rawdata.json" without the need to open it myself and populate "rawdata" with its content since i provided "Path" in the Artifact definition. Here, if i remove the "with open(...) as f" block, the resulted content will be empty.
"otask.data" (result of the processed rawdata), the output is well populated with the content, and show up as output,  however it doesnt show up as an "artifact" (cf picture below) despite being well recorded (also recorded inside my minio). I declared it as "artifact". Is this a normal behavior ?
In DefaultTaskOutput, if i don't provide initial value to the declared variable, Pydantic will trigger an error. While in the documentation there are no initial value provided. I am a bit confused here (cf. doc: https://hera.readthedocs.io/en/stable/examples/workflows/experimental/script_runner_io/)
Is there an efficient/alternative way to avoid openning the files myself with Runner IO  (related to 1.) so I don't have to repeat the path both in the RunnerInput and RunnerOutput ?
On the Hera best practice, from the snippet provided, should I replace "otask.data" to "otask.result" and/or add a "otask.result=stdout" ? And is it ok to override "exit_code" with my "subproceess" exit_code ?
How can i dynamically generate a list of new artifact while inside the container execution flow ? E.g.: I don't know how many files will be generated ? Is this possible ?

Thank you for your guidance.
Environment

Hera Version: 5.14.3
Python Version: 3.11.8
Argo Version: 3.5.2

Additional context
Based on the example of typical Artifact generation and RunnerOut: https://hera.readthedocs.io/en/stable/examples/workflows/artifacts/artifact/?h=archive#__tabbed_1_2
https://hera.readthedocs.io/en/stable/examples/workflows/experimental/script_runner_io/

Providing update on this:

ok: I fixed it by adding explicit "Path" attribute and defining default value. Warning: the file somehow must have an extension...
ok: The point 1 fixed it.
ok: Assigned a default "path" value (same as the Path attribute string)
ok: Using the default assigned value of the RunningOutput variable works like charm.
ok: Not sure, but i assign the stdout by default and the returned subprocess code for exit code, and it works well.
ko - I haven't dig on this one yet.

Nice job getting through those problems - we've been a bit busy to get round to this issue.
Re

How can i dynamically generate a list of new artifact while inside the container execution flow ?

This is not possible due to Argo's limitations - it needs to know how many artifacts to export from the pod.


prevent user from deactivating themselves

Adds a check to not allow the user to deactivate their own account.
Dependencies
Is paired with ISSUE-5 PR in bi-web.

 ISSUE-5 - A system administrator is able to deactivate themselves

Looks like there were a couple tests that have errors from older stuff (not part of this work). Guess I don't need to check this anymore because of the github actions but since I did run them, there you go. Actually just saw checks are passing for actions so not sure what's going on.

Can you try to do a mvn clean install on your end and retry? Sometimes with my intellij to run all tests I have to use mvn test instead of running with junit. The build is successful and shows all the tests as passing in github actions still after bringing up to date with develop.


Add linux-bionic RID Export Option

Supersedes #97901
Resolves #97775
@raulsntos hopefully I'm homing in to your design goals!
This time around I just replace the RID, as you mentioned, with the linux-bionic one when it's enabled for Android, which should be the only platform that the option shows up for.

I tried this PR and enabled the linux bionic option, however it still failed to build when exporting for Android NativeAOT.
The PrivateSdkAssemblies ItemGroup is required for _ComputeAssembliesToCompileToNative
/home/luo/.nuget/packages/microsoft.dotnet.ilcompiler/8.0.10/build/Microsoft.NETCore.Native.Publish.targets(76,5)

After adding <PublishAotUsingRuntimePack >true</PublishAotUsingRuntimePack>, still failed to build but the error message is diffrent:
MSB3073: The command ""clang" "/home/luo/new-game-project/.godot/mono/temp/obj/ExportDebug/linux-bionic-arm64/native/New Game Project.o" -o "/home/luo/new-game-project/.godot/mono/temp/bin/ExportDebug/linux-bionic-arm64/native/New Game Project.so" -Wl,--version-script=/home/luo/new-game-project/.godot/mono/temp/obj/ExportDebug/linux-bionic-arm64/native/New Game Project.exports -Wl,--export-dynamic -gz=zlib -fuse-ld=lld /home/luo/.nuget/packages/microsoft.netcore.app.runtime.nativeaot.linux-bionic-arm64/8.0.10/runtimes/linux-bionic-arm64/native/libbootstrapperdll.o /home/luo/.nuget/packages/microsoft.netcore.app.runtime.nativeaot.linux-bionic-arm64/8.0.10/runtimes/linux-bionic-arm64/native/libRuntime.WorkstationGC.a /home/luo/.nuget/packages/microsoft.netcore.app.runtime.nativeaot.linux-bionic-arm64/8.0.10/runtimes/linux-bionic-arm64/native/libeventpipe-disabled.a /home/luo/.nuget/packages/microsoft.netcore.app.runtime.nativeaot.linux-bionic-arm64/8.0.10/runtimes/linux-bionic-arm64/native/libstdc++compat.a /home/luo/.nuget/packages/microsoft.netcore.app.runtime.nativeaot.linux-bionic-arm64/8.0.10/runtimes/linux-bionic-arm64/native/libSystem.Native.a /home/luo/.nuget/packages/microsoft.netcore.app.runtime.nativeaot.linux-bionic-arm64/8.0.10/runtimes/linux-bionic-arm64/native/libSystem.Globalization.Native.a /home/luo/.nuget/packages/microsoft.netcore.app.runtime.nativeaot.linux-bionic-arm64/8.0.10/runtimes/linux-bionic-arm64/native/libSystem.IO.Compression.Native.a /home/luo/.nuget/packages/microsoft.netcore.app.runtime.nativeaot.linux-bionic-arm64/8.0.10/runtimes/linux-bionic-arm64/native/libSystem.Security.Cryptography.Native.OpenSsl.a --target=aarch64-linux-android21 -g -Wl,-rpath,'$ORIGIN' -Wl,--build-id=sha1 -Wl,--as-needed -Wl,-e0x0 -pthread -ldl -lz -llog -lm -shared -Wl,-z,relro -Wl,-z,now -Wl,--eh-frame-hdr -Wl,--discard-all -Wl,--gc-sections -Wl,-T,"/home/luo/new-game-project/.godot/mono/temp/obj/ExportDebug/linux-bionic-arm64/native/sections.ld"" exited with code 1. /home/luo/.nuget/packages/microsoft.dotnet.ilcompiler/8.0.10/build/Microsoft.NETCore.Native.targets(366,5)

@atlasapplications  Thank you for your guidance. I encountered two errors again ( tested in arch linux)

(Resolved) The project name cannot contain spaces. Otherwise, there will be the following errors:

...
--version-script=/home/luo/new-game-project/.godot/mono/temp/obj/ExportDebug/linux-bionic-arm64/native/New Game Project.exports
clang: error: no such file or directory: 'Game'
clang: error: no such file or directory: 'Project.exports'

It seems dotnet is still using my linux clang toolchain, but I have alreay set ANDROID_HOME and ANDROID_NDK_HOME

  1>ld.lld : error : cannot open crtbegin_so.o: No such file or directory [/home/luo/newgameproject/NewGameProject.csproj]
     1>ld.lld : error : unable to find library -llog [/home/luo/newgameproject/NewGameProject.csproj]
     1>ld.lld : error : cannot open /usr/lib/clang/18/lib/linux/libclang_rt.builtins-aarch64-android.a: No such file or directory [/home/luo/newgameproject/NewGameProject.csproj]
     1>ld.lld : error : unable to find library -l:libunwind.a [/home/luo/newgameproject/NewGameProject.csproj]
     1>ld.lld : error : cannot open /usr/lib/clang/18/lib/linux/libclang_rt.builtins-aarch64-android.a: No such file or directory [/home/luo/newgameproject/NewGameProject.csproj]
     1>ld.lld : error : unable to find library -l:libunwind.a [/home/luo/newgameproject/NewGameProject.csproj]
     1>ld.lld : error : cannot open crtend_so.o: No such file or directory [/home/luo/newgameproject/NewGameProject.csproj]
     1>clang : error : linker command failed with exit code 1 (use -v to see invocation) [/home/luo/newgameproject/NewGameProject.csproj]

I can run the follow command and compile successfully by setting CppCompilerAndLinker:
dotnet publish -r linux-bionic-arm64 -c ExportDebug -p:CppCompilerAndLinker=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -p:PublishAOT=true -p:DisableUnsupportedError=true -p:PublishAotUsingRuntimePack=true

if adding $ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/ to PATH the follow works, too:
dotnet publish -r linux-bionic-arm64 -c ExportDebug -p:PublishAOT=true -p:DisableUnsupportedError=true -p:PublishAotUsingRuntimePack=true

However, I believe even with correct environment variables it still can't be successfully built in Godot.

Adding the lib prefix and copying the .so into the apk will result  runtime errors:
2024-11-19 13:18:15.390 31066-31174 godot                   com.example.game                     E  ERROR: Can't open dynamic library: libmonosgen-2.0.so. Error: dlopen failed: library "libmonosgen-2.0.so" not found.
2024-11-19 13:18:15.390 31066-31174 godot                   com.example.game                     E     at: open_dynamic_library (platform/android/os_android.cpp:240)
2024-11-19 13:18:15.391 31066-31174 godot                   com.example.game                     E  ERROR: Can't open dynamic library: /data/data/com.example.game/cache/data_NewGameProject_android_arm64/NewGameProject.so. Error: dlopen failed: library "NewGameProject.so" not found.
2024-11-19 13:18:15.391 31066-31174 godot                   com.example.game                     E     at: open_dynamic_library (platform/android/os_android.cpp:240)
2024-11-19 13:18:15.391 31066-31174 godot                   com.example.game                     E  ERROR: .NET: Failed to load hostfxr
2024-11-19 13:18:15.391 31066-31174 godot                   com.example.game                     E     at: initialize (modules/mono/mono_gd/gd_mono.cpp:549)

Instead, after removing the check, I successfully build and run on Android:
diff --git a/platform/android/export/export_plugin.cpp b/platform/android/export/export_plugin.cpp
index 9545d74730..c5282bdef6 100644
--- a/platform/android/export/export_plugin.cpp
+++ b/platform/android/export/export_plugin.cpp
@@ -755,11 +755,6 @@ Error EditorExportPlatformAndroid::store_in_apk(APKExportData *ed, const String
 }

 Error EditorExportPlatformAndroid::save_apk_so(void *p_userdata, const SharedObject &p_so) {
-	if (!p_so.path.get_file().begins_with("lib")) {
-		String err = "Android .so file names must start with \"lib\", but got: " + p_so.path;
-		ERR_PRINT(err);
-		return FAILED;
-	}
 	APKExportData *ed = static_cast<APKExportData *>(p_userdata);
 	Vector<ABI> abis = get_abis();
 	bool exported = false;

I think removing the check is a simple solution If  it's not necessary.

@beicause I don't know if we can remove that check, the error message seems to imply this is a restriction of the Android platform. The @godotengine/android team can confirm if this check is safe to remove.
Alternatively, if we need the native library to start with a lib prefix we can probably rename it before copying it and add a special case to the try_load_native_aot_library function for Android like so:
diff --git a/modules/mono/mono_gd/gd_mono.cpp b/modules/mono/mono_gd/gd_mono.cpp
index c81aa91fa5..9de762a408 100644
--- a/modules/mono/mono_gd/gd_mono.cpp
+++ b/modules/mono/mono_gd/gd_mono.cpp
@@ -416,6 +416,8 @@ godot_plugins_initialize_fn try_load_native_aot_library(void *&r_aot_dll_handle)
 	String native_aot_so_path = GodotSharpDirs::get_api_assemblies_dir().path_join(assembly_name + ".dll");
 #elif defined(MACOS_ENABLED) || defined(IOS_ENABLED)
 	String native_aot_so_path = GodotSharpDirs::get_api_assemblies_dir().path_join(assembly_name + ".dylib");
+#elif defined(ANDROID_ENABLED)
+	String native_aot_so_path = "lib" + assembly_name + ".so";
 #elif defined(UNIX_ENABLED)
 	String native_aot_so_path = GodotSharpDirs::get_api_assemblies_dir().path_join(assembly_name + ".so");
 #else

This is because since https://github.com/godotengine/godot/pull/88803 we are including every native library .so into the lib directory of the APK. So we should use only the filename to open the native library and Android will know where to find it.

@beicause I don't know if we can remove that check, the error message seems to imply this is a restriction of the Android platform. The @godotengine/android team can confirm if this check is safe to remove.

From a quick search, that indeed seems to be an Android specific restriction, so I don't think we can remove the check.
@raulsntos I'd echo your proposal of renaming the library instead and updating the loading logic.

@beicause This is my previous project, I used #86791 to export Android aot, maybe you can refer to it?
https://github.com/scgm0/Book-of-Genesis


Attribute Frame Jump Shortcuts

Creation of customs shortcuts for frame attributes that will jump to the next frame where the Attribute X is >, =. < value Y.
This can be typed to a keyboard shortcut for seeking amongst data within tracks.

I have already added in a capability to seek to a frame or track in another PR #28.
Next I would need to create an area for Global Shortcuts.
For right now these shortcuts could be tied to the existing Actions (GoToFrame, TrackSelection).
I can use the existing action editor and the existing keyboard shortcut creator to develop an editor for the keyboard shortcuts.
In the configuration there will be another section 'shortcuts' where the shortcuts will live.
This may tie into a future capability of having different configurations for different users.
Eventually, more actions could be added in which allow stuff like 'TrackCreation' where after it is done and created it will select the previously selected track.

resolved with #28


SqlServer state store don't use correct host

Expected Behavior
config sqlserver as state store component, state management building block can connect to server and create state table.
Actual Behavior
Got error:
time="2022-09-30T12:37:16.8284625+08:00" level=fatal msg="process component statestore-sqldb error: failed to create db database: unable to open tcp connection with host 'localhost:1433': dial tcp [::1]:1433: connectex: No connection could be made because the target machine actively refused it." app_id=cgs instance=cn-yoz-x1yoga scope=dapr.runtime type=log ver=1.8.4

Steps to Reproduce the Problem
Create a state component yaml file:
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: statestore-sqldb
spec:
  type: state.sqlserver
  version: v1
  metadata:
  - name: connectionString
    value: Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=dapr;Integrated Security=True;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False

Put this file into componements folder
Run any dapr app locally by dapr run, will get above error.
If I change connectionString into
Data Source=tcp:innocore-sit2.database.windows.net,1433;Initial Catalog=dapr-state;User Id=<username>;Password=<password>;

I also got this error.
System information

Windows 11 with wsl2 docker desktop
CLI version: 1.8.1
Runtime version: 1.8.4

We do not have any test infrastructure for SQL Server hosted on a Windows VM. There are likely additional connection string settings you must change and options you may need to configure in your SQL Server configuration.
For example does your SQL Server allow connections from the Docker network? You may want to disable all IP address and transport security options on the SQL server itself.
Connecting to SQL Server in Docker, or Azure SQL Server this component works as expected.

@berndverst actually, after I changed connectionString to azure sql server, I also got the same error.


Implement ‘lock blocks’ in IR

To support transactions, as well as C and C++ mutexes, I’m proposing the implementation of ‘lock blocks’ to the IR.  These would behave like blocks, but come with a sum type tag that specifies the type of synchronisation, eg:

TR synchronized block
TR atomic block (probably just noexcept for now)
C++ scoped lock
C mutex lock

Making the IR support locks in a generic scoped way would help the fuzzer generate hopefully deadlock-free locks, and generalise nicely over both transactions and locks.

Done!


[awssqsSource] Migrate to sources.knative.dev api group

Expected Behavior
The resource is inside of the api group sources.knative.dev
Actual Behavior
sources.eventing.knative.dev
there are no owners for this in https://github.com/knative/eventing-contrib/blob/master/OWNERS_ALIASES

Fixed in #956
/close


using the link component's mixins

The link component actually exposes mixins to apply its styles to other things, so using them here to remove some duplicate CSS.

Link hasn't been converted to a hybrid element so this is failing in everything except Chrome. And I think the button/link styles are in flux a bit anyway, so closing for now.


Odd gfx-vulkan backend error

Short info header:

GFX version: 0.1.0
OS: Archlinux (swaywm + Wayland)
GPU: GTX 1060 Max-Q + Intel Integrated

2019-05-07 12:16:55 INFO  [totality_sys::renderer] SurfaceCapabilities { image_count: 4..4294967295, current_extent: None, extents: Extent2D { width: 1, height: 1 }..Extent2D { width: 16384, height: 16384 }, max_image_layers: 1, usage: TRANSFER_SRC | TRANSFER_DST | SAMPLED | STORAGE | COLOR_ATTACHMENT }
2019-05-07 12:16:55 INFO  [totality_sys::renderer] Preferred Formats: Some([Bgra8Srgb, Bgra8Unorm])
2019-05-07 12:16:55 INFO  [totality_sys::renderer] Present Modes: [Mailbox, Fifo]
2019-05-07 12:16:55 INFO  [totality_sys::renderer] Composite Alphas: [Opaque, PreMultiplied]
2019-05-07 12:16:55 INFO  [totality_sys::renderer] SwapchainConfig { present_mode: Mailbox, composite_alpha: Opaque, format: Bgra8Srgb, extent: Extent2D { width: 1024, height: 768 }, image_count: 3, image_layers: 1, image_usage: COLOR_ATTACHMENT }
2019-05-07 12:16:55 ERROR [gfx_backend_vulkan] [Validation]  [ VUID-VkSwapchainCreateInfoKHR-minImageCount-01271 ] Object: 0x7fda2042c0f0 (Type = 3) | vkCreateSwapchainKHR() called with minImageCount = 3, which is outside the bounds returned by vkGetPhysicalDeviceSurfaceCapabilitiesKHR() (i.e. minImageCount = 4, maxImageCount = 0). The Vulkan spec states: minImageCount must be greater than or equal to the value returned in the minImageCount member of the VkSurfaceCapabilitiesKHR structure returned by vkGetPhysicalDeviceSurfaceCapabilitiesKHR for the surface (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkSwapchainCreateInfoKHR-minImageCount-01271)

This last part is an unsatisfied condition, but it can't be satisfied.

This is a problem with the validation layers. The semantics of maxImageCount = 0 actually means it's not limited, hence our reported range of 4..4294967295. Your program requests 3, which is outside of the range.

Hm, so should I just not worry about it?
Also the SurfaceCapabilities seems to return a 4 to -1 range, which I assume is the reason for all of this.

@AlterionX you should worry about it in a sense that your application doesn't respect the surface capabilities we return (with the image count range 4..4294967295), not in a sense that gfx-rs is doing anything wrong.

Also the SurfaceCapabilities seems to return a 4 to -1 range, which I assume is the reason for all of this.

It's not -1, it's !0. There is nothing wrong with this range, so it can hardly be a reason to all of this :)


Publish CALM to SchemaStore

Feature Request
Description of Problem:
We want to make it as easy as possible for people to use the CALM manifest, ideally developers IDEs would automatically recognise Architecture as Code manifests and apply autocomplete and validation.
Potential Solutions:
SchemaStore is a commonly adopted mechanism for publishing schemas, being well integrated to many common tools like IntelliJ and VS Code. Propose we start publishing our manifest via SchemaStore (details here).

We should decide whether we will contribute a copy of our schema into the SchemaStore repo or set it up as remotely hosted.
Suggest we agree a recommended file suffix (e.g. *.calm.json, *.calm.yaml, *.calm.yml) which will provide the simplest integration with the schema without developers needing to configure their IDEs.

Other potential options would be to simply self host (currently doing this and versioning via tags) but this provides less integration.

I like the ideal of *.calm.(json/yaml/yml) as our format.

We can submit a copy, however, I would have thought that we keep self hosting until we are ready with V1 that is agreed upon and then we submit it ti the JSON Schema Store

There is a remote hosting option, tbh I think that may be best even long term, it can even support multiple versions so would just mean an update to schemastore each time we add a new draft.

I think we should consider removing this from the April milestone (which needs closing) as we aren't planning to do this quite yet given that we don't have a v1 yet.

Superseded by publication to our our hosting service - http://calm.finos.org/draft


Publish package under MetaMask npm scope

We should publish this package under @metamask/

this appears to have been done.


i3lock-color: 2.7_rev63a4c23 -> 2.7_revc8e1aec

Motivation for this change
Update i3lock-color to new version
Things done

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

[x] NixOS
[ ] OS X
[ ] Linux

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

Yeah, github redirects to chrjguill (so both work). I've updated it now. Also fixed the version to be a date.


chore: Parameterize json_placeholder.rs

Make it work for both serde_json_borrow and ConstValue

/bounty 50$

/attempt #2349

/attempt #2349
To parameterize the json_placeholder.rs file and make it work for both serde_json_borrow::Value and ConstValue, I'll introduce a generic type parameter that represents the JSON value type.
I'll create a trait that abstracts the common functionality needed from both serde_json_borrow::Value and ConstValue. I'll then implement the trait for both of them

/attempt #2349

/attempt #2349

I give up, it issue is open for attempts.

/attempt #2349

Closing in favour of https://github.com/tailcallhq/tailcall/issues/2482


Parser fail in Bigquery partition with RANGE_BUCKET and GENERATE_ARRAY

Describe the bug
In the Bigquery if use RANGE_BUCKET with GENERATE_ARRAY in partition the parser fail
To Reproduce
This fail
CREATE TABLE data.test(
    field_a INT OPTIONS(description='some description')
)
PARTITION BY RANGE_BUCKET(field_a, GENERATE_ARRAY(10, 1000, 1));

This work
CREATE TABLE data.test(
   field_a INT OPTIONS(description='some description')
 )
 PARTITION BY RANGE_BUCKET(field_a, [1,2,3]]) ;

Expected behavior
Parser work in both cases

I think problem in that in partition by does not supported yet functions, only columns lists, I will add support for that @lmarqueto and again thanks for opening the issue!

I did some tests and with only one functions it's work fine, eg:
PARTITION BY DATE_TRUNC(field, MONTH)
PARTITION BY DATE(dt_evento_local)
PARTITION BY RANGE_BUCKET(field_a, [1,2,3]])
But if put a function inside a another function, the parser fail

Finally released support in version 1.3.0. Tests: https://github.com/xnuinside/simple-ddl-parser/blob/main/tests/dialects/test_bigquery.py#L881
Sorry for ignoring this issue too long
If will be needed anything else - feel free to open new issue


Uninstallable via elm-package

Trying to install the ndr-qef/microkanren.elm package via elm-package fails.
Steps to reproduce:
$ mkdir repro
$ cd repro
$ elm --version
0.17.1
$ elm package install --yes
# (base packages install successfully)
$ elm package install --yes ndr-qef/microkanren.elm 1.0.1
Starting downloads...

  ✗ ndr-qef/microkanren.elm 1.0.1
Error: Problem when downloading the ndr-qef/microkanren.elm 1.0.1 code.

$ ls -1 elm-stuff/packages/
elm-lang
ndr-qef-elm-microkanren-ddc30c9

Expected behavior:

elm package install succeeds without errors
elm-stuff/packages/ndr-qef/microkanren.elm/1.0.1/ exists

I suspect that elm-package is getting confused by the GitHub repo being named ndr-qef/elm-microkanren but the package being published as ndr-qef/microkanren.elm.

It seems that elm package fails to follow redirects. Renaming the repository should suffice; let me know if there are still problems.

That does fix the installation problem, but now I'm seeing that the . in the package name causes invalid Javascript to be generated:
$ elm repl
---- elm-repl 0.17.1 -----------------------------------------------------------
 :help for help, :exit to exit, more at <https://github.com/elm-lang/elm-repl>
--------------------------------------------------------------------------------
> import MicroKanren
/Users/paul/repro/repl-temp-000.js:4063
var _ndr_qef$microkanren.elm$MicroKanren$extend = F3(
                        ^

SyntaxError: Unexpected token .
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:387:25)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Function.Module.runMain (module.js:447:10)
    at startup (node.js:142:18)
    at node.js:939:3

I think this is really a bug in the Elm compiler, though, since it's generating a Javascript identifier with an illegal character in it.  I'll file a bug report (assuming there isn't one already).

As you say, fixing a codegen bug is well outside my power as package maintainer. On the tangent, GitHub repository addresses offer no guarantee of stability, and using them as package identifiers is arguably a mistake.
I'll keep this issue open, but I can offer little help beyond suggesting to use a local fork until the matter is resolved upstream.

I expunged old releases and published a 0.18-compatible version under the guise of a new package. (Old versions, while untagged, can easily be recovered from previous commits.) It's a rather blunt approach, but I have little wish to entertain elm-package further.
@kuliniew, you should now be able to install microkanren as tapeinosyne/elm-microkanren without trouble. Hope it helps.


Installer fails with "Error: Object reference not set to an instance of object."

I'm trying to flash an sdcard with Windows 10 ARM for my raspberry pi. I did everything according to the tutorial, and it flashes fine but after flashing GPT image(and validating it) it just crashes with the error in the title. This is the error log of the last few lines:
2019-02-14 14:39:09.085 +00:00 [Verbose] Default directory for WimFolder has been set to "F:\sources"
2019-02-14 14:39:09.088 +00:00 [Verbose] Trying to load WIM metadata file at '"F:\sources\install.wim"'
2019-02-14 14:39:09.107 +00:00 [Verbose] Getting WIM stream
2019-02-14 14:39:09.108 +00:00 [Verbose] (WIM) Finding Magic Bytes...
2019-02-14 14:39:09.108 +00:00 [Verbose] (WIM) Found Magic Bytes at 0
2019-02-14 14:39:09.108 +00:00 [Verbose] (WIM) Finding WIM XML Data...
2019-02-14 14:39:09.108 +00:00 [Verbose] (WIM) Found WIM XML Data at<PHONE_NUMBER>32
2019-02-14 14:39:09.127 +00:00 [Verbose] Wim metadata deserialized correctly WimMetadata { TotalBytes: "3281255083", Images: [ImageMetadata { DirectoryCount: "19154", FileCount: "86519", TotalBytes: "14402294320", HardLinkBytes: "6416458914", CreationTime: Time { HighPart: "0x01D44CED", LowPart: "0x43022989" }, LastModificationTime: Time { HighPart: "0x01D4C471", LowPart: "0x278FC22F" }, WimBoot: "0", Windows: Windows { Arch: "12", ProductName: "Microsoft® Windows® Operating System", EditionId: null, InstallationType: null, ServicingData: null, ProductType: null, ProductSuite: null, Languages: null, Version: Version { Major: "10", Minor: "0", Build: "17763", SpBuild: "1", SpLevel: "0" }, SystemRoot: "WINDOWS" }, Name: "Windows 10 Pro", Description: "Windows 10 Pro", Flags: null, DiplayName: "Windows 10 Pro", DisplayDescription: "Windows 10 Pro", Index: "1" }] }
2019-02-14 14:39:09.132 +00:00 [Verbose] WIM metadata file at '"F:\sources\install.wim"' retrieved correctly
2019-02-14 14:39:35.563 +00:00 [Verbose] The '""' does not exist
2019-02-14 14:39:49.261 +00:00 [Verbose] Default directory for WimFolder has been set to "C:\Users\Tim\Downloads"
2019-02-14 14:39:49.264 +00:00 [Information] Importing Core Package from "C:\Users\Tim\Downloads\Core Package 1.4.0 (with USB and Ethernet).zip"
2019-02-14 14:39:49.286 +00:00 [Information] Extracting from "C:\Users\Tim\Downloads\Core Package 1.4.0 (with USB and Ethernet).zip"
2019-02-14 14:39:49.288 +00:00 [Verbose] Ensuring that '"Files"' is empty
2019-02-14 14:39:52.661 +00:00 [Information] Extraction successful from "C:\Users\Tim\Downloads\Core Package 1.4.0 (with USB and Ethernet).zip"
2019-02-14 14:39:54.577 +00:00 [Information] Core Package imported
2019-02-14 14:39:56.227 +00:00 [Verbose] The '"Files\Drivers\Pre-OOBE"' exists
2019-02-14 14:39:56.227 +00:00 [Verbose] The '"Files\Core"' exists
2019-02-14 14:39:56.227 +00:00 [Verbose] The '"Files\UEFI"' exists
2019-02-14 14:39:56.227 +00:00 [Verbose] The '"Files\Drivers"' exists
2019-02-14 14:39:56.227 +00:00 [Verbose] The '"Files\Tools"' exists
2019-02-14 14:39:56.228 +00:00 [Information] Flashing GPT image...
2019-02-14 14:39:56.232 +00:00 [Verbose] We are about to run Etcher: "Files\Tools\Etcher-Cli\x86\Etcher" "-d \\.\PHYSICALDRIVE2 \"Files\Core\Gpt.zip\" --yes --no-unmount"
2019-02-14 14:39:56.234 +00:00 [Verbose] Starting process { FileName: "Files\Tools\Etcher-Cli\x86\Etcher", Arguments: "-d \\.\PHYSICALDRIVE2 \"Files\Core\Gpt.zip\" --yes --no-unmount" }
2019-02-14 14:39:57.245 +00:00 [Verbose] Process started sucessfully
2019-02-14 14:40:48.837 +00:00 [Information] Validating flashed image...
2019-02-14 14:41:09.223 +00:00 [Information] GPT image flashed
2019-02-14 14:41:09.227 +00:00 [Verbose] Getting "EFIESP" volume
2019-02-14 14:41:10.173 +00:00 [Verbose] Couldn't find any partition in "Number: 2, Size: 28.97 GB, AllocatedSize: 28.97 GB". Updating Storage Cache...
2019-02-14 14:41:11.292 +00:00 [Verbose] Retrying Get Partitions...
2019-02-14 14:41:11.733 +00:00 [Error] An error has ocurred
System.NullReferenceException: Object reference not set to an instance of an object.
   at Installer.Raspberry.Core.RaspberryPiDeployer.<DeployUefi>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Installer.Raspberry.Core.RaspberryPiDeployer.<DeployCoreAndWindows>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Installer.Raspberry.ViewModels.MainViewModel.<DeployUefiAndWindows>d__61.MoveNext()
2019-02-14 14:41:11.736 +00:00 [Information] Error: Object reference not set to an instance of an object.

I believe I did everything according to the tutorial, I downloaded the Windows 10 arm64 cmd thing, ran it, mounted the ISO, downloaded CorePackage 1.4.0 with USB and Ethernet, opened both in your tool, and pressed deploy, and it still gave me an error.
Do you know what's wrong?
Thanks!
Edit:
I also tried different SD cards. I checked what the partition table looked like when it crashed, and it appears to burn the 100mb boot image(rpi also gives me the colors when I plug the sd card in), but it doesn't seem to write the system files.
EDIT2:
I actually just noticed that when generating the ISO it gives an DISM error 1450. This is when making boot.wim. Does this matter?

I'm having the identical issue.

I am having the same issue

It seems the tool isn't recovering access to the disk after it's been flashed. Sorry guys, just can tell you to try to upgrade Windows 10 to the latest version (non Insider) that is Windows 10 version 1809. It may be a problem of PowerShell.
I haven't heard of such a problem until today!

@cdw2286 You don't have to format any partition on the card. The flash part should make they partition layout ready for the deployment.

Same issue for me as well. I am running the latest ver of windows 10. Any idea's?

It seems the tool isn't recovering access to the disk after it's been flashed. Sorry guys, just can tell you to try to upgrade Windows 10 to the latest version (non Insider) that is Windows 10 version 1809. It may be a problem of PowerShell.
I haven't heard of such a problem until today!

Thank you for the response. I am currently upgrading Windows to build 1809 and will report back the results.

I tried updating to 1809, and it still won't work. Always the same issue. I'll try on another PC to see if that works.

Hi,
Had the issue when trying to do it from D:
Also, I believe it was running as Administrator.
No problem while running from the Desktop

It seems the tool isn't recovering access to the disk after it's been flashed. Sorry guys, just can tell you to try to upgrade Windows 10 to the latest version (non Insider) that is Windows 10 version 1809. It may be a problem of PowerShell.
I haven't heard of such a problem until today!

Thank you for the response. I am currently upgrading Windows to build 1809 and will report back the results.

UPDATE:
After upgrading Windows to Build 1809 and following @julienrobin28 comment about running WOA Installer from the Desktop (I was previously running from the F: Drive), I was able to successfully install to my SD card.
However, when I put the SD card into the RPi and turn it on, it just goes to a Shell> prompt. Am I missing something?

@cdw2286 If it just goes to the Shell> prompt, follow the instructions here: https://discourse.pi64.win/t/frequently-asked-questions-faq/49

Thanks @abedhaque but it still wont boot.

@cdw2286 If it just goes to the Shell> prompt, follow the instructions here: https://discourse.pi64.win/t/frequently-asked-questions-faq/49

That did the trick for me @abedhaque .  Thank you!

Same issue.
Run as admin from c:\winarm
I'm on Win 10 1809

Use https://github.com/WOA-Project/WOA-Deployer-Rpi


New: Add ExternalCacheTimeout also for ProxyEnforcer

Description
This PR adds the ability to also send the ExternalCacheTimout over to a RemoteEnforcerProxy

Codecov Report

Merging #367 into master will increase coverage by <.01%.
The diff coverage is 70%.

@@            Coverage Diff             @@
##           master     #367      +/-   ##
==========================================
+ Coverage   58.41%   58.41%   +<.01%
==========================================
  Files          51       51
  Lines        5853     5858       +5
==========================================
+ Hits         3419     3422       +3
- Misses       2157     2158       +1
- Partials      277      278       +1

Impacted Files
Coverage Δ

cmd/remoteenforcer/remoteenforcer_linux.go
57.14% <0%> (ø)
:arrow_up:

enforcer/proxy/enforcerproxy.go
75% <87.5%> (-0.66%)
:arrow_down:

Continue to review full report at Codecov.

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


Better Mumble Channel Mapping

This fixes an issue where if you have an external mumble server (not FXServer) and server IDs go over the max amount of channels that exist, it results in subsequent connections not being assigned a channel.
TDLR of this change is that each player is now assigned to whatever the first free mumble channel is instead of their server id, the current max for the free channel loop is GetConvarInt('sv_maxclients', 32) + 10 for a bit of leniency.

Can I know what server you're using for this? I'm a bit hesitant to merge this chain as (imo) external servers (that are not FXServer) are kind of a non-priority as they have incompatibilities with listening channels and other things so certain things that pma-voice rely on would inherently not work on those servers

Can I know what server you're using for this?

I'm using pma-voice on a FiveM server then an external Murmur server.

external servers (that are not FXServer) are kind of a non-priority

I'm aware of this and am looking into trying out an FXServer to see if it performs any better however I thought I'd do this PR to fix the issue for anyone else that is/decides to use a non-fxserver external server.

they have incompatibilities with listening channels

Murmur server v1.4.230 and above support listening channels and I've had no issues with them not working.

👍 I'll go ahead and merge this, if theres any reported I'm going to back it out and you can fix and make another PR


Add linux platform to PythonFMX, show some warnings in case compile f…

…ails

Added warnings to PythonFMX.dpk for Linux to help the user resolve compilation issues - unsure how many versions this affect ATM
Removed bindcompfmx from PythonFMX.dpk linux via ifdef
Added Linux64 as a build for PythonFMX
Added warnings for Win64 and Android in case build fails (most likely under 11.2) - could make them version specific but they'll probably only get read if anything goes wrong amyway

Have ever tried it once before doing the pull request? The IDE will remove the IFDEF as you perform changes in the project options.
As I said before, FMXLinux does NOT provide the fmx.bpl as part to theirs distribution. I have no idea how you get it there, must probably you have copied it from somewhere.

We can't simply add the compiler conditionals in the FMX library. As I have kept saying, we need a NEW project specifically for LINUX.
I will do it as soon as possible.


Ignore known anti-idles

Create chat filter options - Users can highlight text from screen , right click, and enable them to add the selected chat to an ignore list or something to that affect.


Doesn't work on Codex

CoreGui skill issue moment. Could probably make your own notifications or use StarterGui notifications if you can't use Core GUI

fixed x2, made an issue while implementing new mobile binds


Docs rebrush

improved light-theme (colour contrast, header)
refined logo/images
"The Starlite App": more visual anchors (bold text)
simple social-cards solution (TBD)

forgot to re-add the favicon.ico
"Migration to Starlite" also could do with a polishing-up


richtext_controls no working

OS：macOS 11.5.2
Python:  3.8.5
Gooey: <IP_ADDRESS>

I had the same behavior and found out that the colored library is now TTY aware by default since version 1.4.3.
You now need to force enable color via environment variables or disable the TTY awareness:
colored.set_tty_aware(False)

编码修复
if sys.stdout.encoding != 'UTF-8':
sys.stdout = codecs.getwriter('utf-8')(sys.stdout.buffer, 'strict')
if sys.stderr.encoding != 'UTF-8':
sys.stderr = codecs.getwriter('utf-8')(sys.stderr.buffer, 'strict')

colored.set_tty_aware(False)


sumneko-lua-language-server: 3.5.4 -> 3.5.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/sumneko/lua-language-server/releases.
meta.description for sumneko-lua-language-server is: "Lua Language Server coded by Lua"
meta.homepage for sumneko-lua-language-server is: "https://github.com/sumneko/lua-language-server"
meta.changelog for sumneko-lua-language-server is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.5.5 with grep in /nix/store/ay44cjjh5dlp4fas0jjq7866vpqmh0kr-sumneko-lua-language-server-3.5.5
found 3.5.5 in filename of file in /nix/store/ay44cjjh5dlp4fas0jjq7866vpqmh0kr-sumneko-lua-language-server-3.5.5

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
sumneko-lua-language-server

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ay44cjjh5dlp4fas0jjq7866vpqmh0kr-sumneko-lua-language-server-3.5.5 \
  --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 sumneko-lua-language-server https://github.com/r-ryantm/nixpkgs/archive/5637f276a5026d3d31bcecae915cf1f97d9e0a0d.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/ay44cjjh5dlp4fas0jjq7866vpqmh0kr-sumneko-lua-language-server-3.5.5
ls -la /nix/store/ay44cjjh5dlp4fas0jjq7866vpqmh0kr-sumneko-lua-language-server-3.5.5/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

1 package built:

sumneko-lua-language-server

Maintainer pings
cc @sei40kr for testing.

Result of nixpkgs-review pr 190180 run on x86_64-linux 1

1 package built:

sumneko-lua-language-server


Execute callback when cancelled

vim.ui.select() callback can call with nil when cancelled selection.
This PR makes call this.

Thanks!


go installation command fails

I tried the go installation command and got this:
go get github.com/cortesi/devd/cmd/dev
package github.com/cortesi/devd/cmd/dev: cannot find package "github.com/cortesi/devd/cmd/dev" in any of:
	/usr/local/go/src/github.com/cortesi/devd/cmd/dev (from $GOROOT)
	/Users/jseidel/dev/go-lang/src/github.com/cortesi/devd/cmd/dev (from $GOPATH)

~/dev$ echo $GOPATH
/Users/jseidel/dev/go-lang
~/dev$ echo $GOROOT

I must be missing something?

Did you make a typo? There seems to be a character missing in that URL. It should be:

go get github.com/cortesi/devd/cmd/devd

Ah... cut and paste error; my bad. Sorry. The other approach worked. Thanks!


StyleSheet.create() not giving back the same classes for the same object

Version: 1.0.0 (beta6)  (also seen this on beta5 i think)
Environment: React
Type: Bug

Description
When I call StyleSheet.create(myStyleObject) twice with the same object, I don't get the same classnames. Furthermore the new classnames are not added to DOM.
Steps to reproduce
Execute this code in tonicdev.com. The link should include the code.
var react = require('react')
var reactDom = require('react-dom')
var StyleSheet = require("react-look").StyleSheet

var styleSheet = {bla: {color: 'red'}}
var stylesA = StyleSheet.create(styleSheet)
var stylesB = StyleSheet.create(styleSheet)

console.log(stylesA.bla)
console.log(stylesB.bla)

Expected Behavior
I expected the two classes to be the same since it is the same object with the same content.
stylesA.bla === stylesB.bla

Actual Behavior
stylesA.bla !== stylesB.bla

This actually is not a bug, but a feature by design I guess.
The API was designed to be only called once actually, so recalling the same styles should be considered bad-practice anyways. But sometimes you actually come up with styles that contain the exact same static styles.
You may now wonder why this (and yes, it kind of makes sense) doesn't return the same classNames at all, but some basic incremented counter as className. Now let my try to explain why this would break dynamic styles in some special cases:

// First of all, lets assume we got those two basic Components
const ComponentA = () =>
text

const ComponentB = () => text

// Using these styles
const stylesA = StyleSheet.create({
   box: {
      color: 'red'
   }
})

const stylesB = StyleSheet.create({
   box: {
      color: 'red',
      'isActive=true': {
         color: 'blue'
      }
   }
})

Right, both styles stylesB.box and stylesA.box will reference a CSS class with just {color: red}. So why not return the same className right? The problem is, the classNames gets used to also reference the dynamic styles.
While stylesA.box does not contain dynamic styles at all, stylesB.box does. If you'd use the same className you could not differentiate which one actually should be used.
In that case e.g. ReactDOM.render(<ComponentA isActive />, document.body) would not render a red text, but a blue one, even if stylesA does not implement this.
In addition, StyleSheet.create will directly manipulate the styles passed in to avoid an extra assigning step. This could actually be discussed, as a pure predictable version without side-effects could actually prevent problems like this (not getting added to the DOM).
If you still need to do this, please Object.assing({}, styles) your styles first.

Ok, thanks!


Update pipeline to use 1ES pool

This looks good to me if @mikeharder approves. See also discussion on https://github.com/Azure/cadl-azure/pull/2084


Incorporate a separate dataset

User Story

As a user, I want to be able to access and create different types of data stored on the server

This has been completed.

This has been completed.