Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jkcxn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
jkcxn
5y ago
Were you using firefox by any chance? I get this on firefox after switching from chrome and its so annoying. no idea how to turn it off. every other scrollview in osx works fine but mozilla must have made changes to it
32.
▲
by
jkcxn
6y ago
If you do it that way you have to give a name to everything. Imagine writing javascript but every expression has to have a name, its all globally scoped, and one expression cannot refer to another one by name. There's a lot of utility
33.
▲
by
jkcxn
6y ago
Not a serious attempt but I prototyped a single header library for macos and will attempt to make it work on windows too example: https://pbs.twimg.com/media/EuQ-6vzXUAca_Ph?format=jpg&name=... (ignore the fact the
34.
▲
by
jkcxn
6y ago
> replace the dynamic properties of the more advanced REST-ful techniques (API discovery, link following, etc) in GraphQL Isn't this exactly what GraphQL does? I may be missing something
35.
▲
by
jkcxn
6y ago
That's official, you're thinking of https://rawgit.com/
36.
▲
by
jkcxn
6y ago
Have you heard they've returned to do another season? https://news.sky.com/story/dexter-one-of-tvs-best-known-seri...
37.
▲
by
jkcxn
6y ago
> Rather than eagerly loading the react-scroll dependency for this, they load it on interaction with the button, saving ~7KB: My apologies for being negative but isn't it crazy it takes 7KB to scroll to the top of the page?
38.
▲
by
jkcxn
6y ago
Not to mention keywords such as ret, inl, imm, mut, mat and even yon - 'readable' is certainly subjective. Not to dissuade anybody from trying anything outside the norm but I wonder if calling it readable is accurate.
39.
▲
by
jkcxn
6y ago
Are third party programs allowed to save screenshots unbeknown to the user in the first place??
40.
▲
by
jkcxn
6y ago
I agree with you but they seem to be changing the default 'master' in github because of this. https://twitter.com/natfriedman/status/1271253144442253312
41.
▲
by
jkcxn
6y ago
I'm new to C++, what are lines 11-12 for? I see that it doesn't compile without it. It doesn't seem to be the new 'arrow return type' syntax because there's no auto keyword. Edit: I found it - it's a '
42.
▲
by
jkcxn
7y ago
I totally agree. Full page rendered app are way easier to code. It's like an immutable function - request in, transform, html out. I think as soon as you want to add some niceties with React you end up setting up a load of front end st
43.
▲
by
jkcxn
7y ago
> If conditional codepaths depending on whitespace/indentation makes diffs very hard to read Wouldn’t this be the case in other languages too? Especially if you’re using an auto formatter
44.
▲
by
jkcxn
7y ago
There's no reason you couldn't type `noun.` and get autocomplete to `verb(noun)`
45.
▲
by
jkcxn
8y ago
This looks really fun: https://github.com/aardappel/lobster/blob/master/lobster/sam... Are the generators implemented entirely in user space using continuation passing style? And the coroutine funct
46.
▲
by
jkcxn
8y ago
Kotlin is doing something like this with coroutine cancellation. Not quite the same because the cancelation requires cooperation but I reckon you could add a timeout and get the composability that the article talks about https://
47.
▲
by
jkcxn
10y ago
Maybe a stupid question because I don't know much clojure but I'm curious. How can you be sure that -> is threading macro and my-object is what you think it is at compile time? Can't macros change the entire meaning of an
48.
▲
by
jkcxn
10y ago
Maybe you'd be interested in this experiment I did with straight lines a while ago. I project 3d points onto 2d and make lines out of rotated divs. But I don't use css 3d rotation because I want to keep the fixed width of the line
49.
▲
by
jkcxn
10y ago
Here is something similar I did in JS https://gist.github.com/JakeCoxon/d78fa1debc13e46ae54a
50.
▲
by
jkcxn
11y ago
Yeah even _.extend
51.
▲
by
jkcxn
13y ago
Imagine if we used different symbols for counting and indexing. I think Roman numerals would be good to use for indexing. arr[I + 0] = arr[I] arr[II + 3] = arr[V] arr[I - 10] = undefined