Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dig1
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
271.
▲
by
dig1
6y ago
> For example, in C I'd be tempted to reuse a buffer allocated for one purpose for another purpose later (a technique known as HEARTBLEED). You can do that in Java (with byte arrays) or in Common Lisp, so what is the point here? It
272.
▲
by
dig1
6y ago
I'm failing to understand some things, maybe because I glanced through the paper with morning coffee. Apology if my tone ends up a little bit harsh, but these are just constructive criticism :) The first one is lt2 and lt3 implemen
273.
▲
by
dig1
6y ago
Sad news, but I'm not surprised with this. The complete ecosystem was "killed" (if that can be said) with K8s buzz and hipsterism (sorry guys, but I see K8s as Hadoop/BigData of modern days - a solution from a huge compa
274.
▲
by
dig1
6y ago
I would not say this is a solved problem - Rust is too young in the industry; let's wait and see. Java claimed it solved all memory-related issues, and some even stated good security because the programs were executed in VM. Many years
275.
▲
by
dig1
6y ago
Maybe I'm missing something, or for the OpenJDK team, JRE means something else, but how AdoptOpenJDK still provides JRE builds [1] for all versions from version 8? You are saying that their JRE build is JDK but 4x smaller? > The sec
276.
▲
by
dig1
6y ago
Linux distros still ship JRE and JDK separately (CentOS & Ubuntu, to name a few). There are a few reasons for this: the first one is that libraries will get shared [1] between multiple java processes. The second one, probably the most i
277.
▲
by
dig1
6y ago
I'm sad that M4 is getting a bad reputation; probably it is more due to lack of knowledge than the actual tool, because the language is really simple. As usual, many devs would copy/paste m4 macros without understanding what is go
278.
▲
by
dig1
6y ago
I had the same opinion until I had to ship the app with shared libraries on different BSD versions and a few older Solarises, besides multiple Linux distributions. Even then, I wasn't sure it would work without problems. libtool is ugl
279.
▲
by
dig1
6y ago
Why do I get the impression that either Zapel or clubhouse sponsors this domain? :) Anyway, from personal experience of working with large, distributed teams and (later) leading team that included developers, designers (who had no idea what
280.
▲
by
dig1
6y ago
I believe it is a matter of taste and experience. Some people prefer to read & edit 3-4 concise lines, and some prefer ten pages of prose. > I think the popularity of Python for scripting is pretty good evidence that PG was dead wron
281.
▲
by
dig1
6y ago
The best thing about C++ preprocessor is that it is dumb. Text goes in, text goes out. Easy to debug, simple rules. Anything I saw as an alternative either requires a significant amount of code, bending C++ rules, or specialized tools to se
282.
▲
by
dig1
6y ago
I'm afraid it is not :) Template instantiation has way more rules than simple text replacement. Implicit instantiation is a story on its own, not counting that every compiler is free to implement own instantiation logic. Someone said o
283.
▲
by
dig1
6y ago
To mention another benefit of JVM: flexibility. We had a very complex application that would take care of hundreds of events per second, doing all sorts of calculations on top of that. It would get stuck frequently in GC cycles due to huge
284.
▲
by
dig1
6y ago
> if you are a researcher in academia you won't be asked to retract your research because it makes someone look bad. Not entirely accurate (worked in academia). If your research makes someone look bad or have a chance to jeopardize
285.
▲
by
dig1
6y ago
ripgrep works nice with the default Emacs grep facility as well. After "M-x grep", replace "grep" path with "rg --noheading". Also, there is a few lines trick [1] that will make it work with "M-x grep-find
286.
▲
by
dig1
6y ago
> Youtube has to share it's revenue with content creators, unlike Netflix. Depends on the contract. That is why you see more and more content produced by Netflix, where they control the complete chain. However, producing Netflix con
287.
▲
by
dig1
6y ago
Unless you are expecting >1k req/sec with similar amount of writes, default nginx/postgres/mysql settings should be fine. Focus on your app instead :)
288.
▲
by
dig1
6y ago
I'd recommend watching The Cyprus Papers [1], done by Al Jazeera Investigations, mentioned in the article. [1] https://www.youtube.com/watch?v=Oj18cya_gvw
289.
▲
by
dig1
6y ago
> This 'nuclear energy is like a nuclear bomb' delusion is really harmful and pushes a narrative that many ordinary believe This was nicely explained by former nuclear submarine commander [1]. [1] https://youtu.be&#x
290.
▲
by
dig1
6y ago
I'm glad LyX is going strong in 2020. A friend of mine suggested me LyX many years ago - he wrote a thesis on their EE department. On the other hand, we in the Math department had to learn Latex, because well, it is standard in that fi
291.
▲
by
dig1
6y ago
ed is still my daily driver when I need to edit stuff quickly, and here are a couple of reasons I'm keeping it in my toolbox: * Couple of KBs, you can't beat that. You can put it almost everywhere. * Runs with whatever terminal yo
292.
▲
by
dig1
6y ago
I've been using Dokku for years, and I have only positive words for it. Here is my experience regarding your questions: - Scaling: Dokku can scale your application (via "dokku ps:scale" command) on the same machine. If you ar
293.
▲
by
dig1
6y ago
If you look at Emacs/org-babel as a tool, why is it useless for professional use-case? It is just like saying: it is too much for people to learn to use Rstudio/Shiny, yet this is frequently a go-to tool in the scientific communit
294.
▲
by
dig1
6y ago
MIPS and SPARC to name a few. Almost all routers are on MIPS and most of them are running some form of Linux or BSD. AFAIK, rust is still marked as "guaranteed to build" on these platforms, but assume only Linux. BSDs, not so much
295.
▲
by
dig1
6y ago
You can do that with many Emacs themes, but have you tried to read those things for a longer time? I like uniform text with minimal highlighting and I know many developers prefer the same - it is much easier for eyes. Some prefer to have a
296.
▲
by
dig1
6y ago
* Hiccup ( https://github.com/weavejester/hiccup ) - DSL for generating html. You can easily mix it with other language constructs. There are similar libraries for Common Lisp and Scheme. * Compojure-api ( https:/&#
297.
▲
by
dig1
6y ago
Mozilla Foundation holds 100% of M.Corp. and no one is allowed to purchase part of it. Essentially, this means Foundation owns all those earnings fully in some way (sans taxes); they need some legal channels to funnel it.
298.
▲
by
dig1
6y ago
Just go through https://github.com/mozilla and I bet you didn't hear about 90% of them. If you paginate further, you'll see most of them aren't maintained much anymore.
299.
▲
by
dig1
6y ago
But not so small for non-profit organization.
300.
▲
by
dig1
6y ago
He also wrote a few [1][2] papers on how they used Scheme for movie production. One of those movies is "Final Fantasy: The Spirits Within" [3]. This movie was released 2001 and had one of the most advanced animations at that time.
More ›