#⌨coders-cave
1 messages · Page 109 of 1
then they'll break the
"code once, run everywhere"
to be precise "build once"
Java have the class file
not sure with C# tho
any one knowe how to use numpy in python
Help
dont use potato pc ez
I will upload the file here later and see if you can copy paste it
Ynshiskebsufhc
You are IOS? What does that role do?
Reiiii
Is there a way I can see exactly which country a source link originates from???
Don't mind me saying rei I am asking this question to everyone
Idk
holy shit i just woke up and damn
the standard libraries tell everything about a language and with the standard libraries java has, it tells a lot about the language 😂
intellij is WORSE that visual studio, you clearly havent tried visual studio
ever heard of android studio? its ran behind intellij and look at the first google results
thats very bad and inconsistent, strings when compared via == are references? then why not longs? ints? why do they not behave the same
THEN WHAT'S THE POINT?? is java is not built to work on all platforms why choose it over C++, c++ doesnt hog a lot of ram and runs faster than a jvm
from .txt to list in python? you'rd have to read the file
i just wanna copy paste all that in to python and use it as a list
but my pc cant handle it
is there a way i can copy paste undisplayed texts??
correction: python cant handle it
maybe you should read it?
like
show the error to us
okay
legends says that he is still trying to get the error
hey i cant copy paste it okay
screenshot
i gotta write it mysefl
ok
legends says that he is still writting the errors manually and dont just screenshot it
just do
win + shift + s
and ctrl + v to paste the image
what is that
oh i already had it
with open('C:\Users\DELL\Desktop\2095486.txt') as f:
lines = f.readlines()
print(lines)
what
i forgot most python users dont know what those things are
https://www.google.com/search?q=unicode&ie=utf-8&oe=utf-8&client=firefox-b-m
(what unicodes are)
> knows what they are
> doesn't know why they break
the code that reads the files are like compilers
and the type of unicode that the file uses is like the programming language
a c# compiler cant compile python scripts
and an utf8 reader cant read whateverunicode
the utf8 reader doesn't know other unicode exists so the error is saying that there is an error in the file
i explained the error now fix it yourself lmao
oqay
i will try
import codecs with codecs.open('C:\Users\DELL\Desktop\2095486.txt', encoding='utf-8') as f: for line in f: print repr(line)
same error
the file is in a different encoding
every file can have different encoding
how do i know which encoding it is
i have no idea
aw man
maybe you can check the files property (by right clicking it in file explorer)
teaching a python user how unicode works is pain
this text file includes emojis and stuff
maybe you can guess
ah yes emojis and stuff that will narrow things down by alot
why is that red
emojis and everything
all weird letters and all that
can u guess now?
non existent guy
when i open it on notepad++ and press encoding
utf 8 is selected
so is it utf 8
?
then why doesnt it work
Noexistguy!??!?!
help
cat gal can u help
guys cmon it been nearly an hour
Why there's datetime in it
because i got the date time of it too
its a mix of data
non exist guy
thanks for teachimg me how to ss very helpfull
there sholdnt be a problem reading a file that huge
yeah
i was taking down the lemon cult with my desert eagle and my 5 staged intercontinental ballistic missile capable of holding 10 nuclear warheads with no way of launching it thats why im late
There's no problem if there are no datetime functions in it
Or maybe just do something more easy
nope, if you’re really so annoyed over it feel free to make a recommendation to oracle, otherwise the quality of a language has nothing to do with your personal preference
used for different purposes lol, if you need a project that is going to be worked on by many people and don’t need it to be super efficient, go for Java since it allows abstraction and easy code organization
the more you can make a file abstract the easier it is to read, which is especially good for large teams
also it’s much more readable than other languages, every Java library uses camel case, and most libraries have detailed comments on what each function does, overall it’s just consistent
😠
i don’t see why you’re hating on a language simply because of the purpose it has, it’s not meant to be the fastest or most efficient, it’s meant to be readable and easy to modify with teams
you’re literally judging an entire language off of the first search result that is autocompleted? lol
by that same logic am I allowed to say c++ is bad because there are search results in autocomplete like “why is visual studio so slow”? see the issue lol?
I’ve used visual studio and vscode respectively, and neither are as good as other editors imo. my personal preference is vim, but IntelliJ is still easier to use than visual studio (maybe closer to equal with vscode)
c++ literally has the most complicated and convoluted standard libraries i’ve seen, that doesn’t make it a bad language though, so why are you judging Java on an obscure library that is there just in case anyone needs in even though in reality no one uses it smh
Help whats the encoding of this file
java is worse than c++, how is c++ convoluted? c++'s standard libraries are better and more straightforward than java
java's standard libraries are composed of obsolete and legacy garbage while at least in c++ we have the std namespace are still relevant to this day
so what if every java library uses camel case? every python library uses underscore and lowercase, every c# library uses UpperCamelCase
it doesnt stop there, lets talk about why abstract and interfaces are scuffed, both cant have fields nor properties
what LMAO
obviously it is, have you read anything that we've been debating? it's not better than c++ but it's not meant to be, and no c++ has convoluted libraries, you have to include 2 things to use the string keyword
not all c++ libraries use the same naming conventions lol
afaik, java isnt really good for games, its just more simpler without game engine but are much slower because its actually for normal apps and was first designed for tv remote
you dont even understand abstract and interface? lmao why are you even here
the c language prolly have some upperhand but they are a lil hard for me xd
sure, which functions exactly?
can a person who is good at java learn c# easily ?
java isnt good at anything
no i understand them and have been working in java for years, i just don't understand your argument
it makes no sense
literally made the #1 game in the world but k
most sales + revenue lol
yep and thats it, good thing we're having bedrock version
afaik its made with lwjgl
lol what
lwjgl is a java library lol
and afaik java is good for pc but is not too kind of androids and less powerful pc for games
typical java programmer, in c# we can have properties and fields on interfaces
even though im literally trying to make a private "worldbox project" using java rn
why, that seems useless
lol
wut are those
wdym useless, for reflection its not
wise words
the reason i havent use c# is becuz the compiler is not that lightweight only and i dont know are there any libraries that are downloaded there (prolly system.drawing)
honestly cant be asked talking about this at this point
wdym its more lightweight as java
you basically ignored 99% of my points and you clearly haven't worked with java enough
nope, you ignored my points, your best replies are halfassed or WHAT lol
the visual studio download only
not at all but okay, i actually gave extensive paragraphs of information disproving what you're saying but you do you i guess
prolly fixed if i have wifi
you havent even explained well why String when compared by == is compared via reference and you told me to contact oracle lmfao
i quite literally did
if you read what i said you'd understand that
i extensively described that string is treated as a class in java, and therefore functions as a class
so you admit java is an inconsistent pile of garbage?
probably c# since this guy's so hellbent on it
no? LMAO
its simple but i concur
even though i program in it
string is not treated as a primitive but int, long and double is?? whatt
no?
lol
other than windows*
yes there is but why does string doesnt
honestly I just blocked for now
why is there no primitive for string lmao
i am a firm believer that you cant change people
LMFAO HE CANT TAKE IT
nothing i say is gonna change someone who is hellbent to prove their opinion is right
yes that's java's weakness
that wut makes me confused when trying to convert c++ into java
java kids cant even defend their garbage of a language
you cant, they different
no idea why so many programmers always have such an overinflated sense of superiority
basically his responses were all just saying "java is garbage" despite me extensively explaining why his arguments make no sense
i also have some problem with c# to java cuz the struct xd
actually different language different uses
its not the same, you have to manually convert code
i guess javas just too hard for some people, can't blame them for having a bias, albeit a bit rude about them
yeah
if java so good then why unity uses c#
like dude c# is faster than java
its literally being used in game engines everywhere
sorry just was really tempted to see what youre saying, no it's not, and unity uses c# because its cross platform, consoles dont have the java runtime environment installed and therefore cant use it 😃 gonna go back to ignoring ur messages now, just felt like making my point that you're being biased
hmmmm i wonder who's this
consoles cant even stand the memory hogging jvm
programming languages afaik:
- Java app and for small data
- C++ games and visual graphics
- C# see java but u add several perks
- C small procedural data
- Python Large data
you haven't made any solid points, you just keep making stupid and pointless claims smh
honestly just gonna mute this channel, not interested in talking with a programmer with an overinflated sense of superiority and refusal to admit their opinion could be wrong smh
cya everyone, gn @wild saffron 👋
bye lmao
bye uwu
i swear if i see another java programmer
and afaik c# can be copied to java manually (for structs) and vice versa is easier, not a much of problem
yep, code is almost the same
lmao
- Java : good for nothing really, just use csharp, (also swing sucks ass)
- Csharp : unity, wpf
- C++ / C : low level stuff, malware R&D, reverse engineering, game engine, stock market calculations
- Rust, Go, V, Zig : a new breed of good languages but not yet widely supported
- Python : AI / Data Science
- JS : web / mobile dev
Edit this to change the output of the custom command 12!
also pyscript and net maui are gonna change the landscape I believe
sheeesh vim
if only I know how to use it
i use java cause i dont have game engine
else prolly i will use c#
like the others of course
yeah just use unreal / unity it will get the job done
I am heavily using java rn
for my university projects
my pc dont have much graphic support
same*
for recreating worldbox (private purpose)
and for trying to make data program or smh but some parts of java are buggy
data science should be done w python I think (w lib like numpy and pandas which are very OP)
and I suggest to recreate it in unity
I don't have much experience developing in unity
ye
but I know a bunch about how unity works internally
and it seems like it would be a good fit
but i used java cuz available library and cuz its usually use in some apps
and its easier without game engine and quite useful-er than python
not as useful as c++ or c but simpler
i dont use wifi rn so i dont use unity ;-;
I have only seen java used in minecraft and nothing else but yeah it's a good starting language to know OOP
unity needs wifi?
the download*
yeh pc mobile data connector
damn
that's common here in Indonesia back in the day
like 10 years ago
but not so much anymore
xd u live in java learning java ?
ur lives a pun
💀
(yes java is named after a javanese coffee LMAO)
how did you know about java, a foreigner rarely knows about the island all they know is Bali
lol searching
Noone talks about this but
C++/C AND rust are all really good for kernels and OS stuff
Which can be said for very few other languages
i just learned about pyscript and it sounds great
js for mobile dev???????
actually yes there is reactnative for android
there's a new js framework every second
put js: everything (primarily web) instead of js: web / mobile dev
there's a new js framework every second
i just realized how clean js can be if you know how to work on it, im currently working on js and im starting to love it lol
its just devs who write shit that makes js look incompetent
i almost had a heart attack thinking this took 5 seconds to run
apparently using return this with an object containing fs 6 times takes just 5ms
🤔
maybe fs was a file operation?
ok js fan
oh ok
im not js fan!!!!!!!!1!!!1!11!!11!
^betrayed c#
it's over
im using https://github.com/agracio/edge-js so that doesnt count 
omg js is so bad!!!!!!!!!! just look at this code!!!!
im now one of the cool kids
0 died oof (1)
js bad terrible sucks
i harbor 100% irrational hatred towards javascript
Activate Windows
Go to Settings to activate Windows.
everything that contains 'java' is bad
real
true
this is actually true, for example, the base kernel for windows, linux, and macos are all written in C
and I am pretty sure it's applicable to rust and c++ aswell since they basically compiles very similarly
yeah, android framework for js is very common nowadays, especially for web app like discord and facebook
(which uses react)
is java easier than javascript or vice versa
javascript is easier ofc
but both are the lowest of the low
but hey at least you dont have to public static main(String[] args)
xd
wuts the best language other than c#
that can be implemented easily
without / with game engine
c# is easier too, the newest version dont require an entry point so you basically can just
Console.WriteLine("Hello World");``` without a class or namespace
that would be c#
the other language better than c# is a language called c#
is there is graphic library there ?
wdym, what do you need in a graphics library?
if you want for images there is System.Drawing
if you want something more cross platform there is Skies
are there any other compiler for c# other than Visual Basic and Unity ?
i mean there are just countless graphics libraries
there are frameworks
.net framework - old, preinstalled in windows
.net core - new, runs on everything cross platform
mono - used by unity
you know my answer for that lmao
of course
what do you need to use it for anyways
without game engine* (unless its 3d)
but
that doesnt make sense
if it doesnt have a game engine then
wait
u mean
console?
my pc isnt that good, will unity work xd
yeah using that
system.drawing also
the next thing is can u place image in system.drawing ?
just use unity
is the game 3d?
if your pc cant handle unity, then it cant handle 3d development in general
oof yes
but im sure it will handle unity
my pc can handle 3d but not making the models
and i havent download unity cuz uhhh
yeah i used mobile data to pc
are there this function in unity ?
cuz when i used java there is this "java.awt.image.BufferedImage and bla bla bla i/o "
i mean in the compiler
not the unity ;-;
yes unity is shipped with its own compiler Mono which is independent on the .net framework
lmao are you trying to use java swing?
xd ye
that thing hasnt been updated for 20 years
thats the problem
LMAO DUDE I FEEL YOU
XD
like why is jlable used FOR SHOWING IMAGES???? A FUCKING LABEL??
you cant even control image size
i tried recreating worldbox "using perlin noise" and (private uses),
oh u can control afaik
but not the quadruple points
or u can control quadruple points but quite hard
you have to manually resize the goddamn image what's the point of a control library if there's no control for showing image?
sure what's the problem
lol
using (StreamWriter w = File.AppendText("myFile.txt"))
{
w.WriteLine("hello");
}``` like this
appends string without overwrite
yeah ty
wait back to the question can u post image to a c# windows using a c# compiler ?
if you dont want streams and just wanna write a small piece of text you can
File.AppendAllText(@"c:\path\file.txt", "text content");
yep if you want something similar (but 900x better) to java swing there's winforms
wut is that
c# is faster of course
alright look
asp.net core is second fastest web framework
all of these are suspiciously close
a script that takes 50ms to run is literally called slow when we dont even feel the difference between 50ms and 0ms so its not that suspicious

As an os dev yes this is true
However rust is kinda like the new kernel language
The compiler is extremely customisable and the language has many libraries or crates for os stuff
Like alot
Alot more than C or c++
There are wrappers around most bootloaders too
yeah cargo is very cool, but rust is way harder to use and less flexible (no inheritance too)
pretty colors
I have the full Legendary team of attacks tools
I tried linkedin quizzes for programming languages
I failed all languages i knew in the past
And succeeded in c# which i started days ago

Bluh
@rose pawn yeyehaha
ofc, who can get wrong with c#, no boiler plates, straight to the point and predictable
I legit failed in Unity even tho its where i learnt c#

(not all wrpng answers were code related)
that's the issue with quizzes like that
you have easier time knowing the answers with less experience
or well ofc it's easier with shit ton of experience
get good at answering tests with very specific questions
or
get good at making things with unity
experience in unity is superior than quiz knowledge
get good at answering tests with very specific questions
you just summarized university/college lol
yeah
i get higher than average marks
but I study less than average

im just good at answering questions
And forget it before start fixing
Luckily i note everything i discover like bug fixes, ideas and etc
Looking at this chat i realise
Damn I dont take coding seriously
At all
I code like once a week
While drunk
And if I get a bug I just stop coding and return 2 weeks later
A
Nerds
says the guy with a tank pfp
Reo
How do i find the encoding of a file
Ew im a wolf
Jupe downgrade me to chicken
You'll just have to guess and try decoding it until you find the right encoding
press the freeze level in #💬role-info and I can change it to chicken if you want
:0
I did
there
Wowa thanks jupe
Should i learn python guys?
Ok
no, c#
assembly works too but goodluck with that
learn to not listen to haydot
After having had to learn assembly risc v, Intel and ARM I say, don't learn assembly, you will never write better code than the compiler
Unless you are very interested in low level stuff and want a better understanding on how it works
if it's gonna be your first language then sure
its easy and it is pretty useful
Ok
but in the long run you'll end up using c++ or c#
depends
not everyone needs those languages
python is good for data science for example
or scripting in cyber security
the best stack overflow answer
*gets deleted*

