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 - "aks"
-
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
-
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, unity34 -
Wrote some code during the break that transform an image to the following styles, is it good enough to post on github?22
-
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
-
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 -
I honestly don't get too mad when people aks me to do things like install programs for them. This is not my dayjob, but when you think of it, they're right when they say "you are a programmer so you must know how to do that". We do know how to do that. When you have a question about plants and you know a farmer, you are going to ask the farmer, even though he is not a gardener. He will know. Just as we know how to use computers very well.2
-
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 -
Now here comes my first zsh shell plugin. Its called dogesay and it will repeat your command with much, wow, nice...11
-
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
-
I created a mesh viewer
In terminal
With matrix effect
YouTube: https://youtu.be/K3ejiVEERcM
GitHub: github.com/txstc55/matrix_viewer6 -
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 -
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 -
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 -
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 -
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 -
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 -
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
-
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 -
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 -
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
-
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 -
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 -
Went to a GDD Extended event for the first time. All they told was
repeat
{
bla bla bla
Google
bla bla bla
}1 -
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 -
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 -
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 -
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 -
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 -
Everyday I go on Reddit to find memes, and share it with my girlfriend. Maybe I should build a website for this?11
-
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 -
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 -
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 -
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 -
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 -
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 -
"please like our new post on LinkedIn"
AGH fuck off asking every employee to like your shitty "oh we hired some one new" posts
I don't fucking care that it then seems like an active company. I like shit only if I actually like it... Not some boring ass shit post
Also stop trying to micro manage your employees... Like actually wtf...1 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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'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
-
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 -
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’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 -
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 -
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 -
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 -
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 -
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 -
So another story of our stupid trainee, this fucker talks to a customer while i was comming back from my lunch break. He aks me if i can tell him how to fix the problem of the customer. I walk over to his place and look at the error message. It says: "Tag: customer_country is missing. Needed by supplier". Sometimes i wonder why this dude is even here.
-
Sharing is caring, and continuing the streak, I have 3 invites to enki with the code: ASABE108
Enjoy :)4 -
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 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 -
People are saying to improve you need to ask questions. In case you don't have friends that are in IT, who do you aks questions? Those silly ones that google can't answer? I don't want to go to SO, that place is toxic, and asking a dumb question on devrant feels like a waste of peoples time as well. Is there a platform for alone-ish developers to ask more experienced devs questions? without being shamed to death?5
-
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 -
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 -
Non-programming related rant:
I didn't have a profile picture of facebook. So, I put one & removed the update post from timeline.
Still getting likes.
I don't want them *fb.2 -
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’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 -
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.
-
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 -
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 -
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 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 -
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 -
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
-
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 -
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 -
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
-
Is there a way to dynamically change your IP address while scraping website so that you don't get blocked cojstantly7
-
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 -
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 -
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 -
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 -
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 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 -
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 -
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 -
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 -
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 -
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
-
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 -
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 -
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 -
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 -
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
-
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 -
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 -
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. -
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 -
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 -
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
-
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 -
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 -
Why the fuck doesn't Docker mount a volume unless the container is privileged? My host is not even Linux. What sort of privilege does a Linux container obtain on Windows when executed with --privileged?
If I was ten years younger I'd start writing my own wrapper for CIFS... Too old to care these days... Gen Z kids can find a way to run a privileged Docker container on AKS for me.1 -
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) -
My first chrome extension is now out!
(Search for lazy leetcode if you are interested)
Please don’t review bomb it2 -
I started a side project recently:
Open Source 2D MMORPG with K8s in Azure (AKS) and Unity:
https://youtube.com/user/...
https://github.com/KDSBest/...