Apparently there's still problems with closing windows on OS X

The good news is that the window DOES close now. The bad news is that the program just keeps running. No resources are deallocated, and the program doesn't quit unless you ctrl-c it. I suspect this is because the window_should_close doesn't tell glutin to stop running, but I have no idea how to fix this. Any ideas?

I think I figured it out. Although the window closes, no Closed event is ever triggered. I don't see one in PollEventsIterator. I have no idea what event Cocoa triggers if a window is closed, or if it triggers one at all. It's also possible that it gets stuck somewhere in one of the wrappers.
It wouldn't be too hard to fix this without using events at all, but it'd be a pretty ugly fix. I mean, you could simply put something like this in PollEventsIterator.next():
if(self.window.delegate.state.is_closed) return Some(Closed);

But if possible, I'd like to fix it the proper way.

This just needs to add window.pending_events.push(Closed); (here)[https://github.com/tomaka/glutin/blob/70d36a3d3d6afba3e89faf4d3979118f9c076fe9/src/cocoa/mod.rs#L72-L77].
However I don't know how that delegating stuff works, and I don't have a mac to test it.

Works like a charm. I'll submit a PR.


How to append to an array

Example in README
Command = #{<<"$set">> => #{
    <<"tags.1">> => "rain gear"
  }},
mc_worker_api:update(Connection, Collection, #{'_id' => 100}, Command),

just replaces the element at the 1st position. What I wanted is add the element
at the start or end. Using "-1" does not work.
Any help would be highly appreciated. Thanks

set command is not what you want.
Please try push or addToSet


Django Binding Problem

@erdemlal commented 11 days ago — with docs.microsoft.com
I tried to run a django app, in the document above it says
For Django apps, App Service looks for a file named wsgi.py within your app code, and then runs Gunicorn using the following command:
gunicorn --bind=<IP_ADDRESS> --timeout 600 .wsgi
But actually it logs the following:
2018-12-24T10:12:44.228591212Z GUNICORN_CMD_ARGS="--bind=<IP_ADDRESS> --timeout 600" gunicorn config.wsgi
2018-12-24T10:12:45.819439562Z [2018-12-24 10:12:45 +0000] [35] [INFO] Starting gunicorn 19.6.0
2018-12-24T10:12:45.820397596Z [2018-12-24 10:12:45 +0000] [35] [INFO] Listening at: http://<IP_ADDRESS>:8000 (35)
So the command doesn't bind <IP_ADDRESS>, it binds <IP_ADDRESS> which causes to not reaching application, but when i used a custom startup command like:
gunicorn --bind=<IP_ADDRESS> --timeout 600 config.wsgi
I can reach the application, so i think there is a problem related with GUNICORN_CMD_ARGS environment variable, you should consider to change default Django command without using GUNICORN_CMD_ARGS
Belge Ayrıntıları
⚠ Bu bölümü düzenlemeyin. docs.microsoft.com ➟ GitHub sorunu bağlantısı için gereklidir.
ID: 4348313e-7280-dc7e-4943-14c4675bbe5a
Version Independent ID: 970e6640-8042-5f88-5ecf-84d58d09b8fd
Content: Linux üzerinde - Azure App Service'e Python uygulamaları yapılandırma
Content Source: articles/app-service/containers/how-to-configure-python.md
Service: app-service-web
GitHub Login: @cephalin
Microsoft Alias: astay;cephalin;kraigb

Hi team,
I moved manually this here (zenHub didn't work) because the user was commenting on the example provided
best regards

@erdemlal Thanks for the feedback! We are currently investigating and will update you shortly.


Prototype type system design for composing structs and sum types

Issues include - can a struct be one case of a sum type?
Look what Rust does for inspiration.

Prior art from Rust
Sources:

https://doc.rust-lang.org/book/ch06-01-defining-an-enum.html
https://doc.rust-lang.org/book/ch06-02-match.html
https://doc.rust-lang.org/book/ch18-03-pattern-syntax.html (for destructuring structs)

Example enum:
enum Message {
    Quit,
    Move { x: i32, y: i32 },
    Write(String),
    ChangeColor(i32, i32, i32),
}

Structs can be variants of an enum, i.e. Move in the example.
Variants in Rust can also have any number of anonymous fields - Write is effectively a 1-tuple, ChangeColor is effectively a 3-tuple

Pattern matching can destructure using field names. Example code:
match msg {
        // Quit case
        Message::Move { x, y } => {
            println!("Move in the x direction {x} and in the y direction {y}");
        }
        // Write, ChangeColor cases
    }

Decisions for Faust
Type definitions:

Allow structs as variants in enums.
Allow variants with anonymous fields, with a max of 4 fields - treat as tuples.

Pattern matching:

When matching on structs, match using field names.
When matching on tuples, can use arbitrary identifiers.


Jump-to-date calendar not moving to today when left open

Seems calendar doesn’t refresh after day change,but remains on the last browser refresh as the “today date”
Need to change it to always default to today when it opens

I believe this is resolved.


Vet clinic database: add "join table" for visits

In this milestone, I

[ ] Created tables of vets, specializations and visits

[ ] Insert DATA into vets, specializations and visits

[ ] Implement the required queries

SCREENSHOT FOR THE QUERIES

THANKS
On Thu, May 4, 2023 at 11:33 AM Daniel Larbi Addo @.***>
wrote:

@.**** approved this pull request.
Hi @Gmanlove https://github.com/Gmanlove,
Your project is complete! There is nothing else to say other than... it's
time to merge it [image: :shipit:]
Congratulations! 🎉
Highlights

Correct Git-flow followed 💯
README file is descriptive and has all the relevant headers 🎆
Everything that creates or change the tables structure is saved in
the schema.sql file 🚀
Everything that populates tables with data is saved in the data.sql
file 🥇
Everything that is a query that helps to analyze data should is in
the queries.sql file 💯
Screenshots of the query results are shown in the PR 🚀 awesome

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something
is not 100% clear.
Please, remember to tag me in your question so I can receive the
notification.
As described in the Code reviews limits policy
https://microverse.zendesk.com/hc/en-us/articles/1500004088561 you have a
limited number of reviews per project (check the exact number in your
Dashboard). If you think that the code review was not fair, you can request
a second opinion using this form https://airtable.com/shrQAqnBwek5a0O0s.
—
Reply to this email directly, view it on GitHub
https://github.com/Gmanlove/Vet-clinic-database/pull/4#pullrequestreview-1412815282,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3DOH3DEXACAQMUIE2DYCW3XEOAYBANCNFSM6AAAAAAXVSCUG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Best Regards
Emmanuel
CLICK HERE TO GRAB AMAZON BEST-SELLING PRODUCTS
AMAZON BEST PRODUCTS https://bit.ly/3HRAPLP


FirebaseMessaging.TokenReceived doesn't trigger.

Unity editor version:  2017.4.19f1
Firebase Unity SDK version: 5.5.0(.net 4.x)
Additional SDKs you are using (Facebook, AdMob, etc.): facebook sdk(7.15.1), Playfab, PUN, Google siginIn and Google play service(0.9.62)
Platform you are using the Unity editor on (Mac, Windows, or Linux): Windows.
Platform you are targeting (iOS, Android, and/or desktop): Android.
I try to follow tutorial firebase push noti and build for test TokenReceived is not call after log Firebase Cloud Messaging API Initialized after that I try to split project and import only firebase and it work with same firebase project, sure I add google-services.json into project.
If need more info just tell me. plss
Thank for help.

Ok now I can fix this issue.
It becouse PlayFabUnityAndroid.aar and PlayFabAdInfo.arr in plugin folder.(Delete it!!)
This issue happen becouse playfab older version in my project.
Hope this can help someone..


Adjust to threads ABI in 1.8

Handle sincos (#224)
WIP: Adjust for changes to threads ABI in 1.8

Codecov Report

Merging #234 (57d025e) into main (d774adc) will decrease coverage by 7.22%.
The diff coverage is 5.00%.

@@            Coverage Diff             @@
##             main     #234      +/-   ##
==========================================
- Coverage   83.22%   75.99%   -7.23%
==========================================
  Files          13       13
  Lines        3010     3020      +10
==========================================
- Hits         2505     2295     -210
- Misses        505      725     +220

Impacted Files
Coverage Δ

src/compiler.jl
76.72% <5.00%> (-9.04%)
:arrow_down:

src/compiler/orcv1.jl
0.00% <0.00%> (-80.77%)
:arrow_down:

src/compiler/interpreter.jl
88.88% <0.00%> (-2.23%)
:arrow_down:

src/typetree.jl
91.96% <0.00%> (-0.90%)
:arrow_down:

src/api.jl
45.96% <0.00%> (-0.81%)
:arrow_down:

src/compiler/orcv2.jl
77.38% <0.00%> (+5.95%)
: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 d774adc...57d025e. Read the comment docs.


allow proxy to listenen on unix socket

Could even be super cheeky:

mv the docker socket somewhere else
put ours in place

NB: the weave http interface can listen on a unix socket. so it might be worth copying/sharing some code with that.


Support monitoring cloudflare zero trust tunnel connectivity status

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
New Monitor
🔖 Feature description
It'd be nice if Uptime Kuma could also monitor existing cloudflare zero trust tunnels for their current connection status.
The cloudflare API allows that via accountid + tunnel id + api token.
That way we could get alerts when one of our cloudflare tunnels goes down / is not connected to cloudflare anymore.
✔ Solution
Use the cloudflare API to retrieve the tunnel status from cloudflare to see whether it is healthy and connected or not. Use the result to update the monitor status.
Related cloudflare API docs: https://developers.cloudflare.com/api/operations/cloudflare-tunnel-list-cloudflare-tunnels
In the result output there would be an array of result objects, where the "status" field is the relevant field for determining if the tunnel is healthy or not.
❓ Alternatives
No response
📝 Additional Context
The list of tunnels for your account can be found on the zero trust dashboard https://one.dash.cloudflare.com/ under Access -> Tunnels, there you can also find the tunnel id for each tunnel.
Homepage for example has a widget that does this and can show if the tunnel with the corresponding tunnel id is currently connected or not: https://gethomepage.dev/en/services/cloudflared/
But Homepage is not really a tool for monitoring, so there is still value in having it in uptime-kuma for proper monitoring and alerts.

Related https://github.com/louislam/uptime-kuma/issues/3875


RuntimeError: Numpy is not available

Once I did the basic installation I made a file with this script.
from stable_diffusion_videos import interface interface.launch()
It runs fine until half way through it says:
RuntimeError: Numpy is not available
I have tried uninstalling and reinstalling numpy. I have also tried installing 1.21.0 and 1.23.3 neither of them work.
Is this a problem with my environment, or is this an actual bug?

fixed


can't reach the site with 160 lines of code selected

i use the vim plugin, if that helps: https://github.com/kristijanhusak/vim-carbon-now-sh

Expected Behavior
to have the site load up with the code selected.
Actual Behavior

@x4m3 can you post the exact URL here and I'll get it fixed right away!

sure! there you go: https://carbon.now.sh/?t=material&code=%252f%252a%250a   wifi.ino %253a gestion du wifi%250a%250a   http%253a%252f%252fpoubelle.online%250a%250a%252a%252f%250a%250a%2523include %253cWiFi.h%253e%250a%250avoid connect_wifi%2528%2529 %257b%250a  %252f%252a started wifi %252a%252f%250a  Serial.println%2528%2522wifi%253a started%2522%2529%253b%250a%250a  %252f%252a disconnect from wifi first %252a%252f%250a  WiFi.disconnect%2528%2529%253b%250a  Serial.println%2528%2522wifi%253a disconnected%2522%2529%253b%250a%250a  %252f%252a connecting to wifi %252a%252f%250a  WiFi.begin%2528wifi_network%252c wifi_password%2529%253b%250a%250a  %252f%252a waiting for wifi to connect %252a%252f%250a  Serial.println%2528%2522wifi%253a if you can%2527t connect%252c make sure the ssid and password are correct%252c the wifi router is on%252c and reboot the device%2522%2529%253b%250a  Serial.print%2528%2522wifi%253a connecting to network%2522%2529%253b%250a  while %2528WiFi.status%2528%2529 %2521%253d WL_CONNECTED%2529 %257b%250a    delay%2528500%2529%253b%250a    Serial.print%2528%2522.%2522%2529%253b%250a  %257d%250a%250a  %252f%252a success in console and display %252a%252f%250a  Serial.println%2528%2522 connected%2521%2522%2529%253b%250a  splash_wifi_connected_text%2528%2529%253b%250a%250a  %252f%252a display ip and ssid of current network %252a%252f%250a  Serial.print%2528%2522wifi%253a ip address%253a %2522%2529%253b%250a  Serial.println%2528WiFi.localIP%2528%2529%2529%253b%250a%250a  Serial.print%2528%2522wifi%253a network ssid%253a %2522%2529%253b%250a  Serial.println%2528wifi_network%2529%253b%250a%257d%250a%250avoid connect_server%2528%2529 %257b%250a  %252f%252a connection to the server %252a%252f%250a  WiFiClient client%253b%250a  if %2528client.connect%2528host%252c port%2529%2529 %257b%250a    %252f%252a message in console and display %252a%252f%250a    Serial.println%2528%2522wifi%253a the following data will be sent%253a%2522%2529%253b%250a    Serial.println%2528%2522%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%2522%2529%253b%250a%250a    Serial.print%2528%2522masse%253a %2522%2529%253b%250a    Serial.println%2528masse%2529%253b%250a%250a    Serial.print%2528%2522matiere%253a %2522%2529%253b%250a    Serial.println%2528matiere%2529%253b%250a    Serial.println%2528%2522%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%252a%2522%2529%253b%250a%250a    splash_wifi_send_text%2528%2529%253b%250a%250a    %252f%252a start the http get request %252a%252f%250a    client.print%2528%2522GET %252fphp%252fadd.php%253f%2522%2529%253b%250a%250a    %252f%252a send the value of %2527masse%2527 %252a%252f%250a    client.print%2528%2522masse%253d%2522%2529%253b%250a    client.print%2528masse%2529%253b%250a%250a    %252f%252a separation for other variables %252a%252f%250a    client.print%2528%2522%2526%2522%2529%253b%250a%250a    %252f%252a send the value of %2522matiere%2522%250a     %252a 1%253a metal%250a     %252a 2%253a verre%250a     %252a 3%253a plastique%250a     %252a 4%253a autre%250a     %252a%252f%250a    client.print%2528%2522matiere%253d%2522%2529%253b%250a    client.print%2528matiere%2529%253b%250a%250a    %252f%252a specify http spec version %252a%252f%250a    client.println%2528%2522 HTTP%252f1.1%2522%2529%253b%250a%250a    %252f%252a put the host and the port %252a%252f%250a    client.print%2528%2522Host%253a%2522%2529%253b%250a    client.print%2528host%2529%253b%250a    client.print%2528%2522%253a%2522%2529%253b%250a    client.println%2528port%2529%253b%250a%250a    %252f%252a finish the http request %252a%252f%250a    client.println%2528%2522User-Agent%253a esp32-poubelle%2522%2529%253b%250a    client.println%2528%2522Connection%253a close%2522%2529%253b%250a    client.println%2528%2529%253b%250a%250a    %252f%252a message to say success%2521 %252a%252f%250a    Serial.println%2528%2522wifi%253a information sent to the server %2521%2522%2529%253b%250a    splash_wifi_send_success_text%2528%2529%253b%250a%250a  %257d else %257b%250a    %252f%252a if the conneciton failed %252a%252f%250a    Serial.println%2528%2522wifi%253a connection failed to the server%2522%2529%253b%250a    Serial.println%2528%2522wifi%253a if you lost your wifi network%252c please reboot the device%2522%2529%253b%250a    Serial.println%2528%2522wifi%253a you also may wanna check if the server is not offline%2522%2529%253b%250a    Serial.println%2528%2522%2522%2529%253b%250a    client.stop%2528%2529%253b%250a  %257d%250a%250a  %252f%252a debug%253a get reply from the server%250a    while%2528client.available%2528%2529%2529 %257b%250a    char c %253d client.read%2528%2529%253b%250a    Serial.print%2528c%2529%253b%250a    %257d%250a  %252a%252f%250a%250a  %252f%252a once data has been sent%252c stop the wifi client %252a%252f%250a  if %2528client.connected%2528%2529%2529 %257b%250a    client.stop%2528%2529%253b%250a    Serial.println%2528%2522wifi%253a client stopped%2522%2529%253b%250a    Serial.println%2528%2522%2522%2529%253b%250a  %257d%250a%257d

Cool! Yeah so the maximum URL is ~2000 and that URL is > 6000. The browser won't even open Carbon if the URL is that long, so it is the job of the plugin to truncate the code if you want it to work 👍

yeah, i figured that out, i saw that i selected around 50 lines of code, whoops....
thanks for the help!


https://github.com/byt3bl33d3r/OffensiveNim/issues?q=is%3Aissue+is%3Aopen+++have++encode++shellcode%3F

https://github.com/byt3bl33d3r/OffensiveNim/issues?q=is%3Aissue+is%3Aopen+++have++encode++shellcode%3F+

have++encode++shellcode%3F

Ni hao!


docs: Add draft overview for operations team.

Description
This PR adds a first draft of the overview documentation for the SplashKit Operations Team
Type of change
Please delete options that are not relevant.

[x] Documentation (update or new)

Thanks @talzid. Good point - I will merge now to avoid merge conflicts later.


[kythe] ReferenceExtendsInheritance() sometimes runs into nullptr scopes.

Input test case
git clone https://github.com/accellera/uvm.git
echo uvm/distrib/src/uvm_pkg.sv > filelist.txt
verible-verilog-kythe-extractor --include_dir_paths=uvm/distrib/src --file_list_path filelist.txt > /dev/null

This results in a nullptr scope (which is now prevented from creating a crash but still needs investigation)

After #1129, log error output is
E20211222 12:02:51.243124 923014 kythe_facts_extractor.cc:1068] ReferenceExtendsInheritance: NULL scope for vname {
  "signature": "uvm/distrib/src/base/uvm_objection.svh#m_uvm_test_done_objection_base#",
  "path": "uvm/distrib/src/base/uvm_objection.svh",
  "language": "verilog",
  "root": "",
  "corpus": ""
}
E20211222 12:02:51.340545 923014 kythe_facts_extractor.cc:1068] ReferenceExtendsInheritance: NULL scope for vname {
  "signature": "uvm/distrib/src/base/uvm_port_base.svh#uvm_port_base#IF#",
  "path": "uvm/distrib/src/base/uvm_port_base.svh",
  "language": "verilog",
  "root": "",
  "corpus": ""
}
E20211222 12:02:51.806788 923014 kythe_facts_extractor.cc:1068] ReferenceExtendsInheritance: NULL scope for vname {
  "signature": "uvm/distrib/src/reg/uvm_reg_sequence.svh#uvm_reg_sequence#BASE#",
  "path": "uvm/distrib/src/reg/uvm_reg_sequence.svh",
  "language": "verilog",
  "root": "",
  "corpus": ""
}
...

