Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "kk"
-
Wrote some codes that uses your photos to compose an input image. Will post code later. Written in Python though. Also this is my dad. Also I wrote this in Yellowstone cuz I didn't like the view lol.19
-
And when I was busy wasting my time on my girlfriend who is my ex now, my friends were busy coding an AI chat-bot. Now, I use their chat-bot to talk to when lonely.
Moral :
Girlfriends ditch you.... code doesn't. Love code.15 -
After one year of procrastination I finally made the game with unity
Ladies and gentleman, spherical voronoi minesweeper
Yes, I made the game before with in c++ which looks quite shitty, but finally, unity33 -
Wrote some code during the break that transform an image to the following styles, is it good enough to post on github?22
-
Mac: Hello welcome please sign in
Dev: Fair enough
Mac: Oh you haven’t signed in in awhile please get get verification from other device
Dev: kk
Mac: Oh you don’t have a dev account, please sign in on this website
Dev: Hm.
Mac: In order to sign up for a dev account you need to download this app
Dev: ???
Mac: Are you sure you want to open this app you just downloaded?
Dev: Sigh.
Mac: In order to sign up for a dev account on this app you need to sign into it
Dev: For the love of god
Mac: Ok now you can build with Xcode.
Xcode: No you can’t. You have to sign in
Dev: fuck sakes.
Mac: Are you sure you want Xcode to access files on your computer?
Dev: …Yup
Xcode: Signing in isn’t enough you have to select the fact you are signed in a dropdown nested 3 menus deep.
Dev: God damn.
Xcode: Build failed please sign in to phone as well.
Phone: New sign in detected, please verify with alternative device.
Dev: Jesus.
Xcode: Build success! Pushing to iPhone.
Dev: Finally.
Xcode: Unknown error occurred. Please go to support.apple.com for help. :)
Dev: …20 -
Not code related, but.....
When you open a pron site and see this
Guess I should save the planet instead of jerking off10 -
So I was applying for a research position in linguistic department, and had the interview today.
Prof: So you know excel right
Me: (show a project to him to prove I at least know csv file)
Prof: Ok so you know excel.
Me: Yeah kinda.
Prof: Ok that's good. Cuz right now we are using amazon Turk, and the data they returned, which are excel files, are not really the way we want it.
Me: Ok sounds like a parser can fix it......
Prof: Yeah.... the students in the lab are doing it manually now
(Dead silence)
Prof: Ok move onto next matter7 -
Things happened this year so far in chronological order:
Applied to PhD and got all rejected
Graduated without a job because I thought the last event wouldn’t happen
Decided to take more shots at universities in Europe and Canada
Paper got published and got best paper honorable mention
Interviewed by couple professors and the one in Canada seems to be interested in me
School in Canada, which rejected me before, reopened my case for review
Bank account got closed because my parents transferred me some money to support my unemployment ass and bank thought it was a fraud
The review process took so long I got hopeless and thought, if I end up writing webpages for other people, why not doing it now? And did two webpages which are in my previous rant, pretty good and highly recommended imo
Canada school promised a date but didn’t follow that date, depression attack
Finally sent them an email and got an answer saying the admission approved my application and they are working on paper work. But I still don’t believe it because I’m paranoid
Got an email from a professor today confirming they are doing paper work and I should receive official paper soon.
You can see the dramatic ups and downs, but in the end, guess I’m going to Toronto for phd12 -
I wish there is such thing as branch in a relationship. So that whenever a couple are having a fight, they can create a branch and work their shit out in that branch and eventually merge to the master branch.
Wait
Merge....
That just costs.... more conflicts3 -
Finally installed Ubuntu and successfully configured the wifi setting, any package I should install?29
-
GTX 1080 now down to $499 due to 1080ti release!
..bought an aftermarket 1070 for $450 just a few months ago.
I'm not mad, just disappointed.8 -
Doing linguistic research where I need to parse 2000 files of a total of 36 GB. Since we are using python the first thing I thought was to implement multi threading. Now I changed the total runtime from three days to like one day and a half. But then when I checked the activity monitor I saw only 20 percent of the CPU usage. After a searching process I started to understand how multi threading and multi processing works. Moral of the story: if you want to ping a website till they block you or do easy tasks that will not use up all power of one core, do multi thrading. If you need to do something complicated that can easily consume all the powers of a single CPU core, split up the work and do multi processing. In my case, when I tried to grab information from a website, I did multi thrading since the work is easy and I really wanted to pin the website 16 times simultaneously but only have 4 cores. But when it come to text processing which a single file will take 80 percent of cpu, split it up and do multi processing.
This is just a post for those who are confused with when to use which.12 -
I updated the UI as I said last time
prettywordcloud.github.io
Found out word cloud essentially is NP hard problem, so can’t do it in an efficient way.
However, now it is more interactive, and gives the illusion it is faster23 -
Now here comes my first zsh shell plugin. Its called dogesay and it will repeat your command with much, wow, nice...11
-
I created a mesh viewer
In terminal
With matrix effect
YouTube: https://youtu.be/K3ejiVEERcM
GitHub: github.com/txstc55/matrix_viewer6 -
So I decided to commit to a big project. Since I want every user to have some default avatar before I implement file system, so I wrote a simple avatar generator:
https://txstc55.github.io/simple-av...
Feel free to generate some avatars!32 -
I didn't even know what photography is a month ago. Then I was going on a road trip with my girlfriend so I bout a camera. Didn't read the manual just watched bunch of videos and realized it was just tuning parameters. Now I'm the master.6
-
Ok guys, hear me out.
I drew a sphere, using only html and css.
https://txstc55.github.io/But-how-d...
A FREAKING SPHERE!
Not sure if it works on phone though, for some fucked up reason I cannot connect to GitHub on my phone right now.
I have peaked.13 -
*me* finding solutions on StackOverflow, Medium, API Docs for hours
*senior dev* walks in and changes one line of code
*works* O.o4 -
So I finished my first semester in NYU as a CD master. During the first semester I took a class called heuristic problem solving. Every week a competitive game will be introduced to us, and will be played in two weeks. And trust me, the games aren't easy. I teamed up with another guy who I had no idea was and named our team as we don't know. At the end of the semester we won seven out of nine games, and by won I meant that we beat the whole class in the match. And my teammate became a really good friend.
By telling this story, I want to make a point. I love problem solving, and not problems in a algorithm book where you apply an algorithm and do some trick to solve it, but real world problem where you hope for the best and anticipate, predict your opponent's move. However, American's school system doesn't teach that.
When I applied to graduate school, no school wanted me because I have an average GPA of 3.6, and no outstanding achievements. I can solve problems in my dream becaus I have an active mind, I can propose solution to a project one month before my teammates realized they essentially were doing what I told them the solution should be. But so what, I can't write those on my application.
One of the professor told me that my professor shared the story of my team during a faculty dinner, and they were very impressed by our achievement. So I guess I'm not dumb. But after all, companies and schools will look at your transcript and decide who you are.
I love myself for having random thoughts all the time that can lead to innovative problem solving. But I also hate myself for not able to study like the good kids are.10 -
Another project done in 3 days
https://txstc55.github.io/image-wor...
Generates word cloud based on image and text file user given, the default is Lincoln and his speeches.
Doesn’t work on phones, please view it on desktop/laptop
My god I’m a fucking legend10 -
Made a website that can make images like this
Basically you just keep splitting the rectangle and color them
https://txstc55.github.io/draw-rect...
It’s very mobile unfriendly though
Need feedback on what you need, also this is an offline version and I’m planning to make it so that you can do it with your friend, just need to watch more YouTube videos on p2p now17 -
Idk if anyone here noticed.... sudo sounds like 速度 in Chinese, which means quickly. So the every time I use this command I just feel like I'm rushing computer to do something for me5
-
Since there are too many button styles, I made a website to collect them:
https://txstc55.github.io/wall-of-b...
Please, flood me with your buttons, let me add them to the wall, I need them, I want them, my precious27 -
Quarantine and unemployment gave me opportunities to do side projects, here is another one I’ve done recently and I think you guys will like it
It is an image mosaic that preserves features based on color gradient, and tries to use as many photos as possible instead of just repeatedly using same picture over and over.
Here is the link: https://github.com/txstc55/...
For those who care about my minesweeper game, I’m working on submitting it to steam and make it a free game.2 -
So one year ago, when I was second year in college and first year doing coding, I took this fun math class called topics in data science, don't ask why it's a math class.
Anyway for this class we needed to do a final project. At the time I teamed up with a freshman, junior and a senior. We talked about our project ideas I was having random thoughts, one of them is to look at one of the myths of wikipedia: if you keep clicking on the first link in the main paragraph, and not the prounounciation, eventually you will get to philosophy page.
The team thought it was a good idea and s o we started working.
The process is hard since noe of us knew web scraping at the time, and the senior and the junior? They basically didn't do shit so it's me and the freshman.
At the end, we had 20000 page links and tested their path to philosophy. The attached picture is a visualization of the project, and every node is a page name and every line means the page is connected.
This is the first open project and the first python project that I have ever done. Idk if it is something good enough that I can out on my resume, but definitely proud of this.
PS: if you recognize the picture, you probably know me. If you were the senior or the junior in the team, I'm not sorry for saying you didn't do shit cuz that's the truth. If you were the freshman, I am very happy to have you as a teamate.3 -
I fucking hate Reddit
Because I don’t interact with other peoples post too much but do so when the post is mine, I’m considered spammer.
The 90/10 rule is ridiculous.
This morning I got banned from r/internetisbeautiful because of this stupid rule.
Not because my website is not beautiful, hell, it got thousands upvotes. But because I used the same domain for different unrelated projects, same way you can have different GitHub pages under one user.
Fuck this, fuck18 -
Now my worst fear is that I figured out how to implement my idea, because now the only thing stopping me is my laziness.3
-
// This is not a Rant, it's a sad story
I am a Software Engg. Student at my college, and I am a scholar, I stand 1st rank in my department for my academics. Our college expects us to do an internship this semester break, and I am stuck. The college expects us to do an internship for a period of around 6 weeks from a company with a CMM level 3. The real pain is the fact that the college didn't prepare us with the right skill set to get an internship like that. And in the end all our college wants is a certificate to show to them that I have done an internship.
My problem is, the people who don't have the slighest skill to do an internship are getting certificates because they have contacts, and they have no intentions to learn anything. But, here I am, although I believe I don't have that good skill set either, but I am stuck with no contacts, no internship offers, and no responses from the company I have applied to. Don't know what I am gonna do, but I have a zeal to do perform well, let's hope I find an opportunity to exhibit my talents.
If anybody can help me, please do. 🙏❤5 -
So I have the new Mac book pro for 8 months now, always thought that the butterfly keyboard issue will never happen to me.
Until three days ago I noticed my space key is kinda sticky.
I have an external monitor so I don’t recall any time I spill water or food directly on the keyboard.
So I made an appointment for a walk in.
BUT this morning, I was like: man, fuck this shit and smashed the space key.
Now it’s fixed.
Good1 -
After talk to the professor I'm working for
Professor: well, take a break.
Me: take a break? I have to report to you next week during spring break and you just released an assignment.
Professor: well but you have three weeks for the assignment.
Me: inside: but you said start early on the assignment
Professor: take a break3 -
"SO culture is so mean, they downvote good questions for no reason!"
Meanwhile, most of the downvoted questions in my list:
https://stackoverflow.com/questions...
https://stackoverflow.com/questions...
https://stackoverflow.com/questions...
https://stackoverflow.com/questions...
https://stackoverflow.com/questions...
https://stackoverflow.com/questions...
https://stackoverflow.com/questions...
https://stackoverflow.com/questions...
Translation:
- OP1: "Do my homework for me"
- OP2: "I am too lazy to google this"
- OP3: "Gimme code, here is a shitload of requirements"
- SO: "No."
- OP1/2/3/DevRant: "Oh mah gawd mah question was so gud, SO such toxic, very mean, much wow qq."
Kk.11 -
First day at work, my PC starts updating, reboots and suddenly, the boot partition is corrupt.
Nice way to start in Dev.3 -
And now, behold: a cat, warning: long loading time since I uploaded the entire fbx file. I'm gonna trim it later.
https://txstc55.github.io/cat/2 -
Fuck it, implemented another idea: image voronoi, it computes a voronoi diagram over the input image, each cell is then populated with the average color inside that cell
https://txstc55.github.io/ImageVoro...
This is an image with the get high option on
I’m so productive and I’m proud of myself6 -
Since the last post did not have the gif correctly attached, and @C0D4 suggested how to do this properly, here it is again.
With virtual camera, now I join meetings like this, and it is a live demo not just a video
Here is the repo to achieve the effect
https://github.com/txstc55/...
You will still need a virtual camera software to project it in the meeting, for me I used OBS6 -
Fuck the JavaScript ecosystem; Fuck React, Redux, and a big special fuck you to React-Router. And fuck interviews that give week long assignments.
The whole fucking JavaScript community makes the simplest things so complicated just so that they can tell Backend and Mobile Devs “Hey our job is difficult too”; fuck you, it isn’t! You made it difficult. and so that they can write corny emoji-laden medium articles about it to supplement their meagre income. What’s more the articles are outdated in less than a week.
Fuck JavaScript; APIs changes everyday a week and it’s documentation is updated every decade.4 -
So I made a message board and posted it here at devrant
Now there’s a user with username Ass and I don’t know what to do about that situation…. I don’t want to remove him from user, but all he posts is ass…
Fuck me20 -
When your professor invented the subject and you don't understand his lecture so you go online and search for the term and all you found is his slides from other universities when he was a professor over there.4
-
Back with more features now!
Cuz I don't have anything to do at work
This image is composed of screenshots from season three3 -
People should have mandatory lessons in vector processing.
In canteen, after lunch, there were 4 places you could place your trays. But only small, one-way corridor, for one person at a time to get there.
Every person picked the first place and while they were placing the tray, people behind them had to wait. Huge line started to form. If they, instead, always picked the last empty place, all tray places would be occupied for longer and the processing speed could increase almost 4 times.
Textbook vector processing example.2 -
With the help of obs virtual camera, now I can join meeting like this
It’s real time not just a video, idk if gif works correctly on devrant now, but it’s me dancing
Edit: apparently gif still doesn’t work on devrant15 -
Never wrote a website before
Wanted to write a website for myself just for PhD application.
Learned Vue on Saturday and wrote the website in three days.
Conclusion: fuck css
I can post the website if anyone is interested to take a look though16 -
Lab needs a crawler to download some assets, none of my business though
But why not
Haven't touched crawler for two years
Google for latest state of art
Found scrapy
I have to define a class for a crawling script?
Got scared
Went back to beautifulsoup and request
Got the job done in 20 mins
Fuck yeah6 -
Trying out Amazon sagemaker
You can do it for free they say
Deployed a free sagemaker domain
Got charged 32 dollars one day after
Jesus fucking Christ7 -
So a little bit explanation to my last fuck rant
I was trying to make a cuda code faster, specifically eigen value decomposition for 12 by 12 matrices. For a week a made a fast and accurate version and a faster but less accurate version, both are faster than cuda. Then I was thinking about how to make the faster version more accurate.
Then we had this idea of using power iterations. And honestly I hoped it won’t work. But then, fuck me it worked, which means I had more work to do.
But hey, at least now I’m way faster than cuda on this18 -
Everyday I go on Reddit to find memes, and share it with my girlfriend. Maybe I should build a website for this?11
-
So… made the website again
https://cover-beryl.vercel.app/
If anyone wants a cover, or wanted to put anyone up there let me know25 -
Website idea:
If you can leave one sentence to the world, what would it be.
I want to build a website where people post those sentences.14 -
Me, or everybody else.
I have bipolar disorder, it’s not entirely a bad thing because sometimes my mind flies and bizarre ideas just flush into my mind, ideas that eventually prove to be useful. However, not everyone can catch up my thinking speed.
This year for my senior capstone project, I teamed up with other three brilliant students. In the middle of the project I proposed a very aggressive method when our initial model failed, but they couldn’t understand my method. Towards the end of the semester I basically finished the project alone and claimed that they were just repeating what I was doing, and they didn’t realize that until the last week. At the end, the guy who’s always in charge of the other two people said that I was right, that the very aggressive method could have worked if given them more time to think about it.
I am both relieved and sorry at that moment. I cannot explain my ideas and that leads to my teams confusion.
I am still the same guy now, haven’t changed, will still be a pain in the ass when work with other people, I tried to be patient, but idk if it was just me being too impatient or others are too dumb.
I really tried......6 -
This Monday I start my first job as a junior web developer and a coworker already my first two hours will be free time, don't know how to feel 😓2
-
I don’t give a shit about boycotting Mulan, I paid to watch this movie
And the movie is shit, so I genuinely ask people to not waste the money to watch it. It’s just so shit and such a waste of my time71 -
So couple days ago I posted my meme website: meme4meme.me
Now after some constructive suggestions I have finally redesigned the thing, now it is:
Better with mobile device
Link is unique for each meme so you can share
Can download content
Please enjoy the memes I collected over the year and let me know any suggestions you have24 -
I wanted to post my avatar generator on r/internetisbeautiful, but I’m banned from that subreddit. So I waited, and for two months any time I ask for a unban I get muted.
I’m devastated10 -
And here it is, the infinite monkey club
https://www.infinite-monkey.club/
This is a crooked version of the infinite monkey theory, which is much much easier to accomplish.
Maybe the monkey will succeed before I die7 -
So, our university has this something called "E-LAB", a portal where students copy and paste codes from hacker-earth, in order to get marks in their internals.
The fun part is, the questions in our online portal are itself copied from hacker-earth, and other technical platforms.
And even funnier, our faculties can't solve a single problem, and they expect us to do, 80+ out of 100.
I mean, WTF!!!1 -
When your team members don't have a fucking clue how git works and you've explained it thousands of times to them already.6
-
So I was in my linguistic workshop today where we were going over control and raising concepts.
Without second thought, I put down 'ctrl' for control. And the guy, who's also a coder, didn't find anything wrong when looking at my sheet.
I think my vocabulary is screwed up -
Not sure if many people heard about nltk in python but I'm currently using a lot now for research.
So one day I was doing multiprocessing while using lemmatizer in nltk, for those who don't know, lemmatizer is a thing that change the word to its base form. So it is like, ran to run, bitches to bitch.
Anyway, the nltk package, to ensure it does not take too much memory, here's what it does: it loads a data file, and once it is loaded and accessed for the first time, it breaks the data file into CSV file. And since I was doing multiprocessing, the data file is accessed for multiple time while it can only be loaded once, hence error happened.
Instead of changing my code, which I think is good already, I went to the package directory of nltk and directly changed the source code from there and now the code works perfectly.
I'm very proud of my self at the moment, this is a very good lesson that I've learned: always look for alternatives. And suck it, nltk.1 -
Today was a rather funny day in school. School starts for me at 13:40 because our timetable planners are so qualified for this job.
First 2hrs: Physics, fine its good
Second 2hrs: Discrete Maths (however you want to call it)
Goal is to write a text (30 pages, 10, etc all those standard settings). Teacher prefers Latex over word, but we can do it in word if we want. We could choose a topic, I took primes because it looked the best. I decided to use latex because I'm a fetishist and it simply looks better in the end. A classmate was arguing with our teacher about ides: texmaker vs kile. And I'm like "I use vim". So my teacher is like kk
Later that class, when we actually started doing stuff I started the ssh session to my server because I don't know any good c++ compilers for win and I'm too lazy to get a portable version of cygwin (or whatever its called). So in my server I open vim and start coding my tool for Fermat Primes (Fermatsche Primzahlen, too lazy to actually translate). And this teacher seriously is the best teacher I ever met in my life. Usually teachers are like " dude r u hakin' the school server?" and I'm like bruh its just vim and I'm doing it this way because I cannot code on your PC coz I can't install a compiler. And this teacher is like "oh hey you actually use vi, all cool kids used it in 2000. I first though u were kidding and stuff..." And we continued talking about more of stuff like that and I have to say that this is the first teacher that actually understands me. Phew
Now I'm going to continue writing my 30 pages piece of trash latex doc and hope it'll end good1 -
So I'm TAing this database class and we constantly need to use shell to edit text. I am hosting the workshop with another student, who is a vim user and I am an emacs user. During one workshop he wrote down the commands for editing and quitting vim, and I simply told them control x and controls s, then control x and control c. And the stdents are fucking complaining that is too many commands? Like, wtf? And this week when we are holding the workshop and we need to edit something so he said just open your favourite editor and a girl was like vim, vim, vim , the same girl who complained emacs is too many commands. Like I'm the total loser using emacs there. Get your shit together people omfg you brainless followers. No offense to vim users, this is just personal.1
-
I said a long time ago I wanted to build a website to share memes I collected with my gf
Today I built it, behold: meme4meme.me
Warning: mobile not friendly but doable10 -
I just purchased a domain!
einsof.xyz
Gonna use it for my project later on, just happy that this domain is available, and I think it really fits the project I have in mind4 -
So I just finished a group project for a database class, it's an open project and we made a website that is basically like rate your professor. We spent tons of time on it and the website is finally settled. But that's not the point, I won't put the URL here, I just wanna say:
I fucking hate php. Fuck it.
Just fuck it5 -
Inspired by my professor’s rant about people don’t know how to google stuffs, I made a scriptable script to solve all those issues. It’s a super smart script that shows detailed step by step solution of how to tackle down a problem
For those who doesn’t know, scriptable is a free app for Apple basically writing scripts that can be used, in JavaScript.
Here is the repo:
https://github.com/txstc55/...
Please try it out, you will love it, I promise
Disclaimer: I am not responsible for the ending of any relationship after using this script4 -
I'm a Python programmer and I've been asked to build API's using Nodejs. It's been dofficult to even get the API running. Any advice on how to start? I am familiar with JavaScript7
-
I have a sense lots of you don’t know that you can kind of create 3d shape using only html and css
Here is a cube and the code
https://txstc55.github.io/But-how-d...6 -
So I have question about my resume.
During my college time, I have done two projects related to politics:
One is to analyze the bias of media. What I did is scrape news covers for Trump and Hillary during election year and get sentiment analysis. The result is not surprising that among NY Times, NBC, Fox, Eashington Post, and CNN, Fox news is clearly favoring Trump, since Fox news is a republican news site.
The other project I did was to analyze the speech complexity and sentiment of the election. One of the observation we made was that Hillary and Trump are almost at the same level regarding speech complexity. However, Trump has a more positive sentiment in the speech, which is true consider how much he loves to say make America great again.
Now the question is, when I gave my advisor my resume, she said that I'd better not put those two projects on my resume since they are related to politics.
But, I am applying for a data science master degree. Seriously, I was just collecting the data and the data speaks for himself, why should I take those projects off my resume? I'm very proud of those projects I did as a matter of fact.
So here is the question. Shall I take off those two projects on my resume because they were political or I should leave it thereawarreally need some professional views. Please.1 -
I don’t want to write paper/ run test to produce meaningful numbers
Anyone want an image like this?
Just tell point me to the image, a set of text and I will do it for you
Please I’m bored
This is the mandalorian using his lines from season 110 -
So my linux system didn't have any audio output now while it worked days ago and I haven't installed any new package. I was working on this for at least two hours. Reinstall drive things like that and none worked. I thought to myself: do you really want a system without sound? I mean it's good for coding since you can focus knowing you cant watch video now since theres no sound. But do you really want it? No, I would rather reinstall it. So I closed my laptop, didnt shut it down, and searched for how to reinstall ubuntu in command line and reopened my laptop, and magically, the sound is back online...... I guess linux is more powerful than I have ever imagined.
-
Applied for a research intern, talked about their research and my current project for 10 minutes, then started a fucking coding interview, which I couldn’t solve cuz I’m dumb
But man, this is a research position, and our work were so close wtf?
Got rejection this morning, fuck the coding interview8 -
So I’m writing this random number generator app just because so many apps charge you for this simple thing and posted my progress somewhere else. And this guy just commented: you can do it in python in 2 lines
Bitch, I know… the whole point is to not open python whenever needed and save my settings so I can use them later
God damn10 -
Alright so
I made an infinite post board.
Infinite in the sense that every post will be on this board, spiraling from position 0 0
I haven’t got a domain but here’s the address:
138.197.71.184
Not built for mobile and may later wipe data because it’s still in testing phase
Anyone who wants to register and leave a post is welcomed to do so10 -
Saw someone who wants to do a project online, asked what project it is, now hear me out:
A platform to share tech gossips, use web3 and tokenization to maintain privacy, and allow users to bet on the gossip using tokens
I mean… fuck me…3 -
Winning in the chrome dinosaur game means playing without dying till the internet comes back in and it automatically terminates the game screen !!
-
Open leetcode, try to convince myself to use rust for leetcode to learn rust
Got so confused
Open discussion
Got tired of opening discussion every time
Wrote a plug-in for chrome that automatically loads discussion code at the submission page
Never touched leetcode again lmao2 -
I’m still thinking about doing one of my old idea, which is an infinite posting board. But I guess I have to ask the hard question: is it useful?
Please people let me know15 -
I realized that using hilbert curve, I can draw one continuous line on a closed mesh surface that has no holes, I’m not sure if it’s going to be beautiful though, but I’m gonna try it anyway5
-
So I wanted to publish the spherical voronoi minesweeper on steam. I paid the one time fee, submitted my tax document and then never heard back, and that’s four month ago.
Shall I just open source it, it’s a unity project so idk how the structure of that should be.
I can also just put the built version on github, if the file size is not enormous.4 -
I have an app idea, I need people here to tell me if this make sense.
In short I want to creat an app that supports forums and chat rooms but only for people close to you.
The reason being that whenever I move to a new place, I basically have no knowledge of what’s going on around me what so ever, so if there’s a forum that I ca easily navigate and see what people are talking about it will be great. There are certain buildings/managements that has their own app but doesn’t seem to be used at all, I think one reason being that it’s a new app for new neighborhood, and the range is too small, I’d rather see what people do around me but not within one single building
And the reason for chat room is because if I’m going some place for an event, first if there’s this forum it will be great because people can just post questions there, second if there’s any session then it really makes sense to have some time and location limited chat room for me to join, and I don’t have to worry about it once I’m out of that location or time has expired. Recently I was in a conference and people are straight up creating messenger groups.
I think it makes sense to combine the two, you have a forum where you post things that your neighbor may have answer to, and if you want to creat an event, you can create a chat room just for the event, which expires after certain time.
I need to know if this idea sounds plausible. Devrant do your best, thanks10 -
This is true I swear... I once worked on part of a project "optimization" that required, running a job on sidekiq in the background that spawns multiple threaded RPC calls on RabbitMQ (and be I/O blocking) till the jobs are done (or failed) so that it updates the status of the master object (that has the associated objects processed) and sends an email to the ops manager (just a summary email)... instead of using database locks... or dropping the email requirement...
I did it without arguing because I've already quit the job a while ago... -
A Yahtzee game.
In fewer lines than my first try in 2010.
Fyi... It was like only 15 thousands line with if else statements .... Nuthin much.1 -
After contemplating on it so long, I finally made a blog for code snippets:
https://txstc55.github.io/But-how-d...
Completely written by myself, except, I mean, the vuejs and tailwind css part.
It’s so beautiful
Open to suggestions for code snippets to add!11 -
Is there a way to dynamically change your IP address while scraping website so that you don't get blocked cojstantly7
-
I’m gonna stop working on my website.
Been working on it for two weeks, probably because of bipolar and I was full of ideas.
I feel so tired now. -
When I was undergrad there’s an hpc course and I wanted to take it. A friend said I shouldn’t because: to take a human computer interaction course, you first need to be a human.
Now, 5 years later, look at me. I still haven’t taken an hpc course lmao1 -
I need advice.
I'm going to apply for PhD this year, but here's the thing, I don't have a specific interest in anything.
This sounds weird but I only want to do thinking. Like solving problems.
I would have a paper coming out this month as first author, but we discovered some weekends of our algorithm recently and decided to postponed the paper (there are 4 professors on the project and one researcher), so I guess this will definitely affect my application.
Like, what shall I say even on the personal statement? That I have one active mind that just won't stop thinking? The very fact that everything is interesting to me made me not interested to anything.4 -
I want to start a blog, and the name will be “I have a call degree/I am a programmer, but how do I”. Through this blog I want to share things I learned by my own, like seriously, nobody taught me to write full stack application, nobody taught me how to write opencv in c++, nobody taught me how to write a simple game, anyone has any suggestions?2
-
Now arguing with the ceo of startup I’m part of that we can use the ugly generator for avatar, and he said we should use the duck generator, and I said the duck has virtually no personality, but he said it fits the simplicity design flow
Man15 -
You know what
I’m gonna fucking rebuild my website since the ui got bashed pretty hard by a friend who studies hci
And just gonna make it faster while at it32 -
So two weeks ago I said I want to make a website
After 9 days of working 9 hours per day I’m finally done with the basics. It’s a website that’s basically an infinite post board
I’d want to invite people here to test it but I’m also afraid that there might be people just attacking my server. So now idk what to do4 -
Have anyone in Norway/Scandinavia ordered a devduck/apparel from the swag store and can tell me how long it did take? Want to order one, but not until at the start of next year.
-
I need suggestions
I’m thinking about making a blog called but how do I, this will include tutorials that covers things not taught in school, but you wished you knew how to do.
So right now I have ideas like:
How to write zsh plugins
How to scrape the web(scrape html or sending request)
How to write chrome plugins
How to center a div in different ways
How to write backend codes in js
How to setup an interactive website on a server with domain
But I need more, I need suggestions.8 -
I have been coding exclusively in Python on competitive programming websites. So far I haven't faced any issues w.r.t timing. Is it worth switching to c/c++?5
-
My colleague once wrote 160 lines of ruby code that violated rubocop in 102 lines (and he thinks he is a "clever" senior)2
-
I’m gonna make an iOS app, here’s the idea.
Everyday user gets some credit. User can use credit to make a post. One credit means one view. The post will be viewed by random people, and after certain views, the post gets destroyed. Users can only view random posts, they have like a little button that whenever you press it, you get a random post
If another user saw the post and thinks it’s interesting, he can sponsor this post with his own credit. Users can make comments however everything will be anonymous. If one user finds another user’s reply or post interesting, he can request to add the user so they can see each others name on posts in the future.
Regardless how much credit a post gets, when it ran out, the post gets deleted.
Before you say anything like oh shit now people have to pay to make posts? Im not gonna make this a pay to win system, so people don’t just gets more credit by paying.
Let me know what you think7 -
Wrote an app for couple interactions/routine recording
https://testflight.apple.com/join/...
Please help test it, much appreciated
(You do need to have someone to use the app with you, or just leave a username and pair up I guess?1 -
First time building Android...
6 hours syncing repos + 3 hours building and still working.
I don't even know remaining time.
Oh yes, I'm on a Core2 Duo with 4Gb RAM...5 -
Because writing code in latex is ugly, had to make a website to auto generate styled code for me:
https://txstc55.github.io/code-to-l...
Here’s a preview of a piece of code, in pdf, not an image18 -
Why are many of the customizable mechanical keyboard still not going wireless?
I hate plugging in cables to Mac, quite against their design philosophy.7 -
I saw the stripe press website last year and they changed it to some other interface but I was able to find it through way back machine
https://web.archive.org/web/...
I think i can do it for any wiki page, or anything with an image and text in general. But I can’t do it just in a browser and needs some dedicated server to generate a good height map. I know what to use but it’s sad I can do it in realtime, otherwise it will be cool, just imagine this kind of representation for any wiki page -
The circular was crashed my PC just because of playing with "list all fields and it's sub fields to an array"...
Now I hate circular thing -
Ok just wanna share things that got me stuck for hours on my recent project and their solution. I hope it’s gonna help someone.
To start with, when I was implementing svg to png, i set an image object’s source with a data url. Normally this is going to trigger the onload hook. However for some fucked up reason it never triggered. The solution is to use setAttribute function and then the hook will be triggered.
Second, you can get rounded triangle by setting stroke width and set stroke linejoin and line cap as round. But remember, if stroke width is 6, then it’s 3 inside and 3 outside.
Third, if you have a rotation of svg element, and later on you want to manually compute the rotated point’s position, it’s most likely some vanilla code is not going to work. You see, when you rotate for x degree, it is actually rotating -x degree. I’m not sure if it’s a bug of my code, but it’s there.
And now the worst thing: if you look up how transform on svg is performed, stackoverflow is going to tell you it’s by order. But that’s somehow not true for my project. If I do set transform to do translation then rotation, the order it was applied is actually reversed. It’s rotation first then translation, like ffs why? Who the fuck said it was in order? It’s clearly in reverse fucking order.
Ok last thing, you can scale svg around it’s center, but absolutely don’t do that because it’s gonna fuck up tanslation and rotation applied to this svg. If you need to scale, translate it first then scale it will be better.
Anyway just some things i encountered. I’m gonna stay away from svg for at least two months now1 -
What if I just make a website called the internet is nasty and let people either leave a comment with 100 characters and can shuffle through the comments to see how nasty the internet can be15
-
I have a platform idea, I need feedback
Problem statement: it’s hard to find researchers of specific area, which discourages students to even start looking for research opportunities. The reason for that is because people often look into their own academic circle, and the resource available is simply not enough.
Solution: by scraping Google scholar, generate detailed tag of sub areas for each professors, make a search system for that which will display the most important works of a researcher and what they are working on recently. If possible, invite the researchers to use the platform to add tags of traits they are looking for in students.
I have quite polarized feedback right now, one is the subarea tagging is really useful and academic circle is a problem, other is this is completely useless.
Please let me know what you think.3 -
Shall I switch to vs code?
I have been using sublime text for years and the sublime merge works well with it. And I did buy license since I love it. Idk if I should switch or not7 -
How do you guys calculate complementary color?
I feel like I have a good algorithm but I also feel like I've been posting too much recently so I just want to know what you guys do to calculate complementary color.2 -
Has anyone used catch2? How do I pass the command line arguments to a test when I have test in a separate file. The supplying main yourself document is quite useless, it only tells you how to get the arguments but not how to pass it to tests. I saw people setting a global variable in main but it’s not working for me.
-
I want to create a social experiment and I need advice
Essentially I want to make a spherical voronoi or Delaunay triangulation, but the points are added by any user on internet. A user can do one of the operation, say every other ten minutes:
Add a point
Delete a point
Change color of a region
Open to suggestions, tell me what you think4 -
If we really try to reinvent the wheel, and if we did that successfully, I bet it will be 2x better than at least all the unfancy stuff in the dev-market
-
The dream:
Three professors, one phd, one post doc, one researcher in a meeting doing code review for you and tell you what a shit piece this is.
Ps. I'm not a phd3 -
I wanted to build a platform for student who wants to do research and are having hard time finding a good professor within university or from outside, so naturally I started asking professor I knew and this is what I get:
Normally they will only hire students from within university unless student himself has funding, and even with that hiring students from outside is a lot of procedures.
And no, such platform probably won’t be that useful as they get a lot of emails asking about research.
Startup idea instantly killed.7 -
Follow up my last rant which people thought it was my fault
The school called, the manager apologized and said the security guards are not trained that way and they were suppose to tell me multiple ways I can prove that I am a student. He promised me that this is not gonna happen anymore.
I did not fuck up, people5 -
Maybe, instead of making a cloth, I should just make tutorials teaching people how to code the duck? Also other things? Like the chat box I have(literally a box written in html and css), the rabbit thing, the cat thing, the avatar thing.
God I have so many useless projects I can showcase.3 -
Shall I monetize my simple avatar generator? My girlfriend wants me to do it, I’m not sure if I want to put more effort to it14
-
The fact the most schools don’t teach you about web development or app development means they want you to work in big company instead of making your own apps4
-
Can anyone tell me what bun does and what’s the hype about, like if I have a vue project does bun build it for me and make it faster? Or it’s just for backend code optimization4
-
So a few months ago a broke screen of my laptop, currently I quite broke so I can't change screen and for some time I was using TV as screen, but ofc. Windows have to crash or do similar shit and know it doesn't send signal via HDMI, probably it's showing some info, but signal is only send when it boots windows or something.
So my girlfriend give me her old laptop (4gb RAM and I3 processor, bit touchscreen :/) and windows aren't updated for quite a long (it was still windows 8) and I tried to update it. Ofc it has to be problem, DISM doesn't work, downloading iso doesn't work, fml. I guessed I have to live with that, but later disc usage starts to be around 100% and freeze for few minutes (shitty Win2k PC at uni was more responding). Then I try to refresh windows, DISM starts working, updates semi-working. I left with 21 updates with error and there starts conversation:
Me: install 21 updates
Win: kk. Or actually no
Me: please
Win: the best what I could do is 8.
Me: it's something
Win: actually fuck it, only 4
Me: I'm done *typing Manjaro xfce*
So now I have dual boot with Manjaro which use 40% ram with Firefox open, when windows has 30% alone. I can't play anyway and DF is on Linux so fuck Windows.
I am noob when it comes to Linux and everything actually, but it makes me want to learn and improve.16 -
Come on mac app developers, if you build an app think of people that love your app, think of them that even when they love it they want to get rid of that.
In normal possible way there is.
*not like rm -rf kk? -
How difficult is it to decide for your own future?
It's a month that I'm in total panic 'cause of a difficult choice I have to make about my job.
I really need some external opinions and points of view from other developers, maybe more experienced than me (I'm a medium-junior JS developer).
The situation is as follows:
1) I work as a Frontend Web Developer for a wonderful enterprise-like company with 100+ employees, where the individual rights are fully respected, there are no whatsoever pressures and there is a peaceful paradise-like atmosphere most of the days. I also love my teammates, which is something rare because I often dislike other humans.
2) I received a proposal from a Fintech startup, which required me a long time to complete a complex programming test they gave me. They look all very young, modern, fast and passioned about their job. But they are only living with bank's investments and are not producing any money at the moment. Also, I don't know if Fintech will be a successful field in the future.
3) I received another proposal, from a Healthtec startup this time, which has a lovely mission in the medical field, has received millions of investments, it's gaining some KK net each month but has a team of only 2 developers (3 with me if I accept). I know one of the developers and I remember he had issues of not getting paid months ago.
What's the problem with the first company? I totally dislike the product we are building, the development stack (fully Microsoft-based), the company's view (they still sell and think about software like in the 90's) and how the repository is managed. Everyday there are huge problems that end up blocking the frontend work and the final product is super ugly and works only if you know all the quirks behind it.
It's an old-fashioned desktop app with inside Chromium which should execute some components like graphs, tables, forms and shit like this. Every component is configurable through a property editor which is an utter giant mess of collapsed menus. I also suspect that the company's main business model is based on the difficulty to use this software (because they sell licenses and courses to use it).
There are no modern UX/UI concepts applied at all, nor they seem to care about it.
Each time I propose something there is a huge chain of approval-waiting that end up in a stale mate.
Also, it's useless to show my frustration about all these issues because I count very little in a so populated office.
------------------------------------------------
TLDR: I need to choice if staying in a Enterprise Microsoft-based and old-fashioned company, but in which the atmosphere is paradisiac or accept the risk to work for a Fintech or a Healthtec startup.
------------------------------------------------
What would you do if you were in my situation? What's for you the most stable field in the future?
Many thanks for the attention!6 -
Not coding rant
I forgot my student ID today and was trying to enter a building.
Called my friend to swipe me in
Security: nah you can't do that
Me: why, I'm a student here
Security: Weill that student id only shows that he is a student
Me: I can provide you my student ID number and state ID
Security: no, either you go get a new student ID now, or you can't enter the building
Wtf? I've asked other people to swipe me in before and the security didn't day shit
I went home and filed a report against that guy
Straight up abusing his power7 -
Question:
Is there a good tool I can use to design my UI with vuejs support
I am looking at bootstrap studio but since I will be using multiple JS script as well as .vue file, it doesn’t seem to be good. -
Man people posting video of them copying code from code pen and say it’s their most creative login form so far
Like you can say today I’m gonna show you some code I found, but saying it’s your own code is just pure dumb, you are not that creative, you are dog shit1 -
I have a question
Given an irregular area which is created by combining triangles from Delaunay triangulation, and a box with fixed ratio, how to decide where to put the box so that it has maximum area (box only has fixed ratio no fixed edge length)
I can only think of something maybe just a bit better than brute force but cannot think of anything else10 -
Before vercel released v0, an ai tool to generate html and css code for your project, I had a dream that I was writing front end code and there’s this mysterious search bar where I can just type in what I wanted and let it generate html code for me. Then the next day I saw the tweet. I was honestly shocked and I checked the tweet time, it was definitely after I woke up, so there was no chance that I saw this thing before my dream.
And the shitty thing was that I was thinking about developing this after I woke up. This sucks -
Ok why tf are some apps that just generate random number need in app purchase? Bitch please?
You know what, I’m gonna write one, and I’m gonna make it free, tell me what features are needed, what I have in mind is: random number between, random N numbers between, random N numbers between without repetition, random from list with and without repetition, what else? Let me know.6 -
I need experts in supabase please
Here is the problem: I’m writing a chrome extension with supabase. Whenever a user log in, they will get a session. However, with chrome extension, that session is not stored after you close chrome. I can store the session in chrome local storage, however, after retrieving the session, how can I log in the user with the info? I cannot find any documents on this.
Please help4 -
So there’s this theory that given infinite time with infinite monkey typing, eventually they will type out the entire Shakespeare
I explained to my gf, I thought it was obvious but she said it’s not possible, and I had to emphasize that’s why it says infinite time.
Well then I thought, I’m gonna make a website where every x seconds it will type a character, and anyone on the website can also type one character every n seconds, and everyone will see the same sequence, on the side panel I will show what words those monkeys actually typed and maybe eventually, we can type out Shakespeare
But it’s also quite boring, tell me what I can do9 -
Darn!
It's simply the Parkinson's Law guys, it says that 'work' expands as until it reaches it's deadlines (if any), so for indefinite time, I guess I'll plan and admire many projects but COMPLETE NONE!
DEADLINES ARE NECESSARY,
else I'll keep kn moving from one project to another without any plans of completion :3 -
My first chrome extension is now out!
(Search for lazy leetcode if you are interested)
Please don’t review bomb it2 -
This is like a survey: for people Dodd research when in school, how much difficulty did you go through to find a good research position4
-
I spent 4 days making this:
https://txstc55.github.io/us_crime_...
Cleaning data, learning threejs, optimizing the search because threejs is slow as shit, etc
Tell me I’m awesome (please) -
So, what do you think as a perfect routine as a student and a developer ?
thankx in advance !
edit: mainly in quarantine ;)2 -
So I wanted to learn rust, and I was thinking: practice is the best way so naturally I went on to leetcode
After spending 4 hours to solve two questions I was like: fuck it, why do I need to go back and forth to the discussion page, why not just show it to me.
So now I spent 4 days to develop a chrome extension that shows the top 10 solutions in the discussion page for a specific question with specific language.
I showed to friend and she was like: you look at the discussion?
The moment I realized that I developed a hot pile of garbage3