Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
moring
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
481.
▲
by
moring
6y ago
Can't you still have 128 tasks even without sharing pages between tasks? That is, one direct page and one stack page for each task, with 256 pages total in bank 0. With sharing I mean, when you have two or more tasks of which only one
482.
▲
by
moring
6y ago
With the PDK being open, does anyone know if any kind of NDAs are still required to get a chip fabbed? While free-of-charge fabbing is quite nice, I think being NDA-free is even more important so all work including the tweaks necessary for
483.
▲
by
moring
6y ago
Computers can be made to understand base 10 though, if needed. We do so routinely when amounts of money are involved so a cent is a cent, even though 1/100 is nonterminating as a binary fraction.
484.
▲
by
moring
6y ago
All that is true for WebP too, isn't it? If you cannot recompile a piece of software, how are you going to add WebP support to it? And you aren't breaking it. In a theoretical world where transparency got added to JPEG, software t
485.
▲
by
moring
6y ago
If transparency was the main issue, adding transparency to JPEG sounds easier than coming up with a completely new encoding, especially a lossy one.
486.
▲
by
moring
6y ago
You could probably distribute the light among a larger number of plants (think plants stacked on a shelf, or on a tilted surface), so you grow more instead of faster.
487.
▲
by
moring
6y ago
Isn't that an opportunity for another company to run managed services like S3, RDS, SQS, SES on top of Hetzner servers? I see some issues with multiple companies being involved in support requests, but nothing that can't be solv
488.
▲
by
moring
6y ago
The suggestion is nice though since an attacker would have to break both at once. If you conceal an SSH server, you'd first break the obscurity, then proceed with attacking the SSH server. The suggestion seems to be that you would have
489.
▲
by
moring
6y ago
I read somewhere that the chip used in Star Fox (SuperFX) is less an "accelerator" but rather "becomes" the main chip because it hogs the main bus, so the SNES's own CPU can't really do a lot. OTOH the SuperFX
490.
▲
by
moring
6y ago
> Classes look familiar, but that's misleading because they don't actually work like one would expect. Can you give an example for that? So far, they worked pretty much as I expected. (Coming from a mostly Java background, whic
491.
▲
by
moring
6y ago
> They need to rewrite it to use hooks at some point What is the reason that not using hooks is so frowned upon? When I took my first steps with React, I didn't know hooks, so I write component classes and it immediately "click
492.
▲
by
moring
6y ago
I don't think this is true: Both are editing programs. The main subject being edited is a single file (as opposed to multi-file projects, like an IDE does). Both therefore need a UI for file handling (load/save their "native&
493.
▲
by
moring
7y ago
For CPU, that is. Trying to make it work on my GPU took me to driver hell -- OpenCL support seems to be an entirely separate driver from normal graphics, and the newest packages that might support my GPU (Intel) are not even available for U
494.
▲
by
moring
7y ago
This rule is true for Javascript and PHP too, yet it happened all the time. If Lisp relies heavily on eval, what specific protection measures does it employ?
495.
▲
by
moring
7y ago
Isn't eval part of the cause of many security holes in other languages, e.g. Javascript? That is, not eval alone but combined with an unintended path from unvalidated user input to the snippet that gets eval'ed. Is there anything
496.
▲
by
moring
7y ago
IMHO the advantages of functional programming is often looked for in examples that are too small for them to exist. There is no advantage in sorting a billion numbers the functional way. There is an advantage to gain, though, when the unsor
497.
▲
by
moring
7y ago
I'm a bit disappointed that the article doesn't explain the need for a memory/consistency model and how it interacts with CPU caches. Locks are the easy part, and the article makes you think that with them you can now write a
498.
▲
by
moring
7y ago
As someone who isn't following the Qt vs. GTK debate closely, this makes me ask myself why the choice of a code library -- which should be based on how well it fits into application code and similar criteria -- affects the user at all?
499.
▲
by
moring
7y ago
I'll try to counter your arguments, even though I share your sentiments against Electron: * Huge memory impact for your app The same is true for native macOS applications. * Non-native look and feel (no, neither Vue nor anything else g
500.
▲
by
moring
7y ago
Even if you assume the function returns, I don't quite understand why the if can be optimised away. The function may still have side effects if it returns, which have to happen before whatever assigning to NULL does. Those side effects
501.
▲
by
moring
7y ago
It's because they are dealing with different things. In math, things are immutable, so you either "compare all fields" for the most fine-grained equality, or a more "coarse" equality that is compatible in the sense
502.
▲
by
moring
7y ago
What is the state of adding higher-level logic to the DRAM chips? E.g. clear a whole DRAM row to 0 (blank memory for new processes). With today's processes, we can probably fit whole simple processor cores there easily.
503.
▲
by
moring
7y ago
Alternatively, such URLs can always be pre-fetched on page load.
504.
▲
by
moring
7y ago
A browser that disables Javascript could easily circumvent this too, either pre-loading URLs in :hover rules or ignoring those rules.
505.
▲
by
moring
7y ago
RISCV's main answer to this is to separate the instruction set into modular subsets so the baggage only has to be carried by those who need it. The core set doesn't even have multiplication.
506.
▲
by
moring
7y ago
As far as I understood, the Java language and many other high-level language can't express such loops (no arbitrary gotos), so JITing them would be a specific optimization for otherwise-crafted bytecode. Also, it probably doesn't
507.
▲
by
moring
7y ago
> some implementation even needs LLVM to perform optimizations. I'd say if this is the case, we must've chosen the wrong model. Why? Optimizing machine-independent code for a particular machine is part of the "core busines
508.
▲
by
moring
7y ago
Keep in mind that this "scroll bar" would only have to indicate that there is more content, or at most, which part of the content you are looking at. It doesn't have to be interactive (tap/drag to scroll) because you can
509.
▲
by
moring
7y ago
How do Chisel/FIRRTL handle inference of built-in primitives like synchronous RAM blocks in FPGAs? I have built my own HDL, which is basically "cleaner Verilog" and not a generator-style approach like Chisel, and gets compile
510.
▲
by
moring
7y ago
Sounds like room for improvement: Shout "earthquake" through the phone's speakers (overriding any volume setting), flash "earthquake" on the screen (turning the screen on if necessary, but if that takes a second, do
More ›