Querying a graph database instead of using GHC-API?

There are some problems with the GHC-API as mentioned here:
https://github.com/fpco/haskell-ide/wiki/GHC-API
I think that several of these problems could be solved by storing code, type Information, cabal data in a graph database. The idea would be to query this database instead of using GHC-API. GHC-API is just used to fill the db: Neo4j.
The reason for me to come up with a graph database in the first place was to answer the following questions:

Which functions are most often applied to a certain type?
How do I get from a type A to a type B? E.g. I get from String to Text by Data.Text.pack

In order to achieve this we have to store all repos from github/hackage/stackage in this database.
The are a lot of advantages:

A graph instead of a constructor tree in GHC-API allows to find reverse dependencies (not on packages but on functions: Does anybody use this library function or can I deprecate it? With what parameters do others use this function?)
A query language like Cypher is more powerful than a traversal of a ghc tree of constructors.
A more general access to data sources like code, cabal-files, github

The only disadvantage is that this database would have to be maintained and therefore more likely would be a service instead of being installed locally.
I plan to implement this and have looked into ghc-exactprint and hoogle and made some experiments with GHC-API. Anything else I should look into? Would you like to have this?

This is a really cool idea!  @epost mentioned something similar here, linking to this gist.
I've been thinking similarly that it would be great to collect and cache this info.  This way, you could jump into the code of your dependencies, and query info without compiling it, and in general perform interesting cross-project analysis.  This could also be used to power even better haddock source listings - type info as well as the identifier links.  Identifier links could jump into haddock source listings from other projects (doesn't seem to work this way yet).
So yes, I personally would like to have this.  So, If not at the core of haskell-ide, this certainly falls under the umbrella of things which can be implemented atop it.
There's some ide-backend code which might be interesting to reference.  While ide-backend does not have an actual database, it does have a single datatype for all collected info, which is potentially serializable: https://github.com/fpco/ide-backend/blob/3419618c714d0775d1eb17334d1277e166c5a78a/ide-backend/IdeSession/State.hs#L65
Treating collected info as a database makes a whole bunch of sense.  This could provide a nice mid-level API for writing the IDE protocol queries.  So, I'm thinking that even if it's possible to query the database via the protocol, the main IDE protocol should wrap up common editor functionality in a more straightforward interface.
The primary use-case of haskell-ide is providing information about code that you're working on.  I'm a little concerned that using a proper database for the info resulting from this would be overkill.  It would take a lot more time to store this info, and probably not that many queries would be executed.  In other words, this is a tradeoff between compile times (including storing info) and query latency.
Way back in the day, I influenced the implementation to use an IntervalMap for sub expression type info since it matched the types of queries I wanted to do.  Now, I'm thinking this was a mistake, as it takes longer to build the datastructure, just for the benefit of
So, I guess the ideal thing would be to be able to run these queries against either a very simplistic database (which is populated very quickly) or a proper database.  This proper database would be queried when we have cached compilation info, or for more involved, complicated queries.

The only disadvantage is that this database would have to be maintained and therefore more likely would be a service instead of being installed locally.

I see no reason why such a database couldn't be populated locally, possibly even being generated when info for a package is demanded.  As such, having it as a service or global cache is just an optimization, and one that could cause inconsistencies, such as if the user has a different build environment.

It may be worth looking at https://github.com/nominolo/scion-tools and its predecessor https://github.com/nominolo/scion, as well as what the leksah server is doing in terms of managing all the information around a project.

Thanks for the feedback so far.

I see no reason why such a database couldn't be populated locally, possibly even being generated when info for a package is demanded. As such, having it as a service or global cache is just an optimization, and one that could cause inconsistencies, such as if the user has a different build environment.

It has to be a service! There is just to much data, that has to be constantly updated. Let me give an example:

For what I want to achieve I need to store the 40.000 repos from github in neo4j. If everyone of these uses "map" 10 times then there are 400.000 edges between the "map"-node and its first argument in all these repos. Furthermore a type hierarchy has to be built in to classify the 400.000 edges. It also has to be updated regularly. Then there different library versions, that compile with different ghc versions.

Because of this I would also not try to replace fast and working code. What if the server goes down?
I see it more like an extra service where it is OK to wait 200 ms for an answer. But maybe one could generate smaller tables from this massive db, like condensed knowledge.
The problem of what function to use next is in my opinion so important that solving this well could mean a breakthrough for the Haskell community. I am 100% committed to try this.

I had started toying with this idea at https://github.com/JPMoresmau/dbIDE/tree/master/as-browser. The idea was to use acid-state to have a database of hackage and local projects, with their modules and symbols, to be easily searchable. Getting the packages from Hackage was not that slow, a few minutes if I remember.

Interesting! We may have very similar goals.
Since I know graph databases, I see relational databases as inferior. Some things I don't know:

Can acid-state be used like a graph db?
Is graph-db usable? I currently prefer neo4j because it is very mature.

A little OT about the UI:
When storing code in graph db, programming becomes a graph problem and to display this graph a browser is the best solution (using SVG). I did a first start page with reflex that currently works only with Chrome: http://tkvogt.github.io/
When entering "a" you see all functions that contain "a" or have types that contain "a". Clicking on the arrows filters the list of functions. I also emplemented graph drawing algorithms and will build this into the UI. Its still big experiment if this works.
In the end it will be a plugin for the Atom-IDE.

@JPMoresmau, @tkvogt: Cool stuff! This overlaps with my own view on what language tooling should be like, that is, something based on queries, allowing the tools to be very generic and powerful. I've been looking at it through the lens of datalog lately, as mgsloan indicated. I started psc-query as a first stab at converting PureScript sources to a datalog knowledge base. (The model used is naive, but it's just an example atm.)
To me, the specific database used doesn't seem like the most important thing, rather the possibility for the tools to present some of their functionality through queries. With something like that in place, one can always switch db's, as they're hidden between a nice data retrieval abstraction layer. That said, I think the graph/neo4j approach is potentially incredibly useful (though perhaps less so for editor support due to performance and licensing reasons?) and I'm following these discussions with great interest. If we could collaborate on this in some way, that would be awesome.

@epost I am definitely interested in collaboration.
I read a book about knowledge representation at university and this is definitely some very important aspect. An example: When I ask the IDE:

What can I apply to String?
doesn't give as good results as
What can I apply to PersonId? Although this is also a String
So ontologies and automatic deduction could be crucial. I also remember that the more powerful the description languages are the harder it is to automatically deduce something. There is WOL, semantic web. But thats not what you have in mind I guess?

Datalog (Prolog) is obviously a real language and nothing can be deduced automatically. You have to write the queries yourself and then it's just the same as writing queries in SQL or Haskell (imho).
Prolog solves many problems with the same tricks (recursion) as Haskell, but it is limited in its expressivity. But one the other hand one can easily write down facts and rules. If I would come to the conclusion that if facts and rules were a help I would implement/use a rule based engine in Haskell which may not be as elegant as Prolog but probably faster. Representing a database as Prolog facts is most likely slow.
And the db definitely makes a difference. When you want to match a graph with 10 nodes, this is fast in a graph db, while it could be very slow in relational db (possibly 10 JOINs).

@tkvogt  I toyed around with AcidState for as-browser to avoid dependency on other tools and be able to develop the persistence in Haskell. I've done quite a lot of research on graph databases, not sure if I agree with you on Neo4J being "very mature". It takes a big graph traversal for a graph database to outperform a relational database... And I'm not too sure an IDE requires a deep graph. Yes you want to find dependencies between functions, say, but do you really care to find all the functions that call functions that call functions that call function X?
I haven't use graph-db, but if you're interested you can have a look at https://github.com/JPMoresmau/HGraphStorage, a little toy graph database that I made, trying to implement the low level storage ideas of Neo4J.

Please note that the following are just wild ideas:
I can imagine to have more than 4 nodes in a path the graph. If one has to solve the problem:
f :: (Int,Float,String) -> a    is nearly the same as
g :: (Float,String,Int) -> b    or
h :: Float -> String -> Int -> c
@ndmitchell mentions this kind of matching in his hoogle talk
One could encode these similarities by automatically applying permutation functions or picking functions to every function.
This alone would double/triple the depth of a path and add n!  permutation-nodes to every function. Then  one could apply A*-search to find a path from a start to a goal node. When there is a type/ontology hierachy this also adds nodes to the graph. And one quickly has more than 10 nodes in a path.
About the performance I have no idea if this is feasible. The material from neo4j is maybe too cheering. But they received 20 million risk capital and their team on github is quite big. I must admit that made an impression to me.

I haven't use graph-db, but if you're interested you can have a look at  https://github.com/JPMoresmau/HGraphStorage, a little toy graph database that I made, trying to implement the low level storage ideas of Neo4J.

