News for hackers. Stuff that matters.

angusp

Re:Sweden will vote against the copyright deal/article 13 on Tuesday April 09, 2019 @05:01PM (#19618889)
You say worse, but these discrepancies are by design, both in the US and EU. They’re there to stop much larger interests from steamrollering smaller but different interests that they might not care about or understand
Not really, before you could firewall it off from the rest of your network - though now you can just masquerade 8.8.8.8 and 8.8.4.4 to your DNS server of choice
Re:Dotfile madness on Saturday February 02, 2019 @12:53PM (#19064450)
One of the advantages, though, is per-user config for the same program, e.g. the .bash files. It's pretty common to have separate /home and / partitions too, and less common but doable to dual-boot different distros but share the same /home partition. Which is itself actually a reason to be very careful with back-compatability of dotfiles
Re:Websocketd on Saturday January 26, 2019 @05:09PM (#19008841)
> If you use websocket for short lived connections, you are doing something wrong.

Pretty-much true, but I remember a funny story from Dropbox where their websocket service couldn't come back up after a crash because their normal users trying to re-open super long lived connections all at once was well-beyond the capacity of the system

> for example, have been found by MIT and Microsoft researchers to misidentify dark-skinned people at vastly higher rates than light-skinned people. That’s a near-perfect analogue of white people’s tendency to misidentify people of color, leading to higher rates of false arrest and conviction. > > It’s hard to describe that as anything other than “a racist algorithm,”

Surely to be racist, some degree of malice or ignorance is required - face recognition from visible light flat imagery will always struggle with low-contrast images, which is sadly what you get from a poorly lit black person's face. It's neither intentionally racist nor inadvertantly - there is just not the same amount if information available

One assumes that "3D Glasses" was meant to mean a VR headset
Re:How We Built r/Place on Friday April 14, 2017 @06:18PM (#14117873)
You ain't seen nothing yet

- /r/Libertarian

Depends how you define toxicity - a toxic idea or toxic wording. The Hitler comment is obviously toxic in meaning but is 'eloquently' worded (or, at least as much as it could be given it is literally Nazism.)

I am at least relieved that this doesn't appear to be an Idea police AI nor a particularly liberally biased classifier

Re:Be Careful with Python's New-Style String Format on Sunday January 01, 2017 @10:09AM (#13295954)
It's a well known C pattern that you should never trust a user supplied format string, E.g. printf(arg) vs printf("%s", arg). The same applies here
can't speak for all CS students but we certainly have an ethics course. Unfortunately a lot of people see it as an insult to their intelligence yet need reminding of many of their professional obligations and that their 'cool hackathon idea' might be illegal
Re:Why I'm Making Python 2.8 on Saturday December 10, 2016 @07:05AM (#13145278)
as mentioned in a comment above, the choice to take 2.7 behaviour when 3 behaves differently means this wannabe-python '2.8' is neither backward nor forward compatible
Re:Why does calloc exist? on Tuesday December 06, 2016 @04:55AM (#13113485)
> I mean, let's be honest: if we really cared about security we wouldn't be writing in C.

How so? C is low level, so to be secure you must be fully aware of the behaviours and side effects of what you're doing. In another, perhaps higher level language, sure, there may be less of these gotchas but to be properly secure you need a similar amount of knowledge about background behaviour.

Re:The Solution for Open Office Frustration on Thursday December 01, 2016 @04:45PM (#13083826)
they're being 'forced' insofar as they're usually locked in to continuing to occupying their current office.
Re:“Snoopers' charter” petition hits signatures target on Tuesday November 29, 2016 @05:33AM (#13062185)
Write it out 100 times before morning
Re:Where are the Voyagers? on Tuesday November 29, 2016 @05:21AM (#13062132)
Not really, earth is waaaay closer to the sun, so goes faster in its orbit but has a lot less energy (when normalised for mass) than any of the voyagers. They are going way faster than Earth in the sense that we're they to suddenly to telephone to Earth's perihelion, they'd be going ridiculously fast relative to Earth
Re:Writing C software without the standard library on Tuesday November 29, 2016 @04:53AM (#13062019)
I can get behind some of that, I do hate the argument "it doesn't matter if it's inefficient, modern computers are fast" because everyone taking that stance results in things staying the same speed. When you do encounter modern software that's well optimised and not bloat, it's a real pleasure to be in awe at it's speed (Redis is an example I can think of off the top of my head)

That being said, I'm happy the web isn't still just plaintext or minimally styleable

Re:Hugo: A fast and modern static website engine on Sunday October 09, 2016 @06:33PM (#12673935)
Jekyll also has the (perhaps unfair) advantage of being baked into GitHub pages, making it's workflow super easy
Re:KickSat: open source spacecraft project on Monday August 29, 2016 @10:56AM (#12382235)
Even with this rapid decay, I'd still be concerned about the probability of a collision with something - depends how congested that part of LEO is
If it is as they claim well academically supported, you'd assume they'd be easily able to get a subhuman on someone's .edu or.ac.uk or whatever
Re:Marty the Robot – Programmable walking robot for kids on Wednesday June 15, 2016 @07:18PM (#11912847)
Hey, just to follow up, we've added a graphic to our indiegogo page with a render of the control board that's currently in development, if you want an idea of what it'll probably look like.
Well I like the sound of getting another one...

By side-side motion I'm guessing you mean a tipping force - and the the answer would be that he's pretty hard to shove over, at the limit of his lean he's stable, 10 degrees tilt and he'll fall. From fully upright, you need a bit more of a shove - having just pushed one over. Sandy says they can tip themselves if you wobble fast enough.

We're guessing you were thinking of something like this --> http://i.imgur.com/Cmmwu5A.jpg

It's fine with a reasonable amount of weight - I'd have to ask Sandy how much weight Marty can take before he physically can't move, but a touchscreen should be fine, and won't disrupt his walking ability much. Of course you could re-plan his walking with the weight taken into account, but that's quite complex. We'll probably have standard mounting holes on top of his head, so should be a nice and easy hack :D
I wrote a bit more detail here https://news.ycombinator.com/item?id=11903939 but

Still very alpha, specs currently are STM32F446RE (ARM M4), ESP8266 (WiFi, for control from a computer, phone...) and an accelerometer on-board. 9 channel servo control with current sensing, JTAG/USB for programming, i2c and serial interface for talking to it from an arduino, raspberry pi or other microcontroller. We're not expecting to have much GPIO free, and as I said, the firmware it's running is kinda complex, so we're not expecting most people to change it.

Hey, another Robotical engineer here, thanks for your support!

We're planning (read: really want to but might not have time to do everything initially) to target a wide range of programming environments, with Scratch as a really basic level; This would make Marty a kinda smart toy, being able to do logo-like things but not much more. The more complex approaches will of course allow a lot more to be done with Marty.

The control board itself is going to have a fair amount of smarts, with an ARM cortex M4 - but that'll be running our firmware, so playing with that would require somewhat in-depth mbed experience. We'd expect most people to use the i2c or serial interface to hack with Marty, by writing their own code on a microcontroller, RasPi or BeagleBone, and packing that in with our board. As it's all open source, adding to the firmware will be possible, just not the most beginner friendly thing.

As for the WiFi functionality, we're looking at the ESP8266, (not final but unlikely to change) and building a C++, Python and ROS (http://ros.org, serious robotics stuff, very cool) set of APIs to use with Marty.

tl:dr; Two types of control, _standalone_ with an added raspi/arduino/other microcontroller, and _wifi-connected_ to a program running on a computer (scratch, python, C++...)