256
Re:The Future Is Niri
on Wednesday March 12, 2025 @11:45AM (#43344455)
there's https://github.com/mogenson/PaperWM.spoon (i haven't tried it)
Re:Operating Systems Without Systemd
on Friday May 01, 2020 @10:50PM (#23048709)
> My problem with systemd isn't pid 1. It's all the rest of the shovelware that comes along for the ride. And it's the "you'll use what we tell you to use" attitude of the project.
This could not be further from the truth.
Re:The 1, 2, n pattern
on Sunday April 05, 2020 @08:38PM (#22789968)
The problem with this in practice is that you're often not the person implementing the 3rd instance. It's some other dev who comes and sees 2 copy/pasted implementations, either figures there's a good reason for it, or is lazy, or is risk adverse, or just wants to get the job done and move on, and copy/pastes it a 3rd time.
Re:Chorded keyboard
on Tuesday August 20, 2019 @03:15PM (#20750840)
Probably elwell is a Dvorak user. hu is pressed with both index fingers in their home positions in Dvorak.
Re:Study: Immigrants and their kids founded 45% of U.S. Fortune 500 co...
on Monday July 22, 2019 @10:37AM (#20498351)
There are a lot of other differences between America and China that make this a terrible comparison.
Re:D as a C Replacement
on Tuesday July 02, 2019 @09:24PM (#20340837)
I don't think that's fair. D interfaces with C++ better than any other language I can think of. See https://dlang.org/spec/cpp_interface.html
Re:Comparing the Same Project in Rust, Haskell, C++, Python, Scala and...
on Sunday June 16, 2019 @03:21PM (#20197347)
I wrote the python compiler. It's very slow. With the optimizations it's probably something on the order of O(n^3) or O(n^4). One of the test cases took seconds to compile. I made no effort to optimize the compiler speed.
Re:Comparing the Same Project in Rust, Haskell, C++, Python, Scala and...
on Sunday June 16, 2019 @03:15PM (#20197315)
There is a mandatory compilers-lite course at UW and he teaches the advanced version of it, where the project is to fill in pieces of a Scala-lite compiler written in Scala.
Re:Comparing the Same Project in Rust, Haskell, C++, Python, Scala and...
on Sunday June 16, 2019 @03:06PM (#20197268)
Hi. I wrote the python implementation. I've had prior experience with compilers and I'm obviously biased but I would say it's quite readable. The main compiler part (without optional features or the LR(1) or lexer generator) is 2040 lines and contains very little magic. It would be easy to translate 1-1 to idiomatic C++ for instance - it would just be much more verbose. eval() is only used by the lexer generator. The metaprogramming could have been avoided by using dataclasses (but the marker used python 3.5).
(To be clear, the optional portions in which I implement SSA, various optimizations, a Hack-style allocator and some ad-hoc codegen is much less readable.)
Re:Tether has “dissolved” relationship with auditor Friedman LLP
on Saturday January 27, 2018 @09:33PM (#16249425)
I'm guessing this is because most people who trade tether don't intend on holding it for long, so the "shennanigans" surrounding tether aren't as likely to affect them.
Re:Ask HN: How to Seriously Start with Machine Learning and AI
on Wednesday January 17, 2018 @10:49AM (#16168834)
I haven't looked for any lectures because I learn best from reading books. So, I don't know, sorry. I'm interested in a solution set too.
Re:Ask HN: How to Seriously Start with Machine Learning and AI
on Wednesday January 17, 2018 @10:06AM (#16168436)
I don't know much about AI but for ML specifically Elements of Statistical Learning is fantastic. I find its explanations a lot easier to understand than other resources. I recommend you skim through it to get a taste. Additionally if you prefer lectures ETHZ has recordings of their ML class[1].
The best way to learn the details is of course to read the original papers. This is especially true for following along with the latest developments in deep learning.
[1] https://www.ethz.ch/content/vp/en/lectures/d-infk/2017/autum...
Re:The Girl with the Brick Earring
on Friday November 24, 2017 @12:18PM (#15771861)
This is indeed an interesting problem. If you just want to minimize the number of rectangles there is a neat solution on stackoverflow [1] that uses minimum vertex cover (equivalently, bipartite maximum matching).
Re:Qwant, a European search engine that respects your privacy
on Sunday November 05, 2017 @07:51PM (#15632780)
Have you tried lite.qwant.com? It's pretty usable for me in w3m, although still not as nice as DDG.