Suspicion is that we hit the root scope. Needs further investigation.


Describe math-hurdler

This will be the issue where we will describe aspects, features and components of the math-hurdler activity.
At the moment I couldn't find @BlueJay89 in the contributors list so please let me know as soon as possible when I can add him as an assignee.
Prelude: math-hurdler is a python sugar math game. It is to be ported into the js (sugarizer)
link: https://github.com/sugarlabs/math-hurdler
setup: check project readme.

Installation and first run:

As expected, you should have a version of sugar-live-build os. If you follow the vm intro + sugar hello world you should have a VM with sugar in no time. Just remember to use Debian 64bit.
Clone the math-hurdler repo and run the prerequisite installation commands listed in the readme
Once the prereq commands have run, simply run the activity from the command line ./math-hurdler.py.  In order to jump over an obstacle you need to solve a fraction problem as fast as possible, otherwise, the horse trips over and hits the obstacle.
Example view:

The way you solve the fraction problem is by clicking one of the 4 answers at the bottom of the screen. You are given a limited amount of time to select one, I'd even say it's a little too harsh on the timing as I struggled to even take a screenshot without dying on the first problem:

Once you select one of the 4 options you'll have to wait until the jump state. If the answer is correct - you continue onwards, if not you lose...
Other notes

The sun basically showcases the number of points you've earned and it's more like a "how long have you survived" kind of score.
The horse is "sort of" animated (it just literally jumps up and down and then is flipped over the moment it hits a structure in front of it)
The app is sort of smushed on my screen. It's probably because the dimensions of my VM instance are too small for it.

The project uses pygame as a dependency and obviously some of the sugar labs.

Code Notes

Here is where the main game loop starts.
Evaluation of the right answer code
rendering logic here
here is how the game generates a question + potential answers

You can also go take a look at the custom classes for the Horse and Sun.
I also have an overall note that I'm not happy how the original creator of how they put all of their py code in one file without abstracting away a lot of the rendering code (at least 100-150 lines could have been replaced by adding items to a render list and just calling render)
Everything else seems miscellaneous and easy to do it's not really interesting to bring up

The Github web interface has already made note, but I explicitly want to mention for benefit of the notifications system (and for my email inbox) that there is also a  corresponding Sugarizer development issue for this activity:
#21
as participants in each issue can earn credit working across the lines with their counterparts in the other, corresponding issue (developers seeking or offering feedback from/to describers and vice versa).


Edited summary

Added the description for this class.

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

File
Status
Preview URL
Details

sharepoint-server/xml/Microsoft.SharePoint/SPEmailEventReceiver.xml
:white_check_mark:Succeeded

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


Contribution

There are cases where NN have been applied with NLP for handwriting recognition especially in case of recognizing maybe wrongly written word or line say for instance "please" written as "plaese" as this word increase accuracy of recognizing words or lines. Is it that SimpleHTR is only based on NN or it would be too much of processing time and be unnecessary to implement NLP along with NN.

you can use the word beam search decoder (see README on how to use it), which uses a dictionary to correct small mistakes.

and this will also apply to cursive writing style?

Thank you for your response

very much understood. Understood


Implement TableAdmin::CreateTableFromSnapshot that returns void and take functor as argument.

Another variant of TableAdmin::CreateTableFromSnapshot that takes functor as argument. #329

I am closing these bugs until we understand how the async path will work better.  We can reopen or create new ones when that happens.


[IN]

You do not need to put in anything here :)

Just open the issue by clicking the green "Submit new issue"; within 10-15s, a message instructing you how to upload your files should appear!

cif
Uploading Li2Zn3.zip…


use config_creator to make configs for synthetic tests

issue #71  we created the class and made it work for parkfield, but the same thing should be done for the synthetic tests.
specific file that need to be updated:
make_synthetic_processing_configs.py

committed this 2795c07ef9f0fc41aed175638dcfd85f9fbbf20b


Importing tw-elements-react.min.css overwrites theme.extend.colors

Describe the bug
After following the setup instructions for a NextJS project, including this line:
import "tw-elements-react/dist/css/tw-elements-react.min.css";

... seems to overwrite custom color classes in tailwind.config.css set in the theme.extend.colors section.
To Reproduce
Using this tailwind.config.ts:
import type { Config } from "tailwindcss";

const config: Config = {
  content: [
    "./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
    "./src/components/**/*.{js,ts,jsx,tsx,mdx}",
    "./src/app/**/*.{js,ts,jsx,tsx,mdx}",
    "./node_modules/tw-elements-react/dist/js/**/*.js",
  ],
  theme: {
    extend: {
      colors: {
        honeydew: "#f1faee",
      }
    },
  },
  corePlugins: {
    preflight: false,
  },
  plugins: [require("tw-elements-react/dist/plugin.cjs")],
};

export default config;

... And then use the color in any component:

This should be Honeydew but it isn't!

Expected behavior
The resulting CSS should contain the extended theme colour class names.
Actual behavior
The class names don't exist in the resulting CSS and therefore styles aren't applied.

Hi @leebenson, just don't import our CSS file, because you have custom Tailwind config for your project. However, if these styles are needed for you, place them before your custom Tailwind styles will be added.


Combine stepper motor box daemons, fix multiset problems

@pcruzparri I would specifically like you to take a look at this and see what makes sense to you and does not
This PR removes the filter wheel and fuyu_linear daemons entirely, they will need to be migrated on the lab machines, and any documentation will need to be updated with the new name
Closes #59
Closes #48

@pcruzparri I know you were looking at this the other day, feel free to comment/merge


Gazebo simulation

I am trying to fly a drone in Gazebo simulation environment. I followed Interfacing the Simulation to ROS and
offboard control example.  Further I want to fly the drone in the simulator using mocap      system. I am publishing mocap data of an external sensor on mavros/setpoint_position/local topic .

Is it require to publish data on /mavros/mocap/pose topic , I don't see it in the offboard example.
After sometime I get following errors and drone crashes

>>roslaunch window
[ WARN] [1504021090.907031436]: TM: Clock skew detected (-0.014455243 s). Hard syncing clocks.
[ INFO] [1504021092.041556980]: HP: Home lat 47.397742, long 8.545594, alt 488.041992
[ERROR] [1504021100.715278549]: FCU: Accel #0 fail:  TOUT!
[ERROR] [1504021100.768796982]: FCU: Gyro #0 fail:  TOUT!
[ WARN] [1504021101.106531476]: TM: Clock skew detected (-0.015692711 s). Hard syncing clocks.
[ERROR] [1504021121.809099302]: FCU: Failsafe enabled: no RC and no offboard

>no_sim=1 window
WARN  [mavlink] [timesync] Hard setting offset.
WARN  [mavlink] [timesync] Hard setting offset.
WARN  [lib__ecl] EKF baro hgt timeout - reset to baro
WARN  [lib__ecl] EKF baro hgt timeout - reset to baro

when drone crashes in simulation I have to restart my system to fly it again. is there any another way to do it?
when flying drone with mocap how can I set home as X, Y instead of lat. and long.

Hey, this issue has been closed because the label status/STALE is set and there were no updates for 30 days. Feel free to reopen this issue if you deem it appropriate.
(This is an automated comment from GitMate.io.)


Module: Jooq

Jooq is a nice alternative to JPA.
It would be great if jhlite supports it.
If integration of jooq-generator (as build plugin) is possible with liquibase/flyway, that would be awesome (using testcontainers-jooq-codegen-maven-plugin?)

Started to work on it
Configuration seems ok: https://github.com/fabienpuissant/jhipsterlite-jooq/tree/postgres-liquibase
Need to find relevant example to initialize module
Let me know if you use the plugin that way

@fabienpuissant : exemple repo looks fine!

Not convinced about what to do as an axample for the initialization
Only the configuration without any example is enough ?
Or maybe should I keep a CRUD repository example without the infrastructure primary to avoid RestController ?

Jooq module(s) should not contain any sample code, only all the setup.
If you want you can also provide an additional sample module, you can look there are already some.

Regarding modules organisation, here's a proposal:

rename existing postgresql to jpa-postgresl, MySQL to jpa-mysql, ...
have a feature 'jooq', with modules jooq-postgresql, jooq-mysql, ...
have another feature 'jooq-codegen-liquibase' with modules for postgresql, MySQL
and have a feature 'jooq-codegen-flyway'

WDYT?

I was thinking about that since hibernate config was loaded by default
Separate the modules this way seems to be a good idea
But I don't get last two points, I would include testcontainers codegen by default in jooq-xxxxx module no ?
As I understood, jooq need a codegen anyway. So you want to separate the default codegen and the testcontainer codegen in two modules ?

But I don't get last two points, I would include testcontainers codegen by default in jooq-xxxxx module no ?

If you include testcontainers codegen by default in jooq-xxxxx, it means you already have chosen between liquibase and flyway?
Or I'm missing something?

As I understood, jooq need a codegen anyway. So you want to separate the default codegen and the testcontainer codegen in two modules ?

Indeed, I would separate things. So you can use jooq-postgresql module, and manually use the official jooq codegen maven plugin rather than the testcontainers one (that only support postgres, mysql and mariadb: no support for mssql e.g.).
BTW we will have to find a gradle equivalent of the testcontainers codegen maven plugin (in a first step we can declare a dependency to maven to explicitly disable gradle)

An idea to provide example is to add a small documentation, in a markdown file. It would be enough

But I don't get last two points, I would include testcontainers codegen by default in jooq-xxxxx module no ?

If you include testcontainers codegen by default in jooq-xxxxx, it means you already have chosen between liquibase and flyway? Or I'm missing something?

As I understood, jooq need a codegen anyway. So you want to separate the default codegen and the testcontainer codegen in two modules ?

Indeed, I would separate things. So you can use jooq-postgresql module, and manually use the official jooq codegen maven plugin rather than the testcontainers one (that only support postgres, mysql and mariadb: no support for mssql e.g.).
BTW we will have to find a gradle equivalent of the testcontainers codegen maven plugin (in a first step we can declare a dependency to maven to explicitly disable gradle)

Yeah my idea was to reduce complexity by including testcontainers codegen directly into jooq-postgresql module for example.
But lets separate different codegens if you think it's needed and I wasn't aware that the testcontainers one is not supporting all  db

@murdos @fabienpuissant : can it be closed?

There still a lot to do to fully supports jooq
Gradle compatibility
Liquibase integration
Flyway integration
Using jooq under test container plugin (for maven ans gradle)

@pascalgrimaud : no, there's still some work to do:

add gradle plugin for jooq
use https://github.com/testcontainers/testcontainers-jooq-codegen-maven-plugin in order to generate jooq classes without having to start manually a docker container

In this case, maybe we should split into smaller tickets, and link to this one, which will be the main?


Dayz

Game Title
BOHEMIA INTERACTIVE®
Game Website
https://dayz.com/
Anti-Cheat Software
BattlEye
Status of the Anti-Cheat
⭐ Supported
Proof of Mention
N/A

Hi! Thank you for the information. Maybe you found a way to run the game with mods?

But with mods, we haven't found a way yet... dayzsa doesn't start either... I think it's possible to run through cmd or bat files somehow, but nothing comes out yet.... But here, most likely, I'm doing something wrong.... I wonder how to run it with mods

I've just created a CLI launcher for DayZ which lets you set up mods and lets you connect to servers automatically:
https://github.com/bastimeyer/dayz-linux-cli-launcher
Additional Reddit thread here:
https://www.reddit.com/r/linux_gaming/comments/r9zz6n/ive_created_a_launcher_for_dayz_on_linux_which/


Error when trying to execute npm install

I tried installing the sample app. All went well until the step "npm install". The error was:
Failed at the<EMAIL_ADDRESS>postinstall script 'node lib/install.js'.
This is on Ubuntu 16.04 LTS with node v4.2.6 and npm v3.5.2.
Attached is the log file from my 4th attempt.
npm-debug.log.zip

Hi Terence,
The log file you have provided us with mentions that two of the dependencies: fsevents and pngquant-bin fail to install.
Could you update your npm and node versions,  remove the node_modules folder from your package and try running npm install again.
Please let us know if you still run into this issue after the update too.
Thanks,
Nidhi


Environment requirements

Could you please provide instructions for installing the environment to run your codes? Like the specific versions of your Python packages? Much thanks!

@Immortals88


Update oadp-operator to 0.1.1

Signed-off-by: Shubham Dilip Pampattiwar<EMAIL_ADDRESS>Thanks submitting your Operator. Please check below list before you create your Pull Request.

Flat operator directory structure is obsolete from 23-rd of October 2019, only nested directory structure will be accepted.

New Submissions

[ ] Does your operator have nested directory structure?
[ ] Have you selected the Project Community Operator Submissions in your PR on the right-hand menu bar?
[ ] Are you familiar with our contribution guidelines?
[ ] Have you packaged and deployed your Operator for Operator Framework?

[ ] Have you tested your Operator in all supported installation modes?
[ ] Is your submission signed?

Updates to existing Operators

[ ] Is your new CSV pointing to the previous version with the replaces property?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Submit operators to both upstream-community-operators and community-operators at once
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

@shubham-pampattiwar We just fixed building issue that is reporting error in travis build test. Can you please rebase to current master? Thanks

@shubham-pampattiwar We just fixed building issue that is reporting error in travis build test. Can you please rebase to current master? Thanks

No problem @mvalahtv,  updated the PR !


modified some things

modified this library in order to adapt our requirement.

Is it possible to use this package directly without doing any changes in it?


scp can not completion ssh host?

Description
scp can not completion ssh host  like ssh.
Expected behavior
scp can  completion ssh host  like ssh.
ssh:

scp:

Actual behavior
scp can not completion ssh host.
Steps to Reproduce
1> scp ser
2> tab
Versions

Prezto commit:66bfe9be27a1e63c
ZSH version:zsh 5.1.1 (x86_64-ubuntu-linux-gnu)
OS information:ubuntu 16.04

Hi!
Same issue here, with:

Prezto : 66bfe9be27a1e63cd4bf8ae1e802b10a3068bd07
Zsh: 5.4.2-2

This should be fixed with the latest commit. We've been having a number of issues relating to a workaround function, so I've disabled it for now.

Thanks @belak !

Thanks for reporting! We've had issues with this function in the past, so disabling it was something I was already considering.


ABOUT file "num_shots_v0.5.npy".

Dear Author:
Hi, is the file "num_shots_v0.5.npy" necessary for training? Can you provide the file?https://github.com/MegviiBaseDetection/DisAlign/blob/eb85ca08d2204c612e5ef1c54534d49a688dc838/segmentation/lvis0.5/mask_rcnn/res50/mask_rcnn.res50.fpn.lvis.multiscale.cos_norm.disalign.1x/roi_heads/fast_rcnn.py#L45
def _init_weights(self, exp_scale=0.7):
    import os
    import cvpods
    import numpy as np
    folder_name = "/".join(cvpods.__path__[0].split('/')[:-1])
    num_samples_list = np.load(os.path.join(folder_name, "datasets/lvis/num_shots_v0.5.npy"))

I have updated the readme and uploaded the related files. Feel free to re-open if you have any questions.


Style by category for polygons after applied an analysis is not working

STR

Create a map with a layer of points.
Apply an AOI by distance analysis over that layer.
Click over "style this analysis result" is not working either, but go to the style tab.
Change the fill attribute, select by value, and choose a string column.
Category columns don't appear, check console.

I'm closing this issue, since I can't reproduce it. For me, selecting string columns gave me the list of categories:

I created an issue for the "style this analysis result" that you mention here: https://github.com/CartoDB/cartodb/issues/9609


Live demo runtime error

Exciting project, looking forward to seeing how it evolves.
The live demo seems to have a runtime error if you click the “Parse” button; I can't get it to work:
TypeError: undefined is not a constructor (evaluating 'new jtpp.Parser({
            mode: mode
        })')

Thanks! And thanks for reporting that! It is working again.

Yesterday I changed the main interface of the parser to a single parse function. I forgot to change that in the demo.


New sample: Teams team Request Form

We're so eager to add your sample to this repository as soon as possible, but we need all samples follow the same structure.
To make sure we process it as soon as possible, make sure to follow these instructions.

Q
A

Bug fix?
no

New feature?
no

New sample?
yes

Related issues?
fixes #X, partially #Y, mentioned in #Z

Solution Details

Q
A

Solution requires premium license
no

Solution uses experimental features (see licensing guidelines)
no

Which connectors are used?
SharePoint, Teams, Outlook

Solution uses on-premises connectors?
no

Solution uses custom connectors?
no

Layout
Tablet, responsive

What's in this Pull Request?
The following solution components are included in this Pull Request:

New Team Request (Canvas app)
Create a new Team per request (Cloud flow)
Additionally the Pull Request contains the ReadMe file with detailed instructions for the instalation

Hi @Katerina-Chernevskaya,
Looks like a very useful sample! Could you please add connection references + environment variables to your solution, so it's easier to import the solution?
Connection references docs: https://learn.microsoft.com/en-us/power-apps/maker/data-platform/create-connection-reference
Evironment variables docs: https://learn.microsoft.com/en-us/power-apps/maker/data-platform/environmentvariables
Thanks in advance,
Daniel

Hi @Laskewitz ,
Thank you so much for the recognition and valuable advice! I updated the solution by adding 2 environment variables and 3 connection references. As well I updated Readme file - the part with installation instruction. Now the import in pretty straightforward and clear.
Thank you again for your support! :)
Kate


[Model] Add Llama-SwiftKV model

SwiftKV was recently announced at https://www.snowflake.com/engineering-blog/swiftkv-llm-compute-reduction/. This PR adds a SwiftKV version of Llama that can immediately be used to run models at https://huggingface.co/collections/Snowflake/swiftkv-models-674f7d7474eb789e185d31cb.
The model definition is somewhat unconventional due to the need to early-exit some tokens but not others after a specific number of layers, and we wanted to minimize the amount of changes to vLLM's core code. Specifically:

sampling_params is passed into the model forward pass so it can identify which tokens to early exit and which tokens to propagate through all layers. Only those tokens that needs to be sampled from are propagated.
SwiftKV captures and replays its own cuda graph for the second half of the layers, which can have a small batch size even during prefill. We observe a 10-20% throughput gain from this, and it should be fully compatible with vLLM's existing cuda graph that only applies to decode-only batches.
SwiftKV builds its own attention metadata for flash-attention and calls flash-attention directly. This is because the attention metadata for the second half of layers is different from the first half. Additionally to support cuda graph for the second half of the layers, we need a path that calls flash_attn_with_kvcache for mixed prefill-decode batches, which appears not supported in vLLM's flash attention path (only flash_attn_with_varlen, which is not cuda-graphable, is called for any batch that contains prefill tokens).

Current limitations:

Only compatible when chunked prefill is enabled.
Only compatible with flash-attention.

Appreciate your great work! If I understand correct, swiftKV is technology which could apply to other models(but needs re-train or finetune based on new model structure), not only limited on llama model, right?
if so, I think a better approach is to define some classes like SwiftKVModelRunner/ SwiftKVAttentionOp to handle stuffs in llama_swiftkv.py

We will likely pick this up after refactoring of the memory management layer in V1 to support the varying KV cache requirements. In V1, we also have piece wise CUDA graph (no graph capture on attention) which should allow you no longer needing to self-manage CUDA Graph.


Update nodejs to v16 - gallium

Motivation
The active LTS is now v16. It could be useful to upgrade our tooling to use v16.
We've seen some internal reports that heap snapshots are more reliable on v16 than v14.
Description
Update node v14 -> v16. (fermium -> gallium)

@wemeetagain some sim tests failed


Bump sqlite3

This removes the dlopen error when compiling statically
I also included @kolyshkin  commit from https://github.com/docker/docker/pull/15387 to show we can not ignore unresoved symbols and get none now :)

ping @tianon @LK4D4 @aaronlehmann

Nice, LGTM :+1:

@jfrazelle I think vendor/src/github.com/docker/libnetwork/osl/test_linux.go was added by mistake. Can you remove it?

FWIW, I just opened https://github.com/docker/libnetwork/pull/499 so we don't vendor test specific functions anymore.

cool ya because the vendoring script was adding that file

updated

:metal: LGTM

LGTM

:metal:


Uncovered line link pointing to invalid page

Expected Behavior
Clicking the line numbers in the added comment shows lines not covered by tests in the code.
Current Behavior
Clicking on line numbers opens another github page but that says: "The *** repository doesn't contain the /file.js path in '6074***679594'"
Steps to Reproduce

Have a private repo
Have 2 branches (main, exploration)
Have basically no files or code on the main branch and all on exploration
Open pull request from exploration to main that triggers the action
Have uncovered lines in your repo
Let action create coverage comment
Click uncovered line number in comment
See issue

Screenshots

I don't succeed to reproduce the issue, can you please share it with me:

all settings that you pass to uses: MishaKav/jest-coverage-comment@main
do you know if the link to the file works? or it doesn't work either?
can you share with me the generated link for some lines? (you can replace the sensitive data if you want with some xxx)

all settings that you pass to uses: MishaKav/jest-coverage-comment@main

My workflow includes the following step for generating the comment
- name: Jest Coverage Comment
        uses: MishaKav/jest-coverage-comment@main
        with:
          coverage-summary-path: ./coverage/coverage-summary.json
          coverage-path: ./coverage.txt
          junitxml-path: ./coverage/junit.xml
          title: Test Summary
          summary-title: Summary
          junitxml-title: Unit Tests

do you know if the link to the file works? or it doesn't work either?

The link to the file doesn't work either.

can you share with me the generated link for some lines? (you can replace the sensitive data if you want with some xxx)

Link to the file: https://github.com/xxx/xxx/blob/e461ec8da9e75b57b81231ccf647baa300b9b6e5/xxx/app.js
Link to the lines: https://github.com/xxx/xxx/blob/e461ec8da9e75b57b81231ccf647baa300b9b6e5/xxx/routes/business.js#L79
I forgot to mention that I am running this in a private organization repo and not my private one.
Don't know if that may influence the result at all.

can you share with me the link for the file app.js? (what should be instead xxx before the app.js., it some directory? maybe some prefix?
this how simple link to some of current repo file looks like https://github.com/MishaKav/jest-coverage-comment/blob/d12e14b4f20d7075892280420157193cae774e08/package.json

The first xxx stands for the organization name
The second xxx stands for the repository name

The issue seems to be the last(third) xxx.
When I remove that one the link works.

yes, looks like this is the problem, the action already supports this kind of problem.
You just need to path the prefix directory coverage-path-prefix :
- name: Jest Coverage Comment
    uses: MishaKav/jest-coverage-comment@main
    with:
      # your cofings....
      coverage-path-prefix: XXX

Hi @MishaKav,
thanks for your response.
My issue is that there is a repository name too much at the end.
The last xxx in the link (repository name) has to be removed to make it valid.
Is it possible to remove part of the link with the coverage-path-prefix setting or only add additional?

sure, you can use the coverage-path-prefix as the regular shell command. To remove some directories use ../ before.

Hi @MishaKav,
it's been a few days and I finally came to test the coverage-path-prefix but it seems to cut off the wrong part.
I added following code to the action
coverage-path-prefix: '../'

Now it cuts of the blob and not the repo, thus it still doesn't work correctly.
Before: https://github.com/[ORG]/[REPO]/blob/599f3XXXd2b9a/[REPO2]/helper/validator.js
After: https://github.com/[ORG]/[REPO]/blob/[REPO2]/helper/validator.js
[ORG] := the organization name
[REPO] := The repository name
[REPO2] := The repository name
XXX := placeholder for more letters and numbers
Is there a way to only remove [REPO2] from the url?

Can you try coverage-path-prefix: '../../' ?

Any update on this? I am also having this issue

Can you try coverage-path-prefix: '../../' ?

Using ../../ redirects me to:
https://github.com/[ORG]/[REPO]/[REPO2]/helper/validator.js?rgh-link-date=2023-02-20T12%3A08%3A47Z


Make stryker config file mandatory

Running stryker with command line options won't read a stryker.conf.js file. This results in unexpacted behavior, for example:
$ stryker run
[2017-09-22 15:30:17.180] [INFO] ConfigReader - Using stryker.conf.js in the current working directory.
...
[2017-09-22 15:30:29.083] [INFO] Stryker - Done in 11 seconds.

$ stryker run --logLevel debug
[2017-09-22 15:30:35.483] [INFO] ConfigReader - No config file specified. Running with command line arguments

I think it would be more useful to always require a stryker.conf.js file to be specified.

Hi there :-),
got here by the hacktoberfest label and I'd like to fix this. However, I suggest a slightly different behavior.
Either we have a config file specified or not. If we have one - great, use it! If we don't - let's try stryker.conf.js. In both cases, command line arguments should override settings from the config file.
If there is no config specified and no stryker.conf.js in the dir, then it will just be the command line arguments.
What do you think?

