runtimeCompiler causes rewriting of some dependencies in chunk-vendors to use ES6 syntax

Version
3.9.0
Environment info
System:
    OS: macOS 10.14
  Binaries:
    Node: 10.15.2 - /opt/local/bin/node
    Yarn: 1.16.0 - /opt/local/bin/yarn
    npm: 6.9.2 - /opt/local/bin/npm
  Browsers:
  npmPackages:
    @vue/babel-helper-vue-jsx-merge-props:  1.0.0
    @vue/babel-plugin-transform-vue-jsx:  1.0.0
    @vue/babel-preset-app:  3.9.0
    @vue/babel-preset-jsx:  1.0.0
    @vue/babel-sugar-functional-vue:  1.0.0
    @vue/babel-sugar-inject-h:  1.0.0
    @vue/babel-sugar-v-model:  1.0.0
    @vue/babel-sugar-v-on:  1.0.0
    @vue/cli-overlay:  3.9.0
    @vue/cli-plugin-babel: ^3.9.0 => 3.9.0
    @vue/cli-plugin-eslint: ^3.9.0 => 3.9.1
    @vue/cli-plugin-unit-mocha: ^3.9.0 => 3.9.0
    @vue/cli-service: ^3.9.0 => 3.9.0
    @vue/cli-shared-utils:  3.9.0
    @vue/component-compiler-utils:  2.6.0
    @vue/eslint-config-prettier: ^4.0.1 => 4.0.1
    @vue/preload-webpack-plugin:  1.1.0
    @vue/test-utils: 1.0.0-beta.29 => 1.0.0-beta.29
    @vue/web-component-wrapper:  1.2.0
    eslint-plugin-vue: ^5.0.0 => 5.2.3 (4.7.1)
    vue: ^2.6.10 => 2.6.10
    vue-eslint-parser:  2.0.3 (5.0.0)
    vue-hot-reload-api:  2.3.3
    vue-loader:  15.7.0
    vue-router: ^3.0.3 => 3.0.7
    vue-style-loader:  4.1.2
    vue-template-compiler: ^2.6.10 => 2.6.10
    vue-template-es2015-compiler:  1.9.1
    vuex: ^3.0.1 => 3.1.1
  npmGlobalPackages:
    @vue/cli: 3.8.4

Steps to reproduce
Create a 'hello-world' app with vue-cli (all defaults).
Add a vue.config.js file.
Build.
Observe that the 'chunk-vendors' file contains no arrow functions.
Set ' runtimeCompiler: true' in the vue.config.js file.
Build.
Observe that one of the dependencies in the 'chunk-vendors' file contains arrow functions.
What is expected?
The 'chunk-vendors' file contains no arrow functions.
What is actually happening?
The 'chunk-vendors' file contains arrow functions.

Initially, I saw this because the project wouldn't run in IE. I thought that this was because of the Babel/node_modules defaults, so I set about trying to work with 'transpileDependencies' settings, which didn't work. I tried eliminating dependencies, to explicitly set the dependency file path, all with no success, until I went back to testing with the 'hello-world' app.
The effect in a 'real-world' project is unpredictable but consistent in that it does happen every time. If I remove a dependency, then which dependency is rewritten changes - generally between one and two, although it does seem to like rewriting Bootstrap when available. After a couple of days at this I realised that it was the runtimeCompiler setting that was triggering it.
I don't explicitly need the runtimeCompiler, I'm not sure why I enabled this, but it seems to me that this is a bug and I have seen that others have encountered this also.

Do you have an actual reproduction repo? Because I can't find any arrow functions after following your steps to reproduce.

I don't have a public repo, unfortunately. I'm still debugging - it's an infuriatingly hard bug to pin down. I cleared the cache, everything, but I'm still getting it. Maybe park this bug until I can come back with more. I'm definitely getting it but I can imagine that you'll need more info.

No, I can definitely reproduce it, by setting runtimeCompiler: true. My actual persistent problem seems to be triggered by one of my own files (which is a separate issue for me to resolve), but this is without that file:

a raw skeleton application produced by running vue create hello-world
adding a vue.config.js file with runtimeCompiler: true.

But the only thing we do with the runtimeCompiler option is to set a different alias for vue:
https://github.com/vuejs/vue-cli/blob/8f0673a93f87c1724d26dd405d3b1278ab179ae3/packages/%40vue/cli-service/lib/config/base.js#L50-L57
I don't understand why it makes a difference. I still need an actual project to investigate the problem.

