
[ matrix ]
29.07.2017
13:21:13
<b>aaron:</b> April: Cron and a fetch + copy script.
April: that'd require a backend server
April: the script I'm writing is js/html only
April: either generate it with JS, or find a public/official listing I can fetch from

Google

[ matrix ]
29.07.2017
13:22:10
April: :\
<b>aaron:</b> I'll be you there's already a JavaScript library to do just that.
<b>aaron:</b> *bet.
April: I've been looking, I can't find anything
April: the problem is that the list of leap seconds needs to be fetched from an official source
April: I'm guessing that to keep time the OS downloads it as well when syncing with the ntp server, so I'd imagine there's a way to calculate it just using the terminal
April: however, I don't know if there's a way to access that with JS. I think it's just limited to Date
aaron: Well, right now you're a slave to the base OS you're running on for that. I assume you're running this on top of NetBSD?
April: it'll be running on whoever's computer accesses the site
April: which may or may not be netbsd
<b>aaron:</b> So you're always going to be a slave to the various system time implementations.
April: yeah
April: unix time afaik is specified to not count up for leap years, so that's consistently behind

Google


[ matrix ]
29.07.2017
13:27:38
April: not really dependant on implementaiton
April: ugh, this whole project is starting to be a pain
April: I have a whole mess of stuff with pre-1970 dates as well
aaron: Look inside your timezone files?
April: ?
<b>aaron:</b> They're installed somewhere under root. Maybe "apropos timezone" will turn them up?
April: I'm not sure how that'd help
<b>aaron:</b> That may have the list of leap second/leap year adjustments.
April: can I get that from javascript?
<b>aaron:</b> Well, you said website, so just serve the file from your server.
April: no backend
April: has to be pure JS
aaron: Can JavaScript make filesystem calls?
April: I can easily include a list alongside the js, or even just hardcode in the 27 days
April: but then it's stuck not updating
April: if unix time wasn't absolutely retarded, this wouldn't be difficult
aaron: (You said something about CORS, I have no clue about the download policies though when running local.)
April: cors prevents fetching from certain sites through js
April: namely: literally anywhere I can find an official list of leap seconds
aaron: Wikipedia?

Google

[ matrix ]
29.07.2017
13:33:00
April: timeanddate.com has a php script that shows the TAI time. However, it's blocked by cors
April: I don't think I can use jquery to fetch from wikipedia...
<b>aaron:</b> I'll bet someone has a hobby site with all proposed leap seconds out to 3.000.
aaron: https://www.ietf.org/timezones/data/leap-seconds.list
<b>aaron:</b> Everyone seems to use the IERS bulletin as authoritative.
<b>April:</b> Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://en.wikipedia.org/wiki/Leap_second. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
April: wikipedia didn't work
April: ietf.org blocks with cors
<b>aaron:</b> You may need an actual JavaScript help channel here, or to just mirror that file on github or something.
April: yeah I'll have to go to a JS channel
April: I just meant to ask about unix timestamps here


W3b
29.07.2017
14:36:33
Alright errors... any help is greatly appreciated on this for mounting the usb JBOD.
root@Host:/dev # kldstat
Id Refs Address Size Name
1 18 0xffffffff80200000 17bc680 kernel
2 1 0xffffffff819bd000 1a2b8 fuse.ko
3 1 0xffffffff81c11000 358d ums.ko
4 1 0xffffffff81c15000 2ba8 uhid.ko
5 1 0xffffffff81c18000 1ee0c8 zfs.ko
6 1 0xffffffff81e07000 3330 opensolaris.ko
root@Host:/dev #
root@Host:/dev # ntfs-3g /dev/da2s1 /media/Plex1
NTFS signature is missing.
Failed to mount '/dev/da2s1': Invalid argument
The device '/dev/da2s1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
root@Host:/dev #
root@Host:/dev # gpart show da2
=> 63 3907029105 da2 MBR (1.8T)
63 2016 - free - (1.0M)
2079 3907021986 1 ntfs (1.8T)
3907024065 5103 - free - (2.5M)
root@Host:/dev #
root@Host:/dev # mount -t ntfs /dev/da2s1 /media/Plex1
mount: /dev/da2s1: Operation not supported by device
root@Host:/dev # mount -t ntfs /dev/da2 /media/Plex1
mount: /dev/da2: Operation not supported by device
root@Host:/dev #
root@Host:/dev # cat /etc/fstab
# Device Mountpoint FStype Options Dump Pass#
/dev/da0p2 / ufs rw 1 1
/dev/da0p3 none swap sw 0 0
#/dev/da2 /media/Plex1 ntfs-3g late,rw 0 0
#/dev/da3 /media/Plex2 ntfs-3g mountprog=/usr/local/bin/ntfs-3g,late,failok,rw 0 0
#/dev/da4 /media/Plex3 ntfs-3g mountprog=/usr/local/bin/ntfs-3g,late,failok,rw 0 0
#/dev/da5p1 /media/Plex4 ntfs-3g late,rw 0 0
root@Host:/dev #
the above fstab will cause BSD to go to single user mode
root@Host:/dev # camcontrol devlist
<HP RAID 1(1+0) OK> at scbus0 target 0 lun 0 (pass0,da0)
<HP RAID 0 OK> at scbus0 target 1 lun 0 (pass1,da1)
<TEAC DV-28S-W C.2D> at scbus2 target 0 lun 0 (pass2,cd0)
<TOSHIBA DT01ACA200 0125> at scbus4 target 0 lun 0 (da2,pass3)
<WDC WD40 EFRX-68N32N0 0125> at scbus4 target 0 lun 1 (da3,pass4)
<ST320006 41AS 0125> at scbus4 target 0 lun 2 (da4,pass5)
<WDC WD40 EFRX-68N32N0 0125> at scbus4 target 0 lun 3 (da5,pass6)
root@Host:/dev #
root@Host:/dev # usbconfig
ugen1.1: <UHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA)
ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA)
ugen3.1: <UHCI root HUB Intel> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA)
ugen2.1: <UHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA)
ugen5.1: <UHCI root HUB HP> at usbus5, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA)
ugen4.1: <EHCI root HUB Intel> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen5.2: <Virtual Keyboard HP> at usbus5, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (0mA)
ugen2.2: <Lenovo USB Optical Mouse PixArt> at usbus2, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA)
ugen3.2: <USB Keyboard Logitech> at usbus3, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (90mA)
ugen4.2: <USB to ATAATAPI Bridge JMicron> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (50mA)
root@Host:/dev #

Google

W3b
29.07.2017
14:44:16
....... and i hate saying this as I am seriouslly attemtpting to use BSD.... but linux mounted very easily just using the UUID of the drives both Centos and Ubuntu
anyways, any help would be appreciated

Jay
29.07.2017
15:55:20
@W3bfly on FreeBSD?

W3b
29.07.2017
16:16:12

Jay
29.07.2017
16:19:26
Tried everything from here ? https://www.freebsd.org/doc/handbook/usb-disks.html

W3b
29.07.2017
17:14:03
Yes. Even from man pages of ntfs-3g and googling... It's gotta be something simple. The mundane details Peter

[ matrix ]
29.07.2017
17:28:13
<b>Horia:</b> April: try response header "Access-Control-Allow-Origin" value '"*" env=IS_CORS'

Jay
29.07.2017
18:22:39

W3b
29.07.2017
18:30:35
So not sure what I'm missing to get the OS to mount them

Jay
29.07.2017
18:32:24
Someone on #FreeBSD on Freenode will definitely know ... have you tried on 11.xx versions?
Or check if any modules from GhostBSD can auto mount

W3b
29.07.2017
20:25:47

[ matrix ]
29.07.2017
22:04:44
April: Horia: response header?
April: I thought response headers were done on the server side
<b>aaron:</b> W3b Fly (Telegram): The big FreeBSD channels are on efnet. But someone who actually uses NTFS can probably answer.

W3b
30.07.2017
00:14:15
more then likely true, but didn't hurt to at least ask ;P

.:VMS:.
30.07.2017
01:30:27
Guys
Works fine blender on freebsd?
Cause some of X apps sucks on openbsd
But supposed freebsd has focus on desktop

Google

.:VMS:.
30.07.2017
01:32:23
I'll try

[ matrix ]
30.07.2017
01:46:49
<b>aaron:</b> W3b Fly (Telegram): I meant vs the freenode channel.
Horia: April: for your CORS problem, ie. wikipedia, maybe I misunderstood
Horia: April: if you control the server...
April: I do not have access to any server
Horia: How do you load the script?
Horia: U can change headers in browser, also
April: it should just be the equivalent of loading the .html file in your browser with no modification
<b>April:</b> though there is a wrapper outside of my control that I can't touch
April: but I can escape the frame if needed
April: no server stuff
Horia: You use file://my.html I guess

Jay
30.07.2017
02:20:39

[ matrix ]
30.07.2017
02:42:16
April: more or less, yeah, Horia

Jay
30.07.2017
05:10:07
https://arstechnica.com/information-technology/2017/07/broadcom-chip-bug-opened-1-billion-phones-to-a-wi-fi-hopping-worm-attack/

[ matrix ]
30.07.2017
05:45:46
Follpvosten: Is anyone using FreeBSD on a TP X230 with UEFI boot? (Yes, that is very specific)

W3b
30.07.2017
05:52:04

[ matrix ]
30.07.2017
05:56:42
<b>Follpvosten:</b> Nothing too important, i'm trying to dual-boot FreeBSD and Linux on my X230 and sadly chose to boot using EFI when i first installed the latter, which should not be a problem in theory; but the boot process of the FreeBSD install media hangs at a very early point when i try booting via UEFI
<b>Follpvosten:</b> Since i'm running a rather old BIOS/UEFI version, i'm wondering if an update to that could fix the issue

Jay
30.07.2017
06:42:33

[ matrix ]
30.07.2017
06:43:52
<b>Jaypatelani:</b> Follpvosten: Want to learn BSD. Have a 2013 Thinkpad X230. Which is the most laptop friendly BSD to learn with?
https://www.reddit.com/r/BSD/comments/6irela/want_to_learn_bsd_have_a_2013_thinkpad_x230_which/