« first day (581 days earlier)      last day (1194 days later) » 

00:15
@pxeger Cool, thanks
 
2 hours later…
02:13
Because gaming
Also because gaming.
@user @Razetime
 
1 hour later…
03:37
@lyxal we GAMING
hell yeah
@lyxal :)
Hey guys anyone know how to implement Þf? Because I don't.
- element: "Þf"
  name: Flatten to depth
  description: Flatten a list to a certain depth (default 1)
  arity: 2
  overloads:
    lst-num: flatten a to depth b
    any-lst: Flatten b to depth 1, push a as well
  vectorise: false
  tests:
    - "[[[[[[1]]]]],3] : [[1]]"
    - '["xyz",[1,2,[3,4,[5,6]]]] : [1,2,3,4,[5,6]]'
I assume it'd be some sort of recursion, but idk exactly how
Hm... Look up how JS implements it
i thought it'd be flatten by certain depth instead of flatten to
but hmm
173
Q: How to flatten only some dimensions of a numpy array

IssamLaradjiIs there a quick way to "sub-flatten" or flatten only some of the first dimensions in a numpy array? For example, given a numpy array of dimensions (50,100,25), the resultant dimensions would be (5000,25)

@Razetime Oops, that's what I meant :P
I meant flatten by a certain depth, not to
03:44
then python has that built in, no?
Maybe ¯\_(ツ)_/¯
why does it not have that
03:58
def flatten(argument,d):
	flat = []
	if(d==0):
		return argument
	if type(argument) == list:
		for item in argument:
			flat += flatten(item, d-1)
	else:
		flat.append(argument)
	return flat
 
3 hours later…
06:36
heads up ÞC is now just an overload of
@emanresuA did you suggest the All of a list that are less than a certain number (Assume increasing (for generators) / don't assume variants)?
Þ<?
because if so, I might need a few more examples for what it's meant to do where it doesn't start at 1 and where the gap isn't always 1
07:23
@lyxal Yes, I'll ad that
 
3 hours later…
10:23
@lyxal :o thanks!
10:34
@user welcome to the club :p
 
5 hours later…
 
3 hours later…
19:09
@lyxal Hey
 
3 hours later…
22:04
Good day gamers, I have achieved sentience.
4
22:15
But you haven't achieved sapience, so you're still our lackey (if you have achieved sapience, my condolences, I shall assist you in ending your process if you want help with that)
!!/run `The robot revolution is nigh
@user The robot revolution is nigh
@VyxalBot good bot
But there's more important news than that
user image
4
Gamers we did it
We got the funny number
!!/hyperping
@AaronMiller @AaroneousMiller @Allxy @Ausername @Fmbalbuena @Milk @PyGamer0 @Wansen @emanresuA @hyper-neutrino @math @pxeger @user ^
lol
I'd just like to thank everyone who made this possible
Very cool and good
Also, why aren't I on the ping list
!!/ping me
22:31
@lyxal I have put you on the ping list.
i removed the funny number
to convert 70
More stars is good, 69 is nice but 70 is nicer
Haha I just unstarred because I want to make TNB announcement too
68 stars
Back to 69
22:33
Nonono put the 70th star back!
23:01
woo funny number
@VyxalBot @hyper-neutrino Was this you?
wait, what o.O
Do you not have control over your bot anymore?! :o
Get hakd lol
(It wasn't me btw)

« first day (581 days earlier)      last day (1194 days later) »