RSS feed [root] /misc /weblog




login:

password:

title search:




 


Sat Mar 26 22:49:43 AEDT 2022

misc



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

Sat Mar 26 22:49:43 AEDT 2022 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

The Planning and Care of Data - https://queue.acm.org/detail.cfm?ref=rss&id=3526209

(google search) (amazon search)


Mon Mar 14 23:21:31 AEDT 2022 From /weblog/misc

opensource


Confilct between work and working on opensource application - http://www.softwarequalityconnection.com[..]e-project-mean-committing-career-suicide

About Windows vs. OSS - http://www.codinghorror.com/blog/archives/000845.html

It Takes a Community - https://queue.acm.org/detail.cfm?ref=rss&id=3501361

Lessons learned from my 10 year open source project - https://medium.com[..]10-year-open-source-project-4a4c8c2b4f64 https://www.infoq.cn/article/AKpTM39maDU0kTRHOcU2

(google search) (amazon search)


Thu Mar 10 09:51:27 AEDT 2022 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/

Few performance tip of random ( or UUID ) for Java and Linux - https://blog.fastthread.io[..]java-uuid-generation-performance-impact/

(google search) (amazon search)



Sun Nov 07 00:16:57 AEDT 2021 From /weblog/misc

wiki


How to work with wiki - http://www.oreillynet.com/lpt/a/6646

Arguement about the pros and cons about review and approval process of editing - http://martinfowler.com/bliki/WikipediaDeath.html

Students are told not to use Wikipedia for research. But it’s a trustworthy source - https://www.zmescience.com[..]ence/wikipedia-reliable-source-05112021/

(google search) (amazon search)



Tue Sep 28 15:19:21 AEST 2021 From /weblog/misc

parsing


Resource of parsing unstructure data - http://discuss.joelonsoftware.com/default.asp?design.4.598330

Compare and explanation between parsing and regex, 100x performance difference is a big point to notice - http://www.cforcoding.com[..]/jmd-markdown-and-brief-overview-of.html

Static Analysis: An Introduction - https://queue.acm.org/detail.cfm?ref=rss&id=3487021

Static Analysis at GitHub - https://queue.acm.org/detail.cfm?ref=rss&id=3487022

(google search) (amazon search)


Mon Sep 27 00:42:36 AEST 2021 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


🤝 how to build and maintain communities - http://www.visakanv.com/blog/communities/

(google search) (amazon search)



Thu Aug 12 09:51:05 AEST 2021 From /weblog/misc

aws


AWS services explained in one line each (adayinthelifeof.nl) - https://adayinthelifeof.nl/2020/05/20/aws.html

How to choose a database on AWS - https://dev.to/aws-builders/how-to-choose-a-database-on-aws-1omh

(google search) (amazon search)


Mon Aug 09 17:58:05 AEST 2021 From /weblog/misc

document


How to write good user guide? http://headrush.typepad.com[..]onate_users/2007/03/the_best_user_t.html

Ron Jeffries' opinions of documentation in XP - http://xprogramming.com/xpmag/Ferlazzo.htm

http://www.jankoatwarpspeed.com[..]s-for-writing-an-effective-tutorial.aspx

https://herbertograca.com[..]/08/12/documenting-software-architecture

Implementing Docs as Code – Lessons and Benefits - https://jaxenter.com/docs-as-code-174941.html

(google search) (amazon search)


Mon Jun 21 23:21:12 AEST 2021 From /weblog/misc

Random unique integer number




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

unique => not statistically independent and not uniformly distributed,
cannot be generated by normal Random Number Generator.

You may consider way like shuffling (for example, put 100 integer into an
ArrayList, calls Collections.shuffle(), get the numbers sequentially).

Most of the time unique random number can be replaced by hashCode() of
something because hash seldom (at order of magnitude 10^-100 for MD5) crash,
if you don't require it to be "ALWAYS" unique, you may consider hashCode()
as well.



>> Hi Hi,
>>
>> I would like to write a method to generate a number of random and unique
>> number. I try to do it myself as following. It's work but seem to be
>> stupid.
>>
>> I try to found it at java.util.Random API but I didn't found out a better
>> solution. Please comment. Many thx
>>
>> Random generator = new Random();
>> Vector randomVec = new Vector();
>>
>> int r = 0;
>>
>> try {
>> do {
>> r = generator.nextInt(100);
>>
>> if (!randomVec.contains(new Integer(r).toString())) {
>> randomVec.addElement(new Integer(r).toString());
>> j++;
>> }
>> } while (j < 20);
>> } catch (Exception e) {
>> e.printStackTrace();
>> }

(google search) (amazon search)



Mon Jun 21 23:19:47 AEST 2021 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

Lot of productivity tools - https://medium.com[..]op-27-startup-tools-of-2017-aa9e98fc4a34

Convert everything to everything, Pandoc a universal document converter - https://pandoc.org/index.html

(google search) (amazon search)


Mon Jun 21 23:19:09 AEST 2021 From /weblog/misc

tool and concepts


# Most engineers are impressed by tools
# Tool concepts are unknown to most engineers

http://blogs.sun.com[..]st/20050210#tools_for_x_frustrations_of1

(google search) (amazon search)


Sat Mar 20 22:41:09 AEDT 2021 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/

10 Software Engineering Laws Everybody Loves to Ignore - https://www.netmeister.org/blog/software-engineering-laws.html

(google search) (amazon search)


Sun Jan 17 00:52:07 AEDT 2021 From /weblog/misc

learn new language


John: "Ken... What advice would you give Java programmers?"
Ken Orr: "Don't define yourself as Java programmers."

It is better to be clearly wrong than to be obscurely right.

UML was developed to meet the design needs of programmers. We need tools focussed on meeting the design needs of users.

Master more than one design/programming paradigm.

http://weblogs.java.net[..]s/archive/2006/03/ken_orrs_advice_1.html

And similar general advise for programmer from another guy: http://www.codeproject.com/gen/work/standaloneprogrammer.asp

The Pragmatic Programmers suggest learning a new language every year. This has already paid off for me. The more different languages I learn, the more I understand about programming in general. It's a lot easier to solve problems if you have a toolbox full of good tools.

http://www.onlamp.com/lpt/a/3691

More challenging projects every programmer should try - https://web.eecs.utk.edu/~azh/blog/morechallengingprojects.html https://www.infoq.cn/article/k5CpCGNqgfErqTol2SpX

(google search) (amazon search)


Tue Sep 29 00:53:18 AEST 2020 From /weblog/misc

news


真假難辨?Google 攜手 MyGoPen 教你用查核工具拆解不實資訊 - https://www.inside.com.tw[..]5-google-mygopen-factcheck-give-you-tips

(google search) (amazon search)



Fri Sep 06 22:56:50 AEST 2019 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

https://www.janmeppe.com/blog/regex-for-noobs/

(google search) (amazon search)


Wed Jun 12 09:45:55 AEST 2019 From /weblog/misc

construction


http://www.bbc.com[..]o-build-something-that-lasts-10000-years

(google search) (amazon search)


Sat Sep 29 15:33:50 AEST 2018 From /weblog/misc

Wikipedia


How to program with wikipedia - https://towardsdatascience.com[..]worlds-largest-encyclopedia-c08efbac5f5c

(google search) (amazon search)


Sun Jan 28 02:43:42 AEDT 2018 From /weblog/misc

boardcast


https://medium.freecodecamp.org[..]ar-of-live-coding-on-twitch-41a32e2f41c1

(google search) (amazon search)


Tue May 23 14:56:50 AEST 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)


Sat Sep 24 11:58:02 AEST 2016 From /weblog/misc

firefox


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

(google search) (amazon search)