HNHacker News
TopNewBestAskShowJobs

rshm

208 karma · joined June 7, 2011

submissionscomments
rshm··on What it’s like remote working in Nepal
Scandal few months back about electricity. http://nepalitimes.com/article/nation/corruption-in-electric...

i would look into Ubiquiti as well for network.

rshm··on Verizon reaches tentative agreement to lower price of Yahoo deal: Bloomberg
https://www.bloomberg.com/news/articles/2017-02-15/verizon-r...
rshm··on [dead]
Though April Fools joke. This reminds me of sqlite's extensive test coverage. I assume any code running in medical/critical devices are tested extensively.
rshm··on Rocket, Rust Web Framework, v0.2: Managed State and More
Still without ssl. Nice to see lots of stars and forks.
rshm··on In Just 5 Moves, Grandmaster Loses and Leaves Chess World Aghast
What additional value does the ranked pool bring compared to random pool for pairing.

Game pairing in Go for example is usually a random pool (bingo; pick your number from a bowl), after that it is straightforward knockout.

rshm··on Python to Circuits
My hobby experience might not be similar to professional usages. In past thought about such tools, considered python for its ease of use and being dynamic. I was leaning towards electron/node.js for native html/css/svg based model generation and display. Also a hybrid approach with point and drag as well as programming facilities generating pcb or components.

It is not a 1-1 comparison but one distant example would be plain text html/css vs frontpage and dreamweaver. Over the time i have seen for a serious work done using plain texts instead of studio based design (may be specific to HTML?).

rshm··on Paper is the real 'killer app'
For past several years I have Command+W mapped to sublime text opening text file named wiki for any notes on computer. Mostly copy paste and ctrl+f.

For any TODO or small notes i fall back to half sized index cards 3"x2.5".

For brainstorm use yellow legal pads with pilot V5 and tear them off once done.

rshm··on Paper is the real 'killer app'
I have the same pen. I prefer dark and rich lines, as long as it dries immediately and does not bleed.

One thing i do with all fountain pens are to resurface the nibs using dremel or grinding on any fine surface. Basically a hit and trial to get fine calligraphy like quality, writing after that is more consistent and in control.

rshm··on Rust vs. Go
Its a work in progress, but available bits were helpful.

http://aturon.github.io/

rshm··on Google reveals secret test of AI bot to beat top Go players
One example: 구리 (Roman : guli for player Gu Li), is translated to Copper (Literal Word meaning).

One area google translate could look at is the name identification from the context and using roman instead of literal translation.

rshm··on Google reveals secret test of AI bot to beat top Go players
https://gokibitz.com/kifu/HkgGNBjqre

This game is a mirror go upto move 72. Black player is https://en.wikipedia.org/wiki/Chou_Chun-hsun

rshm··on Bitcoin Now Worth More Than Twitter
Twitter's valuation is becoming a favorite recently. Much like how number of books in Library of Congress, used to be standard for hard disk capacity.
rshm··on Qualcomm Demos 48-Core Centriq 2400 Server SoC in Action, Begins Sampling
Except the core counts, no other specs like frequency, power or cache. Are there any qualcomm docs.
rshm··on Salto – UC Berkeley’s Agile Jumping Robot
While i agree with both the parts. I like to ponder on "high interest credit cards". I believe, hacking in some form is also tinkering with the solved problems with a new approach. The optimal solution might not change but the approach gets refined thus lowering interest rates for something else.
rshm··on Autopilot Full Self-Driving Demonstration [video]
I hope they are using GPS/Map data for existing signs along with visual identification of the signs. Even when the gps is not accurate enough, the system should amplify the accuracy of the location based on permanent objects and the topography.

Either on the first video or some news, i think i heard the ability to drive where the lanes are not clearly defined. Things such as snow would absolutely requires such reconstruction.

rshm··on Using Rust for 'Scripting'
I considered rust for daily scripts for the performance and statically compiled binary. But had to give up when the complexities from borrower checker came up and not to mention the limitation of libraries.
rshm··on Samsung Foundry Announces 10nm SoC in Mass-Production
The power/performance advantage holds up. First or exclusive use of new chips might aid them offsetting the fallout from N7 disaster.
rshm··on Ask HN: Learning to code, without a computer?
I had few months of GWBASIC experience from high school. Relative living in US mailed me Java the complete reference, i think the first editition with peter naughton still as co-editor. It was not a dedicated effort but read the book several times for two years during free hours without computer (could not afford one). Finally after getting used pentium, the transition to real programming was easy and fast. I remember having aha! moment of oop after year and half but by the end of two years i had pretty much mastered the core java.

