---
title: "Mark (@mverleg) | Hashnode"
description: "Mark (@mverleg) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@mverleg"
---

@mverleg

# Mark

@mverleg · Netherlands · Joined January 2018

[Website](https://markv.nl/)

## Comments

[There is indeed a low limit on GET uploads. To solve that, don't use GET. See this stackoverflow question . Servers may also impose an upload limit, which is usually higher by default (several MBs or more). If that's the problem, you need to check your server configuration and increase the limit, or tell us which server software you use. EDIT Since your error specifically says url, it's probably not a server configuration issue. But you may run into that later if files get very large.](https://hashnode.com/forums/thread/save-image-as-base-64-string/comment/5f69f9ca1c935b2e4c615d35)

Comment · Thread · Sep 22, 2020 · [Save image as base 64 string](https://hashnode.com/forums/thread/save-image-as-base-64-string)

[Python has requests for getting that from remote servers, and beautifulsoup for converting the data to Python objects (if it's html). That'd be a starting point. Request one page from a server. If that works, take the response text and turn it into Python objects. Look up the data you want inside. Then repeat for multiple pages. Eventually you may want to make it faster by doing multiple requests at the same time. You can use multiprocessing.Pool. But get it working first, being optimizing.](https://hashnode.com/forums/thread/web-botting-with-python-requests/comment/5f69f855cbf0b22e6d44366c)

Comment · Thread · Sep 22, 2020 · [web botting with python requests](https://hashnode.com/forums/thread/web-botting-with-python-requests)

[Glad they're eventually going to make it easy to rename in existing repositories; it would be annoying to do by hand, but also annoying to have different names in different repos. I wonder if someone will make some git extension to make "master" an alias of "main". Now that I think about it, I usually do "git init" and add a remote later. I guess this change only works if you clone the empty repo that Github creates. Is git itself going to change too?](https://hashnode.com/posts/github-to-rename-the-default-branch-to-main/5f68859935d6463d2b5f9654/comment/5f68b9a835d6463d2b5f9ad4)

Comment · Article · Sep 21, 2020 · [GitHub to rename the default branch to main](https://hashnode.com/posts/github-to-rename-the-default-branch-to-main/5f68859935d6463d2b5f9654)

[I wrote a longer answer to a similar question long ago, but I can't find it anymore, so briefly: Good job contributing to open source! It's a great way to learn and it helps the community. Sometimes repositories have a label "good first issue" or "beginner issue", or they organize such issues in another way. If that doesn't work, maybe you could check some issues and try to pick the most accessible one. Frameworks are usually pretty big and use fairly complex code to do what they do. You might have a much easier time getting started on a smaller, non-framework project (it could still be something that uses Vue). If you want to work on an issue, you could leave a comment to ask for help. It might not work, people are generally quite busy, but it's not rude to ask. You could either ask for some hints on where to start, or some specific questions on what you're unsure about. Don't just say "I need help". If you want to help the project, there are many ways other than code: documentations, tutorials, finding bugs, ... If you want to practise programming this won't help, though. If you're unsure about how to interact on Github, several people have written blog posts on Hashnode about that, might be useful to check that out.](https://hashnode.com/forums/thread/how-to-contribute-to-open-source/comment/5f67341135d6463d2b5f8b8a)

Comment · Thread · Sep 20, 2020 · [How To Contribute to open source ?](https://hashnode.com/forums/thread/how-to-contribute-to-open-source)

[Interesting, thanks! Git has a committer and author date, do you happen to know which one(s) this updates?](https://hashnode.com/posts/git-hack-make-commit-with-a-past-date/5f65ec356dfc523d0a8932f8/comment/5f6627e435d6463d2b5f842d)

Comment · Article · Sep 19, 2020 · [Git Hack: Make commit with a past date](https://hashnode.com/posts/git-hack-make-commit-with-a-past-date/5f65ec356dfc523d0a8932f8)

[The concept is the same for developers as for others, but you explained it in a way that's clear for developers, which is great. Plus most of us wouldn't read an investment blog but would this one :)](https://hashnode.com/posts/how-developers-can-supercharge-their-savings/5f6455d542517c243446208e/comment/5f66266e35d6463d2b5f8411)

Comment · Article · Sep 19, 2020 · [How Developers Can Supercharge Their Savings](https://hashnode.com/posts/how-developers-can-supercharge-their-savings/5f6455d542517c243446208e)

[A tricky part about Rust's immutability is this: fn f() { let list = Vec::new(); g(list); } fn g(mut list: Vec<i32>) { list.push(1); list = Vec::new(); } We're changing the list that was immutable. Maybe this seems weird for several reasons: 1) wasn't the list an immutable object? 2) why doesn't that work with borrows? 3) why does Rust let me change immutable to mutable? The first thing to remember is that, just like other languages such as Java, it's the reference that is immutable, not the object itself. Just, unlike Java, this also applies recursively to anything within the reference. Another thing to remember is that, if you pass an object to another method, you're either passing sole ownership, or you're sending a copy. If function f passes sole ownership of the list to g, then f cannot have any references anymore. Whatever g does, it won't affect f. So it's no problem if g makes it mutable. And if f passes a copy, of course it won't care what g does with that; it still has it's own version.](https://hashnode.com/posts/variables-and-mutability/5f65008167d51d3b5d47980b/comment/5f6625bb35d6463d2b5f8402)

Comment · Article · Sep 19, 2020 · [Variables And Mutability In Rust](https://hashnode.com/posts/variables-and-mutability/5f65008167d51d3b5d47980b)

[I think it's useful to highlight that this is a much stronger type of immutability than e.g. Java's final, or equivalents in many languages. If in Java we make a list: final var list = new ArrayList<Integer>(); we cannot reassign it: list = new ArrayList<Integer>(); but we can change it just fine in other ways: list.add(1); list.add(2); list.clear(); Rust's Vec is a quite similar datatype Java's ArrayList: let list = Vec::new(); but we cannot change it at all: list.push(1); list.push(2); list.clear(); gives: error\[E0596\]: cannot borrow \`list\` as mutable, as it is not declared as mutable We might say that Java (and most others) has shallow immutability, while Rust's is deep. There are some caveats though, mostly RefCell, Mutex and RwLock.](https://hashnode.com/posts/variables-and-mutability/5f65008167d51d3b5d47980b/comment/5f66238e6dfc523d0a893514)

Comment · Article · Sep 19, 2020 · [Variables And Mutability In Rust](https://hashnode.com/posts/variables-and-mutability/5f65008167d51d3b5d47980b)

[Losing a lot of employees makes it sound bad, no matter how it's announced. But it should be kept in mind that adapting is of course much better than continuing on the same path if things aren't going so great. So let's hope it all works well :-) I actually first noticed the changes because people were moved off the Rust team. I can totally understand that, Rust is not Mozilla's core business, but as a Rust-lover its sad. Personally I like Firefox and I'll probably keep using it for the forseeable future. At work I sometimes use Chrome. I slightly prefer Firefox for features and addons. And I think it's good for the internet to have an open organisation and less monopoly. It does use more ram in my experience, but not a lot. Finally: I'm wondering what the best way to support Mozilla is. (I think in a way devs like me are not good for Mozilla, because Mozilla gets most of their money from making Google default search engine, but if Google stops and the default changes, devs are not going to be using Bing instead. So maybe the sponsoring is mostly for less tech savvy people not knowledgeable enough to change search engine.)](https://hashnode.com/forums/thread/changing-world-changing-mozilla/comment/5f5f7ffb93fd9275f04d39b2)

Comment · Thread · Sep 14, 2020 · [Changing World, Changing Mozilla](https://hashnode.com/forums/thread/changing-world-changing-mozilla)

[Useful warning to prevent this pitfall! Some languages like Python understand this syntax (so that 1 < 2 < 3 is the same as 1 < 2 and 2 < 3). Many others give an error. I think Javascript's behaviour is an unfortunate mistake.](https://hashnode.com/posts/why-3-greater-2-greater-1-gives-false/5f5cbff1ddc3fe5f4f24d06a/comment/5f5cd57e13599a5f2e33f4e2)

Comment · Article · Sep 12, 2020 · [Why 3 > 2 > 1 gives false](https://hashnode.com/posts/why-3-greater-2-greater-1-gives-false/5f5cbff1ddc3fe5f4f24d06a)
