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.
 
  • Post
  • Reply
hobbesmaster
Jan 28, 2008


yeah what idiots would do something like that...
code:

typedef void *PVOID;
typedef PVOID HANDLE;
typedef HANDLE HWND;

oh right gently caress everything

Adbot
ADBOT LOVES YOU

hobbesmaster
Jan 28, 2008

Zlodo posted:

win32 api is terrible therefore it's ok to make terrible apis


hobbesmaster posted:

oh right gently caress everything

hobbesmaster
Jan 28, 2008

OldAlias posted:

don't take the difficulty of building something stupid like gentoo on the desktop as a point of pride. there are use cases for the os, i know a few shops that use it in production as a server. as previously mentioned you can learn server things with much less headaches on almost any other operating system. if you don't understand much of what you're doing setting it up you aren't going to learn anything, or be magically more wise by virtue of using it. if you want tape together a bunch of components yourself at least use arch, you'll actually finish the install in an afternoon

why gentoo over centos or ugh, debian or ubuntu in tyool 2015

hobbesmaster
Jan 28, 2008

just statically link everything, what could go wrong?

hobbesmaster
Jan 28, 2008

Breakfast All Day posted:

i havent checked out nix in a while is it still going to fix the world y/n?

linux has taken over everywhere but on the desktop

it's truly the best irony for the neckbeards

hobbesmaster
Jan 28, 2008

well it's not at the core of rhel/centos or Debian/Ubuntu and isn't going to be used in an embedded system so it's maximum potential usage is limited to hyperspergs

hobbesmaster
Jan 28, 2008

Notorious b.s.d. posted:

writing software for linux

why aren't you using VMs hosted on the world's most advanced operating system

hobbesmaster
Jan 28, 2008

linux is great for embedded devices, servers and in VM instances that have the toolchains for them set up

shame about embedded toolchains always giving setup instructions for a ubuntu LTS instead of something that actually has long term support like rhel though

hobbesmaster
Jan 28, 2008

Soricidus posted:

it isn't really, but it's fast enough and a drat sight faster than any plang

(source: I recently reimplemented a decades-old cpu-bound c program in both python and java, trying to write efficient code without calling out to c or going overboard into unreadable soup.

the python version is slow as poo poo, no surprise, but good enough for the purpose it serves.

the java code is generally 2-3 times slower than the old c version if you force it to run in a single thread, but runs faster in normal use because it uses all the available cores whereas the c version was only single-threaded and gently caress trying to retrofit multithreading into ancient c code.

this is with java 8; java 7 is noticeably slower, java 6 is quite poor. they really have improved the jvm a hell of a lot recently.)

in c? but it's so easy! just sprinkle in #pragma omp parallel

:downs:

hobbesmaster
Jan 28, 2008

ratbert90 posted:

Why on earth are you using a file browser that isn't the CLI in Linux? :psyduck:

does mc count?

hobbesmaster
Jan 28, 2008

too good for tree?

hobbesmaster
Jan 28, 2008

Mr Dog posted:

I don't understand what OpenCL on Intel GPUs is good for.

its for doing development on a macbook air on a plane

hobbesmaster
Jan 28, 2008

Progressive JPEG posted:

anything qt just subjectively doesn't look good to me

qt applications by default match the local desktop environment

as this thread is about linux, yes of course it didn't look good

hobbesmaster
Jan 28, 2008

Suspicious Dish posted:

we've been talking about it at the office and we cannot find where the supposed upside is

the upside is hopefully you switch to Qt

hobbesmaster
Jan 28, 2008

my stepdads beer posted:

lol what is the point of versions if the major breaking ones can happen at any random point release

this is the best part of Qt: it actually feels like you're using a professionally designed API with a thought out architecture and release strategy. this is why its used in a lot of commercial products and other open source frameworks are not

hobbesmaster
Jan 28, 2008

QT_STYLE_OVERRIDE=adwaita

hobbesmaster
Jan 28, 2008

as do i

linux on the desktop: a VM and a arm dev board count right, they're on my desk

hobbesmaster
Jan 28, 2008

VikingofRock posted:

Absolutely do not try to do physics on a Windows machine, nothing will work and you will regret it. Ubuntu is also pretty annoying for scientific stuff because often you will want some up-to-date library but Ubuntu will be stuck with something from 2010, so you'll have to install from source. I would honestly go with Fedora--it shouldn't really be any slower than any other Linux, so the slowness was probably your VM (or your DE). It'll be up to date and secure, and RHEL linuxes are pretty professional feeling. Arch is nice too, but I wouldn't put it on a work laptop because stuff will break and if it happens while you are on a tight deadline you are boned unless you are real good at diagnosing and fixing Linux stuff real quick.

i thought everyone in physics was using a mac these days

hobbesmaster
Jan 28, 2008

VikingofRock posted:

IDK but apparently every piece of physics software uses it during normal use.

you can fix your dynamic links if the authors distributed broken binaries

alternatively your build scripts are broken

hobbesmaster
Jan 28, 2008

VikingofRock posted:

