RSS feed [root] /hack and faq /weblog




login:

password:

title search:




 


Sat Sep 28 10:12:39 GMT 2024

hack and faq



(google search) (amazon search)
second
download zip of files only

Sun Aug 25 07:25:16 GMT 2024 From /weblog/hack+and+faq

duckdb


Operation Snippet
Pretty-printing floats SELECT (10 / 9)::DECIMAL(15, 3);
Copying the schema CREATE TABLE tbl AS FROM example LIMIT 0;
Shuffling data FROM example ORDER BY hash(rowid + 42);
Specifying types when reading CSVs FROM read_csv('example.csv', types = {'x': 'DECIMAL(15, 3)'});
Updating CSV files in-place COPY (SELECT s FROM 'example.csv') TO 'example.csv';

https://duckdb.org/2024/08/19/duckdb-tricks-part-1.html

(google search) (amazon search)


Sun Apr 28 12:16:30 GMT 2024 From /weblog/hack+and+faq

docker


http://nordicapis.com/tools-built-on-top-of-the-docker-api/

让容器跑得更快:CPU Burst 技术实践 - https://www.infoq.cn/article/y2SeMvaJjgXJ9mBg9P00

https://levelup.gitconnected.com[..]-troubleshoot-docker-faster-8f9ab55dd419

(google search) (amazon search)


Sat Nov 04 12:00:33 GMT 2023 From /weblog/hack+and+faq

kafka


A Practical Guide for Kafka Cost Reduction - https://leevs.dev/kafka-cost-reduction/ https://www.infoq.cn/article/zGb2m6e17hlmRDxViaNi

A new children's book / illustrated guide to Apache Kafka - http://www.gentlydownthe.stream/

socket.receive.buffer.bytes, with 100kB as the default - https://www.pepperdata.com[..]/kafka-optimization-four-best-practices/

How to create Kafka consumers and producers in Java - https://developers.redhat.com[..]reate-kafka-consumers-and-producers-java

Processing guarantees in Kafka - https://medium.com[..]cessing-guarantees-in-kafka-12dd2e30be0e

Apache Kafka Cheatsheet - https://www.javacodegeeks.com[..]-cheatsheet.html?utm_source=pocket_saves

(google search) (amazon search)


Sat May 28 13:30:24 GMT 2022 From /weblog/hack+and+faq

markdown


Writing mathematical expressions - https://docs.github.com[..]matting/writing-mathematical-expressions https://www.infoq.cn/article/9ooV6u2HZbT0tYywoMMv

(google search) (amazon search)


Wed May 04 07:47:50 GMT 2022 From /weblog/hack+and+faq

excel


Other than native excel library and CSV, look like we can just use tab (\t) to separate the columns: http://www.devx.com/Java/Article/31356/1954?pf=true

check cell value exist in another column - http://stackoverflow.com[..]olumn-and-then-get-the-value-of-the-next http://stackoverflow.com[..]in-column-a-contains-value-from-column-b

Remove duplication from Excel - https://www.freecodecamp.org[..]in-excel-delete-duplicate-rows-tutorial/

(google search) (amazon search)


Fri Apr 15 13:47:41 GMT 2022 From /weblog/hack+and+faq

aws


s3 tutorial - https://www.javacodegeeks.com/2017/03/amazon-s3-tutorial.html

How to Create an AWS EC2 VM - https://mydeveloperplanet.com[..]m/2021/06/09/how-to-create-an-aws-ec2-vm

Sample of running "gem" to build:

sudo amazon-linux-extras install ruby2.6 // use sudo amazon-linux-extras list to check the exact name
sudo yum -y install ruby-devel
sudo yum -y groupinstall 'Development Tools'
gem install fluent-plugin-s3 --no-document


Infrastructure as Code - Full Course - https://www.freecodecamp.org/news/what-is-infrastructure-as-code/

Insane AWS Lambda Speed Up (Java) - https://codingcraftsman.wordpress.com[..]2/03/25/insane-aws-lambda-speed-up-java/

(google search) (amazon search)


Fri Jan 28 11:21:39 GMT 2022 From /weblog/hack+and+faq

json


How can i remove the red background color from comments ? - https://www.reddit.com[..]n_i_remove_the_red_background_color_from

(google search) (amazon search)


Tue Sep 28 14:43:23 GMT 2021 From /weblog/hack+and+faq

citrix


[WFClient]
CPMAllowed=Off
VSLAllowed=Off
UpdatesAllowed=Off
OutBufCountHost=118
OutBufCountHost2=118
OutBufCountClient=118
OutBufCountClient2=118
OutBufLength=512
PersistentCacheEnabled=On
MouseTimer=200
KeyboardTimer=50


[*APP*}
MaximumCompression=On
Compress=On
ZLMouseMode=1
ZLKeyBoardMode=1

http://www.vmwareinfo.com[..]ix-xendesktop-ica-optimizations-and.html

Dual monitor in mac os x - https://discussions.citrix.com[..]s-with-citrix-viewer-on-mac-os-catalina/

(google search) (amazon search)


Sun Apr 22 14:40:03 GMT 2018 From /weblog/hack+and+faq

