Create lxc image for alcor-control-agent (aca)

Discussed in https://github.com/futurewei-cloud/Distrinet/discussions/6

Originally posted by cj-chung January  5, 2022
Distrinet comes with a ubuntu 18 as a host image and ubuntu18+ovs as a switch image by default.
We need to create a lxc image to include aca in the host.

@a815027104 and @jiawei96-liu Do you have any progress about this issue?

After downloading the required files locally and modifying aca-machine-init.sh to use the local files for installation, the following problems still occurred.

Read cMakeOutput.log,
CMakeOutput.log
Determined that it may still rely on some libraries in the process of network problems, ready to try to install the vpn proxy in the lxd container。

After downloading the required files locally and modifying aca-machine-init.sh to use the local files for installation, the following problems still occurred.  Read cMakeOutput.log, CMakeOutput.log Determined that it may still rely on some libraries in the process of network problems, ready to try to install the vpn proxy in the lxd container。

Hi @a815027104 ,
Could you please share with us about how did you "download the required files locally and modify the aca-machine-init.sh"?
Based on the screenshot, the aca-machine-init.sh wasn't able to find the .cmake files. After downloading protobuf, did you install it, like how it was done in the script? Please take a look at line 79 of the src/CmakeLists.txt to get a better understanding of what the cmake is looking for.
Thank you.

According to your hints, I found that the problem is that I can't install grpc because there are too many submodules under grpc, so I choose to install it manually by transferring the required installation package externally. W  hen I got to step 7, the following problem occurred

Thank you for your update.
Do you mean that you downloaded the .debs manually, but when you tried to run
apt install -y ....

it gave you the error in your second screenshot?
I haven't met this before, but maybe you can try to following:

Run the apt install -y ..., but add a -f before the -y, so something like apt install -f -y ......
Since there are two .debs, and the client-dev depends on the client, you can try to run the install command for them separately. You can try to install the client first and then install the client-dev later.

Both the lxd container and its host are AMD chips.

Both the lxd container and its host are AMD chips.

I just ran the aca-machine-init.sh again on my development machine, the "Note, selecting ... instead of ..." also appeared, but it gave no error. You can refer to the attached file.
aca_installation_output.log
This machine is also an AMD machine:

Is it possible to try to run the aca-machine-init.sh on your host machine, and see if it can build?
Thanks

Another thing I can think of is to exclude the pulsar code in ACA and try to build again, if you are not using the Pulsar functionatilies yet, which I think you aren't.
What you need to do is, comment out the pulsar related code in the following files, and then try to run aca-machine-init.sh again, to see if it can build successfully

build/aca-machine-init.sh
src/aca_main.cpp
src/CMakeLists.txt
test/aca_test_main.cpp
test/CMakeLists.txt

Please give it a try and see how it goes.
Thank you.

@a815027104 any progress regarding this issue?

@a815027104 any progress regarding this issue?
pulsar installation has been completed, there are still some problems in the last step of installing aca, mainly due to network problems, grpc's sub-modules are not installed in some parts of the installation process, still troubleshooting.

ACA has been built successfully in LXD container with image ubuntu:18.04. aca-machine-init.sh split into two functions download_dependencis and install_dependencis for solving network problems. This ACA LXD container still needs an end-to-end test.

The build scripts are involved in PR #279 to ACA.


NoHttpResponseException in Tests

I have a very strange issue. I have a post method that receives an empty body and I have a test function to test it. If I run the test with only that function or the file where the function is there is no problem. If I run all the tests I got a NoHttpResponseException. I try to set a breakpoint in the handler but it seems the handler is not called when I run all the tests. I create a new server per file with tests in order to isolate the tests but it could be the reason of failing. I had no idea how to debug it in order to provide more information (I cannot share the code, sorry). I had enabled the logs for jetty but the requests are not even tracked there or not written to the logs.
EDIT: If I run everything with only one server it works too. So it might be some kind of issue when stopping one server and starting the new one.

Could you share a minimal broken code snippet?

I would have to write new code for it. Give me a couple of days

Closing this by now. I solved it using one server, so I am thinking it could be an issue with releasing the ports or something in the network stack. I will open again when I have something to reproduce it.

That could be the problem, yeah. I re-wrote all the tests to use port(0) recently because they were unreliable.


Create ucarolina.txt

Universidad Carolina, Saltillo MX

Carolina University, MX

@SalasYex First stage of verification passed, official domain for Universidad Carolina is ucarolina.edu.mx as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.


Import into Angular 4/5

Best way to import this package into an angular 4/5 application?

I'm using it like this:
import * as QRCode from 'qrcodejs2';

I'm using it like this:
import * as QRCode from 'qrcodejs2';

Is qrcodejs2 the ES6 compatible package? How did you know that?

I wasn't able to get this to work in an ES6 script.  Perhaps it doesn't.  But if it does, updating the documentation with an example would be great.  This issue was opened in 2018, it's 2024 now and
<script type="module">
import ...

is a very common way to using javascript libraries like this.


Initializer FCM through an initializer

Hi, I was recently using your gem to send messages to Firebase. But I don't like to configure an instance always when I want to send.
So about that, I was thinking about creating an initializer way to configure the gem before sending notifications. Instead of doing this:
require 'fcm'

fcm = FCM.new('API_KEY')

registration_ids = ['11', '12']
options = {
  title: 'Portugal vs Denmark',
  body: '5x1'
}

fcm.send(registration_ids, options)

And start doing this:
# config/initializers/fcm.rb
require 'fcm'

FCM.configure do |config|
  config.api_key = 'MY_API_KEY'
end

And the file I want to send notifications, just:
FCM.send(registration_ids, options)

I was working this morning on a version of that, but I stopped to try to view if this is useful right now. What do you think about that?

For this use case, I would usually create a global variable in any initializer.

@tianqiwuben How?

@rands0n just create a firebase.rb initializer with something like FIREBASE = FCM.new(ENV['FIREBASE_SERVER_KEY']) and use FIREBASE.send wherever you want


[Workspace] Add deprecation warning for v3 manifests

rdar://problem/41792011 Emit deprecation notice if there is a v3 manifest in a package graph
Emits a deprecation warning if there are v3 manifests in a
package graph.
(cherry picked from commit c9220990855f90671a974c85c5feeda6fc722591)

@swift-ci please smoke test


Do not start DEBUG = * node Core.js

