magento2 – Magento 2.3 requirejs-config.js is empty on production mode

After setting Magento 2 to production mode, Magento generated all the static files in pub/static/frontend/Vendor/theme/en_US except for the requirejs-config.min.js file, the file exists but its empty and some js files are returning 404 in browser, copying the generated file from when the server was on default mode (generated on the fly) and pasting it in requirejs-config.min.js once the server is on production mode, fixes the 404 files issue but the solution is a hack. any idea why Magento is not generating the file in any directory (fr_FR,en_US).

Erro de instalação pacote Laravel v.7 Ui

inserir a descrição da imagem aqui

Eu uso Laravel v7 e sei que recentemente saiu a versão 8. Entretanto, estou tentanto instalar o pacote Laravel/ui para poder usar as funções Auth para login etc. Mas ao instalar tá dando este erro?

OBs: Sou iniciante

Which web hosting can handle (+1000 clicks per day) ?

Hello,

I’m working on a site on which i’ll start the marketing campaign in two weeks from now, so i have some concerns with my current ho… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1824033&goto=newpost

Workshopping issues with proposed item: Timelocked Breadbox [closed]

I’m considering putting a homebrewed piece of treasure into my game (5e Exandria campaign). Specifically, it is a box, approximately the size of a breadbox. Time does not pass inside the box while the lid is shut. If the box is broken, the enchantment is lost. If a portal to an extradimensional space is placed into the box, such as a bag of holding, the interior of the extradimensional space is not affected, but anything inside such a space would be unable to leave while the box is shut.

My question is this: What potential issues or cheese might result from this item that I haven’t yet thought of? The party is currently lvl5.

macos – SSH Bypass Google 2FA When On The Same Network

Because of a few different applications I need to use, I need to be able to bypass Google’s 2 Factor Authentication pam.d module when an SSH connection is coming from the same network. There is very little information about this online, but there are a few questions on the Stack Network, but none of the solutions worked for me. I am not sure if it is because the solutions are specifically for Linux, or I am just missing something.

I am not very familiar with these settings. I do want to require a password, key, & 2FA if I am not on the same local network, but skip the 2FA if I am on the same local network

Current Setup:

SSH requires a valid key, password, & 2 Factor Auth

File Contents Of:

/etc/pam.d/sshd

auth       optional       pam_krb5.so use_kcminit
auth       optional       pam_ntlm.so try_first_pass
auth       optional       pam_mount.so try_first_pass
auth       required       pam_opendirectory.so try_first_pass
auth       required       pam_google_authenticator.so nullok
account    required       pam_nologin.so
account    required       pam_sacl.so sacl_service=ssh
account    required       pam_opendirectory.so
password   required       pam_opendirectory.so
session    required       pam_launchd.so
session    optional       pam_mount.so

/etc/ssh/ssh_config

# Host *
#   ForwardAgent no
#   ForwardX11 no
#   PasswordAuthentication yes
#   HostbasedAuthentication no
    GSSAPIAuthentication yes
    GSSAPIDelegateCredentials no
#   BatchMode no
#   CheckHostIP yes
#   AddressFamily any
#   ConnectTimeout 0
#   StrictHostKeyChecking ask
#   IdentityFile ~/.ssh/id_rsa
#   IdentityFile ~/.ssh/id_dsa
#   IdentityFile ~/.ssh/id_ecdsa
#   IdentityFile ~/.ssh/id_ed25519
#   Port 22
#   Protocol 2
#   Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc
#   MACs hmac-md5,hmac-sha1,umac-64@openssh.com
#   EscapeChar ~
#   Tunnel no
#   TunnelDevice any:any
#   PermitLocalCommand no
#   VisualHostKey no
#   ProxyCommand ssh -q -W %h:%p gateway.example.com
#   RekeyLimit 1G 1h

Host *
    SendEnv LANG LC_*

/etc/ssh/sshd_config

#Protocol Version
Protocol 2

#Port 22
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::

#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_ecdsa_key
#HostKey /etc/ssh/ssh_host_ed25519_key

# Ciphers and keying
#RekeyLimit default none

# Logging
#SyslogFacility AUTH
#LogLevel INFO

# Authentication:

#LoginGraceTime 2m
#PermitRootLogin prohibit-password
#StrictModes yes
MaxAuthTries 3
#MaxSessions 10

PubkeyAuthentication yes
AuthenticationMethods publickey,keyboard-interactive:pam

# The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2
# but this is overridden so installations will only check .ssh/authorized_keys
AuthorizedKeysFile  .ssh/authorized_keys

#AuthorizedPrincipalsFile none

#AuthorizedKeysCommand none
#AuthorizedKeysCommandUser nobody

# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# HostbasedAuthentication
#IgnoreUserKnownHosts no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes

# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes
PermitEmptyPasswords no

# Change to no to disable s/key passwords
ChallengeResponseAuthentication yes

# Kerberos options
KerberosAuthentication yes
KerberosOrLocalPasswd yes
KerberosTicketCleanup yes
#KerberosGetAFSToken no

# GSSAPI options
GSSAPIAuthentication yes
GSSAPICleanupCredentials yes

# Set this to 'yes' to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the ChallengeResponseAuthentication and
# PasswordAuthentication.  Depending on your PAM configuration,
# PAM authentication via ChallengeResponseAuthentication may bypass
# the setting of "PermitRootLogin without-password".
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set PasswordAuthentication
# and ChallengeResponseAuthentication to 'no'.
UsePAM yes

#AllowAgentForwarding yes
#AllowTcpForwarding yes
#GatewayPorts no
#X11Forwarding no
#X11DisplayOffset 10
#X11UseLocalhost yes
#PermitTTY yes
#PrintMotd yes
#PrintLastLog yes
#TCPKeepAlive yes
#PermitUserEnvironment no
#Compression delayed
ClientAliveInterval 360
ClientAliveCountMax 0
#UseDNS no
#PidFile /var/run/sshd.pid
#MaxStartups 10:30:100
#PermitTunnel no
#ChrootDirectory none
#VersionAddendum none

# pass locale information
AcceptEnv LANG LC_*

# no default banner path
Banner /etc/ssh/banner

# override default of no subsystems
Subsystem   sftp    /usr/libexec/sftp-server

# Example of overriding settings on a per-user basis
#Match User anoncvs
#   X11Forwarding no
#   AllowTcpForwarding no
#   PermitTTY no
#   ForceCommand cvs server

A mini-review of Host With Love

Well, it’s been two months since I learned of the hosting company Host With Love here on WebHostingTalk and made the transfer. It’s time for… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1824036&goto=newpost

usability – User experience between disparate systems

I have two “My Account” sections of the same website. Our’s is a library website and has an integrated search tool. The search tool is a vended solution and has the ability for the user to log in and access account information, set personal settings, etc. The front-end UI for the search tool has been customized to look and feel like the library’s website. When the user does a search from the library website, the results open up into a new page that looks a lot like the library template but is actually a disparate system. The library website is react-based. The search tool is built with Angular.

This has created a somewhat troubling user experience. If you log into the library website you are presented with “My Account” options. Then, perform a search, and now you are presented as logged out and with a whole new set of “My Account” options when after you log back in.

I’ve been tasked to present options as potential solutions for this troubling user experience and thought I would through it out here, to the community, for suggestions or if someone else has tackled a similar UX issue, how was it handled?

Thanks in advance for your time!

homebrew review – Pathfinder 2e Runecasting

I have seen a couple other questions on Rune casting here, but I went a different way about building the class than what I have seen. Not sure if it is important to know, but my character will be a Duergar Dwarf Sorcerer. The entity giving him his abilities is unknown (possibly something the DM can weave into the story). We will also be playing Pathfinder (which I have never done) if that is important to know as well!

One final detail that I don’t know if it is important or not (i feel like it shouldn’t be for a well balanced class) is that my character also is part of a artisan’s guild and takes jobs to maintain his stature, rank, and etc. in the guild; even during this adventure. So he can’t always be striking runes into stuff for himself and the party because he also has to put a rune of calm into the bassinet for the O’Conner baby, a rune of growth onto the seed bag for farmer Jim, and etc.

My DM has already approved the majority of my design, but I wanted to check here for the last bit of it as well as getting the general consensus on how you all thought it would work throughout the campaign. This is what My DM has already approved:

Rune Striker

Rune Striking is a mysterious art that Parz himself does not entirely understand how it works or how he accomplishes them. He does not know that he simply acts as a conduit when striking the runes and it is actually another outside power that is creating these runes… Through the link this power was able to forge with his mind they not only observe through his senses as he does, but they also know what Parz is thinking at any moment making the striking possible. Further, this power can (and has) sometimes chosen not to strike a rune for Parz when he attempts to seal it… These reasons are known only to the power supplying the ability. Over the years Parz has developed his own system to understand how his mysterious ability works:

Rune Striking Limits

  • Can strike a maximum of 10 points per day worth of runes
  • Runes lasting up to seven minutes cost 2 points (Casting Immediate – if done in combat the time can be struck as a bonus action if already holding the intended surface/object)
  • Runes lasting up to seven hours cost 4 points (Casting takes 2 Hours)
  • Runes lasting up to seven days cost 6 points (Casting takes 4 hours)
  • Runes lasting up to seven months cost 8 points (Casting takes 8 hours)
  • Runes lasting up to seven years cost 10 points (Casting takes 16 hours)
  • Usage of more than four points requires an immediate short rest (He will pass out after the ritual is complete)
  • Usage of more than eight points requires an immediate long rest (He will pass out after the ritual is complete)
  • Runes can encompass one concepttrait only (strength, valor, life, resistance, charm, accuracy, growth, speed, etc.)
  • It is possible to strike two runes simultaneously with each hand, but the casting time is doubled and requires his full concentration.

