Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fleventynine
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
fleventynine
2y ago
Have your panic handler call an extern "C" function that doesn't exist, and the linker will complain if there's any calls to that function that weren't optimized out. Alternately, you can look for the symbol in the
62.
▲
by
fleventynine
2y ago
The way I see it, there are a limited number of ways that a bare-metal component with no heap can "catastrophically fail": 1. "Undefined behavior" due to typical memory bugs: code written in 100% safe Rust cannot trigger
63.
▲
by
fleventynine
2y ago
> Fortunately, whenever you create a superintelligence, you obviously have a choice as to whether you confine it to inside a computer or whether you immediately hook it up to mobile robots with arms and fine finger control. One of these
64.
▲
by
fleventynine
2y ago
> the rest of your program doesn't have to be an explicit state machine; it can use structured control flow with nested loops and conditionals and subroutines This works well until the requirements change and you have to run two str
65.
▲
by
fleventynine
2y ago
As I see it, if you need everything to run on a single cpu core, the alternatives are to either implement threads (wasting memory on redundant stacks) or to write the event-driven state machines manually. Whether the state machine is pumped
66.
▲
by
fleventynine
2y ago
Can you go into more details? Most of the criticism I've read tends to be more abstract ("I don't like how ALL my blocking-style calls need to be async"), and doesn't propose an alternative mechanism to async that c
67.
▲
by
fleventynine
2y ago
Everything had tradeoffs, but the composability of the state machines built by the compiler's async support allows you to easily build multi-tasking bare-metal systems with thousands of "tasks" and no RTOS (or SRAM-wasting t
68.
▲
by
fleventynine
2y ago
The redundant GND pins are necessary for signal integrity and low EMI when running at higher speeds; the high speed signals need a return current path with as little loop area as possible, so you want those signal pins close to GND on the c
69.
▲
by
fleventynine
2y ago
Yes, but it has far fewer pins for the same bandwidth, so it's feasible to make a "PCIe switch" that will fit in a typical IC package.
70.
▲
by
fleventynine
2y ago
Sounds like a terrible local government. Have you considered moving away? Local governments compete with each other to attract taxpayers, and if enough people leave they'll be forced to change their political structure.
71.
▲
by
fleventynine
2y ago
Private equity will only benefit if the supply of housing is artificially restricted or they are able to capture a substantial portion of the market. Both these problems can be solved by adjusting the local regulatory levers to make constru
72.
▲
by
fleventynine
2y ago
> but these blood clot deaths with negative COVID tests were not unique to the AstraZeneca vaccine I think Johnson and Johnson's covid vaccine (also an adenovirus vaccine) was also associated with blood clots, but do you have any ev
73.
▲
by
fleventynine
2y ago
> does the global medical establishment even have a chance at salvaging the reputation of mRNA? AstraZeneca's Covishield is not an mRNA vaccine; it is a viral vector vaccine, using Adenovirus. The small possibility of blood clots wa
74.
▲
by
fleventynine
2y ago
I'm a Rust fan (mostly for embedded firmware with minimal deps), but even after 10 years of playing with the language it's not clear to me that advanced GUI or gamedev fits well with the borrow checker. It requires a significant p
75.
▲
by
fleventynine
2y ago
The current calling convention is terrible for small platforms, especially when using Result<> in return position. For large enums, the compiler should put the discriminant in a register and the large variants on the stack. As is, you
76.
▲
by
fleventynine
3y ago
Yes, but they're in a better position than most of us, and they would be wise to reconsider their ongoing dependencies on networked infrastructure and modern supply chains for anything life-critical. It's ok to rely on an off grid
77.
▲
by
fleventynine
3y ago
The more I learn about how fragile our modern IT infrastructure and economy is, it seems the Amish are building a more robust society. Maybe they'll inherit the earth after our horrendously complex web of dependencies is destroyed by w
78.
▲
by
fleventynine
3y ago
I'd never terminated fiber before, so I just watched some youtube videos to teach myself. The main trick was making sure that the cleaver was cutting clean, and the fusion splicer would do most of the rest of the work. Every so often t
79.
▲
by
fleventynine
3y ago
The cable TV shield is grounded where it enters the house. The POTS lines aren't grounded (they're differential, like 1000base-T), but the telephone company installs some sort of protection device in the exterior box that allows
80.
▲
by
fleventynine
3y ago
Voltage differentials in the earth that exceed 1500V will occur even without a lightning strike, and the greatest danger is when the ground is dry. Even something as simple as a strong wind blowing on a tree can charge things up significant
81.
▲
by
fleventynine
3y ago
No, but they weren't spending $1000 on a gigabit switch in 2004 either. If you're serious enough about home networking to run cables through your walls, $700 for a switch is nothing compared to the labor cost.
82.
▲
by
fleventynine
3y ago
I was averaging around 15 minutes per splice. I think I spent more time pulling the cable through the walls and attic, and that would have been a huge pain with the pigtails still attached (not to mention the increased risk of damaging the
83.
▲
by
fleventynine
3y ago
I consider these consumer-priced switches: https://www.servethehome.com/mikrotik-crs504-4xq-in-a-4x-100... https://mikrotik.com/product/crs510_8xs_2xq_in
84.
▲
by
fleventynine
3y ago
I strongly recommend against this unless you have bonded earth connections between the buildings. During a storm the ground potential between the locations is likely to exceed the 1500V rating of the magnetics in your switches, and your equ
85.
▲
by
fleventynine
3y ago
Multi-mode standards change too frequently, and it's not really much cheaper. Prefer single-mode.
86.
▲
by
fleventynine
3y ago
It's mostly about future-proofing. If I had renovated my house 20 years ago, the "best" copper cable I would have installed was cat5e, which will never get much beyond 2.5G. But if I had installed SMF instead (which was avail
87.
▲
by
fleventynine
3y ago
I think I paid $800 for a brand new SignalFire AI-8, but that was 5 years ago. Compared to the $9,000 Fujikura units used by pros, it was inexpensive :)
88.
▲
by
fleventynine
3y ago
During a renovation, I ran 6-strand single-mode fiber to various locations in my home. I found the termination process (using an inexpensive Chinese fusion splicer) to be somewhat of a pain, especially for connections behind wall jacks rath
89.
▲
by
fleventynine
3y ago
I use Kicad regularly, and I encourage others who also use it to donate an amount similar to an annual license for the proprietary competitors. The team has already proven that they can maintain such a useful tool with a tiny budget, imagin
90.
▲
by
fleventynine
3y ago
I thought it was obvious, but in a world where most people have solar battery setups, peak demand occurs after 2-3 days of cloudy weather, and stays consistently high 24 hours a day until the sun comes out. The rest of the year the grid is
More ›