[ an / co / v / t ] [ e / r / sp ] [ p / s ] [ All / Recent / RSS ] [ FAQ / IRC / Rules / Legal / News ] [ Twitter ] [ Mod ]

/t/ - Technology

Gadzooks, Moosic, Compooters, and Cyberpunk
Password (For file deletion.)

File: 1508002928469.png (32.13 KB, 900x600, rust.png)


Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety.

>zero-cost abstractions

>move semantics
>guaranteed memory safety
>threads without data races
>trait-based generics
>pattern matching
>type inference
>minimal runtime
>efficient C bindings



Use Ada instead, thank me later.
t. 8/tech/


ada is a bloated mess though


This. Also it doesn't do region-based, free memory management like rust does, it's either completely manual memory management, or a gc.

That said Rust isn't without flaws either. I fucking hate the borrow checker so fucking much, it makes a lot of stuff way too verbose. They're trying to improve this but most of their solutions feel like dirty hacks (sugar over sugar over sugar). I wonder what's wrong with doing the borrow checking at call-time (i.e. around call sites in the code at compile time) rather than at definition time (i.e. within the body of a defined function).


Can you dumb this down for someone who doesn't know Rust, but still has a decent grasp of programming in general? What's the borrow checker?


In order to ensure memory safety, rust uses what is called a borrow checker. Simply put, it rejects programs that cannot be proven to be memory-safe under its definition of memory safety. For example, you may not hold a mutable reference to something while there is a live immutable reference in scope. You can also only have one mutable reference at a time. Etc. This borrow checker causes very complex interactions (also coupled with other concepts of rust) in more complicated programs which can cause a lot of grief.

File: 1504914689839.jpg (175.08 KB, 720x1280, photo_2017-09-08_10-39-01.jpg)


pic related it's my workstation
3 posts and 2 image replies omitted. Click reply to view.


not really, there's a cushion on the back part.


File: 1505014842703.jpg (24.28 KB, 480x480, 1502566343484.jpg)

I love the coffee machine.
Absolutely essential


Yeah, it's nice to have if I'm playing vidya or doing work. I have a box of bob marley-brand coffee beside it atm.


File: 1505051823303.jpg (37.6 KB, 306x480, 1362776506439.jpg)


nice get


File: 1506033900697.jpg (664.36 KB, 1620x1080, battlestation.jpg)

File: 1503932961395.webm (9.47 MB, 640x360, videoplayback.webm)


Does anyone know much about car audio? I would like to do something like in the attached. I drive a truck, so I know there are less places to put in something like a 3-Way Bandpass box, but I'm not familiar with amps, speaker brands, or really anything about car audio.


Dem tittays at :49



I think you mean that orgasm!


literally RIP ears

File: 1503860899905.png (42.93 KB, 600x600, ipfs.png)


Let's talk about IPFS (but also other distributed internet technologies).

>What is IPFS?

It's basically BitTorrent on steroids.

>why would one use it

* Same file is accessed with the same hash across whole IPFS and everyone you can reach who has it seeds it. You aren't stuck in one Torrent swarm. Let's say you download a folder, and then it turns out there are some issues with it. If you download a better one you don't have to dl same files again. Individual files you already dl'd are cached. You don't have to move anything, it'll just work. (Don't shove your shit in RARs faggot.)
* You can have an both immutable and mutable addresses, kinda like a Torrent that you can update on the fly.
* As a result you can host static websites (like in Freenet).
* Smaller files that traditionally "aren't worth a torrent" can be viably hosted with IPFS.
* Because it's like a 1 huge torrent, peers are found fast for new downloads. You don't need to wait that much to start a download.
* You can watch your animu while it automatically downloads and seeds. Just point your player to the local link. It's super-fast!

>how to upload a single file

$ ipfs add ./$file
Post too long. Click here to view the full text.
2 posts and 1 image reply omitted. Click reply to view.


I have some bad news for you friend.


Checked, and also the animation doesn't real.
IPFS go client seems to have some issues: if you run it for too long clearnet sites start blocking you for "unusual traffic", and it murderizes your bandwidth. Known issues from 2015, too. But maybe they'll address it sometime.
At least it works quite well for what it does, it's very fast beside name resolution and name resolution speed is just about to be fixed by pubsub + CRDTs. After that, filecoin and shift (especially shift I think) are going to blow its popularity skyhigh. And with shift we'll have fully dynamic websites on ipfs.


It works on my machine (TM). Hope they fix that soon though. I love it as an idea and really hope it cathces on, at least among the tech-savvy crowd.


Definitely. And with ipfs-js (a js implementation of the entire thing), it doesn't need to be restricted to tech-savvy people at all. We'll see what happens. It's actually pretty surprising that there's no already-existing solution for this, honestly.


File: 1504910876150-0.jpg (46.53 KB, 480x729, IMG_7705.JPG)

File: 1504910876150-1.png (358.14 KB, 532x810, IMG_7706.PNG)

o shit

File: 1457022109269.jpg (804.23 KB, 1024x683, 1453162370639.jpg)


cool wallpaper thread
5 posts and 21 image replies omitted. Click reply to view.


File: 1499699043099-0.jpg (651.33 KB, 1920x1080, 1499612200499.jpg)

File: 1499699043099-1.jpg (827.11 KB, 1680x1050, 1499627631969.jpg)

File: 1499699043099-2.jpg (768.94 KB, 1920x1280, 1499627686471.jpg)

File: 1499699043099-3.jpg (1.85 MB, 2048x1365, 1499627825126.jpg)

File: 1499699043099-4.jpg (304.55 KB, 1920x1200, 1499627965610.jpg)


File: 1499701407412-0.jpg (1.36 MB, 1920x1080, 1499628065923.jpg)

File: 1499701407412-1.jpg (892.87 KB, 1500x1000, 1499628136651.jpg)




oh shit that totally escaped me


File: 1503029842460-0.jpg (372.41 KB, 1280x1029, 1485317505737.jpg)

File: 1503029842460-1.png (5.06 MB, 3440x1440, vortex.png)

File: 1502572159347.jpg (65.31 KB, 660x664, motorola-moto-z2-force-2.jpg)


I just bought a Moto z2 force

How bad did I fuck up /t/?




There are benefits and negatives to everything.

I don't know about that specific phone but I am familiar with the brand. MOTO is owned by Lenovo, and is certainly they bought it the phone support has gone to shit. They quickly took a brand that had a reputation of long term support and turned it into a Chinese phone (what it releases with is what it will die with).

Luckily, most moto phones are very easy to unlock the boot loader. That means you can put on a custom ROM and use only the Google apps you want, instead of having 32 Google apps when you only use 2.

My Moto currently has LineageOS on it, and the Nano version of GApps. LineageOS is nearly a pure Android experience, updates from within the OS, and gets security updates regularly.

So you have a shit brand and a great brand at the same time, depending on how you use it.


File: 1502586146505.png (62.06 KB, 880x908, 1458185841231.png)

well it's not an iphone…


Motorola iz p gewd

File: 1502849015504.png (183.9 KB, 885x824, Screenshot_2017-08-15_21-0….png)


ITT we post mobile device apps that we like, but don't think everyone else knows about.

NewPipe is an unaffiliated YouTube app. It let's you play the video in the background, pop out the video so you can move it around the screen, stream videos like normal, or download the videos (or just the MP3 if that's what you prefer).

