Login Attempts object are duplicated

Hi,
I've recently encountered an issue where every time a user tries to login (regardless of success or failure), 2 LoginAttempt objects are created virtually at the same time.
I have tested it on a clean SilverStripe install with the MFA module installed (no extra config), with and with the TOPT module,
and get consistent duplication of the LoginAttempt.
This is causing an issue when a user has been locked out of the system for 15 minutes because of too many failed attempts.
I spent a few hours trying to pin point what could be the root cause, without success.
As far as I can tell, the LoginAttempt are created as part of the Authenticate method on the SilverStripe\Security\Authenticator class. I can't seem to find any instance where this method would be called twice or independently.
Perhaps someone else has experienced the same issue (you wouldn't know until looking in the DB really).
Thanks.
Alex

Do you have any custom code that might be calling Member::registerFailedLogin? This module works by subbing out the member authenticator from core, and we only call this method once:
https://github.com/silverstripe/silverstripe-mfa/blob/c8e1004a63de168af70e7c808c335bb8560ffd5a/src/Authenticator/LoginHandler.php#L402

HI, no I don't have any custom code as I have been re-testing on a clean install.
I've tracked it down to the doLogin method:
If MFA is step is not being displayed because not active or user has skipped, the parent::doLogin method is called.
However, this doLogin calls for checkLogin which will create a LoginAttempt, and so does the parent::doLogin.
https://github.com/silverstripe/silverstripe-mfa/blob/2bd2a807c8dfb1a02163ee098f3a0992bab15520/src/Authenticator/LoginHandler.php#L86-L99

Hey @alex-dna, a little late to this one but I think you're seeing the following issue surface: https://github.com/silverstripe/silverstripe-framework/issues/9474
As a workaround you might want to look at extending the rate limits on your project: https://docs.silverstripe.org/en/4/developer_guides/security/rate_limiting/#rate-limiting.

This doesn't look to be anything to do with rate limiting; but I'm not entirely following why the parent doLogin is called twice

SilverStripe\Security\MemberAuthenticator\MemberAuthenticator::authenticateMember is called by SilverStripe\Security\MemberAuthenticator\MemberAuthenticator::authenticate which is called by SilverStripe\Security\MemberAuthenticator\LoginHandler::checkLogin
When SilverStripe\MFA\Authenticator\LoginHandler::doLogin is called, the checkLogin is called first to find a member, creating a LoginAttempt. If no member is found, then parent::doLogin which is essentially SilverStripe\Security\MemberAuthenticator\LoginHandler::doLogin is called, calling checkLogin again, creating the duplicate LoginAttempt

I'm seeing this as well. The workaround is to double the lock_out_after_incorrect_logins config value.
The failed login user/pass handling before any MFA action occurs is:

MFA LoginHandler doLogin called
calls parent::checkLogin
Attempts to authenticate the member, fails (records a failed login attempt)
MFA LoginHandler calls parent::doLogin
checkLogin hit
Attempts to authenticate the member, fails (records a failed login attempt)
2x failed Login attempts recorded

If the initial checkLogin attempt fails @ https://github.com/silverstripe/silverstripe-mfa/blob/4/src/Authenticator/LoginHandler.php#L90 it should fail immediately & record 1 failed login attempt. Looks like checking the result of the first checkLogin and shouldRedirectToMFA should be separated.
Cheers
James

Spotted this on a new site, so just confirming this is still an issue in SS5


In-Godot Compilation of Source Models into VMFB

Is your feature request related to a problem? Please describe.
The current method of compiling source models like TensorFlow Lite into VMFB in the IREE.GD project involves an external Python script, which is awkward and interrupts the workflow within Godot.
Describe the solution you'd like
I propose the integration of a feature that allows for the direct compilation of source models into VMFB within the Godot environment itself. This would make the process more streamlined and user-friendly, enhancing the overall usability of the Godot game engine.
Describe alternatives you've considered
An alternative could be to continue using the current method, but this may not provide the same level of ease-of-use that in-Godot compilation could offer.
Additional context
This feature request comes from a desire to improve the user experience of the IREE.GD project by simplifying the process of compiling source models into VMFB within the Godot game engine.

Moved to iree.gd project.


[Minor] Formatting bug of manpage

Hi. Debian maintainer here. I'm just forwarding the bug that I received at:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878280#5

Blanks injected into filename even though same line:
  --ignore-config
         Do  not read configuration files.  When given in the global con-
         figuration file /etc/youtube-dl.conf: Do not read the user  con-
         figuration     in    ~/.config/youtube-    dl/config    (%APPDA-
         TA%/youtube-dl/config.txt on Windows)

And actually I would also mention those files in an additional section, FILES.

Thanks,
Rogério.

Most likely a pandoc issue/misconfiguration.

OK, I will try to see under what conditions the bug manifests itself. Thanks.


Remove Havege module.

Resolves #4079.
Release 3.0 will not include Havege module anymore. More details: https://lists.trustedfirmware.org/pipermail/mbed-tls/2020-April/000025.html
Status
READY

Regarding the CI results: the short description says: Failures: all_sh-ubuntu-16.04-check_files - this is something you should be able to reproduce locally by running tests/scripts/all.sh check_files, which will give you the necessary details to fix.


Cleanup after model is deleted

Fixes #12

@lex0r can you test if this resolves the issue?

How does this handle the parent record being soft deleted?

It doesn't... I'll apply conditionally ij afterModelDelete() then.

@LukeTowers that should address the softdelete concern.

Is there a way that we can support deleting the data when a softdeleted record is permanently deleted?

Just waiting on @lex0r to test and confirm and this should be good to merge.
Thanks @mjauvin, great job!

@lex0r it would really be appreciated if you could test this in your environment so we can get this merged.
Thanks!

Hi @mjauvin
Sorry for the delay, it works for me and thanks for the fix!


When delivery-cluster uses artifactory it fails

Trying to use artifactory to install delivery we got now this:
    ================================================================================
    Error executing action `converge` on resource 'machine[delivery-server-aws]'
    ================================================================================

    NoMethodError
    -------------
    undefined method `uri' for nil:NilClass

    Cookbook Trace:
    ---------------
    /Users/salimafiune/github/delivery-cluster/.chef/local-mode-cache/cache/cookbooks/delivery-cluster/libraries/artifactory_helper.rb:90:in `get_delivery_artifact'
    /Users/salimafiune/github/delivery-cluster/.chef/local-mode-cache/cache/cookbooks/delivery-cluster/libraries/_helper.rb:352:in `delivery_artifact'
    /Users/salimafiune/github/delivery-cluster/.chef/local-mode-cache/cache/cookbooks/delivery-cluster/libraries/_helper.rb:303:in `delivery_server_attributes'
    /Users/salimafiune/github/delivery-cluster/.chef/local-mode-cache/cache/cookbooks/delivery-cluster/recipes/setup_delivery.rb:110:in `block (2 levels) in from_file'

    Resource Declaration:
    ---------------------
    # In /Users/salimafiune/github/delivery-cluster/.chef/local-mode-cache/cache/cookbooks/delivery-cluster/recipes/setup_delivery.rb

    102: machine delivery_server_hostname do
    103:   chef_server lazy { chef_server_config }
    104:   recipe 'delivery-cluster::delivery'
    105:   files(
    106:     '/etc/delivery/delivery.pem' => "#{cluster_data_dir}/delivery.pem",
    107:     '/etc/delivery/builder_key' => "#{cluster_data_dir}/builder_key",
    108:     '/etc/delivery/builder_key.pub' => "#{cluster_data_dir}/builder_key.pub"
    109:   )
    110:   attributes lazy { delivery_server_attributes }
    111:   converge true
    112:   action :converge
    113: end
    114:

Debugging I have discovered that the version has weird characters:
[14] pry(#<Chef::Resource::Machine>)> deliv_version="0.3.41+"
=> "0.3.41+"

Is this because of the way the version string is being split on this line:
https://github.com/opscode-cookbooks/delivery-cluster/blob/master/libraries/artifactory_helper.rb#L91

@alexmanly nope, it is because the way the artifactory search works....
[2] pry(#<Chef::Resource::Machine>)> client.artifact_latest_version(
[2] pry(#<Chef::Resource::Machine>)*   repos: artifactory_omnibus_repo,
[2] pry(#<Chef::Resource::Machine>)*   group: 'com.getchef',
[2] pry(#<Chef::Resource::Machine>)*   name: 'delivery',
[2] pry(#<Chef::Resource::Machine>)*   version: version == 'latest' ? '*' : version
[2] pry(#<Chef::Resource::Machine>)* )
=> "0.3.41+"

Fixed with https://github.com/opscode-cookbooks/delivery-cluster/pull/104


Way to reset the form to pristine ?

Version
Tell us which versions you are using:
tcomb-form v0.7.5
react v^0.14.2
I would like to reset the form back to pristine condition. This is because when I just reset values, there is the possibilty of an error displaying. For example, a text input might have the initial value of null or an empty string. A user enters text. An error displays. The user hits 'cancel' or whatever. The form is set with the original values, however, the error 'You must enter at least one char' is an error we have. So then I am unable to set to a pristine condition.
Tell us what should happen
So then I am unable to set to a pristine condition. So that no errors are shown.
Tell us what happens instead
See above ^
My solution has been to change the key on the form. Changing this prop resets to pristine condition (no errors). However a colleague feels that in react, the key should only be used for items in a list.
Thanks in Advance.

Same problem here. resetting back to defaultvalues or null still triggers validation and errors are shown.


Timeline says both "You" and my full name

Can/should the git provider you "You" if the active git name/email matches?

Alternatively, for now, I can remove the You from uncommitted and staged changes -- since it doesn't really offer any value,


qc/norm process reporting errors in my own idat dataset

Hi, I am encountering the following reported error while preprocessing my own methylated idat data using the following command line. Can you please help me to check what is the reason for this error.
Both '-u' and '-qc' work correctly on the example dataset, while only '-qc' works on my dataset and '-u' produces the following error.
errored commend line:
pymethyl-preprocess preprocess_pipeline -i ADNI_iDAT_files/ -p minfi -noob -u
The idat file is from the methylation raw data from ADNI, And i have checked the correctness of the samplesheet.csv file format.
/usr/local/lib/python3.6/dist-packages/rpy2/rinterface/__init__.py:146: RRuntimeWarning: Loading required package: IlluminaHumanMethylationEPICmanifest

  warnings.warn(x, RRuntimeWarning)
/usr/local/lib/python3.6/dist-packages/rpy2/rinterface/__init__.py:146: RRuntimeWarning: Error in ctrl_g[cc$Address, ] : incorrect number of dimensions

  warnings.warn(x, RRuntimeWarning)
/usr/local/lib/python3.6/dist-packages/rpy2/rinterface/__init__.py:146: RRuntimeWarning: In addition:
  warnings.warn(x, RRuntimeWarning)
/usr/local/lib/python3.6/dist-packages/rpy2/rinterface/__init__.py:146: RRuntimeWarning: There were 25 warnings (use warnings() to see them)
  warnings.warn(x, RRuntimeWarning)
/usr/local/lib/python3.6/dist-packages/rpy2/rinterface/__init__.py:146: RRuntimeWarning:

  warnings.warn(x, RRuntimeWarning)
Traceback (most recent call last):
  File "/usr/local/bin/pymethyl-preprocess", line 10, in <module>
    sys.exit(preprocess())
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/pymethylprocess/preprocess.py", line 282, in preprocess_pipeline
    preprocesser.preprocess_enmix_pipeline(n_cores=n_cores, pipeline=pipeline, noob=noob_norm, use_cache=use_cache, qc_only=qc_only)
  File "/usr/local/lib/python3.6/dist-packages/pymethylprocess/PreProcessDataTypes.py", line 606, in preprocess_enmix_pipeline
    self.preprocessRAW()
  File "/usr/local/lib/python3.6/dist-packages/pymethylprocess/PreProcessDataTypes.py", line 359, in preprocessRAW
    self.qcinfo = self.enmix.QCinfo(self.RGset, detPthre=1e-7)
  File "/usr/local/lib/python3.6/dist-packages/rpy2/robjects/functions.py", line 178, in __call__
    return super(SignatureTranslatedFunction, self).__call__(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/rpy2/robjects/functions.py", line 106, in __call__
    res = super(Function, self).__call__(*new_args, **new_kwargs)
rpy2.rinterface.RRuntimeError: Error in ctrl_g[cc$Address, ] : incorrect number of dimensions

OH, I've solved only the problem.
I think because of my carelessness I overlooked the phrase "Which loads the saved QC/RGSet(s) via the -u option." in the documentation.
This meant that I had to generate the RGSet file with -qc before I could do the full step with -u.
Anyway, thanks for making PyMethyProcess such a handy and effective tool!


trigger PR test

Description
Just testing docs build status. Ignore

Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

Deploy preview for calico ready!
Built with commit 05c071b8ebfe99ea450e9aadae87cd3f850b8cf8
https://deploy-preview-3089--calico.netlify.com


Optimize replace new lines for LineFormatter

After profile code with XHProf, i find a many uses for LineFormatter::replaceNewLines. After replace calls strtr to str_replace, called time is halved.
With use strtr: http://prntscr.com/6tycs1
With use str_replace: http://prntscr.com/6tycw8
Script:
$replaceTime = 0;
$trTime = 0;

$line = "This is a testing line for benchmarking:\nstrtr vs str_replace\r\nSecond line\nThird line";

for ($i = 0; $i < 10000; $i++) {
    $time = microtime(true);
    $newLine = str_replace(["\r\n", "\n"], '', $line);
    $replaceTime += microtime(true) - $time;

    $time = microtime(true);
    $newLine = strtr($line, ["\r\n" => ' ', "\n" => ' ']);
    $trTime += microtime(true) - $time;
}

print sprintf(
    "Replace: %f\nStrtr: %s\n",
    $replaceTime,
    $trTime
);

Thank.

Interesting, this used to be the other way around I think, but anyway the benchmark checks out so let's do this. Thanks

If I recall correctly, strtr() is faster only for 1 to 1 character replacements. The "3 arguments" mode, doing single-byte replacements.


Not working

# trying code;
from requests_tor import RequestsTor

rt = RequestsTor()

rt.check_ip()

Error ->
Traceback (most recent call last):
  File "C:\Users\deniz\AppData\Local\Programs\Python\Python310\lib\site-packages\socks.py", line 787, in connect
    super(socksocket, self).connect(proxy_addr)
ConnectionRefusedError: [WinError 10061] The connection could not be established because the target machine actively refused.

Please help.

https://github.com/deedy5/requests_tor#dependencies
Download and start Tor Browser or install Tor

I already downloaded tor

# If you use the Tor browser
rt = RequestsTor()
OR
# If you use the Tor
rt = RequestsTor(tor_ports=(9050,), tor_cport=9051)


[WIP] Feature/gambit broadcast relay

Work in progress

Closed in favor of splitting work into smaller chunks.


Unexpected "cannot assign to property: 'self' is immutable" error in extension of AnyObject-constrained protocol

Description
Mutating method on extension of AnyObject-constrained protocol results in unexpected "cannot assign to property: 'self' is immutable" error.
Steps to reproduce
Attempt to build the following code in Swift 5.7 (playground):
class MyClass: MyProtocol {
  var property: String = ""
}

protocol ProtocolSettable {
  var property: String { get set }
}

protocol MyProtocol: AnyObject, ProtocolSettable {

}

extension MyProtocol {
  func updateProperty() {
    // 🛑 "cannot assign to property: 'self' is immutable"
    property = "test"
  }
}

It fails to compile with this error:
/main.swift:15:5: error: cannot assign to property: 'self' is immutable
    property = "test"

Expected behavior
Since MyProtocol is guaranteed to be a class, I expect this to compile.

This is indeed a bug, interesting that protocol ProtocolSettable: AnyObject (we can even remove AnyObject ) makes it works. My guess is that is assuming ProtocolSettable as base for property.
Simplified a bit
protocol P {
  var a: String { get set }
}
protocol P1: P {}

extension P {
  func mut() {
    a = "test" // error: cannot assign to property: 'self' is immutable
  }
}

@LucianoPAlmeida I think the compiler is correct to complain about your example. The setter of a protocol requirement is considered mutating by default.

I agree this error makes no sense for a class-constrained Self though.

@LucianoPAlmeida I think the compiler is correct to complain about your example. As in the case of a struct, the setter of a protocol or protocol extension member is considered mutating by default.

Ah yeah, I simplified incorrectly. Just fixed

Has there been any movement on this? I just ran into it.

I don't think there was any movement here recently.
This would need a small swift evolution proposal, but implementation wise it's not much -- distributed actors actually do this in a sneaky way by omitting the check preventing normal language from doing this. So it would be quite nice to open up this ability in general.
See:

https://github.com/apple/swift/pull/38998 -- how distributed does this
https://forums.swift.org/t/allow-self-x-in-class-convenience-initializers/15924

Adding radar to track though rdar://82264746

Thanks! This really seems more like a bug than a feature since the reference does allow mutation.

add AnyObject in the protocol will fix the bug
After I add AnyObject it complied.
protocol ErrorHandling: AnyObject {
var errorMessage: String { get set }
var showError: Bool { get set }
func handleError(_ error: Error)
}
extension ErrorHandling {
func handleError(_ error: Error) {
if let error = error as? LocalizedError {
errorMessage = error.errorDescription ?? "An unexpected error occurred."
} else {
errorMessage = error.localizedDescription
}
showError = true
}
}

This behaves correctly. Consider the following implementation:
protocol P {
  init(x: Int)
  var property: Int { get set }
}

extension P {
  var property: Int {
    get { return 3 }
    set { self = Self(x: newValue) }
  }
}

protocol Q: P, AnyObject {}

class C: Q {
  let x: Int

  required init(x: Int) {
    self.x = x
  }
}

extension Q {
  func f() {
    self.property = 10
  }
}

let c = C(x: 0)
c.f() // this would actually replace `c` with a new instance, hence it's rejected
print(c.x) // this should print 10

If you want to avoid this, either make the base protocol AnyObject-constrained, or declare a nonmutating setter requirement:
var property: Int { get nonmutating set }

This will prevent the setter from being implemented by replacing self.
@ktoso If distributed actors relies on this, then it's incorrect. It should also use a nonmutating setter.


JsonPath queries: support * Wildcard

Jayway JsonPath library is a Java DSL for reading JSON documents.
Contains operators/filters to "query" JSON documents.
https://github.com/json-path/JsonPath

Wildcard. Available anywhere a name or numeric are required.

For example:

$.store.book[*].author
The authors of all books

$.store.*
All things, both books and bicycles

Closing, we will support JsonPath queries in a single GitHub issue/PR.
#27


feat(lsp): fix goto local when local is mut

Closing as this is resolved now, to be re-opened when edge case resurface.


Speed LDA Comparison (pooled experiments) freezes

related to #49. Now this only happens when "pool all experiments" is not chosen.
est experiment: /home/skeshav/code/Analysis/data_files/2_Input_Files/Z3 - Multi Experiment Data Files/ALL-fixed-cells-final-Filtered.mdata
LDA parameters: min cell count=12; min trial count=14; comparison conditions=black, uniform, motordrifting solver=eigen; cell signal type=all cells, velocity bin: 5-10

There were a few issues here that have been found and resolved. It should be noted that this function will take a long time to run, as there are a large number of experiments to be analysed. Therefore, this function should be analysed when the GUI is in Run mode (rather than Debug mode) as this will reduce the runtime of the function by about 50%.
In any case, this fix is now available on Subiculum.

questions relate to this:
1-what happens when there are experiments with 20-30 cells and others with 60-80 cells?
is the maximum number of pooled neurons based on the largest experiment? For instance, I can see that we have maximum of 50 in the drop-down.
2- Given for each experiment we are pooling neurons within that experiment and then this is done for multiple exp, there must be a range (rather than just one dot). This is the same as in pooled LDA where we can get the SEM or IQR but here we don't have it. We should see the error across experiments somehow.

To answer the questions above, there was no previous consideration given to separating non-pooled experiments (with regards to error range calculations). This is because the function was originally written to pool all experiments into 1 - hence no need for error bars.
Therefore, I have overhauled the function so that the when the function is run in non-pooling mode, the accuracy values are stored for each experiment. This allows the calculation of errors (which in this case is SEM). With regards to the first point raised above, the N-value (for the SEM calculations) is determined by the number of experiments that have >= the number of cells for a given plot point (i.e, for N(cell) = 1 all experiments will be included, but N(cell) = max(N(cell)) will only have experiments with the max number of cells - usually just 1 experiment).
An added feature to the function is that you now have the ability to either plot "Mean + SEM" or "Psychometric Curves" when analysing in non-pooling mode (only the Psychometric curves will be plotted when running the function in pooling mode). This can be achieved by altering the "Plot Type" plotting parameter.


Tainted data does not flow through a reflected class.

Bug
Bug description
Tainted data does not flow through a reflected class when reflectedmethod.invoke(Object, Object) is executed.
protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);

		try {
			TelephonyManager telephonyManager = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
			String imei = telephonyManager.getDeviceId(); //source

			Class c = Class.forName("de.ecspride.ReflectiveClass");
			Object o = c.newInstance();
			Method m = c.getMethod("setIme" + "i", String.class);
			m.invoke(o, imei);

			Method m2 = c.getMethod("getImei");
			String s = (String) m2.invoke(o);

			SmsManager sms = SmsManager.getDefault();
	        sms.sendTextMessage("+49 1234", null, s, null, null);   //sink, leak
		} catch (InstantiationException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (ClassNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (NoSuchMethodException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IllegalArgumentException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

Reproduction steps
The apk is from DroidBench
https://github.com/secure-software-engineering/DroidBench/blob/master/apk/Reflection/Reflection3.apk
Sink Model:
    {
      "find": "methods",
      "where": [
        {
          "constraint": "signature_match",
          "parent": "Landroid/telephony/SmsManager;",
          "name": "sendTextMessage"
        }
      ],
      "model": {
        "for_all_parameters": [
          {
            "variable": "idx",
            "where": [],
            "sinks": [
              {
                "kind": "TaintedSmsSink",
                "port": "Argument(idx)"
              }
            ]
          }
        ]
      },
      "verbosity": 2
    },

Source Model:
{
  "model_generators": [
    {
      "find": "methods",
      "where": [
        {
          "constraint": "signature_match",
          "parent": "Landroid/telephony/TelephonyManager;",
          "name": "getDeviceId"
        }
      ],
      "model": {
        "sources": [
          {
            "kind": "TaintedSource",
            "port": "Return"
          }
        ]
      },
      "verbosity": 2
    }
  ]
}

Logs
Log file with the logging for onCreate method.
log.txt

Mariana Trench won't resolve calls using reflection, since the name can be anything at runtime.
In this specific example, we could detect that the argument is always "setImei" and call the right method. We don't currently support that, since we haven't seen this used frequently.
If you want a work around, you could model Method.invoke to have a propagation from Arg(2) -> Arg(1), so imei taints o.


Optimizations

I was poking around in this project and ran a few optimizations.  Images have been optimized and a few edits to the CSS.  CSS edits are really just leaving units off of values of zero.

:+1:


Border line, seprator are not coming properly on Chrome browser

On Chrome browser, pdf is missing lines, dividers, separators etc...any idea what needs to be done?
Image has been attached for reference. Cant add pdf as its client data.
Any help wld be great for me to fix this?

We can see missing lines only after keep zooming....I need to fix this by code for 100%

Since there is no PDF file for us to test with, I'm closing this issue as a duplicate of #2722 based on the description.


Use jquery UI Spinner in serenity

Hi
I am working with a serenity form and a try to add a jQuery method "Spinner" y tried in two different ways but doesn't work
$("#Number").spinner();
this.form. Number.element.spinner({                 spin: function (event, ui) {                     alert(ui.value);                     }             });
in those case the answer is the same
TypeError: $(...).spinner is not a function
Thanks!

jQuery UI that is used contains a subset of widgets, it might not contain that spinner as we are using pace.js, in that case you should use the full jquery ui script, like jquery-ui-1.12.1.js not jquery-ui.js.


Problem calling "Call Service" twice in linked nodes

I'm not sure if this is a bug or not as I'm still pretty new here. If I have two 'Call Service' nodes linked together, only the first runs. In my case I'm trying to change an input_number from -1 to 1 via 0 (ie. set_value to 0 then set_value to 1). This is because I need a tri-state boolean and I go via 0 to ensure events fire even if going from 1 to 1.
I'm currently making it work by using a script that does the two steps, and then calling the script from Node Red. So the script to go 'to 1' is:
  - service: input_number.set_value
    data:
      value: 0
      entity_id: input_number.heater_state
  - service: input_number.set_value
    data:
      value: 1
      entity_id: input_number.heater_state

I think it's even more strange than that. I set up an input_number and had three separate sequences.
The first did a get (current_state) followed by a debug. As expected, I got 0.0.
The second did 3 service calls - two to increment and one to get, prior to a debug. Running this the output should have been 2.0, but it was 0.0 - implying only the get worked.
The third sequence did 2 service calls - one to increment and one to get, prior to a debug. When I then ran that, given that I was starting with 0.0, I would expect 1.0, but I got 2.0.
Then I ran the first again and got 4.0, despite the fact it shouldn't have changed the value.
BUT EUREKA! I think this shows what's going on. I'm guessing they're all executing, but asynchronously for some/all.

Supporting my comments above, inserting a delay of 1s between each HA call made everything work. I tried 1ms, but no luck, so I guess that's too fast. In my case, a couple of 1s delays is fine.


Upgrade deck.gl

Do not merge until<EMAIL_ADDRESS>is published

The v7 release of deck.gl has been published. Can this be merged?

I'm working on some last bug fixes, will update today.


fix(http.js): prevent stack overflow in request

:tada: This PR is included in version 1.37.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Error on installation on a clean Mac OS Mojave 10.14 beta 3

macOS Beta 10.14 (18A326h)
When Installing I got this
==> Installing Command Line Tools (macOS version 10.14) beta 3 for Xcode-10.0
==> /usr/bin/sudo /usr/sbin/softwareupdate -i Command\ Line\ Tools\ (macOS\ version\ 10.14)\ beta\ 3\ for\ Xcode-10.0
Software Update Tool

Downloading Command Line Tools (macOS version 10.14) beta 3 for Xcode
Downloaded Command Line Tools (macOS version 10.14) beta 3 for Xcode
Installing Command Line Tools (macOS version 10.14) beta 3 for Xcode
Done with Command Line Tools (macOS version 10.14) beta 3 for Xcode
Done.
==> /usr/bin/sudo /bin/rm -f /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
==> /usr/bin/sudo /usr/bin/xcode-select --switch /Library/Developer/CommandLineTools
==> Installing the Command Line Tools (expect a GUI popup):
==> /usr/bin/sudo /usr/bin/xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
Failed during: /usr/bin/sudo /usr/bin/xcode-select --install

Why If a component is already installed, it causes a fail in the installation process?
How can I work around this problem?
thanks for your precious project!

Please read and fully fill out the issue template in future (which will tell you we don’t support 10.14 yet).

Mike, I cannot use the template because it starts telling me about brew info, doctor etc, .... But It is enough for me to be sure it is not supported yet.

@realtebo In future please always fill out the bits you can. Thanks!


Error moving to next map and back straight away

Moving a single tile away and back the error did not reoccur.
Might look into it some other time, busy right now.
Crash (with full path stripped to fit them on 1 line):
Uncaught TypeError: Cannot read property 'terrain' of undefined
    at genMap (Dragon-Slayer\js\src\GenerateMap.js:127)
    at Object.GS_GenerateMap.runState (Dragon-Slayer\js\src\GameStates\GS_GenerateMap.js:14)
    at EventEmitter.<anonymous> (Dragon-Slayer\js\src\GameStateManager.js:44)
    at emitOne (events.js:96)
    at EventEmitter.emit (events.js:191)
    at commandParse (Dragon-Slayer\js\src\GameStates\GS_OffPath.js:250)
    at HTMLInputElement.getInputAndParse (Dragon-Slayer\js\src\GameStates\GS_OffPath.js:83)
genMap @ Dragon-Slayer\js\src\GenerateMap.js:127
GS_GenerateMap.runState @ Dragon-Slayer\js\src\GameStates\GS_GenerateMap.js:14
(anonymous) @ Dragon-Slayer\js\src\GameStateManager.js:44
emitOne @ events.js:96
emit @ events.js:191
commandParse @ Dragon-Slayer\js\src\GameStates\GS_OffPath.js:250
getInputAndParse @ Dragon-Slayer\js\src\GameStates\GS_OffPath.js:83```

Thanks, it's an error with moving off the west side of the map, not to do with the speed at which you move. I am fairly sure it's something in this section of GenerateMap.js:
case "east":   position = (Math.round(RNG(sideLength)) * sideLength) - 1;   break; case "west":   position = Math.round(RNG(sideLength - 1)) * sideLength;   break;
I think it's to do with the random number generator and the maths used there to find a position occasionally selecting one that is not part of the map, either -1 or 1 higher than the map's length.

Yeah it's
position = (Math.round(RNG(sideLength)) * sideLength) - 1;
Can give a value of -1, I'll fix it soon.

Fix is changing that line to:
position = (Math.round(RNG(1, sideLength)) * sideLength) - 1;

Fixed.

Usual practice is to include this issue number in the commit when you close it

Is that #2 or is it listed elsewhere?

Exactly

I did that as an example of how it should be. If it wasn't already closed it would have closed it too

https://help.github.com/articles/closing-issues-using-keywords/
For more info

Cool, thanks for the link & example.


Docker not starting (Unraid)

Hi, I have a 1050 TI and a AMD Phenom™ II X6 1090T along side 16GB of ram
Im having issues with the docker not starting (logs are below). I have Nvidia drivers setup and working and Im on version 535.104.05
09/12/2023 7:34:47 PM
09/12/2023 7:34:47 PM
09/12/2023 7:34:47 PM
== CUDA ==
09/12/2023 7:34:47 PM
09/12/2023 7:34:47 PM
09/12/2023 7:34:47 PM
CUDA Version 12.2.0
09/12/2023 7:34:47 PM
09/12/2023 7:34:47 PM
Container image Copyright (c) 2016-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
09/12/2023 7:34:47 PM
09/12/2023 7:34:47 PM
This container image and its contents are governed by the NVIDIA Deep Learning Container License.
09/12/2023 7:34:47 PM
By pulling and using the container, you accept the terms and conditions of this license:
09/12/2023 7:34:47 PM
https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license
09/12/2023 7:34:47 PM
09/12/2023 7:34:47 PM
A copy of this license is made available in this container at /NGC-DL-CONTAINER-LICENSE for your convenience.
09/12/2023 7:34:47 PM
09/12/2023 7:34:47 PM
/models/llama-2-7b-chat.bin model found.
09/12/2023 7:34:47 PM
Initializing server with:
09/12/2023 7:34:47 PM
Batch size: 2096
09/12/2023 7:34:47 PM
Number of CPU threads: 6
09/12/2023 7:34:47 PM
Context window: 4096
Container stopped

Try lowering the n_layers in the settings.

Same here. Lowered n_layers all the way down to 1 and still nothing.  Log is not showing any errors

@edgar971 Ya same here. Other things working with the nvidia driver fine, but your container won't start at all. No errors in the log. The log doesn't even update when trying to start the container.
All I get is:
==========
== CUDA ==
==========

CUDA Version 12.2.0

Container image Copyright (c) 2016-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.

This container image and its contents are governed by the NVIDIA Deep Learning Container License.
By pulling and using the container, you accept the terms and conditions of this license:
https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license

A copy of this license is made available in this container at /NGC-DL-CONTAINER-LICENSE for your convenience.

/models/llama-2-7b-chat.bin model found.
Initializing server with:
Batch size: 2096
Number of CPU threads: 48
Context window: 4096

The thing spins for a second in unraid then goes back to stopped.  Tried dropping layers to 1 etc. No luck.

Similar issue here with the CPU version, appears to start, logs indicate that it's running but the docker shuts down.  If the model doesn't exist it downloads it fresh then ends in the same state.
You may be able to resolve this warning by setting model_config['protected_namespaces'] = ('settings_',)`.
warnings.warn(
llama.cpp: loading model from /models/llama-2-7b-chat.bin
llama_model_load_internal: format     = ggjt v3 (latest)
llama_model_load_internal: n_vocab    = 32000
llama_model_load_internal: n_ctx      = 4096
llama_model_load_internal: n_embd     = 4096
llama_model_load_internal: n_mult     = 256
llama_model_load_internal: n_head     = 32
llama_model_load_internal: n_head_kv  = 32
llama_model_load_internal: n_layer    = 32
llama_model_load_internal: n_rot      = 128
llama_model_load_internal: n_gqa      = 1
llama_model_load_internal: rnorm_eps  = 5.0e-06
llama_model_load_internal: n_ff       = 11008
llama_model_load_internal: freq_base  = 10000.0
llama_model_load_internal: freq_scale = 1
llama_model_load_internal: ftype      = 2 (mostly Q4_0)
llama_model_load_internal: model size = 7B
llama_model_load_internal: ggml ctx size =    0.08 MB
/models/llama-2-7b-chat.bin model found.
Initializing server with:
Batch size: 2096
Number of CPU threads: 40
Context window: 4096

<EMAIL_ADDRESS>start
next start

ready - started server on <IP_ADDRESS>:3000, url: http://localhost:3000
/models/llama-2-7b-chat.bin model found.
Initializing server with:
Batch size: 2096
Number of CPU threads: 40
Context window: 4096

<EMAIL_ADDRESS>start
next start

ready - started server on <IP_ADDRESS>:3000, url: http://localhost:3000`

Same issue here.

It seems to run just fine on my UnRAID Setup

I don't have a solution, but I was able to figure out why I couldn't get it working on Unraid.  My Unraid server is an older R720XD and the processors in it don't support AVX2.  Just to verify I loaded it up on my Proxmox host (well into the VM running docker) which does support AVX2 and I was in.
If you aren't sure if your processor supports it (and don't feel like Googling it), pop open a console (or ssh in) and run:
grep -o 'avx[^ ]*' /proc/cpuinfo
That being said, I asked "Are you available", and it took 15 minutes to respond.  I tried a harder query (asking it to write a powershell script to download a file using BITS), it took about an hour and a half and presented me with a python script to do it lol.  That being said, it totally worked and would have ran even better if I wasn't trying to run it on ancient enterprise hardware!
I'll revisit it once I can find a GPU to throw in that server.


Auto detect installed sdk in visual studio

Brief Description
the vs solution generator currently defaults to windows 8.1 sdk. this causes build errors if win 8.1 sdk isn't installed on the system, especially since it does not come installed by default in vs2017 native desktop workload, where windows 10 10240 sdk is installed. it can manually be configured to use one of the installed sdks, but this requires modify the cproj files if building through commandline.
OS: Windows
Target: MSVC

This has been fixed with https://github.com/mono/CppSharp/commit/f0d3e731adeaa4a15c62a82592aa1b8262a7cd3b.


fix: remove vscode workspace settings to allow custom definitions

The workspace guidelines suggest setting up your editor environment yourself, but having this settings file checked into git goes against that. Unless someone has a good solutions I'm afraid vscode does not give it to you both ways, either you provide a well rounded configuration that works for everyone, or you have no configuration checked in.

Closed with the alternative solution to use a git ignore path from git global config.
Also suggested changes to the settings in another PR: https://github.com/kadena-community/kadena.js/pull/964


Add 'today' option for mockup and testing purposes.

Simple update.  Ability to set a value for the default date.  Also, closes #631

@keithhackbarth can you please rebase your PR against the current master? And check the failed test of the travis-ci build. Then this PR should be ready to be merged!

@keithhackbarth can you please rebase your PR against the current master? And check the failed test of the travis-ci build. Then this PR should be ready to be merged!

