HNHacker News
TopNewBestAskShowJobs

denzquix

96 karma · joined July 11, 2013

submissionscomments
denzquix··on Regex character "$" doesn't mean "end-of-string"
Well, it's not a completely outlandish scenario that the value of `init` might come from a variable that is sometimes at the start of the string and sometimes not, and a newcomer might expect `^` to only match when it is.

Don't get me wrong, it's certainly far more useful as it is, I'm glad it works this way.

denzquix··on Regex character "$" doesn't mean "end-of-string"
> In Lua it's only the start/end of the string

There's an additional caveat: if you use the optional "init" parameter to specify an offset into the string to start matching, the ^ anchor will match at that offset, which may or may not be what you expect.

denzquix··on Goodbye, Node.js Buffer
Although those functions operate on "binary strings", not Uint8Arrays, and there is no especially clean way that vanilla JS exposes to convert between the two that I am aware of.
denzquix··on FTX to file for U.S. bankruptcy, CEO resigns
SBF's announcement of Chapter 11 proceedings today explicitly includes FTX US:

https://twitter.com/SBF_FTX/status/1591089317300293636

denzquix··on Bzip3 – A better and stronger spiritual successor to bzip2
From their own benchmarks it seems more like bzip3 is geared towards a different compression/speed trade-off than bzip2, rather than an unambiguous all-around improvement. Am I misreading it?
denzquix··on Get Your Shit Together
Memento mori, motherfucker.
denzquix··on Sonny – Fast single page app engine
Went to http://www.sonnyjs.org/ (latest Chrome, Windows 7) - there doesn't seem to be any way to scroll the left-hand menu (it cuts off at "StorageManager" sub-heading for me at default zoom level, I can see there are more by zooming out though) and of the ones I can see, the menu items "render" and "kill" don't seem to do anything.
denzquix··on Ross Ulbricht’s private journal shows Silk Road’s birth
The extracted quote at the top of the Forbes article here seems to indicate he was thinking along those lines: http://www.forbes.com/sites/sarahjeong/2015/01/22/the-dread-...

"I imagine that someday I may have a story written about my life, and it would be good to have a detailed account of it."

denzquix··on Google Loses Most US Search Share Since 2009 While Yahoo Gains
But if you'd like to search Verbatim and also restrict your results to the most recent month/year/etc., even though these are separate dropdowns under Search Tools, you're out of luck. Google seemingly just won't allow this.
denzquix··on Responsive Logos
My mistake, I misread.
denzquix··on The Return of Upcoming.org by Andy Baio
As Jason Scott (@textfiles) notes on Twitter, this will be something of a first: with all the old content coming back, Archive Team/archive.org "literally provided a backup of a site while it swapped owners."
denzquix··on The fallen heroes of virtual reality (2014)
It did, immediately: "As a new Oculus Rift prototype is unleashed..."

It didn't mention the most recent developments, as this article is several months old.

denzquix··on No JSON/MAPS interoperability in 17.0?
I had to check but yeah, that's true, the ECMA spec even says explicitly in its intro: "JSON is agnostic about numbers", they are "only a sequence of digits".

