[ / / / / / / / / / / / / / ] [ dir / asmr / fukemo / gachi / had / hypno / leftpol / strek / sw ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Name
Email
Subject
Comment *
File
Select/drop/paste files here
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

File (hide): 3f86ee8a79b4ea2⋯.jpg (71.39 KB, 283x283, 1:1, cyber-touhou-patchouli.jpg) (h) (u)

[–]

 No.851415>>851429 >>851435 >>851455 >>851615 [Watch Thread][Show All Posts]

From the contribution guide for Rockbox:

>Write normal C code. Keep it simple. Don't redefine the language. No new types (structs are structs, not typedefs). No C++isms or Javaisms. No code in .h files or #defines.

https://git.rockbox.org/?p=rockbox.git;a=blob;f=docs/CONTRIBUTING

Does anyone have anything they want to say to the Rockbox contributors?

 No.851417>>851419 >>851423

I used it as a music player on my cellphone (Someone built an APK frequently), it's the only one that worked pretty well without bs. It's not surprising they have good coding standards.


 No.851419>>851424

>>851417

What does it even look like on a phone?


 No.851420>>851427

> Braces for function declarations are put in a new line under the name

Into the trash it goes

> Use UTF-8 character set, but try to refrain from using any non-ascii letters

Isn't that the same as using just ASCII?


 No.851423

>>851417

Hey cool, the project lives.


 No.851424>>851426 >>851437

>>851419

It has a shitty interface but it works well.


 No.851426

>>851424

>It has a shitty interface but it works well.

Sorry, are we talking about Rockbox, or every GNU/Linux project ever?


 No.851427>>851595

File (hide): 0362d78684725fc⋯.png (241.13 KB, 297x479, 297:479, blackhitler.png) (h) (u)

>>851420

I'm surprised you skipped passed their staunt "No camel case" clause.


 No.851429

>>851415 (OP)

Good job!


 No.851432

Speaking of Rockbox, does anyone want to compile 3.14 for the N900/Maemo?


 No.851435

>>851415 (OP)

>(((C)))

DroppSegmentation fault.


 No.851437>>851439 >>851569

>>851424

>works well

Scratch that, it doesn't work at all. KitKat and below only.


 No.851439

>>851437

It's been a while since I used it.


 No.851455

>>851415 (OP)

Does he know that C is antiquated?


 No.851470

should have been written in rust tbqhw/u


 No.851569>>851641

>>851437

>using newer than kitkat

enjoy the botnet google cuck


 No.851576>>851586 >>851592 >>851627 >>852373

File (hide): b7004957c3b0548⋯.jpg (110.01 KB, 814x1000, 407:500, 13249872791.jpg) (h) (u)

Why would you use C for anything unless you absolutely have to?


 No.851586>>851591

>>851576

Because when I create an array I want it to be an array, not an "Array extends Object". When I create a string I want it to be a string, not a "String extends Object".


 No.851591>>851597 >>851599

>>851586

You wanna use Rust then. Rust doesn't even have inheritance.


 No.851592

>>851576

because memory safe is for pussies


 No.851595>>851623

>>851427

that_is_a_good_thing_though


 No.851596

Amen.

I would still argue that typedefs are handy, tho.


 No.851597>>851602 >>851634 >>851636

>>851591

Rewriting Rockbox in Rust would be actually pretty fun imho. But unfortunately no good digital music players are produced anymore.


 No.851599>>851651

>>851591

Nobody who writes code wants Rust. Only some larpers here are constantly shilling it. Funny thing that.


 No.851602>>851610 >>851634 >>851646

>>851597

You could still try to make it work on Android or something. Or fuck, see if you can make it work on a PC/Linux as a replacement for foobar2000.


 No.851610>>851633

>>851602

Android has tons of music player apps.

Linux has mpd. https://www.musicpd.org/

>foobar2000

>non-free windows only software


 No.851615

>>851415 (OP)

>no new types

>structs are structs

wtf do they think is even happening?


 No.851623

>>851595

underratedPost


 No.851627>>851852

>>851576

It's a fucking embedded player firmware. Ideally it has to be assembly but with the amount of different chips used in the players they stick to C for portability, even if it makes it slower.

Holy shit are /g/ refugees fleeing to 8chan or something?


 No.851633>>851635

>When writing new files, you may use the brace placement style of your choice.

This sounds messy, but they probably did it because two major contributers have different styles.

>>851610

>mpd

mpd doesn't actually play the music through your speakers.


 No.851634>>851684 >>851719

https://www.rockbox.org/wiki/GoldenQuotes

>>851597

My poor Clip+ destroyed its battery after it was left on. They're harder to get now too.

>>851602

Deadbeef is a decent Linux-based player.


 No.851635

>>851633

>mpd doesn't actually play the music through your speakers.

umm yes it does?


 No.851636>>851637 >>852942

>>851597

Or you could buy a 5th generation ipod video through 7th generation ipod classic. The 5th generation video ipods have a Wolfson DAC that is better than the DAC inside any mobile device even available for purchase today outside of $1000 meme flac players. Then you buy the double-depth rear case, replace the 600mah battery with a 3000mah LiPo battery, and the spinning disk drive with an adapter board in your preferred format (msata, CF, SD, uSD) and you have an mp3 player that can hold as much as much music as you could ever want, with 50 hours of real battery life, running rockbox. 5th generation videos can be had on ebay for less than $30. I recommend ones that are "for parts" with HDD errors. Don't buy ones that don't turn on, the charging assembly can go sometimes, or the SMD battery connect on the board, and it is impossible to resolder because it is nearly flush with the edge of the front assembly


 No.851637>>851639

>>851636

>Apple


 No.851639>>851640

>>851637

You literally replace the bootrom with rockbox's faggot, or do you not understand how recycle and reuse works. Enjoy your 128kbps mp3 collection you got in a public torrent megapack on your 4gb Sansa Clip


 No.851640>>851643

>>851639

You seem a little upset. Also I don't have a Sansa Clip nor do I have 128kbps mp3s.


 No.851641

>>851569

>actually having control over permissions

>botnet

get educated dude


 No.851643>>851644

>>851640

Your categorical reaction to the mention of Apple signals your small intellect or young age. Like any other OEM, they are a mixed bag. Aversion to their ethics, and their current products and practices is understandable. They are cancerous. Those of us who actually work in computing or enjoy computing as a hobby remember when Apple made very high quality hardware, and their OS, though derivative of BSD, really was the best of both worlds and still relatively *nix like in workflow. Those benefits are largely gone, but many people still use it because their work requires it.

Your bullshit reduction is counterproductive, and just ignorant. There is no reasonable philosophical objection you could have to repurposing < 2008 hardware for reuse with open software. There is no network stack, it can be managed with open software or as a FS, and is available at an attractive price point.


 No.851644>>851648 >>851656

>>851643

Now you are definitely upset


 No.851646

>>851602

>replacement for foobar2000

if you know what makes foobar2000 what it is, you should understand that simply porting rockbox is not enough, by far.


 No.851648>>851649

File (hide): 362c4168f6809f8⋯.png (257.72 KB, 511x522, 511:522, ClipboardImage.png) (h) (u)

>>851644

>le ebin troll xD

you have to go back to /g/


 No.851649>>851652

File (hide): 275286846288e05⋯.jpg (119.92 KB, 1024x683, 1024:683, steve klabnik 3.jpg) (h) (u)


 No.851651>>851653 >>851725

File (hide): 73fa0442be70189⋯.jpg (31.6 KB, 480x360, 4:3, 1468286055274-0.jpg) (h) (u)

>>851599

Actually, I'm writing Rust right now. Mad bro?


 No.851652>>851653

File (hide): 3344f9d85f3ab9f⋯.png (1.06 MB, 1088x728, 136:91, ClipboardImage.png) (h) (u)

File (hide): 7e3d2124f3289a7⋯.png (223.43 KB, 514x449, 514:449, ClipboardImage.png) (h) (u)

>>851649

Please enjoy your stay then


 No.851653>>851659

File (hide): 4dbda737cac58d3⋯.jpg (32.88 KB, 1280x720, 16:9, steve klabnik j.jpg) (h) (u)

>>851651

post code or kys LARPer

>>851652

thanks


 No.851656

>>851644

It really is a weird thing for him to suddenly start sperging off on.


 No.851659>>851664 >>851667 >>851669 >>851833 >>852502

File (hide): c00b063b148168c⋯.png (446.19 KB, 1600x900, 16:9, tech_rustle.png) (h) (u)

>>851653

Can do.


 No.851664

>>851659

>box expression syntax

Why? Also wtf is this?


 No.851667

File (hide): 78cd704a4c3195a⋯.jpg (50.93 KB, 434x720, 217:360, oh god damn.jpg) (h) (u)

>>851659

>neovim

>piss poor rice attempt

>shit anime

>rust

/g/ user has been detected


 No.851669>>851670 >>852457

File (hide): d1cdb63272a9c19⋯.mp4 (259.37 KB, 320x240, 4:3, 1461097209258.mp4) (h) (u) [play once] [loop]

>>851659

>VLC

REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE


 No.851670

>>851669

>muh media players

/g/ user has been detected. Also vlc just werks.


 No.851684>>851689

>>851634

>Deadbeef is a decent Linux-based player.

https://bugs.gentoo.org/301349#c61

>I'm afraid but deadbeef can't be placed in tree.

>

>Author;s quote from mail-list:

>

>> deadbeef source tree contains forks of 16 different libraries, and won't even

>> compile against upstream versions.

>..

>> i've been contacted by maintainers from Gentoo, Debian and Fedora (at

>> least) regarding this problem, and there's no way to solve it.