This is funny. I read the chapter about internals of neo4j last week and thought: Why not directly accessing the binary data ... and you already did this. I will definitely take a look at it. It is no problem if it is not ACID. But it would be really cool if it were binary write compatible with neo4j: Writing data in a file and neo4j accepts it. Another option would be the Bolt driver that @boggle is doing.

I think specifying it as a constraint satisfaction problem is probably a good way to go.  Which comes back to an early suggestion to use something like datalog. Except there are no mature haskell implementations, to my knowledge

TIL the Ensime Scala IDE folks (@fommil et al) are apparently considering the graph DB approach for their IDE to replace Lucene: https://github.com/ensime/ensime-server/issues/1133. They mention some very interesting points on that thread.
And now for some thinking out loud... :)
@tkvogt I think we may have slightly different use cases in mind, but that's ok, since I'm interested in learning about the limits of the applicability of the various modelling options (datalog, graph dbs or other). I think something like datalog would make more sense than, say OWL or SPARQL, since as far as I can tell we can assume a closed world, and get more powerful reasoning in return. Some things that I think separate datalog from (pre-99) SQL are its ability to do recursion and reasoning, and its ultra-concise syntax for stating the facts and rules of whatever concept space you're trying to model. That said, standard datalog has its limitations, and it's not yet clear to me which dialect would get us all the way.
To be clear, I'm not necessarily advocating the use of something external, like swi-prolog, and sending Prolog source text back and forth, because that would no doubt be too slow. What I would like, is to think about an abstract representation of the software facts implied by the source code and its libraries in terms of some well-defined semantics, which some appropriate datalog variety could provide, and to implement some of the IDE service functionality in terms of a querying interface instead of an ad hoc command interface like ghc-mod and psc-ide have. Even if this starts out as a very restricted querying interface that can only resolve a few predetermined queries, such as imports("My.Awesome.Module", SYMBOL)? or type("Control.Data.ap2", TYPE)?, I think this would open up a whole world of possibilities for the future. (NB: I think the semantics here are much more important than whatever syntax is deemed suitable.) If it turns out that some graph querying language would be a better fit, that would be awesome too.
The same model could be reused by other tooling initiatives to provide support for other languages.  Since haskell-ide-engine will have to provide answers to questions like my two example queries anyway, I think it shouldn't be an extra burden to adhere to some predictable way of expressing them.
@alanz I'm aware of the (unfortunate) scarcity of mature Haskell datalog implementations. Initially, an external datalog system doesn't seem necessary, as we could pick a couple of fixed queries and hardcode them in Haskell. This could later be replaced by something external, if the effort is considered to be worth it. Whether that something has to be a Haskell library (yet to be written or improved), or whether something on the other end of a few FFI calls would do, I don't know.

we are not replacing Lucene, we are replacing H2 (i.e. relational databases). Lucene is an index, not a store, and can be used to complement any storage mechanism.

btw, talking of indexing and search and types and all that good stuff... we want to be able to do this https://github.com/ensime/ensime-server/issues/472 which is basically Hoogol for Scala. If you have any ideas on how this could be implemented with Lucene queries, we'd love to talk.

I started looking at DataLog after seeing a presentation on clojure/datomic
I wonder if it would be possible to use datomic from haskell? Although I seem to recall is is non-free

I'm going to unsubscribe from this because you'll have a lot of chatter going on, but feel free to use my handle if there is something you want me to chat about :smile:

fommil: thanks for your comments! :)
@alanz: https://github.com/tonsky/datascript looks like a sort of in-memory datomic clone, which I suppose could be run on Node, as well as in the browser. I'm still wading through the morass of papers and github repos about various forms of datalog in search of useful implementations. I have noticed any are on the JVM. :/

@alanz @epost You really don't want to use Datomic for anything. We used the paid version for a production laboratory information management system. It was really bad. Straight-forward stuff like, "kill runaway query", they refused to support even after we offered to pay them on contract to add the feature. This is just one example of many.

@bitemyapp Oh, that's pretty bad. I don't think datomic's licensing is very pleasant anyway. It's got some cool ideas though.

Well, I am pretty sure there is a datalog implementation buried somewhere in https://github.com/ermine-language/ermine

What do we do with this issue? There seems to be interest but we’re far from having something concrete and I’m also not sure if this belongs in hie or if it should just be yet another plugin (YAP :)). Don’t get me wrong, if we can get something concrete out of this I’m all for it, I just don’t like having open issues which become irrelevant because the project has moved on.

I think it should be yet-another-plugin.  While it'd be elegant to do all our info collection / query through something like this, I don't think it makes sense to block such essential features on a speculative idea.  In other words, to me it makes sense to experiment with it outside of core HIE.  It seems quite reasonable to use extensible plugin state to share such info between plugins.  If it becomes the primary way things are done, it can get cleaned up and moved into the core HIE package.

Agree. The core should focus on coordinating the mechanics of plugins only, features should come via the plugins.

Yup, closing!
The discussion here is very interesting, though, and the ideas are promising as well.  So, don't interpret this as "don't do that!" instead, it's just not an item for the main HIE project.

After several failed experiments I came to the conlcusion that I have to develop a graph database from scratch:
https://github.com/tkvogt/judy-graph-db
It is especially targeted at this problem, but still infant.
Look at some example code: https://github.com/tkvogt/judy-graph-db/blob/master/app/Main.hs
Feel free to open up issues.

(should we mark this as wontfix instead, or something?)

@sboosali I think this is something we will do, at some point, but is not currently viable. So I propose we keep it open.
I have flagged it as an enhancement.


Routing issue simplified fix

Hi,
This is simplified fix for routing issue in demo http server

Hi @Roman-Blinkov, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

Thanks!
I though I rebuilt the projects (manually) after doing the changes, but I guess I skipped this one.


Consider exposing terminal inline chat in shell integration decoration

Right now we expose general (not command-related) actions in the shell integration decoration:

Inline chat is not directly related to shell integration, but maybe we should stick it in this section or a new one below it?

Let's not do this, it's already in the terminal context menu and it will clutter this menu further.


feature request: fs copy

Apple just announced a new file system that will have new system calls for optimized copies (they're instant, and don't require reading/writing all file/directory data). I think it would be a great opportunity for libuv (and by extension Node) to expose a copy API that can tap into that.
More info in this WWDC talk: https://developer.apple.com/videos/play/wwdc2016/701/

As a rule of thumb, libuv only exposes functionality that can be reasonably implemented on a majority of the supported platforms.

file copy can be implemented on all platforms, right? And the more file system knowledge you have, the more optimal it can be implemented (in the case of macOS Sierra, very optimally). That's where libuv can shine, right?

I think having a uv_fs_copyfile would be a good addition. Windows has CopyFile, but Unix is a jungle, as per usual. For example, see: http://stackoverflow.com/questions/2180079/how-can-i-copy-a-file-on-unix-using-c
OSX has copyfile(3) since 10.5, so I'd assume they take care of making it as fast as possible in their own file system.
@ronkorving you just volunteered to write the code, right? I volunteer to review it :-)

Challenge accepted :) (may take some time though)

@ronkorving I have a one and a decent setup for dev. If you do a PR I can submit a PR to your branch.
Always given that this is able to move forward...

Awesome, much appreciated! Let's make this happen!

For reference, Linux 4.5 gained copy_file_range(2).

I am currently looking in to this issue. I think we should discuss what the interface would be for uv_fs_copyfile. copy_file_range(2) in unix has offset parameters whereas copyfile(3) in OSX and CopyFileEx in windows does not.

I am currently looking in to this issue. I think we should discuss what the interface would be for uv_fs_copyfile. copy_file_range(2) in unix has offset parameters whereas copyfile(3) in OSX and CopyFileEx in windows does not.

