Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
breuleux
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
331.
▲
by
breuleux
5y ago
Right. And considering the existence of natural disasters and horrible diseases, which conventionally moral humans would prevent if they could, the problem of evil is really about arguing the possibility or plausibility that if you were omn
332.
▲
by
breuleux
5y ago
It seems kind of presumptuous to think that God's conception of morality would bear any similarity with ours. Presumably God created what It considers to be the perfect world and therefore everything that happens in it is good accordin
333.
▲
by
breuleux
5y ago
I mean, okay, I can see that, but they're not really equivalent examples, are they? The README isn't setting up a carousel, dealing with custom styles, or embedding an interactive example. There isn't really any way to implem
334.
▲
by
breuleux
5y ago
Could you be more specific as to what looks too much like source code? The most common difference between the two would be *multi word emphasis* vs _[multi word emphasis]. The former may be less conspicuous, but both read fine to me.
335.
▲
by
breuleux
5y ago
I made a highly extensible markup language (inline macros, plugins, etc.) a while ago called Quaint[1] that I've been meaning to dive back into at some point. Out of curiosity, do you reckon it'd fit your use cases? [1] https:&#x
336.
▲
by
breuleux
5y ago
From what I recall from looking at Unison not long ago, the hashes do not depend on names. `f x = x * x` and `g y = y * y` both have the exact same hash and are considered to be the exact same function. Any call to `f` or `g` will be stored
337.
▲
by
breuleux
5y ago
I would be careful about accusing anyone of indulging in a victim culture, because it's a very easy script to flip. The common "leftist" perspective is that "cancelling" is a rare occurrence, mainly targets the rich
338.
▲
by
breuleux
5y ago
Thanks :) How complete is crossref? I can't find my own publications on the search page they have on their site (well, I found one), but the search engine is garbage so I don't know whether it's because they're not in th
339.
▲
by
breuleux
5y ago
I made a CLI interface for the Microsoft Academic API so you can search for papers, download them, and generate HTML from a collection: https://github.com/mila-iqia/paperoni I'm using it to automatically collect p
340.
▲
by
breuleux
5y ago
Here you go: ѻටธݹௐsແ૨௨ഢໃݠ௨ദໃݢ௨ഠІݚޛටଭݹಳඨІѧமԻฦ1 And you can repeat the pattern forever and ever! :D
341.
▲
by
breuleux
5y ago
> I'm not sure I could untrain all my muscle memory I've built up over the years with my TMUX configuration I assume you can customize your keybindings so that they're mostly the same as your TMUX configuration. But even i
342.
▲
by
breuleux
6y ago
I made an issue to track this so I don't forget and where it can be discussed further if needed: https://github.com/breuleux/jurigged/issues/2 Explicitly detecting changes to if __name__ == "__main_
343.
▲
by
breuleux
6y ago
Oh, I see. Jurigged doesn't watch for add/delete of files, just modifications (which means it'll miss changes from certain editors like vi that use a move instead of modifying an existing file). I think the write's not a
344.
▲
by
breuleux
6y ago
I believe watchgod basically restarts the process whenever changes happen. Jurigged does not restart anything: it computes a diff between the old and new code, executes that diff, fudges the code object pointers inside the existing function
345.
▲
by
breuleux
6y ago
I mean, if you watch the example gif in the README, it shows the toplevel module being changed (you can see the if __name__ guard on the screen). It should work. Basically, Jurigged only re-runs the diff: if you don't change the `if __
346.
▲
by
breuleux
6y ago
Noctis Obscuro
347.
▲
by
breuleux
6y ago
You can also run `jurigged -vm IPython`, for what it's worth (or put `import jurigged; jurigged.watch()` in the config). There are a few edge cases where jurigged will work and not IPython's autoreload, and vice versa. Notably, ju
348.
▲
by
breuleux
6y ago
Python doesn't re-read a function's source code from the filesystem every time it calls it, and that would be a bad idea in general since you'd inadvertently crash your running programs during development. This watches for ch
349.
▲
Jurigged – Hot code reloading for Python
(github.com)
141 points
by
breuleux
6y ago
|
31 comments
350.
▲
by
breuleux
6y ago
They could use a scheme like `AppID-name` where `name` is the sanitized lower-cased title, e.g. `50631-hack`. From Steam's perspective it doesn't really make any difference, it could just ignore everything after the dash, but at l
351.
▲
by
breuleux
6y ago
I tend to bind more often than matching the value of an existing variable, so personally I would have opted for something like this: case Point(== x, y):
352.
▲
by
breuleux
6y ago
What if other people exploit your platform in order to direct culture, though? If you run a bar and after a year or two you realize that all of your patrons are nazis, presumably because their passionate discussions drove away anyone who ov
353.
▲
by
breuleux
6y ago
Apple customers generate a large chunk of the content there is to see in Facebook products, so losing them would diminish engagement across all remaining platforms. If competitors can capitalize on the opportunity, that could very well trig
354.
▲
by
breuleux
6y ago
Ah, fair enough.
355.
▲
by
breuleux
6y ago
Don't recent Apple computers have hardware encryption by default through the T2 chip? Just throw away the key and all data on disk should be irretrievable. Replacing the disk in this case would add no security, so it would be the waste
356.
▲
by
breuleux
6y ago
> Are there any other text editors that have interpolated variable references? I made my own markup language a while back that sort of has that feature ( http://breuleux.github.io/quaint/syntax.html#variables ). The v
357.
▲
by
breuleux
6y ago
> double the environmental resource use I mean, they're not defective, they can be refurbished.
358.
▲
by
breuleux
6y ago
Pretty much all languages that implement pattern matching treat case statements as l-values, not r-values. `match x: case y: ...` basically means "execute `y = x`, enter the body if it succeeds, try the next case if it fails". Pyt
359.
▲
by
breuleux
6y ago
> Oops, I've accidentally written 'position.absolute' instead of 'neighbour.absolute'! I'm going to be honest here, the number of times I've made that kind of mistake is absolutely dwarfed by the number
360.
▲
by
breuleux
6y ago
Your code is buggy, though. It will only ever accept two parts because of `cmd, arg = parts`, so `["quit"]` will fail, and each command might accept a different number of parts, so you can't just test `0 < len(parts) <
More ›