Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yeputons
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
151.
▲
by
yeputons
5y ago
Care and buses are generally not an option. You cannot exit Russia (sic!) on a car/bus/legs unless you have a specific travel purpose and "tourism" or "just because I want to" is not one of them. This was one o
152.
▲
by
yeputons
5y ago
> To everyone complaining, have you first tried to contact support and explained your situation? Spending hours writing emails back and forth in my non-native language is not exactly my top priority at the moment, as you may guess becaus
153.
▲
by
yeputons
5y ago
Here are some links in Russian for the curous: * The post: https://habr.com/ru/company/lingualeo/blog/515530/ * The corresponding talk: https://pgconf.ru/en/2020/264859 *
154.
▲
by
yeputons
5y ago
I openly advise my students to stay away from posting questions on StackOverflow and ask for help among their peers and teachers. At least until they're able to clearly grasp what the "Minimal Complete Verifiable Example" is,
155.
▲
by
yeputons
5y ago
> "this company is someone else's property, you have no rights to that property, we do what we want, so play nice and don't piss off the wrong folks unless you're ok leaving." > so play nice and don't pis
156.
▲
by
yeputons
5y ago
TypeScript's types are structural, and I don't consider this to be a good thing. It's useful for JavaScript interop, yes, but just because two values have the same representation and method names does not mean they're in
157.
▲
by
yeputons
5y ago
Yes, and I would say "don't worry about that, it'll come later, it's boilerplate". Same as I would do with `import` in Python, actually.
158.
▲
by
yeputons
5y ago
Why parenthesis? Why is the string quoted? Why I cannot write `print("a") print("b")` on the same line? Why `print`, if it shows on a screen, not a printer? What is `.py`? What is file? Why `write` on a file does somethi
159.
▲
by
yeputons
5y ago
Sure. But I'm yet to see a single language whose GUI tools are more consistent than CLI. Agda and Coq come close, because it's impossible to write either outside of their main IDE. But they're more of proof assistants, not a
160.
▲
by
yeputons
5y ago
I'd recommend this one: https://missing.csail.mit.edu/
161.
▲
by
yeputons
5y ago
> If you have SSH, you probably have SFTP Absolutely not always. The SSH may be provided through multiple proxies by a mess of convoluted Bash scripts. Because reasons or compliance or whatnot. > Not to mention you probably shouldn&#x
162.
▲
by
yeputons
5y ago
> One single lesson outside the IDE would have filled this gap. Hmm, what would the lesson look like? I doubt there is a way to teach everything about out-of-IDE/advanced Java development in just a single hour or two. You mentioned
163.
▲
by
yeputons
5y ago
Everything does seem like a mystical black box with no way forward when you're just getting started. Does not matter if it's GUI, CLI, IDE or a raw compiler. What is `SyntaxError: invalid syntax` for `print(hello world)`? What i
164.
▲
by
yeputons
5y ago
I don't see much difference between `System.out.println` and `print`. Both should be spelled exactly as they are. You cannot say `write`, `say` or `Print` in Python despite it being somewhat synonym to `print` in English. They are part
165.
▲
by
yeputons
5y ago
I believe it's a question of how good the tools are. If you're "using the tools directly", you probably don't have much knobs to fiddle with and everything either works by default or does not work because of some we
166.
▲
by
yeputons
5y ago
> There is no situation where the average programmer would only have access to CLIs. It was fairly typical for me to have SSH-only access to the production/staging server and no other tools than Vim/git to alter/store its
167.
▲
by
yeputons
5y ago
I mostly prefer CLI tools is that they're more consistent. You typically don't install a specific version of IntelliJ IDEA, but it's very common to install a specific version of Java. You hardly can specify exact configuratio
168.
▲
by
yeputons
5y ago
If you change source files in language X, someone proficient in language X (aka "has X readability") should approve that it corresponds to Google Code Style in language X. You start without it and may obtain once you've writt
169.
▲
by
yeputons
5y ago
To be fair, the line between "Cito does not frees temporary values" and "the programmer screwed up by using wrong kind of references" is a little blurry. Most of my code in the issue above can be attributed to me writing
170.
▲
Breaking Our Latin-1 Assumptions
(manishearth.github.io)
1 points
by
yeputons
5y ago
|
0 comments
171.
▲
by
yeputons
5y ago
Very and very hard if you're aiming for readability. Ć should be "intersection" of all supported languages in a sense, so it does not support features unless all targets do. For Python that would be dynamic typing. Of course,
172.
▲
by
yeputons
5y ago
Take a look at SWIG (Simplified Wrapper and Interface Generator), WebIDL and similar projects. There are binding generators of all kinds.
173.
▲
by
yeputons
5y ago
Yes: Ć has "dynamic references" (`shared_ptr`) denoted as `T#`, "read-only references" (`const T*`) denoted as `T`, "read-write references" (`T*`) denoted as `T!` and "storage" (`T`) denoted as `T()`.
174.
▲
by
yeputons
5y ago
Transpiling is a cool idea. Although erasing syntax differences between languages is easy, erasing semantic differences is extremely hard. The simplest example being garbage collection: if you transpile to C, you have to track garbage yours
175.
▲
by
yeputons
5y ago
They do leak memory sometimes. Cito frees variables, but not temporary values. It also has no chance of knowing whether a third-party function takes ownership of an object or not. The simplest example is string interpolation, I've just