@usebsd

Страница 7 из 112
[ matrix ]
28.07.2017
13:06:24
<b>aaron:</b> All of those things are easy except for web.

April: android dev is mostly because I have a lot of android apps I've worked on

April: web is the main thing haha

April: a good 70-80% of the time I'm on my computer I'm either in firefox or discord

Google
[ matrix ]
28.07.2017
13:07:23
<b>aaron:</b> I bounce between OpenBSD and Fedora as my main desktop OSes. Fedora is a bloody mess, way worse than OSX, but it's got really good Firefox performance.

April: I've been trying to fix my habits though, so who really knows

aaron: (I almost got angry enough one day to buy that new iMac 5k, just to fix Firefox...)

April: from my small test on netbsd firefox handled everything as it should, with the slight exception of not having any sound

<b>aaron:</b> There's sound in there somewhere. Dunno the trick on NetBSD though. It just works on OpenBSD.

Jay
28.07.2017
13:09:43
Firefox on netbsd needs pulseaudio compiled on

From pkgsrc

[ matrix ]
28.07.2017
13:14:02
<b>Horia:</b> tadau: vfs.root.mountfrom=ufs:/dev/ufs/rootfs"

jrmu (IRC): Has anyone been able to get ath9k_htc to work using open drivers on OpenBSD?

jrmu (IRC): oh wait, sorry, I asked earlier, my bad

jrmu (IRC): sorry. anyway, I'm still searching for a method, seems like it may not be possible on openbsd

Jaypatelani: jrmu: ;)

aaron: jrmu (IRC): Poke #openbsd:matrix.org?

Google
[ matrix ]
28.07.2017
13:30:07
Jaypatelani: April: BSD Kernel Vul. news.ycombinator.com/item?id=14870124 thanks Horia for mentioning

<b>Jaypatelani:</b> And summary of the above by tedu https://www.tedunangst.com/flak/post/hurray-we-won by mulandar

jrmu (IRC): M-aaron: yeah I probably should head over there or drop a message on their mailing list

jrmu (IRC): turns out my search was irrelevant. The man page for athn says that host ap mode doesn't work for usb devices anyway

<b>aaron:</b> jrmu (IRC): Well, all I can do is search the man pages for you. I only have an Intel card.

jrmu (IRC): M-aaron: I appreciate the help. No worries though. Even the proprietary firmware doesn't support host ap mode for usb devices

<b>aaron:</b> Fun.

jrmu (IRC): maybe I should buy a librecmc device and use that for an access point

<b>aaron:</b> I generally just read the man pages, then harass the folks in #openbsd for suggestions, then read the man pages one more time.

jrmu (IRC): Have you ever tried to use openbsd for an access point? I can buy new wifi cards if needed, I'm just not sure which would use 1) open firmware and 2) support host ap mode

aaron: Nope. I'm allergic to networking. That's why I run all those questions by the folks on matrix. (Room isn't bridged to irc, sorry.)

jrmu (IRC): M-aaron: ah, no problem. Thanks for your help

W3b
28.07.2017
14:16:23
Shawn
28.07.2017
14:22:53
/win 25

whoops

Jay
28.07.2017
14:23:15
/win

[ matrix ]
28.07.2017
14:35:33
<b>aaron:</b> W3b Fly (Telegram): "should". :P

W3b
28.07.2017
14:38:48
Yeah I'm wondering if the type that isn't recognizing in fstab. It's 12 tb of drives.

[ matrix ]
28.07.2017
15:33:21
[RSS Bot [@Jaypatelani:matrix.org]] Berkeley Software Distribution posted a new article: Details Leaked on CIA's "Aeris" implant written in C for FreeBSD, Solaris, Debian, RHEL, and CentOS. ( https://www.reddit.com/r/BSD/comments/6q4j8m/details_leaked_on_cias_aeris_implant_written_in_c/ )

Horia: jrmu: I use OpenBSD as AP... git.io/vedetta is my configuration.

Google
[ matrix ]
29.07.2017
02:05:08
jrmu (IRC): horia[m]: thanks, let me check that out

jrmu (IRC): horia[m]: it seems you used athn for the access point, am I correct?

jrmu (IRC): Would you mind sharing which wifi chipset you used?

jrmu (IRC): (the exact model)

<b>Horia:</b> jrmu: It's an APU2C4 with Qualcomm Atheros AR9280

<b>Horia:</b> jrmu: http://pcengines.ch/wle200nx.htm

April: can someone explain how unix time works with leap seconds?

April: it's messing up some math I'm doing

April: fetching the UTC time and calculating the date/time from a unix time stamp by hand result in the same time down to the seconds. However, due to leap seconds, that shouldn't occur

April: so I'm a little confused as to what's going on

Jaypatelani: April: NetBSD?

April: I'm on mac at the moment but my code is in JS



April: This was my quick test

April: some searching revealed that unix time is actually slow?

April: as in, it's actually behind the actual number of elapsed seconds?

<b>Jaypatelani:</b> http://netbsd.gw.com/cgi-bin/man-cgi?time++NetBSD-current

April: I didn't account for leap seconds in the second calculation. And the first is the auto generated UTC time that matches my system clock

Jaypatelani: BUGS The granularity of seconds on microprocessors is crude and can result in times being reported for CPU usage which are too large by a second

April: no it should be like 20 something seconds difference

Google
[ matrix ]
29.07.2017
09:02:41
April: according to wikipedia, there's been 27 leap seconds so far

April: so the difference between the times should be that much

<b>April:</b> from my understanding, unix time is supposed to be the time elapsed since 1970

April: whereas UTC is adjusted with leap seconds

April: however, it's looking like unix time is actually 27 seconds below the actual number of seconds

Jaypatelani: I think someone at netbsd-users@netbsd.org or OpenBSD mail list can give you answer to that

<b>April:</b> After 1972, both clocks have been ticking in SI seconds, so the difference between their readouts at any time is 10 seconds plus the total number of leap seconds that have been applied to UTC (37 seconds as of January 2017).

April: so either I need to figure out how to grab how many leap seconds there are, or find out how to get the TAI time rather than unix time :\

April: seems kinda dumb to automatically change the system clock based on a particular format

Jaypatelani: Hmm

April: not sure how I'd go about doing that in javascript :\

Jaypatelani: I think asking relevant BSD project mail list will give you better insight

April: I've never used a mail list before. So I'm not sure how to go about that

<b>Jaypatelani:</b> I think most of them would be following same things but still it's better to be sure

April: I'm not even sure if it's something that can be changed at this point lol. Seems like I was just confused about what unix time actually is

Jaypatelani: :p

<b>Jaypatelani:</b> As you are using NetBSD here is it's users mail list http://www.netbsd.org/cgi-bin/subscribe_list.pl?list=netbsd-users

Jaypatelani: You can subscribe via here

<b>Jaypatelani:</b> And other lists are here http://www.netbsd.org/mailinglists/

jrmu (IRC): horia[m]: thank you.

Google
[ matrix ]
29.07.2017
10:05:47
jrmu (IRC): horia[m]: I guess you did have to install the proprietary firmware, though, to get it to work. I have a similar wifi card that uses athn, but I'd rather use one with open firmware. Moreover, this wifi card is usb and the manpage says that usb athn cards can't handle host ap mode.

<b>Horia:</b> jrmu: yes, I had to fw_update This card has been very reliable. I have around 20 APs nearby, downstairs neighbor's is only 1.5m below me, according to WiFiAnalyzer. It reaches around the building using 2 dual band antennas. I live on top floor apartment.

Jaypatelani: Free Internet? ?

April: free internet is nice

April: I don't pay anything for my phone plan.

April: unlimited everything

Jaypatelani: But that unlimited plan includes all the cost network going to spend

April: sure. but it's free for me

April: :P

April: I'm also interested in mesh nets that could provide 'free' internet

Jaypatelani: Only thing free on this planet is Open source OSes ??

April: information :3

April: this javascript thing is pissing me off

April: how the fuck am I supposed to get TAI time or a list of leap seconds in JS?

April: the only solution seems to be to manually maintain the offset on my site

Jaypatelani: Hehe ?

April: I tried fetching from a publicly available list, but cors got in the way

<b>Jaypatelani:</b> > > the only solution seems to be to manually maintain the offset on my site > You should definitely ask on maillist someone might have already done that or work around it >

April: it's not really a bsd problem though. Just a JS one

April: if it was code being ran on the computer rather than js, you could easily just fetch the document or send a request to ntp servers

aaron: April: Mirror the list of seconds to your server, then just add that to the JS?

April: then I'd have to update it by hand

Страница 7 из 112