Better HN
topnewbestaskshowjobs
Log inSign up

clvv

65 karma · joined Apr 28, 2010 (16y ago) · 49 submissions

Submissions

1.

Navigating Privacy on Public Blockchains(wdai.us ↗)

5 points · by clvv · 4y ago · discuss

2.

The Complicated Relationship Between Ethereum-Based NFTs and the Environment(alexandrarubio.com ↗)

2 points · by clvv · 5y ago · discuss

comment 14y ago · link · parent

This video has a very good introduction to the problem.

https://www.youtube.com/watch?v=eAiJocr6ZKg

comment 14y ago · link · parent

Tools similar to z:

1. [Autojump](https://github.com/joelthelion/autojump), first implementation and what z was based on, written in python. Functionality similar to z.

2. [Fasd](https://github.com/clvv/fasd), feature-rich fork of z, support for files, support for more shells and platforms (BSDs, Android).

comment 14y ago · link · parent

I think the compiler would already be available in javascript if that's the case.

comment 14y ago · link · parent

It is always better to have alternatives. Being self-hosting and compiling to a widely-used language like javascript is definitely a plus. Another useful case is that an interactive "Try Fay" page can be setup (like "Try CoffeeScript" page).

comment 14y ago · link · parent

I wonder if there're any plans to make it self-hosting. It would be more appealing if it can run in browsers and node like CoffeeScript.

comment 14y ago · link · parent

I hope Firefox OS will get frequent updates just like desktop browsers. If Mozilla manages to bring all the advantages of modern desktop browser technologies on to a mobile platform, I vision they will gain their market share.

comment 14y ago · link · parent

What about Native American cultures? They had not seen horses until the Europeans arrived, but they certainly had pants.

10.

Undo - undo shell commands(github.com ↗)

3 points · by clvv · 14y ago · discuss

comment 14y ago · link · parent

If you're using X, then xcape can map both Esc and Ctrl to Capslock. https://github.com/alols/xcape

comment 14y ago · link · parent

Here is a quick-and-hackish way to stream / broadcast your terminal (http://www.commandlinefu.com/commands/view/6788/):

    script -qf | tee >(nc -l -p 5000) >(nc -l -p 5001) >(nc -l -p 5002)
The client can then run `nc your_ip port` to watch your terminal live.

Also, I once wrote a node.js script that broadcasts recorded terminal sessions. To see a demo:

    nc wei23.net 5000
Code is on Github: https://github.com/clvv/scriptbroadcast

13.

Boost your command line productivity with "fasd"(github.com ↗)

2 points · by clvv · 14y ago · 1 comment

comment 14y ago · link · parent

The problem is the lack of an efficient input method. I personally haven't come across any good soft full keyboard. And special keys won't work on bluetooth keyboards on old Android versions. I personally do not have a ICS device yet, but I think it's definitely possible to develope on ICS if the input problem is solved.

comment 14y ago · link · parent

> It's a near certainty that a bash interpreter will be available on a Unix system; bash has become the JVM of the Unix world.

Don't assume this if you want your shell scripts to be portable. Follow posix standard instead.

comment 14y ago · link · parent

I agree that WebOS has a good ambition. But maybe that they should have updated their software stack more often. If you look at the software versions, such as Webkit, V8, node, you find that their collection of tools are heavily outdated. That's completely against the nowaday web standard of fast updating.

comment 14y ago · link · parent

People can accomplish the same thing after learning a mental algorithm to calculate the day of the week. Doomsday rule, invented by Mathematician John Conway, is one of the easier ones to remember.

18.

F - command line tool for quick access to recent files(github.com ↗)

1 points · by clvv · 14y ago · discuss

comment 14y ago · link · parent

An asian high school senior here. I'm currently in the process of applying to colleges. In most college applications, demographics are listed under the section where they say the information you provide won't hurt your change of getting in. I have not and will not lie about my race on any of the applications. I understand that, statistically, it will hurt my chance of getting into a top-tier college, considering I don't have perfect SAT score and GPA. But I believe that the admission officers would be wise enough to evaluate a person as a whole instead of just puting "tags" on him/her.

comment 15y ago · link · parent

I've been using HP dm1z for half a year now. It's a pretty good portable laptop with good battery life. Although in terms of computing power it won't compare to the airs. But at $400 it is a pretty good MacBook air alternative.

comment 15y ago · link · parent

Some related references:

http://mathworld.wolfram.com/KaprekarRoutine.html

http://en.wikipedia.org/wiki/6174_(number)

The Wolfram link contains a list of Kaprekar numbers and Kaprekar sequences in common bases.

comment 15y ago · link · parent

I believe the reason is memory latency, and the sequential nature of CPUs. http://en.wikipedia.org/wiki/SDRAM_latency

I'm no expert on this subject but I think Moore's Law is more or less still true, as we are getting more and more cores. Note that Moore's law never stated that clock speed doubles every 18 months. In fact, more transistor can cause a decrease in clock speed because of more gate delays.

http://en.wikipedia.org/wiki/Gate_delay http://en.wikipedia.org/wiki/Cpu#Clock_rate

Please correct me if I'm wrong.

comment 15y ago · link · parent

A partially related topic(maybe many of you already know): I was learning about minimizing logic expressions the other day, and I learned about the Karnaugh Map, which uses Gray code for its axes. You can read more about it here: http://en.wikipedia.org/wiki/Karnaugh_map

comment 15y ago · link · parent

Lucius: https://github.com/vim-scripts/Lucius

comment 15y ago · link · parent

> Posted: January 13th, 2007

That's four years ago.

comment 15y ago · link · parent

Interesting project. I'm looking forward to see the results. This reminds me some of the mental algorithms I was thinking about: How do you generate a random number without electronic devices? How do you generate a random permutation without electronic devices? How do you generate a hash without electronic devices? How do you do the above most efficiently? How about without any pen, pencil or paper?

It will be cool if you can master mental cryptography.

comment 15y ago · link · parent

I found myself using Emacs keybinding for line wise operation and movement in both vim and shell. It is just verbose to switch between editing modes sometimes.

comment 15y ago · link · parent

Another trick that I don't see people mention(excuse me if somebody here already did) is the bash history completion:

\esc \tab

This will complete based on your history, argument wise. Very useful when tab completion itself doesn't satisfy you.

comment 15y ago · link · parent

Interesting, but until some real use case or adoption, these Bitcoins sound like Internet stocks to me.

edit: I didn't really look into it, but I'm going to now.

comment 15y ago · link · parent

Dotfiles are really great in terms of portability.
12