feat(onboarding): update laptop script for 2024

Addresses https://app.shortcut.com/coprocure/story/21058/update-laptop-script-to-remove-installs-of-outdated-or-unnecessary-deps
A variety of changes to bring the script up to date with the newest
version of the upstream thoughtbot/laptop script. Notable changes:

Rename default branch from master to main
Fix handling of HOMEBREW_PREFIX for Apple Silicon & Intel Macs
Add Rosetta 2
Remove Heroku CLI (no longer used at Pavilion)
Upgrade nvm to 0.39.7
Upgrade node to 20
Fix Homebrew install of Postgres
Remove installation of applications using Homebrew

This last one is probably the most controversial. Basically I just think that installing zoom via Homebrew seems kinda cursed. But I'm willing to be outvoted (or maybe add these back in a comment).

We need to land this before Colin tries to run it tomorrow which will probably happen around 11 AM Pacific.


[4.2EE Redis] value or key having spaces makes error.

working ( even escaping double quote as value. not sure if this is expected behavior or not )
dbeaver> set say "Hello";
redis> get say
""Hello""

not working ( error popped up )
dbeaver> set say "Hello World";

Similar issues exist with key as well.

Will be fixed in EE 4.3.
And we'll make EE Early Access after 4.2.4 release.


Many properties only have rdfs:Literal range; could be more specific

I noticed e.g. in https://github.com/mobivoc/mobivoc/blob/master/ChargingPoints.ttl authored by @nfriesen that so far many properties have the range rdfs:Literal. Do we want this (say, to keep it simple for our domain experts who don't know the details of RDFS), or should we be more specific? If we want to be more specific, let's choose appropriate XML Schema datatypes, e.g. xsd:date or xsd:string.

Fixed in general refactoring as of v0.1.1


Ability to load pretrained model

Users should be able to load a previously trained model and run the tool using that.

Covered in #5


"weird" plot

IMO, this is "weird" plot that triggers imagination.
http://xray.readthedocs.org/en/stable/_images/2d_simple.png

and?

@hainm - What is weird about this plot?  Would you like to suggest a way that this plot could be improved?  Otherwise, I'm going to close this issue.

Hi
It seems that I am only one having dirty mind, so I am closing this.

I agreed with you @hainm!


Compile guard

The CLAW Fortran compiler is generating accelerator directive. The program might be wrong if the transformations are not applied. Therefore, it is useful to have a mechanism to make the compilation failed in such case.
For this, we introduce the CLAW compile guard.
This directive is defined with the target accelerator prefix and it is removed by the CLAW Fortran compiler to make the compilation succeed.
In case the CLAW Fortran compiler has not been applied, it will make the compilation with accelerator failed.
!$<accelerator language prefix> claw-guard
!$acc claw-guard
!$omp claw-guard

Implementation done. Will perform some test on real code before closing

Tested on radiation standalone successfully


Botmaster with socketio and watson-conversation-ware

I'm developing a chatbot using masterbot, socketio, watson-conversation. The problem is that I wasn't able to understand what I need to do to recive the watson-conversation welcome message before I begin to send messages. Now I just recive messages after send some text, what I need is recive the first message before send any messager. Is it possible to have it using botmaster? Recive a message before send any text.
I also open this question here: https://stackoverflow.com/questions/49220972/botmaster-with-socketio-and-watson-conversation-ware
Thank you.

Hi @guilhermeeuzebio - doubt you would get many response on stack-overflow. Based on what you've said, your issue doesn't seem to be a botmaster one. Watson-conversation needs to get some sort of a message in order to initiate a conversation. This means that when someone connects, you should programmatically send a message to Watson-conversation as if it were sent by the user. You can do that by detecting new connections using socket-io. As mentioned in the security section of the botmaster-socket.io readme, I expose the socket.io server via the ioServer field. SO in your example, socketioBot.ioServer would exist and be a valid socket.io server. You can simply add a listener on it for any new connections and send out messages when that happens. Something like this should do:
// a new socket connection was just made
SocketioBot.ioServer.on('connection', (socket) => {
  // we get the botmasterId for this connection as could be set by the client
  // as mentioned in the frontend. These ids are mapped to rooms in the socket.io
  // server. So we know that whenever a new of these ids appear, a new user
  // has actually just started a conversation. If you are using botmaster with redis,
  // you may want to check in your redis store at this point to confirm this.
  const botmasterId = SocketioBot.__getBotmasteruserId(socket)

  // if the id doesn't have its own room, send a message. Again, if storing
  // ids in redis for instance using botmaster-session-ware-redis-store, you
  // would just check inside your store straight away. and the id to check for
  // would be the botmasterUserId
  const socketIoRooms = SocketioBot.ioServer.sockets.adapter.rooms
  if (socketIoRooms.indexOf(botmasterId) === -1) {
    // message Watson Conversation somehow
  }
});

Haven't tested it. So not sure it will work. But the idea is there.
Hope that helped

Thank you very much.


BIP++1: First pass.

DO NOT USE YET outside testnets. Read readme.md.
I've only been studying bitcoin core code for a few days. Things I've noticed need looking at:
TODO:

