Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mansr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
211.
▲
by
mansr
16y ago
Nice to see someone who's not swallowing the snake oil.
212.
▲
by
mansr
16y ago
Easy enough with Perl arrays using push and shift.
213.
▲
by
mansr
16y ago
The best programmers I know have EE degrees. Just saying...
214.
▲
by
mansr
16y ago
The companies are placed in clockwise alphabetical order. Nothing sinister.
215.
▲
by
mansr
16y ago
The A9 is readily 25% faster per clock than the A8 for scalar integer operations. Scalar floating-point is 5-10x faster depending on the exact operations. Vector instructions are mostly the same or slower than A8 due to lack of the limite
216.
▲
by
mansr
16y ago
If this goes through, I predict the operators will offset the losses by jacking up the data fees to unprecedented levels of ridiculousness. When the lower caps came into effect this year, Vodafone UK responded by increasing the data roamin
217.
▲
by
mansr
16y ago
In this case, what you don't know, you'll suspect. That's at least as bad.
218.
▲
by
mansr
16y ago
Looking at the diagrams again, I suppose such an interpretation is possible. I still maintain that the diagram is ambiguous due to the mains connections being left out entirely.
219.
▲
by
mansr
16y ago
Wiring a lamp in this manner is illegal in some countries. One of the off positions delivers line voltage to the lamp, making it less than idiot-proof.
220.
▲
by
mansr
16y ago
This is not specific to ARM. There is to my knowledge no CPU architecture where an arithmetic right shift works differently. Unsigned types allow the compiler to perform this optimisation. However, unsigned types can easily introduce unex
221.
▲
by
mansr
16y ago
Wrong again. Function parameters are passed as if the values were assigned to variables of the corresponding types using the usual implicit conversion rules. If the function parameter has type of different width than the value being passe
222.
▲
by
mansr
16y ago
ARM handles signed and unsigned numbers equally. Addition and subtraction are the same operation whether signed or unsigned. Multiplication of 32-bit numbers with 64-bit result has both signed and unsigned versions. Condition codes can t
223.
▲
by
mansr
16y ago
In my experience, few real-world problems fit neatly into one out of a handful predefined patterns. Having a few typical models to draw inspiration from when solving a problem is of course useful. Mindlessly applying a recipe without cons
224.
▲
by
mansr
16y ago
There was a mysterious problem when assembler optimisations were enabled. This was fixed a few minutes ago in FFmpeg. As for H.264 on a 400MHz ARM11, no amount of command line options will magically make MPlayer manage full SD resolution.
225.
▲
by
mansr
16y ago
The VLC application currently on the app store doesn't have ARM assembler optimisations enabled. Hopefully that will be fixed in an update. MPlayer on the N810 will be using some assembler optimisations. I strongly doubt the "all kinds of
226.
▲
by
mansr
16y ago
Apple doesn't own any rights to the VLC application being distributed. I thus see no legal basis for them to impose any restrictions, try as they might. That clause in the GPL seems intended to cover distribution of a derived work, where t
227.
▲
by
mansr
16y ago
What is there to complain about? The source code is available for anyone to download.
228.
▲
by
mansr
16y ago
The VLC authors seem not to think so. It's their call.
229.
▲
by
mansr
16y ago
What you are doing there is multiplying something by a power of two, and 'ar' should have the value 1 for 'sr' to be set to two to the power of 10. Multiplying by a power of 2 is easily done in C using the shift operator.
230.
▲
by
mansr
16y ago
Dividing one 32-bit number by another is a constant-time operation even if on some machines (e.g. ARM) it is implemented as a loop. This is what matters. Raising a number to the nth power is an O(log n) operation.
231.
▲
by
mansr
16y ago
When power is a major concern, and that is the applications ARM is targeting, using a 64-bit system when 32-bit would suffice is counter-productive. A 64-bit CPU naturally requires more transistors and thus more power than a 32-bit one. T
232.
▲
by
mansr
16y ago
This is nothing like DOS extended memory. It is quite similar to Intel PAE, allowing more than 4GB of physical memory. Each process has the usual 4GB virtual address space; the MMU simply maps it into pages taken from a larger pool. It m
233.
▲
by
mansr
16y ago
Keeping unrelated projects in a single repo is every bit as bad as keeping all the source code for one project in a single 500k-line C file. CVS modules are a nightmare to work with, and I consider the lack of such abominations a feature o
234.
▲
by
mansr
16y ago
10 years ago this would have been cute. Now it's rather sad.
235.
▲
by
mansr
16y ago
32GB microSD cards (the largest currently available) at ~0.5g each have a much higher data density.
236.
▲
by
mansr
16y ago
Yes, sorry. Too long since I messed with it.
237.
▲
by
mansr
16y ago
Application designers want to control the login/logout experience for users This could have been achieved by allowing a custom form in the 501 response page. Where do you put the "Forgot password?" option on a site that uses HTTP auth?
238.
▲
by
mansr
16y ago
Most big companies are like that to some extent, though I have not myself seen one quite as severe as this one. It is worst when a small company pretends to be big by insisting on following processes which might be necessary to make a huge
239.
▲
by
mansr
16y ago
It is useful for static (possibly global) data which if const can be placed in the read-only data section. For local variables or function parameters it is less useful.
240.
▲
by
mansr
16y ago
Original: http://www.theonion.com/video/new-apple-friend-bar-gives-cus...
More ›