ping @keithhackbarth

Closing this PR as the feature branch is out dated and I've received no response from the original creator. If this is still a wanted feature please open a new pull request. Thanks!


"Cașin", "Curița" are villages in "Cașin" common, "BACĂU" county

Description : When user is typing the villages in the search bar, the locations should appear in the dropdown menu correctly spelled and with localities information (as in Law nr. 2 din 16 februarie 1968)
Preconditions : the website (https://peviitor-ro.github.io/ui.orase/) is up and runing.
After every step delete the text you typed from the search bar.

Steps 1: Click on the search bar and write "Cașin"
Expected result: In the drop down menu you find "Cașin, BACĂU"

Steps 2: Click on the search bar and write "Curița"
Expected result: In the drop down menu you find "Curița, BACĂU (Cașin)"


handle container cursor

Style fix for #169

Cool but please just unroll the selector

Sure, but what exactly do you mean by that? Targeting the ids directly?
#left-lovehandles > div, #right-lovehandles > div {
  cursor: initial;
}

Yup. Thanks

This is ready for merge

please squash the commits


Create a Dev Space for SAP Fiori Apps

Tutorials: https://developers.sap.com/tutorials/appstudio-devspace-fiori-create.html
Landscape label: trail1  trial2 & ap
Priority : Low-prio
Issue :
Step 2: Create a preconfigured SAP Fiori dev space
Here, the warning message is little different from actual message.

Please change the screenshot.
Thanks
Mounika

Hi @mounikat987 ,
It will be part of the next update, including additional outdated screenshots.
Regards - Raz

@raz-korn Has the tutorial been updated?

@MichaelCzcz @MamathaKH : Yes, the tutorial was updated. Yesterday it was used successfully in a partners workshop with 50 participants.
Regards - Raz

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.


Feat:Add Hover Effects to Social Media Icons and Footer Elements

Describe the feature
Enhance the user experience by implementing hover effects on social media icons and other elements in the footer. This feature will provide visual feedback to users when they interact with these elements, making the interface more engaging and intuitive. The hover effects will include subtle animations and color changes to indicate active states, improving the overall aesthetic and usability of the website.
Add ScreenShots
As you can see, there is no hover effect on the social icons. I would like to implement it, along with resizing the icons.

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

I would like to work on this project. Please assign it to me.

I can fix this issue properly. Kindly assign me this work @arghadipmanna101 .


delete unnecessary @Sharable

RmNettyRemotingClient/TmNettyRemotingClient do not used in pipeline, so can remove @Sharable

Please add optimize: before the title


Issue with JEST

See here: https://github.com/facebook/jest/issues/243
Just so we know about this issue and decide on what's the best solution.

So this dude made it clear here https://github.com/facebook/jest/issues/243#issuecomment-108650372 that JEST 0.5 will probably come with support for node 0.12
Now we just need to find out when JEST 0.5 will be released.

There is also a lot of talk here: https://github.com/facebook/jest/pull/374
I am not sure what will happen now with node.js and io.js and how will that affect JEST.

Is it a drastic issue for us to limit the Node version to 0.10 until the Jest issue has been resolved?

We can do that in Travis or similar when we setup the environment, but locally ... is anyone still using 0.10 when 0.12 is available?
I really really don't want to downgrade my local or vm installation of node.js.


Implement multiple label

Add support for multiple labels in CREATE, MERGE and MATCH clause.

hello :-)
i have tried while looking for a way to use OR (bar) operator in Cypher queries, as i mentionned here.
but i couldn't compile. here is the output of make after i have gh pr checkout 1452 from inside AGE directory:
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fno-omit-frame-pointer -fPIC -I.//src/include -I.//src/include/parser -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/backend/parser/cypher_label_expr.o src/backend/parser/cypher_label_expr.c
src/backend/parser/cypher_label_expr.c: In function ‘get_label_expr_relations’:
src/backend/parser/cypher_label_expr.c:263:9: error: a label can only be part of a statement and a declaration is not a statement
  263 |         List *reloids;
      |         ^~~~
src/backend/parser/cypher_label_expr.c:264:9: error: expected expression before ‘List’
  264 |         List *(*merge_lists)(List *, const List *);
      |         ^~~~
src/backend/parser/cypher_label_expr.c:265:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  265 |         ListCell *lc;
      |         ^~~~~~~~
src/backend/parser/cypher_label_expr.c:281:9: error: ‘merge_lists’ undeclared (first use in this function)
  281 |         merge_lists = label_expr_type == LABEL_EXPR_TYPE_AND ?
      |         ^~~~~~~~~~~
src/backend/parser/cypher_label_expr.c:281:9: note: each undeclared identifier is reported only once for each function it appears in
src/backend/parser/cypher_label_expr.c:321:27: warning: implicit declaration of function ‘merge_lists’ [-Wimplicit-function-declaration]
  321 |                 reloids = merge_lists(reloids, lcd->allrelations);
      |                           ^~~~~~~~~~~
src/backend/parser/cypher_label_expr.c:321:25: warning: assignment to ‘List *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  321 |                 reloids = merge_lists(reloids, lcd->allrelations);
      |                         ^
src/backend/parser/cypher_label_expr.c: In function ‘label_expr_relname’:
src/backend/parser/cypher_label_expr.c:385:9: error: a label can only be part of a statement and a declaration is not a statement
  385 |         StringInfo relname_strinfo;
      |         ^~~~~~~~~~
src/backend/parser/cypher_label_expr.c:386:9: error: expected expression before ‘ListCell’
  386 |         ListCell *lc;
      |         ^~~~~~~~
src/backend/parser/cypher_label_expr.c:387:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  387 |         char *relname;
      |         ^~~~
In file included from /usr/include/postgresql/15/server/access/tupdesc.h:19,
                 from /usr/include/postgresql/15/server/utils/relcache.h:17,
                 from /usr/include/postgresql/15/server/access/genam.h:21,
                 from src/backend/parser/cypher_label_expr.c:3:
src/backend/parser/cypher_label_expr.c:394:18: error: ‘lc’ undeclared (first use in this function)
  394 |         foreach (lc, label_expr->label_names)
      |                  ^~
