« first day (420 days earlier)      last day (4547 days later) » 

10:00 PM
Bildschirmtext (German "screen text", abbrev. Btx) was a V.23 online service (an interactive videotex system) launched in West Germany in 1983 by the Deutsche Bundespost, the (West) German postal service. Btx originally required special hardware, which had to be bought or rented from the post office. The data was transmitted through the telephone network and the content was displayed on a television set. Originally conceived to follow the UK Prestel specifications, and developed on contract by IBM Germany, Btx added a number of additional features before launch, including some inspired...
(nostalgia)
@rlemon what is BTX?
apart from that ↑ obviously
 
en.wikipedia.org/wiki/BTX_(boot_loader) is the FreeBSD Bootloader
 
@MarcoCeppi can you sanitize and pastebin me your environments.yaml?
 
@rlemon huh, well at least it's doing something.
now you're far enough along to ask a question on unix.se
 
thats what i'm thinking.. everyone says this is related to unsupported hardware... I went through that doc with a fine tooth comb.. I should be supported.
 
haha, i found waldo! :D
 
10:06 PM
hahaha
AWESOME.
 
:D
(isn't that the guy running the PSF?)
 
@htorque I'm in that picture too :P
 
took a while, but found you :P
 
I miss uds
 
i don't miss remote participation :D
or better call it consumption ;)
 
10:12 PM
I have quite a large garden, next uds should be there :P
I'll make tea
that reminds me, I meant to see how my LUG is doing... there were about five people last time they met.
 
uds right in your living room
do you REALLY want that? :D
 
sure! I easly have space for 10 people, even 12 if they bring a couple of chairs
that is to say,
isn't it amazing what UDS looks like compared to LUG meetings in the early 2000s.
where 5 people met and someone showed off his enlightenment desktop
 
and they'd scare other people away :D
 
when I went to Essen lug a couple of years ago (no longer than that), they kind of looked at me funny for being an ubuntu fanboy
not that they weren't really nice :) but they did use emacs
 
"ubuntu, eh? why no real linux?" :D
 
Oli
10:18 PM
I try not to get too involved in vim vs emacs... I prefer gedit and nano :)
 
i use nano. vi(m)/emacs are too scary for me.
ha
 
<3 nano
 
i just fixed a windows xp pc. not sure if i helped that person or sealed its fate...
 
How did you fix it? I generally install Ubuntu to fix it. :)
 
i don't even have a linux live cd around anymore. :D
only usb and that thing didn't want to boot from it.
but yeah, you are right. i shouldn't call it "fixed".
 
10:21 PM
looks pretty awesome actually
 
What is that?
 
yeah that looks like it :D
 
that's my nearest LUG
 
"write some bash, buy some art"
while you're there
 
10:22 PM
:D
 
why is there an apple logo on that thinkpad!? blasphemy! :D
 
given the massive beard on the owner's face, it's probably ironic :D
 
0
Q: cual es la mejor distro para hackers ubuntu o fedora

diegoaclaro que me dedico a algunas cosas como auditoria wireless y esas cosas para testear mis routers y esas cosas no es que sea hacker solamante es que asi he leido que le dicen a backtrack y sus herramientas ok. bueno lo que pasa es que estoy aprendiendo a usar esas herramientas y no quiero usar b...

 
great tag line: "jesus uses linux."
 
close this, its in spanish and compares ubuntu and fedora for hacker attacks
 
10:25 PM
looks like this is "what's the best distro if you want to be a hacker, ubuntu or fedora?"
 
"mis routers" - sounds like he's testing his own networks
 
"I clarify that I do to things like wireless auditing and stuff to test my router and stuff"
 
que distro se adapta mejor a las necesidades de un "hacker" ubuntu o fedora
 
well, that's easy: ubuntu. end of story.
 
"which distro adapts better to a hacker, ubuntu or fedora"
 
10:27 PM
:D
 
Oli
@StefanoPalazzo Interesting Python problem for you. An event happens at 0 and 30 minutes past every hour. Given you know the current time, how do you work when the next (not nearest) time will be (as a datetime.datetime.DateTime object)?
 
Oli
Doesn't have to be accurate on seconds - to the nearest couple of minutes would do.
 
