janka102
Re:Portmaster 1.0 – Open-Source Network Monitor and Privacy Firewall
on Saturday November 05, 2022 @01:23PM (#33483495)
I also couldn't find it on their website, but their GitHub says it means Safing Privacy Network. https://github.com/safing/spn/
Re:A Quick Puzzle to Test Your Problem Solving
on Saturday July 04, 2015 @03:51PM (#9831386)
The actual code seems to be from here [0]
on line 588 is the comparison
var rightWrong = (inputData[0] < inputData[1]) & (inputData[1] < inputData[2]) ? right : wrong;
With a variable declaration on line 545 being var inputData = [NaN, NaN, NaN],
revealed = false,
right = "<p class = 'g-answer g-yes'>Yes!</p>",
wrong = "<p class = 'g-answer g-no'>No.</p>";
And `inputData` is changed on text input on line 662 $("#g-input input").each(function(i) {
var val = $(this).val();
inputData[i] = $.isNumeric(val) ? Number(val) : NaN;
});
It uses the `Number()` function to convert from the input text to an actual number, so it can convert any number format defined by ES5[1] or ES6[2]. So in ES6 you can use binary (0b, 0B) and octal (0o, 0O) formatting along with exponential (1e-2) and hex (0x, 0X). Binary and octal works for me currently on Chrome 43 OS X.[0] http://graphics8.nytimes.com/newsgraphics/2015/06/16/puzzle/...
[1] http://www.ecma-international.org/ecma-262/5.1/#sec-9.3.1
[2] http://www.ecma-international.org/ecma-262/6.0/#sec-7.1.3.1
Re:Show HN: Website for my high school wood shop class to learn parts ...
on Monday February 09, 2015 @11:46AM (#9022100)
My shop teacher got the pictures from manuals, so I guess that was the best he could find. I wish it were like the rest though, just because it would be more consistent
Re:Show HN: Website for my high school wood shop class to learn parts ...
on Sunday February 08, 2015 @11:33PM (#9019745)
Reposting as a Show HN
Re:Fab Lab – The Machines
on Sunday February 08, 2015 @10:32PM (#9019615)
I haven't before, but I just might now.
It was a real pain for me to add those machines that are there now, I did it all manually by checking how far parts were from the top left of the image. I probably could have came up with a way to add parts to an image by clicking on it... oh well.
Re:Fab Lab – The Machines
on Sunday February 08, 2015 @10:27PM (#9019608)
That's really cool! Bookmarked.
Re:Fab Lab – The Machines
on Sunday February 08, 2015 @10:25PM (#9019602)
Now we're on to something...
Re:Fab Lab – The Machines
on Sunday February 08, 2015 @10:19PM (#9019588)
kek
Re:Fab Lab – The Machines
on Sunday February 08, 2015 @09:23PM (#9019468)
That sounds like a cool idea where people could collaboratively add and edit pictures of things and add the names of parts
Re:Fab Lab – The Machines
on Sunday February 08, 2015 @09:20PM (#9019461)
Thanks! Glad you like it
Re:Fab Lab – The Machines
on Sunday February 08, 2015 @09:02PM (#9019423)
Yeah I thought it was a neat idea, but unfortunately I'm pretty sure not many people in my class used it
Re:Fab Lab – The Machines
on Sunday February 08, 2015 @08:57PM (#9019406)
Yeah, go for it
Re:Fab Lab – The Machines
on Sunday February 08, 2015 @08:56PM (#9019402)
Hey, thanks! That means a lot and it's cool to know other people like it
Re:Fab Lab – The Machines
on Sunday February 08, 2015 @08:52PM (#9019394)
I started summer of 2013 and was using Bootstrap 2.3. And I've never seen Clever before, do schools have to sign up to it or how does it work?
Re:Fab Lab – The Machines
on Sunday February 08, 2015 @08:49PM (#9019382)
Thanks! For some reason I never thought of putting it on a resume, but I will now.
Re:Fab Lab – The Machines
on Sunday February 08, 2015 @06:37PM (#9019047)
I made this mainly the summer after my junior year in high school. I kinda consider it one of my very first "real" projects I've done.
We got handouts of every machine we had in the shop and had to take a test on the parts and what they did, so from those handouts I made this site hoping it would make it easier for people to study.