Hacker Newsnew | past | comments | ask | show | jobs | submit | aa_memon's commentslogin

Would you be open to sharing the code?


Sure, here's what Claude generated (all the usual caveats apply): https://pastebin.com/Xbs2qasH


Thank you


@sqfmi is there any chance that we might/could get a blackberry client for beeper? it would give all those old blackberrys sitting in drawers a new life and might actually help with growth of beeper as well.


Anyone know of a scrcpy for windows/mac/Linux? If not, why has there not been a “wired” screen mirroring tool for desktop os? Is it just more difficult than doing it for android?


Not really unless you count Ethernet as wired, in that case there are plenty of tools that work and is probably your best option (thing like parsec, nomachine, or even steam remote play).

As far as I know scrcpy only work because android devices works as USB device/gadget and can be connected to a host, two computers will work both as host and cannot be connected directly. You could do it with something akin to the Raspberry Pi that can work as a USB device instead of a host, but I don't know of any software that does directly(without emulating a network connection, and if you emulate a network connection you could use one of the many sofware for screen sharing) if i remember correctly even scrcpy use ADB to emulate a TCP connection.


two computers will work both as host and cannot be connected directly

I cannot believe transferring a file from one computer to another without a network is still such a pain in the rear.


Do these limitations also apply to the newer Thunderbolt based usb c ports? If you can’t tell I really miss target display mode and wish a wired cross platform ideally open source solution existed to use any computer as a second monitor.


Yes, as far I know.

To avoid this problem, I still carry in my bag two ethernet-to-usb adapter and an Ethernet cable to be able to quickly connect two devices together.


"Full size" computers don't usually have a way of tying to a host system like adb+USB. That said, historically I think VNC and RDP filled this role.


Go to 27:52 to see the machine in action. Such smooth movement and the features he shows for the next 30 mins are so cool.


Having used it what are your thoughts on whether Jets replaces rails vs using alongside rails for certain types of workloads?


We leaned really heavily into Jets and found it to be a drop-in replacement for most things we take for granted in Rails. There was some tinkering around that had to be done to get OAuth and a few other things to work properly, but Arist has now paved the path for future orgs to do this easily with patches to Jets and some additional tooling that is easy to find from issues in the Jets issue tracker. The whole abstraction around "ApplicationJob" for spawning trigger-based lambdas in addition to the regular web-serving lambdas is much better and more powerful than having to deal with things like Sidekiq. The fact that every resource gets its own lambda is also very powerful.


I'm guessing it also helps keep deploys small (atomic?) when a controller method changes. The unmodified lambdas stay untouched.


Wondering why this framework isn't more talked about, especially amongst rails devs to take advantage of AWS Lambda.


Given how trivial it is to set up serverless Rails using something like ECS Fargate, the benefit of running specifically on Lambda is lower than migrating off a tried and tested technology.


With lambda you pay for what you use. It scales endlessly and is quite cheap. Depending on your typical usage and load it can be a huge cost saver (also mentally) as lambda will scale.

With ECS Fargate it costs money even without any traffic and you are responsible for correctly implementing auto scaling.

I'm coming from 10y rails dev background and now full stack typescript. Thinking in pure lambda functions is a breath of fresh air for me.


if this is powering your primary API and you have 24/7 traffic, fargate can actually be cheaper in some circumstances. there's nuance in lambda config, including concurrency, temp space, and memory. pay for usage is nice until it's not.


> ... is nice until it's not.

Like everything, no? This is akin to saying "All tautologies are tautological."

Your sentence preceding this one laid out some issues; you probably could have left it at that <shrug>.


could have done without the editorial critique as well.


cause we fat - got all the good stuff


Why though? what benefits does that give us?


I’m not entirely sure I wanted to see what HN thought. I was thinking if one’s already using rails+aws are there workloads that are not core app functionality, not frequent, but that when they run need to serve a large number of requests that Jets might be the right tool for the job?


Yes, and I see this phenomenon everywhere now. They completely ignore the explicit instructions we are giving and prioritize their “suggestions” instead. Facebook, Twitter with their default timeline views. On Twitch’s TV app it used to be one click from the main page to continue watching a video now it’s 5 clicks because they replace with suggested channels, recommended blah blah.

One can go blue in the face “quoting” terms on Amazon search but they’ll just show whatever they want anyways completely ignoring the exact terms entered. I’d prefer them to say “we couldn’t find any results for you” than to give me pages of useless results instead.


They completely ignore the explicit instructions we are giving and prioritize their “suggestions” instead.

I suspect it's deliberate. They're more interested in giving you what they want and trying to coerce you into that direction. I absolutely abhor it.


These types of searches are built for normie users who are likely to not search for exactly one thing, and would find a relevant result good enough. Not to absolve conflicts of interest, but this is simply what you get with giant mainstream monolithic products like Google or Amazon. They optimize for the normal distribution.


Partly deliberate revenue maxxing, partly SEO infosphere pollution, and partly the underlying technical elements of poorly (for the user) implemented embeddings, that have now largely replaced keyword based search. Tldr of the latter mechanism is multiple words share the same vector space representation so you often don't get what you want, but always you get what the model suggests you need. https://en.m.wikipedia.org/wiki/Word_embedding


One of the best talks on the subject I've heard by Richard Rumelt author of "Good Strategy Bad Strategy" https://youtu.be/UZrTl16hZdk


Yes, I can confirm that has been the best book I have read about strategy so far.


This is exactly what I’ve been looking for. Wanted to use my 2012 imac as a second monitor for my MacBook and in the absence of target display mode decided to use NoMachine but couldn’t get resolution + separate display without a physical dummy hdmi plug. Thank you


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: