Linking that video you're playing their game, adding pointless rambling is a way to increase video length for more ads.
HN user
JoeAcchino
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.Bottleneck is the brain, English is not my first language and I usually score 10 wpm less than my native language.
Same for me. I like her writing stile and the content.
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.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.
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...
Is this guide specific for Go on Heroku or its concepts can be easily applied elsewhere?
Nightwatch runs against Selenium, Nightmare uses Phantom.js
With Selenium you have full cross browser support, while Phantom is Webkit based.
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.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.
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.
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:12I 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.
"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.
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.
I use this game to practice touch typing more or less regularly and what I really miss is a way to monitor my progress.
HTTP Proxies do this.
Transcribe! is awesome, thanks for mentioning it.
So you don't need to build a new Firefox OS release on your PC and flash it, the phone will just update itself?
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?
Great, now I'm totally reassured.
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).Just use tabs for indentation and spaces for alignment.
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`.
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
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.
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?
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).
For those wondering where is Go mentioned: http://pdos.csail.mit.edu/6.824/schedule.html