HNHacker News
TopNewBestAskShowJobs

phpnode

7,416 karma · joined October 23, 2009

Founder of https://codemix.com/ - authoritative product context which makes sure coding agents build the right thing and humans stay in control.

Email: charles@codemix.com

submissionscomments
phpnode··on Webscript – Choose a URL and type in a Lua script
to accurately determine the current machine's external IP address, as the one reported by the operating system may be inaccurate (doesn't take into account NAT, proxies, firewalls etc)
phpnode··on Standard Markdown Is Now Common Markdown
if markdown.pl had been written by some less famous person there'd have been none of this walking on eggshells, this whole thing is ridiculous.
phpnode··on Standard Markdown
Keeping track of indent levels is not easy with PEGs but can be dealt with by pre processing
phpnode··on Strategies to quickly become productive in an unfamiliar codebase
for many languages ctags doesn't come close unfortunately, for code exploration a good IDE is essential. Even if you don't use it for actual editing.
phpnode··on Standard Markdown
Next step W3C standard?
phpnode··on Standard Markdown
Markdown has outgrown Gruber's stewardship, "ambiguity is a feature" is not an opinion I can get behind. Calling this something other than markdown would be more confusing for end users. It is markdown, standardised.
phpnode··on Standard Markdown
the codinghorror one is more interesting imho
phpnode··on Strategies to quickly become productive in an unfamiliar codebase
Can't over emphasise the importance of a good IDE for this kind of thing, even if you're a hardened vim or emacs zealot. A tool like IntelliJ IDEA makes navigating new/large codebases a million times easier.
phpnode··on Time Travel Simulation Resolves “Grandfather Paradox”
Using a time-loop in node.js to compute factorials https://gist.github.com/Marak/3967740
phpnode··on Time Travel Simulation Resolves “Grandfather Paradox”
All hypothetical time machines must also be space machines, i.e. they must take into account the movement of the planets, the galaxy, the universe to avoid materializing their passengers in the middle of space or the centre of the sun. My question is what frame of reference would they use?
phpnode··on Show HN: Self-Scraping Instagram Search Engine
they don't want people to be confused and think that your service is official. it's generally bad practise to tie your brand to someone else's anyway.
phpnode··on Hackers Build a Skype That’s Not Controlled by Microsoft
if switching IM networks was as easy as that, Skype would already be on the way out. We use skype because everyone else uses skype.
phpnode··on Predicting the next Math.random() in Java
nitpick, Firefox doesn't use Rhino, it uses SpiderMonkey which is C++.

https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Sp...

phpnode··on Show HN: SimpleGraph
There is no explanation at all on the site nor any demos. This makes it impossible for anyone to answer your questions without signing up, and I'm not signing up without knowing what it is.

Good job for shipping, but it's not ready for public consumption yet without those things imho.

phpnode··on How to choose?
you're getting upset because you're making a terminology error, you say "digit" but mean "digits". A digit is either a finger, or the numbers 0-9, singular.
phpnode··on Coffee naps are better than coffee or naps alone
it takes practise. Likely you try and take a nap a few times, it takes too long and so the next day you don't bother. But if you can get through that it gets easier over time. Your body learns that it's "time to go to sleep".

The other strategy is physical and mental exhaustion, for this I recommend starting a business and/or becoming a parent.

phpnode··on Mozilla rolls out sponsored tiles to Firefox Nightly’s new tab page
it's really surprising to see how strongly people here oppose the idea of Mozilla making money. Mozilla is arguably one of the most important tech companies, committed to FOSS, transparency and providing a much needed counter balance to much larger tech giants that would steamroller all over the web without them. This is probably the least obtrusive change they could have made, how do you expect them to survive without revenue?
phpnode··on Show HN: Convert CSV files into MySQL insert scripts
it would probably still be fast enough, the difference between JS perf and native perf is surprisingly slim.
phpnode··on Show HN: Convert CSV files into MySQL insert scripts
that's unlikely to be the case, JS is pretty fast
phpnode··on Show HN: Convert CSV files into MySQL insert scripts
MySQL already supports loading CSVs directly, why convert them first? http://dev.mysql.com/doc/refman/5.1/en/load-data.html
phpnode··on Show HN: All Ice Bucket Videos at one place. Includes search and filter options
I think you'll miss the tide on this one, arguably the ice bucket thing has already peaked. But keep that code handy! you'll be able to adapt it next viral video craze with ease
phpnode··on Introducing Meteor 0.9.0, the Meteor Package Server, and Isobuild
Your sense of entitlement is simply staggering.

Why do you assume that your attention is so valuable that developers should go out of their way to cater specifically to you? The number of people who disable JS is statistically insignificant.

You have chosen to break your web experience, you have no one to blame but yourself.

phpnode··on Judge Sentenced to 28 Years for Selling Kids to the Prison System (2013)
Just wow.
phpnode··on Judge Sentenced to 28 Years for Selling Kids to the Prison System (2013)
What do you think would be an appropriate sentence for a crime like this? Society's most vulnerable betrayed by society's most trusted.
phpnode··on Show HN: Cupertino.js – A JavaScript to Cocoa compiler and runtime
Most people who choose this kind of thing are not experienced with the transpilation target, they're $language developers who want to avoid learning a new $language. But of course the main challenge when learning a new language is learning the standard libraries / eco-system, and these things don't help at all with that, they obscure it.

Another problem is that they never solve the impedance mismatch, idiomatic JS does not map cleanly to idiomatic ObjC, you end up with code that is idiomatic in neither.

some clichés apply here:

"You can write fortran in any language"

"There are no silver bullets"

phpnode··on Show HN: Cupertino.js – A JavaScript to Cocoa compiler and runtime
Good job for shipping, however this project and others like it (e.g. RubyMotion) set off alarm bells for me personally.

I think the same arguments that people have against CoffeeScript apply here - it's not possible to use CoffeeScript without knowing JavaScript, and in this case it's not possible to use JavaScript without understanding the Objective-C ecosystem. At this point, this is Objective-C with a different syntax, it's not really JavaScript. Existing documentation, blog posts, stackoverflow answers etc use Objective-C, so the programmer will have to do a lot of translation in their heads. If I have to learn all the Objective-C / Cocoa APIs anyway, what am I gaining by using a different syntax?

phpnode··on Choosing the Right JavaScript Framework
famo.us is shockingly bad IMHO. It breaks many common user interactions and goes through a load of hoops to enable "native performance" and then doesn't even get that right, I really don't understand the hype.
phpnode··on GNU LibreJS
I don't understand this view point. If this is about Free Software, then triviality should be irrelevant, either the code is Free or it isn't. I can write an arbitrarily complicated program within their constraints, license it under a non-free license and this thing will run it.
phpnode··on GNU LibreJS
Their definition of "non-trivial" includes using computed member expressions, so the following program is not supported:

    var greetings = {world: "Hello World"};
    var subject = 'world';
    console.log(greetings[subject]);

This is zealotry in action, who do they think is going to use this?
phpnode··on YouTab: Automatically get chords for music
`Kiesza - Hideaway`. Other songs do work and the app is pretty impressive, but I find the UI for lining up lyrics really awkward, it doesn't seem to be possible to move all of them at once so if the start offset is wrong it's really painful to use. For an example see `Le Youth - Cool`
← PreviousPage 32 of 34Next →