Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Yaggo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
301.
▲
by
Yaggo
10y ago
<div if={expression} /> translates to React.createElement('div', {if: <expression>}) This is bad because createElement always gets execute, whether the if expression evaluated to true or false. Changing this seman
302.
▲
by
Yaggo
10y ago
KDE 1.0 was release in 1998, almost two decades ago. Even a decade old machine low-end machine is scifi-high-end by 1998 standards. That being said, it may be impractical to browse the modern web with KHTML 1.0 (from which webkit was fork
303.
▲
by
Yaggo
10y ago
You are right that the sweet spot for this tool (toy) is very narrow. Let's say I'm still surprised that you can rope-hang a router like that and get usable results, let alone ~millimeter accuracy :)
304.
▲
by
Yaggo
10y ago
For a wood-cutting system supported by two chains and gravity, .4mm is surprisingly good tolerance. Sure, it is possible to get far more stricter tolerance with tradiotional power tools (for skilled person) but first you need to somehow dra
305.
▲
by
Yaggo
10y ago
I once asked what it would cost to update my Prius' built-in navigator maps: cirka 200 €. And after few years it would be again out of date. I'm not sure whether to blame the car manufacturer or navigator software supplier for the
306.
▲
by
Yaggo
10y ago
I don't know if the idea is unique (edit: no, they mention it's based on a known concept of "hanging plotter"), but that's a neat way to utilize gravity to bring down costs. It's much more accurate (.4mm) than
307.
▲
by
Yaggo
10y ago
No idea. I'm not familiar with the CHIP Pro, just quickly read the datasheet. The SOC contains Mali400 GPU, so in theory it should capable for video output, but I can't find any mentioning whether the video capability is enabled i
308.
▲
by
Yaggo
10y ago
Safari does have longer release cycle than e.g. Chrome, because Apple provides very uniform / polished support for wide range of devices (Macs, iOS devices, including very old ones such as iPhone 4S).
309.
▲
by
Yaggo
10y ago
Oh please. Safari 10 (both desktop & iOS versions) is the only browser with 100% ES6 compatibility. All browsers have some issues (e.g. Chrome still does not support 'sticky' position, Safari hasn't implemented Service Wo
310.
▲
by
Yaggo
10y ago
In theory, yes, but the lack of LVDS/MIPI display connector/driver (or even HDMI) makes it difficult to connect any practical display on it.
311.
▲
by
Yaggo
10y ago
For a moment I thought Google will become Apple's competitor.
312.
▲
by
Yaggo
10y ago
"I used to give the the option of doing either MySQL or SQLite" SQLite is good choise for absolute beginners. Later, when teaching "real" multi-user RDBMSes, although MySQL may be more popular, it makes more sense to tea
313.
▲
by
Yaggo
10y ago
Just out of curiosity, what's the rationale for MS & Lenovo to do this, why to risk PR? The number of people wanting to install Linux is marginal and they are already "on the wrong side".
314.
▲
by
Yaggo
10y ago
The DVD format in NTSC regions has 480 pixel vertical resolution. Even the half-century old NTSC spec has more vertical lines (525). I find it amazing that DVDs are still being sold.
315.
▲
by
Yaggo
10y ago
EE & programming skills combined are superb if you are into robotics, embedded stuff, physical products in general. I do front-end web programming for living but spend my freetime in my "EE lab", self-taughting¹ myself to get
316.
▲
by
Yaggo
10y ago
> You could keep systems usable for 10+ years If you change everything but the case and PSU, is it still the same system? Especially in the "golden desktop era" the pace of development was so quick that in 10 years multiple new
317.
▲
by
Yaggo
10y ago
The benchmark code uses multiple processes to utilize all CPU cores (standard way in Node.js land). I would blame the highly dynamic nature of the language for (relative) slowness – the price you pay for flexibility / quickly-writable
318.
▲
by
Yaggo
10y ago
"Quick" in Swedish, probably the same in Danish as the author is Dane.
319.
▲
by
Yaggo
10y ago
The universal line ending character is \n. (Except in Microsoft's universe, but that's never been compatible with the rest.)
320.
▲
by
Yaggo
10y ago
Interesting, haven't heard about such batteries being commercially sold. Any idea who sells those for private consumers in Europe?
321.
▲
by
Yaggo
11y ago
There exists many smaller, less-known Arduino-compatible designs, e.g. TinyDuino, FemtoDuino, MicroDuino, BareDuino Nano (roughly 20x15 mm).
322.
▲
by
Yaggo
11y ago
> Because why would you use a lot of energy for sensors, insane mode, automatic doors, displays, computers, and so on? Signals electronics (displays, sensors, etc) use so little energy compared to power electronics (the drivetrain system
323.
▲
by
Yaggo
11y ago
> However, in the context of the web (the client/server boundary), I think we need to be careful about how messaging is used. The web is made up of resources with URLs. HTTP is typically used for data transfer, and for good reason.
324.
▲
by
Yaggo
11y ago
> use it as minimal as necessary Interesting point of view, considering that people are building javascript desktop applications, server applications, embedded applications, web (browser) applications, and what not.
325.
▲
by
Yaggo
11y ago
> [Javascript] simply is too limited a language to be used for large and complex applications. The proof of this is that JavaScript is used for exactly zero non-browser runtime environments (discounting node.js whose only appeal is to us
326.
▲
by
Yaggo
11y ago
The above is all true but only because gender-neutral words are not yet used widely enough, and the only way to change that is to systemically prefer gender-neutral words. Isn't it part of hacker mentality that one should fix broken th
327.
▲
by
Yaggo
11y ago
Does not matter, same principles apply to CSS as well. Transferring is pretty lightweight operation compared to parsing & rule applying.
328.
▲
by
Yaggo
11y ago
It's actually worse on mobile, because mobile connections typically are not order of magnitude slower than non-mobile, but mobile cpu power can be order of magnitude more limited (esp. on lower end hardware). https://timkadl
329.
▲
by
Yaggo
11y ago
Thanks sir, but I prefer gender neutral wording. (Note to self: humor, do not use.)
330.
▲
by
Yaggo
11y ago
I wish there was gentlewomen^H^H^H^H^Hfolks agreement to use minified size for library size comparison, not gzipped size, because minified size better tells how much there are code to read/understand & parse/execute, while gzi
More ›