eh
not entirely true
the compiler does ALOT of optimisations
which can be quite damaging depending on what you are doing
even when you explicitely tell it not to do any its still not perfect
idk how to code
I know some very basic python, does anyone have any tips?
Best tip ppl here can give you is "swithx to #C!!!1!1!1" 🤓 🤓 🤓 🤓
They can also fix your entire code every day because u are too lazy to do so but mostly "switch to sharp sea!!!1!1!"
You can choose by yourself the level of optimization, and you can also write high level code while being aware of the optimizations the compiler is going to do
Even then are you really going to change the assembly by yourself?
all im saying is
depending on the project
you may want to use assembly rather than a high level language
like when you want to do very low level stuff like writing to ports
which C cant do
and the inline asm is trash
The closer you get to the machine the more you have to speak its language of course, but most beginners usually don't go there to start learning programming, as you lack understanding of many programming or generally computer concepts
practice
come up with smth
try to make it
google things
dont be like kerim and try to get people to do your work for you
swithx to #C!!!1!1!1
theres a reason for that
eh
c# is perfect, everyone seeks perfecrion
no
It cant d
o
kernels
nor bootloaders
nor anything low level
so
not perfect
as if thats a problem :')
that is
if it was perfect
like rust
it would do anything
from web
to kernels
and even bootloaders if with limine or multiboot
at some point I think that thinks become so low level that
you dont need any prior programming knowledge to understand the concepts
for instance show your average c# enjoyer some assembly or make them look through the bytes of a program
or even make them flip a bit
they will have no idea what to do
as if thats a problem lmao who needs to write a new os like dude people dont think about that normally everyday
i mean sure man keep writing a new kernel we're here writing games, backend and traning neural networks lol
lmao
so
I only mentioned os development
1 time
if even that
yet you somehow thought I was talking about that
so ima ask you
how many times do you think as an os dev have I needed to look though the bytes of a program
if you guessed none
you would be correct
all of these things are things that everyone needs to know atleast the basics of
because they can help you in every case
but you dont really have to do that
you have a compiler that optimizes and makes sure everything works well
thats what compilers do dont they
do that like the rest 99% of programmers
im sure thats interesting at this point
btw im not only an os dev
I also know graphics APIs
but im sure you will find a way to make that look bad too because your favorite language sadly doesnt have any good wrappers around any good api
wdym, we're literally the language of billion dollar games running in realistic graphics
anyways i dont see a point in remaking the wheel
tell me one api that has a good working wrapper in c#
the opengl one sucks
I tried it and
- Using pointers in c# is pain
- It didnt work for half the things
Try not a act like a cult for 5 minutes challenge
I'm opening my new cult
"Helping people find the encoding of files cult"
I will spread like a plegue
I cannot believe
you are still stuck
to this problem
and have made 0 progress
and are still actively looking for help
its...sorta inspirational actually
Is there a way to skip time on mobile?
wellp this is somewhat true and wrong
for large and reusable code, yes
but for minor cases, especially patching and rewriting a function using library like minhook to hook the function you could improve stuff
but you are kind of true that speed shouldn't be the your main reason of learning assembly
I have been dealing w assembly codes for 3-4 years now (mostly x32, occasionally x64, but never asm)
c++ users try not to say "c++ has more libraries" challenge
rust users try not to say "safety though" challenge
Plague*
i need some help
what language
im tryna make an item using war box mod
i believe that would be in #🔧modding-talk
well this channel is mostly dedicated for the c# cult but sure
im havin g this error
can you show code
sure
using System;
using NCMS.Utils;
using NCMS;
using UnityEngine;
using ReflectionUtility;
using System.Threading;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HarmonyLib;
namespace NewBox{
[ModEntry]
class Main : MonoBehaviour{
void Awake(){
Button.init();
public void Update(){
Equipment();
}
static string civId = "unit_human" + "unit_elf" + "unit_orc" + "unit_dwarf" + "baby_human" + "baby_elf" + "baby_orc" + "baby_dwarf";
void Equipment(){
var Units = MapBox.instance.units.getSimpleList();
foreach(var unit in Units)
{
if(civId.Contains(unit.stats.id)){
var pSlot = unit.equipment.getSlot(EquipmentType.Amulet);
if(pSlot.data.id == "Cross"){
WorldTile pTile = unit.currentTile;
MapBox.instance.CallMethod("getObjectsInChunks", pTile, 5, MapObjectType.Actor);
var temp_map_objects = Reflection.GetField(MapBox.instance.GetType(), MapBox.instance, "temp_map_objects") as List<BaseSimObject>;
for (int i = 0; i < temp_map_objects.Count; i++)
{
Actor actor = (Actor)temp_map_objects[i];
if(actor.stats.id == "demon" || actor.stats.id == "ghost"){
actor.killHimself(false, AttackType.Other, false, true);
WorldTile pTileActor = actor.currentTile;
MapBox.instance.fxDivineLight.playOn(pTileActor);
}
}
}
}
}
}
}
}}
public and static ,why dont they work
look
yes
you missed a } on line 21
try this
using System;
using NCMS.Utils;
using NCMS;
using UnityEngine;
using ReflectionUtility;
using System.Threading;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HarmonyLib;
namespace NewBox {
[ModEntry]
class Main: MonoBehaviour {
void Awake() {
Button.init();
}
public void Update() {
Equipment();
}
static string civId = "unit_human" + "unit_elf" + "unit_orc" + "unit_dwarf" + "baby_human" + "baby_elf" + "baby_orc" + "baby_dwarf";
void Equipment() {
var Units = MapBox.instance.units.getSimpleList();
foreach(var unit in Units) {
if (civId.Contains(unit.stats.id)) {
var pSlot = unit.equipment.getSlot(EquipmentType.Amulet);
if (pSlot.data.id == "Cross") {
WorldTile pTile = unit.currentTile;
MapBox.instance.CallMethod("getObjectsInChunks", pTile, 5, MapObjectType.Actor);
var temp_map_objects = Reflection.GetField(MapBox.instance.GetType(), MapBox.instance, "temp_map_objects") as List < BaseSimObject > ;
for (int i = 0; i < temp_map_objects.Count; i++) {
Actor actor = (Actor) temp_map_objects[i];
if (actor.stats.id == "demon" || actor.stats.id == "ghost") {
actor.killHimself(false, AttackType.Other, false, true);
WorldTile pTileActor = actor.currentTile;
MapBox.instance.fxDivineLight.playOn(pTileActor);
}
}
}
}
}
}
}
}
hold up all i saw was errors
i think this worked but another problem was an icon with the same key was aadded in resources now
because the code is messy, you might wanna clean it a lil bit
yes.....
another help
ok
class Button
{
public static void init()
{
GodPower CrossPower1 = new GodPower();
CrossPower1.id = "CrossPower1button";
CrossPower1.name = "CrossPower1button";
CrossPower1.forceBrush = "circ_0";
CrossPower1.holdAction = false;
CrossPower1.showToolSizes = false;
CrossPower1.unselectWhenWindow = false;
CrossPower1.click_action = new PowerActionWithID(action_CrossPower1Click);
AssetManager.powers.add(CrossPower1);
var CrossPower1But = NCMS.Utils.PowerButtons.CreateButton(
"CrossPower1button",
Mod.EmbededResources.LoadSprite($"{Mod.Info.Name}.Resources.Icon.icon_Cross1_bone.png"),
"Cross1",
"Give a unit a Cross1",
Vector2.zero,
NCMS.Utils.ButtonType.GodPower);
NCMS.Utils.PowerButtons.AddButtonToTab(
CrossPowerBut,
NCMS.Utils.PowerTab.Kingdoms,
new Vector2(1082, 18));
}'
cross powerbut doesnt exist in current context
what should i change it to
this part might be to technical
i dont do worldbox mods
so its best if you ask someone who knows at #🔧modding-talk
Make an automatic file encoding determinor on #C
c# does that automatically, when creating a read stream on a file or just about any stream not only a file, get it via StreamReader.CurrentEncoding
Can you do it with my file
dude look
if you can
open that file in notepad
theres a 99% chance thats utf8
and anything can read it
k
Hello
well it does runs code on the server
Man i miss annoying people on this channel
Hopefully i will get back to working on my code soon
Ive been really lazy lately
My unity project broke while i was watching youtube
Project refused to open so had to create new one and move all sh** and stuff and reapply some unapplied stuff
they're all gone, i drove them away 
this channel is better dead if it's not talking about c#
nooo
Btw an idt means interrupt description table and a gdt means global descriptor table they are put somewhere in memory (usually in higher memory in a read only space) and Im not gonna talk about c#
switch to a custom java engine 😉
Not after all what i have spent for my game
I have decided to add tarot cards almost like from jojo for my game for a specific use
ayo did someone say jojo
mudamudamudamudamudamudamudamudamudamudamudamudamudamudamudamudamudamudamudamudamudamudamudamudamudamudamudamudamudamudamudamudamudamudamudamuda
oraoraoraoraoraora
Worldbox do they really write in Java ?
C#
so like I was joking about learning quantum programming a few days ago but
the more I think about it
it just makes sense I learn it
ohh shii there is q#
im sure yall c# fans will enjoy this...it appears to not be very similar to c#
watch the security problem
get solved
its literally like bogosort
but since its on quantum level
its fast
Can you merge two programs written in two different languages
I cant change the language to finnish in this server!
Q# is like
C#
As a quantum language
But in python for some reason
yes, every language should have some kind of subprocess library
in c# we have Process and StandardOutput and StandardInput which we can write and read from thr process, python has subprocess too
or you can use sockets and communicate 2 programs via udp
if u have complete control of the other process that is
from datetime import date
import speech_recognition as sr
import os
r = sr.Recognizer()
mic = sr.Microphone(device_index=1)
import pyttsx3
tts_engine = pyttsx3.init()
voices = tts_engine.getProperty('voices')
tts_engine.setProperty('voice', voices[1].id)
tts_engine.runAndWait()
def listening():
print("listening...")
audio = r.listen(source)
output = r.recognize_google(audio)
return output
def AImessage(message):
tts_engine.say(message)
tts_engine.runAndWait()
r.pause_threshold = 1
with mic as source:
r.adjust_for_ambient_noise(source)
AImessage("Hi")
output = listening()
if output == "hello":
AImessage("How can i help you?")
output = listening()
if output == "what time is it":
AImessage('its ' + str(date.today()))
elif output == "open app":
AImessage("what app should i open?")
os.system(listening())
if by any chance someone would want to make answering bot in python
:0
or like just use an api like mostly are made from C or C++
so you can use that to bridge
May I use this form an assignment plz?
here ya go:
from datetime import date
from multiprocessing.connection import Listener
import speech_recognition as sr
import os
r = sr.Recognizer()
mic = sr.Microphone(device_index=1)
import pyttsx3
tts_engine = pyttsx3.init()
voices = tts_engine.getProperty('voices')
tts_engine.setProperty('voice', voices[1].id)
tts_engine.runAndWait()
def listening():
print("listening...")
audio = r.listen(source)
print("Translating your speech...")
output = r.recognize_google(audio)
return output
def AImessage(message):
tts_engine.say(message)
tts_engine.runAndWait()
r.pause_threshold = 1
def WaitForActions():
AImessage(" How can i help you?")
output = listening()
if output == "what date is it":
AImessage('its ' + str(date.today()))
elif output == "open application":
AImessage("what app should i open?")
os.system(listening())
elif output == "do speech test":
AImessage("Test started")
message = listening()
AImessage("I think you said "+ str(message))
elif output == "exit code":
print("quitting")
exit()
else:
AImessage("I didn't understand,")
WaitForActions()
name = "Pit"
with mic as source:
r.adjust_for_ambient_noise(source)
AImessage("Welcome back "+ name)
output = listening()
if output == "hello" or "hi" or "welcome":
WaitForActions()
another version
feel free to copy
btw how should i name the bot?
Not google
love how the company i work for was spending £100+ per month on a service i recreated for free
args = passport_parser.parse_args()
image = args['file'].read()
try:
mrz = read_mrz(image, save_roi=True)
except ValueError:
return {"result": [{"prediction": []}]}
if mrz is None:
return {"result": [{"prediction": []}]}
return {
"result": [
{
"prediction": [
{
"label": "MRZ",
"ocr_text": f"{mrz.country}{mrz.date_of_birth}"
}
]
}
]
}
also, github co-pilot is cool
.
lmao u stoopid bruh
i would make the service then recommend them the service as a better and cheaper option
and then make 90 per month
we did consider it
we were like
god we shoulda said we found an alternative service for half the price
Coders cave more like coders crave (for someone to ask for python help)
its pretty cool
but also weird and i dont like
@cursive abyss
Same
hi i want help
why does my public float dont shows up in the inspector
im using unity
This message is here now bois
I like coding I still need help trying to change the source code and accessing hidden files
To hidden stuff in the base game
if you're talking about worldbox go here ---> #🔧modding-talk
this channel is not for worldbox
I’m not tAlking about WorldBox
then clarify what you're modifying
otherwise people will assume you're talking about worldbox which lots of people do in this channel
also we just cant help any without any information
this is not about mods?
read the goddamn
channel name
@long eagle
why would they make a channel called #🔧modding-talk
and have separate channel called #⌨coders-cave
and not smashed into one
I KNOW IT\
i asked for help this and then this guy said #🔧mods and then i answered this is not about mods as i am telling him im not questioning mod
hm?
I like this knight guy
you still need help?
nah
i found the problem, i dont save my script
nobody says i need to save my script
Guess what happened
ANOTHER FRICKIN WINDOWS 10 UPDATE
That turnt off my unity project

Its annoying
To keep using backup scenes
i thought windows 10 only updates every shutdown
it does
but if you dont update for a while
it will schedule a restart
you can decline
but you probably didnt read the prompt and just hit accept
if there is one thing I like about windows
its the updating
as you said it schedules a time for a restart which is super cool
and it doesnt really go into your face constantly asking you for an update unless you havent updated in like
2 years
and when it updates it breaks your gpu drivers
eh havent had a problem with that yet
happened to me once kek
I always hit do it later
But i had i tripped on the wire that connects electricity to my pc
When i started it gave me the stupid getting windows ready
:)
I wish if microsoft made windows 10 updates frickin not annoying
You can schedule windows updates so they don't happen during the day (or whenever you're not using it)
ayo with what language is worldbox made? (im new to coding and stuff just wanna know)
c#
c#
c#
c#
so would it be possible if they for example didn't use c# but c++ would there be any difference in how difficult it would be more diff or less?
they can using unreal engine
but look
with c# you wont have to deal with pointers and manually write everything
unity compiles c# to native code using il2cpp
so what if I want to make a game like worldbox/Rts game
is c# better
bcs I wanna do a fullcourse but dunno which one
alright bro tnx
need game development? unity
need a web framework? asp
need mobile, desktop, macos, linux, ios app development? maui
np bro
dont listen to the c# fanboy
yes c# is good
but its always nice to also know other languages
or to try other languages
you know find the one you like
screw you github im gonna make so many code snippets your ai wouldnt even be able to compete
Some one teach me to code for a joke
I know but its easy to forget to schedule an actual long time rather than the normal update later thing
User reported to the proper authorities!
kek someone tried to advertise a crypto spam/scam here (they got banned), they really picked the worst time ever to do so

