Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yunyu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
151.
▲
by
yunyu
8y ago
WSL works with unmodified Linux binaries, while you need to port/recompile everything for Cygwin.
152.
▲
by
yunyu
8y ago
There is an APIS@ (Asian & Pacific Islanders) internal group
153.
▲
by
yunyu
8y ago
You'd be able to do this with the matchMedia API: https://developer.mozilla.org/en-US/docs/Web/API/Window/matc...
154.
▲
by
yunyu
8y ago
Shopify isn't owned by Facebook.
155.
▲
by
yunyu
8y ago
The amount of songs with fingerprints stored on-device is several orders of magnitudes lower than the full library (tens of thousands instead of millions): https://venturebeat.com/2017/10/19/how-googles-pixel-
156.
▲
by
yunyu
8y ago
Quick side note: the main graphic on your website displays "Upload template", "Set up fields", etc.. in the default serif font on my computer probably because I don't have the Avenir Pro font installed. You can prob
157.
▲
by
yunyu
8y ago
Here's a link to the page that renders as HTML: https://rawgit.com/tcr/langlangmatrix/gh-pages/index.html (there will be a warning about loading unsafe scripts as the original file loads jquery under htt
158.
▲
by
yunyu
8y ago
This definitely looks interesting, have you considered an option to use rsync instead of scp?
159.
▲
by
yunyu
8y ago
I personally can't tell the difference between the compressed versions and the originals (I don't take RAW photos). Here's an analysis of this: https://www.phonearena.com/news/Google-Photos-High-quality-v
160.
▲
by
yunyu
8y ago
Introducing usability and functionality improvements isn't mutually exclusive from doing those. At the very least, I'd expect some improvements to come out of the hackfest.
161.
▲
by
yunyu
8y ago
If you buy a Chromebook, Chrome OS is already preinstalled.
162.
▲
by
yunyu
8y ago
I don't think that the typical cheap laptop purchaser willing to spend the time and effort into installing and learning to use a different operating system.
163.
▲
by
yunyu
8y ago
Files are associated with inodes, which have nonzero size. They are also segmented into multiples of the block size of a filesystem, so even a 1 bit file effectively takes up 4KB if your block size is 4KB.
164.
▲
by
yunyu
8y ago
Sorry, Vert.x web would be a more appropriate comparison.
165.
▲
by
yunyu
8y ago
Vert.x is a framework for developing server applications using an event loop (think Node.js but for the JVM, with the ability to fallback to normal threads). If you've heard of Spring Boot or Spark, it's a lighter/faster alte
166.
▲
by
yunyu
8y ago
The rationale behind that is avoiding re-renders, which can (but doesn't always) improve performance (shouldComponentUpdate can be slower than simply always re-rendering, per a React core developer): https://news.ycombinator
167.
▲
by
yunyu
8y ago
Fair enough. In this case, I guess it's a tradeoff between code organization (should the child component be concerned with its position in the parent) versus avoiding rerenders.
168.
▲
by
yunyu
8y ago
I think you meant allocations instead of rerenders - if you wanted to reduce rerenders, switching to PureComponent would be the way to go. IMO, what you're suggesting is a premature optimization.
169.
▲
by
yunyu
8y ago
Just a side note - you don't need the constructor boilerplate to initialize state in React components if you use property initializers (I see you're already doing it for handleInput): https://babeljs.io/docs/e
170.
▲
by
yunyu
8y ago
Really? Outside of the lack of force touch, I haven't found the Surface touchpads to be any worse than Macbook ones in terms of accuracy.
171.
▲
by
yunyu
8y ago
Bit of a side note - the second example site (Expressini) doesn't work, and the third one has a really blurry hero image.
172.
▲
by
yunyu
8y ago
Surface trackpads are pretty good (generally, anything with a large area that uses Precision Touchpad instead of Synaptics or other OEM junk is decent).
173.
▲
by
yunyu
8y ago
Have you tried pnpm? It seems like it would resolve some of the issues you brought up: https://pnpm.js.org/
174.
▲
by
yunyu
8y ago
Hack is a typed variant of PHP.
175.
▲
by
yunyu
9y ago
JavaScript on the client is usually transpiled and polyfilled to work with older versions with something like Babel. You'd use something like babel-preset-env, which allows you to specify the level of compatibility you're targetin
176.
▲
by
yunyu
9y ago
Some of the strategies that demoscene authors use to shrink their executable size (think packing, self-modifying code, etc...) are also incredibly common in malware.
177.
▲
by
yunyu
9y ago
Iris has a lot of drama behind it, and the author seems to be slightly unstable (for lack of a better word). See https://www.reddit.com/r/golang/comments/57tmp1/why_you_shou... I would recommend labstack
178.
▲
by
yunyu
9y ago
Clicking the button at the end of the article reveals the name. It's 100% intentional.
179.
▲
by
yunyu
9y ago
The linked entry states: The original coordinated disclosure date was planned for January 9 and we have been driving toward that date to release fixes. Due to the early disclosure, we are trying to accelerate the release, but we don't
180.
▲
by
yunyu
9y ago
Recent Android and iOS versions randomize the MAC when scanning.
More ›