• Breaking News

    Monday, April 2, 2018

    Structured Output for Linux Coreutils? Ask Programming

    Structured Output for Linux Coreutils? Ask Programming


    Structured Output for Linux Coreutils?

    Posted: 02 Apr 2018 04:36 PM PDT

    Are there any projects that reimagine the userspace core utils like ls, mv, du, dd, but with structured output? (meaning something parseable formal language XML, JSON, s-expressions instead of plain text).

    submitted by /u/rain5
    [link] [comments]

    While statement

    Posted: 02 Apr 2018 06:48 PM PDT

    how can I structure a while statement so that it takes multiple items such as:

    while(point == 1, 2 or 3) ***The 1, 2 or 3 part is what I dont know how to write

    JAVA btw

    submitted by /u/java_dude42
    [link] [comments]

    ¿How to start coding useful things without needing them?

    Posted: 02 Apr 2018 10:12 PM PDT

    I feel like the question is not very informative, so I'm going to tell you my life.

    I'm 16 but I started coding since I was 12. I started programming because I had so many ideas (bad ideas but my 12yo me thought they were cool), I learnt some programming languages and coding was very fun. But now I'm 16 and I don't have those "cool" ideas and I don't know what to do. Right now I'm only replicating projects and I feel useless because I have no good ideas. I see people create new things because they need them but I don't need anything because I have no job or homework. ¿What do I do? I love programming but lately I'm not motivated.

    submitted by /u/LuciferK9
    [link] [comments]

    What is your dream work environment / office

    Posted: 02 Apr 2018 09:29 PM PDT

    To all programmers out there.

    I am currently in the middle of opening our first office. We will be a small team of developpers (4 to be exact) working on a brand new software that we build from the ground up.

    As I am a strong beleiver of employee satisfaction and fulfillment, our company wants to put a serious focus on ensuring that everyone is more than happy to work and wish to continue to do so forever basically.

    For the purpose of that, we had a couple of ideas such as

    • No work schedule, come in anytime as long as sprint task are done on time. We know everyone are busy as adults.

    • Tech fridays, everyone gets to drop work for 2-3hours and focus on things they want to try (the yet another new js framework moment?)

    • Board game time to relax and socialise on wednesdays

    There are many things considered that I want to do, but I am starting to realise there is such a thing as too much going on. I mean we have to allow people to, actually work at some point too.

    I wanted to know what you programmers out there LIKE, and what you DISLIKE at your current environment. Also, those with interesting ideas, feel free to send them out too, we just want to create what could be the "best dev office in the world".

    Hoping to hear all sorts of stories here !

    submitted by /u/ice-kev
    [link] [comments]

    Potential clients is requesting rates - I need help?

    Posted: 02 Apr 2018 02:08 PM PDT

    A company wants me to take over a project that was built in Magento and migrate it to another CMS. This will likely require custom plugins, a lot of customization,and a lot of back-end development.

    Roughly 3 to 4 people working full time will be necessary for this.

    They didn't provide all the details for the project, only limited info.

    Before going further, they requested the hourly rates I would charge them for this.

    I will have a project manager, senior developer and a junior developer working on this the very least.

    The company hiring my company is also in the USA, and is used to working with US prices.

    They said they want my hourly rates first before discussing this further.

    I recently moved from South America to USA, and started a small development company in the USA (me managing 4 people that are abroad). The thing is, I've always worked at a pay-per-project basis, I'm clueless as to which rates would be reasonable.

    What would be a reasonable hourly rate range for a senior, junior developer and a project manager based on the info I provided. I know this is very hard to determine but I would need at least a starting point. Don't want to either overcharge nor undercharge.

    submitted by /u/miabananaz
    [link] [comments]

    How to export a new .exe file from a program?

    Posted: 02 Apr 2018 10:44 AM PDT

    I am creating a program in Visual C# that acts as a Server, listening to connections that have been established with it and listing the respective users. However, in order for a user to be connected to the Server, a user must first send an .exe file that is the Client, which holds information of the server such as its IP and its Port so it is able to connect to it, so that when another user opens this .exe file a connection is established with the Server and two users are then connected. How can I make a new .exe be exported inside the program?

    submitted by /u/Usanha
    [link] [comments]

    What's the algorithm behind SVG's radialGradient?

    Posted: 02 Apr 2018 06:19 AM PDT

    In addition to convenient params(cx, cy, and r), it is possible to pass focal points(fx, and fy), see https://www.w3.org/TR/SVG/pservers.html#RadialGradients

    So, how could someone implement it? What's algorithm/math behind drawing radialGradient?

    submitted by /u/jerky_lodash46
    [link] [comments]

    Capture Specific Key Presses in Background

    Posted: 02 Apr 2018 02:09 PM PDT

    Hello. I am currently trying to write an application that will allow me to capture specific keys / key combinations in the background. From there, I want to send a packet to my server with UDP.

    I am not trying to make a key logger, I simply want to communicate messages to my server based on different key presses.

    The end goal of this, would allow me to control my Discord Bot via key presses.

    I tried using Python, but was unable to run the program in the background

    and it is very difficult to send messages with scripting languages like AutoHotKey/AutoIt

    Any help is much appreciated

    submitted by /u/WelcomeToThings
    [link] [comments]

    HackerRank Basics of Hash Table > Easy One. Grtting limit exceeded.

    Posted: 02 Apr 2018 07:30 AM PDT

    My code just takes a number, checks it's existence in the hash table. If it exists then the keys value's incremented. Else the key is set as 1… indicating first appearance. The code is this:

    import java.util.*; class TestClass { public static void main(String args[] ) throws Exception { Scanner scan = new Scanner(System.in); int cases = scan.nextInt(); int i=0, n=0, q=0, temp1 = 0, temp2 = 0; Hashtable<Integer, Integer> table = new Hashtable<Integer, Integer>(); while(cases!=0) { n = scan.nextInt(); q = scan.nextInt(); for(i=0; i<n; i++) { temp1 = scan.nextInt(); if(table.containsKey(temp1)) { temp2 = table.get(temp1); table.put(temp1, temp2+1); } else table.put(temp1, 1); } for(i=0; i<q; i++) { temp1 = scan.nextInt(); if(table.containsKey(temp1)) System.out.println(table.get(temp1)); else System.out.println("0"); } table.clear(); cases--; } } } 

    Why is this failing? and how can I correct it?

    submitted by /u/shadow-sphynx
    [link] [comments]

    How to use IIS 8.5?

    Posted: 02 Apr 2018 07:40 AM PDT

    I have experience with Clojure(script), using Jetty as a server, and experience with C# (but not w/ writing web apps). Looking for a simple tutorial for integrating either of these into IIS. I don't have a test box, so installing additional modules will be an issue.

    submitted by /u/doubleagent03
    [link] [comments]

    Learning javascript

    Posted: 02 Apr 2018 04:08 AM PDT

    Hey guys i'm a cs student from belgium. And i have some kind of a spring break of 2 weeks and want to be able to use javascript on sites and nodejs backend got 2 weeks to learn it. I started at codeacademy with the course but are there other faster options? I'm already pretty good at java, html, css, scss, bootstrap, and mysql(dont know if thats important) Grtz wh1zw

    submitted by /u/wh1zx
    [link] [comments]

    Can I have a bachelors of programming and become a software developer.

    Posted: 02 Apr 2018 07:20 AM PDT

    Starting college in the summer and I was wondering if I can earn my programming degree and become a software developer?

    submitted by /u/iBanGingers
    [link] [comments]

    No comments:

    Post a Comment