Add SparkR Support for SparkJob

Hello,
As described on this issue - https://github.com/Azure/azure-sdk-for-python/issues/27834
Azure Synapse Spark package support SparkR, But there is no information in enums to tell that.
When passing the kind = 'sparkr' to Api, it does start a SparkR job.
Can you please update the ENUMs and Add sparkr to the SparkStatementOption?
This is where we need chnage -
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/sparkJob.json#L1542

I am happy to submit PR with this Change.

@shakeelansari63 Apologies for the late reply. Thanks for reaching out to us and reporting this issue. We are looking into this issue and we will provide an update.

no worries, and thanks for looking into this.


refactor: rename and restructure /tools folder

Description
This PR fixes #470
Notes for Reviewers
rename and restructure /tools folder

Excellent! LGTM! Thank you for your contribution, @rj2704.

Thanks, @iuioiua looking forward to making more contributions.


feat(nonce): added nonce info to address page

Resolves https://github.com/hirosystems/explorer/issues/1365

@BLuEScioN can we ship this one?

:tada: This PR is included in version 1.148.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Hook CreateFile successful but hook TextOut fail

Moved from CodePlex
Originally submitted by waley_he
Hi,
When I try hook API via EasyHookDll in my C++ project, I can hook "Kernel32.dll"/CreateFileA and "Kernel32.dll"/CreateFileW successfully, but all others fail. Who can help have a look. Thanks
fail api:
"Gdi32.dll" TextOutA
"Gdi32.dll" TextOutW
"Gdi32.dll" ExtTextOutA
"Gdi32.dll" ExtTextOutW
"User32.dll" DrawTextA
"User32.dll" DrawTextW
"User32.dll" DrawTextExA
"User32.dll" DrawTextExW

code:
{
HMODULE hDllTextOutA = LoadLibrary("Gdi32.dll");
if (0 != hDllTextOutA) {
NTSTATUS status = 0;
hHookTextOutA = new HOOK_TRACE_INFO();
realTextOutA = (ptrTextOutA)GetProcAddress(hDllTextOutA, "TextOutA");
status = LhInstallHook(realTextOutA, MyTextOutA, 0, hHookTextOutA);
status = LhSetExclusiveACL(HookTextOutA_ACLEntries, 1, hHookTextOutA);
}
};

Waley

Hi,
I'm not sure it is related but kernel32 LoadLibraryExW fails too. The cause seems to be that the address of it points to a short jump, which makes a jump few bytes back, then there is a long jump. But easyhook seem to have a limitation that long jump has to be the first instruction.
To overcome this, I manually calculate the address of the short jump before hooking.
void* ShortJmp(char* pPtr)
{
   char* codePtr = pPtr;
   if (((char)0xeb) == *codePtr)
   {
   	// Short jump instruction, second byte is the offset, which is signed value
   	char jmpOfs = *(++codePtr);
   	codePtr++;
   	codePtr += jmpOfs;
   }

   return (void*)codePtr;
}

// Modify the address got from GetprocAddress
LoadLibraryExWFn = (LoadLibraryExWType)ShortJmp((char*)LoadLibraryExWFn);
// Hook using the new ptr

This seems to be working wothout side effects up to this date. Can anyone confirm this is ok to do?

@kaqkk yes that is fine to do

Thanks for confirming this!

I had a similar issue with these kinds of functions. specifically the kind of function that need to be called first, then an out/ref byte array is worked with (ex: GetKeyboardState).
GetKeyboardState needs a fixed byte array passed to it.  when the function returns the byte array is filled with data.  when I try to hook into that function the byte array is always sizeof 1 and doesn't work as expected.
What did work was kernel32.dll/WriteFile.  The data being written to the file is passed to that function and can be viewed before its actually saved.  I couldn't figure out the other functions. I tried the ones you listed.

I had a similar issue   it is not working  .
it is the shortjmp problem? how to fix in c#?
https://github.com/EasyHook/EasyHook/issues/351


Create watercolor backed image component

This needs to:

handle screen density
handle screen size
handle image
handle (possible) label

which page have a second water color background behind label)

@wrenaria will provide sample watercolors
(See XD creators pages).
TODO: link to design spec issue

Watercolor samples: https://drive.google.com/drive/folders/1BX7hRF-vNYLusiQBETJzoR5uoRjH1rKd?usp=sharing
Some of these are not final form/refined, but good enough to experiment with.


Advanced copy - Copy as JSON - Date converted to DateTime UTC

System information:

Operating system (distribution) and version
OS Name:                   Microsoft Windows 10 Pro
OS Version:                10.0.18363 N/A Build 18363

DBeaver version
Version <IP_ADDRESS>002151353

Additional extensions

Connection specification:

Database name and version
MS SQL
Driver name
MS SQL Server / SQL Server
Do you use tunnels or proxies (SSH, SOCKS, etc)?
NA

Describe the problem you're observing:
Date column data is incorrectly changed to DateTime when copying it to json format.
Steps to reproduce, if exist:
Select row containing a Date column
Select Advanced Copy
Select Copy to JSON
Paste data to text editor
Compare original data to pasted data.
2019-12-30 is changed to "2019-12-29T22:00:00Z"
Include any warning/errors/backtraces from the logs
NA

thanks for the bug report

By default dbeaver uses ISO format because it is a standard way to represent dates in JSON.
If you need other date format you can use Export data->JSON->disable "Format dates in ISO 8601"->Start.

Please reopen the ticket if you still need in additional comments.


Rework some of the SpongeTeleportHelper

Sponge API | Sponge Common | Original Issue
This PR implements the API proposed in the API PR, including the various TeleportHelperFilters. This PR also tweaks the algorithm so that a block above a half-block slab should be selected as opposed to a block to the side.
One thing I haven't worked out yet - configurable default blacklist for blocks, in order to support mods. That's next to the todo list, but I wanted to get this bit ready now.
See the API PR for more information on the API side.

I've added support for a configurable blacklist of blocks, so that behaviour of the helper can be altered via the global config.
There are a few things to note with how I've done this:

I've written the block blacklist in the config module to accept both BlockType and BlockState ids. My reasoning is that you might want to block minecraft:stained_glass from being a target no matter what state it's in, and not have to list all its states (colours in this case).
To prevent potentially expensive lookup operations each time, I cache the BlockTypes and BlockStates, and invalidate the list when the config is reloaded - it gets invalidated here.
The config blacklist works with all Sponge (i.e. this PR) provided filters, but a plugin provided filter doesn't necessarily use the block (it's always available as a separate filter, TeleportHelperFilters.CONFIG). However, I'm considering making it a mandatory filter completely backed into the helper, because I feel like a plugin probably shouldn't override a user. Thoughts?

In general "I feel like a plugin probably shouldn't override a user."
I feel like this statement should be used as a default, i.e. user choices in configs in sponge should be applied by default, but have a method to avoid them if it directly conflicts with a plugins own configs / intentions.
In this specific case I'm not sure it matters one way or another, considering it's a safe teleporter.

So, what I've opted to do is add an option to make the blacklist mandatory in the config (which adds the CONFIG filter to the set of filters always).
I have also added a method in the API to use the blacklist (mostly as a convenience function) that adds the blacklist (CONFIG) filter automatically regardless of whether the blacklist is forced or not, just to give the blacklist filter more visbility (plugins might be more inclined to use a method that specifies the blacklist, rather than a different filter).
This should give plugins the flexibilty of deciding whether to use this blacklist or not, and users the ability to override this if they feel like they need to.

Merged in https://github.com/SpongePowered/SpongeCommon/commit/5a35b18813d49d583c53a9eb2afcf2e30663eb36


Your reference doesn't appear to be indexed

Hello,
I am using cellranger_workflow at the Terra for 10x scATAC-seq data processing. I chose hg19 or hg19 v3.0.0 in sample_sheet.csv but get the error:
[error] Your reference doesn't appear to be indexed. Please run the mkreference tool.
I wonder is it because the hg19 reference is not loaded or not indexed?
Thanks,

hg19 is for cellranger, not cellranger-atac. We currently have GRCh38_atac_v1.0.1 and mm10_atac_v1.0.1

Thanks!
Is that possible to add a hg19 version or can I add it myself? As all my other data are the hg19 version, it would be easier if we want to compare.

Would you like the reference added for version 1.0.1 or 1.1.0?

I would appreciate the version 1.0.1. Thanks a lot!

Hello, No rush and just check in to see if there is a hg19 reference for ATAC-seq available. Thanks.

You can use the keyword hg19_atac_v1.0.1 for hg19 ATAC.


Validate the signature for sift-cli-linux.sha256.asc

I am trying to install sift in the Linux subsystem on Windows 10.
After I downloaded
sift-cli-linux
sift-cli-linux.sha256.asc
and imported the PG P Key using the command
gpg --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys 22598A94
I can't validate the signature using the command
gpg --verify sift-cli-linux.sha256.asc.
I have checked that all the files have been downloaded and I am running the command from the same directory.
Thanks in advance!

What error are you getting? This is not 100% necessary, this is for those who want to verify the file hasn't been tampered with.


Google inbox

Cannot add google inbox
Made a quick video

Same issue here

I'm testing a fix right now. In the meantime you can add it manually.

Close Franz
Download the recipe: https://api.franzinfra.com/v1/recipes/download/gmailinbox
Extract archive
Rename folder to gmailinbox
Move folder to:

Mac: ~Library/Application Support/Franz/recipes/
Windows: %appdata%/Franz/recipes/

Start Franz
Go to "Available Services" and add Inbox as you would expect it.

I hope to be able to deploy the fix in a few hours.
Also this issue is connected with #67

It's working, thanks 👍

The temporary workaround is not working for me (Mac OS Sierra)

Same problem here.

The latest version (beta 11) should fix this issue. Can you please ping me if it's working for you so I'm able to close this issue?

After the update it worked as expected.


[SMALLFIX] Clean up temporary alluxio-master directory

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/10741/
Test FAILed.

Merged build finished. Test FAILed.

Jenkins, test this please

LGTM. Thanks for the fix

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/10746/
Test PASSed.

alluxio-bot, check this please


31479 updated DEM xml to take latest spec changes

Fixes #31479

https://github.com/project-chip/connectedhomeip/issues/31479

Description of spec changes:
The Device Energy Management spec was updated to add support for Opt-out and cancelling of commands.
This URL should show all of the diffs between the versions last used:
https://github.com/CHIP-Specifications/connectedhomeip-spec/compare/c6f084b1188a44909e3d4fcb71bb272c9ac41772..ef7c371442003936081fffa0726f5b67b08334aa#diff-69ea3be1200f480acd5492108766fc8061ac57b4a2fc1336b886cb7a6dc638e9
and then look at src/app_clusters/DeviceEnergyManagement.adoc
This issue is to update the SDK / XML to match:
Main changes are:

ClusterRevision: 3
Feature split:
ForecastAdjustment (FA) now subdivided into StartTimeAdjustment (STA), Pauseable (PA), ForecastAdjustment (FA), ConstraintBasedAdjustment (CON)
ESAStateEnum has removed UserOptOut
NEW: OptOutStateEnum added
NEW: AdjustmentCauseEnum added
NEW: ForecastUpdateReasonEnum  added
Updated ForecastStruct Type:

Added ForecastUpdateReason
Change to Conformance (FA now STA)

