[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Archived threads in /g/ - Technology - 6338. page

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

File: My code.png (200KB, 830x756px) Image search: [Google]
My code.png
200KB, 830x756px
Hey /g/, I'm new to coding, could you guys please rate my code?
6 posts and 1 images submitted.
>>
ha
>>
Try to condense more into each line. Also you don't really need indentation. Oh and don't forget to make the names of the variables a little more cryptic, "tableName", for example, is too descriptive.
>>
can't be fucked looking it up, but there's no way in hell mysql sucks hard enough to not support bind variables.

just use a real db like postgre, or a faggot non-db like mongo. no one who knows anything about databases would use mysql if they had a choice.

File: 4L_4d54yBBq.png (951KB, 928x1284px) Image search: [Google]
4L_4d54yBBq.png
951KB, 928x1284px
My AT&T/iPhone contract is up in November and I'm looking to buy my first android phone ever. Is pic related the best android phone on the market now?
14 posts and 1 images submitted.
>>
Yeah if you are retardo
>>
>>57224224
OnePlus 3, you're welcome m8
>>
>>57224256
This if you can't afford the pixel

File: 13439_183842981061_6444533_n.jpg (36KB, 453x604px) Image search: [Google]
13439_183842981061_6444533_n.jpg
36KB, 453x604px
Thinking of buying or making a HTPC and I stumbled across the orange pis.

Anyone here have one? Can they playback smooth 1080p h264 and h264 videos?
Can they also browse the web smoothly?

I know that SOC is super low end, but it's got hardware decoding, doesn't it?
6 posts and 1 images submitted.
>>
SERIOUSLY
>>
I miss the pre smart phone era of using digital cameras for selfies.
>>
No, just avoid embedded computers altogether for HTPC, hardly any arm boarda have mainline support and flaky as fuck driver support, software/ driver incompatibility regressions everywhere.

Sure its fine if you don't care for autistic levels of quality, I don't and my rpi3's are great for kodi + typical fusion addons.

File: 1468893960320.png (21KB, 470x495px) Image search: [Google]
1468893960320.png
21KB, 470x495px
>A boobytrapped JPEG could infect your iPhone. Upgrade to iOS 10.1 now
https://www.grahamcluley.com/boobytrapped-jpeg-infect-iphone-upgrade-ios-10-1/

IT JUST WERKS
11 posts and 4 images submitted.
>>
>>57224091
>boobytrapped
>>
a short-term solution to phoneposters?
>>
File: Huawei-IDEOS-X5.jpg (43KB, 600x455px) Image search: [Google]
Huawei-IDEOS-X5.jpg
43KB, 600x455px
>Android gets the same problem
>most phones won't get updated because the OEM discontinued all updates 6 months after release

File: 1477117039903.gif (242KB, 512x512px) Image search: [Google]
1477117039903.gif
242KB, 512x512px
If I use windows 10 to virtualbox myself a Linux distro just the way I like, is there a way for me to just copy the distro directly onto my second HDD for dual boot without virtualbox?
10 posts and 1 images submitted.
>>
Your you could idk install a Linux duel boot normally
>>
>>57224051
Pass a physical disk through to the VM and boot from a clonezilla iso.
>>
>>57224051
>>57224146
Or save config files I suppose.

Let's talk about military grade encryption! Good books cryptography? Do we poor, unwashed masses really need military grade encryption. What happens if the governments deprives us of it while still allowing it to corporations?
13 posts and 1 images submitted.
>>
>What happens if the governments deprives us of it

There is no way of really doing that. It's literally the same as trying to deprive people from mathematics.
>>
>>57224032
Well, what if laws are passed that say if you use encryption for any unauthorized reasons (like encrypting your hard drive as opposed to using https when logging into your bank acount) you could be subject imprisonment?
>>
>when the government deprives us of it
what do you think crypto is?
not like crypto is a giant computer in the midwest that operates via fairy dust, it's just maths and done right even simple cryptography can be (effectivly) unbreakable

take this for example


text = "are you safe?"

key = "358978935191389134"

crypt = "dwm)!w~#xbofB"

this is a simple encryption method called a "one time pad" if I never told you the original text or key (and used more characters for the key) it would be literally impossible to break and the key could be exchanged via arbitrarily large RSA

>>57224071
then they'd have to prove the resulting crypto isn't just random gibberish on your hard drive

So now that elitebooks are more aesthetic than thinkpads, and latitudes are more durable, is there any reason to continue promoting those shitty thinkpads anymore?
15 posts and 6 images submitted.
>>
>>57223884
Probably not, unless you want a cheap laptop where the X220 or X230 are still extremely good devices.
>>
File: IMG_20161025_103644_010.jpg (185KB, 1080x1656px) Image search: [Google]
IMG_20161025_103644_010.jpg
185KB, 1080x1656px
>>57223911
There are other alternatives to the smaller thinkpads like x220 that also aren't cheap plastic for a similar price.
>>
File: IMG_20161025_104220_208.jpg (178KB, 1080x1652px) Image search: [Google]
IMG_20161025_104220_208.jpg
178KB, 1080x1652px
>>57223972
And here's the cheapest x220 I could find.

There's a $40 difference, but with the latitude you're getting
>metal chassis
>Ivy bridge instead of Sandy bridge
>more aesthetic, thinner, and lighter laptop

I guess it's just a matter of how much that $40 matters to you.

File: qf.png (27KB, 1384x450px) Image search: [Google]
qf.png
27KB, 1384x450px
Whenever I install Arch Linux the font rendering looks like ABSOLUTE TRASH, no matter what font I choose. It's unusable.

From a clean Arch install, how do you make fonts actually look good? Tell me your secrets.

>fonts look fine on other distros (e.g. Manjaro, Debian, Mint, LMDE, Lubuntu, Xubuntu)
10 posts and 2 images submitted.
>>
https://wiki.archlinux.org/index.php/Infinality
>>
Install Antergos instead, it's Arch but you don't have to waste your life configuring every little thing.
>>
>>57223850
install infinality

File: FB_IMG_1472407038938.jpg (206KB, 944x960px) Image search: [Google]
FB_IMG_1472407038938.jpg
206KB, 944x960px
It's for my friend his girlfriend broke up with him had a random guy come over before he moved out and the asshole kid stole it while he was at work
Please 4chan I know you guys have mad skills
10 posts and 3 images submitted.
>>
>>57223841
If it makes you feel any better I'm going to adopt a dogger like the pic you posted and put have a vet put him down asap after the adoption.
>>
>>57223891
*shoots you in the head in cold blood*

nobody messes with doggers on my watch :+)
>>
We're not your personal tech support so fuck off

File: 78Af6cj.jpg (271KB, 1944x2592px) Image search: [Google]
78Af6cj.jpg
271KB, 1944x2592px
A new design for solar cells that uses inexpensive, commonly available materials, including tin and other abundant elements, could rival and even outperform conventional cells made of silicon.

The resulting new type of solar cell, which replaces silicon with a crystal called perovskite, converts sunlight to electricity at efficiencies similar to current technology but at much lower cost, said researchers from Stanford University in the United States and Oxford University in Britain.

Perovskite is a photovoltaic crystalline material that is thinner, more flexible and easier to manufacture than silicon crystals. The new device consists of two perovskite solar cells stacked in tandem. Each cell is printed on glass.

"Perovskite semiconductors have shown great promise for making high-efficiency solar cells at low cost," said Michael McGehee, a professor of materials science and engineering at Stanford and co-authored on a study published in the recent issue of the journal Science. "We have designed a robust, all-perovskite device that converts sunlight into electricity with an efficiency of 20.3 percent, a rate comparable to silicon solar cells on the market today."
6 posts and 1 images submitted.
>>
>20.3%
Into the trash it goes.
>>
>>57223842
Man solar panels really are fucking shit. You need like 20 of them just to feed a small family home (assuming it's sunny outside).
>>
>>57223924
They really are.
But you have to understand the average user isn't going to make any money from it, just basically offset their electrical bills.
I guess they pay for themselves after the payoff period of like 10 years but fuck that, JUST invest it or something.

T. Renewable energy student

File: EPUB_logo.svg.png (29KB, 745x1024px) Image search: [Google]
EPUB_logo.svg.png
29KB, 745x1024px
We talk about movie and music collections a lot. Where does /g/ find and store their books? And what do you read them on?
10 posts and 2 images submitted.
>>
>>57223768
>Where does /g/ find and store their books?
library

And what do you read them on?
paper
>>
>>57223778
Okay, well that's fair enough. Anything else?
>>
I find them at #bookz
I store them on my phone
I read them with moon+ reader

File: from 4mb to 20mb.png (10KB, 723x312px) Image search: [Google]
from 4mb to 20mb.png
10KB, 723x312px
>tfw you have average internet speed
Feels fucking amazing man, I'm so hyped to see my next download be much faster

General internet speed thread, post your speedtest scores and complain about your ISP, being a poorfag, and flash your epeen
11 posts and 7 images submitted.
>>
File: spd.png (5KB, 497x60px) Image search: [Google]
spd.png
5KB, 497x60px
>>57223711
just using 3g mobile internet now.
>>
File: 5742584657.png (32KB, 300x135px) Image search: [Google]
5742584657.png
32KB, 300x135px
>>57223711
It's as fast as I need. Price is fine and the service is good.
>>
the jews stole my upload

Going to install Ubuntu on my t100ta. But I gotta know, what's a good DE for a touch screen that's lighter than Unity?

I'll probably go with E17 but I'm curious about my other options too.
15 posts and 1 images submitted.
>>
You know koreans eat dogs right?
>>
>>57223559
And?
>>
>>57223540
She actually looks human.

File: 0IKrEKP.jpg (77KB, 422x750px) Image search: [Google]
0IKrEKP.jpg
77KB, 422x750px
Want to try out google cardboard but my phone is 5.5 inch 1080p.

I've heard you need at least 1440p for vr. Is that true? Why?
What will happen if I try out vr anyways? Will it just look like shit?
9 posts and 1 images submitted.
>>
>>57223398

it will be blurry
>>
It'll work with 1080p. I gave my Google cardboard to some poorfags with 720p screens and they were still amazed. 1440p is probably the recommendation for full immersion. Which I consider BS. Cardboard is a novelty but still worth trying, not worth buying a new phone over without trying it first.
>>
Does anyone here have a fix for VR drift?

I'm tired of this shit

File: yt.jpg (37KB, 770x578px) Image search: [Google]
yt.jpg
37KB, 770x578px
How can I customize the youtube html5 player in firefox?
6 posts and 1 images submitted.
>>
Install Gentoo
>>
>>57223379
bump
>>
install gentoo

Pages: [First page] [Previous page] [6328] [6329] [6330] [6331] [6332] [6333] [6334] [6335] [6336] [6337] [6338] [6339] [6340] [6341] [6342] [6343] [6344] [6345] [6346] [6347] [6348] [Next page] [Last page]

[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.