-e REALTIME sometimes takes no samples

Logging since this is still an issue in master.
Test case:
$ cat foo.c
#include <stdio.h>
#include <time.h>
#include <errno.h>
#include <error.h>

int main() {
  struct timespec ts = {1, 0};
  errno = 0;
  int reps = 0;
  while(clock_nanosleep(CLOCK_MONOTONIC, 0, &ts, &ts) != 0 && errno == EINTR) reps++;
  if(errno != 0 && errno != EINTR)
    error(1, errno, "clock_nanosleep failed");
  printf("interrupts: %d\n", reps);
  return 0;
}
$ gcc -o foo foo.c
$ HPCRUN_LOG_STDERR=1 ./bin/hpcrun -e REALTIME -dd ITIMER_HANDLER -dd ITIMER_CTL ./foo
fnbounds: .../libexec/hpctoolkit/hpcfnbounds2
[610105, N]: ITIMER_CTL: init
[610105, N]: ITIMER_CTL: process event list, lush_metrics = 0
[610105, N]: ITIMER_CTL: checking event spec = REALTIME
[610105, N]: ITIMER_CTL: init REALTIME sample_period = 5000, seconds = 0, usec = 5000
[610105, N]: ITIMER_CTL: setting metric timer period = 1
[610105, N]: ITIMER_CTL: start REALTIME
[610105, N]: ITIMER_HANDLER: starting REALTIME: value = (0,5000), interval = (0,0)
interrupts: 0
[610105, N]: ITIMER_CTL: stop REALTIME
[610105, N]: ITIMER_CTL: stop REALTIME
[610105, N]: ITIMER_CTL: shutdown REALTIME
MEMORY: segment size: 4.0 meg, num segments: 1, total allocation: 4.0 meg, reclaims: 0
MEMORY: total freeable: 0.0 meg, total non-freeable: 0.1 meg, malloc failures: 0
UNWIND ANOMALIES: total: 0 errant: 0, total-frames: 0, total-libunwind-fails: 0
ACC SUMMARY:
         accelerator trace records: 0 (processed: 0, dropped: 0)
         accelerator samples: 0 (recorded: 0, dropped: 0)
SAMPLE ANOMALIES: blocks: 0 (async: 0, dlopen: 0), errors: 0 (segv: 0, soft: 0)
SUMMARY: samples: 0 (recorded: 0, blocked: 0, errant: 0, trolled: 0, yielded: 0),
         frames: 0 (trolled: 0)
         intervals: 0 (suspicious: 0)

I'll look at this sometime after the current release,
unless someone wants to grab it first.

We should craft a test case for clock_nanosleep() that highlights the failure to return EINTR and either send it to libc-alpha or hand it to Ben Woodard for action by the glibc team.
We can wait on that until we see Ben at the end of the month.
We should override these and handle the restart ourselves. We've seen this issue with hpctoolkit speeding up programs by aborting sleeps in the past.

@mwkrentel please file a git issue for overriding the sleeps so we fix this eventually. At present, we have many higher priority things to work on.

