jdev - 2021-02-01


  1. mikeye has joined

  2. adityaborikar has left

  3. adityaborikar has joined

  4. suohua has joined

  5. suohua has left

  6. stpeter has joined

  7. stpeter has left

  8. adityaborikar has left

  9. adityaborikar has joined

  10. mikeye has left

  11. mikeye has joined

  12. mikeye has left

  13. serge90 has left

  14. lovetox has joined

  15. suohua has joined

  16. stpeter has joined

  17. suohua has left

  18. debacle has left

  19. mikeye has joined

  20. stpeter has left

  21. fade123 has left

  22. fade123 has joined

  23. suohua has joined

  24. mikeye has left

  25. suohua has left

  26. Yagizа has joined

  27. mac has joined

  28. stpeter has joined

  29. stpeter has left

  30. suohua has joined

  31. suohua has left

  32. mikeye has joined

  33. SouL has joined

  34. mac has left

  35. stpeter has joined

  36. Zash has left

  37. Zash has joined

  38. paul has joined

  39. wurstsalat has joined

  40. Zash has left

  41. Zash has joined

  42. serge90 has joined

  43. jonas’ has joined

  44. stpeter has left

  45. Zash has left

  46. Zash has joined

  47. alex-a-soto has left

  48. asterix has left

  49. asterix has joined

  50. o2 has left

  51. o2 has joined

  52. goffi has joined

  53. asterix has left

  54. asterix has joined

  55. mikeye has left

  56. suohua has joined

  57. pulkomandy has left

  58. pulkomandy has joined

  59. pulkomandy has left

  60. pulkomandy has joined

  61. marmistrz has joined

  62. asterix has left

  63. asterix has joined

  64. asterix has left

  65. asterix has joined

  66. suohua has left

  67. suohua has joined

  68. Alex has joined

  69. marmistrz has left

  70. suohua has left

  71. suohua has joined

  72. debacle has joined

  73. debacle has left

  74. Zash has left

  75. debacle has joined

  76. Zash has joined

  77. debacle has left

  78. debacle has joined

  79. debacle has left

  80. debacle has joined

  81. suohua has left

  82. mikeye has joined

  83. alacer has left

  84. alacer has joined

  85. fade123 has left

  86. mikeye has left

  87. suohua has joined

  88. adityaborikar has left

  89. adityaborikar has joined

  90. marmistrz has joined

  91. suohua has left

  92. debacle has left

  93. debacle has joined

  94. debacle has left

  95. debacle has joined

  96. belong has joined

  97. suohua has joined

  98. suohua has left

  99. stpeter has joined

  100. suohua has joined

  101. debacle has left

  102. suohua has left

  103. belong has left

  104. belong has joined

  105. debacle has joined

  106. oibalos has joined

  107. stpeter has left

  108. suohua has joined

  109. suohua has left

  110. suohua has joined

  111. paul

    jonas’: I've heard that you wrote xep 0392 and implemented it in poezio, isn't it?

  112. jonas’

    paul, both correct!

  113. paul

    I have a color issue, following the xep I have different color from poezio, and reading the poezio code I see that when computing the hue_angle the sha output is / 65535 instead of 65536 in the xep

  114. jonas’

    that is a typo in the poezio source then

  115. jonas’

    the XEP has the correct value

  116. paul

    ok thanks :)

  117. jonas’

    (logic behind it: as the result is supposed to be an angle, 0 == 360. Hence, we don’t want to be able to generate *both* 0 and 360. Hence, we must divide by 2^16 instead of 2^16-1 in order to get the full possible range of distinct values out of the 16 bits of hash)

  118. jonas’

    paul, thanks for the hint, I shall patch it

  119. paul

    make sense, you are welcome for the hint

  120. marmistrz has left

  121. Wojtek has joined

  122. stpeter has joined

  123. marmistrz has joined

  124. belong has left

  125. stpeter has left

  126. belong has joined

  127. x51 has joined

  128. pasdesushi has joined

  129. belong has left

  130. belong has joined

  131. kikuchiyo has left

  132. kikuchiyo has joined

  133. asterix has left

  134. asterix has joined

  135. alex-a-soto has joined

  136. pasdesushi has left

  137. fade123 has joined

  138. pasdesushi has joined

  139. marmistrz has left

  140. pasdesushi has left

  141. mac has joined

  142. esil has joined

  143. mac has left

  144. marmistrz has joined

  145. suohua has left

  146. Stefan has left

  147. stpeter has joined

  148. marc has left

  149. asterix has left

  150. asterix has joined

  151. pulkomandy has left

  152. pulkomandy has joined

  153. pasdesushi has joined

  154. Stefan has joined

  155. pasdesushi has left

  156. marc has joined

  157. marc has left

  158. pulkomandy has left

  159. pulkomandy has joined

  160. Neustradamus has left

  161. lovetox

    a few days ago i asked if there is a client that stores notifications in a way they survive a restart

  162. lovetox

    does someone know such a client? is there any one that thinks this is important for a client?

  163. lovetox

    or can we live with seeing 0 notifications after restart

  164. Kev

    Psi will store unread message counts, if that's what you mean.

  165. lovetox

    yes its a subset of what i mean, but yes thats probably the most important notification

  166. lovetox

    i wonder what i should store, simply a dict like thing like "contact: 10 notifications"

  167. lovetox

    or does the user need to know exactly which 10 messages are unread

  168. lovetox

    i could probably store the stanza or message id

  169. Kev

    Psi stored the messages.

  170. lovetox

    but then it gets much for mucs ect, if i have to store 350 unread messages with message id etc in a public muc

  171. Kev

    Of course, I've not looked at the Psi code for coming up to a decade and a half, so I may be a *smidge* out of date.

  172. lovetox

    yeah maybe i take a look myself

  173. Sam Whited

    Gajim shows me a little unread marker when I start it if that's what you mean? Or do you want it to pop up notifications again for each message?

  174. jonas’

    actually this sounds like "inbox"

  175. lovetox

    yes Sam Whited , i mean exactly that, right now Gajim saves one db row for every unread message but only 1:1

  176. lovetox

    and yes jonas’ its probably that if we talk about syncing this state across clients

  177. lovetox

    but i rather try to think how i can solve this locally

  178. lovetox

    i just wonder if and how this saving of unread messages scales in public mucs

  179. Zash

    lovetox, one row per message? as opposed to one row per chat, with a pointer to the latest message?

  180. Stefan

    Some clients have notification setups. None, mentioned, always. In big public mucs I have just mentioned. I would recommend to do this based on the notification setup.

  181. Stefan

    🤔

  182. Sam Whited

    What Zash said. Although I still don't get what you're asking or what you're trying to do I think.

  183. Stefan has left

  184. Stefan has joined

  185. lovetox

    Sam Whited, you have 1134 messages unread in jdev, your computer does a restart

  186. lovetox

    what do you expect to see when you start it again

  187. jonas’

    lovetox, I think I don’t expect a notification for those, but the unread counter in the UI should be correct.

  188. Sam Whited

    lovetox: the chat marked however you mark unread (maybe it's bold, maybe it has a little icon, an unread number, whatever) and when I open it there's a line dividing the read from the unread and it's at the top of the unread list.

  189. jonas’

    but I *do* expect a notification for messages which arrived between the last focus to gajim and the restart, I think.

  190. Stefan

    1134 unread messages + new as counter. I think conversations does.

  191. Sam Whited

    I wouldn't expect any notifications after restart (assuming you mean some sort of pop up) personally.

  192. SouL has left

  193. SouL has joined

  194. lovetox

    ok so i need to save the counter, and the last message-id, and if you open the chat again, i scroll to that message-id and thats it

  195. jonas’

    Sam Whited, torn on that one, I think no notifications is OK

  196. lovetox

    sorry with notification i mean a bubble with the counter

  197. lovetox

    not a desktop notification

  198. jonas’

    yeah, those need to be correct

  199. Sam Whited

    oh gotcha, yah, I'd show an icon or a counter or something

  200. lovetox

    ok and when you focus the chat, and i scroll to that message, should the counter go to 0?

  201. jonas’

    I personally think there’s no good solution to that. All solutions are terrible / wrong.

  202. jonas’

    I personally think there’s no good solution to *that* specifically. All solutions are terrible / wrong.

  203. lovetox

    i mean i can color all messages in a way so you know they are unread

  204. lovetox

    but when i the point where i mark them read

  205. Sam Whited

    On a desktop client at least I'd expect it to go to zero once I've scrolled to the bottom. That's what Slack does and it seems to work pretty well.

  206. jonas’

    but IME the solutions which allow me to mark as read as easily and painlessly as possible are the least worst

  207. marc has joined

  208. Sam Whited

    Or once I click the "Clear notification" or "Jump to recent messages" or whatever if either of those are a feature you hvae

  209. lovetox

    im in the process of rewriting the whole thing, so thats why i ask

  210. lovetox

    reaching bottom is good i guess

  211. lovetox

    but with that solution i dont need to save all message-ids, only the first unread

  212. lovetox

    and the total count

  213. Sam Whited

    It also depends if you have threads, I think. Those may change things.

  214. lovetox

    no i dont have threads

  215. lovetox

    and i will not

  216. lovetox

    personally i hat them

  217. Sam Whited

    Cool, no need to handle those differently then

  218. marc has left

  219. Sam Whited

    Yah I haven't seen a threading implementation I like. I want them, I like the general idea, I just don't like any of the implementations I've tried. Slack is the least-bad I think, but it's the only one I've used in a long time so I may just be used to the pain.

  220. jonas’

    Sam Whited, out of curiousity, did you try zulip?

  221. jonas’

    (a recent one, they had a major release in 2020)

  222. jonas’

    we had a zulip trial run at $dayjob, and I was pleasantly surprised. threads feel really natural and workable there.

  223. Kev

    Slack's looks ok on the surface, but then you realise that threads are invisible as soon as you don't choose 'share in main channel' or whatever it's called, and you don't see replies, and blah. I agree it's probably the least-bad, mind.

  224. Sam Whited

    jonas’: I think so, but I literally don't remember it. That sounds really familiar though. Definitely didn't try it in 2020, so maybe I'll play with it again

  225. Kev

    My favourite threading implementations are the ones that just allow replies to messages, rather than 'threads'.

  226. Sam Whited

    Kev: I really like that they're invisible actually and that I can get to them from the initial message and from the "Threads" view, I just wish they had a subject to make them more obvious and you could see a list of threads by channel

  227. Kev

    Different use case, I guess.

  228. Sam Whited

    I like it because I end up discussing a feature I'm working on in our team channel, and some front end people end up discussing some front end stuff I don't care about, and neither of us have to get every channel notification, it's just kind of hidden away for people who want that conversation to look at

  229. marc has joined

  230. esil has left

  231. asterix has left

  232. asterix has joined

  233. o2 has left

  234. o2 has joined

  235. marc has left

  236. marc has joined

  237. Guus has joined

  238. Martin has left

  239. asterix has left

  240. asterix has joined

  241. Martin has joined

  242. Martin has left

  243. Martin has joined

  244. asterix has left

  245. asterix has joined

  246. Martin has left

  247. asterix has left

  248. mac has joined

  249. asterix has joined

  250. Martin has joined

  251. mac has left

  252. Guus has left

  253. mac has joined

  254. asterix has left

  255. asterix has joined

  256. pasdesushi has joined

  257. pasdesushi has left

  258. mac has left

  259. mac has joined

  260. Yagizа has left

  261. mac has left

  262. oibalos has left

  263. oibalos has joined

  264. pasdesushi has joined

  265. pasdesushi has left

  266. pasdesushi has joined

  267. pasdesushi has left

  268. pasdesushi has joined

  269. pasdesushi has left

  270. pasdesushi has joined

  271. pasdesushi has left

  272. belong has left

  273. pasdesushi has joined

  274. marc has left

  275. marc has joined

  276. pasdesushi has left

  277. marc has left

  278. marc has joined

  279. marc has left

  280. belong has joined

  281. marc has joined

  282. marc has left

  283. marc has joined

  284. kikuchiyo has left

  285. marc has left

  286. marc has joined

  287. marc has left

  288. marc has joined

  289. marc has left

  290. kikuchiyo has joined

  291. marc has joined

  292. marc has left

  293. belong has left

  294. marc has joined

  295. marc has left

  296. marc has joined

  297. marc has left

  298. marc has joined

  299. marc has left

  300. kikuchiyo has left

  301. marc has joined

  302. marc has left

  303. marc has joined

  304. marc has left

  305. marc has joined

  306. marc has left

  307. marc has joined

  308. belong has joined

  309. jonas’ has left

  310. oibalos has left

  311. oibalos has joined

  312. jonas’ has joined

  313. Wojtek has left

  314. stpeter has left

  315. kikuchiyo has joined

  316. stpeter has joined

  317. debacle has left

  318. debacle has joined

  319. kikuchiyo has left

  320. pasdesushi has joined

  321. pasdesushi has left

  322. kikuchiyo has joined

  323. pasdesushi has joined

  324. kikuchiyo has left

  325. oibalos has left

  326. oibalos has joined

  327. pasdesushi has left

  328. mac has joined

  329. Neustradamus has joined

  330. mac has left

  331. oibalos has left

  332. pasdesushi has joined

  333. serge90 has left

  334. serge90 has joined

  335. pasdesushi has left

  336. wurstsalat has left

  337. oibalos has joined

  338. marc has left

  339. marc has joined

  340. marc has left

  341. marc has joined

  342. marc has left

  343. marc has joined

  344. marc has left

  345. marc has joined

  346. marc has left

  347. marc has joined

  348. marc has left

  349. marc has joined

  350. marc has left

  351. marc has joined

  352. marc has left

  353. marc has joined

  354. x51 has left

  355. marc has left

  356. marc has joined

  357. marc has left

  358. marc has joined

  359. marc has left

  360. marc has joined

  361. marc has left

  362. marc has joined

  363. marc has left

  364. marc has joined

  365. marc has left

  366. marc has joined

  367. marc has left

  368. marc has joined

  369. marc has left

  370. marc has joined

  371. marc has left

  372. marc has joined

  373. marc has left

  374. marc has joined

  375. marc has left

  376. marc has joined

  377. marc has left

  378. marc has joined

  379. Alex has left

  380. Alex has joined

  381. marc has left

  382. marc has joined

  383. marc has left

  384. marc has joined

  385. marc has left

  386. marc has joined

  387. marc has left

  388. marc has joined

  389. marc has left

  390. marc has joined

  391. marc has left

  392. marc has joined

  393. marc has left

  394. marc has joined

  395. marc has left

  396. marc has joined

  397. marc has left

  398. marc has joined

  399. marc has left

  400. marc has joined

  401. marc has left

  402. marc has joined

  403. marc has left

  404. marc has joined

  405. marc has left

  406. marc has joined

  407. marc has left

  408. marc has joined

  409. asterix has left

  410. marc has left

  411. marc has joined

  412. asterix has joined

  413. marc has left

  414. marc has joined

  415. marc has left

  416. marc has joined

  417. marc has left

  418. marc has joined

  419. marc has left

  420. marc has joined

  421. mac has joined

  422. marc has left

  423. marc has joined

  424. marc has left

  425. marc has joined

  426. marc has left

  427. marc has joined

  428. marc has left

  429. marc has joined

  430. marc has left

  431. marc has joined

  432. marc has left

  433. marc has joined

  434. marc has left

  435. marc has joined

  436. marc has left

  437. marc has joined

  438. marc has left

  439. marc has joined

  440. marc has left

  441. marc has joined

  442. marc has left

  443. mac has left

  444. marc has joined

  445. goffi has left

  446. marc has left

  447. marc has joined

  448. marc has left

  449. marc has joined

  450. marc has left

  451. marc has joined

  452. marc has left

  453. marc has joined

  454. marc has left

  455. marc has joined

  456. marc has left

  457. marc has joined

  458. marc has left

  459. marc has joined

  460. marc has left

  461. marc has joined

  462. marc has left

  463. marc has joined

  464. marc has left

  465. marc has joined

  466. marc has left

  467. marc has joined

  468. marc has left

  469. marc has joined

  470. marc has left

  471. suohua has joined

  472. marc has joined

  473. marc has left

  474. marc has joined

  475. oibalos has left