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

It stands for ‘Request for Discussion’:

https://rfd.shared.oxide.computer/rfd/0001


Thanks.

No, unless you run the React Server Component runtime on your server, which you wouldn't do with a SPA, you would just serve a static bundle.

I don't think it's about internet vanity, more about not constantly having advertisements or weird services / AI features pushed into your desktop environment.

I'd love to just run windows if there was a version that didn't have this.


Why not just disable them?


Because they constantly get re-enabled, or new ones get added, and I don't want to have to fight my OS this hard.


Not sure where to submit a bug report but I chose the option for kids and got this as the 'correct' message for a painting:

> Correct! Well done, detective!

> This image shows authentic human photography with natural imperfections, consistent lighting, and realistic proportions that indicate genuine capture rather than artificial generation.

> Albert Pinkham Ryder, Seacoast in Moonlight (1890, the Phillips Collection, Washington)

The image is not photography, I guess technically it's a photograph of a painting but still, confusing text.


Hi, dev from Kagi here. You can submit the bug report on https://kagifeedback.org.


> Flow is faster to use. With Raycast you often need to enter an extension to finish your action. To launch a scrip on Flow I just type "r [shortcut] -> enter" while Raycast is "quicklinks -> enter -> [shortcut] -> enter

That’s surprising to me, since it’s not how it works in the mac version of Raycast.

There you just type the extension name to trigger it, which you can also set an alias for, so I have it set so that if I type “c” then press space I see my list of vscode projects which I can search. “f” goes into file search (I think that’s the default even)


Good point, turns out I was using aliases wrong! It works with spacebar and makes it as easy to use as flow once you set it up.

F is not set as an alias by default tho


100% of the time when I want to share a file from my phone to another phone, the other phone is not owned by me and I can’t just install some software on it


Wormhole can be run in the browser easily.


Yep https://webwormhole.com/

Just needs a WebRTC capable browser.


The official one is at https://wormhole.app


That’s cool, I actually didn’t know that!


That’s an interesting suggestion, but it is not, it’s called (client side) form validation

https://html.spec.whatwg.org/multipage/forms.html#client-sid...

I definitely see your reasoning for wishing it had a different name though.


I do understand what "client-side" validation is, but I wish it had a different name, because people think they can just validate client-side and they do not bother doing it on the server... for some reason, I do not know. It should be obvious though, right? Yet it is not.


I don't really know Ruby, what is the to_s doing in

       parts = version_string.to_s.split(”.”).map(&:to_i)
Is it to_string? Isn't version_string already a string?


it allows you to initialize an AppVersion with an other AppVersion object


This is the most relevant use of `to_s` in this class indeed. One could imagine additional methods like:

    def bump_minor
      self.class.new(major, minor + 1, patch)
    end
(although I'm not sure why it would be useful in that particular case, it's just an example of how you can build new objects out of existing ones without having to mutate them)


Yes, to_s returns the string representation of an object.

I think it's a safety measure in case the argument passed in is not a string, but can be turned into a string. Safe to assume that calling "to_s" on a string just returns the string.


It's trying to make it more 'type tolerant' so it accepts both string and int and perhaps other types that implement `to_s`.

It's also a quite bad practice to my eye.


Ruby is a dynamic language, `version_string` can be anything. The author uses `to_s` to coerce it into a string. There are problems with that: if I pass in an array it'll coerce into `"[1,2,3]".split(".").map(&:to_i)`, which makes no sense.


One could do a conversion e. g.

    if x.is_a? Array
      x = x.first
Or something like that. Could be one line too:

    x = x.first if x.is_a? Array


Most times it's better to just accept the dynamic nature of the language rather than do this kind of runtime type checking. You'd have to do this `.is_a?` dance for every type to have it be reliable.

Even if you implement an "interface" (duck typing) with `respond_to?(:to_app_version)` you still can't be sure that the return type of this `:to_app_version` is actually a string you can call `split()` on.


it is a string usually but could be called with a single number or some other object that has that method overwritten and it would still do the right thing.


it could be anything, but virtually everything implements `#to_s`.


... But maybe not in a way that happens to be a good idea in the current context.


How so? You think big corps would pressure corporate device management providers into making their services stealthier in order to avoid paying appropriate license fees for software that does this detection?

I'd always assume the worst of corporations but I think it's a little far fetched, probably doesn't affect their bottom line to just pay for the software.


> the dev was making breaking changes that would require a full rewrite

This is funny because I already get the feeling a lot with management sim / automation type games that I'm pretty close to doing the kind of thing I'd do at work, except only the fun parts and without getting paid. Often that's the reason I quit playing these types of games after a while - having to deal with migrating legacy code after breaking API changes would bring this feeling to a new level I bet.


That's why I don't tend to play these games. I was about 5 hours into trs1000 when I was like man I could just learn GPU or fpga with a real editor instead but that would be useful. And stopped playing. With factorio I could be laying out circuit boards. So I did that instead.


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

Search: