How to ./configure a built for Raspberry Pi?

I want to use this guide to set up a headless bitcoin core full node and came across the line:

./configure CPPFLAGS="-I/usr/local/BerkeleyDB.4.8/include -O2" LDFLAGS="-L/usr/local/BerkeleyDB.4.8/lib" --disable-wallet 

Unfortunately, the blog does not explain why he uses this.

First of all, I want to use my node with wallet so I probably should not use that option. Second, I want to configure it to be usefull with a Raspberry Pi which has only 1GB of RAM and is also running other stuff, for example my Logitech Media Server for audio streaming.

I know that I can use a config file for running bitcoind with entries for upload limit and other setups. Do I need to run the skript also with options or are both setups interchangeably?

ALso, I get the error Found Berkeley DB other than 4.8 upon configure. This would also be important to know, if I can have a wallet with the BDB other than 4.8 or if I have to install 4.8 (and how).

“no such file or directory” when mounting, built using the golang:alpine Docker image

I created a fork of the LinuxServer.io’s docker-transmission image, adding support for Google Cloud Storage.

I used the Ernest (chiaen)’s docker-gcsfuse project to build gcsfuse, namely, extracting parts of his Dockerfile and added to my own one. gcsfuse is built using the golang:alpine image.

The image builts successfully (including gcsfuse; the Dockerfile instructs to just copy gcsfuse to /usr/local/bin). However, gcsfuse refuses to mount, and the logs outputs Mount: stat /donwloads: no such file or directory, enev if the directory /download actually exists, and the right permissions were set already (set at /etc/cont-init.d/20-config). I even tried to run from the shell, but still fails.

Is there a missing package or parameter in order to get gcsfuse working in my (Alpine) Docker image?

If you want to reproduce, you may bould your own local copy of the image following the instructions at README.md in my repo (you need to upload your json key to the VM) (amitie10g/transmission is also available at Docker Hub).

Logs are available here.

Thanks in advance.

I have a Netgear R6300v2 router and trying to enable its built in VPN feature

the web gui has instructions of what to do, I followed that closely. however after installing OpenVPN on the clien PC, when connecting I am getting an error: OpenSSL: error:140AB18E:SSL routines:SSL_CTX_use_certificate:ca md too weak MANAGEMENT: Client disconnected Cannot load certificate file client.crt Exiting due to fatal error looking at ca.crt file in config folder, I see that it is using md5 as signature hash algorithm, and I think that is my problem. but the router generates the file .. so is there a way to fix this without replacing the router that would be supported? Thank you gents

Are there any blockchain’s that has a built in tumbler or coin shuffling technology built into their code?

I know dash has some kind of mixing technology in their blockchain using their master nodes, but are there any other blockchains that has a built in coinjoin or coin shuffling technology built into their code? I know Monero uses ring signatures, but I’m more interested in just coinjoin or coin shuffling technology that is in blockchains. I know it might not be 100% private.

Object Data must be built on SQL side or in Code Side?

I am thinking of a very flexible application that will build a single entity object from a lot of tables joins. example for an object “Car”

with a code something like this

SELECT e.id, a1.attr_value as "cost", a2.attr_value as "color",   a3.attr_value as "size", . . . FROM entity e   LEFT OUTER JOIN attrib a1 ON (e.entity_id = a1.entity_id AND a1.attr_name = 'cost')   LEFT OUTER JOIN attrib a2 ON (e.entity_id = a2.entity_id AND a2.attr_name = 'color')   LEFT OUTER JOIN attrib a2 ON (e.entity_id = a3.entity_id AND a3.attr_name = 'size') 

Now as said here by @Bill Karwin (credits to him also from the example code above)https://stackoverflow.com/questions/192892/performance-of-large-eav-open-schema-systems-on-sql-server

The solution is to fetch the attributes in rows instead of columns, and write a class in application code to loop over these rows, assigning the values into object properties one by one.

In this scenario both code and SQL can create “Car” object filled the data in each property but what is the general rule for this kind of scenario? Put all the burden of building the data in the Database side or in the Code side?

