text:
Concise and readable release notes format

Problem
Originally copied from Mockito issue 700. Current release notes are not concise enough for rapid release model and hence the are hard to reason about. In short term we will make the release notes more concise. In the long term we need some kind of service that can list the changes between 2 arbitrary versions. In addition to compact format, we will also:

Add links to commits for given version (originally reported at https://github.com/mockito/mockito/issues/743): https://github.com/mockito/mockito/compare/v2.7.3...v2.7.4
Add link to bintray: https://bintray.com/mockito/maven/mockito/2.7.5
Add link to central: http://search.maven.org/#artifactdetails|org.mockito|mockito-core|2.7.5|jar
Signify the repository the release went to (see #4)

Proposed design of release notes
Release notes are automatically generated by Mockito Continous Delivery Pipeline.
2.7.5 - 2 authors, 5 commits - 2017-02-07 15:36 - notable release in Central and JCenter+Bintray
:cocktail: Christian Schwarz: Support for return type 'Void' in DoesNothingAnswer (#933)
2.7.4 - Allon Murienik, 1 commit - 2017-02-06 15:04 - minor release in Bintray
:cocktail: Fix whitespace issues throughout the code (#928)
2.7.3 - Christian Schwarz, 1 commit -2017-02-06 12:51 - minor release in Bintray
:cocktail: Small improvements (#912)
2.7.2 - 2 authors,  2 commits - 2017-02-04 12:05 - minor release in Bintray
:cocktail: Szczepan Faber: Deleted dead code (#924)
:cocktail: Rafael Winterhalter: Added subproject for configuration-free inline mock making. (#920)
2.7.1 - no commits - 2017-01-31 16:48 - minor release in Bintray
2.7.0 - 2 authors, 10 commits - 2017-01-31 16:48 - minor release in Bintray
:cocktail: No pull requests referenced in commit messages.
2.6.5 - Szczepan Faber, 10 commits - 2017-01-31 16:48 - minor release in Bintray
:cocktail: No pull requests referenced in commit messages.
Discontinued tabular release notes idea
👎 We discontinued the tabular release notes idea because:

not concise enough
hard to read as plain text due to markdown tables
hard to parse / manipulate markdown tables

Version
Date
Authors (commits)
Type
Link
Description

2.2.5
2016-10-17 16:34 UTC
Christian Schwarz (2), Brice Dutheil (1)
Enhancement
#635
Unified logic of argument matching and capturing

2.2.4
2016-10-17 15:40 UTC
Rafael Winterhalter (1)
Bugfix
#699
Fails to create mock of inner class hierarchy with type variable from outer class

Misc
#695
Mocking final classes with Java8 when compiling with -parameters flag

Fixed.

repo: mockito/mockito-release-tools


text:
Fixed issue where sounds that were outside of sound radius were still…

… playing

yeeet

source: gharchive/pull-request

repo: moddio/taro

license: MIT

license_type: permissive

license_source: github-api


text:
Cannot display both class and an imported version of same class on class diagram

Presumably this will cause the same problem on any diagram type where imports are used.
To be clear, many imports with the same name are supported. But if you have a class that appears on a diagram and you want to use it elsewhere on the diagram by reference (import) you get a cell occupied error.

Fixed.  If the 2nd placement is from the same diagram, you get a dashed line (if it is a class diagram) with all original content.

source: gharchive/issue

repo: modelint/flatland-model-diagram-editor


text:
Registe all other formatters

We are using RemoteFormatter in our environment, and found it is not registered.

Hi @jackylee-ch , thanks for your contribution!
FORMATTER registry is for local formatters to guide LocalFormatter to the specific Formatter for the formats of files in the local datasets, e.g. JsonFormatter for '.json', '.jsonl', '.jsonl.zst' files. Therefore, we don't need to register LocalFormatter because it's still an abstract class for those specific Formatter. RemoteFormatter is used to handle remote datasets on the HF Hub so we don't register it as well. As for MixtureFormatter, it's used to mix several datasets and it's not tied to any specific format.

Got it. It would automically use RemoteFormatter if it is not an absolute path.

authors: HYLcool jackylee-ch

repo: modelscope/data-juicer


text:
🛑 Portainer is down

In 8263412, Portainer ($PORTAINER_URL) was down:

HTTP code: 404
Response time: 603 ms

Resolved: Portainer is back up in db367e7.


text:
🛑 Wiki is down

In 046792f, Wiki (https://omegawiki.modem7.com) was down:

HTTP code: 523
Response time: 516 ms

Resolved: Wiki is back up in fe65bbf.


text:
Update Html2pdf.java

Removed option to set debugging as it is always returning true and prevents closing of the pdf.

This should lead to a compile error since "showWebViewForDebugging" will never be declared but is still used in the code. Replacing it with a "global" static var might be a better option here.

authors: geo-at-github scenekidsanta

license_source: bigquery


text:
advice on adaptive MT, memories

I've been using MMT for some time, very successfully, but without adaptation, and I can't work out how to implement it.
The situation is as follows: I have several related but separate tmx files - e.g. cars.tmx, trucks.tmx and bikes.tmx.
I use all of this data for initial training.
I understand that to specify which of the three domains I want to use for translation I need to use memories, so I have defined 3 memories with the same titles, and I can request a translation specifying one of these memories as context.
My question is: what do I put into these memories - the same data as I used for initial training?
That would seem to be unwise as it duplicates the data, but I can't see any other way of doing it. My instinct would be to ask mmt just to use data from a particular tmx file as context, but this doesn't seem possible.
I would greatly appreciate any hints or pointers to documentation or papers.

A NMT model is not like a Translation Memory where each example has a direct individual effect, but a kind of "mean function"  with a global effect involving all your data together. Adding a live-adaptation will help it to work a bit more like a Translation Memory by specializing the mean function on one specific pertinent example close to the sentence to be translated. It will help it to deal with possible rivalry between domains where vocabulary and phrases may be very different (not sure it's really the case between cars, trucks and bikes!), and to extrapolate on new sentences it never has seen in the training step (not the case if you are loading only the training data).

repo: modernmt/modernmt


text:
Add snippet to display available timeslots

This PR adds the snippet commerce.get_timeslots.
Add the snippet to any MODX template to display a grid of all available timeslots, or set the &orderBy parameter to display a notice saying Order by {time} to pick up at {timeslot}.
This is all configurable via lexicons and twig templates.

What do you think about adding &shippingMethod and &tpl properties? Instead of hardcoding the "order by" rendering and being forced to use a single template, those 2 options would allow users to place a snippet call for each shipping method they want to render with whatever template. Perhaps users want to render a "food delivery" method differently from
The "order by" output should then be possible with a template that only renders the first available slot, returning its closes_after and start/end time, while they can still offer a full grid output elsewhere on the site. I think that'd be more flexible.

Ah I see what you mean, yeah that's a great idea.
So effectively, I could provide the two twig templates as examples and show how they're loaded via the &tpl param. Then the developer could load either one or add their own.
I'll get that updated  👌🏻

Two very minor code things - assuming you've tested it to work as expected feel free to merge after that. :)

Hi Mark, I've made the suggested changes and verified everything is working. It looks like I don't have write access for this repo however, so I'm unable to merge it directly.
Or perhaps it's because I've made the pull request via a fork. (I'm not sure if that has any bearing)

Whoops, my bad. Should let you do commit directly now?

authors: Mark-H muzzwood


text:
WebkitBackgroundClip not supported?

Bug report
Describe the bug
It looks like WebkitBackgroundClip is not supported by Stitches. The property is applied as background-clip in the compiled styles but doesn't have any effect.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Try to add the following to your code:
const Text = styled('p', {});

// ...

<Text
  css={{
    WebkitBackgroundClip: 'text',
    WebkitTextFillColor: 'transparent',
    background: `linear-gradient(
        91.83deg,
        pink 2.26%,
        red 145.81%
      )`
  }}
  >
  Almost before we knew it, we had left the ground.
</Text>

Noticed that the following is being rendered:

Expected behavior
When moving the WebkitBackgroundClip: 'text' property as inline style (i.e. in the style prop) everything works as expected. That's a good workaround for now, but I'd love to add a "gradient" variant to my Stitches component 😄
This is the expected result:

Screenshots
(See above)
System information

OS: macOS
Browser (if applies) all
Version of Stitches: 1.2.5
Version of Node.js: v14.17.0

Additional context
Add any other context about the problem here.

Hey, it works but you're overriding it with the background property 😄
Try this:
{
  WebkitBackgroundClip: "text",
  WebkitTextFillColor: "transparent",
  backgroundImage: `linear-gradient(
        91.83deg,
        pink 2.26%,
        red 145.81%
      )`
}

Works like a charm 🪄
Thank you for the quick reply! That makes total sense 😄

authors: MaximeHeckel peduarte

repo: modulz/stitches


text:
🛑 STATUS.MOFE.IO is down

In 4712347, STATUS.MOFE.IO (https://status.mofe.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: STATUS.MOFE.IO is back up in 5fbc79e.

repo: mofelee/upptime


text:
remove function

Remove DOM elements

remove
detach
empty

Closed by d1b0f658db69133b41af72319ae6296e222752be


text:
Custom name for objects

Thanks for the library - it's very useful.
All of my objects come from JSON.parse, which means they aren't classes. The end up getting printed as Object based on this code:  https://github.com/mohsen1/json-formatter-js/blob/master/src/helpers.ts#L29
However, many of them have a type property. What I'd really like is to use the value of the type property as the object name, and hide the type property.
I think the best way to handle this would be to allow developers to provide a config.nameOverride function that would be called for each object if it is present, and if it returns a value, use that value instead. I'd be happy to implement this if you are willing to accept the pull request.

I think this is out of scope. Unless others require similar functionality I would like to keep this library small. It's OSS, so you get to use your own fork. Thanks for your contribution! ❣

@mohsen1 can we add this functionality please?

license: mit


text:
Extra information in actions

Hi! Thank you so much for this awesome package.
I want to add some extra information in action structure, but it seems doesn't work.
botui.action.button({
   delay: 500,
   action: [
      {
         text: 'Button 1',
         value: 1,
         extra: 'Something'
      }, {
         text: 'Button 2',
         value: 2,
         extra: 'Something'
      }, {
         text: 'Button 3',
         value: 3,
         extra: 'Something'
      }
   ]
});

Is there any way to do it?
Thank you!

Hey, you are welcome.
Sadly no, there is no way to add anything else to buttons. You can only add icons.
Like icon: check or any other available in font awesome.

authors: guillemaldeguer moinism

repo: moinism/botui


text:
Running a batch of calls from a file.

Hi,
This is a feature request. It would help in development and debugging phase.
Tia

you can implement it yourself with custom commands.

authors: GHNewbiee icebob

repo: moleculerjs/moleculer-repl


text:
v3: added ref type to the Link component

closes #341

Keep in mind, Link can wrap custom components as well:
<Link>
  <MyCustomLinkComponent />
</Link>

A ref to MyCustomLinkComponent isn't always HTMLAnchorElement.

authors: jeetiss molefrog

repo: molefrog/wouter

license: Unlicense


text:
[NEW]:

Date
2021-12-04
Description

Polygon could have lost almost all of its MATIC tokens worth $24 billion if a severe bug had gone unnoticed.
Polygon undertook a hard fork to fix the bug and save the project, but didn’t disclose details about the vulnerability until Wednesday.
a malicious actor exploited the bug and stole 801,601 MATIC tokens (currently worth over $2 million)

all items  are quotes pulled from the article
Links
https://www.theblockcrypto.com/post/128784/polygon-critical-bug-24-billion-matic-tokens-at-risk-hard-fork
Agreement

[X] I irrevocably agree to release my contribution under the CC-BY 3.0 License

Attribution name
No response
Personal link
No response

Added, thank you! https://web3isgoinggreat.com/?id=2021-12-04-2

Added, thank you! https://web3isgoinggreat.com/?id=2021-12-04-2

authors: dasinck molly


text:
At some point it just gives up?

It outputted JSON files for my 8,000+ translations, but they are impartial.
English as input, French and Spanish as output.
For the French one, at one point, it stopped translating and everything thereafter is simply "--".
Note all the proper translations at the top, and then nothing for the rest of it:

It said it completed it though.

For the Spanish one, the entire file is all just "--".   Zero translations.

I have the same problem. First time when i installed worked like a charm. Second time just -- Deinstalled and again installed but no difference. Maybe proxy is an issue but we must wait :)

@kuxonline @psarno @modestinoandre
Can you please try new version of jsontt(v1.8.0)?

@ParvinEyvazov works like a charm ;-)

Same result with 1.8.0 Google
Translate a few thne gives up.

@psarno @kuxonline
now jsontt v.2.0.0 supports fallback logic which tries another translation service on fail instead of assigning "--".
But if all services fail, it will assign "--".
More info in readme

authors: ParvinEyvazov kuxonline psarno

repo: mololab/json-translator


text:
feat: add example for preview storage client

I may have to leave the bug bash a little early so started early with the Rust SDK. This might have been in your backlog/WIP already but since I was about to follow examples pattern anyway, just decided to PR it.
Note that I did NOT update the CI workflows to run this due to alpha instability.
my_momento_store was created
Key foo was successfully persisted in my_momento_store
Key foo found in my_momento_store with value String("bar")
Key foo was successfully deleted from my_momento_store
Store was deleted

pushed a few commits to rebase and add to CI

repo: momentohq/client-sdk-rust


text:
Angular Functions

How do i can perform other functions in the input?
Like ng-change, ng-keyup, etc.

This function can be used, i have never tested. It works with ng model.

does not work

it works included in demo

authors: PabloPG mominsamir

repo: mominsamir/smDateTimeRangePicker


text:
[Revise subclass] MONDO:0006625 altitude sickness

MONDO:0006625 altitude sickness
I know we've discussed this before, but with the help of our collaborator @smnorthen we've finally resolved on a better home for 'altitude sickness' than the current 'cardiovascular disease' branch. Mondo definition says "Multiple symptoms associated with reduced oxygen at high altitude." Based on the oxygen intake being the problem, (which results in too little oxygen in the blood and following symptoms), @smnorthen suggested to make it a subclass of 'respiratory system disease' and 'injury' (with an axiom disease_has_feature some hypoxia). Would you please consider removing the parent 'cardiovascular disease' please?
Tentatively tagging for your January release as EFO is getting the unwanted parent from Mondo.
Thanks.
(Note for self, stemming from https://github.com/ebispot/efo/issues/486)

@paolaroncaglia HP doesn't actually have Hypoxia as a phenotype (but it is in MP). I'll make a NTR to HP.
I partially addressed this ticket on the PR #1039

Oh, nevermind, I guess hypoxemia is a synonym for hypoxia:
https://github.com/obophenotype/human-phenotype-ontology/issues/3904

I added the axiom too

Thanks @nicolevasilevsky .

authors: nicolevasilevsky paolaroncaglia

repo: monarch-initiative/mondo


text:
New term request "Familial hemophagocytic lymphohistiocytosis"

Another example:
ORPHA:540 "Familial hemophagocytic lymphohistiocytosis" is currently mapped to MONDO:0009974 "familial hemophagocytic lymphohistiocytosis type 1"
The Orpha:540 term maps to OMIM: 267700 , 603552 , 603553 , 608898 , 613101
ON MONDO:0009974, there is only 267700. Suggest making a new term for ORPHA:540 "Familial hemophagocytic lymphohistiocytosis", then setting the MIM subtypes as children of the orphaNet term.
Originally posted by @kanems in https://github.com/monarch-initiative/mondo/issues/2693#issuecomment-805888503

Orphanet:540 should have it's own term. and I think MIM number for phenotypic series: PS267700 would map to the same concept.

The term 'familial hemophagocytic lymphohistiocytosis type 1' (MONDO:0009974) needs to be split to(i.e obsoleted and replaced by ):

familial hemophagocytic lymphohistiocytosis  - MONDO:0700058 (referring to Orphanet:540)
familial hemophagocytic lymphohistiocytosis type 1 - MONDO:0700059 (OMIM:267700)

Hello @kanems
I'm Sabrina, a new curator who recently joined the Mondo team.
We will address your issue as soon as possible. Thank you for your patience.
If this is a high priority, please let me know and we can prioritize it. Thank you!

Hi @sabrinatoro, I see this was closed recently, but the terms are not on the browser yet... will these new terms go out in the August release?

Hi @kanems
Yes, these terms will be in the upcoming release, at the beginning of August. You will be able to see the terms in your browser as soon as it has updated (I know that OLS takes about a week to update after the release is out).

authors: kanems sabrinatoro


text:
Tooltip down arrow with incorrect position

On what operative system and browser are you seeing this?

Windows (chrome and firefox)
Website in mobile width

Changing custom.css:4714 to bottom: 100% fixes for me on mobile width, but breaks the display on desktop width

repo: monero-project/monero-site


text:
chore(NODE-5455): benchmark FLE

Description
What is changing?

Add FLE benchmark

Is there new documentation needed for these changes?
No
What is the motivation for this change?
Determine what the performance of FLE is.
- cpu: Apple M1 Max
- node: v22.0.0
- cores: 10
- arch: arm64
- os: darwin (23.5.0)
- ram: 32GB

Decrypting 1500 fields median ops/sec : 74

Double check the following

[x] Ran npm run check:lint script
[x] Self-review completed using the steps outlined here
[x] PR title follows the correct format: type(NODE-xxxx)[!]: description

Example: feat(NODE-1234)!: rewriting everything in coffeescript

[x] Changes are covered by tests
[x] New TODOs have a related JIRA ticket

Switching from cryptoCallbacks to native crypto: https://github.com/mongodb-js/mongodb-client-encryption/pull/18 shows good signs of being a large perf improvement

repo: mongodb-js/mongodb-client-encryption


text:
Concurrent connections leaking memory

I've moved my application(not using any frameworks) to a Swoole-based daemon which uses 100 workers and when I start the server it automatically opens the same number of connections to mongodb. However, not being able to control the mongo connections it seems that the amount of memory thats being used by mongod daemon keeps increasing with time, it starts from 0.3% from total RAM but slowly in 12 hours goes up to huge levels. That is memory increased solely by mongod:
1565 mongodb   20   0 1591008 1.129g   6824 S   0.7 14.5   9:44.38 mongod
while the server connections count stay the same:
"connections" : {
     "current" : 116,
     "available" : 703,
     "totalCreated" : 377
 },

I've tried to find an explanation as to why the persistent connections to mongod keep leaking memory and thats a process I can't investigate as it happens perhaps in the low level driver. Is there a solution that I'm not aware of? How can I check the internal driver connection handling(in the deprecated library there was something like getConnections() but here I can't check whats happening under the hood - even a summary)

Swoole-based daemon which uses 100 workers and when I start the server it automatically opens the same number of connections to mongodb.

Assuming each worker is an independent PHP process and you're constructing MongoDB\Client objects with the same arguments (i.e. connection string, options), I expect the driver will create one persisted libmongoc client for each process per the connection handling documentation.
The connections object you shared above looks to be the serverStatus result. I'm not sure how this leads into the next statement:

I've tried to find an explanation as to why the persistent connections to mongod keep leaking memory and thats a process I can't investigate as it happens perhaps in the low level driver.

The driver (i.e. mongodb extension) does not provide any API for exposing its socket usage. When a MongoDB\Driver\Manager is constructed, we do log whether it is able to re-use a previously persisted libmongoc client. That message will show up in the trace output, which may be captured via the mongodb.debug INI setting. If you experiment with constructing multiple MongoDB\Driver\Manager objects (or MongoDB\Client instances) with the same or varying arguments and examine the trace logs, you can get a sense for how the driver behaves in accordance with the connection handling documentation.
That said, I'm not sure how this plays into the serverStatus output you're seeing. I might suggest examining netstat  output on the host running these Swoole works for the most accurate information about sockets (either in use or no longer used, but still allocated).

Yes each worker creates a parallel PHP processes and each one has a MongoDB\Driver\Manager persistent connection, as per the server result which shows around 100 current connections at all time(they are created instantly when opening the Swoole server). The Swoole clients are running by crontab every minute and they give out tasks to about 40 workers each time.
I investigated all the PHP processes memory usage and while there seems to be a memory leak of around 40-50Kb each couple of hours, the memory usage of the mongod process sky rockets during that time. For instance, since I opened this issue when mongo used about 14.5% RAM, now it reached 22.1%:
2884 mongodb   20   0 2146824 1.724g   6844 S   0.3 22.1   6:02.82 mongod
I also checked the sockets opened and there only few opened on the Swoole port so I can't see an issue there.
The problem is mongod process that keeps growing in memory usage and it doesn't happen constantly, every few hours a spike occurs and another few hundred Mb of memory are leaked through it for no apparent reason.

Thanks @jmikola for trying to help, I'll try to respond to each of your questions below.

Can you explain the relation between your Swoole clients and the workers? Do the clients themselves utilize the driver, or are they only responsible for dispatching HTTP requests to a fixed-size pool of workers? I'd just like to confirm if the pool of 100 workers (and effectively libmongoc clients) remains fixed, irrespective of any cron behavior.

The swoole clients are passing along the tasks parameters(via cronjobs) to the fixed-size workers that were setup when the swoole server started. The workers are fixed, they listen for connections and perform certain tasks based on the received parameters.

Do I understand correctly that the memory footprint of each PHP worker is only increasing by 40-50 kilobytes over the course of a few hours?

They increase by more(Mbs not Kbs) in couple of hours, the ps aux command displays the memory in Kbs it seems, I initially thought those were bytes as I've investigated memory leaks in my application with tools that displayed bytes only. When I'm analyzing my PHP application with php-meminfo I run about 1000 tasks with little or no memory loss, but its running continuously from a single process and perhaps thats why there's no issue with mongo but when they get forked by the swoole server into 100 processes then the unexpected memory consumption starts to happen and I assume it has something to do with mongo and the communication with so many php processes at the same time..

Can you correlate the number of sockets reported by netstat with the 100 connections you expect to see? That assumes you're connecting to a single mongod.

Yes I believe its a single mongod, the number of sockets are 1:1 with the number of workers.

To clarify, is the mongod process running on the same server as the PHP workers, such that the PHP driver is making localhost connections?

Exactly, both Swoole and Mongo servers are being run on the same OS installation and swoole workers connect to mongo using localhost.

Some other factors to look at in the mongod server may be open cursors or long-running operations

I'm not using open cursors or have long running operations in the application.

Lastly, I would advise upgrading the server version.

I've just upgraded to version 4.0.2, I've also upgraded the mongo driver to version 1.4.2 and the php extension:
MongoDB extension version => 1.6.0-dev
MongoDB extension stability => devel
libbson bundled version => 1.12.0
libmongoc bundled version => 1.12.0

With the upgraded mongo libraries I've performed and restarted the Swoole server with only 40 workers and collected the statistics as you advised for 1 hour. I've attached them here and during this time the mongod process increased its memory from 1.09G to 1.12G (its at 14.8% at this moment).
Server Status 12-15.txt
Server Status 12-20.txt
Server Status 12-25.txt
Server Status 12-30.txt
Server Status 12-35.txt
Server Status 12-40.txt
Server Status 12-45.txt
Server Status 12-50.txt
Server Status 12-55.txt
Server Status 13-00.txt
Server Status 13-05.txt
Server Status 13-10.txt
Server Status 13-15.txt
Mongostat logs.txt

MongoDB memory usage
The memory increases reported by mongostat can be correlated to the serverStatus output. If we look at the mem output between 12:15 and 13:15:
    "mem" : {
        "bits" : 64,
        "resident" : 1128, // -> 1145
        "virtual" : 2101, // -> 2121
        "supported" : true,
        "mapped" : 0,
        "mappedWithJournal" : 0
    },

1128 MiB corresponds to 1.1015625 GiB. 1145 MiB corresponds to 1.118164063 GiB. Those numbers agree with the 1.09G and 1.12G values we see from mongostat over this time. Also, looking at the documentation for the mem.resident field:

The value of mem.resident is roughly equivalent to the amount of RAM, in megabytes (MB), currently used by the database process. During normal use, this value tends to grow. In dedicated database servers, this number tends to approach the total amount of system memory.

This seems like expected behavior. Assuming most of this growth is related to the storage engine, I expect it's growing as new data is inserted, updated, and/or queried over the lifetime of the application. So long as there is available memory on the system, the database server is going to continue using it. This is unlike a closed connection/cursor, whose resources would be freed when no longer in use.
Any further questions about server-side memory usage would probably be better asked on one of the server-related community support channels, as I have a finite amount of experience in this area.
PHP memory usage

When I'm analyzing my PHP application with php-meminfo I run about 1000 tasks with little or no memory loss...

I don't believe php-meminfo provides any insight into memory usage within other PHP extensions (unless those extensions are creating zvals), so that may not be helpful.

but when they get forked by the swoole server into 100 processes then the unexpected memory consumption starts to happen and I assume it has something to do with mongo and the communication with so many php processes at the same time..

I'm still not clear on how Swoole is spawning these processes. In Mongostat.logs.txt, you have ps aux output that shows 43 seemingly identical php -f /var/www/html/swoole-server.php processes. After a few iterations, one of these processes maintains the 7720 RSS (resident set size), which is approximately 7.54 MiB, while the other 42 processes increase to anywhere between 10 MiB and 28 MiB. In later iterations of ps aux further into Mongostat.logs.txt, the RSS figures for those other 42 processes remain constant, so I don't see anything there that would indicate a leak.
Please correct me if I'm mistaken then, and there's something on the PHP side I may be missing.

Ok, thats useful information about mem.resident. Looking at it now after running continuously since giving the above logs its showing
    "mem" : {
        "resident" : 1295,
        "virtual" : 2250,
    },

and its utilizing 16.2% of the total memory, continually growing and it seems those spikes were connected with the swoole server restart but only happened after several hours because the workers were not reaching their full capacity immediately. This time around I haven't restarted the swoole server to see how much memory its going to eat over a longer period but surprisingly they stopped consuming memory after a while, now almost all using around ~50MB.

This seems like expected behavior. Assuming most of this growth is related to the storage engine, I expect it's growing as new data is inserted, updated, and/or queried over the lifetime of the application. So long as there is available memory on the system, the database server is going to continue using it. This is unlike a closed connection/cursor, whose resources would be freed when no longer in use.

So if I'll move to a dedicated mongoDb server will the server crash once it'll reach 100% or just free up memory and continue serving requests?

I don't believe php-meminfo provides any insight into memory usage within other PHP extensions (unless those extensions are creating zvals), so that may not be helpful.

Yes I was only analyzing my own application memory leaks(objects that kept growing, etc.). When I was performing these memory tests everything looked normal but in practice when running the swoole server the mongo process kept growing.

After a few iterations, one of these processes maintains the 7720 RSS (resident set size), which is approximately 7.54 MiB, while the other 42 processes increase to anywhere between 10 MiB and 28 MiB
Please correct me if I'm mistaken, and there's something on the PHP side I may be missing.

That was a bug of mine, the worker had id 0 and I was skipping it when assigning tasks.

So if I'll move to a dedicated mongoDb server will it crash once reaching 100% or just free up memory and continue serving requests?

I would not expect MongoDB to crash due to an OOM error, no. I believe the memory growth we're seeing is primarily from the storage layer, which we can consider "soft" usage. The server naturally tries to use whatever RAM is available for caching, indexes, etc. If memory isn't available for this purpose, I think you'd just see slower performance instead of an OOM error. This is different than allocating memory for connections and cursors, which is more of a "hard" requirement (you'd certainly get some sort of error if there was insufficient memory available for those resources). If you'd like a more detailed explanation of this, I'd definitely suggest you ask on the mongodb-user mailing list, as you're likely to get a server engineer to chime in with more technical details than I can provide.
MongoDB's preference to use as much memory as available factors into why we don't advise running multiple mongod processes on the same host (unless isolated in VMs, containers, etc.). This advice can extend to application servers on a case by case basis, but I think there's more leeway there (e.g. some applications will use a fixed memory footprint and won't compete with mongod for resources).

Thanks for the advices @jmikola, I appreciate taking the time. In case I need more info I'll check with mongodb group but for the moment I'm satisfied with the answers you provided.
All the best

authors: cylosh jmikola

repo: mongodb/mongo-php-library


text:
[NODE-2592] docs: update to include atlas search (3.6)

https://jira.mongodb.org/browse/NODE-2592
docs: update to include atlas search

Add Atlas search to `$text` docs.

NODE-2592

Thanks @mbroadst, I created a ticket to add this into the new Node.js docs https://jira.mongodb.org/browse/DOCSP-10565

@reggi is "docs_server" the correct code? I expected that it would reflect that the referrer was Node driver docs rather than server docs. Please advise when you get the chance.

authors: ccho-mongodb reggi

repo: mongodb/node-mongodb-native


text:
Model.destroy does not follow ActiveModel /AR behavior

After calling #destroy on a record #new_record? returns true. This is invalid and causes problems, for example when using with rails' dom_id helper.
The correct behavior, according to https://github.com/rails/rails/blob/master/activerecord/lib/active_record/persistence.rb, should be:
record.destroy
record.destroyed? -> true
record.new_record? -> false
record.persisted? -> false

Sorry, more testing showed me that these methods actually do work correct.
The problem seems to be that #to_key does not return anything for destroyed records in mongoid (even thought the id is still in the record in memory), but in AM / AR it returns the same key as before.

https://github.com/rails/rails/blob/master/activemodel/lib/active_model/conversion.rb#L40
Returns an Enumerable of all key attributes if any is set, regardless
if the object is persisted or not.

repo: mongoid/mongoid


text:
Consider "name" argument to create_index for index name

Current version does not allow giving a human readable index name.

Thanks for the PR, I also need this!  However, it looks like create_indexes probably needs name added as well.

Yes indeed, please add name in create_indexes before I merge.

Thank you for the review. I've implemented this change as proposed.

authors: rbu schizef

repo: mongomock/mongomock

license: ISC


text:
Types haven't published to npm

Do you want to request a feature or report a bug?
Feature
What is the current behavior?
There isn't a type declaration file in npm package
What is the expected behavior?
Provide the types file in package

For now I've just stubbed the types in my global.d.ts file, but having the actual types would definitely be preferred.

For now I've just stubbed the types in my global.d.ts file, but having the actual types would definitely be preferred.

You can use the github as package version

Going even further, you can install from github under a @types/mpath alias, so you can still have the published version with the types from this repo:
  "devDependencies": {
    "@types/mpath": "github:mongoosejs/mpath",

authors: SettingDust alex-e-leon forivall

repo: mongoosejs/mpath


text:
🛑 Lobembe is down

In e89b18f, Lobembe (https://lobembe.mongulu.cm) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Lobembe is back up in 3097fa5.

repo: mongulu-cm/uptime


text:
TestScheduler is unusable

Hi, I don't know if I am using testScheduler wrong or it is something fundamentally wrong with it.
Consider following simple code:
val ts = TestScheduler()

    val tick = Observable
      .interval(1.second)
      .mapEval(_ => Task.eval(println("executing")))
      .mapEval(_ => Task.sleep(1 seconds).executeOn(Scheduler.global))
      .mapEval(_ => Task.eval(println("after sleep")))

    tick.subscribe()(ts)
    Thread.sleep(5000)

Why this observable is being executed in the first place without invoking ts.tickOne()? How am I supposed to launch my observable in a controllable fashion? Keep in mind that this is a simple example and in the real life I might not be in control of calling subscribe.

I was expecting that after calling ts.tickOne() I would eventually see "after sleep" but this is not the case since this code expects me to call ts.tickOne again but only after Task.sleep(1 seconds).executeOn(Scheduler.global) finishes. So in other words I have to put Thread.sleep(x) in my test to wait for this action to finish. If so what's the purpose of using testScheduler in the first place? Again this is a simple example and in the real life I might not even know how long this action will take. Forcing the observable to execute two or more times is equally hard.

I can provide an example which is more connected to the real life if you would like.
Update: I have checked that similar code written using rxJava works as expected:
    val ts = new TestScheduler()
    val tick = Observable
      .interval(0, 1, TimeUnit.SECONDS, ts)
      .flatMapSingle(
        _ =>
          Single.fromCallable(new Callable[Unit] {
            override def call(): Unit = {
              println("before sleep")
            }
          })
      )
      .flatMapSingle(_ => Single.just(1).delay(1, TimeUnit.SECONDS, Schedulers.io()))
      .flatMapSingle(
        _ =>
          Single.fromCallable(new Callable[Unit] {
            override def call(): Unit = {
              println("after sleep")
            }
          })
      )

    tick.subscribe()

    ts.triggerActions()
    Thread.sleep(5000)

Why this observable is being executed in the first place without invoking ts.tickOne()? How am I supposed to launch my observable in a controllable fashion? Keep in mind that this is a simple example and in the real life I might not be in control of calling subscribe.

Running Observable does not introduce any async boundaries so your test most likely executes on main or global thread pool. Observable.interval runs the first tick synchronously without touching scheduler. I guess rxJava implementation always schedule the next tick asynchronously. It might be good idea to do it as well, I need to think about it. The best fix right now is to call tick.executeAsync.subscribe()(ts).

I was expecting that after calling ts.tickOne() I would eventually see "after sleep" but this is not the case since this code expects me to call ts.tickOne again but only after Task.sleep(1 seconds).executeOn(Scheduler.global) finishes.

Consider how tickOne works:
* Executes just one tick, one task, from the internal queue, useful
* for testing that some runnable will definitely be executed next.

What's in the internal queue?
  tick.executeAsync.subscribe()(ts)

  // TreeSet(Task(1,monix.reactive.internal.operators.SubscribeOnObservable$$anon$1@69fb6037,0 days))
  println(ts.state.tasks)
  // executing
  ts.tickOne()
  // TreeSet()
  println(ts.state.tasks)

There is only one task. Once we execute it, we get tomapEval(_ => Task.sleep(1 seconds).executeOn(Scheduler.global)) but it uses different Scheduler so we can't progress it.
When it's done, we get a new task so we have something that we can tick() again:
  Thread.sleep(1500)
  // TreeSet(Task(2,<function1>,0 days))
  println(ts.state.tasks)

If we tick one by one we will see that it is going quite slowly because there is a couple of tasks created:
  // after sleep
  ts.tickOne()
  // TreeSet(Task(3,Future(<not completed>),0 days))
  println(ts.state.tasks)
  ts.tickOne()
  // TreeSet(Task(4,Future(<not completed>),0 days))
  println(ts.state.tasks)
  ts.tickOne()
  // TreeSet(Task(5,monix.reactive.internal.builders.IntervalFixedDelayObservable$$anon$1@f78a47e,1 second))
  println(ts.state.tasks)

What about tick()?
    * Triggers execution by going through the queue of scheduled tasks and
    * executing them all, until no tasks remain in the queue to execute.

So if we use it instead, we will go through everything that doesn't involve timer:
// after sleep
ts.tick()
// TreeSet(Task(5,monix.reactive.internal.builders.IntervalFixedDelayObservable$$anon$1@644baf4a,1 second))
println(ts.state.tasks)

We can also try ts.tick(100.days) instead and the result will be as follows:
// after sleep
// executing
ts.tick(100.days)
// TreeSet()
println(ts.state.tasks)

Once again, it gets to the point of execution on different Scheduler  and doesn't have any tasks left to do. There is no way to know that after executing that task there will be new ones.
The only way I can think of to "run all tasks that don't require any sleep" would be busy polling in the background and I'm not sure if it fits well with TestScheduler as it is. If there is a need, the users can always do it themselves or have something like
while( ts.state.tasks.isEmpty) {}

instead of Thread.sleep. Well, preferably something with a timeout like eventually in ScalaTest.

If so what's the purpose of using testScheduler in the first place?

The main use case is for executing stuff on TestSchedulers only, I recommend to take a look at the many tests for Task, Observable or even in Cats-Effect for examples.
Interacting with other thread pools is tricky but doable

Forcing the observable to execute two or more times is equally hard.

  // executing
  ts.tickOne()
  while (ts.state.tasks.isEmpty) {}
  // after sleep
  // executing
  ts.tick(1.second)
  while (ts.state.tasks.isEmpty) {}
  // after sleep
  // executing
  ts.tick(1.second)

as a function:
  // executing
  ts.tickOne()

  executeN(10)

  def executeN(times: Int): Unit = (0 until times) foreach { _ =>
    while (ts.state.tasks.isEmpty) {}
    // after sleep
    // executing
    ts.tick(1.second)
  }

Thank you very much for the detailed response.

I guess rxJava implementation always schedule the next tick asynchronously. It might be good idea to do it as well, I need to think about it.

Let me know what you came up with, maybe this will be a good idea for my first contribution to monix ;)
In terms of Scheduler I will probably try to write my own which does the busy pooling as you suggested.

I've created an issue: https://github.com/monix/monix/issues/1185

repo: monix/monix


text:
Email regex fixes

Fixes #8
Added all special characters allowed in local part.
Remove catch-all wildcard (.) in domain part.
Allow top-level domains of more than 4 characters.

On rechecking, this seems to be working, thanks a lot for the PR! This will be a part of the very next releas!

authors: jonathantwite monizb

repo: monizb/vscode-regex-snippets


text:
Update README.md

Add bitsent.net

Thanks for your PR.
An interesting app as it is.
BTW, I found a error when I tried to upload some file.
It seems that it's caused by window.crypto.subtle does not exist.
Uncaught (in promise) TypeError: Cannot read property 'importKey' of undefined
    at encryptData (link.js:63)
    at addEncryptedText (link.js:186)
    at addEncryptedTexts (link.js:193)
    at link.js:145
    at readFile (link.js:202)
    at FileReader.reader.onload (link.js:211)

It's found on chrome 73.

It works now.

cool

repo: monkeylord/awesome-bitcoin-sv


text:
[FEATURE][QUESTION] Support for macOS Multitouch Events on Xamarin.Forms

Is your feature request related to a problem? Please describe.
In #309 touch events where added to SkiaSharp. In the conversation of the PR it says that multitouch is fully supported that it's correct for iOS and Android, butt not macOS as it seems. I tried a pinch and two-finger pan gesture with the trackpad but OnTouch(SKTouchEventArgs e) doesn't get called.
Describe the solution you'd like
a great solution would be that trackpad gestures are handled the same way as touch gestures on a mobile platform (iOS / Android). In the file
source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Mac/SKTouchHandler.cs i saw that SKTouchHandler derives from NSGestureRecognizer so maybe we could add override void Magnify(NSEvent magnifyEvent) to support the pinch gestures. For two-finger panning i think maybe override void ScrollWheel(NSEvent theEvent) is a good starting point.
Describe alternatives you've considered
An alternative for pinch gestures would be to use a Xamarin.Forms PinchGestureRecognizer but my current application also supports Android and as mentioned in #309 Xamarin.Forms GestureRecognizers won't work in that case. So I would have to do are Runtime checks like:
if(Xamarin.Forms.Device.RuntimePlatform == Xamarin.Forms.Device.macOS)
{
     var pinch = new PinchGestureRecognizer();
     pinch.PinchUpdated += OnPinch;
     this.GestureRecognizers.Add(pinch);
}

Is this something that's planned for future releases?
thanks

Tentatively moving this to the next version of SkiaSharp.

repo: mono/SkiaSharp


text:
email validator

email validator should return true for null, undefined and empty values.

If the value is null or undefined and you want to invalidate it,
I think that email validator is supposed to be used with required validator.

If an e-mail field is not required but if entered should validate as e-mail, it should be necessary to behave like minLength and maxLength validators.
minLength returns true for null, undefined and empty values.

Returning true for empty values should be true for everything except for required and sameAs. If it’s different – it’s a bug.
We do welcome Pull Requests! :)

authors: 38elements ecmel shentao

repo: monterail/vuelidate


text:
how to deal with this problem?

[ERROR] [browsingdata.go:43,Recovery] parse history error Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub
[ERROR] [browsingdata.go:43,Recovery] parse cookie error Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub
[ERROR] [browsingdata.go:43,Recovery] parse password error Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub
[ERROR] [browsingdata.go:43,Recovery] parse download error Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub
[ERROR] [browsingdata.go:43,Recovery] parse creditcard error Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub

already get


text:
ambiguous debug output for List

The current dubug output cannot accurately display the nested structure of lists.
For example:
fn main {
  let ls = @immut/list.of([
    @immut/list.of([1, 2, 3]),
    @immut/list.of([4, 5, 6]),
    @immut/list.of([7, 8, 9]),
  ])
  debug(ls) // 1, 2, 3, 4, 5, 6, 7, 8, 9
  println(ls) // List::[List::[1, 2, 3], List::[4, 5, 6], List::[7, 8, 9]]
}

It is better to change the output of debug_write to a format similar to the one of to_string.

the output should be [1,2,3,...,N]

The result of List::debug_write should be [1,2,3,...,N]

I'll try to update it, then I can update #688 accordingly.

I noticed that for other data structures, such as Queue, we used the result of to_string as the result of debug_write. Should we do the same for List to ensure consistency?
fn main {
  let q = @queue.of([1, 2, 3])
  println(q) // Queue::[1, 2, 3]
  debug(q) // Queue::[1, 2, 3]
}

Shouldn't the debug_write also show the type?

The result of List::debug_write should be [1,2,3,...,N]

or List::[1,2,3,...,N]
@Yoorkin

Should the debug_write also show the type?

The result of List::debug_write should be [1,2,3,...,N]

or List::[1,2,3,...,N]
@Yoorkin

There will be some changes to the built-in Debug and Show traits, so we could fix these behaviors later.

The Debug trait has been removed and the output of println looks fine. Therefore, this issue can be considered fixed.

repo: moonbitlang/core


text:
Add trait Boolean with to_tool()

This allows writing more generic @test.is_true() and is_false().

[ ] Depends on #162

There seems to be a typo in the title: to_tool.

authors: DiamondMofeng fantix


text:
[feature] Support bun install --frozen-lockfile in moon commands

Normally when we run moon ci it implies that the lockfile is up to date.
Having a way to configure moon to run the sync deps tasks with the --frozen-lockfile flag would speed up a lot of CI time.

You can set this manually using this setting: https://github.com/moonrepo/moon/blob/master/crates/config/src/toolchain/bun_config.rs#L18

Great! Thanks a lot!

authors: milesj rhuanbarreto

repo: moonrepo/moon


text:
[bug] If Bun lockfile is malformed, moon fails without a meaningful error message

Describe the bug
For some reason, my Bun lockfile was malformed. So the command bun bun.lockb was failing:
error opening lockfile: ENOENT

Because of this, when running moon ci, moon was failing without any meaningful error message. The only thing that happened was the early output showing the rest of the task pipeline as failed.
I realized this because I enabled debug and found the last command to run is the bun bun.lockb command.
Steps to reproduce

Have a malformed bun.lockb file
Do moon ci
Pipeline will fail

Expected behavior
This happens a lot in package upgrade PRs done by renovatebot or dependabot. I expected to have a more meaningful error so we could easily solve the lockfile issue.

I'm almost positive this error is actually from Bun itself and not moon, so moon is just displaying it's stdout/stderr.

But moon is not displaying this. This would be a good lead to identify the problem on the lockfile. I could only see the command on the debug logs.
For now I switched to yarn lock outputs to avoid issues so moon doesn't run this command.
Actually I'm not sure why this command is being run in the first place.

bun bun.lockb returns the lockfile in YAML format so that moon can parse it to resolve versions/hashes/etc.
Let me try and bubble the error up if it isn't in some cases.

Try 1.28.1 and see if that works.

Still didn't work. I sent you logs in DM in discord.
bun bun.lockb is working fine now. But same behaviour is still happening. B y running an individual task, I managed to identify one underlying error that is not appearing on trace logs.
The error is related to the parsing of the text file that bun outputs.

Try 1.28.2.


text:
[STORY][Prototype] As a passport holder, I want to approve a staking so that I can send tokens to stake

Acceptance Criteria:
 Scenario: User wants to start the staking process

GIVEN I am viewing the homepage of The Staker
AND my wallet is connected
WHEN I press the ‘Approve’ button
THEN I see a wallet prompt asking me to allow The Staker to access the necessary token
AND WHEN I sign the wallet message
THEN I see a transaction success

Acceptance Criteria completed with Demo: https://youtu.be/aQYW1hmuH1g

authors: brentmartin gtcsameer

repo: moonshotcollective/id-staking


text:
bot cant play anything

(7:01:22 PM) - [ERROR] - Error: input stream: Status code: 429
at StreamDispatcher.dispatcher.on.err (/app/src/app.js:74:14)
at StreamDispatcher.emit (events.js:194:15)

at streamError (/rbd/pnpm-volume/fe128fbf-e057-4865-9abc-dcd71a24cf28/node_modules/.github.com/discordjs/discord.js/ea9e1441905e67e2627a6f5e80a8d989d01376c5/node_modules/discord.js/src/client/voice/dispatcher/StreamDispatcher.js:88:14)

at PassThrough.StreamDispatcher.streams.input.on.err (/rbd/pnpm-volume/fe128fbf-e057-4865-9abc-dcd71a24cf28/node_modules/.github.com/discordjs/discord.js/ea9e1441905e67e2627a6f5e80a8d989d01376c5/node_modules/discord.js/src/client/voice/dispatcher/StreamDispatcher.js:94:67)

at PassThrough.emit (events.js:189:13)

at ytdl.getInfo (/rbd/pnpm-volume/fe128fbf-e057-4865-9abc-dcd71a24cf28/node_modules/.registry.npmjs.org/ytdl-core/0.29.7/node_modules/ytdl-core/lib/index.js:19:14)

at fn (/rbd/pnpm-volume/fe128fbf-e057-4865-9abc-dcd71a24cf28/node_modules/.registry.npmjs.org/ytdl-core/0.29.7/node_modules/ytdl-core/lib/info.js:370:25)

at exports.getBasicInfo (/rbd/pnpm-volume/fe128fbf-e057-4865-9abc-dcd71a24cf28/node_modules/.registry.npmjs.org/ytdl-core/0.29.7/node_modules/ytdl-core/lib/info.js:212:21)

at fn (/rbd/pnpm-volume/fe128fbf-e057-4865-9abc-dcd71a24cf28/node_modules/.registry.npmjs.org/ytdl-core/0.29.7/node_modules/ytdl-core/lib/info.js:370:25)

It seems to be an issue with ytdl-core. Some people are having the same error as you https://github.com/fent/node-ytdl-core/issues/444, I recommend you update ytdl-core but I think it's caused bya breaking change at youtube itself.

Closed due to inactivity.


text:
Updated to OPP

I've updated to use the OPP system. Included a link to a Step-by-step ppt.

@clayfanatic There are some build errors due to syntax issues:
$ pelican --verbose --fatal errors -s publishconf.py
WARNING: Document title missing in file /home/travis/build/moorepants/eme185/content/pages/instructor-guide.rst: Ensure exactly one top level section
WARNING: Document title missing in file /home/travis/build/moorepants/eme185/content/pages/microcontroller-tutorial-part-02.rst: Ensure exactly one top level section
ERROR: Could not process pages/purchasing.rst
  | SystemMessage: /home/travis/build/moorepants/eme185/content/pages/purchasing.rst:165: (WARNING/2) Enumerated list ends without a blank line; unexpected unindent.
CRITICAL: RuntimeError: Error encountered

@clayfanatic I'd like to merge these today as it is the switch over day.

Checks Pending

Checks Pending

authors: clayfanatic moorepants


text:
Multiple Schema Support

The examples use the dbo schema, I have several TVF's that are from different schemas; is this supported?

Have you tried using the DbFunctionDetails attribute with the DatabaseSchema property - something like this:
https://github.com/moozzyk/CodeFirstFunctions/blob/5ada6e5aeae069129535d08f2f50e15c3d9dfda9/test/CodeFirstStoreFunctionsTests/FunctionDiscoveryTests.cs#L67

I will try it. BTW Is there a way I could send you a database to look at? It has composite keys that have a computed column (level) and hierarchyid, and a lot of things that break ef code first.
Jason

From: Pawel Kadluczka notifications@github.com
Sent: September 16, 2020 12:17 AM
To: moozzyk/CodeFirstFunctions CodeFirstFunctions@noreply.github.com
Cc: Jason Craig jason.craig@outlook.com; Author author@noreply.github.com
Subject: Re: [moozzyk/CodeFirstFunctions] Multiple Schema Support (#32)
Have you tried using the DbFunctionDetails attribute with the DatabaseSchema property - something like this:
https://github.com/moozzyk/CodeFirstFunctions/blob/5ada6e5aeae069129535d08f2f50e15c3d9dfda9/test/CodeFirstStoreFunctionsTests/FunctionDiscoveryTests.cs#L67https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmoozzyk%2FCodeFirstFunctions%2Fblob%2F5ada6e5aeae069129535d08f2f50e15c3d9dfda9%2Ftest%2FCodeFirstStoreFunctionsTests%2FFunctionDiscoveryTests.cs%23L67&data=02|01||90f6a18d47604564b24a08d859f7651e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637358266365897109&sdata=mGoNfQCGMRvWnzLrrlfO9Oa4zwdpe0vvwHbf1%2F%2BuK9o%3D&reserved=0
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmoozzyk%2FCodeFirstFunctions%2Fissues%2F32%23issuecomment-693159507&data=02|01||90f6a18d47604564b24a08d859f7651e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637358266365907104&sdata=NUbLwONa0Xn7vAVa8zbRh36XV5jziOgtbeKMx9XGoHc%3D&reserved=0, or unsubscribehttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABDHH4AP5VP2XOL27AR4CT3SGA34XANCNFSM4RM32W2A&data=02|01||90f6a18d47604564b24a08d859f7651e|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637358266365917100&sdata=1LZHZWe2XqbWWNLG1rF301v%2BZbJzfSooU9k%2FV5WRqyg%3D&reserved=0.

I don't do consulting so I don't think I will be able to help there. Sorry!

No worries. Microsoft really Effed Me In The A (so to speak); SQL Server has supported hierarchyid, geometry, composite keys, unique keys with relationships etc. since 2008 and yet thier EF tooling still craps the bed and cany support "advanced" scenarios!

From: Pawel Kadluczka notifications@github.com
Sent: September 16, 2020 2:00 AM
To: moozzyk/CodeFirstFunctions CodeFirstFunctions@noreply.github.com
Cc: Jason Craig jason.craig@outlook.com; Author author@noreply.github.com
Subject: Re: [moozzyk/CodeFirstFunctions] Multiple Schema Support (#32)
I don't do consulting so I don't think I will be able to help there. Sorry!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmoozzyk%2FCodeFirstFunctions%2Fissues%2F32%23issuecomment-693191186&data=02|01||cc34a8d09050493845c808d85a05d524|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637358328372650124&sdata=AG95i%2Blsh6Ax0q58zNp644depDXHoCps4BG1XzyxGQo%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABDHH4DZDGL47FWHTPJF6KTSGBIAJANCNFSM4RM32W2A&data=02|01||cc34a8d09050493845c808d85a05d524|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637358328372660119&sdata=Z5EI3W0DKlxK2SOxLfFrt2uOVfjMFJrs%2Fm0FeH%2FbdlQ%3D&reserved=0.

Considering the question answered.

authors: jasonrichardcraig moozzyk

repo: moozzyk/CodeFirstFunctions

license: MS-PL


text:
3d descriptors from only atoms and coordinates

Hello,
Is it possible to obtain 3d descriptors from only atoms and XYZ coordinates, without smiles?
I have many XYZ files but no corresponding smiles.
I tried to automatically produce smiles using xyz2mol, but failed for many molecules. So gave up creating smiles for all the molecules and instead trying to get descriptors from 3d structures.

Maybe you can try Open Babel  http://openbabel.org/docs/current/FileFormats/XYZ_cartesian_coordinates_format.html

Hi,
I have the same doubt. But in your example there aren't code provided. Could you help us with this? Thanks!

Hi,
I have the same doubt. But in your example there aren't code provided. Could you help us with this? Thanks!

The following code may work
from rdkit import Chem
from openbabel import pybel
from mordred import Calculator, descriptors
def xyz2mol(xyzfile):
mol = next(pybel.readfile('xyz', xyzfile))
mol.write('mol', (xyzfile[:-4] + '.mol'), overwrite=True)
xyzfile = 'test.xyz'
molfile = xyzfile[:-4] + '.mol'
xyz2mol(xyzfile)
mol = Chem.MolFromMolFile(molfile, removeHs=False)
calc = Calculator(descriptors, ignore_3D=False)
des = calc(mol)

Thanks a lot for your help!

@iuhgnor Thanks for your message. For some .xyz files, it can not calculate the descriptors, please see attachment.
test.zip
[11:49:32] Explicit valence for atom # 11 B, 4, is greater than permitted
[11:49:32] ERROR: Could not sanitize molecule ending on line 68
[11:49:32] ERROR: Explicit valence for atom # 11 B, 4, is greater than permitted
WARNING:root:mol read failure: test.0
How to solve this issue?
Thanks

@iuhgnor Thanks for your message. For some .xyz files, it can not calculate the descriptors, please see attachment. test.zip [11:49:32] Explicit valence for atom # 11 B, 4, is greater than permitted [11:49:32] ERROR: Could not sanitize molecule ending on line 68 [11:49:32] ERROR: Explicit valence for atom # 11 B, 4, is greater than permitted WARNING:root:mol read failure: test.0 How to solve this issue? Thanks

Sorry, I have no idea. According to the exception, rdkit found the explicit valence of B atom is +4 and seems not chemically unreasonable (https://github.com/rdkit/rdkit/wiki/FrequentlyAskedQuestions).

authors: PARODBE iuhgnor proexcuse xiaoboy185

repo: mordred-descriptor/mordred


text:
feat: check for IReadOnlyCollection on EndsWith

Another item in #128, with ❤ from @Milyli.

It seems all the problems were in the testing code, and since the tests didn't include a check on the ICollection optimization (though the arrays are ICollections), I figured it's OK to not check for IReadOnlyConnection either.

Hopefully I'll soon learn these conventions so that you don't have to rewrite every commit for me 😉

repo: morelinq/MoreLINQ


text:
seeing if this works

resource leak and concurrency java

aasdsad

repo: morganwillisaws/codeguru


text:
subscribe to topics - Do not merge yet

It's working but I'll clean up some code before

example:
// inside the register success event
gcm.subscribe({
            topic: "/topics/global",
            success: onSuccessTopic,
            error: onErrorTopic
});

// callback functions
function onSuccessTopic(e){
    console.log("success topic");
}
function onErrorTopic(e){
    console.log("error topic");
}

added the same syntax for unsubscribe

ready to merge

Thanks, why would you want to subscribe to a topic within the success handler of registerPush()?
Why not make it completely separate calls, like so:
gcm.subscribe({
            senderId: "SENDER_ID",
            topic: "/topics/global",
            success: function(event) { ... },
            error: function(event { ... }
});

and
gcm.unsubscribe({
            senderId: "SENDER_ID",
            topic: "/topics/global",
            success: function(event) { ... },
            error: function(event { ... }
});

Also please make any additional relevant properties available in the event callbacks.

I've just put it in there because I wanted to be sure that it is registered to the push before subscribing to a channel. It can be used outside already. I've added the senderId to the function call and separated the getToken() function so you can even use that to just get the token.
Also I've added the topic to the callback again. Both functions (subscribe/unsub) return void so there isn't really much to add there

repo: morinel/gcmpush


text:
Support stylelint configuration

It's fine to have defaults, but it'd be nice if this supported users passing their own stylelint config.

@corysimmons Thank you for your proposal, and I read some issues in stylelint repository that is related to CSSfmt .
But I'm not going to introduce options(a config file) to format code (https://github.com/morishitter/cssfmt/issues/4).
I use stylelint in my project. It is cool!
And here is my stylelint config file:
"rules": {
  "color-hex-length": "short",
  "color-no-invalid-hex": true,
  "media-feature-name-no-vendor-prefix": true,
  "number-leading-zero": "always",
  "number-no-trailing-zeros": true,
  "number-zero-length-no-unit": true,
  "property-no-vendor-prefix": true,
  "selector-no-vendor-prefix": true,
  "selector-pseudo-element-colon-notation": "double",
  "selector-root-no-composition": true
}

In my opinion, stylelint is a lint tool, so I use stylelint  only to lint CSS code.
I think, we don't have to consider formatting of code when we are writing it, but we should format code when we share our code to others. And the formatting should run unconsciously and automatically.
So, stylelint options that is related to format code are not necessary, I think.
(Sorry, I'm not good at English)

Not everyone wants to format according to your rules: https://github.com/morishitter/cssfmt#rules
I don't. I'm sure a lot of other people don't.

What rule do you dislike? Almost developers write CSS in accordance with rules in my experience (without indentation size).
I got tired of maintaining config files(ex. .babelrc, .eslintrc, .editorconfig, etc).
So, I created CSSfmt inspired by Gofmt. It is simple to use.

I'm currently working on a strict config for stylelint. You have 22 rules defined, I have over a hundred.
It doesn't matter what I particularly want. The point of this Issue is anyone should be able to configure CSSfmt with a stylelint config file and it should format according to that.
I'm sure I'm not alone in this sentiment, but if you're content with your tool, then no problem. We'll implement this over at stylelint. Just figured I'd ask you since you already have a tool for formatting CSS.

@corysimmons You're not alone. I'm prefer this syntax,
.link
{
  overflow: hidden;
  cursor: pointer;
}

but CSSfmt forcing me use some immutable rules. Still with the CSScomb and dreaming about auto formatting according to the stylelint config.
(Sorry, I'm not good at English too)

If you do upgrade it, please support all 3 versions of configuration: https://github.com/stylelint/stylelint/blob/master/docs/user-guide/configuration.md#loading-configuration

@corysimmons I see, thank you for telling me :)

No problem. A lot of people make config for .stylelintrc and forget the other types so I figured I'd point it out before you got started. :D

:+1:

@corysimmons I just released stylefmt (renamed from CSSfmt) v3.0.0, support to understand stylelint rules for formattin :tada:  https://github.com/morishitter/stylefmt/releases/tag/v3.0.0

@davidtheclark ^ if you're interested

Yeah, thanks for the ping. This is really cool. I'll be trying it out soon.

authors: corysimmons davidtheclark in-in morishitter

repo: morishitter/cssfmt


text:
Hotfix(tx-submitter): correct failed index handling and add tests

Fix condition in SetFailedStatus to allow setting failed index equal to pindex
Add unit tests for SetFailedStatus to cover different scenarios
Update rollup function to log more detailed batch index information

moved to https://github.com/morph-l2/morph/pull/654


text:
cant get rid of this  playlist preview

irrespective of what theme did i applied , this section wont  change . i once tried to install Dribbishdynamic. it appeared after that

Try spicetify restore and then spicetify apply

yea thanks it worked man

authors: abhisheknclt morpheusthewhite

repo: morpheusthewhite/spicetify-themes


text:
WIP : Integrating Birdman dependency

This is first iteration of getting the Birdman dependency integrated into this package.
Note that this is work in progress - we had to reimplement the base class in order to make things work.
Ideally, all of the boilerplate code (i.e. BaseModel or NegativeBinomialCaseControl) would be in Birdman instead of this package. So we probably won't merge this PR in until those logistics are sorted out.
Other TODO

[x] Get unittests to confirm that the parameters are estimated ballpark correctly
[ ] Get tests in place to confirm that diagnostics are working properly.  Diagnostics include effective sample size, Bayesian R2, posterior predictive checks, Rhat and E-BFMI.
[x] Make plugin output qiime2 Artifacts (likely bypassing q2cli until those networking issues are resolved).  We want to do this so that we can easily pass qiime2 Artifacts to qurro / gneiss / empress
[ ] Confirm that SLURM still works

CC @gibsramen

A couple of things.  First, I had to modify the parallelism using dask.Client in the base class in order to allow slurm to spawn Stan processes.
Also, I'm running into issues aggregating information from the fits.  Here is an example of one of these issues
======================================================================
ERROR: test_cc_slurm (__main__.TestNegativeBinomialCaseControl)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_stan.py", line 146, in test_cc_slurm
    inf = nb.to_inference_object()
  File "/mnt/home/jmorton/software/q2-differential/q2_differential/_stan.py", line 565, in to_inference_object
    **args
  File "/mnt/home/jmorton/software/q2-differential/q2_differential/_stan.py", line 409, in to_inference_object
    inference = fit_to_inference(self.fit, **args)
  File "/mnt/home/jmorton/software/BIRDMAn/birdman/model_util.py", line 169, in multiple_fits_to_inference
    all_vars = fits[0].stan_variables().keys()
  File "/mnt/home/jmorton/miniconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/cmdstanpy/stanfit.py", line 968, in stan_variables
    result[name] = self.stan_variable(name)
  File "/mnt/home/jmorton/miniconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/cmdstanpy/stanfit.py", line 945, in stan_variable
    self._assemble_draws()
  File "/mnt/home/jmorton/miniconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/cmdstanpy/stanfit.py", line 719, in _assemble_draws
    with open(self.runset.csv_files[chain], 'r') as fd:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpylqag5nj/nb_case_control_single-202104281725-1-phztvt88.csv'

There is something weird going on with the intermediate files.
My current suspicion is that Stan is deleting the intermediate files in tmp after the session is over; which is not good for Birdman since we need those files.
When I specify the output directory, I now get a different error
======================================================================
ERROR: test_cc_slurm (__main__.TestNegativeBinomialCaseControl)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_stan.py", line 146, in test_cc_slurm
    nb.fit_model(dask_cluster=cluster)
  File "/mnt/home/jmorton/software/q2-differential/q2_differential/_stan.py", line 245, in fit_model
    sampler_args=sampler_args)
  File "/mnt/home/jmorton/software/q2-differential/q2_differential/_stan.py", line 324, in _fit_parallel
    all_fits = dask.compute(futures)[0]
  File "/mnt/home/jmorton/miniconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/dask/base.py", line 563, in compute
    results = schedule(dsk, keys, **kwargs)
  File "/mnt/home/jmorton/miniconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/distributed/client.py", line 2655, in get
    results = self.gather(packed, asynchronous=asynchronous, direct=direct)
  File "/mnt/home/jmorton/miniconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/distributed/client.py", line 1970, in gather
    asynchronous=asynchronous,
  File "/mnt/home/jmorton/miniconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/distributed/client.py", line 839, in sync
    self.loop, func, *args, callback_timeout=callback_timeout, **kwargs
  File "/mnt/home/jmorton/miniconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/distributed/utils.py", line 340, in sync
    raise exc.with_traceback(tb)
  File "/mnt/home/jmorton/miniconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/distributed/utils.py", line 324, in f
    result[0] = yield future
  File "/mnt/home/jmorton/miniconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/tornado/gen.py", line 762, in run
    value = future.result()
  File "/mnt/home/jmorton/miniconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/distributed/client.py", line 1829, in _gather
    raise exception.with_traceback(traceback)
  File "/mnt/home/jmorton/software/q2-differential/q2_differential/_stan.py", line 314, in _fit_single
    **sampler_args
  File "/mnt/home/jmorton/miniconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/cmdstanpy/model.py", line 791, in sample
    mcmc = CmdStanMCMC(runset, validate_csv, logger=self._logger)
  File "/mnt/home/jmorton/miniconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/cmdstanpy/stanfit.py", line 384, in __init__
    self.validate_csv_files()
  File "/mnt/home/jmorton/miniconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/cmdstanpy/stanfit.py", line 650, in validate_csv_files
    thin=self._thin,
  File "/mnt/home/jmorton/miniconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/cmdstanpy/utils.py", line 464, in check_sampler_csv
    meta = scan_sampler_csv(path, is_fixed_param)
  File "/mnt/home/jmorton/miniconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/cmdstanpy/utils.py", line 520, in scan_sampler_csv
    lineno = scan_sampling_iters(fd, dict, lineno)
  File "/mnt/home/jmorton/miniconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/cmdstanpy/utils.py", line 781, in scan_sampling_iters
    lineno, num_cols, len(line.split(','))
ValueError: line 463: bad draw, expecting 137 items, found 37

Ok, now this is really messed up.
So I'm able to get fits, but things crash when I try to convert them to arviz objects.
az.from_cmdstanpy(posterior=nb.fit[0])
---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-28-4370c5f5c682> in <module>
----> 1 az.from_cmdstanpy(posterior=nb.fit[9])

~/miniconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/arviz/data/io_cmdstanpy.py in from_cmdstanpy(posterior, posterior_predictive, predictions, prior, prior_predictive, observed_data, constant_data, predictions_constant_data, log_likelihood, coords, dims, save_warmup)
    669         coords=coords,
    670         dims=dims,
--> 671         save_warmup=save_warmup,
    672     ).to_inference_data()

~/miniconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/arviz/data/io_cmdstanpy.py in to_inference_data(self)
    333             save_warmup=self.save_warmup,
    334             **{
--> 335                 "posterior": self.posterior_to_xarray(),
    336                 "sample_stats": self.sample_stats_to_xarray(),
    337                 "posterior_predictive": self.posterior_predictive_to_xarray(),

~/miniconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/arviz/data/base.py in wrapped(cls, *args, **kwargs)
     44                 if all([getattr(cls, prop_i) is None for prop_i in prop]):
     45                     return None
---> 46             return func(cls, *args, **kwargs)
     47
     48         return wrapped

~/miniconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/arviz/data/io_cmdstanpy.py in posterior_to_xarray(self)
     85             self.posterior,
     86             items,
---> 87             self.save_warmup,
     88         )
     89

~/miniconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/arviz/data/io_cmdstanpy.py in _unpack_fit(fit, items, save_warmup)
    490             num_warmup = fit.num_draws_warmup
    491
--> 492     draws = np.swapaxes(fit.draws(inc_warmup=save_warmup), 0, 1)
    493     sample = {}
    494     sample_warmup = {}

~/miniconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/cmdstanpy/stanfit.py in draws(self, inc_warmup, concat_chains)
    590
    591         if self._draws is None:
--> 592             self._assemble_draws()
    593
    594         if inc_warmup and not self._save_warmup:

~/miniconda3/envs/qiime2-2021.2/lib/python3.6/site-packages/cmdstanpy/stanfit.py in _assemble_draws(self)
    717                 )
    718         for chain in range(self.chains):
--> 719             with open(self.runset.csv_files[chain], 'r') as fd:
    720                 # skip initial comments, up to columns header
    721                 line = fd.readline().strip()

FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpwomsz3ar/nb_case_control_single-202104282125-1-_xc2vklb.csv'

But here is the weird part -- if I run the exact same command in the same python session, it works fine.
Now I've added a for / try loop and the tests pass.
I have no idea why this works, but I'm going to have to swing it in the meantime.

Ok, we got more problems.  Turns out the models are fitting complete garbage.
Below are some outputs of the posterior predictive checks.
And the weirdest part here is that all of the fits are also returning non-sensible values.
         Estimate       SE
elpd_loo      nan      nan
p_loo         nan        -

There has been a warning during the calculation. Please check the results.
bfmi <xarray.DataArray 'energy' (feature: 20, draw: 1000)>
array([[nan, nan, nan, ..., nan, nan, nan],
       [nan, nan, nan, ..., nan, nan, nan],
       [nan, nan, nan, ..., nan, nan, nan],
       ...,
       [nan, nan, nan, ..., nan, nan, nan],
       [nan, nan, nan, ..., nan, nan, nan],
       [nan, nan, nan, ..., nan, nan, nan]])
Coordinates:
  * draw     (draw) int64 0 1 2 3 4 5 6 7 8 ... 992 993 994 995 996 997 998 999
  * feature  (feature) object 'o0' 'o1' 'o2' 'o3' ... 'o16' 'o17' 'o18' 'o19'
rhat <xarray.Dataset>
Dimensions:        (control_dim_0: 100, feature: 20, status: 2)
Coordinates:
  * control_dim_0  (control_dim_0) int64 0 1 2 3 4 5 6 ... 93 94 95 96 97 98 99
  * status         (status) object '0' '1'
  * feature        (feature) object 'o0' 'o1' 'o2' 'o3' ... 'o17' 'o18' 'o19'
Data variables:
    mu             (feature) float64 nan nan nan nan nan ... nan nan nan nan nan
    sigma          (feature) float64 nan nan nan nan nan ... nan nan nan nan nan
    disp           (feature, status) float64 nan nan nan nan ... nan nan nan nan
    diff           (feature) float64 nan nan nan nan nan ... nan nan nan nan nan
    control        (feature, control_dim_0) float64 nan nan nan ... nan nan nan

Alrighty, so it looks like the basic tests pass.  I'm going to merge this in since it is such a huge pull request.  Will add CI support along with slurm tests in a bit.


text:
🛑 Bama is down

In 690e2a5, Bama (https://bama.design) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Bama is back up in cda7307 after 6 minutes.

repo: mortonpepper/upptime-upptime


text:
Add Foundry CLI support in Composer Env

What does this PR do?
This PR detects if composer llmfoundry ... is inputted. If so, it will call upon the llmfoundry CLI in the composer environment.
Testing:
test-cli-6nVBcb runs:
composer -n 8 llmfoundry train /mnt/config/parameters.yaml || (echo "Command failed - killing python" && pkill python && exit 1)
test-cli-DrhDtv runs:
composer llmfoundry train /mnt/config/parameters.yaml || (echo "Command failed - killing python" && pkill python && exit 1)
test-cli-ZzkqPt runs:
composer train/train.py /mnt/config/parameters.yaml || (echo "Command failed - killing python" && pkill python && exit 1)
Here is the MLflow experiement folder indicating all three runs act the same:
https://dbc-04ac0685-8857.staging.cloud.databricks.com/ml/experiments/3707544126254710?o=3360802220363900&searchFilter=&orderByKey=attributes.start_time&orderByAsc=false&startTime=ALL&lifecycleFilter=Active&modelVersionFilter=All+Runs&datasetsFilter=W10%3D
What issue(s) does this change relate to?
https://github.com/mosaicml/llm-foundry/pull/1337
Before submitting

[x] Have you read the contributor guidelines?
[ ] Is this change a documentation change or typo fix? If so, skip the rest of this checklist.
[ ] Was this change discussed/approved in a GitHub issue first? It is much more likely to be merged if so.
[x] Did you update any related docs and document your change?
[x] Did you update any related tests and add any new tests related to your change? (see testing)
[x] Did you run the tests locally to make sure they pass?
[x] Did you run pre-commit on your change? (see the pre-commit section of prerequisites)

No longer needed

repo: mosaicml/composer


text:
Only create remote_ud on global rank 0 in HF checkpointer

Manual Test
ift-mpt-7b-4nipk7-3uX2Rb

Doesn't work because the rud uses dist operations to wait for all the uploads to finish, so this results in nccl timeouts. All ranks need to have a rud to go through the dist operations.

repo: mosaicml/llm-foundry


text:
GNU ld warns about TEXTREL in d.o when linking a shared library, regardles of -fPIC

On CXX=clang++-3.5.1, LD=ld-2.24, CHOST=x86_64-pc-linux-gnu

Clang 3.5.1 bug. Compiling with g++-4.8.4 doesn't reproduce problem.
Issue remains open until workaround is found.

repo: moshbear/d

license: WTFPL


text:
🛑 api.buymezobo is down

In e35efea, api.buymezobo (https://core.buymezobo.ng/api/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: api.buymezobo is back up in 9062f36 after 38 minutes.

repo: mossgrid/sentinel