Hi @Be-ngt-oH 😄
Great idea, let's do that.

Hi @Be-ngt-oH
Glad to hear that the tag is working! If you need any more info, feel free to ask for it :)
Happy hacking!

To make sure I understand correctly, is this request removing the ability to directly define a grunt task in Gruntfile.js that has all the config settings in it?
example...
stryker: {
	mutate: {
		options: {
        		files: [
            			{ pattern: 'src/**/*.js', mutated: true},
            			'test/**/*.spec.js'
        		],
        		testRunner: 'karma',
        		testFramework: 'jasmine',
        		coverageAnalysis: 'all',
        		reporter: ['clear-text', 'html', 'event-recorder'],
        		thresholds: {
            			high: 90,
            			low: 50,
            			break: 95
        		}
		}
	}
}

Well, it might have if @Be-ngt-oH didn't step in and did his suggestion. So your example should still work


Storm not installing

Hello,
I am trying to use this cookbook to install on a local vagrant server via chef-colo
I have edited storm-cluster-0.0.21/attributes/storm_yaml.rb and added localhost to these attributes.
default['storm']['storm_yaml']['nimbus.host'] = 'localhost'
default['storm']['storm_yaml']['storm.zookeeper.servers'] = ['localhost']
I dont see that storm is being installed.
Appreciate any help.

Shekar

@ctippur Thank you for reporting issue. I'll release v0.0.22.


Add labels/annotations to the subnamespace (or its anchor) at creation time

Hello,
I would like to be able to define labels/annotations for a new subnamespace at the time it is created.
Something along the lines of:
kubectl hns create -n parent child --annotation foo=bar --annotation baz=qux --label tata=titi --label toto=tutu

Currently, this requires first creating the subnamespace, then updating it to add the annotations/labels.
I was hoping that the two operations could be merged into one.
What do you think?

The raw capability for this already exists: the SubnamespaceAnchor has label and annotation fields here. Adding command-line flags to kubectl-hns to populate those seems like a good idea and quite easy to do - please feel free to add that!

Sorry for the delay - you need to use spec.labels, not metadata.labels, see my latest comment in #323.

/remove-lifecycle stale


Array knob does not work with custom separator

Bug or support request summary
Array knob does not work with custom separator. Instead, it converts the custom separator to comma and returns only a single item array.
Steps to reproduce
For instace using:
const options = array('Options', ['aaa', 'bbb', 'ccc'], ':')

renders the knob values separated with a comma, not the colon as given in the parameter:

Editing the knob value by adding another item :ddd converts : to , again:

And sets the knob value returned from array('Options', ['aaa', 'bbb', 'ccc'], ':') to ["aaa,bbb,ccc,ddd"]. The array with just a single item. Nothing gets separated by the separator, as my custom separator is being replaced with comma, so there is no separator left in the value string.
Please specify which version of Storybook and optionally any affected addons that you're running

@storybook/react 4.0.0-alpha.18
@storybook/addon-knobs 4.0.0-alpha.18

Confirmed with 4.0.0-alpha.14 as well.
Affected platforms
Affects all platforms

Yes, the bug is still there.

I think it is silly to have a bot closing unfixed bugs.

lol

We have a bunch of issues with knobs. Sure, we do need to fix them. Any community help is much appreciated. If anyone wants to help by creating a PR with the fix until the team could handle this, that'd be great

This can no longer be reproduced in @storybook/react 4.1.2 and
@storybook/addon-knobs 4.1.2.

Confirmed in the official storybook examples that this has been fixed as described by @kallaugher, closing this!


Block a website by manipulating the HOSTS file in Client [feature-request]

I think this would be a rarely used feature however, one can frustrate a user(client) by blocking access to a website by adding values in the HOSTS file in C:\Windows\System32\drivers\etc.
I am sure you all know how to do this but for newcomers;
For example - to block www.facebook.com,
<IP_ADDRESS> www.facebook.com