>> everyone wants me to link to upstream/distro versions, but that won't happen.


 No.851689>>851697 >>851701

>>851684

>2012

Pretty sure that no longer applies. It compiles against the in-distro libs now. ffmpeg is the only plugin I haven't been able to and that's due to using mpv-build.


 No.851697

>>851689

Looks like it's still not packaged on these three distros. Might still be the case.


 No.851701


 No.851719>>852854 >>852884

File (hide): 39479fa02faa5e4⋯.jpg (16.34 KB, 421x399, 421:399, yui.jpg) (h) (u)

>>851634

my clip+'s flash started to fail and my clip zip died in the washing machine within a couple months of each other. rip little buddies.


 No.851725>>851739 >>852413

>>851651

Yeah, I mad! What's your github, I'm gonna rewrite that shit in Z80 asm and run it on my gameboy!


 No.851739

File (hide): bfdabad3c2525cf⋯.jpg (45.67 KB, 758x720, 379:360, 162340354609.jpg) (h) (u)

>>851725

Now this is the kind of shitposting i want to see more of on /tech/


 No.851833

>>851659

I like your setup.


 No.851852

>>851627

The only good answer in this whole godforsaken thread.


 No.852373

>>851576

Because C is simple, easy, and compact. Because everything is written in C. For the few newer things that are written in C++, better versions already exist that are written in C. Everything else is a pet project or an academic exercise.


 No.852383

