text:
bug: conditional href on ion-tab is not two-way binded

Type: bug
Platform: all

I'm trying to get one of the tabs in my app to have a conditional route, that is based on the current state.
So something like this seems inuitive (with $state added to the scope)
```

I also tried both

href="{{ $state.current.name == 'tab.create' ? '#/tab/notify' : '#/tab/search' }}"
ui-sref="{{ $state.current.name == 'tab.create' ? 'tab.notify' : 'tab.search' }}"

The problem is (for all 3 variations) it only works for the href it gets initialized on but doesn't seem to update the target when ```$state.current.name``` changes. More specifically, the attributes on the DOM they DO update, however it seems the internals of `ion-tabs` do not.

This seems a bug in the two-way binding that needs to be fixed.

Greetings @parliament718!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

Got the same bug here with a variable in href. title and ng-if are updated.
<ion-tab title="Inscription {{sc.sport.id}}" icon-off="ion-ios-list-outline" icon-on="ion-ios-list" href="#/sport/{{sc.sport.id}}/inscription" ng-if="sc.sport.session">
    <ion-nav-view name="sport-inscription"></ion-nav-view>
  </ion-tab>

Do you mind putting together a small codepen for this?

It's not a very clear codepen but it demonstrates the problem: http://codepen.io/parliament718/pen/RPKLYY?editors=101
The ng-href on the contact tab is:
ng-href="{{ $state.current.name == 'tabs.home' ? '#/tab/contact' : '#/tab/contact2' }}"
so:
when coming from the home page, go to the contact tab
when not coming from the home page, go to the second contact tab
If you examine the DOM you'll see the href updates correctly based on the condition, however it has no effect on where the navigation will go. So it seems the href values for ion-tabs get cached on initialization.

Alright, seeing this as well. This may require some work. But a work around would be to use resolves

has anyone tried using a $scope function to bind the dynamic url. It works for me when I need to apply this convention
some link

$scope.getUrl = function(){...}

Hello all! As it seems it has been a while since there was any activity on this issue i will be closing it for now. Feel free to comment if you are still running into this issue. Thanks for using Ionic!

authors: Ionitron fvanniere jgw96 mhartington parliament718 sclearion


text:
Minifying the app.bundle.js and the css files automatically during ionic build

From @krz37 on December 18, 2015 8:47
Minifying the app.bundle.js and the css files automatically would drastically reduce de size and so the load of the JS and CSS files. HTML could also be included but I guess it needs a bit too much work compared to the outcome it would bring
Copied from original issue: driftyco/ionic2#774

From @tlancina on December 18, 2015 18:39
@krz37 so I'm not sure this is a good idea during development because it would take a significantly longer time to reminify the bundle on every single change.  For a good idea of the time difference, compare the running time of webpack and webpack -p, and that is without CSS minification.
What if instead there was a production CLI option that you run when you are ready to deploy your app into production that would handle minifying all of your assets?

From @tlancina on December 18, 2015 19:37
@krz37 ah sorry I see the issue was for build specifically.  Yes I like the idea of doing it then, since the only time you would be using build is to release, if I understand it correctly (since run and emulate will compile for you automatically).
Regarding the code duplication, that should go away soon as we're most likely going to pull app out of www. You can take a look at https://github.com/driftyco/ionic-conference-app/issues/98 for more of the discussion there.

From @krz37 on December 18, 2015 19:28
@tlancina That's right yes. Do you think it could be included in the "ionic build --release android" for example? A CLI option could be very nice as well.
Another thing I noticed is that currently the JS is included 2 times in the APK. If I am not mistaking it is in the /build/app.bundle.js and all the .js written are kept in /app when you extract it.

From @krz37 on December 18, 2015 19:40
Thank you

One more step of the production build should be calling enableProdMode().
import {enableProdMode} from 'angular2/core';

enableProdMode();

This issue was moved to driftyco/ionic-cli#752

source: gharchive/issue

authors: adamdbradley manucorporat mhartington

repo: driftyco/ionic

license: mit

license_type: permissive

license_source: bigquery


text:
Abiltiy to set pagination bullets of ion-slide to white

I'd like to set the pagination bullets color of slide component to white simply via property or something.
I've seen classes ready for this inherited probably from http://idangero.us/swiper/
By the way I hacked it this way: ion-slides .swiper-pagination {   @extend .swiper-pagination-white }

CSS is the best way to customize ionic component.
I don't think it's needed to add an option for things like this. You have all the options you want for style in css ;)
And I think this is not the right place for your post, it is best to post that on the ionic forum : https://forum.ionicframework.com/c/ionic-2
Not really an issue.

Hello, thanks for using Ionic! The correct way to do this is with the sass that you have posted above. While we definitely appreciate your suggestion, i am not sure that a minor styling thing like this is worth another property on the ion-slides component. I will close this issue for now, but will re-open if we re-evaluate. Thanks!

authors: Eclektic apreg jgw96


text:
fix(ion-item-divider): apply z-index when sticky only

Short description of what this resolves:
ion-item-divider has a z-index even when not sticky
Changes proposed in this pull request:

Apply z-index only when the divider has the sticky attribute

Ionic Version: 2
Fixes: #8489

https://github.com/driftyco/ionic/issues/8489#issuecomment-251892161

source: gharchive/pull-request


text:
Missing dripcap-linux-amd64.deb for Release 0.5.0

https://github.com/dripcap/dripcap/releases/tag/v0.5.0

done

repo: dripcap/dripcap


text:
[BUG]: orderBy causes relational query to fail

What version of drizzle-orm are you using?
0.28.6
What version of drizzle-kit are you using?
n/a
Describe the Bug
Hi Drizzle Team, thank you for making an awesome library! I think I found a bug, and I would love to help pin down what's causing it.
I have a simple schema that represents a file system, with objects and folders.
The schema:

export const folders = mysqlTable("folder", {
  id: varchar("id", { length: 255 }).notNull().primaryKey(),
  name: varchar("name", { length: 255 }),
  parentId: varchar("parentId", { length: 255 }),
  updatedAt: timestamp("updatedAt", { mode: "date" }).defaultNow().onUpdateNow().notNull(),
});

export const foldersRelations = relations(folders, ({ one, many }) => ({
  parentFolder: one(folders, {
    fields: [folders.parentId],
    references: [folders.id],
    relationName: "parentFolder",
  }),
  childFolders: many(folders, {
    relationName: "parentFolder",
  }),
  childObjects: many(objects),
}));

export const objects = mysqlTable("object", {
  id: varchar("id", { length: 255 }).notNull().primaryKey(),
  name: varchar("name", { length: 255 }).notNull(),
  contentType: varchar("contentType", { length: 255 }).notNull(),
  parentId: varchar("parentId", { length: 255 }),
  updatedAt: timestamp("updatedAt", { mode: "date" }).defaultNow().onUpdateNow().notNull(),
});

export const objectsRelations = relations(objects, ({ one, many }) => ({
  parentFolder: one(folders, {
    fields: [objects.parentId],
    references: [folders.id],
  }),
}));

However, when I run the following query using the Query API, I get a runtime error (TypeScript is totally clear and happy).
// this leads to an error at runtime

const folder = await db.query.folders.findFirst({
  where: (folders, { eq }) => eq(folders.id, folderId),
  with: {
    childFolders: {
      orderBy: (childFolders, { desc }) => desc(childFolders.updatedAt),
    },
    childObjects: {
      orderBy: (objects, { desc }) => desc(objects.updatedAt),
    },
    parentFolder: true,
  },
});

Here is the error message (it is a bit unwieldy, most of it is the sql query run by Drizzle)
Internal server error: target: pubflow.-.primary: vttablet: rpc error: code = Unknown desc = Window name 'id' is not defined. (errno 3579) (sqlstate HY000) (CallerID: jhm173senda5tl9p8jx7): Sql: "select id, `name`, parentId, updatedAt, coalesce((select json_arrayagg(json_array(id, `name`, parentId, updatedAt)) from (select folders_childFolders.id, folders_childFolders.`name`, folders_childFolders.parentId, folders_childFolders.updatedAt, row_number() over ( order by folders_childFolders.updatedAt desc) from folder as folders_childFolders where folders_childFolders.parentId = folders.id) as folders_childFolders), json_array()) as childFolders, coalesce((select json_arrayagg(json_array(id, `name`, contentType, parentId, updatedAt)) from (select folders_childObjects.id, folders_childObjects.contentType, folders_childObjects.parentId, folders_childObjects.`name`, folders_childObjects.updatedAt, row_number() over ( id order by folders_childObjects.updatedAt desc) from object as folders_childObjects where folders_childObjects.parentId = folders.id) as folders_childObjects), json_array()) as childObjects, (select json_array(id, `name`, parentId) from (select folders_parentFolder.id, folders_parentFolder.`name`, folders_parentFolder.parentId, folders_parentFolder.updatedAt from folder as folders_parentFolder where folders_parentFolder.id = folders.parentId limit :vtg1 /* INT64 */) as folders_parentFolder) as parentFolder from folder as folders where folders.id = :folders_id /* VARCHAR */ limit :vtg2 /* INT64 */", BindVars: {REDACTED}

However, when I remove the orderBy call on the child folders it all works perfectly (except for the ordering of the child folders, of course). Also, it's only necessary to remove the orderBy on the child folders (a relation to the same table), but not on child objects (which is a different table).
// now this code works!

const folder = await db.query.folders.findFirst({
  where: (folders, { eq }) => eq(folders.id, folderId),
  with: {
    childFolders: {
      // orderBy: (childFolders, { desc }) => desc(childFolders.updatedAt),
    },
    childObjects: {
      orderBy: (objects, { desc }) => desc(objects.updatedAt),
    },
    parentFolder: true,
  },
});

Seems to be an issue with orderBy in self-referential queries.
I'm using the PlanetScale MySQL adapter, but my guess is that it's not an issue with that because the second example works.
Thanks for your help, and please let me know if you have any questions.
Expected behavior
I expected the query to return successfully
Environment & setup
Local development in Node

Unfortunately, the workaround does not work for me.

This is a good workaround for now, and I'm sure building this in would not be too difficult.

same bug any fix?

authors: danielsharvey joshdchang yasseralsaidi

repo: drizzle-team/drizzle-orm

license_source: github-api


text:
[BUG]: Bulk feature broke sqlite-proxy field/key mapping

What version of drizzle-orm are you using?
0.30.2
What version of drizzle-kit are you using?
No response
Describe the Bug
After updating Drizzle to version 0.30.2 from 0.29.3, the values in the response from Drizzle when using the sqlite-proxy are all undefined.
Raw response from proxy:
{
  "age": 18,
  "city": "NULL",
  "created_at": "CURRENT_TIMESTAMP",
  "deleted_at": "NULL",
  "email": null,
  "id": 1,
  "name": "Thomas van der Westen",
  "updated_at": "CURRENT_TIMESTAMP"
}

Response from Drizzle:
{
  "age": undefined,
  "city": undefined,
  "created_at": undefined,
  "deleted_at": undefined,
  "email": undefined,
  "id": undefined,
  "name": undefined,
  "updated_at": undefined
}

Expected behavior
An object with values :)
Environment & setup
Demo repo: https://github.com/tdwesten/tauri-drizzle-sqlite-proxy-demo

This looks related: https://github.com/drizzle-team/drizzle-orm/issues/1534

I'm having the same problem (trying to use the proxy implementation with Tauri).

@dannickstark downgrading to version 0.29.3 works.

These are fully working examples for sqlite-proxy with server implementation:
https://github.com/drizzle-team/drizzle-orm/blob/main/integration-tests/tests/sqlite-proxy.test.ts
https://github.com/drizzle-team/drizzle-orm/blob/main/integration-tests/tests/sqlite-proxy-batch.test.ts
Seems like something wrong in your setup, I'll use your repo to reproduce it and check

Thanks @tdwesten ! Downgrading to 0.29.4 woked.
@AndriiSherman i tryed each version from 0.30.4 to 0.29.4. Unfortunately it work for the versions 0.29.4 and lower.

But the .returning() function always return an empty array.

authors: AndriiSherman dannickstark tdwesten


text:
Would you like to add a simulator for easier evaluation?

Hi @kpertsch @droid-dataset ,
To reproduce your work we need a panda arm and setup the hardware. Is it possible to use a simulator which contains a panda arm?
For example, the ARNOLD benchmark is based on Issac sim (quick enough) and contains a panda arm. It provides a small dataset with 8 tasks.

Is it suitable to train on the droid dataset, and evaluate ARNOLD?
If it's not suitable, what kind of simulator do you recommend?
Would you like to integrate the simulator into your repo? So everyone can train on droid and evaluate with a simulator in very low cost.

Best,
StarCycle

You can certainly collect data in your simulator and co-train with that data + DROID. Then you should be able to test out your policy in any simulator of your chance -- if the simulator has a Panda arm I would expect co-training with DROID to still be reasonably helpful.

Ah sorry just saw this! Agreed with Ashwin -- co-training should work with sim data. Evaluating in a simulator "0-shot" without any simulation data would probably be very hard, so def collect some sim data.

It makes sense! Thank you @kpertsch @ashwin-balakrishna96

authors: StarCycle ashwin-balakrishna96 kpertsch

license: MIT


text:
获取ticket后cas v3验证报错

配置的登录地址：http://192.168.0.3/testcas/login
服务地址：http://192.168.0.3/testcas/
回调地址：http://192.168.0.3/testcas/login
已经获取到ticket：ST-13-pxenwLUKA1Bf0XwD1uNNMHh3xHUrhHntbRE
然后通过v3验证接口验证：curl -XPOST 'http://192.168.0.3/sign/authz/cas/p3/serviceValidate?ticket=ST-13-pxenwLUKA1Bf0XwD1uNNMHh3xHUrhHntbRE&service=http://192.168.0.3/testcas/'
报错结果：<cas:serviceResponse xmlns:cas="http://www.yale.edu/tp/cas"><cas:authenticationFailure code="null">null</cas:authenticationFailure></cas:serviceResponse>
其中maxkey docker日志只打印了一条日志，没有额外的日志：
2024-12-02 13:51:50.934 DEBUG [http-nio-9527-exec-9] org.dromara.maxkey.authz.cas.endpoint.Cas30AuthorizeEndpoint:70 - serviceValidate  ticket ST-13-pxenwLUKA1Bf0XwD1uNNMHh3xHUrhHntbRE , service http://192.168.0.3/testcas/ , pgtUrl null , renew null , format xml

提Issue后请联系官方QQ 1054466084，提供更多的日志，或者远程支持。

您好，您的来信已经收到--郭广川

authors: meizhuhanxiang shimingxy

repo: dromara/MaxKey


text:
adds DRONE_RUNNER_ANNOTATIONS config bit

This PR adds the DRONE_RUNNER_ANNOTATIONS config bit to be used by the kubernetes Runner.
This is my first attempt at go, and I apologize in advance for any conventions that may be improper. I figured starting the conversation would be better than not trying at all
This work is to help close out https://github.com/drone/drone-runtime/issues/38

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

the kubernetes runtime in this repository was deprecated.  the second generation implementation of the kubernetes runner can be found at https://github.com/drone-runners/drone-runner-kube
the second iteration does not yet support global annotations, so this pull request could be opened against the new repository.

repo: drone/drone


text:
Escapes outside of variable substitution

This demonstrates #26:
eval_test.go:211: \\something ${var=${default_var}}
eval_test.go:220: Want "\\\\something ${var=${default_var}}" expanded to "\\\\something foo", got "\\something foo"

Once get confirmation on behavior expected can update.

Sounds valid for me, now code got to be fixed :)

I added a few more tests cases and updated so only the $$ gets escaped during normal scanning but all characters get scanned when inside a variable replace function.  PTAL

@tboerger gentle ping.  If there is a better approach, happy to adjust

@tboerger gentle ping.  If there is a better approach, happy to adjust

@tboerger @bradrydzewski any further thoughts here?

Bumping the version sounds valid to me. This could be added to Drone 2.0 in that case.

Is bumping the version something I need to do in this PR or is that a follow up?  Would like to get this update in so we can unblock the capi scenario it is used in: https://github.com/kubernetes-sigs/cluster-api/issues/4016

hey James, apologies for not being more responsive. Yes, if you could help bump the version number as part of this pull request that would be great.  I also think having more people involved and able to merge would be great, and would like to grant you maintainer access, if you are interested ... that way you can help push through time sensitive pull requests related to kubernetes.

@bradrydzewski  I've updated the module version.
Regarding the maintainer access, I could help out. Do you have any docs on your release process or other things like that?  Is there a communication channel you hang out in for drone (i.e. slack or something similiar)?

@jsturtevant thanks for the contribution.  we are working on making Drone more of an open community so please bear with us; we do not have a lot of process or documentation in place yet.  @tphoney any advice on what we can / should put in place here?

authors: bradrydzewski jsturtevant tboerger

repo: drone/envsubst


text:
[Feature] Obtaining Flight Log via Dronekit-python

Hello,
When DKP was reliant on MAVProxy, the flight logs were saved to a local folder from where we were trying to run MAVProxy + DKP code. I was wondering if something similar is or could be easily set up with DKP2 or not?
If it's possible to do it, but not under recent development or with that intention, perhaps I could give it a shot of implementing it if pointed in the right direction.
Please let me know what you think works best, if at all.

@sahiljuneja I think this could be done by sending  custom MAVLink log messages to request the logs, and onmessage() to intercept the responses.
But (personally) don't think it is something that DK-Python should support. If you need logs you can use a GCS to get them.
The reason for this opinion is that DK-Python is mainly intended for driving the autopilot from a companion computer - unless you're planning on doing on-the-fly analysis of logs there really isn't a need for logs via dk.
I don't see us implementing the functionality. If you do see a strong use case or have code to contribute we would certainly consider it though. Thanks!

is there a way to download all the logs using dronekit-python?

authors: hamishwillee sahiljuneja shubham9436

repo: dronekit/dronekit-python


text:
Refactoring required by page Table extract

child of: https://github.com/uberfire/uberfire-extensions/pull/242

+1 to merge.

master: 594354fdabcc0df8d80b3d313d8125caa9caa9a4

authors: csadilek ederign manstis

repo: droolsjbpm/jbpm-console-ng


text:
Moving Social Activities Framework from kie-uberfire-extensions to ub…

Depends on https://github.com/uberfire/uberfire/pull/603

Jenkins retest this.

@psiroky fyi, you might like this too ;). Getting closer to removing this repo.

authors: csadilek ederign

repo: droolsjbpm/kie-uberfire-extensions


text:
Fast Thumbnails

Would be great if DropBox API had fast thumbnails preview like google drive and one Drive.
These load the thumbnails immediately, while in DropBox we must request the thumbnails, generate the files and then display them in our application. With large files this takes a long time.

Thanks for writing this up! We'll file this as a feature request for faster thumbnails like that.

authors: greg-db rodriguesfranco

repo: dropbox/dropbox-api-spec


text:
Dropbox api(NodeJS) filesDownload issue

hi, I am exploring the dropbox api and trying to write the code for downloading files from Dropbox into a local path using nodejs. Seeing the documentation it only tells me to provide the path of the file in dropbox in the args object. Does anyone know where to provide the local path.

There's an example using of a download-style call in Node here:
https://github.com/dropbox/dropbox-sdk-js/blob/master/examples/javascript/node/download.js#L19
You don't directly supply a local file path for the resulting file data in the SDK method argument. Instead, the callback gives you the file data, which you can use as desired. (E.g., save it to a file using fs.writeFile, as shown in this example.)

repo: dropbox/dropbox-js


text:
giving an invalid cursor to filesListFolderContinue causes an error

Hello,
If you give an invalid cursor to filesListFolderContinue, you get the following error:
Uncaught SyntaxError: Unexpected token E in JSON at position 0
      at JSON.parse (<anonymous>)
      at buildCustomError (node_modules/dropbox/src/rpc-request.js:10:29)
      at responseHandler (node_modules/dropbox/src/rpc-request.js:33:17)
      at Request.callback (node_modules/superagent/lib/node/index.js:703:3)
      at IncomingMessage.<anonymous> (node_modules/superagent/lib/node/index.js:922:12)
      at endReadableNT (_stream_readable.js:975:12)
      at _combinedTickCallback (internal/process/next_tick.js:80:11)
      at process._tickCallback (internal/process/next_tick.js:104:9)

If you look at the source code src/rpc-request.js:6, response.text is a string instead of an object
var buildCustomError = function (error, response) {
  console.error(error, response.text)
  return {
    status: error.status,
    error: (response ? JSON.parse(response.text): null) || error, // <- response.text is a string in this case
    response: response
  };
};

response.text will be: 'Error in call to API function "files/list_folder/continue": Invalid cursor'
using node v7.9.0
sdk v 2.5.0

Thanks for reporting! We'll take a look and get back.
On May 4, 2017 12:29 PM, "Stefan Wojcik" notifications@github.com wrote:

Hello,
If you give an invalid cursor to filesListFolderContinue, you get the
following error:
Uncaught SyntaxError: Unexpected token E in JSON at position 0
at JSON.parse ()
at buildCustomError (node_modules/dropbox/src/rpc-request.js:10:29)
at responseHandler (node_modules/dropbox/src/rpc-request.js:33:17)
at Request.callback (node_modules/superagent/lib/node/index.js:703:3)
at IncomingMessage. (node_modules/superagent/lib/node/index.js:922:12)
at endReadableNT (_stream_readable.js:975:12)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
If you look at the source code src/rpc-request.js:6, response.text is a
string instead of an object
var buildCustomError = function (error, response) {
console.error(error, response.text)
return {
status: error.status,
error: (response ? JSON.parse(response.text): null) || error, // <- response.text is a string in this case
response: response
};
};
response.text will be: 'Error in call to API function
"files/list_folder/continue": Invalid cursor'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dropbox/dropbox-sdk-js/issues/121, or mute the thread
https://github.com/notifications/unsubscribe-auth/AE2ScACvHSnIqbPZ88Mr_qBuwsJkHle_ks5r2ic1gaJpZM4NRHeD
.

This would be fixed by #128.

authors: bengourley pran1990 yawhide

repo: dropbox/dropbox-sdk-js


text:
Fash hash threat model might be optimistic

Fast hash threat model assumes 2^58.13 hashes per year (math). In Towards Reliable Storage of 56-bit secrets in human memory the researchers estimate an attacker could hit 2^70 SHA256 hashes per year at a cost of US$1M in 2013 (pg 2) based off of bitcoin hash rates, which seems a very reasonable metric.
To match that alone, the 10 billion / second would need to upgrade to 40 trillion / second (math) (US style affixes).
I've not analyzed the slow hash times to see if I'd agree with them, but I'd gather they can be safely derived from the fast hash times, assuming bcrypt et al - per the above paper, adding 14-16 bits might be safe. Actually, using the original 2^58 per year, we have over 100k / second with 16 bits added (math) or (rounding up for pessimism) about 1B / second for the 2013 2^70 / year figures (math).
On the other hand, your estimates might be entirely reasonable depending on the attacker. What are the attacker's presumed capabilities?
In an unrelated note, I think 100 / second might be equally feasible for an unthrottled online attack, given my experiences with negligent server administrators and poor password storage. It seems feasible with increasing bandwidth and server speeds that the unthrottled online attack also might change, though perhaps more slowly than offline attacks.
Contrariwise, the throttled online attack might well be much reduced from 100/hour - in the case of a debit card PIN for example, the limit is traditionally just 3 attempts before non-temporal lockout. Often systems have a much lower lockout throttle than 100/hour (though, being pessimistic is better than optimistic).
Current bitcoin hashrates appear to have peaked at time of this bug report at around 110,000,000 TH/s - or over 100 million trillion hashes, 1.10 * 10^20. That was on the 23nd of October (one source). Same site  estimates an income of 0.149 per TH for the same date, for an approximate cost in late 2019 of $54.38 USD per TH/s (math).
If an attacker has $1,000,000 to spend in 2019 for a year of cracking, they can crack approximately 5.8 * 10^23 hashes that year (math) which is about (wolfram alpha finally gave up on my odd equations)   79 bits (math) of entropy in a year.
Possibly the attacker wants to spread the cracking around to multiple accounts, or has less than $1,000,000 (or more than $1,000,000) to spend. If we give the attacker 100 times more money to attack 10,000 accounts (both somewhat reasonable pessimistic assumptions) the numbers thankfully cancel out reasonably leaving about 72.3 bits of true entropy cracked for each of 10,000 accounts in a year with a USD $100,000,000 system. (Can add the log2 of the ratio between money multiplies and accounts multiplier - ie, log2(100 / 10000) for $100M USD and 10,000 accounts to play with money/spread easily - ie, a $10k rig targeting one account for 1 year would also hit 72.3 bits of entropy as the ratio is the same).
Anyway - all that to say that I think 58 bits cracked per year per account is too optimistic. Around 40TH/s seems more reasonable to me, or if really needing a strict 10, 10 TH/s results in about 68 bits in a year, or about $500 per user per 2019 year.

TL;DR: 40 TH/s for the fast offline hash, about 600 M/s for the slow offline hash, and 100 / second for the unthrottled online attack.

repo: dropbox/zxcvbn


text:
When using JerseyClient dropwizard metric is not reflecting connection pool details

When using JerseyClient, apart from max-connections, all the other metric remains 0, like available-connections, leased-connections etc.
Is there an example of how to initiate the client? As of now, it's done in a standard manner -
final Client client = new JerseyClientBuilder(environment).using(config.getJerseyClientConfiguration())
.build(getName());
This may be similar to the issue(https://github.com/dropwizard/dropwizard/issues/789) but was not finding a concrete example with the metric publishing working fine. If the functionality is working, please provide some detail/example of how to achieve the same.

For facilitation, what version of dropwizard are you using?

As of now, dropwizard version 1.1.0

Sorry for such the delay, but I can confirm your findings: it appears that since Dropwizard 1.1.0 (I have Dropwizard 1.0.x app that reports it fine) those metrics are zero. It may be the difference between sync and async http clients, as I haven't controlled for that yet.

I just recently checked again and I must have been mistaken the first time (as I can see metrics dating back several years) where I can see non-zero metrics for both async and sync clients. So there is no bug here. Oftentimes the metric may report zero for short and fast requests.

authors: nickbabcock shankhanildas

repo: dropwizard/dropwizard


text:
Dependency Convergence

Call me a purist but I use Maven Enforcer to make sure there are not different versions of jars on the classpath.  Occasionally when updating DropWizard I see these errors where I have to exclude a library from a JAR then explicitly add it back in.  Am I too paranoid or is this a good practice?
In this case, the offending library is jetty and jersey:
Dependency convergence error for org.eclipse.jetty:jetty-server:9.4.26.v20200117 paths to dependency are:
+-com.coxautoinc.dms.int.service:jwt-service:0.0.1-SNAPSHOT
  +-io.dropwizard:dropwizard-core:2.0.1
    +-io.dropwizard:dropwizard-jersey:2.0.1
      +-org.eclipse.jetty:jetty-server:9.4.26.v20200117
and
+-com.coxautoinc.dms.int.service:jwt-service:0.0.1-SNAPSHOT
  +-io.dropwizard:dropwizard-core:2.0.1
    +-io.dropwizard:dropwizard-jetty:2.0.1
      +-io.dropwizard.metrics:metrics-jetty9:4.1.2
        +-org.eclipse.jetty:jetty-server:9.4.24.v20191120
and
+-com.coxautoinc.dms.int.service:jwt-service:0.0.1-SNAPSHOT
  +-io.dropwizard:dropwizard-core:2.0.1
    +-io.dropwizard:dropwizard-jetty:2.0.1
      +-org.eclipse.jetty:jetty-server:9.4.26.v20200117
and
+-com.coxautoinc.dms.int.service:jwt-service:0.0.1-SNAPSHOT
  +-io.dropwizard:dropwizard-core:2.0.1
    +-io.dropwizard:dropwizard-jetty:2.0.1
      +-org.eclipse.jetty:jetty-servlet:9.4.26.v20200117
        +-org.eclipse.jetty:jetty-security:9.4.26.v20200117
          +-org.eclipse.jetty:jetty-server:9.4.26.v20200117
and
+-com.coxautoinc.dms.int.service:jwt-service:0.0.1-SNAPSHOT
  +-io.dropwizard:dropwizard-core:2.0.1
    +-io.dropwizard:dropwizard-lifecycle:2.0.1
      +-org.eclipse.jetty:jetty-server:9.4.26.v20200117

Dependency convergence error for org.glassfish.jersey.core:jersey-server:2.30 paths to dependency are:
+-com.coxautoinc.dms.int.service:jwt-service:0.0.1-SNAPSHOT
  +-io.dropwizard:dropwizard-core:2.0.1
    +-io.dropwizard:dropwizard-jersey:2.0.1
      +-org.glassfish.jersey.core:jersey-server:2.30
and
+-com.coxautoinc.dms.int.service:jwt-service:0.0.1-SNAPSHOT
  +-io.dropwizard:dropwizard-core:2.0.1
    +-io.dropwizard:dropwizard-jersey:2.0.1
      +-org.glassfish.jersey.ext:jersey-bean-validation:2.30
        +-org.glassfish.jersey.core:jersey-server:2.30
and
+-com.coxautoinc.dms.int.service:jwt-service:0.0.1-SNAPSHOT
  +-io.dropwizard:dropwizard-core:2.0.1
    +-io.dropwizard:dropwizard-jersey:2.0.1
      +-io.dropwizard.metrics:metrics-jersey2:4.1.2
        +-org.glassfish.jersey.core:jersey-server:2.29.1
and
+-com.coxautoinc.dms.int.service:jwt-service:0.0.1-SNAPSHOT
  +-io.dropwizard:dropwizard-core:2.0.1
    +-io.dropwizard:dropwizard-jersey:2.0.1
      +-org.glassfish.jersey.containers:jersey-container-servlet:2.30
        +-org.glassfish.jersey.containers:jersey-container-servlet-core:2.30
          +-org.glassfish.jersey.core:jersey-server:2.30
and
+-com.coxautoinc.dms.int.service:jwt-service:0.0.1-SNAPSHOT
  +-io.dropwizard:dropwizard-core:2.0.1
    +-io.dropwizard:dropwizard-jersey:2.0.1
      +-org.glassfish.jersey.containers:jersey-container-servlet:2.30
        +-org.glassfish.jersey.core:jersey-server:2.30

to resolve the issue I have to do the following:
<dependency>
            <groupId>io.dropwizard</groupId>
            <artifactId>dropwizard-core</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.eclipse.jetty</groupId>
                    <artifactId>jetty-server</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.glassfish.jersey.core</groupId>
                    <artifactId>jersey-server</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <dependency>
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>jetty-server</artifactId>
            <version>9.4.26.v20200117</version>
        </dependency>

        <dependency>
            <groupId>org.glassfish.jersey.core</groupId>
            <artifactId>jersey-server</artifactId>
            <version>2.30</version>
        </dependency>

It looks like upstream dropwizard metrics (https://github.com/dropwizard/metrics/compare/v4.1.2...4.1-development) has updated to the same versions of jersey and jetty as dropwizard 2.0.1, so this should be resolved by releasing metrics 4.1.3 and updating dropwizard to use the new version.
cc @jplock @joschi

authors: johnnorton pkwarren


text:
how to add script to template?

how to add this script to vue template?only can add to html?

You should add it to HTML like I wrote in README:
Add this just before closing body to get Google Recaptcha API

repo: drozdzynski/vue-grecaptcha


text:
Add ddev remove --fire-bazooka

Is your feature request related to a problem? Please describe.
I always recommend ddev rm -a and if that fails docker stop $(docker ps -q) && docker rm -f $(docker ps -aq), but that's kind of complicated and dockerish for people. Why not docker rm --fire-bazooka? Easy to do, safe.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Now that we have ddev poweroff I think we should drop this more exotic attempt.

repo: drud/ddev


text:
ddev's management of /etc/hosts file could use one line per host, instead of putting all on one line

Is your feature request related to a problem? Please describe.
It's not really a problem, more likely an improvement for a faster work flow.
Describe the solution you'd like
Currently, ddev produces entries in /etc/hosts like this:
127.0.0.1 localhost mysite.ddev.site mysecondfqdn.com mythirdsite.org

Which are a few steps more if you'd like to go the production site instead of your local machine. The background:
Great online shop systems like Shopware have licensed plugins to a fully qualified domain and they only run in the local instance, if the domain entry matches the fqdn in /etc/hosts.
To make life easier, so for simple commenting out, it would be better to have one fqdn assignment to 127.0.0.1 like i. e. vagrant with the pluign vagrant-hostmanager does on the host machine. It wraps each written entry in an uuid block comment like this, so that the program can clearly identify its written entries based on that vagrant's start id (vagrant generates an hash on each vagrant up command, which is directly dumped out from that host manager plugin):
# some other entries
129.192.202.303

# vagrant-hostmager start-id fec11294-7158-11eb-9439-0242ac130002
127.0.0.1 mysite.ddev.site
127.0.0.1 mysecondsite.ddev.site
127.0.0.1 example.com
127.0.0.1 www.example.com
# vagrant-hostamanger start-id fec11294-7158-11eb-9439-0242ac130002

129.0.2939.3 othersite.com

Describe alternatives you've considered
Running a local dns server in the LAN like dnsmasq, but it's even much more complex and for most developers not really considerable.
Additional context
None

First, most people don't use the hosts file at all any more, they use *.ddev.site, which doesn't require mucking with the hosts file. But I can see your use case.
But I definitely wish that the library we depend on did one line per host. /etc/hosts alteration is little-used now though, so not likely to change.

Hello,
OS: MacOS Big Sur
Docker: 4.13.0
DDEV: 1.21.3
DDEV appends all local hostnames on my Mac in /etc/hosts in one line.
Currently, I have the problem that new hosts will not startup. "Network not reachable" while trying to access the new project in browser. I haven't count the local projects, but it could be ~300 *.ddev.site hostnames.
I found a very old issue ticket where a limitation of 4K each line takes affect:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/386791
For now I have remove some hostnames from the one-liner to get the project started.
Stefan

Hi @froemken - You must have a Fritzbox router I guess, or some other network situation that denies DNS rebinding, but usually it's Fritzbox routers. You'll be much happier with things if you fix that, see https://ddev.readthedocs.io/en/latest/users/basics/troubleshooting/#dns-rebinding-prohibited

Note that Windows 11 doesn't seem to have the 10-hosts-per-line problem any more.

authors: alpham8 froemken rfay


text:
Use DNS for name resolution in most cases, fixes #416, fixes #834

The Problem/Issue/Bug:
It's icky messing with the hosts file and requires admin privileges.
Windows has a limit of 9 aliases on a line in the hosts file.
OP #416 requested non-hosts-file name resolution
OP #834 requested the ability to change the TLD in use, as is provided here.
How this PR Solves The Problem:
When the hostname is already resolvable, do not add it to the hosts file.
Note that this will require a transition to using "ddev.site" instead of "ddev.local"
TODO:

[x] Deal with the problem of a possible additional_fqdn that resolves already, provide a way to work around that.
[x] Provide a way to completely turn off this behavior in config.yaml
[x] This probably can't work with Docker Toolbox as currently envisioned (because the IP address is different)
[x] Provide configuration that allows an orderly transition to using "ddev.site" instead of "ddev.local"
[x] Change docs to use "ddev.site"
[x] Docs must explain how this works
[x] docs needs to say how to use ddev offline (may need ddev start to update, consider tld and useDNSwhen possible

Manual Testing Instructions:
Automated Testing Overview:

[ ] Test behavior with DNS resolution turned off (I don't think we can do this successfully because the tests don't actually modify /etc/hosts or use sudo)
[ ] Test behavior with TLD changed in config

Related Issue Link(s):
Release/Deployment notes:

@andrewfrench Another big one for your plate, but not as big. This one is easier to navigate and the results should be clear enough. Thanks!


text:
Make composer root directory configurable, fixes #1699

The Problem/Issue/Bug:
Sometimes the composer.json is not located in the project root and for each composer command the working-dir option must be provided.
How this PR Solves The Problem:
This patch introduces a new config option to change the composer root to a sub folder. Composer can now be used without the working-dir option.
Manual Testing Instructions:
config options

Configure the composer root directory using the new option
Reset the configuration to the default using the new option

composer command
Run composer commands and check if the command is executed in the correct directory.
composer-create command
Run composer-create command and check if the project is created the correct directory.
Automated Testing Overview:

the existing composer tests are extended with the new configuration
the config tests are extended with the new options

Related Issue Link(s):
Resolves #1699
Release/Deployment notes:

Nothing special is needed.

Just a note: It configures a bit differently from the working_dir (https://ddev.readthedocs.io/en/stable/users/extend/config_yaml/#ddevconfigyaml-options)
This
composer_root_dir: /var/www/html/src
# for comparison:
working_dir:
  web: /var/www/html/src

would not work (tested with ddev composer show). It currently needs to be relative like composer_root_dir: src or ./src or ./src/. I would be nice to allow for relative and absolute paths.
The ddev config composer-root-dir ... and ddev config composer-root-dir-default work fine for me.
Following this with ddev config --project-type=typo3 --docroot=some/public --create-docroot --composer-root-dir=./some/ leads to a problem, though:
The some/public directory existed but has been removed in this command:
$ ddev composer create "typo3/cms-base-distribution:^11"

Warning: MOST EXISTING CONTENT in the project root (/home/jonas/tmp/my-typo3-site) will be deleted by the composer create-project operation. .git and .ddev will be preserved.
Would you like to continue? [Y/n] (yes): yes
Removing any existing files in project root
Executing composer command: [composer create-project typo3/cms-base-distribution:^11 /tmp/wSURnj]

Creating a "typo3/cms-base-distribution:^11" project at "/tmp/wSURnj"
Installing typo3/cms-base-distribution (v11.5.1)
  - Downloading typo3/cms-base-distribution (v11.5.1)
  - Installing typo3/cms-base-distribution (v11.5.1): Extracting archive
Created project in /tmp/wSURnj
Loading composer repositories with package information
Updating dependencies
... # Downloading, extracting and installing of packages
Generating autoload files
> typo3cms install:fixfolderstructure
...
Moving installation to composer root
Using '/var/www/html/some' as composer root directory
Using '/var/www/html/some' as composer root directory
Failed to create project: ComposeCmd failed to run 'COMPOSE_PROJECT_NAME=ddev-my-typo3-site docker-compose -f /home/jonas/tmp/my-typo3-site/.ddev/.ddev-docker-compose-full.yaml exec -w /var/www/html/some -T web bash -c set -eu && ( rsync -a "/tmp/wSURnj/" "/var/www/html/some/")', action='[exec -w /var/www/html/some -T web bash -c set -eu && ( rsync -a "/tmp/wSURnj/" "/var/www/html/some/")]', err='exit status 126', stdout='OCI runtime exec failed: exec failed: unable to start container process: chdir to cwd ("/var/www/html/some") set in config.json failed: no such file or directory: unknown
', stderr=''

Is the generating in /tmp, then moving it somewhere else really still needed?

Thanks for your feedback and testing!

Just a note: It configures a bit differently from the working_dir (https://ddev.readthedocs.io/en/stable/users/extend/config_yaml/#ddevconfigyaml-options)

Yes, it's currently relative to /var/www/html, the default for working_dir. I'm absolutely open to change this.
Also thought about to make it always relative to working_dir, would also be a good option. I did not because this would be breaking.

Following this with ddev config --project-type=typo3 --docroot=some/public --create-docroot --composer-root-dir=./some/ leads to a problem, though:
The some/public directory existed but has been removed in this command:

Well, that's intended and a warning is shown. This behavior has not changed by the patch.

$ ddev composer create "typo3/cms-base-distribution:^11"

Warning: MOST EXISTING CONTENT in the project root (/home/jonas/tmp/my-typo3-site) will be deleted by the composer create-project operation. .git and .ddev will be preserved.
Would you like to continue? [Y/n] (yes): yes
Removing any existing files in project root

Looks these messages should be optimized....

Is the generating in /tmp, then moving it somewhere else really still needed?

Yes, that's because git clone does not work in a non empty directory and I do not like a different behavior, if composer_root_dir is set.
@rfay what would you suggest, making this path also absolute? I'm fine with it.

composer create-project absolutely will not work in a dir that has contents, so has to be done somewhere else; current code rsyncs it into place then. That's what the creation in /tmp and then the move is about. The reason for using /tmp is it's fast there no matter what the setup, docker mount, NFS, or mutagen. The copy into place is sometimes slow though. All this makes me hate composer create-project and wonder why it's even useful at all.
I'd be interested in changing all the quickstarts to ddev composer create-project --no-install followed by ddev composer install which loses most of that nonsense.

IMO composer_root_dir should be relative to /var/www/html - I think that's what you're asking.
I don't recommend using working_dir for something like this as it may mean other things to people. It's mostly the default dir for ddev exec, ddev ssh. I don't think it's widely used.

I'd be interested in changing all the quickstarts to ddev composer create-project --no-install followed by ddev composer install which loses most of that nonsense.

This will not solve the cloning issue. I don't see a solution if the composer root is equal to the project root. But with this change I could make it simpler by directly using the destination. As this is more an edge case, this would still not solve the problem for the most cases though...

BTW I probably won't review this until I get v1.19.0 out. Thanks for the good work here!

BTW I probably won't review this until I get v1.19.0 out. Thanks for the good work here!

Yeah, was expected, was a bit late to the party :)
@rfay can we agree using an absolute path here?

Currently absolute has been shown in the docs for working_dir so I agree with using this here, too. My point was just about a bit of commonality between the two options ;)

Absolutely agree. And this will also make it more flexible. Going to change it...

Changed now, please check the description here for the new behavior https://github.com/drud/ddev/pull/3654/files#diff-5d46f5073025478314cefbf1d169ed7014159e6f7c20235703b85bb50343c672R83-R90

The test failure in buildkite/ddev-macos-use-nfsmount seems unrelated:
error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.41/containers/429b59675e6b12e8725433a91763e053e8749948dfab926e7d8f454c4437f17a/start": EOF'

Thanks for testing! Yes, already talked to Randy, this are common hiccups which happens regularly. Not related to my changes.

Thanks for adding this feature so fast! I've tested it successfully. Based on the manual testing instructions @gilbertsoft

Minor rebase was required after https://github.com/drud/ddev/pull/3677, so letting it go through another test run.

authors: gilbertsoft jonaseberle josefglatz rfay


text:
add a unique string to intermediate path for the hadoop indexing task

currently intermediate path for the hadoop indexing is workingDir/dataSource/version
if user is submitting parallel hadoop indexing jobs for same dataSource (with different intervals), they might end up getting same "version" which is just current time.
this causes many weird scenarios to happen such as one task trying to publish segments created by other task and failing because it wouldn't have lock on those intervals etc.
with this PR, intermediate path is changed to workingDir/dataSource/version/uuid

:+1:

For sanity sake, can you test that when two configs which omit the unique ID are created via json deserialization, that they have different IDs?

If this needs to be in fast I'm ok without it, but it would be nice to have an actual "is it unique" test

@drcrallen added test for assigned id's being unique.
regarding "is it unique" test, given that path has timestamp and uuid in it, IMO it will be fine.

:+1:

authors: drcrallen fjy gianm himanshug

repo: druid-io/druid


text:
Fix dependencies.

Fixes #2443

:+1:


text:
Issue#53

Fixing Issue#53.
Used task duration of realtime tasks to form the service name.

Found an issue fix..hence closing this pull req,will raise another later

repo: druid-io/tranquility


text:
Add init command and fix code styling

I have made the changes for init again. Also, fixed some minor code styling issues.

I created a sample_config command in my PR (#12) that does the same thing.
@fago if you want to merge @theodorosploumis's config file addition instead of mine let me know and I'll rebase my work on @theodorosploumis's.

repo: drunomics/syncd


text:
Documentation of data.

Go thorugh the dataset and make a notebook which explain columns of our dataset (eg column37 display will a player wil or lose)

Can I do that I am beginner can you berif me once ?
Please assign me the work If you feel I am suitable?

@sarthakpant772 Hey, let me know if I can work on this.

Hey @nayan2306  you can work on this issue. What you can do is if u see data-description (kr-vs-kp).txt the description is not that much clear about data please go through King-RookvsKing-Pawn.xlsx and try to come up with good description of the data. All the best

Hey @TishaJhabak1014  sorry @nayan2306  asked it first. If u want to work on another issue let me know and if all are assigned why not create one of your own. Happy coding. 😄

Okay sure thanks


text:
ERROR: Failed building wheel for dbus-python

run the command "pip install bardapi", and the dbus-python error occured, is there anyone met the same problem ?

This issue is more related to the environment rather than the Bard-API package problem, and since there have been no other reports from users, I closed this issue.

authors: YoungerGao dsdanielpark

repo: dsdanielpark/Bard-API


text:
Fix issue with rimraf

npm run clean sometimes fail

Issue to watch: https://github.com/isaacs/rimraf/issues/102

repo: dsebastien/angularjs-webpack-starter


text:
Make Data statement & README

Description
Data statement & README for the repo
Tasks
Include specific tasks in the order they need to be done in. Include links to specific lines of code where the task should happen at.

[ ] Make a Data statement in the root folder
[X] Make a readme in the root folder

There is a QnA style datasheet.md doc I believe is a different format data statement.

repo: dsfsi/vukuzenzele-nlp


text:
Add better inspect for PathRef

It's not good right now:
> const p = $.path(".").resolve()
undefined
> p
PathRef {}

Should probably be PathRef("..path goes here...") or something like that.

Closed by #120

repo: dsherret/dax


text:
Timezone Utilities: Install tzselect utility

Did you forget this?

Also for llvm-12.0.0 branch.

Did you forget this?

Most likely! lol
thanks!


text:
Client log messages should be printed to a temp file.

@MrKingHH @senyer @kairbon  cc

repo: dst-project/dst


text:
Bad performances

Hello,
I used this bot a few weeks. I receive less NFTs with the bot than replying manually. It this the goal of the bot ? (no spamming)
Also, sometimes when I go on Reddit, I see that the bot upvoted but it doesn't replied to the post

Its possible you're shadow banned on reddit, works perfectly fine for me 200+ nfts obtained using this bot.

authors: dsymbol faycal-rakza

repo: dsymbol/reddit-nft-freebies

license: Unlicense


text:
Pressure and Humidity endpoints are reversed

When calling the endpoint to get the pressure, the humidity is returned. When querying for the humidity, the pressure is returned.
Bme280::read_sensor returns temperature, pressure, humidity in this order
(https://github.com/dtext/bme280ws/blob/master/app/weather.py#L15)
The /humidity endpoint returns the second return value
(https://github.com/dtext/bme280ws/blob/master/app/main.py#L25)
The /pressure endpoint returns the third return value
(https://github.com/dtext/bme280ws/blob/master/app/main.py#L30)

Thanks, missed that one!

authors: dtext florianluediger


text:
🛑 ApiAU is down

In bd165e2, ApiAU (https://api-clientes.servicesdtk2.cl/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ApiAU is back up in a42ce52.


text:
fix bugs && add ref features && list decode refactor

fix bugs
add ref features
list decode refactor

LGTM

authors: AlexStocks wongoo


text:
Update README.md with dockerhub image ?

Hello !
Could you update the examples in README.md, with the correct image location ?
Currently: ghcr.io/dubo-dubon-duponey/spotify
Should be (after following the "about" link): docker.io/dubodubonduponey/librespot
Thanks !

Hey there @yetanotherjr
Lately, I have had issues with Docker Hub - rate limiting, blocking pushes, push timeouts.
I still try to also push to Docker Hub of course, but really, ghcr is my main goto these days.
Do you have any issues with the ghcr versions?

Indeed, I'm using docker compose and get this every time:
 ⠿ librespot Error                                                                                0.3s
Error response from daemon: Head "https://ghcr.io/v2/dubo-dubon-duponey/spotify/manifests/latest": unauthorized

docker-compose.yml
version: '3'
services:
  librespot:
    container_name: librespot
#    image: dubodubonduponey/librespot
    image: ghcr.io/dubo-dubon-duponey/spotify
    volumes:
      - /data/docker/librespot/storage/tmp:/tmp
    devices:
      - /dev/snd:/dev/snd
    restart: unless-stopped
    network_mode: host
    environment:
      - NAME=srv.lan
    cap_drop:
      - ALL
    group_add:
      - "29"
    ports:
      - 10042:10042
    command: librespot --initial-volume 100 --enable-volume-normalisation --device hw:CARD=Device
    healthcheck:
      disable: true

When trying to access the URL directly, it shows a 404 page

Yes, ghcr does not offer anonymous access IIRC.
https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry
How to authenticate there is fairly simple though - see above ^
Otherwise, nothing wrong with using the Hub of course - but sometimes the latest version of the image will not be there when I get rate limited / blocked there.

Thanks for the quick reply !
I'll do the setup on my end, then update you to confirm it works as intended :)

I created a Personal Access Token with full rights. Login successful but docker pull still failing:
$ docker login ghcr.io
Username: yetanotherjr
Password:
WARNING! Your password will be stored unencrypted in /home/jr/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded
$ docker pull ghcr.io/dubo-dubon-duponey/spotify
Using default tag: latest
Error response from daemon: denied

I'll continue checking
Also I just remembered: I used to pull home-assistant core from ghcr.io, and never needed to authenticate. Maybe there's something to configure/update in the projects settings ?

You are right.
Something is wrong here.
Looks like I am not the only one with the issue.
Will have to look into this, but cannot focus on that right now.
I guess you should then stick with Docker Hub.
shrugs

Moved documentation to point back to Docker Hub. For whatever reason, permissions with ghcr seem to be broken rn.

authors: dubo-dubon-duponey yetanotherjr

repo: dubo-dubon-duponey/docker-spotify


text:
App doesn't detect actual power drain, shows 0.0W

The app doesn't work properly on my Samsung Galaxy A52s 5G (Android 12, OneUI 4) and just shows an amperage and wattage of 0.0 all the time. I suspect it has something to do with a Samsung quirk, that gives milliampere instead of microampere. One way to solve this might be to check whether the suspected "milliampere" (probably ampere on Samsung phones) are actually bigger than, for example, 5"mA" and to not divide by 1000 again if that isn't the case (I have yet to see a phone that uses 20W or  20mW).
Then again, I'm not 100% sure whether this is a Samsung quirk, but the logs show nothing suspicious.

@Pokemetti  you can use this > https://github.com/Anonymous2716/Amp/releases
to view that. For temporary use. Not sure if it will work.
Source https://github.com/Anonymous2716/Amp/

What is that supposed to be? The apk doesn't even install.

@Pokemetti okay.  I added the screenshots . check the app-2.apk . if it doesn't work then it won't.

What I'm asking you to do is to add one small conditionto the app, that apk is a totally different app with like no size at all (3.6kB classes.dex).

@Pokemetti  Yeah you can check the java code.its small.works on mg phone (android 9). Actually first time wrote an app .can you please elaborate "condition"?

On S22 Ultra it won't show the watts as well.

I opened a pull request for the changes, have no idea whether they work since I have never even looked at Kotlin, so this is only based on my knowledge in Python and C.

Thanks for the issue report and input, everyone. A friend of mine has an S10. I'll see if I can reproduce it there, probably tomorrow morning. If it's just reporting incorrect units, something like @Pokemetti's PR could work. A quick Google search seems to indicate Samsung may be reporting mA instead of uA, as specified by the API docs: https://forum.developer.samsung.com/t/charging-current-battery-property-current-now/13517/3. From that thread, it seems like BATTERY_PROPERTY_CHARGE_COUNTER (also used in this app) might also be affected.

Interestingly, https://github.com/home-assistant/android/issues/2846 seems to suggest that some devices also report current in nA as well...

So I reproduced the issue for battery current on an S10, but charge level looks correct. Is anyone here also seeing an incorrect value for charge level? It should be somewhere in the single digit Ah range.

I published a new release which should work around this issue by dynamically detecting battery current units here: https://github.com/dubrowgn/wattz/releases/tag/v1.5. I'm going to close this issue as resolved, but please let me know if you continue to experience any problems.

Wattage shows correctly but the app reports the battery is full while it's not

@PrototypeGR I can reproduce that as well on the S10 I have, and it seems like yet another Samsung bug. Instead of returning -1 to indicate "no value" as in the spec, it's returning 0. I should be able to work around it fairly easily though by checking if the device is charging first.

Actually, it looks like it's always reporting false for isCharging as well. Their BatteryManager implementation sure is a wreck...

Works fine on my device, thanks!

While charging

I have a pair of work arounds which should address the remaining two issues on Samsung devices, but I'm waiting on a device to test it. Hopefully, I'll have a new build up later today.

@PrototypeGR can you try v1.6? All three issues seem to be fixed on the S10 I have.

They are definitely fixed on my device thanks!

It's semi fixed, but it shows minus on power and current. Needs a + symbol while charging.

The app reports power draw. A negative sign is intentional, and indicates negative power draw from the battery.

But it shows negative sign while charging not on battery

authors: Anonymous2716 Pokemetti PrototypeGR dubrowgn

repo: dubrowgn/wattz


text:
Expose db memory address and path to libduckdb_java.so

This PR adds two methods to the DuckDBConnection object to:

Get the memory address of the DuckDB pointer from JNI
Get the path and name of the loaded libduckdb_java.so

With these two pieces of information, it should be possible to create db connections with another driver like e.g. https://github.com/techascent/tmducken for Clojure in parallel. (By the way: this driver is not yet mentioned on the homepage as third-party driver.)

No idea why the format check failed - locally it runs without errors. Maybe the non-ASCII chars ...
@Mause Any idea? Or may we ignore it?

Looks like it might be an encoding thing yeah.
As far as the change goes, why return the memory address as a string?
And I'd like to see some kind of javadoc on the memory method at least mentioning the unsafety

Sadly a string seems to be the simplest and secure way without having pointers and unsigned 64 bit integers in Java/JNI return types.
You're right, some kind of warning seems appropriate. I'll add that.

Well, basically I'm not sure if casting the memory address like this will work everywhere (Linux-AMD64 seems ok):
return (jlong)conn_ref->db.get();
Maybe you can confirm that this should be fine. Then I'm happy to change the PR accordingly.

I created a new PR #115 where the cast to string is replaced by a cast to long.

authors: Jens-H Mause

repo: duckdb/duckdb-java


text:
GDAL error when writing file in wasm

Is it me or it's not (yet) possible to export/write in the wasm version of SPATIAL.
See this example in the shell
I only get IO Error: GDAL Error (3): Cannot write feature

I'm getting a different error, as mentioned in the discord thread.

I'm getting the same error in https://www.quackdb.com/, another DuckDB WASM environment

authors: TomBor alexkreidler prusswan


text:
Add flag to easily enable debug mode for autofill

Task/Issue URL: https://app.asana.com/0/414730916066338/1202532114531456/f
Description
Adds a boolean to enable autofill debug mode. This is will stay false for default so we always test against the production impl and only toggled locally to true for debugging autofill integration issues.
Steps to test this PR
Set the flag to true and add a logcat filter for console; verify you see lots more console output
Set it back to false and verify everything working as expected

FYI @shakyShane in case you check out the native code in future

Thanks @CDRussell  - also CC @GioSensation

authors: CDRussell shakyShane

repo: duckduckgo/Android


text:
Use anchor links for add click maestro tests

Task/Issue URL: https://app.asana.com/0/488551667048375/1204397066248823/f
Description
This PR changes the ad click maestro tests to use anchor links instead of scrolling
Steps to test this PR

[ ] Maestro tests should pass, see https://github.com/duckduckgo/Android/actions/runs/4699277675

Current dependencies on/for this PR:

develop

PR #3065   👈

This comment was auto-generated by Graphite.

@marcosholgado you can review the code changes. I'm still getting random failures on the end2end maestro tests but they are related with emulator connectivity issues.
I will continue running them until it's green

Will see if this one passes: https://github.com/duckduckgo/Android/actions/runs/4732106281

LGTM!

Finally

authors: cmonfortep marcosholgado


text:
RMF for NP beta

Task/Issue URL: https://app.asana.com/0/1203137811378537/1205187503800387/f
Description
RMF for NetP beta closure
See asana task
Steps to test this PR
See Asana task

Current dependencies on/for this PR:

develop

PR #3391

PR #3407   👈

This comment was auto-generated by Graphite.


text:
Fix wrong placeholder icon radius

Task/Issue URL: https://app.asana.com/0/488551667048375/1205173497854945/f
Description

Do not round corners when creating placeholder icon, except for the widget

Generally, we rely on the surface displaying the placeholder to do the corner rounding, however, this is not possible on the widget due to some
platform limitations in API < 31. That's why the widget needs to apply a different treatment. Up until now, all placeholders were provided with a
radius optimized for the widget, which caused them to have a different shape than the actual favicons

Fix wrong radius in widget background and icons. Shapes were not aligned, and also not aligned with de designs in Figma

Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

develop

PR #3604   👈

This comment was auto-generated by Graphite.


text:
Process autoconsent onbydefault

Task/Issue URL: https://app.asana.com/0/0/1206503102127836/f
Description
Steps to test this PR
Feature 1

[ ] Replace RC endpoint with https://jsonblob.com/api/1202584582045425664
[ ] Open the app
[ ] Check CPM is enabled by default
[ ] Set the setting to false
[ ] Check autoconsent is now disabled

Feature 2

[ ] Replace RC endpoint with https://jsonblob.com/api/1202959383381532672
[ ] Open the app
[ ] Check CPM is disabled by default
[ ] Set the setting to true
[ ] Check autoconsent is now enabled

UI changes

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

develop

#4146

#4148   👈

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

Join @CrisBarreiro and the rest of your teammates on  Graphite


text:
com.github.dueeeke.dkplayer:dkplayer-java:2.5.3

com.github.dueeeke.dkplayer:dkplayer-java:2.5.3 这个源码能提供下么

这项目就有啊

authors: dueeeke fujiangren

repo: dueeeke/dkplayer


text:
关于新版本duilib自绘控件的问题

继承自CControlUI类的自定义控件类，获取句柄m_hWnd正常，将一个位图attach给这个控件句柄时，位图始终无法显示，可以确定自绘控件已经加载显示
但是从网上找到的一个2011年版本的duilib库，却可以正常显示。

自定义控件类有自己的Windows窗口吗？

自定义控件是绘在duilib 窗口的，xml中加载一个自定义控件wnd，重写CreateControl函数中调用CreateWindow创建一个句柄也还是attch 不上

建议你去google一下duilib下wke控件的封装，有窗口和无窗口两种模式的，可以参考一下

authors: damonxx wangchyz

repo: duilib/duilib


text:
Clicking OneDrive tab puts marker on Local Drive

Describe the bug
When clicking on the OneDrive location on the sidebar, it opens OneDrive in the file viewer but the blue marker that indicated which folder is open on the sidebar goes onto Local Drive (C:). When clicking on the OneDrive location again, the marker correctly goes to OneDrive.
To Reproduce
Steps to reproduce the behaviour:

Select a random folder
Click on OneDrive
See that the open location appears to be Local Drive (C:) but OneDrive folders are showing
Click on OneDrive again
See that the open location correctly appears to be OneDrive

Expected behaviour
When clicking on the OneDrive icon the first time, the marker goes to OneDrive.
Screenshots
https://screenrec.com/share/s7ijSTL4Yz
Screen recording ^
Desktop

OS Version: Windows 10 2004 19041.172
App version: v0.7.5

Additional context
This problem always occurs while using the app

Sometimes event two markers appear on the sidebar. It occurs randomly when navigating between tabs, at least I didn't find a certain way to reproduce this.

This issue has been resolved with #816.


text:
Help to figure out why sensor.watchman_last_updated changes so often

Since watchman catches up every state change of every entity from configuration files, we can fire up a custom event with entity name, which was changed, and its context. The event can also be reflected in the HA event log. This feature should be optional due to enormous amount of possible events.
Inspired by #29 and #50.

Another, and simpler, idea could be to add a reason attribute to the sensor, which can be set to (for example):

Home Assistant restart
configuration reload
entity {id} referenced by a config file has changed its state
etc.

repo: dummylabs/thewatchman


text:
Fixes code typo

Request object is not a class member.

Thanks Hugo!

authors: dunglas hhamon

repo: dunglas/DunglasActionBundle


text:
fix: properly close context on worker script timeouts and crashes.

I noticed that PHP timeouts will fully stop the script's execution and not just continue to the next iteration in worker mode.
This PR fixes this issue in part by making sure the context gets closed if a worker request is still pending and the PHP script returned a non-zero status code.
To reproduce, just set max_execution_time = 2 in the php.ini and execute a worker script with sleep(3);. Ideally, timeouts would not stop the script execution (if that's even possible).

Hmmm... I think there must be an issue somewhere. In frankenphp.c it should set the timeout to 0.

It gets unset while waiting, but reset during request execution

The issue is, if it times out during execution, it will exit from the whole script, not just the current frankenphp_handle_request() execution.

This was intended. I'm not sure that it's the best behavior, but it looked more secure to me, especially because workers are restarted anyway.

@withinboredom on timeout it will not behave the same as on exit. On timeout it will stop the whole script and execution is continued after php_execute_script. This PR makes sure that the pending worker request gets properly closed before the worker restarts (so fc.done gets called and the client receives a response).
I'm not sure if the behavior was always this way, but it behaves this way on the newest PHP 8.3 version.

Ok I think I get it. This looks like a good fix. WDYT @withinboredom ?

Thank!!

authors: AlliBalliBaba dunglas withinboredom

repo: dunglas/frankenphp


text:
DOC: Add pipenv installation for macOS X

Hi,
for macOS X, we need to install pipenv via brew.
Maybe it's also needed for linux ?
Thanks.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thank you!

authors: 0xdabbad00 CLAassistant tpoindessous

repo: duo-labs/cloudmapper


text:
Yarn support

Hey I really like this module as it makes package.json configuration for project nice and tidy.
I have only one question - have you considered supporting yarn (maybe based on existance of yarn.lock file)?

Hey, thanks for your feedback!
Yep yarn would be cool, not something I need right now but will definitely look to add it when I do. Happy to accept PRs too... :)

I have created the PR, cheers

#merged. Cheers :)

authors: dupski mateuszluczak

repo: dupski/subpackage


text:
🛑 Mention Robot is down

In a118713, Mention Robot (https://backend.isbotdown.com/bots/mentionrobot) was down:

HTTP code: 200
Response time: 97 ms

Resolved: Mention Robot is back up in 3477994.

repo: durof/status


text:
🛑 Mention Bot is down

In d76ef59, Mention Bot (https://backend.isbotdown.com/bots/mentionbot) was down:

HTTP code: 200
Response time: 155 ms

Resolved: Mention Bot is back up in c65e0d9.


text:
🛑 Mention Bot is down

In 39a5d6a, Mention Bot (https://backend.isbotdown.com/bots/mentionbot) was down:

HTTP code: 200
Response time: 86 ms

Resolved: Mention Bot is back up in 416aaf2 after 366 days, 3 hours, 35 minutes.


text:
🛑 Mention Bot is down

In 5be073e, Mention Bot (https://backend.isbotdown.com/bots/mentionbot) was down:

HTTP code: 200
Response time: 106 ms

Resolved: Mention Bot is back up in 03bfcdd after 1 hour, 48 minutes.


text:
[Caloris] [Structured Data] Create a "structured retrieval" Dust app: tying it all together

We have the Dust App platform blocks, and we have a sample database in dust's workspace.
We can now create a dust app (and a custom assistant connected to it) to generate SQL and query our sample database.

We probably want to create a custom assistant action as well

Shipped: https://dust4ai.slack.com/archives/C05BUSJQP5W/p1702892740920059

authors: PopDaph fontanierh

repo: dust-tt/dust


text:
Upgrade latest react

Description
Upgrade from 18.2.0 to 18.3.1
Tested on front-edge (client + async upsert)
Risk
~none
Deploy Plan

deploy front

PMRR


text:
core: remove optional timestamp (db) and optiona tags, parents (api)

Description
Clean-up of code that allowed the deploy of core before front in https://github.com/dust-tt/dust/pull/6539
Risk
N/A
Deploy Plan

deploy front

PMRR


text:
Update your Markdown in the readme.

Hi I have fixed up some of you markdown in your readme.
Here's the changes:

The sub-headings should use ## heading2 rather than being made bold with **heading2**
Lists need a space after the -, However I have removed a few of these as they seemed better to me as paragraphs.
Fixed some links, they cannot have a space between the ](, e.g. [hello](https://www.example.com)
Any code should be surrounded with `

For an excellent Markdown introduction I recommend you look at https://learnmarkdown.com/ :)
I also added a note about this requiring PIL/Pillow.

thanks!

authors: GoodClover duxenmx


text:
[bug]:

I can only login after I've accessed the DiskStation web interface. All attempts prior to logging into the web interface fail.  After I've logged in, I can then log in to the extension.

Do you use https to login ?
If so this might be the cause, chrome needs an ovveride by the user to fetch on unsecure urls.
Alternatively you can also add SYnology's certificate to secure the connection.
Hopes that helps

repo: dvcol/synology-download


text:
QM: implement remove_interaction() method

Application
Nicer if you make a mistake with adding an interaction to not have to start again rather than having an implemented remove_inteeraction() method as BQM does.
>>> from dimod import QuadraticModel, Binary
>>> qm = QuadraticModel()
>>> qm.add_variables_from('BINARY', ['a', 'b', 'c', 'd', 'e'])
>>> qm.add_quadratic('a', 'b', 2)
>>> qm.add_quadratic('b', 'c', 2)
>>> qm.add_quadratic('c', 'e', 2)
>>> qm.remove_interaction('e', 'c')
...
NotImplementedError: not yet implemented - please open a feature request

Added in https://github.com/dwavesystems/dimod/pull/948

authors: JoelPasvolsky arcondello

repo: dwavesystems/dimod


text:
Publishing a microservice of a custom model

In the documentation can you show an example of publishing a microservice from a custom model instead of a model generated from run_experiment() function? The custom model could be something as simple as a function that adds two number or appends text to an input.

Work in  progress.

Wrote script for publishing a microservice of a custom model and merged it into master branch.


text:
DXCToggle component not present in new cdk library.

We have a need where we have to show, a component on the screen like a toggle button. like: Yes/No button.
There was DXCToggle in old library-> dxc-react-cdk. We want same thing to be available in new CDK library -> halstack-react.
The Theming should also be applicable on it.

The toggle has been removed from the cdk and in the latest version you have toggle group available.

Also are you asking about react-cdk?

This is available in version 2.1.0

authors: Jialecl peibolsang ppurumala

repo: dxc-technology/halstack-angular


text:
Readme stlye fix

Keep your markup style consistent ;)

Thanks @ScholliYT - apologies about not getting this pulled in. I'm now working on a new version so I probably won't need these changes. It'll have a proper documentation site so I probably won't need these changes anymore. Thanks anyway!

authors: ScholliYT dxinteractive

repo: dxinteractive/ResponsiveAnalogRead


text:
feat(functions): functions and triggers are ECHO objects