Hi at startup DEBUG = * node Core.js crashes with an error
/home/cubie/HAP-NodeJS/node_modules/mdns/lib/advertisement.js:56
dns_sd.DNSServiceRegister(self.serviceRef, flags, ifaceIdx, name,
^
Error: dns service error: unknown
at Error (native)
at new Advertisement (/home/cubie/HAP-NodeJS/node_modules/mdns/lib/advertisement.js:56:10)
at Object.create [as createAdvertisement] (/home/cubie/HAP-NodeJS/node_modules/mdns/lib/advertisement.js:64:10)
at Advertiser.startAdvertising (/home/cubie/HAP-NodeJS/lib/Advertiser.js:43:30)
at Accessory._onListening (/home/cubie/HAP-NodeJS/lib/Accessory.js:498:20)
at emitNone (events.js:67:13)
at HAPServer.emit (events.js:166:7)
at HAPServer._onListening (/home/cubie/HAP-NodeJS/lib/HAPServer.js:169:8)
at emitNone (events.js:67:13)
at EventedHTTPServer.emit (events.js:166:7)
Help me to understand

What are you doing with DEBUG=* node Core.jsDEBUG=* node Core.js ???
If you want to run with debug level of logging, just do it once... DEBUG=* node Core.js

It accidentally executed such a command
This error when starting DEBUG = * node Core.js


Amazon package

Description
Fix mysql issues on amazon linux (as it specifies to china)
Issues Resolved
TBD but probably due to local issues in China.
Check List

[ ] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[ ] All commits have been signed for the Developer Certificate of Origin. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

Folks this is an in-progress PR for review purposes, not yet ready for merge, by some margin.

We've nuked the version logic so this shouldn't be necessary anymore.


fix: Fixed workflow queue duration if PVC creation is forbidden

Checklist:

[ ] Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
[ ] The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".  Fixes #3690
[ ] I've signed the CLA.
[ ] I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
[ ] My builds are green. Try syncing with master if they are not.
[ ] My organization is added to USERS.md.

This is available in https://github.com/argoproj/argo/releases/tag/v2.10.0-rc6


Expose xhr object on promise

See issue #89

The XMLHttpRequest object is an implementation detail of this fetch implementation that cannot be exposed to callers.

@dgraham I understand that but is there any way to get upload progress event out of fetch? Can't seem to find any other than this hack.

Fetch doesn't support progress events, but XMLHttpRequest does.
xhr = new XMLHttpRequest()
xhr.open('POST', '/uploads')
xhr.onload = function() {
  console.log(xhr.status, xhr.responseText)
}
xhr.onerror = function() {}
xhr.upload.onprogress = function (event) {
  if (event.lengthComputable) {
    percent = Math.round((event.loaded / event.total) * 100)
    console.log(percent)
  }
}


[vidio.com]

Guide
https://iptv-org.github.io/epg/guides/id/vidio.com.xml
Channels
https://vidio.com/live/8241-rans-channel
https://vidio.com/live/7230-magna-tv
https://vidio.com/live/7946-tv-tempo
https://vidio.com/live/7687-sea-today
https://vidio.com/live/7150-abc-australia
https://vidio.com/live/6852-makkah-tv
Notes
please add the channel, thank you

Most of the channels have been added in https://github.com/iptv-org/epg/commit/a8a6fb6f4e85139cd0e3a9146dc4fd9b83bd423b
Channel Magna TV is already on the list:
https://github.com/iptv-org/epg/blob/a8a6fb6f4e85139cd0e3a9146dc4fd9b83bd423b/sites/vidio.com/vidio.com.channels.xml#L42


Rasa train with stories not working

Hello I have created a bot that asks 30 questions. Until I had around 10 questions the bot was working perfectly. After I added more questions it stopped working. I deleted all models from the folder models and all the stories and created new stories through interactive mode. When I add max_history number 10 it is working (through a webpage) until some point after that I get that log:
   2019-07-05 13:52:43 DEBUG    rasa.core.processor  - Logged UserUtterance - tracker now has 35 events
   2019-07-05 13:52:43 DEBUG    rasa.core.policies.memoization  - Current tracker state [{'intent_affirm': 1.0, 'prev_utter_question1': 1.0}, {'slot_answer_0': 1.0, 'entity_answer': 1.0, 'prev_action_listen': 1.0, 'intent_ask_question': 1.0}, {'slot_answer_0': 1.0, 'prev_action_store_response1': 1.0, 'entity_answer': 1.0, 'slot_response1_0': 1.0, 'intent_ask_question': 1.0}, {'slot_answer_0': 1.0, 'entity_answer': 1.0, 'prev_action_listen': 1.0, 'slot_response1_0': 1.0, 'intent_ask_question': 1.0}, {'slot_answer_0': 1.0, 'entity_answer': 1.0, 'prev_action_store_response2': 1.0, 'slot_response1_0': 1.0, 'intent_ask_question': 1.0, 'slot_response2_0': 1.0}, {'slot_answer_0': 1.0, 'entity_answer': 1.0, 'prev_action_listen': 1.0, 'slot_response1_0': 1.0, 'intent_ask_question': 1.0, 'slot_response2_0': 1.0}, {'prev_action_store_response3': 1.0, 'slot_answer_0': 1.0, 'entity_answer': 1.0, 'slot_response3_0': 1.0, 'slot_response1_0': 1.0, 'intent_ask_question': 1.0, 'slot_response2_0': 1.0}, {'slot_answer_0': 1.0, 'entity_answer': 1.0, 'prev_action_listen': 1.0, 'slot_response3_0': 1.0, 'slot_response1_0': 1.0, 'intent_ask_question': 1.0, 'slot_response2_0': 1.0}, {'slot_answer_0': 1.0, 'entity_answer': 1.0, 'prev_action_store_response4': 1.0, 'slot_response4_0': 1.0, 'slot_response3_0': 1.0, 'slot_response1_0': 1.0, 'intent_ask_question': 1.0, 'slot_response2_0': 1.0}, {'slot_answer_0': 1.0, 'entity_answer': 1.0, 'slot_response4_0': 1.0, 'prev_action_listen': 1.0, 'slot_response3_0': 1.0, 'slot_response1_0': 1.0, 'intent_ask_question': 1.0, 'slot_response2_0': 1.0}]
   2019-07-05 13:52:43 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
   2019-07-05 13:52:43 DEBUG    rasa.core.policies.fallback  - NLU confidence threshold met, confidence of fallback action set to core threshold (0.3).
   2019-07-05 13:52:43 DEBUG    rasa.core.policies.ensemble  - Action 'action_listen' was predicted after a user message using policy_1_KerasPolicy. Predicting fallback action: action_default_fallback
   2019-07-05 13:52:43 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_2_FallbackPolicy
   2019-07-05 13:52:43 DEBUG    rasa.core.processor  - Predicted next action 'action_default_fallback' with confidence 1.00.
   2019-07-05 13:52:43 DEBUG    rasa.core.processor  - Action 'action_default_fallback' ended with events '['UserUtteranceReverted()']'
   2019-07-05 13:52:43 DEBUG    rasa.core.processor  - Current slot values:
    affirm: None
    answer: not at all
    deny: None
    response1: not at all
    response10: None
    response11: None
    response12: None
    response13: None
    response14: None
    response15: None
    response16: None
    response17: None
    response18: None
    response19: None
    response2: not at all
    response20: None
    response21: None
    response22: None
    response23: None
    response24: None
    response25: None
    response26: None
    response27: None
    response28: None
    response29: None
    response3: not at all
    response30: None
    response4: not at all
    response5: None
    response6: None
    response7: None
    response8: None
    response9: None
    symptoms: None
   2019-07-05 13:52:43 DEBUG    rasa.core.policies.memoization  - Current tracker state [{'intent_affirm': 1.0, 'prev_action_listen': 1.0}, {'intent_affirm': 1.0, 'prev_utter_question1': 1.0}, {'slot_answer_0': 1.0, 'entity_answer': 1.0, 'prev_action_listen': 1.0, 'intent_ask_question': 1.0}, {'slot_answer_0': 1.0, 'prev_action_store_response1': 1.0, 'entity_answer': 1.0, 'slot_response1_0': 1.0, 'intent_ask_question': 1.0}, {'slot_answer_0': 1.0, 'entity_answer': 1.0, 'prev_action_listen': 1.0, 'slot_response1_0': 1.0, 'intent_ask_question': 1.0}, {'slot_answer_0': 1.0, 'entity_answer': 1.0, 'prev_action_store_response2': 1.0, 'slot_response1_0': 1.0, 'intent_ask_question': 1.0, 'slot_response2_0': 1.0}, {'slot_answer_0': 1.0, 'entity_answer': 1.0, 'prev_action_listen': 1.0, 'slot_response1_0': 1.0, 'intent_ask_question': 1.0, 'slot_response2_0': 1.0}, {'prev_action_store_response3': 1.0, 'slot_answer_0': 1.0, 'entity_answer': 1.0, 'slot_response3_0': 1.0, 'slot_response1_0': 1.0, 'intent_ask_question': 1.0, 'slot_response2_0': 1.0}, {'slot_answer_0': 1.0, 'entity_answer': 1.0, 'prev_action_listen': 1.0, 'slot_response3_0': 1.0, 'slot_response1_0': 1.0, 'intent_ask_question': 1.0, 'slot_response2_0': 1.0}, {'slot_answer_0': 1.0, 'entity_answer': 1.0, 'prev_action_store_response4': 1.0, 'slot_response4_0': 1.0, 'slot_response3_0': 1.0, 'slot_response1_0': 1.0, 'intent_ask_question': 1.0, 'slot_response2_0': 1.0}]
   2019-07-05 13:52:43 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
   2019-07-05 13:52:43 DEBUG    rasa.core.policies.fallback  - NLU confidence threshold met, confidence of fallback action set to core threshold (0.3).
   2019-07-05 13:52:43 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_KerasPolicy
   2019-07-05 13:52:43 DEBUG    rasa.core.processor  - Predicted next action 'action_listen' with confidence 0.96.
   2019-07-05 13:52:43 DEBUG    rasa.core.processor  - Action 'action_listen' ended with events '[]'
   2019-07-05 13:52:43 DEBUG    rasa.core.agent  - Deleted lock for conversation '100446b0-cd03-4f80-aba7-866871482fa7' (unused)

I train it with:
  rasa train -c config.yml -d domain.yml

I ran it for the webpage with:
 python3 -m rasa_sdk.endpoint --actions actions --port 8005 &
 python3 -m rasa run -m ./models --endpoints endpoints.yml --port 8890 --log-file new_log.log -vv --enable-api --debug

and this is my config file:
   language: "en"

   pipeline:
   - name: "SpacyNLP"
   - name: "SpacyTokenizer"
   - name: "RegexFeaturizer"
   - name: "SpacyFeaturizer"
   - name: "CRFEntityExtractor"
   - name: "EntitySynonymMapper"
   - name: "SklearnIntentClassifier"
   - name: "DucklingHTTPExtractor"
     # url of the running duckling server
     url: "http://localhost:8000"
     # dimensions to extract
     dimensions: ["amount-of-money", "distance", "duration", "email", "number", "ordinal", "phone-number", "quantity", "temperature", "time", "unit", "unit-of-duration", "url", "volume"]
     # allows you to configure the locale, by default the language is
     # used
     locale: "en_EN"
     # if not set the default timezone of Duckling is going to be used
     # needed to calculate dates from relative expressions like "tomorrow"
     timezone: "Europe/Athens"
   policies:
     - name: MemoizationPolicy
       max_history: 10
     - name: KerasPolicy
       epochs: 50
       max_history: 10
     - name: FallbackPolicy
       nlu_threshold: 0.8
       core_threshold: 0.3

Also, if I run it from rasa shell I get stack in a loop in question4. It keeps repeating question 4.
Maybe I am not training it correctly?
Thank you

Please ask these kind of questions in our forum


Unable to decode

'otpauth-migration://offline?data=CiQKCAAAAAwOAA5FEgtyaXNoaS1zaW5naBoFQXBwbGUgASgBMAIQARgBIAAo2pOLmvz%2F%2F%2F%2F%2FAQ%3D%3D'
When i use this example uri, i get this error: FormatException: Invalid encoding before padding (at character 68) CiQKCAAAAAwOAA5FEgtyaXNoaS1zaW5naBoFQXBwbGUgASgBMAIQARgBIAAo2pOLmvz%2F%2F%2...

this is exactly what i am getting

Its URL Encoded you have to do the following:
Url Decode the part after otpauth-migration://offline?data=
Then you can take your decoded URL String and do the following:
otpauth-migration://offline?data=URL-DECODED-STRING


POWR320D automatically turning off

I have an device POWR320D from sonoff and after integration it turn off automatically after 7-10 minutes of power on regardless of having or not consumption on the device. After this switching off the device even the setting of "Power-on State" reset.  I've search all the integration and i've remade the integration several times but still didn't find what trigger this switching off the device. Did anyone ran into this problem? Where can I search to see what is triggering my device?
sonoff-01JCG83RP5T034ZSPD6C7QN4QT-AC power -d0d41937218dbc595d228e0e69b397d6.json
config_entry-sonoff-01JCG83RP5T034ZSPD6C7QN4QT.json

Your device has several auto off settings (power protection). You can find them in your file.


Hovering Effect Enhanced!!!

Fixes: #149
I have enhanced the Hovering effect , please take a look.
Before:

After:

Thats too much box shadow on hovering @UjjwalGupta1105

Is it okk now??

Can I create a pull request now?

Yes @UjjwalGupta1105

fixes:#149
All the changes are added now , you can now merge it .

Looks Good. @HimanshuNarware check it out.

Looks fine @UjjwalGupta1105 Good Work

As the PR is already merged , you haven't assigned me the task ,
So please assign me the task so that the PR gets count in my Leaderboard .


Stuck on while loop after "found kernel text"

Trying out the jailbreak on my iPhone 6 (7,2) and I get passed the crash that most are having at found corruption but then it freezes afterwards at "found kernel text at" I did some logging in the code and it seems to be stuck at the while loop around line 247 (while (proc_) {) any ideas?
This is running while still attached to Xcode by the way.

Not Supported you nugget

@nicogibbons is right. You can, however, figure out how to fix this.
Also, what iOS version are you using?

@nicogibbons Damn well it doesn't say that anywhere...
@DarknesGaming iOS 10.2

Appears the offset I got was incorrect, used a different kernel cache and it continued on down to another crash, the hunt continues!

lol good luck

0x5b8468 is the one I used to continue but I think I had 0x5a8438 before that


Select on Preview, Popup to inform of Long press

Two feature requests:

On the full screen preview screen have the ability to select/deselect photos
Tell user about long press with tutorial like popup

Hi @pushtheworldllc

Many people had requested such feature. As the preview screen (CTAssetsPageViewController) might be reused for viewing assets, I have to find a proper way to make it more customisable first.

Tutorial like popup might not be good as a custom control. You might consider to show such tutorial before presenting the picker.


fix: make utxo and challenge related endpoints tolerate bad utxo_pos

fixes #594
also smuggles some tidies, where {:utxo_positions,...} internal representation of Utxo.Position leaked.
Utxo.position macros should be used instead.
Background: the Utxo.Position.decode! was missed as it was originally intended to serve only internally.
Since it is also used in handling of user inputs, we introduce it and make the "non-!" version return a verbose error

closing in favor of #599 sporting a cleaner handling of dialyzer woes related to the Utxo.Position.decode! and Utxo.position


wasm_functype_new_1_1 & similar faulting

Test Case
#include <stdio.h>
#include <stdlib.h>
#include <wasm.h>
#include <wasmtime.h>
int main()
{
wasm_config_t* wasm_config = wasm_config_new();
wasmtime_config_debug_info_set(wasm_config, true);
wasm_engine_t *engine = wasm_engine_new_with_config(wasm_config);
printf("A");
wasm_valtype_t* val_i32 =  wasm_valtype_new(WASM_I32);
wasm_functype_t *__ft_i32_out_i32  = wasm_functype_new_1_1(val_i32, val_i32);
printf("B");
printf("\n");
return 0;
}
Steps to Reproduce
Compile the above, Windows (might also fault other platforms, but untested). Run it.
Expected Results
Completes - Output: AB
Actual Results
Faults in: wasm_functype_new_1_1
Versions and Environment
Tip as of 5/5/2023 at 13:00 GMT
Windows 11 Home, X64
Extra Info
Reverting the following resolves the regression.
https://pastebin.com/2Yt3FG9E
... though the spec apparently states that function should reassign owner rather than clone, rework of regressed functionality.

wasm_functype_new_1_1 consumes both arguments according to the header declaration: https://github.com/WebAssembly/wasm-c-api/blob/c9d31284651b975f05ac27cee0bab1377560b87e/include/wasm.h#L607 This means that you can't pass the exact same argument twice without causing a crash. You have to call  wasm_valtype_new(WASM_I32) once for each use and never reuse it after passing it to wasm_functype_new_1_1.

ahhhh :)
what an odd api.

The following faults on wasm_valtype_delete so it seems we should never call wasm_valtype_delete as the value has been sucked internal to wasm_valtype_new.
Hence wondering why wasm_valtype_delete API entrypoint even exists.
int main()
{
wasm_config_t* wasm_config = wasm_config_new();
wasmtime_config_debug_info_set(wasm_config, true);
wasm_engine_t *engine = wasm_engine_new_with_config(wasm_config);
printf("wasm_functype_new_1_1[before].\n");
wasm_valtype_t* val_i32_1 =  wasm_valtype_new(WASM_I32);
wasm_valtype_t* val_i32_2 =  wasm_valtype_new(WASM_I32);
wasm_functype_t *__ft_i32_out_i32  = wasm_functype_new_1_1(val_i32_1, val_i32_2);
printf("wasm_functype_new_1_1[after].\n");
wasm_functype_delete(__ft_i32_out_i32);
wasm_valtype_delete(val_i32_1);
wasm_valtype_delete(val_i32_2);
return 0;
}


Array problem

Hi! I did a select adaptive expression on an array from an api where i wanted to get all numbers from arrays. Although i only get Null on each number from bot response... PLEASE HELP!

Hi @axelekenberg
Can you give some sample data here? We need more info to be able to assist.

What is your adaptive expression?
What does the array returned from the api look like?

Closing due to lack of response and information.


[WIP] FastAP with DealIIMatrixFreeMeshEvaluator

With these changes FastAP works with the MatrixFree interface.
Currently, working with one eigenvalue, failing with two.

Codecov Report

Merging #161 into master will increase coverage by 0.42%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #161      +/-   ##
==========================================
+ Coverage   89.09%   89.52%   +0.42%
==========================================
  Files          53       53
  Lines        2503     2605     +102
==========================================
+ Hits         2230     2332     +102
  Misses        273      273

Impacted Files
Coverage Δ

...mg/dealii/dealii_matrix_free_hierarchy_helpers.hpp
100% <ø> (ø)
:arrow_up:

tests/test_hierarchy.cc
83.26% <100%> (+3.15%)
:arrow_up:

...rce/dealii/dealii_matrix_free_hierarchy_helpers.cc
100% <100%> (ø)
:arrow_up:

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 69cdc4a...f2403f0. Read the comment docs.

This seems to work now.

This seems to work now.

Why did you change to make it work?

I think it really just was the different eigenvalue solver in the other test.

Anything you still want me to do here?


Create be_by

Belorussian language
Fixes #
Proposed Changes

the language file must have a .json extension

And how should I make it?


.pollend

For both groups that have this bot, .pollend seems to not be able to end the poll.  Is there something I'm missing here, or does it not work after the latest update?

Are you sure the bot wasn't restarted between your poll start and poll end?

Yeah, just tested on 1.43.1 and polls are working the same as always. 🤔

I don't know.  Does that include when the bot goes offline?  I've tested it several times, but every time the pollen doesn't work.  Bot goes online very frequently, sometimes ever half-hour.

As @Kwoth stated, @VenomPuppy, if the bot goes offline, that kills the poll. Polls cannot persist through a bot restart or shutdown.
If your bot is restarting every 30 minutes, you have other issues you need to address. 😛


Use the CFT devtools light image in CICD

Fixes https://github.com/GoogleCloudPlatform/healthcare-data-protection-suite/issues/850

you can also use the testing project in go/dpt-tracker to test this change by updating the DPT version pin in the config for that folder foundation deployment

Works fine when I tested it in the internal environment


Support Recursive Conditional Types

Search Terms
recursive conditional
Suggestion
I want to be able to use recursive conditional types.
Use Cases
In this type:
type MapParams<T extends any[]> =
    ((...t: T) => any) extends ((first: string, ...tail: infer TRest) => any) ?
    Prepend<First<T>, MapParams<TRest>> :
    Partial<T>;

I am making all elements optional except for the ones at the start that are strings. This fails as MapParams references itself so I get a Type alias 'MapParams' circularly references itself.(2456) error.
Examples
type Prepend<TFirst, TRest extends any[]> =
    ((head: TFirst, ...args: TRest) => any) extends ((...args: infer U) => any)
    ? U
    : TRest;

type First<T extends any[]> = T extends [infer TFirst, ...any[]] ? TFirst : never;

type MapParams<T extends any[]> =
    ((...t: T) => any) extends ((first: string, ...tail: infer TRest) => any) ?
    Prepend<First<T>, Partial<TRest>> : // should be Prepend<First<T>, MapParams<TRest>>
    Partial<T>;

function myFunction(one: string, two: string, three: number, four: boolean) { }
function mappedFunction(...args: MapParams<Parameters<typeof myFunction>>) { }

mappedFunction("") // should NOT work - string at index 1 should be required
mappedFunction("", "") // should work
mappedFunction(undefined) // should not work
mappedFunction() // should not work

Playground
Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

I can up with this inelegant solution that works but only handles up to 10 params
type MapOne<T extends any[]> = ((...t: T) => any) extends ((f: string, ...t: infer TRest) => any) ? Prepend<First<T>, MapTwo<TRest>> : Partial<T>;
type MapTwo<T extends any[]> = ((...t: T) => any) extends ((f: string, ...t: infer TRest) => any) ? Prepend<First<T>, MapThree<TRest>> : Partial<T>;
type MapThree<T extends any[]> = ((...t: T) => any) extends ((f: string, ...t: infer TRest) => any) ? Prepend<First<T>, MapFour<TRest>> : Partial<T>;
type MapFour<T extends any[]> = ((...t: T) => any) extends ((f: string, ...t: infer TRest) => any) ? Prepend<First<T>, MapFive<TRest>> : Partial<T>;
type MapFive<T extends any[]> = ((...t: T) => any) extends ((f: string, ...t: infer TRest) => any) ? Prepend<First<T>, MapSix<TRest>> : Partial<T>;
type MapSix<T extends any[]> = ((...t: T) => any) extends ((f: string, ...t: infer TRest) => any) ? Prepend<First<T>, MapSeven<TRest>> : Partial<T>;
type MapSeven<T extends any[]> = ((...t: T) => any) extends ((f: string, ...t: infer TRest) => any) ? Prepend<First<T>, MapEight<TRest>> : Partial<T>;
type MapEight<T extends any[]> = ((...t: T) => any) extends ((f: string, ...t: infer TRest) => any) ? Prepend<First<T>, MapNine<TRest>> : Partial<T>;
type MapNine<T extends any[]> = ((...t: T) => any) extends ((f: string, ...t: infer TRest) => any) ? Prepend<First<T>, MapTen<TRest>> : Partial<T>;
type MapTen<T extends any[]> = ((...t: T) => any) extends ((f: string, ...t: infer TRest) => any) ? Prepend<First<T>, Partial<TRest>> : Partial<T>;

Playground

Duplicate of #26980, but yes, please.

@Roaders
Sounds like you could use trampolines
https://github.com/microsoft/TypeScript/issues/26980#issuecomment-566214255


No report is being generated

I followed all steps but when I click on PDF report generation button, no report is shown in browser. It just keeps loading and loading.

Ahhh....sorry.....one latex was missing..... mptopdf ...after installing it report is being generated...thnx for this  cool tool...


Bug report

There’s a bug when you have apps installed with emoji on the homescreen it doesnt display, even when you’re on an unjailbroken state it does the same thing. To recreate the bug you’ll have to sign an app through a 3rd party with the emoji icon. I’ve also attached a picture of the bug

I don't see the picture.

Here is the link to link with the image of the homescreen emoji bug https://imgur.com/a/esLIHWT

Which font you are using?

15.4 font on ios 14.8 11pro max unc0ver

Did you use EmojiFontManager to install the font? How did you get the font?

Yes. After installing emojifontmanager v1.1.7 and emoji ios 15.4 (EFM) v1.0.2, i then selected it from emoji FontManager to enable it, all of the new emojis load fine and most of the bugs were fixed with the updates, however the homescreen bug is the one that remains. I’ve restored rootfs to troubleshoot the issue to makes sure it not another tweak and it wasnt till i reinstalled the mention tweaks the issue returned

But are you sure that the name with emoji of those apps are actually emoji? They could very well be just pictographic characters.

Yes. I selected the name and emoji myself to tell apart the certificate apps from the the actual ones that are from the appstore. For a while now it shows up on my home screen till i’ve installed the emojifontsmanager along with the resources and emoji ios 15.4. And That when the apps with the emoji started to turn like the picture i sent you and even when i sign the new apps with another kind of emoji it does the same thing the app works fine. And if you’re curious about the app that i use to sign apps it’s called ipastore. I also have it on another device and it sign the apps with the emoji perfectly running the same ios 14.8. To fix the bug from showing up i had to restore rootfs

It’s funny that you’ve mentioned the folder emoji
I just found this out now https://imgur.com/a/4Ii2RAY
the 2nd device has no bugs


Add support for Docker images

We should be able to extract from Docker images - either OSI-compatible or another format.

I did a bit of searching but I was not able to find a C# api for parsing OCI images.
I think the spec is open, if so and we considered it high priority I could implement a parser from the spec, like I did for .ar files (though I suspect the spec for OCI is more complex).
I did find that the Docker cli has a method to export an image as a tar file, if you want a workaround you can use right now.
https://docs.docker.com/engine/reference/commandline/image_save/

OCI image spec:
https://github.com/opencontainers/image-spec

The reference implementation is in go. One potential option is to start with a Go to C# converter like this one: https://go2cs.net/.


Warning if no background

PR Checklist
If you are contributing to Javis.jl, please make sure you are able to check off each item on this list:

[x] Did I update CHANGELOG.md with whatever changes/features I added with this PR?
[x] Did I make sure to only change the part of the file where I introduced a new change/feature?
[x] Did I cover all corner cases to be close to 100% test coverage (if applicable)?
[x] Did I properly add Javis dependencies to the Project.toml + set an upper bound of the dependency (if applicable)?
[x] Did I properly add test dependencies to the test directory (if applicable)?
[x] Did I check relevant tutorials that may be affected by changes in this PR?
[x] Did I clearly articulate why this PR was made the way it was and how it was made?

Link to relevant issue(s)
Closes #214
How did you address these issues with this PR? What methods did you use?
The video now saves a range for which a background is defined. The preprocess_frames! function then checks whether some frames don't have a background and throws a warning.
Additionally I've changed some test cases to not throw a warning :smile:

I have no idea why format is failing. I've run the format command. Maybe you can double check this @TheCedarPrince

Only other question that I had is should we seek to identify which Object does not have a background defined?
I don't think we can.


OpenSSL 1.0.2j-fips

The latest version of chef-client (12.14.89) has OpenSSL 1.0.2h
$ /opt/chef/embedded/bin/openssl version
OpenSSL 1.0.2h-fips  3 May 2016

Is there a timeline for when 1.0.2j will be bundled in the next chef-client?

This should be marked as a security issue, since the pending OpenSSL update includes fixes for a number of vulnerabilities. I don't see a 'security' label or any other way to mark an issue as such, though.

I believe this should be in the chef/chef repo as this is a cookbook that installs chef, not the chef client itself. Here's a PR for chef client: https://github.com/chef/chef/pull/5448


SwiftUI Demo Example

Hi there,

/FDSoundActivatedRecorder/SwiftUI Example/

is ready to be pulled.  Let me know if you see any room for improvement.
Best Regards,
Engin

Beautiful, thanks for your help


Not an issue

Download link so that I can test this on my Android 5.1 AOSP WIKOSLIDE2? Thanks 😊

I just tested as of now and its not working on android lollipop aosp rom, My storage internal/external are not showing can you fixed?


No support for tracking results during training (tm.fit())

There is no support for tracking loss/accuracy during training and testing of the tsetlin machine. The only data that is available is the end results. It would be helpful to see the data as the machine is training to gain insight in how the machine learns over time.

Will look into implementing similar interface as seen in keras/pytorch


Implement the index.html convention client-side in the folder browser

The index.html convention  is pretty well established, and implemented in Solid Servers  (well NSS and CSS) ...in that if you access a folder, including the root of pod, like https://solidos.solidcommunity.net/ , then it seems logical that when the folder browser in SolidOS is browsing such a URI which ends in /, when it notices that there is an index.html file, it should show that HTMNL file to the user, maybe next to or as an alternative to (tabs? drawer? drawer for thelist of files) the list of folder contents.

curl -X PUT -H'Content-Type: text/html' https://example.org/

200

curl -iH'Accept: text/html' https://example.org/

Content-Location: index.html

?

index.html is a configurable delivery for requests for URIs ending in / in apache, nginx, and other HTTP servers.  I believe Solid servers should learn from these examples.
For examples, see https://httpd.apache.org/docs/2.4/mod/mod_dir.html, http://nginx.org/en/docs/http/ngx_http_index_module.html.


Add lookup table and other lookup rows to the opening proof

This PR adds the lookup table, the aggregation table and the sorted lookup tables to the opening proof.

done in https://github.com/o1-labs/proof-systems/pull/551


Stack-based nested input traversal in generated code

The title says it all.

👍 , looks good to me!


observed interesting behaviour when "collecting all"

I just did a collect all..
when the view updated I was surprised that the last students didn't have  a little pencil icon.. he/she still had a blue box.
I stared at this for a few seconds, refreshed the screen (with browser refresh) and lo and behold the last student got a yellow pencil too.
hope this is a clue to some race condition..

Collecting happens in the background, so the first update to the view doesn't necessarily happen when the collection is complete.  We clearly need a visual clue that collecting is still in progress.


Fix sample ref-types/wasm-c-api build error with wab2wasm low version

Fix build error in sample ref-types and wasm-c-api caused by the
version of wat2wasm: refine makefile to auto detect the wat2wasm
version and add the compile flag accordingly.

LGTM


ban/banip: index out of range

these are missing checks (or need higher minArgs) if someone only uses 1 argument (like !ban asdf)
panic: runtime error: index out of range [1] with length 1

goroutine 153 [running]:
github.com/leighmacdonald/gbans/service.onBanIP(0xc0002aed80, 0xc000006048, 0xc0004bc2d0, 0x1, 0x1, 0x0, 0xc0004bc2d0)
        Y:/tf2server/gbans/service/bot_handlers.go:153 +0x6a6
github.com/leighmacdonald/gbans/service.onMessageCreate(0xc0002aed80, 0xc000006048)
        Y:/tf2server/gbans/service/bot.go:164 +0x431
github.com/bwmarrin/discordgo.messageCreateEventHandler.Handle(0x1917730, 0xc0002aed80, 0x17d9b80, 0xc000006048)
        C:/Users/dog/go/pkg/mod/github.com/bwmarrin/discordgo@v0.22.0/eventhandlers.go:497 +0x52
created by github.com/bwmarrin/discordgo.(*Session).handle
        C:/Users/dog/go/pkg/mod/github.com/bwmarrin/discordgo@v0.22.0/event.go:171 +0x118

Thanks, this should no longer be an issue once slash commands are added, which is already underway.


Slider min value

I'm working on a project where i need a slider to take values from 3 to 10, so i added a min_value field in the SliderView struct. This field is completely optional, defaults to 0 and doesn't break older versions of the library. The visual length of the slider is also adjusted according to this min value, as can be seen in the example

Hi, and thanks for the PR!
I think I omitted a "min value" from the slider to keep it minimal: the "max value" is always the length of the slider (no interpolation), and it's up to consumers to adapt this value to the desired range.
An alternative would be to let users set the valid range, and maybe even adapt to the available size: so a slider with 3 steps could be drawn, if needed, over a larger area, "skipping" steps, so the available modes could be:
[X----]
[--X--]
[----X]

This is a bit more complicated, since we must now map the "valid range" to the "display range", and not all cases are as simple as mapping 1-3 to 1-5.
I'm not entirely sure an intermediate solution is worth it: since the current number of steps is mostly display-based, the user will likely want to adapt the value to their valid range, and not just by adding the min value. So I fear that this is not enough for some users (who want to handle complex ranges), and not useful for others (who just want the "display-based" steps and adjust to their own ranges). That's just a subjective opinion, and I'm open to discussing it.
If we do want to add this, I have a few other nits: right now (I don't fully remember why), the max size is given at creation, and never changes. I would either keep that (taking the full range during creation), or change it entirely (letting users change both min and max value).
I'd also maybe store the valid range as a Range<usize>.
On a different note, maybe usize is also not the best type for steps here? u32 would probably be enough, and would be more architecture-independent. But then again that's a different problem that's present in the entire library, not just this type. :shrug:


update IMPORT/COPY guidance

DOC-6723
DOC-6887
This is an interim update to get our migration docs up to date on the data ingestion options.

Added deprecation notice to IMPORT docs (23.1 and 22.2, specifying "as of v23.1" in both).
Updated & lightly restructured Migration Overview to recommend COPY FROM, IMPORT INTO, and AWS DMS with some considerations for each. (Reviewers: I'd like to enhance these considerations with more detail, if possible.)
Lightly updated & restructured COPY FROM and IMPORT INTO reference docs for usability.
Clarified that schema can be exported from SCT for use with self-hosted cluster.
Added recommendation for "latest production release" on DMS docs while I'm here.

I ran out of time to review this @dikshant and @DingDLu can one of you make sure to give this a LGTM from product? It doesn't need to wait till I get back to review and merge.

Based on the outlined changes, it looks good to me.


Implement "mutable" memory-mapped bitmaps through copy-on-write

Currently, we can map a Roaring bitmap to a disk or out-of-Java storage.
ByteBuffer bb = ...
ImmutableRoaringBitmap rr = new ImmutableRoaringBitmap(bb);

This is great and it works well. However, if one wants to mutate the result, then one has to copy all of the data, e.g.
MutableRoaringBitmap m = rr.toMutableRoaringBitmap();

For obvious reasons, that is not ideal.
In a Go implementation of Roaring, another approach was used based on copy-on-write:

FromBuffer creates a bitmap from its serialized version stored in buffer
The provided byte array (buf) is expected to be a constant. The function makes the best effort attempt not to copy data. You should take care not to modify buff as it will likely result in unexpected program behavior.
Resulting bitmaps are effectively immutable in the following sense: a copy-on-write marker is used so that when you modify the resulting bitmap, copies of selected data (containers) are made. You should not change the copy-on-write status of the resulting bitmaps (SetCopyOnWrite).

https://godoc.org/github.com/RoaringBitmap/roaring#Bitmap.FromBuffer

@lemire This looks interesting - is this still open and relevant ?

It is still open, yes!


Prepare for 0.1.0: clean up build, add tests, add array support.

@rgbkrk, could you take a look?

Want me to enable Travis for this repository?


add some explicit information to the README.md

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Pls merge this pull request. No workflow is awaiting approval


how to add conf-thres，when use an engine file to predict

use YOLOv8-TensorRT ,I generated engine and it works.
I want to know ，use the engine how can I set a new conf-thres.

use YOLOv8-TensorRT ,I generated engine and it works. I want to know ，use the engine how can I set a new conf-thres.

The end2end model has already contain the conf-thres in onnx.
If you want to customize the conf-thres, you should try normal https://github.com/triple-Mu/YOLOv8-TensorRT/blob/main/docs/Normal.md


Setup Flutter

Add files related to Flutter development, located in /src/frontend.

In frontend branch atm, want to double check how .gitignore works before merging and re-branching


Open Source License

I don't see an open source license attached to this code. Is there any chance you could formally open source it?

Added :)


Additional HTTP Headers/Basic Auth Support for install & submit

These updates support additional HTTP headers during both installation & submit (pulled from the Munki configs... either /Library/Preferences/ManagedInstalls.plist or /private/var/root/Library/Preferences/ManagedInstalls.plist). This is useful if you have additional headers you want or need to send, esp. if you're using HTTP Basic Auth and have Munki & MunkiReport running on the same server (since OS X 10.9 Mavericks and newer only support a single realm for an entire site, unless you're splitting up Munki & MunkiReport to different subdomains or want to significantly modify your Apache configs).
If installing from a server that requires HTTP Basic auth, you may want to run the installer as follows:
bash-3.2$ sudo /bin/bash -c "$(curl -s -H "Authorization: Basic INSERT_AUTH_HASH_HERE" https://example.com/index.php?/install

If I understand correctly, you're sending any http headers that are defined in  ManagedInstalls.plist to the munkireport server on each request?

That is correct.

When someone uses HTTP Basic auth for the munki repo but munkireport is on another server, this change would send the munki headers to any munkireport server.
I would like to have a preference item in /Library/Preferences/Munkireport.plist to signify that adding AdditionalMunkiHeaders is required, so reportcommon.curl only sends the additional headers when necessary.  {UseMunkiHeaders: True} ?

Makes sense. Similar to your request of @keeleysam on Pull Request #110.
We'd have to add a preference on the server side as well to ensure that it injects the headers when it builds out the install script too. I'll mock up an example for both.

@bochoven @keeleysam Actually, while I'm playing with this, should we be keeping these prefs separate or is it worth having a server-side pref that says MunkiReport is running on the same host as Munki? Again, thinking of this as well as PR #110.

I don't think a server side pref is necessary, admins can add/change/remove the setting on the clients (using munki/ARD/etc.)

@morgant Are you still working on this?

@bochoven Yes. We're using this in production (it's required for our environment), so I'll review it's state (specifically, the prefs situation).

Okay, I've reviewed the code and completed adding & testing a client-side-only UseMunkiAdditionalHttpHeaders MunkiReport preference which triggers the sending of Munki's additional HTTP headers. That said, this is from an old branch, so I need to create a new branch from 'wip' and make a clean commit (and probably new pull request). I'll try to have all that wrapped up tomorrow.

I have replaced this PR with Pull Request #354.


ltb-passwd default to ldaps. there should be an option to select ldap or ldaps

Is your feature request related to a problem? Please describe.
I am exposing ldap within the cluster and dont want ssl. the ltb-passwd chart default to using ldaps.
Describe the solution you'd like
There should be option to select ldap or ldaps port
Describe alternatives you've considered
Creating a separate chart for ltb-passwd
Additional context
Add any other context or screenshots about the feature request here.

Hey,
I'm not a fan of exposing ldap instead of ldaps.
But if you need to , you can add a parameter ´insecure´ in the ssp-pd chart to use ldap instead of ldaps and add it to the values then it'll be available in the main chart


Models annotated with static JsonCreator factory methods do not render properly

I have observed that with the latest 2.0.0 release of Springfox, when I use @JsonCreator in my model's method, the resulting schema renders as an empty object.
I have created a repo for illustration here: https://github.com/who/emptymodeltest
Given this model ...
public class ComplexRequest{
    private String[] things;
    private String thing;
    private String anotherThing;
    private String andAnotherThing;