/usr/include/postgresql/15/server/nodes/pg_list.h:356:5: note: in definition of macro ‘foreach’
  356 |    (cell = &cell##__state.l->elements[cell##__state.i], true) : \
      |     ^~~~
/usr/include/postgresql/15/server/nodes/pg_list.h:356:55: warning: left-hand operand of comma expression has no effect [-Wunused-value]
  356 |    (cell = &cell##__state.l->elements[cell##__state.i], true) : \
      |                                                       ^
src/backend/parser/cypher_label_expr.c:394:9: note: in expansion of macro ‘foreach’
  394 |         foreach (lc, label_expr->label_names)
      |         ^~~~~~~
/usr/include/postgresql/15/server/nodes/pg_list.h:357:16: warning: left-hand operand of comma expression has no effect [-Wunused-value]
  357 |    (cell = NULL, false); \
      |                ^
src/backend/parser/cypher_label_expr.c:394:9: note: in expansion of macro ‘foreach’
  394 |         foreach (lc, label_expr->label_names)
      |         ^~~~~~~
make: *** [<commande interne> : src/backend/parser/cypher_label_expr.o] Erreur 1

here is the output of psql --version:
psql (PostgreSQL) 15.5 (Debian 15.5-1.pgdg110+1)

i am running postgresql 15 on Debian 11 bullseye, installed with these debian apt packages:
postgresql-client-15
postgresql-15
postgresql-server-dev-15
libpq-dev

i have tried on these PG15 branchs of AGE (for both, in META.JSON file, the version is said to be 1.3.0):
git clone --branch PG15 https://github.com/apache/age
git clone --branch PG15/v1.5.0-rc0 https://github.com/apache/age .

it's probably meaningless but to make AGE compile, i had to install two deps from debian: bison and flex.

@thjbdvlt Did you do make clean before make install?

@rafsun42 with make clean, the same errors occur when i run make install, or also if i use make clean install.
i would like to help more but i really dont understand all of these, (i'll read about make next days, and as i did want to learn some c, it may be a good occasion to start and try understanding these reports).

@thjbdvlt After some digging, I figured out this branch indeed does not compile with a PostgreSQL copy compiled with the --with-llvm option, which is the case when PostgreSQL is installed via a package manager. This error did not occur in my development environment because I build PostgreSQL from source without that option.
I pushed a commit to address this issue. Let me know if it compiles now.

@rafsun42 it does compile!
i ran some minimal tests, creating vertices, edges and matching with (a)-[:elabel_b|edge_label_c]->(d) and it works.
absolutely wonderful :)

This Feature is huge, not only for openCypher compliance. A merge would be much appreciated.
I would like to provide two real life examples, where this is mandatory for matching.
I am using graph databases mostly as backend for traditional OLTP Applications, as opposed to data analysis. For me the most common use case for union style relation type queries is, to enforce constraints on your relations by checking for forbidden combinations before creating an edge.
Example 1
Imagine a graph with vertices representing persons :PERSON and edges representing their relation to one another :SIBLING, :PARENT, :MARRIED, ....
When trying to add a new edge between two persons, especially when triggered by user input, you would probably want to check, if that would violate the rules of your application. In this case you might consider denying the action, if (a:PERSON)-[:SIBLING|PARENT *]-(b:PERSON) exists, before marrying two people.
Example 2
Imagine a graph for task planning. Tasks :TASK can depend :DEPENDS_ON on other tasks, to form a chain of execution. But they can also be infinitely nested :SUBTASK_OF to divide them into smaller chunks of work.
Before creating any of the two edge types, we need to check, that we don't create a circular dependency. In this graph model, it can happen like this:
// having
(a:TASK)-[:DEPENDS_ON]->(b:TASK)
// each of these would produce a circular dependency for the model:
CREATE (b)-[:DEPENDS_ON]->(a)
CREATE (a)-[:SUBTASK_OF]->(b)
CREATE (b)-[:SUBTASK_OF]->(a)

To add to the complexity, any combination of both edge types in any path length are a problem and can (within reasonable effort) only be detected like this:
// again not allowed to exist:
MATCH p = (a:TASK)-[:DEPENDS_ON|SUBTASK_OF *]-(b:TASK)

Almost feels like a prime example for the power of graph databases. And if you don't want to use this feature in an OLTP context, you sure want to be able to find these conditions in your dataset.

@rafsun42 Could this be rebased with the master and applied to the master branch instead of PG15? I'm not saying not to do PG15, just get it on the master first. Thoughts?

@rafsun42 Additionally, it states that there are conflicts?

@jrgemignani Sure, John. I will rebase this to latest master.

After rebase, moved to a new PR #1785.


Составить дополнительные информационные блоки

Можно сделать резюме менее формальным, добавив дополнительные блоки, которые содержат полезную информацию, но подают её в "развлекательной" форме. Например, что нравится и не нравится, сильные и слабые стороны, перечень навыков или хобби, инфографика или же интерактивные модули, и т.п. Стоит написать контент такого блока раньше, чем начинать верстку, потому что его размеры будут влиять на размещение элементов на странице.

BREED OVERVIEW
Group: Non-Sporting
Height: 14.5 to 16.5 inches (male); 13.5 to 15.5 inches (female)
Weight: Around 23 pounds (male), Around 17 pounds (female)
Coat: Stiff and straight outer coat and a soft and thick undercoat
Coat color: Three color types: red, black and sesame, black and tan
Life expectancy: 13 to 16 years
HISTORY OF THE SHIBA INU
The Shiba Inu is an ancient Japanese breed that was originally used for flushing out quarry for their hunter owners.
After the war, Shibas that remained in the Japanese countryside were brought down to the cities to reinvigorate the breeding programs. These bloodlines are the ones responsible for creating the Shiba Inu that we know today.
The first Shiba was imported to the United States in 1954, although the first documented litter was not born there until 1979. The American Kennel Club recognized them in 1993.
Shiba Inus are currently the most popular breed in Japan, and they have a growing fanbase in the United States and other parts of the world.
SKILLS
CHARACTER
Calm, love children, charming, funny, darling, colorful. And just a mimimi dog
WANTS
BOOOOONE A LOOOOT OF BOOOOOOOONES &#x1F9B4
PROS

Clean; no high-maintenance grooming regime
Not prone to barking
Not a clingy, 'velcro' dog

CONS

Can be aloof and independent
They don't always get on with other dogs
High prey drive, and a reliable recall can be elusive


Cross compiling

Hello, first of all thank you for this package, it has helped me a lot!
This is not really an issue but rather a question:
Did you include any cross-compilation capability in this package?
I would like to use this in a CI script to be able to automatically build a version for windows and another one for linux based environments.
Thank you for your time.

Cross-compilation is not supported, and I don't think that it will ever be supported to be honest. Sorry for that.


Following the license change, modify the boilerplates in crypto/engine/

Merged.
3c120f91656f90a9a3b629bb6ea9d5a1f0d4d678 Following the license change, modify the boilerplates in crypto/engine/


state update in each iteration for perceptron

We want to update the weights vector in each iteration so that we remain consistent during a paused state

Waiting for CI and then good to merge

any changes here ? :)

It seems okay from my side. @karlnapf?


Add experimental support for watchOS

Adds watchOS adds a target platform to enable it to be built for that platform.
Note: watchOS support is very much experimental and not currently a supported platform, though there is no reason why it shouldn't work

Original comment:

Currently when building it throws an error:
The package product 'FluentKit' requires minimum platform version 6.0 for the watchOS platform, but this target supports 4.0

Add min watchOS requirement to match FluentKit

Codecov Report

Merging #84 (17464a6) into main (8c7b96b) will decrease coverage by 1.00%.
The diff coverage is n/a.

:exclamation: Current head 17464a6 differs from pull request most recent head db4a5b5. Consider uploading reports for the commit db4a5b5 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #84      +/-   ##
==========================================
- Coverage   85.14%   84.15%   -1.00%
==========================================
  Files           7        7
  Lines         303      303
==========================================
- Hits          258      255       -3
- Misses         45       48       +3

Flag
Coverage Δ

unittests
84.15% <ø> (-1.00%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ources/FluentSQLiteDriver/SQLiteRow+Database.swift
92.85% <0.00%> (-7.15%)
:arrow_down:

Sources/FluentSQLiteDriver/Exports.swift
100.00% <0.00%> (ø)

...ources/FluentSQLiteDriver/FluentSQLiteDriver.swift
64.51% <0.00%> (ø)

...rces/FluentSQLiteDriver/FluentSQLiteDatabase.swift
82.80% <0.00%> (ø)

...rces/FluentSQLiteDriver/SQLiteError+Database.swift
87.50% <0.00%> (ø)

...s/FluentSQLiteDriver/SQLiteConverterDelegate.swift
76.47% <0.00%> (ø)

...FluentSQLiteDriver/FluentSQLiteConfiguration.swift
100.00% <0.00%> (ø)

These changes are now available in 4.3.1


ngtcp2-gnutls: 1.8.0 -> 1.9.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/ngtcp2/ngtcp2/releases.
meta.description for ngtcp2-gnutls is: Effort to implement RFC9000 QUIC protocol
meta.homepage for ngtcp2-gnutls is: https://github.com/ngtcp2/ngtcp2
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS

[!CAUTION]
A test defined in passthru.tests did not pass.

found 1.8.1 with grep in /nix/store/y2qlf541236xnh8pr2k46066d3fmy843-ngtcp2-1.8.1
found 1.8.1 in filename of file in /nix/store/y2qlf541236xnh8pr2k46066d3fmy843-ngtcp2-1.8.1

Rebuild report (if merged into master) (click to expand)

7 total rebuild path(s)

7 package rebuild(s)

First fifty rebuilds by attrpath

knot-dns
knot-resolver
ngtcp2-gnutls
prometheus-knot-exporter
python311Packages.libknot
python312Packages.libknot

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/y2qlf541236xnh8pr2k46066d3fmy843-ngtcp2-1.8.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ngtcp2-gnutls https://github.com/r-ryantm/nixpkgs/archive/44376ea3106fa2ca35f498a5b566c0cf6ccb4365.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/44376ea3106fa2ca35f498a5b566c0cf6ccb4365#ngtcp2-gnutls

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/y2qlf541236xnh8pr2k46066d3fmy843-ngtcp2-1.8.1
ls -la /nix/store/y2qlf541236xnh8pr2k46066d3fmy843-ngtcp2-1.8.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 13 packages built:

knot-dns
knot-dns.bin
knot-dns.dev
knot-resolver
knot-resolver.dev
ngtcp2-gnutls
ngtcp2-gnutls.dev
prometheus-knot-exporter
prometheus-knot-exporter.dist
python311Packages.libknot
python311Packages.libknot.dist
python312Packages.libknot
python312Packages.libknot.dist

Maintainer pings
cc @vcunat for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

A test defined in passthru.tests did not pass.

That's knot-dns.tests.kea, at a quick local run.  No idea why so far.

router: must succeed: curl --no-buffer <IP_ADDRESS>:9547 | grep -qE '^kea_dhcp4_addresses_assigned_total.*1.0$'
[...]
router # curl: (23) client returned ERROR on write of 6556 bytes

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/ngtcp2/ngtcp2/releases.
meta.description for ngtcp2-gnutls is: Effort to implement RFC9000 QUIC protocol
meta.homepage for ngtcp2-gnutls is: https://github.com/ngtcp2/ngtcp2
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.9.1 with grep in /nix/store/fx1rikz8r2qj9rmbjj5pm8i9b5bqzf58-ngtcp2-1.9.1
found 1.9.1 in filename of file in /nix/store/fx1rikz8r2qj9rmbjj5pm8i9b5bqzf58-ngtcp2-1.9.1

Rebuild report (if merged into master) (click to expand)

7 total rebuild path(s)

7 package rebuild(s)

First fifty rebuilds by attrpath

knot-dns
knot-resolver
ngtcp2-gnutls
prometheus-knot-exporter
python311Packages.libknot
python312Packages.libknot

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/fx1rikz8r2qj9rmbjj5pm8i9b5bqzf58-ngtcp2-1.9.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ngtcp2-gnutls https://github.com/r-ryantm/nixpkgs/archive/2ee01474dac2a13944c1b66d55f41292bba54389.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/2ee01474dac2a13944c1b66d55f41292bba54389#ngtcp2-gnutls

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/fx1rikz8r2qj9rmbjj5pm8i9b5bqzf58-ngtcp2-1.9.1
ls -la /nix/store/fx1rikz8r2qj9rmbjj5pm8i9b5bqzf58-ngtcp2-1.9.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 13 packages built:

knot-dns
knot-dns.bin
knot-dns.dev
knot-resolver
knot-resolver.dev
ngtcp2-gnutls
ngtcp2-gnutls.dev
prometheus-knot-exporter
prometheus-knot-exporter.dist
python311Packages.libknot
python311Packages.libknot.dist
python312Packages.libknot
python312Packages.libknot.dist

Maintainer pings
cc @vcunat for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

Looks good now.  Probably no sense in waiting for ofBorg for such a simple change.

Rethought the labeling.  It seems unlikely that anyone (beyond upstream knot-dns devs) uses functionality affected by this CVE.


Missing JAR in jitpack

Looking at https://jitpack.io/com/github/franmontiel/PersistentCookieJar/v1.0.0/ I can see there's

PersistentCookieJar-v1.0.0.aar

but there's no

PersistentCookieJar-v1.0.0.jar

Could you upload it as well? That would make your library usable also in non-Android projects.

Now I can see this implementation is Android-specific. I will write my own. Please close this issue as invalid.


[Feature] Calibrate NMS

Calibrate thresholds for bounding boxes:

[ ] confidence score
[ ] bounding box IoU to remove

Code reference:
https://github.com/whizzmobility/models/blob/master/official/vision/beta/serving/multitask.py#L132
TF NMS implementation docs:
https://www.tensorflow.org/api_docs/python/tf/image/non_max_suppression

Awaiting new model with improvement from #99.


More gallery tweaks

Contacts demo: scroll under the app bar by default.
Make progress indicators' valueColor the accentColor (not the primaryColor) by default. So that they can be seen in the dark theme.


Maven central index missing versions since 2.25.0

note sure what is going on but wanted to report it.  See https://search.maven.org/artifact/com.github.blutorange/closure-compiler-maven-plugin.  Its been going on since 2.25.0.

Thanks for reporting! But what exactly do you mean by missing? I see all versions listed here

And when I click on "Browse" it shows a list of all files, including the JAR, e.g. https://repo1.maven.org/maven2/com/github/blutorange/closure-compiler-maven-plugin/2.29.0/

The legacy maven central is missing it.  Its rare so I don't understand why.  I don't use the newer one its too slow.
https://search.maven.org/search?q=closure-compiler-maven-plugin

It works fine, its just that it doesn't show up there so those using legacy central and ignoring push to the new since its usage/performance is very suspect won't know this updated.  Since I've known for a while I know to look for this specific plugin here in github to see what is out there.  No clue what the issue is.

I see, that's strange. When I go to https://search.maven.org/search?q=closure-compiler-maven-plugin, it just immediately redirected me to the new page. If I search online, I usually use mvn versions:display-dependency-updates or https://mvnrepository.com/artifact/com.github.blutorange/closure-compiler-maven-plugin, so I didn't notice this.
The only relevant change between 2.25.0 and 2.26.0 that I can see is that I updated the nexus staging plugin from 1.6.8 to 1.6.13. I could image they changed something so that it only uses the newer one. For that is weird since it should use the same data basis.
It does say the old web interface will be gone soon though

We are also no longer investing in additional features or functionality on https://search.maven.org/ and are planning a retirement date for that web interface in late 2023/early 2024.

I've seen this on one or two projects on the flip side (new).  So I know they are not using the same data.  How it happens I'm unclear as I've only seen it on maybe 3 total repos.  I currently hate the new L&F because I look up 100s of libraries a week as we have to use a special process to procure them and scan them.  So the new UI is rather useless for that.  No matter how much it bugs me, I go back.  I did use it today just to see if it improved and it has not.  Take tomcat for example.  The way the new UI works, it no longer shows all latest items first but rather all in order.  Well tomcat 11, 10, 9, 8, etc, takes a while to go backwards.  I do lean on the bots (renovate / dependabot) as well but I have to still look stuff up.  I think maybe a bug ticket to sonatype is worth it here.  If nothing more maybe they can clarify what is happening.
As to nexus plugin, I don't use it myself.  Last I recalled all that does is help auto close / auto release if one so choices.  I do know at some point long time users like myself will have some things changed on us for sure.  It seems anyone newer releasing for first time has to do it in a different way now.  I've been doing it for maybe 10 years or more now.  So I'm in the legacy camp.  By any chance where you signed up more through their new way?  I know you have been on github for a long time but first few years was light (like my first year or two).  So maybe releasing wasn't until much later.
Anyway back to really what is a problem at my day job.  Since we have to go through a rather nonsense procurement process, unless we are very aware something got released, we have to look it up.  I support a super pom there with some 100 or so plugins.  I went some time with yours not getting updated during monthly cycles.  That ended up concerning me as I add release date info in properties as an attribute and anything that dates too long I consider possibly dormant which causes me to go poke around.  Then I see in fact you have releases out and they do pull.  That is the strange part, they are missing in the index but pull so I'd think the entire nexus process even with that plugin released fine.
It would be curious if you dropped back to the older copy if that magically caused the others to show.  Typically because I do it manually, the only time it fails to show up in the index is when I failed to close/release.  In your case, its in the new index so even stranger but does indicate they get data feeds differently and probably have some bug.

Can't say I particularly like the new UI either. Nothing I can do unfortunately. It now just immediately redirects me to the new page no matter what I do. Seems more like an issue on their end, though.


Texting and more that 160 characters

Im using Texting and TinyWebDB
From TinyWebDB i got random message (jokes, facts, quotes etc..) and when i try
to send this message with Texting sms if the characters are more that 160 i got
error

Sorry The application name process has stopped unexpectedly. Please try again.

any help

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 26 Sep 2010 at 11:24

ANY solution with problem , i need the first 20 characters of a  250character message.
but i get only the last 50


 There can be cases in which we have a large number of these calls (eg: when checking the existence of large number of topics), so it makes sense to include it too.

[x] doc-not-needed

ZK implementation is a bit weird... closing for now


#273 Contours hierarchy

#273 Files added
@geekquad  have a look and let me know for any changes

Hey @iamakkkhil,

Why have you made PR for 2 different issues in a single branch?
It will affect your score. Please delete FLANN from here and make another PR for the same in a different branch.

sorry I will do it asap


部署yarn出现nodeManager 就绪探针Connection refused

Question
Before asking a question, make sure you have（在提问之前，请确保你已经）:

Read documentation（仔细阅读了官方文档）
Googled your question（百度搜索了你的问题）
Searched open and closed GitHub issues（搜索了开放和关闭的 GitHub issues）

Please pay attention on issues you submitted, because we maybe need more details.

点击yarn，角色列表，看看nm的日志。或者服务器上查看/opt/edp/yarn/log目录下日志


[vault] EOL 1.16 and 1.17 from standard maintenance

Per discussion [1], community support for a given release ends when the next release occurs. Now that 1.18 is out, it is the only supported community release until 1.19 takes over. This effectively means the community support is rolling release model.
This does not make any changes to the enterprise versions, releases, or support model.
[1] https://github.com/hashicorp/vault/issues/28471#issuecomment-2393714603

Thanks for raising this. This will need a few more changes - A warning that the page tracks CE, and not Enterprise Edition. A clarification for the Enterprise/CE Policy, and a link to the comment.
And it seems like we will have to update other Hashicorp products as well.

Thanks for taking a look. I've pushed an update to attempt to clarify the situation further.

A warning that the page tracks CE, and not Enterprise Edition

I believe the page can continue to track both. The Standard Maintenance column can track community and extended maintenance track enterprise. Is that what you had in mind?

Rebased and updated based on 1.18's release

@captn3m0 anything I can do to help this get over the line now that 1.18 is out?


Norm extension not enabled/can't be enabled

Hi
I have an issue with the VSCode Extension
Norminette runs fine when using the command by itself norminette test.c
But when I try to see the issue using the extension it isn't being highlighted like it usually would be.
When I disable/enable the extension I get the following appearing on the bottom right of my vscode:

If I try to enable or disable the extension using the shortcut as listed on the extension description the following error is displayed:

Here is a screenshot of the file I'm attempting to test it on, the output and the extension settings:

Let me know if there is anything you'd like me to send to help fix the issue as this is a really good extension!
Thanks!

Resetting my VSCode settings.json and re-downloading VSCode assisted in the extension working as normal.
Closing issue.


Escaping Blade directives

It doesn't fully escape Blade directives. I wanted to include a piece of a Blade template as code inside a blog post. After saving the data and trying to access the blog post page I just saw a blank white screen, same with the edit page where I have this inside a textarea. Had to delete the directives manually from the DB to restore the website.
This is the piece of the template:
@if (session('notification'))
    <notification type="{{ session('notificationType') }}" message="{{ session('notification') }}"></notification>
@elseif (session('status'))
    <notification type="alert-primary" message="{{ session('status') }}"></notification>
@else
    <notification></notification>
@endif

I tested it and it seems that the curly braces is what doesn't get escaped and Blade processes it.

So I added an str_replace in the Parsedown class to replace '{' with '{' and still was getting the same blank page even though the replacement did work. Then I realized it was actuallu Vue.js parsing those curly braces and giving me an error... I guess that has nothing to do with this package directly.


Feat:Changing the color of the login button

Describe the feature
The color of the login button has to be changed since it matches  the nav bar color and it isn't easy to find login button
Describe the solution you'd like
we can change the color to make it appear good and easily visible
Describe alternatives you've considered
we can also adjust the font of login as it marks important place in the website
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Please assign this issue to me


Changelist actions in mobile

What version of Unfold are you using?
Latest from github
What version of Django are you using?
5.1
What browser are you using?
Chrome, Firefox
Did you checked changelog/commit history, if the bug is not already fixed?
Yes, it is not fixed.
Did you searched other issues, if the bug is not already fixed?
Yes, there isn't any related issue.
Did you checked documentation?
Yes.
Are you able to replicate the bug in the demo site?
Yes you can replicate the bug in the demo.
Describe your issue
The actions menu appears slightly broken in mobile, as you can see below.

Thanks for report. Fixed in #912


Hidden hint makes website wider

Website is wider and therefore (especially on small screens) there is a white strip and horizontal scrollbar. See screenshot below

I am also seeing this error and it is super annoying


Use Resource[T] to implement CiliumNode watcher

Use Resource[T] to implement the CiliumNode k8s watcher. This removes the additional informer previously used, reducing the queries to the kube-apiserver and reducing the memory needed for the additional local cache.
Please refer to the individual commits for further details.
Related: https://github.com/cilium/cilium/issues/28159

/test

/test

/test

@aanm @giorio94 @tommyp1ckles now that https://github.com/cilium/cilium/pull/29414 has been merged, I've rebased this one and marked this as ready. Also, I've marked this as a release-blocker since it is part of https://github.com/cilium/cilium/issues/28159 that should be fixed before the release. Could you please review the updated version? Thanks in advance! :pray:

Force pushed to address feedback and solve a conflict with the tip of the main branch.

Removed cilium/sig-lb and cilium/sig-bgp codeowners from requested reviews: they were assigned in the initial draft version of the PR due to the commits now moved 9and reviewed separately) in https://github.com/cilium/cilium/pull/29414

@pippolo84 been a while since I've looked at this one so I'll do a full re-review eow.

/test

/test

Force pushed to solve a conflict with the tip of the main branch.

/test


Unable to compile - cannot open source file '..\src\better_sqlite3.cpp'

I'm getting the following error when I run npm install better-sqlite3
Warning: Missing input files:
C:\Users\Administrador\Documents\Node\EasyPlacas\easyplacas-app-server\node_modules\better-sqlite3\build\..\src\better_sqlite3.cpp
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  unpack_sqlite_dep
  sqlite3.c
  win_delay_load_hook.cc
  sqlite3.vcxproj -> C:\Users\Administrador\Documents\Node\EasyPlacas\easyplacas-app-server\node_modules\better-sqlite3\build\Release\\sqlite3.lib
  better_sqlite3.cpp
  win_delay_load_hook.cc
c1xx : fatal error C1083: Cannot open source file: '..\src\better_sqlite3.cpp': No such file or directory [C:\Users\Administrador\Documents\Node\EasyPlacas\easyplacas-app-server\node_modules\better-sqli
te3\build\better_sqlite3.vcxproj]

The build system has now been overhauled to address the many problems people have had trying to install better-sqlite3. Try upgrading to v4.1.2. If the problem persists, comment here and I'll reopen the issue.


Replace req.params with req.query in subscription

Found one problem with the subscription code where we use req.params instead of req.query. Also update long-polling example to match the latest URL scheme.

LGTM


Feat: impl bitwise-and operation

resolve #1277

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

60 of 89 (67.42%)  changed or added relevant lines in 7 files are covered.
28 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.1%) to 98.6%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

core/src/ast/operator.rs
0
1
0.0%

test-suite/src/bitwise_and.rs
37
42
88.1%

core/src/data/literal.rs
10
17
58.82%

core/src/data/value/mod.rs
3
19
15.79%

Files with Coverage Reduction
New Missed Lines
%

core/src/executor/validate.rs
1
99.24%

core/src/executor/aggregate/mod.rs
27
86.08%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
45139

Relevant Lines:
45780

💛  - Coveralls

@panarch
I think it is done!


Support public IPs

Allow users to add public IPs to a resource.

@smcclure20 in your mind, does this issue seem like it should be relatively easy (e.g., "good first issue" label worthy) or on the contrary "needs design" worthy?

I think we need to discuss exactly what the UI should be to create a public IP, but other than that, it should be easy.


Calculation of mIoU for the segmentation task

Thanks for your great efforts for the elegant implementation.  I wonder how to calculate the mIoU for the segmentation task. Could you give some examples in your implementation?

The official codebase has IoU implemented for the part segmentation task: https://github.com/charlesq34/pointnet2/blob/master/part_seg/evaluate.py, I’d start there.


Code in code page should be viisble completely instead of overflow in small height

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description

Use Case
This should take the complete height instead of auto in small window
it will make the experience better
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

The code window did not full height because some code snippets are very long and users would have to scroll all the way down just to see the preview.

