can't create a new chroot

chronos@localhost ~ $ sudo edit-chroot -all
name: mychroot
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/mychroot...
Creating hwaudio group with GID 18...
su: Critical error - immediate abort
Unmounting /mnt/stateful_partition/crouton/chroots/mychroot...
name: xenial
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/xenial...
Creating hwaudio group with GID 18...
su: pam_start: error 26
Unmounting /mnt/stateful_partition/crouton/chroots/xenial...

Please describe your issue:
i just can't install a chroot. i've followed the instructions but it just doesn't seem to work. i've never done this before, but i did successfully follow the steps to install crouton.
if you need any more info, let me know - i'm sure this isn't enough but i'm not sure where to start with that.
If known, describe the steps to reproduce the issue:

right, i have been starting over. the mychroot for example was the fourth chroot i made.

Please try the latest release of crouton and re-open if it doesn't fix the failure.


Application Rejected by Apple with error support for location in the UIBackgroundModes

Application Rejected by Apple

Plugin version: 2.25
Platform: iOS
OS version: 10.2
Cordova platform version (cordova platform ls):
Plugin configuration options:

  ```

    	// Config
    	desiredAccuracy:5,
    	distanceFilter:5,
    	stationaryRadius:20,
    	locationUpdateInterval:1000,
    	fastestLocationUpdateInterval:1000,

	// Activity Recognition config
	activityType: 'AutomotiveNavigation',
	activityRecognitionInterval:1000,
	stopTimeout:1,

	// Notificações
	notificationIcon: 'icon',
	notificationTitle: 'Myapp',
	notificationIconColor: '#FC6932',
	notificationText: 'Toch to return',
	saveBatteryOnBackground:false,
	startForeground:false,

	// Application config
    	debug:false,
    	stopOnTerminate:true,
    	startOnBoot: true,

-------------

## Question

Hello my application was declined in the Apple Store apparently it is a problem in requesting the update in Background how do I solve this, could anyone help me?

## Apple Return

From Apple
2. 5 PERFORMANCE: SOFTWARE REQUIREMENTS

Performance - 2.5.4

Your app declares support for location in the UIBackgroundModes key in your Info.plist file but does not have any features that require persistent location. Apps that declare support for location in the UIBackgroundModes key in your Info.plist file must have features that require persistent location.

Next Steps

Please review your app to include features that require the persistent use of real-time location updates while the app is in the background.

If your app does not require persistent real-time location updates, please remove the "location" setting from the UIBackgroundModes key. You may wish to use the significant-change location service or the location monitoring service if persistent real-time location updates are not required for your app features.

Resources

For more information, please review the Starting Significant-Change Location Service and Monitoring Geographical Regions.

Request a phone call from App Review

At your request, we can arrange for an Apple Representative to call you within the next three business days to discuss your App Review issue.

To request a call and ensure we have accurate contact information, reply directly to this message with a contact name and direct phone number to reach you.

Any solution? My app is still being rejected by the appstore because of this problem could anyone help?

This is scary...

The problem is not the plugin. Apple rejects everything that try to uses background modes for something different than the intended use... (Sometime even if you explain to them...)
I ensured to write in both changelog and app description that my app was supporting tracking also in background and the very same binary was accepted.
I hope this helps

And it varies from one Apple reviewer to another.

Thanks for the help, I made some adjustments in the settings and the inclusion of the information in the description as requested and was approved !!!

@ivent  How did you get approved? What steps did you follow? I have the same problem, and have tried everything and always reject. Android as always works everything perfectly.

@victorvitalino Hi friend, I'm also from Brazil, I'm not sure what the solution was I used Luigi's tip37 and I informed in the description that the app uses constant location tracking in background mode, and also changed the configuration, from the app to the following, You can do some tests on startForeground true or false, which I suspect is one of the reasons this happens. I hope it really helps the review is something variable that we can not predict and can vary from app to app ..
backgroundGeoLocation.configure(callbackFn, failureFn, {
desiredAccuracy:5,
distanceFilter:5,
stationaryRadius:20,
locationUpdateInterval:1000,
fastestLocationUpdateInterval:1000,
	// Activity Recognition config
	activityType: 'AutomotiveNavigation',
	activityRecognitionInterval:1000,
            stopTimeout:1,

	// Notifications
	notificationIcon: 'icon',
	notificationTitle: 'App Name',
	notificationIconColor: '#FC6932',
	notificationText: 'Open App Name,
	saveBatteryOnBackground:false,
	startForeground:false,

	// Application config
    debug:false,
    stopOnTerminate:true,
    startOnBoot: true,

});


Codebase refactoring

Codebase Refactoring
I think the repo need some refactoring.
Group the two main parts of the repo
Currently, the repo contains two different parts, the Calliar main part and Calliar server. As for not, only Calliar server files are grouped under one folder, while the main part is on the first level.
A simple solution would be to group Calliar, except the Calliar server folder, into one folder.
Group the related parts in the Calliar.
Currently, I can see certain files that can be grouped in order to enhance the quality and maintainability of the repo, e.g, the demos and the dataset.
Vis.py
The file contains some dead code and can be improved in some aspects.
Calliar server
Ignored files
.vscode, pychase and .ipynb_checkpoints need to not be tracked in Github
The static folder
The files can be grouped if they are similar types.

@yousef337 I have a couple of ideas, we will disucss on the meeting next Monday :)

tracked in https://github.com/ARBML/Calliar/pull/12


Swift Optimizer: add def-use/use-def walker utilities

This PR adds  def-use/use-def traversals in WalkUtils.swift and updates EscapeInfo and related passes to use those.
WalkUtils adds a set of protocols (ValueDefUseWalker, AddressDefUseWalker, ValueUseDefWalker, AddressUseDefWalker) that perform def-use and use-def traversals guided by a projection path.
An implementor of these protocols can collect uses/definitions and track whether
certain instructions have been crossed during the traversal.
Additionally EscapeInfo and related passes are updated to use the traversal utilities.

@swift-ci test

@swift-ci benchmark

@swift-ci test

@swift-ci test

"Base" value
We have a specific definition of a base address in SIL. Is there any need to overload the term to mean the initial value for a traversal? Can we just call it an "initial" value?
leafUse
  mutating func leafOrUnmatched(value: Operand, path: Path, state: State) -> Bool {
    if path.isEmpty { return leafUse(value: value, path: path, state: state) }
    else { return unmatchedPath(value: value, path: path, state: state) }
  }

I don't follow this logic. unmatchedPath is simultaneously being used to mean different things. We have to decide whether it means:
(1) Disjoint paths
The unmatchedPath API should only be called after proving that the paths are disjoint. i.e. the unmatchedPath values are disjoint from the specified path.
(2) Incomplete path
Here "unmatchedPath" simply means "not fully matched". So it is indistinguishable from any call to leafUse with a non-empty path. In this case leafUse should only be called when the path is empty. It should not take a path argument at all.
index_addr
Why is index_addr treated as a cast? Until SmallProjectionPath supports indices, it needs to be a "leafOrUnmatched" case. Just like tail_addr.
switch_enum
It doesn't look like you handle the switch_enum case yet.
Bool return
When an API performs an action and returns a boolean. The return value should indicate whether the action was succesfull. That way code using the API can be read logically:
if doSomething() {
  // assume it was done and read the results
}

if !doSomething() {
  // bail-out here
  return false
}

(Some parsing APIs reverse this polarity, which is an abhorrent carry-over from C integer error codes. I can't imagine we would carry that practice over to Swift API. Do you know of any Swift APIs where 'false' indicates that the action succeeded?)
At any rate, SIL transformations all follow this convention for bailing out.
We also have many visitor patterns in the SIL code base. Here, a false return value always short-circuits graph traversal. So we have:
if visit(node) {
  // continue graph traversal
}

if !visit(node) {
  return false // bail-out of graph traversal.
}

Some visitor clients may combine the "unrecognized graph" condition with a "failed check" condition to avoid maintaining extra state. This is fine as long as false still corresponds to the condition that short-circuits graph traversal at an "unrecognized graph".
What is important here is that the sense of the returned boolean cannot change based on the how the client chooses to interpret the result of the traversal.
So if the walker is used underneath an API that checks for a negative condition, it would logically invert the result:
func isEscaping() {
  if !walkDown() {
    // if the walk did not complete, then the value conservatively escapes.
    return true
  }

Flipping the meaning of a boolean to suit whatever was "convenient" to the API implementer is actually an extraordinarily common source of bugs.
reflexivity
This is a silly thing to point out. But would it makes sense to define AddressDefUseWalker.walkDownDefault and
AddressUseDefWalker.walkUpDefault inside extensions back-to-back since they need to mirror each other?

@swift-ci test


implement create user form

Hi,
I try to implement a page for create new users. I want to add two fields for Password and Repeat Password Can you guide me. I use <TextInput source="password" type="password" validate={ required }/> for Password field but what about Repeat Password ?
Please help me to finish it.

The admin-on-rest core team doesn't provide support or advice on debugging your own project. We need to focus on writing documentation, fixing bugs, and adding new features.
Instead, we've decided to offload that charge to the community, by moving support to StackOverflow. Ask your question there, you will find helpful people (sometimes from the core team, too). Besides, the response to your question will be easy to find for future developers with a similar problem.
And once you get a response, please continue to hang out on the admin-on-rest channel in StackOverflow. That way, you can help newcomers and share your expertise.
http://stackoverflow.com/questions/tagged/admin-on-rest

OK man. I asked it there. 😉


BIN Files

Hello sir c
can you provide binaries please .Bin Files are in German can u do it in English too please

The binaries on the release page are in English & German language.

Thank you so much Sir Staff support only Works on Localhost What if i want to add IP ?

Thank you so much for the wonderful software it help me a lot Thankyou


MED conversion inverts cells

It seems that meshio inverts cells when converting from/to MED.
Here I attach an example. I first converted .msh to .med using meshio, then converted this by gmsh to .msh, and finally converted this back to .med by meshio.
The problem is obvious even from comparing the two gmsh-ascii files doublet-tet.1.msh and  doublet-tet.3-gmsh-med-meshio-msh.msh.

To clarify: When doing
msh --meshio--> med --gmsh--> msh

the input and output meshes are different?
I've tried
msh --meshio--> med --meshio--> msh

The raw data from the med file is
[2 2 4 3 3 4 1 5]

which corresponds very well with the input gmsh file
[...] 2 4 3 1
[...] 2 3 4 5

and here input and output are the same. It's possible that the med-"standard" prescribes that the cells be read and written in reverse order, but I doubt that. Perhaps a bug in gmsh then?

Yes, for the sequence msh --meshio--> med --gmsh--> msh, the input and output differs as I described. Optically the med and the final msh from this pipeline looks the same in gmsh. For msh --meshio--> med --meshio--> msh, input and output is indeed the same - I thought that the second conversion applies the same inversion, so inversion of inversion results in a proper mesh.
But it's true it still could be a bug in gmsh. And it's quite likely - I realise gmsh must do something nasty because the PETSc reader for gmsh inverts tetrahedra and hexahedra back - so gmsh could do the same with med. Your h5dump argument is quite convincing.
For gmsh conversion, I use
gmsh -1 file.msh -format med -o file.med

Nice job digging out the quirk in the PETSc reader.
Perhaps you can file a bug for gmsh here. Mark me (my ID is nschloe there as well) and see what comes out of this. Starting from your simple msh file, doing the conversion with gmsh and checking the result with h5dump should be convincing.


Change references from Swagger to OpenAPI

The previous PR somehow got out of sync, including extraneous commits.

Current coverage is 79.92% (diff: 67.50%)

No coverage report found for master at 8d45bd4.

Powered by Codecov. Last update 8d45bd4...06f518b


Add comments for device model, fix typos

Signed-off-by: Drasko DRASKOVIC<EMAIL_ADDRESS>

LGTM


I suggest the token checker support Python 3.8

I tried the Atom One Darker theme just to find that the walrus operator :=(an operator to allow you to make assignments in an expression, see PEP 572) is highlighted as 2 different colors. And I tried inspecting tokens and scopes, and found that : and = were treated as 2 tokens.

I hope that the token checker can support Python 3.8.

Moved to repo that owns the python grammar https://github.com/MagicStack/MagicPython/issues/204


Orbit module/sscweb: handle minimum request duration

sscweb REST API reject small requests, spwc module should ask more and return only requested range.

Fixed by b1c959e8a261dd685515f5558ddace53261d9487 .


remove imgui prefix from enums in plot.pyi

Well, the wheels fail on finding opencv headers...

Which is not important, the wheels are still to be repaired on this branch.

I’ll merge this tonight

do the check have to rerun before you can merge?


metadata property types

Right now the metadata describes a property type (string, int, etc) as a kind. This is a little overloaded with the concept of a Kind in datastore. Perhaps these could all be called type instead? Then metadata would look like:
registerKind('namespace', 'Author', {
    name: { type: STRING, indexed: false },
    tags: { type: STRING, multi: true }, // an array of string elements.
    favArticles: { type: KEY, multi: true }
    contact: {
        kind: {
          telephone: { type: STRING },
          email: { type: STRING }
        }
    }
});

@pcostell obviously, a lot has changed over the last 15 months. Is there anything for me to do here?

I don't think so. Did this metadata registration ever make it into the project?

Nope. In general, our library is pretty relaxed when it comes to types and validation and such. Beyond common utilities, we leave it to the user to create helpers where they make sense given their own projects and workflows. Then, where applicable, we let the API catch any errors from input mismatches.
Datastore is arguably the most complex API we support, so I can see how it could be valuable in this case, however. What do you think? Would the majority of codebases using Datastore benefit from this concept?

I think that would be more beneficial for a higher level, maybe 3rd party library. Or even some sort of adapter to an existing framework. I think keeping the gcloud API relatively simple is better.


Questions about some of the data in Table 1 of the paper

Hi @IDKiro ，thanks for your amazing and detailed work！I've been following your work on image dehazing since dehazeformer.
I have some questions about the data in Table 1 for PMNet (Tian Ye, Mingchao Jiang, Yunchen Zhang, Liang Chen, Erkang Chen, Pen Chen, and Zhiyong Lu. Perceiving and modeling density is all you need for image dehazing. In ECCV, 2022.).
First, I notice that paper of  PMNet reported their model's SSIM on SOTS-outdoor is 0.99, however, you reported that their model's SSIM on SOTS-outdoor is 0.985 in  your paper. So I'd like to know how you got this value, because I would also like to compare with them in my paper, but they give too few valid digits for the results.
Secondly, I found that you reported the MACs and latency of PMNet in table1, but after I downloaded the model from their github repository, I found that the model can only process images with size of 400 * 400, so how did you use the model to get the overheads on 256 * 256 images?
Looking forward to your reply!

I'm friends with one of PMNet's authors, and I don't know why they don't open the source code in full, but I've asked him about performance issues.
I will delete this issue in a few hours, considering it is not an issue with this repo.

I'm friends with one of PMNet's authors, and I don't know why they don't open the source code in full, but I've asked him about performance issues. I will delete this issue in a few hours, considering it is not an issue with this repo.

thanks for your replying! It helps me a lot.


Migrated VPN watcher to CloudAux

Migrated VPN watcher to CloudAux to fix issues, and also updated the celeryconfig.py to include the timezone to address bugs with Celery.
Also bumped up CloudAux version to 1.4.6.

Coverage increased (+0.1%) to 71.477% when pulling a15f0291456c6c6d24f9daebfe9e5aaf499fc5c0 on mikegrima:vpnfix into de4e0595c13b1f341b3c6271a4767ce162a4e034 on Netflix:develop.


suppresses exceptions of type ClassNotFoundException

I have a situation where response returned after Restful call includes a breaking change. Due to this call to SyncFailsafe.get fails silently (I had fallback setup).
After debugging for sometime, I noticed that SyncFailsafe.fallbackFor ignores the exception message.
In case of exception being other than FailsafeException, should we log it so that we don't miss it out?
class SyncFailsafe .. {
...

private <T> T call(Callable<T> callable) {
...
if (fallback != null)
          return fallbackFor((R) result, failure);
 throw failure instanceof FailsafeException ? (FailsafeException) failure : new FailsafeException(failure);
....
}
...
  @SuppressWarnings("unchecked")
  private <T> T fallbackFor(R result, Throwable failure) {
    try {
      return (T) fallback.apply(result, failure);
    } catch (Exception e) {
      throw e instanceof FailsafeException ? (FailsafeException) e : new FailsafeException(e);
    }
  }

Looking at the code, its obvious that the exception suppression happens when fallback doesn't throw any exception.

That's right. It's up to the fallback implementation to decide how to handle the exception. This is the intended behavior and follows precedent set by other "Try" monad implementations elsewhere, such as Scala's.
You might look at using one of the withFallback methods that takes a function, so you can choose to re-throw any exception if you want:
http://jodah.net/failsafe/javadoc/net/jodah/failsafe/FailsafeConfig.html#withFallback-net.jodah.failsafe.function.CheckedConsumer-

Thank you for your prompt response.
Noticed that the Consumer you suggested doesn't get Throwable.
Only CheckedBiConsumer (as below code from Functions.java) receives Throwable:
static <T, U, R> CheckedBiFunction<T, U, R> fnOf(final CheckedBiConsumer<T, U> consumer) {
    return new CheckedBiFunction<T, U, R>() {
      @Override
      public R apply(T t, U u) throws Exception {
        consumer.accept(t, u);
        return null;
      }
    };
  }

Do you recommend using CheckedBiConsumer in case I need to receive exception?

I'm not sure what you mean by not getting Throwable. There are several withFallback methods that can handle a Throwable, and any of them should work for you.

"consumer.accept(t, u);" is really passing back the 't' param whereas other fnOf variants don't do that. I might be wrong but this is what I got and it solves my problem.
thank you @jhalterman for your prompt response. I'll close the issue.


Payload camera on off

This PR enables the turning on and off of a camera that is interfaced via a Seagull MAP2 adapter chip.
Whenever trigger mode is set to mission controlled, turn-on signal will be sent once triggering gets enabled. Upon disabling, also the camera is turned off. Does not have an effect on other trigger modes.
Specifically designed for and tested with the Sony QX1.

@birchera do you know how fast you can trigger photos with the QX1 and MAP2? I'm trying to trigger with CAMRemote V2 but only achieve roughly 1 FPS.

@AndreasAntener same with the MAP2, with more than 1fps images get skipped. But I think this rather depends on the camera side, the settings for focus and so on.
@LorenzMeier could you review this PR and let me know if you require further changes? We fly with this for a while now and it works reliably.

@birchera yeah, I cannot get it any faster, even with AF disabled and the lowest quality. The continuous shooting mode is faster however, around 2.5 FPS. Have you thought about using that and record the location data on feedback from the camera?

Burst mode of the QX1 should even give you 3.5fps, but I think you cannot enable it, nor the continuous one from the MAP2.
What do you mean with feedback from the camera? I am not aware that with this kind of camera you get any. Unfortunately..

One option: https://community.emlid.com/t/hacking-the-sony-qx1-for-output-trigger-external-flash/2647
But otherwise... I pinged the guy from CAMRemote hoping it would be exposed via the Multi-Interface protocol.

Rebased and applied.


Feature request: Allow for randomizing the seed

I want to be able to set the seed to -1 like I can in the A111 webui (and forge) to get a random seed for each generation.

I also want random seed option by default. Changing seed each time is annoying.


[bounty] $150 make embedded LLM feature works on windows and linux

i created a new feature which allows you to run ollama, embedded in screenpipe, in a click, so there is no need to worry about running an LLM yourself and also to power some new features i'm thinking of + less friction with pipes
atm it works on macos but windows and linux seems to have bunch of files (like always) so just need to move these during build time correctly
i guess to resources tauri folder
https://github.com/mediar-ai/screenpipe/blob/main/screenpipe-app-tauri/scripts/pre_build.js
https://github.com/mediar-ai/screenpipe/blob/main/screenpipe-app-tauri/src-tauri/tauri.windows.conf.json
https://github.com/mediar-ai/screenpipe/blob/main/screenpipe-app-tauri/src-tauri/tauri.linux.conf.json
also if this works, i'm guessing it would solve our CUDA issue, meaning everyone will have CUDA-enabled whisper etc without having to worry about installing those files

definition of done:

[ ] release-app.yml builds on windows with ollama installation in pre_build.js
 (currently commented out)
[ ] release-app.yml builds on linux with ollama installation in pre_build.js
 (currently commented out)
[ ] windows users can enable and start and stop the LLM sidecar through the UI, it works (this is already done, just need to remove the "macos" if)
[ ] linux users can enable and start and stop the LLM sidecar through the UI, it works (this is already done, just need to remove the "macos" if)

to be clear this is mostly fixing the pre_build and testing it works on these OS, the pre build is currently downloading ollama from releases, and moving files to the app, but need to properly move the libs to the resources
/bounty 150

/attempt #507

PS: if necessary i can split into two bounties if you can only do one OS

Sure

@varshith257 can i know currenlty you are working on which os?

@Abiji-2020 Thanks for in! I have worked on both just a few quick fixes and will wrap up the work

@Abiji-2020 Thanks for in! I have worked on both just a few quick fixes and will wrap up the work

oh okayy

/attempt https://github.com/mediar-ai/screenpipe/issues/507

/attempt #507

@louis030195 Do I submit  a new PR or should I collaborate on @Neptune650 PR?

@louis030195 I apologize, but wasn't it listed as $150?

/tip $50 @Neptune650
sorry didn't see the bounty was incorrect

/tip $50 @Neptune650
sorry didn't see the bounty was incorrect

Much appreciated!


organize / reorganize Topics of the Development part

By  the PR fixing
https://github.com/Open-MSS/MSS/issues/719
we now have a lot more Level 1 Topics in our documentation.
The documentation is both for new users and also developers.
The list of main topics (first level) should be short.
All development related documentations have to be in the section Development. May be they can be grouped or sorted into that section.
The current state is:

That needs to become improved

We also have a few redundant parts now, as well as inconsistencies.
Setting up a local environment does not talk about conda, nor about installing MSS dependencies.
Both Setting up local environment and Setting up development environment essentially try to convey the same information and do it differently.
I would suggest merging these two sections together and combining their information.


Add dragging events to map

Continues #1147
@SebastianM let me know what do you think

Hey, @SebastianM!
What is the status of this PR? Do you think it would be merge soon? Thank you :)

+1 !

👍

@SebastianM there is a point to keep this PR updated?

@SebastianM Can we get this PR merged in or commented on to have further progress? dragEnd listener is a must!

Any news on this?

Any news on this feature ? Needed !


Remove unreleased_features_flag for collections

What
Remove the env var set in Puppet which triggered whether the Cost of living page was shown on each environment.
Why
This is un-used code and we should tidy up.
How
Revert PRs:

https://github.com/alphagov/govuk-puppet/pull/11781
https://github.com/alphagov/govuk-puppet/pull/11786

Trello

@leenagupte has pointed out we can leave this in.


Add basic drawing commands to the window

Adds support for:
SDL_RenderPresent
SDL_RenderClear
SDL_SetRenderDrawColor
SDL_RenderFillRect
SDL_RenderDrawRect
SDL_RenderDrawLine
SDL_RenderDrawPoint
When running the 2d-renderer.test.js test I added, or any other test I get the following error when I quit:
/Users/justinzaun/Development/node-sdl/src/javascript/cleanup.js:29
        Bindings.cleanup()
                 ^

TypeError: Bindings.cleanup is not a function
    at process.<anonymous> (/Users/justinzaun/Development/node-sdl/src/javascript/cleanup.js:29:11)
    at process.emit (node:events:513:28)
    at process.exit (node:internal/process/per_thread:190:15)
    at maybeTriggerQuit (/Users/justinzaun/Development/node-sdl/src/javascript/events/quit.js:17:10)
    at Window.destroy (/Users/justinzaun/Development/node-sdl/src/javascript/video/window.js:387:3)
    at Timeout.handleEvents (/Users/justinzaun/Development/node-sdl/src/javascript/events/index.js:107:36)
    at listOnTimeout (node:internal/timers:564:17)
    at process.processTimers (node:internal/timers:507:7)

If I caused this error, can you please explain how? I'm still learning how to create native node modules.

@zaun Thanks for your PR!
Regarding the error you get, look in bindings.cpp for the line that says...
CALL_NAPI(napi_define_properties, exports, 49, desc);

...and change 49 to however many functions you are exporting now. Otherwise the last few functions get missed. Looks ok otherwise.
I am, however, hesitant to include your changes. My goal is to keep the project as bare-bones as possible and only provide bindings for stuff that can't be achieved in pure javascript. I am, for example, not including the parts of sdl2 that deal with files and threads as node.js already provides all that. I also recently had to reject a feature request for the sdl timer functions for similar reasons: https://github.com/kmamal/node-sdl/issues/5. In the case of drawing functions, I think that I would prefer using the canvas library for drawing in js the same way one would use the cairo library with sdl2 to draw in c++. My reasoning is that 1) the drawing functions in sdl2 are way too basic 2) the canvas api is very familiar from use on the web 3) the performance penalty is acceptable.
Let me know if you think otherwise on any of the above.

@kmamal - Thanks for the napi_define_properties info.
As for bare-bones, thats fine. This was mostly learning for me, and just thought I'd pass it on. I'm currently using node-canvas but it seems sluggish after a point so I may play a little with textures and blitting.


$router.push aborted for unknown reason

Version
3.0.6
Reproduction link
https://jsfiddle.net/72rkon0v/
Steps to reproduce

Click the "Redirect 1" button. The redirect does not happen and "redirect1 aborted" is logged in the console
Important: Rerun the fiddle
Click the "Redirect 2" button. The redirect does happen and "redirect2 completed" is logged in the console
Then click "Redirect 1" button. The redirect once again does not happen and "redirect1 aborted" is logged in the console.
If you now click "Redirect 2" again(which worked previously) it won't work now without rerunning the fiddle.

What is expected?
Clicking the "Redirect 1" button should redirect to /foo?page=2
What is actually happening?
Clicking the "Redirect 1" button does nothing

$route.query is read only, so you are not creating a different query. You need to do
const query = Object.assign({},
      	this.$route.query,
        {page: 2}
      );

the navigation then fails because you are navigating to the exact same location

Thanks!


Unable to get source jars for sbt metabuild.

problem
In Metals users are able to get sbt file support by us creating a bsp connection with Bloop for the meta-build.
Starting with 1.4.3 we started seeing CI failures as you can see here where the symbols needed were missing. After digging a bit, it seems that all of the source jars that are normally gathered into the meta-build bloop file are missing. I've included a diff of a minimal projects meta-build bloop files here to illustrate. On the left hand side is a 1.4.2 metabuild and the right side is a 1.4.5 metabuild. As you can see in the right, all of the source jars under the resolutions are missing.
I am assuming that this has something to do with https://github.com/sbt/sbt/pull/6085 since that's the only change that seems close to being related between 1.4.2 and 1.4.3 that would cause this. Reading through the commit and the linked issues it's still a bit unclear to me how to fix this so that sbt-bloop correctly gets all of the desired source jars. I'm also unsure if this would just be a change we need to make in sbt-bloop or something else. So any pointers or confirmation about what we are seeing would be fantastic.
Steps to reproduce

With metals, using Bloop as a BSP server, make sure your project has sbt >= 1.4.3 and import your build. After the build is importing, attempt to go to a key by navigating to it like you normally would
See error about no definition found (since the source can't be found by Metals)

expectation

I'd expect for sbt-bloop to still contain all of the source jars so that navigation in sbt file works while using Metals.

notes
Again, please let me know if this is actually more of an sbt-bloop issue that we need to sort out. I have taken a look there, but it wasn't incredibly clear to me what would need to change to achieve this based on the changes I see in the pr I linked. Or, I may be completely missing the core issue of what is happening. Let me know if you need anything else or how I can help.

It seems that when using updateSbtClassifiers we no longer get sbt artifacts when invoked inside the plugin. I think it's due to the fact that they are indeed excluded. That change @ckipp01 pointed out seems to be the reason indeed.
I works when I add:
Keys.reresolveSbtArtifacts := true


GridFS + Mongoose

Its possible use with "Mongoose", instead of "mongo" module?
Thanks.

@CodersBrothers Did you try putting the gridform.db and gridform.mongo lines inside the conn.once callback?


change host address (doesn't work on Windows)

npm run dev doesn't work for me (Windows). <IP_ADDRESS> looks good.
also https://en.wikipedia.org/wiki/<IP_ADDRESS> says "<IP_ADDRESS> is a non-routable meta-address used to designate an invalid, unknown or non-applicable target"

See webpack dev server docs https://webpack.js.org/configuration/dev-server/#devserverhost
Not sure why it’s not working on windows. When you change it to a specific IP address (as you have done) it will only serve from that IP address, which is a good work around, but shouldn’t be checked in as it is specific to your network setup.

See webpack dev server docs https://webpack.js.org/configuration/dev-server/#devserverhost
Not sure why it’s not working on windows. When you change it to a specific IP address (as you have done) it will only serve from that IP address, which is a good work around, but shouldn’t be checked in as it is specific to your network setup.

They are similar to me.. as I could figure out <IP_ADDRESS> points out at the same machine while <IP_ADDRESS> at all network or even serves like a "wrong reserved address". I don't remember specifics, might be wrong :roll_eyes: All I can say for sure, it doesn't work for me)


⚡ Optimize Sort further

Some stuff I've considered:

Radix sort.
Not really very generalizable to large numbers.
Need O(n) auxillary space for the straightforward implementation,
which can cost more gas if the array is big (cuz of EVM's quadratic memory expansion costs)

Sorting networks.
Comes with a tradeoff.

This sample code is 3rd fastest compared to le wild submissions on https://g.solidity.cc/.

First submission uses radix sort, which works well for small numbers and medium sized arrays
(maybe create two different kinds of sorts and let the user pick the one that best fit their case?)
It also uses a bit of sorting networks.

Second submission uses sorting networks and jumps.
But this comes at a cost of big bytecode size, like 5x more lol.
Also, we can't do jumps now.

If you have any suggestions, comment / make a PR, or DM me on Twitter.
If we can cut the gas down by another 50%, many on-chain possibilities can be unlocked.

Todo:

Convert Lomuto partitioning to Hoare partitioning.

Todo: make a benchmark that with non-uniformly distributed numbers.

One idea that may be worth is to use pre-process the array with a bucket sort.
Abuse staticcall(gas(), 4, start, size, 0, 0) to make a copy of the array in the inter-dimensional void, and use returndatacopy to fetch elements in the bucket counting loop.
However, returndatacopy has three arguments, which makes it heavier than calldataload or mload.
Hmm...


Connector (ver. 1.0.0-beta.46+1.20.1) doesn't seem to work on Linux (!Pop_OS 22.04)

Minecraft version
1.20.1
Describe the bug
Connector (ver. 1.0.0-beta.46+1.20.1) doesn't seem to work on Linux (!Pop_OS 22.04 LTS)
Steps to reproduce

Install Steampunk [LPS] - 1.20 Update from CurseForge on !Pop_OS 22.04 LTS using PrismLauncher
Launch Steampunk instance

Logs
https://gist.github.com/DabGias/9333ec0c8faa3538e2343747835cfafd
Additional context
The game seems to crash after trying to render a mod related to AAAParticles. In my case it crashes and presents these mods: [eldritch_end, aaa_particles, betterend, wunderlib, bclib], as these mods are Fabric mods. After removing the mentioned mods, the game runs without any crashes, but after clicking on "Singleplayer" Minecraft instantly crashes. I tested The Pixelmon Mod 1.16.5-9.1.12 (from CurseForge) and worked fine, so I guess the problem isn't related to my launcher. My friends can run the game with no issues on Windows. I didn't test any other modpack with Connector. After installing the AAAParticles mod the error doesn't pop up anymore, but the game still crashes with other errors.

Please post the full log

Please post the full log

just updated the log, after some review it seems like its a problem related to glibc. After some research it looks like to be a problem with my glibc and OS version.


Could not find a lambda deployed in this stage/region

when I go into a jaws project directory and run jaws dash after creating the greetings hello endpoint successfully, it gives me

Select Resources To Deploy
undefined/undefined
L) l
E) /greetings/hello - GET

Deploy Selected -->
AWS: -------------------------------------------
AWS:  Dashboard:  Deploying Lambdas...
AWS: -------------------------------------------
AWS: No selected Lambdas to deploy.
AWS: -------------------------------------------
AWS:  Dashboard:  Deploying Endpoints...
AWS: -------------------------------------------
AWS: Endpoint Deployer:  Deploying endpoint(s) to region "us-west-2"...
AWS: Endpoint Deployer:  "dev - us-west-2": found 1 endpoints to deploy
AWS: Warning: JAWS could not find a deployed Cloudformation template containing
lambda functions.
[JawsError: Stack with id dev-wl-Exebx-l does not exist]
name: 'JawsError',
message: 'Stack with id dev-wl-Exebx-l does not exist',
messageId: 1 }
AWS: Endpoint Deployer:  "dev - us-west-2": created a new REST API on AWS API G
teway with ID: sfmwggs6st5rk
AWS: Endpoint Deployer:  "dev - us-west-2": found 1 existing resources on API G
teway
AWS: Endpoint Deployer:  "dev - us-west-2 - greetings/hello": created resource:
{ [JawsError: Could not find a lambda deployed in this stage/region with this fu
nction name: l]
name: 'JawsError',
message: 'Could not find a lambda deployed in this stage/region with this func
tion name: l',
messageId: undefined }

The reason I created it in us-west-2 is because I created a stack and deleted it back in us-east-1, after that it's impossible to create any more stacks on us-east-1 as it will say ROLLBACK_COMPLETE, even for brand new stacks.
So I tried to do it all over again on a different region, us-west-2, yet the same results.
I really think JAWS is ground breaking stuff, can't wait to see it up and running.
Thank you!

I think I fixed a similar issue by deleting all JAWS created Cloudformation stacks...

well I went into CF and deleted everything but it somehow keeps coming back.

So it seems to have an issue with the lambda function name, it's supposed to be 'lGreetingsHello' as opposed to 'l'. In my little experience with JAWS, that name comes from the handler path in the relevant awsm.json:
      "Description": "",
      "Handler": "aws_modules/greetings/hello/handler.handler",
      "MemorySize": 1024,
      "Runtime": "nodejs",
      "Timeout": 6
    }```