middleware


消息中间件选型时,要关注哪些问题? - https://mp.weixin.qq.com[..]aec0633df928432ceed6438a724dd217624cd#rd

(google search) (amazon search)


Wed Nov 09 07:36:35 GMT 2016 From /weblog/hack+and+faq

git


Solve "unable to get local issuer certificate”, git config --global http.sslVerify false - http://stackoverflow.com[..]-issuer-certificate-using-git-on-windows

(google search) (amazon search)


Wed Oct 26 10:57:16 GMT 2016 From /weblog/hack+and+faq

webservice


Generating stub for .NET webservices from wsimport

java -Djavax.xml.accessExternalDTD=all -Djavax.xml.accessExternalSchema=all -Dhttp.proxyHost=proxyhost -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts="10.0.0.0|*.pc.internal.xxx.com" -classpath "c:\Program Files\Java\jdk1.8.0_102\lib\tools.jar" com.sun.tools.internal.ws.WsImport -b http://www.w3.org/2001/XMLSchema.xsd -b customization.xjb http://xxx.com/service?wsdl

(google search) (amazon search)


Thu Dec 24 02:12:45 GMT 2015 From /weblog/hack+and+faq

hadoop


Typical Linux setup - http://www.michael-noll.com[..]oop_On_Ubuntu_Linux_(Multi-Node_Cluster) http://www.thegeekstuff.com[..]/2012/02/hadoop-standalone-installation/ http://hadoop.apache.org[..]utorial.html#MapReduce+-+User+Interfaces

SQL interface - https://www.ibm.com[..]orks/opensource/library/os-mapreducesql/

The components and their functions in the Hadoop ecosystem - http://nosql.mypopescu.com[..]d-their-functions-in-the-hadoop?ef125c00

How to due with small files - http://www.cloudera.com/blog/2009/02/02/the-small-files-problem/

HDFS Vs KFS - http://www.nabble.com/HDFS-Vs-KFS-tt19089077.html

RealTime - http://www.nabble.com/realtime-hadoop-tt18078957.html http://www.nabble.com[..]or-the-Masses--tt17581830.html#a17581830

Difference between joining and reducing - http://markmail.org/message/2hvv2ax6h7k5svxo

Multiple artifact sets and privacy - http://markmail.org/message/kklzfkfbh7jegpmp

Scaling Hadoop to 4000 nodes at Yahoo! - http://developer.yahoo.net[..]8/09/scaling_hadoop_to_4000_nodes_a.html

Basic - http://storageconference.org/2010/Papers/MSST/Shvachko.pdf http://mycloudresearch.wordpress.com[..]s.com/2012/03/14/simple-hadoop-overview/ http://www.javacodegeeks.com[..]reduce-questions-and-answers-part-1.html http://www.javacodegeeks.com[..]reduce-questions-and-answers-part-2.html

Using R - http://www.infoq.com[..]tributed-Data-Analysis-with-Hadoop-and-R http://www.slideshare.net[..]ting-started-with-r-hadoop-chug-20120815

Links to tutorials for a lot of difference frameworks - http://blog.matthewrathbone.com[..]ck-guide-to-hadoop-map-reduce-frameworks

http://hortonworks.com/blog/windows-explorer-experience-hdfs/

http://hadoopecosystemtable.github.io/

(google search) (amazon search)


Fri Nov 13 16:19:54 GMT 2015 From /weblog/hack+and+faq

scala


Nice guide for sbt - http://grosdim.blogspot.hk/2013/01/quick-sbt-tutorial.html

(google search) (amazon search)


Wed Mar 27 06:50:14 GMT 2013 From /weblog/hack+and+faq

ldap


Active directory common fields - http://www.kouti.com/tables/userattributes.htm http://technet.microsoft.com[..]/en-us/library/aa996205(v=exchg.65).aspx

Concept of LDAP - http://kenttongmo.blogspot.com.au[..]/2013/03/basic-concepts-of-openldap.html

(google search) (amazon search)


Sun May 20 08:44:32 GMT 2012 From /weblog/hack+and+faq

opentsdb


http://assets.en.oreilly.com[..]Series%20Database%20Presentation%201.pdf

(google search) (amazon search)


Sun Mar 25 01:32:20 GMT 2012 From /weblog/hack+and+faq

spaces


Compare of Oracle Coherence and GigaSpace XAP - http://www.theserverside.com[..]03&asrc=EM_NLN_7777299&uid=703565#310060

Best developer tool in the cloud - http://blog.codecentric.de[..]/01/best-development-tools-in-the-cloud/

(google search) (amazon search)


Wed Oct 12 17:03:22 GMT 2011 From /weblog/hack+and+faq

putty


Use putty as library - http://marknelson.us/2011/10/11/automating-putty/

(google search) (amazon search)



Sat Jan 15 02:10:13 GMT 2011 From /weblog/hack+and+faq

kinect


Coding in Kinect - http://www.switchonthecode.com[..]om/tutorials/kinect-tutorial-hacking-101

(google search) (amazon search)


Thu Mar 11 06:21:23 GMT 2010 From /weblog/hack+and+faq

as400


java toolbox FAQ - http://www-03.ibm.com/systems/i/software/toolbox/faq.html

bible of AS400 - http://www.redbooks.ibm.com[..]4r5/ic2924/index.htm?info/rzahgictoc.htm
CRTLIB - create library
CRTSRCPF - Create Source Physical File
WRKMBRPDM - work with members using PDM
STRACMS - SCM ( aldon lifecycle manager for iseries )
QSQLSRC - Source File for create table
WRKSPLF - check Job status
STRJRNPF - start Journal a change of a file to another - http://publib.boulder.ibm.com[..]r2/ic2928/index.htm?info/cl/strjrnpf.htm
DSPFFD, UFFD - check table schema, Display File Field Description (DSPFFD)
WRKOBJ - find object under a library, e.g. : wrkobj qgpl/rst* *file
CHGCURDIR - ction or command e.g. : CHGCURDIR dir('$DEVKW3')
DSPFD - show journal status of the file
SBMBENJOB - submit ben job
DSPSYSVAL SYSVAL(QTIME)
WRKJOB Q_JREIS
STRISDB - start debugger, e.g. : CALL PGM(*LIBL/CLRS_LST) PARM( '/HOME/ISCY1/' 'RSTLSTTAK' '1.6')
edtlibl - edit library list

common library for code - $PRDSRCBEN/QCSRC $PRDSRCBEN/H $PRDSRCBEN/QCBLLESRC $PRDSRCBEN/QCBLSRC $PRDSRCBEN/QDDSSRC
common library for sql - $PRDOBJBEN , $REFDTAREP
common library for script - $PRDSRCBEN/QTXTSRC

$PRDSRCBEN/QCSRC
COSOMSVAL

F23=more options (shift + F11 = F23)
F24=More keys
F4 = drop down kind of prompt



6:57:06 PM: Carfield W Yim/: hi... just get distracted by a call... now I created a member.... then I edit it and put the create table scripts there. However, it only allow me to put 18 lines, is that normal?
6:57:52 PM: Srikanth X Krishnaswamy/: type in the letter 'I' followed by 10 in the first column- inserts 10 lines
7:15:26 PM: Srikanth X Krishnaswamy/: Nope; I10 on the line that says 0018.00; start from the first 0

Global search

3:44:08 PM: Srikanth X Krishnaswamy/: wrkmbrpdm
3:44:29 PM: Srikanth X Krishnaswamy/: use the right source ($vvv/bbb) for example
3:44:57 PM: Srikanth X Krishnaswamy/: Option 25, hit F13 to replicate this option on all source members
3:47:36 PM: Carfield W Yim/: and how to run F13?
3:50:56 PM: Srikanth X Krishnaswamy/: shirt+F1


5:42:01 PM: Srikanth X Krishnaswamy/: Connection > Configure > 27x132 columns

(google search) (amazon search)


Tue Mar 09 01:47:59 GMT 2010 From /weblog/hack+and+faq

visual studio


Type >of followed by a space, then begin the name of the file you are looking for. - http://www.alteridem.net[..]uickly-findopen-a-file-in-visual-studio/

(google search) (amazon search)


Fri Jan 22 06:22:50 GMT 2010 From /weblog/hack+and+faq

virualbox


Use VBoxManage for all the tasks

$ /usr/bin/VBoxManage createvm --name Debian5 –register //The VM created is an XML file located in your home directory: ~/.VirtualBox/Machines/Debian5/Debian5.xml.

$ /usr/bin/VBoxManage createhd --filename Debian5.vdi --size 4000 --variant Fixed // created under ~/.VirtualBox/HardDisks/Debian.vdi 4GB (4,000MB) in size and with fixed size (non-expanding).

$ /usr/bin/VBoxManage storagectl Debian5 --name "IDE Controller" --add ide --controller PIIX4

$ /usr/bin/VBoxManage storageattach Debian5 --storagectl "IDE Controller" --port 0 --device 0 --type hdd --medium Debian5.vdi

$ /usr/bin/VBoxManage storageattach Debian5 --storagectl "IDE Controller" --port 0 --device 1 --type dvddrive --medium /ISO/debian-40r3-i386-netinst.iso

$ /usr/bin/VBoxManage modifyvm Debian5 --nic1 bridged --cableconnected1 on --bridgeadapter1 eth0

$ /usr/bin/VBoxManage startvm Debian5

http://www.linux-mag.com/id/7673

(google search) (amazon search)


Wed Sep 30 09:12:57 GMT 2009 From /weblog/hack+and+faq

vlc


http://www.unixmen.com[..]s-you-didnt-know-vlc-media-player-can-do

(google search) (amazon search)


Thu Sep 24 14:10:08 GMT 2009 From /weblog/hack+and+faq

oracle



(google search) (amazon search)


Sun Jul 05 18:18:18 GMT 2009 From /weblog/hack+and+faq

ubuntu


Performance tuning - http://ubuntuforums.org/showthread.php?t=1152095

Speed up ext4 - http://blog.smartlogicsolutions.com[..]to-improve-ext4-file-system-performance/

(google search) (amazon search)