Looking for some durable bluetooth ear buds for working out with. Battery life only needs to be an hour, needs to be waterproof/resistant, due to sweat. Audio quality isn't a big deal.
I'm building a Python script that needs a lookup table to transform certain strings (think of, for example, converting country names into ISO 3166 country codes). I don't want it to connect to any service on the internet for this. How would I go about it? SQLite?
Should be fine, but there's probably a virus in the activator.
Leo Murphy
Is that an issue?
Lincoln Hernandez
If it's not very large you could just use a dictionary.
Cameron Gutierrez
How does one go about replacing a uSATA SSD in an actually sensible fashion? Adapters/converters aren't really common.
Sebastian Bailey
>there's probably a virus in the activator. >Is that an issue?
Apparently not.
Josiah Edwards
For small tables (less than a few MB) I'd just use a standard python dictionary. From that point redis or some other k-v store, and after that a full SQL database. SQLite works fine but if you really have that many rows you probably want a less minimal database. For something like country names though (a few hundred keys), a dictionary will work fine though. Pickle it or json.dump it if you need to persist to the disk. Bear in mind that it's pretty common to connect to a database server over a socket, without necessarily connecting over the internet -- not sure if that's what you mean by not connecting to the internet for it.
Ideally the lookup table should stored in a file because the script will be used by several users and I don't want to set up a database in a server for this. A simple json file would be appropriate.
Colton Powell
>several users based in different locations and using different computers, that is
Jaxson Edwards
It converts digital signals to analog signals. Can't say much more without context.
Anthony Morris
In MPC-BE, is there any point to using xysubfilter or assfilter over the internal subtitle renderer?
Christian Roberts
This is the response I was fearing, as I've gotten it before. They're not the same thing. Look at and see the notch placement. These actual drives are hard to find, and those that exist are small, slow, and more expensive than they ever should be.
And that's from the first forum link I just found. It's a dead link, bud.
Josiah Lee
On a fresh install of arch linux. Have not used or installed linux in almost a year. Trying to install yaourt manually and when i do makepkg with any tags i get 5 errors telling me that it failed to change directory to root. what am i doing wrong?
Landon Scott
>what is the point of a DAC? It's a unidirectional modem, with an analog spectrum output typically targeted at what the frequency range humans can hear.
Dominic Cooper
Hey, I've been playing with ncurses and I'm wondering if there's something similar but with pixels? Is there a library which let's me place a pixel(r,g,b) at position(x,y)? With ncurses I'm placing asterisks and it's kind of ugly and "*" resolution is kind of bad(only 100ish eows in my monitor).
Charles Lee
Either buy the same device it was in to get the data off of it, or call it a loss. Niche shit like that is why people hate Apple.
Jace Morgan
I'm trying to write my own AWS4 signer, and I've gotten about 2/3 of the way there. Source code here : pastebin.com/7Wk1QaLg
Despite using their function, their Strings as input, and double checking my work. What am I missing?
Are you supposed to use a different function for these Strings or byte[]?
I feel like I'm missing something, and I don't know where to reconcle this confusion because from my code and what I see on these pages I seem to be doing the right thing.
myscript.py import json with open("myfile.json") as myfile: countries = json.load(myfile)
Christopher Sanders
I’m looking for a phone to replace my iphone SE. I’m looking for a phone of a similar size. Is the sony xperia xz2 compact worth it?
Liam Cruz
I was just using Photoshop as an example - I meant all adobe products (animate, illustrate)
Austin Robinson
I recommend the Moto G5S Plus. The battery lasts forever. No bloat. The few Moto apps on it are just for gestures. You shake the camera one way and it activates the camera app. Shake it another way, it turns on the light. It has split screen support natively, so you can use two apps at once. You can switch between apps while keeping one active. It's pretty cheap too. Also, fast charge. It charges from 0-100 in less than an hour.
Noah Taylor
Did rustle finally go blind? I haven't seen a work by him for ages.
Daniel Johnson
nvm im retarded and was in the wrong directory but now im getting another error stating i dont have permissions for chmod and operation is not permitted
Brayden Walker
Luckily, it's not dead yet. However, I've been wanting to upgrade it for a long time, and it's now probably past the point of even bothering. Such a strange move on Dell's part.
Noah Rivera
but what is the gain from using an external dac
Landon Allen
So mom's hacker here. How do I make an HTTPS server, that will dump all client commands to log? How do I spoof DNS server to mine?
I just want to hack chinks applet, but I am too retarded to deal with their secneo DRM and disassembly of x86 execs. And ofcourse on GNU/Linux, since I'm too stupid to use Windows.
Dylan Nelson
fixed it. i accidentaly tried to make the package as root first and it fucked everything up
Jonathan Peterson
why is it so hard to find data points for how much bubble wrap weights i've found one figure of 80 grams per square foot sometimes you have less than 10 grams of wiggle room so you really need to be able to estimate how much bubble wrap you can use jesus fucking stupid normies
Oliver Ramirez
>80 40 grams per square foot sorry
Jayden Cox
assuming you mean a sound dac, like a digital preamp, or sound dac + amp combination device like a headphone dac+amp, it depends on what it can do that the internal one cannot maybe your internal dac is broken, noisy, quiet, etc. in which case you might want to replace it to be clear, a "soundcard" is simply a card which holds a sound dac and amplifier on it. "dac" seems to be the cool new word for "soundcard", as confusing as it is that dac is less descriptive/specific
Andrew Harris
Why do trannies program?
Kayden Reed
My monitor has a mobile blur, has anyone encountered anything like this? For a few months, text in the top right corner of the screen was blurry. It eventually went away (I thought) then appeared a few inches lower than it was, that went away after a few weeks. It's been gone for maybe a month and just a few moments ago reappeared at the very top middle of the screen.
Caleb Torres
Becuase programmers were to kind and didn't gave a fuck about gender or sexual illness. And now... I.. Well,
Thomas Ramirez
Why not just weigh a square foot of bubble wrap?
Hudson Morales
post legs faggot
Chase Martin
I need a new phone. Don't care what it can do, can be absolute cheap trash, just care that it has a good camera (meaning not just the pixels). I like the output I'm seeing from iphones but would rather die than buy one. What are the other options?
Noah Hughes
Because they can't network. Binary arguments confuse them. They prefer obfuscation, and confusion. When proven wrong, they usually an hero.
Nolan Jackson
For what? You probably didn't get my ESL. I meant that programmers were too kind to allow those niggers, pajeets and sexually ill people to work. And now these former minorities just do whatever they want, ignoring original white programers.
Liam Watson
cause i'm lazy and cheap as hell but yeh i'll do something like that i guess
Jaxson Clark
Yeah this is what I'm aiming for, thanks user.
Ryder Foster
I'm planning to get a laptop to replace my 6-year old PC. I plan to use it mostly for coding, but I'd like to have the option to play modern games on decent settings too if I feel like it. Should i buy a decent laptop with like a 1050TI now, or should I wait until the 11 series comes out and see then?
Logan Richardson
>1050TI At least get a 1060 w/6GB ram or a 1070. If it's too much, wait.
Levi Ross
Is it worth it to get basic-level certs (A+, Sec+, Net+) if I want to get a job writing software (say, as an iOS developer)?
are chinese distros chinese bot net, with trojans hidden in them, or can i trust deep in?
Jace Perry
sweet more storage!
William Howard
chinese people are trustworthy
Grayson Reyes
I remember reading/hearing that if I have a pair of ram, I have to alternate them in the slots and not put them next to each other. Is this true? If so, why?
Benjamin Smith
is utorrent safe to use still?
Jaxon Miller
which scripting language to learn first: python or typescript? where these languages are most used? all I know python is used in data analysis/data science and pentesting
Bentley Young
ausfag here, okay so i jb hifi in my area starts hiring soon and i want to apply, im just a barista rn but i really wanna get out of hospitality and work in retail, and jb is my obvs number 1 choice. whats the best way to make sure i stand out above everyone else who applies? im sure a fair amount of you who arent in coding or whatever work at a computer/computer goods store. i was hoping for summa yall advice. thanks in advance
python is for general-purpose scripting and you can do a lot of different things with it typescript is for web stuff and servers running node.js (you're supposed to learn javascript before it)
you *can* write general-purpose scripts in typescript and run them in node but python is better suited for that because you need to compile the typescript code into javascript before anything can run it
i like typescript's type system but you should probably start with python
Levi Price
Just found out Windows "N" exists. From my understanding it's just windows with less media related bloatware? Am I gonna regret it if I get it instead of the regular version?
Elijah Watson
2.2.1 is still GOAT.
Caleb Walker
programs that rely on being able to play media might require you to install the media bloatware
Jason Collins
You might. There is software out there that depends on the media player framework. I had to track down some DLLs to get MKVToolnixGUI to update since they decided to add sounds to it for completion. They did end up adjusting the installer so it wouldn't fail on missing the framework, though, but they're good like that.
Jeremiah Hill
no, because the media stuff is provided as an installable package as well, so worst case you can just install it later
Elijah Walker
They don't necessarily install on all versions of Windows 10. Microsoft's website has declined incredibly in the last few years and you can't find anything anymore.
Jonathan Reed
LaTeX and avoiding casual use of slurs.
Xavier Miller
Get over your baby duck syndrome and give Deluge a chance.
Ayden Martin
got it. thank you, user
Noah Russell
They'll work in any slot, but sometimes they can work in a faster mode in slots of the same color. It Also improves cooling to space them.
Ryan Foster
Deluge's UI tries to be uTorrent, but fails. You also have to switch to the daemon to not have 10% CPU usage on idle.
Grayson Robinson
Data but OS won't boot if it's Windows. A Linux with a generic kernel can be moved to any PC and you won't notice it's on different hardware.
Luke Butler
I'm pretty sure Microsoft dropped that shit from Windows several releases ago. Could've sworn I've moved a Windows drive to a different motherboard at least once.
Angel Miller
You need to reactivate at least. It tends to be picky when moving between Intel and AMD, at least as recently as 7.
Daniel Thomas
people say you should have like 20% free space on SSDs for best performance
is that for the entire drive or per partition? I have a page file partition that's almost full
Aiden Gomez
iirc partitions can fuck your drive even more because they restrict what blocks are usable on what partition so even though you've got a bunch of unused blocks in partition B you're fucking the blocks in partition A because partition A can't use partition B's blocks
Samuel Diaz
I've read that's not actually necessary because they come with a little extra for that and remapping for longevity. I only bother to keep mechanical drives under 80% to reduce fragmentation.
Kayden Fisher
Do you guys know of any good free hypervisor software?
Cont., as I posted by mistake. I plan to share a server with multiple people, and each of us would have their own VM with stuff that can't be accessed by others. Also, we want to use it with OpenVPN, as it will be in a country without regulated internet.
Brody Mitchell
Anyone recommend a good resource to learn about spy devices?
Went to the Spy Museum in DC and got butterflys. Looking at maybe getting a RaspPi and adding a camera and microphone, but open to all sorts of suggestions.
Joshua Thompson
it's pointless, it only exists because of corrupt bureaucratic EU bullshit
Im now convinced most anons on Jow Forums are walking meme shit posters like every other board. Jow Forums is to programming what Jow Forums is to solving the world's problems LOL! I came on here the other day to talk about the function programming paradigm and how OOP looks is going out of fashion. As the truth is, you can do recursion and loops with nothing but functions. Haskell monads anyone? >en.wikipedia.org/wiki/Church_encoding
Anyway, that aside, the main jist of my argument was a gripe about using the fat arrow function is ES6. => Fat Arrow functions reflect the way JS is used now with function expressions being everywhere (see React) which calls for a tighter 'cleaner' syntax. But personally hate seeing arrow functions, because for me, I think it hinders readability. There are lots of reasons why arrow functions in JS should not be used >See Pic I was slated for this by anons, who offered no objection, only huge heaps of ridicule, and made me believe I was fucking retarded and the only person in the whole world who questioned their ubiquitous use in ES6. Anyway turns out fuckers, Im NOT the only one who gets pissy with fat arrow functions and takes exception with them. Old Dougie Crockford does too. (so fuck you fag ass anons who ridiculed the fuck out of me). As does Kyle Simpson who wrote 'You dont know JS' (so double fuck you fag ass fuckers). So turns out, im in good company and you shit posters, can fist yourselves. Also fat arrow functions can die.
Stupid Question ------------------------- So lets settle this, in JS which is nicer for the human brain to parse if reading someone else's code? Remember to use pic flow chart too.
Arrow function >let a = (a, b) => a * b;
w/out arrow function >let a = function(a, b) { return a * b}
I know what the difference is sweetie. Im asking which is better to read, when you're reading someones else's code? And that's not the only difference. See the flow chart pic
Levi Richardson
At that size multirotors are generally just toys. Larger ones can be useful for various things.