As I remember one of my senior colleague before said that

if the SQL side can take care of everything do it there so the code can just display the data.

is this right?

PHP: Can I pipe curl output through gunzip using built in curl functions?

I’m working on a script that downloads large files, decompresses them, and then parses the contents, inserting data I like into sql. I upgraded this script to work in a multi-threaded type way, where it is downloading one file, decompressing another file, and parsing another file all at once. But alas, I’m getting bottlenecked by the hard drive.

With the help of ##php, I realized I can use the following command to pipe output of curl directly to gunzip to cut my disk i/o in half (excluding SQL):

curl https://example.com/path/to/large_file.gz | gunzip -c > /large_temp_files/large_file

Tested and confirmed, this method writes the uncompressed data directly to disk without writing compressed data first.

So my question is, is there any way I can pipe the data like that using php’s build in curl functions? For regular files, you can open a file pointer and set that pointer as one of the curl_setopt options, to download the file to disk rather setting the data to a variable. These are 5 GB files so that’s not going to work. All my other code uses the built in functions for my http requests, so I’d like to stick with doing it that way if possible, for consistency and readability.

Chatbot built for you “Exit Discount” for $42

Chatbots are a relatively new technology surrounding the customer service and marketing industry. Since websites are open 24 hours a day, the site owner of a small online business will have troubles keeping up with customer relations. Essentially what I’m selling is an employee that can work 24 hours a day following a set dialog of conversation flow. Customer responses will be limited to the choices displayed through buttons on the chatbot conversation box. Currently the templates I’m using cover a generic category of website content, which will be adjusted to your online businesses needs. This includes the sharing of pictures, e-books, reports, courses, links to products or services your promoting, email newsletter opt-ins along with the set dialog which can be altered as well. https://i.postimg.cc/SsdPWBnL/exit-discount-2-CAPTURE-EMAIL.jpg https://i.postimg.cc/rspPgf4B/exit-discount-2-END-CONVERSATION-1.jpg https://i.postimg.cc/RhbbYwQN/exit-discount-2-END-CONVERSATION-2.jpg https://i.postimg.cc/G3MN91wd/exit-discount-2-END-CONVERSATION.jpg https://i.postimg.cc/vHcKVSb9/exit-discount-2-INTRO.jpg https://i.postimg.cc/WbCH661y/exit-discount-2-NEWSLETTER.jpg https://i.postimg.cc/8zvnyJFz/exit-discount-2-NO-DISCOUNT.jpg https://i.postimg.cc/yNzp219X/exit-discount-2-YES-DISCOUNT.jpg

by: Coinmeyer95
Created: —
Category: Coding
Viewed: 213


SOAP API built in function not working after custom function cterated

app/code/local/Envanto/customapimodule/etc/api.xml

<?xml version="1.0"?> <config>   <api>     <resources>       <customapimodule_product translate="title" module="customapimodule">         <model>customapimodule/product_api</model>         <title>Demo Custommoduleapi API</title>         <acl>customapimodule/product</acl>         <methods>           <list translate="title" module="customapimodule">             <title>List of products</title>             <method>items</method>           </list>            <info translate="title" module="portfolio"><!-- project details -->               <title>Retrieve product info</title>               <acl>customapimodule/product/info</acl>           </info>         </methods>       </customapimodule_product>     </resources>     <resources_alias>       <product>customapimodule_product</product>     </resources_alias>     <v2>       <resources_function_prefix>          <product>customapimoduleProduct</product>       </resources_function_prefix>     </v2>     <acl>       <resources>         <customapimodule translate="title" module="customapimodule">           <title>Products</title>           <sort_order>5</sort_order>           <product translate="title" module="customapimodule">             <title>Product data</title>             <info translate="title" module="customapimodule">               <title>Info</title>             </info>           </product>         </customapimodule>       </resources>     </acl>   </api> </config> 

app/code/local/Envanto/customapimodule/etc/wsdl.xml