@VaibhavArora314
Understood.. though we can increaese the size of window somewhat to enahance the readability cuz currently it is frustrating to read the code in small window.. If you want 😌

Increase the size of code window and modify code font size in smaller windows in this issue


Update references

IMPORTANT: Please search among the Pull requests before creating one.
Description
Adds DOIs and a few references.
How has this been tested?

Closes

Thanks Mike, this works now, I'm merging this.


upgrade to node v10 and gulp 4

Since Node 6 is going to be out of support in a couple of months (https://github.com/nodejs/Release#release-schedule) and node 10 only works with gulp 4, i upgraded both.

I won't alter the commit any further. The time that this has been in the pipeline has already caused a double-commit and some additional work (https://github.com/OpenSlides/OpenSlides/pull/3761). This is at a point where I think it fits best to the documentation and example from the gulp repository. I don't think it needs more alteration, even though I understand if someone isn't happy with functional grouping by "This is the Path" and "This are the function" and thinks a more objective approach in structure benefits the overview.
@normanjaeckel if you persist on your preferations, you are invited to add a commit on this pull request.

I refactored the gulpfile and pushed a new commit.
@emanuelschuetze Please retest.
@jsaalfeld Ok with this? (I also reverted some probably unwanted changes, like removing extra options for CKEditor paths).

Successfully retested. Ok for me.

Why I get Starting '<anonymous>'... if I run gulp watch? Is there a gulp task name missing?

Yes. I can fix this, if you like. There should be shown something like "watching task".

Yes. I can fix this, if you like.

Yes please.

Done.

Ok, successfully tested.
@jsaalfeld Ok for you? Then I'll rebase and merge.

As long as it's finally upgraded and working, I'm fine!


Example code in ui

Use babel generator to get source for ast node
Use prettier to format the source
Show source for examples in UI

I'm not sure about the background colour (and the purplish undertone?) of the source code - maybe we should distinguish it more from the bg color, or perhaps not at all. It's not very important though, and if I'm the only one feel free to ignore it.

@andrejak I don't really like the purple highlighting either. I was just going with the default theme. Probably a good idea to change it though. Do you think it should be a dark or light theme?

What do you think of

I like the theme, but do you think the border is necessary? I think it could look nicer without, and it's obvious what the code is refering too. (Atm I feel like there's too many borders, and the radius is a bit different too)

I like it without the border


ApiTestCase 1.0.0 Release cycle

It is about time to finally publish a stable release of this library. Because I'm really into merging some of awaiting PR's I have decide to publish an alpha version, to encourage us to finish them. I would like to publish a new version every week, until we reach a stable phase.

[x] 1.0.0-alpha.1 - 19.07.2016
[x] 1.0.0-alpha.2 - 26.07.2016
[x] 1.0.0-rc - 2.08.2016
[x] 1.0.0 - 9.08.2016 🎉

Between alpha1 and alpha2 I would like to merge #63, extract warning from #43 and maybe also add #52. Changes proposed in #60 could be added without BC Brakes so we can add them later.
Of course if there would be any further problems in a mean time, new versions could be added to this release cycle.

Fanfare, first stable release was published!

That should be the fanfare.


Include entire job payload in the Jobs tab

Description
Often when debugging an exception thrown when a job was being processed, it is necessary to connect the exception to a specific job, which isn't currently possible. You can see in Bugsnag the data is really limited and generic:

Describe the solution you'd like
I would love the ability to get more data in the JOB tab in Bugsnag. Specifically, I would love another key called payload which would reveal the job's entire payload. This is a sample of what that data looks like (this screenshot is from Horizon, which exposes the job payload):

Including the job payload could be optional, something enabled in the config and defaulted to false, so it wouldn't be a breaking change. I think it would be extremely useful for Laravel users.
Describe alternatives you've considered
It might be possible to add the job payload as custom metadata, but I haven't figured out how since we'd need access to the job model.
Additional context

