News for hackers. Stuff that matters.

LandOfMightDev

Defect vs. Discrepancy vs. Missed Requirement

evening all. How does your team handle these situations where the AC is vague/does not specifically list out all of the requirements while the work meets the AC's as they are written but not as the product owner expected? My team has the habit of calling these defects & adding work to the original ticket. Also, when does a discrepancy count as a defect? For example a story AC lists "the...

( Read More... | no comments | on HN )
yes, the design team is laughing and having fun time with the high level managers & client while the developers are doing all the hard work and covering for their bs.

Designers changing mockups and calling correct & completed work defects

The business analysts write the ACs with generic "should match the approved mockups", we do the work, sometimes within the same sprint the designers edit the mockups subtlety (add a space, change a font size, change a few letters etc.) and then when the work is being tested, a defect always comes up. Sometimes this is months later and randomly we will have a regression in many spots. Normally...

( Read More... | 4 comments | on HN )
Re:How to handle manager adding AI bs to our codebase/designs etc. on Saturday September 19, 2026 @10:30PM (#49772024)
I use the AI as well, just as much as everyone else but for different use-cases & I actually read the code it writes & use my brain to figure out the best design patterns etc.etc. Im saying my coworkers aren't putting in any effort that's the issue. It's easy to just to spam the AI and get the work done eventually, but with terrible quality.

How to handle manager adding AI bs to our codebase/designs etc.

Joined the company out of college with like 5-6 years coding hobby projects etc. & started a year ago. I'm basically the highest performer in my team, get more stories & points/higher complexity tasks & have my work done way quicker with virtually no defects etc.etc. In comparison, most of the team spends like 2/3 the sprint getting their stories deployed & then up until the end...

( Read More... | 4 comments | 4 points | on HN )

Laptop touchpad stopped registering clicks? try this

pretty much every laptop i've ever had got this issue after about 4-12 months of use. clicks no longer registering, click like 3-4x to open an app, scroll is a nightmare etc. NOW THE FIX. At almost 1AM i get the idea that if I use my muscles and just bend the base (? part with the touchpad) outwards, it could fix the issue. after doing this for like 20mn and working up a sweat, my touchpad's as...

( Read More... | 1 comment | 4 points | on HN )
So basically, i built this platfrom/webapp that allows users to take a list of video URLs and convert into into a sort of live-stream. The only issue i had was that when I tried to embed it into static html pages as a video player, the top banner for "create channel" and "support" would show in the videoplayer, which just looked gross.

After searching online, most people just said it goes against CORS to modify the elements in the iFrame, so here was my solution:

```<div style="position: relative;overflow: hidden;"> <div style="margin-top:-80px;"> <iframe src="https://livechannels.pages.dev/(ChannelName)" width="1300px" height="820px" frameborder="0" allowfullscreen> </iframe> </div> </div>```

Basically, you just need to use two divs, one to set the overflow as hidden, and another to cut the portion of the page. In my case, I wanted to cut the nav bar, which was the first 80px at the top of the website. The end result was pretty much perfect.

Proof of concept websites:

https://animaxreboot.pages.dev/ https://cartoonnetworkhq.github.io/CartoonNetwork/

Re:Show HN: Created a Live Anime Channel, no server necessary on Tuesday October 28, 2025 @08:14PM (#45741054)
the live stream runs on its own, i dont host the files or have a server syncing the videos/serving. So basically, you can do this without any costs. Traditionally, you would need to use something like OBS and have a machine that both holds the video files, and "streams" them to clients.
Re:Show HN: Created a Live Anime Channel, no server necessary on Tuesday October 28, 2025 @08:08PM (#45741015)
forgot to mention, it also calculates the video position, to the minute by taking the time the channel was created, calculating the difference between the current time and the time the channel was created and taking the modulus of that and the total duration of all of the videos combined. You then use that to calculate which video should be playing and the difference between current time and the video duration is the position in the video that should sync.

Show HN: Created a Live Anime Channel, no server necessary

https://animaxreboot.pages.dev/

In short, I created an angular application that parses a list of videos into a json structure with the duration of each video and the position in the playlist. whenever a person loads the channel, it calculates the video that should be playing. So I just take the route (channel name), and embedded it into an html site, threw in a chatango embed chat just for good measure! No server needed and...

( Read More... | 3 comments | 2 points | on HN )
"weight loss of 2kg", is that a side effect or the result of improved depression?
Re: on Sunday October 19, 2025 @10:44PM (#45639811)
A few weeks ago I created the website livechannels.pages.dev which allowed users to create their own live-streaming internet channel from a list of video URLs. I remember watching ANIMAX as a child, then it disappeared, so i spent some time re-compiling all of the shows and creating a schedule/programming and here we are ! are created a live-streaming reboot style channel of Animax ! Enjoy, and feel free to make your own channels too!

Show HN: Create your own live channel from a list of video URLs

https://livechannels.pages.dev

With just a list of video urls, you can create a pseudo live channel. Like on television, the videos play based on a predefined schedule. This website will allow people to create their own channel just like on TV and have other users watch their channel, all from just a list of video urls ! No physical files necessary and no server-side processing.

( Read More... | no comments | on HN )
Re:Chinese internet is still in the 90s on Friday June 13, 2025 @05:41AM (#44267081)
Obviously I'm using a proxy to get on this website. But even without proxies it's still so slow.

Chinese internet is still in the 90s

Been here for almost a month now... The internet is tragically slow... Even loading chinese sites barely works... I'm using China telecom and this is ridiculous. I was in Georgia (europe) a few months ago,and the internet was like 10x faster. I don't understand how a country that's so developed could have slower internet than Georgia .

( Read More... | 10 comments | 7 points | on HN )
Re:Play retro arcade games in the browser on Sunday May 11, 2025 @08:15PM (#43958406)
doesn't work & also super illegal. Pretty much just pirated a shit ton of games and embedded them into a website. The controls just dont work and the website shifts whenever you try to move so it's just fucked
650 forks??
Re: on Sunday April 20, 2025 @02:30PM (#43745544)
You can look at the Repo and the actual game to see how it works in real time. https://landofmight.alwaysdata.net/

Before, there was no way to track the the state of the world after all player's logged off. Since i am using peer to peer (master - peer), there is no dedicated server, thus, no way to keep the game's state after the players leave. So i had this idea Friday evening. Basically, all i really needed was to record the NPCs stats (level, might, health), and their location. then every so many seconds, i needed to update it. When the first player joins, they will be the master client, and they will be the one keeping the server up to date & loading the world's state initially.

For example, player 1 joins, they are the master client now. Then, they play for a while, every 5 seconds the game does inventory and gives back all of the NPC's and their stats as a 2d text string array. This string array is encoded into a text file and sent to the github repo. 10 other players join (then due to other syncing I set up), they do not need to reload the world from the file, nor do they need to keep it updated (only one client needs to handle this).

Github allows 50,000 actions per hour, given that in order to update a file, you need to first pull the repo to see if a file exists & then get the file's sha. Essentially, you can have about 7.5 commits per second or about 133ms latency. Since only one client in the game is doing all of this, (updating the world's state, loading the world), there is no chance of exceeding the limit. Also, the latency for actually putting the file is normally around 400-800ms...

Yeah, also, the CDN will try to have give you the cashed version of the file, so make sure you force a new request each time you upload or the sha will mismatch. Also, when pulling the file, you may think that you can just use the raw url (atleast since it is a public repo), however, the CDN will just give you a shit copy of an older cached version.

So apart from all this, the hardest part is integrating it with webgl and unity. Unity is a piece of shit when it comes to networking, it does not support Asyn, so you need to use enumerators for everything.. Also, you cannot use any non-native networking modules. So everything must be done using UnityEngine.Networking. Lastly, headers are a joke in webgl, do not even try to use any headers other than Authorization and Content-Type or CORS will fuck you.

Now, the fact that you can do this is pretty cool. There are a ton of services that offer the same functions, yet charge alot. Even more, if you were developing a game that isn't super high-paced / a strategy game etc. Or you dont care about having potentially terrible latency (50,000 requests (2 requests per put), 133ms minimum delay, more users, less requests etc.etc.), so if your users can go with a 5000ms latency, this could be used for other multiplayer scenarios.

Tea vs. Rootbeer, what will destory your laptop the best?

Made some tea and got ready to study, immediately dumped the entire cup (12-14oz) of tea on my laptop. I turned it around and waited for the tea to drip out.Surprisingly, there is no damage.About a month ago, i did the same thing but with rootbeer,and it immediately killed the keyboard and touch pad.

( Read More... | 1 comment | 3 points | on HN )
Re: on Saturday February 22, 2025 @02:14PM (#43142106)
This is my game, I've been working on it for the last four years. All npcs have a rudimentary AI that allows them to progress like players, leveling up and increasing their stats. They will also occasionally form teams/groups (normally aggressive to all other npcs), based on might/score. Try it out.
Re:Land Of Might: Retro Browser MMO (no sign-up /download) on Tuesday February 11, 2025 @06:50PM (#43019892)
you can also take a look at the trailer here:

https://youtu.be/AE1WWjMpqCE?si=PAYp_T4Vg-7Iwwmu

Older »