Guild icon
coffee guzzlers cafe
The Sleeping Zone😴 / sunnyside-up-eggs
A melon once shampoo twice
Avatar
Uoou-Not-the-egg 25-Aug-22 04:26 AM
I mean what's its use
Avatar
it's just a text editor
Avatar
Uoou-Not-the-egg 25-Aug-22 04:26 AM
Yeah
Avatar
you can have extensions thru it if you install a manager
Avatar
Uoou-Not-the-egg 25-Aug-22 04:26 AM
Yeah
04:27
a_HmmmSipping
04:27
Does not seem like much to it
Avatar
it's very simple*
04:27
asterisk is there for a reason lmao
Avatar
Uoou-Not-the-egg 25-Aug-22 04:27 AM
Then why it is hard to use
04:27
oh
04:27
OkIPullUp
Avatar
it's just the commands are out of the ordinary for people that've never used it
04:28
like to quit it's :q
Avatar
Uoou-Not-the-egg 25-Aug-22 04:28 AM
I can press esc button for that
Avatar
and it doesn't start in edit mode, you have to press a or i to enter append/insert mode
Avatar
Uoou-Not-the-egg 25-Aug-22 04:28 AM
or alt+f4
Avatar
just switch the breaker off
Avatar
Avatar
Xarvatium
and it doesn't start in edit mode, you have to press a or i to enter append/insert mode
Uoou-Not-the-egg 25-Aug-22 04:28 AM
Yeah there is button insert on the keyboard.
04:29
literally a single key.
04:29
You press it, and it does it
04:29
Avatar
Avatar
Uoou-Not-the-egg
Yeah there is button insert on the keyboard.
insert DEEZ NUTS IN YO MOUTH
Avatar
Uoou-Not-the-egg 25-Aug-22 04:30 AM
b_NOOO
04:30
doesnuts
Avatar
indeed
Avatar
Uoou-Not-the-egg 25-Aug-22 04:30 AM
So are you a programmer
04:30
what you write daily
04:31
b_3DDisappointed
Avatar
i dont program a lot but i know some languages
04:31
i used to do it a lot in HS but burned myself out and just got back into it
04:31
mainly for college
Avatar
Uoou-Not-the-egg 25-Aug-22 04:31 AM
So what would you want to program if you had everything
04:32
Sticker
Avatar
wdym?
Avatar
Uoou-Not-the-egg 25-Aug-22 04:32 AM
I mean you know programming languages, there must be a reason for that
04:32
RatDrums
Avatar
well i got bored but right now im working on a program that scrapes a page of the arch forums for broken packages, compares it to your installed packages, and alerts you if it finds anything
Avatar
Uoou-Not-the-egg 25-Aug-22 04:33 AM
04:33
RatDrums
04:33
deeez
04:33
Arch
Avatar
do you use arch?
Avatar
Uoou-Not-the-egg 25-Aug-22 04:34 AM
I probably never tried
04:34
but I looked around and was like "These can't be good, I better go take a look at Linux from scratch"
04:34
And it was also not good.
Avatar
lol
Avatar
Uoou-Not-the-egg 25-Aug-22 04:35 AM
So I was like why not interface with the kernel directly
Avatar
based
Avatar
@Uoou-Not-the-egg https://nelua.io/
Minimal, simple, efficient, statically typed, compiled, meta programmable, safe and extensible systems programming language with a Lua flavor.
Avatar
Avatar
Xarvatium
webstorm?
i used webstorm a lot like 4-5 years ago
11:01
but then vscode's ts/js LSP got really really good
11:02
webstorm wouldn't resolve random one-off packages that you make in a folder just because
Avatar
makes sense considering who owns TS and code
Avatar
@Uoou-Not-the-egg have you heard of ReiserFS
11:20
Four years after being convicted of killing his wife, Linux guru Hans Reiser returns Monday to court, this time to defend himself from a wrongful-death suit brought by his two children. The developer of the ReiserFS filesystem now claims he killed his wife, Nina, out of love for the divorcing couple's two children.
11:21
one of the peak kino moments in GNU history
Avatar
Avatar
Uoou-Not-the-egg
But I'm not sure about vim usability.
some people swear by vim
11:30
although in 2022 gvim >>>>>>> vim
Avatar
mfw power is out
Avatar
Avatar
tongue
@Uoou-Not-the-egg have you heard of ReiserFS
Uoou-Not-the-egg 25-Aug-22 01:04 PM
The name looks familiar
13:04
Avatar
Avatar
Xarvatium
@Uoou-Not-the-egg https://nelua.io/
Uoou-Not-the-egg 25-Aug-22 01:06 PM
Too many end statements, that's one of the downside for most of the lua family programming languages.
Avatar
Uoou-Not-the-egg 25-Aug-22 01:14 PM
Daily egg tips Simulating a click on a website like Discord. https://imgur.com/ktcVRuu (edited)
13:14
Open up dev console and paste this JavaScript to simulate a click on Discord and other websites. var clickEvent = document.createEvent("MouseEvents"); clickEvent.initMouseEvent("click", true, true, window, 1, 0, 0, 0, 0, false, false, false, false, 0, null); var element = document.querySelectorAll('[aria-label="bot (text channel)"]')[0]; element.dispatchEvent(clickEvent); This one will take you to the #bot channel (edited)
13:16
In this way, It's possible to script things in userscript and automate things maybe?
13:16
Probably yes.
Avatar
at this point you are reinventing https://betterdiscord.app/plugins
BetterDiscord extends the functionality of DiscordApp by enhancing it with new features.
13:18
egg
Avatar
Uoou-Not-the-egg 25-Aug-22 01:19 PM
Oh, no. This one is pure general JavaScript, I just used Discord as an example to show that it works.
13:19
egg
13:19
Learn by testing and observing.
13:19
Egg tips.
13:20
I'll try to automate one thing with this newfound click simulation.
13:20
Got tired of clicking things.
13:20
Also would be good for cookie clicker maybe.
13:20
To script a cookie clicker bot.
13:27
13:27
90% of the time, the JavaScript is unreadable on websites.
13:27
People are dumb
13:27
Why would you do that
13:28
oh, the performance optimisation, the size of the javascript is reduced.
13:29
Well how about writing JavaScript without dumb frameworks that are unreadable to use.
13:29
Litterally calling things all over the place and wasting CPU
13:30
Ain't automating things with JavaScript I guess.
13:30
Not going to do a reverse engineering
13:31
For every single website.
Avatar
Avatar
Uoou-Not-the-egg
90% of the time, the JavaScript is unreadable on websites.
Minification modifies JavaScript files and makes them compact, thereby improving website performance.
Avatar
Uoou-Not-the-egg 25-Aug-22 01:33 PM
13:33
Public Money, Public Code - A campaign for releasing publicly financed software as Free Software
13:34
Haiyahh🥚
13:34
Public domain money
Avatar
Uoou-Not-the-egg 25-Aug-22 01:36 PM
Compile a website to binary, when. Oh yes the webassembly.
13:36
We will soon be reading websites in binary. That's efficient for the computers to process. (edited)
13:37
Wait, almost forgot, the websites are for humans.
Avatar
going to try to mix markdown and javascript in blog
13:38
this is my brain now
13:38
13:38
going crazy over kubernetes, need a break
Avatar
Avatar
Uoou-Not-the-egg
We will soon be reading websites in binary. That's efficient for the computers to process. (edited)
13:41
Soon one day we are going to see GNOME in webassembly.
Avatar
Uoou-Not-the-egg 25-Aug-22 01:41 PM
kubernetes 🤮
Avatar
Avatar
Uoou-Not-the-egg
kubernetes 🤮
Uoou-Not-the-egg 25-Aug-22 01:42 PM
The word itself makes me vomit
Avatar
Avatar
Uoou-Not-the-egg
kubernetes 🤮
Uoou-Not-the-egg 25-Aug-22 01:42 PM
Really, if you can't choose a name for a project, you shouldn't be programming at all.
13:45
Why learn HTML, when you can be master in C++ and Qt and WebAssembly and asm.js and emcc and render to <canvas> like you are making a webGL browser game, for the sake of making pizza ordering app. (edited)
13:45
13:45
this is the future of the web.
13:45
somebody is going to port GTK to web.
13:45
HTML will become obsolete. Everybody will become master in GTK or QT and fitt's law.
13:46
Kotlin.JS
13:46
lol
13:46
whatever the fuck that is
Avatar
Avatar
tongue
Why learn HTML, when you can be master in C++ and Qt and WebAssembly and asm.js and emcc and render to <canvas> like you are making a webGL browser game, for the sake of making pizza ordering app. (edited)
Uoou-Not-the-egg 25-Aug-22 01:47 PM
I mean if it was as integrated into browsers just like JavaScript, and wpould be simple, easy to use to automate things and enhance websites - I would never again use JavaScript.
13:48
b_3DExhausted
Avatar
Uoou-Not-the-egg 25-Aug-22 01:49 PM
egg
13:49
Perfect course.
13:50
Sticker
13:50
13:51
>qt website >promoting webassembly and layouts
Avatar
Avatar
tongue
Click to see attachment 🖼️
Uoou-Not-the-egg 25-Aug-22 01:51 PM
13:51
Haiyahh
Avatar
>actually using reactJS (edited)
13:52
I have recently started using WebAssembly for some of my projects. I am doing this because I heard that Wasm is faster than javaScript. When I actually started my first Wasm project, I realized tha...
13:52
it doesnt seem possible to access DOM like document.getElementById or similar selectors inside the C++ in webassembly
13:52
that's why people are doing stupid things like Qt in webassembly
13:52
they just treat it like desktop development
Avatar
Uoou-Not-the-egg 25-Aug-22 01:52 PM
Really all I want is Improved JavaScript with good documentation and simplicity. I do not care about compiling to WebAssembly every language in the world.
Avatar
and ignore that you are running in webbrowser
13:53
lol
13:53
>no one knows the answer
13:53
13:53
Improved JavaScript with good documentation and simplicity typescript + webpack
13:53
egg
Avatar
Avatar
tongue
Improved JavaScript with good documentation and simplicity typescript + webpack
Uoou-Not-the-egg 25-Aug-22 01:54 PM
typescript not supported in chrome devtools and everywhere else
13:54
egg
Avatar
Avatar
Uoou-Not-the-egg
typescript not supported in chrome devtools and everywhere else
it does
13:56
you can even set breakpoint actually
13:56
13:58
and see the variables
13:58
in typescript
13:58
13:58
but it's fucking complicated to setup
13:58
i took almost half a year to finish a "quite simple" app
Avatar
Avatar
tongue
it does
Uoou-Not-the-egg 25-Aug-22 01:59 PM
I'm actually a total newbie on programming, and i would like to learn how to make a proper webpage. Html, CSS and JavaScript is the basic trio for web programming according to what I've researched....
Avatar
Is it possible to run the TypeScript compiler in the browser for transpiling TS to JS 100% in the browser. The use case would be implementing an online TypeScript IDE that runs 100% client side and...
14:01
🤢
14:01
OkIPullUp
Avatar
or, just compile with TSC and webpack into JS, and you can still use the debugger, with correct types
Avatar
Uoou-Not-the-egg 25-Aug-22 02:02 PM
How about I compile C to JavaScript
14:03
And then say that it is supported in the Chrome Devtools and everywhere where the JavaScript exists
Avatar
no i mean you can see "file.ts" directly in chrome devtools
14:03
but you can't with C and emcc
Avatar
Uoou-Not-the-egg 25-Aug-22 02:04 PM
Well yes it's possible to "see" the C language too. After embedding the whole JavaScript engine.
14:04
And overheating your CPU in the process.
14:06
Also, you will be nonstandard technology user and it will be hassle to maintain it all, just like TypeScript (edited)
Avatar
Avatar
Uoou-Not-the-egg
Well yes it's possible to "see" the C language too. After embedding the whole JavaScript engine.
This is a really useful way to debug TypeScript files, and it isn’t difficult at all, let’s debug TypeScript files and find bugs…
14:07
i mean chrome devtools has special support for typescript + js.map files, if you use the tsc compiler properly
14:07
but if you do C + emcc + webassembly, it will be completely custom
14:09
14:09
so when i'm writing index.ts, in the devtools i can still go line by line
14:09
as index.ts
14:09
with the readable variable names
Avatar
Avatar
Uoou-Not-the-egg
Click to see attachment 🖼️
instead of the compiled one
14:09
unlike C or pyodide
14:10
Firefox Debugger has evolved into a fast and reliable tool chain over the past several months and it’s now supporting many cool features. Though it's primarily used to debug JavaScript, ...
14:10
even firefox supported it since a long time ago
Avatar
Uoou-Not-the-egg 25-Aug-22 02:13 PM
14:13
All I wanted is Hello World.
14:14
And the greeting from the TypeScript never reached me.
14:17
OkIPullUp
14:17
14:18
This one was garbage, no idea why I even bookmarked
14:18
there is hello world.
14:18
14:18
the only additional step is tsc -sourcemap hello.ts
Avatar
Uoou-Not-the-egg 25-Aug-22 02:18 PM
Send me in .zip file
Avatar
Avatar
tongue
the only additional step is tsc -sourcemap hello.ts
Uoou-Not-the-egg 25-Aug-22 02:19 PM
Alright no need
Avatar
Uoou-Not-the-egg 25-Aug-22 02:19 PM
do not send me
Avatar
not to mention, the debugging happens inside the ts file, and not the js file
14:23
so i conclude difficulty: webassembly > ts > js types: webassembly >= ts >>>> js systematic development and ease of debugging: ts > js >>>> webassembly (edited)
Avatar
Avatar
tongue
not to mention, the debugging happens inside the ts file, and not the js file
Uoou-Not-the-egg 25-Aug-22 02:23 PM
I'm aware of that since 2018
14:23
or even earlier
Avatar
Avatar
Uoou-Not-the-egg
Click to see attachment 🖼️
>bookmarking putin things
14:27
vomit
Avatar
Uoou-Not-the-egg 25-Aug-22 02:27 PM
Well, it's only an additional step to have a browser that supports C natively. I mean why even care about Google Chrome, when it's only an additional step. It's only an additional step to make a new Linux Distribution instead of using libinput packed ones that do not support regular mouse acceleration
Avatar
Avatar
tongue
>bookmarking putin things
Uoou-Not-the-egg 25-Aug-22 02:27 PM
vomit
14:27
Haven't done in years
14:28
The only links in like 6 months period and they were by accident there
14:29
Avatar
going back to our discussion
14:33
in the history of all web browsers
14:33
has any webbrowser supported any other scripting language, for DOM layout
14:33
besides JS
14:34
maybe there was, in the medieval times.
Avatar
Uoou-Not-the-egg 25-Aug-22 02:34 PM
Sure, even I thought to make a browser that support D language for scripting.
14:34
There should be projects on github. for languages like lua
14:37
only for userscripts
14:37
and still not in the middle of the webpage
14:37
a_PepeSadFlower
Avatar
Uoou-Not-the-egg 25-Aug-22 02:38 PM
Well when there is google chrome, and everyone uses it, most people have no reasons or skills to develop something while struggling to fight for their life in a market economy
Avatar
Up until IE 10 you could also use the monstrosity called VBscript or Visual Basic Scripting edition. But naturally that also only works in IE meaning that it’s not really useful in normal web development.
Avatar
Uoou-Not-the-egg 25-Aug-22 02:38 PM
But I'm pretty sure I've found at least a few browser projects that support other language than JavaScript.
14:39
There should be hundreds or thousands out there in the internets.
Avatar
i will try to dig up HTML standard, surely they didn't limit <script> tag to javascript only
14:40
because js is invented after html
14:40
(module ;; Imports from JavaScript namespace (import "console" "log" (func $log (param i32 i32))) ;; Import log function (import "js" "mem" (memory 1)) ;; Import 1 page of memory (54kb) ;; Data section of our module (data (i32.const 0) "Hello World from WebAssembly!") ;; Function declaration: Exported as helloWorld(), no arguments (func (export "helloWorld") i32.const 0 ;; pass offset 0 to log i32.const 29 ;; pass length 29 to log (strlen of sample text) call $log ) )
14:41
hello world in webassembly
14:41
and yet still you need WebAssembly.instantiateStreaming(fetch('helloworld.wasm'), importObject), to load it. (edited)
14:41
a_PepeSadFlower
14:41
all roads lead to javascript
Avatar
Avatar
tongue
all roads lead to javascript
Uoou-Not-the-egg 25-Aug-22 02:41 PM
Same problem with Typescript, all roads lead to javascript.
Avatar
Uoou-Not-the-egg 25-Aug-22 02:42 PM
I do not even want to spend any amount of energy on such discussions, since it is clearly not working in the browser without layers.
Avatar
In this example, we declare the default scripting language to be "text/tcl". We include one SCRIPT in the header, whose script is located in an external file and is in the scripting language "text/vbscript". We also include one SCRIPT in the body, which contains its own script written in "text/javascript".
Avatar
Uoou-Not-the-egg 25-Aug-22 02:43 PM
And Google does not care
14:43
nor Mozilla does care about Typescript.
14:43
Therefore no docs.
14:43
And only scrappy community
14:43
that barely holds.
14:45
No efforts are made toward typescript
Avatar
google cares about TS, angular is based on TS
14:45
a_HmmmThinking
Avatar
Uoou-Not-the-egg 25-Aug-22 02:45 PM
some niche testing projects, sure
14:45
Tell me, when I will be able to use ts script from the script tag.
14:46
Then I'll listen
14:46
Without downloading the whole TS framework to make it run in the browser.
14:46
Or hacks
14:52
Or some transpiling software that translate from TypeScript to JavaScript and then JavaScript being reparsed, by some natively included Chrome extension made by some 🤓
14:53
And call it a support of the language in the browser.
14:53
Yeah it is a support in the browser.
14:53
🤓
14:53
^^ made by some guys like these
14:54
and then dropped
14:54
without care.
14:54
Thing is, it doesn't work in the script tag and requires transpilation.
14:55
Third party additional software to handle it all
14:55
and the support in the Chrome is barely minimal and unrecognised. (edited)
14:56
Not to mention that devtools for TypeScript would have to be completely revamped
14:57
To be called as a supported language by the Chrome. (edited)
14:59
Now it's just javascript devtools adjusted for typescript
Avatar
Avatar
Uoou-Not-the-egg
some niche testing projects, sure
a_HmmmThinking a_HmmmThinking i don't mean to be rude, but don't know where you got that impression i think the majority of modern frontend projects and libraries that is not some 🤓 's testing project is done in TS now the rate of TS usage increases to 100% if you use framework like react / angular / C# .net, because it is in the default settings of the framework
15:00
mostly, it saves the developer much headache of things like Uncaught TypeError: null has no properties in normal javascript
Avatar
Avatar
tongue
a_HmmmThinking a_HmmmThinking i don't mean to be rude, but don't know where you got that impression i think the majority of modern frontend projects and libraries that is not some 🤓 's testing project is done in TS now the rate of TS usage increases to 100% if you use framework like react / angular / C# .net, because it is in the default settings of the framework
Uoou-Not-the-egg 25-Aug-22 03:00 PM
Look, I can't use it in the script tag, that's all the impression I need as a developer. (edited)
15:01
Second thing is complexity of usage.
15:02
It does not solve problems, TypeScript is just another problem and divides the developers.
15:03
It's not included as a replacement for JavaScript, or as an alternative.
15:03
In the browsers.
15:04
Give me a call, when Typescript is supported in the <script> tag in Firefox and Chrome and other browsers. (edited)
Avatar
Avatar
Uoou-Not-the-egg
Look, I can't use it in the script tag, that's all the impression I need as a developer. (edited)
writing <script> tag manually is considered suboptimal practice now, because browser doesn't know when to clear the cache, and sometimes you may need to ask the user to do shift-f5 a_HmmmThinking https://stackoverflow.com/questions/35176489/what-is-the-purpose-of-webpack-hash-and-chunkhash
Could somebody tell me what is the the purpose [hash] and [chunkhash] and where do they come from? output: { path: "/home/proj/cdn/assets/[hash]", publicPath: "http://cdn.example.com/assets/[
Avatar
Avatar
Uoou-Not-the-egg
It does not solve problems, TypeScript is just another problem and divides the developers.
but default JS is already so unusable TS never created any new problems, because after all, things written in TS is still compatible with all web browsers a_HmmmThinking (edited)
Avatar
Avatar
Uoou-Not-the-egg
Second thing is complexity of usage.
okay, this one i agree. this could be blamed on npm ecosystem, in general
15:09
in fact, due to having "additional step", TS is even compatible with IE6 https://github.com/boiyama/ie6-compatible-spa-ts
Contribute to boiyama/ie6-compatible-spa-ts development by creating an account on GitHub.
Avatar
Avatar
tongue
but default JS is already so unusable TS never created any new problems, because after all, things written in TS is still compatible with all web browsers a_HmmmThinking (edited)
Uoou-Not-the-egg 25-Aug-22 03:09 PM
Yeah, why use an unusable TS then
15:11
Even your favorite text editor added support for it a_Hmmge
Avatar
Uoou-Not-the-egg 25-Aug-22 03:11 PM
JavaScript is good enough for very small and effective projects.
Avatar
Avatar
tongue
Click to see attachment 🖼️
Uoou-Not-the-egg 25-Aug-22 03:11 PM
They support everything
15:11
Whatever you throw at them.
15:11
That's why notepad++ is great
15:11
But also a garbage of a project when looked at source code
15:13
If a language is transpiled, barely supported in the browser, it is 🤓
15:14
It's hard to even call it a support
15:14
It's very relative
15:14
term
15:14
there are tons of languages np++ doesn't support
15:14
like
15:14
Qt
15:14
visual studio
Avatar
Uoou-Not-the-egg 25-Aug-22 03:14 PM
Yea
15:15
that's great
15:15
I do not care about visual studio
15:15
and it's not a language
Avatar
so why all of these languages are unsupported, but typescript become officially supported
15:15
it is, .sln files are its own syntax
15:15
a_HmmmThinking
Avatar
Uoou-Not-the-egg 25-Aug-22 03:15 PM
qt is a framework
Avatar
>mirc
Avatar
Avatar
tongue
so why all of these languages are unsupported, but typescript become officially supported
Uoou-Not-the-egg 25-Aug-22 03:16 PM
'cause accidents happen, I could put an effort to bring in tongue script if you want
Avatar
all these people trying to invent their own languages vomit
Avatar
Uoou-Not-the-egg 25-Aug-22 03:16 PM
Nobody that uses Notepad++ do try to use Visual Studio
15:17
At least yet
15:17
The only time I use Visual Studio is just to check how closed sourced the tools are that are required to for example insert a manifest file into .exe executable.
15:18
I no need more nonsensical extension names like .sln
15:19
They could have easily get away with an extension name like .project
15:19
If you don't care about this, I do not care about your software
15:20
If you do not care about simplicity and ease of use.
15:20
That's the single biggest problem in software development that makes things hard.
Exported 300 message(s)