HNHacker News
TopNewBestAskShowJobs

skanga

268 karma · joined March 6, 2010

d29948f2ae7dc8433f1c172ad8b91073ac9d132fe612cab97b6d0e7e1d5608fa
submissionscomments
skanga··on Bash-Snippets: A collection of small bash scripts for heavy terminal users
In addition, the use of "nc" to ping google is bad. This causes the scripts to break in all places that use an http proxy. You already have wget/curl which honors the HTTP_PROXY environment variable. Just use that ...
skanga··on America’s Cars Are Getting Faster and More Efficient
I'd love to see a chart of the power/weight ratio of engines over time.
skanga··on Show HN: Tux.io – a (now working) Linux desktop in your browser
Is is possible to run this on my own hosts?
skanga··on Yamaha YZ250 Dirt Bike sound effects library
Got any pics? What is your asking price?
skanga··on Show HN: Construct 3 – Make games in the browser
Will there also be an offline/desktop version of Construct 3?
skanga··on The Fictiv Open-Source Motorcycle
Has anyone other than fictiv built one?
skanga··on Michael Seibel, CEO of YC, is doing an AMA
What are examples of some good answers to the why question? And some bad answers?
skanga··on Miller v5.0.0: Autodetected line-endings, in-place mode, user-defined functions
Thanks. For me, that's a vast improvement.
skanga··on Miller v5.0.0: Autodetected line-endings, in-place mode, user-defined functions
Also found a problem in the doc at http://johnkerl.org/miller/doc/build.html

The downloaded zip file does not contain a ./configure

$ ./configure bash: ./configure: No such file or directory

I needed to manually run "autoreconf -fiv" before I could run the ./configure command.

skanga··on Miller v5.0.0: Autodetected line-endings, in-place mode, user-defined functions
/home/skanga/mlr.linux.x86_64: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /home/skanga/mlr.linux.x86_64)

It would be useful to allow downloads of a binary that is compiled without any dependencies.

skanga··on Miller v5.0.0: Autodetected line-endings, in-place mode, user-defined functions
Thanks. I'll try it on Linux in the meanwhile.

PS. The doc is really great but very hard to read - I think it's that background you're using.

skanga··on Miller v5.0.0: Autodetected line-endings, in-place mode, user-defined functions
Wow - looks brilliant. I'll have to try it. I've always wanted awk with a native understanding of csv, tsv, json, etc.

Does it have a binary for Windows?

skanga··on Ask HN: What is your hardware/garage side-project?
Terrafugia is awesome. They have tremendous respect from me.

But I dislike any type of folding wings. They will need to make a massively strong hinge/joint for this type of machine since the entire car hangs off that hinge. This makes is heavy, inefficient, painful to maintain, vulnerable in fender benders, etc, etc.

skanga··on Ask HN: What is your hardware/garage side-project?
Sounds good to me - call it what you like. Perhaps we can start a conversation. I'm skanga at google's email thingy.
skanga··on Ask HN: What is your hardware/garage side-project?
Electric propulsion. I have some very promising aero designs that I hope to get into a (virtual) wind tunnel. Bay area.
skanga··on Ask HN: What is your hardware/garage side-project?
A Flying Car. Anyone with CAD, CFD, aerodynamics skills wanna help?
skanga··on Ask HN: As a developer, how can I take advantage of time spent driving to work?
+1 on motorcycling. Add a little zest to your life.
skanga··on Show HN: Simple JavaScript Tetris
Very nice. Agree with danso that keys should be case insensitive. Also - the UP arrow should rotate in some (any) direction.
skanga··on Simple Lane Detection
Are there any good videos of driving in varied conditions to test this out?
skanga··on PurpleJS – An alternative to Node.js for Java projects
Check here: https://github.com/purplejs/purplejs-examples/tree/master/sy...
skanga··on Ripgrep – A new command line search tool
No need for any embarrassment. I should have looked for releases instead of only looking at the doc.
skanga··on Exponent – Build native apps in JS that work across both iOS and Android
Does it support Bluetooth LE communications?
skanga··on Ripgrep – A new command line search tool
PS: You might want to revise this verbiage in the README markdown file:

    Installing xsv is a bit hokey right now. Ideally, I could release binaries for Linux, Mac and Windows. Currently, I'm only able to release binaries for Linux because I don't know how to cross compile Rust programs.
skanga··on Ripgrep – A new command line search tool
Awesome. Thanks
skanga··on Ripgrep – A new command line search tool
Looks interesting. But I did not find binaries for it and do not want to setup a rust env to try it out.
skanga··on Show HN: Create instantly shareable native app with a single JSON markup
Is there an Android version too?
skanga··on Show HN: Mesmo – How to double your next business trip experience
Bah! Can't go past create account page on Android.
skanga··on Rapidoid – No-Bullshit Web Framework for Java
Great - Got it to work. This should be documented on your site.

You also forgot to mention what I need to import in order to have the "On" object.

Maybe you can include something like this template on your getting started page.

  import org.rapidoid.http.fast.*;
  // wget https://repo.maven.apache.org/maven2/org/rapidoid/rapidoid-http-fast/5.0.7/rapidoid-http-fast-5.0.7.jar
  public class App 
  {
    public static void main (String[] args)
    {
      On.get ("/size").json ("msg", msg -> msg.length ());
    }
  }
Also needed would be a sample pom.xml file. I had a problem with java compiler version being older and unable to complie lambdas.

My sample pom.xml (feel free to use it if you like) is:

  <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.microservices.app</groupId>
    <artifactId>rest-app</artifactId>
    <packaging>jar</packaging>
    <version>1.0-SNAPSHOT</version>
    <name>rest-app</name>
    <url>http://maven.apache.org</url>
    <properties>
      <java.version>1.8</java.version>
      <maven.compiler.source>1.8</maven.compiler.source>
      <maven.compiler.target>1.8</maven.compiler.target>
    </properties>
    <build>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-assembly-plugin</artifactId>
          <version>2.6</version>
          <configuration>
            <descriptorRefs>
              <descriptorRef>jar-with-dependencies</descriptorRef>
            </descriptorRefs>
          </configuration>
          <executions>
            <execution>
              <id>assemble-all</id>
              <phase>package</phase>
              <goals>
                <goal>single</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
      </plugins>
    </build>
    <dependencies>
      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>3.8.1</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.rapidoid</groupId>
        <artifactId>rapidoid-web</artifactId>
        <version>5.0.5</version>
      </dependency>
    </dependencies>
  </project>
Then I can run the test service using:

  java -cp target/rest-app-1.0-SNAPSHOT-jar-with-dependencies.jar App
skanga··on Rapidoid – No-Bullshit Web Framework for Java
Looks cool. But how do you execute one of those one-liners?
skanga··on Ask HN: Good programmable robot kit for teens?
We recently purchased ten Zumo robot kits from Pololu for our high school kids. They all learned a lot and solved a maze using Arduino programming.

Check out https://www.pololu.com/product/2510

← PreviousPage 6 of 7Next →