HackerLangs
TopNewTrendsCommentsPastAskShowJobs

mjmas

326 karmajoined 2 yıl önce

comments

mjmas
·evvelsi gün·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
·evvelsi gün·discuss
Probably, but not at any meaningful concentration.
mjmas
·3 gün önce·discuss
Pulled out of fair hat. Guaranteed to be random.
mjmas
·8 gün önce·discuss
aka spirit level?
mjmas
·8 gün önce·discuss
We have our NBN fibre here in Australia and it works fine. We can get 1000 down / 400 up for ~100USD.
mjmas
·11 gün önce·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 gün önce·discuss
English too
mjmas
·21 gün önce·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 gün önce·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 gün önce·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 gün önce·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 gün önce·discuss
No, but they aren't the ones designing them. Politicians normally aren't engineers.
mjmas
·25 gün önce·discuss
The UK did just recently do that for a Chinese-owned steel mill.
mjmas
·26 gün önce·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
·geçen ay·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
·geçen ay·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
·geçen ay·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
·geçen ay·discuss
I think it is a play on "non-crime hate incident".
mjmas
·geçen ay·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
·geçen ay·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