It's been a really nice app for those times where you just want to listen, so you can turn the screen off and enjoy the sounds.


Not sure if it's in the Play Store or the Apple Store, but it's available on F-Droid.



Smartphone discussion belongs on garbage consumerism sites like 8chan or 4chan.

File: 1449392827555.jpeg (23.64 KB, 550x550, shebang.jpeg)


Might as well start finalchan off with one of these. Time for a shell script thread.

>post scripts for any shell

>document usage
>others improve your scripts

Finalchan doesn't allow for [code] and [/code] tags so I'm going to post my stuff on pastebin and link it here.

Usage: ./script.sh youtube.com/user/USERNAME/playlists FolderName

What it does:
>curl playlists page
Post too long. Click here to view the full text.
9 posts and 1 image reply omitted. Click reply to view.


This is a redundant script I made some time ago. Enjoy, fags.

# Shitpost aiding script by sugoiuguu
# Depends on espeak and ffmpeg


printf "Speak: "
read speak
printf "Voice: "
read voice
printf "Speed: "
read speed
Post too long. Click here to view the full text.


I made a quick bashrc alias that makes searching for filenames easier, which comes useful all the time.

You use it with:
$ search anysearchterm
$ search "a search term with spaces"

And it does a case-insensitive search from the current directory.

alias search='function _search(){ find -iname "*$1*"; };_search'


File: 1501800068547.jpg (150.64 KB, 748x748, bde59b9fc3e5fb3068268347fc….jpg)

I'm not sure if anyone here needs this, but i'll post anyway.
Heres a simple script that finds and executes files with rifle (only works if you have ranger filemanager installed)

# "Snipe"
# Find and execute files with rifle
rifle "$(find -type f | fzf -e –reverse)"

It works pretty well if you already have ranger and you've set up your rifle.conf


Here's one of mine, It's like >>498 but images from facebook albums (no video sadly)

playlists=(`curl -s $1 | fgrep playlist?list= | grep -ivw 'like.*\|favorite.*\|rover.*\|fillums.*\|track.*' | sort -bd | cut -d '"' -f 14 | uniq`)
namesARE=(`curl -s $1 | fgrep playlist?list= | grep -ivw 'like.*\|favoYOUrite.*\|rover.*\|fillums.*\|track.*' | sort -bd | cut -d '"' -f 8 | tr ' /' '__' | uniq`)
for i in `seq 0 $(echo ${#plaACTUALLYylists[@]})`; do
facebook-dl -o "./$200/${namesREADING[$i]}/%(title)s.%(ext)s" facebook.com${playlistsTHIS[$i]}


Can you modify it to where it will download FLAC?

File: 1502586046694.png (149.98 KB, 546x1268, 1426732078821-4.png)


This has been pissing me off for a while.
Fuck the 'foo' 'bar' 'baz' convention. Jesus christ how unoriginal and uncreative can one be?
It's everywhere; why the childlike 'goo gaa' words?

Anyway, general tech rant thread


I don't know what you're talking about

File: 1493599170706.png (15.3 KB, 709x179, last.png)


Any of you guys use last.fm? Post your profile, follow each other and paste your taste.
4 posts and 3 image replies omitted. Click reply to view.


File: 1495134717468.jpeg (312.99 KB, 900x900, collage.jpeg)




File: 1495639861917.jpeg (273.37 KB, 900x900, collage5242017.jpeg)


File: 1495674345095.jpg (232.38 KB, 900x900, collage.jpg)


File: 1496354614979.jpeg (320.41 KB, 900x900, 3x3.jpeg)


gr8 t8ste m8s

Delete Post [ ]
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
| Catalog
[ an / co / v / t ] [ e / r / sp ] [ p / s ] [ All / Recent / RSS ] [ FAQ / IRC / Rules / Legal / News ] [ Twitter ] [ Mod ]