Hacker Newsnew | past | comments | ask | show | jobs | submit | mathieuruellan's commentslogin

I prefer flagging packets from cgroup. But since cgroupv2 it can only be done with systemd/slices, it's not easy and stable. (The slice must exist before iptables rule, and if it stops, i experiment kernel crashes etc.)


I bought a TP s540 3 years ago, and a few days after the end of the warranty, the motherboard died. Lenovo was ok to replace it for free. 3 months after, the motherboard died again and this time, no free replacement. The s540 was really cheaper, but without 3y warranty, without full mil-specs. If you want reliability, choose T/X series. 3Y warranty on site is already included, a proof they trust these products. If you add the optional warranty on cheaper products, the price is higher than equivalent on T series.


And 3 years warranty on site, not optional (alreay included in the price).


I'm using also spring security for a rest API.

I experienced a problem if you use the framework as is with rememberme feature .

Our angular applications is using a rest api and the usera can have multiple requests at the same time. Then the token value in the cookie is changed by the first request and become wrong for the next one in the stack. A theft attack is detected.


Sensors and cameras can't really see something, but the eye and the brain of a human can guess, all senses are at 100% (humans are tired after driving in such conditions). Making an IA which can have the same performance/evaluation must be really tricky


It's probably fair to say that the lidar systems they use can see things. It generates a real time 3d map of the world, which is a lot easier to sort into obstruction/road than 2d sensor data.

The problem is that it doesn't work very well in the rain.


I'm using HAProxy to load balance to an EC2 autoscaling group. I have to list all ip in the configuration file. It's still not possibile to put A.B.C.0/24.


I'm using this tool with curl in scripts calling AWS api. Looking for an id of an object (security group, autoscaling group etc.) with its name and referencing it afterward in another command.


I've been using it for the exact same thing. One difficulty that I had was that you need to use the raw option, "jq -r" for string output without quotes, but I was looking at the query language documentation and not finding it.

EDIT: here is one I used. Given VOLUME_ID, gets the most recent snapshot-id.

    SNAPSHOT_ID=$(\
    aws ec2 describe-snapshots --owner-ids xxxxxxxxxxxx --output json | 
      jq -r "
        .Snapshots | sort_by(.StartTime) | reverse[] |
        select(.VolumeId==\"$VOLUME_ID\" and .State==\"completed\") |
        .SnapshotId
      ")
EDIT2: now that I'm looking at it, I think that I expected it to work with multiple snapshots but I'm not sure that I tested it.


Hey, me too! It's pretty awesome, although the documentation/examples aren't as great as they could be - it took me some time to figure out how to properly parse arrays, and I'm still not sure how to actually do what I want to do (I want to convert an array of two instance objects into an array with just two instance IDs.


    % aws ec2 describe-instances --instance-ids '["i-3026a249","i-28739551"]' \
    | jq '[.Reservations[].Instances[].InstanceId]'
    [
      "i-28739551",
      "i-3026a249"
    ]


Thanks!


I've been using this to transform the output of ElasticBeanstalk environment queries into things I can feed into environment updates since moving between versions is a PITA. Should post that code sometime...


Bullshit! A french teacher can't learn entrepreneurship. Most of them have no idea what is a company and what is business!


but entrepreneur can do it :-)


AFAIK, it is the only one. True?


There's also TeX the World, although that is no longer under development and probably should not be used.

Wordpress.com has some kind of support for math in blogs. I don't know how they actually implement it.


No. The client requests a server (Jetty). The server uses our SDK with the Java version.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: