HNHacker News
TopNewBestAskShowJobs

mmis1000

1,199 karma · joined September 19, 2018

submissionscomments
mmis1000··on Notepad++ hijacked by state-sponsored actors
Like… browser? Or anything with script loading capabilities like script engine in games. Executing remote script is almost unavoidable nowadays.

And there isn't really a way to confirm if it is configured in a secure way.

You either trust the developer or not.

mmis1000··on Valve facing UK lawsuit over pricing, commissions
Valve actually don't forbid you to apply DLC distributed outside of their platform to apply to game you bought on steam though. There are tons of visual novel game distributed this way. Main game on valve and adult DLC on dlsite...etc only.

Besides that, almost all online game except for a few provide item though the in game store. I don't think they even need to pay for a cent to valve unless they want to use steam checkout service.

I wonder who ever used Steam would even buy this argument. It looks totally non-sense to me.

mmis1000··on The browser is the sandbox
The guarantee of web page never edit file on your disk(only create new ones) does not hold on this api though. I know it's what makes this api useful. But at the same time, there is big risk that user never expected this and results into giant security issue.

Firefox and safari are generally very conservative about new api that can enable new type of exploits.

At least firefox and safari does implement origin private file system. So, while you can't edit file on user disk directly. You can import the whole project into browser. Finish the edit and export it.

mmis1000··on How I estimate work
> When you're asked for an estimate, you've got to understand who's asking and why.

This is so real. Sometimes when you get a unreasonably big feature request. It always turns to be somebody don't know how to express their request correctly. And the management overexerted it.

mmis1000··on Why senior engineers let bad projects fail
Knowing something is wonky and knowing how to fix something wonky effectively without pissing anyone are completely different level of tasks though.

Knowing things is bad only requires knowledge of the product itself. But fixing it requires understanding of the whole infrastructure and members around the project.

An outsider can't do it. And the insider don't necessarily think the project is bad from his perspective. You would have to argue with him to convince him the project is bad. Which really don't bring any value to the outsider themselves. And it can even be harmful.

mmis1000··on Bubblewrap: A nimble way to prevent agents from accessing your .env files
It seems depends on model and context usage though, the agent forgets a lot of things after half fill up. It even forgets the primary target you give at the start of chat.
mmis1000··on You can't design software you don't work on
> 2 years

I feel it's already enough to rewrite a big part of subsystem or change the whole thing into shit (depends on maintainer).

Software today moves quite fast. 2 year is sometimes difference between a new company and a dead company

mmis1000··on CSS Grid Lanes
There is way to create masonry without specifying x,y position of every element though. https://codepen.io/mmis1000/pen/gOyZJqE

Adding a new element still need dimension of the element and a bit JavaScript.(The whole page use < 100loc unobfuscated JavaScript) But resizing can be handled by css naturally.

I think the issue here is most people don't really have a good way to specify how masonry should work. And thus don't have a good implementation either.

mmis1000··on Notepad++ Updater Installed Malware
Even the software itself does not signed with a validatable cert. How do the hijacker overcome the https cert though? It's 2025 now. It's extremely unlikely that anyone fetch binary with plain text http. Is wingup get compromised and have a cert leak? Or there is yet another root CA doing weird thing?
mmis1000··on CSS now has an if() conditional function
Well, you can actually write slow css if you make real deep nested flex container. And it's not even too rare. You can actually find such example in yhe wild.

The spec of flex layout requires it to layout its child elements several times to compute actual layout. Make it deep and nested without proper constrains will results in n*n*n*n… layout computations and bring down the browser on resize.

mmis1000··on CSS now has an if() conditional function
Practically only cordova does these for now. But it's a native app so of course it can do whatever it want.
mmis1000··on CSS now has an if() conditional function
Javascript always suffer from FOUC problem though (Unless it's server side). Although the if() css function seems to just be syntax suger of standard @media query. So it doesn't really add anything to solve existing problems.

Edited: It seems it can also be toggled from css variable? So it might actually fix some existing problems.

mmis1000··on OpenAI declares 'code red' as Google catches up in AI race
Most discussion focused on capabilities. But I wonder does OpenAI's "make a even big and costly model" strategy even work in long term? They are already losing money at current size. Unless we have some break though in chip efficiency.(which didn't seem to be likely for now) They are only going to loss even more.
mmis1000··on Your smartphone, their rules: App stores enable corporate-government censorship
> in turn will decide whether the PWA is worthy

In my personal experience, it only validate whether manifest is malformatted though. Although it's still up to google if they want to do something wonky.

mmis1000··on Your smartphone, their rules: App stores enable corporate-government censorship
PWA on android's side is at least usable.

You get notification. You can autoplay video/audio. You get whaterver video or element full screen with all necessary UI. You get rotation lock. You have a fullscreen to do what ever you want for any purpose. You probably can't touch hardware APIs(for example: bluetooth/nfc) like native app. But that isn't really needed for most apps either.

