Better HN
topnewbestaskshowjobs
Log inSign up

denzquix

96 karma · joined Jul 11, 2013 (13y ago) · 31 submissions

Submissions

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

> 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.

comment 3y ago · link · parent

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.

comment 4y ago · link · parent

SBF's announcement of Chapter 11 proceedings today explicitly includes FTX US:

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

comment 4y ago · link · parent

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?

comment 11y ago · link · parent

Memento mori, motherfucker.

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

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."

comment 11y ago · link · parent

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.

comment 12y ago · link · parent

My mistake, I misread.

comment 12y ago · link · parent

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."

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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.)

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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...

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

"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

comment 12y ago · link · parent

It's pretty far down, but:

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

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

comment 13y ago · link · parent

Surprise is overrated. The truth has no responsibility to blow your mind every day.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

Aha, that makes sense. Well, good luck to them on keeping their "secret" weapon under wraps :-)

comment 13y ago · link · parent

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?

comment 13y ago · link · parent

The title mentions emails, but all of the email-related functionality tests had a negative result.

comment 13y ago · link · parent

"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?

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

This is the right to be misremembered.
12