Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_wmd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
66 ms
·
601.
▲
by
_wmd
12y ago
It a pretty fair assumption to expect the Java runtime itself to be in an OS-level sandbox, Google would never treat that much native code as the last layer of security. The App Engine CPython runtime can also be subverted in a variety of w
602.
▲
by
_wmd
12y ago
Who wants to place bets on the "potential robots" more likely to be those without Google cookies or a Google Account?
603.
▲
by
_wmd
12y ago
The article mentions two: unpacking 24 bit values and matrix multiplication, both might be something you'd find in a software video (de)compressor or a computer game
604.
▲
by
_wmd
12y ago
It can happen due to 1) significant numbers of users flagging the link, 2) the admins demoting it, or 3) it attracting too many comments too quickly ("controversiality"). It seems likely 1 and 3 happened here, but due to a lack of
605.
▲
by
_wmd
12y ago
Xeon Phi is the successor of Larrabee, a GPU project that failed because it couldn't reach the power/performance to compete with GPUs of the time (only 4 years ago)
606.
▲
by
_wmd
12y ago
Right, so the question becomes whether a branch mispredict is cheaper than simply refcounting an object that already lives in L1 cache (by virtue of having any of its words accessed). For Intel Sandy Bridge, this is 14-18 cycles for the mi
607.
▲
by
_wmd
12y ago
Once again, you can't implement this without specializing every call site that invokes Py_INCREF or Py_DECREF, or in other words, "1 conditional branch per object access everywhere."
608.
▲
by
_wmd
12y ago
There is no such thing as "small integers" in CPython, only PyObjects, of which PyInt_Type and PyLong_Type are implementations. You can't special case integers without changing every C interface that accepts an object, and sp
609.
▲
by
_wmd
12y ago
That's not actual chocolate, that's cocoa flavored sugar
610.
▲
STARTTLS and misplaced outrage
(wordtothewise.com)
3 points
by
_wmd
12y ago
|
0 comments
611.
▲
by
_wmd
12y ago
Every client operating system under the sun implements a DNS cache, its part of the intended design of DNS. This is just systemd's bikeshed of a function already available on Linux, via nscd. Without caching, all DNS queries degrade to
612.
▲
by
_wmd
12y ago
Unless you're talking about a large piece of software composed entirely of single character functions and variable names, I pretty much disagree. Verbose variable names do not magically teach those reading a piece of code how it works,
613.
▲
by
_wmd
12y ago
Not to mention the optimized-for-touch experience, where a single click (or too short a drag) is sufficient to clear your search result. Or the over-abundance of context-sensitive animations and popups that jump around. Since the redesign,
614.
▲
by
_wmd
12y ago
There were a whole family of older template systems that worked on this model. They suck because in practice they are much more restrictive, difficult to work with, and in most cases inefficient, since fundamentally they are working in the
615.
▲
by
_wmd
12y ago
And vtables, rtti data, systematic sequences of ops for invoking base classes, intrinsic/library functions emitted by the compiler in specific situations, exception handling tables, ...
616.
▲
by
_wmd
12y ago
The text/plain MIME type predates the specification of format=flowed by at least 7 years.
617.
▲
by
_wmd
12y ago
As an example of who might be impacted, since openssh preserves the original command line passed to the ssh server when authenticating a public key that has a fixed command associated in authorized_keys, GitHub and BitBucket security teams
618.
▲
by
_wmd
12y ago
Looks like piracy.h just contained a reference to a static blob (PIRACY) describing an 80x25x16 text mode screen. movedata copies it directly to the VGA screen base address (0xb800). Since VGA text mode used one byte to select the character
619.
▲
by
_wmd
12y ago
If you count C in the same breath, then between them, they make up the implementation language for probably 99% of other languages, and the operating systems those languages run on. For anything safety critical, C in particular still has a
620.
▲
Electromagnetic Warfare Is Here
(spectrum.ieee.org)
2 points
by
_wmd
12y ago
|
0 comments
621.
▲
by
_wmd
12y ago
Parent comment assumes one inverter per solar panel, my comment suggests it's more like one per 19" rack unit. Today's inverter vs. the kind of size they're looking for is a difference of perhaps 4-10TB per U, or approac
622.
▲
by
_wmd
12y ago
Google are the sort of company who would rather have 5,000 crappy, unreliable, but efficient and tiny inverters attached internally to crappy, unreliable commodity servers than spend 5000x on a single, huge, expensive, only slightly more re
623.
▲
by
_wmd
12y ago
The multistrap script at https://gist.github.com/anonymous/50dfdfe99438e53c8e58 produces a 425mb Debian system including vim, Linux kernel, Apache, perl and Ruby. After bzip2 that's 115mb, which is about a second&
624.
▲
by
_wmd
12y ago
Many plaintext clients default to 72 to allow room for multiple levels of quoting.
625.
▲
by
_wmd
12y ago
This is a genuinely hard problem and it's great to see new companies taking it on. Unfortunately this particular instance is close to useless - US only is a non starter, it's why this stuff is hard in the first place. Dealing with
626.
▲
by
_wmd
12y ago
In the read-only case, pretty much any embedded DB with a large userspace cache configured won't read data back in redundantly. In the specific case of LMDB, this is further extended since read transactions are managed entirely in shar
627.
▲
by
_wmd
12y ago
You said POSIX, which makes no such guarantee.. soft updates are cool, though as far as I know they still don't provide durability. Still, that's far better than the default Linux behaviour
628.
▲
by
_wmd
12y ago
See followup comment below. You're confusing logical atomicity for physical consistency and durability: yes, these operations may have certain atomicity guarantees from perspective of the application, but they are entirely asynchronous
629.
▲
by
_wmd
12y ago
> With a database you're using more CPU That's incorrect, you're potentialy trading several system calls (open, read, close) and their associated copies, which have high fixed costs for, with the right database, no system
630.
▲
by
_wmd
12y ago
I know it's crazy talk, but glancing at my own profile, I count maybe 100 bytes of data? Yet to represent that data in memory, it's going to blow up to 4096 bytes plus structs to represent the inode and directory entry/entrie
More ›