I guess that explains the FAT corruption and random crashes and errors.


 No.852413

>>851725

>not rewriting it in Z80 assembly and running it on your ti calculator

fucking faggot


 No.852415

>Contribution guide

>Not a CoC encouraging PoC to participate.

Oy vey, no wonder Rockbox development stopped years ago!


 No.852457>>853013

>>851669

VLC is preinstalled in manjaro IIRC

and if that anon uninstalls it it might fuck dependencies because there's no fallback


 No.852502

>>851659

>manjaro

>SystemDicks by default

Great.


 No.852854

>>851719

>not removing your clip zip first before laundry time

Your fault then.


 No.852884

>>851719

I've bought two Fuze+ to prepare for the apocalypse of no good Rockbox platform. Their touchpad is horrendous, but I almost never use it; only use the random folder plugin (I only keep the leafs to emulate random album).


 No.852942>>852973

>>851636

I've got a 7th iPod classic but I don't think Rockbox supports it


 No.852973

>>852942

You wouldn't want it anyways. The only reason anybody gives a shit about the 5th gen iPod video is because of the DAC specifically. Beyond that it's shit and you're better off getting some non-Apple thing.


 No.853013

File (hide): 7b3ed3518b5510d⋯.jpg (7.26 KB, 252x240, 21:20, 138351585943.jpg) (h) (u)

>>852457

Seriously?

Whoa, what a great distro that is.




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
70 replies | 13 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / asmr / fukemo / gachi / had / hypno / leftpol / strek / sw ][ watchlist ]