This pull request (https://github.com/bugsnag/bugsnag-laravel/pull/447) is trying to achieve something similar by passing Horizon tags. But I think this solution might be preferable since it would work regardless of whether Horizon is used.

Thanks this seems to be working!


fix:attempting to delete the file will result in an error, because 'g…

attempting to delete the file will result in an error, because 'gz' has not been dropped.Consequently, during the initial installation, the plugin cannot take effect.

Release 0.1.1 has been published with the inclusion of this patch. 🚀


wrong array parsing ending by newLine with no indent

Describe the bug
This bug can be observe by code completion in this scenario:
Array:
https://user-images.githubusercontent.com/38421337/103294682-9d020280-49f2-11eb-871f-18bc59a44aab.mov
Object works fine:
https://user-images.githubusercontent.com/38421337/103294515-4bf20e80-49f2-11eb-80ba-be5901e660f7.mov
Bug is in dependent project yaml-ast-parser, when array node ending with empty lines with no indent
Similar example with object instead of array works fine.
Expected Behavior
This is expected behavior - fixed in yaml-ast-parser
https://user-images.githubusercontent.com/38421337/103294707-aa1ef180-49f2-11eb-8f1e-382b6977e33e.mov
Current Behavior
see description
Steps to Reproduce
see description
Environment

[ ] Windows
[x] Mac
[ ] Linux
[x] probably on every environment

Update: it's more about inserting 'holder' into right position instead of yaml-ast-parser
in this example:
  - item: 1

| #cursor here
node: 2

it puts 'holder' inside the node: 2
it's true that in yaml-ast-parser:

array takes all empty symbols
object doesn't


es6 arrow functions async

Expected behavior:
Trying to compile to es6 because i am using some async function calls. Combined with arrow functions the compile is causing some issues 'unexpected identifier':
__awaiter(this, void 0, void 0, function* () {

Actual behavior:
This works correctly:
async function () {

}

This DOES NOT:
async () => {

}

Your gulpfile:
var tsProject = tsc.createProject({
    "target": "es6",
    "module": "commonjs",
    "moduleResolution": "node",
    "noImplicitAny": false,
    "removeComments": false,
    "preserveConstEnums": true,
    "importHelpers": true,
    "sourceMap": true
});

gulp.task('compile-ts', ['set-env', 'gen-ts-refs'], function () {
    var sourceTsFiles = [
        config.allTypeScript,                 //path to typescript files
        '!' + config.allTestTypeScript        //exclude test typescript files
    ];

    var tsResult = gulp.src(sourceTsFiles)
        .pipe(sourcemaps.init())
        .pipe(tsProject());

    return merge([
        tsResult.js.pipe(sourcemaps.write('.'))
            .pipe(gulp.dest(config.tsOutputPath + '/app'))

    ]);
});

Can anyone tell me why this is happening? Tsc issue?

Did you have time to take a look at this?

i am on version 1.6.2

That's a really old version of TypeScript, could you try to update to 2.7.1?


docs: update sample dvc command outputs

These things in example output are no longer printed out by dvc:

"Reproducing '<dvc-filename>'..."
"Using '<dvc-filename>' as a stage file"

The first one was simply removed in this commit. Not sure what is the story behind the second one.

Another one: #551

Where in the docs are these sample outputs? I found the one for reproduce here, https://dvc.org/doc/tutorials/get-started/reproduce#reproduce, however the issue seems to have already been resolved.

Hi @VANRao-Stack thanks for finding this issue in the context of GSoD. "sample command outputs" refers to all the sample commands in many of our docs, for example the block reading $ dvc checkout here:

From https://dvc.org/doc/command-reference/fetch

To find where the strings mentioned in the description are found, you could simply clone the repo and find them from your IDE. BTW, this issue may be outdated and I wouldn't be surprised if they're already gone. If you can't find them please lmk and we'll probably close this one 🙂 otherwise you could submit a PR updating them to what the latest DVC version actually outputs (for this you may have to install DVC actually run the commands). Please contact me if you have more questions.

Let's do this as we go.


Updated projects list page

Added a new table with toolbar component, I18N enabled
Use the new component in the project list page
WIP - adding type interfaces for ts - to complete in a follow up PR.
( Delete will be implemented in a follow up PR. Search and pagination will be implemented when backend allows )

I get this error when trying npm run build
ERROR in<EMAIL_ADDRESS>37:0-36
Module not found: Error: Can't resolve 'classnames' in '/Users/ben/git/ansible-events-ui/ui/node_modules/@redhat-cloud-services/frontend-components/esm/BulkSelect'

@benthomasson - I updated the package-lock on the branch. Please let me know of you still have issues with the updated package versions

@lgalis I removed node_modules and ran npm ci and npm run build and I still get
Module not found: Error: Can't resolve 'classnames' in '/Users/ben/git/ansible-events-ui/ui/node_modules/@redhat-cloud-services/frontend-components/esm/BulkSelect'```

Upgrading to node 16 fixed my issue above.


Remove title heading and automatic see-also section

Fixes #6

I'll test this with a recent DocC toolchain soon. In the meantime, it looks like this turns off the Article title headings; did we want to test out @TitleHeading("Chapter") as well? (Perhaps in a subsequent issue.)

Changing the title heading to "Chapter" seems reasonable to me — if we like that better, I'm fine doing it all on this PR.

@SamLanier what are you design thoughts on using "Chapter" for the title headings instead of the default "Article"?

I think both options could work. I'm not sure a title heading (eyebrow) makes the most sense to label the chapters (we currently use eyebrows to convey the content type, and the reason for hiding those eyebrows would be that the content type is assumed to be the same). That said, there's nothing wrong with using the eyebrow as a chapter heading temporarily until another solution would be better. For example, being able to see a TOC of all the chapters might be more useful to the reader than an eyebrow shown on the chapter you have already selected.

Here's a screenshot of what TSPL looks like without the title headings (this PR's change), with chapter abstracts added, and built with current DocC main.

@swift-ci please test


Remove search from bookmarks?

Maybe we add this once people are adding hundreds of bookmarks? Idk, seems like a waste of space atm. Thoughts?

I think we shouldn’t remove it, but rather tuck the searchBar underneath the nav bar by default (like Settings.app)
Sent with GitHawk

Because... how would you “know” when people are adding many items there?
Sent with GitHawk

Agree with @BasThomas. Also, I made a fix on #729 which hides search under the nav bar.
This is how it looks. You can get the search bar just by swipe down. (W/ a free transition from nav bar on iOS 11)


Request support for java.sql.Types.CHAR/kotlin.Char

Hello,
I need to use chars in my database, using varchar could results on errors.
My actual workaround:
object CharSqlType : SqlType<Char>(Types.CHAR, typeName = "char") {
    override fun doSetParameter(ps: PreparedStatement, index: Int, parameter: Char) {
        ps.setString(index, parameter.toString())
    }

    override fun doGetResult(rs: ResultSet, index: Int): Char? {
        return rs.getString(index)?.getOrNull(0)
    }
}

fun BaseTable<*>.char(
    name: String
): Column<Char> {
    return registerColumn(name, CharSqlType)
}

I can create the PR if you're okay ? =)
PS: I have the same need for short and I achieve to use the quite same feature right here.
Thanks !

But the CHAR SQL type can contain multiple characters, so it is not equivelent to kotlin.Char. It should be kotlin.String instead.
See https://dev.mysql.com/doc/refman/8.0/en/char.html

In fact, I used CHAR but as you said, I could use VARCHAR I often used CHAR in my SQL since it was more optimized in PostgreSQL for big data (not for space but for searching).
The can understand that a kotlin.Char is not really used for database by people, but I do.
What for kotlin.Short/java.sql.Types.SMALLINT ?
object ShortSqlType : SqlType<Short>(Types.SMALLINT, typeName = "short") {
    override fun doSetParameter(ps: PreparedStatement, index: Int, parameter: Short) {
        ps.setString(index, parameter.toInt())
    }

    override fun doGetResult(rs: ResultSet, index: Int): Short? {
        return rs.getString(index).toShort()
    }
}

fun BaseTable<*>.short(
    name: String
): Column<Short> {
    return registerColumn(name, ShortSqlType)
}

kotlin.Short is OK.


Generated components' name end with mist.css.tsx

AS-IS

I followed exactly what the tutorial from the document says.
I compiled the mistCSS filed using the command below:

"mist": "mistcss ./src",

However the file name of components generated ends with mist.css.tsx.

e.g. from src/components/Button.mist.css to src/components/Button.mist.css.tsx

TO-BE

The file name should end with mist.tsx following the document.

My mistake that I didn't check the closed PR #23. I updated to the latest version 0.3.7; problem solved.

@gyutato glad to hear it, feel free to open more issues in the future if you find anything.


[question] SSR

Hi, I've got a question about SSR with react-boilerplate. I've saw that there are 2 closed pull requests, both of them really outdated. The whole structure seemed really different than the current one and I couldn't figure how to make use of it. Is SSR/isomorphic going to be included in version 4 or 3.6? I've looked through most of the branches and found nothing relevant.
Can you give me some example configuration, or simple outlines of the steps necessary to integrate this? A relevant tutorial with a similar project structure will do as well.
Thanks in advance!
PS: Sorry for using the issue tracker for questions, I've tried the gitter channel but of no avail

hey @smiile I merged that branch with the current one; updated deps and other stuff to bring it up to speed with this BP quite some time ago so I know is doable. hit me up on Spectrum (@carlos-santiago) and lets see what I can do to help you

Thanks. I'll close this though as there have already been many discussions on SSR.


Missing groupby option while creating charts

Hi,
I am a recent user of apache superset, While creating the charts groupby option is missing under Data section, i presume because of that only i am not able to access the drill down feature. Inorder to get groupby option, Whether i need to set any Feature flags to true? and also need a walkthrough of drilldown in superset

Group by is same as "Dimensions", so add the columns that you want to group by in Dimensions


Hypercore replication in browser fails

I tested the dht-relay extensively, and while announce, lookup, server.listen and connect works just fine, trying to replicate a Hypercore throws an error (only in browser environment):
Error: Noise handshake failed
    at NoiseSecretStream._onhandshakert (bundle.js:1993)
    at NoiseSecretStream._open (bundle.js:2041)
    at WritableState.updateNonPrimary (bundle.js:16661)
    at WritableState.update (bundle.js:16639)
    at WritableState.updateWriteNT (bundle.js:16947)

I tracked this issue and figured that this.protocol.connect(message) eventually returns undefined even though the content of the message is valid, and even though the server node seems to perform the handshake correctly.
I got the same result whether I am testing this in an actual application, or in more controlled test suite https://github.com/synonymdev/dht-universal/blob/5fc36d4e21ab0a04dd4bf0e64a9e9816492d941a/test/api.spec.js#L439

Maybe this issue is more relevant in Hypercore instead, but I confirmed that the replicating using the dht-relay only fails in the browser, not nodejs.

Isolated test https://github.com/Nazeh/test-hypercore-dht-relay

What are you using to compile the code for the browser? I've had issues getting Webpack to work because the node globals that it injects are out of date.
I've found that browserify is the only surefire path to get it working. 😅

@RangerMauve
I tested both with aegir (esbuild) and Parcel. I will test with Browserify similar to how hyper-sdk does it and report back.

Tested again with browserify, same result.

Fwiw I tested again using the latest change in the master branch

Thanks for the report and reproduction! I'll investigate this today and am already seeing some possibly related bugs after my work in #5 and #8.

With d2ff078a4a4e264272c43e79c12e98d7b13a9f73 in place, I have Hypercore replication working in a browser between two relayed peers, i.e. both running in the browser and connected through the relay.

@kasperisager looks great, but I tried the new API here and the replication between the browser (initiator) and the Nodejs side as (responder) is still throwing the same error.
I will try to test the other way too in case it offers any insight!

@Nazeh you should change that to use the core.replicate(swarmStream) api, otherwise you’ll be double encrypting
that’s prob why it fails, there is a method missing in sodium for encryption

… in the browser

@mafintosh Indeed, it works with Hyperswarm in the browser, ... after adding b4a to Hyperswarm

Let me know if https://github.com/hyperswarm/hyperswarm/pull/98 does the trick.

@kasperisager Unfortunately no, that PR introduced a dependency that needs Buffer ( turbo-hash-map)

Let's continue the discussion in that PR as the issue relates to Hyperswarm ☝


Change validateOnChange pragmatically

I set validateOnChange to false by default as I think it's a pretty bad user experience to type a single character in an input for the first time and immediately be presented by errors. However, it is useful after they've clicked submit and validation errors appear, to have them auto disappear immediately as they correct their mistakes.
For this to happen I need to switch on validateOnChange after the first trigger of onSubmit(). Is this possible?

Yes, this will be possible in 0.11. You will be able to pass in a function into the instantValidation attribute and have access to submitted, errors and other state information. So you will be able to write the following for example:
<Form instantValidation={(submitted) => submitted} />

Which means as soon as the state updates to submitted being true, instantValidation is set to true in this specific example.

Sounds good thank you!

Added in 0.11


Edit

👷 Deploy Preview for adoring-leavitt-e31a11 processing.

Name
Link

🔨 Latest commit
e87cb5501ef5296d78b043b951ac787ae350bfd5

🔍 Latest deploy log
https://app.netlify.com/sites/adoring-leavitt-e31a11/deploys/62a8805cbe1b28000768adff