Old Young Boys Club

Soccer, Joke and Java


  • Home

  • About

  • Tags37

  • Categories7

  • Archives33

  • Search

Merry Christmas: For to Us a Son Is Given

Posted on 2018-12-25 | Edited on 2019-09-03 | In Life
Symbols count in article: 1.4k | Reading time ≈ 1 mins.

Just came home from GNIT SF monthly gathering and I was deeply grateful for the community life. This Christmas has some special meaning to me and very likely I will always remember it.

Read more »

Percolation, Predestination, and Freewill

Posted on 2018-12-24 | Edited on 2019-09-03 | In Code
Symbols count in article: 12k | Reading time ≈ 11 mins.

Yeah, I just finished week 1 assignment of Algorithms, Part I about percolation, but why the hack this post trying to talk about Predestination and Freewill, a religious topic that would be super boring? OK. Calm down, calm down and watch this video first, my friend. It’s a silent film lasts only 20 seconds.

Read more »

5 Things I Won't Tell You About Algorithms, Part I

Posted on 2018-12-24 | Edited on 2019-09-03 | In Code
Symbols count in article: 5.8k | Reading time ≈ 5 mins.

Algorithms, Part I at Coursera by Princeton University would be the best online Algorithms course I’ve ever enrolled in. I highly recommend you to take a look, though there are 5 things I don’t want to - or at least hesitate to tell you about it.

Read more »

Behind-the-Scenes Secrets of Jsoup V: Tips & Tricks of Optimization

Posted on 2018-12-17 | Edited on 2019-09-03 | In Code
Symbols count in article: 9.1k | Reading time ≈ 8 mins.

We have done things right, now it’s time to do things faster. We would keep Donald Knuth‘s warning in mind, “We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil”.

Read more »

Behind-the-Scenes Secrets of Jsoup IV: CSS Selector

Posted on 2018-12-16 | Edited on 2019-09-03 | In Code
Symbols count in article: 8.7k | Reading time ≈ 8 mins.

Most of the time, you are just consuming the Document Jsoup built for you, like document.select(${selector}). It would be helpful to go through W3C CSS Selector Specification to understand Jsoup’s roadmap. We have talked about Node Traverse before, what Selector will actually do is just filtering and collecting while traversing, and the key point here will be parsing and evaluating given queries.

Read more »

Behind-the-Scenes Secrets of Jsoup III: The Tree and The State Machine

Posted on 2018-12-15 | Edited on 2019-09-03 | In Code
Symbols count in article: 11k | Reading time ≈ 10 mins.

Ready? The challenging task finally came. We will build a tree this time so that you don’t have to traverse before it was built.😅TreeBuilder has two implementations, XmlTreeBuilder is relatively easy while HtmlTreeBuilder is much more complex. And we will go through them today.

Read more »

Behind-the-Scenes Secrets of Jsoup II: Traverse A Tree Before It Was Built

Posted on 2018-12-14 | Edited on 2019-09-03 | In Code
Symbols count in article: 6k | Reading time ≈ 5 mins.

Here we go! We’ve got a HTML or XML snippet, it would be clean or dirty, small or large, safe or dangerous, but our task won’t change. We need to extract and manipulate data supporting the best of DOM, CSS, and jquery-like methods. The basic idea would be crystal clear, you need to build a DOM tree and traverse it with or without filtering. That’s it. Sounds easy, right?😅Then Just Do It…and you would probably…cry.

Read more »

Behind-the-Scenes Secrets of Jsoup I: Introduction

Posted on 2018-12-14 | Edited on 2019-09-03 | In Code
Symbols count in article: 6.6k | Reading time ≈ 6 mins.

Jsoup would probably be the most popular “working with real-world HTML” library in the Java community. I’ve been using it for web crawler stuff since 1.7.3(latest release is 1.11.3), but a little bit surprised to see that there is little introduction or analysis regarding its source code and implementations.

Read more »

Chocolatey and Boxstarter: Setup Development Environment on Windows Like Never Before

Posted on 2018-12-12 | Edited on 2019-09-03 | In Code
Symbols count in article: 1.7k | Reading time ≈ 2 mins.

How many times have you googled “jdk download windows”, then download, click, click, and click? You don’t have to be like this even if you are using Windows. Chocolatey and Boxstarter are gospel for Windows users. Below is just an example: One Command To Install Them All!

1
cinst jdk8 jdk11 git intellijidea-community vscode nodejs everything f.lux -y

Read more »

Beware! Old Young Boys Club Might Be An Adult Content Website According To Bing Ads

Posted on 2018-12-10 | Edited on 2019-09-03 | In Joke
Symbols count in article: 2.1k | Reading time ≈ 2 mins.

Bing Ads is just AWESOME! It will give you a coupon code for $100 in search advertising once you registered. So why not use it? I created my first campaign for this little website and got a surprise joy immediately. It was disapproved. The reason is…Bing Ads said my blogger violate its Adult Content Policy. Yes, ADULT CONTENT POLICY.

Read more »

1234
Nathanael Yang

Nathanael Yang

An Old Young Boy

33 posts
7 categories
37 tags
RSS
Twitter LinkedIn GitHub E-Mail Instagram Skype
Creative Commons
Links
  • Java Never Sleep
  • Java Tutorial
© 2018 – 2019 Nathanael Yang | 136k | 2:03
Powered by Hexo v3.8.0
|
Theme – NexT.Gemini v6.5.0
Java Code Geeks