Rune Striking Process

  • When striking a rune he must maintain contact to the object with his hand for the whole duration of its striking. He can not stop and resume casting at a later time. If stopped before completion the process will need to be started again.
  • As he doesn’t fully understand the process he never knows if a rune will seal itself until the casting time has elapsed. Unknown to him a successful strike is up to the power (i.e. the DM’s discretion). If it does not work Parz assumes it is due to an error on his part.
  • Striking a single rune requires only half concentration. He can do a simple activity while casting, such as eating or talking. Striking two runes at once requires full concentration.
  • From the moment a rune is struck it is activated, it can not be deactivated, and will maintain its effect for the maximum allotted time it was given when struck.
  • Upon exhaustion the rune will still be visible on the surface it was struck, but its glow will fade and there will no longer be any additional effect… It will just look cool.

Those pieces my DM has already approved. From there I am just trying to make sure that the effects/bonuses I am granted are where they should be. Not too weak and not too strong.

Rune striking Effects

  • Depending on the rune there are two possible effects that impact the object as it is interacted with.
  1. If the rune impacts an ability check the roll can be made with advantage. (i.e. If you made a bracelet of negotiation with a rune of persuasion you would roll with advantage for that check.)
  2. If the rune is a boon the final result is modified by an additional d6. (i.e. when rolling for damage on an attack you get an extra d6 for damage.)

Rune striking Proficiency

  • Proficiency in rune striking can only be increased any time your character would be able to gain an Ability Score Improvement or Feat. Choosing to increase your Proficiency would negate any Ability Score increase or Feat you could have taken.
  • Upon increasing your Proficiency with rune striking you gain the following effects for each increase
  1. If the rune impacts an ability check the roll can be made with advantage there is no change when gaining the second, third, and fourth levels of Proficiency. Reaching the fifth level of Proficiency grants an additional d20 for advantage. There is no additional benefit for any level reached beyond this.
  2. If the rune is a boon the final result you gain an additional d6 for each level of Proficiency. (i.e. 2nd Level is a 2d6 bonus. 5th level grants 5d6 bonus.

I’m trying to keep it simple for both myself and the DM. I think this is simple and not too crazy with leveling up (forcing me to choose between feats, scores, or better runes). How does this sound to the vets out there?

Thank you for any guidance!

You should join the LowEndBox mailing list

Almost every day we notify our mailing list subscribers of the best deals first. So, if you want to be in the know when it comes to all of the latest offers on cheap VPS, web hosting, dedicated servers and VPN services take a moment and subscribe? By subscribing you will also be emailed when we publish new Tutorials, Editorials and Interviews.

By signing up to this subscription form we promise to:

  1. Never email you for reasons other than new articles, offers and content.
  2. Unsubscribe at anytime easy using the link at the button of each email

We’re always looking for feedback so please consider sharing your thoughts in the comment section below.

Jon Biloh

I’m Jon Biloh and I own LowEndBox and LowEndTalk. I’ve spent my nearly 20 year career in IT building companies and now I’m excited to focus on building and enhancing the community at LowEndBox and LowEndTalk.

crash – Lagrange interpolation of 2000 equidistant points on $frac{1}{1+x^2}$ crashes mathematica/does not evaluate

My Code:

Points := Table(-5 + 10 j/2048, {j, 1, 2047})
Data := Table(1/(1 + x^2), {x, Points})
Data2 := Transpose({Points, Data})
p(x_) = InterpolatingPolynomial(Data2, x)

I am not sure why this crashes Mathematica. It seems it cannot handle this. I have a HW assignment that requires for me to find the interpolating polynomial of $frac{1}{1+x^2}$ at the points $-5+10j/2048$ for $j$ between 1 and 2047. The code above is my best attempt at doing so. I could not figure out how to make a table of the form ${{x_1,y_1}…}$ so I just combined the two sets by transposition. Mathematica handles The first three lines properly. However, when trying to evaluate

p(x_) = InterpolatingPolynomial(Data2, x)

after about 2-3 minutes crashes. I am not sure what the issue is. Is this impossible for mathematica? I tried the command parallelize but that di not help. The goal of the problem is to find the error of this interpolatoin, and compare it to the error of interpolation using chebyshev points (which I will try doing after I can do this)