Preferences

nedt
Joined 238 karma

  1. I once implemented a WebDAV server in PHP. The standard isn't that bad and clients are more or less following the standard. It's still horrible how they are doing that. I saw behaviors when opening a single file like:

      - does / exists?
      - does /path/to exists?
      - does /path/to/file exists?
      - create a new file /path/to/file.lock
      - does /path/to/file.lock exist? 
      - does / exist?
      - does /path/to/file exists?
      - lock /path/to/file
      - get content of /path/to/file
      - unlock /path/to/file
      - does /path/to/file.lock exist? 
      - remove /path/to/file.lock
    
    (if not exactly like that it was at least very close, that was either Finder on OS X or Explorer on Windows). Without some good caching mechanism it's hard to handle all of the load when you get multiple users.

    Also the overwrite option was never used. You'd expect a client to copy a file, get and error if the target exists, ask user if it's ok, send same copy with overwrite flag set to true. In reality clients are doing all steps manually and delete the target before copying.

    It was satisfying seeing it work at the end, but you really need to test all the clients in addition to just implementing the standard.

  2. Well the PHP from 20 years ago was much better than the from 25 years ago. But there have been a lot of nice additions since then, including the last 5 years.
  3. Everyone trying to access a site behind Cloudflare is forced.
  4. But then there are packages like htm that are doing basically the same thing with just tagged templates.
  5. The language doesn't really matter much. I think I keep using PHP as in the years before.
  6. You'd think they've done it on purpose so you don't watch Youtube on TV. I tried but it's so bad you'd never open it a second time. And that's the platform where there are no ad blockers, so it must be good for them ...
  7. They have released 100% of the source they have.
  8. I had being using krypton, with the private key being on my iPhone, and am now using secretive. Never had much of an issue with not having access to my private key. We made rolling out public keys to the servers very easy by using the gitlab key file. So when I get a new Macbook I'd just need to create a new key and upload it to gitlab. We have multiple devops that can run the playbook to roll it out to the servers. And if they have a new Macbook I roll it out for them. And we don't have that many Macbook upgrades anyway.
  9. > Great to see this finally. It’s obviously the way it should have been implemented from the beginning.

    It was on its way to get implemented and then Microsoft enabled it by default in IE10, so not making it the choice of a human, and ruined it for everyone.

  10. > you can have a linter forbid it entirely if you like.

    It would be better if that would be the other way round "linter forbids it unless you ask it not to". Never wrong to allow users to shoot themself in the foot, but it should be explicit.

  11. I'm not bashing, but just want to remind about the alt attribute on images. The BA messaging wifi is an example of a use cases where images might not work as pointed out in the article and an alternative description would be needed. But the article itself is using images with alt text.
  12. Yeah it's the same for having just one accent "German". Swiss, Austrians but also north vs middle vs south Germans do still sound different - even when they talk English.
  13. Yeah in that regard we should always treat it like a junior something. Very much like you can't expect your own kids to never do something dangerous even if tell it for years to be careful. I got used to getting my kid from the Kindergarten with a new injury at least once a month.
  14. Yeah I've also build a Phoniebox a couple of years ago for my kid. It has physical buttons, RFID cards or chips (some hidden in plush toys) and works very much like tonies, but with much easier access to anything you want to put on it. It's all in a wooden box including speakers. I've later extended it with a powerbank.
  15. The article might have some points, but there is also a lot of complaining just for the sake of it.

    - One the homescreen seeing the search as a clear button is useful for most users. The swipe down is just not easy to find and remember. The dots shown when swiping through homescreens is actually much clearer if you don't have so many pages.

    - Same goes for the pull down search bar. It took me a long time to remember that. And then in the system settings it always took me some time to find it again. That it's the same gesture as reload in other apps made it even more confusing. Now it's right where you thumb is.

    - The pulsating buttons - I haven't even seen them. And I switch during the public beta phase. Normally buttons get hidden by your thumb when you press them.

    - And then yeah a lot of things look different now. We had that before when we switch to the previous design language and people were just complaining as much.

  16. As long as they keep pushing we have a 80% chance that they haven't succeeded yet.
  17. But of course that's only for things with positive outcomes. If it's negative Alice would start saying "we" and "I" and then come up with a solution that can again give Bob credit because of the positive outcome in fixing something.
  18. I guess the personal vehicle is fine as long as you don't drive in traffic. Maybe you try cycling on your typical route to work to be more immersed in the traffic and all the stress it causes.
  19. All of the presidents are elected. The bodies electing them are always part of a democratic process. Just because it's indirect doesn't make it less democratic. the president of the commission is even covered twice at it gets nominated by the council and the elected by the parliament. The parliament we voted for, the council are the head of states who might also not come from a direct democratic process.
  20. Yeah none of them are working in my corporate network. That's not the way to piss of the IT department.
  21. Biggest problem is with the approach of doing a revolution, while evolution is possible. Reactivity is mentioned in the article and examples are given with frameworks that would need a rewrite of anything you have in react and relearning everything for the team.

    But it's really not needed - you can just use signals in react with the preact-signals package (works with preact and react and standalone) which has been created 3 years ago: https://preactjs.com/blog/introducing-signals It can even skip the virtual dom and diffing.

    The issue is not React per se. Just look at what the ecosystem has to offer. You can also speed up your loading times by using preact. And if you don't like a compile step use a package like htm and tagged templates for a JSXish syntax. And then move your "store" outside of react with signals etc. There is enough innovation happening, no need to always look at the other side.

  22. It's not like Disney World wasn't sanctioned. In the US that is. Freedom is always limited by what others decide it is.
  23. German is on the list of supported languages. That can't be the reason why it's not available in Germany. Although as an Austria I must admit their German is a bit weird.
  24. We haven't been saved by procrastination. We literally were saying "oh that's a new version, we are always behind anyway". Of course everything was still checked, but actually having the latest version on packages is almost never needed and we rather update when we have to (because version is old) instead of when there is a new version. Nothing new is that awesome.
  25. Every PHP file can work without frameworks. The route is your filename, PHP by itself can do templating and input data is handled by the super globals.

    But if you want some small and simple framework as guidance you can also try out Slim Framework.

  26. It‘s called „shared nothing“. Also makes scaling easier and you can restart processes anytime without impact, because every request starts at zero anyway.
  27. Yeah it could have a better explanation. I added like three bases and always just got a list of "file name" and was wondering how to add different data. Was expecting something like MS access based on markdown tables. Maybe if the documentation would have an example of how you would create a collection of documents and then have a view on that with a base it would be clearer.
  28. Normally 50% is used as each corner is a quarter of the box. Any reason for not simply using that?
  29. The age verification should be based on ISO 18013-5 mdocs and not even need a full ID. That would give you basically a "is over 18" flag signed by the state and not need anything in addition.
  30. If the app is as elegant as the website I have to pass. The menubar is hidden at the start - and also when you scroll back up. FAQ and Github Stars menu items are overlapping, so you could be clicking the wrong one. The icon looks like a light/dark theme switcher, but is not. Actually there is no light theme at all on the webpage, which depending on your environment can make it hard to read. I'm assuming the app is the same. Looks like I'm too old or not the target audience or both.

This user hasn’t submitted anything.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal