Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
devit
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
451.
▲
by
devit
5y ago
The document says that the encoding is 11 bits for two characters, which means that Base45 plus that encoding is very efficient, since 45^2 / 2^11 = 0.988, so only 1.2% of the capacity is wasted.
452.
▲
by
devit
5y ago
There seems to be a sizeable number of people who don't want to vaccinate, plus children under 12 won't be, and also the pandemic will survive in developing countries and travelers coming from them for a while. So I think the risk
453.
▲
by
devit
5y ago
Of course competent programmers using the top K bits of the pointer would make sure that the kernel and memory allocator operate so that they don't allocate memory outside a (64 - K)-bit address space, regardless of what the CPU suppor
454.
▲
by
devit
5y ago
You could also add a heater.
455.
▲
by
devit
5y ago
It's a mistake, it's supposed to be a "=".
456.
▲
by
devit
5y ago
You have to be a terrible programmer to even consider using a base 10 logarithm for this. Their proposed improvement is also terrible, since it divides multiple times unnecessary, and checks for negativity multiple times unnecessarily. The
457.
▲
by
devit
5y ago
There is no special treatment of main in the major C compilers, the only "magic" thing the compiler does is including the CRT startup object file in the link, which defines _start as a function ultimately calling main, and having
458.
▲
by
devit
5y ago
1. Probably not in general? Maybe with a vertical <input type="range"> for each item and a lot of server-generated CSS hackery, for small lists? 2. Use ARIA 3. Use position: absolute? 4. Create it with position: absolute
459.
▲
by
devit
5y ago
Of course non-pure Lisps and JavaScript pretty much only differ in syntax, so there is no "new interaction possible". They are more powerful than the basic formula languages in most spreadsheet software, which is why spreadsheet s
460.
▲
by
devit
5y ago
That's equivalent to !0 << popcount(!(x & mask)) (where left shift must saturate and not truncate the shift count, otherwise you need to special case x = 0) and seems much less useful than popcount.
461.
▲
by
devit
5y ago
You can easily use another platform instead of Fanhouse (users can easily go on another website or app). You can't easily use another delivery method for apps to iPhone users (that would require iPhone users to also buy and carry an An
462.
▲
by
devit
5y ago
They have a monopoly on devices running iOS apps, and a monopoly on channels to deliver mobile software to anyone who uses an iPhone (i.e. either their App Store or Safari).
463.
▲
by
devit
5y ago
I hope Mozilla reverts this absurd change as soon as possible, or at least maintains the previous UI indefinitely.
464.
▲
by
devit
5y ago
Seems of limited use considering Unreal Engine's source code is available, and UE is probably a better engine and also legal to use in your games (albeit only for a percent of royalties).
465.
▲
by
devit
5y ago
There must be a way to alter a core's instruction pointer from another core or from hardware to support killing processes running untrusted machine code, and to support pre-emptive multithreading without needing to have compilers add a
466.
▲
by
devit
5y ago
That doesn't prevent extraction by someone with supervisor/hypervisor access (so if Elcomsoft can't extract it it's only because they are lazy), it just tries to make it less likely that an attacker can extract it from a
467.
▲
by
devit
5y ago
The article writer is quite ignorant. COM is not obsolete at all, it's the main way Windows APIs have been and are provided from the release of DirectX until now, where it underlies the current WinRT API.
468.
▲
by
devit
5y ago
You should not do that since there is no reason to disallow the user from doing what they want. But if you really want it, writing a custom boot ROM and OS is probably the only way you can have an actually secure system (you might need a cu
469.
▲
by
devit
5y ago
This is one the things that it's surprising that it wasn't available before. As far as I can tell this architecture was possible at least starting from the introduction of DX11 hardware more than 10 years ago, and it seems to be t
470.
▲
by
devit
5y ago
You can put a 16-bit stack pointer in the zeropage and address local variables with the (abs),Y address mode after having loaded the local variable index in Y with LDY #imm. The kernel needs to save the zeropage stack pointer on thread cont
471.
▲
by
devit
5y ago
Can anybody comment on whether this actually works properly and does what it claims to do?
472.
▲
by
devit
5y ago
Yeah, they are redacting in the middle of text in a variable-sized font!
473.
▲
by
devit
5y ago
100mbps is at or below entry level for fiber in major cities, and outside major cities it's what Starlink claims to provide, and also in the VDSL and 4G range. A "fantastic" customer connection speed currently would be 2.5gbp
474.
▲
by
devit
5y ago
A contemporary broadband connection can manage way more than 100 simultaneous characters. You only need to send an updated position and direction on every frame, which can fit in 10 bytes (16-bit screen space fixed point coordinates, 3 posi
475.
▲
by
devit
5y ago
I'm surprised that either anyone actually uses such an OS (beyond toying with it), or that there are enough people willing to pay without using the OS. What's the explanation for this?
476.
▲
by
devit
5y ago
The basics are essential. If e.g. you don't know what an hashmap or a balanced search tree is, or that you can find common items between two sequences or find a shortest path in a graph with non-negative edges in O(n log n), or that yo
477.
▲
by
devit
5y ago
That seems worse than using the common C/Java/JavaScript syntax for operators and function calls, that can be easily parsed with any JavaScript parser.
478.
▲
by
devit
5y ago
This will not happen as long as Apple's cut percentage is lower than the percentage of users that will give up or not download the app when asked for their credit card in-app. Obviously any reasonable Apple's cut will satisfy this
479.
▲
by
devit
5y ago
The issue is about app developers who don't get to choose the phone that users have.
480.
▲
by
devit
5y ago
So what are we doing about all the maintainers that initially approved these commits that were later found to be incorrect?
More ›