Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tuukkah
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
571.
▲
by
tuukkah
4y ago
XPath supports more complex queries. In JavaScript, XPath is available as document.evaluate
572.
▲
by
tuukkah
4y ago
Bridgy Fed and Bridgy are separate projects, although they can work together. As I understand it, Bridgy is for connecting your website with your existing social media accounts, whereas Bridgy Fed is for using your website as your (federa
573.
▲
by
tuukkah
4y ago
There's even a bridge from Indie Web to Mastodon: https://github.com/snarfed/bridgy-fed
574.
▲
by
tuukkah
4y ago
One more aspect: when you have a complex database schema, GraphQL can give you a nice API for free (see Hasura). The other option is to spend resources on a separate "backend-for-frontend" API. I would not consider tightly coupled
575.
▲
by
tuukkah
4y ago
> C-like languages like Python I can see Paredit working somehow with the curly brace blocks of C, but how does it handle the significant whitespace of Python? Are indent and dedent handled as tokens?
576.
▲
by
tuukkah
4y ago
This seems to use the js-parsons library which has not been updated in years: https://github.com/js-parsons/js-parsons Can anyone recommend an alternative, especially for puzzles about JavaScript? For Python, this seem
577.
▲
by
tuukkah
4y ago
I can see the site is in both English and French, but I get the puzzles only in French.
578.
▲
by
tuukkah
4y ago
From your blog: > If you teach a different language besides Python, it may be possible for you to get it working if there's a way to run that language in the browser. JavaScript comes to mind as an obvious choice. In my experience
579.
▲
by
tuukkah
4y ago
> Array(clicks) instantiate an array of length 'clicks', with its elements undefined. Not undefined elements but no elements, or "empty" elements. > they could've just used Array(clicks). No, because the f
580.
▲
by
tuukkah
4y ago
... is the spread syntax, which is a neat way to use the entries of an existing array or object in an argument list or within an array or object literal. https://developer.mozilla.org/en-US/docs/Web/JavaScript
581.
▲
by
tuukkah
4y ago
To make complete layouts, you still need to creatively combine (nested) Flexbox with other CSS features. Flexbox was a huge improvement, but I continue to see the need for "tricks" articles that give you well thought-out solutions
582.
▲
by
tuukkah
4y ago
> the terminal Ctrl+`
583.
▲
by
tuukkah
4y ago
I came across this collection of Amiga 12-bit images today: https://amiga.lychesis.net/colors/HAM.html
584.
▲
by
tuukkah
4y ago
Not 4096 rainbow colors, but rainbow colors in a color space of 4096 colors. I have to admit I was expecting 4096 colors too, the "rainbow" of Amiga's HAM6 graphics mode: https://commons.m.wikimedia.org/wiki&#
585.
▲
by
tuukkah
4y ago
Here's a HTML version of the book (including the pages missing from the PDF): https://worldofspectrum.net/ZXBasicManual/index.html
586.
▲
by
tuukkah
4y ago
This is already the second Postgres solution with bottomless storage in S3 as Neon provides that as well. For me, the neatest feature of Neon is that it can scale to zero whenever there are no requests (so truly cloud-native and serverless
587.
▲
by
tuukkah
4y ago
... and the courts struck it down as unconstitutional: > In August 2010, Chief Judge Vaughn Walker ruled that the amendment was unconstitutional under both the Due Process and Equal Protection Clauses of the Fourteenth Amendment,[6] sin
588.
▲
by
tuukkah
4y ago
It tells about the factorizations if anything, as that's the input dimensions they are using. If you haven't seen factorization diagrams, it's worth checking them out first: https://mathlesstraveled.com/factor
589.
▲
by
tuukkah
4y ago
In your opinion, where are the biggest differences between Rust and Haskell tooling quality?
590.
▲
by
tuukkah
4y ago
> And the tooling is a trainwreck that keeps me from using it. What's the worst part of Haskell tooling in your opinion?
591.
▲
by
tuukkah
4y ago
Good point!
592.
▲
by
tuukkah
4y ago
I've seen cool computer vision demos that run client-side in the browser, so I hope they don't stream the feed. OTOH if they do stream, warning the user would go a long way.
593.
▲
Zeekill detained in absentia as suspect in psychotherapy centre data hacks
(yle.fi)
2 points
by
tuukkah
4y ago
|
0 comments
594.
▲
by
tuukkah
4y ago
If you wonder where the shell commands "library" and "lb" come from, see https://github.com/chapmanjacobd/library And specifically, "nouns" here are defined by this regex: https:/&#x
595.
▲
by
tuukkah
4y ago
Yes and no: yes in the sense that they can't quickly power down when wind would suffice, no in the sense that they suffer both regular and unplanned shutdowns with an average load factor of 80%.
596.
▲
by
tuukkah
4y ago
Apparently and surprisingly, the biggest issue is not the darkness but cleaning the panels from frost and after snowfall. On the positive side, subzero temperatures increase the photovoltaic efficiency, white snow increases the amount of l
597.
▲
by
tuukkah
4y ago
It might be more practical to invest in solar and wind. I hear solar can be profitable even here in the north.
598.
▲
by
tuukkah
4y ago
In Helsinki, Finland, we pay 4 cents/kWh to the local grid company. Then on top of that, everyone has a contract with an electricity supplier of their choosing, and mine charges 0.9 ¢/kWh on top of the hourly spot price. (My previ
599.
▲
by
tuukkah
4y ago
It's the same with electricity markets: at times there's so much wind and nuclear power that the spot price goes below zero in Europe as well as in the US: https://www.sciencedirect.com/science/article/pi
600.
▲
Solar Cell Pioneer Wins the €1M Millennium Technology Prize
(millenniumprize.org)
1 points
by
tuukkah
4y ago
|
0 comments
More ›