Better HN
topnewbestaskshowjobs
Log inSign up

brokenparser

3,510 karma · joined Aug 4, 2012 (14y ago) · 569 submissions

Submissions

comment 13y ago · link · parent

I've BTDT and it's tedious at times. Try this PPA: https://launchpad.net/~ondrej/+archive/php5

Fedora users have it easy, the packages there are mere days behind: https://admin.fedoraproject.org/updates/php

With a bit of experimenting you can easily do a network install of a headless Fedora/SL/CentOS in KVM using virt-install and a kickstart file. Use filesystem passthrough to access your source files, run php-fpm and configure its address as a backend in your web server. Keep SELinux enabled, but adjust it to your needs using setsebool if necessary.

comment 13y ago · link · parent

Can you be more specific?

If you want to see the patches go into the Debian/Ubuntu packages, run apt-get source php5 and look at the php5-$version/debian/patches directory. The build process uses a quilt wrapper (dh_quilt_patch) to apply them in the correct order. There are patches for building (in general or for a specific architecture), segmentation faults, security issues, manual pages and very few configuration changes (mostly just FHS compliance).

comment 13y ago · link · parent

Sure, but this still doesn't work:

  $o = (object)[
      'foo' => function(){ print 'bar'; },
  ];
  $o->foo();
You have to do it this way:

  call_user_func($o->foo);
Or this way:

  $foo = $o->foo;
  $foo();
Which doesn't work when foo is defined as a class method.

comment 13y ago · link · parent

IE10 for win7 was released last week.

comment 13y ago · link · parent

Implementing PHP syntax in JS is just ass-backwards, IMHO. Why not use something simple like Mustache? I think it's a nice middle ground because it lacks logic and runs in nearly any language. It's also used by the easiest JS templating library ever, ICanHaz.js.

comment 13y ago · link · parent

But is Diablo 3 played in a browser? Thought so.

comment 13y ago · link · parent

This article did it for me, it was originally written in 1989:

http://www.cs.kent.ac.uk/people/staff/dat/miranda/whyfp90.pd...

comment 13y ago · link · parent

I see your mixed use of square brackets and raise you a syntax error.

comment 13y ago · link · parent

I'll take the blame for that mishap.

comment 13y ago · link · parent

Forgot your medicine, today?

comment 13y ago · link · parent

I think you can use SELinux to prevent this attack. See http://fedoraproject.org/wiki/Features/SELinuxDenyPtrace

comment 13y ago · link · parent

Here you go: https://play.google.com/store/apps/details?id=com.kudzu.plan...

comment 13y ago · link · parent

Parent is saying ACME has the best products, according to ACME. I, for one, don't click such articles as they're usually biased to favour the authors. Checks real quick In this case, Mozilla really ranked #20 but were #1 in their category of just 12. The article reeks of exploding just one tiny bullet point in a report which appears not to have been reviewed much outside of Ponemon Institute LLC except for the fine commentary here on HN.

(See http://search.cpan.org/~chromatic/Acme-Incorporated-1.00/lib... )

comment 13y ago · link · parent

1) Those using popular open source players often do. Podcasts and vodcasts should have an RSS feed you can subscribe.

2) Yes, full screen works since the JS API was implemented in all browsers (albeit prefixed until recently) except for IE.

comment 13y ago · link · parent

But you already have HoN! They really improved it for Linux lately, with HoNTV support and everything!

comment 13y ago · link · parent

No source code?

comment 13y ago · link · parent

I gave it several chances and it's a terrible game, it does a great job of annoying the player.

comment 13y ago · link · parent

The donation page is on wikimedia.org and there's no mechanism to transfer your cookie, so good luck with that.

comment 13y ago · link · parent

Until an invalid token ruins my day.

comment 13y ago · link · parent

You still get advertisements, but with DNT they wouldn't be targeted to your profile.

comment 13y ago · link · parent

1) FUD

2) You need an IT dept., not a monkey dept.

3) If your IT staff doesn't understand Linux already, see 2.

4) FUD

5) FUD

6) FUD

comment 13y ago · link · parent

Imagine the revenue if you were actually selling it on that website.

comment 13y ago · link · parent

That's MSFT and their NIH syndrome for you. Fortunately, there are several projects which allow you to map Event Log to syslog such as the aptly named "Eventlog To Syslog" ( http://code.google.com/p/eventlog-to-syslog/ ). This allows you to replace WMI with actual SQL (as Event Log can't use an SQL backend itself), and leverage all of the functionality of an RDBMS.

comment 13y ago · link · parent

Rsyslog is way beyond Windows Event Logger. Audit trails should still work but I don't know if your GPO maps to server configuration automatically. It's easy to test, though. If you want to get started with Samba quickly, you can use Zentyal.

comment 13y ago · link · parent

Quick, someone grab his wallet while he's still convinced he's a superhero.

comment 14y ago · link · parent

No, coding standards bicker about such frivolous things as whether to use _, m, or m_ for member variables. Just pick one and stick with it. Arguing over one or the other is both useless and utterly stupid.

comment 14y ago · link · parent

You can forget the distinctions without impacting performance if your JavaScript engine uses UTF-16, because that's the native encoding of Windows NT 5.0+. You'll still get overhead when working with binary data, Typed Array or not.

comment 14y ago · link · parent

What appears to be missing is the automatic mapping of the A (ansi) and W (wide) suffixed function names to conventional unsuffixed function names. In C, this is done using macros. If UNICODE is not defined, the macro MessageBoxEx would expand to MessageBoxExA. With UNICODE, the macro expands to MessageBoxExW. Similarly, TEXT is used to wrap strings to ensure they're unprefixed or prefixed with an L respectively. You could do this by hand, it's just a bit more tedious to write.

comment 14y ago · link · parent

They weren't even tabs when Opera invented them. It just had a toolbar at the bottom, see here:

http://i.imgur.com/bURNJ.gif

This is the ad-supported version 5, you had to enter a key to remove them. Prior versions were shareware.

StarOffice had a similar idea but they made an effort to show where they were drawing inspiration from: http://i.imgur.com/fiQ5c.jpg

(For those who are wondering, yes LibreOffice is its legacy.)

comment 14y ago · link · parent

Exactly. She amusingly lists 34 preferences — of which at least 28 must match — before mentioning Nickelback as a favourite artist. Yet she wishes for “Someone who can play classic or jazz piano.”, only humans of the female variety can come up with shit like that.
1
1516171819