TBD

Love the amount of tests 🧪

authors: ZaymonFC yarolegovich

repo: dxos/dxos


text:
No job listings content

User need

As a user
When I visit the service and there are no job listings
So that I know to revisit the service in future
I want to know that this is an expected slow point

Description
The content is time specific and only applicable while we're in summer holidays. We may want to refactor the code to have a toggle to flip this message off, however I thought I'd raise the PR as this is the minimum that meets the needs on the card.
Screenshot

 No job listings content explains to users that this is expected

repo: dxw/teacher-vacancy-service


text:
'\033[14t' not printing terminal size.

I will change the image in Neofetch,whether in this line for change image?
Image Source
--image wall, ascii,path/to/image, /path/to/dir, off
image="wall"

I don't really understand but here's the example usage for each option:
# Inside config
# Config is stored in ~/.config/neofetch
image="wall"
image="ascii"
image="/home/dyl/Pictures/image.png"
image="/home/dyl/Pictures/"
image="off"

# At launch
neofetch --image wall
neofetch --image ascii
neofetch --image /home/dyl/Pictures/image.png
neofetch --image /home/dyl/Pictures/

i had try neofetch --image ~/Pictures/image.jpg in terminal and edit in
~/.xinitrc but nothing happen.
On Mon, Apr 11, 2016 at 8:05 AM, Dylan Araps notifications@github.com
wrote:

I don't really understand but here's the example usage for each option:
Inside config# Config is stored in ~/.config/neofetch
image="wall"
image="ascii"
image="/home/dyl/Pictures/image.png"
image="/home/dyl/Pictures/"
image="off"
At launch
neofetch --image wall
neofetch --image ascii
neofetch --image /home/dyl/Pictures/image.png
neofetch --image /home/dyl/Pictures/
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dylanaraps/neofetch/issues/223#issuecomment-208105803

Not sure if this will fix your problem, but do you have any of the dependencies for displaying images (I think they are w3m and imagemagick)? If not, try giving the full path to the image (ex. /home/user/pictures/pic.jpg).

i use w3m in my Archinux.
On Tue, Apr 12, 2016 at 1:04 AM, Matthew Treadwell <notifications@github.com

wrote:

Not sure if this will fix your problem, but do you have any of the
dependencies for displaying images (I think they are w3m and imagemagick)?
If not, try giving the full path to the image (ex.
/home/user/pictures/pic.jpg).
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dylanaraps/neofetch/issues/223#issuecomment-208479190

You need both w3m, Imagemagick and a terminal emulator that works with w3m-img installed to use image mode.
What terminal emulator are you using?

i use rxvt-unicode and xterm.
On Tue, Apr 12, 2016 at 1:38 PM, Dylan Araps notifications@github.com
wrote:

