"Variable undefined", when trying to merge color maps

Hi,
first of all... thanks for sharing such a great theme!
My issue is... I want to add a custom color to the bootstrap color map in _bscore_variables.scss and I am using the following code::
$custom-colors: (
    "nbk-red": #8d2717
);
$theme-colors: map-merge($theme-colors, $custom-colors);

But this does not seem to work. My compiler drops "Undefined variable". When I put the code at the end of /bootstrap/_variables.scss, it works.
Is that not supported in your theme, or am I doing something wrong? I'm working directly inside the theme, without a child-theme. Of course I can solve this somehow differently, but wanted to stick to the bootstrap standards in this case.

Ah okay... I did not know these correlations yet, thank you for the clarification.

No problem! I spend like half an hour myself to figure this out a few months ago 😂

Well then it is good that you already had the answer in the drawer ;-)


Deccan Delight not working

Error:addon:extension is not currently supported for service addon

That is nothing to do with Deeccan Delight as it does not have any service modules

please upload the logfile and provide the link. It is diffiicult to diagnose without it, as Deccan Delight 1.5.8 works fine on Kodi 17.6 Windows 8&10 and MXIII+ Android 5.1 (the only platforms that I have)


Only set href on base tag if it existed previously

This comes up when we do a client navigation, where it will set the href on the base tag to "undefined".

 You should sign our Contributor License Agreement in order to get your pull request merged.Tony Hung seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account ([for further information, click here] (https://help.github.com/articles/why-are-my-commits-linked-to-the-wrong-user/#commits-are-not-linked-to-any-user)).

Nice.  Thanks @TonyHYK.


Fix warning positions for requireSemicolons rule (fixes #1196)

Coverage increased (+0.0%) to 99.09% when pulling b2ddf113c8a7088ea0f67399d14857f5949336a2 on lahmatiy:fix-1196 into c668ff1be0b1cfa058866048944bad3df7ff7cbc on jscs-dev:master.

lgtm


Dec. 10 Review Ticket by Tanujsai Nimmagadda for the 5x5 Binary game

Video: 5x5 Binary Video
Issues that helped:
Issue for review by Andrew: Peer Review
Issue to update what work was still in order: Worklist Issue
Key commits:
Initial commit w/ first code: Key Commit #1
Instructions: Key Commit #2
Matching the style to the rest of the games: Key Commit #3
Insight to Github analytics of work done by team:
Analytics
Full code:
---
layout: default
permalink: /5x5game
title: 5x5 Binary Practice
---

<!DOCTYPE html>

    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Toggle Grid</title>

Goal: Convert all numbers provided below into binary by toggling the buttons below.

How to play:

Click on the buttons on the grid to toggle between 0 and 1.

To convert a decimal number to binary, divide the given number recursively by 2.

Keep track of remainders to be written in reverse to get the binary value.

<button class="submit-button" onclick="revealAnswers()">Submit</button>

<button class="new-button" onclick="resetGrid()">New</button>

Individual Review Dante A grading Tanuj

[x] Individual should show that they were key contributor and example to team.  This includes their participation in ideas, plans, creating individual issues, providing code commits to project, crossover grading participation, being on task and positive example in the classroom.

Helped create plans for his team and made sure everyone on his team was ontime with the work that needed to be completed.
Individuals Video, Issue(s), Commits(s)

[x] Video in CPT caption style , includes Web demo of key contribution to project, 1 minute

Video was very nice explained all the code and how it worked with informational captions. Also, showed how code worked and demonstrated the outputs.

[x] Issue(s) that show plans/progress to team objectives

Showed group issues regarding the plans/ what he added to his code.

[x] Highlights of key commit(s) in Issues, summarizes code contributions

Showed three key commits about all the basis for the game he created, all of the instructions for the game, and a commit regarding the styles. Worked on 5x5 binary game, worked on all the design, grids, and functions of the game.

[x] Review GitHub analytics for key commits in each weeks during the project, shows consistent participation for 3 weeks
-showed me his key commits and all of his progress. Was consistent throughout all three of the weeks with solid commits throughout al the days.
Per check.
0.55 not attempted/no check
0.7 attempted, incoomplete, but some runtime
0.8 mastery and runtime
0.9 above and beyond.

Freeform comment.
Provide positivies and growth summary.
Justify or comment on final score.
Be sure to provide extra details on anything below 0.7 average or above 0.8.
.81/9
Final score was a .81/.9 He knew how to explain all of his code and showed all of his contributions very effectively. His code's design looks very nice and well done. All of his code runs as intended. His video is great and had everything he needed.


free5gc-compose with UERANSIM, UE cannot connect to the internet

Hi!
I am following the installation and connected it to the UERANSIM. The docker-compose version of free5gc and UERANSIM are installed in the same PC. The free5gc-compose did not have any error and PDU session is established successfully, but I cannot ping google.com using uesimtun0 interface.
After running ‘sudo docker-compose up’ and before I start UERANSIM, I also enter the following in my host PC
sudo sysctl -w net.ipv4.ip_forward=1
sudo iptables -t nat -A POSTROUTING -o ens18 -j MASQUERADE
sudo systemctl stop ufw
sudo iptables -I FORWARD 1 -j ACCEPT
But still, I cannot ping google.com using “ping -I uesimtun0 google.com”. I attach pcap file of (possibly) N3 and N6 interface, and uesimtun0 in the file pcaps.zip. Basically, they only have ICMP request but no response.
Does anyone know what is happening and how can I solve this? Thank you very much!!!
pcaps.zip

Update: Not sure which steps are effective, but my case is solved by entering the bash of all UPFs and executing
iptables -t nat -A POSTROUTING -o enp4s0  -j MASQUERADE
iptables -I FORWARD 1 -j ACCEPT

I have the same problem. I am also looking for alternatives to automatically connect gnb and ue. so I tried adding these two lines
iptables -t nat -A POSTROUTING -o eth0  -j MASQUERADE
iptables -I FORWARD 1 -j ACCEPT

in the Dockerfile in NF_UPF folder. But it gives me following error.
can't initialize iptables table nat': Permission denied (you must be root)`
has anyone found an elegant way of doing this instead of entering bash of each UPF?
Thank you

Hello
iptables rules cannot be set at the docker image building step. You have to write a wrapper script like it is currently done for the n3iwf.
Feel free to take a look at the script I use for my implementation on Kubernetes

@raoufkh , Thank you so much. It worked.
@JingqiHuang , This is what i did, just in case you need it:
I created a shell script "upf-iptables.sh" in config folder. The contents of this file are:
    #!/bin/sh

    ### UPF IPtables forwarding rules configuration

    iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
    iptables -I FORWARD 1 -j ACCEPT

and I modified the upf services docker-compose.yaml as follows:

services:
  free5gc-upf-1:
    container_name: upf
    build:
      context: ./nf_upf
      args:
        DEBUG_TOOLS: "false"
    command: sh -c "chmod +x upf-iptables.sh && ./upf-iptables.sh && ./free5gc-upfd -f ../config/upfcfg.yaml"
    volumes:
      - ./config/upfcfg1.yaml:/free5gc/config/upfcfg.yaml
      - ./config/upf-iptables.sh:/free5gc/free5gc-upfd/upf-iptables.sh
    cap_add:
      - NET_ADMIN
    networks:
      privnet:
        aliases:
          - upf1.free5gc.org

This made the complete setup ready for UERANSIM connections. And I am able to ping google using the command ping -I uesimtun0 google.com.
Thanks @raoufkh  again.
For me, I had to add some commands because it was an multi-interface implementation (eth0, n4, n3, n9, n6 was different interfaces). This is why I've created a routing table for packets coming from the UE subnet by setting the default route to n6 interface in that routing table.

I will add this to the documentation of the project. Closing this issue now.

There seems to be few issues with this approach.

The default image doesn't contain iptables so it looks like the image for UPF needs modification. @manoj1919 did you do this as well?
I have the same setup deployed but interestingly enough the SCTP connection between gNodeB and AMF is not getting establish. @manoj1919  @JingqiHuang can you provide some pointers here?

Thanks in advance

There seems to be an issues with this approach.
The default image doesn't contain iptables so it looks like the image for UPF needs modification. @manoj1919 did you do this as well?

@agr-priyanshu  Hi, you have to install iptables for UPFs.

@raoufkh , Thank you so much. It worked.
@JingqiHuang , This is what i did, just in case you need it:
I created a shell script "upf-iptables.sh" in config folder. The contents of this file are:
    #!/bin/sh

    ### UPF IPtables forwarding rules configuration

    iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
    iptables -I FORWARD 1 -j ACCEPT

and I modified the upf services docker-compose.yaml as follows:

services:
  free5gc-upf-1:
    container_name: upf
    build:
      context: ./nf_upf
      args:
        DEBUG_TOOLS: "false"
    command: sh -c "chmod +x upf-iptables.sh && ./upf-iptables.sh && ./free5gc-upfd -f ../config/upfcfg.yaml"
    volumes:
      - ./config/upfcfg1.yaml:/free5gc/config/upfcfg.yaml
      - ./config/upf-iptables.sh:/free5gc/free5gc-upfd/upf-iptables.sh
    cap_add:
      - NET_ADMIN
    networks:
      privnet:
        aliases:
          - upf1.free5gc.org

This made the complete setup ready for UERANSIM connections. And I am able to ping google using the command ping -I uesimtun0 google.com.
Thanks @raoufkh again. You saved the day.

@manoj1919 Hi. thanks! I did not get the chance to check the message on Github.. I did something similar, my comment just gave a direction to the solution since there might be several implementations.. Anyway, thanks again.

There seems to be an issues with this approach.
The default image doesn't contain iptables so it looks like the image for UPF needs modification. @manoj1919 did you do this as well?

@agr-priyanshu Hi, you have to install iptables for UPFs.

Thanks @JingqiHuang, I updated the UPF DockerFile to install iptables package and it worked. Thanks for these pointers, they really helped in enabling the traffic pass thorugh.

Thank you @JingqiHuang @raoufkh @manoj1919 @agr-priyanshu. iptables is now included in the UPF dockerfile.

This issue has been mentioned on free5GC. There might be relevant details there:
https://forum.free5gc.org/t/ping-from-ueransim-vm-to-free5gc-compose/1203/6

This issue has been mentioned on free5GC. There might be relevant details there:
http://forum.free5gc.org/t/ue-unable-to-ping-8-8-8-8/2307/7


Multitouch

Multitouch is not working. I have to quit my finger from touching the screen to be able to touch again.
Device: Windows Laptop, HP Spectre x360.

Uh-oh, I don't have a touchable Windows Laptop. I'm not sure touch event is available when your browser user-agent is PC environment. Can you provide more details about the question?

#2

Sorry, I tried to look up in the code, but it's pretty similar to touchpianist. I could find what was the difference and why touchpianist works with multiple touch points and this don't.

Yeah, you are good at observation. The game core including performer, visual pitch and audio synthesis was taken from Touch Pianist in the current version v0.0.x for learning MUG. I will re-write a new one with a new MVVM architecture, and some different game modes. I wonder why multitouch in Piano Flow does not work on Windows?


Save Path for saving vcards on disk

It is currently not possible to specify a save path where the VCard class should save the vcards. It always saves them in the directory the script is running.
This PR adds the possibility to specify the save path which is then used for saving the vcard on disk.
Also, Travis should run the test against PHP 7.0 as well.

@therouv Thanks for your PR. I will look into this and then merge or give feedback.

@jeroendesloovere Any updates on this? Thanks!

@jeroendesloovere Thanks. Just fixed the typo.

Thanks @therouv for your Pull Request.
I just merged it!

@jeroendesloovere Thank you!


KeyError: 'type' when make a bar plot

hi,
I am running your example on databricks and colab but both throw error for llm.query("Make a bar plot of the result and use a log scale.", yolo=True)
Error:
KeyError                                  Traceback (most recent call last)
File /databricks/python/lib/python3.10/site-packages/pandas/core/indexes/base.py:3629, in Index.get_loc(self, key, method, tolerance)
3628 try:
-> 3629     return self._engine.get_loc(casted_key)
3630 except KeyError as err:
File /databricks/python/lib/python3.10/site-packages/pandas/_libs/index.pyx:136, in pandas._libs.index.IndexEngine.get_loc()
File /databricks/python/lib/python3.10/site-packages/pandas/_libs/index.pyx:163, in pandas._libs.index.IndexEngine.get_loc()
File pandas/_libs/hashtable_class_helper.pxi:5198, in pandas._libs.hashtable.PyObjectHashTable.get_item()
File pandas/_libs/hashtable_class_helper.pxi:5206, in pandas._libs.hashtable.PyObjectHashTable.get_item()
KeyError: 'type'
any idea? Thanks a lot!

I can't reproduce this. That particular cell in the notebook has yolo=True. Can you try setting it to False? This will let you see what code it's trying to execute.


Mod conflict.

Hey, sorry to be a pain, but when using the Betweenlands version: 3.3.10 and stellar API 1.12.2 There seems to be an immense issue.
 It also messes up the sky but i think that is the lesser of the issues.
oh and i think i am on forge <IP_ADDRESS>29

Are you on the latest version? I thought related bugs are fixed.

Well if you're getting it from other sources than curseforge:
http://stopmodreposts.org/

No, i got it off curseforge, and i believe its the latest version. sorry

OH, and the same happens for erebus, and a few other mods, all at the latest version, just checked


curved detector

Hey!  Does LEAP handle curved detectors?  I am working with medical data and they all have curved detectors so I need software for this.

Hello,
I'm actually working on that feature now.  It should be ready by the end of the month.  I'll let you know when it's done.
~Kyle

Although it is not yet officially released, LEAP can now process cone-beam curved detector data.  To specify a curved detector run the following command after the call to set_conebeam(...)
leapct.set_curvedDetector()

It works!! Thanks!


Multiple Delete Row

Hey.. bro, i want to ask something, it's possible to delete multiple row in the same time? :)

Yes, you can:

Delete the first row

Delete the first 5 rows


Unable to initalize script engine due to pending script exception

Hi
On a few occasions ClearScript has entered what seeems to be a strange erronous state after a failing script.
At this point, when trying to create a new script engine, we get this exception whenever we try to execute another script:
Microsoft.ClearScript.ScriptEngineException : The V8 runtime cannot initialize the script engine because a script exception is pending
at Microsoft.ClearScript.V8.SplitProxy.V8SplitProxyNative.Invoke[T](Func`2 func)
   at Microsoft.ClearScript.V8.SplitProxy.V8ContextProxyImpl.<>c__DisplayClass3_0.<.ctor>b__0()
   at Microsoft.ClearScript.V8.SplitProxy.V8EntityHolder..ctor(String name, Func`1 acquireHandle)
   at Microsoft.ClearScript.V8.SplitProxy.V8ContextProxyImpl..ctor(V8IsolateProxy isolateProxy, String name, V8ScriptEngineFlags flags, Int32 debugPort)
   at Microsoft.ClearScript.V8.V8ScriptEngine..ctor(V8Runtime runtime, String name, V8RuntimeConstraints constraints, V8ScriptEngineFlags flags, Int32 debugPort)
   at Microsoft.ClearScript.V8.V8Runtime.CreateScriptEngine(String engineName, V8ScriptEngineFlags flags, Int32 debugPort)

So far we have only seen this issue while debugging or while running unit tests, but we would like to understand the root cause of this so it can be prevented.
Has anyone seen this exception or does anyone have any ideas to what could be going on?

Hi @ebrandin,

Has anyone seen this exception or does anyone have any ideas to what could be going on?

Currently this happens if CreateScriptEngine is called after a no-op Interrupt call – that is, an Interrupt call that occurs when the V8 runtime is not executing script code:
var runtime = new V8Runtime();
var engine = runtime.CreateScriptEngine();
engine.Interrupt();
runtime.CreateScriptEngine(); // <-- EXCEPTION

Because it may be difficult or impossible for the host to ensure that Interrupt is always called during script execution, we consider this a bug, and we'll fix it in the next ClearScript release.
However, that exception can also be legitimate. For example:

A script invokes a host method.
Interrupt is called on the same V8 runtime.
The host method calls CreateScriptEngine before returning to script code.

That sequence results in the same exception, and ClearScript can do nothing to prevent it.
Thanks!

Fixed in Version 7.4.5.


tests: Fix compilation failure with Wayland/Mir platforms enabled

Fix the following compilation error in
vkGetPhysicalDeviceWaylandPresentationSupportKHR:
.../wrap_objects.cpp:1101:23: error: ‘inst’ was not declared in this scope
A similar error exists in vkGetPhysicalDeviceMirPresentationSupportKHR,
so fix that as well.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

I pushed a fix for this yesterday when reviewing #693.  Sorry, didn't notice this pull request before now.


Checkpoint folder is not created automatically after training classifiers

After you run the training classifier code available at https://ares-ai.vercel.app/training_classifier/ the process fails returning the following error:
RuntimeError: Parent directory checkpoints/microsoft-mdeberta-v3-base does not exist.
I would expect the process to check if the folder exists and create it otherwise before writing the checkpoint to disk.

Hello @elsatch,
Thank you for bringing this to our attention. The issue with the directory not existing has been resolved. The training classifier now checks if the folder exists and creates it if it doesn't before attempting to write the checkpoint to disk.
Please install the latest version of ARES with pip install ares-ai and try running the training classifier code again.If you encounter any further issues, feel free to open a new ticket.
Thank you again for your feedback on improving ARES!
Best regards,
Robby


Add database information to taxonomy step

The .intax file should include (at least) the name and release tag (if any) of the reference database used

How do I download the database file through the web page
Downloading in the software has been reporting errors
Exception: Net::ReadTimeout

DEBUG: /public/Users/gewenlong/basic/conda_environment/environments/miga_test/share/rubygems/gems/net-protocol-0.2.1/lib/net/protocol.rb:229:in `rbuf_fill'
DEBUG: /public/Users/gewenlong/basic/conda_environment/environments/miga_test/share/rubygems/gems/net-protocol-0.2.1/lib/net/protocol.rb:199:in `readuntil'
DEBUG: /public/Users/gewenlong/basic/conda_environment/environments/miga_test/lib/ruby/gems/3.2.0/gems/net-ftp-0.2.0/lib/net/ftp.rb:1510:in `gets'
DEBUG: /public/Users/gewenlong/basic/conda_environment/environments/miga_test/lib/ruby/gems/3.2.0/gems/net-ftp-0.2.0/lib/net/ftp.rb:1515:in `readline'
DEBUG: /public/Users/gewenlong/basic/conda_environment/environments/miga_test/lib/ruby/gems/3.2.0/gems/net-ftp-0.2.0/lib/net/ftp.rb:462:in `getline'
DEBUG: /public/Users/gewenlong/basic/conda_environment/environments/miga_test/lib/ruby/gems/3.2.0/gems/net-ftp-0.2.0/lib/net/ftp.rb:472:in `getmultiline'
DEBUG: /public/Users/gewenlong/basic/conda_environment/environments/miga_test/lib/ruby/gems/3.2.0/gems/net-ftp-0.2.0/lib/net/ftp.rb:489:in `getresp'
DEBUG: /public/Users/gewenlong/basic/conda_environment/environments/miga_test/lib/ruby/gems/3.2.0/gems/net-ftp-0.2.0/lib/net/ftp.rb:509:in `voidresp'
DEBUG: /public/Users/gewenlong/basic/conda_environment/environments/miga_test/lib/ruby/gems/3.2.0/gems/net-ftp-0.2.0/lib/net/ftp.rb:674:in `block (2 levels) in retrbinary'
DEBUG: /public/Users/gewenlong/basic/conda_environment/environments/miga_test/lib/ruby/gems/3.2.0/gems/net-ftp-0.2.0/lib/net/ftp.rb:335:in `with_binary'
DEBUG: /public/Users/gewenlong/basic/conda_environment/environments/miga_test/lib/ruby/gems/3.2.0/gems/net-ftp-0.2.0/lib/net/ftp.rb:662:in `block in retrbinary'
DEBUG: /public/Users/gewenlong/basic/conda_environment/environments/miga_test/lib/ruby/3.2.0/monitor.rb:202:in `synchronize'
DEBUG: /public/Users/gewenlong/basic/conda_environment/environments/miga_test/lib/ruby/3.2.0/monitor.rb:202:in `mon_synchronize'
DEBUG: /public/Users/gewenlong/basic/conda_environment/environments/miga_test/lib/ruby/gems/3.2.0/gems/net-ftp-0.2.0/lib/net/ftp.rb:661:in `retrbinary'
DEBUG: /public/Users/gewenlong/basic/conda_environment/environments/miga_test/lib/ruby/gems/3.2.0/gems/net-ftp-0.2.0/lib/net/ftp.rb:799:in `getbinaryfile'
DEBUG: /public/Users/gewenlong/basic/conda_environment/environments/miga_test/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/common/net.rb:73:in `download_file_ftp'
DEBUG: /public/Users/gewenlong/basic/conda_environment/environments/miga_test/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/cli/action/db.rb:139:in `download_file'
DEBUG: /public/Users/gewenlong/basic/conda_environment/environments/miga_test/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/cli/action/db.rb:89:in `perform'
DEBUG: /public/Users/gewenlong/basic/conda_environment/environments/miga_test/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/cli/action.rb:32:in `launch'
DEBUG: /public/Users/gewenlong/basic/conda_environment/environments/miga_test/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/cli.rb:177:in `launch'
DEBUG: /public/Users/gewenlong/basic/conda_environment/environments/miga_test/share/rubygems/gems/miga-base-<IP_ADDRESS>/bin/miga:12:in `<top (required)>'
DEBUG: /public/Users/gewenlong/basic/conda_environment/environments/miga_test/share/rubygems/bin/miga:33:in `load'
DEBUG: /public/Users/gewenlong/basic/conda_environment/environments/miga_test/share/rubygems/bin/miga:33:in `<main>'
/public/Users/gewenlong/basic/conda_environment/environments/miga_test/share/rubygems/gems/net-protocol-0.2.1/lib/net/protocol.rb:229:in `rbuf_fill': Net::ReadTimeout with #<Socket:fd 5> (Net::ReadTimeout)
        from /public/Users/gewenlong/basic/conda_environment/environments/miga_test/share/rubygems/gems/net-protocol-0.2.1/lib/net/protocol.rb:199:in `readuntil'
        from /public/Users/gewenlong/basic/conda_environment/environments/miga_test/lib/ruby/gems/3.2.0/gems/net-ftp-0.2.0/lib/net/ftp.rb:1510:in `gets'
        from /public/Users/gewenlong/basic/conda_environment/environments/miga_test/lib/ruby/gems/3.2.0/gems/net-ftp-0.2.0/lib/net/ftp.rb:1515:in `readline'
        from /public/Users/gewenlong/basic/conda_environment/environments/miga_test/lib/ruby/gems/3.2.0/gems/net-ftp-0.2.0/lib/net/ftp.rb:462:in `getline'
        from /public/Users/gewenlong/basic/conda_environment/environments/miga_test/lib/ruby/gems/3.2.0/gems/net-ftp-0.2.0/lib/net/ftp.rb:472:in `getmultiline'
        from /public/Users/gewenlong/basic/conda_environment/environments/miga_test/lib/ruby/gems/3.2.0/gems/net-ftp-0.2.0/lib/net/ftp.rb:489:in `getresp'
        from /public/Users/gewenlong/basic/conda_environment/environments/miga_test/lib/ruby/gems/3.2.0/gems/net-ftp-0.2.0/lib/net/ftp.rb:509:in `voidresp'
        from /public/Users/gewenlong/basic/conda_environment/environments/miga_test/lib/ruby/gems/3.2.0/gems/net-ftp-0.2.0/lib/net/ftp.rb:674:in `block (2 levels) in retrbinary'
        from /public/Users/gewenlong/basic/conda_environment/environments/miga_test/lib/ruby/gems/3.2.0/gems/net-ftp-0.2.0/lib/net/ftp.rb:335:in `with_binary'
        from /public/Users/gewenlong/basic/conda_environment/environments/miga_test/lib/ruby/gems/3.2.0/gems/net-ftp-0.2.0/lib/net/ftp.rb:662:in `block in retrbinary'
        from /public/Users/gewenlong/basic/conda_environment/environments/miga_test/lib/ruby/3.2.0/monitor.rb:202:in `synchronize'
        from /public/Users/gewenlong/basic/conda_environment/environments/miga_test/lib/ruby/3.2.0/monitor.rb:202:in `mon_synchronize'
        from /public/Users/gewenlong/basic/conda_environment/environments/miga_test/lib/ruby/gems/3.2.0/gems/net-ftp-0.2.0/lib/net/ftp.rb:661:in `retrbinary'
        from /public/Users/gewenlong/basic/conda_environment/environments/miga_test/lib/ruby/gems/3.2.0/gems/net-ftp-0.2.0/lib/net/ftp.rb:799:in `getbinaryfile'
        from /public/Users/gewenlong/basic/conda_environment/environments/miga_test/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/common/net.rb:73:in `download_file_ftp'
        from /public/Users/gewenlong/basic/conda_environment/environments/miga_test/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/cli/action/db.rb:139:in `download_file'
        from /public/Users/gewenlong/basic/conda_environment/environments/miga_test/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/cli/action/db.rb:89:in `perform'
        from /public/Users/gewenlong/basic/conda_environment/environments/miga_test/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/cli/action.rb:32:in `launch'
        from /public/Users/gewenlong/basic/conda_environment/environments/miga_test/share/rubygems/gems/miga-base-<IP_ADDRESS>/lib/miga/cli.rb:177:in `launch'
        from /public/Users/gewenlong/basic/conda_environment/environments/miga_test/share/rubygems/gems/miga-base-<IP_ADDRESS>/bin/miga:12:in `<top (required)>'
        from /public/Users/gewenlong/basic/conda_environment/environments/miga_test/share/rubygems/bin/miga:33:in `load'
        from /public/Users/gewenlong/basic/conda_environment/environments/miga_test/share/rubygems/bin/miga:33:in `<main>'

# Host: gatech.microbial-genomes.org
# Manifest last update: 2023-05-01 13:20:42 -0400
# Database size: 30.1G (32.2G)


waitfor support in OpenDreamRuntime

~This doesn't add support for compiling set waitfor = <expr>, but handles everything else. For now I just added support for set OPENDREAM_WAITFOR_FALSE = <ignored expr> to the compiler.~
~The compiler part is going to be a pain because it requires evaluating constant expressions at compile-time. If you don't want this merged until that is done... maybe I can figure it out.~
adds set waitfor = ... support, more details below

Okay I went and did it but there's quite a bit of room for clean-up. The change is mostly moving logic for emitting expressions from DMVisitorProcBuilder into a separate class (which uses another visitor internally.)

That's all fixed

done


Some data formats not preserved.

INSERT INTO table_one VALUES ('Erin Ramos'<EMAIL_ADDRESS>

Implemented distinction of data types in #17 - Documented unsupported types here: https://github.com/math280h/redactdump#data-types-not-supported - Editing issue to support these types


cups-browsed SEGFAULTs when cupsEnumDests() returned dest has no "device-uri" option

cups-browsed 1.20.0 crashes when starting up on Gentoo Linux.
I have a CUPS print server in my LAN that advertises printers through DNS-SD.
# cups-browsed --debug
Fri Feb  2 18:20:40 2018 Reading command line option --debug, turning on debug mode (Log on standard error).
Fri Feb  2 18:20:40 2018 cups-browsed of cups-filters version 1.20.0 starting.
Fri Feb  2 18:20:40 2018 Reading config: BrowseRemoteProtocols dnssd
Fri Feb  2 18:20:40 2018 Reading config: CreateIPPPrinterQueues All
Fri Feb  2 18:20:40 2018 No "Browse..." line at all, accept all servers ("BrowseOrder Deny,Allow").
Fri Feb  2 18:20:40 2018 main() in THREAD -1225566704
Fri Feb  2 18:20:40 2018 cups-browsed: Creating http connection to local CUPS daemon: /run/cups/cups.sock:631
Fri Feb  2 18:20:40 2018 update_netifs() in THREAD -1225566704
Fri Feb  2 18:20:40 2018 network interface at <IP_ADDRESS>
Fri Feb  2 18:20:40 2018 cups-browsed [BrowsePoll /run/cups/cups.sock:0]: IPP-Create-Subscription
Fri Feb  2 18:20:40 2018 cups-browsed [BrowsePoll /run/cups/cups.sock:0]: subscription ID=58
Fri Feb  2 18:20:41 2018 cups-browsed (/run/cups/cups.sock): cupsEnumDests
Segmentation fault

I could debug it so far that in cups-browsed.c in get_local_printers(void) when iterating through dests, the device_uri is NULL (for some printers?).
For example:
{
  name = 0x7d714 "HP Deskjet 6940 @ Print-Server",
  instance = 0x0,
  is_default = 0,
  num_options = 5,
  options = 0x7fbe8 {
    {name = 0x7e2fc "printer-info", value = 0x7d714 "HP Deskjet 6940 @ Print-Server"},
    {name = 0x7bccc "printer-location", value = 0x7d904 "Keller"},
    {name = 0x7bd1c "printer-make-and-model", value = 0x7014c "HP Deskjet 6943 Printer"},
    {name = 0x7d144 "printer-type", value = 0x7d0fc "36894"},
    {name = 0x70a4c "printer-uri-supported", value = 0x7e314 "ipps://HP%20Deskjet%206940%20%40%20Print-Server._ipps._tcp.local/cups"}
  }
}

As a result the application segfaults in new_local_printer(device_uri, cups_browsed_controlled) on line 765, because device_uri is NULL
  printer->device_uri = strdup (device_uri);

Fixed in 3dd9b4. Thank you for your bug report.


rcedit.exe failed with exit code 1. Fatal error: Unable to set icon

Electron packager doesn't accept my icon file even though it is in the right dimensions and format.
Icon.zip
PS C:\Users\abornst\Documents\ovt> electron-packager . CNTKVideoTagger --platform=win32 --icon=Icon.ico --arch=x64
Packaging app for platform win32 x64 using electron v1.6.2
rcedit.exe failed with exit code 1. Fatal error: Unable to set icon
PS C:\Users\abornst\Documents\ovt> electron-packager . CNTKVideoTagger --platform=win32 --icon=.Icon.ico --arch=x64
Packaging app for platform win32 x64 using electron v1.6.2
Wrote new app to C:\Users\user\Documents\ovt\CNTKVideoTagger-win32-x64

Thanks for filing an issue! In order to help you with your problem, we're going to need more information about it. In particular:

Console output when you run electron-packager with the environment variable DEBUG=electron-packager.

Please provide either a failing minimal testcase (with code) or detailed steps to reproduce your
problem. Using electron-quick-start is a good starting point.

Since the original issue reporter has not responded to the request for additional information in over two weeks, I'm going to assume that they either found the answer in another manner or decided not to pursue this issue. If I'm incorrect, they can respond with answers to the questions posed, and I'll reopen.

System
Windows 10 64bit
"asar": "^0.13.0",
"electron": "^1.7.5",
"electron-packager": "^8.7.2"
Problem
Same problem here. I cant understand what do you mean by

Console output when you run electron-packager with the environment variable DEBUG=electron-packager.

Anyway, here are all the logs.
running npm run build when "build": "electron-packager . --out=dist/win --platform=win32 --arch=x64 --icon=favicon.ico --asar=true --overwrite"
gives
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'build' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 silly lifecycle<EMAIL_ADDRESS>no script for prebuild, continuing
7 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>8 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
9 verbose lifecycle<EMAIL_ADDRESS>PATH: C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;E:\ElectronTutorial\node_modules\.bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\libnvvp;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Users\windows\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Git\cmd;C:\Program Files\dotnet\;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files\nodejs\;C:\Program Files\MiKTeX 2.9\miktex\bin\x64\;C:\Program Files\Java\jdk1.8.0_73\bin;C:\OpenCV-3.3.0-vc14\opencv\build\x64\vc14\bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin;C:\Program Files\CMake\bin;C:\Ruby24-x64\bin;C:\Users\windows\AppData\Local\Programs\Python\Python35\Scripts\;C:\Users\windows\AppData\Local\Programs\Python\Python35\;C:\Program Files (x86)\Microsoft VS Code\bin;C:\cuDNN;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\extras\CUPTI\libx64;C:\Program Files\Docker Toolbox;C:\Users\windows\AppData\Roaming\npm;C:\Program Files\MongoDB\Server\3.2\bin
10 verbose lifecycle<EMAIL_ADDRESS>CWD: E:\ElectronTutorial
11 silly lifecycle<EMAIL_ADDRESS>Args: [ '/d /s /c',
11 silly lifecycle   'electron-packager . --out=dist/win --platform=win32 --arch=x64 --icon=favicon.ico --asar=true --overwrite' ]
12 silly lifecycle<EMAIL_ADDRESS>Returned: code: 1  signal: null
13 info lifecycle<EMAIL_ADDRESS>Failed to exec build script
14 verbose stack Error<EMAIL_ADDRESS>build: `electron-packager . --out=dist/win --platform=win32 --arch=x64 --icon=favicon.ico --asar=true --overwrite`
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:255:16)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at EventEmitter.emit (events.js:191:7)
14 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at ChildProcess.emit (events.js:191:7)
14 verbose stack     at maybeClose (internal/child_process.js:877:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid<EMAIL_ADDRESS>16 verbose cwd E:\ElectronTutorial
17 error Windows_NT 10.0.10240
18 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "build"
19 error node v6.9.4
20 error npm  v3.10.10
21 error code ELIFECYCLE
22 error<EMAIL_ADDRESS>build: `electron-packager . --out=dist/win --platform=win32 --arch=x64 --icon=favicon.ico --asar=true --overwrite`
22 error Exit status 1
23 error Failed at the<EMAIL_ADDRESS>build script 'electron-packager . --out=dist/win --platform=win32 --arch=x64 --icon=favicon.ico --asar=true --overwrite'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the electron-tutorial package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     electron-packager . --out=dist/win --platform=win32 --arch=x64 --icon=favicon.ico --asar=true --overwrite
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs electron-tutorial
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls electron-tutorial
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

However running electron-packager . --out=dist/win --platform=win32 --arch=x64 --asar=true --overwrite works absolutely fine.
E:\ElectronTutorial>electron-packager . --out=dist/win --platform=win32 --arch=x64 --icon=favicon.ico --asar=true --overwrite
Packaging app for platform win32 x64 using electron v1.7.5
rcedit.exe failed with exit code 1. Fatal error: Unable to set icon

I cant understand what do you mean by [debug instructions]

Run SET DEBUG=electron-packager before running the command on Windows.

Please don't paste output of npm run commands, they do not capture the command's stderr/stdout. (This is a long-standing NPM bug.)

Fatal error: Unable to set icon

If it's unable to set the icon, then one of the following is true:

The icon doesn't exist
The icon is corrupted
The icon isn't the correct dimensions
There's a bug in rcedit

I dont think this would be helpful but here you go.
favicon.ico is 256x256
E:\ElectronTutorial>SET DEBUG=electron-packager

E:\ElectronTutorial>electron-packager . --out=dist/win --platform=win32 --arch=x64 --icon=favicon.ico --asar=true --overwrite
  electron-packager Electron Packager 8.7.2 +0ms
  electron-packager Node v6.9.4 +4ms
  electron-packager Host Operating system: win32 (x64) +3ms
  electron-packager Packager Options: {"_":["."],"all":false,"deref-symlinks":true,"download":{"strictSSL":true},"overwrite":true,"prune":true,"quiet":false,"out":"dist/win","platform":"win32","arch":"x64","icon":"favicon.ico","asar":true,"dir":".","protocols":[]} +1ms
  electron-packager Target Platforms: win32 +4ms
  electron-packager Target Architectures: x64 +1ms
  electron-packager Inferring application name from name in E:\ElectronTutorial\package.json +14ms
  electron-packager Inferring appVersion from version in E:\ElectronTutorial\package.json +3ms
  electron-packager Inferring target Electron version from electron in E:\ElectronTutorial\package.json +5ms
  electron-packager Application name: electron-tutorial +1ms
  electron-packager Target Electron version: 1.7.5 +2ms
  electron-packager Ignored path regular expressions: [ '/node_modules/electron($|/)',
  '/node_modules/electron-prebuilt(-compile)?($|/)',
  '/node_modules/electron-packager($|/)',
  '/\\.git($|/)',
  '/node_modules/\\.bin($|/)',
  '\\.o(bj)?$' ] +3ms
  electron-packager Downloading Electron with options {"strictSSL":true,"platform":"win32","arch":"x64","version":"1.7.5"} +62ms
Packaging app for platform win32 x64 using electron v1.7.5
  electron-packager Creating C:\Users\windows\AppData\Local\Temp\electron-packager\win32-x64-template +299ms
  electron-packager Extracting C:\Users\windows\.electron\electron-v1.7.5-win32-x64.zip to C:\Users\windows\AppData\Local\Temp\electron-packager\win32-x64-template +18ms
  electron-packager Initializing app in C:\Users\windows\AppData\Local\Temp\electron-packager\win32-x64\electron-tutorial-win32-x64 from C:\Users\windows\AppData\Local\Temp\electron-packager\win32-x64-template template +2s
  electron-packager Ignored paths based on the out param: [ 'E:\\ElectronTutorial\\dist\\win' ] +4ms
  electron-packager Pruning modules via: npm prune --production +2s
  electron-packager Running asar with the options {} +5s
  electron-packager Renaming electron.exe to electron-tutorial.exe in C:\Users\windows\AppData\Local\Temp\electron-packager\win32-x64\electron-tutorial-win32-x64 +16ms
  electron-packager Running rcedit with the options {"version-string":{},"file-version":"1.0.0","product-version":"1.0.0","icon":"favicon.ico"} +15ms
rcedit.exe failed with exit code 1. Fatal error: Unable to set icon

If everything you say is accurate, then I'm inclined to believe that it's a bug in rcedit. Packager doesn't do anything except pass the icon path to rcedit, and it modifies the executable accordingly.

Related to https://github.com/electron/node-rcedit/issues/6

FWIW, I was seeing this same error when I tried building without an .ico file in the same directory as the .png specified in the config.
  "electronPackagerConfig": {
    "packageManager": "npm",
    "icon": "./src/assets/imgs/icon-1024.png"
  },

Reopen the thread maybe?

I'm not inclined to reopen this issue. This should not be a catch-all for a generic error message by rcedit (which needs to be more specific when possible). For the issue described by @positlabs, it would help to see what the electron-packager debug says is being passed to the rcedit module.

I confirm @positlabs's solution works.

I'm not seeing a solution there.

it's more of a workaround, sorry.

I'm not getting the exact same problem, but it seems pretty close. It's reported from electron forge:
An unhandled rejection has occurred inside Forge:
rcedit.exe failed with exit code 1. Cannot open icon file 's'

Not sure why the file is called 's'. When I try @positlabs' workaround (with an ico file that opens fine in paint at least, I get rcedit.exe failed with exit code 1. Reserved header is not 0 or image type is not icon for 's'.
We can build for windows on a mac, just not on windows due to the above. Does this seem like the same error? Or is it something else?

s is probably because I'm not good at C++ :disappointed:
Regarding the actual error, it appears to be a file that rcedit doesn't consider to be an ICO file  that it can use.

This is how I resolved the issue.
I had an macOS icon file named icons.icns and a Windows icon file named icon.ico. This was my packagerConfig:
"electronPackagerConfig": {
	"packageManager": "npm",
	"icon": "./src/assets/images/icons.icns",
	"asar": true
},

No matter what I specified in my electronWinstallerConfig I was still getting this error, even if I removed the icon key from it. I finally tracked down the issue by finding my globally installed electron-forge and adding a console.log to the rcedit.js file. It turns out that rcedit was taking the the path from electronPackagerConfig and ignoring the electronWinstallerConfig, then just renaming the extension to .ico. So rcedit couldn't find ./src/assets/images/icons.ico because it didn't exist.
Long story short: rename your icon files to have the same base name and in the same folder. In my case I now have these:
src/assets/images/icons.icns
src/assets/images/icons.ico
And everything works.

Following what @jaaromy did. I fixed mine with a config that looks like this:
electronPackagerConfig: {
  icon: "src/assets/images/logo-icon.icns"
},
electronWinstallerConfig: {
  iconUrl: "src/assets/images/logo-icon.ico"
},

Honest question: Are the docs for the icon option incomplete? https://github.com/electron-userland/electron-packager/blob/v12.1.0/docs/api.md#icon
If so, do people have suggestions for improving it?

@malept I know I got here from working with electron-forge. It's difficult to find the documentation that you need when working with things like electron-forge. Now, from your link, I see this which I would've loved to know many, many hours ago.

If the file extension is omitted, it is auto-completed to the correct extension based on the platform
However, an example showing how a Windows and MacOS icon would be set up would be helpful IMO.

It's difficult to find the documentation that you need when working with things like electron-forge.

Hmmm. It's linked in the README... Which Forge docs were you using?

I ended up here: https://github.com/electron/windows-installer#usage from the link in the Make section of the README. My electron-forge package was working but electron-forge make was failing at the time.

The electronWinstallerConfig section wasn't what I was talking about. Additionally, the rcedit errors were updated recently. Were you getting errors like this? https://github.com/electron-userland/electron-packager/issues/621#issuecomment-389590753


select should not be used in WSClient because python-websockets does its own buffering

I'm hitting an issue where some exec calls made via the python client hang.
For background, I'm in the process of migrating my cluster from docker to cri-o and I have a suite of acceptance tests written in python that I run against the cluster to verify functionality. A good deal of of the tests exec commands inside pods and upon switching to cri-o, a certain command in the tests hangs/times out every time. Initially, I thought there was a bug in cri-o, but If the same command is executed via kubectl, it does not hang, so I started diving into the python client.
I believe I've tracked the problem down to the select call that is made in WSClient: https://github.com/kubernetes-client/python-base/blob/67a69d46560c4cf12e25266c41417f0dc0cc81ce/stream/ws_client.py#L169-L170
If I remove that select call, commands never hang.
I think that it's invalid to call select there because select is a system call that checks if a socket ready to be read/written, however, with websockets, we're several layers of abstraction away from the underlying system socket that select is checking and buffering is occurring at each of the layers. I suspect what is happening is:

recv_data_frame is called. The underlying recv call on the socket uses a fixed buffer size and receives multiple frames and recv_data_frame returns only one of them.
on the next iteration, we check if the underlying socket has any bytes available using select. It does not, but there is a frame waiting in the buffer in websocket-client that recv_data_frame would instantly return.

So I think the solution is to simply remove that select call, but I'm curious why it was added in the first place and whether removing it breaks some expectation. The only thing that I can think of is that it's being used to make read timeouts possible, however, if so, that is still buggy because the select could return if 1 byte is available to read, but then the recv calls in websocket-client would still block waiting on a complete frame.
@mbohlool what do you think?

To update on this issue, I ran into an issue with select as documented here: https://github.com/kubernetes-client/python-base/issues/53#issuecomment-494094032
My thought was to convert to poll (has potential problems as not all operating systems support poll (but maybe all that support this package do?). However, if this select isn't needed, then that simplifies things even more.

@bboe are you talking about epoll? If so, epoll has all the same problems as select here: the underlying socket's readiness is not equivalent to the websocket's readiness as the websocket is a logical construct with its own framing which the operating system doesn't know about

@PaulFurtado no, I was just going to convert to regular poll to remove the max fd 1023 limit of select. However, as you've indicated here, it seems like simply removing the select is better, unless there is a need to have a timeout when no data is available.
Do you know who would need to sign off on such a change? I'm likely going to vendorize a version of this with select removed, but it'd be great to eventually be able to clean that up.

@bboe @PaulFurtado Curious, does one of you have a fix for this? I'd be happy to test it.

/remove-lifecycle rotten
@zmc you should be able to just remove the line linked above: https://github.com/kubernetes-client/python-base/blob/67a69d46560c4cf12e25266c41417f0dc0cc81ce/stream/ws_client.py#L169-L170
I've done this internally and AFAIK there haven't been negative side effects.

@bboe I confirmed you're definitely correct, after all these years, I didn't realize that about select and file descriptor numbers!

Do you know who would need to sign off on such a change? I'm likely going to vendorize a version of this with select removed, but it'd be great to eventually be able to clean that up.

Unfortunately, I'm also just a kubernetes user. It seems like issues on this repo aren't really answered, but maybe if we file an issue on the main kubernetes repo someone will take a look?

I've done this internally and AFAIK there haven't been negative side effects.

Removing the socket select is also what we have done without any ill effects. I am moving away from invoking K8 directly in favor of Google Cloud Run, so my desire to have this fixed is lessened.

I confirmed you're definitely correct, after all these years, I didn't realize that about select and file descriptor numbers!

That discovery absolutely blew my mind.

Having the same issue with same symptoms. Tracking issue in our project: https://github.com/packit-service/sandcastle/issues/23

After being stuck on this for far too long, I was able to solve this by passing _request_timeout=30.0 to stream(), can anyone verify?


Brew not available as root on host

I am running Bazzite with the latest image.
There are some apps I need to run as root on the host, for example httm. After installing brew with ujust brew, I am able to install apps into my user directory just fine. But I can't run brew as root, or access an app installed in my user directory as root, which is kind of a catch-22.
So, sudo brew returns sudo: brew: command not found. And if I install say httm as a user, when I try sudo httm I also get command not found. But the command can't be run as a plain user.
What should I do?

The reason why brew commands are not showing up when using brew applications is due to the fact that sudo does not have the same environment as you.
httm in your case exists at /var/home/linuxbrew/.linuxbrew/bin/httm and when sudo executes something it executes it as a non-login shell. We add the brew path via /etc/profile.d which is only sourced by login shells for bash/zsh (Fish is different but similar idea applies).
You should be able to run your httm command with sudo if you give it the absolute path. You can also use sudo -E to preserve your entire environment (which can be a security issue) or sudo --preserve-env=PATH to specifically preserve your PATH. You also can use sudo -i  to start a login shell with root. sudo -i httm may work as well.
For sudo brew, brew doesn't like running as root since that would mean all build scripts would have access to your system. Brew for the most part should only be writing to /var/home/linuxbrew/.linuxbrew which is owned by the user who ran ujust brew


Brace inside string-literal inside string template confuses JavaScript bracket matcher

Does this issue occur when all extensions are disabled?: Yes

Version: 1.60.2
Commit: 7f6ab5485bbc008386c4386d08766667e155244e
Date: 2021-09-22T11:59:27.195Z
Electron: 13.1.8
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin x64 20.5.0
Steps to Reproduce:

put const str = `${"{"}`  into a blank JS file in VS Code
put cursor on the closing brace of the string template interpolation

Apologies if this has already been noticed, I couldn't find any mention of it.

Are you able to update to 1.61 and retest?


Fix this bug please!

---> Vídeo <---
https://streamable.com/sh6hx
When a cell explodes in a virus not all the cells are of the same size when it is still small

Well that was weird lol, github automatically closed this issue when I committed that, never seen that before xD
But anyway, it should be fixed now.

https://help.github.com/articles/closing-issues-via-commit-messages/

@Megabyte918 lol xD


Error printing

When I go to print, I get some odd black marks on the "Encounter Building" table for the 1st two pages. I have tried different ways to get this to work. It even prints this way.
Looking at the print out, it looks like the table header is being printed over and over again, just a few pixels down.
Additional Details
http://homebrewery.naturalcrit.com/share/rJY-3OrnZ

More info.
It looks like the issue happens when there is a wide monster block and  a standard table after the block.

Duplicate of #318


[FLINK-26811] [docs] Document CRD upgrade process

Document CRD upgrade process with an example of stop and restore a stateful job.
Signed-off-by: ted chang<EMAIL_ADDRESS>

@gyfora Thank you for reviewing.


Update API and add .gitignore

Updated the API to use async methods, and added a proper .gitignore as not to publish .dlls.

Does this contain your improvements for a better c# library?

Yeah. It can definitely be taken further, as I didn't rewrite the documentation comments to be in XML format or replace the dictionaries with typed objects, but it gets rid of the dynamics and adds async/await support.

Whoa, you definitely should improve this C# API. In the current state, we can't possibly integrate this code into our production app. This PR is a good start, although it lacks a few things:

POCOs to avoid having a Dictionary<string, object> data parameter on each method (more explicit signatures)
Real unit tests (do not use a console app to provide unit tests...) & fix cross-project references
A nuget package...

@madmox totally agree. I don't work for sendinblue so don't intend to invest more time into this, and really at the very least the NuGet package should be sendinblue's job.
Having said that if you do want to make any improvements to this PR that'd be cool as I could integrate them into my own codebase 😄.

I was looking for something like this. I will try it.
@mailin-api please merge this PR to update your library. It is currently soooo not C#.

As part of the sendinblue API version 2 deprecation plan this repository is no longer supported. Please refer to its updated version 3: https://github.com/sendinblue/APIv3-csharp-library


Segmentation fault with ROOT 6.22/02

Dear all,
I am trying to use root_pandas to load a ROOT file into a data frame. The read fails like follows:
df = read_root("file.root", "DecayTree")
 *** Break *** segmentation violation
 *** Break *** segmentation violation

I am using conda forge to do a python env install like this:
wget -nv http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
bash miniconda.sh -b -p $HOME/miniconda
source $HOME/miniconda/etc/profile.d/conda.sh
conda create -n ana_env python=3.7 root -c conda-forge
conda activate ana_env
conda config --env --add channels conda-forge

which gives me access to ROOT 6.22/02. The same ROOT files have been readable with root_pandas in previous conda installs I have done with the same setup options. The new conda install I have done today, which picks up ROOT 6.22/02, is the first time I have seen this error. I think 6.22/02 was released in August, so it's likely that this new ROOT version is causing the issue.
Any help to resolve this would be super.
Many thanks,
Donal

Thanks for reporting, this should be fixed in an hour or so by https://github.com/conda-forge/root_numpy-feedstock/pull/16


bugfix: make the push delay an Operation

actually (hopefully fixes) #196 by fixing the facade solution in #207

This looks like it should work!
What does pushDelayMicroseconds default to - is that set to a value that we expect fixes the issue?

It was defined by Jor to be 2 seconds, wether or not that fixes it is quite arbitrary, the only theory is that P(success | delay1) > P(success | delay2)  if delay1 > delay2

What does pushDelayMicroseconds default to - is that set to a value that we expect fixes the issue?

It's set to 2 seconds here from what I estimated on my PR, but I'm not yet sure as I didn't get any confirmation about that part.

Sounds like a reasonable initial guess - probably about the same time a quick typer needs to type the same commands, let's just try that then.

@OpsBotPrime merge

Rebased as 97b713b5e1ad4cc644baa483eb1459c122826c2a, waiting for CI …

CI job :yellow_circle: started.


Decide on API endpoints - to have one hour meeting

User story

As a developer,
I want to decide on the API endpoints for our application,
So that there is a clear contract between the frontend and backend teams regarding data exchange.

Acceptance criteria

Conduct a meeting to discuss frontend and backend requirements and align them with the overall project objectives.
Define and document the API endpoints that will meet the project's needs, considering data types, security, and efficiency.
API endpoints should include necessary operations (GET, POST, PUT, DELETE) as relevant to the application’s functionality.

Definition of done (DoD)

A meeting has been conducted with frontend and backend teams to discuss and finalize API endpoints.
API endpoint specifications have been documented and include paths, request/response formats, and expected behaviours.
API mockups or prototypes have been created for initial testing and feedback.

DoD general criteria

Feature has been fully implemented
Feature has been merged into the mainline
All acceptance criteria were met
Product owner approved features
All tests are passing
Developers agreed to release

Notes: specification from FE team to BE -> decide on endpoints

minimal version was decided in meeting with bounding lattitude/longitude and map id as input and returning a geojson featurecollection as return

Meeting note: https://github.com/amosproj/amos2024ss04-building-information-enhancer/wiki/Meeting-notes-‐-Team-meetings#api-endpoints-discussion


Issue in ctypes\test\test_win32.py

def test_struct_by_value(self):
        class POINT(Structure):
            _fields_ = [("x", c_long),
                        ("y", c_long)]

        class RECT(Structure):
            _fields_ = [("left", c_long),
                        ("top", c_long),
                        ("right", c_long),
                        ("bottom", c_long)]

        dll = CDLL(_ctypes_test.__file__)

        pt = POINT(15, 25)
        left = c_long.in_dll(dll, 'left')
        top = c_long.in_dll(dll, 'top')
        right = c_long.in_dll(dll, 'right')
        bottom = c_long.in_dll(dll, 'bottom')
        rect = RECT(left, top, right, bottom)
        PointInRect = dll.PointInRect
        PointInRect.argtypes = [POINTER(RECT), POINT]
        self.assertEqual(1, PointInRect(byref(rect), pt))

        ReturnRect = dll.ReturnRect
        ReturnRect.argtypes = [c_int, RECT, POINTER(RECT), POINT, RECT,
                               POINTER(RECT), POINT, RECT]
        ReturnRect.restype = RECT
        for i in range(4):
            ret = ReturnRect(i, rect, pointer(rect), pt, rect,
                         byref(rect), pt, rect)
            # the c function will check and modify ret if something is
            # passed in improperly
            self.assertEqual(ret.left, left.value)
            self.assertEqual(ret.right, right.value)
            self.assertEqual(ret.top, top.value)
            self.assertEqual(ret.bottom, bottom.value)

        # to not leak references, we must clean _pointer_type_cache
        from ctypes import _pointer_type_cache
        del _pointer_type_cache[RECT]

======================================================================
FAIL: test_struct_by_value (__main__.Structures)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".\Src\StdLib\Lib\ctypes\test\test_win32.py", line 114, in test_struct_by_value
    self.assertEqual(ret.left, left.value)
AssertionError: 100 != 10

Collected in #457


7Zip compression

Dear Ola,
I very much appreciate your work. Our customer's DB backup has around 80 GB and around 18 GB compressed which is just too much to download to our remote development machines. 7Zip compresses down to around 7 GB which is still ok for downloads. I tried to integrate that into your "DatabaseBackup" SP but it's hacky and ugly. Would that be in an interesting option for you to implement? As you know all the variables and temp tables, I think you could get this done in 2 hours. I would even pay for that if you want, just let me know. That would be better invested than my hacking around. :)
Thank you, Ingo

The challenge is that I would need to use xp_cmdshell that is considered a security issue.


Improve docs

[x] Add short description about what project does
[x] Uses this description in package.json and GitHub repo description
[x] Add link to Nano Colors
[x] Add more syntax description. For instance, how to escape {
[x] Add keywords to package.json
[x] Use Nano Colors logo in README.md

Updated docs in commit - https://github.com/usmanyunusov/nanocolors-template/commit/d790cb0f2b8dc6db389fe6803cf1bf564ecc4534


Clicking cancel deletes Guidance from the list

When I select "Remove" from the Guidance actions menu I receive an "Are you sure..." message prompt as expected. However, my guidance is removed/deleted when I click the cancel button (screenshots below). Desired behavior is to only remove/delete guidance if user clicks Ok button.

Works fine now. Only removes entry when you confirm you wish to do so. Closing out


Ruby version 3.0.6 is not found

Is there an existing issue for this?

[X] I have searched the existing issues

Package ecosystem
Bundler
Package manager version
No response
Language version
Ruby 3.0.6
Manifest location and content before the Dependabot update
No response
dependabot.yml content
No response
Updated dependency
No response
What you expected to see, versus what you actually saw
Dependabot fails running on github with the following error message:
Dependabot::Bundler::FileUpdater::RubyRequirementSetter::RubyVersionNotFound

This failure was caused when I pushed to my repository with a gemspec file required ruby 3.0.6
spec.required_ruby_version = '~> 3.0.6'

Ruby 3.0.6 was released earlier this year, and it looks like the RubyRequirementSetter needs to be updated to have the new version accepted as one of the RUBY_VERSIONS
It looks like an update similar to this issue has been done on another PR: https://github.com/dependabot/dependabot-core/pull/6460
Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
No response
Smallest manifest that reproduces the issue
No response

I have created a PR that I think addresses this issue: https://github.com/dependabot/dependabot-core/pull/7948

PR was merged, issue is resolved


Problems with priors?

Running kima from the main directory with the maximum number of levels set to 1, followed by
kima-checkpriors 0 --code "samples=np.random.uniform(-47.6, 74, size=nsamples)"

gives something like

shouldn't they be more similar?

Of course, you're right that's it. I did set the save interval to 1, but I wasn't expecting such a difference. With more samples it's less striking. Thanks!


Add versions of ALEGoToDefinition that open in splits

This is just like :ALEGoToDefinitionInTab, only a (v)split instead of a tab.  Fixes #2140.

Looks good. :+1: Don't forget to update the rates too.

Oops!  Knew I was forgetting something.

Cheers! :beers:


Fake Phonepe APK 38.5 (Unlimited Cash) For Android

What is Fake PhonePe APK?
Fake PhonePe APK is a third-party application designed to imitate the official PhonePe digital payments platform. Unlike the genuine app, this fake version does not facilitate real transactions. Instead, it simulates payment confirmations and receipts, often used for demonstrations or pranks. While it may seem harmless in some contexts, the app can be easily misused, raising serious ethical and legal concerns.
LINK: Fake PhonePe APK
Graphics in Fake PhonePe APK
The graphics in Fake PhonePe APK are created to closely resemble the authentic PhonePe interface. It uses similar colors, logos, and layouts, making the fake app appear nearly identical to the original. Key elements, such as payment confirmation pages and transaction details, are carefully crafted to maintain the illusion of legitimacy. This attention to detail makes the app effective for its intended purposes but also amplifies the risks of misuse.
Features in Fake PhonePe APK
Simulated Transactions: Displays fake payment confirmation screens with customizable details.
Receipt Generation: Allows users to generate fake receipts that mimic real ones, including transaction IDs and timestamps.
Customizable Inputs: Users can enter merchant names, amounts, and other details to create realistic outputs.
Offline Accessibility: Does not require an internet connection since no actual transactions occur.
Prank Tool: Often promoted as a tool for harmless jokes, though its misuse can lead to deception or fraud.
Design and User Experience
Fake PhonePe APK is simple to use, with an interface designed to replicate the genuine PhonePe app. The user-friendly design allows users to quickly create fake payment proofs without technical difficulties. However, this ease of use also makes it vulnerable to exploitation.
Conclusion
While Fake PhonePe APK is primarily marketed as a prank or demonstration app, its potential for misuse cannot be ignored. Deceptively simulating transactions can damage trust and lead to serious consequences. Users must exercise caution and responsibility, avoiding any activity that could harm others or violate legal boundaries. For authentic financial transactions, always rely on trusted and secure applications like the official PhonePe app.

Closing this issue as spam


allow PORT configuration at app startup

I'm submitting a ...  (check one with "x")
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  <!-- Please check the repository for a similar issue or PR before submitting -->
[ ] Support request => <!-- Please check the repository for a similar issue or PR before submitting -->
[ ] Feature request
[x ] Documentation issue or request

Current behavior

Setting env variable PORT to a desired value prior to running npm run serve has no impact on the app.
Expected/desired behavior

Setting PORT env variable before running npm run serve configures the express server to listen on the specified port.
What is the motivation / use case for changing the behavior?

 I am aware that setting the environment variable PORT at build time will bake the PORT into the app. Unfortunately, I only know which PORT to expose at app startup. This is a restriction imposed on me by my hosting platform, and I feel not an unreasonable one. I am pretty sure this is very possible, and probably quite a common use case, I just can't find the appropriate docs and my experiments have yielded no fruit!
Environment

Angular version: 4.4.1

for anyone with a similar issue who happens to end up here, use @rallu 's fork of angular webpack config https://github.com/rallu/angular-webpack-config which removes the defineplugin, and redefine it yourself in webpack.config.js as
      new webpack.DefinePlugin({
        'ENV': JSON.stringify('production'),
        'process.env.ENV': JSON.stringify('production'),
        'process.env.NODE_ENV': JSON.stringify('production'),
        'process.env.HOST': JSON.stringify(settings.host)
      }),

this leaves process.env.PORT intact in the server code.

Having DefinePlugin in the project that has NodeJS server is a bad idea in my opinion. It prevents use cases like this (I had the same problem) and other cases where you need really to have system ENV variables for you.
I would suggest that ng-seed/universal would build their own env system totally separate from system ENV.

I agree, I only suggest putting DefinePlugin back in as a few things broke without it, and fixing them is beyond me (too lazy) at the moment.

@Angry-Potato @rallu actually it's possible to override plugins right at the webpack.config.js.
on https://github.com/ng-seed/universal/blob/master/tools/build/webpack.config.js#L71, https://github.com/ng-seed/universal/blob/master/tools/build/webpack.config.js#L74 and https://github.com/ng-seed/universal/blob/master/tools/build/webpack.config.js#L77 the UglifyJsPlugin has been removed from the staging mode.
In order to override DefinePlugin, simply add it to the plugins array of webpack.config.js so you can more or less reach the same goal:
const browserConfig = function(root, settings) {
  return {
    plugins: [
      new webpack.DefinePlugin({
        /* desired configuration */
      }),

      /* other plugins */
  };
};

const serverConfig = function(root, settings) {
  return {
    plugins: [
      new webpack.DefinePlugin({
        /* desired configuration */
      }),

      /* other plugins */
  };
};

/* any other code */

module.exports = function(options, root, settings) {
  switch (options.env) {
    /* ... */
      ? webpackMerge({
        customizeArray: mergePlugins(['DefinePlugin'])
      })(webpackConfig.universal.server.prod(root, settings), serverConfig(root, settings))
      : webpackMerge({
        customizeArray: mergePlugins(['DefinePlugin'])
      })(webpackConfig.universal.browser.prod(root, settings), browserConfig(root, settings))
    : webpackMerge({
      customizeArray: mergePlugins(['DefinePlugin'])
    })(webpackConfig.spa.prod(root, settings), browserConfig(root, settings))
    /* ... */
  }
};

@Angry-Potato @rallu if you feel that an own env system totally separate from system ENV, you can always contribute with your use cases/ideas as well as PRs to this repo and angular-webpack-config.


example.ipynb: Could not resolve dependencies... javafaker

Hello,
I have installed the kernel (version 2.2.0, -auto, -system) and OpenJDK (21.0.5).
When running the example.ipynb the following errors occur:
Could not resolve dependencies.Failed to collect dependencies at com.github.javafaker:javafaker:jar:1.0.2
Could not resolve dependencies.Failed to collect dependencies at com.google.guava:guava:jar:20.0
I can't figure out what the problem is.
I hope you can help me.

Hi, could you tell me some additional info?

what is the output of java --help?
which is the content of kernel.json file?
what os are you using?

Best regards

Sorry, I was trying to say java --version, it is my mistake. Thank you a lot

All those minor versions looks identical, like on my host (even the os). The only thing which remains is to see the logs of the notebook server. I suppose that you are using jupyter --notebook or jupyter-lab. If that is the case you probably lauch it from command line. In that case would it be possible that you put here all the logs from notebook command line when you open the example.ipynb and run it with those errors? I know is an effort, but I see no other way to understand what is going on. Thank you a lot!

I know nothing about JupyterHub. I will do my homework and came back a solution. Thank you

One thing which might be a problem is related with user permissions.
In order to collect dependencies I use MIMA (MInimal MAven). This uses a local cache for dependencies in order to not collect dependencies multiple times or to avoid dowloading them every time. This is basically what maven does. The kernel creates a directory for that purpose. This directory is called mima_cache in is created in the folder where the kernel resides, which should be in your case /usr/share/jupyter/kernels/rapaio-jupyter-kernel/.
I did not implemented a configuration feature for that (this is actually a good idea of a feature, there is something related with configurations in issues). So this cannot be changed. But what can be changed is to install the kernel in another folder (one way would be to not use -system option, so it will go somewhere in home folder ~/.local/share/jupyter/kernels where the user should have proper permissions) or simply to try to give permissions over that folder.
Perhaps you could try to test this hypothesis to see if it can work. Best regards.

Thank you a lot. I will create an issue with a feature proposal for a configurable mima cache folder and also investigate the error to make it shown in notebook.


Cloud Run API v1

Cloud Run v1 API is now available.
Even v1alpha1 endpoint seems to return v1 response.

Yes, please move to the v1 API endpoint, v1alpha1 endpoint is deprecated and will soon start returning errors.
I will let @kelseyhightower merge the PR


Update group_7_ass_1_2024_task1

I added the information to my preferred database.

@JamesMVa please add your email to your information


updated tags

Extra tags I added previously aren't returning other like-tagged topics, so paring the list down to what @yallop had originally plus one more, "volumes". This should make more sense.

perfect, merging


Atom crashes on startup with jemalloc preloaded

Hello,
I'm unable to start Atom with jemalloc preloaded by means of /etc/ld.so.preload. The main window appears for a couple of seconds and then the app crashes. Console output is:
$ /usr/bin/atom: line 98:  4761 ***Segmentation fault      (core dumped)*** nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
[4761:0911/125207:ERROR:browser_main_loop.cc(170)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
Gtk-Message: Failed to load module "pantheon-filechooser-module"
[4761:0911/125207:ERROR:browser_main_loop.cc(198)] GTK theme error: Unable to locate theme engine in module_path: "pixmap",
[4761:0911/125207:ERROR:browser_main_loop.cc(198)] GTK theme error: Unable to locate theme engine in module_path: "pixmap",
[4761:0911/125207:ERROR:browser_main_loop.cc(198)] GTK theme error: Unable to locate theme engine in module_path: "pixmap",
[4761:0911/125207:ERROR:browser_main_loop.cc(198)] GTK theme error: Unable to locate theme engine in module_path: "pixmap",
[4761:0911/125207:ERROR:browser_main_loop.cc(198)] GTK theme error: Unable to locate theme engine in module_path: "pixmap",
App load time: 201ms
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[4795:0911/125208:INFO:renderer_main.cc(212)] Renderer process started
[4761:0911/125209:INFO:CONSOLE(11)] "activate linter-puppet", source: /home/ryan/.atom/packages/linter-puppet/lib/init.coffee (11)
Crash dump id: 1e66738c-49c4-4ce4-b267-ce8a2c10d891
Crash dump id: 9b64bbd7-b23c-41e6-b645-757e72e0f027

If I don't preload jemalloc when starting Atom, it works great.
I'm on elementary OS, using the .deb package on Atom's homepage.

This issue seems to have gone away after updating to the newly released v1.1.0 (Atom now starts properly with libjemalloc.so preloaded, even after updating to jemalloc 4.0).

:sparkles:


Move CI from CircleCI to Azure Pipelines

Failing with Permission denied on apt-get update && apt-get install -y …: https://dev.azure.com/norio-nomura/OSS/_build/results?buildId=28&view=logs
Since most of docker images does not have sudo, this issue will block migrating CI using docker to Azure Pipelines.
/ref: docker container root user - Developer Community.
/cc: @DavidStaheli

Investigating...

@chrisrpatterson: This package is Swift Library that depends on libunwind8.
I want to install files in libunwind8 package by apt-get update && apt-get install -y libunwind8 to container that using norionomura/swiftlint images before testing.
I don't intended to writing files as root that need to be read from host.

The CircleCI images do have SUDO installed according to their docs

I'm not using CircleCI images at all. But CircleCI allows apt-get update && apt-get install -y libunwind8 on CI jobs with container using norionomura/swiftlint images.
e.g. https://circleci.com/gh/norio-nomura/SwiftBacktrace/147

@norio-nomura thank you, we are looking at options on how to enable this sort of workflow while also not breaking the general expectations for users.  There is an active developer community post https://developercommunity.visualstudio.com/content/problem/336504/docker-container-root-user.html that has one suggestion for a potential solution we could provide.

would retry when docker container root user comes to Azure Pipelines.


Remove Perf Regression Test

The regression test for performance is not reliable enough (I figured this might be the case). If it's not going to be meaningful, it should be removed so it doesn't trigger CI errors.

I think there are a few things we can do to fix the flakiness of the performance regression test in CI:

Currently bun test in test-pull-request.yml is being run at the project root, which conflicts with the path provided in the perf test:

    it("should not regress performance", async () => {
        const { exited } = Bun.spawn(["bun", "./pipe.bench.ts"], { stdout: "pipe" });
        const code = await exited;
        expect(code).toBe(0);
    }, 20000);

We can add a working-directory for bun test to fix the path issue:
name: Test Pull Request

on:
    workflow_call:
    pull_request:
        branches: ["main"]

jobs:
    test:
        runs-on: ubuntu-latest
        steps:
            - name: Checkout
              uses: actions/checkout@v3
            - name: Setup bun
              uses: oven-sh/setup-bun@v1
            - name: Install dependencies
              run: bun install
            - name: Run tests
              working-directory: ./src
              run: bun test

The test is still occasionally flaky, always printing the following in the terminal:

fatal: path 'src/pipe.ts' exists, but not 'pipe.ts'
hint: Did you mean 'main:src/pipe.ts' aka 'main:./pipe.ts'?

as well as sometimes passing, and sometimes failing.
To fix this, I think all we need to do is in pipe.bench.ts change:
const child = Bun.spawn(["git", "show", "main:pipe.ts"], { stdout: "pipe" });

to
const child = Bun.spawn(["git", "show", "main:src/pipe.ts"], { stdout: "pipe" });

All tests pass without errors now when running bun test from src.

@0v00 ya the repo structure was changed when @dreyfus92 added docs; it was a bit flaky before that though. i'd say we can go ahead with a pr for this and then keep an eye on it to see if we need to revise/remove


Cannot impesonate due to hijack.mjs was blocked because of a disallowed MIME type (“application/octet-stream”).

This may well be something I am doing wrong, but I have (for some reason) got the following error message in my console when trying to impersonate someone:
Loading module from “http://<IP_ADDRESS>/static/hijack/hijack.mjs” was blocked because of a disallowed MIME type (“application/octet-stream”).
Everything was working the last time I checked.

@codingjoe it looks like the world is not ready for our last change. Maybe there is sense to revert mjs change?

@Mogost I think changing the filename is enough. This is triggered by the server guessing the mime type incorrectly and serving it with the wrong content header.

Ups, push to the wrong branch… @Mogost can you double check the commit before I trigger a release?

@Mogost I think changing the filename is enough. This is triggered by the server guessing the mime type incorrectly and serving it with the wrong content header.

Looks good to me

@dazzaroonie out of curiosity, which http server are you using to serve your static files?
I previously commented that Whitenoise includes the mime type definition, but nginx for example does not as of the latest version right now.

Nginx I believe.
Thanks so much for sorting a fix so quickly! I tested it last night and it
works again. Really appreciate it.
Darren S Smyth
What happens if you get scared half to death, twice?
On Sat, 29 Jun 2024 at 05:16, Julian Wachholz @.***>
wrote:

@dazzaroonie https://github.com/dazzaroonie out of curiosity, which
http server are you using to serve your static files?
I previously commented
https://github.com/django-hijack/django-hijack/issues/691#issuecomment-2167612769
that Whitenoise includes the mime type definition, but nginx for example
does not as of the latest version right now.
—
Reply to this email directly, view it on GitHub
https://github.com/django-hijack/django-hijack/issues/706#issuecomment-2197489499,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAS4OUZASGBOH5QRAARXOQ3ZJWY7VAVCNFSM6AAAAABKA7CDGOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJXGQ4DSNBZHE
.
You are receiving this because you were mentioned.Message ID:
@.***>


WA - GAEN Send failures assessment

Problem statement
We currently have a receiver for Google/Apple Exposure Notification (GAEN). The transport regularly fails. We need to understand why it fails and plan for a solution.
What you need to know
Failures can be reviewed on last mile problems page: https://reportstream.cdc.gov/admin/lastmile
Acceptance criteria

[ ] Failure cause is identified and documented
[ ] Solution plan is created

To do

[ ] Access failures in last mile
[ ] Review code for GAEN retries
[ ] Create solution plan

Majority of errors are of type 400: Bad Request. The GAEN documenation (https://github.com/google/exposure-notifications-verification-server/blob/main/docs/api.md#apiissue) mentions several different reasons for why a 400 status might be returned as evident in this table e

Errors do not appear to be related to message content as there are no obvious deficiencies in failed message. Need to investigate full JSON response to see if this is helpful.

When I have a chance, I will take a look at this ticket with James.

Need to modify error logging on GAEN to extract error code sent back in from API so we can get more detailed info on why messages fail.

Need to add logic to GAENTransport.kt to include error returned in JSON in logs.

I added a response errorCode of 400 Bad request Status code.  The errorCode will tell us a specific failure.  Therefore, we can address it.

Every wa-gaen test that failed in last mile failure.  They all failed with 400 Bad request of invalid_date = 'The provided test or symptom date, was older or newer than the realm allows.   For date to be valid the illness_onset_date (or symptomDate) and date_result_release (or testDate) must be within 29 days between them.  For example, date_result_release = 2022-12-15 the illness_onset_date >= 2022-11-17 (e.g., 2022-11-18/19/20 etc).   Otherwise,  date consider to be older.

Need to find out how RS generate the GAEN message for WA-GAEN.


Do not merge: PCM Vonage SDK upgradation to 2.26 for iOS.

Vonage iOS SDK upgradation from v# 2.23.0 to 2.26.0.

We have put these changes in Android's MR.


Return paging metadata as top-level API

This is not settle down yet, as we need a discussion with .NET and service about how to design the top-level APIs

/azp run java - search - tests

/azp run java - search - tests


Migrating tests of GitAPITestCase from JUnit 3 to JUnit 4

JENKINS-60940 - Migrating tests of GitAPITestCase from JUnit 3 to JUnit 4
In this PR, the test migrated is:

testCleanWithParameters
testClean
testHasGitRepo

Describe the big picture of your changes here to explain to the maintainers why this pull request should be accepted.
If it fixes a bug or resolves a feature request, include a link to the issue.
Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[x] I have referenced the Jira issue related to my changes in one or more commit messages
[x] I have added tests that verify my changes
[x] Unit tests pass locally with my changes
[ ] I have added documentation as necessary
[x] No Javadoc warnings were introduced with my changes
[x] No spotbugs warnings were introduced with my changes
[ ] I have interactively tested my changes

Types of changes
What types of changes does your code introduce? Put an x in the boxes that apply

[x] Tests
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Further comments
If this is a relatively large or complex change, start the discussion by explaining why you chose the solution you did and what alternatives you considered.

Thanks @MarkEWaite for the code suggestion review, I will surely keep that in mind for other pull requests.


vim-plugins: add install hooks

Motivation for this change

these hooks are helpful for custom nix code in VIM plugin expressions
document NIX_PATH usage (see the commit message for further reference)

Things done

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

[ ] NixOS
[ ] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

@LnL7 done :)


iframe with own modernizr is crashing the slides

When I include in a  via iframe a HTML document, that comes with modernizr, chrome isnt starting in the first slide. it is starting with the selection with the iframe.
Firefox works great.
When I delete modernizr in my iframe document, everything is fine.

chrome isnt starting in the first slide. it is starting with the selection with the iframe.

I'm not sure what this means, I assume it means the deck will start on the slide with the iframe no matter what.  In any case I can't reproduce this issue or any other oddity.  I put an iframe pointing at modernizr.com itself in the middle of my introduction deck and nothing looked out of the ordinary.  Can you point me to something that reproduces your problem?

Hi,
thanks for your answer.
Yes, the deck will start on the slide with the iframe.
But it wasnt an modernizr problem. I had some $('input).first().focus() in my iframe's javascript. That's was spoiling the deck.


Use of select() in lib/http/HttpClient_Curl.hpp causes crashes when >1024 filehandles in use

In lib/http/HttpClient_Curl.hpp, WaitOnSocket() uses select(), which is limited to monitoring file descriptors less than 1024. On a system that creates a large number of file handles (e.g. for client sockets), this limit will be exceeded and cause a crash in WaitOnSocket(). While I am using the library on FreeBSD, this problem would also apply to other platforms, namely Linux.
The Linux man page for select() describes this limitation and suggests using poll or epoll instead:

WARNING: select() can monitor only file descriptors numbers that
are less than FD_SETSIZE (1024)—an unreasonably low limit for
many modern applications—and this limitation will not change.
All modern applications should instead use poll(2) or epoll(7),
which do not suffer this limitation.

The crash is also reported for CentOS in the Open Telemetry C++ SDK which shares the same code-base for the curl http-client library with 1ds-cpp:
Issue: https://github.com/open-telemetry/opentelemetry-cpp/issues/1220
PR for fix: https://github.com/open-telemetry/opentelemetry-cpp/pull/1410
My colleague created the following simple patch to use poll() instead of select() which we apply in our FreeBSD port build to prevent the crash:
--- lib/http/HttpClient_Curl.hpp.orig	2022-09-28 09:41:36.000000000 -0400
+++ lib/http/HttpClient_Curl.hpp	2022-09-28 09:46:46.000000000 -0400
@@ -10,6 +10,7 @@
 #include <cstdio>
 #include <cstdlib>
 #include <cstdint>
+#include <poll.h>
 #include <string.h>
 #include <regex>

@@ -440,27 +441,20 @@
      */
     static int WaitOnSocket(curl_socket_t sockfd, int for_recv, long timeout_ms)
     {
-        struct timeval tv;
-        fd_set infd, outfd, errfd;
         int res;
+        struct pollfd pfd;

-        tv.tv_sec = timeout_ms / 1000;
-        tv.tv_usec = (timeout_ms % 1000) * 1000;
+        pfd.fd = sockfd;
+        pfd.revents = 0;

-        FD_ZERO(&infd);
-        FD_ZERO(&outfd);
-        FD_ZERO(&errfd);
-
-        FD_SET(sockfd, &errfd); /* always check for error */

         if(for_recv) {
-            FD_SET(sockfd, &infd);
+            pfd.events = POLLIN | POLLERR;
         } else {
-            FD_SET(sockfd, &outfd);
+            pfd.events = POLLOUT | POLLERR;
         }

-        /* select() returns the number of signalled sockets or -1 */
-        res = select((int)sockfd + 1, &infd, &outfd, &errfd, &tv);
+        res = poll(&pfd, 1, timeout_ms);
         return res;
     }

@peacenix @lalitb
There was a limit on the total number of concurrent simultaneous HTTPS connections that SDK makes to a single HTTP server in production. This is configured here . I wonder if it's happening in TEST or in production, and if there's a bug in a higher-level abstraction that doesn't properly limit the number of concurrent connections.
While the patch here is valid, I think we need to double-check why the higher-level code allows for more than 4 pending requests. This code is supposed to limit it:
https://github.com/microsoft/cpp_client_telemetry/blob/1fd167fa1595853cd423f9d3229915ad0092a09b/lib/tpm/TransmissionPolicyManager.cpp#L120

This is the patch we applied in opentelemetry-cpp to fix the issue for both windows and Linux (poll is posix call, and not supported in windows).
https://github.com/open-telemetry/opentelemetry-cpp/pull/1410/files
But I was not aware of max concurrent connections configuration which @maxgolov mentioned. Need to debug this separately if that too is an issue.

Oh I noticed @peacenix has already shared the opentelemetry-cpp PR. Please ignore my comment on that :)

I think the fix makes sense in OpenTelemetry. But it's not exactly clear why we don't get the higher-level TPM limit to apply. In 1DS C++ SDK the limit should've prevented the bug. Maybe there's something that doesn't clean the descriptors after the request is done?


initial support for OpenStack

[x] add openstack platform details to API/types
[x] extend webhook validation
[x] add deprovisioning support
[x] add provisioning support
[x] add hiveutil create-cluster support

Because there is no management of DNS when installing on OpenStack, the DNS setup for the API endpoint for the cluster must be performed in advance. On the OpenStack cluster create or pick a Floating IP that will be used for the installation. For a cluster being installed into stack.example.com with cluster name mycluster, the DNS A record named api.mycluster.stack.example.com should point to the Floating IP created/noted previously.
Also, because there is no management of DNS, after the cluster is installed, create or pick another Floating IP. Make the DNS entry *.apps.mycluster.stack.example.com pointing to the Floating IP. Then associate the apps Floating IP with the ingress port created during cluster installation:
INGRESS_PORT=$(openstack port list --format value -c Name | awk "/mycluster.*-ingress-port/ {print}")
openstack floating ip set --port ${INGRESS_PORT} FLOATING_IP_FOR_APPS

/retest

/test e2e

what's the status of this one?

I've been trying to test but stuck getting CRC + libvirt up. Hopefully soon.

updated PR to catch move from dep to go modules

/retest

/lgtm
Will iterate if any changes are needed once I'm able to get up and running on OpenStack.

ok, i sqashed (and grabbed @gregsheremeta 's feedback in there as well)

/lgtm


HDDS-11111. Create ozone-runner base image for Java 11

What changes were proposed in this pull request?
Current ozone-runner comes with JDK 17 (HDDS-8247).
Existing ozone images (up to 1.4.0) ship with some outdated software that we'd like to upgrade (e.g. Robot Framework).  However, those Ozone versions do not work with JDK 17.
So we should create ozone-runner image with up-to-date software, but with JDK 11 (like before HDDS-8247), in addition to the newer JDK version(s).
https://issues.apache.org/jira/browse/HDDS-11111
How was this patch tested?
Built locally, verified Java version.
$ docker builder build -t apache/ozone-runner:HDDS-11111 .
...

$ docker run -it --rm apache/ozone-runner:HDDS-11111 java -version
To use Ozone please mount ozone folder to /opt/hadoop
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)

CI:
https://github.com/adoroszlai/ozone-docker-runner/actions/runs/10421915621/job/28865235225

@dombizita @smengcl please take a look

Thanks @smengcl for the review.


fix(rubocop): rubocop has become an lsp since v1.53 (#2083)

You might be right about that.  I don't know the ramifications of this choice.
I deleted the old categories after looking at the package.yml for solargraph and ruby-lsp, which are declared as LSP only.
How can I test this?  I did not find a copy of any package.yaml in ~/.local/share/nvim or ~/.local/state/nvim.

You might be right about that. I don't know the ramifications of this choice. I deleted the old categories after looking at the package.yml for solargraph and ruby-lsp, which are declared as LSP only.

These categories are purely for presentational purposes only, so whatever is chosen won't have any "programmatic" impact (unless there's 3rd party or custom code that checks package categories somewhere, but that is a frail approach and should not be done).
Finally, it would be good to provide a mapping in mason-lspconfig.nvim so that it understands that the rubocop server configuration in nvim-lspconfig can be installed via the rubocop Mason package. Here's an example PR: https://github.com/williamboman/mason-lspconfig.nvim/pull/246. Adding the mapping entry to lua/mason-lspconfig/mappings/server.lua and then running make generate is enough.


Updated README.md with new help output

Coverage remained the same at 99.821% when pulling dec58d238585eee8a8fb30f8d46b1bf9320a1f0f on greggawatt:master into 718b49c910790f45ca312041fc54e0789b4da8c5 on thesp0nge:master.

Not sure about the test failure given that it's just a README change, let me know if you need anything more before merging


Support for jenkins.branch.OrganizationFolder

Currently if fails on _new_instance_by_item() since the _class is `jenkins.branch.OrganizationFolder``
From branch-api-plugin
https://github.com/jenkinsci/branch-api-plugin/blob/master/src/main/java/jenkins/branch/OrganizationFolder.java
Any workarounds are welcome.

can you attach the error message? and have you try this https://api4jenkins.readthedocs.io/en/latest/user/example.html#patch ?


Failed to get skypetoken

On attempting to start hubot, the following is being show:
Something went wrong!Failed to get skypetoken

Hey @taroquu
Thank you for reporting. Make sure you have 0.0.7 hubot-skyweb installed and verify if this issue is solved with this version.

That seems to have worked. Thanks!


[Question] Experimental setup information

Hi,
If possible, I would like to know the machine/core/architecture used for the experimentation presented on the README.
Thanks in advance,

Looking back at my experiment, I realized that I was not doing a comparison fair to WFA2. I will update README later.
Anyway, I was compiling WFA2-lib on an AMD CPU with gcc-4.8.5 from CentOS7. I was running all implementations on Xeon 4116. The OS is again CentOS7. Note that AMD doesn't have AVX512 but the Xeon CPU has. Perhaps WFA2-lib may get faster if I compile it on the Xeon.


Accomplishments section wrapping

At a certain width, the word "Accomplishments" wraps without a hyphen and at a strange breakpoint. See attached image.

You'll notice the demo title for Accomplishments contains the  hyphenation breakpoint. If you find it to be too far along, it can be moved closer to the beginning of the word, such as after the p.

"wraps without a hyphen"


FR-T5.2-15: Publishing and retrieving entities with template library CLI

ID:
FR-T5.2-15

Type:
USABILITY

User   story:
As a user I want to be able to save entities by versions and retrieve them when needed.

Requirement:
Template library publishing service needs to enable saving entities and adding new versions. User needs to be able to retrieve a version.

Extended   Description:
Versions need to be unchangeable entries that offer stability in the development stage of RADON applications.

Priority:
Must have

Affected   Tools:
TEMPLATE_LIBRARY

Means   of Verification:
Use template library CLI to save a version of an entity and retrieve it.

Agreed

This one is achieved through the EclipseChe and CLI. For more details follow https://template-library-radon.xlab.si/docs/.


Add appUsers.delete

Implementation for new endpoint. The public API documentation is currently in PR: https://github.com/smooch/smooch-docs/pull/586

 Add delete appUser to smooch-core-js


Enable sampling via properties configuration

Fixes gh-1409

Fixed via https://github.com/spring-cloud/spring-cloud-gcp/pull/1774

So this will not be fixed in the actual spring-cloud-sleuth-core? That the recommended solution is to do as spring-cloud-gcp has done?

There's nothing really to fix here so yeah, please follow what spring-cloud-gcp has done.