Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DannyB2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
53 ms
·
511.
▲
by
DannyB2
10y ago
Good answers by others. The cost it not quite zero, but very close. The benefits this buys are huge. The obvious case is recursive search algorithms.
512.
▲
by
DannyB2
10y ago
Is it lazy?
513.
▲
by
DannyB2
10y ago
I'll give you another. Laziness. It's built in. It's trivial to create lazy lists that generate their contents as you walk down the list. Even infinite lazy lists. The list of all prime numbers. The list of all fibonacc
514.
▲
by
DannyB2
10y ago
A big one is persistent data structures. Where 'persistent' may not mean what you think it means. In Clojure it is impossible to surgically modify a data structure. That is, you can't do something like: (SETF (CAR (CDR x))
515.
▲
by
DannyB2
10y ago
I'm not intending to criticize Common Lisp, which I loved back in the early 90's, but there are things to like about Clojure over Common Lisp.
516.
▲
by
DannyB2
10y ago
. . . how far advanced, and the lengths they would go to.
517.
▲
by
DannyB2
10y ago
You should not expose digital photography. At least not before it has been developed, or that would ruin the film.
518.
▲
by
DannyB2
10y ago
The article asserts that authors are not testing their code. The problem is that you can't ensure that every possible bug is exercised in tests. Think of the static typing of the compiler as the very first level of testing. If you c
519.
▲
by
DannyB2
10y ago
Saying "just ban them" is like when the MPAA / RIAA says that Google should somehow magically remove all copyright infringing links from its search results. Doing it manually doesn't scale. So how do you do it with autom
520.
▲
by
DannyB2
10y ago
All police are represented by the worst of the police. Therefore it would be in their interest to weed out the bad cops. Instead, they line up and protect them. Thus they make the public perception of police even worse. It then becomes
521.
▲
by
DannyB2
10y ago
You may own the property, but you don't own the electromagnetic spectrum. The spectrum is a limited resource. It is managed by the government for the public good. Some spectrum is licensed. Some is for public use, such as WiFi, Blue
522.
▲
by
DannyB2
10y ago
I can choose not to pay you to use your WiFi. But I can lawfully use my own WiFi hotspot, even while I am lawfully on your property. You may own the property, but you do not own the radio spectrum.
523.
▲
by
DannyB2
10y ago
While the hotel owns the property (land) it does not own the spectrum. Spectrum is a limited resource that government manages for the public good. The hotel cannot interfere with my lawful use of spectrum, even if I am lawfully on their p
524.
▲
by
DannyB2
10y ago
Marketing seeks to destroy the meaning of useful technical jargon. The term Operating System is a good example. Most people have no idea what an OS actually is. They think it is all of the stuff bundled with the OS. Similarly in the 1980&
525.
▲
by
DannyB2
10y ago
As of last week, Alexa cannot tell me how many inches per second is an atto parsec per micro fortnight. Google can. Alexa can tell me how many sides a hexagon has. But cannot tell me the name of a six sided polygon.
526.
▲
by
DannyB2
10y ago
Eclipse (and other modern IDEs) is the killer feature that most other languages don't have. (With the notable exception of C# and Visual Studio as the counterparts to Java / Eclipse.) A large code base written in a language that
527.
▲
by
DannyB2
10y ago
I thought of that. I can often extract MSIs using 7zip. I was about to download until I read that it can only be used for development purposes. Apparently I have to agree not to redistribute it. No thanks Red Hat. Elsewhere in this thre
528.
▲
by
DannyB2
10y ago
Java (or the JVM) is the Cobol of the 21st century. There is such a large amount of software written for it, representing such a large economic investment, that it won't be replaced anytime soon. That is the reason Cobol is _still_ a
529.
▲
by
DannyB2
10y ago
There was an article the other day on HN about Golang compiler and work on its GC. (Garbage Collection) As the article goes on, it becomes clear that a modern GC managed system is no simple thing. As you start to add all the choices and t
530.
▲
by
DannyB2
10y ago
Additionally, it is delivered as an MSI, making it less usable. I would also like a simple ZIP file please with no installer. I like to set up some software with an environment variable that points to which JRE / JDK that I want it to
531.
▲
by
DannyB2
10y ago
Processing video in a GC system is best handled like some other things that are continuous ongoing processing without doing a GC. 1. Allocate all your structures up front. 2. Your main video processing loop (or compression, encryption, sign
532.
▲
by
DannyB2
10y ago
If there were one perfect programming language, everyone would be using it already. If a particular language were horrible in every possible way, nobody would be using it. If lots of people are using it, maybe you are not understanding why
533.
▲
by
DannyB2
10y ago
It should be possible to have one or more decoy passwords. Under pressure the journalist reveals a decoy password. When entered, the camera presents the view of an SD card with various information that is okay to reveal to the authorities
534.
▲
by
DannyB2
10y ago
A problem with unbroken track records is that they can eventually be broken.
535.
▲
by
DannyB2
10y ago
A 40 digit calculator using a Ras Pi, Java, 7-segment readouts, MAX7219 chips driven slightly out of spec (ab)using the SPI pins. Two 4x4 keypads to form an 8x4 keypad so it will be a scientific calculator. Found a Java library to do tran
536.
▲
by
DannyB2
10y ago
> At the height of the Cold War, Soviet Premier Nikita Khrushchev boasted > that the Soviets were manufacturing nuclear missiles “like sausages.” > His bravado underscored early strategic posturing that turned on the > assumptio
537.
▲
by
DannyB2
10y ago
I wonder how many of today's 'conventional' sex acts were 'unconventional' 100 years ago? Maybe we should also put a stop to 'unconventional' music? Unconventional ways of powering your vehicle? What this
538.
▲
by
DannyB2
10y ago
I am perfectly fine with people putting whatever substances they want into their own bodies . . . As long as their subsequent actions do not impose significant costs upon everyone else. Some of those people will continue to be productive c
539.
▲
by
DannyB2
10y ago
> homeopathic medicine is either 1) Nothing, if they diluted it 'correctly', > or never bothered to put the poison in there to begin with In that case, it would be pure water, and therefore it would be completely effective f
540.
▲
by
DannyB2
10y ago
It sickens me that Britain passed the most extreme surveillance law ever. America is supposed to be number 1 at everything. C'mon congress, get on the ball! Don't let America be out done by Britain.
More ›