Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bjourne
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
691.
▲
by
bjourne
2y ago
> No, the US government is deporting people for supporting terrorist organizations, Has it deported anyone voicing support for the Israeli Defense Forces or any of the other Jewish supremacist terrorist organizations currently terrorizin
692.
▲
by
bjourne
2y ago
Yes, web is a niche . Outside of web there is simply no possibility of turning untrusted input into executable code so sanitation isn't needed. In web development you already have two dozen templating libraries that offer much more co
693.
▲
by
bjourne
2y ago
Superficially f-strings reminds you of php and everyone remembers how awful that was. But Python's implementation is leagues better and we also have better tooling (ie smart parsers) for handling fstrings.
694.
▲
by
bjourne
2y ago
Vimium
695.
▲
by
bjourne
2y ago
Yes. And it also relies on pre-compilation, which t-strings do not support.
696.
▲
Doom Emacs
(github.com)
2 points
by
bjourne
2y ago
|
0 comments
697.
▲
by
bjourne
2y ago
Yes, of course. Any function with syntactic support will be more "ergonomic" than one without. But t-strings are for a relatively niche use case and can't even fully replace f-strings since they aren't actually strings
698.
▲
by
bjourne
2y ago
That's why I specified the context argument. Something like Template("{name} {address}", dict(name = ..., address = ...)) would be exactly equivalent to t"{name} {address}" assuming those variables are fetched from
699.
▲
by
bjourne
2y ago
Does Python really need yet another type of string literal? I feel like while templating is a good addition to the standard library, it's not something that needs syntactic support. t"blah blah" is just an alias for Template(
700.
▲
by
bjourne
2y ago
CPU benchmarks such as PassMark does not indicate that Apple Silicon has a performance edge over Intel or AMD CPUs in any price range: https://www.cpubenchmark.net/cpu_list.php
701.
▲
by
bjourne
2y ago
Anything created by the Pallets team: https://github.com/pallets
702.
▲
by
bjourne
2y ago
No, neither Smalltalk nor any of the Lisp environments that purport to support hot code reloading have the same facilities the Erlang VM has.
703.
▲
by
bjourne
2y ago
This is an all-time classic, but, sadly, most HN commenters just don't "get it". Perhaps because they have no experience with the Erlang VM so they don't understand Joe's premises The Erlang VM is best described as
704.
▲
by
bjourne
2y ago
Well, you don't make up straw men that makes you inferior. Paul never met Jesus, James did and also was the leader of the (clearly) very important Jerusalem church. Paul knew and admitted that he lacked authority, hence he had to sel
705.
▲
by
bjourne
2y ago
The most compelling evidence for the historicity of Jesus does not come from the gospels, but from Paul's letters. He claims to have met with Peter and James which he calls Jesus' brother and the leader of the Jerusalem congregati
706.
▲
Does Columbia still merit the name of a university?
(theguardian.com)
6 points
by
bjourne
2y ago
|
0 comments
707.
▲
23andMe is filing for bankruptcy. Here's what it means for your genetic data
(npr.org)
4 points
by
bjourne
2y ago
|
0 comments
708.
▲
by
bjourne
2y ago
It exists. The "commits" to the legal code is published in a government gazette: https://en.wikipedia.org/wiki/Government_gazette The current laws are just the tip of the main branch. In theory you could run
709.
▲
by
bjourne
2y ago
Unless you're dealing with packed data (i.e., long arrays), there is no point in having scalars be less than 32 bits wide on modern architectures. This is due to architectures being optimized for 32 or 64 bit wide registers and even wi
710.
▲
by
bjourne
2y ago
No, people are terrible at detecting patterns. It took medicine a few thousand years before Semmelweis came along and detected a correlation between hand-washing and childbed fever. But also there is no pattern to detect, eating pork just i
711.
▲
by
bjourne
2y ago
Zero evidence for that theory. People didn't know parasites existed so that couldn't have been the reason for abstaining from pork. But if that had been their reason they would also have abstained from chicken because it is even m
712.
▲
by
bjourne
2y ago
I only use about 50 mb of my boot partition with refind as my boot manager. Come to think of it, why on earth do we still need boot partitions? Why can't Windows, Linux, iOS, etc coexist in the same file system?
713.
▲
by
bjourne
2y ago
You don't get it. I agree with you. She is a woman and thus "that bad" of a presidential candidate. But to argue that it somehow was rational for the Americans to reelect Trump over her is to engage in some seriously dangerou
714.
▲
by
bjourne
2y ago
Why is it so hard to accept that hundreds of millions of Americans are racist, sexist, dumb fucks who don't know what's in their own best interests? They elected a crazy, raging megalomaniac over two sensible women. Twice . "
715.
▲
by
bjourne
2y ago
This is exactly the kind of content I love to see on HN. But I wonder though how this optimization is related to tail-call optimization? How the interpreter jump table is implemented shouldn't affect how stack frames are created, shoul
716.
▲
by
bjourne
2y ago
It's a talking head droning on for ten minutes how he doesn't like YouTube anymore so he's gonna move his stuff to a new platform where they have more community. So you should totally subscribe to his new platform so that he
717.
▲
by
bjourne
2y ago
Sin is orthogonal to sacrifice. Pagans had sacrifice, but not sin. Jews had sacrifice and sin. Christians had sin but not sacrifice. That was the whole point of the religion, you did not have to "pay up" because God had alread
718.
▲
by
bjourne
2y ago
That Christmas is a Christianized version of Saturnalia is a myth: https://www.thearchaeologist.org/blog/is-christmas-a-pagan-r...
719.
▲
by
bjourne
2y ago
What distinguishes Christianity from contemporary pagan cults and Judaism are the concepts of sin, repentance, salvation, and atonement. In Christian theology God sacrificed Jesus to offer people the option of "paying off their sin deb
720.
▲
by
bjourne
2y ago
You all studied so hard but never heard about https://en.wikipedia.org/wiki/Sampling_bias ?
More ›