anty.info

Comments and help on web development.

My Bitcoin miner

Because I believe in the future of Bitcoins I built this 1.4 Gh/s mining rig: MB: MSI 890FXA-GD70 (4 usable PCIe slots) CPU: AMD Sempron 145 (2.8GHz, there’s no need for a fast CPU in mining) RAM: KINGSTON 1GB CL7 KVR1066D3N7/1G (cheapest available RAM) GPUs: 4x Sapphire Radeon HD 5850 Xtreme (came in stock at [...]

Solution for error: hd0 out of disk

I’ve installed Ubuntu 11.04 on a USB pendrive and it booted fine. But when I put it into my new PC I got the grub error: “hd0 out of disk”. I could boot manually by typing ls (hd0,msdos1)/ insmod (hd0,msdos1)/boot/grub/linux.mod normal But I couldn’t get grub to automatically do this. The solution was simply updating [...]

Dynamic row length for h:dataTables…

… isn’t possible, as far as I know. Use this instead: <table> <ui:repeat value="#{columnBean.columns}" var="rows"> <tr> <ui:repeat value="#{rows}" var="row"> <td><h:outputText value="#{row}"/></td> </ui:repeat> </tr> </ui:repeat> </table> columnBean.getColumns() returns List<List<String>>. e.g.: public List<List<String>> getColumns() { List<List<String>> columns = new ArrayList<List<String>>(); for (int y = 0; y < 6; y++) { List<String> rows = new ArrayList<String>(); for (int [...]