Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ajanuary
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
241.
▲
by
ajanuary
12y ago
> 'p', 'q' also tends to be the de facto standard operator in lambda expressions, rather than 'x', 'y' or 'i', 'j'. The authors of the plinq library are clearly not C# developer
242.
▲
by
ajanuary
12y ago
> Just open a spreadsheet and determine how long it would take to test 1500 passwords. After about 58 attempts the sun would have exploded. After 1023 attempts my spreadsheet application can't cope with numbers that big.
243.
▲
by
ajanuary
12y ago
I don't think multiple fields with the same name is designed to be a normal mode of operation. If you actually want an array, use the [] suffix. But if you have a bug which produces a form with multiple fields with the same name, what
244.
▲
by
ajanuary
12y ago
In the strangeloop talk his argument seemed to be that you couldn't use types to describe the entire and exact contract of transducers. Which is true (and true of almost anything), but you can at least describe a significant enough chu
245.
▲
by
ajanuary
12y ago
With Linq you can't really create an object/function that describes the transformation that should happen. I start with an enumerable, describe how to transform /that/ enumerable, and in the end have something that descr
246.
▲
by
ajanuary
12y ago
I agree, it's a legitimate question. I tried to search for a bunch of them on TinEye to see if I could find some original source for any of them that might indicate a licence, but none of the ones I tried came up with any results.
247.
▲
by
ajanuary
12y ago
It loads a json file [1] that contains the co-ordinates of the tip of each point and the corresponding image. It uses this to create a Voronoi diagram [2] using a "custom Javascript implementation of Steven J. Fortune's algorithm&
248.
▲
by
ajanuary
12y ago
I read somewhere recently that Google used to be affected but have since patched their servers.
249.
▲
by
ajanuary
12y ago
It needs to add numpad keys to it's whitelist. Currently I can't use the numpad in the input boxes.
250.
▲
by
ajanuary
12y ago
You can use replaceState to modify the url without adding a new history entries.
251.
▲
by
ajanuary
12y ago
Yes, it's a valid URI but //robots.txt is different resource to /robots.txt. It seems thttpd is probay doing the right thing.
252.
▲
by
ajanuary
12y ago
I think you're reading it incorrectly. You can have an empty segment in the path. The BNF for a segment is: segment = *pchar Which according to RFC2234 section 3.6 means zero or more repetitions.
253.
▲
by
ajanuary
12y ago
Doesn't it just demonstrate that you shouldn't switch from being liberal to being strict? For it to hold up, you need to provide the further argument that you frequently need to switch from liberal to strict.
254.
▲
by
ajanuary
12y ago
Persistence is defined in terms of the interface to an abstract data type. When I do a write operation on a data structure, I get a new version back, and all read operations on the old version still return the same values. version1 =
255.
▲
by
ajanuary
12y ago
> A persistent data structure is one that shares structure with other data structures. No, a persistent data structure is one where, when you apply an operation that would ordinarily modify it, you instead get back a new data structure w
256.
▲
by
ajanuary
12y ago
If you're going as verbose as using a class, just put the class on the br tag. <strong>Headline</strong><br> The quick brown fox jumped <br class="soft"> over the lazy dog.
257.
▲
by
ajanuary
12y ago
Bear in mind any new optimizations would be added to 5.5+, which would presumably have opcode caching by default? [Edit] Maybe a whole new world of possible optimizations has just opened up.
258.
▲
by
ajanuary
12y ago
> Don't try to out-clever the compiler. You might be able to do it, but there's no guarantee that tomorrow's compiler update won't be smarter than your today's workaround, leaving you with code that is both "
259.
▲
by
ajanuary
12y ago
To be clear, what optimization are you proposing? Replacing "JMPNZ true" with "JMP"? So every time a loop is compiled (which by default is every request) there is the added overhead of "if opcode is JMPNZ and the fi
260.
▲
by
ajanuary
12y ago
Line 336 of https://code.google.com/p/v8/source/diff?spec=svn24083&r=240... is suggestive DEFINE_BOOL(turbo_asm, false, "enable TurboFan for asm.js code")
261.
▲
by
ajanuary
12y ago
You'd have more luck with fixed-odds games. The APIs for those tend to expose the results of the RNG in ways that are fairly easy to piece together. Some of the API responses will literally tell you enough to know "we picked a ran
262.
▲
by
ajanuary
12y ago
I had to read that paragraph several times to see if they said "But Javascript doesn't do this." Nope, not in there at all.
263.
▲
by
ajanuary
12y ago
Presumably in the B row it should read "P(A|B)" and "P(B|B)"
264.
▲
by
ajanuary
12y ago
Mixins would solve that problem while at the same time avoiding a lot of the issues with multiple inheritance.
265.
▲
by
ajanuary
12y ago
For a bunch of distributed systems nodes need to be roughly matching real time, but also within some tollerance of each other; it's simplest to make everything as accurate to real time as possible. I work in broadcast automation. It&#x
266.
▲
by
ajanuary
12y ago
The amount of RAM that's required to browse tumblr because of the gifs is slightly insane.
267.
▲
by
ajanuary
12y ago
From a visual perspective, I like it. For what it's designed to communicate, I like the Y-Meter. However, I question whether what it's trying to communicate is in line with the HN ranking system. The ranking system combines severa
268.
▲
by
ajanuary
12y ago
There are browser plugins such as Spectrum [1] that might be more useful. [1] https://chrome.google.com/webstore/detail/spectrum/ofclemegk...
269.
▲
by
ajanuary
12y ago
Lambdas and blocks are different things.
270.
▲
by
ajanuary
12y ago
I'm awful at remembering to do anything. When doing inbox zero, I find it really useful to be able to postpone emails so I get a push notification on my phone when they come back into my inbox. That way I know if there is anything in m
More ›