« first day (3511 days earlier)      last day (1660 days later) » 

00:47
<If>
    <condition><isGreaterThan><x/><y/></isGreaterThan></condition>
    <x><plus><x/><arg>1</arg></plus></x>
</If>
if(x > y){
    x = x + 1;
}
Are you loving HiAPL yet?
01:01
Any idea of libraries or projects similar to LuaBridge but for JavaScript? I really need to integrate JavaScript with C++.
@ReluctantProgrammer Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
01:27
posted on May 27, 2020 by Ben Mason

Hi, everyone! We've just released Chrome 83 (83.0.4103.83) for Android: it'll become available on Google Play over the next few weeks. This release includes stability and performance improvements. You can see a full list of the changes in the Git log. If you find a new issue, please let us know by filing a bug. Ben Mason Google Chrome

 
3 hours later…
04:31
0
Q: Send Thermal Printing command from browser

ArtoftrollHow can I send print command directly from browser to thermal printer? Related Question : Executing a command from the web browser I've acknowledge about RocketShipIt™ Print Server, however I need more detail on how to configure the config.json as i encounter the error "blocked by CORS policy" ...

 
4 hours later…
08:42
@JBis What the heck is that? JS and HTML having a child? Im assuming thats just a lexer or some other form of interpreter?
09:03
Thats a strange system.

What happens when you want to make a variable name the same as "log"
Seems like theres a lot less flexability in variables with that right?
It looks cool, I like it, but Im confused on some portions of it
 
3 hours later…
11:41
Cheers
I once developed a JS parser that added functional logic and iteration to HTML. It wasn't this "special" looking...
`Color is <if condition="true"> <span color=blue>blue</span> </if> <else> black </else>!
Oh god, this GIF is so true it hurts... yesterday I spent like 4 hours looking at transforming our project into TS and then fitting everything in the build chain. So now, you open Visual Studio, which has some task runner addon, which picks up the fact that the project has Gulp and kicks off a task, that task then kicks off a watch, the watch looks for changes in the TS files and kicks off Webpack, then webpack tries to minify the output but also produce source maps.
`I love you <script inline="true"> Number.parseInt(Math.random() * 10) + 1 </script> times
`<for end="users.length" start="0"> This is @<script inline="true">user[???]</script> </br> </script>
Coding on mobile phone gang
@VLAZ Lol, what was the project meant to do?
If I told you, I'd have to kill you.
Just joking.
Lol
It's a pilot for a larger structure of related front-ends. This one is showing a tree of nodes (representing an organisation) and allowing you to modify it. In the future, it's supposed to be the template for a bunch of other projects.
11:52
As long as it wasn't a to-do list (omg was it a todo list?!)
xD my dissertation was a ToDo list.
Well, part of it, at least.
@VLAZ Sounds like an online portfolio but with company projects
It was a personal organiser and and threw in several tools, of them a todo, a shopping list, and few other minor ones.
My man was lucky enough to get good with todo list for his dissertation, here in my area they asking us to implement chatbots... xd
The work project is...not exactly clear. We'd be integrating a bunch of services into one front end but I'm not sure anybody knows what those services would be.
The crux of my dissertation was actually implementing REST services. I had a backend and two frontend - one web and one Android one. Both were using the same API. But yeah, rather simplistic, over all. Other people were doing simulations with robot swarms or 3D mapping of terrain using vehicle cameras.
Really awesome projects.
Mine was just meh.
12:01
Meh, I'd take the simple projects anyday for a dissertation
Leave the more complex stuff for personal use (unless you wanna add it to your CV?)
One person I studied with did end up doing an app engine for cross-platform development. Or something like that - he was spinning up a Ruby on Rails backend on the phone then connecting to it via a client on the same phone. This allowed for portable apps as long as you made them in HTML+JS, as they worked on any phone. I think that got him a mobile app dev job.
I don't really think his project was used but he did have a solid grasp on different platforms in the end, as well as RoR. However, as far as I'm aware, most people didn't really list their dissertations in their CV. Not after they got real jobs, anyway.
@Lapys did you ever get to do more things with chatbots after Uni?
12:19
No, lol. Not really, it was honestly just a patchwork of documents and figuring out how to integrate things together.
It was a mess
XD
As many university projects are :P I don't really want to look at mine. I don't think I can, either - I had the code at one point but I don't think I do any more.
 
2 hours later…
13:59
Does anyone know what kind of event listeners should be implemented for a social media application like Facebook?
I need to generate ideas for cloud functions
14:41
	let old = {};
	function updateUI( object ) {

		if(old !== object){
			console.log("MOVED", object);
		}
		old = object;
}
hi there!
why the hell is object everytime the same like old? is old = object; doing a refrence to the object???
I am changing the object outside of the function, and old !== object is never true
probably because it is the old.
two objects are never equal to each other, unless they're literally the same object.
a === a
15:05
oh really???
@KevinB how can I achieve this behaviour I want?
it only should make a log if the object changed since last time
if they're two different objects, you'll have to compare them
@KevinB means each field of them?
the value of each field?
	let old = {};
	function updateUI( object ) {

		if(!(old === object)){
			console.log("MOVED", object);
		}
		for(var k in object) old[k]=object[k];
 }
@Suisse Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. You have 25 seconds to edit and format your message properly before it will be removed. Please separate code blocks from your actual question. Put your question in 1 message and then your code in a 2nd and format it.
yeah, just look for it online
plenty of guides for comparing objects.
kevin look
I did a copy of each fields
but still.. its not doing
15:43
I was solving " Remove Duplicates from Sorted Array" challenge on leetcode. I ran my solution on Google dev tools and leetcode console? Why it says the solution is wrong though there is no such a problem with google console? the latter says my solution was wrong. What is wrong with the leetcode console. Below is the image.
I think I got it, it is because I didn't fulfil 1 condition.
Hi all.Can anybody help me to solve my issue regarding nodejs?
16:00
@user36339 For an extra challenge, how 'bout not using an extra array to remove duplicates?
@Lapys Yes! I meant that, I didn't fulfil that condition. I am working on it.
16:23
@MisterSirCode yeah still working on this
16:49
How's this?

```
array = new Array(20).fill().map(x => Number.parseInt(Math.random() * 10)).sort();