It would be awesome to add a separate form to block websites. This feature would provide a basement to phish websites using this technique.Redirect a website to localhost(say facebook)using the HOSTS file, start a minimalistic server running a copy of that website(there are plenty of c# http servers in GitHub) and get those passwords.

Yes, it's maybe useful. However you'll need Administrator rights to do this.

Yeah. Trying to trick the user to get admin rights and then running xRAT as a windows service would be a viable option. Since this feature is easy to implement(just add logic to write to a file), we can add a try{} catch{} and if the client does not have admin rights, then sending a packet denoting that admin rights is not available is possible

You might want to use this alternative instead of the host file.
foreach (TcpConnectionInformation con in (new IPGlobalProperties.GetIPGlobalProperties).GetActiveTcpConnections){
If (con.RemoteEndPoint.Address.ToString = blocked_website_ipaddress){
}
}
iphlpapi.dll (SetTcpEntry)


Security layer 2 for Bifold

Signed-off-by: Mostafa<EMAIL_ADDRESS>Summary of Changes
This is still in progress PR, lots of cleanup will be done at the end.
This PR contains the following changes

Updated security service
Biometrics flags added
Wired up the wallet with the security service through an Auth provider hooks
Wallet id/key now derives from user created PIN and stored in secure keychain
Wallet init by using the Auth hooks to get the wallet secret from keychain

Still to be done

Re-opening the app after first login to compare pin using either Biometry+PIN or Biometry+Fallback to PIN or .. etc
Adding security level enum to environment config or settings screen

Pull Request Checklist
Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.

[ ] All commits contain a DCO Signed-off-by line (we use the DCO GitHub app to enforce this);
[ ] Updated LICENSE-3RD-PARTY.md for any added dependencies or vendored components;
[ ] Updated documentation as needed for changed code and new or modified features;
[ ] Added sufficient tests so that overall code coverage is not reduced.

If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!
Pro Tip 🤓

Read our contribution guide at least once; it will save you a few review cycles!
Your PR will likely not be reviewed until all the above boxes are checked and all automated tests have passed.

PR template adapted from the Python attrs project.

Is this PR ready to merge? If so can we clean up the PR description? Is there anything in progress or is it all complete?


Provide example usage output

In your README.md, I'm expecting to see both example input as well as example output.
In essence, you want to make sure that your target audience has no doubts about how they would integrate into their workflow.

Example output is provided!


Bug 1896558: Bump to use k8s/apiserver openshift fork

This bumps and reacts to the changes in https://github.com/openshift/kubernetes/pull/558/files (pinning to openshift/kubernetes forks).

/hold
We cannot use o/k here. This library-go is used in many other places where we don't want to use a kube fork.

/close
we won't need this with https://github.com/openshift/kubernetes/pull/616


Add anu-asok to Conttibutors list

Hi  @Anu-Asok, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added social share  to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.


feat(storybook): add a shared decorator for group rendering and static color settings

Description
Many storybook stories require adding layout and/or padding in order to view variants together or snapshot focus states. The goal of this PR is to unify this effort in a shared decorator that can be customized using a new customStorybookStyles object that is leveraged in a story's args settings.
The default storybook styles applied by the decorator are:
const customStorybookStyles = {
  /** @todo: do we really want flex as our default display type? does this make development harder b/c we have to consider how it impacts a component or is it helpful so we can stack components in a view easily? */
  display: "flex",
  // automatically set the background color for static color settings
  backgroundColor: staticColor === "white" ? "rgb(15, 121, 125)" : staticColor === "black" ? "rgb(181, 209, 211)" : undefined,
  // Gap is only supported for flex and grid so we don't need to set it for other display types
  gap: customStyles.gap ?? (!customStyles.display || customStyles.display && ["flex", "grid"].some(d => customStyles.display.endsWith(d))) ? "10px" : undefined,
  padding: customStyles.padding ?? (customStyles.display && ["flex", "grid", "contents"].every(d => !customStyles.display.endsWith(d))) ? "10px 0" : undefined,
  ...customStyles,
};

Any settings added by the story will override these values. You can unset a value completely using undefined, i.e.:
customStorybookStyles: {
  display: undefined,
}

How and where has this been tested?
Please tag yourself on the tests you've marked complete to confirm the tests have been run by someone other than the author.
Validation steps

[ ] Accordion: overrides padding settings to 0
[ ] Action bar: overrides display to use "contents" (instead of flex)
[ ] Alert banner: sets flex-direction to "column" (instead of default value of row)
[ ] Checkbox:

flex-direction: column
gap is unset (should not appear in stylesheet)
padding: 1rem

[ ] Opacity checkerboard: inline & block size is 100px
[ ] Radio: flex-direction is "column" and align-items is "flex-start" (instead of default of stretch)
[ ] Stepper: flex-direction is "column" and align-items is "flex-start"
[ ] All other components should default to:

display: flex
background-color: transparent (unless static-white or static-black settings are active)
gap: 1rem

Note: All values set by this decorator should appear as inline-styles assigned to the #root-inner element.
To-do list

[x] I have read the contribution guidelines.
[x] I have updated relevant storybook stories and templates.
[ ] I have tested these changes in Windows High Contrast mode.
[x] If my change impacts other components, I have tested to make sure they don't break.
[x] If my change impacts documentation, I have updated the documentation accordingly.
[ ] ✨ This pull request is ready to merge. ✨

@mdt2 Not 100% why PR #2398 closed and wouldn't re-open except that since I pulled some items out, maybe since one of them merged first it triggered a connection in git. All that to say, I re-opened this PR for review.

layout: {
  name: "Layout",
  description: "How the buttons align in the preview (Storybook only).",
  type: { name: "string" },
  table: {
    type: { summary: "string" },
    category: "Advanced"
  },
  options: ["stacked","inline"],
  control: "radio"
},

^ Love this approach from button introduced in #2248, maybe I should update this PR to use this instead or in addition-to?


feat: llama-3.1-450B via gcp api

Showed a lot of inconclusive answers for the nmr peaks questions. However, the results, at least the overall, are quite good I think

Fixed the merge conflict.


Add instructions/guide for how to use the AspNet helper package

It's currently only referenced as a nupkg package without any documentation on how to use it. The goal of this project is to help developers adopt fido2, we should therefore add proper documentation.

I'm happy to put some samples together to put in the README.md. I might also make some tweaks to make it easy to add your own MDS repos.


Support for @skip/@include directives

We should be able to handle, or at least complain, those pretty standard directives.
cc @martijnwalraven

Support for @skip/@include has been added to 0.17.0.


Cannot find the path specified (to CUDA)

Using Windows 10 and I have CUDA version 12.3
The error occurs when I try to import Llama
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\11.2\bin'
(mllm) C:\Users\ooo\tor\LLM_JJMobility>pip install llama-cpp-python
Collecting llama-cpp-python
  Downloading llama_cpp_python-0.2.28.tar.gz (9.4 MB)
     ---------------------------------------- 9.4/9.4 MB 3.6 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: typing-extensions>=4.5.0 in c:\programdata\miniconda3\envs\mllm\lib\site-packages (from llama-cpp-python) (4.7.1)
Requirement already satisfied: numpy>=1.20.0 in c:\programdata\miniconda3\envs\mllm\lib\site-packages (from llama-cpp-python) (1.24.4)
Collecting diskcache>=5.6.1 (from llama-cpp-python)
  Downloading diskcache-5.6.3-py3-none-any.whl.metadata (20 kB)
Downloading diskcache-5.6.3-py3-none-any.whl (45 kB)
   ---------------------------------------- 45.5/45.5 kB ? eta 0:00:00
Building wheels for collected packages: llama-cpp-python
  Building wheel for llama-cpp-python (pyproject.toml) ... done
  Created wheel for llama-cpp-python: filename=llama_cpp_python-0.2.28-cp310-cp310-win_amd64.whl size=1900570 sha256=f4c975f9518a55e76ddce2952d8745b7664b462cb4f7e292128c354ee7ca4733
  Stored in directory: c:\users\ooo\appdata\local\pip\cache\wheels\93\6e\a9\478cce089dc2a082bdcffe468a1c65465c91b25d911b30da82
Successfully built llama-cpp-python
Installing collected packages: diskcache, llama-cpp-python
Successfully installed diskcache-5.6.3 llama-cpp-python-0.2.28

(mllm) C:\Users\ooo\tor\LLM_JJMobility>python
Python 3.10.13 | packaged by Anaconda, Inc. | (main, Sep 11 2023, 13:24:38) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from llama_cpp import Llama
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\ProgramData\Miniconda3\envs\mllm\lib\site-packages\llama_cpp\__init__.py", line 1, in <module>
    from .llama_cpp import *
  File "C:\ProgramData\Miniconda3\envs\mllm\lib\site-packages\llama_cpp\llama_cpp.py", line 87, in <module>
    _lib = _load_shared_library(_lib_base_name)
  File "C:\ProgramData\Miniconda3\envs\mllm\lib\site-packages\llama_cpp\llama_cpp.py", line 63, in _load_shared_library
    os.add_dll_directory(os.path.join(os.environ["CUDA_PATH"], "bin"))
  File "C:\ProgramData\Miniconda3\envs\mllm\lib\os.py", line 1118, in add_dll_directory
    cookie = nt._add_dll_directory(path)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\11.2\\bin'

I though CUDA 11.2 was a specific requirement of this package but it was a conflict on my system. CUDA 11.2 was the env variable and 12.3 was installed.


Deploy merkle distibutor contract to (baklava/alfajores?) and issue governance proposal

Closing...no longer doing governance proposal for distributor


fix clipping of lower plots on bunch tab

Fixed.
Also, I fixed the problem of a relative module import in the *.ui file.


Test20170523

Conflicts:
Framework/Sources/ScrollView.swift

Thank you for contributing. But I can not merge your changes because it breaks existing tests. Also, please rebase the PR to remove unnecessary commits.

Oups I didn't mean to send this PR to the original repository. My mistake!


CSS Cleanup Part 1 and 2

#664
I removed any unused CSS and did a quick clean up of the CSS style.
I know I recommend using UnCSS in my report. However, I found that UnCSS had some issues parsing our html because of Django. I instead used another tool called PurifyCSS and that did the trick. I then ran the CSS through CSS Lint to fix some of the basic styling errors.
All the CSS files have been modified to 2 space indents. This is a very common practice for CSS and recommended by Harry Roberts (he's included in my report),
"At a very high-level, we want
- two(2) space indents, no tabs;
- 80character wide columns;
- multi-line CSS;
- meaningful use of whitespace.
But, as with anything, the specifics are somewhat irrelevant—consistency is key."
The next move would be installing a preprocessor and reorganizing the CSS files, but I know you want to talk more in depth about that.

Thanks Hank. How do you propose we test this?

I would suggest having localhost:8000 and the Makeability test website up in your browser. Then go page by page comparing any differences.

Looks good overall but we shouldn't be using the Adelle font anymore.
Also, this branch now has a merge conflict. Can you fix?

Yes, can I open a new issue for the Adelle font after we merge this?

Yep
Sent from my iPhone

On Feb 22, 2019, at 5:08 PM, Hank Tadeusiak<EMAIL_ADDRESS>wrote:
Yes, can I open a new issue for the Adelle font after we merge this?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


Wrong message for message parsing

When you have a parsing issue on PrepareMessage() you get a Expired Message message.

This has been addressed in Simon's review.


Issue with aria2c

I have tried everything to get anime-downloader with aria2c but keep getting this http://prntscr.com/kqrmka

anime dl "name" --provider provider -xd "{aria2}"

From https://github.com/vn-ki/anime-downloader/wiki/dl-command,

It is recommended to use the external downloader functionality with aria2c because it will be faster than the internal downloader: Use the argument -xd "{aria2}"

works fine in linux but i get a bunch of python errors in windows when trying to use aria2c.

You tried using choco on windows?
https://github.com/vn-ki/anime-downloader/wiki/Installation#windows-via-choco

Has this been fixed. I'm still getting "[WinError 2] The system cannot find the file specified."

Has this been fixed. I'm still getting "[WinError 2] The system cannot find the file specified."

It was not an error in the first place...
Is aria2 on PATH?
To check you can run this command: where aria2c
If it says INFO: Could not find files for the given pattern(s). then it means that aria2 is not on PATH (and/or not installed at all).

You tried using choco on windows?
https://github.com/vn-ki/anime-downloader/wiki/Installation#windows-via-choco

Tried this now I can't do anything.

Has this been fixed. I'm still getting "[WinError 2] The system cannot find the file specified."

It was not an error in the first place...
Is aria2 on PATH?
To check you can run this command: where aria2c
If it says INFO: Could not find files for the given pattern(s). then it means that aria2 is not on PATH (and/or not installed at all).

oh let me try this.

Has this been fixed. I'm still getting "[WinError 2] The system cannot find the file specified."

It was not an error in the first place...
Is aria2 on PATH?
To check you can run this command: where aria2c
If it says INFO: Could not find files for the given pattern(s). then it means that aria2 is not on PATH (and/or not installed at all).

how do I uninstall the anime downloader, I want to start everything fresh.

Has this been fixed. I'm still getting "[WinError 2] The system cannot find the file specified."

It was not an error in the first place...
Is aria2 on PATH?
To check you can run this command: where aria2c
If it says INFO: Could not find files for the given pattern(s). then it means that aria2 is not on PATH (and/or not installed at all).

how do I uninstall the anime downloader, I want to start everything fresh.

pip uninstall anime-downloader

Has this been fixed. I'm still getting "[WinError 2] The system cannot find the file specified."

It was not an error in the first place...
Is aria2 on PATH?
To check you can run this command: where aria2c
If it says INFO: Could not find files for the given pattern(s). then it means that aria2 is not on PATH (and/or not installed at all).

how do I uninstall the anime downloader, I want to start everything fresh.

pip uninstall anime-downloader

I feel so dumb, thanks 👍.

@ArjixWasTaken Finally it works, thank you so much for your help.

@ArjixWasTaken Finally it works, thank you so much for your help.

I'm glad to hear that!


SDK throws deprecation warnings for internal use of deprecated properties

Describe the bug
The AWS SDK contains many models with deprecated properties.  Much of our generated code for initialization, encoding, decoding, etc. accesses these properties, triggering compile warnings.  Continued internal support for deprecated properties should not trigger a warning; only access to these properties by public API should trigger it.
Expected Behavior
When you compile the Swift SDK, warnings should not be raised for internal access to deprecated properties.  Warnings should only be raised when SDK consumers access the deprecated properties.
Current Behavior
When you compile the Swift SDK, warnings are being raised for internal access to deprecated properties.
Reproduction Steps
Compile Swift SDK, observe warnings.  Here is a typical warning, thrown by a model initializer:
/Users/jbelkins/Code/aws-sdk-swift/release/AWSEC2/models/Models.swift:15058:17: warning: 'associatedTargetNetworks' is deprecated: This property is deprecated. To view the target networks associated with a Client VPN endpoint, call DescribeClientVpnTargetNetworks and inspect the clientVpnTargetNetworks response element.
                associatedTargetNetworks = []
                ^

Possible Solution
Warnings should either be suppressed with Swift compiler configuration / suppression directives (not sure this is currently possible) or code should be generated in a manner such that deprecation warnings are not triggered by internal access to deprecated properties (i.e. public deprecated properties are backed by a private var that does not bear the deprecated annotation.)
Additional Information/Context
No response
AWS SWIFT SDK version used
Latest
Compiler and Version used
Latest
Operating System and version
Latest

Moved to 2152


Removed AclRdfContext class.

JIRA Ticket: https://jira.duraspace.org/browse/FCREPO-2938
What does this Pull Request do?
Removed AclRdfContext class that was providing the fedora:writable triple.
What's new?
Since it was doing nothing other than adding the fedora:writable triple, removed it entirely. The ViewHelpers::isWritable method now always returns true as a stopgap until we have a more robust method of determining the access modes a user is allowed on a resource.
How should this be tested?
Normal mvn clean install. HTML UI sidebar should still be visible when doing mvn jetty:run -pl fcrepo-webapp
Additional Notes:

Does this change require documentation to be updated? Maybe, if there are references to fedora:writable anywhere
Does this change add any new dependencies? no
Does this change require any other modifications to be made to the repository (ie. Regeneration activity, etc.)? no
Could this change impact execution of existing code? only if there is third-party code relying on the presence of a fedora:writable triple.

Interested parties
@dbernstein, @bbpennel, @bseeger, @fcrepo4/committers

@peichman-umd :  there are some unused imports in the ViewHelpers class that need to be removed in order for the build to work.

ie :
[ERROR] /home/travis/build/fcrepo4/fcrepo4/fcrepo-http-commons/src/main/java/org/fcrepo/http/commons/responses/ViewHelpers.java:39:15: Unused import - org.fcrepo.kernel.api.RdfLexicon.WRITABLE. [UnusedImports]
[ERROR] /home/travis/build/fcrepo4/fcrepo4/fcrepo-http-commons/src/test/java/org/fcrepo/http/commons/responses/ViewHelpersTest.java:34:15: Unused import - org.fcrepo.kernel.api.RdfLexicon.DESCRIBES.


federation required - or not?

The article states "◦Your SIP domain is added as a Federated domain in Office 365" - later you state "◦Your identity configurations are any of the types supported by AAD Connect (such as password hash sync, pass-through authentication, on-premises STS supported by Office 365, et cetera.)" so is federation requried or not?

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

ID: 626caf29-7e88-0b56-2013-5c5b7c2a5917
Version Independent ID: 2376192f-793d-0166-46c7-870cd0c41abb
Content: Hybrid Modern Authentication overview and prerequisites for using it with on-premises Skype for Business and Exchange servers
Content Source: Enterprise/hybrid-modern-auth-overview.md
Service: o365-administration
GitHub Login: @MSFTTracyP
Microsoft Alias: tracyp

@gnerd Thank you for this feedback
I am not sure if federation is required or not. Let me get this over to the Enterprise team for investigation.
The team will get this prioritized into a sprint plan. Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.


Info panel does not disappear on CropObject deletion/merge, if it was selected.

Cannot replicate. Will re-open if problem pops up again.


[Feature Request] Support True Isolate in Web by Worker

#5 #16

Well, it is possible if you are ready to write JavaScript code


Ignore socket failure to close during del

https://discord.com/channels/936788458939224094/938591600160956446/1010780929154875532

Maybe move this try-ecept to close method instead of __del__?

I thought of that too, but I'm a believer of not silently suppressing errors, if the user called close explicitly, they should see it if the socket was closed already and if they're interested in suppressing that failure, they can handle it themselves in their try-except. This does make sense in __del__ as the user may have explicitly called close, so we do want to handle for this, but I don't think it would actually make much sense to do so in close directly.

Better would be at least document this error in close method.

Better would be at least document this error in close method.
I suspect that these errors won't happen under normal circumstances. Closing a socket ought to work. It is only during garbage collection calling __del__ where behavior is exceptional and we know that it is safe to ignore.


an error occurred ( unable to connect jenkins) while select plugins to install

jenkins error
unable to connect jenkins error is displayed

try to refresh the page it might be network issue, if you alreadu resolve the issue please close the issue.


How do i resolve this exception “...ServerHttpResponse already committed ”

Describe the bug
Gateway version used 2.1.5.RELEASE。This exception happens occasionally。
I want to find out the cause of this exception！please help me。How to deal with it
Exception Example
[c0d2ddfd] Error [reactor.netty.ReactorNetty$InternalNettyException: java.nio.channels.ClosedChannelException] for HTTP POST "/user/user/base/**", but ServerHttpResponse already committed (200 OK)

There is not enough information here to help you.  As I said in your other issue, please provide more information and reopen the issue.


Add page for applying on UCAS after course choices

Can this be moved to after course selection (because the application is course specific not provider specific and some providers will have courses that are opted in and opted out.

Updating issue to reflect that we need a new page after course selection, as well as one after provider choice.


NodeJS: fix bug where bundled descriptors was using the prior parameter name.

Codecov Report

Merging #1581 into master will increase coverage by 1.26%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #1581      +/-   ##
============================================
+ Coverage     85.72%   86.99%   +1.26%
- Complexity     4161     4211      +50
============================================
  Files           408      408
  Lines         12638    16908    +4270
  Branches       1707     1838     +131
============================================
+ Hits          10834    14709    +3875
- Misses         1319     1705     +386
- Partials        485      494       +9

Impacted Files
Coverage Δ
Complexity Δ

...codegen/transformer/nodejs/NodeJSSurfaceNamer.java
90.44% <100%> (+0.25%)
74 <0> (ø)
:arrow_down:

...google/api/codegen/config/PageStreamingConfig.java
47.72% <0%> (-12.99%)
7% <0%> (ø)

...ransformer/java/JavaGapicSampleAppTransformer.java
47.61% <0%> (-8.64%)
6% <0%> (ø)

.../com/google/api/codegen/config/BatchingConfig.java
68.88% <0%> (-7.59%)
6% <0%> (ø)

...le/api/codegen/config/ResourceNameOneofConfig.java
53.84% <0%> (-7.03%)
6% <0%> (ø)

...le/api/codegen/config/FixedResourceNameConfig.java
55.55% <0%> (-6.95%)
3% <0%> (ø)

...google/api/codegen/config/GrpcStreamingConfig.java
75.75% <0%> (-4.89%)
11% <0%> (ø)

...odegen/discovery/transformer/go/GoSampleNamer.java
72.22% <0%> (-4.25%)
7% <0%> (ø)

.../transformer/php/PhpApiMethodParamTransformer.java
92% <0%> (-2.88%)
20% <0%> (ø)

...om/google/api/codegen/config/FlatteningConfig.java
54.76% <0%> (-1.91%)
6% <0%> (ø)

... and 173 more

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 0f52e25...7a1ba52. Read the comment docs.


[YearSelection] Add order prop

When working with your library, I noticed that there is no way to list the years in reverse order, so I tried to fix that =)

@MaximMorozCredentially Thanks for the effort, however, I don't think that we will accept such change until there is enough support for it from the community. We can't grow the API indefinitely. Feel free to open an issue about it on https://github.com/mui-org/material-ui to support the idea. For now, we are archiving this repository, so closing.


Shift State removed - broke my automation

Hi,
I had automations set up to open/close my garage door based on the old shift state. I updated to the new version and lost this sensor. Is it possible to bring this back?
A binary Parking Brake sensor or user present won't work because i had it set to:
Open on shift to R (When at home + when connected to home wifi)
Close the door when shifting from R to D (when at home)
Close the door when shifting from D to P (when at home + when connected to home wifi)
It would be awesome if shift state could be restored.
Thanks

Hi again,
I should probably add: i did read up on the history of this and it seems when the raw json data was stopped there was a bit of discussion around shift state but it appears to have fallen by the wayside in the discussion and was parked (no pun intended) for a later date and associated issues closed. There have been a few requests for shift state from a few users. I don't have the experience to log a PR so am hoping someone more savvy could do that. I would be wildly appreciative if i could get my automations working again. Cheers!

Thanks. I'm going to close this in favor of the older one. #476

Thanks mate. Appreciate all your work!


Replace is_testnet by chain where possible (except key.py)

Continutation of https://github.com/bitcoin-core/HWI/pull/452
Replace is_testnet with chain everywhere except key.py

I would prefer for this to be an enum rather than a string.

I would prefer for this to be an enum rather than a string.

Enum introduced in 0dba2b63a637955e14ac8ef4844f9ad3cae0191c

ACK 3e737644213657fd716fa9bcca495610654a346d


Unable to run tvr from terminal

While installing tvrenamr from terminal by following command:
pip install tvrenamr
I got this error message:
Downloading/unpacking tvrenamr
  Downloading tvrenamr-3.6.2-py2.py3-none-any.whl (384kB): 384kB downloaded
Installing collected packages: tvrenamr
Compiling /tmp/pip-build-pCxQjo/tvrenamr/tvrenamr/vendor/yaml/__init__.py ...
  File "/tmp/pip-build-pCxQjo/tvrenamr/tvrenamr/vendor/yaml/__init__.py", line 284
    class YAMLObject(metaclass=YAMLObjectMetaclass):
                              ^
SyntaxError: invalid syntax

Successfully installed tvrenamr
Cleaning up...

After that, when I tried to run it from the bash, I was getting this message:
No command 'tvr' found, did you mean:
 Command 'tor' from package 'tor' (universe)
 Command 'tdr' from package 'devtodo' (universe)
 Command 'tv' from package 'treeviewx' (universe)
 Command 'tar' from package 'tar' (main)
 Command 'tr' from package 'coreutils' (main)
tvr: command not found

Kindly look into this.

@mayankgautam – there are two issues here.
The first one is an unfortunate side effort of vendoring a dependency (PyYaml) which has two code bases, one for Python 2 and one for Python 3. When pip installs TvRenamr's wheel your local python 2 is being used to do this but because of the way the imports are structured PyYaml's Python 3 code gets touched, Python 2 emits the error you see (because that type of metaclass syntax isn't valid in Python 2). However this has nothing to do with the actual installation of the package which is then successfully installed. The 4.0 release will stop this confusing error showing up.
The second error looks like the TvRenamr hasn't installed at all. There are a number of possibilities as to why this would be. Did you install it in a virtualenv then test outside of one? What was the full terminal output after the install? You'll need to make sure the default location for pip-based script installs is in your path.

Thanks for your reply.  I haven't installed it in virtualenv. I just ran
the pip install command directly and the message displayed was the same one
that I've mentioned earlier. This problem does not arises in Python shell.
Can you please help me understand how to run pip installed modules from the
terminal.
Regards,
Mayank
On Sun 13 Mar, 2016, 11:48 PM George Hickman<EMAIL_ADDRESS>wrote:

@mayankgautam https://github.com/mayankgautam – there are two issues
here.
The first one is an unfortunate side effort of vendoring a dependency
(PyYaml) which has two code bases, one for Python 2 and one for Python 3.
When pip installs TvRenamr's wheel your local python 2 is being used to
do this but because of the way the imports are structured PyYaml's Python 3
code gets touched, Python 2 emits the error you see (because that type of
metaclass syntax isn't valid in Python 2). However this has nothing to do
with the actual installation of the package which is then successfully
installed. The 4.0 release
https://github.com/ghickman/tvrenamr/issues?q=is%3Aopen+is%3Aissue+milestone%3A4.0
will stop this confusing error showing up.
The second error looks like the TvRenamr hasn't installed at all. There
are a number of possibilities as to why this would be. Did you install it
in a virtualenv then test outside of one? What was the full terminal output
after the install? You'll need to make sure the default location for
pip-based script installs is in your path.
—
Reply to this email directly or view it on GitHub
https://github.com/ghickman/tvrenamr/issues/81#issuecomment-196015435.

@mayankgautam – I'm sorry to hear you're having troubles here.

This problem does not arises in Python shell.

Can you confirm that running import tvrenamr in a Python Shell works?

Can you please help me understand how to run pip installed modules from the terminal.

This should just work, however the more nuanced answer is – it depends on the PATH setting in your terminal.
You'll now need to find where pip installed TvRenamr's entry script (I don't ship an actual script with TvRenamr, I leave that up to pip to generate on install). You haven't listed which OS you use, but I'm sure Google will be able to tell you where this is for your OS (I have no doubt the pip project even documents this somewhere).
Once you've got that directory, you'll want to make sure your terminal is checking it when you run commands. In bash run: echo $PATH to get a list of directories separated with colons. You need to make sure the directory that pip installed the tvr command to exists in that list. Again, Google is your friend here as I'm not in the business of messing with folks bash configs!
Hope this helps.

Closing due to lack of activity, feel free to reopen.

Closing due to lack of activity, feel free to reopen.


uuidv6 has been officially adopted by the IETF

Feature description
Is there plans on creating implementation of uuidv6, uuidv7, uuidv8? uuid6 repo indicates that their work has been adopted by the IETF.
Additional information
No response

Indeed, it has been published as RFC 9562 which officially obsoletes RFC 4122.

Yes, we'll be adding support for all new RFC9562 formats.  See https://github.com/uuidjs/uuid/pull/681
I just need to find time to do a proper review and update to that PR to make sure it aligns with the final spec, and deploy a new release.
FWIW, I actually need v7 for my actual paying job, so this will happen "soon-ish", but I can't commit to an exact ETA at this time.

Now tracking this in #749


resholve: strip unused libraries from python27

Description of changes

Strip unused libraries from resholve's own python27 derivation, further reducing its size and reducing its attack surface.
Continuation of #205815.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Size difference:

Normal python27: 49M
#206143 python27: 31M
This PR python27: 20M


CircleCI tests fail because of fiona (most prob one of its dependencies)

Seems there is an issue (again) with the fiona package, see failed [circle tests] (https://app.circleci.com/pipelines/github/ESMValGroup/ESMValTool/8096/workflows/637fd4c7-3314-408a-a795-7e9cd1b2841d/jobs/61108/parallel-runs/0/steps/0-108) - I will investigate asap.

OK many thanks to @zklaus for pointing out the bad backage to be tiledb (fiona -> gdal -> tiledb) and the issue was https://github.com/conda-forge/tiledb-feedstock/issues/170 - unfortunately tiledb = 2.12.0 is royally fubar-ed se seen from my trials to fix it to the pin then see if it solves the issues via fiona https://github.com/ESMValGroup/ESMValTool/actions/runs/3312870084/jobs/5470083438 - and given that now our env and tests build well, but build with tiledb=2.11.3 build hash h3f405... - so the latest build from 3 days ago, we should be fine. But I am still a bit wearly about 2.12 and think we should just pin on != 2.12 in our env, what do you think @zklaus

I think this issue is resolved upstream, i.e. in Conda Forge.
Here is a bit more background:
In Conda Forge, packages declare their dependencies in the meta.yaml file inside their feedstock, aka the (Conda Forge) recipe. During the build process, this is processed into the so-called repodata, which is metadata stored in the channels and used by Conda or Mamba to resolve the graph of dependencies for the installation of a package. However, to account for mistakes in the repodata, there is a special patching step on the side of the channels, i.e. on the server, that can change the dependencies of already published packages. This is controlled by the repodata patches.
In addition to the declaration of ordinary, immediate dependencies, packages can also declare so-called run_exports, which means that a package doesn't require the named dependency, but asks that if that dependency is installed for other reasons, it should obey certain limits on its version.
What happened here, is that tiledb had an error in its run_exports declaration. This was fixed for the current and future versions of tiledb by updating the meta.yaml and creating a new build. To fix problems with already published builds of tiledb, additionally, a repodata patch was added that fixes the incorrect version information on older builds and versions of tiledb.
Practical upshot is, that now all builds of tiledb should be ok again, even those that produced failures before and that we don't need to do anything, not even exclude older versions via pinning.

that's very cool @zklaus - one last question before binning this - why is 2.12 now impossible to be installed?

Sorry, I mixed up a little bit run_exports and run_constrained in the explanation above. Basically, the maximum version of tiledb that can be installed is the version which was used to build downstream libraries, in this case most likely gdal. So because the currently available build of gdal was produced with tiledb 2.11, that is the maximum version that can be installed alongside it.

boom! understood and happy to bin this then, thanks a lot, bud! :beer:


Cookbook ideas

Based of discussion here: https://github.com/NullVoxPopuli/ember-resources/issues/470
We think it'd be a good idea to have a cookbook style collection of examples of how to use resources -- with any amount of describing text.
If you have an idea or usage of a resource you'd like to share, post it here. <3

handling fetch with AbortController
Resource: https://ember-resources.pages.dev/classes/core.Resource
requires: (nothing)
import { Resource } from 'ember-resources/core';
import { tracked } from '@glimmer/tracking';

class MyFetcher extends Resource {
  @tracked isError = false;
  @tracked isResolved = false;
  @tracked isLoading = true;
  @tracked error = null;
  @tracked value = null;

  #abortController;

  constructor(owner) {
    super(owner);

    registerDestructor(this, () => this.#abortController.abort());
  }

  modify(positional, named) {
     if (this.#signal) {
       this.#signal.abort();
     }

     this.#abortController = new AbortController();

     fetch(positonal[0], { signal: this.#abortController.signal })
       .then(result => {
         this.value = result;
         this.error = error;
         this.isLoading = false;
         this.isResolved = false;
       })
       .catch(error => {
         this.isError = true;
         this.error = error;
         this.isLoading = false;
         this.isResolved = false;
       });
  }
}

// usage:

class Demo {
  @tracked url = '...';

  myRequest = MyFetcher.from(this, () => [this.url]);
}

resource: https://ember-resources.pages.dev/modules/util_function_resource#resource
requires:

tracked-built-ins

import { use, resource } from 'ember-resources/util/function-resource';
import { TrackedObject } from 'tracked-built-ins';
import { tracked } from '@glimmer/tracking';

class Demo {
  @tracked url = '...';

  @use myData = resource(({ on }) => {
    let state = new TrackedObject({ isResolved: false, isLoading: true, isError: false, value: null, error: null });

    let controller = new AbortController();

    on.cleanup(() => controller.abort());

    fetch(this.url, { signal: controller.signal })
      .then(response => response.json())
      .then(data => {
        state.value = data;
        state.isResolved = true;
        state.isError = false;
        state.isLoading = false;
      })
      .catch(error => {
        state.error = error;
        state.isResolved = true;
        state.isError = true;
        state.isLoading = false;
        // ...
      });

    return state;
  })
}

which would be abstracted into a utility like:

export function fetch(argThunk) {
  return resource(({ on }) => {
     // all the same stuff as above
  });
}

// Usage

class Demo {
  @tracked url = '...';

  @use myData = fetch(() => this.url);
}

I'll try document any examples here, as they are added to projects.
The below is a resource that tracks changes to the applications "audience" state, and fetches personalised content from LexasCMS when it changes. It was migrated to Resource.from, from useResources, so this is a good opportunity for you to tell me if I understood the docs :)
It may be too specific for a cookbook (having to base-64 encode part of the request) but I can certainly try and make it more 'generic' (paginated blogs via fetch, for example - your paginated content example was really helpful to me.)
// fetch-content.js
import { tracked } from '@glimmer/tracking';
import { isDestroyed, isDestroying } from '@ember/destroyable';
import { inject as service } from '@ember/service';
import { assert } from 'qunit';

import { encode } from 'base-64';
import { Resource } from 'ember-resources/core';
import fetch from 'fetch';

export class FetchContent extends Resource {
  @service fastboot;

  @tracked isLoading = true;
  @tracked isError = false;
  @tracked content;

  modify(positional, named) {
    let { query, variables, audience, selector } = named;

    if (this.fastboot.isFastBoot) {
      let promise = Promise.resolve(this.fetchFromLexas(query, variables, audience, selector));
      this.fastboot.deferRendering(promise);
    } else {
      this.fetchFromLexas(query, variables, audience, selector);
    }
  }

  async fetchFromLexas(query, variables, audience, selector) {
    // Define a JSON encoded LexasCMS Request Context
    let lexascmsRequestContext = JSON.stringify({
      audienceAttributes: {
        [audience]: true,
      },
    });
    // Base64 encode LexasCMS Request Context
    lexascmsRequestContext = encode(lexascmsRequestContext);

    try {
      const response = await fetch(
        'https://12345.spaces.lexascms.com/delivery/graphql',
        {
          method: 'POST',
          headers: {
            'Content-Type': 'application/json',
            Accept: 'application/json',
            'x-lexascms-context': lexascmsRequestContext,
          },
          body: JSON.stringify({
            query,
            variables,
          }),
        }
      );
      const results = await response.json();
      if (results.errors) {
        assert.console.error(results.errors.map((error) => error.message));
        throw new Error(results.errors.map((error) => error.message));
      }
      if (isDestroyed(this) || isDestroying(this)) return;
      if (selector) {
        this.content = results.data[selector];
      } else {
        this.content = results.data;
      }
      this.isLoading = false;
      return this.content;
    } catch (err) {
      this.isError = true;
      console.log(`Lexas CMS Errors  - ${err}`);
    }
  }
}

In my component class, the resource is used as follows:
import Component from '@glimmer/component';
import { inject as service } from '@ember/service';

import { FetchContent } from '../../../resources/fetch-content';

export default class SomeComponent extends Component {
  @service applicationState;

  get audience() {
    return this.applicationState.audience;
  }

  query = `query blogPostCollection($limit: CollectionLimitInput!, $order: [BlogPostCollectionOrderOptionsInput]) {
      blogPostCollection(limit: $limit, order: $order) {
      items {
        slug
        title
      }
    }
  }`;

  data = FetchContent.from(this, () => ({
    query: this.query,
    variables: {
      limit: 3,
      order: 'publishedAt_DESC',
    },
    audience: this.applicationState.audience,
    selector: 'blogPostCollection',
  }));
}

I'm not clear on when and how to use registerDestructor. Should this be used to replace if (isDestroyed(this) || isDestroying(this)) return in the above Resource example - i.e. does the new implementation do something clever with tearing down than users need to be aware of?

I've added a cookbook in "just markdown" here: https://github.com/NullVoxPopuli/ember-resources/tree/main/docs/docs/cookbook

does the new implementation do something clever with tearing down than users need to be aware of?

it does not -- destruction protection still has to be handled manually (when needed).

Should this be used to replace

registerDestructor is used when you want to say "do this before completing destruction"
It's handy when there is no willDestroy hook (most places)

Gonna close this issue now -- feel free to submit a PR for your cookbook example


Remove cordova-js branch check

not needed since cordova-js is (no longer) a dependency of cordova-lib
to resolve a TODO in PR #153.

[x] Now tested along with some other proposed changes

/cc @janpio

I just resolved the conflicts, looking forward to a quick review.

Are you sure that cordova-js being checked out with master is not required for anything else here?

Closing this one since I noticed that the script does update cordova.js in each platform tested unless a --skipjs flag is used.
A cordova-js cleanup TODO item still remains.


Waiting for the binding to have observed the permission claims in test

The right thing, is the refactor #1500 but this should stop the bleeding.

/retest

/lgtm
/approve
Nits. Please fix if it decides to flake or retest again.