any idea why it's I and not the full function name?

Whats your handler path in 'aws_modules/greetings/hello/awsm.json'? it should be as above if you just created it with jaws module create... it's an 'L' BTW, prefix for Lambda I'm guessing so all function names have that prefix...

"Handler": "aws_modules\greetings\hello\handler.handler"

That 'undefined/undefined' is also supposed to be 'greetings/hello'
Hmmm, backslashes... could be a platform specific bug in JAWS. Unfortunately I don't have access to a Windows environment to test this. A wild wild guess would be try changing the backslashes to slash and see if that makes any difference?

didn't make any difference. same 'undefined/undefined'
Could this be an issue with running jaws on windows 7?

No ideas TBH, if you look in project issues there seems to be one or two other issues around the handler path in Windows so I'm guessing it might be still a work in progress...
https://github.com/jaws-framework/JAWS/issues/235, https://github.com/jaws-framework/JAWS/issues/217

I am trying to do this on Ubuntu and I'm still getting this issue https://github.com/jaws-framework/JAWS/issues/258
Not exactly as smooth as advertised but I know this is still work in progress. I'm going to stop for the day as I've got nothing done just wrestling with getting the basics running.

I had a smoother experience over the weekend, starting from scratch got some basic CRUD API up and running and installed and deployed the 'awsm-users' module as well. But yes, this is still very new and a work in progress and my experience wasn't problem free either...
I ended up with a similar CF issue at some point after fiddling with project structure, all I remember on how that was eventually fixed is deleting the CF stacks and perhaps the lambda functions and the API gateway endpoints as well.

okay well I don't think I can continue because I can't get past the first few steps. I've tried on a different machine, the result is same.
Since running JAWS, It's now impossible to create any CF on us-east now and no idea how to debug.

I made sure I used a unique region and unique name. so the project I created on windows 7, if I use that name again, the problem will happen.
greetings/hello API call worked.
My solution: just create a new unique project name and don't use win 7

On Windows, you seem to need to fix the backslashes before deploying:
Create the module:
jaws module create terry hello
Edit terry/hello/awsm.json and change double backslashes to a single forward slash, e.g.:
"Handler": "aws_modules/terry/hello/handler.handler",

instead of
"Handler": "aws_modules\\terry\\hello\\handler.handler",

Deploy using  jaws dash

Dupe of #217, fixed by #219.

@terry-permeance I had tried just that much earlier but did not work.


make sure literal host ports are processed correctly

A few things to fix ports/params with docker:

Make sure any port with a LITERAL mapping also gets added to the mesos Resources when building the task
Verify during doesOfferMatchResources that any requested literal host ports are present in the offer
Add a scheduler test for port resources
Make sure docker params make it onto the mesos task definition and add a MesosUtilsTest assertion for this and the literal ports

/fyi @chrisbrewer @wsorenson

@tpetr this should be gtg, thoughts on merging?