On the other side. Apple seems sabotage the PWA as much as possible. You can't autoplay video/audio. You can't even fullscreen anything other than video, and when fullscreen video, UI is ignored. Also there is no way to disable gesture so your app will misfire system gesture. And you can't lock the rotation either. There is no way to auto rotate the video player or whatever when maximized either.

It's really a golden example for pretend to do something while actually not. It seems you can do pretty much everything with ios pwa. And when you try to do it. You will figured out it will have a worse experience than native app because all sort of issues.

mmis1000··on AMD continues to chip away at Intel's x86 market share
This is honestly not my experience though. I'd like to know what vendor and model are you using (and get so much problems). Also I don't have experience about heat management issue either. On the other hand, the intel mac I used before is just underpowered and have giant issues about heat management. Every single mac-pro in my office apartmentmet have an early battery fail at really low cycle count. (And it's also just underpowered thus make working painful)
mmis1000··on Show HN: Unflip – a puzzle game about XOR patterns of squares
The game is quite fun. But it seems the difficulty ramp quite late? It's not very difficult to get the answer with least step by solve the side first until about last 20 levels.

Also, the game does give you a hint about how to bruteforce the level if you only have one square left. Good job.

mmis1000··on Show HN: Unflip – a puzzle game about XOR patterns of squares
It actually have a dedicated answer to solve just 1 square though. But it's not the most optimized way to do the puzzle.
mmis1000··on When did people favor composition over inheritance?
It depends though. Learning what things don't actually work like the textbooks says is the key to level from junior to senior. Some people never get it, some got it quickly.
mmis1000··on When did people favor composition over inheritance?
When they find inheritance is actually worse at describe the concept though. With composition you no longer need to implement whatever interface and bridge the implementation by proxy or whatever. You are also not limited to what parent class have (while you can still add all components that parent have to children if you need). Interface and proxy is just composition but worse in my opinion
mmis1000··on AMD continues to chip away at Intel's x86 market share
> The one driving this are big OEMs like Dell, HP, Lenovo, etc.

That's why monopoly is a bad thing. It allows manufacturer to pressure the vendor. The reason amd don't sells much in laptop market is extremely simple. Because you can't buy it. These vendors usually have far less version of amd laptop than intel one. And those are usually sells out quickly.

mmis1000··on AMD continues to chip away at Intel's x86 market share
Unless you need to use AutoCAD, their software have garbage level optimization on amd cpu. It's probably the only software you can see an intel i7 series cpu beat amd r9 by a big margin.
mmis1000··on AMD continues to chip away at Intel's x86 market share
> How's AMD's engineering support these days?

From the recent experience that I buy AMD mini-pc. (minisforun AI HX370) I don't feel it exist. (Because there is no need to) You just plug it into power socket and than it works. (Which is a good thing)

mmis1000··on I think nobody wants AI in Firefox, Mozilla
I don't think ai (or whatever features) is a bad thing unless it's on your way or designed to do damage to you (hey, I am saying you, Microsoft, get off your onedrive and copilot bullshit. I really don't need it to eat my network and memory when I absolutely don't want it).

Features are supposed to be helpful when you need it. Instead of block your way and pretend it's the only way you can do it, or designed to annoying you to make you turn it on accidentally.

mmis1000··on Steam Machine
Meanwhile Microsoft be like: we are going to ship AI to your computer, eat all the resource, lag your game despite you don't use it and neither you don't want it at all.
mmis1000··on Steam Frame
There won't be 'mode' if neither steam or other 3rd software is running though. So it must default to one of control layout. Fortunately, controller on steamdeck does have enough button to fit both.
mmis1000··on Steam Frame
Even just have direct access to hardware apis is already a big win. On Oculus quest. The closest you can get is running with webxr. But webxr suffer from all those performance problem of web platforms. (And bug of meta softwares. The recent quest browser have bug that prevent you from disabling spatial audio, rendering it not usable for watch video at all)
mmis1000··on Steam Machine
They said they route vram/rams though the io die in the gamer nexus's video. Wondering if that means GPU will also have direct access to ram. So it will not actually be a very big problem? Probably slower, but not terribly swapping like those 8gb gpu.
mmis1000··on Steam Frame
I'm sure you can develop using the consumer hardware. I'm sure you can develop using the consumer hardware.

> It depends though. Some console's devkit have memory or vram larger than consumer device. So it will allow un-optimized dev version of the softwares to run without crash. (And allow you to check what part goes wrong later instead of immediately fix it) Although you will need to test the production build on retail device eventually, it will make development easier.

mmis1000··on Steam Frame
Wondering what window/desktop manager will valve ship with the new steam frame. Is there even a desktop/window manager work with 3d space currently? Will that be a mod of kde or something?
← PreviousPage 2 of 27Next →