Elia Schito

Results 181 comments of Elia Schito

@h4ck3rm1k3 thanks for reporting this. That said, I'm failing to understand exactly what you mean, can you be more specific?

@h4ck3rm1k3 maybe something like this? http://stackoverflow.com/a/171011 (btw in the case of wmi-lite should be safe to load on any platform, judging by the [gem's description](https://rubygems.org/gems/wmi-lite))

oh I see now, yeah, the easiest option is to stub those files, in the case above that would be: ``` opal -s wmi-lite/wmi -e "require 'wmi-lite/wmi'" # the require...

> I'm a bit lost as to why/how all this pathname munging is going on though. It has mainly to do with how sprockets treats extensions and the fact that...

The most basic hello-world example I can think of is in the Readme https://github.com/opal/opal#compiling-ruby-code-with-the-cli-command-line-interface. The [homepage](https://opalrb.com) also features some more hello-world examples from different angles (e.g. using rack, rails, cli)...

I'm starting to think it's time to target a modern ES with modules, rest args, etc. and let a polyfill or babel take care of compatibility… it's probably also time...

@hmdne that's great! I started working on `@opal/corelib` and `@opal/stdlib` with ESM import/export statements, maybe we'll be able to use them directly across the board 👍

Maybe we should consider using `Intl`, although I'm not sure exactly how it can be used it seems like it knows better WRT timezones: ``` > new Intl.DateTimeFormat('en-US', {timeZone: 'Asia/Tokyo',hour:...