Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
d0mine
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
511.
▲
by
d0mine
3y ago
It seems like a job for AI (as it is today).
512.
▲
by
d0mine
3y ago
Simple, concise, more efficient: def primes_upto(limit: int): """Generate prime numbers < *limit*.""" # Sieve of Eratosthene is_prime = [True] * limit for n in range(2, limit):
513.
▲
by
d0mine
3y ago
I've used `M-x org-babel-execute-subtree` to run/rerun code blocks in a subtree. No issues with plotting figures in emacs-jupyter https://github.com/emacs-jupyter/jupyter#org-mode-source-blo...
514.
▲
by
d0mine
3y ago
The linked github page says: "However, term and ansi-term do not implement all the escapes codes needed, so some programs do not work properly."
515.
▲
by
d0mine
3y ago
Consider vterm instead of ansi-term. It is a fully-fledged terminal emulator. https://github.com/akermu/emacs-libvterm
516.
▲
by
d0mine
3y ago
"Sneaking massive feels under the woke radar." https://hpmorpodcast.com/?p=3156
517.
▲
by
d0mine
3y ago
The primary (95+%) use case for Stack Overflow is being the destination for a web search. "Bad" questions make signal/noise ratio worse.
518.
▲
by
d0mine
3y ago
Propaganda is a fact of life. Why would the COVID topic be any different? If state lies about reasons to start a war (life & death literally), it can lie about anything.
519.
▲
by
d0mine
3y ago
Microsoft is the freedom fighter? That it is indeed laughable.
520.
▲
by
d0mine
3y ago
GPT-4 can't reason: "Yes, I'm sure. If you are in South Dakota and facing towards Texas (which means you are facing south), then Boston, Massachusetts, which is located to the east of South Dakota, would be on your right side
521.
▲
by
d0mine
3y ago
"Tree of Thoughts: Deliberate Problem Solving with Large Language Models" seems better than just re-rolling the dice. https://github.com/princeton-nlp/tree-of-thought-llm
522.
▲
by
d0mine
3y ago
The presentation style for a science topic is off putting: "they lied to us" "just my opinion" If there is an evidence then there is no "my opinion"--provide it. If you can't provide it, then don't m
523.
▲
by
d0mine
3y ago
1000 threads can run in parallel. It doesn't prevent us to sum their results deterministically: results = ThreadPool(workers=1000).imap_unordered(calc, inputs) print(math.fsum(results)) Due to the magic of the fsum alg, th
524.
▲
by
d0mine
3y ago
Is it a true federated twitter: - "favorite" or rss instead of "follow - quote/link like any other dynamic page on the internet instead of retweets - no timeline unless somebody wants to expose their blog this way - no
525.
▲
by
d0mine
3y ago
how likely, the corresponding code doesn't release GIL already? Pure Python is 100x slower than native code therefore the number crunching itself happens in C extensions where GIL can be released.
526.
▲
by
d0mine
3y ago
btw, many C extensions release GIL already e.g., one Python thread can do regex work, another some number crunching, yet another waiting IO--all in parallel.
527.
▲
by
d0mine
3y ago
You are underestimating how useful for exploratory tasks the combination of elements: markdown/code cells + runtime kernel to keep state + persistent results usable from your browser. Jupyter notebook is neither the first nor the only
528.
▲
by
d0mine
3y ago
I use jupyter using org-babel inside emacs. https://github.com/emacs-jupyter/jupyter#org-mode-source-blo...
529.
▲
by
d0mine
3y ago
Every digit is equally likely in pi: >>> statistics.mean(map(int, string.digits)) 4.5
530.
▲
by
d0mine
3y ago
If individuals are responsible for just 1% of the issues then even if we eliminate them "bottom-up" completely, we are still left with 99% of issues that should be fixed at another level. For example, consider what would save more
531.
▲
by
d0mine
3y ago
According to the data mentioned in "Equation Text" part, their abstract is misleading at best or just wrong (it seems we can't rely on authors to summarize their own papers accurately) e.g., the plot shows there is either n
532.
▲
by
d0mine
3y ago
Click the link, your quote and the paper contradict each other.
533.
▲
by
d0mine
3y ago
It sounds like BS in my experience but the actual quote says: "We show that LaTeX users were slower than Word users, wrote less text in the same amount of time, and produced more typesetting, orthographical, grammatical, and formatting
534.
▲
by
d0mine
3y ago
Note: there is an effect that less eligible font makes for deeper understanding (it makes the text harder to read thus your conscious has the time to process before your fast intuitive system I jumps to conclusions). While skimming code (i.
535.
▲
by
d0mine
3y ago
I can recognize much more faces than I can describe/draw. It is easier to read foreign language than to write it (active vs passive vocabulary). It is the same with googling, looking for a solution on StackOverflow: understanding/
536.
▲
by
d0mine
3y ago
The error seems appropriate: the client expects erroneously something from the server that it can't provide (otherwise there would be something other than the default page to return)
537.
▲
by
d0mine
3y ago
data point in favor of the renaming: while reading GP, I've assumed that "starlite" is a typo for "starlette."
538.
▲
by
d0mine
3y ago
Whether "double click" selects the whole id.
539.
▲
by
d0mine
3y ago
Have you look at the video description? It says explicitly that views expressed in the video are not supported by the mainstream research.
540.
▲
by
d0mine
3y ago
AR + AI assistant could be great: - "I see you are about to eat the 3rd donat today. It would put you over 3000 Cal target. The wedding is in 2 months.." - "the sign says you can't park here." - "the car on the
More ›