Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jonahx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
59 ms
·
811.
▲
by
jonahx
6y ago
Even though 120 fits comfortably on the screen, I find it leads to sloppier code than 80 or 90. The latter exerts pressure to "do one thing per line, and make it neat." Ime this is true of modern langs like ruby or javascript or
812.
▲
by
jonahx
6y ago
True, but I think there are more situations where minimizing the chance of programmer error, now or in the future, is more important than a micro-optimization that will never matter. All depends on context.
813.
▲
by
jonahx
6y ago
That requires you to break out of the array paradigm and drop back down to procedural looping. Which is what you'd expect since numpy is array operations bolted onto python as a library and J is array operations baked into the languag
814.
▲
by
jonahx
6y ago
I have only passing experience with numpy, but I suspect the following "shift a matrix in all 8 directions", used in the famous APL/J game of life solution [0][1], would require multiple statements as well as being more verbo
815.
▲
by
jonahx
6y ago
> are a little more verbose That's putting it mildly.
816.
▲
by
jonahx
6y ago
I understand where you're coming from, but it doesn't seem so clear cut to me. Let's say: I have a choice to outlaw drug X or not. I can infer with near certainty that this policy will lead to a black market run by violence
817.
▲
by
jonahx
6y ago
As I read it, this letter isn't about the problem of shyness. It's about feeling unsuccessful and unknown ("nameless") because of the small scope of what you're working on.
818.
▲
by
jonahx
6y ago
I'd much rather have them than not, but don't fool yourself into thinking you can refactor without any fear because you have integration tests. No matter how many you have, they'll only be testing a tiny fraction of your poss
819.
▲
by
jonahx
6y ago
I don't think we're disagreeing. When I say non-trivial, I don't mean local refactoring. I mean the kind of refactoring that requires you to load the entire system (or a large part of it) into your head, and figure out how
820.
▲
by
jonahx
6y ago
Counter-counter: Refactoring is by far the most expensive and error prone activity in programming. It can also be one of the most valuable. But unless it's trivial, it's the most mentally arduous and time-consuming work you do a
821.
▲
by
jonahx
6y ago
> but I've rarely seen somebody critisized for copypasta or for overly stupid code. Probably because we're too accidentially afraid to imply somebody can't code. It's because it's a far more benign problem than
822.
▲
by
jonahx
6y ago
> It's not misappropriated, it's evolved The article links to Roy Fielding's article explicitly saying it's been misappropriated: https://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypert.
823.
▲
by
jonahx
6y ago
> A lot to say about this I'd like to read more about this way of thinking about it. Do you have any recommended resources?
824.
▲
by
jonahx
6y ago
Where is the media type definition? Where is the single entry endpoint or the response links driving application state?
825.
▲
by
jonahx
6y ago
I think it's a reference to scandals around an author's politics or offensive online behavior. He's saying on top of all this other stuff, you might get shit for using language X just because people don't like the author
826.
▲
by
jonahx
6y ago
> Just like the obtuse clusterf%%% that is modern front end development doesn’t seem to be hurting the adoption by the $cool_kids. This is true, and it may even help with adoption among "cool kids." But the adoption could be
827.
▲
by
jonahx
6y ago
> It would still take me just as long to ramp up on the equivalent Oracle offerings The claim isn't that better names help you ramp up faster. It's that they make it faster to figure out which service you need, or if a service
828.
▲
by
jonahx
6y ago
> i don’t really get why people cannot be bothered to learn what a service does and want to pretend they get it from the name. you need to learn the ins and out of the service. Names matter. When your first experience with a product is a
829.
▲
by
jonahx
6y ago
> redirects all traffic to (and I'm not kidding here) urls like "www.terriblesecuritycompanyname.com/www.originalurl.com" when the user accesses www.originalurl.com. What is the theoretical security feature they are s
830.
▲
by
jonahx
6y ago
How does Fyne compare with other cross platform mobile solutions like React native?
831.
▲
by
jonahx
6y ago
I get a "This connection is not private warning" when trying to read this.
832.
▲
by
jonahx
7y ago
Not the same class because it's a high-level language, but this J version is worth mentioning at 26 bytes, and is beautifully readable if you're familiar with J: (]=3+4=*)[:+/(>,{;~i:1)&|. Disclaimer: I am not
833.
▲
by
jonahx
7y ago
> I don't mean to be condescending Fwiw, I did't read it that way at all. I thought the child's question was a great analogy.
834.
▲
by
jonahx
7y ago
These concepts -- at the level of detail described in the article -- are well within the grasp of a bright six year old.
835.
▲
by
jonahx
7y ago
He explains she was "a famous Olympic gymnast," and that's all that's relevant to the story. He was perfectly clear. It was a good analogy.
836.
▲
by
jonahx
7y ago
This confused me too. It also confused me that they only occur for 3 hour periods on 2 specific days. You wouldn't be "alerted" unless you happened to attempt login during those windows. Can anyone provide more context for t
837.
▲
by
jonahx
7y ago
Very nicely done. For a similar idea that can be used in production as a React replacement, check out the Meiosis pattern: http://meiosis.js.org/ It has most of React's benefits, while being extremely lightweight and
838.
▲
by
jonahx
7y ago
He knows. He's the author of https://mithril.js.org/ . It's a person well-steeped in the theory and benefits of declarative and functional programming taking a step back and looking at the supposed enemy with fres
839.
▲
by
jonahx
7y ago
Constructive feedback: All the copy on both your website and in the app store assumes that one knows what a dead man's switch is in general, and what it means in this context in particular (ie, what you wrote above). I had to use wikip
840.
▲
by
jonahx
7y ago
How does it compare with Go and Rust?
More ›