Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
35 views

According to these docs https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/pipeTo by default (by not passing preventClose: true) will make the writable stream automatically close when the ...
Alex's user avatar
  • 66.6k
1 vote
1 answer
969 views

In the following code am trying to change the ref value of the constant 'title' inside the computed setter, So I expect to change the value of 'title' when the computed start <template> <h3&...
Khaled's user avatar
  • 21
0 votes
0 answers
263 views

I am currently struggling with naming store(writable, readable etc) in svelte. store.ts export type CanvasContext = ReturnType<typeof createCanvasStore> export const createCanvasStore = () =>...
Eddie Jeong's user avatar
1 vote
1 answer
642 views

I want to call a svelte custom store function without calling the update function. It feels ugly, especially since I don't want to update anything, I just want to query the store's content and ...
Gertjan Kruiger's user avatar
0 votes
1 answer
978 views

When launching my web application on local EasyPHP web server, I am still getting this : Error: the templates_c directory does not exist or is not writable Please make sure that the templates_c ...
Logiciels du Congo's user avatar
0 votes
1 answer
182 views

I have a small Svelte app and love the framework, but I am running into a issue with local variables. There is a local writable variable declared in a child component and is only used in this ...
JustAnotherDev's user avatar
-2 votes
2 answers
457 views

I found out that docker image is read-only. Is there a way to save the image writable? The reason why I post this question is because I want to modify the original image. Delete or Update from the ...
Jinwoo Nam's user avatar
1 vote
1 answer
1k views

How can I use a "writable store" to create a "blob"? I am new to Svelte. I am trying to code a simple markdown editor for visually impaired users. The content of the "textarea&...
Henriette's user avatar
2 votes
1 answer
2k views

I to values stored in a writable store import { writable } from 'svelte/store' export const user = writable(null) export const isLoggedIn = writable(false) I then import these values from and set ...
Daniel Okita's user avatar
1 vote
0 answers
818 views

I need to convert my store to a persisting store that uses a Localstorage to hold my data even if the user closes the browser. I have tried writing the code using Localstorage.setItem and getItem but ...
prasobh's user avatar
  • 13
0 votes
0 answers
55 views

I have those lines in my code implicit val anyContentAsMultipartFormWritable: Writeable[AnyContentAsMultipartFormData] = { MultipartFormDataWritable.singleton.map(_.mdf) } I had to upgrade my ...
Nili Al's user avatar
  • 21
0 votes
1 answer
1k views

I am currently running a deployment that is pulling from a database and is set as read only. Unfortunately the deployment freezes on coaction without notice so I came up with the idea of having the ...
boblerbob's user avatar
  • 189
1 vote
1 answer
389 views

let testWriteableStream_1 = fs.createWriteStream("logs/test_profit_1.csv", { flags: 'a' }); let testWriteableStream_2 = false; let testFlag = { number: 1 }; let testCount = { number: 0 }; ...
Illusion's user avatar
0 votes
1 answer
836 views

How can i use the values from hashset (the docid and offset) to the reduce writable so as to connect map writable with reduce writable? The mapper (LineIndexMapper) works fine but in the reducer (...
codegeek21's user avatar
0 votes
0 answers
136 views

In Java I'm writing a data file that is essentially a save file. I know if I write the file as a .dat (UTF-8) when I open the file in a text editor the numbers are unreadable. In the same file text is ...
JimmyMac's user avatar
0 votes
1 answer
84 views

I am trying to write a map reduce program that checks for common friends. I am using a custom writable (FriendPair) as key. Given the following input Tom Jerry,John John Jerry,Sarah,Tom It should ...
Jamesbond's user avatar
0 votes
1 answer
4k views

I'm reading official Node.js docs to understand streams. I'm implementing Writable stream, but I can't understand what is the difference between write and _write. Quoting the docs from this section: ...
code_master5's user avatar
4 votes
2 answers
7k views

I wanted to make my own wiki for my own personal use and carry it around on an external drive. I am using Windows 10. I installed XAMPP portable to my external drive and set up MediaWiki yesterday ...
Anonymous's user avatar
  • 487
0 votes
1 answer
140 views

This works in NodeJS but I have to use recordObject within the codeblock where it was created. It is not visible outside of the code block even if recordObject is declared at the beginning of the ...
John Shearing's user avatar
2 votes
1 answer
541 views

I know I can move files by renaming them in wdired mode. I am wondering if there is a chance of creating, copying, deleting files/directories in writable dired mode.
Yuki's user avatar
  • 4,263
-1 votes
1 answer
5k views

I am using this config to mount drive that is read-only to docker image: volumes: - name: drive-c hostPath: path: /media/sf_C_DRIVE containers: ... volumeMounts: - name: drive-c ...
Bojan Vukasovic's user avatar
-1 votes
1 answer
46 views

If I set the prototype to null, then how come I can still use toString on the object? var nakedObject=Object.create(null,{ name:{ configurable:true, enumerable:true, value:"Hello", ...
akotch's user avatar
  • 215
0 votes
1 answer
675 views

I am passing a type into a flatmap like so; val customData: RDD[(Text/String, Custom)] = origRDD.flatMap { case(x) => parse(x)} this returns a key value pair of String and Custom(I have used Text ...
SparkleGoat's user avatar
0 votes
0 answers
68 views

This question might have been answered already and I looked into the web, but I don't really know what term to use, but here it is. As some of you know, some people provide writable pdf file, ...
David Brunelle's user avatar
1 vote
1 answer
2k views

I am implementing my own Writable for Hadoop secondary sort, but when running the job, Hadoop keeps throwing EOFException in my readFields method and I don't know what's wrong with it. Error stack ...
yzhan's user avatar
  • 170
0 votes
1 answer
589 views

I have some java classes which were generated using axis wsdl2java. I want to use those classes to be returned in Json format, but i keep getting various error, such as cannot convert Incident Object ...
chetank's user avatar
  • 402
46 votes
5 answers
123k views

Error: Can't clobber writable file : //file name// Solution: When you try to sync a file, perforce expects your files in workspace will have read-only permissions. If a file is not checked out (by ...
Shubham Verma's user avatar
0 votes
6 answers
111 views

I'm trying to create a folder on the SD card that is named by user inputs, I get no errors when I run it, but it also doesn't create the folder. the following is all the code I have written for this ...
RedCaribou's user avatar
0 votes
2 answers
4k views

My mapreduce application look like this. I want to sum the 3 values from the strings public class StockCount { public static class MapperClass extends Mapper<Object, Text, Text, ...
fzsombor's user avatar
1 vote
0 answers
1k views

I have an (older) Android application which has its targetSDK set to 19, has a few native libraries (.so files) included and runs fine on devices up to API 23. Running on an Android O device a build ...
Puiu Ioan's user avatar
1 vote
2 answers
596 views

I have this following Reducer class public class CompanyMinMaxReducer extends Reducer<Text, DateClosePair, Text, Text> { private Text rText = new Text(); public void reduce(Text key, ...
GoldenBoyLDN's user avatar
1 vote
1 answer
241 views

I am new to JS and I wonder why this piece of code prints false. What am I doing wrong? Thank you for any hint! var x = Object.create(Object.prototype, {x:{value:3, writable:true, enumerable:true}}); ...
Florian Wicher's user avatar
0 votes
1 answer
712 views

I have created a hadoop custom writable as shown below public class ResultType implements Writable { private Text xxxx; private Text yyyy; private Text zzzz; public ResultType() {} ...
wazza's user avatar
  • 800
6 votes
1 answer
5k views

I am creating a survey kind of app, so i have three models Form, Questiosn, Choices[for multiple choice questions] I followed this tutorial http://www.django-rest-framework.org/api-guide/relations/#...
kartik saraswat's user avatar
0 votes
1 answer
1k views

I am trying to capture a screen and save it locally. When I run the code it shoots me an error message Fatal error: Uncaught JonnyW\PhantomJs\Exception\NotWritableException: Output file is not ...
Kangil Lee's user avatar
2 votes
1 answer
1k views

I am attempting to create a dynamic map reduce application that takes in dimensions from an external properties file. The main problem lies in the fact that the variables i.e. the key will be ...
Pritish Kamath's user avatar
-1 votes
1 answer
277 views

Probably because implementing Writable would present us with a serializable object. I know DataInput and DataOutput directly deal with byte streams but I see no harm in directly reading values off ...
Aakash Verma's user avatar
  • 4,044
2 votes
1 answer
920 views

I am trying to create a SetWritable in Hadoop. Here is my implementation. I have just started with MapReduce and I can't figure out how exactly I should do this. I wrote the below code but it doesn't ...
Aniket Kapse's user avatar
0 votes
1 answer
212 views

I thought this would be simple to implement, but it's starting to be a pain. I've got a ArrayWritable subclass like so: public class VertexDistanceArrayWritable extends ArrayWritable { public ...
user3760657's user avatar
0 votes
1 answer
2k views

I have invoice with 1 or multiple product_invoice, and some product_invoice can have 1 product_order (so in ProductOrder, productinvoiceid shoulb be a OneToOne relashionship but it is not important ...
A Laplante's user avatar
0 votes
1 answer
439 views

Assume that customWS is a writable stream .. util.inherits(customWS, stream.Writable); we implement our logic to handle the writes in the _write() like below .. customWS.prototype._write = ...
Ankur's user avatar
  • 151
0 votes
0 answers
156 views

I've installed VirtueMart on my host on server. Everything works nice, but uploading photo/file. There are two problems: I don't know how and where to set the TEMP folder. The default 'temp' folder is:...
Kardo's user avatar
  • 1,698
5 votes
3 answers
1k views

MDN documentation concerning the "writable" descriptor property states: writable true if the value associated with the property may be changed with an assignment operator. Defaults to false. ...
Gilgalas's user avatar
0 votes
0 answers
169 views

I'm trying to create a mapreduce chain composed of two steps. The first reduce emit key-value pairs as (key, value) where value is a list of custom object and the second mapper should read the output ...
Fabio Sist's user avatar
2 votes
1 answer
1k views

I'm trying to create a mapreduce chain composed of two steps. The first reduce emit key-value pairs as (key, value) where value is a list of custom object and the second mapper should read the output ...
Fabio Sist's user avatar
1 vote
1 answer
721 views

I am currently trying to deserialize a custom object where one of the fields is a MapWritable and the other one is a String. It seems serialization works ok, but can't verify that the object is being ...
Alex Ramos's user avatar
3 votes
1 answer
375 views

I am writing a mapreduce program which has 2 mappers and 1 reducer, I implemented custom Writable Datatypes for each mapper. The Datatype is more or less just a container where the fields are Text / ...
VSEWHGHP's user avatar
  • 305
7 votes
1 answer
3k views

I want to upload (stream) control the writing process. But the writing process always returns false. Large files upload process stops. The output of the code is as follows; > Node app.js > ...
Wise Colt's user avatar
  • 131
0 votes
1 answer
429 views

I'm running into a read/write error in my JavaScript because my JSON file is defaulting to read-only ('Uncaught TypeError: Cannot assign to read only property'). How do I specify it as writable? In ...
Brian Burke's user avatar
0 votes
1 answer
279 views

I am trying to understand how to implement custom value type for mapreduce framework. Based on this post (MapReduce - WritableComparables) it seems to me that the value type has to implement Writable ...
Santanu C's user avatar
  • 1,402