Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
triple sulk
Sep 17, 2014



i use c#

Adbot
ADBOT LOVES YOU

Flat Daddy
Dec 3, 2014

by Nyc_Tattoo
ya i wanna transition away from frontend but idk where. it's really aggravating and monotonous and the whole stack if a lovely pile of hacks. you toil for hours on a dumb problem and it turns out the solution is retarded too and you didn't really learn anything.

The Duggler
Feb 20, 2011

I do not hear you, I do not see you, I will not let you get into the Duggler's head with your bring-downs.

jony neuemonic posted:

because web dev is a ghetto.

that said, it's a fine way to get a foothold and definitely the easiest path into programming jobs if you don't have a degree or much experience.

Thats basically what I am hoping for, I was even going to sign up for an expensive ~coding school~ but said gently caress it and am just learning as I can on my own. It was either that or do a CS degree

Shaggar
Apr 26, 2006

jony neuemonic posted:

backend web dev isn't much better, in my experience (which is absolutely biased because i don't live in a great tech city).

still doesn't pay great, still prone to everyone fawning over the framework of the month, it's boring (how many different ways do you really need to parse json?), and if you're especially unlucky you'll end up maintaining spaghetti php.

backend web dev is easy as hell. you're basically mapping web api calls to stored procs plus security. security is a pain everywhere.

Luigi Thirty
Apr 30, 2006

Emergency confection port.

Bloody posted:

install diptrace

yeah done now I have a cool schematic just like in the movies

I figured out how to add my parts to the stock library for schematics but not to the bit that tells it the physical dimensions of the parts so it thinks my 2-char LED is the size of a DIP-16 part on a PCB

Luigi Thirty
Apr 30, 2006

Emergency confection port.

designer's notebook from '81 for stern's frenzy arcade game, the sequel to berserk

http://a9k.net/frenzy_notebook/

bonus points for "stern bankrupt, out of contract"

Bloody
Mar 3, 2013

Luigi Thirty posted:

yeah done now I have a cool schematic just like in the movies

I figured out how to add my parts to the stock library for schematics but not to the bit that tells it the physical dimensions of the parts so it thinks my 2-char LED is the size of a DIP-16 part on a PCB

there's the schematic pattern editor tool and the layout part editor tool and you gotta do both then you can associate the schematic pattern with a layout part

oh no blimp issue
Feb 23, 2011

does anyone know anything about android bluetooth handling?
i have a few bluetooth devices of the same type and i want my app to only display these devices, whereas atm it gives me a list of all in range devices, is there a way to only discover the right kind of device?

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

Awia posted:

does anyone know anything about android bluetooth handling?
i have a few bluetooth devices of the same type and i want my app to only display these devices, whereas atm it gives me a list of all in range devices, is there a way to only discover the right kind of device?

how hard is it to filter a list?

oh no blimp issue
Feb 23, 2011

very easy! im just not sure what to filter on, i dont know if devices of the same type have some sort of device id that they all share or what

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

oh, what do you mean by type?

oh no blimp issue
Feb 23, 2011

i mean, i have a few copies of the same device, a bluetooth pedometer, exactly the same make and model

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

oh then idk maybe if they all have the same bluetooth name or something you can filter on that? i doubt there's a pedometer profile

oh no blimp issue
Feb 23, 2011

hmmm, i thought all devices of the same type might have a unique identifier so you could tell they were that kind of device, like a uuid that means "i am a pedometer by this manufacturer"

i believe the first 6 bytes of a MAC address are manufacturer specific so i suppose i could filter on that and hope

fritz
Jul 26, 2003

Awia posted:

i mean, i have a few copies of the same device, a bluetooth pedometer, exactly the same make and model

do they all have similar mac addresses?

Shaggar
Apr 26, 2006
the mac address could be for the manufacturer of the blue tooth chip in the device so it probably isn't what you want.

before doing anything else, first check to see what you can even get from the devices. enumerate their properties and see if you can find some values that you think are unique and then go look up what the properties are supposed to be in the spec or the api that's giving you the data.

if its anything like pci device ids there will be a manufacturer id and a device id that together are unique.

also check w/e api you're using to see what it says. this isn't a new problem

oh no blimp issue
Feb 23, 2011

the trouble is the device i have been given has no public spec, but atm im calling each uuid and seeing what it gives me back, hopefully ill find a identifier of some description
i thought maybe the bluetooth spec may have defined a "maufacturer/device id" somewhere but i cant find anything like that

oh no blimp issue
Feb 23, 2011

thanks shaggar, thaggar

fritz
Jul 26, 2003

Shaggar posted:

the mac address could be for the manufacturer of the blue tooth chip in the device so it probably isn't what you want.

before doing anything else, first check to see what you can even get from the devices. enumerate their properties and see if you can find some values that you think are unique and then go look up what the properties are supposed to be in the spec or the api that's giving you the data.

if its anything like pci device ids there will be a manufacturer id and a device id that together are unique.

also check w/e api you're using to see what it says. this isn't a new problem


oh good point, yeah

i think maybe the uuid might be a thing to start looking @ the uuid, and see also http://developer.android.com/reference/android/bluetooth/BluetoothClass.html

surebet
Jan 10, 2013

avatar
specialist


ex web guy update

dude resold a portion of his low tier godaddy hosting package for 45$ a month, with a 45$ fee for the domain per year on top. now i understand this to a point, because if you can't be arsed to shop around well gently caress you, but still.

also i was looking for image assets for a billing document redesign, apparently the only logo we have is 328*106 super lossy jpg. now i know for a fact that at some point we had a svg file of the logo, but the dude murdered it because he didn't know how to use it. basically he opened it up in ie, printscreen'ed the size he wanted and trashed the file. now there's blame to be shared here, the logo design was in-house by the owner's son on a work machine (which doesn't have a backup) and after the file was sent to the contractor every local copy was purged, because outsourcing.

finally, dude also acted as the de facto graphics artist for the print ads. he literally mocked up the content in word, printscreen'ed the result and sent that in as proof/final. i was wondering why we were getting 25-75% surcharges for our newspaper ads, some poor schmuck on the other end basically had to redo the entire content. to be fair, those people also deserve a raised eyebrow, they're still using qxp7 in tyool 2015 and weren't able to use the indesign files i've sent them since.

this whole thing is rather :psyduck:

horse mans posted:

why on god's green earth would you install "Image Resizer for Windows"

here

code:
$ for image in *.jpeg; do; convert "${image}" -resize 640x480 "resized/${image}"; done

heh, right click resize suits my rare needs just fine, but your thing is also good


The Duggler posted:

I want to learn web dev and this gives me hope that even if im terrible at least i might get paid

i dabble in web stuff for mostly personal reasons, but adding some web notions to my skillset has been a definite good thing

full disclosure i'm in accounting, but going beyond vba and adding know how like how to ingest jsons in excel adds another angle. being able to parse out xlsx files (which are basically a packaged bunch of xml files), pull info and spit out metrics in a diy intranet dashboard was also a cool project.

what i'm saying is look at the stuff you do, figure out how you can make it better with a (maybe probably local) web app and use that as a learning project.

then brace yourself for the decent into madness involved in trying to plug half of the security holes you just opened.

Hunter2 Thompson
Feb 3, 2005

Ramrod XTreme

Awia posted:

i mean, i have a few copies of the same device, a bluetooth pedometer, exactly the same make and model

Are these devices using Bluetooth Low Energy, or classic (v3) Bluetooth? Often BLE devices will advertise their service UUIDs or include it in the scan response. This would be exactly what you'd want to filter on if you can get it. What are the contents of these devices' advertising packets?

oh no blimp issue
Feb 23, 2011

meatpotato posted:

Are these devices using Bluetooth Low Energy, or classic (v3) Bluetooth? Often BLE devices will advertise their service UUIDs or include it in the scan response. This would be exactly what you'd want to filter on if you can get it. What are the contents of these devices' advertising packets?

its le yeah, i shall take a look at this tomorrow, thanks

Symbolic Butt
Mar 22, 2009

(_!_)
Buglord

brap
Aug 23, 2004

Grimey Drawer
microsoft needs to hurry up and make c# development on mac and linux nice because this go poo poo is just not cutting it

maybe open source swift will result in some mac and linux uptake. I don't know. I do know that .net is actually a pretty nice thing for building websites with and all swift is gonna have is some guy's "my furst framework herp derp"

Luigi Thirty
Apr 30, 2006

Emergency confection port.

c# is good and swift is going to suck until it gets the ecosystem that .net has

gonadic io
Feb 16, 2011

>>=

pram??

bobbilljim
May 29, 2013

this christmas feels like the very first christmas to me
:shittydog::shittydog::shittydog:
Java question

is there some idiom / reason to annotate methods with some annotation and then dispatch method calls by iterating over every method and matching some value in the annotation with an argument?

i suppose it allows you to add new methods without changing the dispatcher method. seems a bit ugly though compared to a good old case stmt

bobbilljim
May 29, 2013

this christmas feels like the very first christmas to me
:shittydog::shittydog::shittydog:
it's probably what spring and etc do under the hood, but seems gross when i have to look at it

JewKiller 3000
Nov 28, 2006

by Lowtax

bobbilljim posted:

dispatch method calls by iterating over every method

:barf: whoever does that poo poo doesn't understand oop at all

leftist heap
Feb 28, 2013

Fun Shoe

bobbilljim posted:

Java question

is there some idiom / reason to annotate methods with some annotation and then dispatch method calls by iterating over every method and matching some value in the annotation with an argument?

i suppose it allows you to add new methods without changing the dispatcher method. seems a bit ugly though compared to a good old case stmt

i mean, this is how a lot of annotations based frameworks work?

Janitor Prime
Jan 22, 2004

PC LOAD LETTER

What da fuck does that mean

Fun Shoe

bobbilljim posted:

it's probably what spring and etc do under the hood, but seems gross when i have to look at it

you shouldn't be looking at code like that unless you're working in the sausage factory ^^

Jabor
Jul 16, 2010

#1 Loser at SpaceChem
There are good reasons - in framework code. If your application-developing coworker is writing stuff like that you should run far, far away.

oh no blimp issue
Feb 23, 2011

meatpotato posted:

Are these devices using Bluetooth Low Energy, or classic (v3) Bluetooth? Often BLE devices will advertise their service UUIDs or include it in the scan response. This would be exactly what you'd want to filter on if you can get it. What are the contents of these devices' advertising packets?

i found this: https://developer.android.com/reference/android/bluetooth/le/ScanFilter.html which is perfect

except it was added in api 21 and the phone im using doesn't support it!

Shaggar
Apr 26, 2006

bobbilljim posted:

Java question

is there some idiom / reason to annotate methods with some annotation and then dispatch method calls by iterating over every method and matching some value in the annotation with an argument?

i suppose it allows you to add new methods without changing the dispatcher method. seems a bit ugly though compared to a good old case stmt

I don't like it and unless spring is doing some kind of caching during discovery you're gonna get a performance hit every time something tries to call ur poo poo.

gonadic io
Feb 16, 2011

>>=
https://github.com/minimaxir/big-list-of-naughty-strings/blob/master/blns.txt

triple sulk
Sep 17, 2014




doesn't include "dehumanize yourself and face to bloodshed"

Jerry Bindle
May 16, 2003

lol, read the whole thing

Jabor
Jul 16, 2010

#1 Loser at SpaceChem
doesn't include av false-positives, 0/5

Valeyard
Mar 30, 2012


Grimey Drawer

fart simpson posted:

why is this bad? i dont understand

because they had me spend my time finding documentation spread everywhere and copying it into confluence pages, it was trash

anyway, turns out im not in that team. consequently, has anyone ever used...Eclipse RCP? lol

Adbot
ADBOT LOVES YOU

Luigi Thirty
Apr 30, 2006

Emergency confection port.

I got promoted and my title doesn't say 'associate' or 'junior' or any other variation anymore :toot:

  • Locked thread