Updated SlotStruct:

Change to Conformance for 3 fields (was M, now PAU)

NEW: OptOutState Attribute   (0x0007)
Changes to conformance for commands FA changed to STA/PAU/FA/CON as needed
NEW: CancelRequest command
Updated: PowerAdjustRequest takes new Cause enum
Updated: StartTimeAdjustRequest takes new Cause enum
Updated: PauseRequest takes new Cause enum
Updated: ModifyForecastRequest takes new Cause enum
Updated: RequestConstraintBasedForecast takes new Cause enum
Events:

Conformance for Paused/Resume is PAU
Resumed Event now includes CauseEnum

SDK Changes in this PR
Note XML was autogen'd by Hasty's new Alchemy tool, with minor hand edits.

[x] .ZAP / autogen updated
[x] Added xml.json to remove new OptOutState attribute from ember
[x] Fixed compilation issues with removal of kOptOut in ESAStateEnum
[x] Added OptOutState attribute read
[x] Added Cause into commands that need it
[x] Added CancelRequest command handler
[x] Added more validation to optout type to reject commands from Grid vs Local
[x] Update FeatureMap to add new feature supported

Approve, not on official XML review lst so a 'grey' check


after 4.0.0 upgrade, tracking multiple schemas is no longer working

Heya, thanks for this plugin.
After updating to 4.0.0, our gql documents were no longer being linked to the schema. After adding a documents field to graphql.config.yml, they are correctly seen, but we also track the Linear API schema in our graphql config, and now the files that are included in that schema are no longer seen. Without the documents field on our main schema, these are seen as expected.
To Reproduce
projects:
  DoubleLoop:
    schema: schema.graphql
#    documents: '**/*.graphql'
    exclude:
      - linear-schema.graphql
      - '**/app/services/api/linear_api.rb'
    extensions:
      endpoints:
        Default GraphQL Endpoint:
          url: http://localhost:3000/graphql
          headers:
            user-agent: JS GraphQL
          introspect: false
  Linear-GraphQL:
    schema: linear-schema.graphql
    documents: []
    include: '**/app/services/api/linear_api.rb'
    exclude: '*'
    extensions:
      endpoints:
        Linear API Endpoint:
          url: https://api.linear.app/graphql
          headers:
            user-agent: JS GraphQL
            Authorization: ${LINEAR_API_KEY}
          introspect: true

with this config, the 2 files excluded in the DoubleLoop schema no longer get picked up by the Linear-GraphQL schema.
with the previous version .graphqlconfig:
{
  "projects": {
    "DoubleLoop": {
      "name": "DoubleLoop GraphQL Schema",
      "schemaPath": "schema.graphql",
      "excludes": ["linear-schema.graphql", "**/services/api/linear_api.rb"],
      "extensions": {
        "endpoints": {
          "Default GraphQL Endpoint": {
            "url": "http://localhost:3000/graphql",
            "headers": {
              "user-agent": "JS GraphQL"
            },
            "introspect": false
          }
        }
      }
    },
    "Linear-GraphQL": {
      "name": "Linear GraphQL Schema - GraphQL format",
      "schemaPath": "linear-schema.graphql",
      "excludes": ["*"],
      "includes": ["**/app/services/api/linear_api.rb"],
      "extensions": {
        "endpoints": {
          "Linear API Endpoint": {
            "url": "https://api.linear.app/graphql",
            "headers": {
              "user-agent": "JS GraphQL",
              "Authorization": "${env:LINEAR_API_KEY}"
            },
            "introspect": true
          }
        }
      }
    }
  }
}

everything works as expected.
Expected behavior
I expect that adding the documents field on our main schema will not invalidate files included with the other, or that the migrated configuration would just work.
Version and Environment Details
Operation system: Ubuntu 22.04.2
IDE name and version: RubyMine 2023.1
Plugin version: 4.0.0

@xxx Hello! I have a few questions regarding your GraphQL project. Does it work as expected with .graphqlconfig in the latest update (4.0.0), or only in the previous version?
Can you provide more information about your project structure? How are the files separated between schemas? The usage of exclude: '*' seems a bit odd. Why is it necessary?
Additionally, could you try using this code snippet to see if it works for your project setup?
projects:
  DoubleLoop:
    schema: schema.graphql
  Linear-GraphQL:
    schema: linear-schema.graphql
    documents: ['**/app/services/api/linear_api.rb']

The code should associate all SDLs from schema.graphql with the DoubleLoop project, and all SDLs from linear-schema.graphql and operations from **/app/services/api/linear_api.rb with the Linear-GraphQL project. Any other operations in non-matching files will be associated with the first project implicitly, which is DoubleLoop in this case. Is this what you need?

Hello - thank you for responding.
I can confirm that the .graphqlconfig works correctly with 4.0.0.
As far as the project structure goes, it's a standard Rails project. We just happen to be interacting with the Linear API, and we want that specific file to be checked against their schema, while every file is checked against ours (i.e. exactly what you mentioned above.)
The snippet above does do exactly what I'm after. Thanks!
The exclude '*' was there just because with everything else, it was needed. It was during a 'try anything at all to see if it works' scenario when I was first setting it up last year.


Cities missing major roads

Hello, first of all thank you very much for the effort put in this excellent and well-thought mapping project which I'm sure will be very helpful to thousands of people wanting to implement their own vector maps.
I wanted to report an important issue with the vector tiles, which seem to be missing the polygons/shapes for all the major roads in some of the cities I've tested it. The road labels are present, but without the road shapes, and thus, the map of the whole city appears as if it didn't had any major roads, but only minor roads.
Here's a short list of the cities I've found this problem on (not limited to) along with links to test it:
Monterrey, Nuevo Leon, Mexico:
http://dev.aplimovil.net/osm2vt/#11.91/25.6958/-100.2511
San Antonio, Texas, USA:
http://dev.aplimovil.net/osm2vt/#12.73/29.4293/-98.4870
Orlando, Florida, USA:
http://dev.aplimovil.net/osm2vt/#15.47/28.5391/-81.3795
Toronto, Ontario, Canada:
http://dev.aplimovil.net/osm2vt/#11.94/43.6670/-79.3662

I doubt that this is a vector tile problem as the streets are visible in http://osm2vectortiles.org/maps/. I guess the problem is in your stylesheet.
Here's a screenshot of Toronto (your last link):

Yes, you are right this is probably a style problem. As I can see in the dev tools, you are working with the bright-v9 style of mapbox. This style was created with Mapbox Streets v7 in mind. However the vector tiles that are downloadable from our website are only compatible with Mapbox Streets v6. This is why these style errors appear. We are currently working on the next release of OSM2VectorTiles which will be compatible with Mapbox Streets v7. We will soon release the updated vector tiles.

You're right, I copied the bright-v8 style from your website and it's now working:
http://dev.aplimovil.net/osm2vt/#13.96/25.6791/-100.3050
The issue was that I took the example from the mapbox-gl-styles repo:
https://github.com/osm2vectortiles/mapbox-gl-styles
...and it seems it's missing the v8 style.
If I can be of help, let me know if I should create a PR for that repo with the v8 style added and a sample index.html file using it.
Thanks!

I'm not sure if this is an issue, but I cloned the mapbox-gl-styles repo fresh from Github to follow the readme instructions, installed tileserver-vector and downloaded the .mbtiles for my country, started tileserver-vector fine, created an index.html in the repo folder pointing to the bright-v9 style, but the map appears empty and no tiles are being served:

Checked tileserver-vector console output and it's clean (no activity or errors). Maybe my browser (Firefox Mac) isn't recognizing the mbtiles:// protocol?
What else could be preventing the map from rendering locally?

I'm not sure if this is an issue, but I cloned the mapbox-gl-styles repo fresh from Github to follow the readme instructions, installed tileserver-vector and downloaded the .mbtiles for my country, started tileserver-vector fine, created an index.html in the repo folder pointing to the bright-v9 style, but the map appears empty and no tiles are being served:

This is not ready to be used yet. We will provide better documentation on how to use this in the coming weeks.

@aplimovil You created a index.html links to the style served tileserver-vector or just the style file in the mapbox-gl-styles repo?

@manuelroth OK, will stay tuned, thanks.
@lukasmartinelli I pointed it to the streets-v9.json style, which has the mbtiles:// URL, but it showed blank with no errors. I then changed the URL to http://localhost:8080/index.json, but it seems the JSON file is incomplete (at least compared to the index.json file server by klokantech.tileserver.com) and then it did throw some errors in the browser console, and the map was neither shown.
What's the easiest way I can start serving tiles? Just with TileServer-PHP? I'm primarily a PHP developer and I love the language, but I know it's limits, hence why I was looking to use tileserver-vector, as Node.js is much better suited for this task.
Thanks in advance, and great work!

Abraham

Awesome progress! Could you confirm which exact style works? I can't find any reference to streets-v6.json. Bright-v7 won't work as I get complaints in the console that "constants are deprecated", so I'm rather stumped on which style to use. I have partial display using bright-v8-original.json from https://github.com/osm2vectortiles/osm2vectortiles/blob/master/tools/compare-visual/bright-v8.json. Should I be using streets-v8.json?

@stirringhalo the streets-v8.json and bright-v8.json styles worked for me perfectly, here's an example:
Streets: http://dev.aplimovil.net/mapbox-gl-styles/
Bright: http://dev.aplimovil.net/osm2vt/
I created a temporary fork with a sample index.html and just the v8 styles as per Manuel's notes regarding the incompatibility with v9 styles (Mapbox Streets 7), this is what I have running in the first link:
https://github.com/aplimovil/mapbox-gl-styles
It's using the vector tiles CDN provided by KlokanTech, haven't tried it yet with TileServer-PHP component though, but will do so in order to deploy the maps in my production project.
Hopefully when these repos get updated with the latest Mapbox Streets 7 compatible vector tiles and the tilevector-server (Node.js) instructions, I'll discard this fork.

@stirringhalo @aplimovil. With the release of v2.0 it should be much clearer what to use for what.
And the roads problem does not occur in v2.0. Will reopen again if you think it is still not solved.
Check out the new downloads: http://osm2vectortiles.org/downloads/
And the tutorial: http://osm2vectortiles.org/docs/getting-started/


'ansible.vars.hostvars.HostVarsVars object' has no attribute 'ansible_ssh_host'

When trying to set up KNIX via ansible, i noticed the following error in the debug section of the riak.log file:
The task includes an option with an undefined variable. The error was: {{ hostvars[groups['riak'][0]].ansible_ssh_host }}: 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'ansible_ssh_host'\n\nThe error appears to be in '[REDACTED]/deploy/ansible/riak.yaml': line 75, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n  - debug:\n    ^ here\n

