Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
qayxc
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
421.
▲
by
qayxc
4y ago
Most ovens are hardwired, true. Washers, dryers, and dishwashers, however usually aren't hardwired (at least in countries with 240V AC) - might depend on the country, though. Personally, I've yet to come across a washing machine,
422.
▲
by
qayxc
4y ago
Sounds like bad design to me. But yeah, if that's the case I agree that's indeed a major inconvenience.
423.
▲
by
qayxc
5y ago
> And what is the cost of unplugging devices after every use? You really think your time is worth so much that taking 10 seconds extra for plugging/unplugging a device is worth even considering? > Not just replacing sockets or ca
424.
▲
by
qayxc
5y ago
Wait, so your solution to wasting resources is to make resources cheaper so that more can be wasted? Got it...
425.
▲
by
qayxc
5y ago
There are considerable losses on the power delivery side. The appliances don't have very efficient power supplies that convert the input voltage (e.g. 230V or 120V) down to the single digit voltages used by the clocks and LEDs. It'
426.
▲
by
qayxc
5y ago
> 100W is about what a human produces at rest. Which is why humans are quite "warm to the touch", so yes, you'd definitely feel that.
427.
▲
by
qayxc
5y ago
They could be a great application for niches, though. Prototyping 3d games or movies can be helped greatly by such techniques. If you can take a photo (effort required: seconds) and turn it into a textures low- to mid-poly model within seco
428.
▲
by
qayxc
5y ago
But can't you just use Poser models for that or any of the thousands of asset packages out there? I'd imagine smart mirrors in clothes stores as a much more intriguing application.
429.
▲
by
qayxc
5y ago
The example actually sounds quite amazing. There's much simpler ways (that are already in use, btw.) to "steal" people's identities. Smartphones and CCTV cameras are much more effective sources of information than a smar
430.
▲
by
qayxc
5y ago
As long as you don't have to rely on 3rd party libraries, sure, type hints are fine. Many popular libraries, however, don't have type hints or use them inconsistently (looking at you numpy, pytorch, tensorflow, scipy, ...). Alwa
431.
▲
by
qayxc
5y ago
> [1] floating point numbers and integers are obviously different, but the concepts are the same. No they're not. That's the entire point. 32 bit IEEE floats get you 6 to 9 significant digits, whereas 64 bit IEEE floats get you
432.
▲
by
qayxc
5y ago
> The resolution with 64-bit floats (let alone integers) would be absurd, roughly a million times finer-grained still. Careful there! Floating point numbers do not form a proper field, not even a semi-group. Due to the uneven distributio
433.
▲
by
qayxc
5y ago
Would that even work (assuming you mean the bird songs)? I'd imagine bird songs are mostly equivalent to non-verbal singing (e.g. like "la la la") combined with very general information like "I'm here, healthy and s
434.
▲
by
qayxc
5y ago
> How is it non-deterministic? It's non-deterministic in a practical sense; you cannot reproduce the exact circumstances that caused a certain behaviour. Maybe a bug flew by one of the cameras at a certain moment, or a pedestrian wi
435.
▲
by
qayxc
5y ago
This is relevant, though. There are traffic laws and regulations in place for human drivers and this incident poses a conundrum: how are minor transgressions handled with autonomous vehicles? Who gets fined? The owner? The manufacturer? Do
436.
▲
by
qayxc
5y ago
That is a very intriguing scenario indeed. Due to the non-deterministic nature of many self-driving systems, I'd reckon a broader investigation would have to follow. Should that investigation reveal a reproducible behaviour, a recall o
437.
▲
by
qayxc
5y ago
Maybe it's just a literal match (Codex is known to quote code verbatim [0]) for existing training data? Given the popularity of the problem in both CS classes and coding competitions, there's a good chance a matching implementatio
438.
▲
by
qayxc
5y ago
> The science of basic human biology is now a “regressive opinion.” Stunning. Your lack of medical knowledge is just as stunning. Not only does intersex exist (yes, humans can indeed have both primary sexual organs, though it's ra
439.
▲
by
qayxc
5y ago
> With this, I don't need to memorize the syntax OR be bottlenecked on looking at documentation or stack overflowing the commands I need. In other words: you're celebrating the fact that a tool allows you to become more and mor
440.
▲
by
qayxc
5y ago
Red-green-refactoring doesn't work if you are dealing with existing software, for example (unless there's a well-documented and -understood defect). It's not TDD (emphasis of the "driven"-part) if tests are only use
441.
▲
by
qayxc
5y ago
As silly as this may sound, you may run into issues with certain linters or formatting tools in some languages. A prominent example is PEP8 in Python, which suggests a line length limit of 79 characters (though 80-100 chars are considered t
442.
▲
by
qayxc
5y ago
> Have none of you ever refactored code..? Or all of your writing C? You seem to ignore the much broader context here: the article wasn't just about code. It included configuration files and HTTP requests. It's also worth notin
443.
▲
by
qayxc
5y ago
Integration tests are top-down and focus on checking that the system under test behaves as expected. They usually require elaborate setup and configuration and can - depending on the system - take considerable effort to start and run. The
444.
▲
by
qayxc
5y ago
High test coverage is the worst metric one can aim for. As soon as frameworks and external APIs are involved, it's basically impossible to achieve without bending over backwards and needlessly creating mocks for half your system. My bi
445.
▲
by
qayxc
5y ago
While I agree that a good architecture cannot be derived from (unit-)tests alone, tests do indeed help a lot with good design. As soon as you need elaborate setup in order to test a single piece of functionality (or function), you will st
446.
▲
by
qayxc
5y ago
> Formal methods don't eliminate wrong or insecure results. Yes, they do. That's the entire purpose of a proof. Of course formal methods cannot prevent or even detect wrong specifications, but that's no different from gene
447.
▲
by
qayxc
5y ago
> it just doesn't make sense to me that anyone else would _want_ to be doing TDD or other similar methodologies. It's _so_ much more effort to do tests before code. This statement only makes sense if you can provide figures com
448.
▲
by
qayxc
5y ago
> Could AI generated code mean the death of coding? A rose by any other name... "Coding" is the formalisation of ideas, algorithms, requirements, and constrains. This task is and will continue to be challenging. Whether you use
449.
▲
by
qayxc
5y ago
I am still greatly disappointed by the insistence on end-to-end black-box models. In the end, as impressive as these results are, they are fundamentally trending in the wrong direction. All the benefits and certainty (e.g. security, correct
450.
▲
by
qayxc
5y ago
> What in god’s name is pnpm? Take a look: https://pnpm.io
More ›