OK, turing.

<- leave blank

Mon Jan 14 09:59:24 EST 2019

public class DownloadListTask extends AsyncTask<String, Integer, String> {

    @Override
    protected String doInBackground(String...  strings) {
	try {
	    URL url = new URL(strings[0]+strings[1]+"/"+strings[2]+strings[3]);
	    Log.d("URL",url.toString());
	    HttpURLConnection urlConnection = (HttpURLConnection)
	    url.openConnection();
	    try{
		BufferedReader br = new BufferedReader(new
		InputStreamReader(urlConnection.getInputStream()));
		StringBuilder stringBuilder = new StringBuilder();
		String line;
		while((line = br.readLine()) != null){
		    stringBuilder.append(line);
		}
		br.close();
		return stringBuilder.toString();
	    }finally {

	    }
	} catch (Exception e) {
	    Log.e("FAILED TO LOAD",e.getMessage(),e);
	}
	return null;
    }

    protected void onPostExecute(String result){

    }
}

Mon Jan 14 09:51:14 EST 2019
i am going to do a simple ecommerce website where people can buy books.  i have
almost no money.  Should i choose golang over django?

Sun Jan 13 23:20:51 EST 2019
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 598 M, 12.1
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 594 M, 12.0
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 1 M, 0.0 % | SwapFree: 587 M, 11.9
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 587 M, 11.9
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 5 M, 0.2 % | SwapFree: 585 M, 11.8
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 585 M, 11.8
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 585 M, 11.8
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 578 M, 11.7
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 573 M, 11.6
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 3 M, 0.1 % | SwapFree: 564 M, 11.4
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 3 M, 0.2 % | SwapFree: 564 M, 11.4
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 564 M, 11.4
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 563 M, 11.4
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 560 M, 11.3
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 559 M, 11.3
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 549 M, 11.1
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 548 M, 11.1
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 547 M, 11.1
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 544 M, 11.0
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 543 M, 11.0
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 536 M, 10.8
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 535 M, 10.8
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 3 M, 0.1 % | SwapFree: 532 M, 10.8
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 6 M, 0.2 % | SwapFree: 529 M, 10.7
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 6 M, 0.3 % | SwapFree: 528 M, 10.7
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 526 M, 10.6
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 520 M, 10.5
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 516 M, 10.4
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 513 M, 10.4
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 512 M, 10.4
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 503 M, 10.2
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 503 M, 10.2
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 502 M, 10.2
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 501 M, 10.1
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 495 M, 10.0
%
Jan 13 17:08:25 user-pc nohang[1307]: MemAvail: 0 M, 0.0 % | SwapFree: 490 M, 9.9
%
Jan 13 17:08:25 user-pc nohang[1307]: non-S states:
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [3], rcu_gp, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [4], rcu_par_gp, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [6], kworker/0:0H-kblockd, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [7],
kworker/u4:0-events_power_efficient, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [8], mm_percpu_wq, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [10], rcu_preempt, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [11], rcu_sched, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [12], rcu_bh, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [25], kworker/1:0H-kblockd, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [27], netns, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [32], writeback, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [36], crypto, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [37], kintegrityd, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [38], kblockd, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [39], edac-poller, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [40], devfreq_wq, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [42], kworker/1:1-events, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: D, [44], kswapd0, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [87], kthrotld, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [88], acpi_thermal_pm, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [89], nvme-wq, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [90], nvme-reset-wq, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [91], nvme-delete-wq, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [92], ipv6_addrconf, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [101], kstrp, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [114], charger_manager, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [140], kworker/0:2-events, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [141], ata_sff, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [143], scsi_tmf_0, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [145], scsi_tmf_1, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [147], scsi_tmf_2, ...
Jan 13 17:08:25 user-pc nohang[1307]: State: I, [148],
kworker/u4:2-events_power_efficient, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [152], kworker/1:1H-kblockd, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [156], kworker/0:1H-kblockd, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [167], kworker/u5:0, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [178], ext4-rsv-conver, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: D, [202], systemd-journal,
/usr/lib/systemd/systemd-journald...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [248], ttm_swap, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: D, [390], NetworkManager,
/usr/bin/NetworkManager --no-daemon...
Jan 13 17:08:26 user-pc nohang[1307]: State: D, [406], polkitd,
/usr/lib/polkit-1/polkitd --no-debug...
Jan 13 17:08:26 user-pc nohang[1307]: State: D, [426], Xorg, /usr/lib/Xorg :0
-seat seat0 -auth /run/...
Jan 13 17:08:26 user-pc nohang[1307]: State: D, [735], xfce4-panel, xfce4-panel...
Jan 13 17:08:26 user-pc nohang[1307]: State: D, [871], xfce4-power-man,
xfce4-power-manager...
Jan 13 17:08:26 user-pc nohang[1307]: State: D, [958], upowerd,
/usr/lib/upowerd...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [1182],
kworker/u4:1-events_freezable_power_, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [1183], kworker/0:4-events, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [1199], kworker/1:3-events, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: D, [1329], tail, tail /dev/zero...
Jan 13 17:08:26 user-pc nohang[1307]: print state time: 6.782451629638672
Jan 13 17:08:26 user-pc nohang[1307]: Stop running processes...
Jan 13 17:08:26 user-pc nohang[1307]: Stop time: 1.6689300537109375e-06
Jan 13 17:08:26 user-pc nohang[1307]:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jan 13 17:08:26 user-pc nohang[1307]: Memory status that requires corrective
actions:
Jan 13 17:08:26 user-pc nohang[1307]: MemAvailable [0 MiB, 0.0 %] <=
mem_min_sigterm [225 MiB, 10.0 %]
Jan 13 17:08:26 user-pc nohang[1307]: SwapFree [490 MiB, 9.9 %] <=
swap_min_sigterm [494 MiB, 10.0 %]
Jan 13 17:08:26 user-pc nohang[1307]: Found a victim with highest badness:
Jan 13 17:08:26 user-pc nohang[1307]: Name: tail
Jan 13 17:08:26 user-pc nohang[1307]: PID: 1329
Jan 13 17:08:26 user-pc nohang[1307]: UID: 1000
Jan 13 17:08:26 user-pc nohang[1307]: Badness: 858, oom_score: 859, oom_score_adj:
0
Jan 13 17:08:26 user-pc nohang[1307]: VmSize: 6175 MiB
Jan 13 17:08:26 user-pc nohang[1307]: VmRSS: 2025 MiB (Anon: 2025 MiB, File: 0
MiB, Shmem: 0 MiB)
Jan 13 17:08:26 user-pc nohang[1307]: VmSwap: 4144 MiB
Jan 13 17:08:26 user-pc nohang[1307]: CmdLine: tail /dev/zero
Jan 13 17:08:26 user-pc nohang[1307]: Implement a corrective action:
Jan 13 17:08:26 user-pc nohang[1307]: Sending SIGTERM to the victim; OK; response
time: 12363 ms
Jan 13 17:08:26 user-pc nohang[1307]:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jan 13 17:08:26 user-pc nohang[1307]: Uptime: 5 min 43 sec; corrective actions:
Jan 13 17:08:26 user-pc nohang[1307]: - Send SIGTERM to tail: 1
Jan 13 17:08:26 user-pc nohang[1307]: non-S states:
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [3], rcu_gp, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [4], rcu_par_gp, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [6], kworker/0:0H-kblockd, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [7],
kworker/u4:0-events_power_efficient, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [8], mm_percpu_wq, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [10], rcu_preempt, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [11], rcu_sched, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [12], rcu_bh, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [25], kworker/1:0H-kblockd, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [27], netns, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [32], writeback, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [36], crypto, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [37], kintegrityd, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [38], kblockd, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [39], edac-poller, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [40], devfreq_wq, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [42], kworker/1:1-events, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [87], kthrotld, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [88], acpi_thermal_pm, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [89], nvme-wq, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [90], nvme-reset-wq, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [91], nvme-delete-wq, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [92], ipv6_addrconf, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [101], kstrp, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [114], charger_manager, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [140], kworker/0:2-events, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [141], ata_sff, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [143], scsi_tmf_0, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [145], scsi_tmf_1, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [147], scsi_tmf_2, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [148],
kworker/u4:2-events_power_efficient, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [152], kworker/1:1H-kblockd, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [156], kworker/0:1H-kblockd, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [167], kworker/u5:0, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [178], ext4-rsv-conver, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: R, [202], systemd-journal,
/usr/lib/systemd/systemd-journald...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [248], ttm_swap, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: D, [385], dbus-daemon,
/usr/bin/dbus-daemon --system --address=...
Jan 13 17:08:26 user-pc nohang[1307]: State: D, [390], NetworkManager,
/usr/bin/NetworkManager --no-daemon...
Jan 13 17:08:26 user-pc nohang[1307]: State: D, [426], Xorg, /usr/lib/Xorg :0
-seat seat0 -auth /run/...
Jan 13 17:08:26 user-pc nohang[1307]: State: D, [735], xfce4-panel, xfce4-panel...
Jan 13 17:08:26 user-pc nohang[1307]: State: D, [871], xfce4-power-man,
xfce4-power-manager...
Jan 13 17:08:26 user-pc nohang[1307]: State: R, [958], upowerd,
/usr/lib/upowerd...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [1182],
kworker/u4:1-events_freezable_power_, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [1183], kworker/0:4-events, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [1199], kworker/1:3-mm_percpu_wq,
...
Jan 13 17:08:26 user-pc nohang[1307]: State: D, [1324], bash, bash...
Jan 13 17:08:26 user-pc nohang[1307]: print state time: 0.23136377334594727
Jan 13 17:08:26 user-pc nohang[1307]: Continue stopped processes...
Jan 13 17:08:26 user-pc nohang[1307]: All cont time: 2.384185791015625e-06
Jan 13 17:08:26 user-pc nohang[1307]: non-S states:
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [3], rcu_gp, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [4], rcu_par_gp, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [6], kworker/0:0H-kblockd, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [7],
kworker/u4:0-events_power_efficient, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [8], mm_percpu_wq, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [10], rcu_preempt, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [11], rcu_sched, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [12], rcu_bh, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [25], kworker/1:0H-kblockd, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [27], netns, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [32], writeback, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [36], crypto, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [37], kintegrityd, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [38], kblockd, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [39], edac-poller, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [40], devfreq_wq, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [42], kworker/1:1-events, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [87], kthrotld, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [88], acpi_thermal_pm, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [89], nvme-wq, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [90], nvme-reset-wq, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [91], nvme-delete-wq, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [92], ipv6_addrconf, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [101], kstrp, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [114], charger_manager, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [140], kworker/0:2-events, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [141], ata_sff, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [143], scsi_tmf_0, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [145], scsi_tmf_1, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [147], scsi_tmf_2, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [148],
kworker/u4:2-events_power_efficient, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [152], kworker/1:1H-kblockd, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [156], kworker/0:1H-kblockd, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [167], kworker/u5:0, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [178], ext4-rsv-conver, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: D, [202], systemd-journal,
/usr/lib/systemd/systemd-journald...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [248], ttm_swap, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: D, [385], dbus-daemon,
/usr/bin/dbus-daemon --system --address=...
Jan 13 17:08:26 user-pc nohang[1307]: State: D, [390], NetworkManager,
/usr/bin/NetworkManager --no-daemon...
Jan 13 17:08:26 user-pc nohang[1307]: State: D, [426], Xorg, /usr/lib/Xorg :0
-seat seat0 -auth /run/...
Jan 13 17:08:26 user-pc nohang[1307]: State: D, [735], xfce4-panel, xfce4-panel...
Jan 13 17:08:26 user-pc nohang[1307]: State: D, [871], xfce4-power-man,
xfce4-power-manager...
Jan 13 17:08:26 user-pc nohang[1307]: State: D, [958], upowerd,
/usr/lib/upowerd...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [1182],
kworker/u4:1-events_freezable_power_, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [1183], kworker/0:4-events, ...
Jan 13 17:08:26 user-pc nohang[1307]: State: I, [1199], kworker/1:3-mm_percpu_wq,
...
Jan 13 17:08:26 user-pc nohang[1307]: State: D, [1324], bash, bash...
Jan 13 17:08:26 user-pc nohang[1307]: print state time: 0.019744873046875
Jan 13 17:08:26 user-pc nohang[1307]: MemAvail: 2073 M, 92.3 % | SwapFree: 4508 M,
91.2 %
Jan 13 17:08:26 user-pc nohang[1307]: MemAvail: 2071 M, 92.2 % | SwapFree: 4508 M,
91.2 %
Jan 13 17:08:26 user-pc nohang[1307]: MemAvail: 2068 M, 92.1 % | SwapFree: 4508 M,
91.2 %
Jan 13 17:08:27 user-pc nohang[1307]: MemAvail: 2067 M, 92.0 % | SwapFree: 4509 M,
91.2 %
Jan 13 17:08:28 user-pc nohang[1307]: MemAvail: 2066 M, 91.9 % | SwapFree: 4509 M,
91.2 %
Jan 13 17:08:29 user-pc nohang[1307]: MemAvail: 2064 M, 91.8 % | SwapFree: 4509 M,
91.2 %
Jan 13 17:08:30 user-pc nohang[1307]: MemAvail: 2062 M, 91.8 % | SwapFree: 4510 M,
91.2 %
Jan 13 17:08:31 user-pc nohang[1307]: MemAvail: 2061 M, 91.7 % | SwapFree: 4510 M,
91.2 %
Jan 13 17:08:32 user-pc nohang[1307]: MemAvail: 2059 M, 91.6 % | SwapFree: 4510 M,
91.2 %
Jan 13 17:08:33 user-pc nohang[1307]: MemAvail: 2058 M, 91.6 % | SwapFree: 4511 M,
91.3 %
Jan 13 17:08:34 user-pc nohang[1307]: MemAvail: 2056 M, 91.5 % | SwapFree: 4511 M,
91.3 %
Jan 13 17:08:35 user-pc nohang[1307]: MemAvail: 2055 M, 91.5 % | SwapFree: 4511 M,
91.3 %
Jan 13 17:08:36 user-pc nohang[1307]: MemAvail: 2053 M, 91.4 % | SwapFree: 4511 M,
91.3 %
Jan 13 17:08:37 user-pc nohang[1307]: MemAvail: 2050 M, 91.2 % | SwapFree: 4512 M,
91.3 %
Jan 13 17:08:38 user-pc nohang[1307]: MemAvail: 2047 M, 91.1 % | SwapFree: 4512 M,
91.3 %
Jan 13 17:08:39 user-pc nohang[1307]: MemAvail: 2046 M, 91.1 % | SwapFree: 4512 M,
91.3 %
Jan 13 17:08:40 user-pc nohang[1307]: MemAvail: 2046 M, 91.1 % | SwapFree: 4513 M,
91.3 %
Jan 13 17:08:41 user-pc nohang[1307]: MemAvail: 2045 M, 91.0 % | SwapFree: 4513 M,
91.3 %


Sun Jan 13 21:47:38 EST 2019
#!/bin/rc
# var - find C variable declarations
# var [pattern]

rfork e

ident='([a-zA-Z_][a-zA-Z_0-9]*)'
var=$1
var=`{echo $var | sed 's,%,'$ident'?,g'}
if(~ $#var 0)
	var=$ident
decl='[ ]*'$ident'\**[ ]+\**[ ]*'$var'(\[.*\])?[ ]*(;$|=[^=]*)'
falsematch='(return|goto|typedef)';
srcs=`{walk -f | grep '\.(c|h)'}
grep -n -e $decl $srcs /dev/null | grep -v $falsematch | sed 's,[ ]+, ,g'


Sun Jan 13 16:47:08 EST 2019
test

Sun Jan 13 15:40:52 EST 2019
diff -r eb26bc92b777 sys/src/cmd/cwfs/iobuf.c
--- a/sys/src/cmd/cwfs/iobuf.c Sun Jan 13 17:17:11 2019 +0100
+++ b/sys/src/cmd/cwfs/iobuf.c Sun Jan 13 21:40:51 2019 +0100
@@ -186,6 +186,12 @@

	if(canqlock(p))
		fprint(2, "buffer not locked %Z(%lld)\n", p->dev,
		(Wideoff)p->addr);