this seems to cause a generic failure with not a lot of logs visible in make after the failure of TriggersFrontend to build (see #160), but :
ansible-playbook -e<EMAIL_ADDRESS>riak.yaml 2>&1 >riak.log.tmp
/usr/lib/python3/dist-packages/paramiko/transport.py:237: CryptographyDeprecationWarning: Blowfish has been deprecated
  "class": algorithms.Blowfish,
BECOME password:
[WARNING]: Consider using 'become', 'become_method', and 'become_user' rather
than running su
make: *** [Makefile:42: riak.log] Error 2

Could this maybe be some issue with newer versions of ansible?
im using ansible 2.10.8 with python 3.10.12 on a linux host

I guess you may be right.
https://stackoverflow.com/questions/40027847/accessing-inventory-host-variable-in-ansible-playbook#40029455

oh dang, i was searching for this on SO but i guess not hard enough. i'll make a PR to fix that. thanks!

ansible -i inventory.cfg -m debug -a "var=hostvars[inventory_hostname]" all is a modified version of a debugging command I found here

looks like (per that SO post) ansible_default_ipv4.address may be better to use

Have a look at this reasoning: https://github.com/knix-microfunctions/knix/pull/118
It looks like the ansible_default_ipv4.address was creating problems with hosts with multiple network devices, where the cluster was communicating internally.
But that was a long time ago and I don't recall exactly what was really wrong.

ah ok. i ran into issues trying to put a hostname into the (updated) ansible_host var in inventory.cfg (was getting an error like "<hostname>:8098" cannot be converted to a(n) IP in one of the services that was causing it to fail to start).
Maybe it would be nice to include the snippet of code from #118 in the cfg file as a comment? or maybe somehow automate the creation of that variable if it isnt present?
[riak]
knix-1 ansible_ssh_host=$(ping knix-1 -c 1 | head -1 | awk '{print $3}' | awk 'BEGIN {FS="[()]"}; {print $2}')

Feel free to try it out and see if you can get it automatically in the config.


Tracing: add support for file permissions

For the observed file/directory, add the associated permission and output the complete file/directory permission information, consistent with the format of 'ls -l'. Can be used in user space to further filter/identify events based on specific file attributes.

Thanks for contributing to Tetragon! I have tried to run that and I got an event like the following:
{
  "process_kprobe": {
    "process": {
      "exec_id": "YXBhcGFnLXVidW50dS1kZXY6MjYwMzI3ODcyMDgwNzU0OjMzMDk3MA==",
      "pid": 330970,
      "uid": 1010,
      "cwd": "/home/test",
      "binary": "/usr/bin/chmod",
      "arguments": "0777 a.txt"",
      "flags": "execve clone",
      "start_time": "2024-03-15T08:35:25.447770357Z",
      "auid": 1010,
      "parent_exec_id": "YXBhcGFnLXVidW50dS1kZXY6MjU4NTYzOTcwMDAwMDAwOjI4Njc0MQ==",
      "refcnt": 1,
      "tid": 330970
    },
    "parent": {
      "exec_id": "YXBhcGFnLXVidW50dS1kZXY6MjU4NTYzOTcwMDAwMDAwOjI4Njc0MQ==",
      "pid": 286741,
      "uid": 1010,
      "cwd": "/home/test/tetragon",
      "binary": "/usr/bin/bash",
      "flags": "procFS auid",
      "start_time": "2024-03-15T08:06:01.545689544Z",
      "auid": 1010,
      "parent_exec_id": "YXBhcGFnLXVidW50dS1kZXY6MjU4NTYzODEwMDAwMDAwOjI4Njc0MA==",
      "tid": 286741
    },
    "function_name": "security_path_chmod",
    "args": [
      {
        "path_arg": {
          "path": "/home/test/a.txt",
          "permission": "-rw-rw-r--"
        }
      }
    ],
    "action": "KPROBE_ACTION_POST",
    "policy_name": "permission-test",
    "return_action": "KPROBE_ACTION_POST"
  },
  "node_name": "ubuntu-dev",
  "time": "2024-03-15T08:35:25.448337205Z"
}

and this is great!
On the other hand, it seems that some tests are failing. Maybe you can try to run make tests locally to check what exactly fails and try to fix that. Thanks!

hi ,  fixed  test failed issue locally.    How can I trigger checks  on this PR?


Add category tag

In reference to #564. We did some custom work to add an @category tag in our build, so I figured I'd share it here. Feel free to change this as needed.
Basically, it works by looking through tags in a reflection's comment and building up a list of reflections that belong to each category in a similar manner to the way reflections are grouped by their kind (Method, Accessor, Property, etc.).
Also note, it won't really do much without some accompanying changes to a theme, but you can see some sample output if you use the JSON output option.
We mostly use this in file mode at the class level, so that's what it will work best for and I don't know how well it will work for other uses. I suppose this PR can be expanded upon if the scope needs to increase based on people who want the feature.

+1 I'd love to see this merged. A lack of class categories makes the generated docs pretty hard to use for larger modules.

@jonchardy Let me know if there's anything else needed or docs that can be improved to tell people how they can use this. Is there a theme update or anything else recommended?

Sure. So there are some things that should be set up to use this effectively:

Add @category tags within docstrings for classes. Classes without categories will be given a category of ''. This can be customized pretty easily by changing the getCategory method in CategoryPlugin.ts.

/**
 * Class description.
 *
 * More detailed info about class.
 * @category SomeCategory
 */
export class Foo {
  ...

Use the "file" output mode.
Customize typedoc-default-theme to use the category information that is output by Typedoc. We adjusted our index to divide the classes up by category, so our typedoc-default-themes\src\default\partials\index.hbs looks like this:

{{#if categories}}

Index

                {{#each categories}}

{{title}} Classes

                            {{#each children}}

{{#if name}}{{{wbr name}}}{{else}}{{{wbr kindString}}}{{/if}}

                            {{/each}}

                {{/each}}

{{else}}
    {{#if groups}}

Index

                    {{#each groups}}

{{title}}

                                {{#each children}}
                                    {{!-- only output external modules that have children, not empty ones --}}
                                    {{#ifCond kindString "==" "External module"}}
                                        {{#if children}}

{{#if name}}{{{wbr name}}}{{else}}{{{wbr kindString}}}{{/if}}

                                        {{/if}}
                                    {{else}}

{{#if name}}{{{wbr name}}}{{else}}{{{wbr kindString}}}{{/if}}

                                    {{/ifCond}}
                                {{/each}}

                    {{/each}}

    {{/if}}
{{/if}}

Of course, people are going to want to customize their theme to use categories in different ways.
Hope this helps, not sure where the best place is to document it.

Is this possible to use in the table of contents? I can't find any "top level" way to get the categories - unless it's in #with model, it's always undefined. Looking for something like toc that has the top level categories on all pages.


vmdkops_admin output is not consistent when more than 2 ESX are present and accessing shared datastore (attached-to-vm field is inconsistent)

vmdkops_admin output is not consistent when more than 2 ESX are present and accessing shared datastore e.g. vsan, shared vmfs etc (attached-to-vm field is inconsistent)
Test bed scenario: 2 ESX having shared datastore (vsan/shared vmfs). One docker host per ESX created on the the shared datastore (let's say vm1 & vm2)
Note: both VMs are part of _DEFAULT tenant
Steps to reproduce

create volume from vm1 & vm2 on shared datastore

VM1: docker volume create --driver=vmdk --name=vol_231_vsan
VM2: docker volume create --driver=vmdk --name=vol_99_vsan

make sure both volumes are accessible from either VMs (docker volume ls from both VMs)
attach container from one of the VM

VM1: docker run --rm -it -v vol_231_vsan@vsanDatastore:/mnt/myvol2 --name cnt_2311 busybox

invoke docker inspect from another VM and make sure it says volume is attached

root@photon-TX4FfW2ET [ ~ ]# docker volume inspect vol_231_vsan@vsanDatastore
[
    {
        "Name": "vol_231_vsan@vsanDatastore",
        "Driver": "vmdk",
        "Mountpoint": "/mnt/vmdk/vol_231_vsan@vsanDatastore",
        "Status": {
            "access": "read-write",
            "attach-as": "independent_persistent",
            "capacity": {
                "allocated": "80MB",
                "size": "100MB"
            },
            "clone-from": "None",
            "created": "Sat Feb 18 06:16:43 2017",
            "created by VM": "VM84_vsan",
            "datastore": "vsanDatastore",
            "diskformat": "thin",
            "fstype": "ext4",
            "status": "attached"
        },
        "Labels": {},
        "Scope": "global"
    }
]

On ESX side invoke vmdkops_admin

ESX1:

[root@sc-rdops-vm17-dhcp-0-84:/vmfs/volumes] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py ls
Volume          Datastore      Created By VM  Created                   Attached To VM  Policy          Capacity  Used     Disk Format  Filesystem Type  Access      Attach As
--------------  -------------  -------------  ------------------------  --------------  --------------  --------  -------  -----------  ---------------  ----------  ----------------------
vol_231_vsan    vsanDatastore  VM84_vsan      Sat Feb 18 06:16:43 2017  VM84_vsan       [VSAN default]  100.00MB  80.00MB  thin         ext4             read-write  independent_persistent
vol_99_vsan     vsanDatastore  VM100_vsan     Sat Feb 18 06:20:54 2017  detached        [VSAN default]  100.00MB  80.00MB  thin         ext4             read-write  independent_persistent

ESX2:

[root@sc-rdops-vm17-dhcp-15-100:/vmfs/volumes] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py ls
Volume          Datastore      Created By VM  Created                   Attached To VM  Policy          Capacity  Used     Disk Format  Filesystem Type  Access      Attach As
--------------  -------------  -------------  ------------------------  --------------  --------------  --------  -------  -----------  ---------------  ----------  ----------------------
vol_231_vsan    vsanDatastore  VM84_vsan      Sat Feb 18 06:16:43 2017  detached        [VSAN default]  100.00MB  80.00MB  thin         ext4             read-write  independent_persistent
vol_99_vsan     vsanDatastore  VM100_vsan     Sat Feb 18 06:20:54 2017  detached        [VSAN default]  100.00MB  80.00MB  thin         ext4             read-write  independent_persistent

Expected outcome: admin ls outcome should be consistent from both ESX hosts.

Issue is on the second ESX host, the VM UUID isn't known and hence printing as detached. Instead if the VM UUID isn't known then should instead pring the UUID itself. At least that way user has a way to know the volume is in use. Plus we should print the VM as <vm name/uuid>@<local/hostname>.

Fixed via #939


[$500] Workspace - No space between 3 dots and admin

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v1.4.11-23
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - internal Team
Slack conversation:
Action Performed:

Open the app and login with user having long username
Click on plus and click on start chat
Observe that we maintain gap between 3 dots of username and 'Add to group' button
Similarly, open settings->workspaces->any workspace->members
Observe that there is no space between 3 dots of username and admin tab

Expected Result:
App should maintain space between 3 dots of username and admin tab on members page as we maintain on similar layout start chat page between 3 dots and 'Add to group' button
Actual Result:
App does not maintain space between 3 dots of username and admin tab on members page
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/93399543/bc97b8e0-a37a-4dd9-8833-540797ce6e4e
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~019c7f37fb82d95dae
Upwork Job ID:<PHONE_NUMBER>008077312
Last Price Increase: 2023-12-13

Proposal
Please re-state the problem that we are trying to solve in this issue.
We need to add space between 3dots and admin text
What is the root cause of that problem?
Currently we don't have the space in the text and label
https://github.com/Expensify/App/blob/2782381be1cf4e8e4e697ae6d95b28e2e79817c3/src/components/SelectionList/UserListItem.js#L47-L48
What changes do you think we should make in order to solve the problem?
We should add space here, I think margin 12 or 16px
https://github.com/Expensify/App/blob/2782381be1cf4e8e4e697ae6d95b28e2e79817c3/src/components/SelectionList/UserListItem.js#L47-L48
What alternative solutions did you explore? (Optional)

Proposal
Please re-state the problem that we are trying to solve in this issue.
We see no space between ellipsis text and Admin badge.
What is the root cause of that problem?
No proper spacing.
What changes do you think we should make in order to solve the problem?

Applying latest CSS grid is the best practice for this with proper gap between columns.
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~01396a4ca84c29cfae

Proposal
Please re-state the problem that we are trying to solve in this issue.
Workspace - No space between 3 dots and admin
What is the root cause of that problem?
Margin missing between 3 dots and admin
https://github.com/Expensify/App/blob/d6755d68444d5d8e9e2c7593c7eb3f1228a20c67/src/components/SelectionList/UserListItem.js#L21
What changes do you think we should make in order to solve the problem?
Add Margin-right: 12px styles.mr3 same as the margin with the profile picture
<View  style={[styles.flex1, styles.flexColumn, styles.justifyContentCenter, styles.alignItemsStart, styles.optionRow, styles.mr3]}>

POC

I approve the proposal by @dragnoir
As the scope of this issue is narrow, a proposal mentioning a specific style from our stylesheet was appropriate. As I understand it, it was the first proposal to mention a correct style.
C+ reviewed 🎀 👀 🎀

@ZhenjaHorbach Personally, I agree, and I would recommend adding ml2 during the PR review. Still, they were the first to mention mlX. Choosing between ml2 and ml3 is an aesthetic decision.
While this can never be proven, I think that it's quite likely that your proposal from mh2 to ml2 was done in reaction to the proposal by @dragnoir.
Considering both things, I don't think you have solid arguments for discussing the proposal selection here. I suggest not continuing it, if you don't mind

In fact, I can say the same thing about the fact

You can, but it is not clear whether you should. It's quite difficult to pick a proposal based on the substantive value when the proposals have 10 edits and are essentially similar.
Are you really confident that your proposal is significantly better, beyond a reasonable doubt, based on something other than the fact that it's yours? In other words, if you stepped outside your perspective, don't you think that all other contributors could start a discussion the second I selected any proposal?

But I think that the correct place for fixation

The place where the fix should be applied is typically the least challenging to find.

your decision is not entirely fair

And would be fair, if what? If I selected your proposal, and only then?
These are rhetorical questions. Please don't answer them. Please also note that suggesting that a decision by C+ or an internal engineer is "not fair" is not a good idea. At best, it will build you a bad image, at worst it could lead to an official warning.

Just caught up. I see we've approved @dragnoir's proposal. I've just assigned the issue to them.
Thanks!

PR will be ready in the next 24 hours.

@johncschuster @cubuspl42 it's my 1st payment, when can I expect to get paid?

@dragnoir It seems the automation didn't run here, and the payment wasn't processed properly!
@johncschuster @techievivek Friendly bump!

Sorry for missing this, @cubuspl42! I'll get payment issued today!

@cubuspl42, I've issued payment to you.
@dragnoir, I've hired you for the job on Upwork. Once accepted, I'll get payment issued.
Thank you both for your patience!

@johncschuster Accepted. Thank you

@johncschuster any other steps I need to proceed for the payment to be released, pls!

@dragnoir Just to reassure you, issue handling and payments go much more smoothly with functioning automation. We just started to depend on it. Unfortunately, automation breaks once in a while.

I already accepted the offer on Upwork. Also, I think 1st payment is not automatic!

Payment has been issued. Thank you for your patience!

@johncschuster Thanks! I think we can just close this issue now?

@johncschuster Bump, this just needs closing


Line numbers in PDF for Motions

by @ThomasJunk from #2288

Line numbering is not implemented

Line numbers have been intruduced in #2292 and need to be in the PDF as well.
According to what I saw all the required information are in the plain HTML code, so if line numbers are activated in a motion the PDF shall be generated with containing line numbers.
Superscript and Subscript numbers are currently not possible with pdfmake https://github.com/bpampuch/pdfmake/issues/36

There are two different kinds of line numbering:

outside - should work in pdfmake
inline - superscript style is prefered, but you can also use just a smaller font size.
This issue has high priority.

but you can also use just a smaller font size This issue has high priority.

I can do it that way. We can change it again once pdfmake starts supporting superscript and subscript.

@emanuelschuetze
I looked a little deeper into this.
As you might remember, my very first statement was that the line-number plugin shall rather be designed to work with the PDF-plugin than vice versa, since the PDF plugin is designed to crawl over HTML-code and parse it into a PDF and should be as generic as possible to be compatible with the upstream of makepdf.
After looking into the line numbers plugin I saw that all required information is present in the HTML source code, so adapting it into the PDF-creation should not be too difficult.
However, the information might be in the HTML code, but not in the motion object itself!
Therefore, we would need to "just guess" when a new line starts.
Considering all the <br />, <span> and <p> is not hard, but counting untill the 81st character is actually impossible, since I did not design the parser to count the printed characters. Considering that would require a full rewrite of the pdf-generator.
The PDF generatior already supports protected spaces, tables, and some sort of distances, therefore it seems much more reasonable to change the line number plugin to work with the current state of the pdf generator

As discussed: Use motion.getTextWithLineBreaks(version), see
https://github.com/OpenSlides/OpenSlides/blob/master/openslides/motions/static/js/motions/base.js#L154 and
https://github.com/OpenSlides/OpenSlides/blob/master/openslides/motions/static/templates/motions/motion-detail.html#L276


fix: 💫 update crates

Description
Update dependencies
Type of change

[X] Dependency update

How Has This Been Tested?

[X] cargo test run with all tests pasing

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[X] Any dependent changes have been merged and published in downstream modules

Current dependencies on/for this PR:

main

PR #70   👈

This comment was auto-generated by Graphite.


improve translation of https://kubernetes.io/zh/docs/concepts/workloads/pods/disruptions/

This is a Bug Report

Problem:
https://kubernetes.io/zh/docs/concepts/workloads/pods/disruptions/
disruption 翻译为干扰是否正确，是否需要要统一为中断？
Proposed Solution:
Page to Update:
https://kubernetes.io/zh/docs/concepts/workloads/pods/disruptions/

/assign @tengqm

disruption -> 干扰
interruption -> 中断

ok


feat: add pinia and pinia-shared-state for sync shared state between tabs

States like

Color
Radius
Style

curious what was the reason to use pinia 🤔

You were using @vueuse/core useSession for states
Every Browser Tab has its own session and states are not shared across tabs

Kinda related https://github.com/radix-vue/shadcn-vue/issues/146
I was working on adding custom alias (@/components/) in https://www.shadcn-vue.com/themes.html (Customize Button) but could only handle changing aliases in <ComponentPreview> component, not in rendered markdowns
then I tried sharing other states

we can just swap it with useLocalStorage lol

You right 😂
For Aliases I thought better to turn it back to default alias when user close all shadcn-vue tabs


Allow finding static libraries linking OpenSSL through Find package module [WINDOWS ONLY]

win-only:
set(OPENSSL_USE_STATIC 1) before the find_package(OpenSSL) command to get a static linking library rather then having to depend on a DLL

Thanks.  I started by taking the whitespace cleanups as commit 4c10461a877d8ca8f18c952c2c143320337d04a7 and the refactoring of PATH_SUFFIXES as commit fbcbf7f29d630c8a291f0d0e543defbf1b8208df.  The latter commit also fixes the spelling of the variable (SLL -> SSL).  Please rebase the rest of the changes on that commit and force-push to update this PR.
This feature looks useful enough to support everywhere.  Please take a look at the FindBoost module and how it implements Boost_USE_STATIC_LIBS by saving/modifying/restoring CMAKE_FIND_LIBRARY_SUFFIXES.  We could follow the same pattern here.  Please also add the new option variable to the module documentation.

Closing for now.  Please see previous review comments.

@bradking I've made the changes, how do I re-open this?

@thyos Thanks.  I re-opened it for you.  Please force-push your rebased/revised findmodule-openssl-static-fix topic.  That should update this PR.  Alternatively, please read CONTRIBUTING.rst for the preferred contribution path.

I think that did it, thanks for your patience :+1:

Yes, it rebased correctly.  Now please return to the second part of my original review:

This feature looks useful enough to support everywhere.  Please take a look at the FindBoost module and how it implements Boost_USE_STATIC_LIBS by saving/modifying/restoring CMAKE_FIND_LIBRARY_SUFFIXES.  We could follow the same pattern here.  Please also add the new option variable to the module documentation.

Hey @bradking congrats with the 15 years CMake. I hope this is what you meant, if not please let me know :+1: .

Thanks.  Applied as commit 369a8cde378ab97826cf4a6d9ef2053bd70ddc0f.


Problem minting on localnet

I am running a local solana validator node (<IP_ADDRESS>:8899). I cannot seem to get this command to work:
metaboss mint one --keypair <keypair-file-path> --nft-data-file <data-file.json> --sign

the result of running the metaboss minut command is the following:
Error: RPC response error -32002: Transaction simulation failed: Attempt to load a program that does not exist

I was able to get it to work on devnet, but not on localnet as of yet.
Probably a total noob question, but what am I doing wrong here? And what do I need to do to fix it?

Use custom rpc
Here is one
https://ssc-dao.genesysgo.net/
Join my discord to get more help
THIRD EYE

Thank you @poisendev91, but I would actually like to see the process of loading a program up to a Solana node, at least one that is more complex than the hello world I have seen. and to also be able to do this on a Solana node I control.
I see on the Solana docs where you have to have a binary in a *.so filetype. Is there something that needs to be loaded and compiled for metaboss to then load the program smart contract up to the local solana node? that part is a bit unclear to me.

As a follow on... I have tried using the cargo build-bpf command which is used in the solana-labs hello world example for metaboss, but I was not able to get that to build correctly.

I am running a local solana validator node (<IP_ADDRESS>:8899). I cannot seem to get this command to work:
metaboss mint one --keypair <keypair-file-path> --nft-data-file <data-file.json> --sign

the result of running the metaboss minut command is the following:
Error: RPC response error -32002: Transaction simulation failed: Attempt to load a program that does not exist

I was able to get it to work on devnet, but not on localnet as of yet.
Probably a total noob question, but what am I doing wrong here? And what do I need to do to fix it?

You have to clone the token-metadata program to your localnet as Metaboss is calling that program to mint. Look up the solana-test-validator command's "clone" option.

As a follow on... I have tried using the cargo build-bpf command which is used in the solana-labs hello world example, but I adapted for metaboss, but I was not able to get that to build correctly.

cargo build-bpf is for compiling Solana programs (smart contracts). Metaboss isn't an on-chain program, it runs client side and makes calls to the token-metadata program which is on-chain.

@JockDaRock did this resolve your issue?

@samuelvanderwaal Thank you for your help. Sorry for the slow reply. Was on vacation last week and didn't have a chance to finish testing before then.
I think this resolves my issue for now. More and more I am looking into the process of running nodes, but that is more for the Solana network than for metaboss.
all that said, I love metaboss and I have really enjoyed your work on it!
closing this issue.


Tamagui site build failure during "yarn site:prod" test with no changes

Current Behavior
While following 'contributing' instructions (for a simple typo fix) everything web related was successful until yarn site:prod which gives the following error despite no changes made, and successful yarn site, and yarn site:extract builds. Here is the error:
Failed to compile.
./pages/api/studio/procedure.ts
Module not found: Can't resolve '@tamagui/studio/api'
https://nextjs.org/docs/messages/module-not-found
Build failed because of webpack errors

I dug around and can confirm that there is no packages/studio directory, which is where I believe @tamagui/studio points, but I'm not sure what the intent is so didn't rectify.
Expected Behavior
successful yarn site:prod build when no changes have been made to the repo.
Tamagui Version
git clone of current repo's master branch

Reproduction
git clone https://github.com/tamagui/tamagui.git
cd tamagui
yarn
yarn watch:build

open a new terminal
yarn site then yarn site:extract then yarn site:prod

### System Info

```markdown
System:
    OS: macOS 13.5
    CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
    Memory: 721.22 MB / 32.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 16.19.0 - ~/.nvm/versions/node/v16.19.0/bin/node
    Yarn: 3.5.0 - ~/.nvm/versions/node/v16.19.0/bin/yarn
    npm: 9.6.4 - ~/.nvm/versions/node/v16.19.0/bin/npm
  Browsers:
    Chrome: 116.0.5845.110
    Safari: 16.6
  npmPackages:
    @manypkg/cli: ^0.19.1 => 0.19.2
    @nderscore/tamagui-typescript-plugin: ^0.3.1 => 0.3.1
    @vercel/og: ^0.5.8 => 0.5.8
    check-dependency-version-consistency: ^3.0.3 => 3.0.3
    import-sort-style-module: ^6.0.0 => 6.0.0
    npm-run-all: ^4.1.5 => 4.1.5
    p-map: ^5.5.0 => 5.5.0
    prettier: ^2.8.1 => 2.8.8
    pretty-quick: ^3.1.2 => 3.1.3
    prompts: 2.1.0 => 2.1.0
    retry-cli: ^0.7.0 => 0.7.0
    rome: ^12.1.3 => 12.1.3
    turbo: ^1.10.13 => 1.10.13
    typescript: ^5.2.2 => 5.2.2
    ultra-runner: ^3.10.5 => 3.10.5

This isn't an issue. Just that some of the files are encrypted using git-crypt and only accessible to maintainers.
It shouldn't block you for development though. You can still run yarn site with no issues.

I dug around and can confirm that there is no packages/studio directory, which is where I believe @tamagui/studio points, but I'm not sure what the intent is so didn't rectify.

It's pointing to apps/studio.

adding a note to the docs and i'll add some logic to skip building studio unless you have a dev flag set

Thanks for clarifying!


Configurable service name

When using package_provider = 'apt' ubuntu installs an init.d script as /etc/init.d/supervisor The service.pp file assumes that it is called /etc/init.d/supervisord. Perhaps this also needs to be configurable?

I am getting errors with this
Execution of '/etc/init.d/supervisor start' returned 2: Starting supervisor: Error: conflicting command line option '-c'

can you share your puppet code and operating system information @shishirsharma


Add SQL query support in Ruby

new 'sql_query' function that will return a raw SQL query.

Uses Rails 'sanitize_sql_for_conditions' to prevent SQL injection.
Adds an 'id_whitelist' to limit searches to just the id fields that are approved.  This is similar to hard params

Looks promising, @SixiS what do you think?

Thanks for all the work @montulli - really great idea.
Nice to see people still using this gem!
@sergey-koba-mobidev - I don't really like appending the sql-specific code to all the operator classes.
I have an idea to make the gem more extendible by making it so it can have different sets of evaluators / operators.
It's a bit of work tho, will see if I can get to it in the next few weeks.

Howdy!   Any more thoughts or progress on this functionality?

@montulli - woah, thanks so much for pinging on it after so long!
Working on it now - will have a branch for the new stuff in the next week (for real).


Sierra 10.12.4 hangs during boot, stuck at gIOScreenLockState

Hey, I'm trying to get this to boot the first time. After following the README directions it just hangs about 30 seconds into starting up. The last log lines when it hangs are shown below. Any idea what the issue is?
I'm on Virtualbox 5.1.18 r114002 (Qt5.6.2) and MacOS 10.12.4 on an early 2015 Macbook Pro, and in Virtualbox I'm using 4GB RAM, 128MB video memory, 2 CPUs, and I've tried marking the ISO as Live CD/DVD

I downloaded the latest El Capitan installer from the mac store and that works fine. So it seems like there's an issue with the latest macOS Sierra version.

Can confirm, latest macOS Sierra stops at gIOScreenLockState

@dcosson How did you download the El Capitan installer? I get a "the version of macOS is too new" error.
Link: https://itunes.apple.com/us/app/os-x-el-capitan/id1147835434?mt=12

Same issue here.

@andrewschreiber I was able to download from purchases list in my app store. I got this machine in ~ October 2015 so it came with El Capitan originally, is yours newer possibly?

Here's a tutorial on how to download the El Capitan pkg and trick the App Store into installing it, instead of Sierra.
https://7labs.heypub.com/tips-tricks/el-capitan-direct-download.html#El_Capitan8211_Single_Download_Multiple_Installations

I can also reproduce this issue. Why would it be that 10.12.4 raises this issue?

I'm also stuck on the gIOScreenLockState error. I've tried everything with tweaking the settings.

I believe it has something to do with 10.12.4 I was able to install 10.12.3 and upgrade to 10.12.4 without issue.

I can confirm the same issue, stuck on gIOScreenLockState booting OS X Sierra 10.12.4

So according to this: https://github.com/timsutton/osx-vm-templates#issue-with-10124

The Sierra 10.12.4 installer seems to no longer support including custom packages as part of the installer, unless they are signed by Apple.

I think until a hack is found this will no longer be possible.

I've the same issue with 10.12.4.
I'd also like to point out that Parallels lets you create a virtual machine image from the recovery drive that works, also with 10.12.4. Not sure how this is achieved though.

I tried the procedure described in this repo just in the days when 10.12.4 came out, and I can confirm that this is not working with the new version. I did not have the oportunity to try it with 10.12.3, but I checked back in that day for any issues related and could not find anything.
I also tried running it in vmware 7 (an old version compared to toady's) on my MacbookPro but it hung up on the Apple Logo screen. So I believe this is related to the latest Installer. Probably Apple made some breaking changes.

@LaloLoop as I commented 10 hours ago, I was able to install with 10.12.3 and upgrade to 10.12.4

Does anyone know how/where to download 10.12.3? I am also stuck when trying to install 10.12.4

@tcurdt I'm facing this same issue - I don't think there's any way to get the previous installer unless you know someone who already has it. I ended up redownloading El Capitan from the App Store and I'm using it now

@nathanhleung I am doing the very same thing. Still need Sierra at some point though.

Is http://osxdaily.com/2016/09/27/allow-apps-from-anywhere-macos-gatekeeper/ any help?
Sorry, not really a subject matter expert; I'm probably conflating Apps with the pkg, and I've no idea whether it's possible to even run commands before the pkg is used?

@tcurdt I downloaded the Sierra installer on my El Capitan VM and have gone through the install/restart process a few times but it doesn't seem to be working - by any chance have you taken that route in trying to install Sierra?

@nathanhleung no, I never tried that as I assume the download will have the same problem. I just found an old Sierra USB stick ready to install though. I might try to turn that into an iso and see if that works. That's about all the options I see at the moment.
I am wondering if this works for vmware/parallels - then switching away virtualbox could be another option.

I was having the same issue and unfortunately I didn't have any copy of an older installer either, and in my desperate search for a solution I found this thread. I wanted to try AutoDMG + vfuse but I wanted to use virtualbox for now, so I wrote a modified version of Tim Sutton's prepare_iso.sh https://github.com/timsutton/osx-vm-templates/pull/82 which does the same as AutoDMG + vfuse but using Virtualbox's tools.
The idea more less is to run:
IMAGE_SIZE=32
IMAGE_SIZE_BYTES=$(($IMAGE_SIZE * 1024 * 1024 * 1024))
sudo hdiutil attach -noverify -mountpoint /tmp/installesd /Applications/Install\ macOS\ Sierra.app/Contents/SharedSupport/InstallESD.dmg
sudo hdiutil create -size "${IMAGE_SIZE}g" -type SPARSE -fs HFS+J -volname "Macintosh HD" -uid 0 -gid 80 -mode 1775 sierra.dmg
MOUNTOUTPUT=$(sudo hdiutil attach -noverify -mountpoint /tmp/os -owners on sierra.dmg)
sudo installer -verboseR -dumplog -pkg /tmp/installesd/Packages/OSInstall.mpkg -target /tmp/os
DISK_DEV=$(grep GUID_partition_scheme <<< "$MOUNTOUTPUT" | cut -f1 | tr -d '[:space:]')
sudo cat "$DISK_DEV" | VBoxManage convertfromraw stdin ~/Documents/Mountain\ Lion\ template.vdi "$IMAGE_SIZE_BYTES"
hdiutil detach /tmp/os
hdiutil detach /tmp/installesd

I hope that it helps :-)

Will Sierra 10.12.5 fix this? Did some of you tried already?

Just tried today, same issue with 10.12.5.

@jonanh that looked very promising at first - but now it's just doing:
...
May 16 18:38:18  installer[63714] <Alert>: client 0x7f84b6d163d0: phaseName = "OS Installer"
May 16 18:39:18  installer[63714] <Alert>: client 0x7f84b6d163d0: phaseName = "OS Installer"
May 16 18:40:18  installer[63714] <Alert>: client 0x7f84b6d163d0: phaseName = "OS Installer"
May 16 18:41:18  installer[63714] <Alert>: client 0x7f84b6d163d0: phaseName = "OS Installer"
May 16 18:42:18  installer[63714] <Alert>: client 0x7f84b6d163d0: phaseName = "OS Installer"
May 16 18:43:18  installer[63714] <Alert>: client 0x7f84b6d163d0: phaseName = "OS Installer"
May 16 18:44:18  installer[63714] <Alert>: client 0x7f84b6d163d0: phaseName = "OS Installer"
May 16 18:45:18  installer[63714] <Alert>: client 0x7f84b6d163d0: phaseName = "OS Installer"
May 16 18:46:18  installer[63714] <Alert>: client 0x7f84b6d163d0: phaseName = "OS Installer"
May 16 18:48:18  installer[63714] <Alert>: client 0x7f84b6d163d0: phaseName = "OS Installer"
May 16 18:49:18  installer[63714] <Alert>: client 0x7f84b6d163d0: phaseName = "OS Installer"
May 16 18:50:18  installer[63714] <Alert>: client 0x7f84b6d163d0: phaseName = "OS Installer"
May 16 18:51:18  installer[63714] <Alert>: client 0x7f84b6d163d0: phaseName = "OS Installer"
May 16 18:52:18  installer[63714] <Alert>: client 0x7f84b6d163d0: phaseName = "OS Installer"
...

@tcurdt this is the output I get after running the prepare_vdi.sh from https://github.com/timsutton/osx-vm-templates/pull/82

@jonanh oh, I was trying your script from above. Will give that a try.

I finally got it working like this:
sudo prepare.sh ~/Desktop/Install\ macOS\ Sierra.app

#!/bin/sh
set -x
set -e

IMAGE_SIZE=32
IMAGE_SIZE_BYTES=$(($IMAGE_SIZE * 1024 * 1024 * 1024))

echo "attaching input OS X installer image"
hdiutil attach \
  -noverify \
  -nobrowse \
  -owners on \
  -mountpoint /tmp/installesd \
  "$1/Contents/SharedSupport/InstallESD.dmg"

echo "creating empty read-write DMG"
hdiutil create \
  -size "${IMAGE_SIZE}g" \
  -type SPARSE \
  -fs HFS+J \
  -volname "Macintosh HD" \
  -uid 0 \
  -gid 80 \
  -mode 1775 \
  /tmp/sierra.dmg

echo "mounting empty read-write DMG"
MOUNTOUTPUT=$(hdiutil attach -noverify -mountpoint /tmp/os -nobrowse -owners on /tmp/sierra.dmg.sparseimage)

echo "installing macOS"
installer \
  -verboseR \
  -dumplog \
  -pkg "/tmp/installesd/Packages/OSInstall.mpkg" \
  -target "/tmp/os"

echo "exporting vdi to /tmp"
DISK_DEV=$(grep GUID_partition_scheme <<< "$MOUNTOUTPUT" | cut -f1 | tr -d '[:space:]')
echo "DISK_DEV=$DISK_DEV"
cat "$DISK_DEV" | pv -s $IMAGE_SIZE_BYTES | VBoxManage convertfromraw stdin /tmp/macos-10.12.vdi "$IMAGE_SIZE_BYTES"

echo "done"
hdiutil detach /tmp/os
hdiutil detach /tmp/installesd

In case you don't have pv installed you have to remove the pv -s $IMAGE_SIZE_BYTES | of course.
But be aware - updating to 10.12.5 after the install broke the booting similar to what I saw on the former install attempts. So it doesn't seem to be the final solution.
Maybe I'll try again after increasing the memory of the vm. Or I just cave and shell out the money for an upgrade of the old vmware/parallels license :-/

@tcurdt these are settings that are working for me
VM="macOS"
HARDDRIVE="macOS.vdi"
VBoxManage createvm --name "$VM" --ostype "MacOS_64" --register

VBoxManage storagectl "$VM" --name "SATA Controller" --add sata --controller IntelAHCI
VBoxManage storageattach "$VM" --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium "$HARDDRIVE"

VBoxManage modifyvm "$VM" --audiocontroller "hda"
VBoxManage modifyvm "$VM" --chipset "ich9"
VBoxManage modifyvm "$VM" --firmware "efi"
VBoxManage modifyvm "$VM" --cpus "2"
VBoxManage modifyvm "$VM" --hpet "on"
VBoxManage modifyvm "$VM" --keyboard "usb"
VBoxManage modifyvm "$VM" --memory "4096"
VBoxManage modifyvm "$VM" --mouse "usbtablet"
VBoxManage modifyvm "$VM" --vram "128"

Here is the full script :-)
https://github.com/jonanh/osx-vm-templates/commit/09787cde8024f88e3c604b16e64dfea4f93407d8#diff-041cfff4cd15513c0a368cbab35aeb1e

@tcurdt BTW, I would umount and mount again the sparse DMG before exporting it, sometimes it was failing to me. Maybe it doesn't flush everything before the export starts:
https://github.com/jonanh/osx-vm-templates/blob/2097e6cb60ac12a404ff18bb0ebb81ca4ced1e45/prepare_iso/prepare_vdi.sh#L256

Pretty much the same setup I have :) Except with only 3GB memory. Will give it a try with 4GB. Thanks for the pointers, @jonanh

@jonanh Thanks a million!  https://github.com/jonanh/osx-vm-templates/tree/create_prepare_vdi_based_on_autodmg#alternative-method-using-prepare_vdish-prepare_ovfsh-and-packer-virtualbox-ovf works for me with macOS 10.12.5

So with the above... is there any change to this project's instructions or script that can help with that?

I was able to follow the steps from @brki comment and run Sierra 10.12.5 on VirtualBox. The downside is that VirtualBox supports 1024x768 screen resolution only.
Right after I saw a tweet from @osxdaily and I follow this post http://osxdaily.com/2017/04/11/run-macos-virtual-machine-easy-parallels/ Parallel Lite is free if you run Linux (and macOS). I was able to run Sierra 10.12.5 in fullscreen mode. Also Parallels interface feels nicer.

Disclaimer, I am not affiliate with Parallels neither @osxdaily

@tcurdt I tried your approach and after several failed attempts (the installer reported some errors while copying to the sparse image) I finally got my macos-10.12.vdi
But I was not able to boot from this vdi. Upon inspection of the sparseimage from which the vdi was created it looks like /System/Library/CoreServices/boot.efi is not there.
Any idea what could have gone wrong?
Thanks,
Lars

@lsh-silpion I suggest using jonanh's solution, mentioned in brki's comment on May 18. Works like a charm for me

Can you tell me how to use jonanh's solution exactly? Do I need to write those commands directly after downloading MacOS Sierra from the app store?

Hi,
I added some documentation prepare_vdi.sh.
I could create also a simplified version and contribute it to this repo as well, since most of the people don't need packer support. :-)
Regards,

Thank you jonanh! I understand the process flow now. I created the dmg using prepare_iso.sh
Now Can I use any current method to convert it to ISO?
ex. as shown here
https://www.howtogeek.com/289594/how-to-install-macos-sierra-in-virtualbox-on-windows-10/
Or is there any other process?

After an update of macOS, mine stopped working. It would start at the EFI screen, and I have not been able to find a way to fix this. In the meantime, I've abandoned VirtualBox and I'm using VMWare Fusion which, incidentally, supports folder sharing (VirtualBox does not)

@jenilkansara using the prepare_dmg.sh script and generating an ISO will hit the same bug https://www.virtualbox.org/ticket/16644, since the problem it is somehow connected with the startup of the installation.
The prepare_vdi.sh uses another approach (the same idea as AutoDMG), which avoids the problem by creating a fresh install on a Mac host (without any virtual machine) into a temporary disk image (DMG) and then converting it into a virtual box disk image.
The reason that I am not using AutoDMG and I wrote the prepare_vdi.sh script is because the final generated and compressed DMG fails to be converted into a vdi/vdmk using the VBoxManage convert tools. So once the os is installed into the temporary disk image, I dump the raw /dev/disk device file to VBoxManage convertfromraw. :-)

Hello jonanh,
thank you so much for reaching out, I tried prepare_vdi.sh but there is an error
-- Installing firstboot installer pkg
installer: Package name is
installer: Installing at base path /private/tmp/veewee-osx-basesystem.Xe5u
installer: The install was successful.
-- Exporting macOS_10.12.vdi
../prepare_iso/prepare_vdi.sh: line 261: VBoxManage: command not found
macjenil:packer pl106$
Is the problem with the installer?
Thank You.

Check your VirtualBox installation, VBoxManage is the command-line interface to VirtualBox.

Hey Jonanh,
Thank you so much! It works like a charm. By the way, is there a problem in MacOS 10.12.5 running in Virtualbox of not been able to detect USB connections? I wanted to run apps from Xcode on my iPhone. It used to work in MacOS 10.12 but not in this version.
Thankx,
Jenil Kansara

I had the same problem trying with 10.12.6 in Virtualbox 5.1 and Virtualbox 5.0.
I've tried with the usual custom vboxmanage setextradata stuff and cpuid and without, tried without USB, with USB1.1, 2 and 3. It gets stuck at gIOScreenLockState regardless.

With instructions for prepare_vdi.sh provided by @jonanh I was able to obtain a working VirtualBox VM with OS X 10.12.6 on the Mac mini host. I was able to enter my Apple ID and get updates for applications. I didn't use packer, just imported appliance from .ovf-file. All VM options were used as provided by prepare_ovf.sh script, only after successfull update I decided to switch off audio and change network settings according to my needs.
Just for assurance, the boot log contains the same message with gIOScreenLockState mentioned but boot process doesn't stuck after it (IOLockUnlock(gIOConsoleUsersLock);is executed there according to xnu-3789.51.2/iokit/Kernel/IOService.cpp - I have no idea why it stucks when installation is started from ISO image).
Once again for guys having the problems: make sure that installation is performed NOT on VM from the .iso-image but on the host to .dmg-file and then VM is created to use the disk with already installed OS X. That's what prepare_vdi.sh/prepare_odf.sh are for.
Thank you very much, @jonanh.

@ynikanchyk you hopefully just saved me. will know soon :)

@ynikanchyk ..Thank you ... it worked after 3 hours of searching internet. macOS 10.12.6
@jonanh .. Thank you ... you are a real life saver.

@jonanh  This helped me test macOS Sierra 10.12.6 on windows host.
I had to set cpuid, DeviceID and SMC of box to make it work on windows.

@soapagent Can you go into more detail about setting the CPUID, DeviceID, SMC? I'm new to this and attempting to run on my desktop.
-Core i5 6500
-16GB RAM
-W10 x64

@lXbalanque , Please check this article.

First part makes ISO, so you don't need to see them, ISO image is not working, we need to create pre-installed vdi using @jonanh 's script.
Then using VBoxManage command, this is the part setting CPUID and etc.

https://www.howtogeek.com/289594/how-to-install-macos-sierra-in-virtualbox-on-windows-10/

Now, if only @jonanh's script worked with High Sierra :)

@jonanh hello, I am having this same issue on a Windows 10 host.  I was just wondering how to use your script?  I have a Sierra.iso file created from the instructions on the HowToGeek page.
Do I need to take a few steps back a run the scripts on my Mac with the .dmg file?  I am new to this kind of thing and could not figure out what to do from this thread.

@mrroboto1420 The .iso method doesn't work anymore as of 10.12.4. Ignore all the steps in the Howtogeek article on creating the .iso and instead run @jonanh's script on your Mac. Make sure you have VirtualBox installed on your Mac as well, as the script depends on it. After you've generated the .vdi, you can put that on your Windows host and run it from there.

Great! I'll give it a shot this weekend
On Fri, Sep 8, 2017 at 2:26 PM Pierce Bartine<EMAIL_ADDRESS>wrote:

@mrroboto1420 https://github.com/mrroboto1420 The .iso method doesn't
work anymore as of 10.12.4. Ignore all the steps in the Howtogeek article
on creating the .iso and instead run @jonanh https://github.com/jonanh's
script on your Mac. Make sure you have VirtualBox installed on your Mac as
well, as the script depends on it. After you've generated the .vdi, you can
put that on your Windows host and run it from there.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/geerlingguy/macos-virtualbox-vm/issues/24#issuecomment-328217892,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYj9MgloI449HRb7y_JbhCviIIiTbbwXks5sgbEWgaJpZM4MwqX5
.

--
Mina Puck
TechOps, New Context
@newcontext

I made it sure iso method is working with <IP_ADDRESS> installer.
It sure is not working with VBox, it is only working with VMware.

If you are somewhat interested in working in the virtually installed macOS, like coding with GUI interface, you better use VMware, as it has a little stronger graphics virtualization.
If you want a non-GUI server, using VBox is not so bad. :)

Just trying to get a healthy ecosystem for running unit tests against
configuration management changes in our deploy so as long as I can get SSH
to the box I am good ;) As long as otherwise it is fully featured and able
to take my config changes via command line that is what matters most to me.
On Fri, Sep 8, 2017 at 2:32 PM, Soap<EMAIL_ADDRESS>wrote:

If you are somewhat interested in working in the virtually installed
macOS, like coding with GUI interface, you better use VMware, as it has a
little stronger graphics virtualization.
If you want a non-GUI server, using VBox is not so bad. :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/geerlingguy/macos-virtualbox-vm/issues/24#issuecomment-328219073,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYj9MhLuzW4m3M2MKGdvWSv5cNjdknunks5sgbKAgaJpZM4MwqX5
.

--
Mina Puck
TechOps, New Context
@newcontext

Thanks for this helpful thread. I've used prepare_vdi.sh to successfully boot a sierra guest in VBox on my Windows host.
My issue is I can't get more than 4MB for the VRAM so tthe interface is painfully slow. Host has 24GB RAM and integrated intel 520 graphics (i5-6200u). Anyone have the same issue and resolved it?
Thank you in advance for any help.

I am getting this after booting from the generated vdi file on Ubuntu.

@jenilkansara: Having the same issue with iphone not deteced since Sierra 10.12.4. In my case the iphone is showing up in the device list with correct infos, but neither itunes nor xcode is able to detect it.

@styxlab I got it working on MacOS Sierra by using VMWare. The iPhone connects successfully.

@jenilkansara Thanks. I can confirm that. As I'm bound to virtualbox: Has anyone had success with iphone usb passthrough on virtualbox since Sierra 10.12.4 or higher?

After updating the system (Sierra 10.12), my Mac mini boots up until the progress bar is at about 50%, then display becomes simply black. The computer does not shut down, but display is simply black.
If I boot in verbose mode, the last line I see is the following:
IOConsoleusers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0
Internet recovery (Shift-Option-Command-R) does not help: recovery itself seems to proceed fine, but when it comes again to the Apple logo, the progress bar again reaches about 50% and the display becomes black.
Starting up in Recovery mode(Command-R) and starting up in Safe mode (Shift) do not help: as in Normal mode, it reaches 50% of progress bar and the display becomes black.
I can boot in single user mode (Command-S): "fsck -fy" does not find any problems. I don't know what other things I can do in single user mode.
As I understood, my video hardware is not compatible with the new version of Sierra. What can I do? Can I install previous versions of macOS? How can I do that if I can boot only in single user mode?
Info:
Mac Mini 5,1
Dual Core Intel Core i5
Intel HD Graphics 3000

@dimabin I'm facing the exact same issue, but I don't see how replacing an external adapter would help the computer boot up. Could you please elaborate?

It turned out that the issue, at least in my case, was not with booting up
itself, but rather with displaying what the system outputted. Replacing the
Mini Displayport to HDMI Adapter helped me.
2018-02-27 9:50 GMT+01:00 Kelvin Zhang<EMAIL_ADDRESS>
@dimabin https://github.com/dimabin I'm facing the exact same issue,
but I don't see how replacing an external adapter would help the computer
boot up. Could you please elaborate?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/geerlingguy/macos-virtualbox-vm/issues/24#issuecomment-368790805,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQY4PosfrTAsYHibtaHe8I9A1DIBgvEwks5tY8HfgaJpZM4MwqX5
.

Not sure what to do with this issue; it looks like there are a few related issues mentioned in the thread, but as it's grown to 67 comments and I don't think there's any software fix I can add in the repo to 'fix' these issues (especially when they're related to hardware), I'm tempted to close it.

@geerlingguy What worked for me was dropping the dGPU completely and switching to integrated graphics. See here

well I passed the gIOScreenLockState, but I got stuck in Sound Assertion in AppleHDAEngine at line 605


[Request] raylib

Package Request
Raylib
Information
https://github.com/raysan5/raylib
MSVC version will be similar to sdl2 manifest.
Name: [name of new package]
Raylib
Description: [clear and concise details of what it is]
raylib is a simple and easy-to-use library to enjoy videogames programming.
Homepage: [a URL/link]
https://raylib.com
Download link(s): [URL(s)/link(s)]
MSVC https://github.com/raysan5/raylib/releases/download/4.0.0/raylib-4.0.0_win64_msvc16.zip
MinGW https://github.com/raysan5/raylib/releases/download/4.0.0/raylib-4.0.0_win64_mingw-w64.zip
Some indication of popularity/repute: [GitHub stars/software reviews etc.]
8.6k stars on github
https://itch.io/games/made-with-raylib

Would this require two manifests, one for 32/64bit msvc16 zip and one for 32/64bit mingw zip?

Would this require two manifests, one for 32/64bit msvc16 zip and one
for 32/64bit mingw zip?

i think so, maybe raylib & raylib-mingw. msvc version should be default.

@criticic In sdl2-image.json, there are some manipulations on PKG_CONFIG_PATH and CMAKE_PREFIX_PATH.
Is there anything we should add to env variables for this package?

Here's what I have so far, it just downloads and adds $dir to path for now. raylib.json

Would you consider sending a PR to the main bucket?
sdl2 packages are in extras because there are some elaborations in pre/post install script.

I had a look at the sdl2-image manifest but I'm a bit lost! It seems to need a SDL2_image.pc.in file which raylib's release zip doesn't include. I found it in the source here: https://github.com/raysan5/raylib/blob/master/raylib.pc.in. Would the script be as simple as creating a pkgconfig folder in lib with that file inside, plus adding that folder to the PKG_CONFIG_PATH and CMAKE_PREFIX_PATH env variables?
Also could anyone explain what "$current_dir = \"$(current_dir $dir)\"", does?

Also could anyone explain what "$current_dir = "$(current_dir $dir)"", does?
https://github.com/ScoopInstaller/Scoop/blob/master/lib/install.ps1#L902-L905
Sets variable current_dir to whatever is returned from the above function(passing $dir), i think you should rename it to avoid confusion as both function name & variable name are same.

@criticic I made a PR with your suggestions, thanks! Could you try it out (see if the env variables all work correctly) and make any further suggestions there?


Remove dependency on OpenNI

It would be nice (although I know its probably pretty difficult) to completely extract the openni dependency and be able to take in arbitrary deph camera data. Perhaps the best thing would be to divide this project into two: one that has an agnostic depth image system, and another that wraps openni and feeds the depth data into the first system. That way, users can write other wrappers for other depth cameras.

I started a clone of this project which aims to be ROS-based and sensor-generic.


Feat: Added showing admin which user reacted to which post successfully issue 499

Pull Request Resolves [ #499 ]
Title: Added showing admin which user reacted to which post successfully.
Description

In backend, in admin I created the controller and routes to fetch all the user with their reactions, post and creation date.
In admin, I created the reaction interface and created a new file as Reactions.tsx in this I am fetching the user reactions from the api which I created.
The design is responsive.

Related Issues
Fixes #499
Changes Made
New feature: Added showing admin which user reacted to which post.
Screenshots

I certify that I have carried out the relevant code of conduct and provided the requisite screenshot for validation by submitting this pull request.
Thank You for this contribution.

@Ultimateutkarsh11 please add level 3 after complete evaluation 👍 because of frontend(admin) + backend integration !


feat: Add inital docker image with docs

Basic container image and initial README.md.
Closes: #1

@regebro I don't have enough permissions to rename default branch to main, setup automation such as publishing to GitHub Packages etc. Can you set me as owner for unoserver-docker?


Ads Manager sometimes nests event properties in a seemingly random object

Hello team videojs-ima,
I ran into an issue today with the events reported by adsManager.
When performing my initial integration, I took a note of the object that is returned by adsManager, and based my code on the following:
event {
   type: "impression",
   g: {
      adId: "12345",
      adPodInfo: { ... }
      ...
   }
   another_key: "some_value"
}

The way I'm listening for these events is as follows:
            let events = [
                google.ima.AdEvent.Type.ALL_ADS_COMPLETED,
                google.ima.AdEvent.Type.CLICK,
                google.ima.AdEvent.Type.COMPLETE,
                google.ima.AdEvent.Type.FIRST_QUARTILE,
                google.ima.AdEvent.Type.IMPRESSION,
                google.ima.AdEvent.Type.LOADED,
                google.ima.AdEvent.Type.MIDPOINT,
                google.ima.AdEvent.Type.PAUSED,
                google.ima.AdEvent.Type.RESUMED,
                google.ima.AdEvent.Type.STARTED,
                google.ima.AdEvent.Type.THIRD_QUARTILE
            ];
            for (var index = 0; index < events.length; index++) {
                this.player.ima.addEventListener(events[index], this.doSomething);
            }

This integration worked fine for a while, however I started receiving reports of issues. Upon investigating, I found that on different page refreshes, the event object emitted by adsManager occasionally nests the event.g property under another unidentifiable single-letter property. I've seen both of these so far this morning:
event {
   type: "impression",
   o: {
      g: {
         adId: "12345",
         adPodInfo: { ... }
         ...
      }
   }
}

and
event {
   type: "impression",
   l: {
      g: {
         adId: "12345",
         adPodInfo: { ... }
         ...
      }
   }
}

This makes it impossible to react to events because I never actually know where relevant metadata will come from.
I have shipped an emergency fix up to production just to stop the bleeding, but it's ugly:
            let capturedEvent = {};
            if (event.g && event.g.adId) {
                capturedEvent = event.g;
            }
            if (event && event.o && event.o.g && event.o.g.adId) {
                capturedEvent = event.o.g;
            } else if (event && event.l && event.l.g && event.l.g.adId) {
                capturedEvent = event.l.g;
            }

           // now do some stuff with capturedEvent.adId

I need a better solution. Do you have any suggestions or advice?
Best,
Matt

Hello @matt-iakhno ,
If you are looking for the ad Id, I would recommend using Ad.getAdId() instead of parsing the ad event.
Let me know if that works for you or if you have any follow up questions.
Thank you,
Jackson
IMA SDK Team

Hi Jackson,
For my current integration I need to be able to access adId, adPodInfo, title and duration. Fortunately I see getters available for all of these in the documentation you linked. I will try this out and get back with a resolution in this ticket once I've had a chance, thank you.
Matt

Hi Jackson,
I tried this out just now, but for some reason google.ima is missing the Ad key altogether. Here's what mine looks like:

Is there something additional I have to do for it to show up? I know the IMA SDK knows about the ads because I can get cue markers and extract all the ad-related data by going through event.o.g etc as I was doing before.
Best,
Matt

Hello @matt-iakhno ,
You will want to call AdEvent.getAd() to access an instance of the Ad class to call these methods on.

Hi Jackson, that ended up working out great. Thank you for the support.


Fix Polymorphic.dump when used from Models, and make discriminators a…

… bit less touchy about strings vs symbols
Signed-off-by: Dane Jensen<EMAIL_ADDRESS>

Coverage decreased (-0.09%) to 93.289% when pulling 9dcb539d2ca0ef23c4887a63a5c0845d163a202a on careo:robust-polymorphic-discriminators into 65c7dcfb776b08ed7faa052e9ac1c3901cdd9b74 on rightscale:master.

Coverage decreased (-0.09%) to 93.289% when pulling 4a3523486e108a84e963b755047e10d314eb3406 on careo:robust-polymorphic-discriminators into 65c7dcfb776b08ed7faa052e9ac1c3901cdd9b74 on rightscale:master.

Coverage increased (+0.1%) to 93.487% when pulling 7249d99f93cb7f2330af9123c633476b9acac257 on careo:robust-polymorphic-discriminators into 65c7dcfb776b08ed7faa052e9ac1c3901cdd9b74 on rightscale:master.

LGTM


New documentation for Intel(R) SDC. Initial commit. No API reference yet

Hello @samaid! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file docs/source/pandas_info.py:

Line 24:1: E302 expected 2 blank lines, found 1
Line 40:1: E265 block comment should start with '# '
Line 41:1: E265 block comment should start with '# '
Line 50:1: W391 blank line at end of file

In the file docs/source/sdc2pd_name.py:

Line 127:21: E127 continuation line over-indented for visual indent
Line 129:21: E127 continuation line over-indented for visual indent
Line 154:84: E261 at least two spaces before inline comment
Line 158:22: W292 no newline at end of file


Add initial version of Manifest 1.5

Documentation for microsoft/winget-cli#3255
cc @denelon / @yao-msft
Microsoft Reviewers: Open in CodeFlow

There are still several references to 1.4. Do you want to do this as a draft while edits are made?

There are still several references to 1.4. Do you want to do this as a draft while edits are made?

Guess a bulk replace of 1.4.0 -> 1.5.0 wasn't enough. Should be fixed now

@denelon - should be fixed now


How to enable username login and how to check whether username avaliable or not?

Note: If your question is regarding the AWS Amplify Console service, please log it in the
AWS Amplify Console repository

Which Category is your question related to?
Amplify CLI Version
You can use amplify -v to check the amplify cli version on your system
What AWS Services are you utilizing?
Provide additional details e.g. code snippets. Be sure to remove any sensitive data.

Hey @AsitDixit :wave: you can use username as a login mechanism by selecting username when creating the auth resource with amplify add auth (https://docs.amplify.aws/cli/auth/overview/)
Can you clarify the second question? Are you looking to validate whether username was selected when you previously created an auth resource?

@josefaidt Yes I want to run query whether user name is available or not and that username you said is immutable basically I am asking about preferred_username

Hey @AsitDixit apologies for the delay here, are you looking to have unique preferred_username attributes? This approach may create an additional attack vector for your app. We can also leverage a pre-signup trigger that uses the AWS SDK to call Cognito and see if this preferred_username is available

https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CognitoIdentity.html
https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/Welcome.html

Hey @AsitDixit just wanted to follow-up on this one and see if you're still experiencing this issue?


PLANNER-2520 VRP quickstart cleanup

Follows up on #156.
CC @dupliaka.

JIRA
https://issues.redhat.com/browse/PLANNER-2520

Referenced pull requests

How about some rest tests?
https://github.com/yurloc/optaplanner-quickstarts/commit/5008846357b8283cb003c69e8cebb45c25144d89

The (build) optaplanner-quickstarts check has failed. Please check the logs.


Improving customizability and layout of widgets

Discussion in https://github.com/ioam/holoviews/issues/70 indicated that we should aim to improve the customizability of the widget layout. The original request by @basnijholt was:

Is it also possible to determine where the slider will come? In a presentation the 'scrubber' orients itself nicely under the plots, although I don't actually want the buttons and the 'widgets' are on the right of my plots which make the plots too small. Any easy solutions for this?

Comments:
philippjfr:

The whole widget Javascript/HTML code isn't brilliant and the layout isn't customizable yet. Unfortunately neither of us is particularly experienced with JS. Once the IPython/Jupyter widget system is more stable we may also decide to start using their widget API again. What IPython doesn't yet offer is static widgets so we'll have to maintain our version at least for now. I'm the only one who is familiar with the widget jinja templates and won't have any time to work on it in the near future. If you know anything about JavaScript I'm happy to take you through it and you could have a shot at improving the layout and/or making the position customizable.

jlstevens:

I agree with Philipp and I think our best approach is to see if anyone is succeeding in doing anything significantly better in this regard within the IPython Notebook. If they are, we should be able to adapt their code/approach for our purposes.
Unfortunately, neither Philipp or I are sufficiently well versed in Javascript right now to tackle a general approach for laying out the widgets right now - although I agree this would be a nice feature!

Summary:
In summary there is currently very little customizability of the layout of the widgets. We are committed to improving the widgets until we or someone else can come up with a way to integrate static widgets with the IPython widgets API, however neither of us currently has time to devote to Javascript development. We would however be happy to provide input and guidance if someone wants to submit a pull request for improvements.
Known issues:

Widgets on the right don't leave enough space for large figures.
Widget layout behaves differently in IPython 2 vs 3 due to an updated dependency from Bootstrap 2 to 3.
Both the Bootstrap 2 and 3 have issues when text label gets too long.

Possibilities to consider:

Implement Backbone.js based widgets indpendently from IPython
Implement embedding within IPython widgets system (also Backbone.js based)
Improve current widget layout

I'd like to vote for adding a "tight" option for the widgets.  E.g. if we take this example from https://github.com/ioam/holoviews/issues/882:

it just makes me feel bad to look at it, when it could look like this mockup:

I.e., an option that makes us pack each widget into a single line, shrinking whatever is necessary to make it fit with the label.  Sure, this won't always work, with long labels, and maybe shouldn't be the default, but clearly we don't always need to be using so much space that it dwarfs the actual plot!

I just want to add that we have a plan to improve the javascript code, with a general WidgetManager that is widget-agnostic (in terms of how it looks and library used), allowing multiple possible widget libraries to be used in Javascript.
If we ever get round to completing this planned refactor, you could (for instance) use the standard HTML widgets (i.e a HTML form) instead of JQueryUI. This would hopefully make it easier to implement fancier widgets and nicer layouts.

Sounds good. On a second look, I realize that I wasn't being ambitious enough.  It should really look like:

That would be usable.

@jbednar Nice mockup! And I agree that is what we should be aiming for.

Looks really nice! This will make it much easier for me.

Any update on this? I'd like to move the position of any sliders/dropdowns. I'm a new user to Holoviews and this is one of the first things I ran into.

@stsievert
This is still a feature we are very intent on implementing!
As it stands, we just need a chunk of time to implement it, ideally with some experienced JavaScript help. The other thing we will want to keep in mind is support for JupyterLab: if we get a chance to refactor our widget system to make it more extensible and flexible, we will want to make sure it will also work right with JupyterLab.

@philippjfr and I discussed our plans for widgets and arrived at the same design we consider years ago (see the wiki page though I haven't updated it yet).
The core idea is that streams are powerful and everything should be streams. Streams can update plots in response to events and what we are missing are independent widget components that can generate stream events in response to user interaction.
Widgets need to be JS objects (not templated) associated with any widgeting library (bokeh, datgui, JQueryUI, native HTML5 widgets) that have a consistent API to talk to a generic WidgetManager class (in JS) that handles the stream aspect. These JS widgets need to have methods to set state (e.g range and allowable values on slider widgets) as well as a way of registering callbacks to respond to user events when they occur.
HoloMaps would be a special case handled by the widget manager: from the perspective of the widget, it is sending a stream event and from the perspective of the plot it is receiving new data in response to a stream event. What is different is the bit in the middle: instead of talking to a live Python process, the WidgetManager just looks up the data associated with the requested key/stream value from the static HTML document and returns it, no communication with Python needed.
There is a lot more to this and this is just an outline to restart the discussion: the vision is to have composable, independent components that generate stream events (just like LinkedStreams do with bokeh) that appear as widgets to the user using whatever implementation/widget library you wish.

One more idea for the widget layout is it's position. I just got a case where I want my dropdown widget of holomap to be at the bottom - but it seems to be impossible right now...
Another way to look at this is being able to group widgets and then assign positions and order to a groups.
Just think how this would change the mockups above...
For example, I would put the sliders at the bottom, but checkboxes on the side (or vice versa).

Just trying to link up the widget related issues. I think #2178 and #673 are also related.


Fix keep a reference to each Slick instance

When you have multiple slider on the same page there no way to get access the instance for each of them
So storing an instance with the element fix this issue.
that works with this fix:
 $('.my-slick-slider-element').each(function() {
            var slick = $(this).data('slickInstance');
            slick.slickSetOption('arrows',false);
});

Isn't this already available at $(this).slick ?

Or this.slick rather

$(this).slick work only when you have only one slider, something weird appear with many.
I suppose the reference is overwritten and only the last is defined

http://jsfiddle.net/7nmgmf4p/1/

No, there is a bug
http://jsfiddle.net/7nmgmf4p/2/
see the last $('.slider.no-dots') throw:
TypeError: instances[1] is undefined

No, there actually is not. Your selector only selects the second slider, so it would live at instance[0] because their is only one product of the iteration, not two, like I had in my example.


add(scan): Implement SubscribeResults request for scan service

Motivation
We want to be able to subscribe to new scan results to stream to RPC clients.
Closes #8206.
PR Author Checklist
Check before marking the PR as ready for review:

[ ] Will the PR name make sense to users?
[ ] Does the PR have a priority label?
[ ] Have you added or updated tests?
[ ] Is the documentation up to date?

For significant changes:

[ ] Is there a summary in the CHANGELOG?
[ ] Can these changes be split into multiple PRs?

If a checkbox isn't relevant to the PR, mark it as done.
Solution

Updates process_messages() function to return a list of subscribed keys and their result senders
Adds a watch channel for sending subscribed_keys to scan_range() tasks
Checks if there's a result_sender for a key and sends it new results if there are any

Testing

Updates test vector for process_messages() to check that it processes SubscribeResults messages correctly
Adds a test for the ScanService to see that it sends the message correctly
Adds an acceptance test for checking that the results channel receives new relevant transactions

Review
Anyone can review.
Reviewer Checklist
Check before approving the PR:

[ ] Does the PR scope match the ticket?
[ ] Are there enough tests to make sure it works? Do the tests cover the PR motivation?
[ ] Are all the PR blockers dealt with?
PR blockers can be dealt with in new tickets or PRs.

And check the PR Author checklist is complete.
Follow Up Work

#8250
#8259

The acceptance test should pass now, it was blocking the async executor with a blocking .recv_timeout() call and there weren't any relevant transactions in the height range that was being scanned before the timeout.


⚠ Quirk Club Argentina (API endpoint) has degraded performance

In d1be956, Quirk Club Argentina (API endpoint) (https://us-central1-quirkclub-dev.cloudfunctions.net/api/check/api) experienced degraded performance:

HTTP code: 200
Response time: 7712 ms

Resolved: Quirk Club Argentina (API endpoint) performance has improved in f8460bd.


[Feact] :Add clear icon on search bar.

Do you want to have the enhancement of existing game ? 😀 Describe yourself..
Problem: Like if user search any game on search bar he/she have to use backspace for clear that.
Describe the solution you'd like
Solution steps:
If we add a clear button to clear the search bar it can enhance the quality of website.
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @theashikagupta , You can't have another issue before completing the previous one 😀
you already have the following 1 open issues 👀 ! :
#3347

Hey @theashikagupta ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇

Hey @theashikagupta !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @theashikagupta! 🙂
It seems like you are not following proper guidelines !! 👀
Read documentation properly !!🙏
If you have any queries reach out to us on Discord🕹 .


Increase shm_size in postgres container

We're having problems with temporary cache running out of space in production, see bihealth/sodar-server#1543.
As the initial solution, we should increase the shm_size parameter for postgres as described here.

Done.