Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mmis1000
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
271.
▲
by
mmis1000
3y ago
I think it's really hard to burn a healthy tree. Water is good at controlling temperature. Even you use a blowtorch on a healthy tree. You will just make a black taint on it. And a big healthy have tons of water in it. Make it even mor
272.
▲
by
mmis1000
3y ago
Eslint will probably have a rule about it. As `call a function return promise without using the result` have a relevant rule today. Probably it will block the pattern that `call a function that returns disposable object without using using
273.
▲
by
mmis1000
3y ago
These arguments can be also applied to promise and await. And they almost ultimately won these days. Sure, you need to implement the then function or whatever properly or it won't play nicely with code other wrote. But once enough peop
274.
▲
by
mmis1000
3y ago
Yep, this merges countless of way to dispose a resource into a single interface. Like what promise did to callback functions. (And promise almost take over plain callback these days) Even you don't use the 'using' sugar. You
275.
▲
by
mmis1000
3y ago
I think the most weird thing is that. The ROCm works fine on linux. At least some dedicated workstation can use it with specific cards. And it already exists for many years. But somehow they can't make any single card work on windows a
276.
▲
by
mmis1000
3y ago
I think the source of problem is in the Uint8Array (or other types arrays) constructor. It has wrong level of abstraction. Instead of Uint8Array take an ArrayBuffer and an offset and a length. There should instead be something like ArrayBuf
277.
▲
by
mmis1000
3y ago
Honestly, reddit is the only one irritated me enough that I get a third party app. The ass behavior of popping sub I didn't subscribe and pretend it is a notification of reply to me just drives me insane. They are just truly shitty at
278.
▲
by
mmis1000
3y ago
Modern social websites uses infinite scroll, and infinite scroll don't really work with browser's back navigation button. A direct navigation means you lost your read position completely. Hence nobody ever navigate directly.
279.
▲
by
mmis1000
3y ago
> And if the catalog was at the end of the tape, how would you add more files at all? modern zip softwares just remove the whole index at end, add file, reconstruct the index and append again.
280.
▲
by
mmis1000
3y ago
> Cool. How do I "middle click" on my phone? Try long press and open in new tab. Besides, open in modal don't even mean the url won't change. Fb, reddit both open in popup AND change the url. Copy the url to other bro
281.
▲
by
mmis1000
3y ago
Modal sometimes also works as a peek view of a resource. As when there are many resource in a list, you don't want to open every one in a new tab. In fact, you can make a link open modal with left click but open in new tab with middle
282.
▲
by
mmis1000
3y ago
This reminds me the simulated annealing algorithm programs used to find answers for a problem that can't be perfectly resolved by brute-forcing in constant time. By search the easiest way and introduce randomness at same time. You can
283.
▲
by
mmis1000
3y ago
I wonder will there be windows 12 in the short term. They haven't even finished their taskbar rework yet. What do you mean by next version? A even more broken desktop environment? Or they just randomly bump the number without changing
284.
▲
by
mmis1000
3y ago
Force restart is easy to disable on any version of windows (except home). Probably a 2 minutes configuration. I almost think the home version of windows is actually a reduced version of windows. You need at least the pro version to get the
285.
▲
by
mmis1000
3y ago
They do this. Because without doing this to anyone except who is capable to opt out this by jumping through all the traps they setup. There will be countless of vulnerable devices for ddos network to use.(or countless of victims of ransonwa
286.
▲
by
mmis1000
3y ago
Some people are really creative at creating dozens of boolean flags with lots of possible and impossible combinations. And some don't even correspond to screen in your figma file from designer (but can actually happen due to race condi
287.
▲
by
mmis1000
3y ago
It's actually easy to copy files by accident in windows. Although I think they should prompt the use about whether they want to copy the file rather then add a undo operation.
288.
▲
by
mmis1000
4y ago
If you setup username, you are going to get a lot of spam messages. I guess. Username in telegram is a public identifier that allow anyone to grant the permission to message you. The other ways to grant this permission are 1. Add contact wi
289.
▲
by
mmis1000
4y ago
It also do this for monitor or usb/bluetooth earphones. So you end up get earphone(2), monitor(2) even you never have a second one. The only way to fix it is delete the hidden device in device monitor and rename it back in monitor/
290.
▲
by
mmis1000
4y ago
Guess that's why I never feel firefox laggy but others said it is. The first thing I do after installing windows is always installing some other antivirus to disable defender. Because the defender start routine scanning at weird time a
291.
▲
by
mmis1000
4y ago
In Taiwan, this is how it currently works. It used to be like US and you need to fill everything manually. But now you only need auth your id card into gov website, fill additional reduction that is not on list and click accept. Probably ju
292.
▲
by
mmis1000
4y ago
But gov won't tell you the correct number, they only tell you when you do it wrong and they want to fine you. lol
293.
▲
by
mmis1000
4y ago
You probably never heard about bluetooth spec. The spec grows so big to the point that no one even able to figure it out completely. And neither can you confidently say there is no bug in your implementation because reading them completely
294.
▲
by
mmis1000
4y ago
Still no Fullscreen API and no Screen Orientation API(and also orientation in web manifest) on iPhone. Apple surely hate PWA right? Without these, you can't even make a simplest portrait pwa that didn't got rotate by user accident
295.
▲
by
mmis1000
4y ago
The keyword here is 'much higher'. It is of course not guaranteed. As a developer, if somebody already done the trouble shooting or even root cause finding for you. You are more likely to fix the bug first because it will only cos
296.
▲
by
mmis1000
4y ago
Every software will be bad software if you use it often enough to the point you step into some specific usage that developer and tester never imagine about. The point isn't whether it is good or bad. The point is nobody use it like tha
297.
▲
by
mmis1000
4y ago
Unless you are using a hardware based pin. Lockout is useless. I can just backup the file before lockout and restore Or… I can just stop the software, change computer time. And the timeout is over.
298.
▲
by
mmis1000
4y ago
> Flash back to React replacing the perfectly-fine functional components with hooks (because Vue did it). I think the timeline went wrong. React did it first, vue did it latter.
299.
▲
by
mmis1000
4y ago
Yes, it's likely react recommend don't do it because to met feature set everyone expect to 'include by default' from bare `react` package today takes way too much effort. Routing, styling, layout system, animation, data
300.
▲
by
mmis1000
4y ago
The ancient php idea of mix data fetching and rendering instead of wait until everything done for least `TTFB`(Time to first byte) is still hard to do for a lot of js framework today. You generally need to add tons of hack to the framework
More ›