News for hackers. Stuff that matters.

h2hn

Re:Show HN: Get Paid to Build Your Next Side Project on Thursday June 15, 2017 @07:14AM (#14559313)
No way man.

If you solved that problem you would be rich.

Re:How is GNU `yes` so fast? on Tuesday June 13, 2017 @08:15AM (#14544198)
Re:Alternative search engines to Google (2016) on Tuesday April 11, 2017 @06:27PM (#14093096)
Cool but requires shit (js at least)
are you american or what?

That's really insane man. Take care of yourself. :)

Re:Ask HN: Is there room for another search engine? on Sunday March 26, 2017 @02:13PM (#13962161)
Truuuue. :)

But my point is my searches usually end up in:

wikipedia, blogpost, *overflow, twitter, reddit, papers ...

So making a search engine for only those sites, could be a usable search engine indeed and I would use it if I had to. :)

Re:Ask HN: Is there room for another search engine? on Sunday March 26, 2017 @01:29PM (#13961872)
I don't see any problem here.

I've been using startpage for the last 5 years and I'm not looking back. I woudn't have any problem using any other search engine, nowdays any search engine works. The 3 or 4 times that I googled these years I found it pretty weird.

tl;dr: There's plenty of room, just not enough gray matter. :)

I spent the last week testing ext4/btrfs/zfs on Linux and I found that zfs is rather slow and btrfs has improved its performance a lot in the last years (I should refined the script a bit, upload some graphics and make a post).

https://gist.github.com/liloman/d525131fab9b9a440140905921e9...

I'll give it a try on bcachefs. :)

The script needs a 512MB spare disk partition and some basic changes but the fundamental work is there.

Re:How to securely recycle or dispose of your SSD on Thursday March 16, 2017 @07:40AM (#13884194)
Awesome video.

I've watch the video at least 2 times it's great and interesting. :)

I cannot recommend all the CCC media highly enough. ;)

Re:Silent Data Corruption Is Real on Monday March 13, 2017 @12:40PM (#13859457)
Got it but not for my use case then cause I don't want to halve my storage capacity.

Anyway I will try to use it for my main PC which has several disks and continue to use my solution for single disk machines (laptop, vps, SoC...). :)

Re:Silent Data Corruption Is Real on Monday March 13, 2017 @09:24AM (#13857564)
Ok, so zfs for single drive users doesn't fix single data corruption.

Definitely I'm going to use my solution so. All the next generation FS stuff is cool (btrfs also indeed) but for the simplest use case people just need safe data and fix it it the disk goes bad.

Re:Silent Data Corruption Is Real on Monday March 13, 2017 @07:14AM (#13856770)
Is zfs able to repair from single data (copy) corruption?

My main issue is to be able to repair a "silent" data corruption on a single drive machine. Am I able to use x% of my "partition" to data repair or do I need to use other partition/drive to mirror/raid it?

If I understand right zfs can detect bitrot ("not really" a big deal) but without any local copy It can't self heal.

My use case is an arm A20 SoC (lime2) to storage local backups among other things, so I need something that detects and repairs silent data corruption at rest by itself (using a single drive).

A poor man NAS/server. ;)

Re:Silent Data Corruption Is Real on Sunday March 12, 2017 @05:21PM (#13853197)
Interesting.

That's rigth the kind of hardware I was referring to, 1 GB of plain RAM. Truly, I haven't tested ZFS yet for that reason I've always read that ZFS has big requirements so I refrained to try it. It seems I should give it a try. ;)

Btrfs is another story I've used it for years and I'd prefer not to have to use it anymore untill it'll become "stable" and "performance". :)

Re:Silent Data Corruption Is Real on Sunday March 12, 2017 @04:50PM (#13853021)
I started a really simple and effective project the last month to be able to fix from bitrot in linux(MacOs/Unix?). It's "almost done" just need more real testing and make the systemd service. I've been pretty busy the last weeks so I've only been able to improve the bitrot performance.

https://github.com/liloman/heal-bitrots

Unfortunatly, btrfs is not stable and zfs needs a "super computer" or at least as much GBs of ECC RAM as you can buy. This solution is designed to any machine and any FS.

Seriously, I'm been using it for more than 5 years and I've only enabled it for local sites and everything is working.

It depends on what sites you browse. I don't do any social, use google or any other crap, so it's enabled to 0 internet sites with no problem.

If I need to activate it I have a shortkey (vimperator) that opens a new firefox profile (private and prepared to load crap) for the current site so I don't load any terrible UX in my default profile.

NoScript, ublock and SDC are a must for the current state of Internet. It's like drop the garbage out the window than in the garbage bin, you need to put care into it. :)

Re:Window Maker 0.95.8 released on Saturday March 11, 2017 @02:29PM (#13846758)
I used it for 10 years till 6 years ago. kudos for it!!
Re:Containers Come to Firefox Test Pilot on Thursday March 02, 2017 @03:28PM (#13777878)
if you're a technical person you don't associate containers with docker. That technology is much older than docker and even with that there're so many alternatives than docker is just one more.
Re:Jailhouse: partitioning Hypervisor based on Linux on Thursday February 16, 2017 @07:04AM (#13659219)
Interesting
Re:Ask HN: Best way to store large amount of binary files? on Thursday February 16, 2017 @05:11AM (#13658799)
That's the way how git and git-annex work.
The spender's opinion is interesting:

https://lwn.net/Articles/668735/

Re:Mastering Bash and Terminal on Sunday January 15, 2017 @06:30AM (#13403566)
I'm glad you liked it. :)

I don't understand why the default bash/readline doesn't get something related for substring search or way better autocompletions, it's really not that hard definitely (actually quite easy) and even when that's the reason for a lot of people to choose zsh over bash.

Re:Mastering Bash and Terminal on Saturday January 14, 2017 @07:13PM (#13401454)
I actually resolved most of that common issues with just bash: :)

Substring history search, so you can use just a substring to look for a argument,command. Binded to ctr+r/s by default. ;)

https://github.com/liloman/asyncBash#use

Changing directories: Last n directories, transparent popd/pushd.

https://github.com/liloman/dirStack

Movements: vim-surround for your cli, so you can do ysiw" o whatever... ;)

https://github.com/liloman/bash-surround

Control-n right: So just type the start and control+n to search for the arguments/commands starting with whatever. And the classical up/down to look up for a complete history line:

https://github.com/liloman/dotfiles/blob/master/bash/.inputr...

https://github.com/liloman/dotfiles/blob/master/bash/.inputr...

There're a ton of hidden functionality and customization behind the classical bash instalation. :)

Re:Firefox 50.0 on Tuesday November 15, 2016 @05:40PM (#12962983)
Cool.

I've been using a combination of NoScript,Self-destruction coockies,ublock and a personal vimperator script to wipe out all that nasty stuff when I close the window.

https://github.com/liloman/dotfiles/blob/master/vimperator/....

https://github.com/liloman/dotfiles/blob/master/Scripts/Scri...

By the way firefox is pretty nasty by default and you must do a lot of hard work to evade tracking, in special by google:

https://github.com/liloman/dotfiles/blob/master/vimperator/....

Of course you must use custom fonts if you don't want to be tracked by google for every single webpage you enter.

I think I will play with containers for firefox when I try firefox 50. Something like a new container for every tab, I reckon It must be pretty easy with vimperator(or whatever plugin you like) to make .

Put your vimperator/penta/vimium/X to work for you. :)

Re:Show HN: Tomato – Pomodoro Timer on Monday September 26, 2016 @07:10PM (#12586401)
I made a pomodoro app for Linux based on taskwarrior. I have been using it for a while with free sync online ... https://github.com/liloman/pomodoroTasks
Re:Analyzing Last.fm Listening History on Tuesday June 14, 2016 @10:27AM (#11902190)
Cool I have a great collection in lastfm also. So I should check it out...