552 stories
·
2 followers

Linear Sort

5 Comments and 9 Shares
The best case is O(n), and the worst case is that someone checks why.
Read the whole story
GaryBIshop
12 days ago
reply
I love it that it is Python!
edquartett2
12 days ago
It's not Python 😉 "length()" is just "len()" and functions begin with "def"
Share this story
Delete
4 public comments
jlvanderzwan
11 days ago
reply
This joke was funnier 13 years ago when some anonymous weirdo invented "sleepsort"

https://web.archive.org/web/20151231221001/http://bl0ckeduser.github.io/sleepsort/sleep_sort_trimmed.html
macr0t0r
12 days ago
reply
Well...if you want determinate time...
bcs
11 days ago
while true: pass
Groxx
12 days ago
reply
It's good to let your computer rest occasionally, to avoid burnout
Silicon Valley, CA
alt_text_bot
12 days ago
reply
The best case is O(n), and the worst case is that someone checks why.

Saturday Morning Breakfast Cereal - Ritual

2 Comments and 5 Shares


Click here to go see the bonus panel!

Hovertext:
I'm not saying you should do this, only that it'd be awesome.


Today's News:
Read the whole story
GaryBIshop
12 days ago
reply
Ha!
Share this story
Delete
1 public comment
jlvanderzwan
12 days ago
reply
Is the joke that it would probably work too? If you also add 3 days of no computer, phone or any other form of digital media?

Saving a Samsung TV From the Dreaded Boot Loop

1 Comment

[eigma] had a difficult problem. After pulling a TV out of the trash and bringing it home, it turned out it was suffering from a troubling boot loop issue that basically made it useless. As so many of us do, they decided to fix it…which ended up being a far bigger task than initially expected.

The TV in question was a Samsung UN40H5003AF. Powering it up would net a red standby light which would stay on for about eight seconds. Then it would flicker off, come back on, and repeat the cycle. So far, so bad. Investigation began with the usual—checking the power supplies and investigating the basics. No easy wins were found. A debug UART provided precious little information, and schematics proved hard to come by.

Eventually, though, investigation dialed in on a 4 MB SPI flash chip on the board. Dumping the chip revealed the firmware onboard was damaged and corrupt. Upon further tinkering, [eigma] figured that most of the dump looked valid. On a hunch, suspecting that maybe just a single bit was wrong, they came up with a crazy plan: use a script to brute-force flipping every single bit until the firmware’s CRC check came back valid. It took eighteen hours, but the script found a valid solution. Lo and behold, burning the fixed firmware to the TV brought it back to life.

It feels weird for a single bit flip to kill an entire TV, but this kind of failure isn’t unheard of. We’ve seen other dedicated hackers perform similar restorations previously. If you’re out there valiantly rescuing e-waste with these techniques, do tell us your story, won’t you?

Read the whole story
GaryBIshop
29 days ago
reply
A madman and a hero!
Share this story
Delete

Casio turns back time with the G-Shock that started it all

2 Comments
Here you can see the original 1983 G-Shock (left) compared to the DW-5000R recreation (right). | Image: Casio

It’s been 41 years since Casio debuted the very first G-Shock digital watch, and its latest timepiece is the brand’s most faithful recreation to date. The new G-Shock DW-5000R is visually near-identical to the original DW-5000C launched in 1983 — right down to the length, and dimple positioning on the watch strap.

The rugged appeal of the original DW-5000C carries plenty of nostalgic charm, but it was a novel concept when it first launched. Its creator, Casio engineer Kikuo Ibe, was inspired to make a damage-resistant timepiece after his mechanical watch shattered on the ground when it fell off his wrist. The resulting G-Shock design was intended to have “triple 10” resistance — meaning a battery life of ten years, water resistance of 10...

Continue reading…

Read the whole story
GaryBIshop
32 days ago
reply
The cool kids had these!
Share this story
Delete
1 public comment
freeAgent
32 days ago
reply
This is kind of cool, but for over $200…I don’t think so. I’m sure others disagree.
Los Angeles, CA

Saturday Morning Breakfast Cereal - Poetry

3 Comments and 11 Shares


Click here to go see the bonus panel!

Hovertext:
Anyone who thinks AI endangers poets should first prove that there exists a poetry journal with more readers than contributors.


Today's News:
Read the whole story
GaryBIshop
32 days ago
reply
This is great!
Share this story
Delete
2 public comments
Hanezz
29 days ago
reply
AI poetry mostly leans towards clarity. Its simplicity is both its strength and its limitation. That's why it sometimes far surpasses human-authored works in perceived quality.
tante
32 days ago
reply
"But average people like AI poetry better than real one"
Berlin/Germany

GM eliminated Apple CarPlay and Android Auto from its EVs — this upgrade adds them back

1 Comment and 2 Shares
Chevy Blazer EV
Photo by Andrew J. Hawkins / The Verge

What GM takes away, the aftermarket restores.

General Motors’ controversial decision to drop Apple CarPlay and Android Auto from most of its electric vehicles now has a possible workaround. As noticed by InsideEVs, a company called White Automotive and Media Services (WAMS) is advertising a new aftermarket upgrade kit that restores the popular phone-mirroring features back into Chevy and GMC EVs.

On its website, the company promises “fully integrated wired and wireless CarPlay and Android Auto in all the ways you’ve come to expect (and some you haven’t!) without compromising any existing features or functionality.” The upgrade is currently compatible with the Chevy Equinox, Blazer, and Silverado EVs, as well as the GMC Sierra EV. (Sorry...

Continue reading…

Read the whole story
GaryBIshop
33 days ago
reply
What is the advantage of having this built-in over simply using your phone through the car sound system?
jgbishop
32 days ago
I've never understood this either. Neither of our Toyota vehicles has Android auto or Apple support because they refused to use those systems. Only recently did they change.
Share this story
Delete
Next Page of Stories