barratry update

changelog
-head dressers
-3x backup smes's in engi
-skub

Are there any backup PACMANs around on Barratry?
Becomes an issue as there's no TEG and the solars are tiny; PA can lose power and be unbootable due to lack of PACMANs


SPEAR -> MuJoCo scene export

TODO

[x] move environment.yml to setup.py
[x] improve README.md
[x] reverse joint parent-child order, based on new SPEAR content guideline
[ ] replace all Blender operations with trimesh

Closing this PR because we have a functional MuJoCo interop demo checked into main.


SecureTextEntry is not working properly

prop securetextentry is working fine on ios but not on android.

#23


add nested DOE in MFK doc

Coverage remained the same at 78.048% when pulling 218076002e811c161aa99bc2f886f90524f2163a on bouhlelma:master into 62c3f2c78f576f2ec7025e36374b352cf091ef1d on SMTorg:master.

:white_check_mark: Build SMT 0.3.563 completed (commit https://github.com/SMTorg/SMT/commit/92588f20d5 by @bouhlelma)


chop-generated-users.xml Root element doesn't have the corresponding root element as the config file. It must be

I'm getting an error
<Error> Application: Exception: Failed to merge config with '/etc/clickhouse-server/users.d/chop-generated-users.xml': Exception: Root element doesn't have the corresponding root element as the config file. It must be <yandex>
My configuration is
apiVersion: clickhouse.altinity.com/v1
kind: ClickHouseInstallation
metadata:
   name: clickhouse-communal
spec:
  configuration:
    clusters:
      - layout:
          shardsCount: 1
        name: cluster
    users:
      admin/networks/ip: '::/0'
      admin/password: 555555
      admin/profile: default
      user--test-clickhouse--check-deploy-testdatabases-chibase/allow_databases/database:
        - check-deploy-testdatabases-chibase
      user--test-clickhouse--check-deploy-testdatabases-chibase/networks/ip: '::/0'
      user--test-clickhouse--check-deploy-testdatabases-chibase/password: 89af86cd442da51d15c10f1469f54165c4889013a27e8559d3e33fb93ce9a6aa
      user--test-clickhouse--check-deploy-testdatabases-chibase/profile: default
  defaults:
    templates:
      dataVolumeClaimTemplate: chi-data-pvc
      podTemplate: chi-pod
      serviceTemplate: chi-svc
  templates:
    podTemplates:
      - generateName: clickhouse-communal
        metadata:
          labels:
            clickhouse-instance: clickhouse-communal
        name: chi-pod
        spec:
          containers:
            - image: yandex/clickhouse-server:<IP_ADDRESS>
              name: clickhouse
              resources:
                limits:
                  memory: 2Gi
                requests:
                  cpu: 10m
                  memory: 256Mi
    serviceTemplates:
      - generateName: clickhouse-communal
        metadata:
          labels:
            clickhouse-instance: clickhouse-communal
        name: chi-svc
        spec:
          ports:
            - name: http
              port: 8123
            - name: tcp
              port: 9000
            - name: tcp-2
              port: 9009
          type: ClusterIP
    volumeClaimTemplates:
      - name: chi-data-pvc
        spec:
          accessModes:
            - ReadWriteOnce
          resources:
            requests:
              storage: 1Gi
          storageClassName: yc-network-hdd

Full logs clickhouse operator is
2024.10.24 07:43:51.988028 [ 52 ] {} <Debug> Application: Setting up /var/lib/clickhouse/tmp/ to store temporary data in it
2024.10.24 07:43:51.988320 [ 52 ] {} <Information> SensitiveDataMaskerConfigRead: 1 query masking rules loaded.
2024.10.24 07:43:51.989126 [ 52 ] {} <Debug> ConfigReloader: Loading config '/etc/clickhouse-server/config.xml'
Processing configuration file '/etc/clickhouse-server/config.xml'.
Merging configuration file '/etc/clickhouse-server/conf.d/chop-generated-hostname-ports.xml'.
Merging configuration file '/etc/clickhouse-server/conf.d/chop-generated-macros.xml'.
Merging configuration file '/etc/clickhouse-server/config.d/01-clickhouse-01-listen.xml'.
Merging configuration file '/etc/clickhouse-server/config.d/01-clickhouse-02-logger.xml'.
Merging configuration file '/etc/clickhouse-server/config.d/01-clickhouse-03-query_log.xml'.
Merging configuration file '/etc/clickhouse-server/config.d/01-clickhouse-04-part_log.xml'.
Merging configuration file '/etc/clickhouse-server/config.d/01-clickhouse-05-trace_log.xml'.
Merging configuration file '/etc/clickhouse-server/config.d/chop-generated-remote_servers.xml'.
Saved preprocessed configuration to '/var/lib/clickhouse/preprocessed_configs/config.xml'.
2024.10.24 07:43:51.993312 [ 52 ] {} <Debug> ConfigReloader: Loaded config '/etc/clickhouse-server/config.xml', performing update on configuration
2024.10.24 07:43:51.994041 [ 52 ] {} <Information> Application: Setting max_server_memory_usage was set to 28.21 GiB (31.35 GiB available * 0.90 max_server_memory_usage_to_ram_ratio)
2024.10.24 07:43:51.995263 [ 52 ] {} <Debug> ConfigReloader: Loaded config '/etc/clickhouse-server/config.xml', performed update on configuration
2024.10.24 07:43:51.997841 [ 52 ] {} <Debug> ConfigReloader: Loading config '/etc/clickhouse-server/users.xml'
Processing configuration file '/etc/clickhouse-server/users.xml'.
Merging configuration file '/etc/clickhouse-server/conf.d/chop-generated-hostname-ports.xml'.
Merging configuration file '/etc/clickhouse-server/conf.d/chop-generated-macros.xml'.
Merging configuration file '/etc/clickhouse-server/users.d/01-clickhouse-operator-profile.xml'.
Merging configuration file '/etc/clickhouse-server/users.d/02-clickhouse-default-profile.xml'.
Merging configuration file '/etc/clickhouse-server/users.d/chop-generated-users.xml'.
**2024.10.24 07:43:52.000699 [ 52 ] {} <Error> Application: Exception: Failed to merge config with '/etc/clickhouse-server/users.d/chop-generated-users.xml': Exception: Root element doesn't have the corresponding root element as the config file. It must be <yandex>**
2024.10.24 07:43:52.000760 [ 52 ] {} <Information> Application: shutting down
2024.10.24 07:43:52.000770 [ 52 ] {} <Debug> Application: Uninitializing subsystem: Logging Subsystem
2024.10.24 07:43:52.000942 [ 53 ] {} <Information> BaseDaemon: Stop SignalListener thread
2024.10.24 07:43:52.007462 [ 1 ] {} <Information> Application: Child process exited normally with code 70.

Operator installed by Helm
Chart.yaml
apiVersion: v2
name: clickhouse-operator
version:  0.24.0
appVersion: 0.24.0

dependencies:
  - name: altinity-clickhouse-operator
    version:  0.24.0
    repository: https://docs.altinity.com/clickhouse-operator/

values.yaml
altinity-clickhouse-operator:
  fullnameOverride: "clickhouse-operator"
  operator: {}
  metrics:
    enabled: false

config.yaml
apiVersion: "clickhouse.altinity.com/v1"
kind: "ClickHouseOperatorConfiguration"
metadata:
  name: "base-config"
spec:
  watch:
    namespaces:
      - ".*"

try change image: yandex/clickhouse-server:<IP_ADDRESS> to image: clickhouse/clickhouse-server:22.8


Regent compiler hanging with somewhat pathological allocation

I was trying to reproduce a strange segfault as part of some larger codebase (which I'm happy to share if it helps, but this MWE seems to reproduce it). The culprit seems to be a struct that's larger than the stack size. While some of the segfaults are probably just because of that, others use heap-allocated memory and the size of the stack should not matter, and result in the compiler hanging and using more than 7 GB of RAM (in one instance it used all of 31 GB before being killed, but I haven't been able to reproduce it). I realize that this is a fairly pathological scenario (though it comes from an application where it would be useful), but it does seem to trigger some edge cases. Happy to help look into it further or share more code. Thanks!
For the legion repo, I'm at the latest stable commit, i.e. 6732fb6f61a631348c2ed7cd1317af444779b3b7 on Dec 27. For the terra repo, I'm at the latest master commit, i.e. 9e01a92c329af229e41f365deec26680f6bd6246.
import "regent"

local c = regentlib.c

Q = 16
N = 4782969
--N = 1000

-- Also fails if using fspace instead of struct
struct Doot {
  lens : uint16[N];
}

task segfault(vv : &Doot)
  c.printf("good day\n")
end

task hanging(vv : Doot)
  c.printf("good morning\n")
end

task top()

  c.printf("top begin\n")

  var hmmm : &Doot = [&Doot](c.malloc(Q*N));

  --this also fails but can probably be blamed on it being bigger than the stack
  --var hmmm : Doot[Q]

  segfault(hmmm)

  -- This one just makes the compiler hang, then exit with "C++ exception"
  -- Seems like it's probably because the struct is bigger than the stack size
  --hanging(hmmm[0])

  c.printf("task done\n")

end

print('calling regentlib.start')
regentlib.start(top)
print('regentlib.start finished')

Would you mind providing a stack trace just so we can confirm if it is a compiler or runtime issue? Thanks.

It's in LLVM, in instruction selection. (Backtrace at bottom.) Not sure why, but odds are if you replicated the same pattern in C you'd get exactly the same behavior.
But anyway, passing raw pointers is definitely going to break anyway. (Consider that any time you have multiple nodes, raw pointers simply aren't valid accross nodes, and even on a single node they defeat Legion's dependence analysis, so you could get bad behavior on single nodes too.)
Also just as a practical note, the amount of data we're talking about here is well beyond the point where it should be going into a region, even if the data is purely read-only. There is some point where it's advantageous to keep it in a task parameter, but that's probably under a couple of KB or so.
#0  0x0000000001481631 in std::enable_if<llvm::hashing::detail::is_hashable_data<unsigned int const>::value, llvm::hash_code>::type llvm::hashing::detail::hash_combine_range_impl<unsigned int const>(unsigned int const*, unsigned int const*) ()
#1  0x0000000001f53ea7 in llvm::FoldingSetNodeIDRef::ComputeHash() const ()
#2  0x0000000001f53ee3 in llvm::FoldingSetNodeID::ComputeHash() const ()
#3  0x0000000001f53cb4 in llvm::FoldingSetBase::GrowBucketCount(unsigned int) ()
#4  0x0000000001f53b85 in llvm::FoldingSetBase::InsertNode(llvm::FoldingSetBase::Node*, void*) ()
#5  0x0000000001e40806 in llvm::SelectionDAG::getRegister(unsigned int, llvm::EVT) ()
#6  0x0000000001e63438 in llvm::RegsForValue::getCopyToRegs(llvm::SDValue, llvm::SelectionDAG&, llvm::SDLoc const&, llvm::SDValue&, llvm::SDValue*, llvm::Value const*, llvm::ISD::NodeType) const ()
#7  0x0000000001e98453 in llvm::SelectionDAGBuilder::CopyValueToVirtualRegister(llvm::Value const*, unsigned int) ()
#8  0x0000000001e9f377 in llvm::SelectionDAGBuilder::visit(llvm::Instruction const&) ()
#9  0x0000000001ea82eb in llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::Instruction, false, false, void>, false, true>, llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::Instruction, false, false, void>, false, true>, bool&) ()
#10 0x0000000001eb1b4c in llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) ()
#11 0x0000000001eb3937 in llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) ()
#12 0x0000000002227464 in (anonymous namespace)::X86DAGToDAGISel::runOnMachineFunction(llvm::MachineFunction&) ()
#13 0x00000000012b2221 in llvm::MachineFunctionPass::runOnFunction(llvm::Function&) ()
#14 0x00000000014ffc42 in llvm::FPPassManager::runOnFunction(llvm::Function&) ()
#15 0x00000000014ffcf3 in llvm::FPPassManager::runOnModule(llvm::Module&) ()
#16 0x00000000014ff88f in llvm::legacy::PassManagerImpl::run(llvm::Module&) ()
#17 0x0000000001a504fa in llvm::orc::SimpleCompiler::operator()(llvm::Module&) ()
#18 0x0000000001a50983 in std::_Function_handler<llvm::Expected<unsigned long> (), llvm::orc::LazyEmittingLayer<llvm::orc::IRCompileLayer<llvm::orc::RTDyldObjectLinkingLayer, llvm::orc::SimpleCompiler> >::EmissionDeferredModule::find(llvm::StringRef, bool, llvm::orc::IRCompileLayer<llvm::orc::RTDyldObjectLinkingLayer, llvm::orc::SimpleCompiler>&)::{lambda()#1}>::_M_invoke(std::_Any_data const&) ()
#19 0x0000000001a4ec78 in llvm::orc::OrcMCJITReplacement::getGlobalValueAddress(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#20 0x00000000009afa49 in JITGlobalValue (CU=0x65f4e40, gv=0x6a52998) at src/tcompiler.cpp:2774
#21 0x00000000009afb7c in terra_jit (L=0x40ee1378) at src/tcompiler.cpp:2788
#22 0x0000000003236df6 in lj_BC_FUNCC ()
#23 0x00000000031f73d0 in lua_pcall ()
#24 0x00000000009aabc8 in docall (L=0x40ee1378, narg=2, clear=0) at src/main.cpp:332
#25 0x00000000009aa1ca in main (argc=4, argv=0x7ffe17a5b0d8) at src/main.cpp:109

Gotcha, yeah, that makes sense. Thanks!


Improve gem homepage URL

I noticed that http://github.com/gilt/rubyXL redirects to https://github.com/weshatheleopard/rubyXL, so replaced it.
This URL is used at the following part of https://rubygems.org/gems/rubyXL

Thank you. I believe that came from the original gem creator, and never changed since.


It should not be possible to add to endpoint with the same name

Add "unique" validation.

http://stackoverflow.com/questions/25810738/unique-values-for-two-columns-in-doctrine


Describe the issue/bug and what you expect
I would like to be able to manage the settings and switches related to the AUX load. You can see them in the Sunsynk app under Inverter ... Settings, AUX Settings.
These would appear to be the registers at registers 234-239, 241, and bit 12 of register 280.
Logs (if applicable)
modbus -s 1 <IP_ADDRESS> 234 235 236 237 238 239 280
234: 0 0x0
235: 1 0x1
236: 5100 0x13ec
237: 50 0x32
238: 5400 0x1518
239: 60 0x3c
280: 12288 0x3000

Can you try creating your own sensors? You can do this with the MULTI addon and creating your own custom sensor file
https://kellerza.github.io/sunsynk/reference/mysensors

This mysensors.py should get you started. You can probably suggest better names, these are directly translated.
from sunsynk.rwsensors import SelectRWSensor, SwitchSensor

SENSORS += SelectRWSensor(234, "Force Gen", switch=("Off", "Force"))
SENSORS += SelectRWSensor(
    235,
    "AUX port",
    options={0: "Disable", 1: "Load Output", 2: "Inverter Input"},
)
SENSORS += SelectRWSensor(280, "Micro Grid export", bitmask=1<<12, options={1<<12: "Grid", 0:"Off"})

Thanks for this. In the meantime, my need for this control has diminished, as I have simply set the threshold to the minimum, so that it stays on all the time, and control the load with a smart relay.
I'll still test it out, though.

So I tried it, and got a few errors. Some of which I could resolve, but I'm not sure about the SelectRWSensor with the switch option. That code appears to be commented out in the version that I have running (and in the latest github version).
This is what I ended up with from your initial code:

In the latest version there should be a SwitchRWSensor

Aha! I'll check that out. Thanks!

I'm trying to achieve the same thing using SwitchRWSensor, but unfortuantely my Python skills aren't as good as RoganDawes'
I am able to set and read the bits, but I get log entries like this:
WARNING unknown1: Unknown register value 272
This is my code
SENSORS += SwitchRWSensor(280, "Unknown1", on=0x01, bitmask=0x000) SENSORS += SwitchRWSensor(280, "Gen Peak Shaving", on=0x10, bitmask=0x010) SENSORS += SwitchRWSensor(280, "Grid Peak Shaving", on=0x100, bitmask=0x100) SENSORS += SwitchRWSensor(280, "Micro Grid Export", on=0x1000, bitmask=0x1000) SENSORS += SwitchRWSensor(280, "Unknown3", on=0x2000, bitmask=0x2000) SENSORS += SwitchRWSensor(280, "Unknown4", on=0x4000, bitmask=0x4000) SENSORS += SwitchRWSensor(280, "DRM", on=0x8000, bitmask=0x8000)
I think I need some kind of bitwise operator to read back the bits (rather than 'on=0x100', but I haven't been able to make it work with the SwitchRWSensor function.

The bitmask likely already do what you want.
When reading a register from the Inverter the value is masked (value & bitmask) and then compared with on/off. ref
When writing a register to the Inverter:

The current register value is read
The value from the sensors updates that value with the bitmask (see patch)
The new value is written to the inverter

An 'unknown value' error usually indicates that a selectrwsensor received an undefined option (and likely needs a bitmask to only consider the correct bits)
Use the Python REPL to play around with these concepts/convert
>>> 0b1
1
>>> 0b10
2
>>> 0x1
1
>>> 0x10
16
>>> bin(272)
'0b100010000'
>>> hex(272)
'0x110'
>>> 1<<12
4096
>>> 0xfff & 0x1
1
``

No point leaving this open, I think.


Improve check for natively supported values

https://github.com/apple/swift-corelibs-foundation/blob/ef6f96ee82ea0f54252071c0ecadf5f01be9aecc/Foundation/UserDefaults.swift#L26-L64
Seems we could also support NSNumber and various Int* types.
Even arrays of values (https://github.com/sindresorhus/Defaults/issues/47).
We could also adopt the approach of using a protocol to define the natively supported types: https://www.vadimbulavin.com/advanced-guide-to-userdefaults-in-swift/

Fixed by #57


Infrastructure - Initial TF setup, container registry and docker image build + push

This PR adds the basics of TF (remote state) and the docker image registry on Azure. It also has a k8s cluster, but that will be iterated on later, right now it's pretty much barebones.
It bumps the nodejs version on the FE app to 14.18 (to match the API, just because) and it adds a dockerfile to it too
In parallel, I removed all references to user ids and group ids from all docker images, because honestly those are probably a bad solution to whatever problem someone had and did not document - we have other projects running just fine without using these hacks.
Last but not least, GH actions to build and push docker images for the 3 apps to the azure container registry.

@hotzevzl any clue why tests are failing? too much output, and too many things that seem like expected errors, to the point where I cant tell apart what's expected and whats not

@hotzevzl any clue why tests are failing? too much output, and too many things that seem like expected errors, to the point where I cant tell apart what's expected and whats not

It looks like the usual poltergeist tests (polterteists?) that we've been getting more of recently. I've set up a runner on a spare VM but i'm scared as hell of trying it out even only temporarily (i did remove the ability for passersby to open PRs, but still...)

polterteists passed on fourth attempt, let's MERGE ALL THE THINGS!

forgot to mention - not for this PR of course, but I suggest to complement the documentation in this PR with a separate bit listing the account/service principal/etc requirements that are needed in order to manage the infra via TF on Azure (=> which kind of least-privilege access needs to be granted in order for engineers to be able to tf apply all the things - will also be relevant for TNC to prepare things for Vizz to set up an environment on TNC's Azure account)


Here's a new site I'd like you to consider blocking

Here's a new site I'd like you to consider blocking:
www.reddit.com
(please include any other relevant details)
Comment blocking not working on reddit, currently browsing using old reddit.

Hm, they seem to have changed some elements and they're less predictable. I'll make an update that hopefully works and doesn't break anything else.

Looks like it's working. I'll close this for now, but if you update the definitions and they're still there somewhere, just let me know.


Fixing pre-delete-webhook template for missing imagePullSecrets

Fixing pre-delete-webhook template for missing imagePullSecrets

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 47.024%

Totals

Change from base Build<PHONE_NUMBER>4:
0.0%

Covered Lines:
7103

Relevant Lines:
15105

💛  - Coveralls

LGTM

Thanks


Mux player error logs when loading raw video src

we should be able to turn off these error logs. they're called in playback-core

@luwes what's needed to fix this?

I spoke internally with the elements team and they're firm on leaving the error in.
another option to hide this from the user would be to monkeypatch console.error, not great but this error would only show in the local environment when accessing the local raw video file...


Translucent Objects in Scene / Disable Depth Mask for Some/All Nodes

Is there a way to disable depth mask so that when viewing translucent objects, viewers can see not only the front-faces but also the back-faces?
This is possible when using GLES calls such as glDepdthMask(false), but I am having a hard time figuring out a way to do that using sceneform. Making objects half-transparent or having objects with half-transparent textures (non-opaque png textures) seems to make objects somewhat see-through but still hides parts of the object not facing the viewer.
An example is a translucent textured cube such as tainted glass cube. Due to perspective, a viewer can see up to 3 faces of the cube from any angle if it were opaque. If it were translucent, the viewer would see all 6 faces of the cube from any angle. However, sceneform appears to only show up to 3 faces of the cube from any angle regardless of whether it is opaque or translucent.
Furthermore, as I have not found any method to call to allow all faces be seen, I even tried to tweak GLES settings in the onUpdateListener call on the Scene instance. Non-surprisingly, that was to no avail. Therefore, I would like some enlightenment. Is this possible with the current version of sceneform? If so, could someone present me a working example of this being done? If not, can I expect this to be possible in a future update?

Hi @malulleybovo thank you for submitting this issue.
While currently unsupported, drawing transparent objects as two-sided is possible in the upcoming 1.3.0 release, using custom materials.  I'll update this issue with more information when the release goes out.


chore(readme): mark project as moved to stencil community

designate that the project has been moved to the stencil community
prior to archiving it (thus making it read only)

Ugh, wrong repo


Correction for raw affiliation UMR 5191 ICAR. Université Lyon 2

Correction needed for raw affiliation UMR 5191 ICAR. Université Lyon 2
raw_affiliation_name: UMR 5191 ICAR. Université Lyon 2
new_rors: 03rth4p18;04mn0nr69
previous_rors: 029brtt94
works_examples: W1893171828
contact: cf3c95697616f99e75c92e994dd96727:bfc53f118116355b982cb600714a @ ens-lyon.fr

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


Fix typo

The second commit replaces easisest by easier which seems more natural. At the very least it should be replaced by easiest which is the correct orthography.

tx, would you mind squashing your commits to one please ?

Normally there is an option on the merge button to squash all the commits into one. If you can't find it I'll do it manually.

Squashed.

Thank you !


Update 3rd column in the UI to support file-upload as part of POST request

Integration with issue #71 is pending as part of this feature.


[W2D5] T2: equation for greedy policy

In the equation for greedy policy:
\begin{align}
P (a_{t} = a) =
\begin{cases}
1 - \epsilon    & \quad \text{if } a_{t} = \text{argmax}{a} ; q{t} (a) \
\epsilon/N        & \quad \text{else}
\end{cases}
\end{align}
(between sec2.1 and ex1) what does N stand for? There is no mention of it in the text.

As of slack discussion with @marcelomattar, N stands for the number of actions, but there are inconsistencies both within equation and in the text below regarding whether the argmax-option is among the options to choose in the non-greedy case. What the solution code does is it chooses the greedy option with probability (1-epsilon) and between all options (including the greedy), otherwise.
Suggested fix (in line with Sutton & Barto)

change first row of equation (probabiligy for argmax-option) to 1-epsilon + epsilon/N
adapt text below first bar graph accordingly

Alternatively (appears to also be used in practice; makes equation look slightly less complex):

change second row of equation (probability for non-argmax options to epsilon/(N-1)
adapt text below equation accordingly
change solution code to only select among non-argmax option in the "else:" condition.

After going through the slack discussion, I propose the following fix:
$\epsilon$-greedy policy:
\begin{align}
P (a_t = a_k) =
        \begin{cases}
        1 - \epsilon    & \quad \text{then } a_{k} = \arg\max_{a} q_{t} (a) \\
        \epsilon/N       & \quad \text{then } a_{k} \in \{a\}
        \end{cases}
\end{align}
where $\epsilon \in [0,1]$, and $N$ is number of actions in $\{a\}$ available to the agent (including the optimal action, so that $1 - \epsilon + \epsilon/N \times N = 1$).

@willwayaka IMO, the first case should be 1 - \epsilon + 1/N, then the second condition should be an "else". I think it confusing to have the actions contained in the "if" and the "else" be overlapping.


Does not support python3

Traceback (most recent call last):
  File "/usr/bin/elasticsearch_loader", line 7, in <module>
    from elasticsearch_loader import cli
  File "/usr/lib/python3.5/site-packages/elasticsearch_loader.py", line 7, in <module>
    from click_stream import Stream
  File "/usr/lib/python3.5/site-packages/click_stream.py", line 3, in <module>
    from urlparse import urlparse
ImportError: No module named 'urlparse'

Fixed import errors, give it a try (:


Bug - Browserify 'watch' does not work

When an entry file is modified and 'watch' is set to true, Browserify recognizes that the file changed (i.e. it fires 'bundle' event and 'modified' is updated); however, after the bundle is regenerated, it appears that the old version of the entry file is still used. :(
Also tried reinstalling browserify -- no luck.
Using:
Browserify v1.8.0
Node v0.4.12
npm v1.0.106

Still not working.
app.use(require('browserify')({
'watch': true,
'entry': [__dirname + '/../client/__index.js'],
'mount': '/client.js'
}) );
Browserify v1.8.1
Node v0.6.2
npm v1.0.106

Update... this is broken because relative paths don't work well in Browserify.  I will close this issue and open a new one.


Parallel contig assembly

Looks good. Test pass.
Brian, can you confirm that you've manually tested it with multiple cores in a case where there might be concurrency issues?

Now I can confirm it passes manual testing.

You can still break it though if you attempt to re-run an assembly that is running at the right moment.


Sort errors to bottom after warnings always

What I expect

What I get sometimes.

Version 0.9.2

@Boshen do we have a planned diagnostic order, or is it just by rule id?

i'm pretty sure it's unordered at the moment
https://github.com/oxc-project/oxc/blob/ff7fa987db9c145cd74b762b69e6b377d2674307/crates/oxc_diagnostics/src/service.rs#L126-L170
it feels like it'd be pretty expensive to order, we'd have to collect every diagnostic first, and the output them, currently we output them as the arrive

it feels like it'd be pretty expensive to order, we'd have to collect every diagnostic first, and the output them, currently we output them as the arrive

Your cli takes 200ms, instead of 120,000ms like eslint, adding a --sort flag where i get no output until the end of the cli would be great for devex.

For a single file, I agree. For multiple files, we'd need to allocate all diagnostics into a Vec, sort it, then log it. This is really expensive. We'd like to keep it at 200ms 😄

i guess it wouldn't be as bad actually, we could continue logging warnings as the come in, only collecting errs to report at the end

I have no opinion on whether we should support this or not, If all we want from this feature is having errors at the end we can avoid sorting by having 2 buffers for warnings and errors and flush them to the stdout at the end in the desired order(without sorting the elements). It increases the memory footprint but has its performance upsides - having fewer syscalls - that might balance our performance tradeoffs.
It has one UX downside which is we lose the instant feedback as it has to wait until the end of program lifetime to display the reports. But if we keep it optional we should be all good.

Your cli takes 200ms, instead of 120,000ms like eslint, adding a --sort flag where i get no output until the end of the cli would be great for devex.

@Raynos did your eslint genuinly take 120,000ms? how many files was it running on?

i guess it wouldn't be as bad actually, we could continue logging warnings as the come in, only collecting errs to report at the end

This is actually a better approach if we always want to keep errors at the end if this feature is on.

@camc314 no it took 15 minutes on github actions and it timed out, about 3,000 files in a monorepo.
It also takes about 10GB of ram to run.
on my m3 macbook it takes 10gb and 2-4 minutes to run.

An alternative and valid feature request would be for the read the cli help and use the cli flag to not log warnings at all. aka use --quiet as documented.

Github actions

Finished in 1.6s on 2832 files with 107 rules using 2 threads.

Run npm run lint:eslint:slow
<EMAIL_ADDRESS>lint:eslint:slow
NODE_OPTIONS=--max-old-space-size=10240 time eslint ./workspaces/

125.69user 7.79system 1:19.17elapsed 168%CPU (0avgtext+0avgdata 6910988maxresident)k
7656inputs+0outputs (79major+2022427minor)pagefaults 0swaps

1.2minutes of time in github actions to run eslint with about 5 rules that are not backported to oxlint, running on a subset of the monorepo, with an upgrade from eslint 8 to eslint 9
still needs 10GB of ram lol

There's already a --quiet (and alternatively a --silent) CLI flag

@Raynos thanks for sharing

The current architecture dumps all diagnostics to the screen as soon as possible. The only workaround is to use --quiet to see the errors.
Changing the current architecture is not feasible so close as not planned.


Fail install the pacakge on win10

library(devtools)
find_rtools()
[1] TRUE
install.packages("RLightGBM_0.1.tar.gz", type="source", repos=NULL)
Installing package into ‘C:/Users/sugaos/Documents/R/win-library/3.3’
(as ‘lib’ is unspecified)
Warning: 程辑包无效. 'RLightGBM_0.1.tar.gz'
错误: 错误：没有设定程序包
Warning in install.packages :
running command '"C:/PROGRA~1/MICROS~4/RSERVE~1/R_SERVER/bin/x64/R" CMD INSTALL -l "C:\Users\sugaos\Documents\R\win-library\3.3" "RLightGBM_0.1.tar.gz"' had status 1
Warning in install.packages :
installation of package ‘RLightGBM_0.1.tar.gz’ had non-zero exit status
Thanks!
My computer: win10, 2cores, Mircorsoft R Server9.10

I added a pull request yesterday.
Try install.packages("RLightGBM/RLightGBM_0.1.tar.gz", type="source", repos=NULL)

@suyi19890508 Can you confirm, that the change propsed by  @grayskripko solves your problem?

@bwilbertz No, I can't install the RLightGBM package through the code "install.packages("RLightGBM/RLightGBM_0.1.tar.gz", type="source", repos=NULL)". But I also thanks @grayskripko  to help me!

@suyi19890508
After git clone command you must get RLightGBM folder with some content.
Then you build RLightGBM_0.1.tar.gz archive. It will appear in RLightGBM folder
The last step for Windows will be install.packages( but you must specify the full and correct path to the archive you built. It will include RLightGBM folder because cd RLightGBM does not affect R session.

In case you ran git clone not in your current work directory (getwd()) the full path will be different! Just specify the full path to the RLightGBM_0.1.tar.gz archive in install.packages command


Drop python-2.7, celery-3.1 and old Django

Tox-based CI is now broken, because tox installs latest setuptools version, and it dropped support for use2to3 argument.
use2to3 is used in anyjson package, last release was in 10 years ago
anyjson is transient dependency for celery through kombu
Celery-4.4 does not have this problems

So, to fix CI, we must either fix setuptools version for tox, or drop Celery-3.1 support.

2.7 is still here with Celery-4.4 and Django-1.11 (drf 3.5-3.7). No reason to drop it.


Machine Learning: tour and workflow

tour
workflow
@bebatut

Thanks @polkhe
@anuprulez would have time to you check this tour and workflow?

@bebatut Ok, will have a look at it. Thanks

@bebatut I am not sure how to execute a tour. Clicking on any tour takes me to the checked-in tour.yaml file. Moreover, this link -
https://github.com/galaxyproject/training-material/tree/master/topics/statistics/tutorials/machinelearning/tours/
is broken.
@polkhe

ping @polkhe
Thanks a lot for this work. I executed the workflow and it worked correctly. I have further comments on the tour:

When I reach the above step and do Click on Paste/Fetch data and then click Next, I get two blocks filled with the links to the datasets (shown below). But, when I just click on Next without doing Click on Paste/Fetch data it works fine. Click on Paste/Fetch data text is misleading I think.

When I reach the step "Train a classifier", the tour box seems to block the view of the tool. I am not sure if it is possible but a user should be able to drag this box to a conveninent area on the screen so that she/he can proceed with the toturial without having any view blocked by this box.

Similar observation in step "Predict using trained model"


Add date format on specific column

Hi
I would like add date format on specific column. So by default values are shown based on specific date format.
How I can do that?
Thanks
Brijesh Shah

@brijeshs-atharvasystem If you look at the Examples, search for format_code, and you'll see a relevant example.

And here is how to set the style for a whole column: https://github.com/randym/axlsx/blob/master/examples/example.rb#L222-L223


Update ownerapi_endpoints.json to v4.22.0-1764

Changes:

Update ownerapi_endpoints.json to v4.22.0-1764 on par with Jun 20th app update.

Notes:

"TESLA_ELECTRIC_VEHICLES": {
    "TYPE": "GET",
    "URI": "mobile-app/tesla-electric/vehicles",
    "AUTH": true
  },
  "TESLA_ELECTRIC_SCHEDULE": {
    "TYPE": "GET",
    "URI": "mobile-app/tesla-electric/unlimited-charging-schedule",
    "AUTH": true
  },
  "TESLA_ELECTRIC_PRICING_DETAILS": {
    "TYPE": "GET",
    "URI": "mobile-app/tesla-electric/pricing-details",
    "AUTH": true
  },

These endpoints look interesting. I will look into them, but they are mobile-app endpoints. It might just be something about buying the vehicles but yeah.

Also Vault Profile deletion, which I will address in another PR soon. 🚀

"USER_RESET_VAULT": {
    "TYPE": "DELETE",
    "URI": "api/1/users/vault_profile",
    "AUTH": true
  },

Thanks!


Get rid of configure-aspen.py

PR for a branch started by @whit537 3 months ago. I've added commits to fix the tests.

Added a fix for #2913.


Extract to file failed

Thank you for this extension!
I'm trying to use it, but I keep getting Extract to file failed. Any idea why that might be? I have also seen E21 cannot make changes modifiable is off I turned it on with :set ma but that didn't seem to do the trick.

Set "coc.preferences.promptInput": false in your coc-settings.json, this is a coc bug. https://github.com/neoclide/coc.nvim/issues/2582

Fixed on latest coc.nvim, please upgrade it.


ServiceClient.cs is broken on Visual studio for using mono

Per the comment here, the CLientRuntime improvements to enable mac on mono still seems to be breaking ServiceClient.cs. This needs an investigation and possibly a fix.
Cost: 3

Thank you. I think the fix may be as simple as skipping the two lines in the DefaultUserAgentInfoList property that reference OSNAME and OSVERSION. Because the exception appears to be parsing the empty string or the single period in the ProductInfoHeaderValue.

@dsgouda Absolutely.

mono --version returns "Mono JIT compiler version <IP_ADDRESS> (2017-12/ea8a24b1bbf Tue Apr 24 14:53:01 EDT 2018)
Visual Studio version is 7.5.4 (build 3)
Stack trace:

System.ArgumentException: Value does not fall within the expected range.
  at System.Net.Http.Headers.Parser+Token.Check (System.String s) [0x00019] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-02/external/bockbuild/builds/mono-x64/mcs/class/System.Net.Http/System.Net.Http.Headers/Parser.cs:57
  at System.Net.Http.Headers.ProductHeaderValue..ctor (System.String name, System.String version) [0x0000a] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-02/external/bockbuild/builds/mono-x64/mcs/class/System.Net.Http/System.Net.Http.Headers/ProductHeaderValue.cs:45
  at System.Net.Http.Headers.ProductInfoHeaderValue..ctor (System.String productName, System.String productVersion) [0x00006] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-02/external/bockbuild/builds/mono-x64/mcs/class/System.Net.Http/System.Net.Http.Headers/ProductInfoHeaderValue.cs:51
  at Microsoft.Rest.ServiceClient`1[T].get_DefaultUserAgentInfoList () [0x0003f] in <04e89b68c4be40839dfca7a77c2cc25b>:0
  at Microsoft.Rest.ServiceClient`1[T].InitializeHttpClient (System.Net.Http.HttpClient httpClient, System.Net.Http.HttpClientHandler httpClientHandler, System.Net.Http.DelegatingHandler[] handlers) [0x00080] in <04e89b68c4be40839dfca7a77c2cc25b>:0
  at Microsoft.Rest.ServiceClient`1[T]..ctor (System.Net.Http.HttpClient serviceHttpClient, System.Net.Http.HttpClientHandler rootHandler, System.Boolean disposeHttpClient, System.Net.Http.DelegatingHandler[] delHandlers) [0x0000d] in <04e89b68c4be40839dfca7a77c2cc25b>:0
  at Microsoft.Rest.ServiceClient`1[T]..ctor () [0x00007] in <04e89b68c4be40839dfca7a77c2cc25b>:0
  at ServiceClientConsole.MyService..ctor () <0x7a87a0 + 0x0002b> in <56f2c89f9e1348bc926173195a2e118d>:0
  at ServiceClientConsole.MainClass.Main (System.String[] args) [0x00001] in /Users/paulshippy/Projects/temp/ServiceClientConsole/ServiceClientConsole/Program.cs:10

Code sample I used to reproduce:
using System;
using Microsoft.Rest;

namespace ServiceClientConsole
{
    class MainClass
    {
        public static void Main(string[] args)
        {
            MyService svc = new MyService();
        }
    }

    public interface IMyService
    {}
    public class MyService : ServiceClient<MyService>, IMyService
    {

    }
}

Exception comes from this line I believe: https://github.com/mono/mono/blob/d36902effdcb02d93b14943ce3ceaf1bcf11619a/mcs/class/System.Net.Http/System.Net.Http.Headers/Parser.cs#L57

Perfect, we will take a look into this. Appreciate the feedback!

@tpaulshippy
Tried repro-ing this issue on a Mac.
This was my program
using System;
using Microsoft.Rest.Azure;
using Microsoft.Rest;
namespace sctest {
 class Program {
  static void Main(string[] args) {

   MyService svc = new MyService();
   Console.WriteLine("Hello World!");
   var ua = svc.UserAgent.GetEnumerator();
   while (ua.MoveNext()) {
    Console.WriteLine(ua.Current.Product.Name);
    Console.WriteLine(ua.Current.Product.Version);
    Console.WriteLine(ua.Current.Comment);
   }
  }

  public interface IMyService {}
  public class MyService: ServiceClient < MyService > , IMyService {

  }
 }
}

which produces the following output
Hello World!

FxVersion

4.6.26606.02

sctest.Program+MyService

<IP_ADDRESS>

The mono version installed is
mono --version

Mono JIT compiler version <IP_ADDRESS> (2017-12/ea8a24b1bbf Tue Apr 24 14:53:01 EDT 2018)

Lastly, Visual Studio version is 15.7
Also, I used the latest ClientRuntime Nuget packages
Microsoft.Rest.ClientRuntime : 2.3.12
Microsoft.Rest.ClientRuntime.Azure: 3.3.15

I am not able to repro this exact issue. Could you provide some additional information that can help us repro the issue (target framework, nuget package versions you are using, anything that I might have missed in the information above)

Thanks @tpaulshippy I am now able to repro the issue, will update when we are ready with a fix.

PR is out for the fix. Closing this.

@dsgouda this hasn't been fixed - see the issue referenced by @sighillrob. Can this be reopened? Are there any workarounds? Do we need to downgrade our version?
Before this "fix" was made, we had a successful workaround using fake registry values (from https://github.com/Azure/azure-sdk-for-net/issues/3410 ) but now that doesn't work either.

Experiencing the same validation error, although on a different value -- OSVersion.
MacOS High Sierra v10.13.16
The value of OSVersion: Darwin17.7.0DarwinKernelVersion17.7.0ThuJun21225314PDT2018rootxnu-4570.71.21/RELEASE_X86_64
Stepping through code in debugger, removing the "/" and "." characters allows the client to function.

@dsgouda Customers are still having trouble with this. Please investigate.

@jrodenburg can you provide the version of ClientRuntime you are using.
Are you using the latest version 2.3.17?

@jrodenburg can you describe what is your environment that you are using that made you error on "/" and '."
I was not able to reproduce this issue. What version of Mono are you using?

@shahabhijeet I updated to the latest version of Microsoft.Rest.ClientRuntime, 2.3.17.
Same result:
/usr/local/share/dotnet/dotnet /Users/rodenburgj/projects/integration/client-integration/bin/Debug/netcoreapp2.1/client-integration.dll

Unhandled Exception: System.FormatException: The format of value 'Darwin17.7.0DarwinKernelVersion17.7.0ThuJun21225314PDT2018rootxnu-4570.71.21/RELEASE_X86_64' is invalid.
   at System.Net.Http.Headers.HeaderUtilities.CheckValidToken(String value, String parameterName)
   at System.Net.Http.Headers.ProductHeaderValue..ctor(String name, String version)
   at Microsoft.Rest.ServiceClient`1.UpdateDefaultUserAgentList(String headerName, String headerValue)
   at Microsoft.Rest.ServiceClient`1.get_DefaultUserAgentInfoList()
   at Microsoft.Rest.ServiceClient`1.InitializeHttpClient(HttpClient httpClient, HttpClientHandler httpClientHandler, DelegatingHandler[] handlers)
   at ValassisDigital.Coupons.IntegrationAPI.IntegrationAPI..ctor(DelegatingHandler[] handlers) in /Users/rodenburgj/projects/integration/client-integration/csar/IntegrationAPI.cs:line 56
   at client_integration.Program.Main(String[] args) in /Users/rodenburgj/projects/integration/client-integration/Program.cs:line 10

@shahabhijeet you'll have to help me with the request for Mono version. Here's dotnet info:
[ $ ] dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   2.1.302
 Commit:<PHONE_NUMBER>

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.13
 OS Platform: Darwin
 RID:         osx.10.13-x64
 Base Path:   /usr/local/share/dotnet/sdk/2.1.302/

Host (useful for support):
  Version: 2.1.2
  Commit:  811c3ce6c0

.NET Core SDKs installed:
  1.0.0-preview2-003121 [/usr/local/share/dotnet/sdk]
  2.1.301 [/usr/local/share/dotnet/sdk]
  2.1.302 [/usr/local/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 1.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.1 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.2 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

@shahabhijeet https://github.com/Azure/azure-sdk-for-net/pull/4669
It appears you've actually seen and commented on this error previously. Fix looks fairly simple too.

I experience the same error, token validation fails. Occurs after adding and configuring Azure Keyvault to a web application.
dotnet info

.NET Core SDK (reflecting any global.json):
 Version:   2.1.302
 Commit:<PHONE_NUMBER>

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.13
 OS Platform: Darwin
 RID:         osx.10.13-x64
 Base Path:   /usr/local/share/dotnet/sdk/2.1.302/

Host (useful for support):
  Version: 2.1.2
  Commit:  811c3ce6c0

.NET Core SDKs installed:
  1.0.4 [/usr/local/share/dotnet/sdk]
  1.1.4 [/usr/local/share/dotnet/sdk]
  2.0.0 [/usr/local/share/dotnet/sdk]
  2.1.4 [/usr/local/share/dotnet/sdk]
  2.1.101 [/usr/local/share/dotnet/sdk]
  2.1.301 [/usr/local/share/dotnet/sdk]
  2.1.302 [/usr/local/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 1.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 1.0.7 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 1.1.2 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 1.1.4 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.6 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.1 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.2 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

Exception:
Exception has occurred: CLR/System.FormatException
An unhandled exception of type 'System.FormatException' occurred in System.Net.Http.dll: 'The format of value 'Darwin17.7.0DarwinKernelVersion17.7.0ThuJun21225314PDT2018rootxnu-4570.71.21/RELEASE_X86_64' is invalid.'
   at System.Net.Http.Headers.HeaderUtilities.CheckValidToken(String value, String parameterName)
   at System.Net.Http.Headers.ProductHeaderValue..ctor(String name, String version)
   at Microsoft.Rest.ServiceClient`1.UpdateDefaultUserAgentList(String headerName, String headerValue)
   at Microsoft.Rest.ServiceClient`1.get_DefaultUserAgentInfoList()
   at Microsoft.Rest.ServiceClient`1.InitializeHttpClient(HttpClient httpClient, HttpClientHandler httpClientHandler, DelegatingHandler[] handlers)
   at Microsoft.Azure.KeyVault.KeyVaultClient..ctor(ServiceClientCredentials credentials, DelegatingHandler[] handlers)
   at Microsoft.Extensions.Configuration.AzureKeyVaultConfigurationExtensions.AddAzureKeyVault(IConfigurationBuilder configurationBuilder, String vault, String clientId, String clientSecret, IKeyVaultSecretManager manager)
   at Web.Program.<>c.<CreateWebHostBuilder>b__2_0(WebHostBuilderContext ctx, IConfigurationBuilder builder) in /Users/bennym/Dev/SingleTenant/Web/Program.cs:line 29
   at Microsoft.AspNetCore.Hosting.WebHostBuilder.BuildCommonServices(AggregateException& hostingStartupErrors)
   at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()

Installed Packages:
  <PropertyGroup>
    <TargetFramework>netcoreapp2.1</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.App" />
    <PackageReference Include="Microsoft.AspNetCore.Authentication.AzureAD.UI" Version="2.1.1" />
    <PackageReference Include="Microsoft.Azure.KeyVault" Version="3.0.1" />
    <PackageReference Include="Microsoft.Azure.Services.AppAuthentication" Version="1.0.3" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="2.1.4" />
    <PackageReference Include="Microsoft.Extensions.Configuration.AzureKeyVault" Version="2.1.1" />
    <PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="5.3.0" />
    <PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.1.5" />
    <PackageReference Include="WindowsAzure.Storage" Version="9.3.2" />
  </ItemGroup>

@jrodenburg @BennyM Extremely sorry the delay in getting this fix out.
Yes the fix is trivial, but I wanted to make sure I address all scenarios that were reported.
In this issue, @jrodenburg reported that having "." also create exception, so wanted to make sure under what platform he is seeing this issue as I was not able to reproduce it for the "." character on Ubuntu and Mac Sierra.
Will make sure this scenario is unblocked today.
Will update once I release the fix.


Unclear how example dependencies are implemented

Just from reading the documentation it's not clear how to me how dependencies between gtExamples are handled. Are the dependent objects going to be recreated all the time (as it would seem by looking at the code)? Or will the dependent objects be reused somehow (which would seem to require some magic)?
This is really a rhetorical question to say that the documentation left me wondering about this. The answer will presumably become quickly apparent when I write my first examples.

Context: My examples will use objects that are expensive to construct and I'm wondering whether I am responsible for caching them or where the examples framework does this automatically.

Connections between examples are just normal message sends. There is no "magic" involved to capture results of message sends and cache them. Dependencies between examples are just inferred statically, based on the gtExample annotation. So there is a connection if an example method directly calls another example method.
Most examples, always return a new object. If you want to cache it you need to implement something yourself. The easiest is to use an instance variable. For example, this is how the examples GtRlSystemOneModelExamples are structured:
projectComponentA
	<gtExample>
	^ projectComponentA ifNil: [
		| project repository |
		project := GtRlProject new
			name: 'GtRlBaselineExampleComponentA';
			baselineClass: BaselineOfGtRlBaselineExampleComponentA;
			baselineVersion: BaselineOfGtRlBaselineExampleComponentA project version.
		"....."
		projectComponentA := project ]

In the above example no clean-up action needs to be performed after the example. In some case however, you might need to perform some actions like clean-up resources. For that you can specify using after: a method that is executed after the example was run. This is used in GtRlReleaserExamples. There git repositories are created on disk, that are stored in an instance variable and removed after the example was run.
projectStructureWithOneChildDependency
	<gtExample>
	<after: #removeRepositoriesAndCode>
	"..."

	^ rootProject

Thanks for clarifying @chisandrei. This "no magic" approach suits me fine. I'll do some caching along these lines in my code too.

I am glad to see this addressed :). Thanks, @chisandrei!


🧹 Replace resume_from_checkpoint with ckpt_path

Description

resume_from_checkpoint is going to be deprecated in torch v2.0 and will be replaced by ckpt_path.

This also makes our model configs inline with the new LightningCLI.

Note: This is a breaking change to main

Fixes #349

Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] Refactor (non-breaking change which refactors the code base)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist

[x] My code follows the pre-commit style and check guidelines of this project.
[x] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing tests pass locally with my changes
[ ] I have added a summary of my changes to the CHANGELOG (not for minor changes, docs and tests).

Did you confirm that our achieve the same test performance with these changes? Previously we had some accuracy drop when we tried using PL's checkpoint loading mechanism, which is why we created the LoadModelCallback. Would be good to confirm that this is no longer an issue.
If this is a breaking change to main, should we maybe include it in CLI branch instead?

Yeah. I think it will be a good idea to target this to the feature branch. I tested on stfpm, padim, cflow, dfkde, dfm and patchcore. The results are the same.


Metrics can be visualized using Tensorboard. ?

Dear author:
I found you stated Metrics can be visualized using Tensorboard.  in your readme.
However, I cant found the tensorflow log directory as follows:

Hence I dnt know how to run tensorboard --logdir xxx.

The tensorboard summaries, model checkpoints, and results are written to whatever you specify the --logdir flag to be. By default they're in some sub-directory of ./log.


Properly exposes pending coinbase aux

Explain your changes:

Accidentally exposed the pendingCoinbaseHash in the last PR when expecting the pending coinbase aux
Kept the pendingCoinbaseHash too

Explain how you tested your changes:

If it compiles, it works

The following could be added to src/graphql-ppx-config.inc so that graphql_ppx will decode the type automatically later.
-custom-field
PendingCoinbaseAuxHash
Graphql_lib.Scalars.PendingCoinbaseAuxHash


运行./scripts/feeds install -a后提示错误 缺少这个依赖luci-lib-ipkg

运行./scripts/feeds install -a -p freifunk后提示这个报错要怎么弄？
WARNING: Makefile 'package/freifunk/modules/luci-mod-freifunk/Makefile' has a dependency on 'luci-lib-ipkg', which does not exist

Translated:

After running ./scripts/feeds install -a -p freifunk it prompts how to get this error

Yes this is a known warning, and it can be ignored

@superabbite1 did you install the luci feed? luci-lib-ipkg is taken from there.


Adds --show-token Option to lean login

I have created a research account today and I am unable to login with the lean CLI with the userid and token emailed to me.
Does it take a while for the account changes to take effect?

I think generically it would be nice to have the --show-token behavior for any lean command/input, for example brokerages keys


Option for catch-all redirect

When building a single page application is common to want all paths (that are not assets) to redirect to the root index.html
E.g.
/ -> /index.html
/users -> /index.html
/users/1 -> /index.html
The SPA handles the routing and shows the correct page. It would be great to have an option for this.

This is really useful for front-end development! I think we can generalize this idea to a "not found" fallback option.


The 'transformers.js’ embeddingsProvider is currently unsupported in JetBrains. To enablecodebase indexing, you can use any of the other providers described in the docs:https://docs.continue.dev/walkthroughs/codebase-embeddings#embeddings-providers

Before submitting your bug report

[X] I believe this is a bug. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that reports the same bug
[X] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS:win11
- Continue: the latest version 'preview' branch
- IDE: IntelliJ IDEA 2024.1.2
- Model: gpt-4o
- config.json:
      {
      "model": "qqq-gpt-4o",
      "title": "OpenAI",
      "apiKey": "**",
      "apiBase": "",
      "completionOptions": {},
      "provider": "openai",
      "requestOptions": {
        "caBundlePath": "/Users/ziqiwang/Documents/server_cert.crt",
        "verifySsl": false
      }
    }

Description

The 'transformers.js’ embeddingsProvider is currently unsupported in JetBrains. To enablecodebase indexing, you can use any of the other providers described in the docs:https://docs.continue.dev/walkthroughs/codebase-embeddings#embeddings-providers
To reproduce
No response
Log output
No response

Reported an error, is there any way to solve this error so that it does not show？

@yan-zay you can use any of the other embeddings providers as described at the link, or you can disable indexing by setting "disableIndexing": true in config.json

I have a feeling that this issue revolves somehow around the same issue that I have posted here:
https://github.com/continuedev/continue/issues/1608
not 100% sure but it sounds similar, only that my issue was dealing with the adding of a custom @docs documentation context by the use of URL for indexing, still think that under jetBrains IDE both features are using the same embeddingsProvider for indexing


Docs - Migrating to v5 - Missing dropdown-menu-right => dropdown-menu-end

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
Hi, in this guide:
https://getbootstrap.com/docs/5.0/migration/
There's no mention of dropdown-menu-right having been removed.  It has been replaced with dropdown-menu-end.
Reduced test cases
n/a
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
No response
What version of Bootstrap are you using?
v5

The guide is good enough in my opinion:

It is mentioned as well in Migration > RTL
https://github.com/twbs/bootstrap/blob/29332a954f86671d39f60007fb0c2ea633731e88/site/content/docs/5.2/migration.md?plain=1#L255-L257


trait bound syn::ExprClosure: attribute_derive::parsing::AttributeBase is not satisfied

When upgrading refuse-macros from 0.8 to 0.9, my usage of syn::ExprClosure no longer compiles with this error:
error[E0277]: the trait bound `syn::ExprClosure: attribute_derive::parsing::AttributeBase` is not satisfied
   --> refuse-macros/src/lib.rs:202:10
    |
202 | #[derive(FromAttr)]
    |          ^^^^^^^^ the trait `attribute_derive::parsing::AttributeBase` is not implemented for `syn::ExprClosure`
    |
    = help: the following other types implement trait `attribute_derive::parsing::AttributeBase`:
              bool
              char
              isize
              i8
              i16
              i32
              i64
              i128
            and 173 others
    = note: required for `std::option::Option<syn::ExprClosure>` to implement `attribute_derive::parsing::AttributeBase`
    = note: this error originates in the derive macro `FromAttr` (in Nightly builds, run with -Z macro-backtrace for more info)

I'm not sure if this isn't meant to be supported, if there's a better syn type to be using, or if this is just an oversight.
Edit: Oops, didn't realize that I haven't pushed the macro changes yet. Here's what the usage looks like:
#[derive(FromAttr)]
#[attribute(ident = collectable)]
struct MapAsAttr {
    target: Option<syn::Type>,
    map: Option<syn::ExprClosure>,
}

that is probably an oversight, why are you not using Expr? do you need to get the contents of the closure? if not Expr would have the advantage of also supporting e.g. paths.

Did you enable syn-full? Some expressions are only supported with that enabled.

After our discussion on Discord, I've confirmed that syn-full does make it compile. This does mean it was a breaking change between 0.8 and 0.9. However, using Expr was also a much better suggestion anyways.


Provide Template URL

Hi, since this is a CloudFormation it would be nice to have the template URL associated with the current commit SHA for easier deployment.
The reason is that cloudhsm.yaml is larger than 50kB, resulting in at 'templateBody' failed to satisfy constraint: Member must have length less than or equal to 51200

Can you confirm that you're attempting to use aws cloudformation validate-template API, or via CDK?
What steps are you taking to get this error?
The operation to validate the URL (for files larger than 51,200 bytes) of a template only works on objects stored in S3, rather than this GitHub repo.
If you're looking for a permanent link to the cloudhsm.yaml file, you can follow this documentation.

@palmep What I meant is that this repository could provide S3 URL as part of release notes.
So the consumer can use it directly without uploading themselves.
See https://bucketav.com/help/release-notes/ for example.

Due to this being a sample, we recommend that customers download the template and modify it for their particular use case, rather than using "as-is". This is intentional due to the nature of CloudHSM as a security product and the root of trust for many deployments. Feel free to fork this however and add your own template S3 URLs

👍


Definition Tester

TODO:
Naming, pattern standardization and general cleanup
Could use refresh testing
Similarly package live tests
Use the per-method tests in both

:rocket: PR was released in v1.0.1-v1-alpha.0 :rocket:


Edit ball_home_rubber annotation dataset to create a new Ball-Only dataset

The current Ball Tracking Datasets (which do not only include the ball) do not only include the ball, with detection models struggling to pick up on the ball. To address this, an individual ball dataset is being built to fine-tune new models optimized for ball tracking.


@ArgsType composite objects missing prototype information for child objects

https://github.com/goldcaddy77/warthog/blob/54424fba7a1989d4607353debf0282ef5d9712eb/examples/1-simple-model/src/user.resolver.ts#L39
There will be missing prototype information on the 'data' and 'where' objects. Downstream code in typeorm called from BaseResolver.ts depends on prototype information. Decisions for query generation are made by statements that call instanceof Object, which evaluate to false since prototype information is missing.
One workaround is to change the function signature such that each child object becomes a parameter:
@Arg('data') data: UserUpdateInput,
@Arg('where') where: UserWhereUniqueInput,

This will be fixed in Warthog V3, closing.


Added dot notation along with appropriate types

This fork adds dot notation with working TS support and removes the 'has' function as I felt it was irrelevant.

Thanks a lot for your contribution!
I had one suggestion:
The has function was added since this library was inspired by electron-settings which also exports a has function. This library tries to make switching from electron to tauri easier by providing a similar API that can be migrated to. Could you revert the change?
I'll review the rest of the changes soon.

Oh I didn't realize, I've reverted the has change. Everything else should work mostly the same, only with added dot notation.

Thanks! I won't merge this into main yet. A few things need to be done still:

Updating the documentation
Dot notation for arrays key1.key2[3] which is allowed in electron-settings. (If it isn't possible, the documentation should be updated appropriately)

I'll create a new branch and merge this PR into it. You can contribute further if you wish or I'll handle this and try to release this ASAP!

Dot notation for arrays key1.key2[3] which is allowed in electron-settings. (If it isn't possible, the documentation should be updated appropriately)

Is it possible?

Dot notation for arrays key1.key2[3] which is allowed in electron-settings. (If it isn't possible, the documentation should be updated appropriately)

Is it possible?

I don't think I'm able to. electron-settings does have that functionality, but I checked and the way it's implemented has incomplete TS support.

Dot notation for arrays key1.key2[3] which is allowed in electron-settings. (If it isn't possible, the documentation should be updated appropriately)

Is it possible?

I don't think I'm able to. electron-settings does have that functionality, but I checked and the way it's implemented has incomplete TS support.

I thought so too... This is still amazing. Thank you for your contribution!


Allowed collapsing coordinates with nbounds != (0, 2)

🚀 Pull Request
Description

This pull request allows collapsing coordinates with number of bounds different from 0 or 2 (e.g., mesh dimensions). For this, it first checks if self.is_contiguous() (that is just used to issue a warning during the collapsing of coordinates) raises an error before actually calling it. If it raises an error, issue a different warning and remove the bounds before continuing.
Closes #4672.

Consult Iris pull request check list

Great, thanks @schlunma :  Nice work,  sorry for the wait !


Use SMin/UMin for SPIR-V target

Falcor unit test is failing when "min(int,int)" function uses SMin/UMin for SPIR-V target.
__generic<T : __BuiltinIntegerType>
[__readNone]
[require(cpp_cuda_glsl_hlsl_spirv, sm_2_0_GLSL_140)]
T min(T x, T y)
{
    __target_switch
    {
    case hlsl: __intrinsic_asm "min";
    case glsl: __intrinsic_asm "min";
    case cuda: __intrinsic_asm "$P_min($0, $1)";
    case cpp: __intrinsic_asm "$P_min($0, $1)";
#if 0 // <==== THIS NEEDS TO BE ENABLED.
    case spirv:
        if (__isSignedInt<T>())
            return spirv_asm {
                OpExtInst $$T result glsl450 SMin $x $y
            };
        else
            return spirv_asm {
                OpExtInst $$T result glsl450 UMin $x $y
            };
#endif
    default:
        return (x < y) ? x : y;
    }
}

When the code above is enabled, CI fails on the following Falcor test, which appears to be an application crash.
[----------] 12 tests from SampleGeneratorTests.cpp
[ RUN      ] SampleGeneratorTests.cpp:SampleGenerator_HeitzBelcour (D3D12)
[       OK ] SampleGeneratorTests.cpp:SampleGenerator_HeitzBelcour (D3D12) (3494 ms)
[ RUN      ] SampleGeneratorTests.cpp:SampleGenerator_HeitzBelcour (Vulkan)
[       OK ] SampleGeneratorTests.cpp:SampleGenerator_HeitzBelcour (Vulkan) (3566 ms)
[ RUN      ] SampleGeneratorTests.cpp:SampleGenerator_LeapedHalton (D3D12)
[       OK ] SampleGeneratorTests.cpp:SampleGenerator_LeapedHalton (D3D12) (1067 ms)
[ RUN      ] SampleGeneratorTests.cpp:SampleGenerator_LeapedHalton (Vulkan)

It can be locally reproduced only when a debug build of slang.dll is used.

I couldn't figure this one out why it is causing a problem.
I will need to figure out how to debug Falcor unit tests locally.
When I attempted, falcore.sln failed to open with my VisualStudio 2022.
Since this is a low priority clean up task, I am filing an issue and moving on to a higher priority task for now.

I noticed that the falcor code is calling min from a static const:
struct LeapedHaltonSampleGenerator : ISampleGenerator
{
    struct Padded
    {
        LeapedHaltonSampleGenerator internal;
        uint2 _pad;
    };

    static const uint kDimensionCount = LeapedHaltonSequence::kDimensionCount;
    static const uint kInstanceCount = min(4096, LeapedHaltonSequence::kInstanceCount); //
...

Is there a way we can reproduce this with a similar test case?

I am not sure if I did it correctly.
But when I tried, the result was folded and there was no SMin/UMin instruction emitted.
I had a code like this,
enum TEST : int
{
   kConst = 1997
};

static int JKWAK = min(1996, int(TEST::kConst));

The emitted SPIR-V was like this,
%int_1996 = OpConstant %int 1996
OpStore %JKWAK %int_1996

What is kConst is uint? Have you tried -O0? But the high level bit here is that things are compiling just fine.

When I tried uint, I found a bug that it is treated as int.
enum TEST : uint
{
   kConst = (1 << 31)
};

static uint JKWAK = min(4096, uint(TEST::kConst));

The code above yields the following,
%uint_2147483648 = OpConstant %uint<PHONE_NUMBER>
OpStore %JKWAK %uint_2147483648

When I tried "(1 << 30)", it worked correctly but not for "(1 << 31).
The option -O0 hasn't shown any differences but I will keep playing with it.

I will create a new issue for the problem with min.

This is not a problem with min, but with overload resolution.
We should make conversion of an int literal to some other int type within range bearing a smaller cost so we can pick up min(uint,uint) when calling min(4096, uint(x)).

I was able to build FalcorTest.exe locally.
On my previous testing was based on an old binary that I build a few month ago.
With the latest binaries, I can reproduce the issue only with Release build not Debug build.

The problem here is if the user writes:
static const uint val = min(4096, uint(0xFFFFFFFF));

What should we resolve?
If we resolve to min(int,int), then val will be 0xFFFFFFFF.
If we resolve to min(uint,uint), then val will be 4096.

In this particular case, we shouldn't be resolving into min(int,int) because we know that 0xFFFFFFFF is out of range of int, but 4096 is within the range of uint, so we should prefer converting 4096 to uint and call min(uint, uint).

This issue is blocked by another issue, #4104


doesn't show accelerators for electron default items

You can see in the screenshot, on windows the default electron items don't show the accelerators.  E.g. "Undo" should have "Ctrl+Z" next to it.

Resolved partially on 9679adb3


ctr run hangs (seems regression in 06dc87ae59cca1536a3a98741a267af687b6dcdd)

sudo ctr run docker.io/library/alpine:latest foo echo hello always hangs after printing hello
Always reproducible in 06dc87ae59cca1536a3a98741a267af687b6dcdd, but not in the previous commit

Ya, i can reproduce on ctr

I wonder why we don't reproduce on the tests but we can repo things types of bugs with ctr???....


Add support for various mods and falling blocks

Here's a list of changes/fixes in this PR and related issues that are fixed:

Hide the error biome from Nature's Compass (basically just a cosmetic fix)

DimensionalDevelopment/JustEnoughIDs#97

Slightly change RTG compat (mainly just reorganization)
Support BiomeStaff mod

Closes #13
DimensionalDevelopment/JustEnoughIDs#40
DimensionalDevelopment/JustEnoughIDs#145 (Biome Paint Tools is already supported through HammerCore/Lib mixin)

Fix refmap for Gaia Dimension mod
Send less packets for biome change over area

Affects BiomeStaff, BiomeTweaker

Support WorldEdit's //setbiome

Partially fixes #9 (external programs like WorldPainter will still not be supported)
DimensionalDevelopment/JustEnoughIDs#187
DimensionalDevelopment/JustEnoughIDs#196

Support Kathairis (floating island gen)

DimensionalDevelopment/JustEnoughIDs#159

Fix client getting the wrong blockstate ids for falling blocks

DimensionalDevelopment/JustEnoughIDs#46
DimensionalDevelopment/JustEnoughIDs#179

I think corrupt falling blocks are causing this crash
crash-2024-05-18_18.59.21-client.txt
crash-2024-05-19_18.58.55-client.txt

I think corrupt falling blocks are causing this crash crash-2024-05-18_18.59.21-client.txt crash-2024-05-19_18.58.55-client.txt

Can't reproduce, are you sure the server and client are using the same version of REID? The build from actions hasn't bumped mod version yet, so if you want to test it, you need to make sure both server and client are using the same build.


u-photo and u-featured outside of e-content

If a post as a u-photo or a u-featured they should get the img tag in rss.
This will allow people to follow a photo feed (since many use u-photo outside of e-content) and to allow u-featured to get displayed as a featured img an RSS reader.

@jgmac1106 i've deployed a first pass at this. feel free to try it!


Preset Inventory

Preset Inventory Flag
Field will be selecting Preset Inventory for Advancement to connect Investors to as part of our Language Offering.
Project Managers will make this selection at the Project level, but it will be applied to the Language Engagements. If a Language Engagement has an Investor connected we may need to automatically flag new Language Engagements with that Language as Approved Inventory.
This flag will need to be:
Selected, stored, and displayed on the Project Details page
Displayed on the Project Card
Displayed on the Language Engagement Card
Displayed on the Language Engagement Details
Displayed on the Language Card
Displayed on the Language Details
We'd also like to add Preset Inventory as a filter to the Projects list and Languages list
If a language has a project marked as Preset Inventory, that language should show (read-only) as Preset Inventory.
Here are the icons. @CarsonF removed all of Adobe Illustrator's junk (99% of the file size)

They look like this:
Screen Shot 2021-09-02 at 10 07 26 AM

@CarsonF & @zkhin thanks for your work on this! Everything here is looking great!
I just see one issue that needs to be resolved. Once a Project has been selected as Preset Inventory, all Language Engagements in the Project should be marked as Preset Inventory. We're currently showing this on the Project Card, Project Details, Language Card, and Language Details.
We need to add this icon to display on the Language Engagement Card and Language Engagement Details.

@zkhin Can you do this? I don't want to add anything to the API, just pull the prop from the project.
Note it's only for language engagements not internship engagements.

@zkhin Can you do this? I don't want to add anything to the API, just pull the prop from the project.
Note it's only for language engagements not internship engagements.

Sure, I will do that


rake ember:compile returns 0 exit code even with failed compilation

compiling the app via rake appears like everything is fine, but grepping my log/ember-appname.development.log log file is littered with error messages like this:
Package: json-stable-stringify
Required by: frontend / broccoli-asset-rev
  * Specified: 1.0.1
  * Installed: (not installed)

$ rake ember:compile && echo $?
$ 0

raising an error with a truncated (or full) error from the shell/log would be hugely helpful.

@wireframe thanks, this is certainly a bug.
I'll look into it.

@wireframe on further inspection, things might be behaving properly.
The ember:compile Rake task depends on ember:install, which would install the missing dependencies.
Other than the logs containing output about missing dependencies (which might come from ember-cli-dependency-checker), what behavior are you seeing that indicates that the build is failing?

after running rake ember:compile with the failed state, I reload my rails app and get an error from the ember controller saying that the index.html file can not be found.

@wireframe I've tried to reproduce your issues with https://github.com/seanpdoyle/ember-cli-rails-heroku-example, but I'm having some trouble. The ember:install Rake dependency seems to be preventing me from compiling without a necessary dependency.
Could you pull https://github.com/seanpdoyle/ember-cli-rails-heroku-example down and try to reproduce? If you're able to, could you share the steps it took on this issue?

I just ran into an issue as well ... I had an issue on one machine, that ~/.config/configstore/ember-cli.json was owned by root and ember-cli could not change it.
$ RAILS_ENV=staging bin/rake ember:compile
$ echo $?
0

The command finishes successfully, but the app is not available and if I look into the log file, this:
$ cat log/ember-demandcheck.staging.log
/srv/www/app/releases/20160317152940/demandcheck/node_modules/ember-cli/node_modules/configstore/index.js:53
				throw err;
				      ^
Error: EACCES, permission denied '/home/deploy/.config/configstore/ember-cli.json'
You don't have access to this file.

    at Object.fs.openSync (fs.js:432:18)
    at Object.fs.readFileSync (fs.js:286:15)
    at Object.create.all.get (/srv/www/optisure_staging/releases/20160317152940/demandcheck/node_modules/ember-cli/node_modules/configstore/index.js:34:26)
    at Object.Configstore (/srv/www/optisure_staging/releases/20160317152940/demandcheck/node_modules/ember-cli/node_modules/configstore/index.js:27:44)
    at clientId (/srv/www/optisure_staging/releases/20160317152940/demandcheck/node_modules/ember-cli/lib/cli/index.js:22:21)
    at module.exports (/srv/www/optisure_staging/releases/20160317152940/demandcheck/node_modules/ember-cli/lib/cli/index.js:65:19)
    at /srv/www/optisure_staging/releases/20160317152940/demandcheck/node_modules/ember-cli/bin/ember:26:3
    at /srv/www/optisure_staging/releases/20160317152940/demandcheck/node_modules/ember-cli/node_modules/resolve/lib/async.js:44:21
    at ondir (/srv/www/optisure_staging/releases/20160317152940/demandcheck/node_modules/ember-cli/node_modules/resolve/lib/async.js:187:31)
    at /srv/www/optisure_staging/releases/20160317152940/demandcheck/node_modules/ember-cli/node_modules/resolve/lib/async.js:153:39

This is particularly annoying if this happens in assets:precompile because it gets totally hidden and we only see that the app is not there because our customers are seeing 500s.

As a side note ... If i.e. bower-github.yml is not writable, the ember:install fails with all bells and whistles :smile:
$ RAILS_ENV=staging bin/rake ember:compile --trace
** Invoke ember:compile (first_time)
** Invoke ember:install (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute ember:install
          ERROR: Failed command: `/usr/local/bin/bower prune && /usr/local/bin/bower install`
          OUTPUT:

Error: EACCES, permission denied '/home/deploy/.config/configstore/bower-github.yml'
You don't have access to this file.

    at Object.fs.openSync (evalmachine.<anonymous>:432:18)
    at Object.fs.readFileSync (evalmachine.<anonymous>:286:15)
    at Object.create.all.get (/usr/local/lib/node_modules/bower/lib/node_modules/configstore/index.js:34:29)
    at Object.Configstore (/usr/local/lib/node_modules/bower/lib/node_modules/configstore/index.js:27:44)
    at readCachedConfig (/usr/local/lib/node_modules/bower/lib/config.js:19:23)
    at defaultConfig (/usr/local/lib/node_modules/bower/lib/config.js:11:12)
    at Object.<anonymous> (/usr/local/lib/node_modules/bower/lib/index.js:16:32)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)

@klaustopher thanks for the additional information.

~/.config/configstore/ember-cli.json was owned by root and ember-cli could not change it.

Error: EACCES, permission denied '/home/deploy/.config/configstore/bower-github.yml'
You don't have access to this file.

I'm not familiar with either of those files or the directory they're located in. Could you explain their significance, and maybe link to some documentation about them?

ehrm, I have no idea what they are for exactly ... I think it might have something to do with this: https://www.npmjs.com/package/configstore
But the problem is, not with this file exactly. The problem is, that an error happens during rake ember:compile but the command still finishes with a success state

@klaustopher @wireframe using https://github.com/seanpdoyle/ember-cli-rails-heroku-example as a base application, I've done some digging and extracted the shell command that ember-cli-rails will generate for a given application.
Running it (with tee):
~/src/ember-cli-rails-heroku-example/frontend master
❯ /Users/seanpdoyle/src/ember-cli-rails-heroku-example/frontend/node_modules/.bin/ember build --environment 'development' --output-path '/Users/seanpdoyle/src/ember-cli-rails-heroku-example/tmp/ember-cli/apps/frontend' | /usr/bin/tee -a '/Users/seanpdoyle/src/ember-cli-rails-heroku-example/log/ember-frontend.development.log'

Missing npm packages:
Package: ember-data
  * Specified: 1.13.15
  * Installed: (not installed)

Run `npm install` to install missing dependencies.

~/src/ember-cli-rails-heroku-example/frontend master
❯ echo $?
0

Without the call to tee:
~/src/ember-cli-rails-heroku-example/frontend master
❯ /Users/seanpdoyle/src/ember-cli-rails-heroku-example/frontend/node_modules/.bin/ember build --environment 'development' --output-path '/Users/seanpdoyle/src/ember-cli-rails-heroku-example/tmp/ember-cli/apps/frontend'

Missing npm packages:
Package: ember-data
  * Specified: 1.13.15
  * Installed: (not installed)

Run `npm install` to install missing dependencies.

~/src/ember-cli-rails-heroku-example/frontend master
❯ echo $?
1

It looks like piping the output to tee is hiding the exit status of the initial command.
I'll investigate further.

@thoughtbot/shell can anyone help with https://github.com/thoughtbot/ember-cli-rails/issues/417#issuecomment-197991094?

The strange thing is, that ember:compile does fail and ember:install does not ... Are they handled differently?

Using set -o pipefail corrects it:
~/src/ember-cli-rails-heroku-example/frontend master
❯ set -o pipefail; /Users/seanpdoyle/src/ember-cli-rails-heroku-example/frontend/node_modules/.bin/ember build --environment 'development' --output-path '/Users/seanpdoyle/src/ember-cli-rails-heroku-example/tmp/ember-cli/apps/frontend' | /usr/bin/tee -a '/Users/seanpdoyle/src/ember-cli-rails-heroku-example/log/ember-frontend.development.log'

Missing npm packages:
Package: ember-data
  * Specified: 1.13.15
  * Installed: (not installed)

Run `npm install` to install missing dependencies.

~/src/ember-cli-rails-heroku-example/frontend master
❯ echo $?
1

@klaustopher they're not "handled" different, in that they're both generated by EmberCli::Command and run through EmberCli::Runner, but they're different commands.

Then it's really, really strange, that they handle failures differently, I'll take a look tomorrow morning, workday is over ;)

Looking at https://github.com/thoughtbot/ember-cli-rails/blob/master/lib/ember_cli/shell.rb#L44, the install commands are executed directly by the runner, whereas the compile step (https://github.com/thoughtbot/ember-cli-rails/blob/master/lib/ember_cli/shell.rb#L17) is run by an EmberCli::Command

@wireframe @klaustopher could you try the set-pipefail branch?

version 0.7.2
$ ls -lah ~/.config/configstore/ember-cli.json
-rw------- 1 root wheel 56 Mär 17 14:14 /Users/klaustopher/.config/configstore/ember-cli.json

$ bundle show ember-cli-rails
/Users/klaustopher/.rvm/gems/ruby-2.2.2/gems/ember-cli-rails-0.7.2

$ bin/rake ember:compile
$

## set-pipefail branch:

```
$ ls -lah ~/.config/configstore/ember-cli.json
-rw------- 1 root wheel 56 Mär 17 14:14 /Users/klaustopher/.config/configstore/ember-cli.json

$ bundle show ember-cli-rails
/Users/klaustopher/.rvm/gems/ruby-2.2.2/bundler/gems/ember-cli-rails-06020e015d4d

$ bin/rake ember:compile
          ERROR: Failed command: `set -o pipefail; /Users/klaustopher/Projects/Clark/application/feed/node_modules/ember-cli/bin/ember build --environment 'development' --output-path '/Users/klaustopher/Projects/Clark/application/tmp/ember-cli/apps/feed' | /usr/bin/tee -a '/Users/klaustopher/Projects/Clark/application/log/ember-feed.development.log'`
          OUTPUT:
            /Users/klaustopher/Projects/Clark/application/feed/node_modules/configstore/index.js:53
				throw err;
				^

Error: EACCES: permission denied, open '/Users/klaustopher/.config/configstore/ember-cli.json'
You don't have access to this file.

    at Error (native)
    at Object.fs.openSync (fs.js:584:18)
    at Object.fs.readFileSync (fs.js:431:33)
    at Object.create.all.get (/Users/klaustopher/Projects/Clark/application/feed/node_modules/configstore/index.js:34:26)
    at Object.Configstore (/Users/klaustopher/Projects/Clark/application/feed/node_modules/configstore/index.js:27:44)
    at clientId (/Users/klaustopher/Projects/Clark/application/feed/node_modules/ember-cli/lib/cli/index.js:22:21)
    at module.exports (/Users/klaustopher/Projects/Clark/application/feed/node_modules/ember-cli/lib/cli/index.js:65:19)
    at /Users/klaustopher/Projects/Clark/application/feed/node_modules/ember-cli/bin/ember:26:3
    at /Users/klaustopher/Projects/Clark/application/feed/node_modules/resolve/lib/async.js:44:21
    at ondir (/Users/klaustopher/Projects/Clark/application/feed/node_modules/resolve/lib/async.js:187:31)
```

Looks good to me! :+1:

I cannot test on an ubuntu machine before tomorrow morning, but I just tested that  `set -o pipefail` is also available on our machines. Just a quick glance through the net told me that the option *might* not be available under [dash](https://wiki.ubuntu.com/DashAsBinSh). So I will check tomorrow if this works on a vanilla ubuntu machine.

@wireframe @klaustopher could you try the latest version of the (now poorly named)  set-pipefail branch?
It uses an alternative (hopefully cross platform) solution.

see comment in the PR, it fails again :/

@klaustopher @wireframe could you try out the remove-tee branch instead:
# Gemfile

gem "ember-cli-rails", github: "thoughtbot/ember-cli-rails", branch: "remove-tee"


How to set headless options in new arch?

Description
Current 0.70 code:
  RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];

#if RCT_NEW_ARCH_ENABLED
  _contextContainer = std::make_shared<facebook::react::ContextContainer const>();
  _reactNativeConfig = std::make_shared<facebook::react::EmptyReactNativeConfig const>();
  _contextContainer->insert("ReactNativeConfig", _reactNativeConfig);
  _bridgeAdapter = [[RCTSurfacePresenterBridgeAdapter alloc] initWithBridge:bridge contextContainer:_contextContainer];
  bridge.surfacePresenter = _bridgeAdapter.surfacePresenter;
#endif

#if RCT_DEV
  [bridge moduleForClass:[RCTDevLoadingView class]];
#endif
  NSDictionary *appProperties = [RNFBMessagingModule addCustomPropsToUserProps:userDictionary withLaunchOptions:launchOptions];
  NSDictionary *initProps = [self prepareInitialProps];
  NSMutableDictionary *initialProps = [initProps mutableCopy];
  [initialProps addEntriesFromDictionary:appProperties];
  UIView *rootView = RCTAppSetupDefaultRootView(bridge, @"TheClub", initialProps);

How do we set appProperties in new arch for headless?
The new code in 0.71 is:
  self.moduleName = @"TheClub";
 return [super application:application didFinishLaunchingWithOptions:launchOptions];

Version
0.71.0
Output of npx react-native info
No
Steps to reproduce
No
Snack, code example, screenshot, or link to a repository
no

Like:
NSDictionary *appProperties = [RNFBMessagingModule addCustomPropsToUserProps:userDictionary withLaunchOptions:launchOptions];

  RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
                                                     moduleName:@"TheClub"
                                             initialProperties:appProperties];

How do I pass this into RN 0.71 ?
I did see there is a self.initialProps = @{}; Do I just pass the appProperties to this?\
NSDictionary *appProperties = [RNFBMessagingModule addCustomPropsToUserProps:userDictionary withLaunchOptions:launchOptions];
self.initialProps = appProperties;

??

OK it seems this is right.
https://rnfirebase.io/messaging/usage


Css isn't working

Issue Type: Bug
my css isn't working at all ,even though i've coded it properly, no matter what styles i try nothing happens, i've tried the same thing on three different css files with the same results;also my live server isn't working at all
VS Code version: Code 1.46.1 (cd9ea6488829f560dc949a8b2fb789f3cdc05f5d, 2020-06-17T21:13:20.174Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz (8 x 2304)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
23.80GB (12.47GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (5)

Extension
Author (truncated)
Version

bracket-pair-colorizer
Coe
1.0.61

prettier-vscode
esb
5.1.3

indent-rainbow
ode
7.4.0

LiveServer
rit
5.6.1

highlight-matching-tag
vin
0.9.9

This doesn't look like an issue with vscode.

it seems i'm only getting issues with one folder.
Regards
On Thu, 9 Jul 2020 at 19:36, Ashik Paul<EMAIL_ADDRESS>wrote:

This doesn't look like an issue with vscode.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/102017#issuecomment-656286364,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOHGP6EGM7HF7V7JKJMPOIDR2YE2RANCNFSM4OV3S3GQ
.

Can you describe what is not working? The css editing? Can you make a simple sample that show the problem?

None of my css styles are showing up, but so far the issue seems to be
with this one project and not the others.
I've attached a print screen of the css file and the html code linking the
css file.
Regards
On Fri, 10 Jul 2020 at 08:30, Martin Aeschlimann<EMAIL_ADDRESS>wrote:

Can you describe what is not working? The css editing? Can you make a
simple sample that show the problem?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/102017#issuecomment-656529895,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOHGP6CFKLXWDX5IBK4EB2LR227P3ANCNFSM4OV3S3GQ
.

Sorry, I don't see the screenshot.


fix typo from brick to break

I do not think you intended to use the word brick, and think that break was intended instead

Actually here the use is indeed intentional.
In electronic devices to „brick something“ means to make it non-functional, typically via an update.

I did not know that.


chore(.github): Update java issues and prs assignee

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[x] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[x] Ensure the tests and linter pass
[x] Code coverage does not decrease (if any source code was changed)
[x] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> ☕
This is to update the PR and issue auto-assignees to api-logging-java-reviewers  group.
If you write sample code, please follow the samples format.

Could you separate out the blunderbuss changes into a PR separate from the library versioning changes? Otherwise LGTM.

Yea looks like owlbot auto-committed an update in the same PR. @gkevinzheng Here is the new one: https://github.com/googleapis/java-logging-logback/pull/1229


maven: update dependencies

This upgrades mvn dependencies for the project.

This would require testing the SAML integration and console manually.
@blueorangutan package

@rohityadavcloud a Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

This would require testing the SAML integration and console manually. Limitation: can't upgrade the mysql and jetty-maven dependencies.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15.  It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

sorry @DaanHoogland could you kill/cancel those jobs (I pushed a change for mysql dependency that requires re-packaging)

Trillian Build Failed (tid-4441)

Trillian Build Failed (tid-4442)

nevermind 😃

@blueorangutan test matrix

@rohityadavcloud a Trillian-Jenkins matrix job (centos7 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

Trillian test result (tid-4447)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 44211 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6539-t4447-xenserver-71.zip
Smoke tests completed. 98 look OK, 0 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File

Trillian test result (tid-4449)
Environment: vmware-65u2 (x2), Advanced Networking with Mgmt server 7
Total time taken: 46621 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6539-t4449-vmware-65u2.zip
Smoke tests completed. 97 look OK, 1 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL
Failure
507.23
test_vpc_redundant.py

Trillian test result (tid-4448)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 49922 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6539-t4448-kvm-centos7.zip
Smoke tests completed. 93 look OK, 5 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_04_extract_Iso
Failure
186.56
test_iso.py

test_01_add_primary_storage_disabled_host
Error
0.66
test_primary_storage.py

test_01_primary_storage_nfs
Error
0.10
test_primary_storage.py

ContextSuite context=TestStorageTags>:setup
Error
0.18
test_primary_storage.py

test_03_deploy_and_scale_kubernetes_cluster
Failure
36.04
test_kubernetes_clusters.py

test_07_deploy_kubernetes_ha_cluster
Failure
68.57
test_kubernetes_clusters.py

test_08_upgrade_kubernetes_ha_cluster
Failure
43.98
test_kubernetes_clusters.py

test_09_delete_kubernetes_ha_cluster
Failure
50.26
test_kubernetes_clusters.py

ContextSuite context=TestKubernetesCluster>:teardown
Error
140.46
test_kubernetes_clusters.py

test_01_secure_vm_migration
Error
160.22
test_vm_life_cycle.py

test_02_unsecure_vm_migration
Error
272.02
test_vm_life_cycle.py

test_03_secured_to_nonsecured_vm_migration
Error
144.76
test_vm_life_cycle.py

test_08_migrate_vm
Error
43.70
test_vm_life_cycle.py

test_hostha_enable_ha_when_host_in_maintenance
Error
305.82
test_hostha_kvm.py

@blueorangutan test

@rohityadavcloud a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan test centos7 vmware-67u3

@rohityadavcloud a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

Trillian Build Failed (tid-4457)

@blueorangutan test centos7 vmware-67u3

@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

@blueorangutan test

@rohityadavcloud a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan test centos7 vmware-67u3

Trillian test result (tid-4458)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 40642 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6539-t4458-vmware-67u3.zip
Smoke tests completed. 98 look OK, 0 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File

Trillian test result (tid-4462)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 42215 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6539-t4462-kvm-centos7.zip
Smoke tests completed. 98 look OK, 0 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File

Trillian test result (tid-4463)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 45941 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6539-t4463-vmware-67u3.zip
Smoke tests completed. 97 look OK, 1 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_08_upgrade_kubernetes_ha_cluster
Failure
663.96
test_kubernetes_clusters.py

This needs manual testing of:

saml integration
vm consoles

Manually tested VM console with and without SSL/TLS certificate with VMware as hypervisor. Also tested SAML login against https://samltest.id (in the SP metadata I had to remove the md:Organization elements).


[Question] Using Firestore in Desktop (Windows) Builds

[REQUIRED] Please fill in the following fields:

Unity editor version: 2020.3.9f1
Firebase Unity SDK version: 8.0.0
Source you installed the SDK: Unity Package Manager
Problematic Firebase Component: Firestore
Other Firebase Components in use: Auth, Crashlytics, RemoteConfig
Additional SDKs you are using:
Platform you are using the Unity editor on: Windows
Platform you are targeting: Desktop (Windows)
Scripting Runtime: IL2CPP

[REQUIRED] Please describe the question here:
As far as I understand the documentation for Firestore, it is not possible to use the Unity Firestore SDK directly in a Windows desktop build, correct?
When yes, what would be the recommended approach for accessing a Firestore database on a desktop build made with Unity? Via REST, or something else?
And are there other hurdles with this, like the Auth SDK?

We don't officially support Unity for Windows. Our Windows support is mainly targeted to allow development using the Unity editor on Desktop, but not to build games that run on Windows.
Please follow the Readme in the firebase_unity_sdk distribution for instructions.


Test lidar_to_frame and gps_mapper on real lidar and gps

Field trip after agency meeting tomorrow for this to happen


📋 Fusion Application management 2.0 migration

Expected outcome
Fusion core's Application management 2.0 is well on the way wee need to migrate to the new service.
https://fusion-s-apps-ci.azurewebsites.net/swagger/index.html
https://fusion-s-apps-test.azurewebsites.net/swagger/index.html
https://fusion-s-apps-fprd.azurewebsites.net/swagger/index.html

Al models need to be aligned with the new API service.
Maybe this issue should be handled as a tracker for the whole migration.
Changes needs to me made on all our api's and frontend.

[ ] Backend
[ ] Web Client
[ ] Web Server

Business Value / Developer Experience

User Acceptance Tests (UAT)

Environments
All testing of issues are done in project-portal-test

project-portal-prod
project-portal-test
project-portal-feature

For Backend use these

project-portal-api-prod
project-portal-api-test
project-portal-api-feature

Work to be done

[ ] #802
[ ] #803
[ ] #804
[ ] #805

We have a dependency on the Fusion Core frontend and are awaiting the next major release.
Once this is released, we can proceed.
https://statoil-proview.visualstudio.com/ProView Portal/_git/Project-Portal/pullrequest/3787

We have a dependency on the Fusion Core frontend and are awaiting the next major release.
Once this is released, we can proceed. https://statoil-proview.visualstudio.com/ProView Portal/_git/Project-Portal/pullrequest/3787

Appears this is completed now.

@kjetilhau any particular reason why this is re-open?

No, will close again