Array.prototype.distinctify = function distinctify() {
var array = this;
var length = array.length;

// Only works for integers.
function swap(indexA, indexB) { array[indexA] ^= array[indexB]; array[indexB] ^= array[indexA]; array[indexA] ^= array[indexB] }

for (var iterator = length; --iterator; ) {
// Sort the array to take advantage of the condition to check for duplicates
if (array[iterator - 1] > array[iterator]) {
Check it out in your browser's dev tools or any JS interpreter
Feel free to ask me on any questions as well :P
@JBis Still working on HiAPL?
What do you think of these code snippets then?

`Color is <if condition="true"> <span color=blue>blue</span> </if> <else> black </else>!`

`I love you <script inline="true"> Number.parseInt(Math.random() * 10) + 1 </script> times`

`<for end="users.length" start="0"> This is @<script inline="true">user[???]</script> </br> </script>`
'cus I remember I tried to make a JS parser that read HTML and made it somewhat dynamic and like a programming language
but gave up on it because my JS knowledge was "basic" at the time
@JBis Wanna get your opinion to see what you make of it all
lol reminds me of php
Can anybody solve this for me?stackoverflow.com/q/62043618/12500647
17:05
@user36339 Gotten something for you ☺️
@JBis Why work on HiAPL though? Or it's all for fun and there's no other reason?
fun
learn how to make a lang
17:18
Ah, good luck on that one. If you're doing anything in the project that requires optimized/ optimizing algorithms, lemme know :)
Hello @room! I hope, it's okay to write a tech suggestion question here.

I'm an experienced full-stack developer with experience in TS/JS — especially React — as well as .NET. I've done very little mobile development (and that was years ago). What is the front-end technology/ies I should be looking at if I wanted to build a mobile+web app, ideally from a single code base?

The app will have a quite a bit of non-form graphic UI. E.g. there will be a map the user can edit, and some visualization of the map transforming over time (with 3D models, probably). Not a game, however, so the perform
@IgorSoloydenko Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
@IgorSoloydenko must the mobile app be native?
If not then just do a web view in the mobile app
Hello all.Can anyone help me regarding this issue.stackoverflow.com/q/62043618/12500647
@JBis No need in native, I think. But I doubt that the web view will work good enough. Honestly, I don't have a clear criteria to answer this important question
17:28
I don't see why not. WebGL is powerful.
Hey all, anyone familiar with apache in here?
@JBis so. What I hear, React + WebGL for visualization? Is that the suggestion? Thanks!
yeah that would probably work
17:47
I have written an algorithm for "Remove Duplicates from Sorted Array" challenge on leetcode. I ran the code on google dev tools and nothing was wrong. But leetcode says it is. Can somebody point out why is it so? Is it because I didn't fulfil the condition "you must do this by modifying the input array in-place with O(1) extra memory."? I haven't learnt big O notation yet, if so. Below is the code and screenshot:
var removeDuplicates = function(nums) {
    for (let a of nums){
        if (nums[nums.indexOf(a)] ==  nums[nums.lastIndexOf(a)] && nums.indexOf(a) !== nums.lastIndexOf(a)) {
user13532543
18:07
i have a question of discord.js
```js
if(message.content.includes('discord.gift') || message.content.includes('discordapp.com/gifts/')) {

var Nitro = /(discord\.(gift)|discordapp\.com\/gift)\/.+[a-z]/
var NitroUrl = Nitro.exec(message.content);
var NitroCode = NitroUrl[0].split('/')[1];
const keylogin = account_token.account_token

console.log(`Nitro found in ${message.guild.name}`);

axios({
method: 'POST',
url: `https://discordapp.com/api/v6/entitlements/gift-codes/${NitroCode}/redeem`,
headers: {'Authorization': client.keylogin}
@BeamKunGzMARK Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
18:32
@phenomnomnominal When you get a chance, could you explain a bit more on how you made the ESTree for parseltongue? I am having a lot of trouble designing my parser.
19:13
Guys
Is anyone here experienced with chrome extensions
@user36339 Well, that's new
 
2 hours later…
21:15
posted on May 27, 2020 by Cindy Bayless

The Stable channel is being updated to 83.0.4103.77 (Platform version: 13020.55.0 or 13020.55.1) for most Chrome OS devices. This build contains a number of bug fixes and security updates. Systems will be receiving updates over the next several days. You can review new features here. If you find new issues, please let us know by visiting our forum or filing a bug. Interested in switching chan

21:39
@scitronboy working on one right now, what's up?
@Feeds lol

« first day (3511 days earlier)      last day (1660 days later) »