« first day (2747 days earlier)      last day (2193 days later) » 

9:00 AM
its the placeholder, i cant include the other code because of laravel translation engine selector.js and 10000 other scripts
 
ok, no problem in that case
 
its actually really cool im making a pizza delivery website and I currently make the form to submit your menu
 
@Neil use > if you do not want to count in sublists
 
can I get a free pizza?
 
i have 1 problem tho, i dunno how I can fix it rn
@Ikari
well
where you live at -D
 
9:01 AM
@KarelG pfff
 
Mars
 
(that's actually a good point)
 
@Neil I have that unordered list with an input box to enter new categorys, whenever you add a new one it adds an an array with id: incremental id text: thetext and products: [] to an other array
it works jsut fine and the other forms can fill the products array, but I need to order them smh
like I make a category and add products to it, I have bootstrap-select.js so you can just drag and drop the categorys around, which one is first and so on
i somehow need to order that in the array.
 
@AltayAkkus before you add it, find the proper place in the list and insert it there (so it remains "sorted")
or did you want to order it after?
 
it just gets appended. Im thinking of adding an order attribute to the array, like id: 1 text:Pizza and order:2 for second one
then I need to detect if the <li> was moved, and when yes where it has moved..
really complicated lmao
same shit for meals.
 
9:08 AM
@AltayAkkus Well my advice is to clarify before you start coding it :P
ask yourself how to determine order and when to sort
 
I could maybe like in the end read the category ul from first to last, get all products that have that category, but then I need to see which one is first and so on
ye im not that experienced in sorting so..
fuck.
 
ye I will do it like that
I will just have a <ul> with all categorys, then I will have a form to enter new meals, then an overview site, where every single category has an <ul> thats also sortable, then I will write a script that starts from 0 to end at the category ul, gets the ID and Name and stuff, gets the second ul where all the dishes at and adds them into the product array and then pushes it into an final array
after Ive done this i will give myself a massive pat on my shoulders
@Neil do you have an idea how I could add a <ul> dynimically, because it needs some JavaScript after it
like i need to generate a input box and <ul>, but the <ul> needs some javascript attached to it
 
look at document.createElement and Node.appendChild
but really, you should do that at server side.
 
o/
 
9:22 AM
@KarelG it gets even worse with serverside
 
ohhai
 
o/
 
9:35 AM
@KarelG Not necessarily
Ideally the backend only receives entire valid requests. No states or half-way points
 
I am talking about that displaying and sorting
he is not working on a SPA, so ...
 
If he needs to send an ordered array to the server, I'd say you'd be right on that point, as the server should sort, not the one sending
but I think it's a visual issue
 
the server has to do the ordering anyways
why doing it before sending it then ?
but ofc, if you want to display it nicely in UI, then you have to do
but if there is no added value, then do not waste your dev time on that
 
no, in fact lacking other reasons, best to just do it once on the server
 
he replied with
> it gets even worse with serverside
tho
 
9:49 AM
That could mean anything O_O
 
so instead of fixing there he is probably doing it with js
 
I wanna see the server side
 
hey, no voyeurism!
 
you're sicc
 
9:53 AM
@KamilSolecki sorry I missed your ping yesterday
 
@KamilSolecki which side? the front, or the back?
 
I was really tired yesterday and spent the whole evening either napping or dozing off :P
 
you don't work?
 
no?
 
he was "compiling"
 
9:56 AM
@Ikari why?
it was festive?
oh, the evening
 
I'm a high school student =.= 11th grade
 
11th grade?
idk what's that
 
uhh...
Eleventh grade, junior year, or grade 11 (called Year 12 in the UK) is the eleventh, and for some countries final, grade of secondary schools. Students are typically 16–17 years of age, depending on the country and the students' birthdays. == Australia == In Australia, Year Eleven is typically the twelfth year of education and fifth (except South Australia, which it is the fourth) year of high school education. Although there are slight variations between the states, most students in Year Eleven are aged between sixteen and seventeen. Queensland year-eleven students are the youngest in the country...
 
in spain it's 3, 4, 5, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 1, 2
then uni
the first one with 3 years, the last one with 17-18
and each group with a different name
 
@Neil all of them
 
9:58 AM
"parbulario, primaria, secundaria, bachillerato"
actually the first 3 sometimes are called "P3, P4, P5"
 
we have 123456 123 123
oh wait they changed it
So now it's 123456789 123
 
that's only 12 years of school
wtf?
 
Ours are in letters from א to י"ב
 
@MadaraUchiha lol, type them call
 
Gematria (Hebrew: גמטריא‬ גימטריא‬, plural גמטראות‬ or גמטריאות‬, gematriot) originated as an Assyro-Babylonian-Greek system of alphanumeric code or cipher later adopted into Jewish culture that assigns numerical value to a word, name, or phrase in the belief that words or phrases with identical numerical values bare some relation to each other or bare some relation to the number itself as it may apply to Nature, a person's age, the calendar year, or the like. A single word can yield multiple values depending on the system used. Similar systems, some of which were derived from or inspired by Hebrew...
 
It's a hebrew letter representation of numbers 1..12
 
@Neil wew thabnks
 
I have a friend that speaks hebrew
 
sure thing
 
and sings in hebrew
it's so funny
 
10:00 AM
years 2.5 -> 5-6 : kindergarten (1,2,3)
years 5-6 -> 11-12 : elementary school: 123456
years 11-12 -> 17-18 : high school: 12 34 56 with grades: 12 = basic, 34 and 56 are more specialized orientation
after: uni or work
 
@Neoares I'm not your friend, buddy.
 
@MadaraUchiha oh cool, yall have single letter digit representations?
 
@MadaraUchiha I'm not your buddy, pal
and wasn't talking about you :P
 
mhmm I am in doubt
 
@KamilSolecki 1-9 is single letters, 10-90 (whole tens) are single letters and 100-400 (whole hundreds) are single letters
 
10:01 AM
@Neoares I'm not your pal, man
 
grad school or elementary? *opens google*
 
The rest are some combination of letters
 
@KarelG AKA alchemy
 
lol grad school is for academia
 
In י"ב - the י is 10 and ב is 2, so 12
 
10:02 AM
tell me you count in base 12
please
 
@Neoares I wish
 
that'd be awesome
 
Base 12 is bae
 
agree
I wish I had 10 fingers (in base 12)
 
Have you seen the proposal for the better calendar too?
 
10:03 AM
no
 
13 months, 4 weeks each, accounts for 364 days of the year
The final day is new year's day and is between years
 
oh
!!> 28*13
 
Leap years have 2 new years' days
 
@Neoares 364
 
holy fuck
 
10:04 AM
that idea has been proposed for a while
 
a year it's 365.25 days, right?
 
This ensures that, for example, the 4th of each month is always a wednesday
Holidays and vacations always fall on predictable days
 
if it had all the fridays as 13, it would be awesome
 
@Neoares It does
 
@Neoares not really
 
10:04 AM
@MadaraUchiha where do I sign
 
@Neoares And a few milliseconds, yes
The thing with these things is that it's pure legacy, no one ever put the glove down and brought forth a really well thought out solution to this
 
cracks it's arm to sign with blood
 
it is easy to remember: 365.2422
 
(i.e. as a serious suggestion to change stuff as opposed to wishful thinking)
 
damn
@KarelG why easy
 
10:06 AM
so after leap years, there are also years with a second correction at new year's eve
 
@KarelG yup
 
two digits to remember: 2 and 4 and 4 is on 2th place and there are four digits
= 2422
but that will be corrected within 100 years because the earth would move a tad slower
a fraction of a fraction of a fraction actually :P
 
then .2423?
 
@Neoares that far too big a margin
 
"slower"
 
10:08 AM
.2425 if any
 
yeah, if it moves slower, the year has more days
 
yes you are right
 
I wish it was 2445
 
But it's likely to be smaller than that
 
since it's my battletag's number
that'd be truly easy
 
10:08 AM
@Neoares You're saying you're easy?
 
no, but if you ask me, yes I am
 
Gotcha
 
like kendall's mom
 
@MadaraUchiha that would be so cool and also tragic
 
@KamilSolecki Tragic how?
 
10:14 AM
did they propose a name for the new month?
 
"Neoraes"
 
I like their style
OTOH, they fucked up my proposal
> The extra month, called "Sol", appeared between June and July.
> The country of Ethiopia has 13 months, celebrates New Year on September 11th.
Holy fuck
 
did you have heard of the name change of Swaziland? Their king has changed the country name to eSwatini (really) on his 50th birthday
that is a country on the continent Africa, slightly north-east of South-Africa (I think they're neighbors)
 
how can a single person change the name of a country
 
yep, I guess it was named Swaziland for too long anyways
 
10:23 AM
@Neoares He da king
 
@Neoares by being king
but he also complied to public interest on that one
 
Swazizzleland
 
public demand? something like that
 
sounds like a phone brand
 
it has a meaning in their native language
 
10:23 AM
I want eSpain
 
well, it means "Land of the Swazi", in Swazi
Most african (if not all) countries changed their name from the colonial name at some point
eSwatini just didn't do that until now
 
not completely
> "Kingdom of eSwatini", which means "land of the Swazis" in the local language
 
yeah, something along the lines of that
 
"other people always confused us with Switzerland"
heh
 
that would be a weird arrival
 
10:25 AM
That was the other reason I have heard too
had to smirk
 
"Where are my mountains? Where is the Käsefondue? Where the hell am I?"
 
@GNi33 Kilimandjaro is close, no?
 
@GNi33 in der Brousse
florian will understand this faster than you I think
 
@FlorianMargaine I wouldn't say close :D
@KarelG what does it mean?
 
close enough
 
10:30 AM
hehe, I did check, about 3.500 km
or a small hike of about > 700h
 
@GNi33 it is a rather unique word in French, used to talk about the vegetation in Africa.
La brousse est une végétation surtout tropicale, essentiellement composée de formations arbustives et herbacées. Elle se distingue de la savane, qui comprend plutôt des arbres, et de la prairie, dénuée d'espèces ligneuses. Par extension, le terme de brousse désigne en Afrique un espace situé loin des centres urbains et qui a donné son nom au « taxi-brousse ». En français métropolitain, ce sens a fini par s'appliquer péjorativement à toute campagne isolée, ou « bled ». == Étymologie == Le terme de brousse est certainement un emprunt (1876) au provençal « brousso » (brosse) et s'appliquait ...
 
didn't know "bled" came from there
 
hmm... I guess we would use "Savanne" for that. Although that's not exclusive for Africa
 
while we're talking about obscure words, aglet is the name for the little plastic end of shoelaces
 
but usually people talk about Africa when using that word
 
10:32 AM
another neil's random fct of the day
 
@KarelG that sounds so nazi to me
for some reason
 
daily Neil facts, wohooo!
how do I subscribe?
 
you have to wait until tomorrow for the next one though
 
@GNi33 ask for bitcoin address
 
@GNi33 no, savanne is specifically distinct
 
10:34 AM
posted on April 24, 2018 by Mathias Bynens

V8 uses code caching to cache the generated code for frequently-used scripts. Starting with Chrome 66, we are caching more code by generating the cache after top-level execution. This leads to a 20-40% reduction in parse and compilation time during the initial load. Background V8 uses two kinds of code caching to cache generated code to be reused later. The first is the in-memory cache that is

 
@FlorianMargaine hm?
oh man, Brousse means "Busch" translated
yeah, we use(d) that as well, but I didn't hear it being used for some time now
 
@KarelG I should not have clicked that
Now I have a French Wikipedia profile
I don't like the French. They eat snails
 
@GNi33 it is still used here in humorous context. Well ... it is sensible now because of that uprising "that is racism" feeling without applying common sense
mhmm escargots
 
@OliverSalzburg will you not disturb the bromance between France and Germany that we finally got after all that shit in the past?
you will like ze French, I command you!
 
I actually have good French friends. I just wanted to talk about snails
 
10:39 AM
that's fair
 
!!s/nd//
 
@Neoares I actually have good French fries. I just wanted to talk about snails (source)
 
I only eat it when I am in Mediterrean side of France (Azur and midi-pyreenes )
I once was in Bretagne. I regretted to order escargots for my meal
lol the new france provinces confuses me
was going to say provence and ect
 
oh no, why did I google that
 
escargots?
I assume they're snails, since the name it's pretty similar to the catalan one "cargols"
 
10:41 AM
@MadaraUchiha Just imagine one more day of heavy drinking in a row
 
well, obviously
@KamilSolecki I didn't need 2 new years eve days to do that to be honest
 
is there an "else" command for the "switch" instruction?
 
default ?
 
default is executed always
 
not if you break after your case statement
 
10:45 AM
oh
true
 
I now understand why my prof said that switch statement has a higher chance of having bugs than if-elseif-else statement. So he never uses the switch statement
the fall-through thingie is tricky
 
wasn't this a fun story about jslint as well?
where one guy sent Crockford a feature request that there should be an option to report missing breaks. Crockford shrugged it off, as he saw that more of a language feature than a thing that should be reported by Lint.
A little while later, the same guy sent him a bug report about jsLint, and guess where the bug was...
He then added the feature iirc
no idea if any of this is true btw, but I think he told this story in one of his talks at some point
 
@KarelG That is stupid
That's like a carpenter not using a power saw because he's scared he'll cut his fingers off
 
I gotta agree with oliver on this one
 
What's wrong with you people not liking snails/escargots? They are delicious! :P
And yeah, pretty much everyone knows to break in your switch cases
 
10:54 AM
@ThiefMaster They surely are!
 
I identify as a snail obviously
 
snail-kin? I'd rather be an apache combat helicopter!
 
we all like Oliver, thus, by extension, we like snails
that was probably the wrongest proof I've ever said
But shhh
 
Snails eat our plants
i do not like them
 
I need to switch avatars
Maybe this
 
10:59 AM
I've finally gotten myself to downloading more ram
 
that cat looks like you, probably
everytime you get a bluescreen
 
I was getting choky with 8 gigs
 
Mr Meowington and I share similar feelings towards blue screens
We hate them, like most things
 
oh my god I can run so many things simultaneously now
It feels like at home
 
do you want to change your avatar? get an avatar then
or if you are not like him
then use
still not OK?
then I have a perfect candidate for you
 
11:10 AM
unless
you are a woman
then
 
@KarelG This was horrifying
 
was keeping that as last
 
Definitely this one
 
11:15 AM
@Neil omfg, that was gold
 
I would watch that film
actually looks like it could be decent
They did a great job putting that together
 
Getting a downvote face tattoo seems stupid
Kids these days...
 
@OliverSalzburg Troll level: 99
 
Oh my god
For some reason
in my DNS settings
wait who did that
that wasnt me
who changed my DNSes
no wonder my email wasnt working
 
11:26 AM
@KamilSolecki I'm in ur DNS
 
leave
 
*makes like a tree and gets out*
 
@Neil I like johnny english movies more
 
You have bad taste
 
11:39 AM
it is just those silly puns that is more appealing
the Bean movie ... meh. Had some laughing moments but I rather prefer watching the series instead of that
 
^ agreed
 
here it comes
 
does anyone else have issues with paste.ofcode.org ?
 
"In Java everything is a object
In Clojure everything is a list
In Haskell everything is a function
In Javascript everything is a bad mistake"
 
That's why we use CoffeeScript
 
11:50 AM
look at the kid on that chair at the end
 
No. I'm looking at those weird blurred out rectangles
 
ricochet!
 
@OliverSalzburg That's why we use jQuery, geez, get it right
 
@Neil JCoffee EE
 
TypeJCoffeeQuery# EE++ lite
 
11:51 AM
"lite" please
To make clear how light it is
 
even better yea
 
@Wietlol IntelliWHAT?
 
"lite" version, now 20% lighter than "light"
 
Waiting for the "lit" version though. I hear it's dope af
 
@KarelG collateral damage
 
11:55 AM
@KarelG haha collateral damage
 
Isn't CoffeeScript dead?
 
mostly
 
That mapscii thing that was recently starred was made in CoffeeScript
 
@KarelG RIP
 
And because nerds have stopped blogging about it, doesn't mean it's dead
 
11:57 AM
@KamilSolecki IntelliJ isnt lite
 
@Wietlol there is intelliJ, there is intellisense, so your language should have IntelliWAT
 
ah, that Intelli
 
Webstorm sucks. We need IntelliJS
 

« first day (2747 days earlier)      last day (2193 days later) »