(Unrelated observation from looking at the spec again: there's no standard/recommended decoding behaviour if an object has several members with the same key.)

denzquix··on No JSON/MAPS interoperability in 17.0?
But that also uses double precision floating point number representation and UTF-8 for strings, so the only benefit (according to the arguments given in the OP) seems to be text vs. binary-based.
denzquix··on No JSON/MAPS interoperability in 17.0?
Since the author seems to have a problem with text-based formats in general, here's a counterpoint by Mike Pall on the LuaJIT mailing list [1]:

"On a tangent: IMHO most binary serialization formats like BSON, MessagePack or Protocol Buffers are misdesigns. They add lots of complications to save a couple of bytes. But that does not translate into a substantial improvement of the parsing speed compared to a heavily tuned parser for a much simpler text-based format."

[1] http://www.freelists.org/post/luajit/Adding-assembler-code-t...

denzquix··on GCHQ intercepted webcam images of millions of Yahoo users worldwide
Well, if a security service decides it needs to blackmail someone, they're hardly going to send them a letter on official letterhead. In this case I imagine they'd pretend to be something like a small hacking group, infiltrating individual webcams arbitrarily/opportunistically. Something like that.
denzquix··on New message from Mt. Gox
Well, sure, but it's not like this message was rushed out within minutes of anything in particular. They seemed quite content to have a completely blank site for hours on end before putting this up.
denzquix··on New message from Mt. Gox
And it doesn't seem to have been proofread very well. "In the event of [something that has already happened]..."? I don't consider myself a particularly picky person, but come on, you could at least make the effort at a time like this.
denzquix··on Mt Gox CEO Karpeles says bitcoin exchange is at turning point
Well, at least he's not completely disappeared, I suppose. Otherwise there doesn't appear to be much to actually discuss here. Maybe the fact that he would tell the press that a statement "should" be ready "soon-ish", which seems like total brazen disinterest in taking control of the narrative here, at a time when his company needs it the most.
denzquix··on Kvazaar HEVC/H.265 encoder released under GPLv2
"I'd rather not touch anything which involves patents at all."

Unfortunately, that's not something you can reasonably expect, ever. Mike Pall made a statement about the IP of LuaJIT [1], and made the point that while his own contributions are freely donated to the public domain...

"I cannot guarantee it to be free of third-party IP however. In fact nobody can. Writing software has become a minefield and any moderately complex piece of software is probably (unknowingly to the author) encumbered by hundreds of dubious patents."

[1] http://lua-users.org/lists/lua-l/2009-11/msg00089.html

denzquix··on Show HN: Headline Smasher
It's pretty far down, but:

"Author of LuaJit Explains Why He Changed Mind on Weed"

...made me far happier than it should have.

denzquix··on US and UK struck secret deal to allow NSA to 'unmask' Britons' personal data
Surprise is overrated. The truth has no responsibility to blow your mind every day.
denzquix··on Possibly the worst Facebook ad ever
Callous indifference can be just as bad as malice.

I'm reminded of these t-shirts with "Keep Calm And..." slogans that were allegedly generated automatically (presumably culled from web searches) and sold on Amazon without human intervention: http://www.bbc.co.uk/news/business-21640347

I think the lesson is, if your business model MUST involve pulling stuff from the Internet arbitrarily, it is no less your responsibility as if you had crafted it yourself if you intend to commercially repurpose it.

denzquix··on LuaJIT 2.1 Profiler released
Aha, that makes sense. Well, good luck to them on keeping their "secret" weapon under wraps :-)
denzquix··on LuaJIT 2.1 Profiler released
It kind of astounds me how many previous sponsors are anonymous. (Well, sponsored features, I should say. I guess it could be the same one anonymous sponsor.) I'd be interested to know, just in general terms, what kind of real-world situation(s) there are where the downside to being public about this is greater than the goodwill/respect they would get for doing it. Maybe they do not want to be known as a company willing to sponsor development that they don't "own"? Could there be legal ramifications?
denzquix··on Test 'reveals Facebook, Twitter and Google snoop on emails'
The title mentions emails, but all of the email-related functionality tests had a negative result.
denzquix··on VLC 2.1.0 RC1 is out...
"For developers, libVLC and most libVLC modules are now licensed under the LGPL" - interesting, is there a full list somewhere of which modules are/are not?
denzquix··on Terra: A low-level counterpart to Lua
It bugs me that the numerical for-loop in Terra has identical syntax to Lua's, but different semantics. Especially since you are encouraged to mix Lua and Terra code in the same file. Even something like:

for i = 0, < 10 do --[[ ... ]] end

...and throwing a compile error if you omit the <, though arguably ugly and weird, would still have been preferable I think.

denzquix··on Thanks For The Identity Theft, Yahoo
This is the right to be misremembered.
denzquix··on The 7-bit Internet
The point is that HTTP may not be the be-all end-all protocol that we will ever want to use on the open web, and encouraging any potential new protocols to take HTTP's lead and use an arbitrary binary encoding that requires protocol-specific tools to make sense of, is maybe not a decision we should take lightly.