Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bombela
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
271.
▲
by
bombela
2y ago
I only very rarely need 240V, if I had permanently mounted 240V machines or frequent needs, I would do exactly what you propose.
272.
▲
by
bombela
2y ago
two poles breakers, 2×120V@20A, $USD: - $20 - GFCI, $115 - GFCI + AFCI, $115 Yes it is expensive, but it can also save your life.
273.
▲
by
bombela
2y ago
I am aware of this. But then I have a single 120@20 vs a single 240@20. With my setup I have 2×120@20 always available, and 240@20 for the occasional welding. I could assign a different 120 phase to every other outlet but then I would need
274.
▲
by
bombela
2y ago
You can feed a US outlet the split phase 240V and get two 120V@20A each. It used to be done in kitchens in the US, back when appliances were power hungry. I have done so in my workshop for the same reason. Houses are wired in split phase 24
275.
▲
by
bombela
2y ago
It's because of you that my phone is so slow.
276.
▲
by
bombela
2y ago
Associated type: pub trait Iterator { type Item; [...] } vs generic type: pub trait Iterator<Item> {} The associated type version can only be implemented once per MyType. impl Iterator for
277.
▲
by
bombela
2y ago
Redirecting the gutter downspouts away from the house can help if this isn't already done. EDIT: saw your other comment about drainage being an issue in the yard, not the house.
278.
▲
by
bombela
2y ago
Maybe if alloca is used with a runtime value uncapped, a user could then trigger a stack overflow with too big of an allocation. This is the same problem when allocating on the heap, with the difference that the heap is a few order of magni
279.
▲
by
bombela
2y ago
My answer would be: No they are not the same type. Yes they have the same amount of bits representing them. They might have different RAM usage because of alignment.
280.
▲
by
bombela
2y ago
With a huge static stack allocation the stack check must be done within a parent function instead of within the same function. In any case it is up to you to do the stack check. Though alloca can easily be wrapped by a function running the
281.
▲
by
bombela
2y ago
Your example behaves the same with or without alloca. It will run until it runs out of stack. Or it might just run forever because the compiler optimized it as an infinite loop. In any case, same behavior.
282.
▲
by
bombela
2y ago
Stack allocation is always done at runtime. Baring special optimizations, the CPU and the code work together to (stack grows downward) decrement the CPU stack pointer register. This register keeps track of where the bottom of the stack is.
283.
▲
by
bombela
2y ago
The stack grab is as permanent as any other stack variable. There is nothing special about it. The only difference is that you can decide at runtime how much to add to the current stack frame.
284.
▲
by
bombela
2y ago
> How much memory is used for the stack and when it is freed can always be determined at compile-time. Technically, not always. You can allocate on the stack at runtime, see "alloca" in C. But is alloca even that useful in prac
285.
▲
by
bombela
2y ago
You are not alone.
286.
▲
by
bombela
2y ago
Solomon was the CEO of dotCloud. Sébastien the CTO. I (François-Xavier "bombela") was one of the first software engineer employee. Along with Andrea, Jérôme and Louis with Sam as our manager. When it became clear that we had reach
287.
▲
by
bombela
2y ago
I do not think the mess of dependency management in Python got us to Docker/containers. Rather Docker/containers standardized deploying applications to production. Which brings reproducibility without having to solve dependency ma
288.
▲
by
bombela
2y ago
I understood your point. I wanted to clarify, and in some ways connect with you. At the time, I didn't know what I was doing. Maybe my colleagues did some more, but I doubt that. I just wanted to stop waking up at night because our cra
289.
▲
by
bombela
2y ago
Uninsulated attic: do you mean the attic is not part of the conditioned space? Or that there is no insulation at all? Because attics don't appear to be insulated in the bay area. There is usually insulation for the ceiling below though
290.
▲
by
bombela
2y ago
> As the person who created docker (well, before docker - see https://www.usenix.org/legacy/events/atc10/tech/full_papers/ ... and compare to docker) I picked the name and wrote the first prototyp
291.
▲
by
bombela
2y ago
The salient excerpt is: "A parser is just a function that consumes less-structured input and produces more-structured output". In opposition to a validation function that merely raises an error. - validate(raw) -> void
292.
▲
by
bombela
2y ago
> In the string -> Email example, it's probably enough to parse your string and just call it an email. You don't need to try to encode all the rules about an email into the type itself. There is also the in-between Rust app
293.
▲
by
bombela
2y ago
What about "void"?
294.
▲
by
bombela
2y ago
The UX is garbage. It tracks my phone's motion, making it incredibly jittery (I guess I don't have the rock steady hands required?). And one finger starts an automatic zoom, while two fingers unzoom.
295.
▲
by
bombela
2y ago
Thank you for the clarification.
296.
▲
by
bombela
2y ago
> someone wants to run a rainbow pattern on an LED strip > I hope they don’t try to control a light strip with more than 83 LEDs on it! That would consume all the RAM Why do you need to store the pattern in RAM at all? I would compute
297.
▲
by
bombela
2y ago
For many small one off projects, you don't need enough ancillary components to require a dedicated PCB. Merely soldering a few pins to some buttons, LEDs, perhaps a ready made relay module etc. In this case, a perf board to hold everyt
298.
▲
by
bombela
2y ago
On an attiny14a, with 128B of RAM, I had no problem implementing a 433MHz radio remote decoder, controlling 13 LEDs (via a shift register), a digital pot, a rotary encoder, and one button. With the ability to clear and record new remotes in
299.
▲
by
bombela
2y ago
I prefer a slighty robotic voice. This was way I know I am talking to a bot, and this sets expectations.
300.
▲
by
bombela
2y ago
I managed 1μm/minute when electroplating PCBs at home. Faster and it grows a sponge of copper (entrapped gas I assume). I would like to know how they did it.
More ›