[Help]: Problem in downloading images

Describe the problem you met
Write a brief description of the problem you met, e.g. my intf_tops.csh could not run through
I am trying to run a notebook titled "S1A_Stack_CPGF_T173_v2.ipynb" in Google Colab. However, I am getting an error in downloading the Sentinel-1 data.
OS and software version
If applicable, what operating system and software version you are using?
OS: I am using Google Colab. OS information is given as follows.
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.2 LTS"
PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.2 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
GMTSAR version:
Reproduce the problem
If applicable, how to reproduce the problem from scratch?
The problem is appearing in the following line of the code:
asf = ASF(username, password)
asf.download(DATADIR, SCENES, SUBSWATH, POLARIZATION)
Also, "Define Sentinel-1 SLC Scenes and Processing Parameters" part is as follows. I think there may be a problem at this part because I couldn't understand how can I set these parameters (subswath, etc.).
SCENES = ['S1A_IW_GRDH_1SDV_20190703T155937_20190703T160002_027955_03280F_DEA4',
'S1A_IW_GRDH_1SDV_20200709T155944_20200709T160009_033380_03DE13_1EEF',
'S1A_IW_GRDH_1SDV_20210704T155949_20210704T160014_038630_048EEC_F2B2',
'S1A_IW_GRDH_1SDV_20220723T155957_20220723T160022_044230_05476D_EEAB',
'S1A_IW_SLC__1SDV_20230706T155959_20230706T160026_049305_05EDC1_AD0D']
SUBSWATH = 1
POLARIZATION = 'VV'
REFERENCE    = '2021-10-07'
WORKDIR      = 'raw_stack'
DATADIR      = 'raw_orig'
BASEDAYS     = 100
BASEMETERS   = 150
Log file
Attach a log file output from your terminal.
remotezip.RemoteIOError: 404 Client Error: NOT FOUND for url: https://datapool.asf.alaska.edu/SLC/SA/S1A_IW_GRDH_1SDV_20200709T155944_20200709T160009_033380_03DE13_1EEF.zip
"""
The above exception was the direct cause of the following exception:
RemoteIOError                             Traceback (most recent call last)
 in <cell line: 3>()
1 # download required polarization and subswaths only
2 asf = ASF(username, password)
----> 3 asf.download(DATADIR, SCENES, SUBSWATH, POLARIZATION)
6 frames
/usr/local/lib/python3.10/dist-packages/joblib/parallel.py in _return_or_raise(self)
752         try:
753             if self.status == TASK_ERROR:
--> 754                 raise self._result
755             return self._result
756         finally:
RemoteIOError: 404 Client Error: NOT FOUND for url: https://datapool.asf.alaska.edu/SLC/SA/S1A_IW_GRDH_1SDV_20200709T155944_20200709T160009_033380_03DE13_1EEF.zip
Screenshot
If applicable, attach a Screenshot to help us understand your case

[Please note that if no new responses are made over six months from users, the issue will get closed]
[Also if this is a general question that's not particlarly related to GMTSAR, such as "how to correct atmospheric noise" or "how to intepret my interferogram", consider using the discussions page]

You replaced the original SLC scenes by GRD products. You need to select SLC scenes for InSAR processing.

You replaced the original SLC scenes by GRD products. You need to select SLC scenes for InSAR processing.

Yes, I replaced them with SLC sences and problem solved. However, I am getting another error at the SBAS Baseline line as follows.

KeyError                                  Traceback (most recent call last)
 in <cell line: 1>()
----> 1 baseline_pairs = sbas.baseline_pairs(days=BASEDAYS, meters=BASEMETERS)
2 baseline_pairs
3 frames
/usr/local/lib/python3.10/dist-packages/pandas/core/generic.py in _get_label_or_level_values(self, key, axis)
1842             values = self.axes[axis].get_level_values(key)._values
1843         else:
-> 1844             raise KeyError(key)
1845
1846         # Check for duplicates
KeyError: 'ref_date'
I am not sure about how can I select the following parameters (BASEDAYS and BASEMETERS).
SCENES = ['S1A_IW_SLC__1SDV_20190703T155936_20190703T160002_027955_03280F_7A00',
'S1A_IW_SLC__1SDV_20200709T155942_20200709T160009_033380_03DE13_6BE3',
'S1B_IW_SLC__1SDV_20210710T155906_20210710T155932_027734_034F4D_3658',
'S1A_IW_SLC__1SDV_20220723T155955_20220723T160022_044230_05476D_C9E5',
'S1A_IW_SLC__1SDV_20230718T160000_20230718T160027_049480_05F324_473C']
SUBSWATH = 1
POLARIZATION = 'VV'
REFERENCE    = '2021-07-10'
WORKDIR      = 'raw_stack'
DATADIR      = 'raw_orig'
BASEDAYS     = 100
BASEMETERS   = 150

Using SLC scenes has solved the problem. Thank you.


remove community.docker from requirements.yml

Proposed feature
maybe add a command in tox.ini before "molecule converge" to install this collection
Rationale
this is no role dependency. this is a dependency needed only by molecule / lower ansible versions.
Additional context
No response

molecule does not like empty requirements.yml.
will maybe fix in future when transitioning from cookiecutter to all-repos/ansible w/ dockerfile like robertdebock. huge maybe
ansible_compat.errors.InvalidPrerequisiteError: requirements.yml file is not a valid Ansible requirements file.


Pagination bug?

I found this special issues during my tests with IPv4 and domains data using Hugo as site generator.
Categories = ["<IP_ADDRESS>"]
Such IPv4 like category name will have such link to second page.
Tested on 0.14, 0.15, 0.16, 0.17 versions of Hugo.
/categories/127.0.0/index.1/page/2/
Сonfig file includes these options:
preserveTaxonomyNames = true
uglyURLs = false
disablePathToLower = true
With such category
Categories = ["ns1.someverynicewebhostingservice.com."]
Hugo will produce this such link to second page.
/categories/ns1.someverynicewebhostingservice.com/index./page/2/
NS server was extracted from ns lookup with that dot at the end.
It looks like there is some bug related to dots in category names.

I have forgotten to add that these links are 404. That is the issue.
But all generated files looks normal and they are located in right places on disk.

Duplicates #1885


Issues Template

Place holder issue for discussing what this template should look like. #1

Are these issues meant to describe new content requests, bugs, or both?
For content/ feature requests, I think people should just file PRs, since someone put effort into making this repo very easy to contribute to.
For bugs, the template could look something like:
Issue
Steps to reproduce
Expected behavior
Actual Results
Visual

@dwarrier sure, could be whatever we want. Idea behind the template, is to pre-populate/scaffold out git issues with the same look/feel as well as a "questionnaire" to make sure everything is got. :)


⚠ MineVN Website has degraded performance

In 2fc55ad, MineVN Website (http://minevn.net) experienced degraded performance:

HTTP code: 200
Response time: 26948 ms

Resolved: MineVN Website performance has improved in 8851f96.


Oracle removed Java 9 from downloads

So let's use a 1-2 digit as a pattern instead of a hardcoded
number

Java 9 I believe is deprecated now.

@steenzout exactly, so this merge is about removing the hardcoded 9 from the role.


Fix rdom-canvas README hiccup package link

It pointed to the root /packages but it seems the intent is to have it as /packages/hiccup

Thank you very much, @Firfi! 👍


Position persistence and sane clamping to still-available monitors for Windows

Closes https://github.com/emilk/egui/issues/1469.
Doesn't know where the task bar is, and that doesn't seem to be available in winit, so clamping vertically may result in some of the window being behind it.

Nice with this fix, but the code needs cleanup.
Have you tested it with pixels_per_point != 1 ?

That's a good point, I have not. I'll give it a look soon.

Nice with this fix, but the code needs cleanup.
Have you tested it with pixels_per_point != 1 ?

That's a good point, I have not. I'll give it a look soon.

I have tested this on a display with resolution scaling applied. I had already done that, but was second guessing that I had done it properly.


Freebie Mode Lock

Submitter: M

When toggling Freebie mode on, if I add an additional merit the program refuses to go back to normal mode limiting black dot changes.
I also noticed a bug where I couldn't add back a discipline when I deleted one on accident.
I hope this helps out your project, keep up the good work!

Part 1 is intended usage, although I'd like to fix how this works in the future so it's more intuitive. Or at least explain that it's supposed to work this way.
Part 2 is a potential bug that I'll look into.


unable to create sample dns record.

Terraform Version
Run terraform -v to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.
Namecheap provider version
Terraform v1.5.7
on darwin_arm64

provider registry.terraform.io/hashicorp/http v3.4.1
provider registry.terraform.io/namecheap/namecheap v2.1.2

Affected Resource(s)
Please list the resources as a list, for example:

namecheap_domain_records

Terraform Configuration Files
terraform {
  required_providers {
    namecheap = {
      source  = "namecheap/namecheap"
      version = ">= 2.0.0"
    }
    http = {
      source  = "hashicorp/http"
      version = ">= 3.4.0"
    }
  }
}

provider "namecheap" {
  user_name   = "...."
  api_user    = "...."
  api_key     = "...."
  client_ip   = data.http.public_ip.response_body
  use_sandbox = false
}

data "http" "public_ip" {
  url = "https://ifconfig.co/json"
  request_headers = {
    Accept = "application/json"
  }
}

resource "namecheap_domain_records" "domain_io" {
  domain = "domain.io"
  mode   = "MERGE"

  record {
    hostname = "dev"
    type     = "A"
    address  = "<IP_ADDRESS>"
  }
}

Debug Output
https://gist.github.com/madelaney/51953e135fed33cddde6fd7f511fe924
Panic Output
If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the crash.log.
Expected Behavior
I would have expected a new DNS A record to be created.
Actual Behavior
An error was thrown
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:

terraform init
terraform apply

This was a user error. The value for address was incorrecet.


change the year of copyright

Ⅰ. Describe what this PR does
update YEAR of copyright
Ⅱ. Does this pull request fix one issue?

fixes #XXXX
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

/lgtm


asgiref~=1.1.2

Hi, I have this issue with channels 2
asgi-rabbitmq 0.5.5 has requirement asgiref~=1.1.2, but you'll have asgiref 2.3.0 which is incompatible.

same over here

Well I had the same error as well, fixed by uninstalling asgiref and reinstalling it again.


Erro ao instalar no WebStorm 2019.2

Seguindo os dizeres de INSTALL.md  tentei instalar e apareceu o seguinte erro.

OBS: Usei o arquivo disponível para download em INSTALL.md
Versão WebStorm 2019.2

Hey, @Brunowilliang
The incompatibility problem is being solved by @Mayconsgs
It will soon be resolved

Seguindo os dizeres de INSTALL.md tentei instalar e apareceu o seguinte erro.
OBS: Usei o arquivo disponível para download em INSTALL.md
Versão WebStorm 2019.2

Track the problem #9

Ok, tranks

Hey @Brunowilliang , this problem is similar to problem #8. And as @breno-felipe said, it is already being solved.
Soon the next version of the plugin will be available, and the problem will probably be solved.

Just a quick note: when contributing to the project, refrain from using any other language than English 💜

I think we can close this issue. What do you think, @Mayconsgs?

Got it, I'll test it again, I'll tell you

Yes, let's wrap up. I will generate a new version of the plugin and update the installation file.
Sorry for the delay, I had to pay extra attention to some college projects.

With the problem reported and the correction made, I will close this problem

Hey @Brunowilliang, the latest version is now available. Just download the file Omni.Theme-x.x.x.zip, and follow the Activating theme steps as usual.
I did everything I could to correct this problem. If it persists, I recommend that you update your development tool.
The installation file is already being updated to the new format.


Shadow Toggle for Candidate

Closes #15

On the fence as to whether or not this is useful or just confusing.


[QUESTION] Unable to export PDF

Hello,
I'm trying to export a PDF using mPDF. On my development server this works fine. I'm able to export as expected. On my production server, I get the following:

I am able to export Excel no problem. It just happens with a PDF export. I've tried debugging this the best I can. I've checked the php configuration; everything looks the same. I cannot find what would throw this error. Does anyone know why I would not be able to export out a PDF? I'm out of ideas here.
Thank you for any help you might be able to provide.

Hi @codebykyle
Not sure what your development environment is, or any technical detail so i'll just make a stab in the dark for you: can you try using something like POSTMAN or Insomnia (https://insomnia.rest/) to make a request to an endpoint you'd expect to see the PDF come back from -- you could for example build a temporary route / endpoint to get the PDF data, put that URI into insomnia or postman and post or get request - you'll see all the data come back in raw format along with headers in an easy to digest way.
If you can do that and let me see some screenshots or some of the raw data as a paste / gist i'll be able to help you some more

Hey @TakesTheBiscuit
Thanks a bunch for the reply. I'm using an AWS Lightsail Bitnami LEMP stack instance as production, and Laravel Homestead as a dev server. The AWS instance runs php 5.6.30 -- the homestead dev env runs a newer version of PHP. Beyond that, they should be near identical. I am not able to get it to actually dump out any error information other than it is a 500 error code. Chrome produces no information other than an ERR_INVALID_RESPONSE.
Testing it in postman I just get a blank 500 error. Internet explorer, the only thing I can get any information out of (ugh!) produces the same result. Which information specifically can I go about getting about the error?

The only difference between the two exports is one is a PDF format, and the other is Excel:
In the case of PDF: pdf is passed to download, in the case of excel, xlsx
        $export = $timeExport->setDocumentDetails($documentDetails)
                   ->setUserDetails($userDetails)
                   ->setFormalData($cpdRecords)
                   ->export();

        if ($method === 'print') {
            return response()->json($export->string('html'));
        } else {
            return $export->download($method);
        }

Export function:

    /**
     * @return mixed
     */
    public function export()
    {
        return Excel::create($this->getFileName(), function (LaravelExcelWriter $excel) {
            $excel->sheet($this->getSheetName(), function (LaravelExcelWorksheet $sheet) {
                 ...various generation/styling code
            });
        });
    }

I resolved this. I had a permissions error on a file in mpdf.
specifically, vendor/mpdf/mpdf/classes/ttfontsuni.php:1264
a simple chown fixed this.
Thank you for your help!

@codebykyle can you say how you did it (specifically) ?
please

@Thanks a lot for your time, but don't work for me, i have the same problem yet "/

If its a permissions issue, make sure you are providing the correct permissions to whichever account is running apache or nginx. Thats how I fixed this. It might not be www-data for you, maybe

I would normally let composer set permissions - who/which account do you run composer as?


Send long bytes  twice

Describe the bug
send long bytes twice but throw BleAlreadyConnectedException
To Reproduce
Steps to reproduce the behavior:

Go to LongwriteActivity
Click on SendButton
Click on SendButton Again
See error   throw BleAlreadyConnectedException

Expected behavior
not throw BleAlreadyConnectedException
Logs from the application when bug occurs (this will greatly help in quick understanding the problem)
To turn on logs use:
observable = bleDevice.establishConnection(true);
flatMap = observable.flatMap(rxBleConnection -> rxBleConnection.createNewLongWriteBuilder()
                                                .setCharacteristicUuid(characteristicUuid) // required or the .setCharacteristic()
                                                // .setCharacteristic() alternative if you have a specific BluetoothGattCharacteristic
                                                .setBytes(bytesToWrite)
                                                // .setWriteOperationRetryStrategy(retryStrategy) // if you'd like to retry batch write operations on failure, provide your own retry strategy
                                                // .setMaxBatchSize(maxBatchSize) // optional -> default 20 or current MTU
                                                // .setWriteOperationAckStrategy(ackStrategy) // optional to postpone writing next batch
                                                .build()
                                        );
 flatMap.subscribe(
                        byteArray -> {
                            // Written data.
                            Log.d("Longwrite", "bytes.length = " + byteArray.length);
                        },
                        throwable -> {
                            // Handle an error here.
                            Log.d("Longwrite", "throwable.getMessage()" + throwable.getMessage());
                        }
                );

// please paste the logs here

Additional context

Hello @wudouxingjun
Thanks for using the library. Since LongWriteExampleActivity does not have any layout set — how did you wire that activity? The code you pasted is from Readme, not the activity.
Would typical resolutions work for you?

Closing due to lack of information and inactivity of the original poster.
When more data will be available—feel free to add that information and reopen this issue.
Best Regards


feat: if a required security length is not reached, provide the one which fullfills the requirement

Is your feature request related to a problem? Please describe.
It may be the case i expect to have a certain security level measured in bits and wardstone gets to know this somehow. Now i want that my application uses a certain cryptographic primitive, or it uses one which i actually do not see in the haystack. Now this primitive is not good enough for my expected security level, then it would be nice if wardstone could point me to a similar primitive which enables this.
Describe the solution you'd like
if i tell wardstone i want to have 200 Bits of security but i have not seen that AES-192 is chosen as a primitive, then it would be nice, if configured in that way via a parameter (either environment variable or on the stack) that wardstone tells me something like, this is too short for your required length, but there's AES-256 which fullfills that and can be chosen from the NIST standard.
This will not work in all cases and may be to complex to map though.
Describe alternatives you've considered
One alternative is, that wardstone returns all primitives which are better, if a certain condition is set, but this seems overwhelming.
Additional context
We have to see if this is too complex to implement, and if the standards give enough room to actually choose from or if the standards for AES for example actually allow in combination with their other operations (blockmodi e.g.) actually allow this at all.

Let's do an example:
The user wants to have 120 Bits of Security, and he uses a cryptographic library which has primitives with 80, 110, 120, 192 and 256 Bits of Security and the standard XYZ he adheres to allows the following Bits of Security: 110, 120 and 256.
Now we have two cases:

The user actually uses a primitive which only has 80 Bits of Security, then it is outside the range of the standard and an error should be returned, which suggests using a crypto primitive which has 120 Bits of Security. The error or notification should also note that the current security level is not compatible with the standard.

The user uses a cryptographic primitive which has 110 Bits of Security but wants 120 Bits of security. This is within the range of the standard, but as the users wants to have a higher level of security, he should get a message/notification, which says, yes this is within the standard, but it does not meet your expectation of security, but another primitive would called AES128 (for example) would enable that.

If the user wants 120 Bits of Security, but uses a primitive which has 128 Bits of Security, than there has to be no error or notification.

This of course would mean that the required level of security bits has to be given to the library, IF the user cares about it. If the users does not care about the actual level of security, this parameter can be null or not used. As long as the documentation is clear about it i am fine with both implementations.

@denknorr, I think the following snippet would cover all the cases you mentioned. Can you confirm?
https://github.com/tshakalekholoane/wardstone/blob/3e84449cb38e4de7d98b08d774a775647777a620/src/standards/nist.rs#L75-L94
The screenshots from the standard for reference (the cutoff for security less than 128 bits is 2030).

Supported hash functions and their strengths (for collision resistance).

Yes, that looks well.


BUGFIX: Add missing recording of close of stand-by task

Adds recording of close of a stand-by task to the task-closed metric
Adds unit tests to verify the recording

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Call for review @mjsax @ableegoldman @vvcephei @bbejeck @guozhangwang @abbccdda

Java 11 failed: Seems to be a general problem since all other builds on jenkins also failed with same error.

retest this please

Thanks @cadonna!

Merged #6663 into trunk


Updates default request library

This PR updates DEFAULT_REQUEST_LIBRARY to reqwest to address #37 and also sets the default request library version

Hey @ajyey, thank you for your contribution. Would you mind rebasing this PR on the latest main? We recently fixed an issue that caused the GitHub action workflows to not run on forked PRs, but on the latest main they should now exist.

Hey @ajyey, thank you for your contribution. Would you mind rebasing this PR on the latest main? We recently fixed an issue that caused the GitHub action workflows to not run on forked PRs, but on the latest main they should now exist.

No problem. Done 👍

Hey @ajyey, apologies for the delay here. Could you please rebase onto the latest main so we can try and make your pipeline pass. Thanks!

/ok-to-test sha=8f6e1dc

/ok-to-test sha= 8f6e1dc

/ok-to-test sha=8f6e1dc

/ok-to-test sha=4f307bf

The integration tests were successful for this forked branch as it can be noted from the last check of this PR! Merging now.


cargo metadata JSON output parsed as yaml

I am wondering why the output of cargo metadata is parsed as yaml, whereas it is documented to be JSON, which I reproduced locally, also with --format-version=1 (cargo 1.76.0 (c84b36747 2024-01-18)).
The trigger for this question was that the dependency used to do the yaml parsing, yaml-rust, is since today flagged as unmaintained by RUSTSEC. Without the above code, the yaml-rust dependency could be declared optional under the yaml feature.

I would be happy to submit a PR that migrates to the recommended (yaml-rust2)[https://github.com/Ethiraric/yaml-rust2].

FYI the requirement for the yaml dependency comes from writing the snapshots as yaml

FYI the requirement for the yaml dependency comes from writing the snapshots as yaml

The above linked code location is the only one where yaml-rust is used for something else than writing yaml snapshots.

Closing this as non actionable. It's parsed as YAML as YAML is a superset of JSON and as such we avoid an extra dependency.

as YAML is a superset of JSON

I was not aware of that disturbing fact :+1:


No module named 'numpy.core._multiarray_umath'

Nuitka version:

$ bin/nuitka --version
<IP_ADDRESS>
Python: 3.8.6 (default, Sep 30 2020, 04:00:38)
Executable: /usr/bin/python
OS: Linux
Arch: x86_64

sample main.py:

import numpy as np
print("test")

execution:

$ python3 main.py
test

compilation:
nuitka --recurse-all --plugin-enable=pylint-warnings main.py
result when executing main.bin:

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/numpy/core/__init__.py", line 22, in <module numpy.core>
    from . import multiarray
  File "/usr/lib/python3.8/site-packages/numpy/core/multiarray.py", line 12, in <module numpy.core.multiarray>
    from . import overrides
  File "/usr/lib/python3.8/site-packages/numpy/core/overrides.py", line 7, in <module numpy.core.overrides>
    from numpy.core._multiarray_umath import (
ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/tmp/test/main.py", line 1, in <module>
    import numpy as np
  File "/usr/lib/python3.8/site-packages/numpy/__init__.py", line 140, in <module numpy>
    from . import core
  File "/usr/lib/python3.8/site-packages/numpy/core/__init__.py", line 48, in <module numpy.core>
    raise ImportError(msg)
ImportError:

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.

We have compiled some common reasons and troubleshooting tips at:

    https://numpy.org/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

  * The Python version is: Python3.8 from "/usr/bin/python"
  * The NumPy version is: "1.19.4"

and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.

Original error was: No module named 'numpy.core._multiarray_umath'

Any ideas how I can compile a executable using numpy (no standalone variant) and link with the mutiarray_umath extension library?
Thx for any feedback

The multiarray module is already part of the numpy library.
You need to enable the numpy plugin explicit as  "--plugin-enable=numpy" for a proper compilation.
Try this:
nuitka --recurse-all --plugin-enable=numpy --plugin-enable=pylint-warnings main.py

The multiarray module is already part of the numpy library.
You need to enable the numpy plugin explicit as "--plugin-enable=numpy" for a proper compilation.
Try this:
nuitka --recurse-all --plugin-enable=numpy --plugin-enable=pylint-warnings main.py

I have exactly the same problem, I was building a 32 bit application - and it works, but 64 bit does not.

The multiarray module is already part of the numpy library.
You need to enable the numpy plugin explicit as "--plugin-enable=numpy" for a proper compilation.
Try this:
nuitka --recurse-all --plugin-enable=numpy --plugin-enable=pylint-warnings main.py

I have exactly the same problem, I was building a 32 bit application - and it works, but 64 bit does not.

I found out that this works on version <IP_ADDRESS>, but not on factory or <IP_ADDRESS>

I really need to change the policy to enable plugins by default.
People never get that the missing plugin warning causes their issues, but this is a case of that.
Also, if you have another issue, please raise another issue, filling out the issue template. Putting your comments to something that seems similar is not helpful to me, because I don't want to interact on different things in one issue.

I really need to change the policy to enable plugins by default.
People never get that the missing plugin warning causes their issues, but this is a case of that.
Also, if you have another issue, please raise another issue, filling out the issue template. Putting your comments to something that seems similar is not helpful to me, because I don't want to interact on different things in one issue.

this is a bug not related to plugin import, it just doesn't work with numpy in newer versions. this error is only in 64bit build on factory or version 6.9.7

In the issue text itself it doesn't say so @Pro100rus32 and if you have another issue like that, you need to raise a new issue, and it seems it would be good to specify the numpy version in that one. Like I said, I am not mixing issues, the one here was one of missing numpy plugin usage.


Additional resources

closes #14
All of the said things in #14 have been implemented, the only part I was unsure of was how to properly implement the ability to filter results based on fields and directions. Since I wasn't sure if viewedAt was the only field I sort of went with a regex to also make sure to support < >=, = symbols in the query param.
Let me know if you are happy with the above.

So I can't seem to find the missing in field that the linter is finding. Maybe I am blind, idk.

nvm, found it. Guess I was blind for a moment


Pie chart not shown for new user

For a newly registered user or a user who has not updated their profile with height, weight, sex and activity level fields, tdee cannot be calculated and pie chart does not render.
Suggestion:
Display a message or graphic in place of the pie chart prompting users to update the necessary fields

Why not update sign in form to reflect initial information. Collect info on ramp flow. Might make every other calculation simpler downstream.

That is a good idea. But I think it having this on the sign-up page might be better.

Future scope


feat(huffup): Host Huffup Script

Overview
The Huffup script needs to be hosted for installation. For example:
curl -L https://get.huff.sh | bash

Hosted at: https://get.huff.sh
Install with:
curl -L get.huff.sh | bash


Add swift-stdlib-build-type=Release to the

LLDB_Swift_DebugAssert_with_devices and
LLDB_Swift_ReleaseAssert_with_devices presets -
we don't need debug information in the stdlib
that we use when testing on-device.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

Any reason to not put this on master?

No, I can put it there too.  It's not important for what I'm working on right now, I just wanted to make sure it was landed somewhere before I lost track of the patch when I get back to this.


Set 10.0.0 alpha as development version

To deploy once the tarball is ready.
@jnweiger

@jnweiger please deploy as alpha is out

@jnweiger please review, merge then deploy

@crrodriguez @PVince81 : Linux packages in community testing are still 9.1.4~rc2


No place to input scaling

I use firefox with a scale factor of 1.5 to be able to read stuff, and I could not find in this script where to offset that. It assumes I'm using 1.0 and the tests are clicking at the wrong places.

You should be using two browsers. E.g. FF with CH, then Chrome for your daily surfing (or the other way around). AHK has a nasty tendency to "snag" focus if you are trying to use this bot in the same browser as you normally use.

Well, I didn't have anything else open. It's just that since I use 3840x2160, I also prefer to have everything scaled by 150% and that means that even on clickerheroes.com, the script misses. I can only input the distance from the top, but since my clickerheroes frame is scaled by 150% that doesn't fit the rest of the script. ctrl+alt+F1 misses and ctrl+alt+F2 swiches to clans and then to stats, not as intended.

Right, so you have everything scaled up. I can't really test anything here for another 10-11 days. Might sound strange, but I'm currently on a deep run to 4725 and don't want to do anything that would risk my 13114Kx Jugg combo.
What you could try on your side, is to manually set the aspectRatio variable in the ch_bot_lib.ahk file and see if that works. Try set it to 1.5 and see what happens.

I'll try that.

Did the aspectRatio setting help you?

I haven't had the time to test it yet, but I will tonight.

Sadly, that didn't work. The only thing that is even remotely successful is re-scaling the clickerheroes tab using nosquint, and that makes the test passable. However, since it has no setting for 66.66%, but only 70% I see clickstorm never used and the skills are not following the standard "123457869 wait 15 min 89123457" pattern for max dark ritual use. The tests for finding images all fail and the clicker effect is clicking in small bursts, like one to three per second, which is quite slow. I assume all these weird things are due to a lot of stuff being out of place due to the scaling.

To bad that didn't help. Thought it might since it works really well when re-sizing the Steam client from super small up to full screen.
The combo used is a setting you can change. See the bottom of the bot settings file. All pre-defined combos use DR, but only "comboEDR" tries to maximize it. Only reason you would want to run that combo, is for deep runs longer than 8-9 hours. See this test.
Clickstorm is only used in "comboStart" since all other combos are supposed to be used for either deep runs or in shorter hybrid runs when using the external clicker script. This script is clicking at a rate around 38-39 CPS (depending on your computer). It throttles clicks down when you hover over the CH window with your mouse.
I would doubt you getting the image recognition to work unless you run in default size. It's exact image matching. Just 1 pixel off with make it fail. The only thing it accepts is slight color differences.


how to use this with carthage file

I am getting this error while i'm trying to update my cart file.
Parse error: invalid GitHub repository identifier "PasswordTextField"
Please clarify .

github "PiXeL16/PasswordTextField" should work. No?

Yeah its working...👍🏻

Nice to hear that. Closing for now, Let me know if you have any more issues!


Error: No such object: node1

when I use the start.sh to run the network,it will be Error: No such object: node1

@ShallMate  can you give more details?

which branch do you use?
which environment? OS?
command to reproduce? demo/start.sh or docker/start.sh
Again, can you come to Fantom's Discord for faster discussions?


Feature Request (missing/incomplete docs): Application Configuration

Type(/-s) of missing documentation

[x] Explanation of a concept
[X] Tutorial for achieving a task with the Telestion ecosystem
[ ] Guide that explains how to use a specific tool in more detail
[ ] Reference to quickly look something up

Description of missing documentation
The overall explanation of the concept of our Application Configuration (config.json)
How to

configure the projection using the config.json
run the project using gradle

Additional comments
Should be a part of the beginner tutorials => waiting on #112

We should also add something like "prerequisites" like Java-16 or npm (put in some version) for instance...

Currently blocked by rapid development in this area (with RFC pending, etc.) => waiting for the implementation


Current State NULL - Error Fixes

Problem Description:
Current State becomes NULL during the collision scenarios
Root Cause:
Improper deallocation/deletion of procedure context(Temporary Data Block) in deallocateAllProcedureCtxts().
Scenario:
IMSI Attach Completed
UE Init Detach --> when Waiting for Delete Session and Purge Response
enb sends S1 Release Request--> MME incorrectly triggers S1 Release procedure,
when waiting for RAB Release, UE sends GUTI attach. Guti attach completes, then enb sends s1 release request
Observations:
S1_release Collision wasn't handled in detach, as a result of which MME incorrectly triggered S1 Release procedure.
When GUTI Attach collision occurred during s1_release_wf_rab_response, in abort_s1_release --> MmeContextManagerUtils::deleteUEContext(cb.getCBIndex(), false);
was invoked.
Here , we retained the CB and deleted the UE Context.
In deleteUEContext()--> deallocateAllProcedureCtxts(*cb_p) was invoked in which we surrendered the memory of procCtxt(TDB) without removing it from the CB,
unlike the deallocateProcedureCtxt() which had cb_r.removeTempDataBlock(procedure_p) followed by deleteProcedureCtxt(procedure_p).
This resulted in CB having a TDB (MmeDetachProcedureCtxt) with its data (Current State and next) set to NULL.
Solution:
s1_release_req collision is handled in detach.
deallocateAllProcedureCtxts() is modified such that it invokes deallocateProcedureCtxt(),
which has cb_r.removeTempDataBlock(procedure_p) followed by deleteProcedureCtxt(procedure_p).

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

PFA the logs and PCAPs with and without fix.
current_state_null_PCAPs.zip
current_state_null_with_fix_logs.txt
current_state_null_wo_fix_logs.txt

add to whitelist

retest this please


README verbiage

README.md:

The recommended way to install the Debug Toolbar is via pip:

Debug Toolbar, should’t that be Admin Enhancer?

Also, this addon saved my day. Thanks!
Speaking of, if I'm reading the tickets correctly, ticket #13163 and #13165 have finally been fixed (after 5 years)! :+1:
Looks like Django 1.8 will have the fix. In the meantime, this plugin will really save some headache. Again, thank you!

Debug Toolbar, should’t that be Admin Enhancer?

Oops that's an embarrassing copy-paste :)

Also, this addon saved my day. Thanks!

Speaking of, if I'm reading the tickets correctly, ticket #13163 and #13165 have finally been fixed (after 5 years)! :+1:

Looks like Django 1.8 will have the fix. In the meantime, this plugin will really save some headache. Again, thank you!

Yes I managed to get things done before the Django 1.8 alpha release django/django@07988744b347302925bc6cc66511e34224db55ab.
I'll keep this ticket open until I find time to reword the README. I'm also planing to port it to Django 1.7.
I'm glad this package saved you some time!

Oops that's an embarrassing copy-paste :)

Oh! No worries, I do that all the time.

Yes I managed to get things done before the Django 1.8 alpha release django/django@0798874.

Oh, I did not realize you were the one that patched things! Thank you so much for the addition(s)! :+1: :octocat:

I'm also planing to port it to Django 1.7.

Oh, I'm actually using admin-enhancer with Python3.4.x, Django 1.7.2 (django-admin-enhancer <IP_ADDRESS>). I have not noticed any issues so far. Is there anything I should be looking out for?
Also, when Django comes out with this feature built-in, what will be the process for transitioning? I would imagine it'd be as simple as removing admin enhancer from the mixins and installed apps (and removing any collect static assets)?

I'll keep this ticket open until I find time to reword the README.

Let me know if you need any help.

I'm glad this package saved you some time!

Yes, thank you so much!

I fixed the README and added CI testing against Py3.
It's flaky at best on TravisCI's infrastructure but I've spent a couple of hours trying to get the build to pass. Failures seems to be related to Selenium support there. It's hard to tell what's wrong since the whole tox build passes on my local machine.
Feel free to submit a PR with the required changes in tests to make them past on Travis.

Thank you for all the hard work @charettes! The community owes you some :beers:! :octocat:


Add argparse "--dtype" for evaluator.simple_evaluate()

Hi @StellaAthena
I added the argparse "--dtype" to the main.py and pass it to evaluator.simple_evaluate() to specify precision.
the reasons is following.

I would like to base this repo to demo the int8 model generated by neural-compressor and intel-extension-for-transformers accuracy ,  “--dtype” can be needed to distinguish data type. here is the code I want to use.

from lm_eval import evalator, task
results = evaluator.simple_evaluate(
    model=args.model_dtype,
    model_args="pretrained=decapoda-research/llama-7b-hf",
    tasks=task_names,
    num_fewshot=args.num_fewshot,
    batch_size=args.batch_size,
    device=args.device,
    no_cache=args.no_cache,
    limit=args.limit,
    description_dict=description_dict,
    decontamination_ngrams_path=args.decontamination_ngrams_path,
    check_integrity=args.check_integrity,
    dtype = args.dtype,
        )

Although the torch_dtype is "float16" in config.json, data type can be specified through "--dtype"
example command:

python main.py \
    --model hf-causal \
    --model_args pretrained=decapoda-research/llama-7b-hf \
    --dtype bfloat16
    --tasks piqa \
    --device cpu \
    --output llama-7b/lambada-bfloat16-results.json \
    --no_cache \

Could you approve the request?

We can absolutely document this better, but as Jon said it’s already implemented at the model level. It’s important to implement this at the model level because not all model APIs support it or support it in the same way.

thanks, got it.

Hi all,
Thanks for the amazing framework. I have a question regarding dtype here. I am trying to run as suggested by @jon-tow and get the following error:
time python main.py --model hf-causal --model_args dtype="bfloat16",pretrained=decapoda-research/llama-7b-hf --tasks hellaswag

Traceback (most recent call last):
  File "/home/ubuntu/lm-evaluation-harness/main.py", line 108, in <module>
    main()
  File "/home/ubuntu/lm-evaluation-harness/main.py", line 79, in main
    results = evaluator.simple_evaluate(
  File "/home/ubuntu/lm-evaluation-harness/lm_eval/utils.py", line 182, in _wrapper
    return fn(*args, **kwargs)
  File "/home/ubuntu/lm-evaluation-harness/lm_eval/evaluator.py", line 64, in simple_evaluate
    lm = lm_eval.models.get_model(model).create_from_arg_string(
  File "/home/ubuntu/lm-evaluation-harness/lm_eval/base.py", line 115, in create_from_arg_string
    return cls(**args, **args2)
TypeError: __init__() got an unexpected keyword argument 'dtype'

I have tried using python 3.8, 3.9 and 3.10. Python3.8 does not install the dependences and the other two options give me the error above. Am I missing some config?
Thanks!

Hi all,
Thanks for the amazing framework. I have a question regarding dtype here. I am trying to run as suggested by @jon-tow and get the following error:
time python main.py --model hf-causal --model_args dtype="bfloat16",pretrained=decapoda-research/llama-7b-hf --tasks hellaswag

Traceback (most recent call last):
  File "/home/ubuntu/lm-evaluation-harness/main.py", line 108, in <module>
    main()
  File "/home/ubuntu/lm-evaluation-harness/main.py", line 79, in main
    results = evaluator.simple_evaluate(
  File "/home/ubuntu/lm-evaluation-harness/lm_eval/utils.py", line 182, in _wrapper
    return fn(*args, **kwargs)
  File "/home/ubuntu/lm-evaluation-harness/lm_eval/evaluator.py", line 64, in simple_evaluate
    lm = lm_eval.models.get_model(model).create_from_arg_string(
  File "/home/ubuntu/lm-evaluation-harness/lm_eval/base.py", line 115, in create_from_arg_string
    return cls(**args, **args2)
TypeError: __init__() got an unexpected keyword argument 'dtype'

I have tried using python 3.8, 3.9 and 3.10. Python3.8 does not install the dependences and the other two options give me the error above. Am I missing some config?
Thanks!

Try using hf-causal-experimental instead of hf-causal.

Amazing, @StellaAthena. Thanks for the quick reply. bfloat worked well with hf-causal-experimental.


Fix Issues 887

Fix Issue https://github.com/alibaba/fastjson/issues/887

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.wsq温斯群 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.

不通过这种方式支持，我的解法是不使用asm实现。


Bump Kubernetes client libraries (patch version update only)

Bump Kubernetes client libraries only. Quite similar to https://github.com/istio/istio/pull/24399, but without changes in pilot/pkg/leaderelection/leaderelection.go.
[ ] Configuration Infrastructure
[ ] Docs
[x] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@howardjohn What are your thoughts on this? It's a Kubernetes patch release, so it shouldn't have any breaking changes, that said, I'm not sure what to look for here.

I am fine with it if we have a good reason, but this PR does not provide one

@elfinhe: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio_release-1.6
cf3097c796be548adb689aba00327f11ebc1c1cf
link
/test unit-tests_istio_release-1.6

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@elfinhe Can you please update the PR description with reasoning for why this is needed?

@elfinhe Can you please update the PR description with reasoning for why this is needed?

This will include fixes and improvements  in https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.18.md#changelog-since-v1182.

We haven't yet seen impact from those bugs to Istio directly. But staying with the first version of v0.18 (v0.18.0) may not be a good idea.

I disagree. Its much higher risk to update now, we have no known bugs and
we have done extensive testing of 1.6 already; patch releases get minimal
testing in comparison.
On Mon, Jun 15, 2020 at 1:42 PM Tao HE<EMAIL_ADDRESS>wrote:

We haven't yet seen impact from those bugs to Istio directly. But staying
with the first version of v0.18 (v0.18.0) may not be a good idea.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/24685#issuecomment-644378220, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXO36SPYL5JA7TJJN3TRW2BURANCNFSM4N6OSLDA
.


inverted black & white in some png encodings

For instance in https://iiif.bdrc.io/bdr:I1PD9238::I1PD92380004.tif/full/max/0/default.png original tiff
I1PD92380004.zip

perhaps this piece of code will help:
https://github.com/PyFPDF/fpdf2/blob/35d8e7a6cd5927a87f2e04930b236ab573b8249e/fpdf/image_parsing.py#L417
there seems to be two parameters that drive this:

fillorder
photometric interpretation


relocate vtor to 0x0 -> 0x20002200 0x20002200

Sometimes Putty notify relocate vtor to 0x0 -> 0x20002200 0x20002200
I dont know what happens, thanks!

Hi @crisgplj,
That's because the debug messages were turned on by default:
https://github.com/lancaster-university/microbit-v2-samples/blob/v0.2.12/codal.json#L11-L13
If you remove those lines from codal.json, or pull the latest updates from https://github.com/lancaster-university/microbit-v2-samples, it should no longer print those messages to the serial.

Oh thanks you!

You're welcomed!
I'll close this as resolved, but don't hesitate to ask if you have any other questions 👍


No LuaRocks module found for fb.torch.async_rng

I have followed instructions in INSTALL.md by @soumith and was able to install torch locally then I use https://github.com/facebook/fblualib/blob/master/install_all.sh to install Folly, fbthrift, thpp and fblualib. As I was running into trouble similar to issue 11 from thpp and the continued to install fbcunn. After wich i require fbnn and fbcunn in torch and it throughs error No LuaRocks module found for fb.torch.async_rng
th> require 'fbnn'
/home/dime/torch/install/share/lua/5.1/trepl/init.lua:384: /home/dime/torch/install/share/lua/5.1/trepl/init.lua:384: module 'fb.torch.async_rng' not found:No LuaRocks module found for fb.torch.async_rng
no field package.preload['fb.torch.async_rng']
no file '/home/dime/.luarocks/share/lua/5.1/fb/torch/async_rng.lua'
no file '/home/dime/.luarocks/share/lua/5.1/fb/torch/async_rng/init.lua'
no file '/home/dime/torch/install/share/lua/5.1/fb/torch/async_rng.lua'
no file '/home/dime/torch/install/share/lua/5.1/fb/torch/async_rng/init.lua'
no file './fb/torch/async_rng.lua'
no file '/home/dime/torch/install/share/luajit-2.1.0-beta1/fb/torch/async_rng.lua'
no file '/usr/local/share/lua/5.1/fb/torch/async_rng.lua'
no file '/usr/local/share/lua/5.1/fb/torch/async_rng/init.lua'
no file '/home/dime/.luarocks/lib/lua/5.1/fb/torch/async_rng.so'
no file '/home/dime/torch/install/lib/lua/5.1/fb/torch/async_rng.so'
no file '/home/dime/torch/install/lib/fb/torch/async_rng.so'
no file './fb/torch/async_rng.so'
no file '/usr/local/lib/lua/5.1/fb/torch/async_rng.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file '/home/dime/.luarocks/lib/lua/5.1/fb.so'
no file '/home/dime/torch/install/lib/lua/5.1/fb.so'
no file '/home/dime/torch/install/lib/fb.so'
no file './fb.so'
no file '/usr/local/lib/lua/5.1/fb.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'error'
/home/dime/torch/install/share/lua/5.1/trepl/init.lua:384: in function 'require'
[string "_RESULT={require 'fbnn'}"]:1: in main chunk
[C]: in function 'xpcall'
/home/dime/torch/install/share/lua/5.1/trepl/init.lua:651: in function 'repl'
...dime/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:199: in main chunk
[C]: at 0x00406670
[0.0817s]
th> fb 'fbcnn'
[string "_RESULT={fb 'fbcnn'}"]:1: attempt to call global 'fb' (a nil value)
stack traceback:
[string "_RESULT={fb 'fbcnn'}"]:1: in main chunk
[C]: in function 'xpcall'
/home/dime/torch/install/share/lua/5.1/trepl/init.lua:651: in function 'repl'
...dime/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:199: in main chunk
[C]: at 0x00406670
[0.0002s]
th>
I am not sure how to debug this further.
FYI I did have to install totem, nngraph and graph during fbtorch installation due to missing dependencies.

Facing same issue here. Please help.

I tried installing 'fb.torch' from fblualib to enable the module 'fb.torch.async_rng' and got the following error when I ran luarocks make rocks/fb_torch-0.1-1.rockspec
`In file included from /home/predible/torch/lib/fblualib/fblualib/torch/../../fblualib/LuaUtils.h:264:0,
from /home/predible/torch/lib/fblualib/fblualib/torch/AsyncRNG.cpp:11:
/home/predible/torch/lib/fblualib/fblualib/torch/../../fblualib/LuaUtils-inl.h: In instantiation of ‘void fblualib::luaPushTensor(lua_State*, const thpp::Tensor&) [with NT = float; lua_State = lua_State]’:
/home/predible/torch/lib/fblualib/fblualib/torch/AsyncRNG.cpp:165:30:   required from ‘int {anonymous}::AsyncRNG::pushBatch(lua_State*, size_t) [with T = float; lua_State = lua_State; size_t = long unsigned int]’
/home/predible/torch/lib/fblualib/fblualib/torch/AsyncRNG.cpp:544:1:   required from here
/home/predible/torch/lib/fblualib/fblualib/torch/../../fblualib/LuaUtils-inl.h:128:39: error: ‘const class thpp::Tensor’ has no member named ‘copyPtr’
luaPushTensor(L, tensor.copyPtr());
^
make[2]: *** [CMakeFiles/async_rng.dir/AsyncRNG.cpp.o] Error 1
make[1]: *** [CMakeFiles/async_rng.dir/all] Error 2
make: *** [all] Error 2
Error: Build error: Failed building.`

I think this issue is related to instaltion bug, as i had to use an alternate link to install torch and fblualib..

Can you post the alternate links over here?

Im facing the same issue. were you able to solve it @dhiren-rachamallu  ?

@abhishekkrthakur fbcunn does have a compile error right now. @ebetica is working on fixing it.
What's the reason you are trying to use the fb* stack, i might point you to an alternative.

@soumith I'm trying to use NAMAS. I think fbcunn isnt required for that. but I'm also facing errors while importing fbnn : module 'fb.torch.async_rng' not found:No LuaRocks module found for fb.torch.async_rng

oh i see. cc: @ebetica track and make sure NAMAS works. @abhishekkrthakur he should be fixing this once and for all this week. wrt fb.torc.async_rng , he'll look into that too.

I am having the same issue, trying to run NAMAS and get the same error with not being able to find  fb.torch.async_rng.  All the install and build steps, including torch, folly, thrift, thpp, fblualib, fbcunn, as outlined here (https://github.com/facebook/fbcunn/blob/master/INSTALL.md) with some modifications* went well with no issues.  Seems like part of the problem is in the fact that the version of fblualib that I checked out (see below) has no fblualib/torch/rockspec/.  Why is that?
*modifications: I just changed
curl -sk https://raw.githubusercontent.com/soumith/fblualib/master/install_all.sh | bash -e
to
curl -sk https://raw.githubusercontent.com/facebook/fblualib/master/install_all.sh | bash -e
as soumith's version was causing problems with thpp installation.  In short, in the facebook version of install_all.sh, these are the versions of repos that are checked out:
    git clone -b v0.35.0  --depth 1 https://github.com/facebook/folly
    git clone -b v0.24.0  --depth 1 https://github.com/facebook/fbthrift
    git clone -b v1.0 https://github.com/facebook/thpp
    git clone -b v1.0 https://github.com/facebook/fblualib

Now, I noticed that the v1.0 version of fblualib has fblualib/fblualib/torch but there is no rockspec in it, which is the problem. That is, fb.torch has been build but cannot be loaded in torch (try luajit -e "require('fb.trepl').repl()" and luajit -e "require('fb.torch').repl()" to see the difference).  If you try to build fblualib from this other version of the repo git clone https://github.com/facebook/fblualib (different than version 1.0), there exists rockspec under fblualib/fblualib/torch but you get these errors (some problem with the version of thpp I think):
me@mymachine:/tmp/fblualib-build.4tf1Ac/fblualib/fblualib$ ./build.sh
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Folly: /usr/local/include
-- Found Glog: /usr/include
-- Found Torch7 in /home/ubuntu/torch/install
-- Found Folly: /usr/local/include
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/fblualib-build.4tf1Ac/fblualib/fblualib/build
Scanning dependencies of target fblualib
[ 25%] Building CXX object CMakeFiles/fblualib.dir/LuaUtils.cpp.o
In file included from /tmp/fblualib-build.4tf1Ac/fblualib/fblualib/LuaUtils.cpp:11:0:
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils.h:99:40: error: ‘thpp::TensorPtr’ has not been declared
 void luaPushTensor(lua_State* L, thpp::TensorPtr<thpp::Tensor<NT>> tensor);
                                        ^
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils.h:99:49: error: expected ‘,’ or ‘...’ before ‘<’ token
 void luaPushTensor(lua_State* L, thpp::TensorPtr<thpp::Tensor<NT>> tensor);
                                                 ^
In file included from /tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils.h:264:0,
                 from /tmp/fblualib-build.4tf1Ac/fblualib/fblualib/LuaUtils.cpp:11:
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils-inl.h:122:40: error: ‘thpp::TensorPtr’ has not been declared
 void luaPushTensor(lua_State* L, thpp::TensorPtr<thpp::Tensor<T>> tensor) {
                                        ^
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils-inl.h:122:49: error: expected ‘,’ or ‘...’ before ‘<’ token
 void luaPushTensor(lua_State* L, thpp::TensorPtr<thpp::Tensor<T>> tensor) {
                                                 ^
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils-inl.h: In function ‘void fblualib::luaPushTensor(lua_State*, int)’:
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils-inl.h:123:21: error: ‘tensor’ was not declared in this scope
   luaT_pushudata(L, tensor.moveAsTH(), thpp::Tensor<T>::kLuaTypeName);
                     ^
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils-inl.h: At global scope:
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils-inl.h:263:6: error: ‘IsTensorPtr’ is not a member of ‘thpp’
     (thpp::IsTensorPtr<T>::value || thpp::IsStorage<T>::value)>::type>
      ^
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils-inl.h:263:26: error: ‘::value’ has not been declared
     (thpp::IsTensorPtr<T>::value || thpp::IsStorage<T>::value)>::type>
                          ^
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils-inl.h:263:37: error: ‘IsStorage’ is not a member of ‘thpp’
     (thpp::IsTensorPtr<T>::value || thpp::IsStorage<T>::value)>::type>
                                     ^
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils-inl.h:263:55: error: ‘::value’ has not been declared
     (thpp::IsTensorPtr<T>::value || thpp::IsStorage<T>::value)>::type>
                                                       ^
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils-inl.h:263:63: error: template argument 1 is invalid
     (thpp::IsTensorPtr<T>::value || thpp::IsStorage<T>::value)>::type>
                                                               ^
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils-inl.h:263:70: error: expected ‘(’ before ‘>’ token
     (thpp::IsTensorPtr<T>::value || thpp::IsStorage<T>::value)>::type>
                                                                      ^
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils-inl.h:263:70: error: template argument 2 is invalid
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils-inl.h:264:3: error: expected ‘::’ before ‘:’ token
   : public LuaOpBase<T, LuaOp<T>> {
   ^
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils-inl.h:264:3: error: expected identifier before ‘:’ token
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils-inl.h:264:3: error: qualified name does not name a class before ‘:’ token
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils-inl.h:264:3: error: expected ‘{’ before ‘:’ token
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils-inl.h:264:3: error: expected unqualified-id before ‘:’ token
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils-inl.h:282:27: error: ‘IsTensor’ is not a member of ‘thpp’
   typename std::enable_if<thpp::IsTensor<T>::value>::type>
                           ^
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils-inl.h:282:27: error: ‘IsTensor’ is not a member of ‘thpp’
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils-inl.h:282:43: error: template argument 1 is invalid
   typename std::enable_if<thpp::IsTensor<T>::value>::type>
                                           ^
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils-inl.h:282:51: error: expected ‘(’ before ‘>’ token
   typename std::enable_if<thpp::IsTensor<T>::value>::type>
                                                   ^
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils-inl.h:282:51: error: template argument 2 is invalid
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils-inl.h:282:54: error: expected ‘{’ or ‘:’ before ‘type’
   typename std::enable_if<thpp::IsTensor<T>::value>::type>
                                                      ^
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils-inl.h:282:54: error: expected ‘{’ before ‘type’
/tmp/fblualib-build.4tf1Ac/fblualib/fblualib/../fblualib/LuaUtils-inl.h:282:58: error: expected initializer before ‘>’ token
   typename std::enable_if<thpp::IsTensor<T>::value>::type>
                                                          ^
make[2]: *** [CMakeFiles/fblualib.dir/LuaUtils.cpp.o] Error 1
make[1]: *** [CMakeFiles/fblualib.dir/all] Error 2
make: *** [all] Error 2

By the way, the same issue exist with fb.python too.  It cannot be loaded in torch either, just like fb.torch.  rockspec exits in fblualib/pyhon!!  What is happening?!

Any updates on this?

Try this PR: https://github.com/facebook/fblualib/pull/70 it should fix the AsynRNG issue. Unfortunately I didn't get to test it on a old system like Ubuntu, but I got FBCUNN to build on master...

One question, seems like the install_all script has not been updated to clone the most recent versions of fblualib.
git clone -b v1.0 https://github.com/facebook/fblualib  should be replaced with git clone https://github.com/facebook/fblualib; correct?

I still get an error when building fblualib (the last step in install_all):
...
Scanning dependencies of target fblualib
[ 25%] Building CXX object CMakeFiles/fblualib.dir/LuaUtils.cpp.o
c++: error: unrecognized command line option ‘-std=gnu++14’
make[2]: *** [CMakeFiles/fblualib.dir/LuaUtils.cpp.o] Error 1
make[1]: *** [CMakeFiles/fblualib.dir/all] Error 2
make: *** [all] Error 2

:'-(

http://stackoverflow.com/questions/31965413/compile-c14-code-with-g
It looks like you need to use gnu++1y instead, since folly changed to c++14 on their master branch. Can you test it by modifying the cmake files?

I will try to modify the cmake files, but I may be able to upgrade.  But my other question was about which install_all should be used.  Soumith's version or Facebook's?
https://raw.githubusercontent.com/soumith/fblualib/master/install_all.sh  or https://raw.githubusercontent.com/facebook/fblualib/master/install_all.sh?
The cloned thpp and fblualib versions are different.

I don't have a good answer for that, because I don't have access to an older version of Ubuntu to test on. I confirmed that cloning the master branch of each repo definitely built on GCC 5.4 and GCC 6.1. I'll work on setting up a VM to test a fresh build on Ubuntu 16 when I get the chance, and update the install_all then.

Thanks a ton.  I'm waiting...

@jeiranj Were you able to install thpp using the versions you posted in your comment?

not yet.  I am testing things with ubuntu16 now, but there is some cuda issues which I have to yet solve.

Tried to compile fblualib master after modifying the gnu++ option with c++1y on ubuntu 14.04
sed -i "s/gnu++14/c++1y/" build/CMakeFiles/fblualib.dir/flags.make
sed -i "s/gnu++14/c++1y/" thrift/CMakeLists.txt
sed -i "s/gnu++14/c++1y/" CMakeLists.txt
sed -i "s/gnu++14/c++1y/" util/CMakeLists.txt
sed -i "s/gnu++14/c++1y/" build/CMakeFiles/fblualib.dir/link.txt

failed to compile with
In file included from /home/ubuntu/fblualib/fblualib/LuaUtils.cpp:11:0:
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils.h:99:40: error: 'thpp::TensorPtr' has not been declared
 void luaPushTensor(lua_State* L, thpp::TensorPtr<thpp::Tensor<NT>> tensor);
                                        ^
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils.h:99:49: error: expected ',' or '...' before '<' token
 void luaPushTensor(lua_State* L, thpp::TensorPtr<thpp::Tensor<NT>> tensor);
                                                 ^
In file included from /home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils.h:264:0,
                 from /home/ubuntu/fblualib/fblualib/LuaUtils.cpp:11:
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils-inl.h:122:40: error: 'thpp::TensorPtr' has not been declared
 void luaPushTensor(lua_State* L, thpp::TensorPtr<thpp::Tensor<T>> tensor) {
                                        ^
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils-inl.h:122:49: error: expected ',' or '...' before '<' token
 void luaPushTensor(lua_State* L, thpp::TensorPtr<thpp::Tensor<T>> tensor) {
                                                 ^
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils-inl.h: In function 'void fblualib::luaPushTensor(lua_State*, int)':
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils-inl.h:123:21: error: 'tensor' was not declared in this scope
   luaT_pushudata(L, tensor.moveAsTH(), thpp::Tensor<T>::kLuaTypeName);
                     ^
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils-inl.h: At global scope:
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils-inl.h:263:6: error: 'IsTensorPtr' is not a member of 'thpp'
     (thpp::IsTensorPtr<T>::value || thpp::IsStorage<T>::value)>::type>
      ^
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils-inl.h:263:26: error: '::value' has not been declared
     (thpp::IsTensorPtr<T>::value || thpp::IsStorage<T>::value)>::type>
                          ^
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils-inl.h:263:37: error: 'IsStorage' is not a member of 'thpp'
     (thpp::IsTensorPtr<T>::value || thpp::IsStorage<T>::value)>::type>
                                     ^
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils-inl.h:263:55: error: '::value' has not been declared
     (thpp::IsTensorPtr<T>::value || thpp::IsStorage<T>::value)>::type>
                                                       ^
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils-inl.h:263:63: error: template argument 1 is invalid
     (thpp::IsTensorPtr<T>::value || thpp::IsStorage<T>::value)>::type>
                                                               ^
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils-inl.h:263:70: error: expected '(' before '>' token
     (thpp::IsTensorPtr<T>::value || thpp::IsStorage<T>::value)>::type>
                                                                      ^
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils-inl.h:263:70: error: template argument 2 is invalid
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils-inl.h:264:3: error: expected '::' before ':' token
   : public LuaOpBase<T, LuaOp<T>> {
   ^
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils-inl.h:264:3: error: expected identifier before ':' token
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils-inl.h:264:3: error: qualified name does not name a class before ':' token
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils-inl.h:264:3: error: expected '{' before ':' token
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils-inl.h:264:3: error: expected unqualified-id before ':' token
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils-inl.h:282:27: error: 'IsTensor' is not a member of 'thpp'
   typename std::enable_if<thpp::IsTensor<T>::value>::type>
                           ^
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils-inl.h:282:27: error: 'IsTensor' is not a member of 'thpp'
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils-inl.h:282:43: error: template argument 1 is invalid
   typename std::enable_if<thpp::IsTensor<T>::value>::type>
                                           ^
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils-inl.h:282:51: error: expected '(' before '>' token
   typename std::enable_if<thpp::IsTensor<T>::value>::type>
                                                   ^
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils-inl.h:282:51: error: template argument 2 is invalid
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils-inl.h:282:54: error: expected '{' or ':' before 'type'
   typename std::enable_if<thpp::IsTensor<T>::value>::type>
                                                      ^
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils-inl.h:282:54: error: expected '{' before 'type'
/home/ubuntu/fblualib/fblualib/../fblualib/LuaUtils-inl.h:282:58: error: expected initializer before '>' token
   typename std::enable_if<thpp::IsTensor<T>::value>::type>
                                                          ^
make[2]: *** [CMakeFiles/fblualib.dir/LuaUtils.cpp.o] Error 1
make[1]: *** [CMakeFiles/fblualib.dir/all] Error 2
make: *** [all] Error 2

okay so I basically did this:
git clone https://github.com/facebook/fblualib.git
git clone https://github.com/facebook/fblualib.git fblualib2

cd fblualib/fblualib
git checkout v1.0
mv torch torch2
mv ../../fblualib2/fblualib/torch/rockspec .

then edit build.sh to add torch to the end of this command:
rocks="util luaunit complex \
  ffivector editline trepl debugger mattorch python thrift torch"
version='0.1-1'
for rock in $rocks; do
  cd $root/$rock
  # Unfortunately, luarocks doesn't like separating the "build" and
  # "install" phases, so we have to run as root.
  sudo luarocks make rockspec/*.rockspec
done

and then
echo '
extern "C" int luaopen_fb_torch_async_rng(lua_State* L) {
  LUAOPEN(L);
}
' >> ./AsyncRNG.cpp

and ./build.sh worked and so does NAMAS :grimacing:

@ixaxaar, I'm trying to duplicate what you've done, but the torch rock wont build without a torch folder.  You've moved torch to torch2. Am I missing something?

@ixaxaar is right. You need to utilize:

AsyncRNG.cpp v1.0 (appending:
extern "C" int luaopen_fb_torch_async_rng(lua_State* L) {   LUAOPEN(L); } to the end of it. )
2.
rockspec, CMakeLists.txt in current version
Now running NAMAS smoothly. Thanks a lot!

@jasclark try this:
git clone https://github.com/facebook/fblualib.git
git clone https://github.com/facebook/fblualib.git fblualib2

cd fblualib/fblualib
git checkout v1.0
cd torch
mv ../../fblualib2/fblualib/torch/rockspec .
mv ../../fblualib2/fblualib/torch/CMakeLists.txt .
cd ..

then edit build.sh and then
cd torch
echo '
extern "C" int luaopen_fb_torch_async_rng(lua_State* L) {
  LUAOPEN(L);
}
' >> ./AsyncRNG.cpp

@SilunWang, thanks for the help.  After following your suggestions, build.sh failed with
Error: File not found: rockspec/fbtorch-0.1-1.rockspec
Turns out the rockspec filename starts with fb_torch, not fbtorch.  I modified build.sh to install torch with the correct rockspec name.  This allows build.sh to finish without errors.  However, when I try to require fbcunn I now get the following error:
/home/ubuntu/torch/install/share/lua/5.1/trepl/init.lua:384: ...orch/install/share/lua/5.1/fbcunn/BatchNormalization.lua:69: /home/ubuntu/torch/install/lib/lua/5.1/torch_fb_fbcunn_batch_norm.so: undefined symbol: _ZN6google21kLogSiteUninitializedE stack traceback: 	/home/ubuntu/torch/install/share/lua/5.1/fb/util/error.lua:76: in function </home/ubuntu/torch/install/share/lua/5.1/fb/util/error.lua:72> 	[C]: in function 'error' 	/home/ubuntu/torch/install/share/lua/5.1/trepl/init.lua:384: in function 'require' 	[string "_RESULT={require('fbcunn')}"]:1: in main chunk 	[C]: in function 'real_xpcall' 	/home/ubuntu/torch/install/share/lua/5.1/fb/util/error.lua:85: in function 'xpcall' 	/home/ubuntu/torch/install/share/lua/5.1/trepl/init.lua:652: in function 'repl' 	...untu/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:199: in main chunk 	[C]: at 0x00406670

@jasclark Never met this error before. Are you using Lua 5.1 instead of LuaJIT for Torch?
Read this: https://github.com/facebook/fblualib/blob/master/INSTALL.md

@SilunWang, No I'm using LuaJit.  I think the problem has been fixed.  I added 'glog' to TARGET_LINK_LIBRARIES in fbcunn's CMakeLists.txt.
I changed this:
TARGET_LINK_LIBRARIES(torch_fb_fbcunn_batch_norm luaT THC TH thpp folly ${CUDA_LIBRARIES} ${CUDA_CUFFT_LIBRARIES} ${CUDA_CUBLAS_LIBRARIES})
to this:
TARGET_LINK_LIBRARIES(torch_fb_fbcunn_batch_norm glog luaT THC TH thpp folly ${CUDA_LIBRARIES} ${CUDA_CUFFT_LIBRARIES} ${CUDA_CUBLAS_LIBRARIES})
I still need to do further testing but I'm cautiously optimistic.  Thanks for your help!

Sorry for the delay but you may need to do this in build.sh (refer above):
sudo luarocks make rockspec/*.rockspec

I have the same issue. I tried approach mentioned by @ixaxaar  and @SilunWang and then ran build.sh but it throws error as:
dave@home:~/fblualib/fblualib$ ./build.sh
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Folly: /usr/local/include
-- Found Glog: /usr/include
-- Found Torch7 in /home/dave/torch/install
-- REQUIRED_ARGS (missing:  THPP_INCLUDE_DIR THPP_LIBRARIES)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
THPP_INCLUDE_DIR
used as include directory in directory /home/dave/fblualib/fblualib
used as include directory in directory /home/dave/fblualib/fblualib
used as include directory in directory /home/dave/fblualib/fblualib
used as include directory in directory /home/dave/fblualib/fblualib
used as include directory in directory /home/dave/fblualib/fblualib
used as include directory in directory /home/dave/fblualib/fblualib
used as include directory in directory /home/dave/fblualib/fblualib
THPP_LIBRARY
linked by target "fblualib" in directory /home/dave/fblualib/fblualib
-- Configuring incomplete, errors occurred!
See also "/home/dave/fblualib/fblualib/build/CMakeFiles/CMakeOutput.log".
dave@home:~/fblualib/fblualib$
Any idea how to fix this ? I am using ubuntu 14.04

Hi, I am trying to run NAMAS, and got the same error 'No LuaRocks module found for fb.torch.async_rng' so tried to install fblualib as mentioned by @ixaxaar and @SilunWang. So, before running the build.sh of fblualib I need to install folly, fbthrift, thpp.
I ran install_all.sh from v1.0 of fblualib with v1.0 of thpp
git clone -b v0.35.0  --depth 1 https://github.com/facebook/folly.git
git clone -b v0.24.0  --depth 1 https://github.com/facebook/fbthrift.git
git clone -b v1.0 https://github.com/facebook/thpp
git clone https://github.com/soumith/fblualib
but it throws error while building thpp as:
creating: googletest-release-1.7.0/xcode/Samples/FrameworkSample/WidgetFramework.xcodeproj/
inflating: googletest-release-1.7.0/xcode/Samples/FrameworkSample/WidgetFramework.xcodeproj/project.pbxproj
inflating: googletest-release-1.7.0/xcode/Samples/FrameworkSample/runtests.sh
inflating: googletest-release-1.7.0/xcode/Samples/FrameworkSample/widget.cc
inflating: googletest-release-1.7.0/xcode/Samples/FrameworkSample/widget.h
inflating: googletest-release-1.7.0/xcode/Samples/FrameworkSample/widget_test.cc
creating: googletest-release-1.7.0/xcode/Scripts/
inflating: googletest-release-1.7.0/xcode/Scripts/runtests.sh
inflating: googletest-release-1.7.0/xcode/Scripts/versiongenerate.py
creating: googletest-release-1.7.0/xcode/gtest.xcodeproj/
inflating: googletest-release-1.7.0/xcode/gtest.xcodeproj/project.pbxproj
-- Found Torch7 in /home/atana/torch/install
-- Configuring done
-- Generating done
-- Build files have been written to: /home/abhishek/thpp/thpp/build
[  5%] Building CXX object CMakeFiles/thpp.dir/Storage.cpp.o
/home/atana/thpp/thpp/Storage.cpp: In function ‘void thpp::detail::applySharingMode(folly::IOBuf&, thpp::SharingMode)’:
/home/abhishek/thpp/thpp/Storage.cpp:70:9: error: ‘class folly::IOBuf’ has no member named ‘makeManagedOne’
iob.makeManagedOne();
^
make[2]: *** [CMakeFiles/thpp.dir/Storage.cpp.o] Error 1
make[1]: *** [CMakeFiles/thpp.dir/all] Error 2
make: *** [all] Error 2
I am Ubuntu 14.04
@ixaxaar , @SilunWang which version did you guys checkout while installing? please help.

IDK, did not observe that error, maybe you should raise a new issue?


docs update to promote TaintBasedEvictions to beta

/sig scheduling
/milestone v1.13

/cc @k82cn @ravisantoshgudimetla @bsalamat for tech reviewing.

/approve

Thanks @Huang-Wei for the PR. @tfogo our 1.13 Docs lead as FYI


cannot build the project

Hi
i'm not able to build the project using Visual Studio 2019, the error message is :
Severity	Code	Description	Project	File	Line	Suppression State
Error	MSB4036	The "RazorGenerate" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with  in the project file, or in the *.tasks files located in the "C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\Bin" directory.	Toss.Client	C:\Program Files\dotnet\sdk\3.0.100-preview3-010431\Sdks\Microsoft.NET.Sdk.Razor\build\netstandard2.0\Microsoft.NET.Sdk.Razor.Component.targets	93
i installed the Razor Generate extension but the problem is still there and i cannot build the project.

DO you have Blazor Language Service installed ? what is your version of the sdk ?

When im building the Toss.Client...I got the following warnings...
NETSDK1080	A PackageReference to Microsoft.AspNetCore.App is not necessary when targeting .NET Core 3.0 or higher. If Microsoft.NET.Sdk.Web is used, the shared framework will be referenced automatically. Otherwise, the PackageReference should be replaced with a FrameworkReference. Toss.Tests.E2E
C:\Program Files\dotnet\sdk\3.0.100-preview8-013656\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.DefaultItems.targets	154
NETSDK1080	A PackageReference to Microsoft.AspNetCore.App is not necessary when targeting .NET Core 3.0 or higher. If Microsoft.NET.Sdk.Web is used, the shared framework will be referenced automatically. Otherwise, the PackageReference should be replaced with a FrameworkReference. Toss.Tests
C:\Program Files\dotnet\sdk\3.0.100-preview8-013656\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.DefaultItems.targets	154
When i tried to build the Toss.server i got the below error saying:
Severity	Code	Description	Project	File	Line	Suppression State
Error:	Could not find file 'D:\User\Toss.Blazor-master\Toss.Client\bin\x64\Release\netstandard2.0\Toss.Client.dll'.	Toss.Server	C:\Program Files\dotnet\sdk\3.0.100-preview8 013656\Sdks\Microsoft.NET.Sdk.Razor\build\netstandard2.0\Microsoft.NET.Sdk.Razor.MvcApplicationPartsDiscovery.targets	54
there were many other errors too...but this the error which is not getting resolved......

You need 3.0.100-preview6-012264 for building master, the "conversation" branch is using "3.0.100-preview6-012264" i'll update it to preview8 and 9 soon.
The 2 warning about the App package are here because of E2E tests, I need this package ref because those are not web project if you know an other way I would be happy to correct it.


"no definition found for xxxx"

VSCode Version:1.44.2
OS Version:Windows 10

Steps to Reproduce:
1.update extensions or update vscode.
2.it happens ocasionally

Does this issue occur when all extensions are disabled?: Yes
C++ project.
when it happens，all variables functions can not be go to definition by show the message:"no definition found for xxxx"。
before this time happen,the last times,I uninstall and clean alls dir assosiation with vscode ,then install again,it would work.
but this time,I can't fix it.I think is a hidden bug,please check.

/extC++


Ensure we fix the coordinator for query (CASSANDRA-10905)

Use an exclusive cql connection to ensure that the coordinator is deterministic

+1, merged


fix: Deploy GitHub.io docs for PRs

:tada: This PR is included in version 0.17.1-next.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 0.18.0-proposed.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 0.17.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


separate links and entities in relationships

@marius-patrascu this is not really how we discussed, i mentioned you to add types/group in the odpi/egeria-js-commons and dinamically map them in the implementation under happi-graph
this way you will not manually hardcode the titles for links and nodes

I updated the PR but I still have to improve the code to generate the correct title, at the moment it does not pluralize the group retrieved from egeria js commons


Fix shell task ${setValue(key,value)} is not working

Purpose of the pull request
Fix the shell task ${setValue(key,value)} is not working.
Brief change log
Setting var pool content to the task.
Verify this pull request
This pull request is code cleanup without any test coverage.

Is anyone could help me to re-run the e2e? It's looks like downloading maven plugin failed.

Is anyone could help me to re-run the e2e? It's looks like downloading maven plugin failed.

I will re-run this e2e

Is anyone could help me to re-run the e2e? It's looks like downloading maven plugin failed.

I will re-run this e2e

thanks

Is anyone could help me to re-run the e2e? It's looks like downloading maven plugin failed.

I will re-run this e2e

thanks

hi, I can't find the corresponding issue,  if there is no issue, please create an issue first , thx

hi, deeply thanks for your contribution, can you create an issue for this pr, when created, I will merge it.

hi, deeply thanks for your contribution, can you create an issue for this pr, when created, I will merge it.

Thanks for your response. I have created https://github.com/apache/incubator-dolphinscheduler/issues/5071, please take a look. Sorry, I'm not sure about the PR process, so I just created the PR.

considering that it's your first contribution, I think we can get deep communiction, you can contact me through mail or add wechat(Kris_Evil), when mail or added, please tell me who you are, I think I can help to familiar with the DolphinScheduler if you meet with problems.


useFileLogging : yes crashes bob on startup

Using TiddlyWiki version 5.2.3 with Bob version 1.7.3b1
Setting useFileLogging : yes on settings.json does nothing and crashes Bob on next restart.
The settings in Bob tab for logging also appear broken : just one line for all the options and clicking does not do anything.
Also as feature request please:

add a date and timestamp to each log line
if possible add session IP to each log line

Best regards
I am running (check any that apply, put an x inside the [ ] to check a box, like this: [x]):

[x ] Windows
[ ] OSX
[ ] Linux
[ ] Other

and using

[ ] The nodejs version
[x ] The single file executable

Before posting I read issue guidelines and:

[x ] I am using the newest version
[x ] The answer to my question isn't listed in the documentation or this isn't
a question
[x ] This is not a duplicate issue
[x ] I have not done anything that required me to set acceptance to
I Will Not Get Tech Support For This

The crashes should no longer be a problem. When I push the next update the logging UI in the control panel will be fixed.


Use the wheel group instead of root on FreeBSD

FreeBSD does not have a root group but has a wheel group instead.

👍


TextSerializer isn't i18n aware

The Translation interface accept a Locale parameter to specify what language it should be translate to when format to plain text (although it is not used currently).
But TextSerializer does not accept Locale at all.
Which means, even after some day, the vanilla minecraft server finally supports multi language on server side, there is no where sponge plugin can use it, becuase the api does not care about it at all.

What @ST-DDT said should be the case.

@kashike it's still a problem, not everywhere in minecraft accept josn format, item lore does not support that, so server side translation must be used.

1.13 lore does.
We don't ban server-side translation.

@kashike It does not, only name does, lore doesn't.
How could you translate is to other language if TextSerializer does not care about Locale at all?


Need to fix 'miri' bash script for Windows powershell users

While trying to work on Issue #707 locally, I got stuck with 'Testing the Miri driver' step. I used Powershell to confront the above error. The current issue is that $MIRI_SYSROOT fed to the miri executable is stripped off of its backslashes, resulting in an error "can't find crate for std"
Maybe the 'miri' bash script should be fixed to escape backslashes for windows users?
Or it could also be an issue with cargo

Unfortunately I have no experience with bash scripts on Windows, nor with power shell. But I'd happily review a PR trying to fix this. :)
I am surprised the bash script does anything on Windows. I didn't even know PowerShell can run bash...

@JOE1994 so now that this works, do you think we could somehow use the miri script for our AppVeyor CI (configured at https://github.com/rust-lang/miri/blob/master/.appveyor.yml ) ?

@RalfJung I currently have zero knowledge of AppVeyor CI. I'll need some time to learn about it before I can say something about it 😢
https://github.com/rust-lang/miri/blob/0d01c306fe032de4f2c4722ae235caa021ad37db/.appveyor.yml#L1-L6
Is the AppVeyor script solely for Windows ??
(I assume not, but don't see any TARGETs in the script other than Windows)

Yes AppVeyor is for Windows only. So really the main question is: how do I get bash onto Windows? Is that a normal thing for Rust devs to do on Windows?

In either Powershell or the Batch shell (2 shells that come with Windows), it is possible to run bash scripts or enter bash shell by using the sh command.

how do I get bash onto Windows? Is that a normal thing for Rust devs to do on Windows?

Maybe I should ask this question to the Rust language forum or the Rust subreddit to find out..
Personally, I try to use bash on Windows when projects only provide bash scripts for building it.
https://users.rust-lang.org/t/is-it-normal-to-use-bash-on-windows-to-build-rust-projects/33628

Hm, but sh is not shipped with Windows, right? Don't we need to install it?

It is shipped with Windows by default.

Oh.. I just realized that it is not shipped with Windows by default.
One needs to have WSL(Windows Subsystem for Linux) installed and enabled in order to use bash shell in Windows.

That still seems to be rather experimental on the AppVeyor side: https://github.com/appveyor/ci/issues/1295.
So, probably best to stick to our current scheme for now. Thanks for testing the script on WSL though, good to know it works now!

Git for Windows ships with bash (bash and sh executables) so anybody who have git will have sh available.


[FancyZones] Layout lost after turning off and on the second screen

Microsoft PowerToys version
0.68.1
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
FancyZones
Steps to reproduce

Have a custom layout active
Check that is being applied to all monitors correctly
Turn off one monitor
Turn it on again
Check that FancyZones is applying the default layout instead of the custom and previously applied one.
You need to close and reopen PowerToys to have it working again with the custom layout it was previously active.
PowerToysReport_2023-03-30-15-45-04.zip

Additional data:

Laptop's screen resolution: 1920x1200
Additional monitor resolution (set as main): 5120x1440
It's not happening every single time. I'm not sure if the act of powering off the monitor + Windows lock/logon screen is related with this.

✔ Expected Behavior
It should keep the previously applied layout
❌ Actual Behavior
It's applying the default layout but it's saying the custom one is applied. Tried selecting another one and the custom one again with no luck. You need to close and reopen PowerToys to have it working as expected.
Other Software
No response

+1 to this issue. Was about to file a bug but this sounds like the same root thing. For me my reproduction steps are:

Using a laptop, have a custom layout active.
Plug in laptop to my USB-C monitor.
Observe that FancyZones is now using the default layout instead of the custom one I have set.

Another thing worth noting is that this issue existed a long time ago, but was fixed several months ago, and seems to have recently regressed.


warp: 0.4 -> 0.5.1

Description of changes
It cannot be built yet since it needs GTK4 v4.10 and libadwaita 1.3.

https://gitlab.gnome.org/World/warp/-/compare/v0.4...v0.5.1
https://gitlab.gnome.org/World/warp/-/tags/v0.5.0

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Closing PR since #226317 is more up-to-date and ready to merge.


Enable Sourcegraph

I want to use Sourcegraph for FunctionalJS code search, browsing, and usage examples. Can an admin enable Sourcegraph for this repository? Just go to https://sourcegraph.com/github.com/michaelficarra/FunctionalJS. (It should only take 30 seconds.)
Thank you!

thanks!

Oh, boy. I am reminded that this project exists. This is an ancient one-man experiment, and it is not a good example of modern best practices. Please use a more modern and maintained library. I hear people are fond of Ramda nowadays.


Package.getStylesheetsPath is deprecated.

Store package style sheets in the styles/ directory instead of stylesheets/ in the markdown-toc package
Package.getStylesheetsPath (/usr/local/share/atom/resources/app.asar/src/package.js:460:9)
Package.getStylesheetPaths (/usr/local/share/atom/resources/app.asar/src/package.js:471:32)
Package.loadStylesheets (/usr/local/share/atom/resources/app.asar/src/package.js:453:38)
<unknown> (/usr/local/share/atom/resources/app.asar/src/package.js:183:19)
Package.measure (/usr/local/share/atom/resources/app.asar/src/package.js:163:15)
Package.load (/usr/local/share/atom/resources/app.asar/src/package.js:177:12)

I thing this is the same as #13.


Docstring for QuestionNumerical suggests it accepts instructions but this is not the case

https://github.com/expectedparrot/edsl/blob/main/edsl/questions/QuestionNumerical.py
When trying to set different instructions, I get:
TypeError: QuestionNumerical.__init__() got an unexpected keyword argument 'instructions'

Thanks @benwhalley - we're on it!

Thank you @benwhalley! Making this edit right now. Please let us know of any issues using question types or anything else - we appreciate the feedback!

Hi - I think there is also a problem for free text questions. It's impossible to override instructions for these and it always returns the default instructions.
The code in QuestionBase is a little indirect but it seems like the issue is there?


⚠ Bofrost.de has degraded performance

In e5f32d3, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 821 ms

Resolved: Bofrost.de performance has improved in 41f396e after 6 minutes.


CDAP-15319 Salesforce Batch Source: read the response in a streaming fashion

Previously for every batch we formed response as String and than read it.
The change makes RecordReader read directly from InputStream for a batch.

@albertshau can we this at this point?


alacritty: add module

Largely untested configuration options, they have been copied from alacritty.yml.
I am using this module here in my dotfiles.

@asymmetric That should not be needed - you can see the way I use it in my dotfiles repo.
I will also get descriptions written for the options, so that we can actually get it merged :+1:

@rycee Should be ready :+1:

This works now, on my personal fork. We depend on alacritty 0.2.4. https://github.com/NixOS/nixpkgs/pull/52881

Are you looking to finish this soonish? Else I might want to fork your PR.

Oh snap, completely forgot :joy:
I am in a long period of sickness, so I have to catch up to studies and work before I look at this probably.
Alacritty did come out with an update that makes all settings optional, so that is a pretty good thing for this PR.
https://github.com/jwilm/alacritty/issues/1923 and https://github.com/jwilm/alacritty/pull/1993

Alright, I will take this one on then. Thanks for your work so far!

Awesome, thank you! :)

Closed in favor of #611 , this is unnecessarily complex 👍


Chart Repository unreachable

When I try to add your chart repo, I get this error message:
Error: looks like "https://itsbalamurali.github.io/neon" is not a valid chart repository or cannot be reached: failed to fetch https://itsbalamurali.github.io/neon/index.yaml : 404 Not Found

After trying manualy to visit your chart repo, I found out, I get redirected to your blog 404 page.

@KoCoder i am working on a kopf based operator instead of helm chart. The python code is in very initial stage.

@KoCoder i am working on a kopf based operator instead of helm chart. The python code is in very initial stage.
Okay, looking forward to it, do you have any eta jet, or want any help...

@KoCoder check main branch :) Sure, feel free to review or add features.

@itsbalamurali there doesn't seem to be any information on main?


Test on 3.11 instead of 3.11-dev

Python 3.11.0 final is now out!
Let's replace "3.11-dev" with 3.11 in .github/workflows/test.yml so we're testing on the new version.

Hi @hugovk,
Please assign this issue to me,
cheers


Removing unnecessary SSL from renew

I have a couple of sites on IIS that are using LE, and one of them is no longer needed. The site has been removed from IIS, but when Task Scheduler runs the --renew option, it throws an error that it can't find the site binding because its trying to renew the site SSL.
I've looked around for config files but can't find any. How do I stop it from checking/renewing a specific site, as its stoppping my other certs from being renewed.
Thanks

You need to use Registry Editor, go to HKEY_CURRENT_USER\Software\letsencrypt-win-simple\https://acme-v01.api.letsencrypt.org/\ folder and edit value of registry key called Renewals.
When checking for certificates that needs to be renewed, the app is using value of this key.
The value consists of separate rows one for each site that should be check and renewed if needed.
So you need to remove the row which contains information about the site/domain which you no longer have in IIS.

Thanks @Fishthedj! Never would have found that. Appreciate the help


Bi-directional ValueConverter calls toView before fromView

I'm submitting a bug report

Library Version:
1.0.9

Browser:
Chrome

Language:
ESNext

Current behavior:
Update an input value and notice how toView is getting called before fromView. I would expect fromView to be called first, since the user is updating the value.
Edit the following text input and notice the console logs
https://gist.run/?id=faf634bf1b4ef6178052122638925129
toView
fromView
toView

fromView should be called first, right?
On blur toView is being called again. Why is that when the value hasen't changed?

If I'm not mistaken toView gets called first because the new value gets compared with the one in the VM.

@StrahilKazlachev  Why isn't the fromView value compared to the actual VM value?
Anyway, I don't see why toView is being called twice.

The binding expression is evaluated in response to input events to determine whether an actual change occurred, instead of blindly assigning the property (which may not expect to be assigned when newValue/oldValue are the same). This is the first toView call you see after editing the input.
The second toView call happens in response to the model property change that occurs when the model property is assigned due to the edit.
We could probably eliminate some of these calls if there were guarantees around input/change events not firing when no actual change occurred and some strong constraints around what is allowed in property getters and setters (very unlikely to ever happen).


iCal won't refresh

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports and didn't find any similar reports.

Expected Behavior
When trying any of the methods described as ways to refresh a Google calendar, I expect that the meetings shown in Full Calendar would sync to what is currently in the Google calendar. For instance, if I add/delete/modify something on the Google Calendar, I would expect that the meeting would also be added/deleted/modified within Full Calendar.
Current behaviour
All meetings in Full Calendar are as they were when I first added the ics. Making any changes to the Google Calendar are never reflected in Full Calendar. This applies to both the calendar view and the sidebar view.
JavaScript console output
No response
Steps to reproduce
Methods tried:

Full Calendar commands from the command palette (such as "Reset Event Cache", "Revalidate remote calendars", "Open Calendar", etc.
Opening Full Calendar from the ribbon
Opening and closing Obsidian

Calendar information
secret ics Google Calendar
Which Operating Systems are you using?

[ ] macOS
[X] Windows
[ ] Linux
[ ] Android
[ ] iOS

Obsidian Version
1.6.3
Full Calendar Plugin Version
0.10.7
Checks

[X] I have tried it with all other plugins disabled and the error still occurs.

Possible solution
No response
Comments
No response

Ah, I found the issue. It's related to the time zone bug. I edited main.js to reflect my GMT offset and now it's working as desired. Not an ideal hack, but it at least fixes my present frustrations.


Josephreddy #issue16

please review my pull request.

Great addition. Kind of hard to tell what you change when you copy and paste the code you changed (it shows the entire module as being changed).

there were small changes so I made changes there.