I'll try and check one in today, @sodatea - hopefully then we'll be able to find if there is an issue. Thanks again for investigating (I'm getting closer to isolating the issue in my own project too - it has the same effect but with a different cause).


cmd/link: dramatic growth in binary size

Found on golang-nuts, worth reporting. It's a serious change that needs to be understood, although it might well be a problem outside the Go implementation. Although it's capture well in a single repo, it's a huge repo as far as reproducible cases go.
Original message follows.
From<EMAIL_ADDRESS><EMAIL_ADDRESS>https://groups.google.com/d/msgid/golang-nuts/9006c660-bd92-4293-87fc-fab8af1aca26n%40googlegroups.com?utm_medium=email&utm_source=footer
I have a reasonably sized project that produces executables that have ballooned in size between two relatively simple commits.
I've tested with three compiler versions and in each case the executable size is significantly larger in one case than the other.
The changes between the two versions amount to 172 insertions and 210 deletions. No module has changed version. No binary data is embedded in either version. The only additional import is to a file within the project and which is imported from many other places.
I can live with the new file size if that's the way it has to be, but it's one heck of leap in size for a seemingly simple change.
I've isolated the change and uploaded to a new repository for easy comparison. I would be very appreciative if someone could help me understand what is happening.
https://github.com/JetSetIlly/Gopher2600-filesize-test
Regards
Stephen Illingworth

[To reproduce I needed to brew install sdl2.]
Not many symbols changed in the two binaries. I think most of the size is attributable to _go.func.* getting much bigger. If you look at go tool nm <binary> | sort you can see this:
old
 45c5eb9 R _go.func.*
 4641a2a R _runtime.gcbits.*

new
 45c6759 R _go.func.*
 8cfb6ee R _runtime.gcbits.*

This means there's a whole lot more data in the symbol table. Not sure why that would be.

My current guess is this added line:
+       signalHistory [MaxSignalHistory]signal.SignalAttributes

MaxSignalHistory is 228 * 400 = 91200, and each entry is 40 bytes, for 3.6MB total.
If there were a composite literal making the containing type (a Television) that had non-zero but constant entries, then we'd put an instance of that type in read-only memory to construct one by copying from that read-only copy.
That doesn't account for all the space, but maybe there are several instances? At 3.6MB per it could add up quickly.

Changing MaxSignalHistory to 100 fixes the file size.

Changing MaxSignalHistory to 100 fixes the file size.

You're right, it does. I've replaced it with a make() in the latest code and that also fixes the problem and work perfectly. I would never have expected that to affect the executable size.
Thanks.

I'm still not sure exactly why it bloats the binary. There's only one &Television{} and it doesn't look like there is a static allocation there.

There are multiple non-pointer receivers for Television. It's also directly embedded in digest.Audio.

Ah, ok. Functions like this:
func NewAudio(tv television.Television) (*Audio, error) {

Require the compiler to describe to the runtime where all the pointers are in the arguments. The arguments are 3.6MB big, so that's lots of bits. And it isn't just once - it is multiple functions taking large types, times every callsite in those functions. It adds up quickly.
Conceivably we could figure out how to encode those bitmaps more succinctly (ala gcprograms, but for stack pointer maps), but generally passing around megabytes of arguments is probably going to suck for other reasons as well, so maybe not worth doing.

Interesting. I've genuinely learnt something here. I honestly wouldn't have thought that would affect executable size. Thanks for helping.

All right, I'll close this issue then. I think there are some possible ideas here (e.g. make binary space issues more discoverable) but nothing that wouldn't probably require a proposal first.


As a user I want to read privacy policy so that I could agree on everything :)

AC:

privacy policy is accessible via /privacy

privacy policy is accessible via /privacy ✅


[T5A2][T10-B3] Kabir Khandpur

Ready for review. Sorry for late submission!

Some comments added. Feel free to comment if you have any questions. Once done, you may the PR after reading comments.


Always Incognito Or Clear Data on Exit

Is it possible to add always incognito mode like bromite or add a clear data on exit option.
Thanks

Hey i too recommed adding this feature....

for the time being use auto history wipe extension from chrome store

#26


Run unit tests on Windows as well

Since we test a lot of the local behavior of the SDK in unit tests, we should run those tests on Windows as well.
This PR adds Windows in the matrix by which we run the unit tests, and refactors the workflows a bit to accommodate that.
It also fixes some unit tests which were failing on Windows because the datetime.now() resolution is lower there, and if you ran two datetime.now() calls in quick succession, they would return the same value, which caused some of the timestamp checking tests in memory storage to fail.

@jirimoravcik Good point, I will do it in a separate change.


Select multiple aircraft when configuring ranks

It would be nice to be able to select multiple aircraft subfleets when configuring the ranks, as selecting one by one is tedious.
A simple change to the current drop down to allow multiple selections would work perfect, and make configuring them much faster.
No other alternatives can really replace this.

Maybe a multi select capable dropdown (select2) can solve this...
(Api routes may need to be updated to handle an array instead of a single id)


Cannot make a model from JSON

in Windows 11, press Ctrl + C, will perform terminate batch job.

Hi @joshua1996,
Thanks for reporting this!
Unfortunately, I don't own a Windows machine, so I cannot provide a quick fix.
I'll close this issue because I won't be able to deal with it swiftly.
If you can solve this, please submit a PR.
I will update the docs on nylo.dev to let people know this feature is only for Mac atm.


Every change orientation load my app from start

I check before I add the plugin,and it work good. But after adding the plugin,every orientation change its reload. Sometimes show white page with:"press to continue.. " and then load.
The plugin very good but I need the app in portrait and landscape too.
Thanks,
Reut

In the end the problem was trivial - there was missing android:configChanges in activity definition, so activity was restarted on every configuration change. Should be fixed in master now.
Please retest and close this issue if it ok now. Don't forgot cordova platform rm android + cordova platform add android to changes take effect.

Thanks for fix it. I try to check your plugin now, but it's make my app collapse.
My app work good, but when I click on home button, it's open popup, I choose my app to be the luncher, and then the app collapse.
Can you check it?

Now it's work.
Thanks.

Thanks.
@DavidSalzer Can you test https://github.com/honza889/cordova-kiosk-demo on your phone? If this app works for you, try compare what is different in your app and feel free to open new issue here.


Keeping the temporal dimension

Hi, thanks for your fascinating work!
I want to use the video swin transfomer as a backbone, but my model should produce an output for each input frame.
Thus I want to keep the temporal dimension of input after the forward pass.
So I'm thinking of changing the parameter like this patch_size=(1,4,4), but I am concerned about whether this could violate the authors' intention to make spatio-temporal feature.
Apart from the memory usage issue, is it okay to make the temporal window size of the patch embedding to 1?

You can try it, we test some cases and find changing patch_size=(1,4,4) can always improves the performance with the cost of increasing memory and flops.


Please make a tag / release

That will simplify dependency management.
Do you plan to follow SemVer?

Absolutely! I've make a release.


Mod not showing in game

Hey mate how do I get your mod to work? I’ve transferred the timber folder into modules but it’s not coming up as an available mod in the in game mod settings

Sorry for the late reply, this issue was reported on discord too and I have fixed it since, please check you have the latest version

Fixed


Fix #8 General Localization: README.md chinese version

Add Chinese version

@auremoser Pls check when you have time. This version should be fine since my first language is Chinese...

Thank you @lvyachao, see my note above about adding to the base readme!


Switch to vim.api instead of vim.fn

See https://github.com/neovim/neovim/pull/13875 for details

Thanks for the fix!


s/twisted/gunicorn/g

we'll need to heroku create --buildpack https://github.com/heroku/heroku-buildpack-nginx.git before deploying.
we're experiencing memory leaks in twisted.web for uploads that require us to swap uwsgi servers.

Ready when approved @dstufft !

k! I think we're set. we can tune after we see how this behaves on real PyPI


Better reporting of "stuck" serial devices.

I managed to get the Jumbo 12k into a state where it needed both the power and the USB to be replugged to get it to work.

We need to catch this and report it better.  My somewhat lame suggestion for text:
The serial driver is not responding.  Unplugging and replugging both power and USB for your lighting unit might solve this.

Traceback (most recent call last):
  File "multi.py", line 30, in <module>
    drivers.append(DriverTeensySmartMatrix(width=w, height=h, deviceID=d_order[i]))
  File "/development/BiblioPixel/bibliopixel/drivers/serial_driver.py", line 348, in __init__
    super(DriverTeensySmartMatrix, self).__init__(type=LEDTYPE.GENERIC, num=width * height, deviceID=deviceID, hardwareID=hardwareID)
  File "/development/BiblioPixel/bibliopixel/drivers/serial_driver.py", line 109, in __init__
    resp = self._connect()
  File "/development/BiblioPixel/bibliopixel/drivers/serial_driver.py", line 171, in _connect
    DriverSerial.findSerialDevices(self._hardwareID)
  File "/development/BiblioPixel/bibliopixel/drivers/serial_driver.py", line 138, in findSerialDevices
    id = DriverSerial.getDeviceID(port[0])
  File "/development/BiblioPixel/bibliopixel/drivers/serial_driver.py", line 281, in getDeviceID
    resp = ord(com.read(1))
TypeError: ord() expected a character, but string of length 0 found

Unfortunately, I can reproduce this every time with my planned dev branch.  :-/
I get this error, which causes the unit to enter the bad state:
INFO - serial_driver - Using COM Port: /dev/cu.usbmodem1403261, Device ID: 10, Device Ver: 2
INFO - serial_driver - Using COM Port: /dev/cu.usbmodem2084771, Device ID: 11, Device Ver: 2
INFO - serial_driver - Using COM Port: /dev/cu.usbmodem2084491, Device ID: 12, Device Ver: 2
DEBUG - animation - Frame: 22ms / Update Max: 0ms
DEBUG - animation - Frame: 21ms / Update Max: 91ms
DEBUG - animation - Frame: 23ms / Update Max: 114ms
DEBUG - animation - Frame: 54ms / Update Max: 118ms
WARNING - animation - Frame-time of 83ms set, but took 99ms!
DEBUG - animation - Frame: 73ms / Update Max: 120ms
WARNING - animation - Frame-time of 83ms set, but took 142ms!
ERROR - serial_driver - There was an unknown error communicating with the device.
ERROR - serial_driver - There was an unknown error communicating with the device.
Exception in thread Thread-4:
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/threading.py", line 920, in _bootstrap_inner
    self.run()
  File "/development/BiblioPixel/bibliopixel/led.py", line 41, in run
    self._driver.receive_colors(*self._data)
  File "/development/BiblioPixel/bibliopixel/drivers/driver_base.py", line 77, in receive_colors
    self._receive_colors(colors, pos)
  File "/development/BiblioPixel/bibliopixel/drivers/serial_driver.py", line 297, in _receive_colors
    DriverSerial._comError()
  File "/development/BiblioPixel/bibliopixel/drivers/serial_driver.py", line 144, in _comError
    raise IOError(error)
OSError: There was an unknown error communicating with the device.

Exception in thread Thread-3:
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/threading.py", line 920, in _bootstrap_inner
    self.run()
  File "/development/BiblioPixel/bibliopixel/led.py", line 41, in run
    self._driver.receive_colors(*self._data)
  File "/development/BiblioPixel/bibliopixel/drivers/driver_base.py", line 77, in receive_colors
    self._receive_colors(colors, pos)
  File "/development/BiblioPixel/bibliopixel/drivers/serial_driver.py", line 297, in _receive_colors
    DriverSerial._comError()
  File "/development/BiblioPixel/bibliopixel/drivers/serial_driver.py", line 144, in _comError
    raise IOError(error)
OSError: There was an unknown error communicating with the device.

  ^C ^C^C  ^C ^C^CTraceback (most recent call last):
  File "multi.py", line 57, in <module>
    anim.run(amt=6, fps=12)
  File "/development/BiblioPixel/bibliopixel/animation.py", line 178, in run
    self._run(amt, fps, sleep, max_steps, untilComplete, max_cycles, seconds)
  File "/development/BiblioPixel/bibliopixel/animation.py", line 117, in _run
    self._led.push_to_driver()
  File "/development/BiblioPixel/bibliopixel/led.py", line 181, in push_to_driver
    self._updateThread.setData(data)
  File "/development/BiblioPixel/bibliopixel/led.py", line 68, in setData
    self._reading.wait()
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/threading.py", line 552, in wait
    signaled = self._cond.wait(timeout)
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/threading.py", line 289, in wait
    waiter.acquire()
KeyboardInterrupt

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "multi.py", line 61, in <module>
    anim.cleanup()
  File "/development/BiblioPixel/bibliopixel/animation.py", line 70, in cleanup
    return self.__exit__(None, None, None)
  File "/development/BiblioPixel/bibliopixel/animation.py", line 66, in __exit__
    self._led.push_to_driver()
  File "/development/BiblioPixel/bibliopixel/led.py", line 181, in push_to_driver
    self._updateThread.setData(data)
  File "/development/BiblioPixel/bibliopixel/led.py", line 68, in setData
    self._reading.wait()
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/threading.py", line 552, in wait
    signaled = self._cond.wait(timeout)
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/threading.py", line 289, in wait
    waiter.acquire()
KeyboardInterrupt

I'll work on this when I get the 12k set up - otherwise I can't test this.

With all the changes lately this doesn't even apply any more


added files for RMET short

Added a new test RMET short, used in commonsense platform

@markwhiting please review, I fixed the testing component.

One other thought, I know they called it RMET in the paper, but I feel like RME is a common name for it (and one that I tend to use). I wonder if RME is better? I am kind of sure that other people use that, but perhaps I'm wrong?

One other thought, I know they called it RMET in the paper, but I feel like RME is a common name for it (and one that I tend to use). I wonder if RME is better? I am kind of sure that other people use that, but perhaps I'm wrong?

Changed the component name to RmeTen

OK, I am legitimately unsure of the right choice on this. But good for now. Let's wait for @James on the other stuff. He may also have thoughts on canonical naming.


Consider supporting custom react component?

Currently, I believe everything's hardcoded in the React component.

Hello @f0rr0!
All the messages are hardcoded here: https://github.com/1egoman/funnies/blob/master/src/funnies.js
If you want to use custom messages you should be able to do something like:
import {FunniesComponent} from 'funnies';
<FunniesComponent customMessages={["You're too funny", "Thinking really hard..."]} />

Keep in mind this will only use those two messages and not append to what is already there.
If I'm misunderstanding your question, feel free to elaborate.
Thanks!

Hey @1egoman! Great work. What I meant was, currently, the component renders a
Loading
 and some, other markup along with loading messages. That is too inflexible for everyone's use case. Maybe, you could just wrap the messages in CSSTransitionGroup with prop component=span and a user supplied className. That way one can add custom styles etc. anduse custom wrapping markup.

@f0rr0 Sorry I misunderstood what you asked before!
I like that pattern that you described a lot. I don't currently have time to dive into this myself, but if you want to update and make a pull request, then I'll merge it in. The only thing I'd ask is to try and maintain backwards compatibility, but if you can't, no big deal.
As a stop-gap measure or if you don't have the time to PR, you could write your own small component that extends the component I've written with a custom render function. (below is untested, but should get the idea across)
import {FunniesComponent} from 'funnies';
class MyCustomFunniesComponent extends FunniesComponent {
  render() {
    return

      Here's a funny loading message: {this.state.message}

;
  }
}

Hey @1egoman! I moved to a completely custom solution (borrowed your funny messages though!)
However, I'll take this up when I have a little more time. You could also look into using webpack or rollup to reduce the bundle size. I think the current set up includes the entire radium dist. That's not apt for a component that just shows funny messages IMO.

I don't have time to jump into this right now, though I'm pretty sure it's a trivial task. I'd love for someone to take this on!
Task copied from above:
You could just wrap the messages in CSSTransitionGroup with prop component=span (or div etc.) and a user supplied className. That way one can add custom styles etc. and use custom wrapping markup.


Port the perception scoring plugin

Let's wait until #523 is merged so that we can use some of the bridge infrastructure there.
How to test it?

Launch the simulation loading the new perception_task world:

ros2 launch vrx_gz competition.launch.py world:=perception_task

Verify that at t=25, two buoys (red and green) are spawned ~8m in front of the WAM-V. The buoys should stay there for another 5 seconds, and then, they should disappear from the field of view.

Verify that at t=35, one buoy (black) is spawned ~8m in front of the WAM-V. The buoy should stay there for another 5 seconds, and then, it should disappear from the field of view.

The simulation should stop at t=40.

Note: I'll update these instructions when #523 is merged to report the objects via ROS 2.

verified that the buoys appears and disappears correctly.
I don't see the /vrx/perception/landmark ros2 topic though

verified that the buoys appears and disappears correctly.
I don't see the /vrx/perception/landmark ros2 topic though

The ros2 topic should be working now.

perception test works for me! We should probably set up CI and add this as an integration test later


Obtain api key

Since the api key is personal in the latest version can you tell or adjust the readme how to obtain one?
I can't figure out where to start, the closest thing i found is https://data.overheid.nl/ or to email<EMAIL_ADDRESS>You obtained a key so i guess it should also be possible for the community?

The whole point of removing it from the code is that the provider doesn't allow the community to connect to their api. Maybe in the future, but not for now unfortunately...
L2 .gitignore...
I'm working on a different way of implementation.

Oke, I'm almost done with a new and working component without using the API but with all the same functionality.
I`ll release it Tomorrow or the day after Tomorrow


Crash report file

---- Minecraft Crash Report ----
// Daisy, daisy...
Time: 5/8/15 5:59 AM
Description: Updating screen events
cpw.mods.fml.relauncher.ReflectionHelper$UnableToAccessFieldException: java.lang.NullPointerException
at cpw.mods.fml.relauncher.ReflectionHelper.setPrivateValue(ReflectionHelper.java:147)
at cpw.mods.fml.common.ObfuscationReflectionHelper.setPrivateValue(ObfuscationReflectionHelper.java:91)
at cpw.mods.fml.client.GuiOldSaveLoadConfirm.func_146284_a(GuiOldSaveLoadConfirm.java:61)
at net.minecraft.client.gui.GuiScreen.func_73864_a(GuiScreen.java:225)
at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:296)
at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:268)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1629)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:962)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Caused by: java.lang.NullPointerException
at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(Unknown Source)
at sun.reflect.UnsafeBooleanFieldAccessorImpl.set(Unknown Source)
at java.lang.reflect.Field.set(Unknown Source)
at cpw.mods.fml.relauncher.ReflectionHelper.setPrivateValue(ReflectionHelper.java:143)
... 15 more
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head --
Stacktrace:
at cpw.mods.fml.relauncher.ReflectionHelper.setPrivateValue(ReflectionHelper.java:147)
at cpw.mods.fml.common.ObfuscationReflectionHelper.setPrivateValue(ObfuscationReflectionHelper.java:91)
at cpw.mods.fml.client.GuiOldSaveLoadConfirm.func_146284_a(GuiOldSaveLoadConfirm.java:61)
at net.minecraft.client.gui.GuiScreen.func_73864_a(GuiScreen.java:225)
at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:296)
at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:268)
-- Affected screen --
Details:
Screen name: cpw.mods.fml.client.GuiOldSaveLoadConfirm
Stacktrace:
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1629)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:962)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 8.1 (amd64) version 6.3
Java Version: 1.8.0_31, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 186842648 bytes (178 MB) / 514850816 bytes (491 MB) up to 954728448 bytes (910 MB)
JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.05 FML v<IP_ADDRESS>4 Minecraft Forge <IP_ADDRESS>4 9 mods loaded, 9 mods active
mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
FML{<IP_ADDRESS>4} [Forge Mod Loader] (forge-1.7.10-<IP_ADDRESS>4.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Forge{<IP_ADDRESS>4} [Minecraft Forge] (forge-1.7.10-<IP_ADDRESS>4.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
CodeChickenCore{<IP_ADDRESS>} [CodeChicken Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
{000} [CoFH ASM Data Initialization] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
NotEnoughItems{<IP_ADDRESS>} [Not Enough Items] (NotEnoughItems-1.7.10-<IP_ADDRESS>-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
CoFHCore{1.7.10R3.0.0B6} [CoFH Core] (CoFHCore-[1.7.10]3.0.0B6-32.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
ThermalFoundation{1.7.10R1.0.0B3} [Thermal Foundation] (ThermalFoundation-[1.7.10]1.0.0B3-8.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
openmodularturrets{1.3.8} [Open Modular Turrets] (OpenModularTurrets-1.7.10-1.3.8-35.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Launched Version: 1.7.10-Forge<IP_ADDRESS>4
LWJGL: 2.9.1
OpenGL: Intel(R) HD Graphics 4400 GL version 4.3.0 - Build <IP_ADDRESS>60, Intel
GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Anisotropic filtering is supported and maximum anisotropy is 16.
Shaders are available because OpenGL 2.1 is supported.
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: []
Current Language: Deutsch (Deutschland)
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Anisotropic Filtering: Off (1)

Why did you report that crash to EnderIO ?!? You do not even have EnderIO in your installation.


Include PCF CredHub in Key Management Section

Please only report on one project or product per issue
Guidelines for getting added to the CNCF Cloud Native Landscape:

We generally will only list a company in one box, to represent its major or best known offering. We occasionally make exceptions for large companies.
Projects with at least 250 GitHub stars that clearly fit in an existing category are generally included.
We are unlikely to create a new category for products/projects as we'd rather find the best home with the current options.
We are generally not including commercial versions of open source software, when that version just includes minor tweaks.
Closed source products need to link to a clear description of your product; no stealth mode companies.
Your project or company needs a logo.

Project or Product name:
Is it open source? (if you are tempted to say partially, please answer no):
What are the best URL(s) for it? Repo and homepage (if different) for open source, product homepage for closed source?:
What one category does it best belong in?
What's the URL for the best logo (and it needs to include the name)?
Anything else we need to know?:
PCF CredHub

https://docs.cloudfoundry.org/credhub/
http://docs.pivotal.io/tiledev/2-0/credhub.html
https://github.com/cloudfoundry-incubator/credhub

PCF CredHub has Apache 2.0 License

https://github.com/cloudfoundry-incubator/credhub/blob/master/LICENSE

This looks like a promising project but we'd like to see it get a little more traction first. Please reopen when it exceeds 250 stars and graduates from the incubator.

I'm surprised, as I've seen quite a few other examples such as Apache Brooklyn that have well under 250 stars but have been included. Couple that with the fact that key management does not have a lot of choices currently, I would think the category would be ripe for expansion.
Let's compare a few other factors:
CredHub:
1,728 commits
10 branches
31 contributors
Apache Brooklyn:
138 commits
11 branches
21 contributors
Stars can be a pretty hit or miss category for a gauge of popularity or importance. Mostly b/c for every 100 people interested in a GitHub project, very few of them will take the effort to hit the star button. It's not a very optimal system.

I totally agree that stars are a problematic indicator. However, note that that isn't actually the main Brooklyn repo. Apache projects are hosted on Apache and this is just a mirror, so we give them a little more slack. In addition, the tiny number of commits is because all the work has occurred in the subtrees.


Abnormal Loss

Why do I train this model, LOSS increases with the increase of EPOCH, is it a problem with the data set?

Why do I train this model, LOSS increases with the increase of EPOCH, is it a problem with the data set?

我也有一样的问题，请问解决了吗？


Refactor sign-in flow file

Make it dynamic

This is not applicable as tests have been moved to waci test spec in https://github.com/trustbloc/sandbox/pull/1360


Multiple Files with same translation not working.

File 1
<t>Translate this</t>
File 2
<t>Translate this</t>
Created files will be one of the two, but not both.
Issue might be with how the package gathers files and their strings. Merging, and accidentally removing.

Seems to be only happening within the same folder?


There's a resource leak somewhere in the App/Control/Connection stack

When closing a tab, the memory that was allocated for the tab is retained. This leads to a massive memory leak when the application is used continuously, opening and closing tabs like users do. This uses gigabytes of RAM, the only way to clear it is to close out of the terminal completely and relaunch it.

I do not have very concrete data on it yet, but I also see a massive memory leak in WindowsTerminal.exe, even with only ever having just one tab open.
I tend to see this memory consumption happen most aggressively with any sort of application that continuously updates the screen like mtr or htop (I'm using the version of OpenSSH bundled with Windows build 18362 to connect to a Linux machine to run these). A session that run for just under 40 minutes got up to over 1000 MB of memory usage according to Task Manager.

Another bit of information, all that memory seems to be released over time, that same session, now sitting at a shell over SSH calms down and now roughly 3 hours later, it is using an efficient and trim 8.5 MB of RAM according to Task Manager.

@onekopaka I moved your bug report to 768, to try and keep this thread specific to the cleanup of the TermControl's when a tab is closed

Is it possible to reproduce this leak after #914 was merged into master?
I can't check that by myself =(

@dreamer-dead I just rechecked and it still appears to still be present in the most recent merge.

I guess when the tab closes, it doesn't end the conhost process attached to it.
What I did:
Start Windows Terminal, open 9 powershell tabs, and close 8 of them.
Result:

Somehow, I fixed this in #825. Hooray!


DVT should consider translation API for validation

DVT fails the check if the data type does not match exactly between Hive and Bigquery. For example BQ translation API converts int32 in hive to int64 in BQ. DVT marks this check as fail as it goes for exact match at both the ends and ignores the inputs from translation API.

For such scenarios you can pass --allow-list argument where you can provide mappings of source and destination. Refer this link


fix(client): replace actix rt with tokio

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

GitHub release
v0.12.3
v0.12.3

Your semantic-release bot :package::rocket:


Added gnome sort in Python

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Topic: Gnome Sort in Python
Introduction:
It is a simple exchange sorting algorithm similar to insertion sort, except that it moves an element to its proper place by a series of swaps, as in bubble sort. In each iteration the algorithm finds the first place, where two adjacent elements are in the wrong order and swaps them. Afterwards it compares the swapped element with previous elements and swaps them if they are in the wrong order. If adjacent elements are in proper order or the end is reached, it starts a new iteration.
Time/Space Complexity:
Best case time complexity: O(n)
Worst case time complexity: O(n^2)
Space complexity: O(1)
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issue : Fixes #4816

Hello @ankitaggarwal23 I have not copied it.
Kindly requesting you to open it and it will do required changes.

See @ankitaggarwal23 I have gone through whole algorithm.

I have done requested changes as per @HarshCasper.
Kindly review this.


Wait for RnR to be Consistently Available

When creating an Retrieve and Rank cluster, kale should wait for the cluster to be consistently available. Not doing so creates an edge-case scenario in which kale assemble kale-test english may fail when attempting to create the solr-configuration:
...
[Running command 'kale create retrieve_and_rank kale-test-rnr']
Creating retrieve_and_rank service 'kale-test-rnr' using the 'standard' plan.
Creating key for service 'kale-test-rnr'.

Service 'kale-test-rnr' has been created and selected for future actions.

[Running command 'kale create cluster kale-test-cluster --wait']
Creating cluster 'kale-test-cluster' in 'kale-test-rnr'.
Waiting for cluster to become ready.
..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

Cluster 'kale-test-cluster' has been created and selected for future actions.

[Running command 'kale create solr-configuration english']
Creating configuration 'english' in 'kale-test-rnr/kale-test-cluster'.
A call to: https://gateway.watsonplatform.net/retrieve-and-rank/api/v1/solr_clusters/<ID removed>/config/english
returned an unexpected error status code 404
{"msg":"WRRCSS030: Solr cluster ID [<ID removed>] does not exist.","code":404}

[An error occurred, starting rollback]
...

Kale already does this.  The flag --wait is used to tell Kale to wait for the cluster to be available before doing anything else (which is used in the output you showed).
Unfortunately it's a not a perfect method.  Even if RnR says that a cluster is available, there is a small time window where the cluster is not available on all instances of RnR for a given tile.  This is a known issue with RnR, and there really isn't anything we can do on the Kale side of things.  I just poked the Retrieve team, and they're going to take another look at the issue.
Closing the issue as there is nothing we can do in Kale for this.

Per our discussion, kale can: ping/query RnR repeatedly for a period of time after it first says it's available, with some upper limit.
For instance, once it thinks the cluster is ready, kale could ping the cluster over the course of another 15 seconds to ensure none of the responses come back as "not ready".  If any of the requests say it's not ready, restart the 15 second timer unless the elapsed time has exceeded a minute.

Resolved by #60


Fix Windows build patch

fix up Windows build due to patch application error

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

I'm adding myself as maintainer if that's okay. (If not I'll happily take the commit off again)

@conda-forge-admin, please rerender


Ligand SDF round trip v2

Description
This PR supersedes #531 as I messed up updating the main branch.
Todos
Notable points that this PR has either accomplished or will accomplish.

[ ] TODO 1

Questions

[ ] Question1

Status

[ ] Ready to go

Codecov Report

Merging #534 (b728785) into main (f1ce897) will increase coverage by 25.24%.
The diff coverage is n/a.

Additional details and impacted files


⚠ Bofrost.be has degraded performance

In 918e59c, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1549 ms

Resolved: Bofrost.be performance has improved in c78377c.


Fix to project file settings

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 69.617%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
2148

Relevant Lines:
2996

💛  - Coveralls


Asymatric themeing

Continuing #28
Allows x,y,z to be indivisualy themed.

Why did you close this pr?

Why did you close this pr?

While working on #55 I've realized this wonn't work .
If we are to create asymatric themes we will have to keep  a middle part that is always present . So this cann't work .
Even curently the statusline depends on user keeping every component active . Try commenting out c in your config or all x,y,z or a,b,c you will find some amazing results. best one is only have a available . The whole statusline takes up a . I've tried to deal with it on #55 .

While working on #55 I've realized this wonn't work .
If we are to create asymatric themes we will have to keep  a middle part that is always present . So this cann't work .
Even curently the statusline depends on user keeping every component active . Try commenting out c in your config or all x,y,z or a,b,c you will find some amazing results. best one is only have a available . The whole statusline takes up a . I've tried to deal with it on #55 .

I understand what the issue is, I have not thought of it before. Please open a new issue with this.
I think we should try to tackle it in a new pr BEFORE we do #55. Also, #55 should handle only what it states, I had no idea it fixes any theming issues right now :)

I understand what the issue is, I have not thought of it before. Please open a new issue with this.
I think we should try to tackle it in a new pr BEFORE we do #55. Also, #55 should handle only what it states, I had no idea it fixes any theming issues right now :)

I think we should try to tackle it in a new pr BEFORE we do #55. Also, #55 should handle only what it states, I had no idea it fixes any theming issues right now :)

I basicaly had to rewrite most of statusline function for implementing #55 as it required new highlights for each separator . As I've changed the interpretation of themes there to make looks more consistent . (Simply I've made so c sections highlighting is always present. An a,b,c compartment always render on leftaligned and x,y,z rightaligned )
I think if we want to change themeing we can do that on top of #55 .

I think we should try to tackle it in a new pr BEFORE we do #55. Also, #55 should handle only what it states, I had no idea it fixes any theming issues right now :)

I basicaly had to rewrite most of statusline function for implementing #55 as it required new highlights for each separator . As I've changed the interpretation of themes there to make looks more consistent . (Simply I've made so c sections highlighting is always present. An a,b,c compartment always render on leftaligned and x,y,z rightaligned )
I think if we want to change themeing we can do that on top of #55 .

Those bugs are mainly there because of curent implementation of statusline function doesn't account for execption . Specialy on section_c it '%=' if c is skiped it's not added . Even if those bugs are fixed in this implementation . After #55 merges they will be replaced by new implementation of statusline function.
So I think fixing them here is unnessery.

Those bugs are mainly there because of curent implementation of statusline function doesn't account for execption . Specialy on section_c it '%=' if c is skiped it's not added . Even if those bugs are fixed in this implementation . After #55 merges they will be replaced by new implementation of statusline function.
So I think fixing them here is unnessery.

Yeah sure. I will take a look at #55 asap and hopefully we will get it fixed :)

Yeah sure. I will take a look at #55 asap and hopefully we will get it fixed :)


Improved lstm_choice_mode

Added an improved version of the lstm_choice_mode
The new version extracts its ratings and alternative symbol choices from the
CTC process instead of the lattice. It also makes the beamsearch broader in
an uninvasive way by doing several cascading beamsearches. After every iteration
the best symbol choice is extracted and blocked for the next iteration.

Any result numbers, test results?

Travis build is broken without your changes.

One great benefit of the new lstm_choice mode is that it works now for languages that have more symbols than lstm channels like japanese

Here the result of the new choice mode
-l jpn --psm 6 --dpi 300 -c lstm_choice_mode=4 -c lstm_choice_amount=10 testjpSingle.png out hocr

      本

	    本
	    人
	    末
	    な
	    ネ

Here the result of the old choice mode
-l jpn --psm 6 --dpi 300 -c lstm_choice_mode=2 -c lstm_choice_amount=10 testjpSingle.png out hocr

      本

	    ぷ

thanks

@noahmetzger Please also make lstm_choice_mode available for API users. Thanks!


Progress track to the user

User thinks there is a bug in the website, while waiting ...

I looked into the code and think that this is relatively easy to achieve if check_availability is approached differently:
Instead of retrieving data from justwatch, IMDB and joining the data based on the whole movie batch, this process should be repeated per movie. Then it is just a matter of telling progress_tracker after each iteration that a new movie is ready.
I tried to implement this into the code and a single threaded approach works just fine, but is slow.
When using multiple threads I fail to update the state of the task embedded in the progress_tracker using update(): It appears like the message is received correctly by update(). However, the Uvicorn client still shows no progress.
Do you have any experience with updating the state of Celery tasks from within threads?

Hi Linus,
an interesting approach! Currently I do not have much time to work on the
website :(
I have no experience with threading and celery but as I know each celery
function call is executed within a new process, if you populate the
progress tracker there I do not know if it will work. I tried updating from
within the justwatch thread pool for one evening but had no idea why it
wasn't working ...
Somehow we need to pass a shared variable to all threads and this shared
variable has to be part of the progress tracker ...
Best regards!
Linus Wagner @.***> schrieb am Mo., 5. Apr. 2021, 15:03:

I looked into the code and think that this is relatively easy to achieve
if check_availability
https://github.com/kopytjuk/imdb-checker/blob/982b7b35d0f711bb3d3d60b75d3db3576a6f0fb2/logic/availability.py#L10
is approached differently:
Instead of retrieving data from justwatch, IMDB and joining the data based
on the whole movie batch, this process should be repeated per movie. Then
it is just a matter of telling progress_tracker after each iteration
that a new movie is ready.
I tried to implement this into the code and a single threaded approach
works just fine, but is slow.
When using multiple threads I fail to update the state of the task
embedded in the progress_tracker using update(): It appears like the
message is received correctly by update(). However, the Uvicorn client
still shows no progress.
Do you have any experience with updating the state of Celery tasks from
within threads?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kopytjuk/imdb-checker/issues/14#issuecomment-813381362,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADBL2RYOCJCJBF3OIFH7ZM3THGYI5ANCNFSM4X7L4EJA
.


Evo 679 coordinates as location inputs

OKAY....
This is basically a draft because the test issues are driving me batty. Pushing it up so we can trouble-shoot collectively (I have `.skip' called the tests that were giving me grief.)
I have tried to mock an async call directly and then done the dependency injection (passing it in via props), mocked it and in both instances it breaks the tests. Could there be something about async keyword that the babel compiler for the test suite doesn't like? Am I messing it up in some fashion?

#679 notionally closes this ticket

Closed because I need to push recent changes on a different branch


Is there a way to install node-sass without download the binding.node file from GitHub?

I would like to install this module, but it fails due to the corporate environment that I have to use :-/
The problem is that I can either be in the public web, or in the internal corporate network with access to an internal npm proxy.
I need to use the internal network, because otherwise I can't install a bunch of non-public dependencies. This, unfortunately, leads npm install to show the following error:

Downloading binary from https://github.com/sass/node-sass/releases/download/v4.5.3/linux-x64-57_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v4.5.3/linux-x64-57_binding.node":
getaddrinfo ENOTFOUND github.com github.com:443
[…]

Also setting a proxy, as suggested, won't help, because I do not have internet access when I am in the internal network, and there is just no proxy. I know that this is scenario is super-bullshit, but I can't change it 😢
Is there a way to install this module, without the need for this download?
I alread tried
$ npm install --build-from-source

but this didn't change anything. Any hints or ideas?
Alternatively, is there a way to download this file in advance, put it somewhere, and then have npm install use the local file instead of the remote one?

You could switch to the much slower https://github.com/medialize/sass.js/
or fork this and change the link to be a local url...

After the download fails the install will automatically fall back to a local node-gyp build. build-from-source is a node-pre-gyp command, and we don't currently use that library.

The alternate binary download pararmeters are also covered in the README https://github.com/sass/node-sass#binary-configuration-parameters

After the download fails the install will automatically fall back to a local node-gyp build.

No, it doesn't. All I get is the message that github.com could not be resolved and that's it. It then exits with an error.

export SASS_BINARY_PATH should resolve this issue.
You can download XXX_binding.node and export to SASS_BINARY_PATH.
export SASS_BINARY_PATH=~/somepath/linux-x64-11_binding.node

Is there a official alternative way in progress develping?

i have same problem please suggest

@rabi-999 We also facing same issue downloading binary fails.
Struggling with 'node-sass' installation issue, due to high security restrictions & organisational policies in our company,  since we are working in finance domain.
I managed to work with node-sass by getting 'binding.node' externally and continued the styling app locally.
But when we are hosting the app on Azure cloud, the build errors due to binding.node downloading fails.
If no fixes found then I need to use CSS instead SCSS.

Same issue.  Here's what we're trying:

Set up an internal webserver
Download all files for 'latest release' (bash script using jq json processor):

for URL in $(curl -s https://api.github.com/repos/sass/node-sass/releases/latest | jq -r '.assets[].browser_download_url')
do
wget $URL
done

Set the SASS_BINARY_SITE environment variable to point to the internal webserver

Arguably a superior solution would be to use a dependent package (called like node-sass-binary-win32, node-sass-binary-osx... respectively) to deliver those binaries — instead of relying on GitHub and custom scripts to download.
That way it would be absolutely transparent and smooth, no reliance on external websites, security holes and outages. Also quite solid for CI and disconnected container/offline story.
By making node-sass optionally depend on all node-sass-binary-win32/osx/linux/... packages, at install time NPM will pick the architecture that fits, and download everything in one step, no post-installs.

The most effective and simplest solution for me: download this ${your_platform_vers}_binding.node manually (on other machine) and put it to npm cache C:\Users${user}\AppData\Roaming\npm-cache\node-sass${node-sass version}.
=> npm istall now working!

This is a viable workaround for a limited subset of environments.
Does node-sass have to download binary file from an external URL as part of the installation? It is a security concern, that's why corporate environments block it.
It's also a maintenance concern, as CI servers that run in secure disconnected environment wouldn't be able to use node-sass either. It would take a manual interaction such as @r-n-aliev to 'prime' the environment for every time node-sass is upgraded or downgradedm and every CI server too.
What would it take to solve the underlying issue rather than expect workarounds?

What solved the problem for us is this

Create a local file repo - let's say nodejs in Nexus / Artifactory (ideally would be a proxy repo to the gitbub releases, but did not yet get it working)

ensure the required binary is available in your Artifact repo according to this structure: https://nexus.intra/repository/nodejs/vx.x.x/

ensure that sass-binary-site=https://nexus.intra/repository/nodejs/ is configured. you can do this with
npm config set sass-binary-site=https://nexus.intra/repository/nodejs/ --global

I'd like to raise the same concern. I've disabled all NPM runtime scripts and explicitly run npm rebuild with --build-from-source. It used to force Sass to rebuild and not use an untrusted binary off of GitHub. Now when I give it a go with the latest version, it seems to insist on downloading an executable. That's just awful. We've been warning devs for ages to vet code before they run it — which is not easy, but at least doable — and now we're just grabbing binaries with no confirmation and running them. Mark my words, eventually someone will target those binaries, either legally (looking at you, Australia, where @xzyfer is from ^_^) or illegally.
So, couldn't we have Sass respect the de facto --build-from-source?
Here's the current rebuild command for other privacy and security aware people:
npm --ignore-scripts false rebuild --build-from-source node-sass --sass-binary-site=http://localhost:0

I wouldn't trust external sources any more than external binaries.
But if binaries are distributed via NPM by the same authors, that's a different point.

The most effective and simplest solution for me: download this ${your_platform_vers}_binding.node manually (on other machine, can be downloaded from here) and put it to npm cache C:\Users${user}\AppData\Roaming\npm-cache\node-sass${node-sass version}.
npm istall now working! 😃

That's right, in my environment, I moved the download win32-x64-67_binding.node to C:\Users\Liu.D.H\AppData\Roaming\npm-cache\node-sass\4.11.0, then I run npm rebuild node-sass
D:\code\java\jeecg-boot\ant-design-jeecg-vue>npm rebuild node-sass
><EMAIL_ADDRESS>install D:\code\java\jeecg-boot\ant-design-jeecg-vue\node_modules\node-sass
> node scripts/install.js

Cached binary found at C:\Users\Liu.D.H\AppData\Roaming\npm-cache\node-sass\4.11.0\win32-x64-67_binding.node

><EMAIL_ADDRESS>postinstall D:\code\java\jeecg-boot\ant-design-jeecg-vue\node_modules\node-sass
> node scripts/build.js

Binary found at D:\code\java\jeecg-boot\ant-design-jeecg-vue\node_modules\node-sass\vendor\win32-x64-67\binding.nodeTesting binary
Binary is fine
<EMAIL_ADDRESS>D:\code\java\jeecg-boot\ant-design-jeecg-vue\node_modules\node-sass

D:\code\java\jeecg-boot\ant-design-jeecg-vue>

For those hitting the proxy-wall fun of their company I would recommend investigating https://github.com/sass/dart-sass instead. It is built to be compatible with node-sass and is pure JS... so no binaries.

Why was the last comment deleted? @cary-smith had a very interesting suggestion to look at  https://github.com/sass/dart-sass, which is compatible with node-sass and doesn't have any binaries to download

The authors of the sass library deleted it. I believe they do no want the cross contamination.

That's kind of strange considering that both projects are part of the same github organization. Either way, thanks for the recommendation! It's exactly what I've been looking for


[Suggestion] use the source code downloaded with git rather than the tar.gz

An interesting issue is that this repo has only merges in the master branch which if done on the GitHub web interface don't have their individual signatures rather just from Github WebFlow.
This increases trust in GitHub (and the merging user's github credentials).
The release is also signed with the Github WebFlow, but verifying that is still better than just trusting the downloaded file (tar.gz or zip)
In the RaspiBlitz we aim to verify everything possible so will change to
git clone https://github.com/joinmarket-webui/joinmarket-webui
git reset --hard $VERSION

to make this possible.
Will aim the same for the JoininBox integration.

Should I update the Raspiblitz install script to use git clone rather than wget?

Should I update the Raspiblitz install script to use git clone rather than wget?

Will do it myself, no worries. Implemented the blitz.git-verify.sh already to do the verification for the other scripts.

Great! Thanks @openoms.

I tracked #142 for us to decide on how to go forward with release / commit signatures (GitHub web flow vs. personal signatures).


Merge pull request #1 from thisisjaymedina/cv-drafts

Update data.yml

Build error, cancelling commit.


Dropbox export

Overview
This PR introduces S3 to copy jobs and direct export into Dropbox folder
Demo
java -cp rf-batch.jar com.azavea.rf.batch.Main dropbox-copy s3://bucket/prefix/ /test token

Or do a usual export, with dropboxCredentials setup and with export path URI: dropbox:/some/path/
Notes
It's discussable how to modify export job:

Modify export definition to accept credentials (current version)
To pass AccessToken as a sep batch job parameter

Closes #1649
Depends on #1799

We need to coordinate on this, since we're both changing Export.scala.

@fosskers doesn't matter too much, this changes only tiff writing itself, feel free to do any changes; my changes would be minor ^^'

@jisantuc as an answer to your question what i can do: to make such filter optional (make it configurable); I just expect to have some garbage in our buckets, or to copy of only specific types of imagery.


esp idf i2c legacy driver issue

Hello
I can see on the  port/platform/esp-idf/src/u_port_i2c.c that the legacy i2c driver is used for esp-idf , so for now only the legacy i2c driver is used , is there any plan on updating to the new version of driver (i2c_master.h) , because the legacy driver will be deprecated in the future .

Hi there: it is indeed on the TODO list; we will probably combine it with moving forward to ESP-IDF 5.2.  We can't drop support for the old I2C driver of course, so it will make the ESP-IDF port-layer code a bit messy, and it will need to be done under a compilation switch so as not to break existing users.
Suggest we leave this issue open and then we can updated it when done.

I've just begun implementing against the new ESP-IDF I2C API, however it seems to be missing one vital feature: it does not permit I2C stop bits to be suppressed.  In the old API one had full control over this; we need it in order to determine the number of bytes available in the GNSS device (write 0xFD followed by no stop bit to the GNSS device, read two bytes and that gives you the amount of data it has buffered).  Unless I've missed something...?
I have raised a feature request on ESP-IDF: https://github.com/espressif/esp-idf/issues/13952

FYI, the ESP-IDF I2C API does have that feature, in fact i2c_master_transmit_receive() does exactly that, it just doesn't say that it does that in the API description.
I'm on to the next issue, which is that it doesn't seem possible to implement our uPortI2cAdopt() API on top of the new ESP-IDF I2C API.  I have asked (https://github.com/espressif/esp-idf/issues/13968) if Espressif can see a way to do it.

Hmmm, I'm now hitting a couple more issues which seem to be known and fixed on ESP-IDF main but not yet ported to a release branch:
https://github.com/espressif/esp-idf/issues/13962
https://github.com/espressif/esp-idf/issues/13922
I think we might wait a little while and let it settle down...

FYI, Espressif have now provided an API that allows uPortI2cAdopt() to be implemented, see https://github.com/espressif/esp-idf/commit/992d8bc5f20556adb62571d55a1517a9848d4b51.
Once this, and hopefully the two fixed issues mentioned above, have made it into a tagged release we will try again.

FYI, it looks like ESP-IDF are gearing up for a 5.3 release; it is holiday season here now so likely we can try this in September when 5.3 is released.

5.3 is released :)
Beer is guaranteed for this port to be available soon ;-)

B*gger: looks like the feature we needed, even thought it was committed to ESP-IDF master two months ago, isn't in the ESP-IDF 5.3 release, it stops on the revision of i2c_master.c just before.  I have asked when it will make it into an official release.
In the mean time I will try testing with ESP-IDF master; we might then choose to test with a specific commit hash ahead of v5.3.

So i'm guessing we should stick to the old API and disable the warning at the boot :)))

I guess it depends how quickly you need to get working: you will see from the issue I raised on ESP-IDF that someone else had raised what looks like the same issue (talking to a u-blox GNSS chip) back at the start of July, updated just last week, to which mythbuster5 responded that they would take a look, but then a few hours ago the espressif-bot marked that issue as "done" with resolution "NA", which seems a bit odd.
What is the warning you get at boot?  Some form of run-time deprecation thingy?

Update: looks like the issue that was raised earlier on ESP-IDF concerning talking to a u-blox GNSS chip using the new I2C API has, in fact, been fixed on ESP-IDF master in commit https://github.com/espressif/esp-idf/commit/8aee667873143a4f2c029d21a4bfff358d287db4.  I've just done a very quick test with that included and things are looking good, so don't lose hope!
I will need to do some more testing but, if things continue to look good, I will post a preview branch here with the changes to use the new ESP-IDF I2C API in it so that you can try it if you wish, while I get it put through regression test/review here.

I have pushed preview_esp_idf_i2c_new_api_rmea here: this uses the new ESP-IDF I2C API by default if you compile it against ESP-IDF master (and of course you need commit https://github.com/espressif/esp-idf/commit/8aee667873143a4f2c029d21a4bfff358d287db4 or later) and passes our regression testing.
Once Espressif have included the fixes that are in commits https://github.com/espressif/esp-idf/commit/992d8bc5f20556adb62571d55a1517a9848d4b51 and https://github.com/espressif/esp-idf/commit/8aee667873143a4f2c029d21a4bfff358d287db4 in a release branch we will update ubxlib master to user the new ESP-IDF I2C API for that ESP-IDF release and later; we will let you know when that is done.  We will delete the preview branch sometime after that.


Config improvements

[ ] I have added the tests to cover my changes.
[x] I have updated the documentation, VERSION, and CHANGELOG accordingly.
[x] I have read the CONTRIBUTING document.

Improvements of note are:

If an executor plugin has the global dict _EXECUTOR_PLUGIN_DEFAULTS defined, these defaults are loaded into the in-memory configuration data and written to the configuration file. But only for parameters which were not already defined.
Usage of _shared_files.config.update_config is clearer. With no arguments, the in-memory config is updated with values from the configuration file (no change there). With an input dictionary, the in-memory config and the configuration file are updated with values from the input dictionary. Unless override_existing == False, in which case, values from the input dictionary are only used if the parameter in question was either not defined, or has a null value in the current config.


ffmpeg sometimes get called unnecessarily

Essentially I use -f 141 in a script but now youtube-dl does this:
[download] 100% of 24.61MiB in 00:00
[ffmpeg] Correcting container in
It's a waste of time cause my script then calls ffmpeg two more times piping the output into sox before then calling ffmpeg a final time where I fix it anyway.
There should be an option so youtube-dl never calls anything like ffmpeg or AtomicParsley. Maybe there already is? The first one in my PATH is not always the right one anyway. For example I had a version of ffmpeg recently that would crash unless I passed the fix_iods option as well.

I just tested, this solves it, will update my script, still think there should be an option to prevent youtube-dl being too smart for it's own good:
PATH='' ~/bin/youtube-dl -f 141 ...
It gives a warning though then:
... writing DASH m4a. Only some players support this container. Install ffmpeg or avconv to fix this automatically.

Oh you might want the version: 2015.02.02

You can add --fixup never to the command line (or to your configuration file). It could be the default, but there are popular players that don't support the original file.

Thank you Jaime, I did not know the option and really appreciate it.

It started doing it again even though I use --fixup never for example in this case 2015.05.20:
youtube-dl -F 'https://www.youtube.com/watch?v=Q-6_DrPT9OU'
[youtube] Q-6_DrPT9OU: Downloading webpage
[youtube] Q-6_DrPT9OU: Extracting video information
[youtube] Q-6_DrPT9OU: Downloading DASH manifest
[info] Available formats for Q-6_DrPT9OU:
format code  extension  resolution note
249          webm       audio only DASH audio , opus @ 50k
250          webm       audio only DASH audio , opus @ 70k
251          webm       audio only DASH audio , opus @160k
140          m4a        audio only DASH audio  129k , m4a_dash container, aac  @128k (44100Hz), 6.56MiB
171          webm       audio only DASH audio  162k , audio@128k (44100Hz), 6.29MiB
141          m4a        audio only DASH audio  255k , m4a_dash container, aac  @256k (44100Hz), 13.02MiB
278          webm       256x144    DASH video  100k , webm container, VP9, 12fps, video only, 3.56MiB
160          mp4        256x144    DASH video  112k , 12fps, video only, 5.48MiB
133          mp4        426x240    DASH video  248k , 24fps, video only, 12.29MiB
242          webm       426x240    DASH video  253k , 24fps, video only, 6.77MiB
243          webm       640x360    DASH video  449k , 24fps, video only, 12.71MiB
134          mp4        640x360    DASH video  604k , 24fps, video only, 18.16MiB
244          webm       854x480    DASH video  772k , 24fps, video only, 21.59MiB
135          mp4        854x480    DASH video 1111k , 24fps, video only, 37.84MiB
247          webm       1280x720   DASH video 1554k , 24fps, video only, 44.54MiB
136          mp4        1280x720   DASH video 2219k , 24fps, video only, 75.92MiB
248          webm       1920x1080  DASH video 2849k , 24fps, video only, 85.72MiB
137          mp4        1920x1080  DASH video 4261k , 24fps, video only, 162.86MiB
17           3gp        176x144
36           3gp        320x240
5            flv        400x240
43           webm       640x360
18           mp4        640x360
22           mp4        1280x720   (best)
-f 22 is marked best, I expect that one to get pulled down. Instead -f 137 and -f 141 get downloaded in that order and then merged with ffmpeg.
Is there some option or configuration I am missing to prevent commands outside of youtube-dl from being called? --fixup never had restored the behavior I liked for some time now.
Thanks

Read the last two paragraphs in the FORMATS SELECTION section

Thank you again Jaime, I had noticed that but the problem is that I have scripts that use an unwieldy -f ../../../.. parameter, but some don't. If I add now -f best or -f ../../../best to all of them, what happens if I pass another -f on the commandline to my script? That's a lot of smarts to add to bourne shell :( Maybe multiple -f options are honored in order?
I really do think there should simply be an option to never under any circumstance call an external program such as ffmpeg or AtomicParsley like I requested originally in this issue.

The last -f in the command line is picked, the previous are ignored.

I really do think there should simply be an option to never under any circumstance call an external program such as ffmpeg or AtomicParsley like I requested originally in this issue.

If -f best is not enough, feel free to open a new issue.

I just tried this and it works:
PATH='' ~/bin/youtube-dl 'https://www.youtube.com/watch?v=Q-6_DrPT9OU'
I'll adjust my scripts to unset PATH. It seems in this way it'll work long term.
Thank you again for your time and quick reply.

c:>youtube-dl.exe -F -u<EMAIL_ADDRESS>-p radi1010 -o "C:\Users\Adm\Videos%(playlist_index)s - %(title)s.%(ext)s" --fixup never --all-subs --external-downloader aria2c.exe https://globoplay.globo.com/v/6670684/programa/
[Globo] 6670684: Downloading JSON metadata
[Globo] 6670684: Downloading security hash for 5ad6986b636d61e45f000000_90_720_m3u8
[Globo] 5ad6986b636d61e45f000000_90_720_m3u8: Downloading m3u8 information
[Globo] 6670684: Downloading security hash for 5ad6986b636d61e45f000000_90_720_l_m3u8
[Globo] 5ad6986b636d61e45f000000_90_720_l_m3u8: Downloading m3u8 information
[Globo] 6670684: Downloading security hash for 5ad6986b636d61e45f000000_360_1080_l_m3u8
[Globo] 5ad6986b636d61e45f000000_360_1080_l_m3u8: Downloading m3u8 information
[Globo] 6670684: Downloading security hash for 5ad6986b636d61e45f000000_360_1080_m3u8
[Globo] 5ad6986b636d61e45f000000_360_1080_m3u8: Downloading m3u8 information
[Globo] 6670684: Downloading security hash for 5ad6986b636d61e45f000000_360_1080_mpd
[info] Available formats for 6670684:
format code                                 extension  resolution note
http-5ad6986b636d61e45f000000_360_1080_mpd  mpd        unknown
hls-65                                      mp4        160x90       65k , avc1.64001E@  45k, mp4a.40.2@ 16k
hls-116                                     mp4        160x90      116k , avc1.64001E@  45k, mp4a.40.2@ 64k
hls-247                                     mp4        426x240     247k , avc1.64001E@ 201k, mp4a.40.2@ 32k
hls-281                                     mp4        426x240     281k , avc1.64001E@ 201k, mp4a.40.2@ 64k
hls-495-0                                   mp4        640x360     495k , avc1.64001E@ 402k, mp4a.40.2@ 64k
hls-495-1                                   mp4        640x360     495k , avc1.64001E@ 402k, mp4a.40.2@ 64k
hls-700                                     mp4        640x360     700k , avc1.64001E@ 644k, mp4a.40.2@ 16k
hls-751-0                                   mp4        640x360     751k , avc1.64001E@ 644k, mp4a.40.2@ 64k
hls-751-1                                   mp4        640x360     751k , avc1.64001E@ 644k, mp4a.40.2@ 64k
hls-751-2                                   mp4        640x360     751k , avc1.64001E@ 644k, mp4a.40.2@ 64k
hls-1103                                    mp4        854x480    1103k , avc1.64001F@1008k, mp4a.40.2@ 32k
hls-1137-0                                  mp4        854x480    1137k , avc1.64001F@1008k, mp4a.40.2@ 64k
hls-1137-1                                  mp4        854x480    1137k , avc1.64001F@1008k, mp4a.40.2@ 64k
hls-1137-2                                  mp4        854x480    1137k , avc1.64001F@1008k, mp4a.40.2@ 64k
hls-2165-0                                  mp4        1280x720   2165k , avc1.64001F@1978k, mp4a.40.2@ 64k
hls-2165-1                                  mp4        1280x720   2165k , avc1.64001F@1978k, mp4a.40.2@ 64k
hls-2165-2                                  mp4        1280x720   2165k , avc1.64001F@1978k, mp4a.40.2@ 64k
hls-2165-3                                  mp4        1280x720   2165k , avc1.64001F@1978k, mp4a.40.2@ 64k (best)

Hi. How do I choose a resolution or the best of all with the -F command? Only resolutions are listed for me, but I do not know how to choose.
c:>youtube-dl.exe -F -u<EMAIL_ADDRESS>-p password -o "C:\Users\Adm\Videos%(playlist_index)s - %(title)s.%(ext)s" --fixup never --all-subs --external-downloader aria2c.exe https://globoplay.globo.com/v/6670684/programa/
[Globo] 6670684: Downloading JSON metadata
[Globo] 6670684: Downloading security hash for 5ad6986b636d61e45f000000_90_720_m3u8
[Globo] 5ad6986b636d61e45f000000_90_720_m3u8: Downloading m3u8 information
[Globo] 6670684: Downloading security hash for 5ad6986b636d61e45f000000_90_720_l_m3u8
[Globo] 5ad6986b636d61e45f000000_90_720_l_m3u8: Downloading m3u8 information
[Globo] 6670684: Downloading security hash for 5ad6986b636d61e45f000000_360_1080_l_m3u8
[Globo] 5ad6986b636d61e45f000000_360_1080_l_m3u8: Downloading m3u8 information
[Globo] 6670684: Downloading security hash for 5ad6986b636d61e45f000000_360_1080_m3u8
[Globo] 5ad6986b636d61e45f000000_360_1080_m3u8: Downloading m3u8 information
[Globo] 6670684: Downloading security hash for 5ad6986b636d61e45f000000_360_1080_mpd
[info] Available formats for 6670684:
format code                                 extension  resolution note
http-5ad6986b636d61e45f000000_360_1080_mpd  mpd        unknown
hls-65                                      mp4        160x90       65k , avc1.64001E@  45k, mp4a.40.2@ 16k
hls-116                                     mp4        160x90      116k , avc1.64001E@  45k, mp4a.40.2@ 64k
hls-247                                     mp4        426x240     247k , avc1.64001E@ 201k, mp4a.40.2@ 32k
hls-281                                     mp4        426x240     281k , avc1.64001E@ 201k, mp4a.40.2@ 64k
hls-495-0                                   mp4        640x360     495k , avc1.64001E@ 402k, mp4a.40.2@ 64k
hls-495-1                                   mp4        640x360     495k , avc1.64001E@ 402k, mp4a.40.2@ 64k
hls-700                                     mp4        640x360     700k , avc1.64001E@ 644k, mp4a.40.2@ 16k
hls-751-0                                   mp4        640x360     751k , avc1.64001E@ 644k, mp4a.40.2@ 64k
hls-751-1                                   mp4        640x360     751k , avc1.64001E@ 644k, mp4a.40.2@ 64k
hls-751-2                                   mp4        640x360     751k , avc1.64001E@ 644k, mp4a.40.2@ 64k
hls-1103                                    mp4        854x480    1103k , avc1.64001F@1008k, mp4a.40.2@ 32k
hls-1137-0                                  mp4        854x480    1137k , avc1.64001F@1008k, mp4a.40.2@ 64k
hls-1137-1                                  mp4        854x480    1137k , avc1.64001F@1008k, mp4a.40.2@ 64k
hls-1137-2                                  mp4        854x480    1137k , avc1.64001F@1008k, mp4a.40.2@ 64k
hls-2165-0                                  mp4        1280x720   2165k , avc1.64001F@1978k, mp4a.40.2@ 64k
hls-2165-1                                  mp4        1280x720   2165k , avc1.64001F@1978k, mp4a.40.2@ 64k
hls-2165-2                                  mp4        1280x720   2165k , avc1.64001F@1978k, mp4a.40.2@ 64k
hls-2165-3                                  mp4        1280x720   2165k , avc1.64001F@1978k, mp4a.40.2@ 64k (best)

With -f and the format code, i.e. -f hls-2165-3

Don't work

c:>youtube-dl.exe -F hls-2165-3 -u<EMAIL_ADDRESS>-p radi1010 -o "C:\Users\Adm\Videos%(playlist_index)s - %(title)s.%(ext)s" --fixup never --all-subs --external-downloader aria2c.exe https://globoplay.globo.com/v/6670684/programa/
ERROR: 'hls-2165-3' is not a valid URL. Set --default-search "ytsearch" (or run  youtube-dl "ytsearch:hls-2165-3" ) to search YouTube

c:>youtube-dl.exe<EMAIL_ADDRESS>-p password  -F hls-2165-3 -u<EMAIL_ADDRESS>-p radi1010 -o "C:\Users\Adm\Videos%(playlist_index)s - %(title)s.%(ext)s" --fixup never --all-subs --external-downloader aria2c.exe https://globoplay.globo.com/v/6670684/programa/
ERROR: 'hls-2165-3' is not a valid URL.

THANKS! Work now! :D
c:>youtube-dl.exe -f hls-2165-3 -u<EMAIL_ADDRESS>-p password  -o "C:\Users\Adm\Videos%(playlist_index)s - %(title)s.%(ext)s" --fixup never --all-subs --external-downloader aria2c.exe https://globoplay.globo.com/v/6670684/programa/
[Globo] 6670684: Downloading JSON metadata
[Globo] 6670684: Downloading security hash for 5ad6986b636d61e45f000000_90_720_m3u8
[Globo] 5ad6986b636d61e45f000000_90_720_m3u8: Downloading m3u8 information
[Globo] 6670684: Downloading security hash for 5ad6986b636d61e45f000000_90_720_l_m3u8
[Globo] 5ad6986b636d61e45f000000_90_720_l_m3u8: Downloading m3u8 information
[Globo] 6670684: Downloading security hash for 5ad6986b636d61e45f000000_360_1080_l_m3u8
[Globo] 5ad6986b636d61e45f000000_360_1080_l_m3u8: Downloading m3u8 information
[Globo] 6670684: Downloading security hash for 5ad6986b636d61e45f000000_360_1080_m3u8
[Globo] 5ad6986b636d61e45f000000_360_1080_m3u8: Downloading m3u8 information
[Globo] 6670684: Downloading security hash for 5ad6986b636d61e45f000000_360_1080_mpd
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 12
[download] Destination: C:\Users\Adm\Videos\NA - Juvenal e Desirée planejam o casamento.mp4
[download] 100% of 29.69MiB in 00:15


Open tomogram in Neuroglancer

User story: (4.6) I want to open a tomogram in Neuroglancer, so that I can visualize the data
Tasks

[ ] default to opening canonical tomogram in Neuroglancer

[ ] run page
[ ] dataset page

Link to design:

Depends on https://github.com/chanzuckerberg/cryoet-data-portal/issues/107

Base url: https://neuroglancer-demo.appspot.com/#!
data to append as compact json: tomogram.neuroglancer_config
Expected url example here.

Following bug was found while testing this ticket:
"View Tomogram" button is not in blue in Single Dataset page #235
Closing this ticket as this raised bug does not affect functionality, although it needs to be addressed. Thank you!


Add Support for Cloud Native Buildpacks API

add bin/build
move common functions into lib/
add buildpack.toml elements for v3/cnb
refactor test
removed some lingering JDK 6 references

Removing the label until you think this is ready for review

@schneems it is ready for review


Django 4.2 Support

Recently I tried to use it with Django 4.2 (current LTS) and ran into this error:
  File "/Users/username/.venvs/work/lib/python3.11/site-packages/restless/dj.py", line 4, in <module>
    from django.conf.urls import url
ImportError: cannot import name 'url' from 'django.conf.urls' (/Users/username/.venvs/work/lib/python3.11/site-packages/django/conf/urls/__init__.py)

See: https://docs.djangoproject.com/en/dev/internals/deprecation/#deprecation-removed-in-4-0

django.conf.urls.url() will be removed.

It seems the url function was deprecated in Django 3.x and is no longer supported in 4.x. Thus, we will have to update this. https://stackoverflow.com/a/70319607
However, it seems this library is not maintained (Re: #135), so even if I submitted a PR I am not sure it would do anyone any good. Hence, opening this issue for others to stumble upon when they inevitably upgrade.

It seems this fix has already been done. https://github.com/toastdriven/restless/pull/134
@toastdriven do you still maintain this library? Is there anyone who can help get this fix out?

@seocam  you have merged some PRs to this repo in the past, is this something you can help with?


Version Packages (beta)

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to beta, this PR will be updated.
⚠⚠⚠⚠⚠⚠
beta is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on beta.
⚠⚠⚠⚠⚠⚠
Releases
<EMAIL_ADDRESS>Minor Changes

7b5f18b: Update alert banner for Spectrum 2
Design Motivation
These changes occurred as a result of scaling things for S2 design language and experiences.


Guideline for logging in libraries

What sorts of things should be logged, what volume of logging is appropriate, and how to make it maximally flexible for the downstream application. Once log is 1.0, this may just be "use log."

One thing we should note here is how to think about error levels. In particular, error! means "something has gone very wrong and someone should be paged".

It would be very hard to detail concrete guidelines for log meaning and format, which I think is itself a major topic. It also seems out of scope of an API guidelines.
Simple libraries can rely more on unit tests, and let user choose whether to log information or not. More sophisticated libraries indeed need some level of logging to help debug internal state. Maybe it should mostly be implemented in DEBUG level and TRACE level, but not INFO.
Making it opt-in like serde makes the logging non-intrusive for applications. User can specify feature log in dependency when they want logging inside the library.

It helps maintain a consistent logging experience for application
User does not need to pull in log dependency if they do not want to

The question for this approach is that how we can avoid writing conditional compiling directive in every log line.


Error loading the extension in BURP PRO

Hi,
I wanted to try your plugin, having the latest version of BURP PRO (as of today: 1.7.34).
I did install jython a few months ago and have other extensions installed (usually through the BAapp  Store).
Downloaded your 2x .py files
Added a python extension for both of the files...
but getting the following error on loading them:
java.lang.Exception: Failed to load Python interpreter from Jython JAR file
at burp.l5.(Unknown Source)
at burp.i7i.a(Unknown Source)
at burp.hrb.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
Some security warnings I need to disable somewhere? any change of having your extension on the BAapp store?
Thanks!
Bugs.

Just in case you ask... I am using jython 2.7.1 from brew

Got same issue, pro vs. 1.7.37

Actually, got it working.
First problem, what that I was actually not using a standalone jython. I thought I was, but nope.
I followed the instructions from there:
https://support.portswigger.net/customer/portal/questions/17097263-burp-extension-python-import-error
Second problem, I actually needed to do a git clone of that branch, as it is important to have the conf and lib folder along the two python files. If you don't have those folders/files then it won't find the lib required.
Hope it helps.

error：
Traceback (most recent call last):
File "/Users/123/Downloads/HUNT_SuiteProxyExtensions/Burp/hunt_scanner.py", line 9, in
from lib.issues import Issues
ImportError: No module named lib
at org.python.core.Py.ImportError(Py.java:328)
at org.python.core.imp.import_first(imp.java:877)
at org.python.core.imp.import_module_level(imp.java:972)
at org.python.core.imp.importName(imp.java:1062)
at org.python.core.ImportFunction.__call__(__builtin__.java:1280)
at org.python.core.PyObject.__call__(PyObject.java:431)
at org.python.core.__builtin__.__import__(__builtin__.java:1232)
at org.python.core.imp.importFromAs(imp.java:1156)
at org.python.core.imp.importFrom(imp.java:1132)
at org.python.pycode._pyx1.f$0(/Users/123/Downloads/HUNT_SuiteProxyExtensions/Burp/hunt_scanner.py:66)
at org.python.pycode._pyx1.call_function(/Users/123/Downloads/HUNT_SuiteProxyExtensions/Burp/hunt_scanner.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1386)
at org.python.core.__builtin__.execfile_flags(__builtin__.java:535)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:286)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at burp.jn.<init>(Unknown Source)
at burp.smb.a(Unknown Source)
at burp.wfd.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)

I had this error when I did not have the lib folder with all its content in the same directory as the hunt burp extension

Seems like the issue was solved so I'll go ahead and close this.

issue is not closed please reopen your plugin does not work installed from burp store do u have a workaround nothing ever happens


Statuses related to workflow need to follow amendment related principles

When AH has started an amendment the status in staff WQ is displaying “submitted to AH” — not accurate
Staff shouldn’t see anything different than approved until the AH actually submits an amendment.
AH is seeing “add content to RUP” which is OK but not ideal since it doesn’t indicate that there is an amendment in progress

[ ] until an amendment is submitted the “other” (not amending) party is not aware of the amendment
[ ] until an amendment is submitted the “other” party is not able to view any draft content
[ ] users should always be able to tell that the plan they are working on/viewing is related to an amendment (versus a draft that has not yet reached approval)
[ ] once a plan has been approved every version thereafter is an amendment until expiry date of approved plan is reached

The viewing of other persons drafts relates to #683

I think the content part of it is covered (can't see changes people are making), but the statuses might give it away because at this point the current plan still dictates that.  I'll address that with this issue.

"until an amendment is submitted the “other” (not amending) party is not aware of the amendment"
We can't do this unless we hide the amendment button for the other party.  How do we tell people why the button isn't there if they aren't allowed to know why?

I think what we agreed to the last time we spoke @LisaMoore1 was to hide in progress work but not the statuses, and let the button behavior stay as is and see how it plays out.


[Suggestion/Bug] Option to toggle the light

I don't know if this is a bug or not, but I made a mob farm and I used the slabs but the slabs get the light get through them so it's not completely dark
Best regards

Slabs let light through. It's a game mechanic of MC itself. Use solid blocks instead of the slab. There's no reason to add this feature.

Alright, so we can close the issue.
Thank you


chisquare error for Boston Dataset

Thanks for your work.
I'm going through Target and Data Drift Dashboard for Boston Dataset Notebook and getting this error:
/lib/python3.8/site-packages/evidently/pipeline/pipeline.py in execute(self, reference_data, current_data, column_mapping)
     16                 column_mapping: dict = None):
     17         for analyzer in self.get_analyzers():
---> 18             self.analyzers_results[analyzer] = analyzer().calculate(reference_data, current_data, column_mapping)

/lib/python3.8/site-packages/evidently/analyzers/data_drift_analyzer.py in calculate(self, reference_data, current_data, column_mapping)
     75
     76             # CHI2 to be implemented for cases with different categories
---> 77             p_value = chisquare(f_exp, f_obs)[1]
     78
     79             result['metrics'][feature_name] = dict(

/lib/python3.8/site-packages/scipy/stats/stats.py in chisquare(f_obs, f_exp, ddof, axis)
   6850
   6851     """
-> 6852     return power_divergence(f_obs, f_exp=f_exp, ddof=ddof, axis=axis,
   6853                             lambda_="pearson")
   6854

/lib/python3.8/site-packages/scipy/stats/stats.py in power_divergence(f_obs, f_exp, ddof, axis, lambda_)
   6692                    f"of {rtol}, but the percent differences are:\n"
   6693                    f"{relative_diff}")
-> 6694             raise ValueError(msg)
   6695
   6696     else:

ValueError: For each axis slice, the sum of the observed frequencies must agree with the sum of the expected frequencies to a relative tolerance of 1e-08, but the percent differences are:
0.53

I have scipy=1.7.0. Can you please have a look. Thanks

I have downgraded scipy to 1.5.0 and the error is gone.

Hi @asadabbas09, glad it was solved!


Question about federation

Hello, I'm currently trying to implement federation with apollo gateway. And the gateway tells me this:
This data graph is missing a valid configuration. [schema] User.uid -> is marked as @external but is not used by a @requires, @key, or @provides directive.

[users] User -> A @key selects id, but User.id could not be found

In fact I have
pub struct User {
    pub created_at: DateTime<Utc>,
    pub uid: UserUID,
    pub name: String,
}

which is identified by UserUID which is a personal scalar.
And then when I want to extend User in another service I have:
#[derive(Clone)]
pub struct User {
    pub uid: UserUID,
}

#[async_graphql::Object(extends)]
impl User {
    #[field(external)]
    pub async fn uid(&self) -> &UserUID {
        &self.uid
    }

    pub async fn top_friends(
        &self,
        context: &Context<'_>,
        page_size: Option<i32>,
    ) -> FieldResult<Vec<TopFriend>> {
        ...
    }
}

Can you tell me where I'm wrong ? Where I forgot something ?

Ok got it ! The issue wasn't displayed in my examples but in my query extended I added an entity like this:
#[entity]
    pub async fn find_user_by_uid(
        &self,
        context: &Context<'_>,
        id: UserUID,
    ) -> FieldResult<Option<User>> {
...
}

and in fact the name id here has to be named uid.

Another question @sunli829 do you know how I can do when I need to access data from another service to resolve a field located in another service. Here is an example :
impl User {
   pub async fn friends(&self, uid: UserUID) -> Vec<User> {...}
}

and I have another service with
impl Place {
    pub async fn friends_places(&self, uid: UserUID) -> Vec<Place> {
        // First I need to fetch my friends from User schema. Here is my issue
        Place::fetch....
    }
}

Each service should be independent, so you shouldn't do this, you can look at this example, it's simple enough.
https://github.com/async-graphql/examples/tree/master/federation

Ok got it ! The issue wasn't displayed in my examples but in my query extended I added an entity like this:
#[entity]
    pub async fn find_user_by_uid(
        &self,
        context: &Context<'_>,
        id: UserUID,
    ) -> FieldResult<Option<User>> {
...
}

and in fact the name id here has to be named uid.

If your service has no entity, you can manually enable federation support with SchemaBuilder::enable_federation.

Can you provide me some documentation about this https://github.com/async-graphql/examples/blob/master/federation/federation-reviews/src/main.rs#L59 ?

Notice the return type of the Obj::value function.
#[SimpleObject]
struct Obj {
    value: i32,
}

// equivalent to

#[Object]
implement Obj {
    async fn value(&self) -> i32 {
        self.value
    }
}

#[SimpleObject]
struct Obj {
    #[field(ref)]
    value: i32,
}

// equivalent to

#[Object]
implement Obj {
    async fn value(&self) -> &i32 {
        &self.value
    }
}

Great thank you !

Hello again @sunli829 haha ! I have a new question. If I want to make this https://www.apollographql.com/docs/apollo-server/federation/entities/#defining-a-compound-primary-key
For now I have
pub struct Place {
    pub id: i32,
    pub user_uid: UserUID,
}

#[async_graphql::Object(extends)]
impl Place {
    #[field(external)]
    pub async fn id(&self) -> i32 {
        self.id
    }

    #[field(external)]
    pub async fn user_uid(&self) -> &UserUID {
        &self.user_uid
    }
}

and in my query:
 #[entity]
    pub async fn find_place_by_id_and_user_uid(
        &self,
        _context: &Context<'_>,
        id: i32,
        user_uid: UserUID,
    ) -> Place {
        Place { id, user_uid }
    }

I can see that the entity is good, I have a @key(fields : "id userUid") but I think my issue i with the externalfield. Do you know How I can make a compound forexternalfields ? Gateway just drop me this errorThis data graph is missing a valid configuration. [users] Place.userUid -> is marked as @external but is not used by a @requires, @key, or @provides directive.`

Because other types are not dependent on this external field.
When you extend a type, you do not need to mark all fields as #[external] unless the field is used by a type in another service.

Ok, in fact I need user_uid to resolve in another resolver so I just added requires on this field. Is it correct ?
#[async_graphql::Object(extends)]
impl Place {
    #[field(external)]
    pub async fn id(&self) -> i32 {
        self.id
    }

    #[field(external)]
    pub async fn user_uid(&self) -> &UserUID {
        &self.user_uid
    }

    #[field(requires = "userUid")]
    pub async fn owner(&self, context: &Context<'_>) -> FieldResult<User> {
    //Do stuff that need self.user_uid
    }

This is an example of extending the User object.
https://github.com/async-graphql/examples/blob/c6eb3f56f55b2f09586102f020e86e9ba0000c76/federation/federation-reviews/src/main.rs#L17
https://github.com/async-graphql/examples/blob/c6eb3f56f55b2f09586102f020e86e9ba0000c76/federation/federation-reviews/src/main.rs#L68
Federation doc
https://www.apollographql.com/docs/apollo-server/federation/introduction/

Can you provide an example repo?  😁

Hello again @sunli829 haha ! I have a new question. If I want to make this https://www.apollographql.com/docs/apollo-server/federation/entities/#defining-a-compound-primary-key
For now I have
pub struct Place {
    pub id: i32,
    pub user_uid: UserUID,
}

#[async_graphql::Object(extends)]
impl Place {
    #[field(external)]
    pub async fn id(&self) -> i32 {
        self.id
    }

    #[field(external)]
    pub async fn user_uid(&self) -> &UserUID {
        &self.user_uid
    }
}

and in my query:
 #[entity]
    pub async fn find_place_by_id_and_user_uid(
        &self,
        _context: &Context<'_>,
        id: i32,
        user_uid: UserUID,
    ) -> Place {
        Place { id, user_uid }
    }

I can see that the entity is good, I have a @key(fields : "id userUid") but I think my issue i with the external field. Do you know How I can make a compound for external fields ? Gateway just drop me this error This data graph is missing a valid configuration. [users] Place.userUid -> is marked as @external but is not used by a @requires, @key, or @provides directive.

This may be a bug and I'm checking it out.

Sorry, async-graphql doesn't support this right now, I'm adding it. 😂
https://www.apollographql.com/docs/apollo-server/federation/entities/#extending-an-entity-with-computed-fields-advanced

Extending Product object
#[Object(extends)]
impl Product {
    #[field(external)]
    async fn upc(&self) -> &String {
        &self.upc
    }

    #[field(external)]
    async fn name(&self) -> &String {
        &self.name
    }

    #[field(external)]
    async fn price(&self) -> i32 {
        self.price
    }

    #[field(requires = "name price")]
    async fn price2(&self) -> String {
        format!("{}: {}", self.name, self.price)
    }
}

Query
The key of the Product is upc, and the name and price are external fields.
#[Object]
impl Query {
    #[entity]
    async fn find_product_by_upc(
        &self,
        #[arg(key)] upc: String,
        name: String,
        price: i32,
    ) -> Product {
        Product { upc, name, price }
    }
}

Please upgrade to v1.15.15. 😁

Great ! Thank you !

Just to be sure, in case I don't write #[arg(key)] the behavior stay the same as before ? Is #[arg(key)] only interesting in case of multiple arguments ?

Yes. 😀

https://async-graphql.github.io/async-graphql/en/apollo_federation.html

Thanks for your hard work ! Keep going guy ! If you need help, feel free :)


Passing a primitive parameter in a Policy from a middleware.

Is it possible to pass a route parameter in a Policy when it is resolved via a middleware? As I can see, this is possible only when the whole object is type hinted in the corresponded controller. This could be useful when a destroy(User user, $id) policy method should be called, instead of a destroy(User user, Photo $photo), eliminating the need of the extra query.
PhotoController:
public function destroy(Request $request, $id){
  //
}

PhotoPolicy:
public function destroy(User $user, $id) {
  $id === 'App\Models\Photo' //true
}

routes:
Route::delete('photo/{id}', [
  'middleware' => 'can:destroy,App\Models\Photo',
  'uses' => 'PhotoController@destroy',
  'as' => 'photo.destroy'
]);

The code in the example above returns App\Models\Photo for $id. Link below is the point of interest.
https://github.com/laravel/framework/blob/70f75255808ffc96275e6f2f356616dd2e163434/src/Illuminate/Auth/Access/Gate.php#L244

Thank you, but we politely request that you use the forums for this sort of thing.

Yes, you're right..


Updating User file append to existing data causing repeated records

The original design is to have the userfile re-write itself whenever a new user is registered. However, currently it is appended upon the previous file instead

It's fixed by turning off append and re-writing the userfile, initiating the writer in the function where rewrite happens