Initial TSL2591 driver

This is an initial attempt at a driver for the TSL2591 light sensor since the currently supported TSL2561 is EOL.
This driver includes basic shell config support, and read operations, but does not currently include interrupt support for threshold triggering. This can be added in a future PR once the concerns below are addressed.
Before this can be merged, it would be beneficial to discuss the timing constraints around this sensor (and others like the TSL2561). It has a variable integration time from 100..600ms, and any reads before this initial delay or less than this between conversions will results in faulty or stale data being returned.
An experimental flag called TSL2591_ITIME_DELAY has been added to the package syscfg.yml file, but this is really just an attempt to get a discussion started on how to handle situations where the sensor may be polled at a rate inconsistent with the HW limitations, and how to best handle these timing disparities.
This timing delay can be dynamic in certain situations, such as implementing auto-ranging support in the driver to accommodate a wide range of lighting conditions. As the light level lowers, you would increase the integration time and thus the overall sensitivity, and vice versa in high light situations. These changes may be transparent to the user at the application level, meaning they need some way to determine the minimum delay between valid sensor reads, which isn't part of the current sensor API design but should perhaps be considered as an addition via a new field required by all sensor drivers (.min_delay, etc.)?
Any thoughts (and testing) is welcome!

@vrahane Is this something you would be able to review? If you don't have access to a TSL2591 let me know and I'll figure out how to get you one. The TSL2561 is EOL and won't be easy to source in the near future, so it makes sense to get an updated driver into the codebase.

I was really hoping to get some feedback on this, particularly opinions on the delay mechanism here, but with the great northern hemisphere weather I get that everyone would probably rather be in the sun with a cold drink.
If HW is an issue to testing this, let me know and I'll figure out a solution to get something to the appropriate person(s).  I just wanted to get this merged so that I can put some effort into a simulator for this sensor, just to have a proof of concept of how that might work. (See also #1251).

Closing this due to API changes. A new PR will be generate shortly.

@microbuilder Noticed something on this, it was missing the Interface locking that was introduced recently, https://github.com/apache/mynewt-core/pull/1250
Something to add when you reopen


Feature: Subtitles Loader Integration

@govind-kumarr if you resolve the minor merge conflict

@govind-kumarr if you resolve the minor merge conflict

@HenryHengZJ  sure, done now.


extend the onboarding struct to make it modular

Extend the onboarding struct have clients field nested instead of on the root. This will provide us the option to have onboarding ticket for different roles.

/retest-required

ci failure is due to noobaa stuck in connecting phase
[rewantsoni tmp] k get noobaa
NAME     S3-ENDPOINTS   STS-ENDPOINTS   SYSLOG-ENDPOINTS   IMAGE                                        PHASE        AGE
noobaa                                                     quay.io/noobaa/noobaa-core:master-20240901   Connecting   2m41s

/retest-required

/cherry-pick release-4.17

to me the proposed API seems more opinionated than required, my assumptions are

quota will always be >0 if set
not all tickets will have quota
tickets can be of two explicit types: no role, client and peer role

this PR is trying to club no role and client role, is that the expectation? this resulted in mandating a role for local client which could be no different than supplying an explicit nil.
I propose for each of roles to be distinct even though being verbose it doesn't force quota in normal case and accept pointer in func signature for backward compat? Think of some automation outside of odf generating tokens and doesn't want newer futures and current API forces to set client role (I understand you are setting the default but that has a different comment).
wdyt? pls do ping other reviewers before acting on the review if required. open to be corrected as always.

In the Onboarding struct

storageQuotaInGiB can be >=0, =0 in case of unlimited quota
Right, we don't expect all tickets to have a quota
the ticket will always have a role, either ocs-client or ocs-peer

I think If we have an external automation generating tokens, we should have them specify the role of the ticket they want to generate (for client or peer) just like they specify the quota they need. Or, for backward compatibility of such automation, we can always set the default role to ocs-client.

the ticket will always have a role, either ocs-client or ocs-peer

Ack, if that is the requirement then the PR lgtm.

closing it as not required


better usage /display ideas for gas turbine generator

I would like to see one or two changes to how the gas turbine generators work.

don't store power.. it currently is made on demand in the max of 25k chunks.  why not just have it run to give power on demand/pull? ( is there a reason to have storage options to allow it to pull power? )
this might make the storage modules worth using vs other power storage options.

a option to see average usage of a fuel from the last few hours? since the system currently does not run based on usage it will spike up and down randomly so seeing how much your using in fuel is very hard to quantify. a graph or just numbers would be nice. ( maybe a option to see last minute 30 mins hour 6 hours and 24 hours?

Internal storage exists in pretty much every power-producer in minecraft, at least in all the mainstream power systems. I think removing it would just confuse users which expect it.
It's also not that easy in terms of code, considering i'm currently supporting 2 very different power systems, and intend to add more in the future. Right now RF implementation is purely push-based and IC2 is in theory pull-based, but uses a hybrid implementation because of bugs in the energy net.
I'll consider adding a bigger average window, but i think hour or day is way too long to be useful to most players. Once i get ComputerCraft/OpenComputers support done those who want longer term monitoring will be able to do it  themselves.
Also this is the wrong place to post this. Actual issues with Advanced Generators should go here - https://github.com/bdew/generators/issues, and general discussion of mechanics (and changing them) are probably better off in the forum thread.

thanks :)


Comments

Comments

Hi Jim,
I've corrected both JMS tutorials in their part about the confirmed delivery.


ORD Metadata changes

Please find attached the ord documents we walked through in our review:

Reference CAP application: https://github.com/SAP-samples/cloud-cap-samples/tree/main/bookstore
1.ord.json is the one generated today by cds compile index.cds --to ord in cap/samples/bookstore
2.ord.json is the same with corrections
→ compare both in VSCode, e.g. with code --diff 1.ord.json 2.ord.json

Here are the changes decided for the ORD document :

