Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
demurgos
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
121.
▲
by
demurgos
4y ago
Yes, it's 100% normal; and it doesn't really bother me personally. The "please restart" page only appears when opening a new tab (so the disruption is minimal). I never lost any work because of this so it's just a m
122.
▲
by
demurgos
4y ago
You may have been lucky or have some specific config or workflow that made you avoid this issue. I'm using a regular Arch installation with Firefox and Pacman. The "please restart" page appears regularly; I just had it yester
123.
▲
by
demurgos
4y ago
For JavaScript, there's an active proposal to add deeply immutable objects and arrays: records and tuples. [0] [0]: https://github.com/tc39/proposal-record-tuple/
124.
▲
by
demurgos
4y ago
Small nit: A1 should be half the mass of A0 (40g in your example).
125.
▲
by
demurgos
5y ago
I've been using Migadu for years: you only pay for a single account and can link as many domains as you wish. Also they're pretty cheap and support was helpful when I messaged them.
126.
▲
by
demurgos
5y ago
I agree that in this case I can move to branch at runtime (the runtime cost is irrelevant for my use case), I still feel that it illustrates how it complicates deriving a universal type id. The more general issue is that removing generic re
127.
▲
by
demurgos
5y ago
I am currently working on a configuration manager (to get rid of Ansible for my needs). To support running code as different users, I spawn multiple processes. I want to be able to call functions across processes without limitations, and be
128.
▲
by
demurgos
5y ago
Babel can do this if you wish to only strip TS extensions without typechecking.
129.
▲
by
demurgos
6y ago
I second this. Migadu has great support and affordable prices. I also like the fact that you can link any number of domains to your account without extra costs.
130.
▲
by
demurgos
6y ago
Does anybody know if GATs would enable to issue indexes/handles tied to a container without the use of closures? This would allow compile-time checks that indexes are only used with their container. The most advanced crate for such use
131.
▲
by
demurgos
6y ago
Congratulations to the Ruffle team! I maintain Open-Flash [1], another project around maintaining Flash. It was started following the discontinuation of Mozilla's Shumway emulator. I wanted to write a Node.js program to parse and merge
132.
▲
by
demurgos
6y ago
I believe the main negative he is referring to is that there is no canonical representation for a given document. The input file can be structured to share common keys (in the example above it's `info`) or not. Since both inputs are pa
133.
▲
by
demurgos
6y ago
Open-Flash author here. Open-Flash was originally intended to be a fork of Shumway, but it ultimately became a fully separate project intended to provided modular libraries to handle SWF files. I had less time to push the project forward in
134.
▲
by
demurgos
7y ago
Some engineer at CERN wanted to easily share documents with its colleagues and came up with the World Wide Web. It's not a direct result of CERN, but a byproduct. They have special requirements for cooling, data processing, engineering
135.
▲
by
demurgos
7y ago
It was a difficult process, but I am very happy that Node finally has support for unflagged native ESM. It landed today in Node 13.2. Thank you for everyone who worked on this. The `modules` team still continues to work to improve ESM suppo
136.
▲
Announcing core Node.js support for ECMAScript modules
(medium.com)
2 points
by
demurgos
7y ago
|
1 comments
137.
▲
by
demurgos
7y ago
I recently [0] updated my Control Flow Graph representation in a Typescript parser for AVM1 bytecode because I had the exact same issue as in the article. I previously represented my graph as an array of blocks. But a graph always has at le
138.
▲
by
demurgos
7y ago
I remember reading it from Wikipedia some times ago. I looked it up again and I was wrong: this was not applied for POSIX but UTC itself. The arrival of international networks seems to actually be the reason why they stopped smearing it con
139.
▲
by
demurgos
7y ago
Yes, I definitely agree that the reality is even more complicated and there are different implementations. The recent time-smearing approach is closer to the POSIX standard [0]: > How any changes to the value of seconds since the Epoch a
140.
▲
by
demurgos
7y ago
> I always convert time into time in seconds since the epoch You should still be careful how you define a _second_. A POSIX second is not the same as an SI second. A POSIX second corresponds to 1/(24 * 60 * 60) of a day. An SI sec
141.
▲
by
demurgos
8y ago
The example I know is the following line: foo * bar; This is either an expression statement computing the product of `foo` and `bar` or the declaration of a variable `bar` as a `foo` pointer. To solve this ambiguity, you need conte
142.
▲
Gulp – Version 4.0 Now Default
(medium.com)
1 points
by
demurgos
8y ago
|
0 comments
143.
▲
by
demurgos
8y ago
Small note, the JS objects are in fact ordered. The lack of determinism caused issues between browsers so the spec now defines the following order: 1. Integer indexes (string keys) in ascending numeric order 2. Other string keys (non-intege
144.
▲
by
demurgos
8y ago
There was no big change on the ESM side. They are still experimental and require the `.mjs` extension. The only change around modules that I am aware of is the update of the V8 engine. It adds support for `import.meta`. There are still ongo
145.
▲
Introducing Exclusive Features to GitLab.com Bronze, Silver and Gold Plans
(about.gitlab.com)
104 points
by
demurgos
9y ago
|
80 comments
146.
▲
by
demurgos
9y ago
Here you go: https://github.com/open-flash/meta As I already mentioned above, it's still in the early stages and I don't know how it will end, but I sure hope that there will be a solution ready once Adobe di
147.
▲
by
demurgos
9y ago
Thanks for the link, it's definitely interesting. Unfortunately it seems that most of the open source Flash projects died out around 2011-2012. What I had in mind was more about converting the programs (SWF files) instead of fixing the
148.
▲
by
demurgos
9y ago
Sure, I cannot upload it right now but I'll push the latest versions this evening. Even if my goal is to have small packages (it lowers the barrier to entry and allows to version components independently), it also creates some friction
149.
▲
by
demurgos
9y ago
Please correct me if I am wrong, but I believe that you need the source code to compile a program using Emscripten? Even if some components of the Player are open-sourced [1], the Player itself is still closed source. [1]: https:/
150.
▲
by
demurgos
9y ago
An interesting solution could be to work at the SWF level instead of the Player level. Instead of rewriting, porting or locking down the Player, could it be possible to automatically translate SWF files to another format? I am fairly certai
More ›