Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
progman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
301.
▲
by
progman
11y ago
What's the point? Why not write everything in Nim? If you depend on certain Python libs that's understandable. But it should not be too hard to translate them to Nim since the syntax of Python and Nim are not very different.
302.
▲
by
progman
11y ago
Indeed. But Nim is much more expressive than Python. A very nice feature of Nim is clean macros. They support regular string matching in native Perl syntax. For instance. if line =~ rx"http[s]://(.+)": var url =
303.
▲
by
progman
11y ago
> "cycle_often" and "cycle_of_ten". Such an error is caught by the compiler. const cycle_often = 10 var cycle_of_ten : float ambig.nim:2:5: Error: redefinition of 'cycle_of_ten'
304.
▲
by
progman
11y ago
I always was strictly against whitespace in Python because it can lead to all kinds of weird errors. But Nim (and also Haskell) has static types so most wrong indentations are caught by the compiler. That's really nice to have.
305.
▲
by
progman
11y ago
Developer convenience. Some people like Hungarian notation, some like underscores. I consider it quite convenient as well. Probably there is a need for a tool for source code normalization so that everyone can choose his favorite notation i
306.
▲
by
progman
11y ago
As far as I know there is nothing more reliable than animals for detecting earthquakes. Typically animals go crazy when they realize a coming earthquake. http://gizmodo.com/5833733/how-your-dog-knows-an-earthquake-...
307.
▲
by
progman
11y ago
> They would have to transmit accelerometer data (at a reasonably high sampling rate) in real time. Not necessarily. They could also follow the SETI approach by providing an app for volunteers who collect the data. The app evaluates the
308.
▲
by
progman
11y ago
> the EU parliament is a fairly powerless institution This is certainly not true. Thanks to the EU parliament the IT freelancers in the EU don't need to suffer software patents. The Eurocrats did everything to invent it some years a
309.
▲
by
progman
11y ago
As long people have the option which init system (and software in general) to choose everything works fine. However it is not ok to force people to use something they question, or actually don't want. By the way, systemd is not the o
310.
▲
by
progman
11y ago
That's really interesting. Thanks!
311.
▲
by
progman
11y ago
It seems to be possible to stay with sysvinit in Jessie: http://people.skolelinux.org/pere/blog/How_to_stay_with_sysv...
312.
▲
by
progman
11y ago
https://plus.google.com/+TheodoreTso/posts/4W6rrMMvhWU
313.
▲
by
progman
11y ago
What about security updates? Are they as easy to maintain as in Debian and Ubuntu? I used Slackware at the very beginning of my Linux time in the 90s, and I really liked it. Now I am considering to use it again in face of Debian's non-
314.
▲
by
progman
11y ago
At least long enough to decide which Linux distro to use in the future. Unfortunately many distros have already jumped on the systemd wagon but I think soon there will be a increasing collection of non-systemd alternatives which will contin
315.
▲
by
progman
11y ago
People who dislike systemd can take a look at http://without-systemd.org .
316.
▲
by
progman
11y ago
Is is actually a good idea to reverse engineer the internal structure of FPGAs since the manufacturers likely won't disclose their proprietary knowledge ever? The question is, do we really need FPGAs? What about emulating FPGAs in GPUs
317.
▲
by
progman
12y ago
Lisp can be extended to support infix expressions. For instance: http://www-cgi.cs.cmu.edu/afs/cs/project/ai-repository/ai/la...
318.
▲
by
progman
12y ago
Will Hebrew also be supported? With vowel points? I could simulate such letters with icons but I wonder if they look acceptable on different devices (iOS, kindle etc.)
319.
▲
by
progman
12y ago
Parsing LaTeX would be a heavy task due to LaTeX's innumerable packages. I would recommend a compiler which translates a subset of a clean math notation (which could be identical to the math subset of LaTeX) to native LaTeX, which incl
320.
▲
by
progman
12y ago
That's why I always emphasize that TPM (UEFI/SecureBoot/Boot Guard etc.) are not the right way for open source systems (Linux etc.). The Linux community should stop to fiddle with locked-down boot systems. They actually shoul
321.
▲
by
progman
12y ago
You should consider the Nim language. It "feels" like Python but has seemless integration with C, and native performance like C. http://nim-lang.org
322.
▲
by
progman
12y ago
Quote: "At 20MB, RancherOS is two orders of magnitude smaller than a typical Linux distribution, and an order of magnitude smaller than even other minimalist Linux distributions." This claim is incorrect. Linux kernels can actuall
323.
▲
by
progman
12y ago
> Now that I think about it, the real problem for me seems to be monads. A very good quick explanation of Monads is given in the first long answer (number 245) at http://stackoverflow.com/questions/28139259/why-
324.
▲
by
progman
12y ago
Which ThinkPad models work flawlessly for you?
325.
▲
by
progman
12y ago
The LanguageOfTheFuture is already there. There is a language that fulfil all requirements. It borrows from Lisp, is neither C/C++, Java, nor any DotNet, supports dynamic typing with type inference, suitable for small and large applica
326.
▲
by
progman
12y ago
The problem with JS is not interactivity but a lot of aggressively annoying advertisement and data grabbing which usually comes along JS. My solution is to use different browsers. My default browser has JS turned off. If I encounter a poss
327.
▲
by
progman
12y ago
> argument for something _like_ systemd Correct. Unfortunately systemd is not a well separated 'stack' in the middle between kernel and applications but an interweaved network which tightly connects all three parts. I hope that
328.
▲
by
progman
12y ago
> Personally, I think the nicest and most expressive way is S-expressions. Not only that. S-expr could be created automatically and run on the fly at runtime, new configurations could be added without restart of services, and Lisp has a
329.
▲
by
progman
12y ago
> There's a lot that's elegant about it, but the syntax is awkward in practice Don't you like the language (TCL) or the way how GUIs are created? You can also code in C++/Tk for instance. http://cpptk.sourc
330.
▲
by
progman
12y ago
APL without native fonts isn't fun at all. This is real fibonacci in APL: http://progopedia.com/example/fibonacci/452/ http://dfns.dyalog.com/n_fibonacci.htm This is a nice introduction
More ›