Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mmis1000
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
151.
▲
by
mmis1000
2y ago
> My experience with my laptops is that windows will arbitrarily use 2-3x idle power draw while on battery for no apparent reason same with my experience. My computer have a hardware issue recently, so I am on steamdeck. When I am on win
152.
▲
by
mmis1000
2y ago
The type kotlin generated from java code also inserts nullable specifier if java code have @NonNull or @Nullable specified. When kotlin see these exist. It will convert the type to null enforced type instead. Which give you a tool to gradua
153.
▲
by
mmis1000
2y ago
For real, I play this game for hundreds of hours and not even bother to beat end dragon in vanilla survival even once. I mostly play around redstones/command blocks/mods. The game don't really force you to play survival mode
154.
▲
by
mmis1000
2y ago
I think what make minecraft special is the game don't make much rules of how should you play it and it give you almost unlimited power to change the environment. There is no game except minecraft allow you to make another game in it wi
155.
▲
by
mmis1000
2y ago
I think they can just remove the annual plan all together and add a discount that "you get monthly discount after you subscribe for 12 continuous month, and that discount is terminated after you stopped subscription". And then the
156.
▲
by
mmis1000
2y ago
If it is simply caused by a corrupted file. That is a really bad signal. It means they don't even try to properly validate and parse the file before loading them into the KERNAL. Always validate input so it don't crash your progra
157.
▲
by
mmis1000
2y ago
At least they could make a in house playground in the process to see if their new version ever work. Maybe something like guest computer in public area. Or some sort of vm to emulate end user system to see if they ever boots. And somehow we
158.
▲
by
mmis1000
2y ago
And that thing is left for unreleased on windows for almost a whole year for unknown reason. Even though there is activity on github and build fix frequently. There is just no .exe or .msi for you to download. In fact, the rocm for linux is
159.
▲
by
mmis1000
2y ago
JSX only have syntax defined but not semantics. The equivalent runtime js code is up to the compiler of the framework you are using (And even react itself have two compile modes now).
160.
▲
by
mmis1000
2y ago
I don't think so. Kana just don't have enough entropy compares to Kanji. A kanji can be compose with up to twenty strokes with high variety of stroke patterns. Those excessive complexity make it identifiable even in extreme situat
161.
▲
by
mmis1000
2y ago
> parsing each keystroke twice I think it's an unavoidable cost for any remote re-attachable system. No matter it's tmux/vnc/whatever remote protocol. But even in all these options. Tmux is still the lightest weight a
162.
▲
by
mmis1000
2y ago
I am not sure if it is a country wide thing or not. But in Taiwan. Most emergency radio and music radio including illegal radio sites are in FM instead of AM. (probably due to sound quality) The AM is really obsoleted here. I am surprising
163.
▲
by
mmis1000
2y ago
This reply is probably a little late, but that check is just a line in the config file. You change something like verify-purchase=true to verify-purchase=false, and it's done.
164.
▲
by
mmis1000
2y ago
The source map is released by mojang itself. Before this exists, there is a community project to de-obfuscate naming back to readable human names. And it usually took about a month after new minecraft version released. But this is no longer
165.
▲
by
mmis1000
2y ago
They do release the source mapping of the java version alongside the binary. Which can be used to decompile the whole game back to compilable java file. (And you can fiddle it around starting from there). It's source available if you d
166.
▲
by
mmis1000
2y ago
No, they don't need a 'new' client for that. That already exists. Since minecraft is basically open source, it's not really a secret that how to make a client that simply don't require login. (Surely you don't
167.
▲
by
mmis1000
2y ago
You can actually make a working masonry layout with css alone(even make it work with browser resize), if you do know the aspect ratio of each item. The hard part is handling the column count change and item prepend/insert because that
168.
▲
by
mmis1000
2y ago
It's still way easier to handle it when you know where it will break(even it is far way from you) instead of just let it break everywhere. Make it just explode and fix it is still much better than a unknown bug that you never know if i
169.
▲
by
mmis1000
3y ago
It's not necessarily leading to the overgrowth. Nitrogen fixation is a really expensive process. It means you will need to spend a lot of energy on this process. The nature is a self balanced eco system. Species need to have certain am
170.
▲
by
mmis1000
3y ago
That don't work for font that have bounding box disconnected to visual. Like the article just mentioned. Thus you need canvas if you absolutely need to figure out how bad is the bounding box of given font. Because it's the only wa
171.
▲
by
mmis1000
3y ago
> Use tabs for indentation and spaces for alignment The pains is, most website or editor never handled that well enough. You end up have mixed tab/space at unexpected position and never knew about it. Just banning the tab is probabl
172.
▲
by
mmis1000
3y ago
It don't even talk about CJK though. CJK texts mixed with latin characters is also a giant source of headaches. For example, the following characters: "jh中" Depend on the use case, you may want the "中" to align with
173.
▲
by
mmis1000
3y ago
April fool prank, probably.
174.
▲
by
mmis1000
3y ago
It's technically possible (although infeasible) with current web api though. You can draw texts to canvas, sample it, get the pixel value and find the true center yourself. But web also never guarantee that text on canvas is as the sam
175.
▲
by
mmis1000
3y ago
> I wonder if there's some kind of heuristic or list of known phrases/senders baked into the app, It's actually rely on specific message format. And it's a function of google message app instead of system wide functio
176.
▲
by
mmis1000
3y ago
fortunately, firefox now has a 'paste as plain text' option. So I can just use it instead.
177.
▲
by
mmis1000
3y ago
Because it's already nearly free to add 'smart' functionality to a TV? High end boards these days are mostly arm boards at first place, and add a smart tv function to it don't really cost too much cents. (You probably ju
178.
▲
by
mmis1000
3y ago
I think its kotlin's model. The language don't have a default co-routine executor set, you need to provide your own or spawn one with the std. It can be thread-pooled, single thread, or custom one but there isn't a default on
179.
▲
by
mmis1000
3y ago
SSE isn't really more complex than long polling. The only difference is the server don't close the connection immediately after sent the response. Instead, it wait for data again and send more response using the same stream.
180.
▲
by
mmis1000
3y ago
Server send event IS http response streaming. It is a standardized way to implement response streaming.
More ›