    @JsonCreator
    public static ComplexRequest create(
            @JsonProperty("things") String[] users,
            @JsonProperty("thing") String start,
            @JsonProperty("anotherThing") String limit,
            @JsonProperty("andAnotherThing") String sort) {

        return new ComplexRequest(users, start, limit, sort);
    }

    private ComplexRequest(String[] users, String start, String limit, String sort) {
        this.things = users;
        this.thing = start;
        this.anotherThing = limit;
        this.andAnotherThing = sort;
    }

    public String[] getThings() {
        return things;
    }

    public String getThing() {
        return thing;
    }

    public String getAnotherThing() {
        return anotherThing;
    }

    public String getAndAnotherThing() {
        return andAnotherThing;
    }
}

... and this request mapping ...
    @RequestMapping(value = "/foo", method = RequestMethod.POST, produces = "application/json")
    public Map<String, String> testMethod(@RequestBody(required = true) ComplexRequest request) {
        Map<String, String> hash = new HashMap<>();
        hash.put("foo", "bar");
        return hash;
    }

... this will be the resulting definitions block:
    "definitions": {
        "ComplexRequest": {}
    }

Yeah I think there is already a feature request for this. It may be time to revisit this feature. Might be much easier to do this now


Frosted background needs a different treatment for Firefox