I should have said "used it during normal use", since it's pretty much all fixed now. Also don't read my posts as an indictment of Apple or anything--I'm just talking about what went on in the physics world and giving an example of why some physicists were unhappy with Apple (even if that anger was arguably misplaced). Stuff like breaking a bunch of physics programs--even if those programs used bad practices--has some physicists leaning towards moving away from OSX and back to Linux, which is what started this whole discussion.

well at least then your libraries being hosed up will be expected instead of a surprise

hobbesmaster
Jan 28, 2008

ahmeni posted:

I dipped my toe into the basic machine learning stuff and that was a nightmare of modifying build scripts and headers to point at libraries

this is also compounded by Intel, Nvidia, etc. being irritating wankers with library distribution

import sklearn

hobbesmaster
Jan 28, 2008

ratbert90 posted:

Lol if you actually think this.

it's shaggar. he's is referring to OS X and macs so it's basically true

hobbesmaster
Jan 28, 2008

celeron 300a posted:

pxe boot is not for the light hearted

your bios needs to support pxe booting or you will need some other way to do a network boot

you need to be able to configure and run an isc dhcp server on the ethernet segment that your laptop will be on, which means you will need a spare computer and put everything on a new ethernet segment or turn off whatever dhcp server is already running.

you will need to add tftp support and either http or nfs support to the spare computer.

you probably want to install wireshark or tcpdump to debug any issues

if you wish to walk down this path, see if there is a distribution with up to date instructions (maybe arch?) or a blog post. I can try to make some fedora 24 specific instructions but not anytime soon.

just plug computer 1 directly into computer 2. you have to do all this crap for half the embedded boards out there, its not that big of a hassle by linux standards

hobbesmaster
Jan 28, 2008

atomicthumbs posted:

coincidentally, nobody has used pxe boot in the last 10 years

the exception to every "nobody has used _____ in the last 10 years" is always embedded

except irda. nobody has ever seen irda work

hobbesmaster
Jan 28, 2008

also because the entire concept is stupid

hobbesmaster
Jan 28, 2008

The_Franz posted:

no it tanked because they were garbage intended for people who don't even know where their next meal is coming from and live in constant fear of machete wielding warlords

more importantly if they were in an area where anything of value wasn't immediately taken by warlords they already had cellular connections and windows computers

hobbesmaster
Jan 28, 2008


https://twitter.com/csar/status/769091502010142721

hobbesmaster
Jan 28, 2008

celeron 300a posted:

I'm american and I've never seen that at my local grocer (in California). What the hell is that used for? My current guess is "salads that are not salads" like potato salad and macaroni salad.

based on the number of prepper sites that come up i'm guessing its primarily just an emergency food

hobbesmaster
Jan 28, 2008

Mr Dog posted:



it may shock you to learn that the gnome development community consists of more than one person and consequently they can work on more than one thing at a time

but unironically

why does gtk continue to exist when qt is around and orders of magnitude better?

hobbesmaster
Jan 28, 2008

Mr Dog posted:

i dunno, why does kde continue to suck rear end and have no thought put into its ui design

say what you will about gnome, but they think about their ui design and apply their ideas consistently

now, some of them may be bad ideas

but they're at least consistent about them. consistency means predictability, which is good

(besides, i like the aesthetics and functionality of gnome 3)

kde is completely separate from qt though. kde is a disaster for the same reason that gtk is a disaster and qt isn't - there's a company putting actual thought behind its development and doing all the boring work behind making stuff actually work

hobbesmaster
Jan 28, 2008

VikingofRock posted:

Wait what? In my experience Ubuntu is far and away the most popular linux

all zeros are the same though

hobbesmaster
Jan 28, 2008

Captain Foo posted:

Oh God what lmao

I'm not sure you've been paying attention

hobbesmaster
Jan 28, 2008

eclipse CDT is the best embedded ide

think about that

hobbesmaster
Jan 28, 2008

mainly I've never gotten it's autocomplete and such to work correctly

hobbesmaster
Jan 28, 2008

carry on then posted:

rip my rpi

what should i replace raspbian with

it's an embedded system. you should fork an old version of yocto, add a mess of bitbake config files and never update it

hobbesmaster
Jan 28, 2008

with how sophisticated the tools for glitch attacks are now if someone has physical access to your embedded thing they can get root

hobbesmaster
Jan 28, 2008

Cybernetic Vermin posted:

based on tizen though, so one can presume that the plot is that if you buy a toyota you will find yourself swerving into oncoming traffic for making fun of rastermans work in the past

didn't we have some great quotes from a code review of tizen and especially the egl stuff being absolutely awful recently?

and Toyota doesn't have the best record on software in cars...

hobbesmaster
Jan 28, 2008

atomicthumbs posted:

it should be against the law for any part of a car other than the infotainment system to be connected electrically to a computer that's more advanced than an 8-bit microcontroller

just put m0s in everything and get rid of all the lovely old 8 bit architectures

hobbesmaster
Jan 28, 2008

writing c++ in 2017 is a fantastic troll imho

Adbot
ADBOT LOVES YOU

hobbesmaster
Jan 28, 2008

Captain Foo posted:

architect is not a verb

it is now

language is funny that way

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply