Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cessor
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
31.
▲
by
cessor
6y ago
> inheritance is bad That depends. Inheritance makes it easy to break encapsulation (which is bad -- agreed). It can be hard to model "Is-A"-Relationships properly, but I wouldn't call it inherently bad. A circle isn'
32.
▲
by
cessor
6y ago
Yes, why not have max and pow as objects? `max` and `pow` can either run eagerly (as functions) or they can run lazily and allow for interesting lazy things. For example, if you put them into a lazy object graph, you could perform optimizin
33.
▲
by
cessor
6y ago
I am not sure I understand your differentiation of explicit and implicit state. I believe you refer to Objects that change their internal values over time; in that calling the same function twice yields different results. Of course, such ob
34.
▲
by
cessor
6y ago
Reducing OOP to implementation detail features will yield poor results. The flexibility stems from an improved means of analysis in that types and entities can be identified more easily. By using classes and objects you're retaining fl
35.
▲
by
cessor
6y ago
Thank you for your reply. I am not sure what you are trying to do with your clarification here, but I feel even worse about Terminal and your employer. > ~1-5% of those entries make it into a data pipeline that I believe we stopped looki
36.
▲
by
cessor
6y ago
I find it outrageous; "Telemetry" is built into most new Microsoft software. For example, they recently released a replacement for powershell and CMD, called "Terminal 1.0", which also comes with some aggressive telemetr
37.
▲
by
cessor
6y ago
Three things: - YES, you are 100% right - Keepass has a Ctrl+V mode, which pretends to type into username / password fields char by char. maybe this feature can give you peace of mind - Still, you are right, the website shouldn
38.
▲
by
cessor
7y ago
I 100% agree with not doing April fools. Humor is important; jokes work with twisted semantics and surprise. April Fool's websites have neither and just render the web useless for a day.
39.
▲
by
cessor
7y ago
Also Java: bank.move(new Amount(100), new FromAccount(checkingAccount), new ToAccount(savingsAccount)); If you are really trying, you will be able to convey enough information so that your fellow programmer. will understand what you are try
40.
▲
by
cessor
7y ago
I didn't know where to bring this up. At this point it just feels like remote code execution. I filed an issue on PowerShell's github page. Please support me, maybe I can make my voice heard. I am tired of stuff like this. Notific
41.
▲
Microsoft Displaying Ads in Powershell
(reddit.com)
17 points
by
cessor
7y ago
|
7 comments
42.
▲
by
cessor
7y ago
Most recent: Failed to get out of bed this morning at the time I comited to the night before. I wanted to get up at 8, be at work around 9, got in at 10/11. Fairly recent: I have been doing it like this for three weeks now My larger f
43.
▲
by
cessor
8y ago
The idea of a type / class / object here is equivalent in that they provide locality of interpretation. There is one place that may contain the code that manipulates these values; in other words, there is one place that contains y
44.
▲
by
cessor
8y ago
Many people are pointing out that short identifier names are ok, and that i is perfectly fine as an identifier name. It likely is, and I believe the rule to be true that short identifier names are ok for short scope / context. Howeve
45.
▲
by
cessor
8y ago
I agree with @scarface74 and would go even further in that I would probably create a custom type for List<AccountId> to convey the purpose of what that thing is now. And as for the "type shyness": > Creating a new datatyp
46.
▲
by
cessor
8y ago
I found this technique to work quite well, but this idea does not mean imply that one should simply "quit writing comments", but rather that comments can most often be replaced with actual structures that improve the code (e.g., e
47.
▲
by
cessor
8y ago
Could you elaborate what criteria you apply to decide whether something is "as humanly readable as possible"? I am asking out of genuine interest, I am researching readability and I am interested in how you make decisions and what
48.
▲
by
cessor
8y ago
I fully agree with you. Altough I really like requests, this is a violation of one of the PEP 20 heuristics: Errors should never pass silently. Unless explicitly silenced. https://www.python.org/dev/peps/pep-0020&#
49.
▲
by
cessor
9y ago
That's the third of Thunderfiretober of 2018, what's your problem, isn't that clear? ;) Playing devil's advocate here. This kind of date formatting is really confusing to me (German) and I almost overread that the questi
50.
▲
by
cessor
9y ago
The site works nicely in my browser (Chrome). I feel like this mockumentary is not getting enough credit: https://www.youtube.com/watch?v=K9L03GycSZw - "We worked for eight months in a facility in California to figure
51.
▲
by
cessor
9y ago
I use PANDAS in Jupyter Notebooks a lot. Sometimes, exploring large data frames can get tedious and I find myself loading up excel to explore and browse around, usually when deciding how to normalize or clean things up. Using Excel as a PAN
52.
▲
by
cessor
9y ago
My highlight was Yegor Bugayenko's "Elegant Objects". Volume 2 was released this year (however I found the first Volume (2016) much better). Yegor describes what went wrong with object-oriented programming. Whether you are st
53.
▲
by
cessor
9y ago
Is... is this an ad for stripe?
54.
▲
by
cessor
9y ago
Could you elaborate?
55.
▲
by
cessor
9y ago
I came here simply to mention foobar2000, and I am happy that many people before me did. Some mentioned they missed it on Linux. I am a Windows user myself, but I feel "ncmpcpp" is a good alternative on linux (apparently that&#x
56.
▲
by
cessor
9y ago
Good advice! I have an older version, in which the implementations are explained in Pascal. I understand that newer issues cover java. I'd believe the book goes well with his coursera course: https://www.coursera.org/le
57.
▲
by
cessor
9y ago
Here are my recommendations. Each is a placeholder for a complete discussion :) Psychology of Programming ========================= 1. "Psychology of Computer Programming" - Gerald M. Weinberg 2. "Software Design – Cognitive
58.
▲
by
cessor
9y ago
I'd add a prerequisite to the top of this list: - Get a local build running first. Often, a complete local build is not possible. There are tons of dependencies, such as databases, websites, services, etc. and every developer has a par
59.
▲
by
cessor
9y ago
I felt the same way. The examples are accessible, but a better overview would be helpful.
60.
▲
by
cessor
10y ago
klibertp, > another thought on the study: does it control for presence or absence of widely known conventions? I am very happy to encounter other critical thinkers - your question is a really good one :) You are right, the study is not c
More ›