<?xml version="1.0" encoding="UTF-8"?> <definitions xmlns:typens="urn:{{var wsdl.name}}" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"   xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/"   name="{{var wsdl.name}}" targetNamespace="urn:{{var wsdl.name}}">   <types>     <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:Magento">       <import namespace="http://schemas.xmlsoap.org/soap/encoding/" schemaLocation="http://schemas.xmlsoap.org/soap/encoding/" />       <complexType name="fieldInfo">         <sequence>           <element name="entity_id" type="xsd:string"/>           <element name="name" type="xsd:string"/>         </sequence>       </complexType>       <complexType name="fieldInfoArray">         <complexContent>           <restriction base="soapenc:Array">             <attribute ref="soapenc:arrayType" wsdl:arrayType="typens:fieldInfo[]" />           </restriction>         </complexContent>       </complexType>        <complexType name="customapimoduleProductListEntity"><!-- define type for project list -->                 <all>                     <element name="entity_id" type="xsd:string" minOccurs="1" />                     <element name="name" type="xsd:string" minOccurs="1" />                     <element name="description" type="xsd:string" minOccurs="0" />                     <element name="status" type="xsd:string" minOccurs="0" />                     <element name="created_at" type="xsd:string" minOccurs="1" />                     <element name="updated_at" type="xsd:string" minOccurs="1" />                 </all>             </complexType>             <complexType name="customapimoduleProductListEntityArray"><!-- define type array of projects -->                 <complexContent>                     <restriction base="soapenc:Array">                         <attribute ref="soapenc:arrayType" wsdl:arrayType="typens:customapimoduleProductListEntity[]" />                     </restriction>                 </complexContent>             </complexType>           <complexType name="customapimoduleProductInfoEntity"><!-- define type for retrieve info -->                 <all>                     <element name="entity_id" type="xsd:string" minOccurs="1" />                     <element name="name" type="xsd:string" minOccurs="1" />                     <element name="description" type="xsd:string" minOccurs="0" />                     <element name="status" type="xsd:string" minOccurs="0" />                     <element name="created_at" type="xsd:string" minOccurs="1" />                     <element name="updated_at" type="xsd:string" minOccurs="1" />                 </all>             </complexType>      </schema>   </types>   <message name="customapimoduleProductListRequest">     <part name="sessionId" type="xsd:string" />   </message>   <message name="customapimoduleProductListResponse">     <part name="products" type="typens:fieldInfoArray" />   </message>      <message name="customapimoduleProductInfoRequest">         <part name="sessionId" type="xsd:string" />         <part name="productSku" type="xsd:string" />     </message>       <message name="customapimoduleProductInfoResponse">          <part name="result" type="typens:fieldInfoArray" />     </message>    <portType name="{{var wsdl.handler}}PortType">     <operation name="customapimoduleProductList">       <documentation>List of products</documentation>       <input message="typens:customapimoduleProductListRequest" />       <output message="typens:customapimoduleProductListResponse" />     </operation>      <operation name="customapimoduleProductInfo">             <documentation>Retrieve product info</documentation>             <input message="typens:customapimoduleProductInfoRequest" />             <output message="typens:customapimoduleProductInfoResponse" />      </operation>   </portType>   <binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">     <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />     <operation name="customapimoduleProductList">       <soap:operation soapAction="urn:{{var wsdl.handler}}Action" />       <input>         <soap:body namespace="urn:{{var wsdl.name}}" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />       </input>       <output>         <soap:body namespace="urn:{{var wsdl.name}}" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />       </output>     </operation>       <operation name="customapimoduleProductInfo">             <soap:operation soapAction="urn:{{var wsdl.handler}}Action" />             <input>                 <soap:body namespace="urn:{{var wsdl.name}}" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />             </input>             <output>                 <soap:body namespace="urn:{{var wsdl.name}}" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />             </output>         </operation>   </binding>   <service name="{{var wsdl.name}}Service">     <port name="{{var wsdl.handler}}Port" binding="typens:{{var wsdl.handler}}Binding">       <soap:address location="{{var wsdl.url}}" />     </port>   </service> </definitions> 

My problem is that now custom function called but in built function like "catalogProductInfo" not called give error Invalid API PATH.