News for hackers. Stuff that matters.

deliminator

Re:FTX to file for U.S. bankruptcy, CEO resigns on Friday November 11, 2022 @07:22PM (#33568589)
I got the swag pack back in the day. Email is in my profile.
Re:Persistent Vector Performance, summarised on Monday May 18, 2015 @11:40PM (#9568039)
Clojure's built in PersistentVector does not support O(log(n)) inserts/removes from the middle/front, but there is another implementation that shares a lot of it's implementation with some extensions that does: https://github.com/clojure/core.rrb-vector/
Overflow protection is fail-fast behaviour, similar to array bounds checking. It allows you to more quickly find the source of errors. I believe everybody agrees it's a good thing, at least in the array bounds checking case.

> Optimization flags in general should not change visible program behavior, except for performance.

The only behavior you would be able to observe before, that you wouldn't after disabling overflow behaviour, is a crash, and you would have fixed that anyway as soon as you observed it.

Of course, if there is $370 Million on the line, maybe just disable it and hope for the best :-)

Re:Nootropics Survey Results And Analysis on Sunday February 16, 2014 @07:10PM (#7249933)
Be careful, in the country I live in (Austria) it is illegal to import prescription drugs. Customs made me pay a fine of about 60$ for trying to import Melatonin (and I didn't get the Melatonin either).
Re:Why not inherit from List? on Sunday February 16, 2014 @04:39AM (#7247153)
"Can I guarantee every function that expects a T to behave exactly the same way when I pass a P instead (where P is a subclass of T)?"

For those who don't know, that's the Liskov Substitution Principle [1]

[1] http://en.wikipedia.org/wiki/Liskov_substitution_principle

Re:You might not need jQuery on Thursday January 30, 2014 @01:29PM (#7152405)
My colleagues and I learnt that lesson the hard way. We are working on a WYSIWYG editor (Aloha-Editor) and the first version did depend on jQuery (and jQuery UI for that matter). That caused a lot of trouble for people integrating the editor in their websites, especially if they were already using jQuery. For our particular case we really didn't need it, as it's just as easy to say .getAttribute() instead of .attr(), and we didn't use selectors much, if at all. Effort is underway to get rid of the dependency from the core library in the next major release.
Re:Testimony of Ms. Soon Ok Lee (2002) on Thursday December 05, 2013 @03:37PM (#6857045)
Also interesting is this interview with prison guards who have defected. Camp 14 - Total Control Zone [Abridged]: http://www.youtube.com/watch?v=Rb1iwo4txE4
Re:Testimony of Ms. Soon Ok Lee (2002) on Thursday December 05, 2013 @03:28PM (#6856976)
I have a fundraising page for LiNK (non-profit organization rescuing north koreans) and am matching donations: http://fundraise.libertyinnorthkorea.org/fundraise?fcid=2704...
Re:How do you get a job in North Korea? on Sunday December 01, 2013 @10:23AM (#6827560)
> Actually, most of the people working in those organizations are children of party officers or executives of wealthy foreign currency-earning organizations.

I expect he had connections and/or was able to bribe his way towards becoming a tour guide. Tourism, after all, is a foreign currency earning industry.

Re:Understanding Clojure's Persistent Vectors, Part 1 on Wednesday September 25, 2013 @03:56PM (#6446901)
Clojure's standard persistent vectors don't allow insertion in the middle without copying the entire vector, they only allow fast insertion at the end. There is an alternative implementation here [1] which does allow insertion (anywhere) without copying the entire vector.

[1] https://github.com/clojure/core.rrb-vector

Re:Mozilla Labs: TogetherJS on Friday September 20, 2013 @12:39AM (#6415954)
Have a look at this: http://substance.io/

I'm working on something similar: https://wikidocs.com. Although our's closed source at the moment (can't say whether or not it will remain closed), we will provide a downloadable package you can run yourself.

Re:Mozilla Labs: TogetherJS on Thursday September 19, 2013 @10:30PM (#6415662)
We provide wysiwyg editor integration (Aloha-Editor) with presence and remote cursor. We are working on a hosted/downloadable service with low-level data-sync api and high level wiki features: https://wikidocs.com
Re:Rich Hickey's Greatest Hits on Monday September 16, 2013 @03:17PM (#6395204)
Although more on the motivational than in the technical side, I learned a lot from his talks. To me, the feeling after one of his talks is more akin to "it's is so obvious to me now, I should have been thinking like this all along". http://en.wikipedia.org/wiki/Egg_of_Columbus
We are building a real time HTML synchronization engine at wikidocs.com (using a custom OT engine). It's still work in progress, but you can already try it out - if you fire up the inspector and manipulate the DOM, your changes will be synchronized automatically.
Re:Ask HN: What's the best technical talk you've heard? on Monday April 08, 2013 @12:18PM (#5512621)
One of my favorites is Alan Kay "Programming and Scaling" http://www.tele-task.de/archive/video/flash/14029/
Following quote comes to mind (Dijkstra) "...we have to keep it crisp, disentangled, and simple if we refuse to be crushed by the complexities of our own making..."

I found his use of the word "crisp" very interesting. I believe it means to keep your code short and to the point, without any extra embellishment.

Re:I Was a Political Prisoner at Birth in North Korea on Wednesday February 13, 2013 @09:57PM (#5217400)
He answers that question from someone in the audience at about 55:25 in this Google Tech Talk. http://www.youtube.com/watch?v=Ms4NIB6xroc
Re:I Was a Political Prisoner at Birth in North Korea on Wednesday February 13, 2013 @08:14PM (#5216951)
Google Tech Talk about Shin's story http://www.youtube.com/watch?v=Ms4NIB6xroc
Re:I Was a Political Prisoner at Birth in North Korea on Wednesday February 13, 2013 @08:07PM (#5216929)
One possibility is to inform yourself more.

FYI

The best resource I found so far is http://www.dailynk.com/english/ . At least one more story like the OP's can be found here http://www.dailynk.com/english/sub_list_last.php?page=1&...

There is an organization that tries to do something about this http://libertyinnorthkorea.org/ . They have some videos as well that are worth watching http://www.youtube.com/user/linkglobal

Correct me if I'm wrong, but does this not merely allow an attacker to cause the browser to make requests with custom headers? That is, it does not allow the attacker to gain the CSRF token, and if the CSRF token is not known to the attacker, he would still not be able to make API requests.
Re:How one man escaped from a North Korean prison camp on Monday January 21, 2013 @01:36PM (#5092892)
Another story about life in prison and subsequent escape http://www.dailynk.com/english/sub_list_last.php?page=1&...
Re:Redactor - WYSIWYG editor on jQuery on Monday October 15, 2012 @09:05AM (#4654860)
Before the GPLv2 we had the AGPL, which made it explicit that you had to divulge any server side code.

Now, with the GPLv2, it is possible to use Aloha freely in most websites/webapps. You don't distribute your website/webapp and therefore are not bound by the GPLv2 to divulge your website's source code.

The GPLv2 _would_ take effect if you distribute your website in the traditional sense - a package that someone can run himself.

(IANAL and can't speak for Gentics etc.)

Re:Redactor - WYSIWYG editor on jQuery on Sunday October 14, 2012 @04:38PM (#4652571)
The License was changed recently to GPLv2.

Older ยป