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 - "tk"
-
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, unity34 -
Wrote some code during the break that transform an image to the following styles, is it good enough to post on github?22
-
starting to make a python devrant client and just got rant viewing working (but it looks like shit)18
-
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 -
I have my best moments but the first time I felt badass about computers was when I was at kindergarten.
There was one computer with one cool game with skateboard. I wanted to play but the other kids didn’t let me.
I thought that if it look like I fix the computer they will let me. I took me month or little more but I made shutdown bat(I didn’t really understood fully) and I added it to the game shortcut from usb.
One of the other kids started the game and the computer turned itself off. Hi tried a few times and then I offered to fix it, I created new shortcut replacing the “hacked” one and the game ran.
From that moment the computer and the game were always free for me.7 -
At the Samsung store:
Woman looking for a phone: Can you recommend me a phone by a picture of me?
Seller: Why not, show me the picture.
The woman shows https://devrant.io/rants/728524/... and the seller starts looking for something.
The woman asks: What are you looking for?
Seller: Note 7.1 -
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 -
This happend to me around 2 weeks ago. For some reason, I decied to post this now.
I won the lottery, yey! I mean, bot really, but I am <19yo student, "less than junior dev" in my office, but sonce I am the only one who is capable of working with hardware, I was working month back as a sysadmin for a few days. Our last sysadmin was really good working but really, really toxic guy, so he got fired on a spot after argument with some manager or whatever, no big deal, we could have another guy hired in a week. But, our backup server literally was on fire, all data probably dead because bad capacitor or whatever. This was our only backup of everything at the time. Everyone in full fucking panic mode, we had literally no other working HW we could use for backup, but then comes me, intern employed on his first dev job for 3 months. That day I bought some HW for my own personal server at home (Intel NUC with some Celeron, 4GB DDR4 RAM and two 240GB SSDs for RAID 1. My manager asked everyone in the office for sollution how to survive next 4 days before new server arrives. People there had no idea what tk do and no knowedgle about HW, I just came from a break and offered my components for a week, since there was noone else who can work with HW, servers and stuff like this, manager offered me $500+HW cost if I, random intern, can make it work. I installed Debian on that little PC, created RAID1 from both SSDs, installed MySQL server and mirrored GIT server from our last standing server (we had two before one of them went lit 🔥), made simple Python script to copy all data on that RAID, with some help of our database guy copied whole DB from production to this little computer and edited some PHP so every SQL request made on our server will run on that NUC too. Everything after ±2 hours worked perfectly. Untill a fucking PSU burned in our server and took RAID controller with him in sillicon heaven next night, so we could not access any data unltill we got a new one. Thanks to every god out there, I was able to create software RAID from survived HDDs on our production server and copy all data from that NUC on the servers software RAID and make it working at 3 AM in the night before an exam 😂. Without this, we would be next ±40 hours without aerver running and we might loose soke of our data and customers. So my little skill with Linux, Python, MySQL and most importantly my NUC hardware I got that day running as a backup server saved maybe whole company 😂.
Btw, guess who is now employee of the year with $2500 bonus? 😀
Sorry for bragging and log post, but I was so lucky an so happy when everything worked out, good luck to all sysadmins out there! 👍
TL:DR: Random intern saved company and made some money 😂7 -
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 -
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 -
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 created a mesh viewer
In terminal
With matrix effect
YouTube: https://youtu.be/K3ejiVEERcM
GitHub: github.com/txstc55/matrix_viewer6 -
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 -
I am Done! I am extremely burnt out and unhappy with my work. I have been doing this professionally for over 5 years now and much longer than that unprofessionally.
This new company I joined finally gave me the salary I always dreamt of but now I am extremely unhappy and depressed and anxious all the time. And I don't like the work I am doing. I don't like the team. I hate being isolated at home for over 2 years, working from home. I had a mental breakdown in the middle of the meeting the other day. And after that, I said. that's it. I am done. So, I gave the resignation letter. I don't know what I am gonna do. But I sure as hell can't do this shit any longer. But now, the fucking hr is making it even more difficult for me by not letting me leave without serving the notice period. I told her I am on fucking medication and I am having severe mental health issues. Now, she wants to see the medical certificate. Or I have to pay two months' salary. WTF? If I had that kind of money lying around, I wouldn't have slaved myself away at your shitty company, would I?
I went to my psychiatrist whom I have been seeing consulting for the last couple of years now. I asked for a medical certificate and he thinks it'll hamper my future career. So, he said I should get a certificate from a general physician. So, that's the world we live in then? You can't even speak the truth? And the way HR is behaving over the mail makes me feel like a total slave. I mean I am not at all fit for work these days, and it feels like, if she had her way, she would tie me down to a chair and ask me to push out code. what the fucking fuck. This is some fucked up industry and I think I am finally done with software development. But now, I don't have any idea what I am gonna do with my life or how am I gonna earn money. I am so burnt out and anxious that even the thought of working again gives me panic attacks. even working from home. What the fuck do I do?8 -
*me* finding solutions on StackOverflow, Medium, API Docs for hours
*senior dev* walks in and changes one line of code
*works* O.o4 -
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 -
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 -
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
-
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 -
Applied to a Jr. Dev job and was hired as a Digital Marketer — I can deal with this, I’m AdWords & Analytics certified. What I can’t abide is that I spent the last year working my ass off learning to code and the person next to me with the Jr. Dev position only uses DIVI and has zero inclination to study, learn or write basic HTML & CSS—much less PHP. I’m not an expert by any means but I love programming, I love the problem solving, the challenges and the culture of it all. So far, and these are only two examples, I’ve shown him how to use the target attribute to open a page as a new tab, and how to register a nav in the functions.php file to create a menu but he is unwilling to even attempt it. Rather, he told me that I was too technical and that no one would be using code in this day and age.
For the record, I think DIVI is a cool platform, it’s clear that my boss knows nothing about code to be fair and I love my job— this is my only issue so far😂 I just needed to rant.5 -
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, this is probably somewhat esoteric but...
While studying at university I had a "programming paradigms" module, dunno why they called it that, it was more like "introduction to functional programming".
So, it's kinda mind bending, we'd only really started to get our heads around classical object oriented programming and they throw functional programming at us.
It's worse than that though, for do they use an established language, like lisp/scheme, functional Python, or even given Haskell?
No, of course they didn't. They taught us Oz.
You probably won't have heard of it, but this language is burned into the back of my brain, along with a vague understanding of the n-queens problem we had to solve graphically (using qTk, which I dunno if someone took qt and tk and blended them, I stopped asking questions after a while).
To top it off did this language (at the time) have a stand alone interpreter? Did it buggery! It was coupled to the Mozart programming system, which is just Emacs (which has a bloody lisp built into it,so close, yet so far 😭).
It gets worse, though, oh does it get worse, for pause dear reader and consider, have you ever heard of Mozart/oz before, I'd put money on most of you had not heard of it until today.
For, you see, I believe at the time of writing, one, yes, ONE text book exists on this language. When I was doing my assignment there was merely some published conference notes and language design documents.
That's not all, I was not the only one experiencing difficulties with this language, someone in the class ended up pouring through the mailing lists and found the very tutor teaching the class struggling at first to understand the language.
I had to repeat that year. The functional programming class was one semester.
When I retook that year, it was a whole year long. However, halfway through the year, original tutor was fired and a new tutor was hired to teach the language.
He was, understandably, just as confused as we were.
There was a Starbucks and a pub equidistant from the lecture hall, though in opposite directions. From lecture to lecture we had no idea which one we'd end up in.
I have reason to believe Mozart/Oz it some sort of otherworldly abomination designed to give students the occasional nightmare flashback, long after they've left.
My room had post it notes, sheets of paper, print outs, diagrams, doodles and pens, just stuck to the wall, I looked like a raving lunatic three hours away from being institutionalised. There was string connecting one diagram to the next and images of a chess queen all over. As I attempted to solve the n-queens problem.
Madmans knowledge, I call it. I can never unlearn all that, in fact it seeps into much of the code I write. Such information was not meant for the minds of a simple country bumpkin such as myself...
Mozart/Oz... I wouldn't be the programmer I am today without it, and that's frankly terrifying...10 -
For anyone wondering "rm -rf /" on a jailbroken iOS 12 deletes many of the system apps and services but device is still kind of usable without too many crashes, still managed to set boot nonce and restore (thank god).2
-
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 -
I'm getting convinced that some areas are not teachable. You have to learn it by yourself. Databases (sql), for instance, the teacher never manages to get the class attention. Even I that consider myself a very interested guy can't handle 2 hours of his explanations. I tried to think in a better way he could teach the content but don't really think there is one ..Do you guys faced issues like that in school?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 -
The personal trainers in the fitness that I go to are graduated programmers(.net, javascript, sql...).
During rest I can talk about something I love to people who understand me, guess I am lucky. 🍀2 -
Installed Manjaro KDE, updated macOS, updated Windows and fixed the mess in the EFI made by those actions.
And now it’s time for screenshots: https://imgur.com/a/KviNx
(high-res imgur link)4 -
I am good to the programs I use.
I give the all the needed ram.
Except Android Studio, I don’t have a fucking server.7 -
My manager's boss just commited on a delivery date a month from now. We dont know what is to be delivered, nor does the client. We are supposed to work on a platform that we know nothing about. And of course the catchphrase is : yeah just use big data and spark. I'm dying...5
-
At school I was excited when our teacher said he will teach us programming with VS.
I was expecting C# to show my skills but the he showed us a big book about Visual Basic with VS Express 2010.
I was literally dying.5 -
Who else hates tutorials.
They are made with so much text and outdated code that it’s better to write the thing needed by yourself and stack overflow.🤔4 -
Now my facebook messenger app does it's updates inside the app without my consent to install an apk.
I'm scared6 -
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 -
!rant
Found out about JetBrains student program and asp.net unix support and now I am the happiest person on earth!😊🙂😋 -
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 -
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 -
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 -
First day at work, my PC starts updating, reboots and suddenly, the boot partition is corrupt.
Nice way to start in Dev.3 -
Android flow I’ve found(fixed in android 8, working on 7.1.1):
To make app uninstallable by the normal user make the app device administrator, add “android.permission.SYSTEM_ALERT_WINDOW” to the manifest and make sure it’s not granted by the user.
Now when you try to uninstall the app, it tells you to disable it from device administrators but the device administrator disable dialog is System Window handled by the app itself and if the app has this permission but not granted, settings will crash with SecurityException leaving the app untouched.4 -
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
-
My password manager!!
I use passwords I can never remember, stay logged in, next time I need to log_in I use the passqord forgotten button, reset it with my e-mail or better phone2 -
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 -
Soon every hacker can move to Toronto and play real-life Watch Dogs.
https://amp.theguardian.com/comment... -
Started learning Python from Java, C#, Objective-C, Swift.
It’s like Rocket Engineer who have to build a car. It’s easy but you have to learn almost everything from the beginning.6 -
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 -
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 -
I heard Google has prepared an AI for solving competitive programming questions by training models based on problems and solutions from GitHub.
*devil smile*...on my way to flood GitHub with wrong solutions. Ciao!6 -
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 -
What do you think about swift?
Does it have future?
It went open-source and is very fast and easy.
I found this project which brings swift to the server side in linux and mac: https://www.perfect.org/ and it seems promising.10 -
Everyday I go on Reddit to find memes, and share it with my girlfriend. Maybe I should build a website for this?11
-
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 -
Let’s make statistics about from where are the most people out here.
boolean added = false
for (Comment comment: rant.comments) {
if (comment.text.contains(yourHomeland)){
comment.upvote();
added = true;
break;
}
}
if (!added){
rant.writeComment(myHomeland);
}16 -
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 these same mother fuckers that think 8:00 is reasonable time for a meeting, have decided that the health checks need tk be done by 7:00
But no, I must just be grateful to have work2 -
Google suggested me some article about how to preorder iPhone 8 and 8 plus.
To all devs who want to know my trick:
just buy second hand iPhone 7 or 7 plus and say it’s iPhone 8.
This is written by an iPhone 7 plus user and I suggest you if you want good look and functionality - buy OnePlus 5.2 -
**Sees a different error after hours of debugging the previous one**
ME (crying inside) - What type of sorcery is this?3 -
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 -
When it’s 3am and you are working on an exception for more than 2 hours and have optimized your whole code just to be sure and remember you are writing swift not java: some ints have low max value like UInt8.3
-
It is really frustrating when you have deadlines to meet,and need to fix issues with the tools instead of actively produce something. A whole day lost.4
-
For all the cheap-ass sys admins:
I wouldn’t pay 100$ a year to apple just to have push notifications when my server fucks up or an user fill my support form but I want to know that in real time but I have iPhone(forget about FCM).
So I downloaded pushbullet to my phone and integrated its API in my server and when something important happen I get completely free notification which (thanks to url schemes in ios) redirect me to my server administration app.
Note: I used xamarin for my management app to be ready for the moment when I switch back to android.2 -
It was the last year of high school.
We had to submit our final CS homework, so it gets reviewed by someone from the ministry of education and grade it. (think of it as GPA or whatever that is in your country).
Now being me, I really didn’t do much during the whole year, All I did was learning more about C#, more about SQL, and learn from the OGs like thenewboston, derek banas, and of course kudvenkat. (Plus more)
The homework was a C# webform website of whatever theme you like (mostly a web store) that uses MS Access as DB and a C# web service in SOAP. (Don’t ask.)
Part 1/2:
Months have passed, and only had 2 days left to deadline, with nothing on my hand but website sketches, sample projects for ideas, and table schematics.
I went ahead and started to work on it, for 48 hours STRAIGHT.
No breaks, barely ate, family visited and I barely noticed, I was just disconnected from reality.
48 hours passed and finished the project, I was quite satisfied with my it, I followed the right standards from encrypting passwords to verifying emails to implementing SQL queries without the risk of SQL injection, while everyone else followed foot as the teacher taught with plain text passwords and… do I need to continue? You know what I mean here.
Anyway, I went ahead and was like, Ok, lets do one last test run, And proceeded into deleting an Item from my webstore (it was something similar to shopify).
I refreshed. Nothing. Blank page. Just nothing. Nothing is working, at all.
Went ahead to debug almost everywhere, nothing, I’ve gone mad, like REALLY mad and almost lose it, then an hour later of failed debugging attempts I decided to rewrite the whole project from scratch from rebuilding the db, to rewriting the client/backend code and ui, and whatever works just go with it.
Then I noticed a loop block that was going infinite.
NEVER WAIT FOR A DATABASE TO HAVE MINIMUM NUMBER OF ROWS, ALWAYS ASSUME THAT IT HAS NO VALUES. (and if your CPU is 100%, its an infinite loop, a hard lesson learned)
The issue was that I requested 4 or more items from a table, and if it was less it would just loop.
So I went ahead, fixed that and went to sleep.
Part 2/2:
The day has come, the guy from the ministry came in and started reviewing each one of the students homeworks, and of course, some of the projects crashed last minute and straight up stopped working, it's like watching people burning alive.
My turn was up, he came and sat next to me and was like:
Him: Alright make me an account with an email of asd@123.com with a password 123456
Me: … that won't work, got a real email?
Him: What do you mean?
Me: I implemented an email verification system.
Him: … ok … just show me the website.
Me: Alright as you can see here first of all I used mailgun service on a .tk domain in order to send verification emails you know like every single website does, encrypted passwords etc… As you can see this website allows you to sign up as a customer or as a merc…
Him: Good job.
He stood up and moved on.
YOU MOTHERFUCKER.
I WENT THROUGH HELL IN THE PAST 48 HOURS.
AND YOU JUST SAT THERE FOR A MINUTE AND GAVE UP ON REVIEWING MY ENTIRE MASTERPIECE? GO SWIM IN A POOL FULL OF BURNING OIL YOU COUNTLESS PIECE OF SHIT
I got 100/100 in the end, and I kinda feel like shit for going thought all that trouble for just one minute of project review, but hey at least it helped me practice common standards.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 -
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 -
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 -
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
-
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 started studying programming last year, currently learning c# and c++ at college (even though I'm a 29 years old electrical engineer.. long story...) any advice on how to start looking for internships and jobs? I feel very lost on how to proceed to gain experience and feel that many of my colleagues have the same issue. Thanks4
-
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 -
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 -
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 -
Working on FCM today and actually this is not rant. 😃 🎉
Google documented everything correctly and everything is understandable. -
It was when i was 4th grade. We had windows 95 computers in school. I used tk do assignments on them and submitted with a floppy disk. Yeah, copy paste started there...
-
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 -
Opened up my laptop to install faster wifi card with macOS support and it turns out that I have m.2 type connection ready for ssd.
These fucking idiots in Toshiba have never said anywhere in this laptop’s specs that it supports m.2.
I bought 128gb ssd and installed it.
Fast af boie and no problems booting from it.2 -
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 joined this digital agency where they are working on this ad-tech product and right from day one, I was given a task to implement a new feature on the product. No knowledge transfer. No onboarding process. So, I had given estimation about the task and apparently it took longer than expected. But what were they expecting. Anyways, my manager asked me to have a KT with the only senior guy that has been working there for last couple of years. And man, since the KT started, it's been hell for me. The guy is such an asshole and won't even give me a basic walkthrough of the system. He only took one call and that ended within 30 minutes. On top of that he went ahead and told the product manager that I am not keeping up and am not ready. And my product manager apparently wants me to take his place within a month. It's been only two months since I joined. I have already pushed two major features, tried to understand the system architecture, codebase and everything on my own. On top of that, I got yelled at by that senior dev in a meeting about a PR. I was quite confident guy when I joined and now I am anxious everyday at work and i am scared that they'll let me go because I won't be able to meet their unrealistic expectations. I also can't stand this senior dev and he can't stand me which makes me really demotivated to work. I have anxiety issues and now I am thinking if I stay, I am gonna mess up big time and they'll fire me or worse. I might break something in production because I didn't have proper onboarding.2
-
Went from notepad++(and it’s mac equivalent Brackets) to Dreamweaver CC and VS Code.
Feels good man!11 -
idk why, but why focus so much on internal stuff that never will be public...this is also my favorite quote1
-
So this is my conversation with my friend today, I feel so dumb.
*out of curiosity, after seeing his PC application*
me: Hey bro what make the GUI so simple what you use?
friend: theek hai.
me: Seriously bhai, what you use?
friend: I just told you ! I said theek hai!
me: *confused and thinking,*, what library for which language ?
friend: python bro.
me: *finally realise* you mean TK? omg..
friend: that's I was saying bro.
well i messed up hindi and english what is wrong with me?4 -
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 am now going to attempt the problem solving ritual.
Requirements:
-have a problem or piece of unoptimized code and you don't know how tk fix/improve it
-be able to sleep/take a nap
Now before I fall asleep the ritual should provide me with an epiphany to solve my problem
Plan b:
I have a class ninja (model), with an observablecollection<property> properties and an observablecollection<gearslot> gearslots;
,a class gear with an observablecollection<property> properties and an Category category:
And a class gearslot with a Gear gear and a Category category;
Via entity framework this results in several property entries per ninja
And several property entries per gear item
All good so far.
I now actually want the ninja property values, to be the sum of the gear property values
So a ninja has int, agi and str of 0.
Gear has 0 or more stats.
If the ninja has two pieces of gear on with agi +1, then the ninja agi should be 2
If possible i would like the logic in the model.
Else i have to put it in the viewmodel.
That i can figure out, its just so inelegant.... -
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 -
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 -
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 -
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 -
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 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 -
Ported proprietary Chinese dll for specific device hid control and my windows program around it to macOS using swift.
Yeah that's pretty much how I feel. -
Ok, OnePlus nice fucking job!
I receive all of my notifications even during night and I lose around 4% per night - this is almost iPhone level!5 -
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 -
When something worked perfectly yesterday and now it’s just fucked up without touching anything:
Cause today
That was yesterday
Yesterday is over
It's a different day
(Love The Way You Lie - Eminem)1 -
Switched to LG G5 from iPhone 7 Plus.
Lg's screen has burn in and took me about 10 hours to completely fuck it up, restore it, flash crDroid(Lineage os based, the only custom rom working fine so far) and workaround the faulty wifi chip giving null mac address by faking it.
Still love my new(old) phone more than the iPhone.2 -
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 -
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 -
So happy!
I made my first project (or at least started) using my iPad (with some help from my laptop).
I am trying to make it possible for web comic artists to upload their comics without any text in the speech bubbles and then load the text using javascript for the specific locale.
It’s in an early stage (a few hour old) and the editor and the viewer share data only with cookies and local storage instead of a server but it's still a concept.
What do you think?
Github: https://github.com/konstantintuev/...2 -
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.
-
Made a root only app: enable/disable GPS, mobile data, airplane mode and etc. work on not rooted device(yes all these functions work too).
How: Desktop app which downloads cross-platform ADB drivers, unzips them, executes a few commands, deletes the drivers and voala.
P.S: I use local ADB TCP connection(yeah I ported a part of the drivers for java android) and write_secure_settings granted with 'pm grant'.
And everything is user-friendly with screenshots explaining how to enable ADB and how to click a 2 buttons.3 -
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... -
So, I got hired as an independent contractor and the first thing they do is put me on a trial period which will be paid if I am able to complete the tasks. But, they said they'll pay me if I complete the tasks provided each day and not hourly. which is fine except the tasks for one day is impossible to complete in a day. Now, I am not sure if it is a big prank or they don't know how much time it takes to implement something like that. Or are they willingly trying to fail me to see my limits? because as far as I can tell, the tasks are impossible to complete in a day and I don't know what am I gonna report in the next meeting. I don't have much experience being in these kind of situation. So, what should I do? should I tell them that it's gonna take more time? are they expecting me to tell them that or should I just shut up and try my best to finish it in a day? is this fairly common?4
-
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 -
been exploring the options for cross platform desktop app, and i found :
java : both awt and swing look ugly, i really like OOP of java, and the way projects are organized is easy to scale, but i need to deploy the jdk, and the speed on gui apps isn't that great
C# : (.net/ mono, i can't grasp F# and vb is stupid) looks native on windows, not so much alien on both linux/mac, and being a java cousin is a pro, i found the Eto library for mono even looks more native on *ix than winforms
wxwidgets: for C/C++ so far this looks like the best option for total native feel and performance, but man i fucking hate C code, and this looks a lot like C code, even with proper native Cpp support, maybe i should dive deeper in it
GTK+ : did any one mention C code ? because this mother fucker is plain C with macros all over the place, it made me realize why wx is promoted as Cpp friendly, i doubt I'll use this
tcl/tk : even tho ive never wrote a single line of tcl in my life, the tk lib is the default ui for both python and ruby on all supported platforms,
and i really love ruby, and Python is Usually a joy to work with
Qt : this by far looks like the best option, proper OOP in C++, bindings for python (ruby binds are outdated), almost native look and feel on supported platforms, and even has a gui builder in xml or json/js (qml) however i bet I'll use such a thing, the building tho depends on an external preprocessor "moc" and some wicked macros, also makes working with templates a fucking mess, and the heavy dependence on QObject inheritance makes integrating external libraries a bit more tiring, the signal slot system makes more sense in python than in C++, since it makes me confused about the flow of the code
lazarus: is a freepascal implementation that looks and feels like delphi, not so much for native look and feel, but good performance and easy language to handle
electron : this fat mofo is fat, it's the slowest of all options, if i want an html app, I'll just compile a stripped down webkit and deploy that
what do you think ? and did i miss something ?17 -
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 -
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 -
aight cool so this is fucking stupid thanks Tk
my python teacher is putting us through Tkinter right after "this is how to do basic math" in a class meant for those with no programming knowledge at all
and i remember now why i only do CLI
i've got 2 lines in a func (because "command" params in Tk are fucking retarded), the first changes the text on a button and then the second does shit with os.system ("have this button change this other button then do *something*" ok sure) and yet the button's text does not update until AFTER THE OS.SYSTEM COMMAND FINISHES. I can't even insert a moment between them for it to update in case it needs a sec as time.sleep does *FUCK ALL*
fuck tk, luckily we're gonna move on to files next
(goddamn prereqs, sticking me in this shitty class...)8 -
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 -
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 -
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.
-
Just after feature launch, major bug on production and now I am getting yelled at by my lead as the issue happens to be with the PR i was responsible for reviewing yesterday. Somehow a logic error got past my review. But considering how large the project is it wasn't possible for me to test out every possible scenario myself. They should have had QA handle that. Also, that was my first code review. I can't understand why my boss has such unrealistic expectations. Bugs are expected at this stage. I feel like he just puts too much pressure on me for no other ther reason other than to just trigger my imposter syndrome. That way, I feel like a bad developer even though I am working my ass off. And he gets to avoid giving me a raise. Cant believe I rejected multiple offers to stay at this company. I don't even know why am I still working for this company anymore.4
-
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
-
I think i have fallen into clinical depression becahse i am uncontrollably crying while writing code. I am having so many bugs i dont knkw hkw tk fix. I published my app to google plah store and the registration doesnt work. On app store cant be even published. After 4 years of development i failed i am so sad and depressed3
-
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 -
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 -
Has anyone tried kivy for android on a mac using the newest android sdk and ndk?
If the answer is no, god bless you and your unhurt soul.2 -
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 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
-
Is there a way to dynamically change your IP address while scraping website so that you don't get blocked cojstantly7
-
Finally finished my macOS+iOS project.
Mac app which play your YouTube playlist while displaying changeable image next to the player with the workout you are doing. It has features like:
-saving workout details in calendar
-download the currently playing video
-remove song from current playlist and add it to playlist with Old songs
-save the remaining songs of the playlist shuffled to new playlist to listen to them from your phone while you take a bath after the workout for example
-the app detects three playlists based on the description:
*”music” in description for Music playlist
*”newest old” in description for Old songs playlist
*”rest songs” in description for rest songs playlist(the songs you didn’t listened to from music playlist, this playlist is auto generated on exit if you want)
-the app can play any playlist or video from YouTube sent by the iOS app over tcp and add a song to your Music playlist if you liked it.
The iOS app features:
-gesture control for the main app over TCP
-chart for the weekly calorie burn retrieved from calendar.
View images: http://imgur.com/a/likbS -
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. -
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 -
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 -
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 feel like being expected to handcode a user interface by supposed progressives is the most ass backwards idiotic tech decision with long and wide ranging consequences anyone ever farted out of the asshole god bored into their ugly faces!
Why the hell would I want to use web when I could use windows forms ?
Why is there no equivalent to the visual designer that's usuable ?
I mean I get it for more customized things
But why would I want to fuck with css when instead I could do about the same thing and store them in a settings file and point and click on a series of dropdowns and see the results as I create them ?
Why would I want to fuck around with an interface a resize destroys ?
Why would I want to mess with html tagging or tk or tcl containers when I could just drag an item into a window and update it's properties and add some fucking event handlers the stubs of which are automatically generated by a single DoubleClick??!!??
I hate it
It's slow
I want my fucking ui to be done quickly !
Am I just missing some vital tool that costs 5 grand ?16 -
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 -
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 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 -
I was discussing with fellow students at college level about which technology to focus for web dev. Angular, React or Vue.Js. Would like to know external opinions about that :) any advices?5
-
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 -
So you know those movies where the girl fells in love with the bad gay(kidnapper, thief...) and she doesn’t want to be saved.
Same relationship with me and JavaFX.1 -
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 -
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.
-
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
-
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 -
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 -
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 -
As a senior developer with a couple of years under the belt, do you think having an active Instagram, YouTube and Facebook account is necessary? Does It help professionally at all? or am I just wasting time that I can use elsewhere?
I am thinking about launching my own SaaS in the future. But as a developer, does social media presence impact in any significant way in your professional life?
I am kinda getting addicted to posting setup videos and reels on Instagram. I don't have an end goal in mind. I just find it a way to express myself. But sometimes even I get cringe seeing my own posts. I was thinking about ditching IG and Facebook and twitter and go back to writing blog posts or something.3 -
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 -
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 -
!dev && dev_workflow
Hey guys, what are your favorite truly wireless headphones?
For context:
- my OSes: Android (phone), MacOS (laptop), iOS (tablet).
- my getting in love with wireless audio story: I have been using some Chinese ones off AliExpress just to test out the truly wireless waters, their sound quality and pairing experience especially on Android is pretty shit but the ability to forget that you have headphones in your ears and just listen to music obstruction-free is 🔥 but they are now dying so I am looking for a replacement.5 -
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 -
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 -
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 -
I think for this one i had higher expectations which let to me being disappointed. Was a fun experience nonetheless.
So i am junior dev in a bigish company and i am pretty comfortable where i am, its challenging enough and fun enough. Pay is fine nothing out of ordinary but perks are nice.
But this job is the one i got out of college and it did feel that i got really lucky as i was preparing for leetcode and what not but the interviewer was pretty linient and asked me technical questions out of my cv. The questions were mostly about what i used and all felt quite easy and i was offered a role with a decent salary. Since then i have been working and learning and thing been pretty stable.
Recently i was hinted at a promotion by my manager so i have been working towards that. I have in the past got a lot of messages on LinkedIn from different recruiters but never tried because i was satisfied with my job and my visa condition made it a little tricky to hope jobs ( i work in eu as a non eu citizen). But i did fantasize that if i could just get an interview with a decent company and clear the technical round without much preparing and get offered a decent package just to inflate my ego and maybe use that to increase my current package.
So i got another message on LinkedIn and a startup was looking for a developer and i gave it a go. I asked the recruiter what is the expected compensation and he instead asked me. I said i want a big enough increase tk even consider leaving my comfortable spot, so i am looking for more than 35-40% increase If they can then i am willing to try. The recruiter said that their range is between 25-35 but can try 40 if the interviews goes well.
I went ahead with it and gave the interview, the first one was simple and the next one was supposed to be technical and was told its not leetcode but i will have to implement a feature into a project live on the video call. Which i did with some success, i was quite clumsy but i was able to do it with tests passing sl i guess that was fine.
I was really happy that i didnt prepare much and still passed a tech interview. I was recently told about the offer, its around 40% more than my current but there are no yearly bonus or even health insurance. If i consider the bonus and health insurance then the offer becomes like 20% increase. Considering i am already expecting a promotion and some salary increase this offer seems really lack luster.
Just wanted to talk about all this, can you get a really big jump generally or is it only 15-25 ?1 -
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
-
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 -
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. -
So, I have joined this new company where I used to work few years back. Something happened before I rejoined, so no one is working there now except me. It's web agency run by my boss and I am the only employee working on over 7 projects including front end, back end, mobile, devops, and some marketing also.
Now, I got offers from couple of other series a funded startups who are willing to pay me 30% more salary. I know I will have less responsibility and more work life balance. But I hate the politics in those companies.
My current company is making good revenue but my boss isn't giving me the salary I am expecting.
He said it will take few more months to give me the salary I demanded.
I also want to build my own company and provide services someday. That's why I thought it'll be better to stick with the company so that I cam learn other aspects of the business.
So. If the company is making say over 200k usd a year and its paying me around 23k usd per year, isn't this kinda low salary for my experience, skills and value I bring?
How should I go about asking a raise?
Also, I don't wanna move to another big tech company. I hate coding questions in the interview as its been years I have prepared for a proper tech interview.
Also, how secure do you think my job is? Is there any future working here? Will I ever be able to reach a salary comparable to big tech companies?
Is it a good place be in right now? (i jave over 5 years of experience)5 -
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
-
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 -
For the people investing in crypto: http://imgur.com/a/C32Taqt
A small reminder I made in IT class of course using the best programming language of all times about the best coin of all times. -
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 -
A question for people who are active on the open source community or anyone who succeeds in crwating some small personal coding projects.
How do you do it?
Do you have any advice on how to be more efficient when working on personal projects?
Each time I get an idea i try to start it but just give up or get discouraged by some related setups.
Also how do you find interesting existing projects to contribute to?
Please help. I wanna do more but never do anything. Am I alone in this situation?? I dont wanna get stuck in this loop anymore.2 -
i always get sucked into this "cute code" hell whenever i am working with a b2c codebase, and especially with kotlin code.
here's a scenario:
task : build a debounce logic for an input view where each user input is currently triggerring an api call.
my steps
1. read what debouncing is.
2. see if any code is available on the internet
=> found a code piece on the internet with some level of abstraction ( basically a simple final class that implements the input event callback and encapsulates the debounce logic)
3) copy it, run it , it wokrs
------
for any sane coder, these steps are hardly 10-30 mins and they can move on with life. but its your truly that made this task into a 6hour research only to come up at similar solution. my curiosity led me to stupid places
1) why this class is final? what if someone else wanna use it but with a different behaviour? lets try open(non final class) .
2) why even use a class? it extends an interface, lets try to wrap the logic in interface itself (kotlin supports interfaces that don't require implementation)
3) umm , the interface works but it looks ugly, with all its global overridden variables. what about we make it extension?
4) yeah the extension approach is also not very good, lets go back to open class.
5) but extend is super nice to look! lets keep the extension and open class too
6) can we optimise the implementation? why it uses an additional handler? what if we provided everything in constructor? how about builder pattern?
FUCK MY BRAIN! there are so much fucking options that i forgot that i spent 4 hours on this small thing
the simplest approach would have been tk just shove all the listeners and everything in activity and forget about it :/
senior devs on this platform, how do you stop yourself from adding every concept that you know into the smallest possible task?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 -
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
-
My first chrome extension is now out!
(Search for lazy leetcode if you are interested)
Please don’t review bomb it2 -
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) -
I'm using Fedora 25/ pre-release, and It's rock solid except for wifi hotspot and I don't need it.
Now my school gave me a Windows 10 pro key, and I'm hesitant.
Should I install it ?
Will I need it ?5 -
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