Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
Get HideMyAss! VPN, PC Mag's Top 10 VPNs of 2016 for 55% off for a Limited Time ×

Submission + - Sharkey: a service for managing ssh certificates (github.com)

alokmenghrajani writes: Sharkey is our team's intern summer project. We are open sourcing it today.

In the enterprise world, engineers often ssh into hosts for the first time on a daily basis. This trains them to acknowledge the trust on first use prompt on a daily basis. It's even worse when dealing with VMs which get regularly re-imaged/move around.

Sharkey removes the prompt by signing the openssh certificates.

Comment Re:Nope (Score 1) 230

We knew about the tradeoff between backwards compatibility vs adoption since day 1. The end result is not as bad as you make it sound: Each file in your codebase can be in one of many modes: php code, hack will ignore it Requires you to write your code in a subset we consider sane. You can start writing type annotations and they will be checked when present. Requires you to annotate your function parameters, return types & class properties. There are a few other modes, like decl, which lets the type checker "import" types.

Submission + - how to map an IP address to an ASN (github.io)

alokmenghrajani writes: Every public internet IP address is connected to a router which has an ASN number. It is therefore possible (and sometimes useful) to map an IP address to its router's ASN. This article is going to show you how to build this mapping.

Comment Re:Javascript... (Score 1) 2

This kind of project can lead to better coding projects for students/learning purpose, since you can focus on algorithms, not run into buffer overflows and can easily visualize things. E.g., in js (and most dynamic languages), you can easily json dump your data structures when debugging.

Comment Re:Same thing in x86 asm (Score 1) 115

Are you referring to hugi (http://www.hugi.scene.org/compo/compoold.htm) ? I believe the x86 size optimization people were doing in the 80s and 90s required a different mindset. You needed to really understand the OS environment & memory layout (e.g. putting DOS in graphics mode using a single byte). When optimizing javascript you focus on the javascript language (e.g. what happens when you do things like undefined xor 1). But overall you can't really compare assembly to javascript. Some things in javascript (e.g. regexp) are almost free, while defining a function requires you to write "function(){}" when it's only 2 instructions in assembly.

Slashdot Top Deals

These screamingly hilarious gogs ensure owners of X Ray Gogs to be the life of any party. -- X-Ray Gogs Instructions

Working...