Versionbit 27 tests
Larger CompactBlock support (larger indices). Adjusting bucket checking sizes etc...
3rd party review (not so sure about concurrency locks on new DeploymentActiveAfter/DeploymentActiveAt calls.
All comments I have placed on the PR commits answered.

Please assist me in making this patch more viable. Submit a PR to the BIP++1 branch.

https://github.com/bitcoin-pp/bitcoin/blob/5b2bfba2a23e2df4b53bb28f0569b04e6c0825be/src/blockencodings.cpp#L52
Non consensus code, immediately increase max size. Larger actual compact block sizes support will come soon.

https://github.com/bitcoin-pp/bitcoin/blob/5b2bfba2a23e2df4b53bb28f0569b04e6c0825be/src/coins.cpp#L282
This only affects AccessByTxid, used in DisconnectBlock and gettxproofs. Non-consensus.

https://github.com/bitcoin-pp/bitcoin/blob/5b2bfba2a23e2df4b53bb28f0569b04e6c0825be/src/merkleblock.cpp#L155
Non consensus code. Used by backup and txoutproof only.

MAX_STANDARD_TX_SIGOPS_COST
As mentioned previously, per TX limits aren't changing.

https://github.com/bitcoin-pp/bitcoin/blob/1bb179239d241073239b830f471ed505e76ef3fe/src/net.cpp#L2689
Network IO limit already adjusted before activation. Required when disconnecting blocks near activation. May need to change other constants such as MAX_UPLOAD_TIMEFRAME.

https://github.com/bitcoin-pp/bitcoin/blob/1bb179239d241073239b830f471ed505e76ef3fe/src/validation.cpp#L4394
Read disk buffer will become 1GB in-memory size. Mentioned in the readme. Non-concurrent from first look so would not blow out.


[IOTDB-3555] Show DataNodes tool

6531

 Quality gate: Failed
5 Issues

 5 Code issues

Details

 Quality gate: Failed
5 Issues

 5 Code issues

Details


ES module import fails with v1.5.0 (but works up to v1.4.0)

Describe the bug

$ yarn run vitest --run --reporter basic  --environment jsdom src/App.test.tsx
yarn run v1.22.21
warning ../../package.json: No license field
$ /home/user/projekte/bvo-portal-ui/node_modules/.bin/vitest --run --reporter basic --environment jsdom src/App.test.tsx
RUN  v1.5.0 /home/user/projekte/bvo-portal-ui
❯ src/App.test.tsx  (0 test)
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Suites 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
FAIL  src/App.test.tsx [ src/App.test.tsx ]
Error: Directory import '/home/user/projekte/bvo-portal-ui/node_modules/@mui/x-date-pickers/AdapterDateFns' is not >supported resolving ES modules imported from<EMAIL_ADDRESS>Did you mean to import @mui/x-date-pickers/node/AdapterDateFns/index.js?
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯>⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯>⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { url: 'file:///home/user/projekte/bvo-portal-ui/node_modules/@mui/x-date-pickers/AdapterDateFns', >code: 'ERR_UNSUPPORTED_DIR_IMPORT' }
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯>⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯>⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯

@mui/x-date-pickers is a peerDependency from @intentus/bvo-theme-react (a bundled ESM library).
Until vitest=v1.4.0 everything worked fine.
With v1.5.0 it crashes every time a test (or the production code from this test) uses an import of the @intentus/bvo-theme-react library.
Reproduction
Currently i don't know how to create an reproducer.
The (esm) module @intentus/bvo-theme-react  is not public available.
System Info
Debian/Bookworm

$ node --version
v20.5.1

Used Package Manager
yarn
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Facing a similar issue with react/testing-library.
SyntaxError: '*[role~="heading"],h1,h2,h3,h4,h5,h6' is not a valid selector
 ❯ emit node_modules/.pnpm/nwsapi@2.2.8/node_modules/nwsapi/src/nwsapi.js:557:17
 ❯ Object._querySelectorAll [as select] node_modules/.pnpm/nwsapi@2.2.8/node_modules/nwsapi/src/nwsapi.js:1501:9
 ❯ HTMLDivElementImpl.querySelectorAll node_modules/.pnpm/jsdom@22.1.0/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:78:26
 ❯ HTMLDivElement.querySelectorAll node_modules/.pnpm/jsdom@22.1.0/node_modules/jsdom/lib/jsdom/living/generated/Element.js:1119:58
 ❯ queryAllByRole node_modules/.pnpm/@testing-library+dom@9.3.4/node_modules/@testing-library/dom/dist/queries/role.js:121:31
 ❯ node_modules/.pnpm/@testing-library+dom@9.3.4/node_modules/@testing-library/dom/dist/query-helpers.js:74:17
 ❯ node_modules/.pnpm/@testing-library+dom@9.3.4/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
 ❯ node_modules/.pnpm/@testing-library+dom@9.3.4/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
 ❯ src/pages/accounts/verify/AccountVerifyPage.spec.tsx:303:43
    301|         expect(dialog).toBeVisible()
    302|
    303|         const alertTitle = within(dialog).getByRole('heading', {
       |                                           ^
    304|           name: /translated_error/i,
    305|         })

Same here. Cannot make a repro for the moment. But 1.5.0 is also broken on my side.

I don’t think this is it. I can import the dep using standard node:
node << EOF
(async() => console.log(await import("module")))()
EOF

do work.

But the problem could be related to the provided patch though. I do have both "type": "module" and esm/ in my path. So before the patch, my codebase returned false and now it returns true. But it seems it is breaking things to do so later on.

This could be relevant if your dependency uses a path like dist/esm/index.js.

When upgrading from 1.4.0 to 1.5.0, an error related to CommonJS modules appears. #5555 (comment)

I see it as a packaging issue since NodeJs cannot probably import such deps either. So, the workaround is to use server.deps.inline as suggested in the comment above.

thanks, that looks exactly like the cause of my problem.
And the suggested workaround
		server: { 			deps: { 				inline:["@intentus/bvo-theme-react"] 			}, 		},
in my vite.config.ts works.
Now i'm trying to understand what is wrong with our library ;)


Uncaught TypeError: Cannot read property '_canvas' of null

SURFACE._canvas.width = canvas.clientWidth;

I am making a game using voxel-engine and am using gamejs for keyboard/mouse events at the moment. I get this error from the above line and also a part of the screen is a white rectangle.

My source code is posted in this gist.

i don't see the SURFACE line in the gist. I wonder why you are using the hidden/private property _canvas and not display.setMode()? http://docs.gamejs.org/gamejs/display/

My bad, the error is a part of the bundle.js not index.js I'll add that in a moment.
The reason I am confused as to what to do is that I am not using gamejs for the display, I am using voxel-engine to render, I only want to use the sound/controls from gamejs... Not sure how to proceed

ok added the file to the gist

Is there any way to disable the display properties of gamejs? I basically don't want it to do anything with the display

<canvas id="gjs-canvas" tabindex="1" style="display: block;"></canvas>

that's the line that creates the white canvas, now just need to figure out how to stop it from being created

Fixed!

/**
 * Create the master Canvas plane.
 * @ignore
 */
exports.init = function() {
   // create canvas element if not yet present
   var canvas = getCanvas();
   if (!canvas.getAttribute('tabindex')) {
      // to be focusable, tabindex must be set
      canvas.setAttribute("tabindex", 1);
      canvas.focus();
   }
   // remove loader if any;
   var $loader = document.getElementById(LOADER_ID);
   if ($loader) {
      $loader.style.display = "none";
   }
   var $displaySurface = document.getElementById(CANVAS_ID);
   if ($displaySurface) {
      $displaySurface.style.display = 'block';
   }
   // hook into resize
   window.addEventListener("resize", onResize, false);
   return;
};

That is what creates the canvas

Can you please add an option to enable/disable display so that I don't have to comment it out manually. Thanks!


Small fixes

Very small stuff.
Properly closes email communications.
Adds option to specify a port from CLI, in case port 53 (for the DNS) is already occupied.

Please check if the two newest commits solve the issues for you.

All issues have been adressed. Closing this.


Library Documentation and Numbers as non text

I have two questions:

Is there a documentation for the library available for any parameters that can be set?

Is there the possibility to get  numbers as number and not as text:
User says "100" the recognizer outputs "one hundred"
I want to get the 100 as output without writing a mapping function.

Re #1, I know "better documentation" is on the TODO list. But I will tell you how I usually figure it out:

https://github.com/ccoreilly/vosk-browser/blob/master/src/bindings.cc - shows the methods on Recognizer that can be called.
https://github.com/alphacep/vosk-api/blob/7012103b3bc7a3da67faf9eb452991e60fcd8af7/src/recognizer.cc - shows the implementation of each method of the Recognizer class.

That is still quite convoluted, and kinda asks a JS dev to know C++. One of these days, I would like to get a build of vosk-browser working and see if I contribute docs or something else like that to the project.
Re #2, no comment other than that I like the idea.
IANAMaintainer

Ok thanks. I will try to use your method.
So your planning to add a parameter for "just recognizing" numbers ?
Because currently I need to map it from text to numbers.
Or do you have another idea ?

To be clear, I'm not the maintainer. Just another user like you.
But it occurs to me that converting number text to numbers is possible,
useful to me as well as you, and might be a worthy PR for vosk-web or some
other open source add on.
It amounts to a function that takes text as input, parses cleverly
according to language-specific rulesets, and replaces text with numbers.
On Fri, Jan 19, 2024, 12:41 PM DanielUsselmann @.***>
wrote:

Ok thanks. I will try to use your method.
So your planning to add a parameter for "just recognizing" numbers ?
Because currently I need to map it from text to numbers.
Or do you have another idea ?
—
Reply to this email directly, view it on GitHub
https://github.com/ccoreilly/vosk-browser/issues/79#issuecomment-1901083688,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACB3GHTENYAJ5VGEIQONB4TYPLK6VAVCNFSM6AAAAABB7FJLXKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBRGA4DGNRYHA
.
You are receiving this because you commented.Message ID:
@.***>

Okay understand.
I am currently developing this "Converter" by myself, but of course not for every language..


feature req: SQL codecs need to inject or parse trace headers from comments

Having the ability to trace database calls is very useful. Imagine the following example flow:
app---(sql query)-->sidecar--->DB
if app sends SQL queries with the trace headers as SQL comments, then the sidecar can emit client-side trace spans, recording the DB call durations. [The more industrious lot can parse DB query logs to extract trace headers and emit server side spans?]
if app doesn't send the trace headers as comments, the sidecar can still inject them (it will be a broken trace, but a trace nevertheless).
I am not sure if mongodb supports comments - the same can be done for mongo as well.

cc @cpakulski


Argument 2 passed to Zend\InputFilter\BaseInputFilter::validateInputs() must be of the type array, object given

This issue was introduced between version 2.5.1 and 2.5.3, i've switched back and forth between the two versions and I keep getting this error with 2.5.3 but not with 2.5.1
this happens when i try to validate a simple post data
Catchable fatal error: Argument 2 passed to Zend\InputFilter\BaseInputFilter::validateInputs() must be of the type array, object given, called in C:\crazylister\vendor\zendframework\zend-inputfilter\src\BaseInputFilter.php on line 221 and defined in C:\crazylister\vendor\zendframework\zend-inputfilter\src\BaseInputFilter.php on line 232

It was introduced with 2.5.2, via 3575ece fixing #7.
$this->data is guaranteed to be iterable, but may, as you note, not be an actual array. As such, there are two paths forward:

Remove the array typehint from the $data argument.
Cast the $data argument to an array via iterator_to_array() prior to calling validateInputs().

I think the first would be simpler, and will get a patch out today, likely with an updated 2.5 tag immediately, and an LTS release early next week.

I've labelled as "BC Break" to indicate that the bug is drawing attention to an existing BC Break. The patch that I've now attached to this issue fixes it.

Will release with versions 2.4.7 (LTS compatibility) and 2.5.4 (5.5+ compat).


SMP: can't create Decorations / Merchants smithing items

I am matching the arrows and the final recipe and the item is not created.
e.g., Zinc Flan, Lantern Core
Are the arrow values are off between the server and the client?

This is a known issue for the lanterns. I'll look at their code again, but as the decorations dev is no longer active I doubt this will be fixed.

Could always fork it: https://github.com/Aleksey-Terzi/DecorationsTFC

Already have a fork. The dev has done some odd thing that result in it not building properly in my dev environment. This is why I fixed the texture issues via our tweaks mod.


New maintainer?

@stipsan
The repository doesn't seem to be evolving - the last commit is dated a year ago. I'm willing to offer my help, but would like to know - are you open to change?

woofers мade a great package: https://github.com/woofers/react-sheet-slide


is it possibe to enter Dynamic property names by user

i want to keep df-{dynamic property name  } entered by user

Hi @gunasekharravilla
You can use this method to pass new variables to the module.
updateNodeDataFromId view https://github.com/jerosoler/Drawflow#methods
Which will also have to update the module's html.  View for update new html: https://github.com/jerosoler/Drawflow/issues/40
Although it is a bad idea to leave the user, since the user can put blank characters, accents, strange characters ...

not leaving completely by clicking add button  new row will be displayed then they will type what is the property name and value

Then you will have to use the commented function. updateNodeDataFromId

sample html code for 1 row please🙏

The example is very simple. In this case it only works with node ID 1
View a simple example:
<!DOCTYPE html>

    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link
      rel="stylesheet"
      href="https://cdn.jsdelivr.net/gh/jerosoler/Drawflow/dist/drawflow.min.css"
    />

        <button onclick="exportdf()">Export</button>

thank you so much
But i am trying to keep  df-name as dynamic which is entered by users for few rows in <input type="text" df-name>

Change 'name' for your variable

actually my query was when a user click plus button new row have to display  with two text inputs one is property and value
both should be exported to json { property : value }

The example is very simple. In this case it only works with node ID 1
View a simple example:
<!DOCTYPE html>

    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link
      rel="stylesheet"
      href="https://cdn.jsdelivr.net/gh/jerosoler/Drawflow/dist/drawflow.min.css"
    />

        <button onclick="exportdf()">Export</button>

How to do this for selected nodes

Use events nodeSelected and nodeUnselected to get id of node selected.
Or
const nodeId = editor.node_selected;

actually my query was when a user click plus button new row have to display with two text inputs one is property and value
both should be exported to json { property : value }

Any solution to export user edited property name


Install crontabs as regular files

Currently the crontabs, as specified in .pkgr.yml with cron:, are installed using the after install script by copying them to the correct location. Wouldn't it be better if they were installed like the rest of the files? That would allow the built package to "track" the files, for those packaging systems that support it. For example, rpm -V <package>.rpm for RPMs.

Yes indeed, happy to take a PR if you can make one?

Yeah, I'll see if I can find the time to do that.


Wrong From Adress

Part 2 of #36
Resolving host smtp.mailbox.org . . . done.
Connecting to <IP_ADDRESS>:465 . . . connected.
Comparing DNS name: "*.mailbox.org"
220 smtp1.mailbox.org ESMTP Postfix
>>> HELO backup.example.com
250 smtp1.mailbox.org
>>> MAIL<EMAIL_ADDRESS>250 2.1.0 Ok
>>> RCPT<EMAIL_ADDRESS>554 5.7.1 <unknown[$IP]:5787>: Client host rejected: Access denied
smtp-server: 554 5.7.1 <unknown[$IP]:5787>: Client host rejected: Access denied
"/root/dead.letter" 11/392
. . . message not sent.
mail sending failed

Hello again,
My env file has "from" adress. And it works when i use it manually. But somehow with container i get above error which is app uses my docker hostname.
My Docker hostname: backup.example.com
My Env file from adress<EMAIL_ADDRESS>App doesnt use env file from adress, somehow overwrites with hostname<EMAIL_ADDRESS>So access is denied by smtp server. But everything works when i send email manually like at my #36 post.
Any idea why?

hey @Yanik39 ,
I'm sorry to hear that you are still having trouble with sending emails. The previous error "send-mail: applet not found" has been fixed.
I checked the from and sender sections of the mailx documentation. mailx looks like it sets the from field to machine's hostname, try changing your docker container hostname to make sure it is not valid at the Internet. Or see if the sender field solves the problem.


Error in Cool-Chic v3.0: pyo3_runtime.PanicException: Invalid model parameter: scale must be positive.

Firstly, I want to use Cool-Chic v3.0 to compress videos. I use the UVG-Beauty-1080p video to test it, just like
python src/encode.py                                \
    --input=~/data/UVG/Beauty_1920x1080_120fps_420_8bit_YUV.yuv \
    --output=samples/bitstream.bin                  \
    --workdir=./my_temporary_workdir/               \
    --lmbda=0.0002                                  \
    --start_lr=1e-2                                 \
    --layers_synthesis=40-1-linear-relu,3-1-linear-relu,X-3-residual-relu,X-3-residual-none \
    --upsampling_kernel_size=8                      \
    --layers_arm=24,24                              \
    --n_ctx_rowcol=3                                \
    --n_ft_per_res=1,1,1,1,1,1,1                    \
    --n_itr=1000                                    \
    --n_train_loops=1

After running the program for a period of time, the following error will occur.
Loading a video encoder from ./my_temporary_workdir//video_encoder.pt
/home/wsl/vc/Cool-Chic/src/models/video_encoder.py:422: FutureWarning: You are using torch.load with weights_only=False (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for weights_only will be flipped to True. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via torch.serialization.add_safe_globals. We recommend you start setting weights_only=True for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
raw_data = torch.load(load_path, map_location='cpu')
/home/wsl/vc/Cool-Chic/src/models/frame_encoder.py:1373: FutureWarning: You are using torch.load with weights_only=False (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for weights_only will be flipped to True. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via torch.serialization.add_safe_globals. We recommend you start setting weights_only=True for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
loaded_data = torch.load(raw_bytes, map_location='cpu')
Encoding to samples/bitstream.bin
thread '' panicked at src/pybindings/stream/model.rs:547:5:
Invalid model parameter: scale must be positive.
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Traceback (most recent call last):
File "/home/wsl/vc/Cool-Chic/src/encode.py", line 203, in
encode_video(video_encoder, args.output)
File "/home/wsl/vc/Cool-Chic/src/bitstream/encode.py", line 137, in encode_video
encode_frame(video_encoder, frame_encoder, frame_bitstream_path)
File "/home/wsl/miniconda3/envs/newest/lib/python3.12/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/wsl/vc/Cool-Chic/src/bitstream/encode.py", line 379, in encode_frame
range_coder_latent.encode(
File "/home/wsl/vc/Cool-Chic/src/bitstream/range_coder.py", line 88, in encode
encoder.encode(x, self.model_family, mu, scale)
pyo3_runtime.PanicException: Invalid model parameter: scale must be positive.

Hi,
Just a few questions to better understand your issue.

Could you indicate the hash of the specific commit you're using? You mentioned Cool-chic 3.0 and video, but we introduced video in Cool-chic 3.1.

Are you using the proposed requirements.txt or a custom made environment? If so, what's your python and pytorch version?

Hello, thank you!

Could you indicate the hash of the specific commit you're using? You mentioned Cool-chic 3.0 and video, but we introduced video in Cool-chic 3.1.

8f3d29766c308da01f70b66163d7e657182ab640
I test the paper 'C3: High-performance and low-complexity neural compression from a single image or video', which seems to correspond to Cool-Chic v3.0. And there seems to be a related introduction in the README.

Are you using the proposed requirements.txt or a custom made environment? If so, what's your python and pytorch version?

Not using the proposed requirements.txt.
My version:

Python 3.12.4

PyTorch 2.4.0

torchvision 0.19.0

constriction 0.3.5

einops 0.8.0

fvcore 0.1.5.post20221221

Thanks for the additional info on your issue. I do not have (yet) a definitive answer to it but here, but here are a few things that you can try out.
Cool-chic version
Cool-chic is pretty much identical to C3 for image compression. If you want to do image compression, you should use the latest release on the master branch (v3.3) which only offers image compression, with performance slightly above C3 and a fast CPU-only decoder. Use that if you want to do image compression.
If you are interested in video compression, note that Cool-chic differs vastly from C3 for video coding. If you want to try out Cool-chic for video compression, you should go back to the version v3.1.
scale must be positive error
This is an issue related to the entropy coding, i.e. the actual writing of a binary file. This is performed by the constriction package and I've already noticed that using too recent versions of this package can lead to issues. You should try using the recommended version (0.3.0) instead of the most recent one (0.3.5).
If you're doing image compression only, you can use the latest Cool-chic release which no longer relies on the constriction package for the entropy coding.
As a last resort, perhaps you don't need to write a bitstream and you can just look at the results_best.tsv generated, which would give an accurate estimate of the compression performance without writing an actual binary file.
Hope this helps! :)

Thank you very much! I will seriously consider your opinion.


tbp broken

could you check tbp api? it doesnt work anymore. 1337x etc. works fine.
reproduce with https://torrent-api-py-nx0x.onrender.com/api/v1/search?site=piratebay&query=avengers
thank you.

ah this was fixed in 2a0787d. thank you


Need updated/improved requirements to include Teams workloads

Since WVD supports Teams with the websocket client for A/V redirection and WVD pooled desktops is considered non-persistent, we need better guidance on number of users per vCPU for Teams workload.  From my own testing and from customer feedback, it appears you need 1-2 vCPU per user and 500MB to 1GB of memory to run Teams on a W10 multi-session VM when in a meeting with A/V going.

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

ID: 17880b9d-6b98-3194-cc33-fe8067ce241e
Version Independent ID: 643bcf2f-507b-e449-73db-923d8a368ad9
Content: Teams for Virtualized Desktop Infrastructure - Microsoft Teams
Content Source: Teams/teams-for-vdi.md
Service: msteams
GitHub Login: @LanaChin
Microsoft Alias: v-lanac

@pnwnightowl Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@pnwnightowl thank you for reaching out. I will have to ask the team about this, but in the meantime let me know if this article helps at all - https://docs.microsoft.com/windows-server/remote/remote-desktop-services/virtual-machine-recs

@pnwnightowl Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Error from place_pins command

Describe the bug
OpenROAD segfaults from place_pins command.
place_pins -random -hor_layers {met3} -ver_layers {met2 met4}
(with or without -random argument)
Expected Behavior
In my previous install version of OpenROAD (~Jan 2022), this error never occurred and pins were placed normally.
Environment
git commit: unknown, this is not a git repository.
(Please make sure that you have the latest code changes and add the commit hash in the description)
kernel: Linux 3.10.0-1160.80.1.el7.x86_64
os: Red Hat Enterprise Linux Server 7.9 (Maipo)
cmake version 3.22.1
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
clang version 15.0.6 (https://github.com/conda-forge/clangdev-feedstock b6cf7124da893bcb57ab1f38c768ea825fabbdb1)

**NOTE: this OpenROAD install is located on a server where I don't have sudo permissions, so the git version may not have been located due to this
Running 'git log' returns:
commit 5144431cb9ad3a71208cf0a810a0674cfeced15b
Merge: f86efab 23abb26
Author: Peter<EMAIL_ADDRESS>Date:   Fri Oct 28 10:56:28 2022 -0400

    Merge pull request #2430 from The-OpenROAD-Project-staging/pdn-clang

    pdn: clang format

To Reproduce
ChipTop_Linux-3.10.0-1160.80.1.el7.x86_64-x86_64-with-redhat-7.9-Maipo_2022-12-16_10-26.tar.gz
tar -xvf ChipTop_Linux-3.10.0-1160.80.1.el7.x86_64-x86_64-with-redhat-7.9-Maipo_2022-12-16_10-26.tar.gz
cd ChipTop_Linux-3.10.0-1160.80.1.el7.x86_64-x86_64-with-redhat-7.9-Maipo_2022-12-16_10-26
./runme.sh

Relevant log output
place_pins  -hor_layers {met3} -ver_layers {met2 met4}
Found 3 macro blocks.
Using 1u default distance from corners.
Using 2 tracks default min distance between IO pins.
/opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:932: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = int; _Alloc = std::allocator<int>; std::vector<_Tp, _Alloc>::reference = int&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed.
Signal 6 received
Stack trace:
 0# 0x0000000000C9D887 in openroad
 1# 0x00007F5ABE03B400 in /lib64/libc.so.6
 2# gsignal in /lib64/libc.so.6
 3# abort in /lib64/libc.so.6
 4# boost::stacktrace::detail::this_thread_frames::collect(void const**, unsigned long, unsigned long) in openroad
 5# 0x0000000000D44B8D in openroad
 6# ppl::IOPlacer::findSlots(std::set<int, std::less<int>, std::allocator<int> > const&, ppl::Edge) in openroad
 7# ppl::IOPlacer::defineSlots() in openroad
 8# ppl::IOPlacer::run(bool) in openroad
 9# 0x0000000000DFCDFD in openroad
10# 0x00007F5AC0D87EB2 in /lib64/libtcl8.5.so
11# 0x00007F5AC0DCC390 in /lib64/libtcl8.5.so
12# TclObjInterpProcCore in /lib64/libtcl8.5.so
13# 0x00007F5AC0D87EB2 in /lib64/libtcl8.5.so
14# 0x00007F5AC0DCC390 in /lib64/libtcl8.5.so
15# 0x00007F5AC0DD46E7 in /lib64/libtcl8.5.so
16# TclEvalObjEx in /lib64/libtcl8.5.so
17# 0x00007F5AC0E0F31F in /lib64/libtcl8.5.so
18# 0x00007F5AC0D87EB2 in /lib64/libtcl8.5.so
19# 0x00007F5AC0DCC390 in /lib64/libtcl8.5.so
20# 0x00007F5AC0DD46E7 in /lib64/libtcl8.5.so
21# TclEvalObjEx in /lib64/libtcl8.5.so
22# 0x00007F5AC0D8F1D0 in /lib64/libtcl8.5.so
23# 0x00007F5AC0D87EB2 in /lib64/libtcl8.5.so
24# 0x00007F5AC0DCC390 in /lib64/libtcl8.5.so
25# 0x00007F5AC0DD46E7 in /lib64/libtcl8.5.so
26# TclEvalObjEx in /lib64/libtcl8.5.so
27# 0x00007F5AC0D92F00 in /lib64/libtcl8.5.so
28# 0x00007F5AC0D87EB2 in /lib64/libtcl8.5.so
29# 0x00007F5AC0DCC390 in /lib64/libtcl8.5.so
30# TclObjInterpProcCore in /lib64/libtcl8.5.so
31# 0x00007F5AC0D87EB2 in /lib64/libtcl8.5.so
32# 0x00007F5AC0DCC390 in /lib64/libtcl8.5.so
33# TclObjInterpProcCore in /lib64/libtcl8.5.so
34# 0x00007F5AC0D87EB2 in /lib64/libtcl8.5.so
35# 0x00007F5AC0D88F1E in /lib64/libtcl8.5.so
36# Tcl_EvalEx in /lib64/libtcl8.5.so
37# Tcl_Eval in /lib64/libtcl8.5.so
38# sta::sourceTclFile(char const*, bool, bool, Tcl_Interp*) in openroad
39# ord::tclAppInit(Tcl_Interp*) in openroad
40# Tcl_Main in /lib64/libtcl8.5.so
41# main in openroad
42# __libc_start_main in /lib64/libc.so.6
43# 0x0000000000C98BC7 in openroad

Screenshots
No response
Additional Context
No response

@eder-matheus there appears to be an assumption that there will be an equal number of layers for H & V pins in IOPlacer::findSlots.  This case breaks that assumption.

@nayiri-k in your earlier run did you use the same layer specification?  It doesn't seem like a new issue.

@nayiri-k Could you try this branch: https://github.com/eder-matheus/OpenROAD/tree/ppl_fix_slots?


typo: clicke -> click

@nschonni : Thanks for your contribution! The author, @minewiskan, has been notified to review your proposed change.

We're reviewing this pull request.

@nschonni - Thank you for your submission. We are not able to accept spacing and formatting changes in the repo at this time. Could you resubmit the typo fix only in a new pull request?

I won't be resubmitting, feel free to fix internally


How do you short-circuit route with empty required $stateParams?

I have two routes:

root: "/"
dogs: "dogs?name"

If the user navigates to /dogs?name= then I want to show an error on the screen and re-route to root. Because, in this contrived example, searching with an empty name could take 10 minutes to process on the back-end.
But that's not all.
This redirection should short-circuit anything else that would normally resolve in the route.
See the plunker: http://goo.gl/Q4AQG3
Fullscreen: http://goo.gl/dN02yD
In routes.js, line 13 ($state.transitionTo("root");) should be the last thing that happens. Otherwise, the resolution of dogs makes an invalid attempt to retrieve dogs by name.
So. Is this a clear example? Is there a way to short-circuit the dogs route?
Thank you,
Beez

https://gist.github.com/eddiemonge/f6a58169c2846731a1eb


I'm Missing something obvious

Hi
My code is below, all is ok but not tags are showing and they are never saved. Using the latest version 2.5.6
Edit function works well.

Any advice pointers would be appreciated. thanks!
        var anno = Annotorious.init({
            image: 'ima',
            locale: 'auto',
            widgets: [
                { widget: 'COMMENT' },
                { widget: 'TAG', vocabulary: ['Colour', 'Font', 'Size', 'Image'] }
            ]
        });

How are you saving (and loading) the tags? When you create a new tag in the interface, is it shown? Have you tried logging the annotation that's coming with the createAnnotation event? It should have a body for each tag with purpose tagging.

If everything else works, this might also be a regression bug related to the introduction of semantic tagging vocab support... You could try switching back to V2.5.4 and see if that changes anything.

Thanks i'll go and look at the console logs plus try a roll back to 2.5.4  I'm actually saving the annotations in our database and retrieving them on image load. No Tag data is appearing anywhere i can see. All working quite well. just a few niggles.

anno.on('createAnnotation', function (a) {
console.log('created', a);
Image attached from console log. No Tag info i can see. I'm capturing this before i'm saving to database. Many Thanks for any guidance. Roll back did not change anything.

removed locate: auto - no change.
Image of page when i click and drag to draw box- no tags appear at all.

That BTW also match your error characteristic, because the way the widgets (and tag vocab) are initialized had changed since back then.

Interesting, i'm downloading from here and putting in same directory as page. Think it should work ok?

Nope, something must be going in on in your HTML page, about the way you are importing the script file. I just tested the .js and .css file from the release package & that works as it should. (Tested in Chrome + FF.)

thanks will look

Hi, sorry for delay, when I copy my files to the server it works great as expected, something very odd with my machine. As you say must be finding old file somewhere. i'll do a search. thanks, for your help.


Add UATP support

Added in the UATP card

Thanks for contributing. In the future, please:

Don’t update JS file directly. The plugin is written in CoffeeScript, so the CS file should be edited, compiled, and then both CS and JS committed.
Read notes on contributing especially the part about branching.

Support for UATP will be added in version 1.1.


Table component accessibility - sort button issue - (AVT 3)

JAWS only reads the sort order when the user first focuses on the sort button for a column.
So once the user executes the sort, JAWS does not read the new sort order.

Is this a feature request (new component, new icon), a bug, or a general issue?

bug

Is this issue related to a specific component?

Table component

What did you expect to happen? What happened instead? What would you like to see changed?

JAWS should read out the sort order which will be applied when the user executes the sort, and once executed, JAWS should read the new sort order.

What browser are you working in?

Firefox 63.0.3 (64-bit)

What version of the Carbon Design System are you using?

"carbon-components": "9.53.2",
"carbon-components-angular": "2.0.8",

What offering/product do you work on? Any pressing ship or release dates we should be aware of?

IWR

So it seems like we're updating the aria-label and alt appropriately ... we may be able to do something with aria-live to work around it, but outside of that I don't see an issue with our markup.


AU Central Link is broken

>To request whitelisting, go to: https://www.microsoft.com/en-au/central-regions-eligibility/
That link doesn't work.

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

ID: 0d150ace-bd6d-8111-79b5-0ce7cb76a378
Version Independent ID: 13a828ae-ae92-9ea7-5f37-5a69eeeb87b7
Content: Azure Shared Image Gallery
Content Source: articles/virtual-machines/windows/shared-image-galleries.md
Service: virtual-machines-windows
GitHub Login: @axayjo
Microsoft Alias: akjosh

@colemickens  Thanks for your feedback! We will investigate and update as appropriate.

@colemickens I reached out to the internal teams.
I will update here once i have some information

@axayjo Please replace the correct url.

@colemickens I have submitted a PR to address this issue. Once the PR merges the changes will go live after a few hours.


pair.sharing.io alternative POC using coder.com + VSCode

What if your CNCF project could click to create a working ingress *.GITHUBUSER.PROJECT.cncf.io on a live Kubernetes cluster where your your project comes up fully deployed, and a shared editor on the web to quickly demonstrate ideas and co-create PRs?
It would help us mentor, onboard, and help create more contributors globally, even if they don't have local computers or infrastructure to develop locally.
This issue is to track a Proof Of Concept migrating some core principles @ii has learn creating pair.sharing.io to coder.com workspaces hosted on CNCF infrastructure.

[ ] See if coder.com can be ported to use ClusterAPI to bring up workspaces quickly (vcluster/kubevirt)
[ ] See if https://github.com/sharingio/environment can be deployed within the workspace + connected to VSCode
[ ] Port over prioritised list of features from pair.sharing.io to this PoC (tbd)

hi @hh I would like to contribute to this project, please let me know how can I connect with you & team to learn more about project and to get started .

Hi @hh. I would like to contribute to this project. I am currently using kubernetes to manage the deployment of over fifteen services at my place of work. I have also worked hand in hand to troubleshoot some deployment issues, while migrating services from an old cluster to a new cluster. All of theses exposed me to various facets of kubernetes technology. I have also worked on s number of projects as a software developer. I look forward to applying my skills to solve this problem

Please could someone explain to me what is mean't by POC?

Please could someone explain to me what is mean't by POC?

Please could someone explain to me what is mean't by POC?

PoC = Proof of Concept

#pair-sharing-io on the CNCF slack is one way to connect.

Please I would like to understand what new solution our pairing workspace would offer when compared to coder.com

@hh, This idea is fantastic, I submitted my application.
I hope to get selected so we can turn such a wonderful idea into reality:)

The applications close this week, I'll be reviewing them next week. Good luck!

Hi @hh,
Is the LFX Mentee selected?

Our Mentee for this cohort is @sbdtu5498.
/assign @sbdtu5498

@sbdtu5498 I'd like you update our fork of coder https://github.com/sharingio/coder and add:

A .sharingio/init file that starts up tilt / a working ingress
Tiltfile

Roger

/assign

@zachmandeville can you also take a look? @BobyMCbobs said he thinks a Tiltfile / Helmchart are too much for now and that uses the exporter : https://github.com/sharingio/pair/blob/master/org/features.org#automatic-exposing-of-services-inside-of-environment
/assign @zachmandeville

Hey all :wave: (maintainer of coder/coder here). Let me know if you encounter any issues - I'm happy to noodle on product ideas or fix bugs as you find em'!

Thanks a lot for the kind gesture @kylecarbs. I am Sanskar Bhushan, the main mentee of the project working with brilliant folks from ii.coop including @hh, @zachmandeville, @Riaankl, and @BobyMCbobs. If required I would ask the doubts on Coder Slack.

Putting together a bit more of a project roadmap here: https://hackmd.io/MYsKUFclTCyU57UU-zKlVQ?view


ReflectionException - Property pocketmine\network\mcpe\convert\BlockStateDictionary::$stateDataToStateIdLookupCache does not exist

Description
When running the server with the Customies-NG-pm5 plugin, a ReflectionException occurs, causing the server to crash. The error message states that the property pocketmine\network\mcpe\convert\BlockStateDictionary::$stateDataToStateIdLookupCache does not exist.
Steps to Reproduce
Set up a server with the NG-PM and Customies-NG-pm5 plugin and add a custom Block.
Start the server.
Observe the server crashing with a ReflectionException.
Expected Behavior
The server should start without any issues, and the Customies-NG-pm5 plugin should function properly.
Actual Behavior
The server crashes with a ReflectionException related to the pocketmine\network\mcpe\convert\BlockStateDictionary::$stateDataToStateIdLookupCache property.
StackTrace

plugins/Customies-NG-pm5/src/block/BlockPalette(47): ReflectionProperty->__construct(object pocketmine\network\mcpe\convert\BlockStateDictionary#141371, string[29] stateDataToStateIdLookupCache)
pmsrc/src/utils/SingletonTrait(31): customiesdevs\customies\block\BlockPalette->__construct()
pmsrc/src/utils/SingletonTrait(36): customiesdevs\customies\block\BlockPalette::make()
plugins/Customies-NG-pm5/src/block/CustomiesBlockFactory(156): customiesdevs\customies\block\BlockPalette::getInstance()
plugins/UniqueItems/src/radovinetch/block/CustomBlock(22): customiesdevs\customies\block\CustomiesBlockFactory->registerBlock(object Closure#57278, string[24] servername:block_exemple, object customiesdevs\customies\block\Model#57273, object customiesdevs\customies\item\CreativeInventoryInfo#57276)

Thanks, I forgot to commit the changes I made to fix this
I'll push it while I'm on my laptop

Please try to run with PM-NG. I am getting a lot of errors.

Can you send it? I don't get any error

The errors disappeared when I installed the older PHP binaries as you wrote.


Fix export of planet journald logs

Now, when the debug report is generated, depending on the options the host systemd was built with, the journalctl tool might not be compatible with the journal format used inside the planet container resulting in its inability to work with planet's journald logs.
To fix this, export planet journald logs by chrooting into planet package rootfs and using the compatible binary.
Tested on all supported distributions: ubuntu:16, redhat:7.5, centos:7.5, debian:9, suse:12
Fixes https://github.com/gravitational/gravity.e/issues/2994.

@knisbet If the mount is left unmounted, it will be mounted (as already existing) on the next run.
But, in case the collector does not run, and then the gravity cluster is removed, then it will not be able to remove the rootfs directory.
Even with the signal handler, the mount might be left behind (i.e. in the unlikely case of an unexpected system shutdown or something similar). I guess for this to be 100% working, the clean up code needs to remove any lingering mounts.

@knisbet I've addressed your comment w.r.t signal handling - it should be good now with interrupting the operation half-way.


Add cn-from-x509-certificate function

This PR adds a simple wrapper around .getSubjectX500Principal and the existing get-cn-from-x500-principal functions.

:+1: LGTM

:+1: other than the 512 keypair comment

@nathanielksmith I'm going to merge this in and we'll put up a follow-up PR with the keypair sizes.


Test Issue created at Tue, 18 May 2021 13:20:59 GMT

Test issue body  Tue, 18 May 2021 13:20:59 GMT

Comment on issue at Tue, 18 May 2021 13:21:02 GMT


#191 refactor example imports

https://github.com/openshift/osin/issues/191
Updated imports to use non-archived lib, github.com/openshift/osin.

/lgtm
sorry for taking so much time, the openshift people were a bit occupied for the past 3/4 of the year

/approve

/approve

/approve
Lets try it for real this time

/lgtm cancel
there was a small typo in example/osincliclient/osincliclient.go that would cause the import to break compilation, this is fixed in #200

/close


The basicMaterial component doesn't have a color property

The basicMaterial component only allows you to set a texture, but it doesn't allow you to set a color.  Older versions of the SDK did have this. The Material component does have a color property to set, that uses a Color3 value.
In an example scene, I want to have a red progress bar appear over a character, and I do that with a plane that stretches. I want that plane to have a basic material, because I want that red to be always red, regardless of the lighting. As a workaround I'm doing it with a Material component, but it changes with lighting.

@nearnshaw what's the status of this one?

This issue should remain open
The BasicMaterial component still doesn't have a "color" property


🐛 More needed for podman workaround in kind-load (take 2)

The commit adding the podman workaround for the kind-load target seems to need a bit more work:
It needs to have the tag name set before image-archive is saved

Description

Reviewer Checklist

[ ] API Go Documentation
[ ] Tests: Unit Tests (and E2E Tests, if appropriate)
[x] Comprehensive Commit Messages
[ ] Links to related GitHub Issue(s)

/assign @perdasilva

Could you please explain the issue in more detail? I'm using podman on Mac and do not observe issues with our Makefile. But to be fair - instead of passing CONTAINER_RUNTIME into make I have a symlink from docker to podman for convenience.

Meta-comment:
It is really difficult to support every permutation of developer environment, especially if we don't centralize these sorts of task definitions. Whatever we decide here would need to be duplicated in basically all of the active repos and then maintained.
If we don't test each configuration in CI, then they are extremely prone to rot, because the only one guaranteed to work is the one used in CI. If we do test each configuration, then CI becomes more expensive AND it is hard for a developer making this kind of change to fix something about an environment they don't have setup locally.
IMO, if at all possible, it is better for the repo to be very opinionated on the environment and to have developers adapt to the repo instead of vice versa
Even Mac vs Linux is hard enough (and we don't explicitly test Mac in CI). With podman support, the matrix becomes linux/docker, linux/podman, mac/docker, mac/podman.

I'd argue our time is more expensive than CI time, most of us have Macs for local dev and I feel like we should be trying to use Podman if its diffs from Docker don't get in our way too badly. Also, CI likely is closer to Podman than Docker internally anyway because CRI-O is using buildah under the hood. If we can't add this conditional to make Podman easy and cheaper for devs to use, I guess I'll work out how to auto-apply/delete before commit these kind of things so I can personally work better, but they're in conditionals, does it matter if the podman version is found to have rotted later? It can get fixed if someone is motivated and all can benefit in practice.


Error when spreading a union of tuples in a call

Bug Report
🔎 Search Terms
destructure array typescript union
🕗 Version & Regression Information
I used the playground to test different versions and it looks like this has always occured.

This is the behavior in every version I tried, and I reviewed the FAQ for entries about "Type Systems behavior", "Type Guards", "Functions".

⏯ Playground Link
Playground link with relevant code
💻 Code
const t = [4,20] as const
const t2 = [4, 20, 30] as const
const t3 = [10, 10] as [number, number] | [number, number, number]

// Works
new Date().setHours(...t)
new Date().setHours(...t2)

// Error: Expected 1-4 arguments, but got 0 or more.
new Date().setHours(...t3)

🙁 Actual behavior
Error: Expected 1-4 arguments, but got 0 or more.
The array type passed as a length of 2 or 3 so the message "got 0 arguments" is wrong.
🙂 Expected behavior
I expect the compiler should be able to recognize that the array type can only have length 2 or 3 and would not throw an error.

I think I've seen either same, or very similar problem in my code once I've upgraded from TS 3.9 to TS 4.0 / TS 4.1 (both versions report the same issue with my code). This was not an issue before the upgrade, so the last known working version (for me at least) is 3.9.7.

My code looks something like this (it's a React app, the snippet comes from a wrapper component that attaches its own additional handler on the passed onChange handler):
type BaseComponentProps = React.ComponentProps<typeof BaseComponent>;

const handleClick = (...args: Parameters<NonNullable<BaseComponentProps['onChange']>>) => {
    onChangeAdditionalHandler(...args);

    onChange?.(...args);
};

With this code I get the following error on the onChangeAdditionalHandler call line:
Expected 1 arguments, but got 0 or more.  TS2556

even though the args is properly inferred as:
type Args = typeof args;
// -> [ event: React.ChangeEvent<HTMLInputElement>] | [ event: React.ChangeEvent<HTMLInputElement>]

(the union type comes from how React typings are created for the base component)

This can be simplified and reproduced with the following code:
const testFunction = (thisVal: () => void) => {
    console.log(thisVal);
};

const testCase = () => {
    type MyArgs =
        | [ handler: () => void ]
        | [ handler: () => void ];

    const args = [ () => undefined ] as MyArgs;

    testFunction(...args);
};

It looks like union types freak out the arguments spreading, even though the applied types are basically the same thing. Even the tuples have the same length, so it shouldn't be a problem.

Related to https://github.com/microsoft/TypeScript/issues/42891; I'll look at both at the same time.

I tried again with a smaller fix, although I'm still not sure it's a good enough fix.

After discussing this fix in the design meeting, we decided to not take #55185 either. It's too ad-hoc for the complexity of its code.
If/when we try to reform overload resolution's interaction with type parameter inference and contextual typing, we should address this bug at the same time. Specifically, this example needs the ability to roll back inferences, same as overload type parameter inference. Then the fix here would be to make tuples generate multiple argument lists instead of trying to produce a single argument list. Each argument list can be applied against each overload (or a single signature if there's only one.)

I believe I have another case for this issue.
A fix is needed to truly support "perfect" forwarding when target function has rest that is union.
function target(arg1: string, ...numsOrStrs: number[] | string[]): void {}

function wrapper(...args: Parameters<typeof target>): ReturnType<typeof target> {
    return target(...args); // TS2556 A spread argument must either have a tuple type or be passed to a rest parameter.
}

In this case Parameters<...> is union of tuples: [arg1: string, ...numsOrStrs: number[]] | [arg1: string, ...numsOrStrs: string[]].
Either Parameters needs to produce tuple as original parameter type ([arg1: string, ...numsOrStrs: number[] | string[]]) or spread needs to recognize unions of tuples.
playground that has a little extra

Why not just use this?
const t3 = [10, 10] as [number, number, number?]
new Date().setHours(...t3)


Interface Improvements and Bug Fixes

Resolved issue with clock mask
Some re-mapping of the logic analyzer
Fixed reset bug with branch targets
Several peripheral patches
Power routing issues causing LVS failure


[Q] UDP IP Stream (TS over IP) DVB S2.

I have UDP IP stream from Novra s400 pro with UDP paylaod of 1316 Bytes, how to extract the paylaod using tsduk,.

Use the mpe plugin. Please read the user's guide, the reference section for this plugin and the example chapter.

Hello
I had maybe the Same Issue: I get Help from the Forum Below
I download the tool dvb-ip-mpe2ts that I used after TSDuck (Pipe)
https://www.sat-universe.com/archive/index.php?t-301973.html
https://github.com/piratfm/eti-tools
Using TSDUck I succeed to isolate the MPE TS (Thanx to te lelegard in his advises)
I used especially the ZAP and the MPE Plugins.
After that either you store the output in FIFO File File that will be used by dvb-ip-mpe2ts or you can Stream it internally directly to dvb-ip-mpe2ts
dvb-ip-mpe2ts will extract the TS videos from IP/DVB  to output can be streamed or stored as local video.
take a look to my Question it may help
https://github.com/tsduck/tsduck/issues/820
Good luck

Can you share a Sample of TS file that contain the DATA expected to be extracted?

Can you share a Sample of TS file that contain the DATA expected to be extracted?

sure sir, its is .pcap file captured by wireshark.

/home/satlab/Desktop/dump.ts
sir its that

[ts.zip](https://github.com/tsduck/tsduck/files/6813760/ts.

its is the ouput of TBS dvb s2 tuner, but in novra s400 pro  output is Ethernet interface. i capture it with wireshark, .pcap

sir, i used "tsp -P mpe -s <IP_ADDRESS>:6000 -o d:\mpeg2.ts"  command the file name is created, but no data. how to capture the network stream using tsduck.
2. next i used "tsp -I ip <IP_ADDRESS>@<IP_ADDRESS>:6000" command, data is showing but cant able save that.

sir, i used "tsp -P mpe -s <IP_ADDRESS>:6000 -o d:\mpeg2.ts"  command the file name is created, but no data. how to capture the network stream using tsduck.
2. next i used "tsp -I ip <IP_ADDRESS>@<IP_ADDRESS>:6000" command, data is showing but cant able save that.

Hello Again.
The ts dump is hardly downloaded because the URL was wrong : [ts.zip](https://github.com/tsduck/tsduck/files/6813760/ts.
instead I used https://github.com/tsduck/tsduck/files/6813760/ts.zip
Never mind. But this TS it can not be Analyzed by any tools;
I Used tsanalyze From TSDuck Emptu Result.
I opened the Dump.ts using Wireshark as I do within the TSs I generate Gives Error.
Even TSReader can not handle this sample.
I'm not sure if in your case you may need TSDuck to deal with IP output.
My be try other tools can give relevent results.
Good Luck.

If you're sur that your Box gives MPE at the output you can use dvb-ip-mpe2ts it will help separate the content encapsulated in the Out IP Stream.
BTW did you tried to read the Output file using VLC, FFPLAY from ffmpeg?
Also try to analyse your Box output in this tool it's really powerful
https://www.tsreader.com/purchase/purchase/downloadlite.html

Use the mpe plugin. Please read the user's guide, the reference section for this plugin and the example chapter.
hi iam using novra s400 pro at my end, the output captured by wireshark is only udp, how tsduck decap the stream,

Hello
Can you possibly give the scheme of what you want to achieve as a montage.
It seems that the Nova picks up the DVB-S2 signal and transmits it to the Ethernet (IP) port.
What is the nature of the input signal?
And what is the nature of the PIDs / TS Streams that you are looking to output via Ethernet?

Hello
Can you possibly give the scheme of what you want to achieve as a montage.
It seems that the Nova picks up the DVB-S2 signal and transmits it to the Ethernet (IP) port.
What is the nature of the input signal?
And what is the nature of the PIDs / TS Streams that you are looking to output via Ethernet?
If possible provide the Satellite and the TP data
BR

hi, that we receiving dvb-s2 signal is VCM coded, we don,t know the PIDs, "tsp -I ip <IP_ADDRESS>@<IP_ADDRESS>:6000" command displaying some protocols on that stream in raw format.

What about Satellite and Transponder you are using?

What about Satellite and Transponder you are using?

turksat 4b/ tp 11582/H/2350


Missing word in the text

[Enter feedback here]
The page says "If the batch size is >= 102400, the rows are directly into the compressed rowgroups. "  I think this should say "the rows are inserted directly into..."  Right?

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

ID: 40178a54-5c50-6667-f605-f6c0d75f8741
Version Independent ID: 9a0b755c-40a0-563a-b945-c0216ae71f7b
Content: Columnstore indexes - Data loading guidance - SQL Server
Content Source: docs/relational-databases/indexes/columnstore-indexes-data-loading-guidance.md
Service: sql
Sub-service: table-view-index
GitHub Login: @MikeRayMSFT
Microsoft Alias: mikeray

@DWalker07 -- thank you for catching this.  I am updating the article.

I'll take this. The article needs a refresh. We'll put "loaded" instead of "inserted" to follow earlier use of the term in the article.
Thanks for the feedback!

Thanks.


[DA] Fix error check for no blocks found in RetrieveBlocks()

Overview
Closes: https://github.com/rollkit/rollkit/issues/1540
TL;DR: In da.go, when no blocks are found via RetrieveBlocks(), this check for ids == nil needs to be if len(ids) == 0 to properly handle an initialized empty slice.
Tested and saw logs showing up:
8:19PM DBG no block found daHeight=35384 module=BlockManager reason="blob: not found"
8:19PM DBG trying to retrieve block from DA daHeight=35385 module=BlockManager

Followed current test file structure. Will add some more test cases for RetrieveBlocks() in da_test.go in a separate PR.
Checklist

[x] New and updated code has appropriate documentation
[x] New and updated code has new and/or updated testing
[ ] Required CI checks are passing
- Requires bug, da label, don't seem to have access
- Doesn't recognize my Github
- Lint + Tests pass on local
[x] Visual proof for any user facing features like CLI or documentation updates
[x] Linked issues closed with keywords

Summary by CodeRabbit

Bug Fixes

Improved error handling in the data access layer when retrieving blocks with empty IDs, providing more informative feedback.

Tests

Added tests to ensure robust handling of scenarios where no blocks are found during retrieval.
Implemented a new test case and function to handle scenarios with no blocks found during retrieval.

Thanks! 🚀


maven-surefire-plugin 2.22.1

issue:  https://github.com/GoogleContainerTools/jib/issues/1175

Thanks @sullis — did you have a particular reason to update surefire?  Would you mind updating maven-failsafe-plugin too?

@briandealwis should we merge this?

I think we might as well. Patch notes here in case anyone wants to double check.

I think we should, but with the failsafe plugin too.  No point letting them diverge.


Error when running v1.1.4 locally

@sebastian-meier I'm trying to run the harvester locally, since we are planning to have a workshop and I need to move this to something easier then AWS Fargate. When running the script I get the following error.
harvester_1  | FileNotFoundError: [Errno 2] No such file or directory: '/temp/trees-p2.csv'
harvester_1  | DEBUG:s3transfer.utils:Releasing acquire 0/None
harvester_1  | Traceback (most recent call last):
harvester_1  |   File "harvester.py", line 360, in <module>
harvester_1  |     s3.upload_file(path + "trees-p{}.csv".format(i + 1), os.getenv("S3_BUCKET"), "trees-p{}.csv".format(i + 1))

Any idea where this might come from? In production these files exists and the harvester works.

Do you have actual trees in your local database (see lines 313 and following)?

Yes I have. What I didn't have was the radolan_geometry. I copied everything from the production DB and now it works.

How did you create the content from that table?

And there was no radolan_data created nor does the weather.geojson contain features

I ran into the same problem when setting this up for Münster. I'm wondering how the radolan_geometry column is supposed to be populated? If this is automated, when/where in the process is this happening?

You mean the radolan_geometry table?
I think this is a manual one-time initialization step. There is a sql script in the postgres-api repo. It contains the geometry for Berlin, though.
If I remember correctly I used the prepare.py script to create the buffer shape for Magdeburg and translated that into sql insert statement with the help of QGis.

Sure! I'm currently on vacation. So I'm gonna do that when I'm back home.

Awesome. Yes please. Any documentation about that topic is very welcome. I guess it also would be better to have it within this repo here and not in the API.


Negative value

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

178 of 217 (82.03%)  changed or added relevant lines in 7 files are covered.
44 unchanged lines in 8 files lost coverage.
Overall coverage decreased (-0.6%) to 89.662%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/ast/mod.rs
21
23
91.3%

src/parser.rs
63
67
94.03%

src/ast/value.rs
3
17
17.65%

src/tokenizer.rs
13
32
40.63%

Files with Coverage Reduction
New Missed Lines
%

src/ast/data_type.rs
1
76.32%

src/ast/operator.rs
1
93.18%

src/ast/query.rs
1
87.08%

src/ast/value.rs
1
71.43%

src/ast/ddl.rs
2
81.67%

src/ast/mod.rs
8
72.58%

src/tokenizer.rs
10
88.37%

src/parser.rs
20
85.23%

Totals

Change from base Build<PHONE_NUMBER>:
-0.6%

Covered Lines:
5924

Relevant Lines:
6607

💛  - Coveralls


Use niv instead of iohk-nix-src.json

We use a iohk-nix-src.json file, instead of the newer sources.json, which is now managed though nix.  Migrate to the new format to make our repo conform to IOHK devops best practices.
Note that the use of iohk-nix-src was part of the aforementioned best-practices, but now niv is used.

@craigem I assigned this to you as you're probably addressing this in #137 Feel free to close if this is not relevant anymore.

I ended up doing this myself. See ed2cf1d4f725a56e531549cc0430cdde027283d0.


Missing j2 mapping for /identity/service-providers/default.xml

Description
There is no J2 mapping for the following configuration.
<FederatedIdentityProviders>
   <IdentityProvider>
      <IdentityProviderName>CBRE SSO-TEST ADFS</IdentityProviderName>
      <IsEnabled>true</IsEnabled>
      <DefaultAuthenticatorConfig>
         <FederatedAuthenticatorConfig>
            <Name>SAMLSSOAuthenticator</Name>
            <IsEnabled>true</IsEnabled>
         </FederatedAuthenticatorConfig>
      </DefaultAuthenticatorConfig>
   </IdentityProvider>
</FederatedIdentityProviders>

And "/identity/service-providers/default.xml.j2" file doesn't exist.
Steps to Reproduce
Check the configurations.
Affected Component
APIM
Version
4.0.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

This is not related to APIM features. So, closing the issue.


save model

Dear cbaziotis,
I was able to run all your code for the subtask A and then I saved the nn_model in a h5 file.
However, when I tried to load it with the following code:

from keras.models import load_model
model = load_model('my_model2.h5')

I get "ValueError: Invalid layer: Attention"
If by chance you know how to solve this issue, I would really really appreciate
Thank you in advance
Matt

Hi Matt,
Could you please pull from the master and try again?


Upgrade to container-vm-20150315

Ran 28 of 30 Specs in 1581.384 seconds
SUCCESS! -- 28 Passed | 0 Failed | 2 Pending | 0 Skipped I0317 16:59:22.606582   11633 driver.go:89] All tests pass

cc/ @roberthbailey @vmarmol

LGTM


Receiving multiple app_mention events when switching to HTTP instead of Websocket mode

Description
Hey! Was developing a Slack Bot and everything was working great in Websocket mode. Now its time to deploy it and publish it to distribution so I switched back to HTTP mode to deploy onto AWS Lambda and I'm just getting endless retries. I'm running a pretty heavy workload so it takes anywhere from 5-10 seconds for me to post my reply to Slack (above the 3 sec). This wasn't an issue though in Websocket mode as I believe the bolt library just handled the Ack. Why isn't it being handled in HTTP mode?
What type of issue is this? (place an x in one of the [ ])

[x] bug
[ ] enhancement (feature request)
[ ] question
[ ] documentation related
[ ] example code related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version: ^3.12.2
node version: v18.12.1
OS version(s): macOS Monterey v12.5
Steps to reproduce:

Expected result:
What you expected to happen
Single app_mention event received. BoltJS appropriately Acks. Code produces a response when its ready.
Actual result:
What actually happened
BoltJS is not Ack-ing the response when switching to HTTP mode.
Attachments:
Logs, screenshots, screencast, sample project, funny gif, etc.

Hey @asontha! 👋 Since the requests aren't being acknowledged within 3 seconds, this retry behavior sounds expected (though maybe not the endless part, as it should stop after 3 retries..).
To prevent these retries from happening on these heavy workloads with HTTP mode, it's recommended to ack before starting your workload. This tells Slack that your app received the event without problem, then gives you time to perform your operations and send a response when ready.
I hope changing this removes the unexpected retry behavior, but if not let me know! I'd then be curious to know if you're receiving the events without problem (even if they're not being acknowledged in time), as this would mean that investigating ack is the right place to start. Thanks!

@asontha
As @e-zim mentioned, HTTP mode generally allows developers to ack first and do time-consuming tasks. However, when you run a bolt-js on AWS Lambda with processBeforeResponse: true option, the behavior can be different due to FaaS side's restrictions. Please read the following comments to learn what can happen:

https://github.com/slackapi/bolt-js/issues/1548#issuecomment-1214619882
https://github.com/slackapi/bolt-js/issues/1548#issuecomment-1215949159
https://github.com/slackapi/bolt-js/issues/1119#issuecomment-922172194

If you still want to do everything on AWS Lambda, the following approach may help:

https://github.com/slackapi/bolt-js/issues/914#issuecomment-870079306

I hope this helps.

Got it! So I ended up migrating away from app_mention as it looks like it's impossible to ack and moved the logic into a /ask command. That being said now I'm running into another error which I've opened an issue on here:
https://github.com/slackapi/bolt-js/issues/1727
What does processBeforeResponse: true do? Is that maybe why I'm getting those timeout errors in this new issue even though the very first thing I do in my handler is ack?

Hey @asontha, just jumping in from the previous issue 👋🏻
Here is the documentation for the processBeforeResponse setting:

A boolean that determines whether events should be immediately acknowledged. This is primarily useful when running apps on FaaS since listeners will terminate immediately once the request has completed. When set to true it will defer sending the acknowledgement until after your handlers run to prevent early termination. Defaults to false.

I haven't had any issues of AWS Lambda terminating with await ack() at the top of my handler. Therefore, it doesn't seem like I would want processBeforeResponse set to true.

This is true of both the command handler and my shortcut handler, but only the command handler is giving me the issues that I detailed here https://github.com/slackapi/bolt-js/issues/1727

@asontha You may not encounter the issue with a global shortcut, but there is a certain level of the same risk. The lambda runtime termination really depends on the AWS infra’s behaviors. You cannot take full control of it. So we highly recommend using the flag.
Also, if you’re using the built-in lambda receiver (perhaps yes), processBeforeResponse is always set to true. Your handlers must complete within 3 seconds in any case.

I believe that we've discussed this topic in https://github.com/slackapi/bolt-js/issues/1727, so let me close this issue now. That said, please feel free to write in if you have anything further to clarify here. Thanks again for asking the question!


Add support for custom css and js files

Adds support for supplying custom js and css files

I am really not sure what codacy thinks is wrong here, it looke exactly the same as the other bullet points....

Hello @RononDex
Thanks for your contribution, but we already have this feature. You can simply add a loop item for your custom css/js file in the plugins loop. It's that easy. I am closing this PR.


Can't install new version Robyn 3.8.0

Project Robyn
Describe issue
I've tried to upgrade package Robyn (version 3.8.0) but I can't because in CRAN don't show it.
I have problems in Budget Allocator because both initial and optimized budget allocation are same and I saw that it could be a bug in the late version.
remotes::install_github('facebookexperimental/Robyn/R@allocation_range') doesn't work for me.
Environment & Robyn version
Make sure you're using the latest Robyn version before you post an issue.

Check and share Robyn version: 3.7.2
R version: 4.2.1

Hi @caarolinagil You can updated to latest dev version using `remotes::install_github('facebookexperimental/Robyn/R') as you mentioned. And we will update CRAN version when 3.8.X is stable enough.
Can you share your anonymized results? Can you share a reproducible example to help us debug in case it's a bug?
On the other hand, have you checked this thread (#511)

A side question: what is the logic behind version tags? 3.8.0 jumped to 3.8.2. Where is 3.8.1? Same happened with 3.6.0 to 3.6.2.

Hi! They logic behind those skipped versions is that we launched big new features (x.x.0 versions) and then we start fixing some un-squashed bugs with version (x.x.1) and when we consider it's stable enough (no bugs reported in a couple weeks or so) we close x.x.2 version.

Hi @laresbernardo, thanks for your comments!
Reviewing my code, I've seen that, in the situation "max_response_expected_spend", I use more than one spends and days combinations. So, I made a loop in the code to show the different combinations in the output and this is why the last iteration reflects the same values.
So far so good!

Please reopen if necessary.


Build issu

hi kevin,
First of all , thank you to continue developing the lab renderer, there is no better for the VR, you did an incredible job.
I'm currently working on a VR project with your version of the LAB and unity 2017.2.4, and I can't build, it freeze on Project-sharedassets0.assets ,  the cpu process keep working  alway at 100% on shadercompiler-UnityShaderCompiler.exe
any idea ?

I realized this issue last night and I have pushed a fix. Go ahead and update it. It should be faster to compile in general.

It works great!
Thank you :)
do you intend to continue the development of the lab or it's finished for you ?
have a good day

I am continuing to develop it. I am using it for production purposes and need to keep it functional. I also have some plans for further improvements in features, integrations, and performance.


Terraform provider support for OneView 4.2 with API version 1000 needed.

Currently the terraform provider supports OneView 4.1 with API version 800. Can this be updated? Thank you.

The update for version OneView 4.1 with API version 800 will be released soon.
Can you please specify your extra requirement needed.

We are using Oneview 4.2 and the API version is 1000. Is the current version of this provider compatible? If not, will the update provide API 1000 support? Thank you.

Hi @jyothis-gireesan @Sowmyahsg - Is there an ETA for this update?

Hi @5mzJyf6m - API Version 1000 was on 4 Dec 2019 and Oneview 5.3 with API 1800 is recently released as well.
Let us know if you have any other query before we close this issue.

Hi, Since we haven't heard back from you, will close this issue.
If you have any concerns you may open a new issue. Thank you.


Make Jest the only test runner

We have a couple different test kinds which are currently run with a combination of bash scripts and jest. This includes the unit/snapshot tests for all component as well as the e2e fixture tests, but may also be expandable to future tests like visual regression testing. In order to make it easier to include all of these tests in the local development flow we should have a common interface through jest to run these tests with.
With this issue, we want to do the following:

By default npm test should only run the unit tests
Executing npm run test:all should run all tests and is used in CI
Each jest project can be run individually with an npm script like npm run test:unit or npm run test:screenshot and so on

What needs to be done:

Convert fixture tests to jest tests
Create multi project config for jest
Create config for unit tests and fixture tests
Adapt CI script to run all tests concurrently

@snapsnapturtle should we close #6 if we want to convert them into jest tests? Is there any documentation that exists on how to do this?

Moved to internal Backlog


GROOVY-10495: Invalid newlines generated by XmlTemplateEngine

The preserveWhitespace flag on XmlTemplateEngine works for content inside a node. You also need keepIgnorableWhitespace for XmlParser to do proper roundtripping as per last test.

Merged. Thanks!


[GitHub] TypeError: Cannot read properties of null (reading 'name')

Extension
https://www.raycast.com/raycast/github
Description

Error:
TypeError: Cannot read properties of null (reading 'name')

Iy:IssueActions.tsx:31:39
    at ray-list-item
xn:index.js:18:20475
YA:search-repositories.js:1370:1712

Steps To Reproduce

Open Raycast
Type github
Choose any Open Issues or Created Issues
View Issues
Issues load for less then a second and then "Something went wrong" screen

Current Behaviour
Screen recording: https://share.cleanshot.com/7YDZHM4C
Expected Behaviour
No response

I couldn't reproduce the bug with my GitHub account. There must be something in your issues that isn't handled by the GitHub extension. Could you link one or two issues you tried loading so that I can see what specific detail we missed in the extension?

@thomaslombart thanks for taking a look.
So, I work mostly with private repos with private issues. But when I switched one private repo to public, to send you some issue links, I checked the plugin response, and I could now see all of my issues, including the private ones.
So, I added an issue to a public repo, and the plugin now works as expected.
So, if you have all private repos with issues, but at least one public repo with one open issue, it works as expected. Not sure if that's a bug or not.

So I guess I'll just always have something to work on. 😅

Hum, that's weird. There's a bug somewhere since it's not the expected behavior. I've added it to our backlog. Thanks for reporting!

@thomaslombart PR with fix: https://github.com/raycast/extensions/pull/7824


Can i do a AppLock like domainLock

Expected Behavior

Current Behavior

Steps to Reproduce (for bugs)

Your Environment

Obfuscator version used:
Node version used:

Stack trace

Minimal working example that will help to reproduce issue

+1
For example my project had the app ID and i want my code just run in my own app

If Cordova is used, we can duplicate DomainLock logic in javascript-obfuscator and replace the domain fetching with App ID fetching via cordova-plugin-buildinfo.
Extra configuration option for declaring legal package names should be introduced.

Closed. Need proposal.


Fix require path of thrift module

If a parent module of node-tryfer also depends on the same version of thrift, the thrift module won't get installed in the node-tryfer/node_modules directory but in the node_modules directory of the parent.
This causes the relative require path to fail in lines 213 and 214 of formatters.js
require('../node_modules/thrift/lib/thrift/transport');

See https://docs.npmjs.com/files/folders#cycles-conflicts-and-folder-parsimony for a clarification of how npm handles installing packages in sub modules if a parent module already depends on the same version.
Using the conventional path to require from the node_modules directory fixes the issue.
require('thrift/lib/thrift/transport');

https://nodejs.org/api/modules.html#modules_loading_from_node_modules_folders

Change looks good to me. Thanks.

Thank you for your contribution!


Error using new api electron

When i try to run npm start after npm install i get this error:
App threw an error when running [TypeError: Cannot read property 'start' of undefined]

but if i change main.js to old api  it works perfectly
/* const electron = require('electron'); */
const app = require('app');  // Module to control application life.
const BrowserWindow = require('browser-window');  // Module to create native browser window.

so i'm not sure if this new api works only for some node versions

Not sure exactly what happened here but today we removed the only thing calling start in #25 so it shouldn't happen again :+1:

@jlord thanks, i forgot to close this issue, i found the problem here: https://github.com/atom/electron/issues/3708


Spring-Boot: Missing logs on HTTP 500

When a controller throws an Exception, not all is logged as expected.
Description
When a spring boot controller throws an Exception, resulting in a HTTP 500 which returns (in case of a RestController) details about the error, Logbook logging is not what I would expect.
I'm talking about cases where DispatcherServlet is logging the error like this:
Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed

Expected Behavior
Basic configuration: log request and response
With status strategy as below: log request and response
logbook:
  strategy: status-at-least

Actual Behavior
Basic configuration: only request gets logged
With status strategy as above: neither request nor response are logged
Steps to Reproduce

Spring-boot app with controller throwing an Exception
use default configuration for logbook, except for the case with the strategy, then change as above
curl the URL

Context
I want to log internal server errors including the request and response data.
Your Environment

Version used: 2.0.0-RC.0
Spring-Boot 2.0.8

Are you using ERROR dispatch? How do you produce the response in case of exceptions? Are you using  @ExceptionHandler?

I created a minimal application showing the behaviour
https://github.com/mindhaq/logbook-logging-demo
No @ExceptionHandler, no special dispatch, just a RuntimeException in a @RestController.

If you don't handle the exception at all then it will become an error dispatch, i.e. filters are executed a second time with the DispatcherType.ERROR trying to delegate to an error page. By default you don't get any from Spring, iirc.
Error dispatch is a tricky beast to get right, especially with Logbook. See #32, #155 and #334. Past experiences can be best summarized as Don't use ERROR dispatch.
Instead I'd suggest to use custom @ExceptionHandlers or something like https://github.com/zalando/problem-spring-web.

Ok, so having an @ExceptionHandler returning HTTP 500 and maybe some error JSON (similar to problem or custom) would help with logging?
Maybe that should be part of the documentation for the spring-boot integration, it's not so obvious otherwise.

Ok, so having an @ExceptionHandler returning HTTP 500 and maybe some error JSON (similar to problem or custom) would help with logging?

Yes. But technically it's not so much about how you produce error responses but rather that the ERROR dispatch is not supported.

Maybe that should be part of the documentation for the spring-boot integration, it's not so obvious otherwise.

Yes, it should.

Ok, got it. Adding an @ExceptionHandler prevents the ERROR, and now logging happens as expected. See the following commit to my demo project:
https://github.com/mindhaq/logbook-logging-demo/commit/dd14e810d56abb0c592dc9457142c8ebcb973677


Add home page style for small screens (#945)

this closes #945

and also plz resolve the conflict


Control over commit time period

First of all, very nice project you've all built. Love the documentation too!
I have a large project that I am running this on, but have noticed how resource intensive it is. Currently it has to checkout and analyze so many different commits that I can't go back more than a few weeks, and have to rerun the process again. I'm trying to workaround this by limiting the data to a single week, and then slowly increase that value as it builds up a cache.
Do you think it would be feasible to configure a setting that only runs static analysis for a single commit, every week per project, or even every day? (Bringing down the number of commits to analyze to 52 or 365 commits per project per year)
Open to ideas on how to improve performance, but wanted to ask if this has already been considered before attempting anything.
Thank you

Hi Arseny,
I did not realize it was already optimized around the time period, that's great! Perhaps I need something even less aggressive, such as on a monthly or quarterly basis 🤔
To provide some more details: I am using this on seven different projects, and when I try to run it on my local computer, for around ~2y period, it eventually just stops. I am using an M1 Pro with 32GB of memory.
Reducing it to a single week for a single project, I can run it in under 10m. I also see a single week runs well for my CI service. The codebase I am targeting is very large, and in some projects, even monolothic. Meaning I have to target the same projects for varying subpaths.
Running all seven projects at the same time for a single week on my local does eventually complete, but takes around 2.5 hours.

I'm not sure if you already tried, could you try running with NODE_OPTIONS="--max-old-space-size=16384 npx radius-tracker timelines <path-to-config>?

I'll give that a try, thanks!
Also here is an obfsucated config in case you see anything weird.
const defaultTargets = {
  'design-system': /^@pkg\/design-system/,
  radix: /^@radix-ui\/react-accordion/,
  spring: /^@react-spring\/web/,
};

const myTargets = {
  ...defaultTargets,
  'components': /^@platform\/components/,
};

const isIgnoredFile =
  /((\.(tests?|specs?|stories|story)\.)|(\/(tests?|specs?|stories|story)\/)|(\/node_modules\/)|(\/__mocks__\/)|(\.d\.ts$))/;

const configDefaults = {
  since: new Date('2022-01-01'),
  isIgnoredFile,
  isTargetImport: (imp) => imp.type !== 'cjs-import',
  isValidUsage: () => true,
};

const hostname = 'ci.hostname.com';

module.exports = [
  {
    ...configDefaults,
    repoUrl: `${hostname}project/repository1`,
    displayName: 'Project1',
    isTargetModuleOrPath: myTargets,
    subprojectPath: 'somePath',
    tsconfigPath: '../tsconfig.json',
  },

  {
    ...configDefaults,
    repoUrl: `${hostname}project/repository1`,
    displayName: 'Project1',
    isTargetModuleOrPath: myTargets,
    subprojectPath: 'someOtherPath',
    tsconfigPath: './tsconfig.json',
  },

  {
    ...configDefaults,
    repoUrl: `${hostname}project/repository2`,
    displayName: 'Project2',
    isTargetModuleOrPath: {
      'design-system': /^@pkg\/design-system/,
      hooks: /^@pkg\/hooks/,
      utils: /^@pkg\/utils/,
    },
    subprojectPath: '/',
    tsconfigPath: './packages/tsconfig/base.json',
    since: new Date('2023-09-08'),
  },

  {
    ...configDefaults,
    repoUrl: `${hostname}project/repository3`,
    displayName: 'Project3',
    isTargetModuleOrPath: defaultTargets,
    subprojectPath: 'somePath',
    tsconfigPath: '../tsconfig.json',
  },

  {
    ...configDefaults,
    repoUrl: `${hostname}project/repository4`,
    displayName: 'Project4',
    isTargetModuleOrPath: defaultTargets,
    subprojectPath: '/',
    tsconfigPath: './tsconfig.json',
    since: new Date('2022-07-20'),
  },

  {
    ...configDefaults,
    repoUrl: `${hostname}project/repository5`,
    displayName: 'Project5',
    isTargetModuleOrPath: defaultTargets,
    subprojectPath: 'src',
    tsconfigPath: '../tsconfig.json',
  },

  {
    ...configDefaults,
    repoUrl: `${hostname}project/repository6`,
    displayName: 'Project6',
    isTargetModuleOrPath: defaultTargets,
    subprojectPath: 'somePath',
    tsconfigPath: './tsconfig.json',
  },
];

Config looks okay to me, I don't immediately see anything suspicious.

I've been running it with the node setting for most of the day on my local computer, still seems to be chugging along slowly.
Opened up activity monitor though, and saw a wild amount of swap. Maybe each child process is now trying to use as much memory as it needs?

I am thinking I might try tweaking the weekly commits to be quarterly and see if that helps build a report in a shorter time period.


Fails at "Copying boot files" on RPi version 1B

I'm unable to get versions > 1.5.2 to work on my RPi 1B.
My understanding of what volumes are mounted at boot time is a bit shaky, but it appears to be a problem with insufficient space on /tmp/bootfs
I'm flashing the SD card like so:
wget -qO- https://github.com/FooDeas/raspberrypi-ua-netinst/releases/download/v2.2.1/raspberrypi-ua-netinst-v2.2.1.img.xz | xzcat - > /dev/mmcblk0

When I boot the RPi from the SD card, it stops with SOS quickly.  The error log on the SD card is as follows:
==================================================
raspberrypi-ua-netinst
==================================================
Revision v2.2.1 (1c98620)
Built on Mon Jul 30 20:22:39 CEST 2018
Running on Raspberry Pi version B
==================================================
https://github.com/FooDeas/raspberrypi-ua-netinst/
==================================================
Starting HWRNG... OK
Mounting boot partition... OK
Copying boot files... cp: error writing '/tmp/bootfs/start_x.elf': No space left on device

Error: The installation could not be completed!

For reference, here's what cpuinfo gives me on the Pi:
root@pi:~# cat /proc/cpuinfo
processor	: 0
model name	: ARMv6-compatible processor rev 7 (v6l)
BogoMIPS	: 697.95
Features	: half thumb fastmult vfp edsp java tls
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xb76
CPU revision	: 7

Hardware	: BCM2835
Revision	: 0002

Note that on version 1.5.2, the install succeeds, but only if I restrict the size of additional files I include - a 2 KB text file works fine, but a 5 MB jar causes it to fail in much the same way as above.  I tried altering the bootsize - both increasing (bootsize=+256M) and decreasing (bootsize=+64M), but no dice.
As I mentioned I don't really understand what volumes are available at that point in the script (I added a df -h to the script, but that fails... I assume this is because of where it is in the boot process), nor how to alter the size of the volume.

The installer runs out of memory before SD card initialization.
Do you use any special config?

No, just the vanilla 2.2.1 image flashed to the SD card.
I've just tried 2.1.0, and that seems to work fine.  However, vanilla 2.0.0 fails with an almost identical log to 2.2.1:
==================================================
raspberrypi-ua-netinst
==================================================
Revision v2.0.0 (84cbb40)
Built on Mon Oct 16 02:04:49 CEST 2017
Running on Raspberry Pi version B
==================================================
https://github.com/FooDeas/raspberrypi-ua-netinst/
==================================================
Starting HWRNG... OK
Mounting boot partition... OK
Copying boot files... cp: error writing '/bootfs/raspberrypi-ua-netinst/raspberrypi-ua-netinst.cpio.gz': No space left on device
cp: error writing '/bootfs/raspberrypi-ua-netinst/error-19700101T000010.log': No space left on device
cp: error writing '/bootfs/start.elf': No space left on device
cp: error writing '/bootfs/start_cd.elf': No space left on device
cp: error writing '/bootfs/start_db.elf': No space left on device
cp: error writing '/bootfs/start_x.elf': No space left on device

Error: The installation could not be completed!

Could be a dud SD-card

Sorry for the delay in replying.
I don't think it's a dud SD card - if I put the card in a Pi Zero, it completes fine:
==================================================
raspberrypi-ua-netinst
==================================================
Revision v2.2.1 (1c98620)
Built on Mon Jul 30 20:22:39 CEST 2018
Running on Raspberry Pi version Zero
==================================================
https://github.com/FooDeas/raspberrypi-ua-netinst/
==================================================
[etc]

FWIW I'm loving the project, though I'm currently limited 2.1.0.

I can confirm this, I dug out my old 1B and I'm now getting the the same error.
==================================================
raspberrypi-ua-netinst
==================================================
Revision v2.2.1 (1c98620)
Built on Mon Jul 30 20:22:39 CEST 2018
Running on Raspberry Pi version B
==================================================
https://github.com/FooDeas/raspberrypi-ua-netinst/
==================================================
Starting HWRNG... OK
Mounting boot partition... OK
Copying boot files... cp: error writing '/tmp/bootfs/start_x.elf': No space left on device

Error: The installation could not be completed!

Checked SD card for errors, fine. Also ran in a zero, that ran fine!

The old 256MB RAM model B gets out of memory...

I had to fake the low memory on my old 1B with 512MB. It should be fixed in devel branch now.
Please test and report!

Works like a charm.  Thanks!

Thank you! I'll release it.


ADD NEWW LOOK TO THE README

I have given your README a completely new look and added simplified text that is highly useful for new contributors. I incorporated the text you provided and made sure it enhances the overall appeal of the document. Please review my changes and let me know if there are any issues. If you have any concerns, feel free to assign me to the relevant issue, and I will address it as soon as possible.

Go for it @Ayush-Tibrewal.


feat: add valhalla instruction to RoutingInstruction

It remove the need to format the instruction data.
It is much easier, takes the profile into account and supports language

@mtehver what do you think about this? minimal change but big feature for valhalla

Merged, thanks.


Do not use the Azure VPN client's application ID: Use the ID of the application(s) you registered.

Hi
re: the guidance "Do not use the Azure VPN client's application ID: It will grant all users access to the VPN gateway. Use the ID of the application(s) you registered."
Can you please clarify exactly where the "ID of the application(s) you registered" needs to be used? e.g. does the "Audience id" need to be set to "Use the ID of the application(s) you registered." ( and not the "public cloud Azure VPN")?
Thanks
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e67936ea-baf7-b3cc-83ff-10ebe553818b
Version Independent ID: 604f03e9-5eb0-28a1-3a89-6293b59e98c4
Content: How to create an Azure AD tenant for P2S OpenVPN protocol connections: Azure AD authentication - Azure VPN Gateway
Content Source: articles/vpn-gateway/openvpn-azure-ad-tenant-multi-app.md
Service: vpn-gateway
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@JBiasilloTM, Thanks for reaching out. We will investigate and update this thread.

@JBiasilloTM, Appreciate your patience. Yes, your understanding is right. You need to place the registered APP ID in the audience field instead of Azure VPN ID. The doc you were following states an example with Azure client ID that needs to be masked to avoid confusion. We are working towards the doc edit. closing this with reference to #69121
We are closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


In compatibility mode, creating a new person doesn't resolve

Create person in compatibility mode
It will not resolve the link even though the person will be created

I can't recreate this, not sure if it's a bug or not.


CNS-552: tech debt identifying missing fields in yaml

This PR fixes a tech debt in which you couldn't define a field with 0 (it would detect it as a missing field). Now only fields that are absent from the yaml file are regarded as missing fields

You can use mapstructure.Metadata to capture missing (and extraneous) settings in the config vs the struct, either via the Metadata option or using DecodeMetadata() function instead of Decode().

Added a few commits to implement this.