You need both w3m, Imagemagick and a terminal emulator that works with
w3m-img installed to use image mode.
What terminal emulator are you using?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dylanaraps/neofetch/issues/223#issuecomment-208732052

Add set -x to the 2nd line of the script, it should look like this:
#!/usr/bin/env bash
set -x
# vim:bla:bla
# ...
# ...

Rerun the script and upload the output to pastebin or github gist.
This will tell me exactly what's wrong.

so,i only add set -x in ~/xinitrc?
On Tue, Apr 12, 2016 at 3:07 PM, Dylan Araps notifications@github.com
wrote:

Add set -x to the 2nd line of the script, it should look like this:
#!/usr/bin/env bashset -x# vim:bla:bla# ...# ...
Rerun the script and upload the output to pastebin or github gist.
This will tell me exactly what's wrong.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dylanaraps/neofetch/issues/223#issuecomment-208771146

oops,i'm sorry what i mean is config neofetch.
On Tue, Apr 12, 2016 at 4:35 PM, Linux Tec myugan59@gmail.com wrote:

so,i only add set -x in ~/xinitrc?
On Tue, Apr 12, 2016 at 3:07 PM, Dylan Araps notifications@github.com
wrote:

Add set -x to the 2nd line of the script, it should look like this:
#!/usr/bin/env bashset -x# vim:bla:bla# ...# ...
Rerun the script and upload the output to pastebin or github gist.
This will tell me exactly what's wrong.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dylanaraps/neofetch/issues/223#issuecomment-208771146

