Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hjek
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
271.
▲
by
hjek
7y ago
> Would you rather read a really bad article that has no JS or a very well written one with JS enabled? That's not always the choice though. There are lots of good articles, so you could ask: Would you read one good article that req
272.
▲
by
hjek
7y ago
I use ublock origin with scripts and large media blocked by default (which makes sites load faster, like AMP is supposed to as well). For some sites, depending on their purpose, it would be unreasonable to expect them to not use JavaScript.
273.
▲
by
hjek
7y ago
Thanks for not driving. An obvious observation: Individual change and collective change are not mutually exclusive, so I think the choice between them is a bit of a false dilemma. To pick an extreme example: Me not stabbing anyone is not e
274.
▲
by
hjek
7y ago
You forgot IRC :-) Pidgin has extensions[0] available for all of those except for Jami. One messenger app to rule them all. [0]: https://developer.pidgin.im/wiki/ThirdPartyPlugins
275.
▲
by
hjek
7y ago
Jami works without a smartphone. I know it may seem unusual, but there are people who want to occasionally video chat using a laptop (which you can only do with Signal Desktop as long as you also have a smartphone ). If not for that sill
276.
▲
by
hjek
7y ago
If we're that pedantic, then any visual representation of plain text is also "graphical".
277.
▲
by
hjek
7y ago
Once XFCE is ported to GTK3, it should be Wayland-compatible, but for now Xubuntu still depends on X.
278.
▲
by
hjek
7y ago
I also think that comparison is a bit of a stretch, although those US nuclear facepalm moments do exist[0]. [0]: https://www.theguardian.com/world/2013/sep/20/usaf-atomic-bo...
279.
▲
by
hjek
7y ago
> - make you a wallet and let you claim it later? > - keep the token? The problem is pretending to do the first while actually doing the latter (when the token isn't claimed after X days, etc...)
280.
▲
by
hjek
7y ago
Well, that's good! Might give Brave a spin then. Just curious, what exact sentence(s) from the above links to the Brave website do you see contradicting this claim about "shadow wallets"? (if that's the correct wording)
281.
▲
by
hjek
7y ago
> But even if you're right, why is it unethical for me to install software on my own computer to render websites differently than the creator intended? It's not unethical for you to run that program, but what is being argued
282.
▲
by
hjek
7y ago
Can also recommend ublock origin's built-in script blocker.
283.
▲
by
hjek
7y ago
https://invidio.us/watch?v=WgFc4Zhvjtg&hl=en-US&local=true&a...
284.
▲
by
hjek
7y ago
Well, I think many programming keywords have a form of meaning that you need extra context to understand . How would I intuitively could guess what 'public static void' was, withing having any idea about OO or Java? I mean, '
285.
▲
by
hjek
7y ago
I feel like mpv is the vim of video players: minimalist keyboard-oriented interface. I prefer it over VLC, but wouldn't recommend it to non-techies. I think it's fine to compare projects when going beyond "which one is the be
286.
▲
by
hjek
7y ago
Yup. Magic integers are bad for readability. So are "magic phrases", like public static void . I think the readability of Pd is horrible, but the question was whether it was human readable at all.
287.
▲
by
hjek
7y ago
Hello world in Pd: #N canvas 0 0 100 100 100 10; #X obj 0 40 print; #X msg 0 20 hello world; #X obj 0 0 loadbang; #X connect 1 0 0 0; #X connect 2 0 1 0; Compar
288.
▲
by
hjek
7y ago
I guess only Miller Puckette can provide an answer about the intention . It also depends what we consider human readable : Does it mean that some or many or most humans can read it? It's a custom plain text format[0] that is pe
289.
▲
by
hjek
7y ago
Yes, exactly. Depending on the definition of "equivalent", Puredata[0] may or may not qualify as well. [0]: https://puredata.info/
290.
▲
by
hjek
7y ago
> In fact, you don't even have a guarantee that a solution exists. If there's more than one soluton or no possible solution, then it's not a "well-posed" sudoku puzzle; at least according to Wikipedia here: >
291.
▲
Simsttab: A Timetabling Engine for Schools
(metalevel.at)
3 points
by
hjek
7y ago
|
0 comments
292.
▲
by
hjek
7y ago
> Unfortunately I just haven't been able to figure out how to do a left outer join (or if that's even the right approach in Prolog :-) That is probably my main issue with SQL: That the names of some of the keywords are very ta
293.
▲
by
hjek
7y ago
> Which office suite doesn't these days? Gnumeric or EtherCalc?
294.
▲
by
hjek
7y ago
Yes, looks like SQL got that right as well. I think Prolog is the answer to the question: What if the full stack was relational; not just the database?
295.
▲
by
hjek
7y ago
Cool! That's actually really close to the Prolog version.
296.
▲
by
hjek
7y ago
Brilliant! Cool to see the two paradigms side-by-side. If there was a similar puzzle that had more than one solution, would it be straight-forward to do that using for loops as well in Python? (Curious if you can do backtracking that way)
297.
▲
by
hjek
7y ago
Hey, this is good practice! First we can load the csv library, then read the rows of the csv file, and assert those rows as facts using the `car` identifier. (Doesn't mean `car` like in lisp, obviously, but automobile .) ?- [lib
298.
▲
by
hjek
7y ago
PG does indeed use a lot of mutation in his Arc code. "Karma" on `vote-for` on HN is just incremented like this: (++ (karma i!by) (case dir up 1 down -1)) At first this looks nice and simple, but when you have to write `u
299.
▲
by
hjek
7y ago
Say you have a file, `foo.json`, with the content: {"foo":"bar"} Run `swipl` and first load the JSON library: ?- [library(http/json)]. true. Then open the file `foo.json` (in read mode) as Stre
300.
▲
by
hjek
7y ago
I haven't used Prolog at that scale myself, but I'll just add completely unsubstantiated hearsay from the ##Prolog IRC on FreeNode: Someone reported no problems using SWI Prolog for running queries on "59 million facts".
More ›