Readit News logoReadit News
Shywim commented on .localhost Domains   inclouds.space/localhost-... · Posted by u/todsacerdoti
oulipo · 9 months ago
Just did that on my mac and it seems to work?

    $ ping hello.localhost
    PING hello.localhost (127.0.0.1): 56 data bytes
    64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.057 ms
    64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.162 ms

Shywim · 9 months ago
Not for me, MacOS 15.4:

    $ ping hello.localhost
    ping: cannot resolve hello.localhost: Unknown host

Shywim commented on OOP is not that bad   osa1.net/posts/2024-10-09... · Posted by u/thunderbong
nashashmi · a year ago
> Subtyping, where if a type B implements the public interface of type A, values of type B can be passed as A.

I am confused by this statement or it is going against what I understand.

If you have created a Type B variable, and you also have a new interface called A, and B implements A, then why would Type B variable's values be passed to A's values. 'A' is only an interface.

Shywim · a year ago
It says "values of type B", as in "instance of type B", can be passed as if they are "instance of type A" (which they are actually).

But yes, values inside B specific to type B will not be able to be accessed when manipulating the type A.

Shywim commented on Amazon says workers must be in the office. The UK government disagrees   bbc.co.uk/news/articles/c... · Posted by u/thunderbong
Shywim · a year ago
The logical conclusion from statistics is hybrid work. I am full remote because of the distance, bust most of my company is hybrid, and my experience is exactly as described by the results of the Microsoft studies.

I go on site 3-5 days per month, and I always connect more (more than 0) with people outside my team and happens, even on work related topics which enable new interesting findings and what not.

It helps that the company where I work has a culture that make people want to go to the offices even if they are not required to do so. There are pics days when the office is full because people want to see each others, then they are free to remote work any time it is wanted/needed.

Shywim commented on What's inside the QR code menu at this cafe?   peabee.substack.com/p/wha... · Posted by u/captn3m0
digitalengineer · a year ago
inefficiency? It's part of the experience. I'm not in a restaurant or café to drink as fast as possible. I'm there to socialize as well. Waiting a bit is not a bottleneck, but a feature. (If I wanted speed, I'd take the drive-through).
Shywim · a year ago
I think that works out if you are alone, if you are with other people, the waiter will probably interrupt the socialization you are doing with the people you are with, causing stress even for the waiter.

Also we should recognize that the waiter is often looked down at, it is not a very nice job, and as a human being, having a poor experience with some customers will probably pass on to other customers, etc...

I'd go as far as having a job with "wait" in the name, and having to wait, calmy and happily or else you don't get your tip, is not so far from slavery.

Shywim commented on The journey to Nintendo Switch   factorio.com/blog/post/ff... · Posted by u/snthueoa
simias · 3 years ago
Do you know if this technique is available for all games or just Nintendo's own? It seems like it would be easy to cause issues if games were allowed to mess with the clocking willy-nilly, so I assumed that it was only done on Zelda because it's a first-party title (and one of the biggest on the console).
Shywim · 3 years ago
This is available for any game since 2019, here’s an article talking about it: https://www.eurogamer.net/digitalfoundry-2019-nintendo-switc...
Shywim commented on Lemmy – A link aggregator for the fediverse   join-lemmy.org/... · Posted by u/Apocalypsenear
lewiscollard · 4 years ago
If it was possible to write an effective slur filter, I would not find it completely objectionable. Not because that would be useful to stop people saying completely shit-headed things if they really wanted to (I strongly suspect you could get the entirety of Mein Kampf past that filter), but as a "people who use these words are not welcome" signal, which definitely has some value.

As it is, it's bashing the problem with regular expressions, and doing so badly. I mean, some of those words actually have completely different, non-offensive meanings in certain communities & contexts. (One of a few I spotted: Last time I used "retard" was in the context of ignition timing...)

Shywim · 4 years ago
There's also a language problem: "retard" is a common word in french which bears no insult in it and simply mean "late" like in "being late to work".
Shywim commented on New in Git: switch and restore   banterly.net/2021/07/31/n... · Posted by u/todsacerdoti
dagw · 4 years ago
Isn't that just being incredibly lazy. Surely a reasonably experience person like yourself should be able to read the error message and at least get a rough idea about what the problem is. Then from there explain how you would fix it on the CLI and try to map that onto the GUI. Most Git GUIs map fairly closely to the underlying git model.

Why not just say the truth "I could help you, but it's not my job, so I'm not going to"

Shywim · 4 years ago
> Most Git GUIs map fairly closely to the underlying git model.

Maybe, but most Git GUIs don't provide clear error messages. This is the case of VSCode, which my teamates keep using. When you use Git CLI you can just have the original error message and know what's wrong.

I was also burned by sourcetree some years ago where it lost part of my code while doing a merge I didn't even understand.

I am not a Git expert. But I can remember the 5 commands needed to do my job every day: `commit`, `push`, `pull`, `rebase`, `checkout`. (you can also add `add` and `status` to the list if you want)

They're straighforward, except for `checkout` which is adressed by `switch` for the main usage.

If you use it wrong, Git CLI will tell you in most of the cases, and even tell you how to do what you intented to do. Git GUIs will probably tell you something wrong happened and left you at that or try to be more intelligent than you are and do something wrong.

> Isn't that just being incredibly lazy.

-> this is what I'd answer to do those Git GUIs.

> Isn't that just being incredibly lazy.

-> this is what I'd say to people who won't write these 5 commands on a sticky note or something and keep it for a month before realizing it wasn't hard to remember once you _commit_ to it and that Git is not hard, minus exceptional problems but Git GUIs absolutely won't help you with these exceptional problems.

Shywim commented on Theia: Cloud and Desktop IDE   theia-ide.org/... · Posted by u/jankeromnes
gowld · 6 years ago
People don't understand that one project can have more than one product.
Shywim · 6 years ago
The same confusion exists between Visual Studio and Visual Studio Code.

Also, Eclipse Theia could be the name of the last version of the Eclipse Java IDE since they named every major release of their IDE until recently.

Maybe they should have gone with Theia by Eclipse, or just drop the Eclipse in the name altogether.

Shywim commented on iPhone Apps Surreptitiously Communicated with Unknown Servers   schneier.com/blog/archive... · Posted by u/hsnewman
newscracker · 7 years ago
Not directly related to the apps mentioned in this article, but one key permission that iOS lacks that Android has is the network access permission. There are many apps that I just don't want accessing the network or the Internet at all. I want them to run as local pieces of software with whatever other permissions I choose to grant them.

Even in our connected world, there is no reason to provide blanket network access to every app on the device.

Shywim · 7 years ago
AFAIK you can't refuse the network access permission on Android, even though the permission exists and is necessary for the app.
Shywim commented on Ivy – A stress-free way to get things done   getivy.co/... · Posted by u/thedrooling
Shywim · 7 years ago
Must be a nice life to only have six things to do everyday.

u/Shywim

KarmaCake day154December 31, 2015
About
[ my public key: https://keybase.io/shywim; my proof: https://keybase.io/shywim/sigs/KaZtmMlxnaTcVlDsxNK-rRAm9Y7mBKVGgF1OZEtPx0o ]
View Original