mercutio: you know like "apt-get install tmux vim" etc "# install useful packages brycec: Or "Create database ___, setup replication with server Q over the ssh tunnel" mercutio: is there a ssh tunnel implementation that'll recreate a ssh session persistently without breaking a pipe if ssh dies?
replication over ssh is inherently unstable..
i can see the use case. brycec: heh
Maybe using ssh's tunnel implementation? Depends if ssh tears down the tun0...
But in this case, the ssh connection is automatically restarted and the database reconnects
(and by automatically, I mean it's wrapped in a while() loop. Not idea... and soon to be replaced with a vpn) jlgaddis: how are you replicating?
like, just scp or rsync over ssh or ... ? brycec: portforward of the other server over ssh, and then whatever replication utilities it has jlgaddis: oh, i missed where you were referring to db replication BryceBot: That's what she said!! brycec: BryceBot: no BryceBot: Oh, okay... I'm sorry. 'oh, i missed where you were referring to db replication' brycec: heh
(and I can't get into details) up_the_irons: mercutio: I just do 'git init' in /etc and put in files that i feel are relevant to the box. I don't add every file like etckeeper does mercutio: up_the_irons: just to keep it short?
ahh are you using git locally rather than remotely? brycec: (git is inherently local in the first place :p) mercutio: heh
that's actually pretty easy to start doing i suppose
oh but then .git is world readable -: mercutio wonders if chmod o-rx will break anything brycec: It's just file-level stuff, so as long as your user (root) has permissions to modify/create/delete/lick/sniff/kick/etc files in .git, you're good. chmod away. mercutio: yeah it seems fine so far. brycec: C++ was not meant to be compiled on a sparc64. :/ mercutio: i hope you're not using gcc brycec: Sadly, this app does mercutio: gcc isn't very optimised for sparc.
if it's self-compiled it'll be even worse i imagine. brycec: then again, gcc is what openbsd uses anyways
but big, ugly c++ project... so many includes mercutio: either you don't care about performance of the compiled code, so use clang which is faster at compiling and gives better error messsages, or use the solaris c compiler. brycec: I don't see how I could run the solaris compiler on openbsd :p mercutio: oh. brycec: (also, not my project/application) mercutio: yeah openbsd on sparc was hell slow when i tried it
mind you it was a slow sparc. brycec: heh mercutio: actually aren't all sparcs slow? BryceBot: That's what she said!! brycec: this is 650MHz which is decent. But it is an old IDE drive too.
https://en.wikipedia.org/wiki/Sun_Blade_(workstation) Sun Blade 150 BryceBot: Sun Blade (workstation) :: The Sun Blade series was a computer workstation line developed and sold by Sun Microsystems from 2000 to 2006. The Sun Blade architecture was based on the UltraSPARC microprocessor family. The range replaced the earlier Sun Ultra workstation series. The 1500/2500 series came in two variants, the earlier "red" series, and the later "silver" series. The "silver" series were enhanced versions of the "red" series - a faste mercutio: yeah so still ancient
probably 1/10th or less of the speed of a modern pc. brycec: At least it's this side of the century mercutio: what are you doing with it? brycec: Mostly, nothing.
I just have a thing for "retro" hardware
and openbsd mercutio: heh so do i brycec: It works out pretty well
Just need me a vax... >.> mercutio: oh god you want to see slow, try an amiga :) brycec: <.< mercutio: i have an amiga ... with 68030 @ 50 mhz... and mmu ..
openbsd was discontinued on amiga, but you can run older versions
i think netbsd still supports amiga
i can't even remember what i have on it, but i had one :) brycec: That's not to far from my old PowerMac 7100 and 7200, 65 and 90MHz resp. BryceBot: That's what she said!! mercutio: i just need to reorganise my room to make spaec for it brycec: (both old ppc601's) mercutio: that's way faster than 68030
68040 is way faster than 68030
basically instruction/data cache stuff went up heaps
which really helped "unoptimised" code. brycec: heh mercutio: or repetitve code.
you can get pretty good performance out of 68030 if you try
but no-one tries much anymore :)
but yeah, that's basically when people started switching from optimised assembler to c
and from lookup tables to real time calculation
now linux patches to save 16k of ram as kernel option are being rejected..
speaking of retro hardware, the biggest problem seems to be things like going from scsi to something recent.
so you're stuck with old noisy hard-disks etc unless you want to spead heaps on convertors.
ide at least you have some options.
my amiga is using compact flash.
s/spead/spend/ BryceBot: <mercutio> so you're stuck with old noisy hard-disks etc unless you want to spend heaps on convertors. brycec: The problem isn't being stuck with old/loud/etc, it's finding replacements
In one case, it's finding an oooold, compatible scsi drive. mercutio: i have old scsi drives, but tehy're SCA
so probably wouldn't help you brycec: searching 'scsi' brings up craploads of "ultrascsi" results. It's next to impossible to search for plain old scsi mercutio: besides i'm ages away.
50 pin is hard yeah.
you can get 68 to 50 pin convertors.
80 pin to 50 pin is harder. brycec: My complaint is primarily to do with overlapping terminology mercutio: oh huh
i'm sure it was harder before
http://www.ebay.com/itm/Convert-SCA-80-Pin-Hard-Drive-Interface-to-SCSI-IDC-50-Pin-Connector-/361068897384?pt=UK_Computing_Drive_Cables_Adapters&hash=item5411622468
sca hard-drives are all over the place.
http://www.ebay.com/itm/HP-PROLIANT-DL380-G3-73GB-ULTRA320-15K-SCSI-HOT-PLUG-HARD-DRIVE-/171632832969?pt=US_Internal_Hard_Disk_Drives&hash=item27f61d31c9
like there for example brycec: haha i think my old powermacs would shit themselves if they saw anything more than a GB mercutio: not necessarily brycec: I didn't mean literally, or that there was a technological limitation mercutio: oh right
amigas have 4gb boot limitation iirc
it may be 1gb though brycec: *Just "here's a computer from a time when 500MB drives were only just hitting the market, 73GB is like whoa")
(
anyways, 'night mercutio: ok
yeah you may want to use alternative filesystem up_the_irons: mercutio: you do 'sudo git init --shared=group'
then adjust perms to your liking plett: mercutio: Rewinding to about 24 hours ago, /etc with git is normally just a matter of installing etckeeper and ignoring it until you want to be able to see a diff to an old version
etckeeper hooks into the package manager on Debian-oid distros (and probaly on other platforms too), so any time a file in /etc is changed from a package update, the commit message says exactly why. And manually edited files are commited in a daily cron job with a generic commit message, but you can do a git commit manually if you want mercutio: now that is cool
i wonder if it can do that on arch linux ***: mnathani__ has quit IRC (Read error: Connection reset by peer)
mnathani_ has joined #arpnetworks
Seji has quit IRC (Read error: Connection reset by peer)
Seji has joined #arpnetworks
mkb has quit IRC (Ping timeout: 264 seconds)
mkb has joined #arpnetworks
anis is now known as anisfarhana
anisfarhana has quit IRC (Changing host)
anisfarhana has joined #arpnetworks anisfarhana: Hello.
Hate to know I have to terminate my account with arpnetworks soon. RandalSchwartz: why? leaving the computer industry? :) anisfarhana: Should i leave the computer industry?
The funder/sponsor for the account decided not to continue it. RandalSchwartz: oh
are you a student?
cuz frankly, $20/month just to have a high-quality server here is pocket chnge. anisfarhana: I am not a student. RandalSchwartz: still not sure why you'd have to go away. Just get another server. anisfarhana: You probably don't get me. Again..english is my issue here :/ RandalSchwartz: yes, I'm trying to understand.
you say you hate to leave.
what is making you leave?
if you want to stay, get a server anisfarhana: Funder stop paying the server --> I'm losing the server ---> Can't afford to continue it using my own pocket money. RandalSchwartz: so you're unemployed, or a student? anisfarhana: I am working sir.
Was helping the guy who paid the server before on something.
You probably will tell me "Its just $20 per month for the server", and yet still I can't afford it even I am working here.
$20 and convert to currency here is really not good, in term of currency exchange.
You got me? RandalSchwartz: OK. Where are you? anisfarhana: .my RandalSchwartz: ahh. cost of living quite different.
I wonder where .my is on the big mac scale though
ahh. 50% below the US
so you make less, and pay more for what you have, relative to the US mercutio: but they probably dont' eat big mac's there.
(for the most part)
anis: have you been to mccurry? RandalSchwartz: still called big mac scale
currency converted to dollars divided by cost of big mac converted to dollars mercutio: is it standardised across the world?
like it seems they're using halal meat there (inhumane killing)_
but i don't think the costs of meat, etc is teh same around the world? RandalSchwartz: it's relative purchasing power, so that makes sense
think of it as a tiny consumer-price-index foodbasket mercutio: so india is $1.89 US, i don't think many indians would be buying a lot of big macs?
which can raise prices a bit. RandalSchwartz: sure. it's just a back-of-envelope measure. Not To Be Used For Real Work. mercutio: http://www.economist.com/content/big-mac-index
i was reading this though :)
i found singapore, where's malaysia? RandalSchwartz: wikipedia probably knows
and google maps brycec: @wa Where is Malaysia? BryceBot: Malaysia->location brycec: wow, thanks Wolfram m0unds: was that literal as in "where on earth is malaysia"? or was it "where is malaysia in this list"? RandalSchwartz: just dereference it mercutio: oh i meant for google food
err big mac m0unds: hahahaha
@wa latitude and longitude of malaysia BryceBot: Malaysia->center coordinates;2° 30'N, 112° 30'E mercutio: http://www.statista.com/statistics/274326/big-mac-index-global-prices-for-a-big-mac/
oh it's on here
malaysia is by singapore m0unds: yep RandalSchwartz: yeah m0unds: i couldn't get the site to load for me RandalSchwartz: I haven't anywhere near there mercutio: but singapore costs 50% more for big mac's RandalSchwartz: relative, or absolute? m0unds: what's the punishment for not finishing your big mac? mercutio: in USD RandalSchwartz: because the big mac index is about relative power mercutio: well when it's right next by RandalSchwartz: if I live in a country where I make $1000/week, and a big mac costs $1000, then I can eat only one mercutio: it means prices should be "closer" RandalSchwartz: if I live in a country where I make $1000/week, and a big mac costs $500, I eat 2
if I make 500/week, and big mac 500, then back to 1 mercutio: but if you live in a poor suburb you don't expect to pay 50% more if you eat out in the city? RandalSchwartz: the first and the third examples are what the big mac index measures
the relative purcasing power mercutio: well india seems to have minimum wages starting at like $2
and big mac's aren't much less than that. BryceBot: That's what she said!! mercutio: err $2/day RandalSchwartz: wages => USD, divided by big mac cost => USD
like it's very cheap to live in cuba, except for the things that they have to import, which is nearly everything. :) mercutio: do they have to import food? RandalSchwartz: almost everything yes mercutio: when i hear about poeple going to thailand etc
they're always like "the food is really cheap and really good"
but whole meals are cheaper than big mac's :/
there is an index somewhere that includes cost of living, food, etc.
but when i looked at for my own country it seemed cheaper than things usually cost
i think for VPS's GDP is a better match. RandalSchwartz: GDP? is that an ISP?
Oh, duh mercutio: nah it's the normal index of purchasing power.
which is just straight power withotu relative things.
i think malysia is about 1/2 of the US?
i've got a friend who visited malaysia who seemed to think you could live on about US $200/week there comfortably.
wow, gdp is even worse than i thought
it's like 4.5x the GDP of Singapore compared to Malaysia per capita. ***: mnathani_ has quit IRC () anisfarhana: wow, quite long conversation you guys had here. Let me read it.
Singapore is part of Malaysia long time ago.
Well thats true mercutio, the cost of living is quite high here.. mercutio: anisfarhana: for some reason i remember him saying how bad the traffic was more than how much things cost for the most part. anisfarhana: Situation for the Computer Business here is like = 1 field and too many players. mercutio: oh and that he was popular for being white :/ anisfarhana: Many projects / biz monopoly by those giant company + and got link with the politician ppl you know. mercutio: sounds difficult anisfarhana: And yes i have been to Mcurry before, once..when i was a student.
Traffic going terrible here, but at least Kuala Lumpur is not like Jakarta or Manila. mercutio: i think he was in kuala anisfarhana: More time taken for me to drive to the workplace year by year. mercutio: there was something on slashdot about how traffic is going to get worse and worse in the US
some government report or something
but it's pretty obvious around the world that traffic is getting worse everywhere. anisfarhana: 2-3 Years ago, It was around 30-35 mins only. For this year, its about more less 1 hour mercutio: that's close to off peak vs near-peak here i think.
i think peak is worse.
i haven't braved it :) anisfarhana: Many of supplier / vendors that i know already leaving computer industry :) mercutio: why's that? anisfarhana: Price competition + Less Profit + More time taken for after sales support mercutio: ahh anisfarhana: e.g : You selling a laptop for about $50, you margin/profit is around $10, and at the same time, many other company can beat your price by selling it around $48-$45
and all of them get the price from the main distro for $40, all same ^^
You got me? mercutio: yeah
i think usually in that situation people shift to selling "services" anisfarhana: What kind of services for the brand new laptop? Any problem --> go for warranty. mercutio: like fixing peoples computer problems brycec: eg. Extended Warranty mercutio: doing office tech support for small businesses or such brycec: Or cloud file storage anisfarhana: mercutio: Yes something like that, but still, 1 field and many players, looking for only 1 ball :D brycec: Sounds like a fun cricket match, quite the mental image anisfarhana: I am tired with all this situation though.
I am not ranting or not being grateful, just wanna tell you its tiring,
Less quality IT people + hard to find them here. BryceBot: That's what she said!! anisfarhana: Our HR at office had trouble looking for IT people to assist me until now. mercutio: how come?
oh
that's strange :)
we have a few people from malaysia that come here to do IT work :/ anisfarhana: Because those geek people already leaving computer industry :D mercutio: or going overseas hah anisfarhana: mercutio: Actually, I am thinking about for 3-4 years now :)
Migrating. mercutio: where? anisfarhana: Most probably UK, but for sure not in London.
Spoke with few people there, and I also have a relative in UK, they are helpless to help me.
As i always use teamviewer to help them to solve common problems for Windows hehe
They already called me a geek
lol -: anisfarhana ducks mercutio: heh
i think everyone in here is a geek :) anisfarhana: Not me.
I am a noob. mercutio: you're using irc anisfarhana: That is because many people told me use IRC if you wanna be successfull gold digger.
The problem is, my victim still 0 and the time is ticking. Its been 10 years until now. mercutio: maybe you need a new strategy?
start a web site? anisfarhana: To be succesfull gold digger?
Start with a website? mercutio: yeah
yeah ask for money anisfarhana: We are in 2015 now and you still talking about a website? mercutio: oh maybe start a reddit thread
saying how hard things are anisfarhana: Speaking about a website, I can make money by doing it few years ago. mercutio: lots of people just sell wordpress sites now i think anisfarhana: You know part time job for some small biz here.
But in this 2015, website is dead.
Thanks to Mark Zuckerberg. mercutio: heh anisfarhana: cms like wp, joomla is dead, or they are going to soon.
Now, 90% is facebook!
I even have to open facebook, to find parts for the server! Could you imagine it? mercutio: wow anisfarhana: Yes it works! mercutio: don't they have sites? anisfarhana: Its free! People like it!
You can chat straight away, you can ask straight away, no need to open the page at the web, got question? You dont have to fill that lame fill form anymore in website. mercutio: interesting anisfarhana: Facebook have all of that in 1 single click sir. mercutio: it's not like that here anisfarhana: You should start do that sir :) Trust me.
It works.
Ohhh..and the most important thing is, it is FREE! :) mercutio: although power companies are getting on facebook now anisfarhana: You can control and take care of your products with 0 knowledge of IT, you can use your laptop, your ipad, your phone and so on :)
If you use wordpress, you still have to train people how to use the admin panel, wasting time + cost.
And sometimes you have to fix the broken script etc etc. People dont care about wp etc etc now. Facebook empowering people and my part time money goes to Mark Zuckerberg now.
Well played.
And now, people are getting smart. They really utilise the social apps, selling item online. They even use Instagram to sell it. mercutio: i'm starting to feel old :) anisfarhana: No rent for the shop, no tax, people dont know you :)
More profit
In Malaysia, some local artist got paid for promoting the products in her/his instagram :)
More followers, more money you will get.
Smart enough?
1: You dont need a company for it, 2: You dont have to pay the tax to the government. mercutio: why no tax? anisfarhana: Because it is online sir.
Tell me 1 good reason how government ask you, to pay the tax?
:D
By comment on your facebook? your instagram? mercutio: by looking at your bank records? -: anisfarhana giggles anisfarhana: Its personal bank accounts, saving accounts :) mercutio: i just kind of assume government watch for large amounts of money going into bank accounts
maybe that doesn't happen anisfarhana: Well, i can tell the gov that money was from you, not from the biz :)
I dont have any biz, do you have any proof that i own the business?
You just nod down, and walk away. mercutio: hmm
if everyone evades taxes then the government raises the taxes
or enforces harder.
tax isn't always a negative thing
the online tax stuff is kind of a hot area around the world afiak
afaik anisfarhana: People avoid to pay tax to the gov.
Thats why they go for online business, leaving no trace behind.
Our former programmer, also leaving IT industry for about ummm...4-5 years now.
Met him last month, and i think he is millionaire now..
Well, he owned 3 shops after quit from being a programmer.
He asked me to join him at that time, but I dont have faith in his proposed business...
That was one of my mistake mercutio.. mercutio: that's prudent though.
these things can be hit and miss.
you were just unlucky :) anisfarhana: Unlucky? No.
I am stupid.
Because i am a pessimist person.
You are not wondering what business he do after quit from our company? mercutio: what'd he do? anisfarhana: He quit the work. Stay at home and he started printing + design business :)
All online. No marketing people involve. His only marketing department is, Facebook :)
Of course he is very good in design, and also creative person. He can use photoshop,illustrator etc etc even by closing his eyes ^^
Well facebook actually is really good for biz, you spend some $ on it, let it do the marketing, more people asking about your products after that.
5 years and have 3 shops, 1 printing factory, control about 30-40% online printing + design here, he even have their own staff running the biz for him.
Too bad he is married guy when first i met him as programmer.
Ha ha ha ha mercutio: impressive anisfarhana: Very :)
He just make small loan to buy the machines for printing.
And now, he is zero debt.
Holiday with family 2-3 days per year. More vacation.
I think he is 37-38 now, his age.
While i am still in IRC, keep telling about people story here with more debt everyday.
Pheww..very bad. mercutio: well it's not too late to do something diff? anisfarhana: True.
I should use more strategy, especially in IRC.
What you think?
Haha mercutio: i don't think irc is the place to make millions anisfarhana: I dont want millions.
I want to have at least $500 in my bank every month before i receive next salary.
I am not the person 'money is everything'.
Money can make you happy, money also can bring disaster to your life. mercutio: yeah anisfarhana: So you said here, some Malaysian working with you there? and here is NZ? mercutio: it'd feel weird being way richer than everyone else
i live in nz right
i've come across a few chinese malaysians
but not straight malaysians? anisfarhana: Most of 'players', 80%-90% in Malaysia control the economy is malaysian chinese.
They are good in doing the business. mercutio: are you malaysian chinese? anisfarhana: Well..chinese :D What do you expect then?
All items Made in China now -: anisfarhana ducks m0unds: hahaha anisfarhana: mercutio: Are you? mercutio: no anisfarhana: and you know in Malaysia, we are multi-race right? mercutio: yeah anisfarhana: We have Malay,Chinese,Indian (majority) mercutio: lots of indians here are from fiji
it's weird how these things work out :) anisfarhana: 3 races are majority here. But Malay up to 60% here i think mercutio: yeah the malays may leave less often?
like most americans we see here aren't african americans. BryceBot: That's what she said!! anisfarhana: leave less often? mercutio: or uhh hispanic
leave the country anisfarhana: I dont get you.
Mmmm...
Not really. mercutio: the ones more likely to come here probably are less native anisfarhana: Most of them leaving because of education, or working with gov and posted oversea. mercutio: apparently in 2006 there 14,547 malaysian born people living in nz anisfarhana: So you have experience working with chinese malaysian before? mercutio: a few anisfarhana: Interesting fact. Shame on me. Idk that. mercutio: and japanese and indian and chinese anisfarhana: You in IT field? mercutio: Of this total, only 3,540 were Malays while the most are the Malaysian Chinese.
yeah i'm in IT
ok it seems there are a few malays here anisfarhana: So you had experience working on IT with chinese malaysian before right?
What kind of work actually? Mind share with me?
Those Malaysian Chinese not going to back to Malaysia for good. They will stay like forever there. Trust me ^^ mnathani: when I do git init in my /etc, how do I actually compare versions of a file?
basic git question, I know mercutio: git diff RandalSchwartz: why are you doing a git init in your *etc*? mercutio: RandalSchwartz: previous conversation RandalSchwartz: oh.
still wrong. :) mercutio: so there were two ways of /etc in git, etckeeper and just git init
with some parameter for sharing to group
otherwise it world readable. RandalSchwartz: the problem is that git doesn't manage meta info
nor would you ever branch or merge your /etc mercutio: it can be used to see what you've done. RandalSchwartz: true.. but zfs snapshots are more usefu
useful mercutio: zfs on root? ***: medum has quit IRC (Remote host closed the connection) RandalSchwartz: yes mnathani: I am pushing the git repo of my /etc to a private hosted git
for more visibility into my changes
but now I realize a lot of my config files are actually at /usr/local mercutio: heh
freebsd. mnathani: would symlinking it to /etc/ make sense mercutio: yeh. mnathani: so its in one repo?
/etc/usr/local = /usr/local RandalSchwartz: git won't follow that though
it will save the symlink, but not recurse to it
the workdir has to be a real file tree mnathani: fatal: 'usr/local/apache/conf/httpd.conf' is beyond a symbolic link
what RandalSchwartz said ^ brycec: Up-shot to git - commit messages :) mnathani: bad idea overall I think
I could have one repo for /etc
another for /usr/local
another for /root RandalSchwartz: down that way lies madness mnathani: would you suggest a cronjob that copies the files to track to a centralized location and have them committed to a git repo that way? RandalSchwartz: there are much lighter ways of having multiple versions of files being tracked.
rsync-backup or something
you do not need git.
unless you're branching and merging, you don't need igt.
.. http://www.mikerubel.org/computers/rsync_snapshots/
no, that's not it
... http://www.rsnapshot.org mnathani: RandalSchwartz: thanks -: RandalSchwartz wanders off to his meeting ***: mnathani_ has joined #arpnetworks
mnathani_ has quit IRC ()
mnathani_ has joined #arpnetworks
RandalSchwartz has quit IRC (Read error: No route to host)