Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pygy_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
92 ms
·
901.
▲
by
pygy_
10y ago
That's not unlike building a really comfortable guillotine. Please, lie down, make yourself at ease...
902.
▲
by
pygy_
10y ago
Work is power. Having a paid job means you don't have to rely on the goodwill of someone or something else to get fed. Automation is stripping the masses of the last speck of power they had.
903.
▲
Sulong – Execution of LLVM-Based Languages on the JVM
(2016.ecoop.org)
2 points
by
pygy_
10y ago
|
1 comments
904.
▲
by
pygy_
10y ago
Things like downvote and flag privileges would allow botnets to censor HN and spin comment threads their way.
905.
▲
Baby Steps: Slowly Porting Musl to Rust
(blog.adamperry.me)
287 points
by
pygy_
10y ago
|
176 comments
906.
▲
by
pygy_
10y ago
Amplitude as a function of time. Images have (r,g,b) as a function of (x,y). Edit: or (h,s,v), or however you slice the color 3d space.
907.
▲
by
pygy_
10y ago
My in-laws were bitten by the "Click [x] to update" dark pattern ("The computer installed Win10 by itself") and the keyboard and trackpad were unresponsive after the update. I only had a spare keyboard laying around, and
908.
▲
by
pygy_
10y ago
No, I didn't know about it... Still, the hostility from the "against" side (which also included Yahoo and a pre-Chrome Google) was enough to derail the effort.
909.
▲
by
pygy_
10y ago
Did you know that Microsoft was part of the cabal against ES4, proposing a competing and very modest ES3.1 which became ES5?
910.
▲
by
pygy_
10y ago
You also want to batch your DOM manipulations as much as possible, and you get it automatically by using vDOM libraries.
911.
▲
by
pygy_
10y ago
The electric grid is already computer-controlled, and mining/farming is being gradually robotized as well. By the time AI becomes a threat intelligence-wise, it'll be in a position to unplug us. It can reboot after a power failure
912.
▲
by
pygy_
10y ago
LuaJIT's FFI also allows to manipulate and dereference arbitrary pointers.
913.
▲
by
pygy_
10y ago
News to me. I suppose we live in different bubbles.
914.
▲
by
pygy_
10y ago
My in-law's laptop "upgraded to Win 10 all by itself" last week (that's how they described it), and I can only suppose that one of them closed the nagging pop up, unknowingly triggering the update. After rebooting, neit
915.
▲
by
pygy_
10y ago
Separation of different concerns. The devs convey intent to the stylers through classes.
916.
▲
by
pygy_
10y ago
I'm curious about the composition of the particles emitted when frying the eggs, and on the specific toxicity of cooking oil droplets and specs of albumin... I'd expect both to be readily processed by macrophages, without harm, un
917.
▲
by
pygy_
10y ago
Whelp... Is there a non undefined way to do bounds checking in C?
918.
▲
by
pygy_
10y ago
What about array_start <= ptr && ptr < array_end // or `<=` if the upper bound is inclusive Edit: well, for one it may not be thread safe, since it's not atomic, but neither is your example AFAIK.
919.
▲
by
pygy_
10y ago
Bad link, I'm afraid... It's about a box-shadow glitch.
920.
▲
by
pygy_
10y ago
http://j2c.py.gy provides similar avantages from JS. You get the full CSS feature set (at-rules, pseudo-selectors) unlike with inline styles, and local class names. No need for WebPack since it's plain JS. Disclaimer: I wro
921.
▲
by
pygy_
10y ago
Or small ints, possibly working in log space.
922.
▲
by
pygy_
10y ago
Great, thanks :-)
923.
▲
by
pygy_
10y ago
Maybe I should have said a WATWG YavaScript standard... I didn't know the standard existed. Generally, agree with the "let's put back every piece of dung in place after paving the cowpath" approach the WHATWG follows. An
924.
▲
by
pygy_
10y ago
Yet only 98% ES5 compliant: https://kangax.github.io/compat-table/es5/ No browser is at 100%, BTW. Waiting for a WATWG JavaScript standard that removes these parts from the spec...
925.
▲
by
pygy_
10y ago
Good one. The biggest issue was the lack of multi-line strings in JS, but ES6 adoption is about to solve that. Would you mind publishing it on NPM (or at least tacking a license to it)?
926.
▲
by
pygy_
10y ago
If the string you happen to match contains a lot of metacharacters, you end up with backslashes all over the place, which makes the result hard to read. Nested groups and captures are also often hard to parse. FWIW, you forgot to double esc
927.
▲
by
pygy_
10y ago
No, JS doesn't have whitespace-insensitive RegExps, which is why I wrote the lib. CoffeeScript does but it's losing ground for unrelated reasons.
928.
▲
by
pygy_
10y ago
I made a JS lib just for that: https://github.com/pygy/compose-regexp.js Edit: real life example, a minimal lexer used to split compound CSS selectors on comas. We must skip those in strings, comments and in `:not(a, b
929.
▲
by
pygy_
10y ago
Depending on the tumor, feeding it well may increase its sensitivity to chemotherapy. On the other hand, I've read recently that fasting improved chemo tolerance because it puts healthy cells at rest while the cancerous ones are oblivi
930.
▲
by
pygy_
10y ago
At the very least it happens in Flanders. I've seen ijs ("ice") capitalized in cursive as Ys [0] on an ice truck, for example. Edit: from Wikipedia[1]: "It used to be common, in particular when writing in capitals, to
More ›