@tpetr added the JsonIgnore, this should be good now

LGTM


Bugfix/update change logs for legacy rpcs

Description
Updating changlog

Already covered here in the rc branch https://github.com/spatialos/UnrealGDK/pull/2784/files

Already covered here in the rc branch https://github.com/spatialos/UnrealGDK/pull/2784/files


feat: allow for ignoring types

BREAKING CHANGE: TypeMatchesPatternSpecifier's signature has changed

#407  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @RebeccaStevens and the rest of your teammates on  Graphite


Pagination does not change pointer on hover

When mouse is over a valid page number in pagination, the mouse cursor should change to pointer to indicate that the button is clickable.

Tested on dev17. Mouse cursor changes to pointer on pagination now.


Update eo to 0.46.0

Details
The EO 0.46.0 is available (https://github.com/objectionary/eo/releases/tag/0.46.0).
Subtasks

[ ] Update the eo submodule to the 0.46.0 tag
[ ] Find out which home tag should be used. Currently, 0.41.1 is used https://github.com/objectionary/eo-phi-normalizer/blob/d80d8b9abe4a3b796d34cdba4ca40af7453a2088/scripts/lib.sh#L186

@yegor256, which --home-tag should be used with EO 0.46.0?

@deemp it's always better to use the same --home-tag as the version you use in the --parser option


Not able to use openapi.yaml for clicky-chats as a tool when executing gptscripts.

Steps to reproduce the problem:

Have a clicky-chat app running locally . Have assistants created and chat with assistants.
Runt the following gptscript to list all assistants

Tools: http://localhost:8080/v1/openapi.yaml

List assistants

Following error is seen:
17:06:17 started  [main]
17:06:17 sent     [main]
         content  [1] content | Waiting for model response...2024/04/09 17:06:18 error, status code: 400, message: Invalid schema for function 'createFineTuningJob': True is not of type 'number'.

openapi spec for clicky-chat - clicky-chat.txt


One more thing that kitematic helps with

Signed-off-by: Sven Dowideit<EMAIL_ADDRESS>

Changes Unknown when pulling 0645b134980fc2421fe521762b7f1b7a9c56cdf4 on SvenDowideit:we-also-install-the-docker-client into ** on kitematic:master**.

LGTM


[Component] Slider

@LouisBorleeAdevinta here are my comments/questions :

I know you had a discussion with Jere about adding a border to pressed state but I cannot see the result of this discussion in the specs, so we should either update the specs or update the component for consistency

question : is the isContinous option working ? When I select it, the slider does not seem to be continuous

I wanted to test Slider after rotation but, once I rotate the phone, I cannot scroll down. That's weird, WDYT ?

question about a11y / dynamic types : the slider's size does not evolve with dynamic types, do we consider it's ok ?

slider seems to be always fullWidth : is it possible for users to change that ?

note : I couldn't test composability since there the demo app does not include the possibility to add blocks around the component

note : this ticket does not include range slider

@LouisBorleeAdevinta here are my comments/questions :

I know you had a discussion with Jere about adding a border to pressed state but I cannot see the result of this discussion in the specs, so we should either update the specs or update the component for consistency
question : is the isContinous option working ? When I select it, the slider does not seem to be continuous
I wanted to test Slider after rotation but, once I rotate the phone, I cannot scroll down. That's weird, WDYT ?
question about a11y / dynamic types : the slider's size does not evolve with dynamic types, do we consider it's ok ?

5. slider seems to be always fullWidth : is it possible for users to change that ?

6. note : I couldn't test composability since there the demo app does not include the possibility to add blocks around the component
7. note : this ticket does not include range slider

Validated by design team
It is working, it's the logs in the xcode console
Fixed
Slider doesn't change, same as apple
it is
It does now
Range slider is not in the pipe right now but will arrive later :)

@LouisBorleeAdevinta all good about the previous question.
I noticed a new bug though ! On UI kit only, clicking exactly on the track does not allow user to move the handler. You must click outside the track (see video below)
https://github.com/adevinta/spark-ios/assets/142396647/4f8269c9-739f-427c-ad3d-96ed68f1e61b

Ok bug fixed by @LouisBorleeAdevinta  ✅

@JeremiasUX : Slider (UI kit & swift UI) is available for design review 🥳
Branch's name : 204-component-slider

Looks good to me!
@elisa-hery is this already approved by you?

@JeremiasUX it is, i'm moving it to RFP !


Residuals

In terms of model diagnostics, what diagnostics can be run for these models? Are the residuals an option to this, and if so, how can we define the residuals?
As Douglas said:
"As for residuals, like many other properties of mixed-effects models, you need to be careful how you define them.  You need to decide if the random effects are included in the fitted values or not. Perhaps it is better to define a fitted method for LinearMixedModel, which can then be the basis of a residuals method."

Any news on this?

I have added fitted and residuals methods for LinearMixedModels in #62
These are defined using the fixed-effects and all the random effects for fitted and residuals is simply the difference between model_response(m) and fitted(m).  So I am taking the simplest approach here.

Thanks. This is great.


B 20072 int

B-20072
Summary
This task allows SC with the supervisor privilege (non-supervisor SC will retain the old filter) access to a typeahead multiselect for the origin duty location table. This dropdown contains all duty locations that are currently available in the queue they are viewing.
I ended up having to use OrderFetcher to return the duty locations for the dropdowns due to the number of filters that are applied, and number of joins required, on the query to determine which moves are shown in a users queue. The other options was to recreate most of this query, and several associated functions, in a separate location_fetcher. After discussion with another dev it was decided that the amount of duplication required would be a worse option.
Verification Steps for the Author
These are to be checked by the author.

[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] Have the Agility acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

[ ] Has the branch been pulled in and checked out?
[ ] Have the BL acceptance criteria been met for this change?
[ ] Was the CircleCI build successful?
[ ] Has the code been reviewed from a standards and best practices point of view?

Setup to Run the Code

Instructions for starting storybook
Instructions for starting the MilMove application
Instructions for running tests

How to test
Prior to applying the Supervisor attribute in the user privileges table:

Access the Office application
Login as a Service Counselor
Verify you do not have access to the new Typeahead Multiselect filter for Origin Duty Location

After giving the user you plan to use for testing the Supervisor attribute in the user_privileges table:
SQL to add:
INSERT INTO public.users_privileges VALUES (your userId here, '463c2034-d197-4d9a-897e-8bbe64893a31', '1d32fa97-b103-4386-9fec-2b3282ceb1be', '2018-03-27 15:01:23.020914', '2018-03-27 15:01:23.020914', null);

Access the Office application
Login as a Service Counselor
Select an option from the Origin Duty Location filter
Select another option from the Origin Duty Location filter
Type into the Origin Duty Location filter and verify typeahead is working

Frontend

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, Edge).
[ ] There are no new console errors in the browser devtools.
[ ] There are no new console errors in the test output.
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.
[ ] This change meets the standards for Section 508 compliance.

Backend

[ ] Code follows the guidelines for Logging.
[ ] The requirements listed in Querying the Database Safely have been satisfied.

Database
Any new migrations/schema changes:

[ ] Follows our guidelines for Zero-Downtime Deploys.
[ ] Have been communicated to #g-database.
[ ] Secure migrations have been tested following the instructions in our docs.

Screenshots

Warnings

:warning:
This PR does not include changes to storybook, even though it affects component code.

  Generated by :no_entry_sign: dangerJS against 6f97cac59fa5377cb676cc23f201fae179572d34

No typeahead for SC with no supervisor role

Present for SC with supervisor role


Similar library for iOS

Is there similar library for iOS in swift / Objective C which has similar features of Jose4J

https://github.com/airsidemobile/JOSESwift


run goldbot on openshift.com with our latest origin-s2i-images

Motivation:
To have something running with our latest updates related with: roi, fidelity, opossum, origin-s2i-nodejs.

error: build error: image "bucharestgold/fedora-nodejs@sha256:cef4d73d13f72c2e3da0fe9f9b54f83bd0c86937a28e2a3f604bcd8cf9ce2f14" must specify a user that is numeric and within the range of allowed users

same error using the latest origin-s2i-nodejs version

progress using the centos7-s2i-nodejs:

So, goldbot running but not possible to connect into irc because passwd is required.
but I'll close this issue btw since whas success to deploy on openshift.com

After login run this:
oc new-app bucharestgold/centos7-s2i-nodejs:7.10.0~https://github.com/bucharest-gold/goldbot --name goldbot


[Bug]:UI responsiveness

What happened?
While examining the web interface on various devices, I've noticed a significant issue in terms of responsiveness. Specifically, the problem exists on the right-hand side container of the page which seems to go out of bounds when viewed on certain screen sizes or devices.
Expected result:
The content of the page should adjust according to the screen size, allowing users to view and interact with the entire content within the bounds of the screen without having to scroll horizontally. All containers should fit within the viewport width.
Actual result:
The right container does not resize properly. As a result, part of its content extends beyond the visible screen bounds.
Add screenshots
Screenshot on desktop screen size (768 x 814)

Possible cause:
There might be CSS styling issues causing the right container to not resize appropriately on smaller screens, but further investigation is needed to ascertain the exact root cause.
Impact:
This issue affects usability on certain devices, potentially hindering user interaction and overall user experience.
What browsers are you seeing the problem on?
Chrome, Microsoft Edge, Brave
Record

[x]  I want to work on this issue

Let me see if i can fix that!

Hello, I would like to work on this issue.

Is this issue still open?

Is this issue still open?

yes it is still open, you can fix and submit a PR request.

I think so this solve the issue i flex wrap the "flex flex row" div and now the content is adjusting according to screen size

@CedricNdong  Is anyone currently working on this? If not, would you be able to assign it to me so that I can try to solve it?

could you ple assign me this issue

Hello @Jyoticharan @SAMI-THAKUR @udaySuryaP of course!  You can Work on it and create a PR.

Hey,
Is this issue still open ?
I would like to solve the issue

link of the repository

Hi @CedricNdong maybe PR #611 fixed this issue

Is this issue still open, If it is can I start working on it?

Aayush

@CedricNdong is this issue still open?

@CedricNdong this thing is already fixed can you please mark this as closed


Exporting NLA composition doesn't work correctly

I am testing the NLA to group animation tracks, but its not working as expected.
I have done three cases:
Two actions in the same NLA track

In this case, the exporter doesn't generate any animation
Two actions in different tracks with different name:

In this case, I get two different animations in glTF. One containing the CubeAction and Cube.001.Action and another one containing the CubeAction.002. As expected
Two actions in different tracks with same name:

In this case, I get one single animation and everything is correct
Two actions in different tracks with same name but starting at different time:

In this case, I get one single animation in glTF, but both start at the same time.
I would expect the exoprter respect what is defined in the NLA. Maybe we could add a "use_nla_composition" option to the exporter, and if that is on, export the animations taking into account the delays that are defined in the NLA.
Otherwise, when you have hundreds of animations that must be synchronized, its a huge task to synchronize them in the glTF player.

More discussion in https://github.com/KhronosGroup/glTF-Blender-IO/issues/763. I think we agree that NLA composition should be exported — I don't even think it needs an option but should be done by default. The problem is that this is not trivial to do, see discussion in that thread.

I think the approach that was discussed in #763, namely baking the animation is probably the right one here as well. Another quick workaround might be to just increase the length of the Cube.001Action by padding it infront with a null action (same pose as at the start but just a keyframe thats way sooner).


Wallpaper time change function issues

awesome v4.1 (Technologic)
 • Compiled against Lua 5.3.4 (running with Lua 5.3)
 • D-Bus support: ✔
 • execinfo support: ✔
 • xcb-randr version: 1.5
 • LGI version: 0.9.1

I copied the same code for the wallpaperChanger and replaced the set_wallpaper function into my rc.lua. I made the wallpapers array like so:
local function set_wallpaper(s)
    local hr = tonumber(string.sub(os.date("%R"), 1, 2))
    if hr >= 0 and hr <= 4 then --night
        gears.wallpaper.maximized(wallpapers[4], s, true)
    elseif hr >= 5 and hr <= 8 then -- morning
        gears.wallpaper.maximized(wallpapers[1], s, true)
    elseif hr >= 9 and hr <= 15 then -- day
        gears.wallpaper.maximized(wallpapers[2], s, true)
    elseif hr >= 16 and hr <= 18 then -- evening
        gears.wallpaper.maximized(wallpapers[3], s, true)
    elseif hr >= 19 and hr <= 23 then -- night
        gears.wallpaper.maximized(wallpapers[4], s, true)
    end
end
local wlpr_timer = timer({timeout = 60})
wlpr_timer:connect_signal("timeout", function() set_wallpaper(1) end)
wlpr_timer:start()

theme/alage/wallpapers is my directory for my wallpapers that I want to use
wallpapers = {
    config_path.."themes/alage/wallpapers/morning.png",
    config_path.."themes/algae/wallpapers/day.png",
    config_path.."themes/algae/wallpapers/evening.jpg",
    config_path.."themes/algae/wallpapers/night.jpg"
}

This however caused an error: INVALID_MATRIX in the wallpaper.lua file
Did you ever encounter this error? If so, how did you solve it?
If not, any ideas on how to fix it?

I'm sorry... just looked at the logs. I put the wrong extension and so it couldn't find the file. Hence the error.
Great work!


Fix windows incompatibility with /tmp

What type of PR is this?
/kind bug
What does does this PR do / why we need it:
The purpose of the pr is to make /tmp compatible for All supported OS
Which issue(s) this PR fixes:
Fixes #3246
How to test changes / Special notes to the reviewer:
The changes should work for all the platform.

Flake https://travis-ci.com/github/openshift/odo/jobs/340436251#L594 already covered in https://github.com/openshift/odo/issues/3122.
Restarted the job

/retest

Failure mentioned in comment
/retest

prow failure
/retest

/approve

Tests are failing with following error:
 Test Suite Passed
+ make test-operator-hub
ginkgo  -randomizeAllSpecs -slowSpecThreshold=120 -timeout 7200s -nodes=1 -focus="odo service command tests" tests/integration/operatorhub/
Failed to compile operatorhub:
# github.com/openshift/odo/tests/integration/operatorhub [github.com/openshift/odo/tests/integration/operatorhub.test]
tests/integration/operatorhub/cmd_service_test.go:132:30: undefined: os
Ginkgo ran 1 suite in 2.124275347s
Test Suite Failed
make: *** [test-operator-hub] Error 1
2020/06/01 06:30:04 Container test in pod integration-e2e failed, exit code 2, reason Error
2020/06/01 06:44:49 Copied 178.39MB of artifacts from integration-e2e to /logs/artifacts/integration-e2e
2020/06/01 06:44:49 Releasing lease for "aws-quota-slice"
2020/06/01 06:44:49 No custom metadata found and prow metadata already exists. Not updating the metadata.
2020/06/01 06:44:50 Ran for 2h0m22s

The cause is:
tests/integration/operatorhub/cmd_service_test.go:132:30: undefined: os

This is happening in spite of os module being imported in the mentioned file.
Another thing I've observed is that this PR is based on somewhat old version of master. If it makes sense, can we rebase it so as to be sure that we're not debugging against the outdated code?
I'll remove the lgtm label so that re-test triggers are stopped.