Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
psykotic
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
91.
▲
by
psykotic
8y ago
With a VM, a single byte can encode one of 256 subroutines/jump targets. On the 6502 processor, whether you're using JSR or JMP, your shortest option is a 3-byte instruction. That's a 3x code size reduction. Of course you pay
92.
▲
by
psykotic
8y ago
Yes, there are lots of famous examples. E.g. John Chowning invented FM synthesis for musical applications but had to assign the patent to Stanford where he worked as a researcher: "The FM patent produced about $22.9 million in royaltie
93.
▲
by
psykotic
8y ago
> Shallow orgs can move quicker, but that isn’t free. That's not intrinsic to shallow organizations. One common failure mode when scaling shallow orgs is consensus-based decision making that can grind everything to a halt. As you sa
94.
▲
by
psykotic
9y ago
MSVC only received C99 support starting in Visual Studio 2015 and even then it's only partial (but enough for us). Actually, we'll probably use anonymous structs and unions, which are technically a C11 feature, but have been suppo
95.
▲
by
psykotic
9y ago
Yeah, Casey's work was a big inspiration. Much of the structure is my attempt at adapting Casey's format for my own goals.
96.
▲
by
psykotic
9y ago
Yes, they'll be available permanently. I talk about this in the FAQ in the repository, if you want to check it out. I'm afraid this is going to be far beyond any 10 year old! I assume a pretty high level of intellectual developmen
97.
▲
by
psykotic
9y ago
Hi. I'm the guy behind Bitwise. Long-time HN user. If anyone has questions, I'd be happy to answer them.
98.
▲
by
psykotic
9y ago
Modern discrete GPUs also have IOMMUs and per-context page tables. It's a large attack surface which has received relatively little attention from hackers so far compared to CPUs, but there are hardware-level security features in place
99.
▲
by
psykotic
9y ago
Your question relates more to IPython Kernel than Jupyter per se. Fortunately ipykernel has out of the box integration with event loops, e.g. https://github.com/ipython/ipykernel/blob/master/ipykernel
100.
▲
by
psykotic
9y ago
In case anyone might be mislead given the topic of this article, you shouldn't do base64 encoding with a general purpose routine like getbits(). Since 3 * 8 / 6 = 4 you can process the input bytes in groups of 3 to avoid straddlin
101.
▲
by
psykotic
9y ago
> However, for most freshmen, the math is simply beyond them in their first year. You can introduce Lagrangian and Hamiltonian mechanics very early on if you're okay with hand-waving over some of the analytical details and presentin
102.
▲
by
psykotic
9y ago
Linux distributions are a different beast since they're mostly tracking a myriad of upstream third-party repositories overlaid when necessary by their own patch sets. And most of those upstream repos are by necessity highly decoupled f
103.
▲
by
psykotic
9y ago
Yes, that's what I meant by coverage of the relevant branches. But the good news is that all these partial, heuristic sources of information can be combined. E.g. for detecting function entry points, you can combine information from EL
104.
▲
by
psykotic
9y ago
That's an issue for static disassembly, which is step one of decompilation. Your snippet is a classic example that can throw off naive linear-scan disassemblers. Recursive disassemblers can handle it easily if (and it's a big if)
105.
▲
by
psykotic
9y ago
CE/EE departments sometimes offer an undergraduate VLSI intro course where you learn the theory from a textbook like Weste and Harris and get to design and tape-out your own chip via the Cadence or Synopsys tools and then fab it throug
106.
▲
by
psykotic
9y ago
Regarding the lack of upstream work, a former Qualcomm VP told me that the major reason they minimize any open source work is that their lawyers are paranoid that any accidental IP leak might endanger their patent-related revenue streams (8
107.
▲
by
psykotic
9y ago
And ideally you just put all the debug info files on a server where they can be indexed by the build ID, and the debugger automatically tries to fetch the relevant debug info files when debugging a process or core dump. This is easy on Wind
108.
▲
by
psykotic
9y ago
Older NVIDIA GPUs (and maybe current ones) used an alternating-direction scheme for coarse rasterization which was called (somewhat tongue in cheek) boustrophedonic rasterization. The idea was to have more spatial locality for the coverage
109.
▲
by
psykotic
9y ago
I'm fond of this old RAND report from Dreyfus, which is worth skimming if you're mathematically inclined: Dynamic Programming and the Calculus of Variations, https://www.rand.org/content/dam/rand/pub
110.
▲
by
psykotic
9y ago
UCSD Pascal had separate compilation units (late 1970s). A lot of people from my generation got started with Turbo Pascal and it had units based on UCSD Pascal starting in TP 4.
111.
▲
by
psykotic
9y ago
Sure, and the AFA has a pro-developer and pro-consumer side by reducing fragmentation. But I think it's important to understand that the open source aspect of Android is a small part of the story in practice for device makers. The narr
112.
▲
by
psykotic
9y ago
> It's rather sad that Google needs to pay Android makers a fee for installing it's apps, given how Google gives away source code that makes Android exist in the first place. This is a very innocent view of Google's busine
113.
▲
by
psykotic
9y ago
> Add a million LUTs and several thousand special-purpose blocks (ALUs, CAM, SRAM, DSPs, etc.) on CPU die that can be reconfigured within a few 10k cycles LUTs are implemented as a cascade of muxes that are controlled by local latches th
114.
▲
by
psykotic
9y ago
Quiet NaN is critically different from the Maybe monad's Nothing value. Maybe gives you proper exception semantics even if it's implemented by means of predicated data flow rather than early-out control flow (and in a pure, non-st
115.
▲
by
psykotic
9y ago
Thanks for the correction; I thought 6 mm sounded way too high. Gotta love American measurement units! There are Internet accessible Chinese PCB manufacturers that will do short runs for designs of almost any complexity, but they aren'
116.
▲
by
psykotic
9y ago
I was about to suggest SoMs as well. The biggest challenge with BGAs from a hobbyist perspective isn't the soldering. There are lots of hobbyists successfully reflowing BGAs with toaster ovens. The bigger problem is manufacturing the P
117.
▲
by
psykotic
9y ago
This reminds me of a tool Jeff Roberts wrote at RAD Game Tools which would repackage libraries so they were loadable on Linux. At the time the motivation was that MSVC was generating much better code than GCC for Bink, so he'd compile
118.
▲
by
psykotic
9y ago
The 6502 chip design used precharging for exactly that reason. You precharge to Vdd in phase 1 through a path with high drive strength and then in phase 2 only the fast pull-down network has to do any work if needed. The pull-up network is
119.
▲
by
psykotic
9y ago
Zynq. Yes, their SoC products have embedded ARM cores: https://www.altera.com/products/soc/overview.html These's a bunch of affordable Cyclone V SoC development boards: http://www.terasic.com.tw&#x
120.
▲
by
psykotic
9y ago
> Apparently the r&d costs in this space are higher then lawyer fees. Otherwise why wouldn't they dump some money into r&d and get some patents of their own to cross license with Qualcomm. I'm sure there's plenty o
More ›