News for hackers. Stuff that matters.

sixplusone

"johnnysweekends" testing Automotive 12v sodium-ion car starter battery.

I've been searching for information all over, and it's surprisingly hard to find the details. I see that sodium is much better than lead but not as good as lithium, but cheaper and nontoxic, so I went looking for why Pb batteries aren't dead yet and replaced by Na everywhere.

Looks like the alternators will have to be replaced (or can they be reprogrammed?). Any mechanics or engineers here have additional insights?

Also should be applicable to UPS batteries. Anyone building those?

Fiber is not necessary, and can be the cause of constipation. Your body has ways of managing, and individuals who don't eat fiber have more motility:

https://pmc.ncbi.nlm.nih.gov/articles/PMC3435786/

"Stopping or reducing dietary fiber intake reduces constipation and its associated symptoms"

> (the feeling of seeing), but it's just an illusion.

Illusion to whom? what is experiencing the illusion?

The feeling is consciousness, so this seems to be just adding an extra step in between.

Re:Why is language documentation still so terrible? on Thursday September 12, 2024 @11:49PM (#41527883)
I believe that the documentation is a huge reason why php became so dominant on the net. Human curated, many real-work examples and helpful comments to get things done.

It's all I needed to learn web dev.

1. html is ascii based, from the headers to the body, naturally leading to string manipulation

2. browser engines try very hard to accept as much malformed slop as possible and still give usable results ( https://en.wikipedia.org/wiki/Robustness_principle ), this was probably a mistake

Re:The New Thermodynamic Understanding of Clocks on Saturday September 04, 2021 @12:16AM (#28412032)
Do you really need "infinite" energy? the universe is a giant clock, a perfect timekeeping device for itself; but then we have nothing to compare it to.
Re:Cdecl – C gibberish ↔ English on Sunday November 08, 2020 @03:13PM (#25028559)
For anyone else wondering: "cast into block" (^) is a non-standard lambda/closure declaration in C.

Also, Ritchie could have saved a lot of people a lot of hurt by using a "func" keyword.

Getting to work or staying home has nothing to do with whether I'm writing C or ruby.

For the next 30 years I have to put effort into something, and the number of tasks that need to be done never ends, no matter how quickly I complete them.

But humans don't hibernate between tasks. I continue living, using about the same amount of energy and oxygen. When one project is done, move on to the next (or have to come up with something else to do).
Re:Investigating the Performance Overhead of C++ Exceptions on Friday February 14, 2020 @12:33PM (#22328353)
You and flqn are trying to convince me that expected errors are not errors https://en.wikipedia.org/wiki/Happy_path

When I want a parameter is an integer, I don't check all the ways in which it's NOT an integer; the happy path is when it _is_ an int and the program can continue, and anything else is an _Error_. If it overflows, that's an error too.

i.e., happy means it's basically the longest path (aside from diagnosing the error).

The question is: should the subroutine set an error number or throw an exception? Knowing the cost for each might help me decide for various situations.

Re:Investigating the Performance Overhead of C++ Exceptions on Thursday February 13, 2020 @01:49PM (#22320257)
That's a strange idea of what "happy path" means. An invalid request is, by definition, an error or exception.
Re:Investigating the Performance Overhead of C++ Exceptions on Wednesday February 12, 2020 @02:52PM (#22312139)
My web server gets about 1000 to 1 hits of hacking attempts to valid requests (malformed headers, etc.) so I hope nginx and fcgi handle errors efficiently, because I pay for those cycles.
Understanding is not the same as performing. I can "understand" or get the gist of what is being said in german (or lisp, or rust, etc), but it's difficult to read and I can't write it; also could be understanding the mechanics or basic principles.

Literacy is complicated but indispensable in the last century.

Don't forget building a new direct pipeline for sending billions to Putin.
Re:The heritability of self-control: A meta-analysis on Tuesday November 26, 2019 @01:36PM (#21641204)
But if you factor in environmental influence, such as having a tiger parent, then the great genes for X would still be activated without requiring the complimentary execution genes. Nurture nurtures nature.
Re:The Firefox UI Is Now Built with Web Components on Wednesday November 20, 2019 @06:20PM (#21589702)
But this is part of the problem. I should have said "provide standard API" above. These libs aren't standard.
Re:The Firefox UI Is Now Built with Web Components on Wednesday November 20, 2019 @06:18PM (#21589690)
>why Toyota Corollas and Ford F-150's don't use the same engine

Yeah, they're now a weaker (browser) engine bolted on with adapters to the gui engine. Everyone gets to go through the js bottleneck.

Re:The Firefox UI Is Now Built with Web Components on Wednesday November 20, 2019 @05:06PM (#21589097)
Unfortunately OS/WM/DE makers didn't provide a common API, so now web browsers are the "Lowest Common Denominator" for cross-platform apps.
Re:A unifying approach for controlling flying robotic insects on Monday November 18, 2019 @05:50PM (#21568990)
>[...] for insect-scale micro air vehicles (FWMAVs)

uh, "Insect-Scale" == 'FW'? WTF.

>integration between my desires and my actions

how did you decide to have these desires? if it's a good feeling, then you didn't decide that such a desire will give you this feeling; if it's based on a computed most-advantageous outcome, then you didn't decide that either. If it's a choice between the two, then who decides and how (infinite regression)?

Re:Jackson Pollock's painting technique on Friday November 01, 2019 @04:03PM (#21423126)
Re:Fire shuts down cell towers in CA on Tuesday October 29, 2019 @01:25PM (#21389710)
They could borrow stingrays from the cops. And they would be in operation when the regular towers are down.
Re:What does it mean for a machine to “understand”? on Monday October 28, 2019 @06:38PM (#21382512)
We can't make a machine intelligent because we're not intelligent enough to make it, nor to understand understanding.
Re:Show HN: Differential Fuzzing of Cryptographic Libraries on Friday October 25, 2019 @12:16PM (#21356449)
The government has very deep pockets. And working for the biggest project of the century probably attracted decent talent, whereas there's no glory in writing supporting libs - you either did it right and nobody notices, or you messed up and get blame.
Re:Messages via JSON on Wednesday October 23, 2019 @05:33PM (#21339233)
Also, this could be just a html page with a few lines of XMLHttpRequest/WebSocket code no?
Re:Messages via JSON on Wednesday October 23, 2019 @04:02PM (#21338343)

  $json_array = array('reflapp'=>true,'message'=>'test');
shouldn't that be

  $json_array = array('refl.me'=>true,'message'=>'test');
Yet the last thing anyone worries about during war is pollution. Resource usage goes way up, tycoons get richer. The poor and young are sacrificed.
Re:Bjarne Stroustrup Answers C++ Questions on Tuesday October 15, 2019 @01:03PM (#21260813)
Someone has to write the operating systems and debuggers directly for hardware, including microcontrollers which don't have various cpu facilities/guarantees.
would be nice to compare all providers with something like https://www.techempower.com/benchmarks/ (azure & aws)

Older »