Quadranet: Exclusive Black Friday Dedi Offers in Los Angeles!

Quadranet sent in their Black Friday offer and it’s a very nice dedi offer, with systems ranging from $39-79 in price.  You get massive bandwidth (30TB!), 16-64GB RAM, and CPUs ranging from X3450s to E-2124Gs.  And these come with $0 setup fee!

Bonus: In additional, if you prepay 3 months, you will get 1 month free for a total of 4 months!  Offer expires on December 6, 2020.

Quadranet is running Supermicro gear and they include integrated IPMI, KVM-over-IP, and a remote reboot.   If you’re interested in a dedi in the Western US (Los Angeles), they’re worth checking out, especially with their Black Friday offer.

If you did give them a spin, be sure to let the rest of the community know how it goes!

Quadranet is well-known in the LEB/LET community and many VPS providers are running on their servers.  Here’s what they had to say in their own words:

“Founded in 2001. QuadraNet has been helping enterprises to SMB customers worldwide deploy a complete suite of enterprise-grade IaaS Solutions, with a diversified footprint in 8 cities and 9 Interconnected facilities. QuadraNet is a globally recognized cloud solution provider with the Best-in-class responsive 24×7 customer support. To find out more about QuadraNet please contact us at 1-888-5-Quadra or at sales@quadranet.com. Follow QuadraNet Enterprises on LinkedIn, Facebook, Twitter, Instagram.”

Their WHOIS is public, they are a registered company in the USA, their legal docs can be found here, and they accept credit cards, PayPal, Checks, wire payments, Alipay, Tencent WeChat Pay, and cryptocurrency as available methods of payment.

Read on to see the offer and learn more!

E-2124G Dedi
Los Angeles, CA

  • Intel Xeon E-2124G Quad Core –
    3.40Ghz, 8M Cache, 8GT/s DMI
  • 32GB DDR4 ECC Registered
  • 1TB SATA 7,200RPM Enterprise HDD
  • 1U Supermicro Server – 4x Hot-Swap Bays
  • Integrated IPMI, KVM over IP,
    Remote Power Control, and more
  • 30,000GB Monthly Public Transfer (30TB)
  • 1000Mbps Public Network Port
  • 1000Mbps Private Network Port
  • /29 IPv4 Allocation – 5 Usable IPs
  • /64 IPv6 Allocation – Millions of IPs
  • Private VLAN
  • Remote Reboot
  • AVAILABLE IN: Los Angeles
  • $79/Month, $0 setup fee
  • (ORDER)

E5620 Dedi
Los Angeles, CA

  • Dual Intel Xeon E5620 Quad Core –

  • 2.40Ghz, 12M Cache, 5.86GT/s QPI, HyperThreading

  • 64GB DDR3 ECC Registered

  • 1TB SATA 7,200RPM Enterprise HDD

  • 1U Supermicro Server – 4x Hot-Swap Bays

  • Integrated IPMI, KVM over IP,
    Remote Power Control, and more

  • 30,000GB Monthly Public Transfer (30TB)

  • 1000Mbps Public Network Port

  • 1000Mbps Private Network Port

  • /29 IPv4 Allocation – 5 Usable IPs

  • /64 IPv6 Allocation – Millions of IPs

  • Private VLAN

  • Remote Reboot

  • AVAILABLE IN: Los Angeles

  • $69/Month, $0 setup fee

  • (ORDER)

E3-1241v3 Dedi
Los Angeles, CA

  • Intel Xeon E3-1241v3 Quad Core –

  • 3.50Ghz, 8M Cache, 5GT/s DMI, HyperThreading

  • 16GB DDR3 ECC Registered

  • 1TB SATA 7,200RPM

  • Enterprise HDD

  • 1U Supermicro Server – 4x Hot-Swap Bays

  • Integrated IPMI, KVM over IP,
    Remote Power Control, and more

  • 30,000GB Monthly

  • Public Transfer (30TB)

  • 1000Mbps Public Network Port

  • 1000Mbps Private Network Port

  • /29 IPv4 Allocation – 5 Usable IPs

  • /64 IPv6 Allocation – Millions of IPs

  • Private VLAN

  • Remote Reboot

  • AVAILABLE IN: Los Angeles

  • $49/Month, $0 setup fee

  • (ORDER)

 

X3450 Dedi
Los Angeles, CA

  • Intel Xeon X3450 Quad Core

  • 2.66Ghz, 8M Cache, 2.5GT/s DMI, HyperThreading

  • 16GB DDR3 ECC Registered

  • 1TB SATA 7,200RPM Enterprise HDD

  • 1U Supermicro Server – 4x Hot-Swap Bays

  • Integrated IPMI, KVM over IP,
    Remote Power Control, and more

  • 30,000GB Monthly Public Transfer (30TB)

  • 1000Mbps Public Network Port

  • 1000Mbps Private Network Port

  • /29 IPv4 Allocation – 5 Usable IPs

  • /64 IPv6 Allocation – Millions of IPs

  • Private VLAN

  • Remote Reboot

  • AVAILABLE IN: Los Angeles

  • $39/Month, $0 setup fee

  • (ORDER)

Network info: 

Please let us know if you have any questions, comments or concerns!

raindog308

I’m Andrew, techno polymath and long-time LowEndTalk community Moderator. My technical interests include all things Unix, perl, python, shell scripting, and relational database systems. I enjoy writing technical articles here on LowEndBox to help people get more out of their VPSes.

Cómo cambiar la razón entre los ejes X y Y en LaTex

Necesito cambiar la razón entre los eje X y Y de 1:1 a 1:2, es decir necesito que los valores en el eje y vayan de dos en dos y los del eje x se mantengan iguales. Lo necesito porqué una de mis gráficas es demasiado larga en el eje y.
introducir la descripción de la imagen aquí

Miren mi código:

begin{center}
    begin{tikzpicture}(scale=0.72)
        draw (->)(-5,0) -- (5,0) node(below) {$x$};
        draw (->)(0,-7) -- (0,5) node(right) {$y$};
        foreach y in {-7,-5,-3,-1,1,3,5}
        draw (0,y) -- (-0.1,y) node(left,scale=0.7) {y};
        foreach x in {-5,-3,-1,1,3}
        draw (x,0) -- (x,-0.1) node(below,scale=0.7) {x};
        clip (-5,-7) rectangle (5,5);
        draw(color=olive,thick, domain=-5:5,smooth, samples=29) plot (x, {pow(x,4)+4*pow(x,3)});
    end{tikzpicture}
    end{center}

php – No puedo mostrar todos los elementos de un array, solo veo el ultimo la cantidad de veces que hay de elementos en el array

Cordial saludo para todos, me encuentro tratando de solucionar un problema, al momento de mostrar en pantalla todos los elementos de un arreglo solo me muestra el ultimo y se repite la cantidad de veces que hay de elementos en el arreglo.

Con esto obtengo el arreglo

$column_izquiera = explode(',', $opigno_activity->get('field_palabras_izquierda')->getString());

El cual se ve así:

Array
(
    (0) => puya
    (1) =>  pelo
    (2) =>  pino
    (3) =>  pila
    (4) =>  peca
    (5) =>  loca
)

Y esta es la forma en la cual estoy recorriendo el arreglo para mostrar todos los elementos:

foreach ($column_izquiera as $words) {
      $variables('column_left') = $words;
    }

Y esto es lo que obtengo:

loca
loca
loca
loca
loca
loca

Y pues sabrán que lo que necesito es obtener algo así:

puya
pelo
pino
pila
peca
loca

Por favor necesito de su ayuda muchas gracias, para mostrarlo se utiliza twig de esta manera

<div class="content">{{ column_left }}</div>

javascript – ¿Cómo identificar la posición de un valor en un array sin necesidad de recorrer todos los elementos?

pues tal y como pone en el titulo no se como hacer para que marque la posición del un valor del array sin recorrer todos los elementos en este caso quiero sacar el valor 5, aquí mi código que llevo hasta ahora:

function numeros(){
var numeros1 = (4,0,3,4,8,5,3,1,4,8,4,3,2,6,1,8,9,7,8,5,0,1,5);
let greaterTen2 = numeros1.filter(number => number = 5 );

alert(greaterTen2)
}

Los Angeles VPS Kicks off Black Friday: 2GB KVM with Unmetered Bandwidth for $18.49/year in Los Angeles!

LosAngelesVPS was the first provider to submit a Black Friday offer this year.  Good work, guys!  They’re bringing us a tasty 2GB KVM VPS for $18.49 a year!  That’s a pretty sweet price.  Nice 4GB offer, too.

Both offers also include

  • unmetered bandwidth
  • 10Gbps DDoS protection via Path.net

LosAngelesVPS has grown into a pretty sizable operation with over 4000 customers.  As you might expect, they’re based in Los Angeles, California.

Their WHOIS is public. You can find their TOS on their website and you can pay with PayPal, Credit Cards, Alipay, Bitcoin, Bitcoin Cash, Ethereum, Litecoin, and Zcash.

Remember that LEB thrives on comments from readers, so if you take advantage of this offer, be sure to tell us about it below!

Here’s what they had to say: 

“Los Angeles VPS was founded with the goal to provide the absolute best VPS experience in Los Angeles. Today we host over 4000 VPS customers on our network. Hosting your server in Los Angeles provides various advantages, from a network connectivity standpoint as well as redundancy. Despite our name, Los Angeles VPS eventually grew to offer more than just VPS hosting solutions. After successfully hosting thousands of Virtual Private Servers on our network, we also expanded to start offering hosting for the individuals too. From just offering Shared Web Hosting to a complete, fully scalable product line featuring Reseller, VPS, VPS Resource Pools, and Dedicated Server solutions – LosAngelesVPS is your all-in-one solution provider for all your hosting needs!”

Now read more to see the offer!

Unmetered 2GB
KVM VPS

Unmetered 4GB
KVM VPS

NETWORK INFO

Internap LAX014 Datacenter, Los Angeles, CA, USA

Test IPv4: 45.158.199.6


HOST NODE SPECIFICATIONS

Please let us know if you have any questions/comments and enjoy!

raindog308

I’m Andrew, techno polymath and long-time LowEndTalk community Moderator. My technical interests include all things Unix, perl, python, shell scripting, and relational database systems. I enjoy writing technical articles here on LowEndBox to help people get more out of their VPSes.

matplotlib – ¿como puedo recuperar todos los puntos de una grafica (sin tener ningún otro dato mas que la pura gráfica) en python?

Estoy usando una librería especifica llamada nmrsim la cual simula espectros de resonancia magnética nuclear, sin embargo el inconveniente es que los datos que regresa con la función td.peaklist() solo proporciona los máximos de la grafica, y yo necesito todos los puntos en genera para poder hacer operaciones posteriores.

intente con las operaciones .get_xdata() y las demás pero me marca un error en el código “instance of tuple has no ‘get_xdata’ member”

adjunto la grafica que me devuelve el programa

from nmrsim import Multiplet
from nmrsim.plt import mplplot
import matplotlib.pyplot as plt

# 1200 Hz, 2H, td, J= 7.1, 1.1 Hz
td = Multiplet(1200.0, 2, ((7.1, 2), (1.1, 1)))
print(td.v)
print(td.I)
print(td.J)

print(td.peaklist())

grafica = mplplot(td.peaklist())

grafica.get_xdata()
grafica.get_ydata()
grafica.get_xydata()

¿Cómo guardar los enlaces que generan 403 errores con Scrapy?

Tengo un Scrapy scraper que y me gustaría registrar los urls que me devuelve una 403:

>>>scrapy crawl myscraper -o results.jl
...
2020-11-11 02:38:08 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10052252-anjisilesai-angel-schlesser.html>: HTT
P status code is not handled or not allowed
2020-11-11 02:38:15 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10034901-aqisi-arquiste.html> (referer: https://www.nosetime.com/p
inpai/2-a.html)
2020-11-11 02:38:15 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10034901-aqisi-arquiste.html>: HTTP status code
 is not handled or not allowed
2020-11-11 02:38:20 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10070420-antonio-visconti.html> (referer: https://www.nosetime.com
/pinpai/2-a.html)
2020-11-11 02:38:20 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10070420-antonio-visconti.html>: HTTP status co
de is not handled or not allowed
2020-11-11 02:38:27 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10080993-alandelong-alain-delon.html> (referer: https://www.noseti
me.com/pinpai/2-a.html)
2020-11-11 02:38:27 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10080993-alandelong-alain-delon.html>: HTTP sta
tus code is not handled or not allowed
2020-11-11 02:38:34 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10086521-afunanzhixiang-afnan-perfumes.html> (referer: https://www
.nosetime.com/pinpai/2-a.html)
2020-11-11 02:38:34 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10086521-afunanzhixiang-afnan-perfumes.html>: H
TTP status code is not handled or not allowed
2020-11-11 02:38:40 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10021207-adaofu-duominggesi-adolfo-dominguez.html> (referer: https
://www.nosetime.com/pinpai/2-a.html)
2020-11-11 02:38:40 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10021207-adaofu-duominggesi-adolfo-dominguez.ht
ml>: HTTP status code is not handled or not allowed
2020-11-11 02:38:46 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10058341-yabaoxin-aubusson.html> (referer: https://www.nosetime.co
m/pinpai/2-a.html)
2020-11-11 02:38:47 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10058341-yabaoxin-aubusson.html>: HTTP status c
ode is not handled or not allowed
2020-11-11 02:38:50 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10019426-angela-ciampagna.html> (referer: https://www.nosetime.com
/pinpai/2-a.html)
2020-11-11 02:38:50 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10019426-angela-ciampagna.html>: HTTP status co
de is not handled or not allowed
2020-11-11 02:38:54 (scrapy.extensions.logstats) INFO: Crawled 718 pages (at 10 pages/min), scraped 0 items (at 0 items/min)
2020-11-11 02:38:55 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10091158-anfasi-anfass.html> (referer: https://www.nosetime.com/pi
npai/2-a.html)
2020-11-11 02:38:55 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10091158-anfasi-anfass.html>: HTTP status code
is not handled or not allowed
2020-11-11 02:38:58 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10035539-antonio-banderas.html> (referer: https://www.nosetime.com
/pinpai/2-a.html)
2020-11-11 02:38:58 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10035539-antonio-banderas.html>: HTTP status co
de is not handled or not allowed
2020-11-11 02:39:03 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10023035-an-jielade-ann-gerard.html> (referer: https://www.nosetim
e.com/pinpai/2-a.html)
2020-11-11 02:39:03 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10023035-an-jielade-ann-gerard.html>: HTTP stat
us code is not handled or not allowed
2020-11-11 02:39:09 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10038064-siyuefenfang-april-aromatics.html> (referer: https://www.
nosetime.com/pinpai/2-a.html)
2020-11-11 02:39:10 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10038064-siyuefenfang-april-aromatics.html>: HT
TP status code is not handled or not allowed
2020-11-11 02:39:17 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10058274-affinessence.html> (referer: https://www.nosetime.com/pin
pai/2-a.html)
2020-11-11 02:39:17 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10058274-affinessence.html>: HTTP status code i
s not handled or not allowed
2020-11-11 02:39:24 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10070090-altaia.html> (referer: https://www.nosetime.com/pinpai/2-
a.html)
2020-11-11 02:39:24 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10070090-altaia.html>: HTTP status code is not
handled or not allowed
2020-11-11 02:39:31 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10092558-niziranzhizi-adopt-by-reserve-naturelle.html> (referer: h
ttps://www.nosetime.com/pinpai/2-a.html)
2020-11-11 02:39:31 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10092558-niziranzhizi-adopt-by-reserve-naturell
e.html>: HTTP status code is not handled or not allowed
2020-11-11 02:39:38 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10081520-ariana-grande.html> (referer: https://www.nosetime.com/pi
npai/2-a.html)
2020-11-11 02:39:38 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10081520-ariana-grande.html>: HTTP status code
is not handled or not allowed
2020-11-11 02:39:42 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10040587-amouroud.html> (referer: https://www.nosetime.com/pinpai/
2-a.html)
2020-11-11 02:39:42 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10040587-amouroud.html>: HTTP status code is no
t handled or not allowed
2020-11-11 02:39:49 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10048515-atelier-des-ors.html> (referer: https://www.nosetime.com/
pinpai/2-a.html)
2020-11-11 02:39:49 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10048515-atelier-des-ors.html>: HTTP status cod
e is not handled or not allowed
2020-11-11 02:39:54 (scrapy.extensions.logstats) INFO: Crawled 728 pages (at 10 pages/min), scraped 0 items (at 0 items/min)
2020-11-11 02:39:56 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10071490-areej-le-dore.html> (referer: https://www.nosetime.com/pi
npai/2-a.html)
2020-11-11 02:39:57 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10071490-areej-le-dore.html>: HTTP status code
is not handled or not allowed
2020-11-11 02:40:02 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10087560-amanbeisi-armand-basi.html> (referer: https://www.nosetim
e.com/pinpai/2-a.html)
2020-11-11 02:40:02 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10087560-amanbeisi-armand-basi.html>: HTTP stat
us code is not handled or not allowed
2020-11-11 02:40:07 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10018412-yisuo-aesop.html> (referer: https://www.nosetime.com/pinp
ai/2-a.html)
2020-11-11 02:40:07 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10018412-yisuo-aesop.html>: HTTP status code is
 not handled or not allowed
2020-11-11 02:40:13 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10084271-amafu-armaf.html> (referer: https://www.nosetime.com/pinp
ai/2-a.html)
2020-11-11 02:40:14 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10084271-amafu-armaf.html>: HTTP status code is
 not handled or not allowed
2020-11-11 02:40:20 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10086871-mishi-agent-provocateur.html> (referer: https://www.noset
ime.com/pinpai/2-a.html)
2020-11-11 02:40:20 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10086871-mishi-agent-provocateur.html>: HTTP st
atus code is not handled or not allowed
2020-11-11 02:40:27 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10064463-a-f-abercrombie-fitch.html> (referer: https://www.nosetim
e.com/pinpai/2-a.html)
2020-11-11 02:40:27 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10064463-a-f-abercrombie-fitch.html>: HTTP stat
us code is not handled or not allowed
2020-11-11 02:40:32 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10038832-adesi-weinitasi-aedes-de-venustas.html> (referer: https:/
/www.nosetime.com/pinpai/2-a.html)
2020-11-11 02:40:33 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10038832-adesi-weinitasi-aedes-de-venustas.html
>: HTTP status code is not handled or not allowed
2020-11-11 02:40:40 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10033391-aikekapa-acca-kappa.html> (referer: https://www.nosetime.
com/pinpai/2-a.html)
2020-11-11 02:40:40 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10033391-aikekapa-acca-kappa.html>: HTTP status
 code is not handled or not allowed
2020-11-11 02:40:47 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10035498-annasu-anna-sui.html> (referer: https://www.nosetime.com/
pinpai/2-a.html)
2020-11-11 02:40:47 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10035498-annasu-anna-sui.html>: HTTP status cod
e is not handled or not allowed
2020-11-11 02:40:52 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10020871-aimu-amouage.html> (referer: https://www.nosetime.com/pin
pai/2-a.html)
2020-11-11 02:40:52 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10020871-aimu-amouage.html>: HTTP status code i
s not handled or not allowed
2020-11-11 02:40:54 (scrapy.extensions.logstats) INFO: Crawled 738 pages (at 10 pages/min), scraped 0 items (at 0 items/min)
2020-11-11 02:40:58 (scrapy.core.engine) DEBUG: Crawled (403) <GET https://www.nosetime.com/pinpai/10051198-paermazhishui-acqua-di-parma.html> (referer: https://www.
nosetime.com/pinpai/2-a.html)
2020-11-11 02:40:58 (scrapy.spidermiddlewares.httperror) INFO: Ignoring response <403 https://www.nosetime.com/pinpai/10051198-paermazhishui-acqua-di-parma.html>: HT
TP status code is not handled or not allowed
2020-11-11 02:40:58 (scrapy.core.engine) INFO: Closing spider (finished)
2020-11-11 02:40:58 (scrapy.statscollectors) INFO: Dumping Scrapy stats:

Pero no se cual archivo necesito modificar/hacer un try except

C:UsersantoiDocumentsProgrammingLearningDataSciencenosetime_scraper>tree /F
Folder PATH listing
Volume serial number is 804E-C690
C:.
│   perfumes.jl
│   scrapy.cfg
│
├───.idea
│   │   .gitignore
│   │   misc.xml
│   │   modules.xml
│   │   nosetime_scraper.iml
│   │   workspace.xml
│   │
│   └───inspectionProfiles
│           profiles_settings.xml
│
└───nosetime_scraper
    │   items.py
    │   middlewares.py
    │   pipelines.py
    │   settings.py
    │   __init__.py
    │
    ├───spiders
    │   │   nosetime_spider.py
    │   │   __init__.py
    │   │
    │   └───__pycache__
    │           nosetime_spider.cpython-36.pyc
    │           __init__.cpython-36.pyc
    │
    └───__pycache__
            pipelines.cpython-36.pyc
            settings.cpython-36.pyc
            __init__.cpython-36.pyc

java swing – ¿como puedo editar una sola columna de mi jTable desde el evento de un botón y que se actualicen los datos en la bd?

 public void editarInventario(){
    InventarioFormEdit cFormEdit = InventarioFormEdit.getInstancia();
    int row = jXTableInventario.getSelectedRow();
    if (row>=0) {            
        cFormEdit.setIdInventario((int) jXTableInventario.getValueAt(row, 0));            
        if (cFormEdit.isShowing() && cFormEdit.isVisible() || cFormEdit.isIcon()) {
            //Recargar For Edit
            cFormEdit.cargarForm((int) jXTableInventario.getValueAt(row, 0));
        }else{
            cFormEdit.mostrarJInternalFrame();
        }
    }else{
      JOptionPane.showMessageDialog(null, " Seleccione una fila para modificar");
    } 
}

//Esta función debe ser llamada tras cerrar el form para liberar recursos asociados a la instancia.
private void cerrarInstancia(){
    instancia = null;
}

NECESITO MODIFICAR DESDE LA VISTA DE ESTA TABLA LA COLUMNA ESTADO ,EL CUAL ES UN VALOR de un checkbox guardado como entero pero mostrado como estring

public void cargarTablaInventario(){
   String() header = {"id_administrador_inventario","Nombre","Precio","cantidad","Comentario","Estado"};
   String query="SELECT id_administrador_inventario, nombre,precio_unitario_base,cantidad_stock,comentario,(CASE estado WHEN 1 THEN 'Activo' WHEN 2 THEN 'Desactivado' ELSE 0 END) AS estado  FROM tbl_administrador_inventario ORDER BY id_administrador_inventario DESC";
  
   jXFindBar1.setSearchable(jXTableInventario.getSearchable());
    CargarJTable ctabla = CargarJTable.getInstancia();
    DefaultTableModel dtmInventario= new DefaultTableModel(); 
  ctabla.cargarTablaNormal(dtmInventario, jXTableInventario, query, header, 0);
  
}

// ya lo intente agregando isCellEditable pero no funciono en que parte del cod deberia agregar

Python: error al mostrar por pantalla los resultados de un objeto

Estoy intentando crear una clase que tenga la base y la altura de un triángulo y me devuelva el área.
Sin embargo cuando intengo darle al print me dice "Unresolved reference ‘base’" y "Unresolved reference ‘altura’"

¿En que me estoy equivocando?

class Rectangulo:
base =’4′
altura=’2′

def Resultado(self,base,altura):
    area=((base*altura)/2)
    return f'{area}'


mi_cadena = Rectangulo()
print(mi_cadena.Resultado())

angularjs – Hola, ¿Cómo guardo en una matriz los id de ng-option seleccionados?

Estoy usando ng-select multiple quiero ir guardando los id de ng-option seleccionados en una matriz de objetos asi: selected = ( { id: 1 }, { id: 2 },..) para posteriormente hacer un post con esos id guardados, el código lo tengo de la siguiente manera:

app.component.ts

export class AppComponent {

selected = ();

items = (
 { id: 1, name: "Python" },
 { id: 2, name: "Node Js" },
 { id: 3, name: "Java" },
 { id: 4, name: "PHP"  },
 { id: 5, name: "Django" },
 { id: 6, name: "Angular" },
 { id: 7, name: "Vue" },
 { id: 8, name: "ReactJs" }
);

 onChange($event) {
 this.selected.push({ id: $event });
  console.log(this.selected);
 }
}

app.component.html

<ng-select bindLabel="name" 
placeholder="Select item" 
appendTo="body" 
multiple="true" 
(searchable)="true"
(clearable)="true" 
((ngModel))="selected" 
(change)="onChange($event)">
  <ng-option (value)="item.id" (disabled)="item.disabled" *ngFor="let item of items">
    {{item.name}}
  </ng-option>
</ng-select>