Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Mogzol
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
121.
▲
by
Mogzol
4y ago
I've been very happy with mine. As another user mentioned, the main issue with it is the battery life isn't as good as some other Android phones, but it's good enough that as long as I charge it daily I rarely have to worry a
122.
▲
by
Mogzol
5y ago
> code in a useEffect(…, []) block is being called twice Shouldn't that be one of the few cases where the code isn't being called twice? useEffect is meant for side-effects, so it isn't included in the list of functions th
123.
▲
by
Mogzol
5y ago
For chargers I believe they're referring to the fact that apple stopped including chargers with new iphones. > Either be nasty and durable, or be less nasty and be less durable. In my experience apple cables are both nasty and less
124.
▲
by
Mogzol
5y ago
> They were taken down for using a similar enough logo to Youtube that Google lawyered them into stopping that way, not for any kind of infringement in terms of software. Is there a source for this? Seems like they could have just change
125.
▲
by
Mogzol
5y ago
Is this really still an issue in 2022? How many people are browsing the internet on a device that can't do hardware H264 decoding?
126.
▲
by
Mogzol
5y ago
The audio is the whole point of the library. Otherwise you could just use window.scrollTo({ top: 0, behavior: "smooth" })
127.
▲
by
Mogzol
5y ago
I've really been enjoying Quordle. When I first saw it I thought it was just another clone with an interesting gimmick, but something about it just works so well, it's really fun to play. Going back to the original Wordle almost s
128.
▲
by
Mogzol
5y ago
If you have the tabbed inbox enabled (i.e. Social, Promotions, Updates, Forums), then Gmail will insert ads into the non-primary tab that look almost like regular emails. If you have the tabs disabled so that all your messages show up in th
129.
▲
by
Mogzol
5y ago
I don't really understand this perspective. Why should you be allowed to run whatever you want on your MacBook but not on your phone? What makes a phone so different that the software you run on it should be more restricted than the so
130.
▲
by
Mogzol
5y ago
Yeah I would really rather this just let me guess non-primes even though that would make it more challenging. Trying to find a prime by guessing randomly over and over is pretty frustrating.
131.
▲
by
Mogzol
5y ago
Sorry for the late response, just saw this. When I did it last I just used the Docker-OSX project [1]. It should pretty much just work, the readme has a section about on running it on WSL. If you don't want to use Docker it should stil
132.
▲
by
Mogzol
5y ago
Im running this on Windows though WSL 2. There's definitely a performance hit but other than that it works surprisingly well.
133.
▲
by
Mogzol
5y ago
Did you even try this before posting? These steps are no different than just right-clicking the image and choosing "Save image as". It still results in a download that never finishes.
134.
▲
by
Mogzol
5y ago
I recently bought a ZenFone 8 specifically for its size, it's slightly shorter than the Xperia 10 III, and the same width. Very easy to use with one hand. I really like it, it has a headphone jack, decent enough cameras, a 120hz screen
135.
▲
by
Mogzol
5y ago
One of the main selling points of Prettier for a lot of people is that it is extremely opinionated and leaves very little formatting choices up to the user. If you respect user-introduced whitespace then the same code written by two diffe
136.
▲
by
Mogzol
5y ago
I actually really like Prettier. It ensures that everyone's code ends up formatted the same, and when you're working on a project that a bunch of different people touch, that makes reading the code so much easier. It may not alway
137.
▲
by
Mogzol
5y ago
The new notepad version was released to non-insiders in Windows 10 1809, so it's still been around for almost 3 years now. I do understand that git wants to maintain the best compatibility, but at this point I would argue that converti
138.
▲
by
Mogzol
5y ago
I think one of the main problems is that when you install git for windows, the default setting is to convert LF to CRLF when checking out code. This can cause a bunch of issues if you later try to work with those files within WSL (especiall
139.
▲
by
Mogzol
5y ago
One issue that I've run into is that if you only bind to IPv6 in WSL, then you will only be able to access the service using IPv6 on the Windows side (i.e. ::1 works, but 127.0.0.1 doesn't). OSs usually automatically bind to IPv4
140.
▲
by
Mogzol
5y ago
Hashing on the client still seems redundant though. In the end, whatever value is sent to the server is essentially plaintext, because it's all an attacker needs to know to authenticate. Whether it's the raw text the user typed or
141.
▲
by
Mogzol
5y ago
A lot of the features were already part of the insiders version of Windows 10 before 11 was announced. Seeing as its a free upgrade, I think of it as just another one of the semi-yearly Windows 10 upgrades (i.e. Windows 10 21H2), rather tha
142.
▲
by
Mogzol
5y ago
Newer versions of VMWare work under a Hyper-V host [1]. I'm not sure if macOS runs properly in that mode though. I also had some success a while back running macOS under WSL2 using KVM [2], though it was pretty buggy and a pain to set
143.
▲
by
Mogzol
5y ago
With phones and regular usage you are likely doing full charge/discharge cycles every day or two, which is hard on the battery. That's not really the case with electric cars. When you have 200-300 miles of range, and you only regu
144.
▲
by
Mogzol
5y ago
I find it kind of funny that they would choose to show those as demos when it's obvious that most of them really aren't Youtube video IDs. Like "Accept-Lang" is pretty obviously not actually a video ID, even if it matche
145.
▲
by
Mogzol
5y ago
I read it more as talking about a revolution within React. Hooks and context are (relatively) new features that do "revolutionize" how you write components. That's not to say VDOM isn't important, it just isn't anyt
146.
▲
by
Mogzol
5y ago
That's interesting. util.promisify normally only works with functions where the callback is the final argument, which isn't the case with setTimeout. I didn't know you could customize promisify behaviour, but looking at the d
147.
▲
by
Mogzol
6y ago
LG was one of the first to add the feature back around 2013. Now it's more commonly known as dt2w (double-tap to wake) and is a feature on a lot of stock roms, as well as pretty much any custom rom.
148.
▲
by
Mogzol
6y ago
It heavily depends on the country people are in. In the USA and Canada, Facebook Messenger is by far the most popular, but globally, WhatsApp has the most active users. See: https://www.messengerpeople.com/wp-content/up
149.
▲
by
Mogzol
6y ago
In Canada distances are almost always in meters/kilometers. For US I assume they would want feet/miles.
150.
▲
by
Mogzol
7y ago
Working fine on my Android 10 phone in both Firefox 68 and Chrome 80
More ›