[x] Don’t add a suffix if I already specified a .json suffix in the -o / —dest parameter
[x] Use .ord.json as file suffix instead of .ord if not
[x] Always add  "$schema": "https://sap.github.io/open-resource-discovery/spec-v1/interfaces/Document.schema.json"
[ ] Never use CSN's .namespace property but always just use the fully-qualified names from .definitions
[x] ORD namespace (used as prefix in several ORD IDs) = package.name.replace(/@/,'').replace(/\//g,’'), unless explicitly configured in cds.env.ord.namespace

products

[x] "ordId": "customer:product:capire.bookstore:”→ i.e. package.name.replace(/@/,'').replace(///g,'.')
[x] "vendor": "customer:vendor:customer:”
[x] "title": “capire bookstore”→ i.e. package.name.replace(/@/,'').replace(///g,'.')
[x] "shortDescription": “capire bookstore" → i.e. package.name.replace(/@/,'').replace(///g,' ')

groups

[x] "title": "Catalog Service” → i.e. without appending “ Title”
[ ] The groups for events shall be services, not the individual events → but then the last two entries in the bookstore sample are duplicates

packages

[x] → the namespace was wrong and the package name shall be package.name.replace(/@/,'').replace(/\//g,'.')
[x] "partOfProducts": [ "customer:product:capire.bookstore:” ] → has to be the same as the product name in the products section
[x] "vendor": "customer:vendor:customer:” → has to be the same as the vendor in the products section
[x] "title": "capire bookshop” → take what is there, don’t add extra text like “sample title for"
[x] “shortDescription" → take what is there, don’t add extra text like “Here’s the short description for ..."
[x] “description" → take what is there, don’t add extra text like “Here’s the short description for ..."

consumptionBundles

[x] skip (do not include)

apiResources

[x] "title": "Catalog Service” → take what is there, don’t add extra text like “The service is for ..."
[x] “shortDescription": "Catalog Service” → take what is there, don’t add extra text like “Here we have the shortDescription for ..."
[x] “description": "Catalog Service” → take what is there, don’t add extra text like “Here we have the description for ..."
[ ] "partOfPackage": "customer.capirebookstore:package:capire.bookshop:v1” → correct namespace prefix in package ref

eventResources

[ ] The entries are service-level, not event-level
[ ] IMPORTANT: test with more than one event declared per service → should end up in one entry, not many

Explanation:

one catalog contains several events -> one event resource in ORD

Tests

[x] Jest tests and CI/CD

TODO: Check-mark the check-boxes given in the issue body (only) after merging the related pull requests.
cc: @ductaily @Fannon @RoshniNaveenaS

Regarding  the Don’t add a suffix if I already specified a .json suffix in the -o / —dest parameter:
The fix should be implemented in the cds-dk repo, not in the ord plugin.
Compiler is always attaching the suffix that is equal to the -to parameter value.
Check by running e.g. : cds compile srv/services.cds -2 csn -o ORD15.someext => Result is: ORD15.someext.csn (or -2 SQL)
@RoshniNaveenaS @ductaily @Fannon

The same as above stands for Use .ord.json as file suffix instead of .ord if not.
Checkmarking both issues because the fix shall not be done in cap-js/ord plugin.
@RoshniNaveenaS @ductaily @Fannon

Regarding the Don’t add a suffix if I already specified a .json suffix in the -o / —dest parameter: The fix should be implemented in the cds-dk repo, not in the ord plugin. Compiler is always attaching the suffix that is equal to the -to parameter value. Check by running e.g. : cds compile srv/services.cds -2 csn -o ORD15.someext => Result is: ORD15.someext.csn (or -2 SQL)
@RoshniNaveenaS @ductaily @Fannon

@stewsk: As of now cds compile -2 always appends the extension, can we ignore appending the format if extension is specified in the -o parameter?

@aramovic79 @Fannon
The issue regarding Don’t add a suffix if I already specified a .json suffix in the -o / —dest parameter will be resolved in cds-dk 8.2.0. See corresponding issue: https://github.tools.sap/cap/issues/issues/16685

@zongqichen @ductaily : I've checked marked items that are done. I'm not sure for the remaining. Could you please take a look and check-mark the finished ones? Thanks!

Hi @aramovic79, I marked the Jest and CICD pipeline item. I think we basically introduced the test and action as pipeline.

All the tasks in this issue are addressed, hence closing this issue.
@RamIndia @RoshniNaveenaS @zongqichen @Fannon : Are you fine with this?


TLS Support

As discussed on the RailsGoat FAQ (https://railsgoat.cktricky.com/faq.html), there should be support for SSL/TLS. We can just use letsencrypt, and add tutorials/tests for cookie flags, HSTS, mixed content and other configuration options.
Q: Will you support SSL at some point?

A: Absolutely, but likely using a self-signed cert. The idea would be to demo framework-specific protections rather than the certificate itself.

These references might help:

https://everydayrails.com/2017/01/09/rails-https-only-lets-encrypt-ssl.html
http://www.rubyflow.com/p/8rp4tl-quickly-add-ssl-to-heroku-for-free
http://www.rubyflow.com/p/uof8v2-letsencryptheroku
https://www.troyhunt.com/life-is-about-to-get-harder-for-websites-without-https


add history tab

I know this is not DRY, but here's what I did:

copy/paste code from BRTxHistoryViewController to BRHistoryViewController
Change VC in storyboard from UIViewController to UITableViewController (deleted the old one and added a new one)
change section count to 1, and comment out code related to section 2 in tableView
add some code to make the view look right.

The problem is copying code here. It's the easiest way, but may have some problem.

accidentally add ci support, sorry for that


Dyson Sphere Program Request

Game name
Dyson Sphere Program
Request type
Adding a new game to the feed
Target frameworks, package dependencies

netstandard20

No dependencies

Allowed assembly names
Assembly-CSharp
Contact details
PhantomGamers#9208 @ Discord
Additional information
I'm not entirely sure what "Target frameworks, package dependencies" is for, the game itself uses netstandard20 but net472 plugins work with it as well (see the second footnote here https://docs.microsoft.com/en-us/dotnet/standard/net-standard#net-implementation-support), so I wasn't sure if I should have put both in there or not
Package ownership agreement

[X] I acknowledge and agree to the above rules

Granted key for package DysonSphereProgram.GameLibs with the following changes:

Added net45 as an additional target framework


Newest Version No Longer Works

Visual Studio Code Version : 1.18.0
Code Settings Sync Version : 2.8.5
Operating System : Windows 8.1 / Windows 10
Occurs On: Download
Proxy Enabled: No
GIst Id: N/A
At this time, the newest version of code-settings-sync no longer works for me. I have two systems I sync between and out of no where attempting to download on one of the machines stated my Gist/Github token was invalid and opened the Gist token generation page. I deleted the entire Gist holding my settings, deleted the old API token, and generated a new one.
On both machines, I reset the sync settings completely via > Sync: Reset Extension Settings.
On one machine I did the normal steps to upload the settings, this worked fine.
On the second machine, I did the normal steps to download the settings, and it refuses to work. It will error that the Gist id is invalid. It will pop up the Gist API key page afterward. It also errors in the console the same error as this issue: #444

Duplicate of #144

Yes you are right, i will fix this bug in day or two.

Thanks, newest version is working again.


Use datetime with format 'YYYY-MM-DD'

Hi, I'd like to use the a datetime object (not date) with input string format YYYY-MM-DD but it is not supported.  What would be the best way to obtain this behavior? Do I need to make a custom data type? Thanks

use a validator:
class MyModel(BaseModel):
  foobar: datetime

  @validator('foobar', pre=True)
  def parse_foobar(cls, v):
    if isinstance(v, str):
      return datetime.strptime....  # maybe needs try/except
    return v


Create 2021-07-09-seminar-minutes-2021-04.md

is it OK？

OK？

227

commit these image https://github.com/wechaty/bot5.ml/pull/228 to this PR.

BTW， please accept my invitation to bot5 org by clicking https://github.com/wechaty


add_picture

I am new to python and I am having issues witth add_picture
my code is simple
from docx import Document
from docx.shared import Inches
document = Document()
document.add_heading('Document Title', 0)
document.add_picture('IMG_2063.jpg')
document.add_page_break()
document.save('demo.docx')
for some reason it was working and now i get a long string of errors. i cant seem to see what i am doing wrong. if nothting do i need to reinstall?
here is the error
E:\calculations\temp>doc2.py
Traceback (most recent call last):
File "E:\calculations\temp\doc2.py", line 18, in
document.add_picture('IMG_2063.jpg')
File "C:\Python27\ArcGISx6410.2\lib\site-packages\docx\document.py", line 79, in add_picture
return run.add_picture(image_path_or_stream, width, height)
File "C:\Python27\ArcGISx6410.2\lib\site-packages\docx\text\run.py", line 62, in add_picture
inline = self.part.new_pic_inline(image_path_or_stream, width, height)
File "C:\Python27\ArcGISx6410.2\lib\site-packages\docx\parts\document.py", line 91, in new_pic_inline
rId, image = self.get_or_add_image(image_descriptor)
File "C:\Python27\ArcGISx6410.2\lib\site-packages\docx\parts\document.py", line 54, in get_or_add_image
image_descriptor
File "C:\Python27\ArcGISx6410.2\lib\site-packages\docx\package.py", line 76, in get_or_add_image_part
image = Image.from_file(image_descriptor)
File "C:\Python27\ArcGISx6410.2\lib\site-packages\docx\image\image.py", line 55, in from_file
return cls._from_stream(stream, blob, filename)
File "C:\Python27\ArcGISx6410.2\lib\site-packages\docx\image\image.py", line 176, in _from_stream
image_header = _ImageHeaderFactory(stream)
File "C:\Python27\ArcGISx6410.2\lib\site-packages\docx\image\image.py", line 198, in _ImageHeaderFactory
return cls.from_stream(stream)
File "C:\Python27\ArcGISx6410.2\lib\site-packages\docx\image\jpeg.py", line 47, in from_stream
markers = _JfifMarkers.from_stream(stream)
File "C:\Python27\ArcGISx6410.2\lib\site-packages\docx\image\jpeg.py", line 111, in from_stream
for marker in marker_parser.iter_markers():
File "C:\Python27\ArcGISx6410.2\lib\site-packages\docx\image\jpeg.py", line 177, in iter_markers
marker_code, self._stream, segment_offset
File "C:\Python27\ArcGISx6410.2\lib\site-packages\docx\image\jpeg.py", line 271, in _MarkerFactory
return marker_cls.from_stream(stream, marker_code, offset)
File "C:\Python27\ArcGISx6410.2\lib\site-packages\docx\image\jpeg.py", line 413, in from_stream
tiff = cls._tiff_from_exif_segment(stream, offset, segment_length)
File "C:\Python27\ArcGISx6410.2\lib\site-packages\docx\image\jpeg.py", line 455, in _tiff_from_exif_segment
return Tiff.from_stream(substream)
File "C:\Python27\ArcGISx6410.2\lib\site-packages\docx\image\tiff.py", line 36, in from_stream
parser = _TiffParser.parse(stream)
File "C:\Python27\ArcGISx6410.2\lib\site-packages\docx\image\tiff.py", line 63, in parse
ifd_entries = _IfdEntries.from_stream(stream_rdr, ifd0_offset)
File "C:\Python27\ArcGISx6410.2\lib\site-packages\docx\image\tiff.py", line 176, in from_stream
entries = dict((e.tag, e.value) for e in ifd_parser.iter_entries())
File "C:\Python27\ArcGISx6410.2\lib\site-packages\docx\image\tiff.py", line 176, in
entries = dict((e.tag, e.value) for e in ifd_parser.iter_entries())
File "C:\Python27\ArcGISx6410.2\lib\site-packages\docx\image\tiff.py", line 204, in iter_entries
ifd_entry = _IfdEntryFactory(self._stream_rdr, dir_entry_offset)
File "C:\Python27\ArcGISx6410.2\lib\site-packages\docx\image\tiff.py", line 231, in _IfdEntryFactory
return entry_cls.from_stream(stream_rdr, offset)
File "C:\Python27\ArcGISx6410.2\lib\site-packages\docx\image\tiff.py", line 256, in from_stream
stream_rdr, offset, value_count, value_offset
File "C:\Python27\ArcGISx6410.2\lib\site-packages\docx\image\tiff.py", line 294, in _parse_value
return stream_rdr.read_str(value_count-1, value_offset)
File "C:\Python27\ArcGISx6410.2\lib\site-packages\docx\image\helpers.py", line 70, in read_str
chars = self._unpack_item(struct, base, offset)
File "C:\Python27\ArcGISx6410.2\lib\site-packages\docx\image\helpers.py", line 96, in unpack_item
bytes = self._read_bytes(struct.size, base, offset)
File "C:\Python27\ArcGISx6410.2\lib\site-packages\docx\image\helpers.py", line 88, in _read_bytes
raise UnexpectedEndOfFileError
docx.image.exceptions.UnexpectedEndOfFileError

I think there are issues with some JPEG-EXIF images, one was reported recently.
Does it work with some JPEGs and not others?
There are some test images you can try here:
https://github.com/python-openxml/python-docx/tree/master/tests/test_files

it appears to work with most of the sample files you sent the WMF errored but all the rest worked. what is in my file that is adding the error. it is a simple picture from an iPhone. is there something I need to strip out?

it looks like the error is only present on images from IOS, i saw the thread on the differences in the exif data, but is there a way to modify the exif so that it reads correctly? or are there any plans to update the code to read the ios 8.3 images.

I'm open to a patch if someone wants to dig in there and see what it would take. Unfortunately I'm tied up with other projects now and don't plan to be in there for a while.

I think there are problems when tiff.py reads the bytes of a jpeg type photo taken by iOS system, it may caused by an incorrect way of counting exif messages length, thus the offset can not be correct, I guess.

I have met the same error, is it considered to be fixed?

I've having the same issue with a .JPG file. I'm on latest version 0.8.10.
Has there been a fix?

Same error here. Is there a fix?

For those who are still looking for solution - use Fotosizer Standard Edition. there is option under Miscellaneous Settings -> Image Metadata and Dates -> uncheck all boxes and save/convert images. You don't need to resize. There is option for orginal size on top. For me that fixed docx.image.exceptions.UnexpectedEndOfFileError

Also, if you're on linux, you can try to convert jpg to png using imagemagik's convert command
Example : convert hello.jpg hello.png

在百度贴吧找到了问题原因和解决方法：
问题是出现在图片上面，图片中包含的某些exif信息会导致add_picture()方法出现读取问题。解决方法有两个：
1.删除图片中的属性和个人信息。图片属性——>详细信息选项卡——>左下角删除属性和个人信息——>从此文件中删除以下属性——>全选
2.方法1不适合批量执行，批量处理建议使用PIL模块，PIL模块在存取文件时会丢失掉部分exif信息，这些信息恰好就是影响我们的add_picture()方法的信息。
所以第二个方法就是在代码中加入
from PIL import Image
f = Image.open('C:XXXXXX\pic.jpg')#你的图片文件
f.save('C:XXXXXX\pic.jpg')#替换掉你的图片文件
f.close()
这样处理完之后再用add_picture()读取就不会出现问题了。当然这个方法也有缺陷，因为这里是用新图片覆盖掉旧图片，所以不想丢失含有exif信息的旧文件的话，最好先备份一下。
原贴地址：https://tieba.baidu.com/p/6409886653?red_tag=1219468420

Oh my god...

Almost 6 years later, I am getting the same error message
(I use Python 3.8, Windows 7, 64bit)

This 9 years old issue is now fixed in #1451 !


Bug in MultiLeafKnnCollector causes #minCompetitiveSimilarity to stay artificially low in some situations

Description
The logic in MultiLeafKnnCollector for updating the global scores (coordinating across leaves) incorrectly assumes heaps are fully ordered and can fail to add some scores to the global heap, causing min scores to be higher than they should be.
Here is a test case that illustrates the bug: https://github.com/apache/lucene/compare/main...gsmiller:lucene:hnsw/collector-bug-fix
Version and environment details
No response

I'll propose a fix shortly.

Proposed fix: GH#13463

Addressed in #13463


Add some stats to the Trades view

Per discussion in Slack.

Perfect 👌

@sindresorhus I just noticed two issues with this.

The number of currencies should take into account unique currencies in base and quote. Currently just taking into account quote means if I do trades on BTC/KMD, LTC/KMD and ETH/KMD it will only display as trading 1 currency. It should be 4.

For whatever reason, PouchDB is actually not that fast. swapDB.getSwaps() takes around 250ms for me! But we have all swaps stored in exchangeContainer state. And these are guaranteed to be up to date because it subscribes to change events from Pouch and updates itself. So it would probably be considerably faster to just move the stats aggregation logic into exchangeContainer and run it over the full swap collection.

The number of currencies should take into account unique currencies in base and quote. Currently just taking into account quote means if I do trades on BTC/KMD, LTC/KMD and ETH/KMD it will only display as trading 1 currency. It should be 4.

https://github.com/lukechilds/hyperdex/pull/362

So it would probably be considerably faster to just move the stats aggregation logic into exchangeContainer and run it over the full swap collection.

You're basing this on just a few swaps though. What happens when the user has thousands of swaps? Eventually, we'll also want to move to pagination. So I don't think we should move away from the query interface just because it's a little bit slower on an insignificant amount of data.

Fair point.


System service packages should not depend on systemd on non-NixOS Linux platforms

When installing packages which are usually long-running system services on Linux (I have tried postgres_16, mariadb, apacheHttpd, redict, postfix), very often they bring along systemd or systemd-minimal as dependencies or transitive dependencies. I assume nobody notices this on NixOS because it’s already part of the base system managed by NixOS and thus already installed.
On non-NixOS Linux platforms this is annoying for one or maybe two reasons:

on systems that already manage services using their own version of systemd, I almost certainly want to the OS-managed systemd to run these services, not the version in Nix, otherwise I have two separate systemd processes for no reason. (I have no idea if that even works!)
on systems such as Void (currently my preferred Linux distribution) which eschew systemd for more lightweight solutions making it more practical to use them in containers etc., I don’t want systemd at all. That’s the whole reason I picked this type of OS.

The mentioned packages do not intrinsically depend on systemd to work; on Darwin they obviously have no systemd dependency. There may be some other reason they depend on systemd on Linux, but this seems very doubtful to me personally, considering they install fine through xbps on Void which doesn’t have systemd.
This is not consistent across all ‘service’ type packages. Packages which can be long-running services but don’t drag in systemd or systemd-minimal on Linux include lighttpd, caddy, cockroachdb-bin, opensearch, … (this is not a scientific survey, I just tried some packages I thought of).

I almost certainly want to the OS-managed systemd to run these services, not the version in Nix

A systemd service simply existing in a package will do absolutely nothing.

2. on systems such as Void (currently my preferred Linux distribution) which eschew systemd for more lightweight solutions making it more practical to use them in containers etc., I don’t want systemd at all.

Similarly, systemd existing in the nix store as a dependency will not change your init system.

See also #98094/#99240.

on systems that already manage services using their own version of systemd

This assumption is wrong. Please familiarize yourself how systemd works and loads units.
The packages most likely draws in a shared object like libudev (see comment above). Some packages have flags to compile the package without that library (or systemd at all) but the functionality is then missing and we cannot compile against the host library as that would be impure.
Generally not every package will have such an option because our first priority is to compile packages for NixOS and only then for other OSs.


Hugo static fix

Might work, I moved the settings from makeSite task to Hugo scope, so the settings might also be applied to the generation of the github pages.

Current coverage is 69.42% (diff: 100%)

Merging #813 into master will decrease coverage by 0.82%

@@             master       #813   diff @@
==========================================
  Files           211        211
  Lines          4625       4625
  Methods        4190       4190
  Messages          0          0
  Branches        435        435
==========================================
- Hits           3249       3211    -38
- Misses         1376       1414    +38
  Partials          0          0

Powered by Codecov. Last update 4605c8f...b31c619

This looks right to me.  Going to cherry-pick it onto v0.15 and figure out what's wrong with the way we clean the site directory.

Cherry-picked to release-0.15.x (maybe not necessary, in hindsight: it's the common area that's broken) and merged.


ldap login with email

Laravel Version: 6.16
Adldap2-Laravel Version: 10.2
PHP Version: 7.2
LDAP Type: OpenLDAP

Dear adldap-laravel support/developers
Im trying to implement your package into Laravel 6.16.
I used your installation guide and guide on this page: https://github.com/jotaelesalinas/laravel-simple-ldap-auth
in app/Http/Controllers/Auth/LoginController
in method attemptLogin
if I execute auth method with userdn bellow then response is TRUE.
$userdn = 'cn=John Doe,ou=users,dc=0xm,dc=net';
$ldap_auth = Adldap::auth()->attempt($userdn, $password, $bindAsUser = true);
But I want users to login with email address not username(John Doe, i use John Doe to not write here my name ;) ).
I guess I need to check first if provided email address matches any record in our ldap. And if it matches then I need to get users dn.
Then I can run this auth method.
Could you help me please with that. Sorry if this is duplicated issue.
Thanks Jan

Steps To Reproduce:

Hi @Moris1,

I used your installation guide and guide on this page

That is not my installation guide - and as such I cannot support it.
Please create an issue on that repository and ask the author of that guide for assistance. Thanks!

Hi Steve,
just ignore that foreign guide.
Adldap::auth()->attempt();
This is method from your package Adldap\Laravel\Facades\Adldap;
As I said if I use $userdn = 'cn=Jan Moravek,ou=users,dc=0xm,dc=net'
Adldap::auth()->attempt($userdn, $password, $bindAsUser = true);
Then it works. I need to get first userdn based on email user submitted during login.
What adldap method should I use to get userdn based on email address?
Thanks
Jan

You must first configure a username and password inside of your ldap.php configuration so Adldap can connect and search your directory, prior to calling auth()->attempt() on your user to verify their credentials.
Then, you can perform the following:
$user = Adldap::search()->users()->find('John Doe');

$ldap_auth = Adldap::auth()->attempt($user->getDn(), $password, $bindAsUser = true);

There is no way around providing credentials to Adldap to connect to your server to retrieve a user prior to calling the auth()->attempt() method - unless your LDAP server allows anonymous authentication.

The guide you've provided suggests using no credentials to connect to your LDAP server prior to calling auth()->attempt(). There is no way to retrieve a user from your LDAP server without first connecting to your LDAP server with a configured user account.
It's exactly like having your database credentials inside of your .env file. How would Laravel know to connect to your database without credentials? Answer: it can't. Adldap2 must know what credentials to use to search your LDAP directory.

Hi Steve,
I really appreciate your help.
I'm really new to Laravel. I made setup of ldap.php and ldap_auth before.
I have setup domain administrator credentials in .enf
LDAP_USERNAME=cn=admin,dc=0xm,dc=net
LDAP_PASSWORD=*********
I will let you know when I have progress.
Thanks again
Jan

Hi Steve,
I'm getting NULL when searching for user by submitted email address($submittedaddress).
$user = Adldap::search()->users()->findBy('mail', $submittedaddress);
But Adldap should be connected because if I use Adldap::auth->attempt with correct userDn then I get true.
Could you advice?
Thanks
Jan

Hi Steve,
by using findBy
Adldap::search()->where('mail', '=', 'johndoe@gmail.com')->get();
I get NULL
by using search->where
Adldap::search()->where('mail', '=', 'johndoe@gmail.com')->get()
I get collection object(Adldap\Query\Collection)
How can I get users dn from this collection?
And why findBy mail doesnt find the user but search where mail does find the user?
Thanks
Jan


Unfinished service can not be deleted

In GitLab by @cuiaq123 on Dec 28, 2017, 17:39
If you are reporting a problem, please make sure the following information are provided:

Version of board (last git commit number) , docker engine and docker-compose.
Config files of board, you can get them by packaging "board.cfg" and files in the same directory, including subdirectory.
Log files, you can get them by package the /var/log/board/.
Other necessery information.

In GitLab by @luotian-github on Nov 8, 2019, 07:44
will fix it in the next sprint

In GitLab by @luotian-github on Nov 8, 2019, 07:44
fixed, can be deleted after 10m

In GitLab by @sokril on Nov 8, 2019, 08:17
closed

In GitLab by @sokril on Nov 8, 2019, 08:17
assigned to @luotian-github


In file included from ../src/libsass/src/remove_placeholders.cpp:2:
In file included from ../src/libsass/src/remove_placeholders.hpp:6:
../src/libsass/src/ast.hpp:1614:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>' [-Wrange-loop-construct]
        for (const auto numerator : numerators)
                        ^
../src/libsass/src/ast.hpp:1614:14: note: use reference type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> &' to prevent copying
        for (const auto numerator : numerators)
             ^~~~~~~~~~~~~~~~~~~~~~
                        &
../src/libsass/src/ast.hpp:1616:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>' [-Wrange-loop-construct]
        for (const auto denominator : denominators)
                        ^
../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> &' to prevent copying
        for (const auto denominator : denominators)
             ^~~~~~~~~~~~~~~~~~~~~~~~
                        &
2 warnings generated.
  c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DLIBSASS_VERSION="3.5.5"' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/sass.o.d.raw   -c -o Release/obj.target/libsass/src/libsass/src/sass.o ../src/libsass/src/sass.cpp
In file included from ../src/libsass/src/sass.cpp:11:
In file included from ../src/libsass/src/sass_functions.hpp:6:
In file included from ../src/libsass/src/functions.hpp:4:
In file included from ../src/libsass/src/listize.hpp:7:
../src/libsass/src/ast.hpp:1614:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>' [-Wrange-loop-construct]
        for (const auto numerator : numerators)
                        ^
../src/libsass/src/ast.hpp:1614:14: note: use reference type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> &' to prevent copying
        for (const auto numerator : numerators)
             ^~~~~~~~~~~~~~~~~~~~~~
                        &
../src/libsass/src/ast.hpp:1616:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>' [-Wrange-loop-construct]
        for (const auto denominator : denominators)
                        ^
../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> &' to prevent copying
        for (const auto denominator : denominators)
             ^~~~~~~~~~~~~~~~~~~~~~~~
                        &
2 warnings generated.
  c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DLIBSASS_VERSION="3.5.5"' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/sass2scss.o.d.raw   -c -o Release/obj.target/libsass/src/libsass/src/sass2scss.o ../src/libsass/src/sass2scss.cpp
  c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DLIBSASS_VERSION="3.5.5"' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/sass_context.o.d.raw   -c -o Release/obj.target/libsass/src/libsass/src/sass_context.o ../src/libsass/src/sass_context.cpp
In file included from ../src/libsass/src/sass_context.cpp:9:
../src/libsass/src/ast.hpp:1614:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>' [-Wrange-loop-construct]
        for (const auto numerator : numerators)
                        ^
../src/libsass/src/ast.hpp:1614:14: note: use reference type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> &' to prevent copying
        for (const auto numerator : numerators)
             ^~~~~~~~~~~~~~~~~~~~~~
                        &
../src/libsass/src/ast.hpp:1616:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>' [-Wrange-loop-construct]
        for (const auto denominator : denominators)
                        ^
../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> &' to prevent copying
        for (const auto denominator : denominators)
             ^~~~~~~~~~~~~~~~~~~~~~~~
                        &
2 warnings generated.
  c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DLIBSASS_VERSION="3.5.5"' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/sass_functions.o.d.raw   -c -o Release/obj.target/libsass/src/libsass/src/sass_functions.o ../src/libsass/src/sass_functions.cpp
In file included from ../src/libsass/src/sass_functions.cpp:5:
In file included from ../src/libsass/src/values.hpp:4:
../src/libsass/src/ast.hpp:1614:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>' [-Wrange-loop-construct]
        for (const auto numerator : numerators)
                        ^
../src/libsass/src/ast.hpp:1614:14: note: use reference type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> &' to prevent copying
        for (const auto numerator : numerators)
             ^~~~~~~~~~~~~~~~~~~~~~
                        &
../src/libsass/src/ast.hpp:1616:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>' [-Wrange-loop-construct]
        for (const auto denominator : denominators)
                        ^
../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> &' to prevent copying
        for (const auto denominator : denominators)
             ^~~~~~~~~~~~~~~~~~~~~~~~
                        &
2 warnings generated.
  c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DLIBSASS_VERSION="3.5.5"' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/sass_util.o.d.raw   -c -o Release/obj.target/libsass/src/libsass/src/sass_util.o ../src/libsass/src/sass_util.cpp
In file included from ../src/libsass/src/sass_util.cpp:2:
In file included from ../src/libsass/src/node.hpp:7:
../src/libsass/src/ast.hpp:1614:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>' [-Wrange-loop-construct]
        for (const auto numerator : numerators)
                        ^
../src/libsass/src/ast.hpp:1614:14: note: use reference type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> &' to prevent copying
        for (const auto numerator : numerators)
             ^~~~~~~~~~~~~~~~~~~~~~
                        &
../src/libsass/src/ast.hpp:1616:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>' [-Wrange-loop-construct]
        for (const auto denominator : denominators)
                        ^
../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> &' to prevent copying
        for (const auto denominator : denominators)
             ^~~~~~~~~~~~~~~~~~~~~~~~
                        &
2 warnings generated.
  c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DLIBSASS_VERSION="3.5.5"' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/sass_values.o.d.raw   -c -o Release/obj.target/libsass/src/libsass/src/sass_values.o ../src/libsass/src/sass_values.cpp
In file included from ../src/libsass/src/sass_values.cpp:5:
In file included from ../src/libsass/src/eval.hpp:4:
../src/libsass/src/ast.hpp:1614:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>' [-Wrange-loop-construct]
        for (const auto numerator : numerators)
                        ^
../src/libsass/src/ast.hpp:1614:14: note: use reference type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> &' to prevent copying
        for (const auto numerator : numerators)
             ^~~~~~~~~~~~~~~~~~~~~~
                        &
../src/libsass/src/ast.hpp:1616:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>' [-Wrange-loop-construct]
        for (const auto denominator : denominators)
                        ^
../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> &' to prevent copying
        for (const auto denominator : denominators)
             ^~~~~~~~~~~~~~~~~~~~~~~~
                        &
2 warnings generated.
  c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DLIBSASS_VERSION="3.5.5"' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/source_map.o.d.raw   -c -o Release/obj.target/libsass/src/libsass/src/source_map.o ../src/libsass/src/source_map.cpp
In file included from ../src/libsass/src/source_map.cpp:7:
../src/libsass/src/ast.hpp:1614:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>' [-Wrange-loop-construct]
        for (const auto numerator : numerators)
                        ^
../src/libsass/src/ast.hpp:1614:14: note: use reference type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> &' to prevent copying
        for (const auto numerator : numerators)
             ^~~~~~~~~~~~~~~~~~~~~~
                        &
../src/libsass/src/ast.hpp:1616:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>' [-Wrange-loop-construct]
        for (const auto denominator : denominators)
                        ^
../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> &' to prevent copying
        for (const auto denominator : denominators)
             ^~~~~~~~~~~~~~~~~~~~~~~~
                        &
2 warnings generated.
  c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DLIBSASS_VERSION="3.5.5"' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/subset_map.o.d.raw   -c -o Release/obj.target/libsass/src/libsass/src/subset_map.o ../src/libsass/src/subset_map.cpp
In file included from ../src/libsass/src/subset_map.cpp:2:
../src/libsass/src/ast.hpp:1614:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>' [-Wrange-loop-construct]
        for (const auto numerator : numerators)
                        ^
../src/libsass/src/ast.hpp:1614:14: note: use reference type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> &' to prevent copying
        for (const auto numerator : numerators)
             ^~~~~~~~~~~~~~~~~~~~~~
                        &
../src/libsass/src/ast.hpp:1616:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>' [-Wrange-loop-construct]
        for (const auto denominator : denominators)
                        ^
../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> &' to prevent copying
        for (const auto denominator : denominators)
             ^~~~~~~~~~~~~~~~~~~~~~~~
                        &
2 warnings generated.
  c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DLIBSASS_VERSION="3.5.5"' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/to_c.o.d.raw   -c -o Release/obj.target/libsass/src/libsass/src/to_c.o ../src/libsass/src/to_c.cpp
In file included from ../src/libsass/src/to_c.cpp:3:
../src/libsass/src/ast.hpp:1614:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>' [-Wrange-loop-construct]
        for (const auto numerator : numerators)
                        ^
../src/libsass/src/ast.hpp:1614:14: note: use reference type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> &' to prevent copying
        for (const auto numerator : numerators)
             ^~~~~~~~~~~~~~~~~~~~~~
                        &
../src/libsass/src/ast.hpp:1616:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>' [-Wrange-loop-construct]
        for (const auto denominator : denominators)
                        ^
../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> &' to prevent copying
        for (const auto denominator : denominators)
             ^~~~~~~~~~~~~~~~~~~~~~~~
                        &
2 warnings generated.
  c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DLIBSASS_VERSION="3.5.5"' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/to_value.o.d.raw   -c -o Release/obj.target/libsass/src/libsass/src/to_value.o ../src/libsass/src/to_value.cpp
In file included from ../src/libsass/src/to_value.cpp:2:
../src/libsass/src/ast.hpp:1614:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>' [-Wrange-loop-construct]
        for (const auto numerator : numerators)
                        ^
../src/libsass/src/ast.hpp:1614:14: note: use reference type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> &' to prevent copying
        for (const auto numerator : numerators)
             ^~~~~~~~~~~~~~~~~~~~~~
                        &
../src/libsass/src/ast.hpp:1616:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>' [-Wrange-loop-construct]
        for (const auto denominator : denominators)
                        ^
../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> &' to prevent copying
        for (const auto denominator : denominators)
             ^~~~~~~~~~~~~~~~~~~~~~~~
                        &
2 warnings generated.
  c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DLIBSASS_VERSION="3.5.5"' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/units.o.d.raw   -c -o Release/obj.target/libsass/src/libsass/src/units.o ../src/libsass/src/units.cpp
  c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DLIBSASS_VERSION="3.5.5"' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/utf8_string.o.d.raw   -c -o Release/obj.target/libsass/src/libsass/src/utf8_string.o ../src/libsass/src/utf8_string.cpp
  c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DLIBSASS_VERSION="3.5.5"' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/util.o.d.raw   -c -o Release/obj.target/libsass/src/libsass/src/util.o ../src/libsass/src/util.cpp
In file included from ../src/libsass/src/util.cpp:3:
../src/libsass/src/ast.hpp:1614:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>' [-Wrange-loop-construct]
        for (const auto numerator : numerators)
                        ^
../src/libsass/src/ast.hpp:1614:14: note: use reference type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> &' to prevent copying
        for (const auto numerator : numerators)
             ^~~~~~~~~~~~~~~~~~~~~~
                        &
../src/libsass/src/ast.hpp:1616:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>' [-Wrange-loop-construct]
        for (const auto denominator : denominators)
                        ^
../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> &' to prevent copying
        for (const auto denominator : denominators)
             ^~~~~~~~~~~~~~~~~~~~~~~~
                        &
2 warnings generated.
  c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DLIBSASS_VERSION="3.5.5"' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/values.o.d.raw   -c -o Release/obj.target/libsass/src/libsass/src/values.o ../src/libsass/src/values.cpp
In file included from ../src/libsass/src/values.cpp:3:
In file included from ../src/libsass/src/values.hpp:4:
../src/libsass/src/ast.hpp:1614:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>' [-Wrange-loop-construct]
        for (const auto numerator : numerators)
                        ^
../src/libsass/src/ast.hpp:1614:14: note: use reference type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> &' to prevent copying
        for (const auto numerator : numerators)
             ^~~~~~~~~~~~~~~~~~~~~~
                        &
../src/libsass/src/ast.hpp:1616:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>' [-Wrange-loop-construct]
        for (const auto denominator : denominators)
                        ^
../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> &' to prevent copying
        for (const auto denominator : denominators)
             ^~~~~~~~~~~~~~~~~~~~~~~~
                        &
2 warnings generated.
  rm -f Release/sass.a && ./gyp-mac-tool filter-libtool libtool  -static -o Release/sass.a Release/obj.target/libsass/src/libsass/src/ast.o Release/obj.target/libsass/src/libsass/src/ast_fwd_decl.o Release/obj.target/libsass/src/libsass/src/backtrace.o Release/obj.target/libsass/src/libsass/src/base64vlq.o Release/obj.target/libsass/src/libsass/src/bind.o Release/obj.target/libsass/src/libsass/src/cencode.o Release/obj.target/libsass/src/libsass/src/check_nesting.o Release/obj.target/libsass/src/libsass/src/color_maps.o Release/obj.target/libsass/src/libsass/src/constants.o Release/obj.target/libsass/src/libsass/src/context.o Release/obj.target/libsass/src/libsass/src/cssize.o Release/obj.target/libsass/src/libsass/src/emitter.o Release/obj.target/libsass/src/libsass/src/environment.o Release/obj.target/libsass/src/libsass/src/error_handling.o Release/obj.target/libsass/src/libsass/src/eval.o Release/obj.target/libsass/src/libsass/src/expand.o Release/obj.target/libsass/src/libsass/src/extend.o Release/obj.target/libsass/src/libsass/src/file.o Release/obj.target/libsass/src/libsass/src/functions.o Release/obj.target/libsass/src/libsass/src/inspect.o Release/obj.target/libsass/src/libsass/src/json.o Release/obj.target/libsass/src/libsass/src/lexer.o Release/obj.target/libsass/src/libsass/src/listize.o Release/obj.target/libsass/src/libsass/src/memory/SharedPtr.o Release/obj.target/libsass/src/libsass/src/node.o Release/obj.target/libsass/src/libsass/src/operators.o Release/obj.target/libsass/src/libsass/src/output.o Release/obj.target/libsass/src/libsass/src/parser.o Release/obj.target/libsass/src/libsass/src/plugins.o Release/obj.target/libsass/src/libsass/src/position.o Release/obj.target/libsass/src/libsass/src/prelexer.o Release/obj.target/libsass/src/libsass/src/remove_placeholders.o Release/obj.target/libsass/src/libsass/src/sass.o Release/obj.target/libsass/src/libsass/src/sass2scss.o Release/obj.target/libsass/src/libsass/src/sass_context.o Release/obj.target/libsass/src/libsass/src/sass_functions.o Release/obj.target/libsass/src/libsass/src/sass_util.o Release/obj.target/libsass/src/libsass/src/sass_values.o Release/obj.target/libsass/src/libsass/src/source_map.o Release/obj.target/libsass/src/libsass/src/subset_map.o Release/obj.target/libsass/src/libsass/src/to_c.o Release/obj.target/libsass/src/libsass/src/to_value.o Release/obj.target/libsass/src/libsass/src/units.o Release/obj.target/libsass/src/libsass/src/utf8_string.o Release/obj.target/libsass/src/libsass/src/util.o Release/obj.target/libsass/src/libsass/src/values.o
  c++ '-DNODE_GYP_MODULE_NAME=binding' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../../nan -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/binding/src/binding.o.d.raw   -c -o Release/obj.target/binding/src/binding.o ../src/binding.cpp
  c++ '-DNODE_GYP_MODULE_NAME=binding' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../../nan -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/binding/src/create_string.o.d.raw   -c -o Release/obj.target/binding/src/create_string.o ../src/create_string.cpp
  c++ '-DNODE_GYP_MODULE_NAME=binding' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../../nan -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/binding/src/custom_function_bridge.o.d.raw   -c -o Release/obj.target/binding/src/custom_function_bridge.o ../src/custom_function_bridge.cpp
  c++ '-DNODE_GYP_MODULE_NAME=binding' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../../nan -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/binding/src/custom_importer_bridge.o.d.raw   -c -o Release/obj.target/binding/src/custom_importer_bridge.o ../src/custom_importer_bridge.cpp
  c++ '-DNODE_GYP_MODULE_NAME=binding' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../../nan -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/binding/src/sass_context_wrapper.o.d.raw   -c -o Release/obj.target/binding/src/sass_context_wrapper.o ../src/sass_context_wrapper.cpp
  c++ '-DNODE_GYP_MODULE_NAME=binding' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../../nan -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/binding/src/sass_types/boolean.o.d.raw   -c -o Release/obj.target/binding/src/sass_types/boolean.o ../src/sass_types/boolean.cpp
  c++ '-DNODE_GYP_MODULE_NAME=binding' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../../nan -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/binding/src/sass_types/color.o.d.raw   -c -o Release/obj.target/binding/src/sass_types/color.o ../src/sass_types/color.cpp
  c++ '-DNODE_GYP_MODULE_NAME=binding' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../../nan -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/binding/src/sass_types/error.o.d.raw   -c -o Release/obj.target/binding/src/sass_types/error.o ../src/sass_types/error.cpp
  c++ '-DNODE_GYP_MODULE_NAME=binding' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../../nan -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/binding/src/sass_types/factory.o.d.raw   -c -o Release/obj.target/binding/src/sass_types/factory.o ../src/sass_types/factory.cpp
  c++ '-DNODE_GYP_MODULE_NAME=binding' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../../nan -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/binding/src/sass_types/list.o.d.raw   -c -o Release/obj.target/binding/src/sass_types/list.o ../src/sass_types/list.cpp
  c++ '-DNODE_GYP_MODULE_NAME=binding' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../../nan -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/binding/src/sass_types/map.o.d.raw   -c -o Release/obj.target/binding/src/sass_types/map.o ../src/sass_types/map.cpp
  c++ '-DNODE_GYP_MODULE_NAME=binding' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../../nan -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/binding/src/sass_types/null.o.d.raw   -c -o Release/obj.target/binding/src/sass_types/null.o ../src/sass_types/null.cpp
  c++ '-DNODE_GYP_MODULE_NAME=binding' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../../nan -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/binding/src/sass_types/number.o.d.raw   -c -o Release/obj.target/binding/src/sass_types/number.o ../src/sass_types/number.cpp
  c++ '-DNODE_GYP_MODULE_NAME=binding' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/Users/oliverbyford/.node-gyp/14.16.1/include/node -I/Users/oliverbyford/.node-gyp/14.16.1/src -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/config -I/Users/oliverbyford/.node-gyp/14.16.1/deps/openssl/openssl/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/uv/include -I/Users/oliverbyford/.node-gyp/14.16.1/deps/zlib -I/Users/oliverbyford/.node-gyp/14.16.1/deps/v8/include -I../../nan -I../src/libsass/include  -O3 -gdwarf-2 -mmacosx-version-min=10.7 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/binding/src/sass_types/string.o.d.raw   -c -o Release/obj.target/binding/src/sass_types/string.o ../src/sass_types/string.cpp
  c++ -bundle -undefined dynamic_lookup -Wl,-search_paths_first -mmacosx-version-min=10.7 -arch arm64 -L./Release -stdlib=libc++  -o Release/binding.node Release/obj.target/binding/src/binding.o Release/obj.target/binding/src/create_string.o Release/obj.target/binding/src/custom_function_bridge.o Release/obj.target/binding/src/custom_importer_bridge.o Release/obj.target/binding/src/sass_context_wrapper.o Release/obj.target/binding/src/sass_types/boolean.o Release/obj.target/binding/src/sass_types/color.o Release/obj.target/binding/src/sass_types/error.o Release/obj.target/binding/src/sass_types/factory.o Release/obj.target/binding/src/sass_types/list.o Release/obj.target/binding/src/sass_types/map.o Release/obj.target/binding/src/sass_types/null.o Release/obj.target/binding/src/sass_types/number.o Release/obj.target/binding/src/sass_types/string.o Release/sass.a
gyp info ok
Installed to /Users/oliverbyford/Code/my-prototype/node_modules/node-sass/vendor/darwin-arm64-83/binding.node
added 1426 packages from 792 contributors in 65.224s

66 packages are looking for funding
  run `npm fund` for details

➜  my-prototype npm start

><EMAIL_ADDRESS>start /Users/oliverbyford/Code/my-prototype
> node start.js

[14:36:56] Using gulpfile ~/Code/my-prototype/gulpfile.js
[14:36:56] Starting 'default'...
[14:36:56] Starting 'generate-assets'...
[14:36:56] Starting 'clean'...
[14:36:56] Finished 'clean' after 6.63 ms
[14:36:56] Starting 'sass-extensions'...
[14:36:56] Finished 'sass-extensions' after 5.31 ms
[14:36:56] Starting 'sass'...
[14:36:56] Starting 'copy-assets'...
[14:36:56] Starting 'sass-documentation'...
[14:36:56] Starting 'copy-assets-documentation'...
[14:36:56] Starting 'sass-v6'...
[14:36:56] Starting 'copy-assets-v6'...
[14:36:56] Finished 'sass-v6' after 19 ms
[14:36:56] Finished 'copy-assets-v6' after 20 ms
[14:36:56] Finished 'copy-assets' after 36 ms
[14:36:56] Finished 'copy-assets-documentation' after 36 ms
[14:36:56] Finished 'sass-documentation' after 235 ms
[14:36:57] Finished 'sass' after 433 ms
[14:36:57] Finished 'generate-assets' after 445 ms
[14:36:57] Starting 'watch'...
[14:36:57] Starting 'server'...
[14:36:57] Starting 'watch-sass'...
[14:36:57] Starting 'watch-assets'...
[14:36:57] Starting 'watch-sass-v6'...
[14:36:57] Starting 'watch-assets-v6'...
[14:36:57] [nodemon] 2.0.7
[14:36:57] [nodemon] to restart at any time, enter `rs`
[14:36:57] [nodemon] watching path(s): .env **/*.js **/*.json
[14:36:57] [nodemon] watching extensions: js,mjs,json
[14:36:57] [nodemon] starting `node listen-on-port.js`

GOV.UK Prototype Kit v9.12.1

NOTICE: the kit is for building prototypes, do not use it for production services.

Listening on port 3000   url: http://localhost:3000

@36degrees yeah, I get the same now – but before it failed! I wonder if it works ok once you've successfully installed all the dependencies once (eg using node 15), as they get shared somehow? 🤷♂

One user on x-gov found it better to use Node 14 under Rosetta:

After struggling with the arm version of Node 15 (it was node-sass that was the problem) we used node v14 via rosetta and that did the trick

@36degrees do you know if they did anything specific to run under rosetta that we could write up, at least in the description of this issue?

Randomly stumbled on this thread while googling for an repeating error of "warning: loop variable 'denominator'" when doing an npm install.
This error does not make the install or running node fail.
When I got the M1 Mac Mini I had to upgrade our Node version 14.16.0 to 14.17.4. After upgrading to 14.17.4 everything is fine, no need to force Rosetta or anything.
I have heard upgrading all the way to 15.x.x/16.x.x will also work well on the M1.

the latest version of the Prototype Kit (v10) support Node 16, and updates node sass, hopefully this resolves this issue but more testing is needed to verify - if you can test on M1 please let us know!

recently helped someone on an m1 mac install, and we had to use this command for the npm install step:
npm install --target_arch=x64

The kit now works on M1 macs, please update to the latest version of the kit

I encountered some node-sass related errors on a 2021 M1 Mac in other projects, and we solved it by deleting node_modules, then running:
nvm use
npm uninstall node-sass -g && npm cache clean -force && npm install node-sass
nvm use
npm install

I found installing node-sass as part of the build while running node 16 caused errors that I couldn't fix on my M1 Mac - the install hangs at reify: rxjs for a long time then when the script tries to install node-sass it creates pages of errors and then stops. Using the code above didn't fix the problem.
On my machine I fixed the problem by using nvm use system and then npm install worked fine. Below is the log of a failed node 16 install
2022-03-24T14_25_54_051Z-debug.log
.

An update to this - my very new M1 Mac didn't have a version of Python installed out of the box (doing python --version resulted in an error). Installing Python 2.7 from the Python website seemed to fix the errors I was getting installing the Prototype kit.

Apple has stopped bundling Python 2.x in the operating system as of macOS 12.3. Users must now either install it manually, or if they install XCode, they will have Python 3.x installed instead.
This was apparently announced as happening back in 2019, though it seems to have flown under a lot of radars and it's a bit weird that they did the removal in a minor macOS release.

Tested again with @domoscargin, we confirmed that the kit no longer installs on M1. We found 2 workarounds:

Install Node 14 (using nvm)
Replace node-sass with sass:

npm install node-sass@npm:sass
This will give warnings when the kit runs, but seems to work

Note that replacing node-sass with sass (which is Dart Sass behind the scenes) does come with a rendering side-effect caused by differences in rounding precision: https://github.com/alphagov/govuk-frontend/issues/2199
This probably isn't a huge issue for prototyping, but something to be aware of.


Fix syntax error in MySQL testing

Cleanup fails with a syntax error:
failed to connect to setup test database: Database(MySqlDatabaseError { code: Some("42000"), number: 1064, message: "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'timestamp))' at line 1" })

There was already a fix for this in #2599


chore: remove blobfuse-flexvolume addon

Reason for Change:

This PR deprecates and removes the blobfuse-flexvolume addon
Issue Fixed:

Credit Where Due:
Does this change contain code from or inspired by another project?

[ ] No
[ ] Yes

If "Yes," did you notify that project's maintainers and provide attribution?

[ ] No
[ ] Yes

Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Notes:

/azp run


CastMap does an invalid cast on 'remove'

STR:
  final foo = json.decode('{}').cast<String, Object>();
  foo.remove('akey');

https://github.com/dart-lang/sdk/blob/d44457f79d087b52a0468609d44013e5fd9f09f0/sdk/lib/internal/cast.dart#L280 is incorrect, since remove returns a nullable value even if the value type is non-null.

This is causing issues for the very popular shared_preferences plugin on Linux and Windows, so ideally we would cherry-pick a fix for this to stable. (If that's not feasible, we can work around it in the plugin, but I don't think that plugin is going to be the only thing to hit this.)

cc @lrhn

Shouldn't be a problem. Not sure where we are in release cycles right now, but if it's cherry-pick season, it would be nice to get it in.


Is it possible to customize macros/configurations to mimic clustering approach ?

I would want to use in memory clickhouse using chdb to gain performance and easy of use in our CI builds.
However I will need to execute a "precomputed" dump of my Clickhouse node that contains some elements from the configuration, for example macros.
I would want to execute at least this kind of query :
CREATE DATABASE test ON CLUSTER '{cluster}' SYNC

Do you know a way to add these "macros" to chdb ? I dont find any documentation on this topic.
Many thanks !

chDB will load config.xml in cwd(current working dir).
As chDB is a single node version of ClickHouse engine. Create on cluster is not supported in chDB.
So with config.xml in current dir like:
<clickhouse>
    <macros>
        <shard>01</shard>
        <replica>01</replica>
        <cluster>cluster_1S_2R</cluster>
    </macros>
</clickhouse>

and run chDB like:
from chdb import session as chs
sess = chs.Session('dir_you_want_to_keep_your_data')
sess.sql("CREATE DATABASE test ON CLUSTER '{cluster}'")

will got:
ChdbError: Code: 701. DB::Exception: Requested cluster 'cluster_1S_2R' not found. (CLUSTER_DOESNT_EXIST)


Warrning when watching You are running the esm-bundler build of Vue...

Laravel Mix Version: 6.0.13
Node Version (node -v): v14.15.5
NPM Version (npm -v): 6.14.11
OS: OSX BigSur

Description:
Should I care about this warning when running npm run watch?
You are running the esm-bundler build of Vue. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.

Not quite sure what it telling me. This message is;t visible on the production build but still want to get rid of it.

Oh, right yeah we should set the necessary defines when using .vue() and Vue 3. Good catch.

Here's how you get rid of it
mix.js("resources/js/app.js", "public/js")
    .vue({ version: 3 })
    .webpackConfig((webpack) => {
        return {
            plugins: [
                new webpack.DefinePlugin({
                    __VUE_OPTIONS_API__: true,
                    __VUE_PROD_DEVTOOLS__: false,
                }),
            ],
        };
    })

This is not stale, just low priority.

Just found nicolailebek recommendation also fix VUE_PROD_DEVTOOLS error in production.

@nicolailebek  very helpful for laravel mix


Server side refresh not working when using Post

Hi,
We are using the ng-tasty table with the server side data option. The getResource functionality works fine with pagination and sorting etc. until I add ...

bind-reload="reloadCallback"

... to allow to force a reload of the data (after I delete a record) and then it stops rendering any data at all!
The server side end point is expecting a Http POST to get the data with the table required parameters in the payload from the paramsObj parameter.
I have followed the example from the documentation site and as far as I can see it's due to the POST instead of GET methodology of getting the data.
I think I've narrowed it down to ... https://github.com/Zizzamia/ng-tasty/blob/v0.6.1/src/component/table.js#L226
... as it seems to only set the $scope.url with building up a query string and not using paramsObj however I can't get it to fire off the $scope.reload() function to use the resourceCallback.
How can I get it to work with POST? Is there a way to hook directly into the setDirectivesValues function on the TableController to force the refresh?
Thanks

Same here. Did you manage do get it working?

The work around I did in the end was to add a new watch to a property on tasty table, when the property changed it triggered the server side code to execute the fetch.
So I made the following changes:

add 'bindRefresh' to listScopeToWatch

remove the build url call as no point from if (vm.start) code ....

         } else if ($scope.reload) {
          //$scope.url = buildUrl($scope.params, $scope.filters);

In 'updateServerSideResource' underneath if ((initNow || updateFrom == 'params') && ... to add in

     if ($scope.refresh && updateFrom === 'refresh') {
        updateServerSideResource();
    }

Add new item to the watchcollection ...

  $scope.$watchCollection('refresh', function (newValue, oldValue) {
      if (newValue !== oldValue) {
          if ($scope.clientSide) {
              $scope.$evalAsync(updateClientSideResource('refresh'));
          } else {
              $scope.$evalAsync(updateServerSideResource('refresh'));
          }
      }
  }, true);

It seems a bit hacky but at the moment it works :)
Hope it helps!

I'll gonna check this out, thank you!

Thanks! could you send me your edited file? I really struggle with the implementation or could you answer me following questions, according your approach?

add 'bindRefresh' to listScopeToWatch
Add new item to the watchcollection ...
Do I have to do this in the tastyTable.js or in my code?

I made the changes in the ng-tasty-tpls.js file

Thank you! It works!
But I need to reload the table on an event of another scope. In example:
I add values to that data, which are shown in the tasty table.
My controller of the tastyTable looks like this:
function databaseRecipeCtrl($rootScope, $scope, Item, Data, Notify, $timeout) {
    // Notify.send("ghfhfhhhfhhf");

    // $scope.radioModel = 10;
    $scope.init = {
      'count': 10,
      'page': 1,
      'sortBy': 'name',
      'sortOrder': 'dsc'
    };
    $scope.listItemsPerPage = [10, 25, 50, 100];
    $scope.refreshTable = function () {
      $scope.refresh = Math.random();
    };

    $scope.filterBy = {
      'name': '',
      'sf-location': ''
    };
    $scope.refreshTable();

    $scope.getResource = function (params, paramsObj) {

      return Data.post('recipes', paramsObj).then(function(results) {
        //
        return {
          'rows': results.rows,
          'header': results.header,
          'pagination': results.pagination[0]
        }
      });
    }
    $rootScope.$on('UpdateRecipeTable',  $scope.refreshTable());
}

I fire the event out of a directive:
$scope.saveConsumption = function(){
            // debugger;
            Data.post('consumption', {

                Datum: $scope.dateHolder.ConsumptionDate,
                ML: $scope.ConsumptionVolumne,
                Rezept_ID: $scope.selectedFlavoring.ID
            }).then(function(results) {
                // Data.toast(results);
                if(results.status == 'success'){
                  swal($translate.instant('SAVE_CONSUMPTION_CONFIRM_HEADLINE'), $translate.instant('SAVE_CONSUMPTION_CONFIRM_TEXT'), "success");

                  // Ggf. Controls aktualisieren
                  $rootScope.$broadcast('ReloadLiquidSelect');
                  $rootScope.$broadcast('UpdateDashboardConsumptionChart');
                  $rootScope.$broadcast('UpdateRecipeTable');

                } else{
                  swal($translate.instant(results.headline), $translate.instant(results.message), "error");
                }
            });

          }

But the event isn't catched by the listener in the controller. How do I do this? Any clue?

It works, thanks you! :)


UI setting for placeholder text

What should be added?
Would be great to have a setting to disable the newly added input box placeholder text.
Why should it be added?
Adds clutter to the UI for information that (presumably) the vast majority of the users doesn't need, duplicating the title bar info. This is especially confusing if you have set your Chatterino colors to be eye friendly and the text is already gray on black - the input window is just another line. Another example of low contrast would be a newly started/restarted client that loads old text in gray.
I think that de-clutter settings are a good idea, generally.

There is a setting to disable the input box showing up when empty. Maybe that's something you'd be interested in.

I am aware of the setting, I find it disorienting, especially if submitting consecutive lines and never being sure if the line has been submitted or not. Thank you for the suggestion, but it's not for me.

As an author of placeholder text, I thought this would be a nice addition to the UI, copying native webchat's 4placeholder and since it wasn't so big of a change I thought it would be nice to save ourselves addition of yet another very small setting to the already enormous pile of settings, but given your point I can see why some dislike this and I am down to add a toggle setting for it.

Placeholder texts seem to be the universal standard for almost everything nowadays. Like text boxes, chat inputs, search bars etc. Examples: Firefox, Chrome, Discord, MS Teams, Twitch Webchat, Github Comment Input Box and many more.
And then there is ofc this in Chatterino Settings:

But can't hurt to have this setting, right?
"Just one more setting FeelsGoodMan" - Chatterino, 2020

But can't hurt to have this setting, right?

Do we need more settings? This seems unnecessary in the grand scheme of things.

I also find this placeholder text annoying. But adding a setting to change it just seems unnecessary. Settings are already very cluttered and more settings don't do any good imo.

I also find this placeholder text annoying. But adding a setting to change it just seems unnecessary. Settings are already very cluttered and more settings don't do any good imo.

I don't think a setting is the way to go to customize this feature.
If you think the contrast between the input background and placeholder text is off, then custom themes - if anything - should be the solution.

I don't think a setting is the way to go to customize this feature.
If you think the contrast between the input background and placeholder text is off, then custom themes - if anything - should be the solution.


Could you share your code for nerf generation

I am trying to run the registration for my data.
However, I am using instant-ngp for the nerf training. It's no-trivial for me to convert to your nerf wrapper.

We used this code for our NeRF model. You can find the three interface methods at the bottom of the file.

We used this code for our NeRF model. You can find the three interface methods at the bottom of the file.

Yes. I found this file in other issues. It is the network modelling part. But my question is how to train this.
Is this the original nerf style modelling? Currently, I am using Instant-ngp, its network modelling is quite different from this interface. Currently, I think the volume rendering is more like a frame-per-frame rendering, instead of a ray generation of radiance field.

We used mipNeRF and mipNeRF360 style NeRFs as a backbone. I am not sure what you mean by frame-per-frame rendering. The rendering scheme at inference should be the same as original NeRF from my understanding.

We used mipNeRF and mipNeRF360 style NeRFs as a backbone. I am not sure what you mean by frame-per-frame rendering. The rendering scheme at inference should be the same as original NeRF from my understanding.

Hi, I tried to understand the training model part from mip-nerf or mip-nerf360. However I didn't find their nerf model interface functions call_eval transmittance_eval trace_eval