+
+ if((p->flags & Bmod) != 0 && p->dev->type == Devro){
+ fprint(2, "attempt to modify %Z(%lld)\n", p->dev, (Wideoff)p->addr);
+ abort();
+ }
+
	if(p->flags & Bimm) {
		if(!(p->flags & Bmod))
			fprint(2, "imm and no mod %Z(%lld)\n",


Sun Jan 13 15:40:43 EST 2019


Sun Jan 13 13:05:56 EST 2019
#!/bin/rc
pagecmd='page'
mancmd='man -w '^$"*^' | xargs troff -man'
if(!  ~ $Man ''){
	manopt='-T ps '
	mancmd='ssh '^$Man^' ''man -w '^$"*^' | xargs mandoc '^$manopt^''''
}
mkdir -p /tmp/man
tmpman=/tmp/man/`{echo $* |sed 's!  !\.!g'}^.ps
eval $mancmd > $tmpman
plumb $tmpman


Sun Jan 13 10:48:55 EST 2019
diff -r 19fee65295c6 sys/src/9/pc/ether82563.c
--- a/sys/src/9/pc/ether82563.c Sat Jan 12 21:07:12 2019 +0100
+++ b/sys/src/9/pc/ether82563.c Sun Jan 13 16:48:54 2019 +0100
@@ -463,6 +463,7 @@
	F79phy = 1<<5,
	Fnofct = 1<<6,
	Fbadcsum= 1<<7,
+ Fnofca = 1<<8,
 };

 typedef struct Ctlrtype Ctlrtype;
@@ -491,9 +492,9 @@
 [i82580] "i82580", 9728, F75|F79phy,
 [i82583] "i82583", 1514, 0,
 [i210] "i210", 9728, F75|Fnofct|Fert,
-[i217] "i217", 2048, Fload|Fert|Fnofct|Fbadcsum, /* 9018, but unstable above 2k
*/
-[i218] "i218", 9018, Fload|Fert|F79phy|Fnofct|Fbadcsum,
-[i219] "i219", 9018, Fload|Fert|F79phy|Fnofct|Fbadcsum,
+[i217] "i217", 2048, Fload|Fert|F79phy|Fnofct|Fnofca|Fbadcsum,/* 9018, but
unstable above 2k */
+[i218] "i218", 9018, Fload|Fert|F79phy|Fnofct|Fnofca|Fbadcsum,
+[i219] "i219", 9018, Fload|Fert|F79phy|Fnofct|Fnofca|Fbadcsum,
 [i350] "i350", 9728, F75|F79phy|Fnofct,
 };

@@ -1192,7 +1193,7 @@
 static void
 phyl79proc(void *v)
 {
- uint a, i, r, phy, phyno;
+ uint i, r, phy, phyno;
	Ctlr *c;
	Ether *e;

@@ -1205,19 +1206,21 @@
		lsleep(c, Lsc);

	for(;;){
- phy = phyread(c, phyno, Phystat);
- if(phy == ~0){
- phy = 0;
- i = 3;
- goto next;
+ for(i=0; i<5; i++){
+ phy = phyread(c, phyno, Phystat);
+ if(phy == ~0){
+ tsleep(&up->sleep, return0, 0, 100);
+ continue;
+ }
+ if(phy & Ans){
+ r = phyread(c, phyno, Phyctl);
+ if(r == ~0)
+ continue;
+ phywrite(c, phyno, Phyctl, r | Ran | Ean);
+ }
+ break;
		}
		i = (phy>>8) & 3;
- a = phy & Ans;
- if(a){
- r = phyread(c, phyno, Phyctl);
- phywrite(c, phyno, Phyctl, r | Ran | Ean);
- }
-next:
		e->link = i != 3 && (phy & Link) != 0;
		if(e->link == 0)
			i = 3;
@@ -1785,8 +1788,10 @@
	memset(ctlr->mta, 0, sizeof(ctlr->mta));
	for(i = 0; i < 128; i++)
		csr32w(ctlr, Mta + i*4, 0);
- csr32w(ctlr, Fcal, 0x00C28001);
- csr32w(ctlr, Fcah, 0x0100);
+ if((flag & Fnofca) == 0){
+ csr32w(ctlr, Fcal, 0x00C28001);
+ csr32w(ctlr, Fcah, 0x0100);
+ }
	if((flag & Fnofct) == 0)
		csr32w(ctlr, Fct, 0x8808);
	csr32w(ctlr, Fcttv, 0x0100);


Sun Jan 13 09:18:30 EST 2019
diff -r 19fee65295c6 sys/src/9/pc/ether82563.c
--- a/sys/src/9/pc/ether82563.c Sat Jan 12 21:07:12 2019 +0100
+++ b/sys/src/9/pc/ether82563.c Sun Jan 13 15:18:29 2019 +0100
@@ -463,6 +463,7 @@
	F79phy = 1<<5,
	Fnofct = 1<<6,
	Fbadcsum= 1<<7,
+ Fnofca = 1<<8,
 };

 typedef struct Ctlrtype Ctlrtype;
@@ -491,9 +492,9 @@
 [i82580] "i82580", 9728, F75|F79phy,
 [i82583] "i82583", 1514, 0,
 [i210] "i210", 9728, F75|Fnofct|Fert,
-[i217] "i217", 2048, Fload|Fert|Fnofct|Fbadcsum, /* 9018, but unstable above 2k
*/
-[i218] "i218", 9018, Fload|Fert|F79phy|Fnofct|Fbadcsum,
-[i219] "i219", 9018, Fload|Fert|F79phy|Fnofct|Fbadcsum,
+[i217] "i217", 2048, Fload|Fert|F79phy|Fnofct|Fnofca|Fbadcsum,/* 9018, but
unstable above 2k */
+[i218] "i218", 9018, Fload|Fert|F79phy|Fnofct|Fnofca|Fbadcsum,
+[i219] "i219", 9018, Fload|Fert|F79phy|Fnofct|Fnofca|Fbadcsum,
 [i350] "i350", 9728, F75|F79phy|Fnofct,
 };

@@ -1212,6 +1213,10 @@
			goto next;
		}
		i = (phy>>8) & 3;
+ if(c->type == i217){
+ print("i217: phy status %ux, speed %d\n", phy, i);
+ goto next;
+ }
		a = phy & Ans;
		if(a){
			r = phyread(c, phyno, Phyctl);
@@ -1785,8 +1790,10 @@
	memset(ctlr->mta, 0, sizeof(ctlr->mta));
	for(i = 0; i < 128; i++)
		csr32w(ctlr, Mta + i*4, 0);
- csr32w(ctlr, Fcal, 0x00C28001);
- csr32w(ctlr, Fcah, 0x0100);
+ if((flag & Fnofca) == 0){
+ csr32w(ctlr, Fcal, 0x00C28001);
+ csr32w(ctlr, Fcah, 0x0100);
+ }
	if((flag & Fnofct) == 0)
		csr32w(ctlr, Fct, 0x8808);
	csr32w(ctlr, Fcttv, 0x0100);


Sun Jan 13 08:03:54 EST 2019
diff -r 19fee65295c6 sys/src/9/pc/ether82563.c
--- a/sys/src/9/pc/ether82563.c Sat Jan 12 21:07:12 2019 +0100
+++ b/sys/src/9/pc/ether82563.c Sun Jan 13 14:03:54 2019 +0100
@@ -491,7 +491,7 @@
 [i82580] "i82580", 9728, F75|F79phy,
 [i82583] "i82583", 1514, 0,
 [i210] "i210", 9728, F75|Fnofct|Fert,
-[i217] "i217", 2048, Fload|Fert|Fnofct|Fbadcsum, /* 9018, but unstable above 2k
*/
+[i217] "i217", 2048, Fload|Fert|F79phy|Fnofct|Fbadcsum,/* 9018, but unstable
above 2k */
 [i218] "i218", 9018, Fload|Fert|F79phy|Fnofct|Fbadcsum,
 [i219] "i219", 9018, Fload|Fert|F79phy|Fnofct|Fbadcsum,
 [i350] "i350", 9728, F75|F79phy|Fnofct,
@@ -1212,6 +1212,10 @@
			goto next;
		}
		i = (phy>>8) & 3;
+ if(c->type == i217){
+ print("i217: phy status %ux, speed %d\n", phy, i);
+ goto next;
+ }
		a = phy & Ans;
		if(a){
			r = phyread(c, phyno, Phyctl);


prev | next