Better HN
topnewbestaskshowjobs
Log inSign up

marcmarc

7 karma · joined Oct 8, 2008 (18y ago) · 18 submissions

http://marcbelmont.com
Submissions

comment 3y ago · link · parent

I recommend watching the YouTube channel Asianometry. He's covering this topic and more.

comment 4y ago · link · parent

You can also achieve that with this uBlock filter. Just add the following to "My Filters".

  ! Hide w3schools from Google search
  *://www.w3schools.com/*
  google.*##.g:has(a[href*="www.w3schools.com"])

3.

Digital Nomadism, Mobility and Risk(shaunbusuttil.com ↗)

1 points · by marcmarc · 5y ago · discuss

comment 5y ago · link · parent

The Gini coefficient is a relative measure. It is possible for the Gini coefficient of a developing country to rise (due to increasing inequality of income) while the number of people in absolute poverty decreases. This is because the Gini coefficient measures relative, not absolute, wealth. In Capital in the 21st Century, Piketty is looking at wealth groups (top 1%, top 10%, rest of the population). And it paints a very different picture.

comment 5y ago · link · parent

I use Emacs inside VSCode's terminal just for Magit. And I've configured Emacs to open directly with the magit-status buffer. It beats all the VSCode extensions I have tested.

  (when (string-match "code" default-directory)
    (magit-status)
    (delete-other-windows))
  (with-eval-after-load 'magit
    (define-key magit-status-mode-map (kbd "q") 'save-buffers-kill-terminal))

comment 10y ago · link · parent

You can also use the Google Drive app. Touch the plus button and then scan. It is working decently.

comment 12y ago · link · parent

The Kivy project seems to be making progress recently. However, I believe it still has a limited scope. It has poor support for native framework features/UI.

comment 15y ago · link · parent

You can speed up the build time a lot by preinstalling Scala on the phone or emulator. This will allow you to skip the Proguard step. Here's how you do it http://zegoggl.es/2011/07/how-to-preinstall-scala-on-your-an...

comment 15y ago · link · parent

When you have 100 or more buffers open, you may have two files with the same name. Using uniquify (require 'uniquify) helps differentiate them. Instead of getting file<1> and file<2> you get file:"directory_1" and file:"directory_2".

comment 16y ago · link · parent

Very nice 2 pages cheat sheet by Steve Tayon http://clojure.org/cheatsheet and pdf http://cloud.github.com/downloads/richhickey/clojure/clojure...

comment 16y ago · link · parent

You can control Firefox from emacs using MozRepl. This extension allows you execute code on the browser. For example, you can tell emacs to refresh a specific tab when an html file is saved. MozRepl is not the only extension doing that. There are 4 or 5 similar projects.

More info http://www.emacswiki.org/emacs/MozRepl

comment 16y ago · link · parent

That's exactly how I feel too. The worst part is that when I think about the cool stuff I read in the last few weeks, there's really little information I can remember.

comment 17y ago · link · parent

The design is broken on IE8

comment 17y ago · link · parent

Here's my take:

  function curry(fn, args) {
    if (typeof args == "undefined" || args.length < fn.length)
      return function() {
	if (typeof args == "undefined")
	  args = [];
	return curry(fn, args.concat(Array.prototype.slice.call(arguments)));
      };
    return fn.apply(this, args);
  }
  var add = curry(function(a, b, c) { return a + b + c;});

comment 17y ago · link · parent

The emacs shell is also cross-platform and provides the basic shell commands. It can be customized easily with pieces of elisp.

comment 17y ago · link · parent

There's also python print_r http://wiki.github.com/marcbelmont/python-print_r