Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
esp32_prog has quit [Ping timeout: 255 seconds]
weird_error has joined #ruby
Swyper has quit [Remote host closed the connection]
skryking has quit [Ping timeout: 255 seconds]
Autolycus has joined #ruby
FancyEagle has quit [Quit: Leaving]
skryking has joined #ruby
Nicmavr has joined #ruby
Kestrel-029 has quit [Ping timeout: 245 seconds]
weird_error has quit [Quit: weird_error]
weird_error has joined #ruby
planigan has quit [Ping timeout: 245 seconds]
esp32_prog has joined #ruby
Swyper has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
esp32_prog has quit [Ping timeout: 246 seconds]
Swyper has quit [Remote host closed the connection]
budonyc has joined #ruby
tf2ftw has joined #ruby
weird_error has quit [Quit: weird_error]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conta has quit [Remote host closed the connection]
weird_error has joined #ruby
esp32_prog has joined #ruby
dviola has quit [Quit: WeeChat 2.4]
Swyper has joined #ruby
Kestrel-029 has joined #ruby
Nicmavr has quit [Ping timeout: 245 seconds]
esp32_prog has quit [Ping timeout: 255 seconds]
Swyper has quit [Remote host closed the connection]
m_antis has quit [Ping timeout: 246 seconds]
orbyt_ has joined #ruby
planigan has joined #ruby
weird_error has quit [Quit: weird_error]
esp32_prog has joined #ruby
bjpenn has quit [Ping timeout: 245 seconds]
marz_d`ghostman has joined #ruby
<marz_d`ghostman>
In rails, instead of defining a global variable under initializers/, is there a different mechanism perhaps a constant that I can do so I can initialize once and use it anywhere?
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
esp32_prog has quit [Ping timeout: 246 seconds]
orbyt_ has joined #ruby
edwardly has quit [Quit: ??????????]
dsmythe has quit [Remote host closed the connection]
dsmythe has joined #ruby
esp32_prog has joined #ruby
bambanx has joined #ruby
esp32_prog has quit [Ping timeout: 268 seconds]
sauvin has quit [Ping timeout: 245 seconds]
sauvin has joined #ruby
bjpenn has joined #ruby
bjpenn has quit [Ping timeout: 255 seconds]
gix has quit [Ping timeout: 244 seconds]
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
esp32_prog has joined #ruby
SeepingN has joined #ruby
esp32_prog has quit [Ping timeout: 268 seconds]
al2o3-cr has quit [Quit: If the universe is a machine where the future is uniquely determined by its present state, it would not be possible to calculate what the future will be.]
budonyc has quit [Quit: Leaving]
Nicmavr has joined #ruby
Kestrel-029 has quit [Ping timeout: 245 seconds]
al2o3-cr has joined #ruby
<al2o3-cr>
marz_d`ghostman: you might be better off asking in the rails channel.
esrse has joined #ruby
<al2o3-cr>
&>> n = 2130706433; [n].pack('N').bytes
meinside has quit [Quit: Connection closed for inactivity]
haxx0r has joined #ruby
Autolycus has quit [Quit: Connection closed for inactivity]
tf2ftw has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
tf2ftw has joined #ruby
dsmythe has quit [Remote host closed the connection]
dsmythe_ has joined #ruby
AJA4350 has quit [Quit: AJA4350]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
buckworst has joined #ruby
braincrash has quit [Quit: bye bye]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
braincrash has joined #ruby
bikes has joined #ruby
spiette has quit [Ping timeout: 268 seconds]
spiette has joined #ruby
Fusl has quit [Remote host closed the connection]
Fusl has joined #ruby
_whitelogger has joined #ruby
bjpenn has joined #ruby
bikes has quit [Ping timeout: 268 seconds]
esp32_prog has joined #ruby
bjpenn has quit [Ping timeout: 268 seconds]
esp32_prog has quit [Ping timeout: 246 seconds]
john_ has joined #ruby
<john_>
hi
<john_>
hi
bikes has joined #ruby
<john_>
anyone here experienced with pfctl?
orbyt_ has joined #ruby
<john_>
i used to like it more than iptables until i started trying to do split tunneling wtih it, now i hate it
esp32_prog has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
esp32_prog has quit [Ping timeout: 255 seconds]
bikes has quit [Ping timeout: 252 seconds]
dsmythe has joined #ruby
dsmythe_ has quit [Ping timeout: 258 seconds]
houhoulis has quit [Remote host closed the connection]
john_ has quit [Ping timeout: 255 seconds]
dsmythe has quit [Quit: Leaving...]
wald0 has quit [Quit: Lost terminal]
sleetdrop has joined #ruby
kyrylo has joined #ruby
bikes has joined #ruby
Kestrel-029 has joined #ruby
Nicmavr has quit [Ping timeout: 245 seconds]
dellavg_ has joined #ruby
Shikichiro has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
bikes has quit [Ping timeout: 245 seconds]
m27frogy has quit [Ping timeout: 255 seconds]
bga57 has quit [Quit: Leaving.]
FancyEagle has joined #ruby
bga57 has joined #ruby
Nicmavr has joined #ruby
Kestrel-029 has quit [Ping timeout: 245 seconds]
buckworst has quit [Quit: Connection closed for inactivity]
buckworst has joined #ruby
m27frogy has joined #ruby
conta has joined #ruby
bambanx has quit [Quit: Leaving]
bjpenn has joined #ruby
zacts has joined #ruby
Swyper has joined #ruby
bjpenn has quit [Ping timeout: 258 seconds]
fphilipe has joined #ruby
bjpenn has joined #ruby
sauvin has quit [Ping timeout: 258 seconds]
sauvin has joined #ruby
zacts has quit [Quit: WeeChat 2.4]
slackmare has joined #ruby
conta has quit [Quit: conta]
conta has joined #ruby
zacts has joined #ruby
Nicmavr has quit [Ping timeout: 245 seconds]
Nicmavr has joined #ruby
fphilipe has quit [Ping timeout: 250 seconds]
fphilipe has joined #ruby
TomyWork has joined #ruby
coffeejunk has quit [Read error: Connection reset by peer]
pitastrudl has quit [Read error: Connection reset by peer]
uranoss has quit [Read error: Connection reset by peer]
podman has quit [Read error: Connection reset by peer]
coffeejunk has joined #ruby
pitastrudl has joined #ruby
aqib has joined #ruby
podman has joined #ruby
WA9ACE has quit [Read error: Connection reset by peer]
uranoss has joined #ruby
gmcintire has quit [Read error: Connection reset by peer]
mostlybadfly has quit [Write error: Connection reset by peer]
Lewix has quit [Read error: Connection reset by peer]
WA9ACE has joined #ruby
pwillard has quit [Ping timeout: 258 seconds]
Liothen has quit [Ping timeout: 258 seconds]
Sina has quit [Read error: Connection reset by peer]
rann has quit [Read error: Connection reset by peer]
hahuang65 has quit [Write error: Connection reset by peer]
chromis has quit [Write error: Connection reset by peer]
darthThorik has quit [Read error: Connection reset by peer]
Lewix has joined #ruby
<aqib>
hi this is aqib . im new on this channel
gmcintire has joined #ruby
discopatrick has quit [Write error: Connection reset by peer]
jhill has quit [Read error: Connection reset by peer]
jetpack_joe has quit [Write error: Connection reset by peer]
Sina has joined #ruby
jnix has quit [Read error: Connection reset by peer]
manveru has quit [Read error: Connection reset by peer]
ec has quit [Read error: Connection reset by peer]
timeless has quit [Read error: Connection reset by peer]
chromis has joined #ruby
hahuang65 has joined #ruby
darthThorik has joined #ruby
Liothen has joined #ruby
jetpack_joe has joined #ruby
pwillard has joined #ruby
mostlybadfly has joined #ruby
jnix has joined #ruby
rann has joined #ruby
manveru has joined #ruby
jhill has joined #ruby
discopatrick has joined #ruby
ec has joined #ruby
timeless has joined #ruby
lele has quit [Ping timeout: 258 seconds]
kashike has quit [Ping timeout: 258 seconds]
sariyar has quit [Ping timeout: 258 seconds]
aqib has quit [Client Quit]
lele has joined #ruby
zacts has quit [Quit: WeeChat 2.4]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sariyar has joined #ruby
Kestrel-029 has joined #ruby
Nicmavr has quit [Ping timeout: 245 seconds]
kashike has joined #ruby
aupadhye has joined #ruby
fphilipe has quit [Ping timeout: 264 seconds]
fphilipe has joined #ruby
andikr has joined #ruby
FancyEagle has quit [Quit: Leaving]
octos has quit [Remote host closed the connection]
octos has joined #ruby
andikr has quit [Client Quit]
galeido has joined #ruby
Swyper has quit [Remote host closed the connection]
Nicmavr has joined #ruby
Kestrel-029 has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 255 seconds]
BH23 has joined #ruby
andikr has joined #ruby
Kestrel-029 has joined #ruby
Nicmavr has quit [Ping timeout: 245 seconds]
<al2o3-cr>
is Random.urandom as cryptically secure as SecureRandom.bytes?
vondruch has quit [Quit: vondruch]
zacts has joined #ruby
buckworst has quit [Quit: Connection closed for inactivity]
tdy has quit [Ping timeout: 258 seconds]
kyrylo has joined #ruby
jefffrails35 has joined #ruby
andikr has quit [Ping timeout: 258 seconds]
andikr has joined #ruby
s2013 has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andikr has quit [Ping timeout: 248 seconds]
jenrzzz has joined #ruby
BH23 has quit [Ping timeout: 258 seconds]
sleetdrop has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 258 seconds]
lxsameer has joined #ruby
zacts has quit [Quit: WeeChat 2.4]
schneider has joined #ruby
andikr has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
schneider has quit [Client Quit]
deepredsky has joined #ruby
andikr has quit [Ping timeout: 258 seconds]
esp32_prog has joined #ruby
bjpenn has quit [Ping timeout: 258 seconds]
schneider has joined #ruby
TomyLobo2 has joined #ruby
TomyLobo2 has quit [Client Quit]
ljarvis has quit [Ping timeout: 246 seconds]
ljarvis_ has joined #ruby
Jonopoly_ has joined #ruby
gingitsune has joined #ruby
Jonopoly_ is now known as Jonopoly
andikr has joined #ruby
vondruch has joined #ruby
bjpenn has joined #ruby
Kestrel-029 has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
Nicmavr has joined #ruby
obiwahn has quit [Quit: WeeChat 2.0-dev]
Freshnuts has quit [Quit: Leaving]
ellcs has joined #ruby
gingitsune has quit [Ping timeout: 256 seconds]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
BH23 has joined #ruby
teclator has joined #ruby
aupadhye has quit [Ping timeout: 255 seconds]
andikr has quit [Quit: No Ping reply in 180 seconds.]
jenrzzz has quit [Ping timeout: 255 seconds]
andikr has joined #ruby
planigan has quit [Ping timeout: 252 seconds]
livcd has joined #ruby
planigan has joined #ruby
aupadhye has joined #ruby
xco has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
BH23 has quit [Ping timeout: 258 seconds]
BH23 has joined #ruby
conta has quit [Quit: conta]
conta has joined #ruby
slackmare has quit [Quit: leaving]
marz_d`ghostman has quit [Quit: Page closed]
sagax has quit [Quit: Konversation terminated!]
sagax has joined #ruby
fub has joined #ruby
jenrzzz has joined #ruby
<fub>
Hi. I need to update some jekyll project of a friend. After installing everything with "bundle install", a "buzndle exec jekyll serve" fails because "Could not find commonmarker-0.17.13 in any of the sources".
<fub>
However, I can see in the bundle install output that "Installing commonmarker 0.17.13 with native extensions" is executed.
RiPuk has quit [Ping timeout: 246 seconds]
ShalokShalom has joined #ruby
<ShalokShalom>
hi there
<ShalokShalom>
can I use pure, side-effect free methods in Ruby?
<ShalokShalom>
thanks
<ytti>
yes
<ytti>
all methods are idempotent which do only has local state and receive arguments which they do not modify and return value
<ytti>
it's not a language feature, in that no language forbids idempotent functions and methods
<ytti>
but some languages may enforce them
<ytti>
i would say that idempotent code is not necessarily idiomatic ruby
<ShalokShalom>
thanks
<ShalokShalom>
how can I distinguish?
<ytti>
if method is idempotent or not?
<ShalokShalom>
so, how can I see which Ruby method is, yes
<ytti>
that is broad question, broader than i have time to answer in meaningful way other than you need to have sufficient competency as developer
<ShalokShalom>
since I figured out that functions in Elm look exactly like Methods in Ruby, just without def and end
<ShalokShalom>
so, can I enforce them?
<ShalokShalom>
pure methods
<ytti>
the original answer sets the constrains you have to test cognitively if it meets those constrains
<ytti>
you don't enforce
<ShalokShalom>
ok
<ShalokShalom>
sad
<ytti>
perhaps you could write static analyser which enforces and checks, unsure if that is possible
<ShalokShalom>
:((
<ShalokShalom>
this is sad
<ShalokShalom>
is there a library?
<ytti>
i don't know
<ShalokShalom>
i googled, found not
<ShalokShalom>
ok, thanks
<ShalokShalom>
thats super sad
<ytti>
people who put value in this type of things usually choose pure functional langauges
<ShalokShalom>
so Ruby dont know when its pure and when not?
<ytti>
it won't
<ShalokShalom>
wow
<ytti>
almost no language knows
BH23 has quit [Ping timeout: 257 seconds]
<ShalokShalom>
All languages know which I know
<ytti>
it's very atypical for langauge to enforce this by design
<ytti>
such as?
<ytti>
c doesnt
<ShalokShalom>
Ruby looks neat, so I like to try it out
<ytti>
java doesn't
<ytti>
python doesnt
<ytti>
c++ doesnt
<ShalokShalom>
I know only declarative languages
<ytti>
php doesnt
<ytti>
perl doesnt
<ytti>
which langauges are you talking about?
<ShalokShalom>
OCaml, F# and Elm
<ShalokShalom>
all functional based languages
<ytti>
aya, if you are comfortable with ocaml probably everything else will feel inelegant
<ShalokShalom>
I think even Javascript can do so?
<ShalokShalom>
I see...
<ytti>
javascript won't know if function is idempotent
<ShalokShalom>
Ruby looks nice until
<ytti>
perhaps look at elixir or haskell
<ytti>
at any rate stay in functional languages, rather than OO
<ShalokShalom>
Functions are pure in JS
<ShalokShalom>
Elchemy compiles into Elixir
<ShalokShalom>
So I can simply compile my Elm code into it
<havenwood>
dretnx: See Falcon for an example of putting these primitives together into a web server: https://github.com/socketry/falcon
<havenwood>
dretnx: We could probably give you better answers if you say more about the perspective you're looking from. Are you doing IO? Computation?
<dretnx>
havenwood: I'm considering switching from node.js to async ruby, because i'm bored with node
<havenwood>
dretnx: For web?
<dretnx>
havenwood: yes
<jhass>
bored? Looking for an adventure? Try Crystal!
* jhass
hides
<brool>
crystal meth?
<jhass>
it has methods...
<brool>
[googling intensifies]
<brool>
aah, furry porn
<jhass>
I don't know how...
<havenwood>
dretnx: Ruby is a lot of fun, give it a try! (Crystal too.)