RSS feed [root] /misc /weblog




login:

password:

title search:




 


Fri Sep 08 16:09:35 HKT 2017

misc



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

Fri Sep 08 16:09:35 HKT 2017 From /weblog/misc

regex


Short tips of regex - http://immike.net[..]know-to-become-a-regular-expression-pro/

Let regex more readable - http://martinfowler.com/bliki/ComposedRegex.html

Useful Regular regression

Match username - /^[a-zA-Z0-9_]{3,16}$/
Matching an XHTML/XML tag - {]*>(.*?)}
Matching an XHTML/XML tag with a certain attribute value (e.g. class or tag) - {]*attribute\\s*=\\s*(["'])value\\\\1[^>]*>(.*?)}
Matching a URL - (a very long one... refer to article...)

http://immike.net[..]ssions-every-web-programmer-should-know/

The danger of bad regex - http://andreas.haufler.info[..]o-kill-java-with-regular-expression.html http://www.regular-expressions.info/catastrophic.html http://vladmihalcea.com/2014/02/24/the-regex-that-broke-a-server/

You have a string “BEFOREAFTER”. If this string has a ‘x’ in it, you want to capture everything before the ‘x’, else you want to capture the whole string. So,
”BEFOREAFTER” gives “BEFOREAFTER”
”BEFORExAFTER” gives “BEFORE”
http://octodecillion.com[..]apture-with-optional-delimeter/#solution

http://www.infoq.com[..]/regular-expressions-introduction-part01

https://www.guru99.com/linux-regular-expressions.html

(google search) (amazon search)


Tue May 23 12:56:50 HKT 2017 From /weblog/misc

infrastructure


Why we need tools design for provisioning - https://www.thoughtworks.com[..]anagement-and-provisioning-are-different

Cloud or not? http://www.infoq.com[..]/why-does-gitlab-persist-in-using-clouds https://about.gitlab.com[..]/03/02/why-we-are-not-leaving-the-cloud/

(google search) (amazon search)


Thu Feb 23 18:39:36 HKT 2017 From /weblog/misc

book


https://github.com/vhf/free-programming-books

http://www.oreilly.com/programming/free/

https://97-things-every-x-should-know.gitbooks.io[..]rammer-should-know/content/en/index.html

(google search) (amazon search)


Thu Dec 15 23:54:14 HKT 2016 From /weblog/misc

IOT


http://www.instructables.com[..]om/id/Uber-Home-Automation-w-Arduino-Pi/

(google search) (amazon search)



Thu Oct 27 00:28:55 HKT 2016 From /weblog/misc

tools


http://en.wikipedia.org[..]i/List_of_tools_for_static_code_analysis

Project template for quicker start a project - http://www.petrikainulainen.net[..]-a-software-project-as-fast-as-possible/ http://jhipster.github.io/

LaTeX - http://marxsoftware.blogspot.com.au[..]o-begin-learning-and-applying-latex.html

Online tool to convert word document to good HTML - http://www.html-cleaner.com/

Online IDE - https://code.sololearn.com/#java

(google search) (amazon search)


Sat Sep 24 09:58:02 HKT 2016 From /weblog/misc

firefox


http://servethehome.com[..]is-eating-your-ssd-here-is-how-to-fix-it

(google search) (amazon search)


Tue Aug 30 23:42:51 HKT 2016 From /weblog/misc

law


China Law technology

http://wenshu.court.gov.cn/
http://openlaw.cn/
http://www.itslaw.com/bj
http://www.legalminer.com/

(google search) (amazon search)


Fri May 27 19:24:37 HKT 2016 From /weblog/misc

bigdata


http://haifengl.github.io/bigdata/

(google search) (amazon search)


Wed May 11 10:30:36 HKT 2016 From /weblog/misc

i18n


l10n resource for Mideast

http://www.microsoft.com/globaldev/handson/dev/Mideast.mspx
http://www.i18nguy.com/markup/right-to-left.html
http://www.i18nguy.com/MiddleEastUI.html

Amazing result from google translate - http://translate.google.com[..]W%26client%3Dopera%26rls%3Den%26hs%3DA5O

What is the right way to do ignore case comparison... - http://forums.worsethanfailure.com/forums/thread/125833.aspx

Why sometime "& nbsp" will turn to "?" - http://weblogs.java.net[..]uke/archive/2008/01/a_and_nbsp_myst.html

Some issues about Turkey - http://www.codinghorror.com/blog/archives/001075.html

Comphensive Unicode decision - http://discuss.joelonsoftware.com/default.asp?design.4.596356 http://www.codinghorror.com/blog/archives/001084.html

Trend of using unicode - http://googleblog.blogspot.com/2008/05/moving-to-unicode-51.html

http://stackoverflow.com[..]ect-the-encoding-codepage-of-a-text-file

The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!). - http://www.joelonsoftware.com[..]om/printerFriendly/articles/Unicode.html

Take a look if you don't externalized non-acsii character to resource bundle

http://jroller.com[..]chneller?entry=java_source_file_encoding

Fun cold fusion issue, http://stacktoheap.com[..]-our-website-stopped-working-for-norway/

Experience sharing for software localization - http://www.mscharhag.com[..]1/six-things-i-learned-for-software.html

Check unicode characters - http://graphemica.com/

http://javarevisited.blogspot.com.au[..]erence-between-utf-8-utf-16-and-utf.html

http://utf8everywhere.org/

(google search) (amazon search)


Tue May 03 09:35:30 HKT 2016 From /weblog/misc

virus


facts-about-computer-viruses-you-really-should-know - http://list25.com[..]viruses-you-really-should-know/?view=all

(google search) (amazon search)


Sat Sep 12 14:20:38 HKT 2015 From /weblog/misc

performance-engineer


http://programmers.stackexchange.com[..]think-a-performance-engineer-should-have

http://kaviddiss.com/2014/11/19/the-10x-developer/

(google search) (amazon search)


Sat Aug 29 10:35:56 HKT 2015 From /weblog/misc

editor


Suggestion of Hex editors - http://www.lainoox.com/looking-for-a-hex-editor/

(google search) (amazon search)


Thu Aug 20 01:07:20 HKT 2015 From /weblog/misc

Innovation


http://blog.objectmentor.com[..]articles/2008/03/20/musing-over-mutation

Will experience hurt innovation? - http://manincentral.blogspot.com/2008/01/out.html

You Are Solving The Wrong Problem, what is the right problem? it is how to retry very quick - http://www.azarask.in/blog/post/the-wrong-problem/#

Most real innovation is done by crazy people doing crazy things. The keys are:

* Learn all you can before you go adventuring.
* Don't be afraid to make mistakes.
* Only make new mistakes.
* Keep your eyes open.
* Don't just look straight ahead: develop your peripheral vision.
* It's the things that go in unexpected directions are the most important.

One of the classic stories of serendipity and invention is the color mauve. - http://weblogs.java.net/jag/page7.html#63

Translation of article from Aaron Swartz - http://www.inside.com.tw/2013/01/15/aaron-swartz-howtoget-b http://www.inside.com.tw/2013/01/15/aaron-swartz-howtoget http://cn.wsj.com/big5/20130116/HPJ071809.asp

The most interesting things I've learned about innovation - http://jchyip.blogspot.com.au[..]t-interesting-things-ive-learned_16.html

How should company drive innovation - http://cn.wsj.com/big5/20130201/inn074913.asp http://cn.wsj.com/big5/20130930/inn073142.asp

Issue from government driven society - http://cn.wsj.com/big5/20130930/bch090746.asp?source=rss

領導者如何激發創新? - http://cn.wsj.com/big5/20130916/inn073006.asp http://www.infoq.com/articles/culture-learning-innovation

在我看來,人貴在敢於主動挑戰挫折。立下宏大目標;體驗巨大挫折。不止我一個人是這麼認為的。 - http://cn.wsj.com/big5/20131104/inn074022.asp?source=rss

From Imagination to Innovation - http://jchyip.blogspot.com.au[..]4/03/from-imagination-to-innovation.html

(google search) (amazon search)



Mon Mar 30 14:42:54 HKT 2015 From /weblog/misc

programming list


http://javarevisited.blogspot.com.au[..]articles-every-programmer-must-read.html

A great reading

Jerry Weinberg: The 10 Commandments of Egoless Programming
Dare Obasanjo: Top 10 Signs Your Software Project is Doomed
Omar Shahine: Top 10 Tips for Working at Microsoft (or Anywhere Else)
Michael McDonough: The Top 10 Things They Never Taught Me in Design School
Andres Taylor: Top 10 Things Ten Years of Professional Software Development Has Taught Me
Steve Yegge: 10 Great Books

- http://www.codinghorror.com/blog/archives/000822.html

Steve McConnell, The Ten Most Important Ideas in Software Engineering
http://www.yourdonreport.com[..]important-ideas-in-software-engineering/

Step 1 - Isolate
Step 2 - Eliminate
Step 3 - Code Ruthlessly

http://rdegges.com/how-i-program-stuff

http://www.beabetterdeveloper.com[..]/2013/06/what-makes-great-developer.html

Programming and typing - http://swreflections.blogspot.com.au[..]ramming-thinking-or-typing-thinking.html

http://www.inside.com.tw/2014/08/11/9thing_as_software_engineer

http://simpleprogrammer.com[..]11-rules-all-programmers-should-live-by/

(google search) (amazon search)


Sun Sep 21 14:59:39 HKT 2014 From /weblog/misc

font


http://hivelogic.com/articles/top-10-programming-fonts

http://www.inside.com.tw/2014/01/17/arial-1

(google search) (amazon search)


Mon Mar 10 12:36:43 HKT 2014 From /weblog/misc

ops


http://www.opsbs.com/2011/12/observations-on-devops-culture

Discussion about developer accessing production environment - http://swreflections.blogspot.com.au[..]developers-working-in-production-of.html

(google search) (amazon search)


Mon Feb 10 12:17:47 HKT 2014 From /weblog/misc

data


Historical data for a lot of difference things - http://quant.stackexchange.com[..]l-non-finance-datapoints-for-backtesting

Data scientist - http://nosql.mypopescu.com[..]a-science-the-role-of-the-data-scientist

Tools for CSV, JSON, XML - http://jeroenjanssens.com[..]command-line-tools-for-data-science.html

(google search) (amazon search)


Wed Nov 13 11:24:02 HKT 2013 From /weblog/misc

random


Another notice about shuffling collection with random order - http://www.codinghorror.com/blog/archives/001008.html with detailed analysis- http://www.codinghorror.com/blog/archives/001015.html

C simple implementation of random - http://groups.google.com[..]wse_thread/thread/407497c8cae78303?hl=en

Pushing the Limits in Java's Random - http://www.artima.com/weblogs/viewpost.jsp?thread=340484

Getting random correctly can be difficult - http://nurkiewicz.blogspot.com.au[..]bility-distribution-for-programmers.html

Introduction to security random - http://www.java-tv.com[..]21/java-secure-random-number-generation/

How Java implement math.random - http://www.reddit.com[..]omments/1qgnqu/how_does_mathrandom_work/

(google search) (amazon search)


Tue Sep 03 23:00:23 HKT 2013 From /weblog/misc

mistakes


Don't keep ppl interrupted - http://blog.ninlabs.com/2013/01/programmer-interrupted/

common mistake at software house - http://jroller.com/page/rolsen?entry=the_same_mistakes_over_and

1.- The all code is crap, except mine, attitude.
How to fix it: Don’t criticise others people code

2.- The “I fix that in a second” catastrophe.
How to fix it: Don’t trust yourself when carrying delicate activities.

3.- The “That will only take a second” misconception.
How to fix it: remember that is very likely that you will find so many things which you didn’t foresee when you start developing that is worth multiplying the estimate to cover for those

4.- The ego spiral.
How to fix it: Leave your ego at home. Big egos are one of the biggest non technical issues for any programmer. Keep in mind some basic considerations when making decisions.

5.- “It wasn’t me!”
How to fix it: No need to cry, or to perform seppuku, (aka harakiri), when we make a mistake.

6.- The demotivated genius.
How to fix it: Discipline. Unfortunately, there isn’t any other remedy I can think of.

7.- The premature programmer.
How to fix it: Probably the two easiest ways to help a programmer understand if some code is done are peer reviews and demos.

http://www.makinggoodsoftware.com[..]2011/05/23/top-7-programmers-bad-habits/

The naive approach to system replacement

List all the features the current system does
(Package) Compare with features in the new package; customise new package to match old package
(Custom) Build all features in the new system

This is how you waste time and money to build something that people will hate.
A better approach to system replacement

Understand the job that the users are doing. What are their goals? What are the activities they are doing to achieve those goals? How does the existing system support those activities?
Design the new system to support the user's goals. NOTE: This may have very little overlap with how the old system worked AND, I can almost guarantee, will consist of a lot less features.

But won't people be annoyed with the changes unless you match the old system?

http://jchyip.blogspot.com.au[..]8/system-replacements-are-not-about.html

(google search) (amazon search)


Sun Feb 03 11:09:38 HKT 2013 From /weblog/misc

interviews


History of Apple Safari - http://donmelton.com/2013/01/10/safari-is-released-to-the-world/ http://donmelton.com/2013/01/03/keeping-safari-a-secret/

(google search) (amazon search)


Sat Aug 25 17:06:38 HKT 2012 From /weblog/misc

IO


http://chamibuddhika.wordpress.com/2012/08/11/io-demystified/

(google search) (amazon search)


Tue Jul 03 23:25:27 HKT 2012 From /weblog/misc

drdobbs


Most popular articles at first half of 2012 - http://www.drdobbs.com[..]3_h&elq=261e891d30f543eca821acb24f7eefaf

(google search) (amazon search)


Tue Feb 21 00:24:03 HKT 2012 From /weblog/misc

community



Listen to Your Community, But Don't Let Them Tell You What to Do

1. 90% of all community feedback is crap.
2. Don't get sweet talked into building a truck.
3. Be honest about what you won't do.
4. Listen to your community, but don't let them tell you what to do.
5. Be there for your community.

http://www.codinghorror.com[..]t-dont-let-them-tell-you-what-to-do.html

(google search) (amazon search)