You add set -x to the neofetch executable.

i just try to add set +x in line 2 config neofetch,but not showing the
image.
On Tue, Apr 12, 2016 at 4:46 PM, Dylan Araps notifications@github.com
wrote:

You add set -x to the neofetch executable.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dylanaraps/neofetch/issues/223#issuecomment-208821135

Adding set -x to the script just prints a verbose log, it's not supposed to display the script correctly.

so,what i must do?
On Tue, Apr 12, 2016 at 5:16 PM, Dylan Araps notifications@github.com
wrote:

Adding set -x to the script just prints a verbose log, it's not supposed
to display the script correctly.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dylanaraps/neofetch/issues/223#issuecomment-208833808

Add set -x to line 2. (You've already done this)
Run neofetch 2> neofetchlog
Upload the contents of neofetchlog to pastebin, gist or equivalent.

http://pastebin.com/LkLbuArY
On Tue, Apr 12, 2016 at 5:34 PM, Dylan Araps notifications@github.com
wrote:

Add set -x to line 2. (You've already done this)
Run neofetch 2> neofetchlog
Upload the contents of neofetchlog to pastebin, gist or equivalent.

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dylanaraps/neofetch/issues/223#issuecomment-208839460

You haven't added set -x to line 2 properly so the log file is empty.

i'm sorry,i check the config evidently i add +x not -x.This is correct log
http://pastebin.com/jE8jm8Tn.
On Tue, Apr 12, 2016 at 5:49 PM, Dylan Araps notifications@github.com
wrote:

You haven't added set -x to line 2 properly so the log file is empty.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dylanaraps/neofetch/issues/223#issuecomment-208843313

The script fails to get your terminal size properly, what does this command output?
printf %b%s '\033[14t'

Also, do you currently have X running?

Nothing happen in terminal.

This is why the script is falling back to ascii mode and not displaying the image. On my system the command above prints the terminal window size in pixels.
When the command above fails inside the script neofetch disables image mode as the command above is how we calculate padding/dynamic image sizing.
I'm not sure about why the escape sequence above isn't working for you, the log above shows that you have all of the dependencies installed and you are using a compatible terminal emulator so in theory it should work just fine...
We now know what the problem is so I'll do my best to resolve this for you, thanks for being so patient thus far.

Ok,thanks for help me too.
On 12 Apr 2016 19:55, "Dylan Araps" notifications@github.com wrote:

This is why the script is falling back to ascii mode and not displaying
the image. On my system the command above prints the terminal window size
in pixels.
When the command above fails inside the script neofetch disables image
mode as the command above is how we calculate padding/dynamic image sizing.
I'm not sure about why the escape sequence above isn't working for you,
the log above shows that you have all of the dependencies installed and you
are using a compatible terminal emulator so in theory it should work just
fine...
We now know what the problem is so I'll do my best to resolve this for
you, thanks for being so patient thus far.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dylanaraps/neofetch/issues/223#issuecomment-208891607

What is your current shell?
You can find out by using echo "$SHELL".

I use bash.
On 12 Apr 2016 20:03, "Dylan Araps" notifications@github.com wrote:

What is your current shell?
You can find out by using echo "$SHELL".
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dylanaraps/neofetch/issues/223#issuecomment-208894090

Does this command print anything?
bash -c "printf %b%s '\033[14t\033[c'"

the command print ^[[?1;2c~  1;2c

Yeah, that's not an output that neofetch can use. I'm not sure why this isn't working for you but there's really nothing I can do about this. It's an issue with your system/terminal emulator.
You could try other terminal emulators like xfce4-terminal and termite, they work well with the image modes.
I'm going to close this as this isn't a neofetch issue.
For those of you stumbling across this in the future, this issue is about the terminal emulator not supporting/printing the escape sequence for terminal size correctly.

yes,it's right just now i try in xterm and the image display.But in rxvt not display the image.

Was WSL involved in this? Was this a Linux host or a win10 wsl host?

authors: CousinMachu duaneking dylanaraps ghost noptx

repo: dylanaraps/neofetch


text:
workspace or tag number value

hi
i cannot determine the tag or workspace number i am in to put it in the lemonbar ?
is there any way ?

There is not. You'll have to write a patch. :)

repo: dylanaraps/sowm


text:
Runs before the final run should discount outcome

If we are using run_before_dempotency the outcome of the runs should be discounted until we get to the last run, it which case it needs to pass.

This is going to get totally revamped

repo: dylanratcliffe/onceover


text:
[Snyk] Fix for 1 vulnerabilities

Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):

plugins/search-backend-module-explore/package.json

Note for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Cross-site Scripting (XSS) SNYK-JS-WEBPACK-7840298
  157

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Cross-site Scripting (XSS)

🎉 Snyk hasn't found any issues so far.
✅ code/snyk check is completed. No issues were found. (View Details)

repo: dylansnyk/backstage


text:
[Snyk] Security upgrade @backstage/theme from 0.0.0-use.local to 0.1.1

Snyk has created this PR to fix 2 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):

plugins/xcmetrics/package.json

Note for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Remote Code Execution (RCE) SNYK-JS-JSONPATHPLUS-7945884
  278

Improper Verification of Cryptographic Signature SNYK-JS-ELLIPTIC-8172694
  131

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Remote Code Execution (RCE)

🎉 Snyk hasn't found any issues so far.
✅ code/snyk check is completed. No issues were found. (View Details)


text:
Server Custom Characters

[x] Setup Database

[x] Server specific cowfiles
[ ] Global cowfiles (don't rely on built-in anymore from upstream)

resolved by #15

repo: dylhack/cowsay


text:
Rework types (option 3)

Create constants for each type ID
Use switch statements for finding types by ID to avoid boxing overheads
Add query methods for type characteristics
Replace ElementType with ValueType

Applied suggestions to not have a null-returning option for the get-by-ID methods.

Looks like there's one problem due to the non-null returning option, but the fix should be simple.

(and CI should be green 😄 )

All fixed :+1:

authors: andreaTP dmlloyd

repo: dylibso/chicory


text:
fix(genesis bridge): do not allow ibc denoms

PR Standards
Opening a pull request should be able to meet the following requirements

Closes https://github.com/dymensionxyz/dymension-rdk/issues/462
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow-up issues.
For Author:

[ ]  Targeted PR against correct branch
[ ]  included the correct type prefix in the PR title
[ ]  Linked to Github issue with discussion and accepted design
[ ]  Targets only one github issue
[ ]  Wrote unit and integration tests
[ ]  All CI checks have passed
[ ]  Added relevant godoc comments

For Reviewer:

[ ]  confirmed the correct type prefix in the PR title
[ ]  Reviewers assigned
[ ]  confirmed all author checklist items have been addressed

After reviewer approval:

[ ]  In case targets main branch, PR should be squashed and merged.
[ ]  In case PR targets a release branch, PR should be rebased.

replaced with https://github.com/dymensionxyz/dymension-rdk/pull/466

repo: dymensionxyz/dymension-rdk


text:
[bug] Loading config values failing in Python 3.11 while it works in Python 3.10

Describe the bug
I am using Dynaconf 3.2.5 to load project settings from multiple files. When I run this code in Python 3.10.9, everything works fine, but when I use 3.11.1, the settings are not loading.
To Reproduce
Steps to reproduce the behavior:

Having the following folder structure

 Project structure
.
├── __init__.py
├── __pycache__
│   ├── __init__.cpython-310.pyc
│   ├── __init__.cpython-311.pyc
│   ├── config.cpython-310.pyc
│   ├── config.cpython-311.pyc
│   ├── configure.cpython-310.pyc
│   ├── demo.cpython-310.pyc
│   ├── main.cpython-310.pyc
│   ├── shell.cpython-310.pyc
│   ├── shell.cpython-311.pyc
│   └── shell_org.cpython-310.pyc
├── config
│   └── boot.toml
├── config.py
├── main.py
├── shell-bk.py
├── shell.py
└── tests
    ├── __init__.py
    ├── __pycache__
    │   ├── __init__.cpython-310.pyc
    │   ├── __init__.cpython-311.pyc
    │   ├── test_config.cpython-310-pytest-8.1.1.pyc
    │   ├── test_config.cpython-311-pytest-8.1.1.pyc
    │   ├── test_shell.cpython-310-pytest-8.0.2.pyc
    │   ├── test_shell.cpython-310-pytest-8.1.1.pyc
    │   └── test_shell.cpython-311-pytest-8.1.1.pyc
    ├── test_config.py
    └── test_shell.py

Having the following config files:

 Config files
/path/.env
config/boot,toml
config/.secrets.toml

Having the following app code:

 Code
./config.py
class Config(BaseModel):
    class FileFormats(str, Enum):
        """Supported configuration file formats."""

        TOML = 'toml'
        YAML = 'yaml'
        JSON = 'json'
        INI = 'ini'
        ENV = 'env'

   config_dir: DirectoryPath = Field(
        DEFAULT_CONFIG_DIR,
        description='The directory containing the configuration files.',
    )

    recursive: bool = Field(
        True,
        description='If True, load config files from subdirectories.',
    )

    use_file_formats: Annotated[
        list[FileFormats],
        Field(
            [FileFormats.TOML, FileFormats.YAML],
            min_length=1,
            description='The file formats to use for loading configuration parameters.',
        ),
    ]

    _params: Dynaconf | None = None

    @computed_field  # type: ignore[misc]
    @cached_property
    def params(self) -> Dynaconf:

        if self._params is None:
            self._params = self._load_params()

        return self._params

    def _load_params(self) -> Dynaconf:

        assert self._params is None

        if not self.config_dir.exists():
            raise FileNotFoundError(
                f'Config directory {self.config_dir} does not exist.'
            )

        # Find the list of configuration files to load
        settings_files: list[DirectoryPath | str] = []
        for file_format in self.use_file_formats:
            if self.recursive:
                settings_files += list(self.config_dir.rglob(f'*.{file_format}'))
            else:
                settings_files += list(self.config_dir.glob(f'*.{file_format}'))

        return Dynaconf(
            merge_enabled=True,
            settings_files=settings_files,
        )

Executing under the following environment

 Execution
I run the following test code.
def test_params():
    config = Config()
    assert isinstance(config.params, Dynaconf)
    assert config.params is not None
    assert config.params.application.name is not None # I get the error here

The above test passes in Python 3.10, but fails in 3.11. I get the following error
E           AttributeError: 'Settings' object has no attribute 'APPLICATION'

Expected behavior
I expect that the test passes across all python versions.
Environment (please complete the following information):

OS: [MacOS Sonoma 14.2.1]
Dynaconf Version [3.2.5]
Frameworks in use (NA)

Additional context
NA

This is not a bug, just a bug in my code when using the enum value for file listing. My apologies for raising the issue.

repo: dynaconf/dynaconf


text:
Add new builder: container exec

Based on our container builder
TODO: Add a new builder named ExecBuilder, into the same package into a file exec_builder.go.
The builder should be created new a NewExecBuilder(containerID string) function.
Use the builder to set any given parameter and .Start() should return the output / result of the executed command.
Use the API as a reference.
https://docs.docker.com/engine/api/v1.41/#tag/Exec/operation/ContainerExec
Golang package:
https://pkg.go.dev/github.com/docker/docker/client#Client.ContainerExecCreate

Can I work on this issue under Hacktoberfest '22 ?

authors: PankhudiB nandor-magyar

repo: dyrector-io/dyrectorio


text:
Layout issue with split view controller

I've noticed a layout bug when using it in a split view controller. When updateConstraints is initially called the width and height of the frame is equal to the entire screen size rather than that of the master view controller:

Calling reloadEmptyDataSet() at any point int he view controller lifecycle unfortunately doesn't resolve the problem. The only thing that 'fixes' the issue is a rotation event:

The only way I can get this to work is to force a rotation event by sending a UIDeviceOrientationDidChangeNotification on viewDidAppear (sending it any earlier doesn't work).
Any thoughts?

I can reproduce this issue very easily -- spent several hours trying to figure out why my view controller containment code wasn't working.
I ended up modifying the UIScrollView (DZNEmptyDataSet) category to add a new method, like so:
- (void)updateEmptyDataSetConstraints
{
    [self.emptyDataSetView updateConstraints];
}

Then just expose that as a public method, and call it within my view controller's viewWillLayoutSubviews method. It sucks, but at least I can avoid the bug that way.

authors: abury jpm

repo: dzenbot/DZNEmptyDataSet


text:
Defaults - FEEDBACK WANTED

If you're a user of arena.nvim, I'd love to get your feedback on the default options of the plugin currently. The main points of contention for me are:

ignore_current
devicons
The frecency algorithm tuning

If you use any of these options (and think they'd make good default behavior), let me know. If you're interested in any of them, make sure to check them out and leave feedback in this issue! And of course, if you think the default options are good, then please also comment that in this issue.

I just started using arena.nvim (thanks for the great plugin, btw), and the first thing I configured was ignore_current = true. I can't think of any scenario where I'd find it beneficial to include the current buffer in the list.
I also turned off devicons, but I think that's more of a personal preference.

authors: dzfrias ivanbrennan


text:
Expand deploy documentation

Expanded deploy with the following changes:

Explain how to add multiple repositories (snapshots & releases) for both maven and gradle.
Explain how to store secrets in global gradle.properties file.
Explain how to use publishing with a gradle kotlin buildscript.

Thanks!

/remind me about building docs site in 9 hours

authors: dzikoysk solonovamax

repo: dzikoysk/reposilite


text:
Fix: non-scrollable textview has strange behavior

This should fix #341

Because I am anxious to use it here, so I merged first. I will reset my master again after the official repository merges.

repo: dzpao/tview


text:
Use default config file.

Hi dzsessona,
This is a nice library to use Mandrill. Thanks a lot!
I want to use default config files of typesafe config because it's also refer application.conf by default and occasionally use the config file by javaOptions of -Dconfig.resource=xxx.conf or -Dconfig.file=yyy.conf. Could you consider to merge this change?

There should be a way to ovverride the conf including it in your project, anyway, let me check (i need a few days because i am very busy) and push a new artifact

I'd love to see this in as well please.

Or using system.settings.conf for consistency with ActorSystem may be good if it is possible.

authors: dtaniwaki dzsessona jkugiya mpichette

repo: dzsessona/scamandrill


text:
Cannot read properties of undefined (reading 'uses')

The bot is perfect, but after a few hours it starts giving the following error:
Uncaught Exception
Message: Cannot read properties of undefined (reading 'uses')

Name: TypeError
Cause: undefined
Source: undefined

Stack:
TypeError: Cannot read properties of undefined (reading 'uses')
    at file:///root/invite-tracker/dist/events/guild/member/GuildMemberAdd.js:1:832
    at _Collection.find (/root/invite-tracker/node_modules/.pnpm/@discordjs+collection@1.5.3/node_modules/@discordjs/collection/dist/index.js:172:11)
    at w.execute (file:///root/invite-tracker/dist/events/guild/member/GuildMemberAdd.js:1:807)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

How can I solve?

thanks for reporting the issue

#19

authors: LwkasCrystian louiszn

repo: e-enes/invitron


text:
Make python dependencies more lenient

I cannot run pipenv run e2b-code-interpreter as I get a dependency conflict with an existing package which requires attr >= 24.0
This change will allow e2b-code-interpreter to be used in more places

Hi @brendanator, for pointing this out! There probably isn't a reason to be so strict here. We use only very basic functionality from those packages, so it should be fairly safe.
I fixed the major version for httpcore and httpx, there may be breaking changes.
Thanks for your contribution!

authors: brendanator jakubno