Firefox doesn't display the backdrop-filter CSS property. To ensure proper contrast browsers not supporting this property should have less opacity than those that support the blur.
Screenshot of Chrome vs. Firefox

Hi @theadamparker , I've adjusted the css to reduce the opacity of the img if the blur effect is not supported.

@mrelevo , please verify

Verified in dev. Firefox supports backdrop-filter in versions >102, but this was verified in version 102 via Browserstack.

verified in storybook and Global DEV


Complex filtering UI

Would be nice to support a more complex filtering system with a nice UI. For example, given an index/1 that looks like:
index do
  field :name, :string, search: true
  field :age, :integer, search: true
  field :verified, :boolean, search: true
end

We know the type of the field, so we should be able to render the corresponding form fields for them (text_input for :string, number_input for :age, checkbox for :boolean). Then on field submission we can package it into a nice query params and have UserLive.Index (Backoffice.Resources) handle the query params, before passing it off to Resolvers.
e.g:
`?name=search&age=>18&verified=true&page=1" then perhaps convert it to something more structured for resolvers to work with?
Then the resolvers receives them in page_otps and can decide what to do with these fields.

I have a draft for the filtering engine behind the scene, but I'm pretty clueless about what the UI should be, so if anyone has any example of a good filtering UI, feel free to share them!

Right now I have a UI that looks like this.
I like the way the filters are displayed (and deleteable), but the form field for adding filters needs some work. Right now we rely on user knowing filter API like status=[not]active or that you can filter between date with something like inserted_at[from]=2020-01-20&inserted_at[to]=2020-01-22, but ideally this should be all presented in the UI.
One idea is that we can maybe derive the type from the new DSL at some point, so for example:
index do
  field :age, :integer
  field :verified, :boolean
end

Then we know to render number_input for age, checkbox for verified etc.


Reproducing "binge" result

How to get similar result to https://github.com/maciejkula/binge as in your paper?
from spotlight.cross_validation import random_train_test_split
from spotlight.datasets.movielens import get_movielens_dataset
from spotlight.evaluation import mrr_score
from spotlight.factorization.implicit import ImplicitFactorizationModel
from spotlight.factorization.explicit import ExplicitFactorizationModel
from torch import optim
dataset = get_movielens_dataset(variant='1M')

train, test = random_train_test_split(dataset,test_percentage=0.2)
print train
print test

model = ImplicitFactorizationModel(n_iter=12,embedding_dim=32,batch_size=2048,
                                learning_rate=0.001,l2=1e-6,loss='adaptive_hinge',use_cuda=True)
model.fit(train,verbose=True)
mrr = mrr_score(model, test)
print mrr.mean()

The result is around 0.035 which is far from 0.07 in the paper. I was using the same hyper-parameters as in "movielens_1M_validation.log" in your binge repository, what am I missing?

Off the top of my head, it could be that you need to pass the train argument into MRR score to exclude known interactions from ranking. However, I don't think this would account for the entirety of the difference.
I will have a look at reproducing this and get back to you in the next couple of days.

Thank your for the reply!
I just tried to put the train argument to MRR score, the performance is now at the 0.68-0.69 range which is quite close to the paper's result. But there is still a small gap left as you said.


stubs: split up compiler-rt routines

Move the duplicated compiler-rt support routines into its own source
file.  This will need to be expanded for Windows.  As on Linux, there
are certain builtin routines which are not available from the standard
runtime and need to be augmented for now.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci please test

CC: @aschwaighofer @bitjammer
This is just splitting up the compiler-rt routines into its own TU.  Windows debug mode requires one more implementation (and a couple of wrappers).  I figure its best to isolate this.

Build failed
Swift Test Linux Platform
Git Sha - e9eb6dcb72c3eecdfcbc0fc9661fa69c03670f10

@swift-ci please test linux platform

Build failed
Swift Test Linux Platform
Git Sha - e9eb6dcb72c3eecdfcbc0fc9661fa69c03670f10

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - e9eb6dcb72c3eecdfcbc0fc9661fa69c03670f10

Build failed
Swift Test OS X Platform
Git Sha - e9eb6dcb72c3eecdfcbc0fc9661fa69c03670f10


Someone please help me connect EPOC+ and UNITY

Greetings, I have tried for several days to connect EPOC+ to UNITY but I have not been successful, I have reviewed forums but there is no updated information or a clearer tutorial on how they do it (I would be so happy with an example video xD) I am not a programmer :(
Could you help me and guide me a little better on how to get UNITY to recognize EPOC+?
I have followed the instructions of
https://github.com/Emotiv/unity-plugin
and the example of
https://github.com/Emotiv/cortex-v2-example/tree/master/unity
But I don't understand how I enter the information in UNITY, I enter it as an asset, I import it as a package, how do I get it to be recognized by UNITY?
Help me understand please, PLEASE!
Thank you very much!

Hi @ShadowsSpwn ,
Did you follow the guides in docs at https://github.com/Emotiv/cortex-v2-example/tree/master/unity

Change the client Id, client Secret of your application in AppConfig.cs.
Make sure you have logged in via EMOTIV App, and the headset has been turned on.
Run the example from editor. The example will connect to Cortex for authorization. You might need to grant access right for the example via EMOTIV App at the first time. After authorizing successfully, the example will list available headsets
...
Could you show me the logs from editor ?

Thanks I will try with the steps that you indicated.


MongoDB _id field

Hey guys.
It must be silly, but I'm not managing to evolve in this issue of ID fields.
Example:
# schema.graphql

type Mutation {
   createISP(isp: NewISP!): ISP!
}

type ISP {
   ID: ID!
   Name: String!
   Location: String!
   Devices: [Devices]
}

input NewISP {
   Name: String!
   Location: String!
}

// isp.resolver.go

type ISP struct {
IDField graphql.ID
NameField string
LocationField string
DevicesField *[]*Device
}

func (i *ISP) ID() graphql.ID {
	return i.IDField
}

func (i *ISP) Name() string {
	return i.NameField
}

func (i *ISP) Location() string {
	return i.LocationField
}

func (r *Resolver) GetISPs() []*ISP {

	var results []*ISP
	cursor, err := DB.Find(context.Background(), bson.M{})
	if err != nil {
		return nil
	}
	if err := cursor.All(context.Background(), &results); err != nil {
		return nil
	}
	return results
}

type NewISP struct {
	Name     string
	Location string
}

func (r *Resolver) CreateISP(args *struct{ Isp NewISP }) *ISP {

	// create new
	ispId := randomID() // Here I make a fake ID for testing because I couldn't use the id of the mongo object.

	isp := &ISP{
		IDField:       graphql.ID(ispId),
		NameField:     args.Isp.Name,
		LocationField: args.Isp.Location,
	}

	DB.InsertOne(ctx, isp)

	return isp
}

I'm wanting to use _id as an identification field and not need to create a new field for it as I did with IdField

Can you help me with this issue?

What exactly is the issue?

What exactly is the issue?

It's not really a library problem. It's my doubt about how to use the library properly.
And thank you for the wonderful work you did to come up with a super simple way to run a graphql server.

Guys I apologize for opening the issue.
I found the solution.
It would basically use the following annotation in the struct
type DeviceData struct {
	IDField     primitive.ObjectID `bson:"_id,omitempty"`
	AliasField  string             `bson:"alias"`
	IPaddrField string             `bson:"ipaddr"`
	// ServicesField *[]*Service
}

bson:"_id,omitempty"


Fix Bug in PTE Solver and Several Code Quality Improvements

PR Summary
This PR is dependent on https://github.com/lanl/singularity-eos/pull/382
This PR makes a few main changes:

The previous ScaleDx algorithm was written assuming that only one guard (small volume fraction, small temperature, minimum density, etc.) would activate at once. I believe I'm running into a test case where multiple guards are activating so they end up overwriting each other.
Actually, since the newly-shrunk scale is used in each successive if block, they have the effect of only decreasing scale. I'll add a comment to this effect.
Materials that didn't participate in the PTE solver had their energies set to zero with the volumes untouched. This PR changes this so that non-participating materials are assumed to be at the cell density, which determines their densities and energies. This also slightly changes the volume available for the PTE materials, reflected in a different volume fraction sum.
I also added some comments to the line search algorithm and simplified the logic slightly by removing what appeared to be a superfluous else block.
Fixed two bugs in the the rho-T PTE solver ScaleDx function. First, there were missing parentheses. Second, the logic was incorrect when the volume fraction of a material has already exceeded the imposed maximum. This maximum occurs at the minimum pressure on the EOS, effectively guarding against the EOS entering unphysical (thermodynamically unstable) states. However, it's possible for this maximum to change as the temperature guess changes such that an old volume fraction is above this maximum. In that case, the logic of the function was increasing the step to get back into the physical regime, but possibly at the cost of violating other checks.
Adds a test for a difficult PTE state. It was failing to converge but now succeeds.
Improves descriptiveness of assert statements to identify the function they are in. This isn't strictly necessary since the line number is given, but it makes debugging a bit faster.
The TestUpdate() function has been changed so that it's a bit more clear when it's also updating the state versus when it's supposed to cache the previous state.

PR Checklist

[x] Adds a test for any bugs fixed. Adds tests for new features.
[x] Format your changes by using the make format command after configuring with cmake.
[x] Document any new features, update documentation for changes made.
[x] Make sure the copyright notice on any files you modified is up to date.
[x] After creating a pull request, note it in the CHANGELOG.md file.
[ ] LANL employees: make sure tests pass both on the github CI and on the Darwin CI

If preparing for a new release, in addition please check the following:

N/A Update the version in cmake.
N/A Move the changes in the CHANGELOG.md file under a new header for the new release, and reset the categories.

I'm still getting negative volume fractions despite the fact that I believe the code should be catching this. I'll add a unit test here shortly that should demonstrate this and then work on whatever fix is needed to prevent this.

@Yurlungur and @dholladay00 this is ready for review now.
One comment: my test is aborting due to a double free or corruption (out) and I'm not quite sure why. I tried removing the PORTABLE_FREE statements, but that didn't change anything.
The test assertion passes, but this abort causes the test to fail. Any guidance on how to debug this?

I'm somewhat concerned that the PTE solver needs to run whether or not something goes wrong, so I worry about about these PORTABLE_FAIL checks. I'd prefer warnings and returning a failure status.

Are you saying you'd prefer the PTE solver to fail at the point where an issue is reached rather than running and then returning a nonsense result?
Normally I'd agree with you, but in my experience of debugging the PTE solver, I found the indirection and indexing to be difficult to navigate in the debugger, hence creating the print statements for when the PTE solver fails. I found it much easier to extract the bad state, reproduce it in a unit test, and then debug from there rather than debugging inside the host code.
That said, maybe there's a middle ground? I could add a compile time option instead of just relying on debug mode. That way I could compile in release mode with the option to find the bad state and then compile in debug to actually find the point of failure in the PTE solve. What are your thoughts?

I'm somewhat concerned that the PTE solver needs to run whether or not something goes wrong, so I worry about about these PORTABLE_FAIL checks. I'd prefer warnings and returning a failure status.

Are you saying you'd prefer the PTE solver to fail at the point where an issue is reached rather than running and then returning a nonsense result?

Actually the opposite. ;) I was hoping for the PTE solver to continue running even in debug mode. In case the failure state is something the host code needs to be robust for.

Normally I'd agree with you, but in my experience of debugging the PTE solver, I found the indirection and indexing to be difficult to navigate in the debugger, hence creating the print statements for when the PTE solver fails. I found it much easier to extract the bad state, reproduce it in a unit test, and then debug from there rather than debugging inside the host code.

That makes complete sense. I have to admit I'm concerned by how difficult this was to navigate.

That said, maybe there's a middle ground? I could add a compile time option instead of just relying on debug mode. That way I could compile in release mode with the option to find the bad state and then compile in debug to actually find the point of failure in the PTE solve. What are your thoughts?

That makes sense to me!

I'm somewhat concerned that the PTE solver needs to run whether or not something goes wrong, so I worry about about these PORTABLE_FAIL checks. I'd prefer warnings and returning a failure status.

Are you saying you'd prefer the PTE solver to fail at the point where an issue is reached rather than running and then returning a nonsense result?

Actually the opposite. ;) I was hoping for the PTE solver to continue running even in debug mode. In case the failure state is something the host code needs to be robust for.

Ah okay I think we're on the same page then. I'll limit the assert failures to malformed inputs and rely on the checks in get_sg*. If we want, we can probably adapt those checks in the future to be an extra layer on the outputs of the PTE solver itself. I'll make an issue for that.

I added a Finalize() for each EOS as well as freeing all the memory but I get this failure:
double free or corruption (!prev)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
closure_unit_tests is a Catch2 v3.0.1 host application.
Run with -? for options

-------------------------------------------------------------------------------
Scenario: Density-Temperature PTE Solver
      Given: Equations of state
      Given: A difficult state for the density-temperature PTE solver
       Then: The PTE solver should converge
-------------------------------------------------------------------------------
/usr/projects/eap/users/jhp/XCAP/singularity-eos/github/singularity-eos/test/test_closure_pte.cpp:112
...............................................................................

/usr/projects/eap/users/jhp/XCAP/singularity-eos/github/singularity-eos/test/test_closure_pte.cpp:112: FAILED:
  {Unknown expression after the reported line}
due to a fatal error condition:
  SIGABRT - Abort (abnormal termination) signal

===============================================================================
test cases: 1 | 1 failed
assertions: 2 | 1 passed | 1 failed

Aborted

This is true whether the test is run in isolation or as part of the suite or as a standalone executable.

I think I figured out the issue. I forgot that PORTABLE_MALLOC has no concept of the type being allocated and needs the size of the type.

@dholladay00 I modified the tests to address your comments. I also broke out some code into functions so I can start a collection of PTE states that fail to converge. I have my next state in there already, but I'll back burner it for now and create an issue so we can get this merged in.
I'm worried that I might go down a rabbit hole of PTE issues if I keep running until I don't get any issues. I'll probably scale back the ambitions of my EAP MR and provide simpler tests of the functionality.

@jhp-lanl we have gone back and forth on the portability of the memory, but now that I look more closely this test contains no device kernels, it is all host. Either we need to run the solve in a kernel (could do a length 1 portable for) or make the memory host only.

The PTE test should be running on device now. I'll check the gitlab CI here in a bit to make sure it's running correctly (might need somebody to run the Roci runners).

I think I got all the bugs worked out with running the test on device.
The test should be a good platform to add tests that used to break the PTE solver (or still do while we're figuring out a solution). And it can be a bit of a template for using the new ports-of-call features for allocating on device without having to mess with lots of Kokkos views and #IFDEF statements.

great work @jhp-lanl! This not only fixes a long-standing bug in the solver, but it uses the latest best practices for portability and adds improvements to the configure/build system. In addition, this provides a tool to explore problematic PTE inputs separate from the context of a host code!
Assuming this passes CI and pending review by those that understand the physics better than I, this is ready! 👍

Assuming this passes CI and pending review by those that understand the physics better than I, this is ready! 👍

I think I'm still having some issues with the CI on gitlab unfortunately. I thought I had fixed these issues on my build when executing on device, but I'll keep working to reproduce

Thanks for this, @jhp-lanl having unit tests here is a big improvement. As is the nasty bugs you caught. I still want @pdmullen and @jdolence 's eyes on this. But I'm happy with this. I also ran this branch through riot and ran some strenuous test problems, which still look good.

@Yurlungur: Jeff (@jhp-lanl) and I discussed the timeline for this PR. Given the timeline for a release into EAP, we are planning on merging this no later than EOD Monday and beginning the release process immediately following. This gives some, but not much time for review but we really can't wait any longer than that. If fixes are needed beyond what is caught on Monday, they will need to go in after the release.

Thanks for this, @jhp-lanl having unit tests here is a big improvement. As is the nasty bugs you caught. I still want @pdmullen and @jdolence 's eyes on this. But I'm happy with this. I also ran this branch through riot and ran some strenuous test problems, which still look good.

@Yurlungur: Jeff (@jhp-lanl) and I discussed the timeline for this PR. Given the timeline for a release into EAP, we are planning on merging this no later than EOD Monday and beginning the release process immediately following. This gives some, but not much time for review but we really can't wait any longer than that. If fixes are needed beyond what is caught on Monday, they will need to go in after the release.

Yes understood. I believe @pdmullen at least plans to review Monday. We shouldn't wait for @jdolence .

Thanks for this, @jhp-lanl having unit tests here is a big improvement. As is the nasty bugs you caught. I still want @pdmullen and @jdolence 's eyes on this. But I'm happy with this. I also ran this branch through riot and ran some strenuous test problems, which still look good.

@Yurlungur: Jeff (@jhp-lanl) and I discussed the timeline for this PR. Given the timeline for a release into EAP, we are planning on merging this no later than EOD Monday and beginning the release process immediately following. This gives some, but not much time for review but we really can't wait any longer than that. If fixes are needed beyond what is caught on Monday, they will need to go in after the release.

Yes understood. I believe @pdmullen at least plans to review Monday. We shouldn't wait for @jdolence .

@Yurlungur I'd really like @jdolence's eyes on it as some point for a sanity check if at all possible, even if it's after the merge. Sometimes the original author has knowledge that is hard to obtain by reading alone.

Thanks for this, @jhp-lanl having unit tests here is a big improvement. As is the nasty bugs you caught. I still want @pdmullen and @jdolence 's eyes on this. But I'm happy with this. I also ran this branch through riot and ran some strenuous test problems, which still look good.

@Yurlungur: Jeff (@jhp-lanl) and I discussed the timeline for this PR. Given the timeline for a release into EAP, we are planning on merging this no later than EOD Monday and beginning the release process immediately following. This gives some, but not much time for review but we really can't wait any longer than that. If fixes are needed beyond what is caught on Monday, they will need to go in after the release.

That said, I still need to fix the CI. I'll work on that this afternoon.

@Yurlungur I'd really like @jdolence's eyes on it as some point for a sanity check if at all possible, even if it's after the merge. Sometimes the original author has knowledge that is hard to obtain by reading alone.

I agree. My concern is I don't know when I will be able to get him to look. We were visiting him in Ann Arbor this week and I asked him to look, though. So there's hope.

@Yurlungur I'd really like @jdolence's eyes on it as some point for a sanity check if at all possible, even if it's after the merge. Sometimes the original author has knowledge that is hard to obtain by reading alone.

I agree. My concern is I don't know when I will be able to get him to look. We were visiting him in Ann Arbor this week and I asked him to look, though. So there's hope.

I think his input will be valuable whenever we receive it.

That said, I still need to fix the CI. I'll work on that this afternoon.

CI Fixed! Array was out of bounds, and I just bit the bullet and enabled proxy variables for all my terminal sessions rather than limiting them to interactive ones.

I think this is ready to go now

:+1: Merge when ready

Merging... @dholladay00 I think we're ready for a release


Performance optimizations

I noticed that the data-collection could be faster, with some tweaks and optimizations.
Please add all potential optimizations here.

Currently, for every commit, we evaluate against the entire PMTrackerDatabase in order to figure out if any of the Instances we store is stable. This is very inefficient, especially, if we move the PMDatabase from in-memory to an SQL database.
It is not necessary to evaluate against the entire PMTrackerDatabase, but only the class files that were changed in the current commit.

Currently, for every commit, we evaluate against the entire PMTrackerDatabase in order to figure out if any of the Instances we store is stable. This is very inefficient, especially, if we move the PMDatabase from in-memory to an SQL database.
It is not necessary to evaluate against the entire PMTrackerDatabase, but only the class files that were changed in the current commit.

Opened a PR #77 for this.

In the RefactoringAnalyzer we store the source code in a tempdir, analyze it, remove it and then eventually store it again:
https://github.com/refactoring-ai/predicting-refactoring-ml/blob/492fc89f922a32791f60a69586274a35aa58a0be/data-collection/src/main/java/refactoringml/RefactoringAnalyzer.java#L100-L127
We can only remove the source in case we don't store it, we then can save lots of writes.

We are happy with performance right now.


doom-help-package throws an error when emacs is built with gtk+ Version 3.24.30

What did you expect to happen?
Calling doom/help-packages launches package help
What actually happened?
calling doom-help package throws no catch for tag: emacs-version-changed, nil.
(emacs-version) for me returns GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0). Seems clear it's just the difference between gtk+ 3.24.27 and 3.24.30 at issue.
Backtrace:
Debugger entered--Lisp error: (no-catch emacs-version-changed nil)
  throw(emacs-version-changed nil)
  (if (equal (emacs-version) "GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, cairo version 1.16.0)") nil (throw 'emacs-version-changed nil))
  (unless (equal (emacs-version) "GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+...") (throw 'emacs-version-changed nil))
  eval((unless (equal (emacs-version) "GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+...") (throw 'emacs-version-changed nil)))
  byte-code("\300\301\302\303\304E\305BB!\207" [eval unless equal (emacs-version) "GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+..." ((throw 'emacs-version-changed nil))] 5)
  require(straight)
  (let ((guess (or (function-called-at-point) (symbol-at-point)))) (require 'finder-inf nil t) (require 'package) (require 'straight) (let ((packages (if (and doom--help-packages-list (null current-prefix-arg)) doom--help-packages-list (message "Generating packages list for the first time...") (redisplay) (setq doom--help-packages-list (delete-dups (append ... ... ... ... nil)))))) (if (memq guess packages) nil (setq guess nil)) (list (intern (completing-read (format "Describe Doom package (%s): " (concat (if guess ...) (format "total %d" ...))) packages nil t nil nil (if guess (progn (symbol-name guess))))))))
  #<subr call-interactively>(doom/help-packages nil nil)
  apply(#<subr call-interactively> (doom/help-packages nil nil))
  explain-pause--wrap-call-interactively(#<subr call-interactively> doom/help-packages nil nil)
  apply(explain-pause--wrap-call-interactively #<subr call-interactively> (doom/help-packages nil nil))
  call-interactively(doom/help-packages nil nil)
  command-execute(doom/help-packages)

Describe your attempts to resolve the issue
No response
Steps to reproduce

Build emacs against gtk+ 3.24.30. Recent nixos-stable builds do this
Verify that emacs-version returns the expected, problematic string
Call doom/help-packages

System Information
https://pastebin.com/u7cheX2R

This means straight was compiled with a different version of Emacs. Run doom build to recompile your packages.


Pods do not show boot2docker as host in the pods page

Running fabric8 locally using the script at
http://fabric8.io/v2/openShiftDocker.html
As I use boot2docker on osx, then my hosts is boot2docker.

But the table do not show the hosts, but something that looks like an empty value

Works now, not sure what may have happened


Add weather svg icons

Because current icons is blurred on phone

https://www.wunderground.com/weather/api/d/docs?d=resources/icon-sets
var l = '';  $0.querySelectorAll('img').forEach((a) => {l+=`${a.getAttribute('src')}\n`}); copy(l)

Daytime:
https://icons.wxug.com/i/c/k/chanceflurries.gif
https://icons.wxug.com/i/c/k/chancerain.gif
https://icons.wxug.com/i/c/k/chancesleet.gif
https://icons.wxug.com/i/c/k/chancesnow.gif
https://icons.wxug.com/i/c/k/chancetstorms.gif
https://icons.wxug.com/i/c/k/clear.gif
https://icons.wxug.com/i/c/k/cloudy.gif
https://icons.wxug.com/i/c/k/flurries.gif
https://icons.wxug.com/i/c/k/fog.gif
https://icons.wxug.com/i/c/k/hazy.gif
https://icons.wxug.com/i/c/k/mostlycloudy.gif
https://icons.wxug.com/i/c/k/mostlysunny.gif
https://icons.wxug.com/i/c/k/partlycloudy.gif
https://icons.wxug.com/i/c/k/partlysunny.gif
https://icons.wxug.com/i/c/k/sleet.gif
https://icons.wxug.com/i/c/k/rain.gif
https://icons.wxug.com/i/c/k/sleet.gif
https://icons.wxug.com/i/c/k/snow.gif
https://icons.wxug.com/i/c/k/sunny.gif
https://icons.wxug.com/i/c/k/tstorms.gif
https://icons.wxug.com/i/c/k/cloudy.gif
https://icons.wxug.com/i/c/k/partlycloudy.gif

Nighttime:
https://icons.wxug.com/i/c/k/nt_chanceflurries.gif
https://icons.wxug.com/i/c/k/nt_chancerain.gif
https://icons.wxug.com/i/c/k/nt_chancesleet.gif
https://icons.wxug.com/i/c/k/nt_chancesnow.gif
https://icons.wxug.com/i/c/k/nt_chancetstorms.gif
https://icons.wxug.com/i/c/k/nt_clear.gif
https://icons.wxug.com/i/c/k/nt_cloudy.gif
https://icons.wxug.com/i/c/k/nt_flurries.gif
https://icons.wxug.com/i/c/k/nt_fog.gif
https://icons.wxug.com/i/c/k/nt_hazy.gif
https://icons.wxug.com/i/c/k/nt_mostlycloudy.gif
https://icons.wxug.com/i/c/k/nt_mostlysunny.gif
https://icons.wxug.com/i/c/k/nt_partlycloudy.gif
https://icons.wxug.com/i/c/k/nt_partlysunny.gif
https://icons.wxug.com/i/c/k/nt_sleet.gif
https://icons.wxug.com/i/c/k/nt_rain.gif
https://icons.wxug.com/i/c/k/nt_sleet.gif
https://icons.wxug.com/i/c/k/nt_snow.gif
https://icons.wxug.com/i/c/k/nt_sunny.gif
https://icons.wxug.com/i/c/k/nt_tstorms.gif
https://icons.wxug.com/i/c/k/nt_cloudy.gif
https://icons.wxug.com/i/c/k/nt_partlycloudy.gif

http://sergeychikin.ru/365/


Question: How to tell webpack to also include source maps from an imported module?

I have a module that compiles itself with babel -s -d lib/ src/ and generates .js and .js.map in lib.
In an app I use webpack at, I import x from 'my-module', but source maps are not present in dev tools. Is there a way to tell webpack to also include the source maps?
Inline source maps currently generate an error Module build failed: Error: No element indexed by 1, open issues: #1485 #1071

source-map-loader

Feel free to re-open at Stack Overflow if source-map-loader didn't work out.


bbepis-BepInExPack-5.4.1801 not available any longer

I get this error :
Error
bbepis-BepInExPack-5.4.1801 could not be found
You may be offline, or the mod was removed from Thunderstore.
Suggestion
The dependency may not yet be published to Thunderstore and may be available elsewhere.

Use any newer version of BepInEx 5.4 instead.

I have but it still states that there is a missing dependency in r2modman

Sounds like an issue for r2modman instead.


Fixes9+10

change to README.md on how extension is invoked in python interactive shell closes #9
change to  full_yaml_metadata.py to makeExtension parameters closes #10

@philbarker, thanks a lot!
Can you also update dependencies versions in requirements.txt and "fix" version of Markdown in setup.py accordingly?
This allows us to confirm with tests that everything works as expected.

Will this do? Please forgive me, I'm new at this. Feel free to assume I don't know what I'm doing.

With the version update we were able to reproduce the error you reported. It remains to update the tests and make sure that everything works correctly.

Sorry. I'm doing something wrong. I don't get errors here, but must be missing something. I'll come back to this later.

@philbarker, you can look for errors in CI and fix them.

That looks better. I must get Travis working on my own repos.

Looks good, @philbarker!
Are you test it manually? It works well?

Yes, I think it works.
Get TypeApp for Android
On 1 Mar 2019, 21:49, at 21:49, Nikita Sivakov<EMAIL_ADDRESS>wrote:

Looks good, @philbarker!
Are you test it manually? It works well?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/sivakov512/python-markdown-full-yaml-metadata/pull/11#issuecomment-468823690

Thank you, @philbarker!
Feel free to try other projects, contribute and star them if you like.


Add JS client tests

Extract client code from IIFE to make unit testing possible
Build step in Makefile to wrap in IIFE for deployment

⚠ This can't be merged yet as it will break releases. The release workflow needs to build the client JS.


YugabyteDB: update rook website for yugabyte db support.

Updated rook website code to announce yugabyte db support.

/cc @rathpc, would you be able to take a look at this?

From a glance it looks good to me, I have not pulled to check visuals though. @samkulkarni20 do you have this hosted on a staging url anywhere I can take a look quickly?

@samkulkarni20 thanks for this! yugabyte is live on https://rook.io now! 🚀


network: add headerForgeUTCTime field to BlockFetchConsensusInterface

Single commit PR. The message:
This field calculates the UTCTime at which the given header's corresponding
block was forged.

The `blockForgeUTCTime` is provided for convenience only: you could instead
extract the header from the block and call `headerForgeUTCTime`.

This field risks being extremely subtle footgun. Hence it has a rather severe
PRECONDITION and WARNING in its Haddock. We also introduce the intentionally
noisy `FromConsensus` newtype wrapper so that each call site must explicitly
claim that the argument satisfies the precondition.

This function is being currently provided in order to enable a _metric_. If it
were to be used for something more crucial, such as peer selection (which via
Ouroboros Genesis becomes directly relevant to the consensus algorithm!), we'd
hesitate further. We're generally weary of spreading time-conversions too
widely; we paid that price once when developing the HFC. Once bitten twice shy.

bors r+


Update clsx

clsx in main README is outdated, found the latest working regex in this comment: https://github.com/paolotiu/tailwind-intellisense-regex-list/issues/8#issuecomment-1481503960

Thanks for this!


Fix: Only seeing "in progress" status

Same as https://github.com/toko-bifrost/ms-teams-deploy-card/pull/36

Implementiert in https://github.com/freenet-actions/ms-teams-deploy-card/commit/b088ca2809167a705e2b411cfb8a434d7ad2403b


Turns on NCES for New Mexico

This PR turns on NCES for New Mexico
Test Steps:

Run Docker
Apply the organizations.yml to your local container
Run the fake data generator and submit to your local container: ./prime data --input-fake 50 --input-schema primedatainput/pdi-covid-19 --output-format CSV --output <FILE PATH>
Verify the file submitted processes correctly

Changes

Updates ordering facility name flag to use the NCES flag where appropriate
Migrates filter settings for NM to use new methodology

Checklist
Testing

[x] Tested locally?
[x] Ran ./prime test or ./gradlew testSmoke against local Docker ReportStream container?
[ ] (For Changes to /frontend-react/...) Ran npm run lint:write?
[ ] Added tests?

Fixes
Closes #3233
Pull reviewers stats
Stats for the last 30 days:

User
Total reviews
Median time to review
Total comments

MauriceReeves-usds
33
50m
10

cwinters-usds
23
1d 36m
9

TomNUSDS
17
1h 12m
23

sean-usds
14
13m
7

jimduff-usds
13
13h 59m
2

carlosfelix2
12
5h 6m
60

brick-green-agile6
9
1h 27m
3

jorg3lopez
7
1h 52m
1

jbiskie
6
43m
0

kevinhaube
5
16h 38m
10

sethdarragile6
5
6h 57m
12

JosiahSiegel
4
33m
2

oslynn
4
22h 1m
21

RickHawesUSDS
4
3h 24m
0

whytheplatypus
3
1d 2h 23m
6

ahay-agile6
3
1d 20h 56m
0

clediggins-usds
3
1h 36m
0

jeremy-page
2
10h 49m
0

rhood23699
1
1m
0

victorialb-usds
1
2d 20h 38m
1

I'm not getting NCES in ORC 21. Could it be that none of the facility names that come out of the fake-data generator are NCES facilities? I tried creating the fake file a couple of times


colorator gem issue

When I try to install it, I get this error:
Could not find colorator-0.1 in any of the sources
Run `bundle install` to install missing gems.

@tomjohnson1492 that is wierd, colorator is actually a dependency for Jekyll itself and seems to exist just fine: https://rubygems.org/gems/colorator/versions/0.1
Just to be sure, you get that error when running bundle install ?

No, I get the error when running bundle exec rackup. The bundle install works fine. When I run bundle exec rackup I get:
Could not find colorator-0.1 in any of the sources
Run `bundle install` to install missing gems.

I have tried updating the gems, just as a first try. Can you try:
git pull
bundle install
bundle exec rackup

Same error?


Internationalization setup with webpack IgnorePlugin results to an error

ElementUI version
1.0.2
OS/Browers version
macOS/Chrome 53
Vue version
2.0.8
Steps to reproduce
Set up internationalization with 'en' locale as described in docs.
What is Expected?
ElementUI should use 'en' locale. Webpack IgnorePlugin should not resolve 'zh-CN' locale module.
What is actually happening?
IgnorePlugin doesn't load 'zn-CN' local (which is right) but in runtime, when page is being loaded, the code which requires 'zh-CN' locale is executed. Therefore following error is thrown to browser console:
Uncaught Error: Cannot find module "element-ui/lib/locale/lang/zh-CN"

I was able to solve this by using NormalModuleReplacementPlugin instead of IgnorePlugin.
new webpack.NormalModuleReplacementPlugin(/element-ui[\/\\]lib[\/\\]locale[\/\\]lang[\/\\]zh-CN/, 'element-ui/lib/locale/lang/en')

With this config I don't need to import 'en' locale in code.

Hmm, my bad. The use of NormalModuleReplacementPlugin  should be more appropriate than using IgnorePlugin. Maybe we should update the doc, what do you think?

Definitely docs must not contain wrong configuration. I wonder what config did contributors use when they bring new languages. @henninghorn, @furybean, @riveg, @waam, @wannymiarelli do you have another solution for this issue?

Actually all of my projects ( in production ) run the 1.0.1 version of Element, i will try to reproduce the error tomorrow after upgrading and report back to you.

I stumbled across the same issue and ended up here. The above solution worked for me as well.


Glimpse enabled causes blank html

After installing/adding Glimpse (via NuGet) to my MVC3 project, when I enable glimpse, all my pages are returned as just an empty head and empty body.
Here is the Glimpse.log after enabling Glimpse and trying to view the default page for the site:
2011-08-02 15:05:15.1220|INFO|Glimpse.Core.Module|BeginRequest handling complete for requestId e08d08bb-73cf-4ffb-b2a1-1e8d0323e7f9 (/BusinessTalk.Site/)|
2011-08-02 15:05:15.1220|WARN|Glimpse.Mvc3.Plugin.Execution|get_Binders method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.|
2011-08-02 15:05:15.1220|WARN|Glimpse.Mvc3.Plugin.Execution|set_Binders method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.|
2011-08-02 15:05:15.1220|WARN|Glimpse.Mvc3.Plugin.Execution|GetType method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.|
2011-08-02 15:05:15.1330|WARN|Glimpse.Mvc3.Plugin.Execution|MemberwiseClone method of System.Web.Mvc.ControllerActionInvoker type is not proxyable.|
2011-08-02 15:05:56.7540|INFO|Glimpse.Core.Module|PostRequestHandlerExecute handling complete for requestId e08d08bb-73cf-4ffb-b2a1-1e8d0323e7f9 (/BusinessTalk.Site/)|
2011-08-02 15:05:56.7540|INFO|Glimpse.Core.Module|PostReleaseRequestState handling complete for requestId e08d08bb-73cf-4ffb-b2a1-1e8d0323e7f9 (/BusinessTalk.Site/)|
2011-08-02 15:05:56.8040|INFO|Glimpse.Core.Module|Glimpse JSON payload created for requestId e08d08bb-73cf-4ffb-b2a1-1e8d0323e7f9 (/BusinessTalk.Site/)|
2011-08-02 15:05:56.8790|INFO|Glimpse.Core.Module|Glimpse output generated for requestId e08d08bb-73cf-4ffb-b2a1-1e8d0323e7f9 (/BusinessTalk.Site/)|
2011-08-02 15:05:56.8790|INFO|Glimpse.Core.Module|RequestId e08d08bb-73cf-4ffb-b2a1-1e8d0323e7f9 (/BusinessTalk.Site/) persisted|
2011-08-02 15:05:56.8790|INFO|Glimpse.Core.Module|EndRequest handling complete for requestId e08d08bb-73cf-4ffb-b2a1-1e8d0323e7f9 (/BusinessTalk.Site/)|

Just wondering if anyone on this thread that has gotten this issue happened to be using blowery.Web.HttpCompress HttpModule?

Or any compression in general?
On Wed, Oct 26, 2011 at 12:43 PM, avanderhoorn <
<EMAIL_ADDRESS>
Just wondering if anyone on this thread that has gotten this issue happened
to be using blowery.Web.HttpCompress HttpModule?
--
Reply to this email directly or view it on GitHub:
https://github.com/Glimpse/Glimpse/issues/107#issuecomment-2532812

I'm not entirely sure this is related, but yesterday I ran across an instance where Glimpse is taking my entire page contents and outputting it a second time, right in the middle of a Javascript variable I'm setting in the output.  I'm using IIS Express.
My raw output is on: http://pastebin.com/Hq8ejkkm
You'll see the issue on line 252: this only happens with Glimpse turned on.

I think you should create a new issue for that...it doesn't really sound like this issue at all.  The behavior in this issue is Glimpse outputting a blank page,  when using virtual directories with IIS proper, not IIS Express.

@nikmd23

Or any compression in general?

We had this issue in our project and we were using <system.webServer><urlCompression ...> for turning on gzip compression in the web.config, turning this setting off seems to have fixed the blank page issue for us.

Thanks for the info! We think we have a fix and will get a new version out
soon.
When it comes out please let us know if it fixes your issue.
On Mon, Nov 14, 2011 at 4:13 PM, plmw <
<EMAIL_ADDRESS>
wrote:

@nikmd23

Or any compression in general?

We had this issue in our project and we were using
<system.webServer><urlCompression ...> for turning on gzip compression in
the web.config, turning this setting off seems to have fixed the blank page
issue for us.

Reply to this email directly or view it on GitHub:
https://github.com/Glimpse/Glimpse/issues/107#issuecomment-2736640

All,
We believe we have fixed this issue.
Can you please test and confirm by installing the alpha build of Glimpse 0.87 from MyGet at http://www.myget.org/F/getglimpse/
If we get confirmation that this fixes your issue - we will release to the main NuGet.org repository.
Thanks,
Nik

Hi,
Just installed Glimpse 0.87 beta, and turned url compression back on in our config to test this out:
<urlCompression doStaticCompression="true" doDynamicCompression="true" dynamicCompressionBeforeCache="true" />

Now the page renders perfectly fine, but the Glimpse panel disappears, and there is no Glimpse icon in the corner to open/close it. Going to /glimpse.axd and turning it off and on (just in case) didn't do anything.
It looks like the glimpse script isn't being injected in this scenario? This line (or similar) is missing from the end of the page when doing a View > Source:
<script type='text/javascript' id='glimpseData' src='/Glimpse.axd?v=0.87&r=data.js&id=864f27c3-b67d-41db-b6c9-e9bc2a916570'></script><script type='text/javascript' id='glimpseClient' src='/Glimpse.axd?v=0.87&r=client.js'></script>

We'll continue to have urlCompression turned off in our dev environment, so it's not a big deal for us. But it'd be nice :)

We're a step closer, but still not there.
With .87, now when I turn Glimpse on, I still see my content instead of an
empty page, but there's no icon in the bottom right to view Glimpse data.
Viewing source of the output page, Glimpse doesn't appear to have added
anything to it.
-A-
-----Original Message-----
From: nikmd23
<EMAIL_ADDRESS>Sent: Friday, November 18, 2011 9:01 PM
To: GitHubUser227
Subject: Re: [Glimpse] Glimpse enabled causes blank html (#107)
All,
We believe we have fixed this issue.
Can you please test and confirm by installing the alpha build of Glimpse
0.87 from MyGet at http://www.myget.org/F/getglimpse/
If we get confirmation that this fixes your issue - we will release to the
main NuGet.org repository.
Thanks,
Nik

Reply to this email directly or view it on GitHub:
https://github.com/Glimpse/Glimpse/issues/107#issuecomment-2796896

Any change that one of the guys getting this error could try getting the source and debugging through the issue? The problem is that we haven't been able to replicate the the issue.

@avanderhoorn Extremely busy at the moment, but I will try if I get the time... I posted the following in issue #145, which hopefully might help out? This issue only occurs for me if dynamicCompressionBeforeCache is turned on.

We've been using this:
<urlCompression doStaticCompression="true" doDynamicCompression="true" dynamicCompressionBeforeCache="true" />

After a little playing around with the settings, it looks like when dynamicCompressionBeforeCache is turned on, then the  glimpse

Hey mate, huge thanks for tracking that down. Totally agree with not being sure how we are going to track this.
Maybe for glimpse requests we remove the gzip accept header.
Or we could have a endpoint that you could go to which is a version of glimpse that takes up the whole page. This page wouldn't have the same problem as we wouldn't need dynamically injecting the tags as we control handler in question. The problem with this approach is that in the popup window you would have to use the remote tab to track requests. Not the best user experience.


List of defunct casks that should be removed

hey,
some casks no longer install because the software does not exist anymore:
• covered (https://robheague.com/covered => is now only available in the MacAppStore)
• biicode (domain http://biicode.com offline, github not updated in 3 years, no valid mirror found)
• copy (https://www.copy.com => Copy was discontinued on May 1, 2016)
• dump-truck (https://www.goldenfrog.com/dumptruck => Goodbye, Dump Truck
We have discontinued our Dump Truck product.)
• process-monitor (website and download gone)
• kimono (Kimono labs, a web scraping tool popular among the big data community was shut down on February 29th, 2016)
hope that helps

Thank you. Removing in https://github.com/caskroom/homebrew-cask/pull/47410.
For future reference, it’s fine if you submit PRs removing dead casks.


Add my first file

Summary

Changes

Closes:
Task list

[ ] For workflow changes, I have verified the Actions workflows function as expected.
[ ] For content changes, I have reviewed the style guide.

Cc
Le lun. 29 janv. 2024 à 00:58, iibrahim11 @.***> a
écrit :

[image: screenshot of adding a new file with a commit message]
http:///images/commit-full-screen.png
Summary Changes
Closes:
Task list

For workflow changes, I have verified the Actions workflows function
as expected.
For content changes, I have reviewed the style guide
https://github.com/github/docs/blob/main/contributing/content-style-guide.md
.

You can view, comment on, or merge this pull request online at:
https://github.com/skills/introduction-to-github/pull/640
Commit Summary

4571c21
https://github.com/skills/introduction-to-github/pull/640/commits/4571c219fcd234717bcf35ff1af6255d0de2d014
Add PROFILE.md

File Changes
(1 file https://github.com/skills/introduction-to-github/pull/640/files)

A PROFILE.md
https://github.com/skills/introduction-to-github/pull/640/files#diff-474adae50fddd8134a968b8e9f5f101cb860268b397baab28966501f8390a8ed
(6)

Patch Links:

https://github.com/skills/introduction-to-github/pull/640.patch
https://github.com/skills/introduction-to-github/pull/640.diff

—
Reply to this email directly, view it on GitHub
https://github.com/skills/introduction-to-github/pull/640, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BERN7U47566AN2GBTFLIJULYQ3QZXAVCNFSM6AAAAABCORNL36VHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYDINBQHEYDAMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>