Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rotifer
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
rotifer
3mo ago
At the bottom of the page there's a link, "When ‘if’ slows you down, avoid it" [1], that discusses these exact questions. It's basically what @josephg said, but it also shows the assembly language for each version. [1]
2.
▲
by
rotifer
2y ago
A year or so ago I bought a Hisense 65U88KM, which comes with Google TV. During the setup procedure it asked me if I wanted to enable the "smart" features, such as Google TV, the camera and microphone, or connect it to a network.
3.
▲
I built a 1B FPS video camera to watch light move
(youtube.com)
3 points
by
rotifer
2y ago
|
2 comments
4.
▲
by
rotifer
2y ago
Brian Haidet (Alpha Phoenix) shows how he made a video of a laser beam travelling across his garage. From his description: I'm using the technique from the electricity waves video where I used repeated oscilloscope measurements synced
5.
▲
by
rotifer
2y ago
In Haskell the numerator and denominator of the Rational type are unbounded integers, so one of the (many equivalent) ways of writing it is: ghci> sum [i % (i+1) | i <- [0..9]] 17819 % 2520 ghci> % is the construc
6.
▲
by
rotifer
2y ago
Probably NumbeR.
7.
▲
by
rotifer
2y ago
> Surely it’s possible to make a compiler that takes time proportional to how much of my code has changed [...] My understanding is that this is how Eclipse's Java compiler works, but I'm not positive.
8.
▲
by
rotifer
2y ago
You may discover this if you go to the Apress site, but there is a second edition [1] out. [1] https://hdombrovskaya.wordpress.com/2024/01/11/the-optimizat...
9.
▲
by
rotifer
3y ago
FWIW, in an upcoming version of Java you'll likely be able to do this: $ cat Hello.java void main() { System.out.println("Hello, world!"); } $ java --enable-preview --source 21 Hello.java 2>/dev/nul
10.
▲
by
rotifer
3y ago
The January 16, 2024 edition of the CBC radio show "As It Happens" has an interview with Gerry Vogrincic, the doctor who bought the book in 2007 and just sold it. There's a transcript of the interview here [1]. Search for &q
11.
▲
by
rotifer
3y ago
Somewhat tangentially, that quote seems likely to be from a financial advisor named Gary Shilling [1], rather than Keynes. [1] https://quoteinvestigator.com/2011/08/09/remain-solvent/
12.
▲
by
rotifer
3y ago
I write and review medical software. When I'm reviewing code the most important question is, "Is it correct?" If it's not, then the review simply isn't approved (obviously). Anything that makes it harder to determ
13.
▲
by
rotifer
3y ago
The Communications of the ACM article "The Silent (R)evolution of SAT" [1] gives an overview of some of the techniques used in SAT solvers. I believe it was posted on HN fairly recently. [1] https://cacm.acm.org/m
14.
▲
by
rotifer
3y ago
I expect they are referring to the "Vector API" described in JEP 426: Vector API [1]. From the summary: Introduce an API to express vector computations that reliably compile at runtime to optimal vector instructions on supp
15.
▲
by
rotifer
3y ago
There is also the recently announced Pentax K-3 III Monochrome [1], but it's a DSLR not a rangefinder. At $2200 I don't know if you'd consider it a "poor man's" camera, but it's certainly cheaper than the
16.
▲
by
rotifer
3y ago
I don't believe that Java currently uses it by default, although I've seen discussion about possibly using it in the future. However, you might find these links useful: - I built an ultra high performance HTTP server in Java
17.
▲
by
rotifer
4y ago
Regarding user-defined types, probably what you're looking for is JEP 401: Primitive Classes (Preview) [1]. I believe it's currently being worked on. [1] https://openjdk.org/jeps/401
18.
▲
by
rotifer
4y ago
That quote comes from here [1]. A few lines later, writing about a talk he had given at a software company, he says: I gave a beautiful lecture, which fell flat on its face. The managers were horrified at the suggestion that flaw
19.
▲
by
rotifer
4y ago
The city recently added sidewalks to my (low traffic) street after doing some sewer upgrades. Lots of people continue to walk on the street because it's consistently flat, as opposed to the dip and slope you encounter on the sidewalk
20.
▲
by
rotifer
4y ago
Olympic Scrapheap Challenge/Junkyard Wars [1]? [1] https://en.wikipedia.org/wiki/Scrapheap_Challenge
21.
▲
by
rotifer
4y ago
I rarely use dd, but my most common use might be: blah | sudo dd of=/some/file where: blah | sudo cat > /some/file wouldn't work.
22.
▲
by
rotifer
4y ago
Java and the JVM from Sun/Oracle. People may not like the language (or the company), but it's good, well-engineered software.
23.
▲
by
rotifer
4y ago
I don't follow it particularly closely, but I recall that there was a recent LWN article, "Security requirements for new kernel features" [1], which discussed the issue. [1] https://lwn.net/Articles/90246
24.
▲
by
rotifer
4y ago
I often use cat because when constructing a pipeline I'll do multiple rounds of: head filename | ... Once its working I find it easy to just type C-aM-dcat (i.e. beginning-of-line kill-word cat).
25.
▲
by
rotifer
4y ago
So much for post I wanted to submit about the blazingly ergonomic library I've written...
26.
▲
by
rotifer
4y ago
I just started reading the book a couple of days ago. Sigh... :-) One thing that I wish websites did is to make it easy to report simple typos and grammatical errors without having to go through GitHub. For example, on https://
27.
▲
by
rotifer
4y ago
This reminds me of the following quote from the Preface to "Structure And Interpretation Of Classical Mechanics" by Sussman and Wisdom [1]: When we started we expected that using this approach to formulate mechanics woul
28.
▲
by
rotifer
4y ago
I'll second Michael Kerrisk. Here's what I had to say about "The Linux Programming Interface" in an earlier post [1]: Covers some of the history of the Linux/Unix API, describes it in detail, has plenty of ex
29.
▲
by
rotifer
4y ago
I expect we mostly agree, but I disagree with your use of "ever". :-) From the "January 1998 North American ice storm" Wikipedia article [1]: The area south of Montreal [...] was nicknamed the triangle noir ("
30.
▲
by
rotifer
4y ago
ISO 8601 specifies durations [1]. For example, Java's Duration type [2] is based upon it. Depending on your language, and how much type safety you want, you could use something Haskell's units library [3]. I believe F# also has u
More ›