@Oli probably convert the current time to ms since epoch and add 30 minutes, then re-create the datetime object
I don't think you can do any arithmetic with datetime objects, but there is bound to be a module on pypi which does it
 
Oli
@StefanoPalazzo Surely that just gives me now+30 rather than the time of the next event. Say now is 10:40, the return I want is 11:00
 
10:31 PM
hang on a sec
 
Oli
You can add things, but you have to use the right objects IIRC
TimeDelta probably what's wanted - but that still leaves you working out what you need to add
 
~=[,,_,,]:3 <-- @RolandTaylor just posted this one nyan cat smiley for gmail chat :D
I'm gonna be using it a lot :D
 
I love everything about /review
 
@Oli something like this?
import time


now = time.gmtime(time.time())
print("curr:", now)

now = time.strftime("%Y %m %d %H %M", now)
now = list(int(i) for i in now.split())


if now[-1] < 30:
    now[-1] = 30
else:
    now[-2] += 1
    now[-1] = 0

now = time.strptime(' '.join(str(i) for i in now), "%Y %m %d %H %M")
print("next:", now)
~:$ python3 test.py
curr: time.struct_time(tm_year=2011, tm_mon=11, tm_mday=23, tm_hour=22, tm_min=36, tm_sec=27, tm_wday=2, tm_yday=327, tm_isdst=0)
next: time.struct_time(tm_year=2011, tm_mon=11, tm_mday=23, tm_hour=23, tm_min=0, tm_sec=0, tm_wday=2, tm_yday=327, tm_isdst=-1)
well now, this'll break as soon as it's midnight
 
10:37 PM
umm Yahoo! just recommended that I should upgrade my browser to Internet Explorer 9 WTF??? and gmail flagged it as "important" message
 
i'd go with the ms since epoch approach
 
so rather than adding just minutes, you need to calculate how many minutes to add, then convert to seconds since epoch, add the minutes, and go back to gmtime()
 
i'm too tired for thinking, but shouldn't that work: now + (1800000 - (now modulo 1800000)), then convert it back to a date?
 
Oli
>>> now = datetime.datetime.now()
>>> now + datetime.timedelta(minutes=30 - (now.minute - 30 if now.minute >= 30 else 0))
datetime.datetime(2011, 11, 23, 23, 0, 26, 848912)
 
I've never had a chance to use timedeltas
import time
import calendar


now = time.gmtime(time.time())
print("curr:", now)

m = int(time.strftime("%M", now))
m = ((30 - m) if m < 30 else (60 - m)) * 60
next = time.gmtime(calendar.timegm(now) + m)

print("next:", next)
bit more complicated then yours :)
 
10:46 PM
ok guys question: How do I check a file every minute on terminal for e.g. I've a log file I want to see last few lines of log every few minute how do I do it?
 
Oli
@wisemonkey watch, eg sudo watch -n5 tail -50 /var/log/mylog will show the last 50 lines and update every 5 seconds
 
you could also try "tail -F /var/log/syslog", it'll print stuff as soon as it's appended to the file
 
umm watch <file>.log u mean?
does tail -F keep updating itself?
@Oli okie will try it thanks :)
 
@wisemonkey it doesn't watch the entire file, it just prints new content as it's appended.
if stuff changes at the top of the file, you'll not see it with "tail -F"
 
ohh ok
 
10:49 PM
strike that, it'll print the entire file again
 
Oli
tail -F might be better for logs - watch is probably better for commands where the full output changes (eg watch cat /proc/mdstat or watch ifconfig)
 
ok so tail -F -50 /path/to/log
 
you could sqeeze it through less to to get the best of both worlds
 
for 50 lines
I don't think -50 is an option but yea tail -F worked
 
it'd be "tail -F -n 50 /var/log/syslog"
 
10:51 PM
will copy watch somewhere as well seems useful :)
 
0
A: Wacom Bamboo CTH-670 is not detected

Christer00df device isn't included in the list of supported devices in wacom_wac.c, check the the post: Appendix 3: BambooPT models released October 2011 (DD,DE,DF) - Natty (11.04) or later Instructions in the post are a bit contradictory but I finally have the wacom tablet working after downloading ...

 
ahh -n is the option
 
self-solver for the win!
 
and if your file changes very quickly, you'll also want "-s 1.0" for 1 second sleeps between updates
 
ohh no its not that fast but nice to know
 
10:52 PM
@htorque I don't suppose you're in the mood to modify that ad?
I did like 4 of them already, I am spent
 
mood yeah, but it's midnight :P
can do it tomorrow though
@StefanoPalazzo bah
>>> datetime.fromtimestamp(time.time() + (1800000 - (time.time() % 1800000)))
datetime.datetime(2011, 12, 4, 13, 0)
>>> datetime.fromtimestamp(time.time() + (1800000 - (time.time() % 1800000)))
datetime.datetime(2011, 12, 4, 12, 59, 59, 999999)
>>> datetime.fromtimestamp(time.time() + (1800000 - (time.time() % 1800000)))
datetime.datetime(2011, 12, 4, 13, 0)
>>> datetime.fromtimestamp(time.time() + (1800000 - (time.time() % 1800000)))
datetime.datetime(2011, 12, 4, 12, 59, 59, 999999)
unstable crap
 
@htorque time.time() is a float,
it should be accurate if you int() it before
 
oh
should have looked at that :D
 
>>> "%.24f" % 0.1
'0.100000000000000005551115'
the number one complaint about python, and it's actually the processor's "fault" ;)
 
Oli
The one problem with that (it's beautiful) is at :00 it thinks the next one is :00
When it should be :30
 
11:01 PM
nah, you'll never hit it at the exact millisecond :P
 
Oli
Hmm. Now it's 1 past and it's still saying :00
 
did someone say import this? :)
 
Oli
No... Actually, it's 23:02 and it's saying the next one is 00:00
 
my mess seems to work okay at midnight
 
@StefanoPalazzo that list sounds like a party pooper :D
 
11:05 PM
yeah, they contradict each other too
Beautiful is better than ugly.
Explicit is better than implicit.
I first noticed when I wrote this:
lrot = lambda x, n: (x << n) | (x >> (32 - n))
 
| was bitwise or?
 
it's definitely too late for me :D
 
I don't think anybody's supposed to understand why that works, but it is beautiful
 
Ok, I know you have all already been a great help with this effort today (mainly @StefanoPalazzo). so Thankyou :)
0
Q: Why am I getting btx halted trying to install FreeBSD?

rlemonWhen trying to install FreeBSD 8 off a USB Drive (UNetBootin loaded) I receive BTX Halted when choosing any of the Boot options. Here is my system I have 256meg of ram on it, and a Transcend CF 133x 4GB for its drive. I searched the FreeBSD supported hardware and It says AMD Geode LX is...

 
11:08 PM
@JorgeCastro put the requests there: meta.askubuntu.com/questions/1177/…
 
68 followers on the freebsd tag, looks promising
 
@rlemon: r u trying to install in VM or on HDD partition
 
I'm trying to first boot from the usb drive
btx is the freebsd bootloader
when booting off the usb drive I get a few options (safe mode, default, single user, ect)
 
hmm so is it like live freeBSD USB drive?
 
good night all
 
11:10 PM
bye htorque
 
night
 
you familiar with UNetBootin
 
yea not as much as startup disk creator though
but as u said u have .img file it maybe possible to write only through UnetBooting right?
 
well UNetBootin has an option for FreeBSD 8 / looks like it's their net install bootloader
 
ohh ok
 
11:13 PM
I have tried dd the img but that didn't work.. to be honest the UNetBootin got me much further than anything else.
 
some good music to follow good work... dont get distracted! youtube.com/watch?feature=player_embedded&v=HQWkJyjwvnU#!
 
this one says u need to use PIO or Simple DMA rather than ultraDMA if u have it in BIOS
 
damn, how did i not see that one. I read like 15 people reporting this problem.. all with different solutions.. none worked for me.
i will have to try that tomorrow when i get to work.
btw this is the screen..
 
Yes, many have ran into this. The cause is a lack of emulation of certain i386 "real mode" instructions by FreeBSD, which runs in "i386 protected mode". IIRC this should have been fixed in 7.2 -- somebody commented
 
11:15 PM
1-5 result in the BTX Halted error
yea I also read that.
most were due to hardware incompatibility
 
does unetbootin offer an image for NetBSD?
 
haha I don't think 6-7 are much helpful
 
@StefanoPalazzo yes!
 
("of course it runs netbsd")
well netbsd will run on a 19th century steam engine, you should give it a try
 
I don't think the problem is my hardware being too old...
:P
 
11:18 PM
right, but your hardware is a little bit odd, right?
I don't know much about the Geode, so I could be wrong
 
not really.
 
Oli
The geode is x86 IIRC... just a bit slow.
 
: For other uses of Geode, see Geode (disambiguation) Geode is a series of x86-compatible system-on-a-chip microprocessors and I/O companions produced by AMD, targeted at the embedded computing market. The series was originally launched by National Semiconductor as the Geode family in 1999. The original Geode processor core itself is derived from the Cyrix MediaGX platform, which was acquired in National's merger with Cyrix in 1997. AMD bought the Geode business from National in August 2003 to augment its existing line of embedded x86 processor products. AMD expanded the Geode series t...
and of course it does run netBSD
right in the wiki
 
Bounty offered: Start a tmuxinator session in gnome-terminal on login http://askubuntu.com/questions/80067/start-a-tmuxinator-session-in-gnome-terminal-on-login #startup
 
it's only x86-32, is it?
 
11:21 PM
and i'm porting from QNX 4 - so there isn't really much the OS needs to offer right now..
@StefanoPalazzo yes
 
...and unetbootin didn't download the amd64 image
 
made sure of it.
 
I thought so.
 
freeBSD 8
freeBSD 8x64
two options.
 
wow, you can get these for 100 euros here
(plus a PoE switch, or a power adaptor for 7 euros)
 
11:25 PM
yea they're not that expensive. we pay a couple hundred for them
we really need maybe 20% of it's capabilities.. however our old manufacturer went bellyside so we recently had to switch. our core product is basically 20 years old. most major updates have been due to hardware no longer being available to buy.
 
what do you use them for?
 
automation control for industrial dryers (grain, corn, petfood, ect..)
it's a low to no tech industry.. so we kinda capitalize the market.
:)
 
nice :)
 
it's just hard to get people on board with some of this stuff.
 
sounds fun to me :)
 
11:30 PM
recently went to china.. people there still dry wheat on an open field in the sun with shovels... just keep spreading and turning...
thats big companies.
try explaining networking to a farmer. :P fun times fun times.
 
hehe
 
anyways. @wisemonkey have you ever used bsd?
 
I've got to buy one now. :\ I can get excited about embedded controlling system, easily
 
@StefanoPalazzo ohh they are fun to play with.. put linux on it and have fun, I'm buying one to build my own HAL
 
I installed once but thats all I'm not much fan of bad/no UI thought I work in embedded/hardware industry :P
though*
 
11:34 PM
@rlemon how do you go about making it do stuff?
let me phrase that better
what kind of hardware do you use to make it flip switches, and so on?
 
lol, that you also have to build.
in highschool i did a concept "smart house"
 
hmm I/O interface and flipping switches -- relays
 
had a cough VB cough application tied into some webcams
 
lol I've worked on 2 smart switches ;)
 
I've looked at some of these USB measuring and regulating interfaces, they're quite expensive and very proprietary
 
11:36 PM
@wisemonkey basically - yes that was what i did.
 
@rlemon yey :D ok then I'll say mine were smarter than ur :P
haha jk
and @StefanoPalazzo u find wide range of them
 
probably. i was 15
 
umm u r younger to me I give u that :)
 
i'm 25 now. had a great highschool engineering teacher. taught us the local universities 5 year program in 4 years in highschool. (because he taught it there and thought it was too easy)
 
11:39 PM
this is what i had in mind. it's basically 2 D/A converters, 8 A/D converters (150€)
 
skipped on some theory, but covered the gist of it.
 
@StefanoPalazzo: if u r willing to put more efforts then u can get most rudimentary component do same thing as most expensive, here the example I worked on project which had like twice the features compared to competition
while competition was selling it for 300$ we could sell it for 120 with 60$ profit :P
 
anyways. gotta grab some dinner. night all
 
night
 
bye rlemon
 
11:40 PM
lol yea tell me about skipping theory :P
 
I'll be off too.
see you everyone
 
aww man I'll be talking alone?
cya
 
will go and watch a lecture :)
 

« first day (420 days earlier)      last day (4547 days later) »