|
Luigi Thirty posted:apparently the answer to my os x carbon programming woes is "use gcc" just like every other system in the universe and you can just tell it to link with carbon my dude just use Mac OS 9.2.2 and CodeWarrior, it'll be so nice, it's how some of us used to live and it's interestingly different I set it up on my PowerBook G4 and it's so slick and fast…
|
# ? Jun 6, 2017 21:23 |
|
|
# ? May 10, 2024 14:42 |
|
NihilCredo posted:for the record my current holder of the "least bad postgres client" title is dbeaver dbeaver is pretty good, yeah.
|
# ? Jun 6, 2017 22:52 |
|
eschaton posted:my dude just use Mac OS 9.2.2 and CodeWarrior, it'll be so nice, it's how some of us used to live and it's interestingly different yeah os 9 runs really really fast on the G3 you're supposed to be able to select the Classic system folder as a startup disk but it just reboots into Tiger when I try. If I can re-partition the drive from some PPC Linux without erasing everything that would be ideal. I would gladly dual boot 9 and 10.4. what modern linux runs on PPC? maybe BSD could do it too. e: looks like you might be able to do it with a PPC Ubuntu disk or an old MintPPC disk. since this thing can boot from a flash drive via openfirmware that makes it easier Luigi Thirty fucked around with this message at 23:13 on Jun 6, 2017 |
# ? Jun 6, 2017 23:05 |
|
Captain Foo posted:how do i learn about datas base? sort of get the concept in a vague sense but i have no idea how they work under the hood or what, sort of have to treat them as a black box rn and I don't like doing that!! how much do you currently know? what are you trying to learn - general theory, one specific product, bit of both, ...? what rdbms are you looking at?
|
# ? Jun 6, 2017 23:59 |
|
e.g. perf tuning a specific query using mssql columnstore indexes won't be helpful if you're trying to figure out left joins in mysql
|
# ? Jun 7, 2017 00:01 |
|
redleader posted:e.g. perf tuning a specific query using mssql columnstore indexes won't be helpful if you're trying to figure out left joins in mysql welcome to perf
|
# ? Jun 7, 2017 00:01 |
|
Luigi Thirty posted:yeah os 9 runs really really fast on the G3 you should see it on like a 1GHz G4, like the 1GHz Titanium I was thinking of picking up though I should maybe get the dual 1.2 G4 that was the last system to boot Mac OS 9 instead
|
# ? Jun 7, 2017 00:52 |
|
I'm trying to continually insert a lot of rows, as fast as possible, in postgresql any protips are welcome
|
# ? Jun 7, 2017 01:23 |
|
Symbolic Butt posted:I'm trying to continually insert a lot of rows, as fast as possible, in postgresql use mongodb if you want webscale
|
# ? Jun 7, 2017 01:27 |
|
are you doing the inserts separately, one row at a time? don't, phrase your insertion as a bulk query: insert into blah select ... (if you're in plpgsql then build up the inserts in an array and at the end just insert into blah select * from unnest(array)) you can also use the copy command if possible, it is much faster than separate inserts now, assuming this is a one-time bulk insert job: does your table have any constraints or indexes defined on them? these have to be checked/recomputed for each new row. can you remove the constraints and indexes to readd later once you're done? are you willing to forego crash safety during your insert? if so, set the table to unlogged, this will make writes significantly faster
|
# ? Jun 7, 2017 01:29 |
|
i'm trying to write a scala compiler plugin that detects leaked futures and yeah, i'm not completing this project any time soon or ever
|
# ? Jun 7, 2017 01:30 |
|
wouldn't the answer depend on what (_|_) means by "continually" and whether or not these inserts are things that "need" to be inserted as quickly as possible? also would there be problems if you're sitting there collecting enough rows to start a bulk insert and whatever system is sitting there doing the collecting goes down
|
# ? Jun 7, 2017 01:34 |
|
i had lunch with ex-coworkers and they said the 10k loc project i grunted out in my last few months is working great and that another programmer (who I don't know and only had access to my documentation) has taken it over successfully with only minimal cursing of my name. my greatest programming feat. DONT THREAD ON ME fucked around with this message at 01:37 on Jun 7, 2017 |
# ? Jun 7, 2017 01:35 |
|
carry on then posted:pretty sure that doesn't work on tiger give it a try i think one of the maintainers was doing tiger builds recently https://github.com/mistydemeo/tigerbrew https://twitter.com/mactigerbrew
|
# ? Jun 7, 2017 01:37 |
|
Lutha Mahtin posted:wouldn't the answer depend on what (_|_) means by "continually" and whether or not these inserts are things that "need" to be inserted as quickly as possible? also would there be problems if you're sitting there collecting enough rows to start a bulk insert and whatever system is sitting there doing the collecting goes down yes and yes!
|
# ? Jun 7, 2017 01:39 |
|
trip report there's an Ubuntu PPC live CD from August 2016 that works on G3/G4/G5. worked fine with no configuration but there's some weird graphics glitches on my iMac though where everything is all rainbow colored? I blame ATI's lovely drivers anyway gparted and hfsutils came preinstalled. it detected all my hardware and my network automatically so I snagged hfsprogs with apt to give gparted HFS+ support. it is currently shuffling my partitions around so I can tri-boot OS 9 for CodeWarrior, Tiger for OS X funsies, and Ubuntu for... running Linux on something other than i386 I'm surprised how well Tiger works on a 400MHz computer Luigi Thirty fucked around with this message at 01:50 on Jun 7, 2017 |
# ? Jun 7, 2017 01:48 |
|
Symbolic Butt posted:I'm trying to continually insert a lot of rows, as fast as possible, in postgresql batch them up and use COPY FROM STDIN, though if you have a trash-tier database access library then it might not support streaming TSV data down the db connection in the manner that COPY requires.
|
# ? Jun 7, 2017 03:44 |
|
Luigi Thirty posted:I'm surprised how well Tiger works on a 400MHz computer apple used to be very judicious in adding new features in case they might hurt performance in retrospect dashboard (in tiger) was the warning siren
|
# ? Jun 7, 2017 03:58 |
|
the fact that installing Tiger required over 128MB—officially it required 256MB to install, but it may have installed with as little as 160MB—was a Big Deal at the time, and it still had to run acceptably in 128MB post install (realistically such an install would be a NetBoot or blasting a preconfigured image to the disk with asr) of course like 10.1-10.3 before it, it was also faster on the same hardware I think the minimum for 10.5 was 512MB, too bad it also set an 867 MHz G4 as the minimum hardware and too bad that Snow Leopard dropped PowerPC
|
# ? Jun 7, 2017 06:09 |
|
the progression from 10.0 to tiger was awesome. each release was faster than the previous one on the same hardware
|
# ? Jun 7, 2017 06:10 |
|
AppKit added back support for rendering only dirty subrects to NSView in 10.2.7 for Safari (API in 10.3 that was declared to work on 10.2.7) and it made a huge difference for some apps and for the frameworks themselves pre-OpenStep, NXView got a list of dirty rectangles to render passed to its -draw:: method, but in OpenStep's NSView, AppKit just unioned every rectangle that was touched and passed a single one to -drawRect: for simplicity and because the rectangle list stuff had been an optimization to eke acceptable performance out of a 25MHz 68030 with 8MB of RAM …hey Luigi Thirty, I think I know what your next retro project should be for, got a 68030 NeXT Computer?
|
# ? Jun 7, 2017 06:18 |
|
not unless you've got a nextcube you're going to send me for christmas the boot selection screen started recognizing my gparted USB drive as a bootable device though so that's neat since OS 9 won't boot for some reason OS 9 wants to be in the first 8GB of a drive, which it is. the System Folder is blessed, selectable in Startup Disk and works as a Classic folder but it stops at the blinking question mark when booting. diskutil says the OS 9 drivers are installed on the disk it looks like gparted screwed up the partition table when I was moving partitions around. the partitions were in the wrong order according to their location on the disk which was confusing Disk Utility (but not pdisk). i had to boot from an installer flash drive and un-fuckulate it with pdisk. e: this might be easier if my Mac had a working optical drive and I could run the actual OS 9 installer instead of copying system folders around. OS 9 refuses to boot from the USB drive period but OS X has no problem with it. Luigi Thirty fucked around with this message at 08:28 on Jun 7, 2017 |
# ? Jun 7, 2017 06:47 |
|
MALE SHOEGAZE posted:i had lunch with ex-coworkers and they said the 10k loc project i grunted out in my last few months is working great and that another programmer (who I don't know and only had access to my documentation) has taken it over successfully with only minimal cursing of my name. you should really stop now, its only downhill from there.
|
# ? Jun 7, 2017 11:23 |
any sql 101 resources someone has stashed somewhere? i got a bit of postgres touching planned later down the road in my jerb so it'd be good know some basic syntax and if i want some free tool instead of sql manager ive got even if i could just ask db people to get data for me
|
|
# ? Jun 7, 2017 18:14 |
last time i did something major with sql was like mid-2000s on a microsoft sql server 2000
|
|
# ? Jun 7, 2017 18:15 |
|
client standup starts, most of team not there by 5 mins in, so those of us there do our updates ..........then other sites join when we're done and we start over from scratch! this client is so loving
|
# ? Jun 7, 2017 18:23 |
|
i got it. now i can dual boot OS 9 and OS X OS 9 fliiiiiiiiiiies on a G3
|
# ? Jun 7, 2017 19:12 |
|
flies into the wall every 10 minutes
|
# ? Jun 7, 2017 20:05 |
|
Luigi Thirty posted:i got it. now i can dual boot OS 9 and OS X isn't the fastest machine it'll run on something like a dual G4 1ghz? classic mac os on multiple processors is weird to think about
|
# ? Jun 7, 2017 20:21 |
|
not really, you could get a DayStar Genesis with up to 4× PowerPC 604e processors and 1.5GB of RAM in 1996 they flew for Photoshop and software development, the Multiprocessor API lets you use preemptive threads on even single CPU machines; the OS only ran on a single CPU so as long as you could keep them fed you could get really good throughput eschaton fucked around with this message at 23:09 on Jun 7, 2017 |
# ? Jun 7, 2017 22:11 |
|
codewarrior trip report: it's good for an IDE from 2001 resedit trip report: it sucks and i wish there were an easier way to preview controls in windows than rebuilding my application
|
# ? Jun 7, 2017 22:24 |
|
Luigi Thirty posted:codewarrior trip report: it's good for an IDE from 2001 Metrowerks PowerPlant has an interface development tool called Constructor that's more like what you'd expect MacApp had Mouser for that and of course pros mostly used Resorcerer rather than ResEdit for their resource editing needs (unless they just used .r files and Rez…)
|
# ? Jun 7, 2017 23:11 |
|
ah, yes. an object-oriented app toolkit. perfect.
|
# ? Jun 7, 2017 23:28 |
|
ctps: i'm somehow starting to understand this gibberish e: the 99 bottles impl is still unreadable to me tho: http://www.99-bottles-of-beer.net/language-jcl-6.html
|
# ? Jun 8, 2017 02:21 |
|
drat it i miss ispf i even miss having jcl around, somehow. i do not miss writing it
|
# ? Jun 8, 2017 03:11 |
|
carry on then posted:ctps: i'm somehow starting to understand this gibberish oh is the IBM mainframe college thing back again? that was fun. I like ISPF. JCL can eat a big fat d*ck anyway I figured out why I'm so confused by CodeWarrior's lack of actual Mac API documentation The PowerPlant book posted:The CodeWarrior Reference CD contains electronic versions of several programming books including: Learn C on the Macintosh by Dave Mark; Programming Starter Kit for Macintosh by Jim Trudeau; and Learn C++ on the Macintosh by Dave Mark. These books cover everything you need to know about programming languages as well as Mac programming, from memory management to drag and drop using an object-oriented approach in C. The exercises use the CodeWarrior environment. the copy of the reference disk I got from Macintosh Garden is missing these books!
|
# ? Jun 8, 2017 04:08 |
re: sql. got dbeaver setup and it's pretty ok. accidentally broke the driver by reading too much github before opening the program but w/e
|
|
# ? Jun 8, 2017 10:09 |
|
Luigi Thirty posted:oh is the IBM mainframe college thing back again? that was fun. I like ISPF. JCL can eat a big fat d*ck nah i'm in charge of developing a java tool that has a z/os version with some jobs so i'm teaching myself this wack rear end language as prodev
|
# ? Jun 8, 2017 13:59 |
|
could be worse, the z/OS version could be in PL/X
|
# ? Jun 8, 2017 17:28 |
|
|
# ? May 10, 2024 14:42 |
|
every few years i think mainframes might be interesting to learn about and every time i get five minutes in before it turns into a hall of mirrors nightmare of impenetrable three-letter acronyms and weird non-standard terminology
|
# ? Jun 8, 2017 18:13 |