Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gjadi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
151.
▲
by
gjadi
4y ago
In Common Lisp, there is `unless' and `when' but they don't allow `else' branch. (when CONDITION BODY) (unless CONDITION BODY) The value of the statement is BODY or NIL if it wasn't executed. I can't rememb
152.
▲
by
gjadi
4y ago
Changes are good! Sometime, when I want a change of perspective, I switch to different theme for a couple of days/weeks/months and then change again, and again, and again... I've noticed just changing the theme can help refoc
153.
▲
by
gjadi
4y ago
What about nim for an alternative to Julia? (disclaimer: I've used neither of them)
154.
▲
by
gjadi
4y ago
> A good engineer should know how the computers work, and I don't know why this should be even questioned. I am not disputing this point, I agree with it. I am saying there is a difference between knowing int can overflow or knowing
155.
▲
by
gjadi
4y ago
In France, an ONG collect funds to run exit nodes: https://nos-oignons.net/
156.
▲
by
gjadi
4y ago
I wonder. IMHE this is the kind of edge that you know only because you've been bitten by a bug once. It's the same with floating point numbers. You may know that the representation is not absolute, that you can end up with NaN. B
157.
▲
by
gjadi
4y ago
It is not critical but I think it is interesting. For example, I've read Code Complete 2, and while browsing online I found that some of the claims in the book was not solid. - https://www.sicpers.info/2012/09/
158.
▲
by
gjadi
4y ago
Yes, thank you for the discussion!
159.
▲
by
gjadi
4y ago
Yes, rereading the thread, I think I'm going too far. My main and original point is the following: tests that only test memorization are good on their own ("Tests to help you retain information."). You need both memorization
160.
▲
by
gjadi
4y ago
On the first part of your post: We don't have the full test, so maybe the teacher had a preface saying "In the context of book XYZ...". That is what I do when I create flashcards for myself. I specify what knowledge I am test
161.
▲
by
gjadi
4y ago
They can but: - it's more time-consuming to create good evaluation questions. - it's more time-consuming to provide a nuanced answer. - it's more time-consuming to evaluate nuanced answers. If the purpose of the tests is to h
162.
▲
by
gjadi
4y ago
Tests are one of the best technique to retain knowledge. It's called active learning, as opposed to passive learning. Space Time Repetition systems such as Anki or Mnemosyne or SuperMemo are based on 2 concepts: (1) knowledge fades ove
163.
▲
by
gjadi
4y ago
I used to fully agree with that feeling but not anymore. IMO they are two kinds of tests: 1. Tests to help you retain information. 2. Tests to evaluate your knowledge. Assuming this question belongs to the first kind (memorization) and the
164.
▲
by
gjadi
4y ago
I'm probably in the minority, but I prefer C-f through a FAQ rather than writing with a chatbot, trying to explain what I'm looking for. It probably doesn't help that most of the current chatbots suck like hell (ehlo bank &am
165.
▲
by
gjadi
4y ago
Nope, I just thought of it because I stumbled on https://news.ycombinator.com/item?id=33855950 yesterday. So stupid idea because I didn't put a lot of thought in it :)
166.
▲
by
gjadi
4y ago
Stupid idea for signing: use invisible characters to embed GPG signature (or signify(1) or whatever) inside any text you publish. This way, when the text is copy/pasted, your signature is still attached. You can even make browser and t
167.
▲
by
gjadi
4y ago
Thanks, I didn't know about capsicum(4) and I completely overlooked the mention of sandboxing in the impact section.
168.
▲
by
gjadi
4y ago
Congrats to the team. I looked briefly at the relnotes[1], there is some scary stuff, such as this vulnerability in ping(1): https://www.freebsd.org/security/advisories/FreeBSD-SA-22:15... Since a lot of code is s
169.
▲
by
gjadi
4y ago
If you're looking for a minimalist lisp, checkout Shen: https://www.shenlanguage.org/
170.
▲
by
gjadi
4y ago
The usefulness of checklist in medical and the resistance to it is mentioned several times in The Checklist Manifesto. https://en.wikipedia.org/wiki/The_Checklist_Manifesto
171.
▲
by
gjadi
4y ago
What about the JVM? :D https://docs.oracle.com/javase/specs/jvms/se7/html/index.htm...
172.
▲
by
gjadi
4y ago
If you want to learn about CL packages and namespaces (namespaces are not packages). Take a look at https://gigamonkeys.com/book/programming-in-the-large-packag...
173.
▲
by
gjadi
4y ago
I disagree on the former, but I agree on the later, technology is not a good substitute for consent. Regarding the privacy: If you are using a VPN to protect your privacy, then you are effectively transferring your trust from your ISP to yo
174.
▲
by
gjadi
4y ago
If your threat is google, it would be wise not to use google in the first place. As other mentioned, OSM is an alternative (not equivalent) of Google Maps.
175.
▲
by
gjadi
4y ago
Funny thing is, it depends on your threat model. Using google.com/XXX for all its services protect the user from being spied by external actors such as ISP because everything is hidden behind HTTPS. Whereas, with XXX.google.com, extern
176.
▲
by
gjadi
4y ago
Well, the US has already a lot of restrictions to companies that want to do business in dollars and not just on Internet companies. See https://www.justice.gov/opa/pr/bnp-paribas-agrees-plead-guil... This is a cas
177.
▲
by
gjadi
4y ago
Got it. Very much like the idea to check the code coverage to find out which tests you should run. First time I saw it. Is it common in other tools?
178.
▲
by
gjadi
4y ago
Slow is smooth, smooth is fast. Though I understand the intent, I think it has the risk to run into a run-hack-run-hack programming style. I'm currently reading Code Complete which advises against this practice. Instead, one should str
179.
▲
by
gjadi
4y ago
I thought the thread model of pledge/unveil was to restrict a program that you are writing, but that you couldn't wrap around other program in a safe way. That is, you can protect your own program from doing network stuff because
180.
▲
by
gjadi
4y ago
There is a good MOOC on coursera on the topic of learning and creative working: Learning How To Learn by Barbara Oakley (there is also a book). She talks about focused and diffused mode of thinking. The main idea is that to create new neuro
More ›