15,025 karma · joined Apr 22, 2012 (14y ago) · 2,479 submissions
comment 5y ago · link · parent
I feel like I am continuously looking for a better alternative, but it's hard to overcome the practicality of using something with such immense buy-in. For example, nearly all major SaaS offer a Java SDK, or have Java-specific docs. They want the big companies to be their customers, and they know they use Java. I am all too happy to benefit from that.
It should also be noted that Java the language is rapidly being enhanced with features inspired by functional programming. For example, sum types (in the form of sealed classes) have been added to the language, and ML-style pattern matching with compile-time exhaustiveness checking is in the pipeline. More on the platform side, Java now has a REPL (JShell).
Of course, Java codebases you encounter in the wild are very likely to make you want to cry. The world of Java development has a lot of bad taste and questionable practices enshrined as best practices. That said, the Java community is slowly shifting toward a better style.
633.
The underpass at Bilthoven station (Netherlands)(youtube.com ↗)
1 points · by oftenwrong · 5y ago · discuss
634.
Ackoff: Confusing Learning with Teaching (2013)(solvingforpattern.org ↗)
2 points · by oftenwrong · 5y ago · discuss
comment 5y ago · link · parent
comment 5y ago · link · parent
Furthermore, there are easy ways to mitigate the cost of rendering on the server side. For example, on a site like reddit, most of the traffic is probably non-logged-in readers hitting the front page, so... cache the front page. Even for logged-in users, the front page listing only could be cached as rendered, since none of it really needs to be live. If liveness was desirable for only certain elements (e.g. voting buttons), it is possible to sprinkle on client-rendered elements.
comment 5y ago · link · parent
I have some feedback:
1.
One part of the interface confused me. From the "trending" tab I clicked on a post in the list. Then, I clicked the left-facing chevron above the post, which to me looked like a "back" button. After clicking, I was taken to the page of the user that made the post I was on. I expected to be taken back to the main trending list. This applies to both the desktop layout and to the mobile layout.
2.
An aspect of the design that rubs me the wrong way is the amount of persistent screen space dedicated to the content of a post in the desktop layout. The content of the post is generally pretty small, yet it takes up over half of the screen, and it appears there is no way to collapse it (?).
Once I've viewed the content of the post, I no longer need to see it, and would probably just want to engage in discussion in the chat with full focus. However, I'm still stuck with the main post taking up over half of the screen, and the chat boxed into its smaller panel.
In the mobile layout of sqwok, the user can click onto the chat tab, and the chat is given the full screen. I like that for a text or image post. On the other hand, for a video post I may want to view the video and read the comments at the same time.
639.
Toon leaves: the leaf that tastes like beef(youtube.com ↗)
1 points · by oftenwrong · 5y ago · discuss
640.
Teddit: a free and open-source Reddit front end focused on privacy(teddit.net ↗)
716 points · by oftenwrong · 5y ago · 293 comments
comment 6y ago · link · parent
"Oslo made its city center basically car-free" https://news.ycombinator.com/item?id=19000076
"Oslo had 0 pedestrian, 0 cyclist, 0 children and 1 driver traffic deaths in 2019" https://news.ycombinator.com/item?id=21933868
comment 6y ago · link · parent
Anecdotally, I know many avid readers that have developed forward head posture and various pains from their habit.
I'm not sure people have been reading books flat on a desk or in their lap for thousands of years. After all, literacy was not widespread until relatively recent times. Furthermore, many scholar of the past would read and write on an erect, angled surface when possible: https://www.khanacademy.org/humanities/medieval-world/mediev... . Personally, I prefer to do the same when reading for any extended period of time.
comment 6y ago · link · parent
Of course, any good physical therapist will tell you that no hardware can offset the damage of long-term sedentary work. One might say that more active time is the best ergonomic solution.
644.
Who's Subsidizing Who?(strongtowns.org ↗)
2 points · by oftenwrong · 6y ago · discuss
comment 6y ago · link · parent
Otherwise, the retro hardware aesthetic is cool. Reminds me a bit of the early briefcase-format portable computers. I can't think of any actual use I would have for a thermal printer, but I like the idea of it.
comment 6y ago · link · parent
>But, I think people will try to push this further and integrate the infrastructure code inside the actual app. All of it will be managed, by the application itself, at runtime.
I would only adopt this approach if there is an abstraction layer in between, like k8s, or if it would be easy to create an equivalent implementation for a different cloud provider. Being locked into dependence on AWS isn't the worst thing, but I would like to keep my application independent of a proprietary environment.
649.
Tree Notation(treenotation.org ↗)
3 points · by oftenwrong · 6y ago · 1 comment
comment 6y ago · link · parent
One thing I would give up easily is decentralisation - a centralised model is more straightforward, and, for better or for worse, most people use Git in a centralised fashion.
Conflict resolution is one of the hardest version control tasks for beginners. Maybe it could be made easier by making the VCS AST-aware for more legible diffs, or by automating conflict resolution altogether with CRDTs or OT.
There were some interesting, very different takes on version control envisioned for darklang:
comment 6y ago · link · parent
https://www.thetimes.co.uk/article/covid-19-death-rates-are-...
Apparently that claim was based on this study: https://www.medrxiv.org/content/10.1101/2020.04.23.20076042v...
There are a few comments on that page about how that claim was misleading and/or inaccurate and mis-reported by the media.
comment 6y ago · link · parent
655.
2 points · by oftenwrong · 6y ago · discuss
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent