Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lloeki
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
70 ms
·
781.
▲
by
lloeki
3y ago
> my 2016 phone runs the latest OS. Sure not everyone does this, but unlike iOS I can take care of it myself. "not everyone" is an understatement. That's a solution for you (and the dozens - dozens! - of people doing the s
782.
▲
by
lloeki
3y ago
There's a big difference between Rails autoloading and Ruby autoload, in that Rails is implicit and conventional from the constant name plus load paths, whereas Ruby is explicit as one declares where to find each constant.
783.
▲
by
lloeki
3y ago
I've been smartifying dumb devices at home as well and came up with similar rubegoldbergesque solutions, although ultimately I didn't need to actually implement any of these as I found other ways to achieve my goals. One of them
784.
▲
by
lloeki
3y ago
Makes me think of other similar cases raised by typing systems. In my Ruby case this is RBS (+ Steep). A typical pattern is to use `__FILE__` or `__dir__` which are references to respectively the current file path and the current file'
785.
▲
by
lloeki
3y ago
> that API requires entitlements to be used Lately I've witnessed a number of apps asking for Local Network permission ("Foo would like to find and connect to devices on your local network") when they have no business doin
786.
▲
by
lloeki
3y ago
An interesting read. I've been WFH for 5 or so years, I have the uncanny ability to be able to work anywhere, anytime, a sort of mind switch that flicks itself - or doesn't, and then I'm screwed - irrespective of location, an
787.
▲
by
lloeki
3y ago
Not entirely clear but it doesn't seem so from the launch post verbiage: https://blog.keyoxide.org/keyoxide-launch/ Code lives here if you want to dig: https://codeberg.org/keyoxide
788.
▲
by
lloeki
3y ago
Going through that link... that sounds great, thanks! In the discussion I also read about ForgeFed[0], also ActivityPub based, and which Forego is apparently implementing[1]. [0]: https://forgefed.org [1]: https://cod
789.
▲
by
lloeki
3y ago
> The PR workflow is [...] not what Git was designed for I would agree... in its GitHub incarnation. > You have the repo on your machine, and you have a public upstream. You don't need an third copy on your own server, too—you ju
790.
▲
by
lloeki
3y ago
Agreed. Ruby is not Rails in so many ways, even on philosophical grounds. Rails is full of magic, implicitness, and conventions, which enables a great deal of very speedy development but also becomes† a minefield if you steer away from The
791.
▲
by
lloeki
3y ago
I would disagree, tons of people out there develop backend code targeting Linux but do so on macOS machines. That said, this was not a particular jab at your comment, more like a clarification for readers, as a lot of people are somehow und
792.
▲
by
lloeki
3y ago
I really wish a cross site standard emerged to enable PRs from one forge to the next without creating accounts: - clone repo from original forge, push on yours - open PR on your forge, kicking in a like-blog-trackbacks-of-yore API so that t
793.
▲
by
lloeki
3y ago
> there is no VM in docker There is as soon as you run containers on a different OS (IOW as soon as it's not Linux containers on Linux or Windows containers on Windows)
794.
▲
by
lloeki
3y ago
> And method calls aren't magical function calls Precisely, unlike C++/Java/Python/Go, Ruby and Smalltalk methods are invoked through message passing†; ObjC as well. Superficially it looks the same but the farther you
795.
▲
by
lloeki
3y ago
None of these issues exist on my Mazda car. Screen is tactile at stops, but I only ever use the rotational+directional knob. Phone stays plugged and untouched. It's snappy. I bet some other cars have poor HID but here they put the work
796.
▲
by
lloeki
3y ago
Same fantastic format, different topics: - bicycle: https://ciechanow.ski/bicycle/ https://news.ycombinator.com/item?id=35343495 - sound: https://ciechanow.ski/sound/ https:/
797.
▲
by
lloeki
3y ago
When I worked in an industrial context, some coding tasks would seem trivial to today's Joe Random software dev, but we had to be constantly thinking about failure modes: from degraded modes that would keep a plant 100% operative 100%
798.
▲
by
lloeki
3y ago
The E2E protocol is immaterial, it's about what the endpoint app does and which telemetry it reports. Not saying they do it, again it's about trust in the context of: - Meta (the company, not the employees) having a bad track reco
799.
▲
by
lloeki
3y ago
Definitely a useful thing to do to validate UI/UX/fitness. Relying on blackbox components first mocked then later swapped (or kept for testing) with the real implementation is also a thing, especially when dealing with hardware. I
800.
▲
by
lloeki
3y ago
As I remember it the article was quite interesting notably because it also compared another similar category game released around the same time that chose DRM and yet had similar piracy ratios.
801.
▲
by
lloeki
3y ago
Human Resource Machine + 7 Billion Humans too.
802.
▲
by
lloeki
3y ago
> at cost to the company If by "cost" you mean Meta being in the business of siphoning user behaviour, Meta controls the E in E2E a.k.a the apps, so it's a matter of trusting them to not do covert on-device analysis + resu
803.
▲
by
lloeki
3y ago
> A classic example would be whether an API that munges filesystem paths should resolve symlinks or not -- if this is unspecified, then changing that behaviour is technically not a breaking change Another example would be Ruby 2.4 changi
804.
▲
by
lloeki
3y ago
> because they want to support macs Well, CUPS has been owned by Apple for a while, "want to support" is an understatement.
805.
▲
by
lloeki
3y ago
> Ok, so what happens with the app when packages managed by Bundler get fragmented into sets depending on incompatible versions of sub-dependency (commons-logging 1.1.1 vs 2.0.1 as in the example)? Bundler immediately yells at you, point
806.
▲
by
lloeki
3y ago
Me neither, I merely walked from the scenario that the parent posited. That said, while waiting for a train at a station, I've had shady people ask me to "place an urgent call" attached with a weird story told in terms that w
807.
▲
by
lloeki
3y ago
Ah, true; TIL. Both are equally quick to me, although I do personally find 5 press to be slightly easier.
808.
▲
by
lloeki
3y ago
> Or always remember not to look at the device and cover cameras with your fingers (FaceID can be quick) Picture this: - Owner hands over phone locked (whether or not in camera) - Photographer sort of takes its time, acting not too sure
809.
▲
by
lloeki
3y ago
From your issue link: > Then commons-logging changes its API incompatibly and is released as commons-logging 2.0.1. Authentication adopts commons-logging 2.0.1 while other libraries still depend on 1.1.1 > Now my-application is broken
810.
▲
by
lloeki
3y ago
I would still like this proposal to formalise having an optional PATCH in there though: BIGRELEASE.MAJOR.MINOR[.PATCH] That way one can lock the version to get only actual bugfixes, with no other change: gem 'foo',
More ›