HNHacker News
TopNewBestAskShowJobs

JoeAcchino

270 karma · joined June 22, 2012

submissionscomments
JoeAcchino··on I Miss the Old Internet (2019)
Linking that video you're playing their game, adding pointless rambling is a way to increase video length for more ads.
JoeAcchino··on A Godot reimplementation of SuperTux
Clicking on StartGame does not work beacause the button is not wired to anything:

  func _on_StartGame_pressed():
      pass # Replace with function body.
Probably not ready for the public, but fun to hack around and trying to understand how it works from the inside out.
JoeAcchino··on GNU Typist (2017)
Bottleneck is the brain, English is not my first language and I usually score 10 wpm less than my native language.
JoeAcchino··on Where I started might not be useful to you
Same for me. I like her writing stile and the content.
JoeAcchino··on Colly: Fast and Elegant Scraping Framework for Golang
Would this work?

  c := colly.NewCollector()

  // this functions create a goroutine and returns a channel
  ch := c.HTML("a")  
  e := <- ch
  link := e.Attr("href")
  // ...
I'm a bit rusty (ah!) with go, so bear with me if the above contains errors.
JoeAcchino··on Ask HN: What books are you reading?
I'm reading How to Fail at Almost Everything and Still Win Big: Kind of the Story of My Life by Scott Adams and I'm about to start The Power of Habit by Charles Duhigg.

I'm also reading again Comme un roman by Danil Pennac, a beautiful essay about the joys of reading.

JoeAcchino··on New Pacman for Atari 2600
I didn't know that there are homebrew games for Atari 2600.

They also assembled a tutorial for beginners: http://atariage.com/forums/topic/33233-sorted-table-of-conte...

JoeAcchino··on Building Web Apps with Go
Is this guide specific for Go on Heroku or its concepts can be easily applied elsewhere?
JoeAcchino··on Show HN: Nightmare – Simple browser automation
Nightwatch runs against Selenium, Nightmare uses Phantom.js

With Selenium you have full cross browser support, while Phantom is Webkit based.

JoeAcchino··on Unix Tricks
> You know what else I hate? Typing in long commands in the Mac OS X terminal and then them wrapping weirdly.

I solved this by adding the following line in my ~/.bashrc

  shopt -s checkwinsize
Never tried on Mac OS X though, so I don't know if it works.
JoeAcchino··on Reasons to use Haskell as a Mathematician (2006)
Nice to know, if an oscar-winning pure mathematician working on science-fiction projects found difficult to learn Haskell, I can save myself the trouble.
JoeAcchino··on Improve developer habits by showing time cost of DB queries
In addition, I would track with a web analytics tool the number of queries and the time they took for each page, so I could easily have them as metrics in the Pages Report.

Next, sort pages by query time and optimize them first.

JoeAcchino··on Donut math: how donut.c works (2011)
How do I compile this? GCC complains:

    CFLAGS="-g -pipe" make -k donut
    cc -g -pipe    donut.c   -o donut
    donut.c:1:2: warning: data definition has no type or storage class [enabled by default]
    donut.c: In function ‘main’:
    donut.c:4:16: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default]
    donut.c:5:12: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
    donut.c:9:63: error: ‘s’ undeclared (first use in this function)
    donut.c:9:63: note: each undeclared identifier is reported only once for each function it appears in
    donut.c:10:18: error: expected ‘,’ or ‘;’ before ‘in’
    donut.c:11:32: error: ‘t’ undeclared (first use in this function)
    make: *** [donut] Errore 1
    
    Compilation exited abnormally with code 2 at Thu Jan 23 16:11:12
JoeAcchino··on Panopticlick – How Unique, and Trackable, Is Your Browser?
I don't know how useful is this to track unique visitors, the next month I will probably have a different fingerprint.

All it takes is a new release of Firefox (different version in the User-Agent string) a new font or any plugin update.

So with that fingerprint you can possibly identify me now, but you cannot track me over time.

JoeAcchino··on Panopticlick – How Unique, and Trackable, Is Your Browser?
"They didn't use any JavaScript to get this information."

The list of installed plugins is retrieved via JS: window.navigator.plugins.

Not sure about fonts, though.

JoeAcchino··on Page not found
The guy pictured in the photo is Richard Branson, aka the boss at Virgin. Just search his name on Google Images to get the humor.

http://it.wikipedia.org/wiki/Richard_Branson

JoeAcchino··on Are You A Typing Hacker? Prove It
I use this game to practice touch typing more or less regularly and what I really miss is a way to monitor my progress.
JoeAcchino··on PeerCDN - A P2P CDN
HTTP Proxies do this.
JoeAcchino··on Show HN: noteZilla - Interactive sheet music
Transcribe! is awesome, thanks for mentioning it.
JoeAcchino··on ZTE Open Firefox OS phone is available on eBay
So you don't need to build a new Firefox OS release on your PC and flash it, the phone will just update itself?
JoeAcchino··on Show HN: Easy-to-configure Web Server in Go
I'm very interested in this because this is the kind of web server I was planning to write for my work, but from a quick glance I didn't find HTTPS support.

Is HTTPS supported or planned?

JoeAcchino··on General Alexander wearing EFF shirt
Great, now I'm totally reassured.
JoeAcchino··on HTML5 Features you need to know
This regexp

    [^ @]*@[^ @]*
will validate strings like `@example.com` and `joe@` and even a single `@`. Probably

    [^ @]+@[^ @]+
is what he wants, plus server side validation (that is the classic "click link to validate address" email).
JoeAcchino··on Dennis Ritchie's first C compiler on Github
Just use tabs for indentation and spaces for alignment.
JoeAcchino··on Go Replace - simple and fast search and replace tool for command line

    find ~/my/docs/ -type f -name '*.txt' -exec sed -i.bak 's/inheritance/composition/g' {} +
This will search all files ending in `.txt` and will exec `sed 's/inheritance/composition/g'` on it. Sed modifies files in-place and saves a backup file with .bak extension (-i.bak) and is called the minimum necessary times (-exec +).

My best advice to someone using the command line is to learn `find` + `xargs` or, even better, `find` + `parallel`.

JoeAcchino··on Dave Conservatoire - my attempt at a Khan Academy for music
This is great.

Just a minor note (ah!): the number "1" on the left on my name on the top right corner made me think I had some welcome message in my inbox so I tried to click it.

Ok, time to watch some videos. I'll use this as teoric complement of justinguitar.com

JoeAcchino··on The “Linux” of online learning? edX takes big step toward open source goal
I really don't understand why coursera and edx classes ask me x hours per week. My amount of free time is not constant through time, so I can't enroll in edx AI class with realistic expectations and this really bugs me.

I think that all online classes should offer two paths:

1. one for people that can follow lectures and homeworks, meeting deadlines and everything. This is what edx and coursera are now offering. 2. the other for people that can't keep the course pace, allowing assignment submissions without deadlines.

JoeAcchino··on Unix tricks
3) if all the lines of the 10+GB file are actually unique, wouldn't awk keep the whole file in RAM? For files larger than my RAM could this leave my system unresponsive because it's thrashing on swap?
JoeAcchino··on Show HN: Real-time Rock, Paper, Scissors, Lizard, Spock
Neat. Bug report: score is not preserved among reconnections. Example: I close my browser by mistake when we're 4 - 2, when I load the URL again scores are back at 0 - 0 (but the other player that not disconnected still has 4 - 2).
JoeAcchino··on MIT 6.824 Distributed Systems labs rewritten in Go
For those wondering where is Go mentioned: http://pdos.csail.mit.edu/6.824/schedule.html
Page 1 of 2Next →