Sign in

Photo by Paweł Czerwiński on Unsplash

This is a post-mortem on building a web scraper. I experimented with using it to make a proof of concept for being able to extract data out of an NFT marketplace. It required a couple of Ruby gems, HTTParty (for making the requests to pull up the NFT marketplace) and Nokogiri (for parsing the HTML on the pages).

Here’s what the primary method definition looked like:

Credit: Bekky Bekks

It’s easy sometimes to get caught up in negativity. Watch TV, open a browser or app and it’s almost like hanging out in a smokey bar — it sticks to you and if you’re in it long enough you’ll feel awful later, even after you’ve moved onto something else and the smoke is gone.

Day in, day out, in the smokey bar… so just wanted to share what I’m doing to try to open the window, in case anyone else also feels it sometimes — a 5 minute journal.

Just spending a few minutes focusing on things and people to be thankful for. Things to be proud of. Amazing stuff that’s almost like magic / surreal that you can see when you stop and look around.

Here’s a template…

🎈 5 minute journal 😀

Credit: Jon Tyson

In Solidity, pure and view are function modifiers. Modifiers are add-ons to functions that contain conditional logic [1].

A pure function:

function info() public pure returns (string memory) {
return 'This function is returning a basic string.';

A view function:

function hasValue() public view returns (bool) {
return value;

The difference between the two, is that a pure function cannot read/write/change state, it just executes [2]. The view function is actually looking up a state (true/false) and returning the value. Another example of a view function might be looking up a balance. …

Credit: Scott Webb

MacOS Big Sur makes changes related to JAVA_HOME and will result in an error message stating No JDK found despite there being a JDK. Here's how I resolved it.

From the command line, I ran /usr/libexec/java_home -V. This will output the Java VMs that are installed:

Matching Java Virtual Machines (4):    
14.0.1 (x86_64) "UNDEFINED" - "OpenJDK 14.0.1" /usr/local/Cellar/openjdk/14.0.1/libexec/openjdk.jdk/Contents/Home (x86_64) "Oracle Corporation" - "Java" /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
1.8.0_271 (x86_64) "Oracle Corporation" - "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home
1.8.0_251 (x86_64) "Oracle Corporation" - "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_251.jdk/Contents/Home

If you don’t see JDK 1.8, then you should go to and install it. Assuming…

Credit: Content Pixie

Maven, when installed via Homebrew on MacOS, defaults to using the latest Java installation. In my case this was OpenJDK, which was causing me to experience compilation errors when working with the NanoSat MO Framework.

The fix was to change the default Java version used by Maven to 1.8 by navigating to /usr/local/Cellar/maven/3.6.3_1/bin/ (version may vary) and updating JAVA_HOME in mvn from:



"${JAVA_HOME:-$(/usr/libexec/java_home -v 1.8)}"

Once this is done, I was able to run mvn install with the correct JDK and without issue.

Credit: Clark Van Der Beken

I made the personal commitment to finish a rough-cut of a landing page in less than a day. The reason I put one together was because I was experimenting with the idea of setting up a two-sided marketplace.

It took me a few hours (with some breaks in-between).

How it went


I had a skeleton from another project I had messed around with years ago, so I revived a bunch of the html/css and began stripping out the content.


I had to start off with a bunch of the metadata for a few of the pages. Metadata, as in, the title tag and…

Credit: Mike Von

I love how easy Visual Studio Code makes things, especially when it comes to working on the frontend of websites. The autocompletion features and extensions make writing code a breeze so I can focus on the solution I’m trying to implement.

But when I started messing around with ERB views in a Ruby on Rails app, I ran into problems. Normally I would look to see if there’s an extension available with built-in helpers to simplify code completion. …

Will Binns

Full Stack Developer. Bitcoin, Ethereum, DeFi and Smart Contracts.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store