Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kiwidrew
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
121.
▲
by
kiwidrew
6y ago
Yeah, so some syntactic rules (using Array.forEach() instead of for(;;) loops) and prohibiting some of Javascript's more dynamic features might be enough to render the language non-Turing complete. It would also -- and this is kind of
122.
▲
by
kiwidrew
6y ago
I wonder, would it be possible to identify a subset of Javascript that is benign? Perhaps some rules about which functions the script is permitted to use, along with restrictions on looping constructs (iterate through an array = OK; unb
123.
▲
by
kiwidrew
6y ago
> the idea of letting a site execute Turing-complete computations I'll admit that I have never been keen on the "browse with Javascript disabled" idea, but after my digging around yesterday to figure out why Reddit kept
124.
▲
by
kiwidrew
6y ago
Are you talking primarily about the customer-facing apps? I wouldn't go so far as to call the Uber Eats driver app an "exceptionally better system", it mostly works (modulo some annoying bugs that keep reappearing every few u
125.
▲
by
kiwidrew
6y ago
The travel bans will last as long as it takes for the US to get their pandemic under control, and given the current (lack of any) progress towards that outcome "forever" might not be much of an exaggeration.
126.
▲
by
kiwidrew
6y ago
What I'd really like to see is another manufacturer launching an FPGA that uses the same bitstream format (and hence the same general architecture) as the iCE40 or ECP5 series. Then we'd have a proper open platform! Remember the
127.
▲
by
kiwidrew
6y ago
Let's say you want the user of your service to be able to write and upload a configuration file, but you specifically don't want them to be able to execute arbitrary code on your server(s). It would be nice to be able to staticall
128.
▲
by
kiwidrew
6y ago
Wow, cool, that is a really nifty language! I don't care for the syntax (at all) but I am seriously impressed by the careful design. I've always wondered where you'd need to draw the line between plaintext config files and e
129.
▲
by
kiwidrew
6y ago
Ah ha, thanks for explaining CR INC, that makes sense now. I have only been looking at the diagrams in the patent. The patent does enumerate (col 25 line 15) the TYP values: 0, 1, 4, 5, and 6. (The microcode listings also sometimes use a
130.
▲
by
kiwidrew
6y ago
On the other hand, it's often useful to have data and configuration files that aren't Turing complete, because then you can safely make assumptions about how much time and space is required to load/parse them. Unfortunately
131.
▲
by
kiwidrew
6y ago
> I was curious why 21 bits? I would have expected this would have been a multiple or instruction size or perhaps also 16 bits. Or is there really no correlation between size of an instruction and it's underlying micro-ops? From t
132.
▲
by
kiwidrew
6y ago
That's fantastic news! I'm interested to see whether the 8086 and 8088 use the same microcode or whether the only difference between the chips is in the BIU itself. I've always wanted a "visual 6502" style emulatio
133.
▲
by
kiwidrew
6y ago
Not yet, but with these new high-resolution die photos it is only a matter of time. Meanwhile the US4449184 patent [1] referenced in the post's footnotes has a lot of information about how the microcode works (and the meaning of the 21
134.
▲
by
kiwidrew
6y ago
What the segment registers actually allowed was a primitive form of relocatable code: the 8086 didn't have PC-relative addressing modes, so instead what you got was 16-bit absolute addressing that was segment-relative. DOS could load
135.
▲
by
kiwidrew
6y ago
Ah, interesting, I wasn't aware that this syntax was also in use with SunOS...
136.
▲
by
kiwidrew
6y ago
What I find most interesting about Apollo and DOMAIN/OS is that by 1983 (at the latest, see the Getting Started document [1]) the designers had managed to peer into the future and come up with network filename syntax that matches what
137.
▲
by
kiwidrew
6y ago
Yes, imagine if the browser vendors decided to _improve the usability of the URL bar_ instead of trying to remove it... The only difference between Example.com > Worldnews > 2020 > 06 > 14 > Big aquatic monster spotted ou
138.
▲
by
kiwidrew
6y ago
You're not wrong about VCs funding the New Zealand drivers; the fact that there's an "excess driver incentives" line item in the Uber 10-K is proof enough! My flatmate is an Uber Eats driver and didn't receive anyt
139.
▲
by
kiwidrew
6y ago
> the old school pizza/chinese delivery places are more efficient in terms of deliveries per driver per hour Precisely this! It's amazingly inefficient to dedicate an entire person (and their 1000kg car) for the delivery of a
140.
▲
by
kiwidrew
6y ago
All of the examples provided are valid HTML5, and all HTML5-compliant user agents are required to implement the HTML5 parsing algorithm, which constructs a DOM tree in a deterministic manner for any given input. HTML5 specifically permits t
141.
▲
by
kiwidrew
6y ago
For context, on 8th March (the date of the Newtown festival) there had been a cumulative 224 tests undertaken and only 5 positive results, all of which were linked to recent overseas travel. [1] Through what seems to be sheer luck, NZ mana
142.
▲
by
kiwidrew
6y ago
Very cool, this is essentially just an updated (modernised) Gopher protocol. I wish the protocol was designed so that the server signed the document itself [well, most likely a hash of the document]. That would allow caches, archives, and
143.
▲
by
kiwidrew
6y ago
The specific assertion was that "NZ doesn't have the same close traffic with any early covid hotspot", but that's demonstrably false. Perhaps there were more Swedes traveling in general, but that is neither here nor ther
144.
▲
by
kiwidrew
6y ago
I'm not sure where you got that impression about the NZ cases. A bit over half of New Zealand's early confirmed cases were directly linked to recent overseas travel. Although the data [1] is a bit awkward to analyze, in weeks #12
145.
▲
by
kiwidrew
6y ago
Yes, it would generate a huge amount of data to sift through. Based on what we know about the proposal, the hardware platform doesn't yet exist. Even if the full design was already complete, how long would it take to tool up a factory
146.
▲
by
kiwidrew
6y ago
In an open space (such as a supermarket carpark) the Bluetooth LE range could easily be 10-20 meters. So one person standing in the queue could potentially be considered a contact of the 5+ people in front of them plus the 5+ people behind
147.
▲
by
kiwidrew
6y ago
I applaud the efforts to investigate whether smartphone technology can be a useful aid in the contact tracing process. Privacy aside, it seems to me that there are two main issues that Bluetooth-beaconing-smartphones will struggle to solve:
148.
▲
by
kiwidrew
7y ago
> completely normal rooms in working class homes My impression is that virtually all of the Airbnb complaints (both from guests and from neighbours) relate to "entire apartment" listings and/or the "private rooms"
149.
▲
by
kiwidrew
7y ago
I also wish that the basic container feature worked like this. In the meantime, I am very happy with the unofficial "Google Container" addon [1], which is just a copy of the Facebook container that works its magic on Google domain
150.
▲
by
kiwidrew
7y ago
This sounds absolutely fascinating. Do you have any links that go into more detail about the Russian B2B bartering and accounting?
More ›