News for hackers. Stuff that matters.

kneth

Re:The CrateDB MCP Server on Thursday June 26, 2025 @11:07AM (#44388158)
CrateDB (a distributed database for real-time analytics) is introducing its MCP server
Re:US quits Paris climate pact on Thursday June 01, 2017 @04:37PM (#14464386)
Well, China has more than four times as many citizens.
Re:When memmove() Fails on Thursday May 04, 2017 @04:20PM (#14268410)
The exception is related to emulating NEON instructions. So we are talking about very low-level exceptions (or signal handling) - at kernel/C library level.

I am not sure if this exception is the cause. And even if you could examine the assembler code, you will not be able to fix it: the affected devices have reach end-of-life years ago, and vendors will not fix the bug :-( The only chance for a fix is that app developers implement a workaround.

Re:When memmove() Fails on Thursday May 04, 2017 @01:34PM (#14266876)
As the author of the article, I might be able to clarify a bit ;-). It is not absolutely clear to me what the bug is. It only appears on a few devices so it is not a trivial bug. It seems to be triggered by certain sizes and probably how the block is placed in memory. To answer your question: yes, the return value of memmove seems to be wrong in some cases. ChengYi He's analysis indicates that an ARM/Neon instruction is skipped which could explain the miscalculation. Why it skips the instruction (more precisely, why PC is not incremented correctly after returning from an exception) isn't clear to me or ChengYi He.
Re:Show HN: Realm (YC S11), a mobile database on Wednesday July 16, 2014 @06:15AM (#8041350)
I'm Kenneth at Realm. As realm databases are files on the phone's file system, you can use the common classes for manipulating them. To do a backup, the NSFileManager class might be useful (the copyItemAtURL method might be what you're looking for). See https://developer.apple.com/library/mac/documentation/Cocoa/... for details.

Older »