definitely not
C# is good
multipurpose
but doesn't always have a "good at"
in some part
its the issue with all things
you could be proficient at something but not something else
jack of all trades is
okay ish at everything
it does the job just not as good as the proficient one
too late lol, he already watched 5 hours of c# tutorials
thats not really the case
you can be proficient at something and be proficient at another
Hi
I don't know if this is the right place to ask, but does anyone know how to fix a problem where you accidentally merge a Drive and the Downloads folder into one?
I would show an image, but as it turns out I cannot images
anyone here good with unity
Rei
My computer has burned down using unity
unity is a light game engine used for mostly indie shit
are u on a black berry
the literal fruit
"light"
that's bs
i mean as in stuff compared to unreal obviously depends on what your making
its mostly for indie games i dont mean light as in doesnt have many features/ cant handle what it does
theres insane stuff using unity like boneworks
Blackberry??? No
Dragon fruit
im developing game on a lemon to each there own
I have Linux operating system on a windows pc!
ive heard linux is better but havent took the time to really check it out myself
I have changed a chrome book to a windows laptop then uninstall windows and install Ubuntu!
wdym light, escape from tarkov is unity
genshin impact too
depends on what ur making
but typically alot of indie devs use it thats why i had to specify that lots of big games like boneworks used it aswell
light wasnt the best word more so accessible or versatile for smaller devs
exactly
because others doesn't provide the same experience
yeah thats what i meant 👍
and etc
things like unreal are more popular for bigger studios you dont see many indie devs working with that
and its harder to learn
i like unity very fun to mess around with
well the monkes are kinda bad/ trained to attack u
so you kinda have to explode them
in a gory fashion
i like
monkeys do nothing but screech and steal stuff so its acceptable
not really
except proboscis monkey they are cool
they survive
their screams are actually a form of communication
literally like ours
made one my pfp
i made him really happy in photoshop
that looks like something but i don't know what
that looks like
uh
a lot of bigger studios also just make their own engines
certain game types also just need their own to run smooth
like teardown/noita I believe are their own engines
like league of legend
both sim games, worldbox probably would've benefitted from being its own engine instead of unity due to sim performance.
but uh unless you got the manpower or the willpower to do that
unity works fantastically for loads of stuff we'd normally encounter
and makes it approachable
I mean loads of games from small groups of people are popular from unity. The advantage of being able to come up with interesting and unique concepts fast/easy due to the process
I haven't worked on unreal myself, but by the looks like a good place to make a game that looks/functions triple A without having to make an entire new game engine or anything like that
also has great video rendering/simulation stuff beyond games
both are excellent creation tools that really depend on what you're doing for them to benefit you
dont forget about making it cross platform
traiteditor
anyone familiar w/ Matlab in here?
I want autiomatic file encoding finder
java is at the depths lmao
you dont have to
Haha python is above c sharp
also id love to learn rust
but its kinda not mature yet, unless there's a crossplatform library for making desktop and mobile apps count me in lol
is there a game development platform for rust? like one that actually caters for rust
can you make mobile applications using rust?
yeaah it kinda needs more development platforms or whatever you call these xD but pretty solid language
rust has something for everything
game development? havent tried the game development crates but I know alot of them exist
there is an entire discord dedicated to it with many people
want more low level? Most graphics apis have wrappers around the language
idk about the higher level stuff
nor the app stuff
but I know there is ways to do that too
so yea pretty solid language which managed to become my favorite...maybe after c
ye
also
the linux kernel was discussed to be rewritten to it
which....I mean I guess if someone has the time to do it and is willing to update the kernel by himself
C still somehow feels superior to rust in kernels even with all the new shiny tools rust brings
why do you
use
"himself"
are you saying women can't????
*angry noise occuring*
unless you actually mean the creator of linux himself
Can some one teach me how to code
download visual studio
Wich one
How is this ment to help me learn how to code
YouTube
Tell me is that how you learnt
Nah
Then how Im I going learn that way
Stupid mic stupid face
Watch me get ban for that
How did you
I didn't learn coding from YouTube, but that doesn't mean you can't learn from it
EXACTLY

