HackerLangs
TopNewTrendsCommentsPastAskShowJobs

mjmas

326 karmajoined 2 lata temu

comments

mjmas
·przedwczoraj·discuss
Doing it for company-owned laptops seems a lot different than doing it for customers' devices. I think the complaint is more about the latter.
mjmas
·przedwczoraj·discuss
Probably, but not at any meaningful concentration.
mjmas
·3 dni temu·discuss
Pulled out of fair hat. Guaranteed to be random.
mjmas
·8 dni temu·discuss
aka spirit level?
mjmas
·8 dni temu·discuss
We have our NBN fibre here in Australia and it works fine. We can get 1000 down / 400 up for ~100USD.
mjmas
·11 dni temu·discuss
POSIX compatibility

> https://pubs.opengroup.org/onlinepubs/000095399/functions/op...

> The open() function shall return a file descriptor for the named file that is the lowest file descriptor not currently open for that process.
mjmas
·16 dni temu·discuss
English too
mjmas
·21 dni temu·discuss
> jam the same stream.

To add to that, other people won't be able to spoof the original stream (as that needs the private key), but instead only jam it.

It would be the same failure mode as SSL certificates.
mjmas
·21 dni temu·discuss
Does the US have the same distinction we have here in Australia where there will be a small local government area in the centre of a city named that?

For example, the City of Sydney LGA is only one of 33 LGAs that make up what is normally known as Sydney.
mjmas
·22 dni temu·discuss
Or if your editor is happy to store them in a subfolder that is useful. I use Sublime with the AutoProjects extension and it puts .sublime-project snd .sublime-workspace under a .sublime folder that I can have a .gitignore * underneath.
mjmas
·22 dni temu·discuss
Not OP, but I have an Asus StudioBook 17.

Of what is builtin, the fingerprint reader and the numberpad functionality of the touchpad don't work.

Everything else works fine though.
mjmas
·22 dni temu·discuss
No, but they aren't the ones designing them. Politicians normally aren't engineers.
mjmas
·25 dni temu·discuss
The UK did just recently do that for a Chinese-owned steel mill.
mjmas
·26 dni temu·discuss
It also allows implementing a different display interface. For example Haiku OS has a compatibility layer: https://discuss.haiku-os.org/t/xlibe-an-xlib-x11-compatibili...
mjmas
·w zeszłym miesiącu·discuss
From my reading through the RFCs a few months ago the message and smtp envelope also have different rules for addresses, and the message allows the local-part to contain whitespace but the envelope doesn't.
mjmas
·w zeszłym miesiącu·discuss
> Maybe that's all silly

No it isn't.

Both examples match perfectly physically:

- Touchpad is like dragging the piece of paper directly.

- Scroll wheel is like having the paper on the other side of the wheel.
mjmas
·w zeszłym miesiącu·discuss
The builtin keyboard on Asus StudioBook laptops also gets this right.

When holding Alt, the F4 key always acts as that rather than its special action (backlight brightness down).
mjmas
·w zeszłym miesiącu·discuss
I think it is a play on "non-crime hate incident".
mjmas
·w zeszłym miesiącu·discuss
Won't your first line mean every Monday in May as well as days 25 to 31 of May?

At least busybox's cron implements it that way:

  if (line->cl_Mins[ptm->tm_min]
  && line->cl_Hrs[ptm->tm_hour]
  && (line->cl_Days[ptm->tm_mday] || line->cl_Dow[ptm->tm_wday])
  && line->cl_Mons[ptm->tm_mon]
  ) {
mjmas
·w zeszłym miesiącu·discuss
Or in Lua you'd wrap the initial call in a coroutine, possibly with coronest[a] or something similar to make handling the effects at the right layer easier.

And so then the outer code is a loop around coroutine.resume, and the inner code uses coroutine.yield to perform an effect.

[a]: https://github.com/saucisson/lua-coronest