IRC Logs for #crux Monday, 2018-07-02

*** tilman_ has joined #crux01:03
*** Stealth has quit IRC02:14
*** Stealth has joined #crux02:20
*** _________mavric6 has quit IRC02:30
*** _________mavric6 has joined #crux02:32
*** abenz has joined #crux02:47
*** abenz has quit IRC03:08
*** xcko has joined #crux03:39
*** abenz has joined #crux03:53
*** smolboye has joined #crux04:13
*** abenz has quit IRC04:46
*** abenz has joined #crux04:59
*** emmett1 has joined #crux05:04
*** wuyin has joined #crux05:50
*** pekka20 has quit IRC06:55
*** pekka20 has joined #crux06:57
*** brian|lfs has quit IRC07:00
*** emmett1 has quit IRC07:00
*** SiFuh has joined #crux07:39
*** SiFuh_ has quit IRC07:41
*** workodera has joined #crux07:42
*** abenz has quit IRC08:01
*** abenz has joined #crux08:36
*** emmett1 has joined #crux09:30
*** emmett1 has quit IRC10:03
*** abenz has quit IRC10:06
*** john_cephalopoda has joined #crux10:12
*** abenz has joined #crux11:50
*** SiFuh has quit IRC11:55
*** SiFuh has joined #crux11:55
*** smolboye has quit IRC12:06
*** abenz has quit IRC12:08
*** smolboye has joined #crux12:14
*** john_cephalopoda has quit IRC12:19
*** john_cephalopoda has joined #crux12:20
*** abenz has joined #crux12:37
*** mutin-s has quit IRC12:46
*** mutin-s has joined #crux12:46
*** abenz has quit IRC13:33
Anselmois there work being done on crux-arm to update to 3.4  ?14:30
pedjawell, that was fun https://makefrontendshitagain.party/14:34
*** SiFuh has quit IRC14:34
*** SiFuh has joined #crux14:34
pedjaAnselmo, that's a question for #crux-arm, really :)14:35
pedjaI am sure pitillo would appreciate any help14:35
Anselmoahaha14:36
cruxbot[opt.git/3.4]: hpcups: update to 3.18.614:39
cruxbot[opt.git/3.4]: popt: new source URL14:39
workoderahttps://www.cameronsworld.net/ pedja14:43
*** smolboye has quit IRC14:43
cruxbot[opt.git/3.4]: [notify] libgudev: new dependency gobject-introspection14:45
pedjaworkodera, nice :) for geocities...goodness... check out http://blog.geocities.institute/14:51
workoderahehe cool14:52
*** smolboye has joined #crux14:53
pedjahttp://owac.de/ is pretty cool, too. pro tip: set the speaker volume down before entering some of it :)14:54
pedjathe evolution of Web over the years is fascinating15:01
pedjafrom eye-sore, chaotic, personal to slick and (mostly) soulless and corporate15:03
ryuopedja: i was like, MY EYES, when i saw that.15:15
pedja:)15:17
*** abenz has joined #crux15:22
pedjaspeaking of web development, this series of articles covers the latest shiny, I guess https://levelup.gitconnected.com/the-non-developers-guide-to-development-in-2018-7f023a2ff5e115:22
john_cephalopodaA list of the important languages used in web development in 2018 and what is important to learn to become a web developer.15:23
john_cephalopodaHTML. CSS.15:24
john_cephalopodaC maybe.15:24
john_cephalopoda"You want to display HTML? Make sure to use node.js!"15:25
Anselmoho gosh humans15:25
john_cephalopodahttps://thecutecuttlefish.org/ <-- Here. Just HTML and CSS. No JS, no google spyware, no measurement pixels. And it still looks clean.15:26
pedjathat's a personal site.15:26
john_cephalopodaYes. That's my personal site.15:27
pedjaweb development, in the context of those articles, is for corporate or whatever ones15:27
john_cephalopodaIt looks modern but isn't a glob of scripts and stuff.15:27
john_cephalopodaPah, as if corporations need that shit.15:28
john_cephalopodaI have seen websites that present 5 sentences and use 3 screen pages for that, which have oversized background images and incredibly annoying scrolling animations.15:28
pedjathey 'need' for their sites to be as modern/slick/buzzword-compliant as their competition ones15:29
john_cephalopodahttps://mmonit.com/monit/ <-- This thing is over 11 screen pages on my screen.15:30
john_cephalopodaAll it says is "Monit is a monitoring tool that is pretty dependable. Here are links to community, docs and other interesting things:"15:31
john_cephalopodaNow compare that with an other open-source project that does it in one page like https://pioneerspacesim.net/15:32
john_cephalopodaOne look and you see what it is about and what it looks like. No scrolling needed. Top bar has all the links to community, docs (wiki) etc.15:32
pedjaif you're curious what sites use, there is a Wapalazyer extension for Chrome (maybe Firefox, too)15:33
*** workodera has quit IRC15:36
john_cephalopodaHeh, crux uses PHP, apache, OpenSSL and UNIX.15:37
john_cephalopodaMy website system can't be identified.15:37
pedjawhich of those two landing pages is more likely to attract some sweet VC money, you think?15:38
john_cephalopodaI guess VCs always press the "fund" button by accident when they lean over the desk to vomit into the trash bin after seeing a website :รพ15:40
*** abenz has quit IRC15:46
AnselmoI knew a person with a quite nice stereotypical hip modern looking website who didnt get any VC. ..15:48
Anselmohe even had a working product15:48
john_cephalopodaIf you look at companies that actually make money, you'll find that their websites often look pretty bad.15:53
john_cephalopoda"Bad" in the sense of "90s"15:53
Anselmowell, I mean,15:57
Anselmoit obviously depends15:57
john_cephalopodaThe website of SAP looks very plain.16:07
john_cephalopodaAh, damn that was only the cookie capture portal.16:08
*** onodera has joined #crux17:19
*** aposmontier has joined #crux17:22
onoderaanyone here who likes go?19:02
joacimheard about it, and watch the guy with the glasses talk about it19:02
joacimdoes that count?19:02
ryuoI once tried it but didn't really like it. Why?19:03
onoderaim creating a library to build and interact with go ports19:04
onoderaand I'm have to make a data structure decision and wonder what people would prefer19:05
ryuoGreat. That can be our "goto" solution. :D19:05
ryuoGo on.19:05
ryuoMaybe some general advice would help you?19:05
onoderahttps://hastebin.com/raw/lawawebure19:08
ryuoWhy not a struct that holds both?19:09
ryuoEvery file will have a perm.19:09
ryuoand a path.19:10
ryuoRegardless.19:10
ryuoonodera: i think you're prematurely optimizing... you can get pretty good lookup speeds regardless if you use a sorted array.19:11
ryuobut it's your choice.19:12
onoderaI'm not doing this for speed19:12
onoderajust for ease of use19:12
ryuoOk..19:12
onoderaso no map?19:12
onoderaanyways a strcut is a good idea19:12
ryuoi generally avoid hash tables unless i'm pretty certain it's the best choice.19:12
onoderawhy didn't I think of that hehe19:12
ryuothey're more wasteful than a regular array...19:13
ryuoiteration is likely to be a common process that users will use.19:14
onoderahast tables?19:14
ryuohash tables, that's what a map is.19:14
onoderaor structs?19:14
onoderaalright19:14
ryuoand... hash tables are naturally unordered.19:14
ryuoso. they won't be in any predictable order.19:14
onoderayeah, the unordered thing is what made me reconsider using a map lol19:15
ryuomy motto is, if in doubt, use an array. you can sort it if you must.19:15
ryuoThat optimizes binary search.19:15
ryuoAnd... generally more flexible than a hash table.19:16
ryuohash tables make the most sense when lookups are your #1 operation.19:16
onoderathe thing I didn't like a about my second solution (in the pastebin), is that you can't use _, v := range, because you have two arrays you need to use the index19:17
ryuoonodera: it's hard to do things elegantly in Go...19:24
ryuothe language isn't very extensible.19:24
onoderayeah that's what I like about it though19:24
jaegerI'm using a binary search tree for my pkgutils style stuff... not the best choice 100% of the time but easy to use and quick19:45
jaeger(just commenting due to data structure talk, not using go for it)19:45
jaegerI think I may expand its use a bit... currently it's designed specifically to hold the struct for a package but I can already see some use for it elsewhere... for example, when listing files in a package .tar.gz - libarchive sorts the file entries by their position in the archive rather than by string value19:51
jaegerSo I could trivially use the BST structure to sort those19:51
jaegerA dynamic array would be easy, too, but would need to be sorted either during creation or after, before displaying the results19:52
jaegerI'm certianly not an expert programmer, though, so there are probably better ways to do things19:56
*** smolboye has quit IRC20:23
*** onodera has quit IRC21:10
ryuojaeger: i used sorted arrays when i only instantiate the data once or update seldomly.22:34
ryuothey're a simple DS, hard to get wrong.22:34
ryuoBSTs though are more difficult.22:34
ryuoThey're fine, but i don't like using them unless they're appropriate.22:35
*** TheCephalopod has joined #crux23:21
*** john_cephalopoda has quit IRC23:25
*** TheCephalopod has quit IRC23:34
*** abenz has joined #crux23:59

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!