I was driven by courisity, no pressure of completion and had all the time in the world. The book was thick with complete programs with outputs instead of snippets. Book also had list of all core packages, class and their members. It helped to grasp the core libs before hand.

I would suggest a comphrensive book. I have not checked any Osborne reference series since then, but check if there are similar ones for python.

rshm··on Show HN: Open-source search engine with 2bn-page index
As of aug 16, common crawl has 1.73n pages. For the complimentary set of urls, if any benefit you can use their data dump as seed.

If the metadata (such as last modified) size of your index is small enough to upload to aws, you can also reduce your re-crawl efforts when they have a fresh release.

rshm··on No Space Left on Device
Probably lucky. File names are md5 of the content, i am not sure if it helped on collision on 32 bit md4.

The linked post mentions dir_index default and tune2fs -l lists the dir_index under Filesystem features only.

Not knowing this default behavior, i was considering enabling dir_index explicitly to aid chocking rsync.

EDIT: I ran the reproduction code with 200K instead of 100K just to be sure. There was no problem creating file as well as copying all the files to a different folder. The disk was formatted about 3 months ago and mounted with default options "ext4 noatime,barrier=0 0 0" . On original as well as copied folder `ls | wc -l` still gives 200000.

rshm··on No Space Left on Device
No date on the post. Probably old and fixed now. Just checked with a random folder, it happily supported 782292 files.
rshm··on Intel Programmable Systems Group takes step towards FPGA based system in package
I would consider Cypress's PSoC as an ARM kit with a small logic block embedded. Except what is already present in the chip (DAC,CAN ..), it is impossible to implement any complex solution on the limited logic cells present in PSoCs.Basically glue layer between ARM and other components in design.

Closest thing might be Xilinx Zynq or Stratix 10. Both are comparable PSoC, comes with ARM core but with high density FPGA instead of small CPLD.

The MX series from article adds DRAM in larger size and with larger bandwidth than what is available currently.

My understanding of PLD/CPLD vs FPGA is that the CPLD is based of EEPROM for logic cells which are programmed before deployment (With exceptions), and they are operational as soon they are powered up. They are generally small in terms of number of logic cells they offer.

FPGA in other hands are based on RAM. They are programmed / booted at the power on (Internal/External Flash). They become operational once the program/design is transferred from flash to RAM based logic cells. They offer large number of logic cells thus allows the implementation of complex designs.

rshm··on Qlik acquired by Thoma Bravo for $3B
I am unaware about the current situation, but two years back qlick related jobs used to be a high paying and in-demand.
rshm··on Amazon is Down
Other services like seller central and amazon canada is working normally.
rshm··on Shippo Package Tracking API: Get statuses for all your shipments in one place
easypost clone ?
rshm··on Writing Cloud Functions
Together with SES i am using lambda to route inbound email to http endpoint.
rshm··on Google achieves AI 'breakthrough' by beating Go champion
AlphaGo Full Text - PDF : https://storage.googleapis.com/deepmind-data/assets/papers/d...

Facebook Paper - PDF http://arxiv.org/pdf/1511.06410v2.pdf

Pachi Original Paper - PDF http://pasky.or.cz/go/pachi-tr.pdf

rshm··on Stop using gzip
Last time i checked lz4 did not had a streaming decompression support on their python lib. It will be problem for larger files like common crawl if you are not planning to pre-decompress before processing.
rshm··on Instant Cloud – SSD Bare Metal Servers
Tested on random instance, without any io intensive application running

VULTR 2 GB INSTANCE dd bs=1M count=1024 if=/dev/zero of=test conv=fdatasync

    1024+0 records in
    1024+0 records out
    1073741824 bytes (1.1 GB) copied, 8.11451 s, 132 MB/s
    
    
    hdparm -tT /dev/vda
    
    /dev/vda:
    Timing cached reads:   25106 MB in  2.00 seconds = 12568.51 MB/sec
    Timing buffered disk reads: 496 MB in  3.02 seconds = 164.16 MB/sec

DIGITALOCEAN 2GB INSTANCE

    hdparm -tT /dev/vda
    
    Timing cached reads:   8926 MB in  2.00 seconds = 4468.52 MB/sec
    Timing buffered disk reads: 542 MB in  3.00 seconds = 180.43 MB/sec


    dd bs=1M count=1024 if=/dev/zero of=test conv=fdatasync 
    1024+0 records in
    1024+0 records out
    1073741824 bytes (1.1 GB) copied, 32.0005 s, 33.6 MB/s
rshm··on FTDI driver kills fake FTDI FT232s
I have not designed for FTDI and new in embedded desings but, for USB interfacing cypress PSoCs have served me well till now. They have dedicated USB chips as well.
← PreviousPage 2 of 5Next →