I'm not at all clear what this issue is discussing.
Is it for make a copy of actual files on-disk? That is what Windows CopyFile() does.
Or is it for zero-copy transfer of data between file descriptors (or their Windows equivalent)? That is what sendfile(), splice(), and copy_file_range()` do.
And I couldn't watch the WWDC link in the issue on Chrome on Linux, maybe its Mac-only?

It's for copying files on disk. Right now (in Node) you would open one file and through user land buffers of user-defined size copy data chunk-by-chunk. There are syscalls that should be able to do a better job at this. On top of that (and that was the trigger for this), on macOS with AppleFS file copy is very cheap as it's copy-on-write (meaning you can copy a 1 GB file in microseconds).

When would kernel level copy file feature be introduced in bsd?
I am working on this issue but I am still wondering that I need to implement for all archs when I add a new uv_fs interface to get merged into main line

don't need to be a syscall but need to be implemented so in those archs: read and write

@llafuente you mean like uv_fs_sendfile_emul?

I mean emulate what copy does, using uv_fs_read & uv_fs_write
maybe need to use uv_fs_chmod & uv_fs_chown if permissions are preserved, I don't know, just to summarize

fwiw, this would help tremendously with stuff like npm and Yarn, which do some pretty heavy file copying tasks. Having this natively available would yield significant speed boosts on platforms where it's available without requiring npm to use native modules for this.

@ronkorving @eljefedelrodeodeljefe did any of you folks get around playing with this? (no pressure, if there is no time then 🤷♂ )

@saghul I'm afraid not. With macOS High Sierra announced (with APFS support), I guess it's becoming more interesting ;)

With macOS High Sierra announced (with APFS support), I guess it's becoming even more interesting

There's already ports of ZFS for Mac OS (not sure how reliable they are), and on Linux you can already use btrfs and zfs for copy-on-write. btrfs works pretty well with Docker too. No need to wait for some fancy new Apple thing to take advantage of it. 😉

Would it be useful to start with a PR for a simple implementation that could be iterated on? If so, I can probably start the work for this.

@cjihrig sure thing!

It's been a while, so I thought I'd check in on this issue. I'm making some progress at https://github.com/cjihrig/libuv/tree/copy. I still have to add the Windows bits, but CopyFile() doesn't seem horrible (knocks on wood). Right now, copyfile(3) is used on macOS, and existing libuv APIs are used on the other platforms.
The current function signature is shown below, but I think a flags argument might be helpful.
UV_EXTERN int uv_fs_copyfile(uv_loop_t* loop,
                             uv_fs_t* req,
                             const char* path,
                             const char* new_path,
                             uv_fs_cb cb);

@cjihrig  - I assume your current implementation wouldn't be able to take advantage of copy-on-write filesystems on Linux, since it's using a buffer to copy the file? Is there a way to copy the file in a way similar to what cp --reflink=auto would?

I took a look at the source code for cp, and it looks like it uses the ficlone ioctl if available. http://man7.org/linux/man-pages/man2/ioctl_ficlonerange.2.html. Would be good to have this here too 😃

It would probably be possible. If anything, I'd suggest it as an option on platforms that support it. https://unix.stackexchange.com/questions/80351/why-is-cp-reflink-auto-not-the-default-behaviour makes some good arguments for not making it the default behavior.

Quick note (for @cjihrig or anyone who may work on this): we cannot event look at coreutils, it's GPL.

Thanks for the efforts @cjihrig 🎉

As the author of the "kernel mode file copy" answer in the linked stackoverflow question: even on platforms that don't have an "instant" copy (which is probably just using the fs' COW functionality), there are still options that don't involve shuttling massive data between user and kernel space (esp. bad after spectre/meltdown with the associated slowdowns).
fcopyfile on BSD and CopyFile(W) on Windows are the easy ones, but splice and sendfile are also optimized to do that on certain versions of other platforms, too.

Libuv uses CopyFile() on Windows and (as a fallback) sendfile() on the Unices, FWIW.


Static generator/bowman

Pull request for the Bowman static site generator.
Thanks!

thanks, merging!


AvailableTerritories is deprecated and fastlane is not upgraded to new api endpoints

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
There're some deprecated apple endpoints in fastlane: https://developer.apple.com/documentation/appstoreconnectapi/app_store_connect_api_release_notes/app_store_connect_api_2_3_release_notes#4165225
I was not able to check all of them but regarding https://developer.apple.com/documentation/appstoreconnectapi/list_all_available_territories_for_an_app
we should be using this endpoint:
GET https://api.appstoreconnect.apple.com/v2/appAvailabilities/{id}/territoryAvailabilities
and NOT this:
GET https://api.appstoreconnect.apple.com/v1/apps/{id}/availableTerritories
Do we have a plan to start using new endpoints?
Thanks a lot

Hi, there is a PR https://github.com/fastlane/fastlane/pull/21901 with an implementation for request to get app availabilities, please take a look at the description there. For now it's left as a draft as there is one PR (https://github.com/fastlane/fastlane/pull/21900) that should be finished in the first place.

Hey 👋
Have we got any ETA on the above?
Thanks,

This is fantastic, shall fix all the price_tier and App has no prices yet... Enabling all countries in App Store Connect errors we are seeing with Deliver.

I hope this can be added soon. We work with a white label app, and im creating 5-10 new apps on new accounts every week, and its very annoying that this cannot be done. I had it scripted that fastlane would do it all, but now it crashes everytime it has to submit a new created app for review. So i have to go in manually and set the territory and pricing and then run fastlane to submit again. It has been like this for a very long time now.

i have this PR in my fork https://github.com/shernade/fastlane/pull/1

Im trying to set availability for my apps using latest fastlane version 2.221.1.
but i keep getting this error:
[!] The provided entity includes an unknown relationship - 'availableTerritories' is not a relationship on the resource 'apps' - /data/relationships/availableTerritories (Spaceship::UnexpectedResponse)

i tried using other versions such as 2.213.0, 2.219.0, 2.218.0, but it wont budge.
is it possible that the PRs mentioned above will fix this? if so, when will this be rolled out?

Please, fastlane has been broken with pricing and avalibility for sooo long now. this only happens when creating new apps (which we do alot) and its annoying to have a fully automated system for everything app related but still have to go in and set pricing and avalibility manually everytime. Hope that this will be solved soon, its been an issue for over 1 year by now :(

@assembleMHN  Does Fastlane work for updating pricing and availability for existing apps though?

@assembleMHN Does Fastlane work for updating pricing and availability for existing apps though?

Yeah, that seems to be fine @Goles, just used that myself

Any updates?

Still waiting this fix, it's important to me

Still waiting on this fix as well


Terminal command error

When using the terminal command, cd <any real directory>, it either goes to the Documents dir, or doesn't work at all, showing just a >, or when doing cd / it shows no directory, just a $. Thanks!

Hello. Which version are you on?
On Fri, 23 Apr 2021 at 22:25, Lukas Batema @.***> wrote:

When using the terminal command, cd , it either goes
to the Documents dir, or doesn't work at all, showing just a >, or when
doing cd / it shows no directory, just a $. Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/thebaselab/codeapp/issues/94, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJE6T2YAG3BXTV6I3LGU2FLTKF7PDANCNFSM43OX57QA
.

Hello. Which version are you on?
…
On Fri, 23 Apr 2021 at 22:25, Lukas Batema @.***> wrote: When using the terminal command, cd , it either goes to the Documents dir, or doesn't work at all, showing just a >, or when doing cd / it shows no directory, just a $. Thanks! — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#94>, or unsubscribe <github.com/notifications/unsubscribe-auth/AJE6T2YAG3BXTV6I3LGU2FLTKF7PDANCNFSM43OX57QA> .

This one was on 1.2.1, but I am on 1.2.2 now, from testflight, so I may not be able to reproduce it in the testing build version.

Should be fixed in https://github.com/thebaselab/codeapp-source/commit/04103e7fd9d6a0a60f12fe7cafac73f48e423c9a


Added  recognition support for all upper case Alphabets (A-Z)  gestures.

Hi Britg,
As discussed, I have added gesture for all upper case English Alphabates (A to Z ) within the library. I have tested the recognition for all and its working fine. Please review and accept the pull request.

HI,
I am use this library but there is a problem to detect alphabet D, F, K,N,R, T . So can you suggest me what is the issue for me.
Thanks.


Remove Propane Level Sensor Device Class

Removes the propane level sensor's device class (effectively setting it to None), as there is no appropriate device class that supports the intrinsic unit of measurement (percentage).
Testing:

Updating my ESPHome configuration with source: github://rringler/esphome-igrill@rringler/sensor-device-class and flashing resolves the log warning.

Resolves bendikwa/esphome-igrill#7

Hi.
Looking at the definitions of the Sensor Device Class, this makes perfekt sense.
Thank you for contributing!


[REQUEST-FOR-EXTERNAL] page 291 "Req. Worksheet" – Description2, BuyFromVendorName

Can we please have access to the global variables “Description2”, “BuyFromVendorName” in page 291 "Req. Worksheet"
page 291 "Req. Worksheet"

    var
        SalesHeader: Record "Sales Header";
        GetSalesOrder: Report "Get Sales Orders";
        CalculatePlan: Report "Calculate Plan - Req. Wksh.";
        ReqJnlManagement: Codeunit ReqJnlManagement;
        ItemAvailFormsMgt: Codeunit "Item Availability Forms Mgt";
        ChangeExchangeRate: Page "Change Exchange Rate";
        SalesOrder: Page "Sales Order";
        CurrentJnlBatchName: Code[10];
        // >>>>>>>>>>>>
        //Description2: Text[100];
        //BuyFromVendorName: Text[100];
        // <<<<<<<<<<<<<
        OpenedFromBatch: Boolean;

    protected var
        ShortcutDimCode: array[8] of Code[20];
        // >>>>>>>>>>>>
        Description2: Text[100];
        BuyFromVendorName: Text[100];
    // <<<<<<<<<<<<<

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Checklist loads forever and causes drop in performant

V 2.0.1
It works yesterday, before and after the new update. However, once I relaunch Obsidian.exe, the problem occurs.

I am having the same issue with v2.0.1

I have the same problem with 2.0.1. Thanks

I am having the same issue with v2.0.1
The load state will remain after the restart. Thanks!

Tried 2.0.2, the problem remains

yeah 2.0.2 solved a different problem. I'm still not sure on this one as I haven't been able to reproduce. I have a couple ideas:

All you who are having issues, what is your value in the Include Files setting. The contract for that changed in v2 and I'm wondering if you need to update the value in there?
Is anyone seeing this in your vault on your computer? How about on your computer if you enable the emulateMobile flag? (you can do that by opening the console and typing app.emulateMobile(true). If you can repro on your machine are there any logs?

My value in the Include Files setting is empty.
I tried the mobile mode on PC. With the Mobile mode on, 2.0.2 works, no issue. In desktop mode, the bug remains.

yeah 2.0.2 solved a different problem. I'm still not sure on this one as I haven't been able to reproduce. I have a couple ideas:

All you who are having issues, what is your value in the Include Files setting. The contract for that changed in v2 and I'm wondering if you need to update the value in there?
Is anyone seeing this in your vault on your computer? How about on your computer if you enable the emulateMobile flag? (you can do that by opening the console and typing app.emulateMobile(true). If you can repro on your machine are there any logs?

My value in the Include Files setting is empty.
I tried the mobile mode on PC. With the Mobile mode on, 2.0.2 works, no issue. In desktop mode, the bug remains.

How to get any log for this bug, though?

I'm seeing this on both Mac and Linux with 2.0.2. It appears to stay in the loading state (with the spinning loading animation) until a change occurs that triggers a re-render, such as creating a new file.

This is probably a duplicate of #80

The current version is 2.0.2 and I have encountered the same situation where the plug-in is always loaded indefinitely every time I reopen it

On Windows, I am getting this problem on any current 2.x version. Downgrading to 1.2.3 seems to work fine for me.

On Windows, I am getting this problem on any current 2.x version. Downgrading to 1.2.3 seems to work fine for me.

Yes, I did the same thing.

Same thing here on windows 11, plugin version 2.02

@gmaciocci is right, it seems that as soon as one adds a query in a note e.g. :
tag:#todo

Checklist renders quickly. This is on Mac M1.

I'm seeing this on both Mac and Linux with 2.0.2. It appears to stay in the loading state (with the spinning loading animation) until a change occurs that triggers a re-render, such as creating a new file. Once I create a file, the plugin loads immediately and functions as expected.

This seems to be a potential solution. I wish I could code with Typescript. For now, the 1.X version works just fine.


AVX based build crashes on intel Core i3-2328M (Sandy Bridge)

System Details

OS: Windows 7
Thorium Version: m119 final

Problem
The app crashes on my intel Core i3-2328M when using  avx based build, app works fine on sse4, no crashes.

#54

damn mine doesn't support AES. so I guess would need to stick with SSE4 :(


Heart mk2 update to Fallout test button

Changes / Comments
This is a mechanical update to correct the Fallout test for the Heart mk2 sheet (which originally tested against a single stress track rather than against the total of all stress tracks).
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ ] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[X] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Hey @brocktopus this pull request also seems to be deleting files in the Halo Mythic folder. Can you update the PR so it doesn't delete files in a different folder.

I can't figure out what's going on with this PR, so I'm going to see if I can just start entirely from scratch.


More Definition Questions

Two quick questions, first, in PCM Example, what is t1descr (not sure how I am supposed to 'complete' the definition, also, do I need to rename it?) and second, how am I supposed to define heat (noun or verb or both)?  Trying to clear issue #93.

The full text for the description of T1 (theoretical model for the conservation of thermal energy) is given in the Case Studies folder of our literate-scientific-software repo.  (The same material is also available at https://github.com/smiths/swhs/tree/master/SRS.)  Your version is incomplete.  I believe this is because @szymczdm was planning on auto generating parts of the description from the equation.
As far as heat goes, it can be both a verb and a noun.  @szymczdm would know whether this is supported yet by Drasil, but I could see defining it for both.  The verb heat means to transfer thermal energy to a body.  The noun heat refers to the heat energy inside a body.  I just did a quick google search, and I like the following definition of the noun heat:
Heat energy (or thermal energy or simply heat) is defined as a form of energy which transfers among particles in a substance (or system) by means of kinetic energy of those particles. In other words, under kinetic theory, the heat is transferred by particles bouncing into each other.  (from https://www.thoughtco.com/heat-energy-definition-and-examples-2698981).
Maybe our definition should be for heat energy, and heat is simply a short form for heat energy?  @szymczdm, would it be possible to define heat energy and make its abbreviation simply heat?
@AKM11, please split your issues into atomic pieces.  This issue now discussed t1descr and heat.  We should have one topic per issue.

Alright, thank you Dr. Smith.


Requesting clinician added to the Medication Request list and edit se…

Fixes #363.

prescriber added to the medication request list
prescriber added to the medication edit template
english translation for prescriber

cc @HospitalRun/core-maintainers

Thanks @alvesjtiago!


[feat] Logs are currently multiple lines, won't work well with log databases

Is your feature request related to a problem? Please describe.
Some users will probably try to store logs in databases for long term archiving and searchability. Some of the log output is currently in two lines, which would break most of these storage systems. If possible, keep the logs at one line each.
F.ex. grepping through syslog storage is made difficult with the current output.
That being said. It's very neat to have colored output :)
Describe the solution you'd like
Ensure all logs are on one line each.
Describe alternatives you've considered
Users can make parsers that attempt to merge the multiple lines into one, but this is cumbersome.
Additional context
Example:

I've just noticed that there are multiple timestamp formats too. I think the ozw logs are different from the zwavejs logs?... or perhaps the zwavejs2mqtt logs are different from the zwavejs logs?
I'll amend this request to be more about consistency.

I've just noticed that there are multiple timestamp formats too. I think the ozw logs are different from the zwavejs logs?... or perhaps the zwavejs2mqtt logs are different from the zwavejs logs?
I'll amend this request to be more about consistency.

@LordMike You see both zwavejs and zwavejs2mqtt logs there. About the single/multiline the only thing I can think is that we could provuide a custom winston transport to let you handle logs in your preferred way

@LordMike You see both zwavejs and zwavejs2mqtt logs there. About the single/multiline the only thing I can think is that we could provuide a custom winston transport to let you handle logs in your preferred way

I really expected the logs to come through the same system. Log events should really have been a type with a timestamp, message etc.. Then you, as the application, would define the format that the timestamp of all log message should be in, as well as the fields you'd want written out.
Anyhoo. My suggestion is to make it easier for consumers of the log, by making them more consistent. :)
There are other benefits in centralizing the logs through one system - it'd allow us to set filters for all kinds of things, like different severity filters for different components.. Maybe zjs2m should be logging Information, while the MQTT component should log Debug... or some other combination of filters.

I really expected the logs to come through the same system. Log events should really have been a type with a timestamp, message etc.. Then you, as the application, would define the format that the timestamp of all log message should be in, as well as the fields you'd want written out.
Anyhoo. My suggestion is to make it easier for consumers of the log, by making them more consistent. :)
There are other benefits in centralizing the logs through one system - it'd allow us to set filters for all kinds of things, like different severity filters for different components.. Maybe zjs2m should be logging Information, while the MQTT component should log Debug... or some other combination of filters.

@LordMike Every module has it's own log system, mqtt uses debug for example, zwave-js uses winston and I use winston too. Winston allows to provide transports,  what I could suggest is to think about a custom transpost (shared in both zwavejs and zwavejs2mqtt that stores log in a json format in a database for example)

@LordMike Every module has it's own log system, mqtt uses debug for example, zwave-js uses winston and I use winston too. Winston allows to provide transports,  what I could suggest is to think about a custom transpost (shared in both zwavejs and zwavejs2mqtt that stores log in a json format in a database for example)

Well, sucks that some components don't use a configurable log system.
Zwavejs configures itself to use the console as a transport then? ... it shouldn't do that... it's a library..
But yea, if you, in this app, control the logging transports, then everything should work out :)

Well, sucks that some components don't use a configurable log system.
Zwavejs configures itself to use the console as a transport then? ... it shouldn't do that... it's a library..
But yea, if you, in this app, control the logging transports, then everything should work out :)

Zwavejs configures itself to use the console as a transport then? ... it shouldn't do that... it's a library..

With latest changes now I can configure both zwavejs and zwavejs2mqtt transports. So just let me know how you would like this to be implemented

Zwavejs configures itself to use the console as a transport then? ... it shouldn't do that... it's a library..

With latest changes now I can configure both zwavejs and zwavejs2mqtt transports. So just let me know how you would like this to be implemented

I've come to think it would be infeasible to change zwave-js' output.. It relies heavily on the formatting to be legible.

I've come to think it would be infeasible to change zwave-js' output.. It relies heavily on the formatting to be legible.


Add EL variable and EL container for contextual root path

This closes #2160

Pull Request Test Coverage Report for Build 5365

0 of 12 (0.0%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 55.892%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

bundle/src/main/java/com/adobe/acs/commons/granite/ui/components/impl/ContextualPageRootELVariableProvider.java
0
4
0.0%

bundle/src/main/java/com/adobe/acs/commons/granite/ui/components/impl/CustomELVariableInjectorImpl.java
0
8
0.0%

Files with Coverage Reduction
New Missed Lines
%

bundle/src/main/java/com/adobe/acs/commons/mcp/impl/ProcessErrorReportExcelServlet.java
1
66.22%

Totals

Change from base Build 5357:
-0.03%

Covered Lines:
15188

Relevant Lines:
27174

💛  - Coveralls


Feature/vertx jwt redis

I received 2021-01-07 13:56:22,393 ERROR [io.qua.mut.run.MutinyInfrastructure] (vert.x-eventloop-thread-12) Mutiny had to drop the following exception: java.lang.IllegalArgumentException: Unsupported Redis connection string scheme [localhost] when running against 1.10.5.Final and 1.11.0.CR1, but luckily Redis is not supported on product side.
Adding redis:// prefix solves that trouble.

I received 2021-01-07 13:56:22,393 ERROR [io.qua.mut.run.MutinyInfrastructure] (vert.x-eventloop-thread-12) Mutiny had to drop the following exception: java.lang.IllegalArgumentException: Unsupported Redis connection string scheme [localhost] when running against 1.10.5.Final and 1.11.0.CR1, but luckily Redis is not supported on product side.
Adding redis:// prefix solves that trouble.

https://github.com/quarkusio/quarkus/pulls?q=is%3Apr+ConfigProperties+is%3Aclosed there were several changes to ConfigProperty handling.
The fact that nested config didn't work well in 1.7 means that people probably avoided it the same way you did in the last commit. And the fact that this code works when running against 1.10.5.Final and 1.11.0.CR1 confirms that users shouldn't see any regression when upgrading.

https://github.com/quarkusio/quarkus/pulls?q=is%3Apr+ConfigProperties+is%3Aclosed there were several changes to ConfigProperty handling.
The fact that nested config didn't work well in 1.7 means that people probably avoided it the same way you did in the last commit. And the fact that this code works when running against 1.10.5.Final and 1.11.0.CR1 confirms that users shouldn't see any regression when upgrading.


Miami's own Ohana Web Search app

Ohana comes in two parts: API and search. These are two separate apps running at two separate URLs with two separate GitHub repos.
This GitHub repo represents Miami's Ohana API app. "API" is partly a misnomer. Yes, there are computer-friendly JSON data endpoints available, along with a Ruby Gem for making API calls easier, but there's also a user signup/login feature that human volunteers can use to add and update the underlying API data.
Miami does not yet have a working fork of the Ohana Web Search app. The search app is a primarily human-facing app that allows people to search for services.
The Web Search app is actually an Ohana API client. It pulls it's data from the API. So there remains a single, canonical data source.
The Web Search app also links back to the API if a user expresses an interest in adding to or updating the underlying data.
This project needs a working, customized version of the Ohana Web Search app.

Fork the search app.
Configure the fork's OHANA_API_ENDPOINT to point to Miami's API endpoint.
Deploy Miami's Ohana Search App to Heroku.
Misc debugging, configuration, and customization.

When you're done, the @Code-for-Miami/owners will:

[ ] Fork your repo into this account and add you as a collaborator.
[ ] Ask you to transfer ownership of the Heroku app to CodeForMiami's Heroku account.
[ ] Add you as a collaborator to (what is now) CodeForMiami's Heroku app.

Afterwards, you and any other collaborators can continue to push and deploy changes to GitHub and Heroku.

@eddroid this looks great. I'm in Wynwood, gonna come swing by the Lab in
about an hour or so - hope to catch ya.

@greggish https://github.com/Code-for-Miami/ohana-web-search and https://ed-miami-ohana-web-search.herokuapp.com/. That's not the official CfM URL. The site still needs debugging. But we can create issues in the other repo for that.


Annoying warnings

I've got some annoying warnings related to the postamble part when I publish any org file
(setq org-static-blog-page-postamble
"

RSS

user.com by
user is licensed under a
Creative Commons Attribution-ShareAlike 3.0 Unported License.
If you want to contact me, this is my email address:
<a<EMAIL_ADDRESS>")
Warnings buffer
line 242 column 149 - Warning:  escaping malformed URI reference
line 242 column 413 - Warning:  escaping malformed URI reference
line 250 column 1 - Warning:  escaping malformed URI reference
line 250 column 1 - Warning:  illegal characters found in URI
line 245 column 1 - Warning:  element removed from HTML5
line 248 column 1 - Warning:  proprietary attribute "xmlns:dct"
line 248 column 1 - Warning:  proprietary attribute "href"
line 250 column 1 - Warning:  proprietary attribute "xmlns:cc"
How can I fix these warnings?
Because Emacs splits into two windows and opens up a new warning window buffer every time I publish an org file.
Also, I think that the image from this link is broken:
<img alt="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/3.0/20x10.png\"

Your issue seems to have some broken formatting and I can't quite make out what you are trying to ask. Could you rephrase your question?


Add unit tests for tuning/sft_trainer.py

Is your feature request related to a problem? Please describe.
Add unit tests for the tuning/sft_trainer.py module.
Describe the solution you'd like
If possible, each function should have test cases in the file tests/tuning/sft_trainer.py
and pass test with the command pytest tests/tuning/sft_trainer.py
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 about the feature request here.

@Ssukriti Could you assign this to Tharapalanivel


Pr-shader-dot-fix

Shader:
Add float op for dot
Add missing use_parent_shader initialize value

what does dot() on float do?

Original GLSL language is supported this...

I know I'm a bit late on this one, but if dot product is:
x[0]⋅y[0]+x[1]⋅y[1]+...
I guess it just multiplies the values?  I guess it's mathematically sound, even if it's basically just a strange way of expressing multiplication.  If GLSL allows it, seems to me like it makes sense to allow it.

Add missing use_parent_shader initialize value

Looks like this change is no longer relevant (there is now a use_parent_material parameter instead) and it introduces merge conflicts.

Add float op for dot

Regarding this change, it would be good to reach a decision to either accept it or discard the PR.

There are still merge conflicts and no proper consensus, so I'll close this one for now.


Fix where_eq with null value

close #9

Coverage decreased (-0.01%) to 97.69% when pulling 2a31a2029bc9929993093c9a94b79627c410416d on nav-mike:9-fix-hash-with-nil into c25e23c8607b9b0317fd37e0a311a5faa8f38f6e on lazebny:master.


dependabot to auto deploy

this issue looked like it may have simply been caused by not adding the secret for dependabot to do deploys. we'll see next time it runs. for now, closing.


Add test suite

Currently checks for executable shebangs and trailing whitespace.
Adds a dispatch script to run on Travis.

This change is

:umbrella: The latest upstream changes (presumably #294) made this pull request unmergeable. Please resolve the merge conflicts.

Rebased on top of the latest master, the homu update also fixed a whitespace bug.

Reviewed 9 of 9 files at r1.
Review status: 7 of 12 files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable

@bors-servo r+

:pushpin: Commit 39bfbae has been approved by larsbergstrom

:hourglass: Testing commit 39bfbae with merge ce8769f...

:sunny: Test successful - travis

I updated the Salt install instructions and mentioned the test script on the wiki.


[bug] Incorrect AWS URL formatting in BuildAwsUrl

Description:
Hello,
I am encountering an issue with AWS URL formatting when using the minio-cpp client. Following the BucketExists example provided in the documentation, an error is raised regarding host resolution.
Code to reproduce the issue
#include <miniocpp/client.h>

int main() {
  // Create S3 base URL.
  minio::s3::BaseUrl base_url("s3.eu-central-1.amazonaws.com");

  // Create credential provider.
  minio::creds::StaticProvider provider(
      "****", "****");

  // Create S3 client.
  minio::s3::Client client(base_url, &provider);

  // Create bucket exists arguments.
  minio::s3::BucketExistsArgs args;
  args.bucket = "test";

  // Call bucket exists.
  minio::s3::BucketExistsResponse resp = client.BucketExists(args);

  // Handle response.
  if (resp) {
    if (resp.exist) {
      std::cout << "my-bucket exists" << std::endl;
    } else {
      std::cout << "my-bucket does not exist" << std::endl;
    }
  } else {
    std::cout << "unable to do bucket existence check; "
              << resp.Error().String() << std::endl;
  }

  return 0;
}

Debugging Output
When client.Debug(true); is enabled, the following output is observed:
* Could not resolve host: sa-soundnodes.eu-central-1.amazonaws.comeu-central-1.amazonaws.com
* Closing connection 0
unable to do bucket existence check; server failed with HTTP status code 0

It seems that the AWS URL is not formatted correctly, leading to a concatenated host name that cannot be resolved (sa-soundnodes.eu-central-1.amazonaws.comeu-central-1.amazonaws.com).
Expected Behavior
The client should properly format the AWS URL so that the host resolves correctly.
Comparison with Python Client
I do not have this issue when using the Python client for MinIO. The following Python code works correctly without any host resolution problems:
from minio import Minio

client = Minio("s3.eu-central-1.amazonaws.com",
    access_key="****",
    secret_key="****",
)

bucket_name = "test"

found = client.bucket_exists(bucket_name)
if not found:
    print("Bucket not exists", bucket_name)
else:
    print("Bucket", bucket_name, "already exists")

The Python client successfully checks the existence of the bucket without any issues.
Environment

minio-cpp version: 0.3.0
Operating system: Ubuntu 22.04.3 LTS
Compiler: gcc version 11.4.0

@simon-fauconnier Please try the fix https://github.com/minio/minio-cpp/pull/172

The fix #172 solves the issue
Thanks @balamurugana !


DLL in repository is probably missing fnDeleteNodeRef / Disposable pattern

I've re-written some of the code now and when I converted the FastNoise2 class to use the disposable pattern, whenever fnDeleteNodeRef was called it threw a EntryPointNotFoundException.
I think it didn't happen in the bitmap example because the destructor (or rather finalizer) is not called in a non-deterministic way. I'm not 100% sure about that but after I've replaced the dll with its newest version that error was gone.
Also: is there maybe even a specific reason why you've decided to not go for the Disposable pattern yourself?
It is probably not that important because people can easily replace the dll themselfes but I figured it might be worth mentioning.

It seems odd that no one else has come across the issue of fnDeleteNodeRef being missing in the DLL, does switching to the latest DLL fix the that?
I'm not that familiar with C# to know about the disposable pattern, what benefits would it provide in this use case?

Ok, I've confirmed my suspection now.
Steps of reproduction:

Close repository
Open FastNoise2BitmapGenerator.csproj with Visual Studio (2022, Version 17.3.5)
Remove Finalizer and place fnDeleteNodeRef(IntPtr) in a seperate member function of FastNoise2.cs
Call the newly created method after creating a new instance of FastNoise

Relevant code:
FastNoise2.cs
//~FastNoise()
//{
//    fnDeleteNodeRef(mNodeHandle);
//}

public void DeleteNodeRef()
{
    fnDeleteNodeRef(mNodeHandle);
}

BitmapGenerator.cs
static void Main(string args[])
{
    FastNoise cellular = new FastNoise("CellularDistance");
    cellular.DeleteNodeRef();
}

System.EntryPointNotFoundException: 'Unable to find an entry point named 'fnDeleteNodeRef' in DLL 'FastNoise'.'

is thrown.

Delete bin and obj folderes
Replace the old DLL with the newest one (Downloaded from Release: FastNoise2-v0.9.6-alpha-Win64-MSVC)

Now the exception is no longer thrown.
For why no one else seemed to get that error: Maybe most people just go straight to using the newest DLL or don't bother creating an issue and go on without using these bindings, but it really is strange. Also maybe the error will not appear if the NodeRef is deleted in the finalizer (but surely it is not intended like this and might cause memory leaks)
My C/C++ knowledge is limited but I guess fnDeleteNodeRef(IntPtr) is just reseting a shared_ptr internally or something like that, right?
Also my offer still exists. It really would be nice if there would be an official NuGet package for the bindings that automatically include the newest DLL (if that is even possible).

Thanks for the sleuthing! Not sure why the old DLL is missing the function, at least it's an easy fix!
Can you PR the finalise change? I'm also happy to have it in a Nuget package, just wondering how that works given that currently FastNoise2 only supports x86. Does Nuget even allow downloading random binaries?

I've mostly changed the structure of your code, moved everything to seperate files etc so not sure if you're happy with that but you can check the PR then :)
I'm busy for the next few days so that could probably take about a week until PR, especially because I have never done NuGet  packages so far so I'll have to do some reseach aswell.
At the very least you can ship DLLs with NuGet packages but I'll check that once I'm available again.
If any questions in that regard occur, do you prefer communication via Discord or rather keep it in this issue thread?

We can chat on discord, I've resolved this issue by pushing the new FastNoise.dll into the repo. Looking at the old DLL with Dependency Walker fnDeleteNodeRef is indeed missing.


Temporary private forks, made for GitHub Security Advisories, should have their naming convention/format documented

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?

Published page: https://docs.github.com/en/code-security/security-advisories/repository-security-advisories/collaborating-in-a-temporary-private-fork-to-resolve-a-repository-security-vulnerability
Source: https://github.com/github/docs/blob/main/content/code-security/security-advisories/repository-security-advisories/collaborating-in-a-temporary-private-fork-to-resolve-a-repository-security-vulnerability.md

What part(s) of the article would you like to see updated?
Section needing update:

https://docs.github.com/en/code-security/security-advisories/repository-security-advisories/collaborating-in-a-temporary-private-fork-to-resolve-a-repository-security-vulnerability#creating-a-temporary-private-fork

The last part of the section:

A private fork of the repository is created and shown on the advisory page.

What isn't stated here is the naming convention of the temporary, private repositories that get created. The screenshots that follow do show the naming format, as examples, but the convention itself should be included somewhere in the documentation itself.
The standard naming convention is done as so, from what I can tell, whenever you click the Start a temporary private fork button:

<repo>-<ghsa-draft-security-advisory-id>
Example:

GitHub Security Advisory (GHSA) draft: GHSA-1a2b-cd23-efgh
Draft advisory for the following repo: my-repo
Temp, private repo name: my-repo-ghsa-1a2b-cd23-efgh

Additional information
Other than docs, I think a feature request should be opened for the API of a repository to state whether it is a temporary fork / GHSA-related repository. Otherwise, you have to retrieve this information by querying:

for draft security advisories
whether a repo is a fork and private
what the name of the parent repository is
check the repo name for a pattern that matches a security advisory

All in order to see whether it is, for certain, a GHSA-related temp fork.

@ScriptAutomate Thanks for opening an issue! I'll get this triaged for review ✨
As for your feature request, please leave your feedback here 👍

Love this idea, thank you Docs team for thinking so proactively.

Hey @ScriptAutomate 👋🏻 - thanks for identifying this omission in our docs ✨
In addition to the information you provided in the description of this issue, I got further details from the team at GitHub. As a result, I am going to close this issue, and open a similar one in our internal repo so that we can document this ourselves and provide as much information to users as we can.
Thanks again, and thank you for your understanding 😃


not working in Chrome Version 70.0.3538.77 (Official Build) (64-bit)

see some js error in inspect, can u plz fix it?
many thx.

We have fixed this issue can you please reinstall the latest version and check again.


Proposal: Remove Meta {}, merge into Aggregate {}

The GQL APIs for Meta and Aggregate are extremely similar. For example:
Meta
{
  Meta {
    Things {
      City {
        population {
          maximum
          count
          minimum
          sum
        }
    }
  }
}

Aggregate
{
  Aggregate {
    Things {
      City(groupBy: ["name"]) {
        population {
          maximum
          count
          minimum
          sum
        }
      }
    }
  }
}

How do they differ?

Meta take the entire dataset, Aggregate groups (currently mandatory)
Meta can show topOccurences for strings, Aggregate can only show count

Proposal to not lose functionality, but simplify API

Add topOccurrences to Aggregate string props
When groupBy is set Aggregate behaves as it does now, when it is not set it behaves like Meta currently does
Completely remove Meta as all use cases can now be solved through Aggregate

That makes sense. Besides the "less is more" approach I'm agnostic about it.

@laura-ham Would love to hear your feedback on the above if you have a few minutes.

I agree that the functionality of Meta and Aggregate is similar, so I'm in for merging them. However, note that not only topOccurrences should be added to Aggregate, but also things like percentageTrue etc for boolean values, as you can see here https://github.com/semi-technologies/weaviate/blob/master/docs/en/use/graphql_local.md#meta-function.

Great point, thanks. I've added it to the above proposal.


Grey out dates on Custom deferral

Right now, if you try to pick a date after the deadline, it just auto-selects the deadline date. From a UI perspective, this is a little bit of "false hope".
All dates past the deadline should just be greyed out as not selectable.

I can't find an open GitHub Issue about this, but I'm pretty sure this is a known limitation of Swift UI that has been discussed before.

Yes. This is a known issue with SwiftUI framework. Nothing I can do on macOS to fix this.


Add generated JCEKS keystores to test cases folder

Currently the test cases regenerate the JCEKS key stores every time they run, but require a working Maven installation to do so. As discussed in PR #10, the ability to correctly parse any given keystore file should be independent of how the host machine we're running on generates them.
For that reason it makes sense to include generated keystores, adding to the collection as we come across ones that are problematic in one way or another. It also has the advantage of not requiring a maven installation just to run the test cases, only to produce new ones.

Thanks, this is great.


Include binaries in release

We should make a release 0.1.0 and/or 0.1.1.
In the release(s) we should provide built binaries for common target architectures.
This way we can enable developers without cargo to run the CLI. Currently they need cargo.
Open to ideas and since I'm new to rust, I could definitely be off base. @KovacicAi
Q: Do you think this should come first or publishing to crates.io first?

Thanks @KovacicAi for adding linux and windows binaries! We haven't automated this yet but very happy to get binaries out there for people who want to try out the client https://github.com/8451/arrow-flight-cli/releases/tag/v0.1.0


Conflict between Stack and Reg uses of the same vreg

Two uses of the same vreg on the same instruction causes an assertion failure if one of them is Stack and the other is Reg or FixedReg since it results in a minimal bundle that cannot be split.
We already handle the case of multiple conflicting FixedReg constraints, should we extend this to also cover the case of Stack/Reg conflicts?

This was not caught by the fuzzer because it never generates OperandConstraint::Stack.

Hmm, yes, right now specifying both is sort of a "user error", which is why the fuzzer doesn't generate that case.
I had created the Stack constraint basically with GC/stackmaps in mind, and the current design suits that, but I agree that making Stack more general (for explicit stack slots) means that we should probably support the multi-constraint case.
I'm happy to review a patch that does something like what we do for multi-fixed-regs, as you suggest; perhaps we can just rename the mechanism to "multi-constraints" or somesuch?


Touch does not work correctly on mobile phones.

Issue description:  Thanks for your work. Bug: Touch it does not work. When svaype in the x-axis, the y-axis twitches.
Demo link/slider setting:   http://ganlanyuan.github.io/tiny-slider/tests/index.html
Tiny-slider version:   v2 of November 25
Browser name && version:  Mobile browsers in most firefox
OS name && version:   Android

Thanks @xserber , will check this soon

Hey, may I know which demo the issue is related?

@ganlanyuan
'Rewind' in firefox well shows me

Hey, "rewind" works fine for me.
Is there any error in the console?
-------- Original Message --------
On Dec 1, 2017, 10:30 PM, xserber wrote:

@ganlanyuan
'Rewind' in firefox well shows me
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I have the same issues on touch devices.
Swiping doesn't work properly by swiping - it is very slowly, sometimes items aren't scrolled at all

I'm also having problems with swiping on touch devices. Nav and dots seem to work, but when I swipe it doesn't work (also does not lazy load images, or update dots/active state). Tested on IOS11 / iPhone6 / Safari. Please have a look at it asap.

I have the same problem on Chrome 66 on Android, swiping is only working intermittently. Also happens in Chrome 66 + Chrome Canary 68 in mobile device mode using the developer tools.

Did you set swipeAngle: false?
Default value is 15, which means the swipe will not fire if the angle is bigger than 15deg.

I'm experiencing the same issue on iOS devices even with swipeAngle: false. I'm able to continue vertical scroll even in the midst of a horizontal swipe.
The expected behavior is to 'freeze' or ignore vertical page scrolling while swiping horizontally through the slides. You can see this expected behavior on the Slick demo site: http://kenwheeler.github.io/slick/#demos (no vertical scroll while swiping inside the slider)

I'm also experiencing the same issue on especially on iOS devices and slightly on Firefox@Android.
When swiping horizontally you'll have to do it perfectly. Swiping even at a slight angle will trigger the vertical scroll and causes the screen to "bungee" around.
We tried locking the scroll while swiping, but that could cause an issue if the slider covers the whole screen since the user would not be able to scroll down past the slider.

To add some additional clarity around this issue here's a breakdown of a reproduction of the issue:
With a swipeAngle of 30 I'm seeing this issue with a normal one image slider with all the other options mostly using the defaults.
tns({
  container: '#slider',
  controls: false,
  items: 1,
  loop: false,
  mouseDrag: true,
  nav: false,
  slideBy: 1,
  swipeAngle: 30,
});

Full Source: https://codepen.io/seriouslysean/pen/RqPRov
Demo Only: https://codepen.io/seriouslysean/full/RqPRov/
When you swipe the image within the swipe angle, the scroll triggers vertically (and horizontally from the swipe) so it feels very rubbery.

Right now tiny-slider doesn't prevent scrolling when swipe, but I will consider add this function in the near future.


header: Implement ExtendedHeaderService

Implement an ExtendedHeaderService in package header:

[x] type ExtendedHeader
[x] Constructor function for ExtendedHeaderService
[x] Start
[x] Stop
[x] #172
[x] ExtendedHeaderVerification -- triggers a Sampling process for the given header (light node only)
[x] #164
[x] #150
[x] #202

Closing, as all components of HeaderService have been completed (and we will add more in the next testnet iteration) 🚀


string_to_table fails with Postgres < 14

asyncpg.exceptions.UndefinedFunctionError: function string_to_table(text, unknown) does not exist
HINT:  No function matches the given name and argument types. You might need to add explicit type casts.

https://github.com/developmentseed/tipg/blob/main/tipg/sql/dbcatalog.sql#L131-L139
Result of running uvicorn tipg.main:app

string_to_table was added in postgres 14 😓 (https://pgpedia.info/s/string_to_table.html)
cc @bitner


Transactions and relationship entities mapping problems with Neo4j OGM

Versions used: spring-data-neo4j 4.2.0-BUILD-SNAPSHOT / neo4j-ogm 2.0.6-SNAPSHOT
I'm having problems to correctly fetch relationship entities in my tests.
The following fetch calls don't return consistent results (executed in the same transaction):

session.query("MATCH (:A)-[b:HAS_B]-(:C) RETURN count(b) as count") returns 1
session.query(B.class, "MATCH (:A)-[b:HAS_B]-(:C) RETURN b") returns null

Important remarks:

The problem is random, it is not happening every time :-|
When all operations (create, fetch) are done in the same transaction, it seems to be fine.

I have been able to implement a workaround by using session.query(String, Map) to query the relationship entity and map it by myself into my POJO.
See here for details and code:
http://stackoverflow.com/questions/39848008/transactions-and-relationship-entities-mapping-problems-with-neo4j-ogm

@tigrou83 I've answered your issue on SO.

@tigrou83 Did that SO answer help you? Also cross reference this SO answer: http://stackoverflow.com/a/39911019/2271422. If you still have any issues please reopen the bug, otherwise it would be great if you could accept the answer on SO for others looking with similar issues.

@mangrish Sorry but it still doesn't help me. As I've commented on SO:

Sorry but I don't understand why my test setup is wrong. Let me explain myself. My goal is to test a REST API on my SDN application. Each time a REST call is done, a new session/transaction will be created. The setup I've shown in SO is a simplification of this setup, where
MyBean takes the role of my REST API implementation. I don't want my test to be transactional. I want that each call from my test to the MyBean class creates a new session/transaction. And you seem to be certain that my transactions are rollbacking, but it is not true. My test is not transactional, only my spring bean is. So the transactions are committed, the proof is that I can fetch the data created in a transaction from another transaction. You seem to be forgetting the main point, which is that I'm able to fetch data from Neo4j using session.query(String, Map), which is returning a RelationshipModel object with correct data inside. What is not working is the same query using session.query(Class, String, Map) which is returning null.
That's the proof that the data is actually in the database but is not correctly mapped/returned into my POJO. If you still think my test setup is wrong, please explain me how I'm supposed to implement a test with multiple transactions, otherwise that how I've done it.


Fix gem so that it can be required normally (without require_relative), and update folder structure to match name spacing.

Move metascan.rb inside of lib directory
Movedother classes inside of lib/metascan directory
Update gemspec, require_relative paths, and scan example

Much more sensible layout, thanks :)


Remove experimental_ prefix from boxShadow and filter

The prefix has been fully removed from react-native so now fully removing it from RSD

This can be merged once RN 0.76 is out with support for the unprefixed properties.

First RC for this released today


Ingredients editor not appearing in datatype list

Hi,
I think there is a step missing in the Angular workbook. I have completed the third exercise and am now stuck. I have the package manifest for glasses in the "first" folder and all the other glass files in "glass" folder. These work very well. I created a new folder, called "ingredient" and four new files, including a new package manifest. The trouble is, the new "ingredient editor" just isn't appearing in the datatype dropdown, so I can't select it. I can't help feeling this is somethign to do with the package manifest. Surely I only need one? I include my app_plugins folder.
App_Plugins.zip

Never mind. I still have no idea what went wrong but I copied the files from the help and it worked. Strange. I had read every comma (I thought).


fix nix-env evaluation

nix-env picked up default.nix, which contained our hardware profiles.
This is not only cpu-intensive to evaluate but also fails because
it does some import-from-derivation.
By moving default.nix to release.nix it should be no longer loaded

fixes https://github.com/NixOS/nixos-hardware/issues/90


Translate heading and subheading of setup/independent/kubelet-integration/ in Japanese

This is a...

[x]  Feature Request
[ ]  Bug Report

Problem:
No heading and subheading of setup/independent/kubelet-integration/ in Japanese.
Proposed Solution:
Translate heading and subheading of setup/independent/kubelet-integration/ in Japanese.
Copy from en content and Update content/ja/docs/setup/independent/kubelet-integration.md.
Page to Update:
https://kubernetes.io/ja/setup/independent/kubelet-integration/

/remove-lifecycle stale

/assign

/close


-stub flag

Added a -stub flag that removes the panic behavior if an unset call is made.  With this flag, unset methods return zero values instead.  For the function signature:
Four(string, bool, int) (string, error)

The generated code without -stub (ie. with the current version of Moq) is:
// Four calls FourFunc.
func (mock *MyInterfaceMock) Four(in1 string, in2 bool, in3 int) (string, error) {
	if mock.FourFunc == nil {
		panic("moq: MyInterfaceMock.FourFunc is nil but MyInterface.Four was just called")
	}
	callInfo := struct {
		In1 string
		In2 bool
		In3 int
	}{
		In1: in1,
		In2: in2,
		In3: in3,
	}
	lockMyInterfaceMockFour.Lock()
	mock.calls.Four = append(mock.calls.Four, callInfo)
	lockMyInterfaceMockFour.Unlock()
	return mock.FourFunc(in1, in2, in3)
}

With the -stub flag in this PR, the generated code is:
// Four calls FourFunc.
func (mock *MyInterfaceMock) Four(in1 string, in2 bool, in3 int) (_r0 string, _r1 error) {
	if mock.FourFunc != nil {
		callInfo := struct {
			In1 string
			In2 bool
			In3 int
		}{
			In1: in1,
			In2: in2,
			In3: in3,
		}
		lockMyInterfaceMockFour.Lock()
		mock.calls.Four = append(mock.calls.Four, callInfo)
		lockMyInterfaceMockFour.Unlock()
		_r0, _r1 = mock.FourFunc(in1, in2, in3)
	}
	return
}

The -stub generate code will return the default zero values for all return types if the function field in the mock struct is unset, rather than panicking.  This is defined as a command line flag (that is off by default) to avoid changing the generator's behavior for existing user.  Fixes #36.
Note to reviewers: I made a duplicate of the template variable to avoid cluttering the existing template.  The only lines that I changed in the duplicated template string are line numbers 157-178 in the diff.  All other lines are identical to the existing template string.

Could we adjust the _r* variables to out1, out2, and out3 etc?

Sure, that seems reasonable given the names of the input arguments.  Tbh, I don't even remember why I used the _r# style.  I'll try to remember to handle it on monday and get a new commit pushed.

thanks @kaedys

Updated.  New output:
// Four calls FourFunc.
func (mock *MyInterfaceMock) Four(in1 string, in2 bool, in3 int) (out1 string, out2 error) {
	if mock.FourFunc != nil {
		callInfo := struct {
			In1 string
			In2 bool
			In3 int
		}{
			In1: in1,
			In2: in2,
			In3: in3,
		}
		lockMyInterfaceMockFour.Lock()
		mock.calls.Four = append(mock.calls.Four, callInfo)
		lockMyInterfaceMockFour.Unlock()
		out1, out2 = mock.FourFunc(in1, in2, in3)
	}
	return
}

good shout, perhaps if the non-panicing behavior is desired for “just tracking” we can/should support that with a different  flag without feature creeping this PR

On Apr 13, 2018, at 23:23, Kaedys<EMAIL_ADDRESS>wrote:
The nil check is the entire point of this. Current behavior is that if the function field is nil when the function is called, the mock panics (which happened because it would panic anyway when you tried to call the nil function, and a specific and verbose panic is more obvious). The change in this PR is that, if you generate the code with the -stub flag, you are specifically asking for the behavior where calls to unset fields are functionally equivalent to those fields being set to trivial no-op returns, except without you having to manually set every field to said trivial no-ops.
If you want to track calls to a function, then set a function that tracks those calls. This PR is designed for people that don't care whether a particular method is called or not (unless they set something to the field that specifically checks if it was called), and just want to avoid all of the boilerplate setting trivial no-op functions to all of those fields just so their tests don't panic when calling functions that they don't care about.
A good example of this would be, for example, the io.Writer interface. If you don't check the integer argument returned by Write(), and you're testing some other part of the code that requires that Write call to return a nil error, then returning the default values (0 and nil, respectively) for those arguments is the desired behavior. Currently, that requires you to write something like this:
mockWriter.WriteFunc = func(_ []byte) (int, error) {
return 0, nil
}
For this interface, that's pretty trivial, though it's still functionally useless code just to get around the existing panic behavior. But if the type you're mocking has, say, 30 methods, and the current test only need non-default return values for 1 of them, then you have to write up to 29 trivial boilerplate function literals just to avoid the panics.
This PR is designed to side step that behavior as an option. It is not designed around the case where you want to track function calls, any more than the existing case is designed to handle tracking function calls, you have to do that yourself if you want that behavior. This PR is purely about optionally avoiding excessive boilerplated function definitions when your tests don't require non-default return values from the functions.
As I've stated previously in this PR, this is most useful for methods that only return an error, because most of the tests of code utilizing the mocked interface will want the default nil return value for that, with only the test (or couple tests) specifically testing that method call itself and the behavior when it returns a non-nil error requiring a non-default return value. And this is an extremely common signature for methods, and therefore a highly common use case.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Sure, I can look at doing that when I have some bandwidth. Currently under a bit of a crunch, though, so it might be a fewish days.

@kaedys  It would be really cool if you could get this PR merged! Thanks!


docker inspect cannot fetch IP information

export DOCKER_HOST=<IP_ADDRESS>:2377
docker run -e CALICO_IP=auto -td ubuntu

Docker inspect output:
   "NetworkSettings": {
        "Bridge": "",
        "Gateway": "",
        "GlobalIPv6Address": "",
        "GlobalIPv6PrefixLen": 0,
        "IPAddress": "",
        "IPPrefixLen": 0,
        "IPv6Gateway": "",
        "LinkLocalIPv6Address": "",
        "LinkLocalIPv6PrefixLen": 0,
        "MacAddress": "",
        "PortMapping": null,
        "Ports": null
    },

Likely won't fix until we move away from powerstrip. This should be in time for the Docker 1.7 release Due in June.

@tomdee So is there anyway i can patch powerstrip myself to get the IP Address? Such as Add a hook for the Get request? Does powerstrip support this?

@frostynova I wrote some code to handle docker inspect calls as part of an experimental branch, you could take a look at that:
https://github.com/Symmetric/calico-docker/commits/kubernetes-powerstrip
The main commit I think you'll need to cherry-pick is https://github.com/Symmetric/calico-docker/commit/e1f9a8cef2a5ea305fa1ed98432a54dc91a3b45d.
We'd happily accept a PR for this, so let us know how you get on.

The latest master now has a fix for this, based on the branch that @Symmetric mentioned above.


Optimized website load time

Pull Request Checklist
Description: Enhanced website performance by preloading critical external stylesheets with deferred loading for non-essential styles. Consolidated duplicate Font Awesome versions and reduced redundant requests by combining local CSS files. Improved page load speed and resource efficiency without compromising functionality.
Fixes #1605

[X] I have added screenshots and videos to show before and after the working of my code.
[X] I have ensured that the screen size is set to 100% while making the video.
[X] I have synced the latest fork with my local repository and resolved any conflicts.
[X] I have mentioned the issue number which I created before making this PR .(format to mention issue number is : fixes #(issue number) )
[X] I understand that if any the above conditions are not met , my PR will not be MERGED .

https://github.com/user-attachments/assets/b702ee6f-1ffc-4c94-a107-24ba59e935ad

@hiteashgupta1 is it ok now?