HNHacker News
TopNewBestAskShowJobs

mmis1000

1,199 karma · joined September 19, 2018

submissionscomments
mmis1000··on Steam Frame
I'st much less likely to break a usba dongle compare to usb c though.(the area is much mcuh bjgger) And I don't think the dongle really need the 40gb potential of a usbc port.
mmis1000··on Steam Frame
It seems the controller on steamdeck on windows detects as such when steam or whatever companion program is not running. Although in this state. You can only right click or left click by pressing against the pad itself.

Although on Linux side. As far as i remembered, it's up to how kernel driver developer to map the device input into different class. It would be up to valve to decide what to do in this case.

mmis1000··on XSLT RIP
It's actually possible to support it by re-implement it by js or compile to wasm and running on client side. There are extensions to support pdf(pdf.js), flash(Ruffle), mht(UnMHT). So it should be possible to do the same thing for XSLT. The real question is "Who want to"? Does xslt have a large user base like pdf, flash, mht?
mmis1000··on XSLT RIP
That is actually mozilla's stand in the linked issue except it's on client though. They would rather replace it with some non native replacement (So there is no surprising security issue anymore) if remove directly is impractical.

There is actually a example of such situation. Mozilla removed adobe pdf plugin support a long time ago and replaced it with pdf.js. It's still a slight performance regression for very giant pdf. But it is enough for most use case.

But the bottom line is "it's actually worth to do it because people are using it". They won't actively support a feature that little people use because they don't have the people to support it.

mmis1000··on Python Steering Council unanimously accepts "PEP 810, Explicit lazy imports"
Given you can already trigger import in a local scope, it's merely a syntax sugar though.
mmis1000··on Minecraft removing obfuscation in Java Edition
Whether is obfuscated or not. Minecraft java runs most logic in java, and write the save and network handling in parse & validate style instead of serialization/deserialization style. So there isn't much "vulnerabilities" for you though. The game probably isn't best in performance, but there aren't much vulnerabilities either.
mmis1000··on Minecraft removing obfuscation in Java Edition
The later generation mod loader use preloader and asm hooks though. So the file isn't even physically patched, just patched in memory. That is such an old day that you still need to patch the jar by yourself. (If I am not remembered it incorrectly, I think the community change happens between 1.3 and 1.5?)
mmis1000··on Minecraft removing obfuscation in Java Edition
It won't do much though. Although it will make things a bit easier. A lot of minecraft mod requires direct modification to Minecraft's core mechanism. For example in popular mods: create, immersive portal and distant horizon all taps in minecraft's collision mechanism or rendering pipeline in a quite aggressive way that unlikely there will ever an abstraction be able to handle that.

And, no. Although forge does not encourage you to use it. It also supports mixin like direct modification. It's just less polished than mixin(requires more knowledge to java Bytecode)

It's unrealistic to ask mojang to make an abstraction that you can actually change everything in the core without direct modification (let alone how do mojang know what part need to be abstracted?)

mmis1000··on Responses from LLMs are not facts
Sometimes I wonder, why people ask AIs to validate their output by performing tool search. But not do the search or even open the reference AI provided by themselves.

In any case, whether it is real person or AI do the task for you. It's the user who submitted the result to be responsible for it. Why do people think it's bad to do this with real human and suddenly be OK to do this with an AI?

mmis1000··on Minecraft removing obfuscation in Java Edition
The game is still a licensed game though. You technically must pay it and go though proper verification to start the game. (Although it's a 100% public secret that how to load it as you want, and basically every single mod dev kit does that for local dev)

I guess Microsoft won't want to deal with the license issue of publishing the loader part.

mmis1000··on Breaking "provably correct" Leftpad
There is a definition file on unicode spec about a character should be n half-width in monospacr context. Not sure if it includes all symbol though. Also don't know if it handles symbol that has more than 2 half-width

https://www.unicode.org/reports/tr11/

mmis1000··on Ladybird passes the Apple 90% threshold on web-platform-tests
The ios safari lies you about (or simply bugged out) video play event, display video element on play event will show a blank screen to user. This never happen in any other browser(including those china vendor browsers) except safari. To make this worse, you can't make a unloaded video element on safari to have transparent background so user will definitely see a black square unless you add a delay to mitigate the problem.(Most players already do it, but it's still a pain if you need to make one from scratch)
mmis1000··on Ladybird passes the Apple 90% threshold on web-platform-tests
The safari literally broke border-radius of image whenever a opacity transition is triggered. It's the simplest effect you will see everyday. Or broke layer of position: fixed element when containing container is scrolled. They aren't even new features and exists since like 10 year ago? And it's still broken that requires specific workaround. Or on ios 26(the one just released). Every page that added to ios home screen is no longer able to play video at all if you close it and open it the second time. The list can go on infinitely if I ever want to dig up. When is the crap even usable? There isn't a way to not hit bugs at all unless your page is extremely barebone and require little interaction.

Besides these, the service worker debugger never work on my iphone device since like two major version ago.(It did not show up in the safari menu) There is no way to use it as a developer even I want to (let alone the devtool crashes and disconnects frequently)

mmis1000··on Ladybird passes the Apple 90% threshold on web-platform-tests
It's not even exaggerated, the ticket count about safari on my board is almost higher than sum of every other browser in total. I 100% just want this browser die if apple ever allow other browser on ios.
mmis1000··on Ladybird passes the Apple 90% threshold on web-platform-tests
The point is they are not even compliment to their "own" spec. They are part of whatwg. But if you ever write web page. You will know it's always the safari that differs from the spec. Firefox in the other end never have such issue.

Write a page on chrome, works 90% on Firefox. But will likely works 10% on safari. Supports safari literally means support another browser (by workaround all its bugs).

mmis1000··on Ladybird passes the Apple 90% threshold on web-platform-tests
> takes a long time

If it even does.

mmis1000··on Ladybird passes the Apple 90% threshold on web-platform-tests
Me as engineer: does apple even pass the bar by their own? I hit shit tons of safari only bug that is 100% non web-compliment. Some are so stupid that as a normal person writing web pages must have ran into it already.
mmis1000··on Internet Archive's big battle with music publishers ends in settlement
The mindset that someone will buy a album because he have no idea about WTF it is and can not listen to it on the internet is really interesting to me.

Like, why would you even buy a album and add it to your collection if you have no idea what it is?

mmis1000··on React is winning by default and slowing innovation
You probably never see what reddit like after it just get rewrite. https://www.reddit.com/r/bugs/comments/rj0u77/reddit_redesig...

I won't say most react apps performs like this. But it's what you will get if you ship a big react app without optimization at all.

Other framework mostly have a much saner default (for example, component without argument change does not re-render). So it will work well (not best though) even in large scale. But in react they are all opt-in.

mmis1000··on Many hard LeetCode problems are easy constraint problems
That's exact why I reply this though (or probably I should reply to your parent comment?). The place these get used are mostly performance insensitive location, it don't really do anything except ruins the readability. And the project is not that old either(It's a past es6-era project), I don't really get why it is used at all.
mmis1000··on AMD’s RDNA4 GPU architecture
I think the power efficiency of AMD graphics is improved by a lot in the past 10 years. If you compare Rx580 and Radeon 890m. They are 7 years apart, with almost the same performance, and 12X power usage difference (the new one is so low so it can be put into a mini pc and used as igpu). It's unimaginable if you said this 7 years ago.
mmis1000··on Many hard LeetCode problems are easy constraint problems
It's not really about the performance. It's about the readability. The performance don't even matter if you are just grouping dozens or hundreds items on the gui.

Abuse Lodash or Underscore everywhere means the code is not readable unless you know what is every used lodash function intended to do. Combing with weak type and undocumented business logic (and api types), it's a true nightmare experience to work with.

It's probably irrelevant in a personal project. But it's a headache if you are collaborating.

Sometimes it got even worse that original user don't know the exact specification of the utility function either. And the code works just by pure luck. (something like, the method work if all keys are numeric) It will give you a hard time to troubleshoot the problem if it happens.

mmis1000··on Many hard LeetCode problems are easy constraint problems
You probably haven't see front-end projects that pulls tons of library for a simple sorting or grouping task. Sometimes even solvable with build-in array function alone. It's a true nightmare when you have to deal with that kind of projects.
mmis1000··on Is OOXML Artifically Complex?
> save as Word 95

This is for format only and a lossy conversion.

Line break or whatever finer behaviour isn't preserved perfectly.

Or probably any conversion between different office version is a lossy conversion.

They (microsoft) truly don't know how their format behaves exactly at any time I believe.

Even office for mac or office for web behaves slightly different.

I don't believe they have a true spec (A pixel perfect one) about word document. Or they should use it on their office mac or office web first.

mmis1000··on Is OOXML Artifically Complex?
> "this behaviour is as seen in Word 95", "this behaviour is as seen in Word 97"

The office relies on behaviour in windows itself "a lot". Even office mac or office web they made themselves isn't a 1:1 replica of the office on windows.

Let alone describe it as a standard.

"this behaviour is as seen in Word 95" sounds sloppy, but it is indeed the closest they can get.

Or what else can you do? You can't just also ship a installation media of word 95 and windows into the ISO standard, right?

mmis1000··on AMD claims Arm ISA doesn't offer efficiency advantage over x86
Current windows or linux executable format don't even list the used instruction though. And even it is listed, how about dynamic linkables? The program may decide to load library at any time it wishes, and the OS is not going to know what instruction may be used this time.
mmis1000··on NPM debug and chalk packages compromised
Seems a quite targeted attack though, the phishing domain is registered just 4 days ago.
mmis1000··on AMD claims Arm ISA doesn't offer efficiency advantage over x86
I think it would only be fair to compare it when running some more resource efficient system.

Steamdeck with Windows 11 and SteamOS is a whole different experience. When running SteamOS and doing web surfing, the fan don't even really spin at all. But when running windows 11 and do the exact same thing, it just spins all the time and becomes kinda hot.

mmis1000··on AMD claims Arm ISA doesn't offer efficiency advantage over x86
I have tried one before. And surprisingly, It did not suck as most people claimed to be. I can even do light gaming (warframe) on it with reasonable frame rate. (It's about 2015 ~ 2020 era). So it probably depends on manufacturer (or use case though)

(Also probably due to it is a tablet, so it have a reasonable fast storage instead of hdds like notebooks in that era)

mmis1000··on Unofficial Windows 11 requirements bypass tool allows disabling all AI features
It will probably actually cause them less problem then a system that never update though. Remember Wannacry? Those pirated system with windows update completely disabled?
← PreviousPage 3 of 27Next →