@jmellorcrummey Hold the press a bit, there's no Glibc bug, I misread the manual. clock_nanosleep returns its error code instead of setting errno. Should've read more carefully (although it doesn't actually make a difference for the 0-sample bug).
Updated test code:
#include <stdio.h>
#include <time.h>
#include <errno.h>
#include <error.h>

int main() {
  struct timespec ts = {1, 0};
  int reps = 0;
  int err;
  while((err = clock_nanosleep(CLOCK_MONOTONIC, 0, &ts, &ts)) == EINTR) reps++;
  if(err != 0)
    error(1, err, "clock_nanosleep failed");
  printf("interrupts: %d\n", reps);
  return 0;
}

@mwkrentel After some more extensive testing, I've discovered that this 0-sample bug only appears with Glibc 2.33 or later, which would explain why you're having trouble reproducing it. An ubuntu:22.04 or fedora:36 container will have Glibc 2.35, presumably the bug will appear there.

Yes, indeed, I also read the man page too quickly.  The pthread_
functions work this way, but it's been a long time since I've
programmed pthreads.
Ok, back to square one, must be something different.  But if the
latest glibc behaves differently from current glibc, it sounds like
one of them has a bug.
Do we have a machine with the latest glibc?
Or, where's a good place to run containers?  And how?
But note, the issue of overriding usleep(), etc still exists.
If an app is not expecting to handle signals, then our interrupts
will distort the behavior of their sleeps.  So, it makes sense
that we should correct for that.

@jmellorcrummey @blue42u
I've tried this in a container and I can reproduce the problem, but
I'm also getting strange results.  This is my first non-trivial
container, so I could easily be doing something wrong.
This is on ufront.cs with a docker/podman image for fedora:35, glibc
2.34-34.fc35.x86_64, plus rpm/yum packages for gcc (11.3.1), gfortran,
git, perl, python, cmake, makeinfo.
Remember, containers are inherently out of sync on one point: I'm
running fedora:35 with a RH 8.x kernel 4.18.0-348.23.1.el8_5.x86_64.
This is not the kernel that fedora 35 comes with.  That's probably not
a problem, but signals go through the kernel, so theoretically, there
could be something out of sync.

Yes, in the container with fedora 35 and glibc 2.34, I get no
interrupts for your revised unit test with clock_nanosleep() and
REALTIME.

Actually, I'm not sure if there should be interrupts or not.
clock_nanosleep() is a syscall, we use SA_RESTART, so if the kernel is
obeying SA_RESTART, then no interrupts should be correct.  Yes, that
would be a change in semantics somewhere, but I don't see why it's
necessarily incorrect.

Some other strange results:

The hpcrun log files contain:

[236422, N]: !! INTERNAL ERROR, not possible to map dso for (null) (0x7fffe1fa7000, 0x7fffe1fa7f5d)

This happens with REALTIME and CPUTIME.
Do you also get this?

The above (2) happens even with sample source NONE.  This is
actually two bugs: one that some dso fails, and two, why are we even
trying to map a dso for NONE.

PAPI overflow totally fails inside the container.  This fails in
hpcrun with an error like:

HPCToolkit fatal error: PAPI event PAPI_TOT_CYC is not supported on this platform.

This is with a spack built papi.  And it also happens with my papi
unit tests outside of hpctoolkit.
So, either containers simply can't handle PAPI (that would be strange
and unfortunate), or perhaps this is a case where the kernel out of
sync with /usr actually matters.
And no, the problem is not perf_event_paranoid.
Inside the container perf_event_paranoid is 1, same as outside
the container (probably because it's the same kernel).

Ah yes, once again I'm guilty of failing to RTFM.
So, then it's a clear bug.
Indeed, man 7 signal agrees:
The following interfaces are never restarted after being interrupted
by a signal handler, regardless of the use of SA_RESTART; they always
fail with the error EINTR when interrupted by a signal handler:
...
  * Sleep interfaces: clock_nanosleep(2), nanosleep(2), and usleep(3).

But it's still theoretically possible that a native Fedora 35 system
and a container for fedora:35 might behave differently, depending on
the underlying kernel.

Fixed (2) in 1dec0052cb5b641ecd86d498a2a22ceef5052b18, it was a bug in the auditor (I forgot to supply the path to the saved vDSO on one of the logic paths).

In dlopen(), if filename is NULL, then you're asking for the
handle of the main binary.  So, maybe that's what's happening
in (3).

The problem with (4) above was that I didn't use --cap-add=cap_sys_admin when running podman.
With cap_sys_admin I now get the same results inside the container as outside for PAPI overflow and perf.

Well, this keeps getting stranger and stranger and harder.
I was able to reproduce this with Fedora 35 (in a container).
So, I wrote a unit test to demonstrate a problem in glibc.
Works fine (get EINTR) in the unit test.
So, works in the unit test, fails in hpcrun, gotta be a bug in hpcrun,
right?  So, why does the version of glibc matter ??
I guess it's a bug in hpcrun, or at least a bad interaction between
hpcrun and glibc.  Or perhaps an issue with the container.  Maybe the
container needs some extra capability to replicate the native
semantics.
I was hoping Jonathon's fix for INTERNAL ERROR would have fixed this
as well, but alas no.
I tried going back in hpctoolkit to 2021.03.01.  Same behavior.  So,
if it's a regression in hpcrun, it came in before 2021.03.01.  Before
then, I started running into issues building older revs.

This repository has moved to GitLab, please continue this issue there.


Nonce window

Motivation
Multi-sig transactions are likely to take longer to finalize, because of the need to collect signatures from multiple parties.  For higher security setups that include offline keys, this may be hours or days.  When a transaction is pending, it is difficult to start the workflow for a second transaction, because we don't know what nonce to use.  Optimistically it should be the next value, but if the current transaction is rejected, that value would not be useful since nonces must be consumed in strict sequence.
Description
This PR converts the scalar state nonce into the state array noncesArr.  Multiple transactions can use different slots in this array.  A pending transaction can be aborted by use of cancel_nonce() and the slot freed up for further use.

I do understand that the goal is to keep complexity low, but this particular motivation (transaction signing taking a significant amount of time, resulting in overlapping signing processes) is specific to multisig setups.
The problem with the solution in the second paragraph is that it defeats the purpose of the nonce - preventing replay attacks.  Signing with multiple nonce values can result in an attacker publishing the same intended transaction multiple times.

A solution that is more secure against double spending:
If you sign a transaction with a nonce n you can simultaneously sign a "cancellation" transaction with the same nonce, that would send a transaction of zero ETH to a specifically chosen address not used for anything else.
Then if you need to cancel a transaction you would send the cancellation transaction instead of the real one, and this way you can make sure the nonce will always update even if you cancel your original transaction.


Cannot read property 'r' of undefined

This looks fantastic on the demo page but is anyone using this outside of the demo?
The simplest thing possible doesn't work for me:
  render() {
    return <ChromePicker />;
  }

fails with
Chrome.js:96 Uncaught TypeError: Cannot read property 'r' of undefined
    at Chrome (Chrome.js:96)

which checks out looking at the source.
The documentation doesn't help. It says it should work. In fact hardly any of the documentation seems correct...

ChromePicker doesn't accept a color arg in reality where as the docs say it does
ChromePicker seems to want to want rgb, hsl, hsv, hex etc - hopefully I'm misunderstanding something as I expect just specifying one should be enough?

If anyone's using this for real surely surely you must have come across these issues, or have somehow avoided them. Pls help?

hey there,
using the ChromePicker just fine parsing in a hex val.
<ChromePicker color={color} onChangeComplete={handleChange} />

where color is something like '#f7f7f7`

Hey, thanks for the response! I was starting to feel like I'm going crazy or doing something very wrong.
Can I ask what version of React you're using?

sure:
"react": "^16.12.0",
"react-color": "^2.18.0",
"react-dom": "^16.12.0",

Were you able to get this working? I cant seem to reproduce this error on my end.

vue-color's color variable object key 'r' is searching for the valid value
I've got the same error and fixed it by assigning the correct response data
Incorrect assignment:
this.color= response
Correct assignment:
this.color= response.MyRGBColorData

Were you able to get this working? I cant seem to reproduce this error on my end.

The ChromePicker will work but any of the helper components will give this error.
See: https://codesandbox.io/s/stoic-microservice-pmlli?file=/src/App.js

I don't know why either, i met this problem when i use Saturation.

It's the same as using Saturation, it receives a string | rgbColor | hslColor, but if i set a string value, it get wrong with that error

Same problem here, I'm using react-color with @material-ui/core (the 4 version of mui) and the Saturation component
I was getting the error "TypeError: Cannot read property 'h' of undefined". So I look into the code and there's a line that is trying to find the h s and l properityies inside the props object
background: 'hsl(' + this.props.hsl.h + ',100%, 50%)',
I had tried to force pass the props to Saturation, but I got "Uncaught TypeError: Cannot add property updater, object is not extensible"
<Box width="500px" position="relative">    <Saturation       onChange={handleChangeColor}       color={currentColor}       {...({            hsl: {                   h: 0,                   s: 0,                   l: 0            }       } as any)}     />               </Box>
my handleChangeColor is a useCallback to parse the color inside the event to a hex+a notation. I had tryied to use rgba too, but same error
currentColor is the hex+a state color


unreachable VDCs on vdc.devnet.grid.tf

I've these deployed for a while and listed

https://ahmedthabet-nowwhatz.vdcdev.grid.tf/vdc_dashboard
https://ahmedthabet-nowwhatzz.vdcdev.grid.tf/vdc_dashboard

Browser gives

I assume the network configuration got changed somehow on devnet, but I think we should show some sort of warning in the vdc listing for non reachable VDCs

@waleedhammam debugged it this morning, grace period mode + the node got shutdown on devnet

@waleedhammam debugged it this morning, grace period mode + the node got shutdown on devnet


Add options to create repo command to create with readme, gitignore

Hi All,
Having the option to state whether a new repository is created with a blank readme.md and .gitignore files might be useful.
Also been able to create a repository with a branch policy would be such a time saver. Even better if you could set a global branch policy for all repositories created and apply that template to your chosen branch such as master branch...
Unless someone know of a better way of doing this via command line?
Regards
Matt

Hey @bantler - we just released a new version of the extension https://github.com/Microsoft/azure-devops-cli-extension/releases/tag/20190222.7 that includes the branch policy commands that can be applied to repositories in your project. Hope this helps you!

Scoping this issue to only the first part: "Having the option to state whether a new repository is created with a blank readme.md and .gitignore files might be useful."

@bantler : While we are trying to build a solution for this can you try using invoke command to see if that satisfies your requirement?
Command will be something like this
az devops invoke --org https://gsaralprivate.visualstudio.com/ --area git --resource pushes --route-parameters repositoryId=21bdf19e-5b1f-4233-a1b1-b5fc86acdd82 --http-method POST --in-file D:/temp/createPush.json
Where the createPush.json will be something like this
{
    "refUpdates": [
      {
        "name": "refs/heads/master",
        "oldObjectId": "0000000000000000000000000000000000000000"
      }
    ],
    "commits": [
      {
        "comment": "Added task markdown file.",
        "changes": [
          {
            "changeType": "add",
            "item": {
              "path": "/tasks.md"
            },
            "newContent": {
              "content": "# Tasks\n\n* Item 1\n* Item 2",
              "contentType": "rawtext"
            }
          }
        ]
      }
    ]
  }

For the details on how this json is formed you can get information at
https://docs.microsoft.com/en-us/rest/api/azure/devops/git/pushes/create?view=azure-devops-rest-5.0#examples
Do let us know if this satisfies your requirement

I struggled with the same issue, not able to add readme file and .gitignore in the CLI. Hopefully this feature will be added soon

@gauravsaralMs Great to see this is been looked at and thanks for the input, i will look at this interim solution in the meantime.

@bantler : In order to make the right choice so that you can use the command without any issues we will need some inputs from your side

What is the scenario you are trying to solve?
How do you intend or expect this command to be?  Like if you have to give a high level sketch of the desired command then what would that be?

@bantler : Gentle Ping!!!
@RaymondHartog : can you please share some information?

What is the scenario you are trying to solve?
How do you intend or expect this command to be? Like if you have to give a high level sketch of the desired command then what would that be?

@gauravsaraIMs, apologies for the delayed response, I'm currently away on holiday in Thailand!
The issue I came across was quiet simple in nature really. We have the requirement to have multiple repos so I was looking at ways to automate the creation of the repo along with any default assets and branch policies, i.e. scaffold the repo from nothing based on your specific requirements.
At high level something that replicates the GUI operations when creating a repo manually, i.e. selecting the gitignore file type and clicking the "add readme" option.
To expand this via the CLI, I think it would be nice to be able to pull in the gitignore file from any URL, as would the readme.md file, eg. If you had a template file for the reader you could pull in from somewhere.
Hope this is useful. I will be back home next week should you wish to discuss the option further.
Cheers 😁

Closing this for now, as the recommendation here is to keep template repos and then use then with import in getting started scenario.
Let us know in case this does not meets your requirements.


Some trouble with running the training code

Thank you for your great work!
Since your training code takes pose as input, I had an impression that this is closer to another concurrent work, Animate Anyone.

Arxiv Paper: https://arxiv.org/pdf/2311.17117.pdf

Anyway, I am trying to train using RTX 3090 GPU but I get out of memory error at
model, optimizer = accelerator.prepare(model, optimizer) in train.py
So I took that line out and trained the model for about 70000 steps but I get the same validation grid video for different validation steps. So I wonder if the weights are being updated at all...

Did you also experience the similar problem?

Hi, thank you for your interests.
It's crucial not to remove accelerate.prepare() as it's used in conjunction with accelerate.backward() for gradient updates. Without it, your model won't be optimized at all. For more details, you can refer to the Hugging Face documentation at

https://huggingface.co/docs/accelerate/index.

If you're using a single 3090, you may encounter Out Of Memory errors. This is because DeepSpeed's zero2 feature splits optimization across multiple GPUs to minimize memory usage. Therefore, it's recommended to use multiple GPUs.
For your reference, our setup includes 16 V100-32G GPUs, with a batch size of 2 per GPU.
We've also included some intermediate results at the 10,000-step. Please note that the model is still in the optimization phase, and we plan to release the weights at a later date.

Thank you for the quick reply!
Your intermediate results are encouraging.
I will try using cloud GPU with more memory.


Should @types/request be in dependencies, rather than devDependencies?

When I compile my typescript project (which uses gcp-metadata) and I do not have the package @types/request, I get the following error.
1 /// <reference types="request" />
                        ~~~~~~~

node_modules/gcp-metadata/index.d.ts(1,23): error TS2688: Cannot find type definition file for 'request'.

2 import * as _request from 'request';
                            ~~~~~~~~~

node_modules/gcp-metadata/index.d.ts(2,27): error TS7016: Could not find a declaration file for module 'request'. '/usr/local/google/home/nolanmar/NODE/profile-collection/cloud-profiler-nodejs/node_modules/request/index.js' implicitly has an 'any' type.
  Try `npm install @types/request` if it exists or add a new declaration (.d.ts) file containing `declare module 'request';`

If I add @types/request to the devDependenvies for my project, I do not get this error.

/cc @kjin. I think he did that intentionally.

For context: https://github.com/stephenplusplus/gcp-metadata/pull/9#issuecomment-335619748

It's a little funky to devDepend on @types/request without directly depending on request but I think it's inevitable. I don't want us to introduce a superfluous dependency on @types/request, esp. given the download volume of this module.

Okay -- I can understand that reasoning, and for the short term, it might be okay that typescript developers must include @types/request.
However, I don't think this is a good long-term solution. In the worst case, I can envision a situation in which the request module is updated significantly, and a developer wants to use a different version of @types/request than is needed for gcp-metadata. But, even now, it feels really bizarre to me that I have to include a module in my devDependencies that I don't use directly.


Add default descriptions for metadata fields, so that downstream apps can fallback to good defaults

@jcoyne Those lines do differ from the other, admittedly very simple hints, in that they say collection instead of work.


Insert/retrieve pivot data into/from many to many relationships

This PR adds the ability to automatically save and retrieve pivot data on many to many relationships. The default key name is pivot but can be changed as the last attribute of the relationship definition.
This will break existing applications that use the pivot field on their models for other purposes and do not define another pivot key name.
References: #327 #527
This is working but we need to address the following problem:
In the mapPivotRelations functions of the many to many relationships relateds is NOT of type Records ({ [id: string] : Record }) but of type { [id: string] : [ Record ] } that is why we need to map over related

@UncertaintyP Niiiice! Just the final check but is this ready 😎 ?

Will be merging this, and adjust a bit, add docs and such. Thanks for the contribution! 🎉


Trivy misconfig : Use Readonly Filesystem

Issue: https://avd.aquasec.com/misconfig/kubernetes/general/avd-ksv-0014/
Root file system is not read-only
An immutable root file system prevents applications from writing to their local disk. This can limit intrusions, as attackers will not be able to tamper with the file system or write foreign executables to disk.
Links  - https://kubesec.io/basics/containers-securitycontext-readonlyrootfilesystem-true/

This violation can not be fixed, please find the details below
The helm template will invoke a job which in turn calls mas cli functions to install MAS.
The mas cli function logic to create temporary files using syntax like below.
cat << EOF > $HOME/.ibm-mas/cli.env
Setting file system as read only, will break this logic.
Below is the error message received, when file system are set as readonly.
(B[m[1K/mascli/functions/install: line 35: cannot create temp file for here-document: Read-only file system
/mascli/functions/install: line 36: cannot create temp file for here-document: Read-only file system

[31mError: IBM Maximo Operator Catalog  is already installed on this cluster.(B[m
[31mIf you wish to install a new MAS instance using the v8-240227-amd64 catalog please first run "mas update" to switch to this catalog, this will ensure the appropriate actions are performed as part of the catalog update.(B[m

/mascli/functions/internal/save_config: line 14: cannot create temp file for here-document: Read-only file system


Allow users to buy and sell BTC from the CLI

[x] A user would enter B or S, respectively, and be faced with a popup asking how much they'd like to buy or sell.

[x] Sanitize input and exit if error.

[ ] Pass this to the backend.

@shobrook Do your thing here
Since we have to write this functionality for the automated trading, and I already have the popup written, let's just get this in v1.

We can put this in v2. I left some commented code for this in bitvision-cli.js

Add function for generating a payload. Test in the backend using Bitstamp credentials.


instability when extinguishing fire

Unsure if it is mod related or game related.  Get "soft" crash when extinguishing fire, get mod instability dialogue...then game is "soft" crashed as it is stuck at the last action given as the extinguish action.
If relevant occurred twice in boss battle "Lost Valley" expansion ... mission "Manacalon Riches"
:) As always the work you put in on this mod is top notch.

it's the mod. got a save I can use to debug?

Fixed on dev


[SPARK-15654] [SQL] fix non-splitable files for text based file formats

What changes were proposed in this pull request?
This PR is based on #13442 , fix the bug for non-splittable files for all text based file formats.
Closes #13442
How was this patch tested?
add regression tests.

cc @marmbrus @rxin @clockfly

Test build #60067 has started for PR 13531 at commit dad0193.

Test build #60067 has finished for PR 13531 at commit dad0193.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60067/
Test PASSed.

Test build #60253 has started for PR 13531 at commit f73cffb.

Test build #60253 has finished for PR 13531 at commit f73cffb.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60253/
Test PASSed.

Looks good!

Merging this into master and 2.0, thanks!

Test build #3075 has started for PR 13531 at commit f73cffb.

Test build #3075 has finished for PR 13531 at commit f73cffb.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.


Family account support

Seems that you need to be the home owner in order to work with this lib. I do not know if it is an api limitation or a limitation of this lib.

@jphellemons How did you make out?  Are you using NestSharp, or did you find a different library?


feat(i18n): add support for English locale to fix build errors

Summary
This pull request updates the Docusaurus configuration to support locale-specific builds, with English (en) as the default locale. The configuration changes include:

i18n Configuration: Added the i18n field to docusaurus.config.js to enable locale support. This ensures the website can be built for the English locale and is ready for future locale additions.
Broken Links and Anchors: Adjusted configuration to handle broken links and anchors, addressing previously identified issues.

Key Changes

i18n Support: Configured the default locale to English and included the necessary settings for locale support.
Link and Anchor Fixes: Updated configuration to address broken links and anchors, ensuring smoother navigation and accurate link resolutions.

Additional Notes

The Docusaurus site should now build correctly with support for the specified locale.
Please review the updated configuration to verify that all locale settings are correct and that no broken links or anchors remain.

Your review and feedback on these changes would be appreciated.

Dude, you ROCK 😎 . That bug took ME all day
We pushing this to prod rn


Gemini backfill no longer working?

System information

Have I written custom code (as opposed to using zenbot vanilla):

No.  This has been off the Master branch for about three weeks.  I cloned the master branch again this morning and same results.

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):

Linux Ubuntu 17.10, but have reproduced the problem on previous versions.

Zenbot version:

Latest from master branch (4.0.5)

NodeJS version:

8.9.3

Python version:

2.7.14

Exact command to reproduce:

./zenbot.sh backfill gemini.BTC-USD -d 30
Describe the problem
Initially the problem was related to error:
"node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.
In the future, you will have to enable it yourself.
See https://github.com/yagop/node-telegram-bot-api/issues/319. module.js:635:30"
That was cured with "export NTBA_FIX_319=1"
Now, there is no error and nothing else happens even if I let it run for several hours.  Previous versions of zenbot would have displayed something.  That said, NOT adding the "gemini.BTC-USD" selector (which defaults to gdax.BTC-USD) works fine and normally.
Source code / logs
Nothing on the screen at all nor logs.  Only way to recover is control-C

Looks like their API is only returning data for the last 7 days
curl https://api.gemini.com/v1/trades/btcusd?since=1512111600
...
{
   "reason" : "HistoricalDataNotAvailable",
   "message" : "Requested date 2017-12-01T07:00:00.000Z is after the max available historical date 2017-12-23T23:00:30.284Z",
   "result" : "error"
}

So use ./zenbot.sh backfill gemini.BTC-USD -days=6 or ...7 depending on your timezone
IMHO this should be handled by the gemini-api module and the author seems to be aware of this, as the README in his repo includes a

ToDo: More robust error handling

💩

Wonder if that's something Gemini changed recently then.  True though, the exchange.js should trap it.

Dunno, their docs don't say anything about the reason returned.
The exchange.js already handles errors causing the operation to be retried.
I suppose the problem here is that there is none returned by the underlying module.


GitPad expecting crazy cygdrive paths?

When I try to use "git commit" after installing, I get the following exception:
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\cygdrive\c\Projects\[ProjectName]\.git\COMMIT_EDITMSG'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
   at System.IO.StreamReader..ctor(String path, Encoding encoding)
   at System.IO.File.ReadAllText(String path, Encoding encoding)
   at Gitpad.Program.Main(String[] args)

When I press CTRL+C (it just sits there locked), I get the following two lines of text:
error: There was a problem with the editor '~/AppData/Roaming/GitPad/GitPad.exe'.
Please supply the message using either -m or -F option.
Note, the repository I'm using (and current directory in the command prompt session) is "C:\Projects[ProjectName]" (no brackets on the actual project name).

What version of Git are you running?

This was my bad -- apparently cygwin\bin was in my path and I was using that version of Git outside of bash.  Total PEBCAK.

@BrainSlugs83 no problem, thanks for confirming!


Create a read-only user on the ocdsdata server

In recent conversations with @duncand we've found that there's a desire to store the ocdsdata database password in various places to allow querying. Following the principle of least privilege, it'd be good to create a read-only user for analysis purposes.
It seems that it's not as simple as you might hope, but it's not super complicated - after some reading, I think https://matjaz.it/tutorial-read-only-postgresql-user/ gives us everything we need to do. Salt lets you run arbitrary queries against the database and I think all of those above are idempotent so we should be good.

@robredpath - Please remind me where and when we had discussions about this.  Did the project have a different name at the time, or were we actually discussing some other project that had this one as a dependency?

I believe @robredpath meant @duncandewhurst, sorry @duncand !

Argh, yes I did! Sorry @duncand !

So I did a test, thanks to this S.O. answer: https://stackoverflow.com/questions/760210/how-do-you-create-a-read-only-user-in-postgresql and the original link: https://matjaz.it/tutorial-read-only-postgresql-user/
Create some users and a DB.
postgres@ubuntu-bionic:/home/vagrant$ psql -c "CREATE USER worker WITH PASSWORD 'password'"
CREATE ROLE
postgres@ubuntu-bionic:/home/vagrant$ psql -c "CREATE USER readonly WITH PASSWORD 'password'"
CREATE ROLE
postgres@ubuntu-bionic:/home/vagrant$ psql -c "CREATE DATABASE testdatabase WITH OWNER worker"
CREATE DATABASE

As owner, create a table and add some data. Let readonly read it.

postgres@ubuntu-bionic:/home/vagrant$ psql -U worker -W -hlocalhost testdatabase
Password for user worker:
psql (10.4 (Ubuntu 10.4-0ubuntu0.18.04))
SSL connection (protocol: TLSv1.2, cipher: ECDHE-RSA-AES256-GCM-SHA384, bits: 256, compression: off)
Type "help" for help.

testdatabase=> CREATE TABLE table1 (
testdatabase(>  id VARCHAR(250) PRIMARY KEY NOT NULL
testdatabase(> );
CREATE TABLE
testdatabase=> INSERT INTO table1 (id) VALUES ('Cat');
INSERT 0 1
testdatabase=> INSERT INTO table1 (id) VALUES ('Dog');
INSERT 0 1
testdatabase=> select * from table1;
 id
-----
 Cat
 Dog
(2 rows)

testdatabase=> GRANT SELECT ON ALL TABLES IN SCHEMA public TO readonly;
GRANT
testdatabase=> \q

Connect as readonly. Read. But not delete / insert!
postgres@ubuntu-bionic:/home/vagrant$ psql -U readonly -W -hlocalhost testdatabase
Password for user readonly:
psql (10.4 (Ubuntu 10.4-0ubuntu0.18.04))
SSL connection (protocol: TLSv1.2, cipher: ECDHE-RSA-AES256-GCM-SHA384, bits: 256, compression: off)
Type "help" for help.

testdatabase=> select * from table1;
 id
-----
 Cat
 Dog
(2 rows)

testdatabase=> delete from table1;
ERROR:  permission denied for relation table1
testdatabase=> INSERT INTO table1 (id) VALUES ('Lizard');
ERROR:  permission denied for relation table1

But we also need to make sure this applies to new tables to. Let's set up that permssions, and then make a new table and insert some data.

postgres@ubuntu-bionic:/home/vagrant$ psql -U worker -W -hlocalhost testdatabase
Password for user worker:
psql (10.4 (Ubuntu 10.4-0ubuntu0.18.04))
SSL connection (protocol: TLSv1.2, cipher: ECDHE-RSA-AES256-GCM-SHA384, bits: 256, compression: off)
Type "help" for help.

testdatabase=> ALTER DEFAULT PRIVILEGES IN SCHEMA public
testdatabase->    GRANT SELECT ON TABLES TO readonly;
ALTER DEFAULT PRIVILEGES
testdatabase=> CREATE TABLE table2 (
testdatabase(>  id VARCHAR(250) PRIMARY KEY NOT NULL
testdatabase(> );
CREATE TABLE
testdatabase=> INSERT INTO table2 (id) VALUES ('Red');
INSERT 0 1
testdatabase=> INSERT INTO table2 (id) VALUES ('Blue');
INSERT 0 1
testdatabase=> select * from table2;
  id
------
 Red
 Blue
(2 rows)

Now lets connect as readonly user:
postgres@ubuntu-bionic:/home/vagrant$ psql -U readonly -W -hlocalhost testdatabase
Password for user readonly:
psql (10.4 (Ubuntu 10.4-0ubuntu0.18.04))
SSL connection (protocol: TLSv1.2, cipher: ECDHE-RSA-AES256-GCM-SHA384, bits: 256, compression: off)
Type "help" for help.

testdatabase=> select * from table2;
  id
------
 Red
 Blue
(2 rows)

We would have to be a bit careful to run the "ALTER DEFAULT PRIVILEGES" as the right user apparently, but this seems doable .....

This is exciting, @odscjames ! A few things that come to mind - can we check that:

The r/o user can't create new tables?
The r/o user can't do anything to alter schemas, or create new ones?
The r/o user can't do anything with stored procedures other than run them - there's no way to add, remove, alter them, or use them to alter data in tables?

So here is an updated answer, with help from https://dba.stackexchange.com/questions/35316/why-is-a-new-user-allowed-to-create-a-table (You have to revoke then grant or readonly user can create tables!)
Create some users and a DB.
postgres@ubuntu-bionic:/home/vagrant$ psql -c "CREATE USER worker WITH PASSWORD 'password'"
CREATE ROLE
postgres@ubuntu-bionic:/home/vagrant$ psql -c "CREATE USER readonly WITH PASSWORD 'password' NOCREATEDB NOSUPERUSER NOCREATEROLE NOINHERIT LOGIN NOREPLICATION NOBYPASSRLS"
CREATE ROLE
postgres@ubuntu-bionic:/home/vagrant$ psql -c "CREATE DATABASE testdatabase WITH OWNER worker"
CREATE DATABASE
postgres@ubuntu-bionic:/home/vagrant$ psql testdatabase
psql (10.4 (Ubuntu 10.4-0ubuntu0.18.04))
Type "help" for help.

postgres=# REVOKE ALL ON schema public FROM public;
REVOKE
postgres=# GRANT ALL ON schema public TO worker;
GRANT
postgres=# GRANT USAGE ON schema public TO readonly;
GRANT
postgres=# GRANT SELECT ON ALL TABLES IN SCHEMA public TO readonly;
GRANT

This one must be run on as the user that will create tables!
postgres@ubuntu-bionic:/home/vagrant$ psql -U worker -W -hlocalhost testdatabase
Password for user worker:
psql (10.4 (Ubuntu 10.4-0ubuntu0.18.04))
SSL connection (protocol: TLSv1.2, cipher: ECDHE-RSA-AES256-GCM-SHA384, bits: 256, compression: off)
Type "help" for help.

testdatabase=> ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON  TABLES TO readonly;
ALTER DEFAULT PRIVILEGES

Now As Owner:
postgres@ubuntu-bionic:/home/vagrant$ psql -U worker -W -hlocalhost testdatabase
Password for user worker:
psql (10.4 (Ubuntu 10.4-0ubuntu0.18.04))
SSL connection (protocol: TLSv1.2, cipher: ECDHE-RSA-AES256-GCM-SHA384, bits: 256, compression: off)
Type "help" for help.

testdatabase=> CREATE TABLE table1 (id VARCHAR(250) PRIMARY KEY NOT NULL);
CREATE TABLE
testdatabase=> INSERT INTO table1 (id) VALUES ('Cat');
INSERT 0 1
testdatabase=> INSERT INTO table1 (id) VALUES ('Dog');
INSERT 0 1
testdatabase=> select * from table1 ;
 id
-----
 Cat
 Dog
(2 rows)

testdatabase=> ALTER TABLE table1 ADD note TEXT NULL;
ALTER TABLE
testdatabase=> select * from table1;
 id  | note
-----+------
 Cat |
 Dog |
(2 rows)

Now as readonly:
postgres@ubuntu-bionic:/home/vagrant$ psql -U readonly -W -hlocalhost testdatabase
Password for user readonly:
psql (10.4 (Ubuntu 10.4-0ubuntu0.18.04))
SSL connection (protocol: TLSv1.2, cipher: ECDHE-RSA-AES256-GCM-SHA384, bits: 256, compression: off)
Type "help" for help.

testdatabase=> select * from table1;
 id  | note
-----+------
 Cat |
 Dog |
(2 rows)

testdatabase=> INSERT INTO table1 (id) VALUES ('Lizard');
ERROR:  permission denied for relation table1
testdatabase=> ALTER TABLE table1 ADD note2 TEXT NULL;
ERROR:  must be owner of relation table1
testdatabase=> CREATE SCHEMA mine;
ERROR:  permission denied for database testdatabase
testdatabase=> CREATE TABLE table2 (id VARCHAR(250) PRIMARY KEY NOT NULL);
ERROR:  permission denied for schema public
LINE 1: CREATE TABLE table2 (id VARCHAR(250) PRIMARY KEY NOT NULL);
testdatabase=>  CREATE OR REPLACE FUNCTION increment(i INT) RETURNS INT AS $$
testdatabase$>     BEGIN
testdatabase$>       RETURN i + 1;
testdatabase$>     END;
testdatabase$>     $$ LANGUAGE plpgsql;
ERROR:  permission denied for schema public

Haven't got time to try more with stored procedures now but I expect they can be sorted.

Salt work done for this at https://github.com/OpenDataServices/opendataservices-deploy/commit/67c63084e0d82689f269c9b9a36b8144c621a42d but not deployed yet

Huh, didn't mean to have that be closed automatically. But it is done, so it's closed!
Details will be put in the CRM.


1.6.3 Release

Final change set for the 1.6.3 release.
My thanks to @biemond, @diamond29 and @shinitiandrei who did all the hard work for the new features.

1.6.3 is live on rubygems.org now.


Handle different languages

The wrapper is downloading data in the German format (commas as decimals etc.) - so pandas doesn't recognize the columns as numbers. We would have to do it manually. Would it be possible to pass arguments similar to pd.read_csv(decimals=",", thousands=".") And have missing values as NaN instead of "-"? If I remember correctly, Michael said something about an English API endpoint that delivers data in a format that works better for pandas.
TODOs:

compare Postman/raw data from API with our package when downloading the same table with language de and en
implement a handling for these languages

@bergnerjonas here what we discussed:

it may be that Regionalstatistik does not have support for en so we can drop it there
when there is no data, we should not go to additional API requests like /find or /catalogue to get the label for a given code
we can try to parse the repeating code column names to get the right names, but we should investigate first how the switch to en is supported in different databases

Both GENESIS and Zensus currently support switching to 'en' and return proper translations. I have removed the support for Regionalstatsistik.

Very good, I will review your PR this week!


I recommend copying most (if not all) of console output to the text you're writing with the results

in the sci-kit script

just about everything is being written to the text file right now I believe.

error is not thrown on my side....

woops wrong issue


Hint arrow sometimes points to wrong place

Safe zone was trinity outpost and I was west of it just above the mountain and it I could see the arrow in viewport. It was pointing north of the mountain east of me and also west of me when i ran past me. Maybe it was correctly placed earlier when i was far west of it and it stopped updating.

Issue was osrs added an update that did the same feature as this plugin and they sent new hint arrows when you got too far away which broke the plugin. This plugin feature is getting removed since it's no longer needed.


Message can't be edited if force_reply is active

I noticed that if my bot sends a message with force_reply, then the bot cannot edit the message, and receives {:ok false, :error_code 400, :description Bad Request: message can't be edited}.
Has it done by purpose? Why?
Moreover, the bot can easily delete this message.

Messages with regular keyboards can't be edited, because the behavior of the keyboards depends on content of the messages.


reverse pull request creation

Currently, we can have pull request from forked repository.
But if we would like have reversed pull request, it's cannot.
For example, I forked a repository X from A to B.
And I have some changes in B/X and I can have pull request to A.
But if I have some changes in A/X and I cannot have pull request from A/X to B/X.
Hope you understand what I said.

Gogs version (or commit ref):  <IP_ADDRESS>5
Git version: 2.7.4
Operating system: Mac OS 10.11
Database (use [x]):

[x] PostgreSQL
[ ] MySQL
[ ] SQLite

Can you reproduce the bug at https://try.gogs.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:

Description
...

Update version: Gogs version: <IP_ADDRESS>5

According to help article this is possible on GitHub. Had anyone checked if this work?

yes a reverse pull request is possible.

just reverse the head and base fork. I think github even has a button for this.

I think this is basically same to https://github.com/gogits/gogs/issues/2770..


Further testing

check CI testing of new structure

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 0% with 483 lines in your changes missing coverage. Please review.

Files with missing lines
Patch %
Lines

Support.cpp
0.00%
464 Missing :warning:

RealmOfRecipes.cpp
0.00%
16 Missing :warning:

RealmOfRecipes.h
0.00%
3 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files with missing lines
Coverage Δ

RealmOfRecipes.h
0.00% <0.00%> (ø)

RealmOfRecipes.cpp
0.00% <0.00%> (ø)

Support.cpp
5.27% <0.00%> (-50.98%)
:arrow_down:


DiscordAPIError: Cannot send an empty message

I got this error:
DiscordAPIError: Cannot send an empty message
at RequestHandler.execute (/home/pi/IT-Network2.0/node_modules/discord.js/src/rest/RequestHandler.js:298:13)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async RequestHandler.push (/home/pi/IT-Network2.0/node_modules/discord.js/src/rest/RequestHandler.js:50:14) {
method: 'post',
path: '/channels/851049925818580992/messages',
code: 50006,
httpStatus: 400,
requestData: {
json: {
content: undefined,
tts: false,
nonce: undefined,
embeds: undefined,
components: undefined,
username: undefined,
avatar_url: undefined,
allowed_mentions: undefined,
flags: undefined,
message_reference: undefined,
attachments: undefined
},
files: []
}
}

What command are you executing ?

Profile command but other commands aren’t working too

Are you updating everything?

Sorry for the late reply, I haven't had the chance to work on an update for TikTok utilities and as of now I don't plan on it in the future. If you want to contribute to the project with updates feel free to open a pull request with the changes clearly labeled.
Thanks!


[BUG] Can't remove or add any TV. Settings can't be saved.

Describe the bug
The settings and configurations cannot be saved.
How to reproduce the bug?
I have LG C3 TV added as "LGC3" and I removed it and added my LG G4 TV. I clicked Apply button. I close the app and open it again. I see that LG G4 was not there. It keeps showing my old TV LG C3.
What was the expected behavior
The app should have saved the config successfully when clicked apply button.
What is your system?
Win11

Log file and screenshots
1:

2: Removed LG C3 and clicking apply.

3: Clicked apply.

4: Closed and restarted:

Can someone help me?
I tried uninstalling the app and re-installing it wouldn't fix the problem.

Hi, can you try adding the -g4, in addition to the older.  Click Apply.
Then remove the older TV.
Let me know if this works please

Weird. Can you please try to uninstall the app and then manually remove the configuration file. I e c:/programdata/lgtv companion/config.json (make a backup).
Then reinstall and try again. Let me know how this goes

@JPersson77 after deleting the config.json, it works and saves it properly when I change settings afterwards.

Good to know. Sounds like an access issue but I don't know how to replicate so going to write it off as a one-off. Happy it works for you!


i18n(es-es) added missing i18n pages for Astro DB

[x]  Added missing i18n page guides/astro-db.mdx
[x] Added missing i18n page guides/integrations-guide/db.mdx
[x] Added missing i18n page recipes/studio.mdx

Hello! Thank you for opening your first PR to Astro’s Docs! 🎉
Here’s what will happen next:

Our GitHub bots will run to check your changes.
If they spot any broken links you will see some error messages on this PR.
Don’t hesitate to ask any questions if you’re not sure what these mean!

In a few minutes, you’ll be able to see a preview of your changes on Vercel 🥳

One or more of our maintainers will take a look and may ask you to make changes.
We try to be responsive, but don’t worry if this takes a few days.

@manumrtf it's only one page by translation, I think you can open multiple pull request with these changes

Thanks @manumrtf, I see this PR got stale and haven't received any reviews so far, as well as we have received other translations for these pages that got merged, so I'll be closing this one. I appreciate your dedication to make this contribution!


Revert "infra: remove unused scripts."

Reverts aws/sagemaker-mxnet-serving-container#115

Can you also add them to the list of files:
https://github.com/aws/sagemaker-mxnet-serving-container/blob/master/buildspec.yml#L37
https://github.com/aws/sagemaker-mxnet-serving-container/blob/master/buildspec.yml#L45


Rendering glitch for debug current line icon

The debug current line glyph icon has a rendering glitch, notice the horizontal and the vertical line which are not needed.
To get into this state just start debugging a simple program and make sure you are on a line with no breakpoints
fyi @weinand @bpasero

Works nice now, adding verified label.


Add option to toggle gridlines

This is especially useful for large environments where gridlines do not render nicely as-is
Here is a basic demonstration

Lovely function! Thank you for the pull request!


Incorrect value displayed for bed temperatures

Looks like odc is using the wrong value for bed temps. Both target and actual appear to be using the print head temperatures. Whoops.

Fixed in 395f6d32cb867061ed29fe900a71c6aaefc46aa1


869 | Reordered Power of 2 | C++

Title - Reordered Power of 2
What will change -
Type of Issue - Documentation
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] C++

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

Assign it to me


Sharing files among application containers

I'm building a pod that runs nginx/php-fpm. I would like for nginx/php-fpm to be separate aci's, but nginx/php-fpm both need access to the same php files (index.php, etc).
The empty mount type (see #1040) provides a solution (although inelegant) for this problem. By sharing an empty mount, the php-fpm image can copy the php code files into the shared mount during a pre-start event handler. This gives both app containers access the the same files.
It seems like there should be an easier way to accomplish this. I've looked into how aci dependencies might solve this problem, but I don't think that would be the right approach.
Am I missing something obvious? How have other people solved this problem?

Manifest snippets of what I'm doing:
php-fpm ImageManifest:
...
"eventHandlers": [ { "exec": [ "/bin/bash", "-c", "shopt -s dotglob; mv /sharedDirs/code/* /code;" ],
                     "name": "pre-start" } ],
"mountPoints":   [ { "name": "code", "path": "/code", "readOnly": true } ]
...

nginx ImageManifest:
...
"eventHandlers": [ { "exec": [ "/bin/bash", "-c", "sleep 1" ],
                     "name": "pre-start" } ],
"mountPoints":   [ { "name": "code", "path": "/code", "readOnly": true } ]
...

PodManifest:
...
"volumes": [ { "name": "code", "kind": "empty", "readOnly": false } ]
...

To be clear, do you need the shared files to be mutable?

@jonboulle Unfortunatly, yes. PHP code has habit of self modification.

OK, good to know. I'm curious why you think a shared volume is inelegant - just because you need to write files into it at pod launch time?

@jonboulle
It's inelegant because I'm reduced to to using something like the following. This incurs a disk usage and pod start-up time penalty (both of which are highly undesirable for us):
image 1 (needs startup data copied in) pre-start:
while [[ ! -e ${DATADIR}/COPY_COMPLETE ]] do sleep 1; done

image 2 (container has data in it) pre-start:
copy_data; touch ${DATADIR}/INSTALL_COMPLETE

see: https://github.com/GoogleCloudPlatform/kubernetes/issues/1589#issuecomment-58043463

A well-thought out 'container' volume type might get around this, i.e. something along these lines: https://github.com/GoogleCloudPlatform/kubernetes/issues/831
I could imagine:

Using a volume kind of container that has parameters:

srcContainer reference to another container in this pod
srcPath path relative to the source containers root to share

stage1 would bind mount srcContainer:/srcPath into the appropriate containers before starting any

I'll think on this a little more. If it doesn't sound too crazy, I'll clean up the idea and likely submit a PR to appc/spec

At first blush that sounds like it could be workable.
On Mon, Jun 15, 2015 at 9:08 PM, kibra<EMAIL_ADDRESS>wrote:

A well-thought out 'container' volume type might get around this, i.e.
something along these lines: GoogleCloudPlatform/kubernetes#831
https://github.com/GoogleCloudPlatform/kubernetes/issues/831
I could imagine:

Using a volume kind of container that has parameters:

srcContainer reference to another container in this pod
srcPath path relative to the source containers root to share

2. stage1 would bind mount srcContainer:/srcPath into the appropriate

containers before starting any
I'll think on this a little more. If it doesn't sound too crazy, I'll
clean up the idea and likely submit a PR to appc/spec
—
Reply to this email directly or view it on GitHub
https://github.com/coreos/rkt/issues/1041#issuecomment-112278783.

@jonboulle any updates? Would love to see this feature implemented.

@storvik we don't have any plan to work on this but would welcome contributions


SQFormScrollableCard truncate title

The SC3 Admin project has a need for the title of the SQFormScrollableCard component to be truncated rather than wrapping it to a new line if the text is larger than the container.

My thoughts on this are that I think it could be accomplished with some minor CSS adjustments to the title. I'm curious if anyone has some thoughts on if this should be optional?
I was thinking if we were to make the truncating of the title optional, we could have a new prop, maybe something like 'shouldTruncateTitle" that if true added the required CSS, or maybe we don't even need that and the title should always just truncate if its larger than the container.  I'm curious to what the team thinks about that

Can you post a screenshot of the issue?
What's the point of a title if it's truncated?
This sounds more like a Verbiage problem that UI/UX can assist with coming up with a shorter or abbreviated title.

Can you post a screenshot of the issue? What's the point of a title if it's truncated? This sounds more like a Verbiage problem that UI/UX can assist with coming up with a shorter or abbreviated title.

absolutely, to provide a little more context, here's a quick screenshot of the issue:

Normally how it's been used in sc3 admin is that the title is essentially the name/title of a DB record, some can get pretty long and it can cause that line wrapping to happen, especially on smaller screens. in the screenshot, the name of the "Campaign Group" is "Test Web Campaign Group Creation".

Can you post a screenshot of the issue? What's the point of a title if it's truncated? This sounds more like a Verbiage problem that UI/UX can assist with coming up with a shorter or abbreviated title.

absolutely, to provide a little more context, here's a quick screenshot of the issue:
Normally how it's been used in sc3 admin is that the title is essentially the name/title of a DB record, some can get pretty long and it can cause that line wrapping to happen, especially on smaller screens. For example, in the screenshot, the name of the "Campaign Group" is "Test Web Campaign Group Creation".

Got it. Thanks for this helpful context.

Designer question but Details > takes up precious space and it's already obvious from the UI the right pane is for details. Can we nix this?
In this context, truncation makes sense and we ideally handle this with CSS

Got it. Thanks for this helpful context.

Designer question but Details > takes up precious space and it's already obvious from the UI the right pane is for details. Can we nix this?
In this context, truncation makes sense and we ideally handle this with CSS

To your first point, yes! I believe this particular screenshot may be of one of the earlier views in the admin project, the newer ones have since nixed that "Details >" portion of it, and so I believe eventually all of the old views will get a small refactor to remove that portion of the title.
And perfect, tackling this with CSS I think maybe the simplest way to do it, I appreciate the feedback!


⚠ Bofrost.at has degraded performance

In acb86fd, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2766 ms

Resolved: Bofrost.at performance has improved in 2ea8c51 after 6 minutes.


fontColor property doesn't work

The fontColor property does not seem to work properly. When setting the fontColor property with valid color values, such as named colors ('red') or hexadecimal color codes ('#eeff44'), the text color remains unchanged.
drawText(
          ctx,
          'this is a sample text for multiline checking',
          {
            x: j * columnWidth + padding,
            y: i * rowHeight + padding,
            width: columnWidth - 2 * padding,
            height: rowHeight - 2 * padding,
            fontSize: 14,
            align: "center",
            vAlign: "top",
            overflow: false,
            fontColor: 'red',
          }
 );

fontColor doesn't work when used this way.
WorkAround:
the only way that font color can be applied is if it's used like below.
drawText(
            ctx,
           [{ text: 'this is a sample text for multiline checking', format: { fontWeight: 'bold', fontColor: 'red' } }],
            {
              x: j * columnWidth + padding,
              y: i * rowHeight + padding,
              width: columnWidth - 2 * padding,
              height: rowHeight - 2 * padding,
              fontSize: 14,
              align: "center",
              vAlign: "top",
              overflow: false,
            }
 )

but then the multiline feature no longer works.

@AbdulQaharRahmani Thank you for reporting this! There is indeed a small bug in the code that doesn't use the fontColor specified in drawText() options as part of the base font format when rendering the text.
I will get this fixed ASAP.

Will publish shortly.

Fixed in v1.1.2
Please LMK if it works for you.

@stefcameron thanks. the problem is solved.


[Bug]: CI failed to install requirements

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
https://github.com/towhee-io/towhee/runs/7720888625?check_suite_focus=true
When running codecov workflow in our own GPU machine, we will create a new virtual env towhee-ut, and install requirements in this env. However, I found that many requirements already exists in /home/super/actions-runner/_work/_tool/Python/3.8.13/x64/lib/python3.8/site-packages, thus won't be installed in towhee-ut. This problem leads to the ci failure reported in the PR above.

Expected Behavior
No response
Steps To Reproduce
No response
Environment
- Towhee version(e.g. v0.1.3 or 8b23a93):
- OS(Ubuntu or CentOS):
- CPU/Memory:
- GPU:
- Others:

Anything else?
No response

@binbinlv please help have a look, as self hosted machine is controlled by you.


appFrame isn't hidden when "Click to connect…" is shown

#769 is for apps that specifically don't have any services to list/use, but for ones that do require something and those aren't connected yet I disagree about hiding the app frame, I totally want to give the app an opportunity to do something in that case themselves too (and they should always be expected to not break if there's 0 results).
I'm voting to close this as it currently stands :)

It was @smurthas's opinion that displaying both the arrow and #appFrame's contents was incorrect behavior, so I'll leave it to the two of you to duke it out. I could go either way.

I actually bumped into this numerous times tonight in cases where I wanted to use the app for things that weren't in it's uses, pretty annoying to be blockaded :/

The bug is that both are showing at the same time (exactly as it is stated). If there is no uses.services field, I will not show the arrow and text.


pretender munging file params on multipart uploads despite this.passthrough()

Low priority issues, because I have already abandoned this approach.
I was using mirage to mock out remote requests in ember, but integration testing in rails.
It worked beautifully to stub out a remote api while letting my local api passthrough,  until I noticed it broke several unrelated tests.
When mirage is enabled, the post params to the file uploads break:
<ActionDispatch::Http::UploadedFile:0x007f838b7c1ee0
 @content_type="text/plain;charset=UTF-8",
 @headers=nil,
 @original_filename=nil,
 @tempfile=#<File:/var/folders/1f/gh75zmnx7n78txd8hk77wl580000gn/T/raw-upload.20160210-92273-j6o19l>>

versus
<ActionDispatch::Http::UploadedFile:0x007fca3da23a78
   @content_type="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
   @headers=
    "Content-Disposition: form-data; name=\"import_upload_record[data_file]\"; filename=\"upload_template.xlsx\"\r\nContent-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\r\n",
   @original_filename="upload_template.xlsx",
   @tempfile=#<File:/var/folders/1f/gh75zmnx7n78txd8hk77wl580000gn/T/RackMultipart20160210-92771-5y4h7d.xlsx>>}

of special note, is the headers and filename on the request have changed, and the params are file not a nested data_file
This is a pretty challenging case to simulate in isolation, but it appears that this.passthrough() is not properly ignoring requests.

Hm, this sounds a lot like https://github.com/samselikoff/ember-cli-mirage/issues/316

Agreed, closing this issue, thanks for looking.


Create Data and Update Data do not work

Bug Description
The input nodes of Create Data do not accept any input from any text output. Looking into the code, the inputs of Create Data accept "Text" and "Data". But text outputs from other nodes have the type Message. The same goes for the text input on Update Data.
Connecting a Create Data node with an Update Data node produces the error Component  field 'data'  might not be a valid input., if you press the play button on either node.
Reproduction
See description.
Expected behavior
Since the API Request node requires data as input, I would like those nodes to work.
Who can help?
No response
Operating System
Windows 11
Langflow Version
v1.0.17
Python Version
3.12
Screenshot
No response
Flow File
No response

@Banbury
Correct me if I'm wrong, is that what you're trying to do?
Please share the flow that you're trying to create.

@Banbury
Correct me if I'm wrong, is that what you're trying to do?
Please share the flow that you're trying to create.

how to update data, the 'update data' component's 'New Data' input type is not text.

The Update Data component seems to be outdated. I will direct the team to perform a new update on it soon.


Enforce use of http or https for backend url

No need to allow backend url to be entered without http or https, so enforcing the use of url prefix, for more novice users to not get confused, also to ensure more explicit enforcement of rules.
In addtion, added a note to users to remember that if the backend url isn't working, it could be due to leaving out the url prefix. To address issues raised: #40 @VeXHarbinger @saharmor @kamalkraj

Great callout! Was actually fixed as part of https://github.com/saharmor/dalle-playground/commit/5bd3727bae1e341e4953d20920fca2c3580e3dc3


Fix MetadataProvider initialization in Hot Reload and remove duplicate Query Executor reloading

Why make this change?
Closes https://github.com/Azure/data-api-builder/issues/2426
Closes https://github.com/Azure/data-api-builder/issues/2427
What is this change?
Properly create and initialize a new set of SqlMetadataProviders as part of the hot-reload process of the SqlMetadataProviderFactory, by utilizing the initiaizeAsync() function. This guarantees a correctly configured set of meta data providers for the factory.
Remove the event handling to hot-reload the QueryExecutors classes specifically, since this is already handled during the hot-reload process of the QueryManagerFactory. That process creates new and up to date QueryExecutors as part of a hot-reload.
With the correct initialization of the meta data providers, we can remove the code that saves the DefaultDataSourceName to be passed along the hot-reloaded configs. With all of the data structures we initialized on new meta data providers, we do not need to save the data source name and hot-reloading will be more resilient. This is because we will build all of the data structures which depend on this DefaultDataSourceName fresh from newly created or cleared objects, and we do not have to worry about maintaining previous configuration's DefaultDataSourceName, everything will simply use the new name generated during a hot-reload.
How was this tested?
Testing Scenario
Scenario A: Handling a change in entities in the config
Objective: Verify that hot-reload correctly refreshes the MetadataProviders and QueryExecutors when we hot-reload the entities by making a REST request.
Steps:
Start with MSSQL with a valid config file that contains some valid entities.
Make a REST request that targets one of the entities and observe the results to compare against later.
Change the entities section by removing an entity and any entities that have a relationship with that entity.
Make a REST request for that entity and observe that the entity is not found.
Add the removed entities back to the config file.
Make a REST request for that same entity and observe the results match the original REST request.
Sample Request(s)
For the "Book" entity with a rest path of "rest"
https://localhost:5001/rest/Book

/azp run

/azp run


Diff across DST

It ran into the same problems that adding and subtracting ran into in #78.

Looks good, nice catch!


Default challenge question sets are not configurable in tenant creation

Description
With the current implementation,  the configured default two sets of challenge question sets (challengeQuestion1 and challengeAuestion2) are fetched from here[1][2] in each tenant creation. Hence OOTB, the default challenge question set is not configurable in tenant creation.
As an extension, we can write a custom tenant management listener the same as [3] to make the challenge question sets configurable to apply in the tenant creation. But as this is a valid requirement, it would be better, if we can change the existing way of fetching the default challenge question set in tenant creation and make it configurable through a file.
[1] https://github.com/wso2-extensions/identity-governance/blob/master/components/org.wso2.carbon.identity.recovery/src/main/java/org/wso2/carbon/identity/recovery/listener/TenantManagementListener.java#L48
[2] https://github.com/wso2-extensions/identity-governance/blob/master/components/org.wso2.carbon.identity.recovery/src/main/java/org/wso2/carbon/identity/recovery/IdentityRecoveryConstants.java#L593-L599
[3] https://github.com/wso2-extensions/identity-governance/blob/master/components/org.wso2.carbon.identity.recovery/src/main/java/org/wso2/carbon/identity/recovery/listener/TenantManagementListener.java

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Add prop: exact-active-class

What problem does this feature solve?
I want to use both active-class and (exact)active-class at the same time.
What does the proposed API look like?
<router-link
  :to="location"
  active-class="menu__item--active"
  exact-active-class="menu__item--exact-active">

It can replace the original prop exact.

Thanks for the PR!


Fix issue307: Add Annotation retrieval methods to Property

Fix issue #307:
add an annotation class YAMLField
Defining a class YAMLFieldBean1, when serializing it, the fileds will sorted in the order of order
public class YAMLFieldBean1 {

    @YAMLField(order = 1)
    private String name;

    @YAMLField(order = 2)
    private Coordinates type;

    @YAMLField(order = 3)
    private Integer age;

    @YAMLField(order = 4)
    private String line;

    @YAMLField(order = 5)
    private String text;
}

output
name: tian
type:
  x: 254
  y: 255
  z: 256
age: 22
line: twelve
text: omit

Hi Alan, thanks for you interested and work on SnakeYAML.
The code looks fine, but I am against introduction of any SnakeYAML specific annotations.
IMHO those make your domain/data classes dependent on snakeyaml and that's what I don't want to happen.

I fully agree with Alex.


Add Graphics (font 3) from Z Machine (Infocom) standard

Feature request -- add these characters;
http://inform-fiction.org/zmachine/standards/z1point1/sect16.html
This font is used in Beyond Zork and Journey
I can patch Frotz to use them if available.

Why not just do it yourself and make a pull request? That page already even gives you the bitmap layout, in a format not terribly different from the one used here. Just find a contiguous block of 96 unused codepoints in the private-use region and translate them over.

UNSCII features these characters viznut.fi/unscii


consistent url shiny app

shiny url switches to portnumber instead of URL suffix

closing; working on completely new revised version; will be incorporated


Feature/630 refresh emails in active triggeredsends journeys

PR details
What is the purpose of this pull request? (put an "X" next to an item)

[x] Add a CLI option

What changes did you make? (Give an overview)

closes #630

Is there anything you'd like reviewers to focus on?

blocked by PR #631

Checklist

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] test scripts updated
[ ] Wiki updated (if applicable)

will go ahead with merge as discussed (and approved earlier)


[drawer] Change from modal and non-modal at runtime

hello guys! :-)
Description
I'm using the Drawer component and I wanted it to change between modal and fixed version and vice-versa depending on the window.innerWidth, but the component crashes when it goes from modal={false} to modal={true} and I try to open it.
Bellow is the link to the codesandbox with the behaviour I've encountered.
Reproduction sandbox

@lucasecdb thanks for reporting this issue. Totally a use case we need to support. The issue is permanent does not initialize a foundation. I'll fix the issue with 7.0


add support for the [N] flag

http://httpd.apache.org/docs/current/rewrite/flags.html#flag_n

@likang Do you have any real use case you can show me? I want to add features that solves a problem.

In my case, I want to serve static contents via RESTful urls, for example:
the file behind  /users/1/accounts/2/ is /users/detail/accounts/detail.html , so I want to replace all digits with 'detail' in the url.
modRewrite([
    '^(.*)/\\d+/(.*)$ $1/detail/$2 [N]',
    '^/(.*)/$ /$1.html [L]'
])

Why don't you just use the normal replace?
modRewrite([
    '^/users/\\d+/accounts/\\d+$ /users/detail/accounts/detail.html [N]',
    '^/(.*)/$ /$1.html [L]'
])

Cause I have so many different urls to be rewrite. It's dynamic.
/users/1/bankcards/2/
/orgs/1/users/2/
/shops/1/roles/
...

Also, the [N] flag is an official flag that Apache supports. see http://httpd.apache.org/docs/current/rewrite/flags.html#flag_n

@likang give me some day to reflect on this. The changes look good.

@tinganho  OK, thanks!

I don't think this rule is appropriate for connect-modrewrite


Add support for logging v2 in MIPI SyS-T

Is your feature request related to a problem? Please describe.
Logging v2 has been around for some time but there are some features not adapted to it and because of that it is still not the default one. One of the missing piece is MIPI-SyS-T.

this is resolved.


Right side of PoindCloud is lacking.

Hi,
I bought OAK-D Lite (kickstarter version), installed depthai-ros according to README.md to Ubuntu 20, and launched roslaunch depthai_examples stereo_nodelet.launch . But Right side of PoindCloud in Rviz is lacking.

I tried to run depthai_demo.py. Then both left and right side of depth image appeared. I guess OAK-D Lite hardware and USB connection are fine.

Could you please tell me how to deal with this problem?

A different angle of view.

I tried command with option roslaunch depthai_examples stereo_nodelet.launch camera_model:=OAK-D-LITE , but the result was the same...

I think stereo_nodelet is not configured for OAK-D-Lite with resolution. Will add it today mostly.
cc: @daxoft  can add this to all the examples here ?

Merged into main
https://github.com/luxonis/depthai-ros-examples/pull/20
https://github.com/luxonis/depthai-ros/pull/67


New package: AtomsBase v0.1.0

Registering package: AtomsBase
Repository: https://github.com/JuliaMolSim/AtomsBase.jl
Created by: @rkurchin
Version: v0.1.0
Commit: a14916246753efbdd5975dc4c1e17167eb68e59c
Reviewed by: @rkurchin
Reference: https://github.com/JuliaMolSim/AtomsBase.jl/commit/a14916246753efbdd5975dc4c1e17167eb68e59c#commitcomment-60569420

👋 Hi General maintainers!
The package that's causing the automerge failure due to name similarity has had no commits since it was registered almost two years ago. Is there a process for "claiming" this package name anyway since that one seems to be orphaned?
The developers of AtomsBase (myself, @mfherbst, @gregstrq, @jgreener64) have been working within the JuliaMolSim community on this project since a session Michael and I co-led at JuliaCon last summer, and there's pretty substantial community buy-in and excitement about this, so we're confident it would be made use of!
Let us know what next steps are here.

[noblock] Cool, thanks @giordano !


Short cuts - show tab menu doesnt do anythonig

Br 1.9.0-17312
OSC 10.11.6
I was reading the settings screen and noted some short cuts. I tried using show tabs view cmd + shift + T but nothing happens
Toggle side bar doesnt work, is this different than standard cmd + shift + h?

Wow, it's a mistake on my part, it should be  "cmd + shift + V".
The next is Brackets shortcut


Issue with Django dbbackup and restore command

I have 2 Databases in my app :
DATABASES = {
    MAIL_ACCOUNTS_DB_CONFIG: {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'rango',
        'USER': 'rangoadmin',
        'PASSWORD': 'rango@2017',
        'HOST': 'localhost',  # Or an IP Address that your DB is hosted on
        'PORT': '3306',
        'OPTIONS': {'charset': 'utf8mb4'},
    },
    DEFAULT_DB_CONFIG: {
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'NAME': 'rango',
        'USER': 'rangoadmin',
        'PASSWORD': 'rango@2017',
        'HOST': 'localhost',
        'PORT': '5432',
        'CONN_MAX_AGE': 0,
    }
}

In setting.py,
DBBACKUP_STORAGE = 'django.core.files.storage.FileSystemStorage'
DBBACKUP_STORAGE_OPTIONS = {'location': '/home/shan/project_bkp'}
DBBACKUP_GPG_RECIPIENT = 'XXXXXXXXXXXXXXX'
When I run

python manage.py dbbackup --encrypt --compress

I can only see default-shan-desktop-2017-09-12-213553.psql.gz.gpg . Where is the backup of mysql DB` ?
Question:

How to know which database backup has been made ? When I fire

python manage.py dbbackup --encrypt --compress --database MAIL_ACCOUNTS_DB_CONFIG

I get `django.db.utils.ConnectionDoesNotExist: The connection MAIL_ACCOUNTS_DB_CONFIG doesn't exist

How to backup each DB seperately ?

How to restore it ? When restoring using

python manage.py dbrestore --decrypt

I get : CommandError: Because this project contains more than one database, you must specify the --database option.
When I run :

python manage.py dbrestore --decrypt --database MAIL_ACCOUNTS_DB_CONFIG

I get: CommandError: Database MAIL_ACCOUNTS_DB_CONFIG does not exist.

Hello @shashankvivek
Thank, I think your issue is related to PR #260
Could you test this PR and say if it fix your problems ?
Thanks.

Hi @ZuluPro , I tried to make changes in dbrestore.py as per this link but I am still getting the same error. I need to make the restore work asap , can you please tell me the stable release number which I can use for the time being.

Hello @shashankvivek
About your questions :

How to know which database backup has been made ?

By default dbbackup save all present databases

How to backup each DB seperately ?

You can choose which database you want to save with --database option.

How to restore it ?

There's a bug on database restoration. This bug should be fixed in the PR
About your issue:

Could you give the full traceback ?
Your database seems to be configured with constants (MAIL_ACCOUNTS_DB_CONFIG).
Are you sure about the values of theses contants ?

The PR #260 fixes the issue to an extent, please could you approve the change and merge it?

Yes it is ....
On Oct 15, 2017 21:59, "Anthony Monthe"<EMAIL_ADDRESS>wrote:
@shashankvivek https://github.com/shashankvivek
Is this issue still relevant ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/django-dbbackup/django-dbbackup/issues/261#issuecomment-336723297,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AbXF5nOx95EHuyNe6OZj8jWMGFB9-2BTks5ssjL8gaJpZM4PVDQK
.

As #260 is merged I'm closing this issue.


Login

Type of issue
Missing information
Description
https://github.com/Azure/login provides a lot of information on how to log in, including using OIDC.
So I have two questions that I'd like to see answered in the docs:

Is it possible to use the azure/login@v1 github action?
If not, I assume the federated credential has to look similar (you should provide same info as azure/login)

(That said, I am happy I found some github actions documentation at all!)
Page URL
https://learn.microsoft.com/en-us/dotnet/aspire/deployment/azure/aca-deployment-github-actions?tabs=windows%2Cvisual-studio
Content source URL
https://github.com/dotnet/docs-aspire/blob/main/docs/deployment/azure/aca-deployment-github-actions.md
Document Version Independent Id
c4fd539b-5f60-2dd0-0bf1-d0a218b99427
Article author
@IEvangelist

Mostly because I have azure/login working in my existing pipeline. Will the federated credential have the same subject if I switch to azd login?

Closing this as it appears to be a non-issue, more like a question that was answered. If I'm wrong, feel free to let me know and we can reopen this.


stubby: init at 0.2.2

Motivation for this change
Previous pull request was autoclosed (https://github.com/NixOS/nixpkgs/pull/34975)
Things done

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

[x] NixOS
[ ] macOS
[x] other Linux distributions

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

@ofborg build stubby

@GrahamcOfBorg build stubby

Success on aarch64-linux (full log)
Partial log (click to expand)
make[1]: Leaving directory '/build/source'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/hxn49iq4s9cf6lsi5gk7vfc8j4vqp12m-stubby-0.2.2
shrinking /nix/store/hxn49iq4s9cf6lsi5gk7vfc8j4vqp12m-stubby-0.2.2/bin/stubby
gzipping man pages under /nix/store/hxn49iq4s9cf6lsi5gk7vfc8j4vqp12m-stubby-0.2.2/share/man/
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/hxn49iq4s9cf6lsi5gk7vfc8j4vqp12m-stubby-0.2.2/bin
patching script interpreter paths in /nix/store/hxn49iq4s9cf6lsi5gk7vfc8j4vqp12m-stubby-0.2.2
checking for references to /build in /nix/store/hxn49iq4s9cf6lsi5gk7vfc8j4vqp12m-stubby-0.2.2...
/nix/store/hxn49iq4s9cf6lsi5gk7vfc8j4vqp12m-stubby-0.2.2

Failure on x86_64-darwin (full log)
Partial log (click to expand)
#include <Security/Authorization.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [Makefile:388: stubby-ui-helper.o] Error 1
make[2]: Leaving directory '/private/tmp/nix-build-stubby-0.2.2.drv-0/source/macos'
make[1]: *** [Makefile:495: all-recursive] Error 1
make[1]: Leaving directory '/private/tmp/nix-build-stubby-0.2.2.drv-0/source'
make: *** [Makefile:351: all] Error 2
builder for '/nix/store/qqsx466ckbgxag8prz9jy69r2nmpaq1z-stubby-0.2.2.drv' failed with exit code 2
error: build of '/nix/store/qqsx466ckbgxag8prz9jy69r2nmpaq1z-stubby-0.2.2.drv' failed

@leenaars Can you fix ^ or mark unsupported on darwin? You probably just need darwin.Security on darwin.

Have no access to a Mac, but I followed your advice - so let's see if that works. Otherwise I'll mark as broken.

@GrahamcOfBorg build stubby

Success on x86_64-linux (full log)
Partial log (click to expand)
/nix/store/bcbijy6l0bw2jilwv8zs144rcrlzbhvv-stubby-0.2.2

Success on aarch64-linux (full log)
Partial log (click to expand)
/nix/store/hxn49iq4s9cf6lsi5gk7vfc8j4vqp12m-stubby-0.2.2

Success on x86_64-darwin (full log)
Partial log (click to expand)
make[2]: Leaving directory '/private/tmp/nix-build-stubby-0.2.2.drv-0/source'
make[1]: Leaving directory '/private/tmp/nix-build-stubby-0.2.2.drv-0/source'
post-installation fixup
gzipping man pages under /nix/store/nh8kixsa7r0am67dq9zgs5lpcxp8q830-stubby-0.2.2/share/man/
strip is /nix/store/4sdh09gmvl15cy0zb6i7mbvxh5syz206-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/nh8kixsa7r0am67dq9zgs5lpcxp8q830-stubby-0.2.2/bin  /nix/store/nh8kixsa7r0am67dq9zgs5lpcxp8q830-stubby-0.2.2/sbin
patching script interpreter paths in /nix/store/nh8kixsa7r0am67dq9zgs5lpcxp8q830-stubby-0.2.2
/nix/store/nh8kixsa7r0am67dq9zgs5lpcxp8q830-stubby-0.2.2/sbin/stubby-setdns-macos.sh: interpreter directive changed from "/bin/bash" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/bash"
moving /nix/store/nh8kixsa7r0am67dq9zgs5lpcxp8q830-stubby-0.2.2/sbin/* to /nix/store/nh8kixsa7r0am67dq9zgs5lpcxp8q830-stubby-0.2.2/bin
/nix/store/nh8kixsa7r0am67dq9zgs5lpcxp8q830-stubby-0.2.2


Add GNU Guix and snappy logos

Guix - Gnu distro
Snappy - Canonical's "universal" package format for linux
Sorry I cant generate the assets, fontcustom just spits out ambiguous parsing errors on Linux mint even with all dependencies :/

@marekr Thanks for you contribution and sorry for the late reply. I'll temporarily close this PR for the same reason as in #37, but will re-open it once the project has taken a new direction.

@lukas-w Will you at least accept Guix? That's GNU branded Linux. It's actually GuixSD (Guix System Distro) and Guix is the package manager but they went a little baty with the naming. Same logo though
https://www.gnu.org/software/guix/screenshots/slim/

@marekr Ah, I was under the impression that Guix and its logo is just the package manager, sorry.
Btw, I'll merge Snappy as well eventually, don't worry

Guix and Snappy added in release v0.11.